wowok_agent 1.4.52 → 1.4.53
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/schema/call.d.ts +10 -1159
- package/dist/schema/call.d.ts.map +1 -1
- package/dist/schema/call.js +53 -60
- package/dist/schema/call.js.map +1 -1
- package/dist/schema/const.d.ts +1 -1
- package/dist/schema/const.d.ts.map +1 -1
- package/dist/schema/const.js +7 -1
- package/dist/schema/const.js.map +1 -1
- package/dist/schema/local.d.ts +33 -3
- package/dist/schema/local.d.ts.map +1 -1
- package/dist/schema/local.js +19 -4
- package/dist/schema/local.js.map +1 -1
- package/dist/schema/util.d.ts +40 -0
- package/dist/schema/util.d.ts.map +1 -1
- package/dist/schema/util.js +41 -0
- package/dist/schema/util.js.map +1 -1
- package/package.json +1 -1
- package/src/schema/call.ts +50 -59
- package/src/schema/const.ts +7 -1
- package/src/schema/local.ts +20 -5
- package/src/schema/util.ts +43 -2
- package/tsconfig.tsbuildinfo +1 -1
package/dist/schema/call.d.ts
CHANGED
|
@@ -4547,9 +4547,8 @@ export declare const WitnessSchema: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
|
4547
4547
|
witness?: any;
|
|
4548
4548
|
}[];
|
|
4549
4549
|
}>>>;
|
|
4550
|
-
export declare const CallDemandSchemaDescription = "
|
|
4550
|
+
export declare const CallDemandSchemaDescription = "Describes operations to create or modify an on-chain Demand object using the 'account' field to sign transactions and the 'data' field to define object details. \nThe Demand object enables its manager to publish service-seeking demands, declare, and grant rewards to satisfactory service referrers. \nIt supports transaction models like C2B or C2C, where managers can dynamically update/refine demands, and referrers can adjust Services and their supply chain commitments to better fulfill personalized requirements. \nDemand administrators control permissions for different operations through a Permission object. and may set up a Guard object to enforce threshold verification requirements for service referrers.";
|
|
4551
4551
|
export declare const CallDemandSchema: z.ZodObject<{
|
|
4552
|
-
name: z.ZodLiteral<"demand">;
|
|
4553
4552
|
data: z.ZodObject<{
|
|
4554
4553
|
object: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
4555
4554
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -4827,7 +4826,6 @@ export declare const CallDemandSchema: z.ZodObject<{
|
|
|
4827
4826
|
}[];
|
|
4828
4827
|
}>>>;
|
|
4829
4828
|
}, "strip", z.ZodTypeAny, {
|
|
4830
|
-
name: "demand";
|
|
4831
4829
|
data: {
|
|
4832
4830
|
object: string | {
|
|
4833
4831
|
type_parameter: string;
|
|
@@ -4886,7 +4884,6 @@ export declare const CallDemandSchema: z.ZodObject<{
|
|
|
4886
4884
|
}[];
|
|
4887
4885
|
} | null | undefined;
|
|
4888
4886
|
}, {
|
|
4889
|
-
name: "demand";
|
|
4890
4887
|
data: {
|
|
4891
4888
|
object: string | {
|
|
4892
4889
|
type_parameter: string;
|
|
@@ -4951,9 +4948,8 @@ export declare const CallDemandSchemaInput: () => import("zod-to-json-schema").J
|
|
|
4951
4948
|
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
4952
4949
|
} | undefined;
|
|
4953
4950
|
};
|
|
4954
|
-
export declare const CallRepositorySchemaDescription = "
|
|
4951
|
+
export declare const CallRepositorySchemaDescription = "Describes operations to create or modify an on-chain Repository object using the 'account' field to sign transactions and the 'data' field to define object details. \nThe Repository object enables its manager to declare and manage an on-chain database through consensus names and their independent permission settings, with data retrieval and management based on both address and consensus name. \nRepositories are widely used for on-chain data maintenance and utilization, such as: a named Repository providing medical data for different patients (addresses) and injury conditions (consensus names) to validate insurance claim conditions; \na named Repository offering hourly(with time converted to addresses) diving recommendations (consensus names) for Maldives city to support travel service providers in force majeure service disclaimers; and various data oracles. \nRepository administrators control permissions for different operations through a Permission object. and may individually set Policies for specific consensus names (including independent write permissions, declarations of consensus content, and data usage rules).";
|
|
4955
4952
|
export declare const CallRepositorySchema: z.ZodObject<{
|
|
4956
|
-
name: z.ZodLiteral<"repository">;
|
|
4957
4953
|
data: z.ZodObject<{
|
|
4958
4954
|
object: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
4959
4955
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -5512,7 +5508,6 @@ export declare const CallRepositorySchema: z.ZodObject<{
|
|
|
5512
5508
|
}[];
|
|
5513
5509
|
}>>>;
|
|
5514
5510
|
}, "strip", z.ZodTypeAny, {
|
|
5515
|
-
name: "repository";
|
|
5516
5511
|
data: {
|
|
5517
5512
|
object: string | {
|
|
5518
5513
|
tags?: string[] | undefined;
|
|
@@ -5605,7 +5600,6 @@ export declare const CallRepositorySchema: z.ZodObject<{
|
|
|
5605
5600
|
}[];
|
|
5606
5601
|
} | null | undefined;
|
|
5607
5602
|
}, {
|
|
5608
|
-
name: "repository";
|
|
5609
5603
|
data: {
|
|
5610
5604
|
object: string | {
|
|
5611
5605
|
tags?: string[] | undefined;
|
|
@@ -5704,9 +5698,8 @@ export declare const CallRepositorySchemaInput: () => import("zod-to-json-schema
|
|
|
5704
5698
|
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
5705
5699
|
} | undefined;
|
|
5706
5700
|
};
|
|
5707
|
-
export declare const CallMachineSchemaDescription = "
|
|
5701
|
+
export declare const CallMachineSchemaDescription = "Describes operations to create or modify an on-chain Machine object, where the 'account' field is used to sign transactions and the 'data' field defines object details. \nThe Machine object enables its manager to orchestrate collaborative workflows, manage permissions, and validate deliverables on-chain. It achieves reusable workflow execution through the generation of distinct instances (Progress objects), such as service processes for e-commerce orders. Core functionalities include:\n- Workflow Orchestration : Defines multi-stage collaborative workflows (e.g., Requirement Confirmation \u2192 Development \u2192 Testing \u2192 Acceptance) with parallel or sequential execution, specifying step order and trigger conditions to support complex collaboration scenarios.\n- Permission Management : Assigns granular operational permissions to collaborators (e.g., only service providers can execute development steps; only purchasers can approve acceptance steps), and sets namespace-specific permissions for different workflow instances (Progress objects) (e.g., distinct delivery personnel for different Progress objects).\n- Delivery Validation : Implements automatic validation rules via Guard objects (e.g., verifying updates to the latest data in a named Repository or confirming purchase order fulfillment as committed).\nMachine administrators control permissions for different operations through Permission objects and can configure namespaces to provide unified permission operation spaces for different instances (Progress objects). Once published, the workflow orchestration and delivery validation rules of a Machine object become immutable. To enhance a Machine, a new Machine object can be generated and modified via the Clone method.";
|
|
5708
5702
|
export declare const CallMachineSchema: z.ZodObject<{
|
|
5709
|
-
name: z.ZodLiteral<"machine">;
|
|
5710
5703
|
data: z.ZodObject<{
|
|
5711
5704
|
object: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
5712
5705
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -6768,7 +6761,6 @@ export declare const CallMachineSchema: z.ZodObject<{
|
|
|
6768
6761
|
}[];
|
|
6769
6762
|
}>>>;
|
|
6770
6763
|
}, "strip", z.ZodTypeAny, {
|
|
6771
|
-
name: "machine";
|
|
6772
6764
|
data: {
|
|
6773
6765
|
object: string | {
|
|
6774
6766
|
tags?: string[] | undefined;
|
|
@@ -6940,7 +6932,6 @@ export declare const CallMachineSchema: z.ZodObject<{
|
|
|
6940
6932
|
}[];
|
|
6941
6933
|
} | null | undefined;
|
|
6942
6934
|
}, {
|
|
6943
|
-
name: "machine";
|
|
6944
6935
|
data: {
|
|
6945
6936
|
object: string | {
|
|
6946
6937
|
tags?: string[] | undefined;
|
|
@@ -7118,9 +7109,8 @@ export declare const CallMachineSchemaInput: () => import("zod-to-json-schema").
|
|
|
7118
7109
|
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
7119
7110
|
} | undefined;
|
|
7120
7111
|
};
|
|
7121
|
-
export declare const CallServiceSchemaDescription = "
|
|
7112
|
+
export declare const CallServiceSchemaDescription = "Describes operations to create or modify an on-chain Service object, where the 'account' field is used to sign transactions and the 'data' field defines object details. \nThe Service object enables its managers to publish purchasable services on-chain, including setting product/service descriptions, prices, inventory, service workflows (Machine object), withdrawal guard rules (Withdraw Guard objects), refund guard rules (Refund Guard objects), dispute commitments (Arbitration objects), the conditions for the purchaser (Buy Guard object), incentives/rewards (Treasury objects), information service endpoints (Endpoint), and encryption of sensitive information.\nUpon successful payment by the purchaser, a new Order object is generated, granting the purchaser all rights committed by the Service to the Order, including:\n- Service Workflow : Full transparency of all service and delivery processes prior to purchase.\n- Breach Arbitration : In case of order disputes, the Order owner can apply for arbitration and compensation claims through these Arbitration objects, with arbitration results and compensation requirements executed automatically.\n- Refund Commitment : Pre-purchase review of refund/withdrawal processes and terms to ensure alignment with purchaser needs.\n- Incentive Rewards : Pre-purchase review of incentives/rewards obtainable when Guard conditions are met.\n- Privacy Protection : On-chain encryption of purchaser's sensitive data or submission via the service provider's Endpoint.\nService administrators control permissions for different operations through a Permission object.\nOnce published, the Service object's service workflows, Guard objects, and other configurations become immutable. To adjust services, a new Service object must be created and configured via the Clone method. A Service can be paused to stop generating new orders, though commitments to existing orders remain unaffected.";
|
|
7122
7113
|
export declare const CallServiceSchema: z.ZodObject<{
|
|
7123
|
-
name: z.ZodLiteral<"service">;
|
|
7124
7114
|
data: z.ZodObject<{
|
|
7125
7115
|
object: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
7126
7116
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -8093,7 +8083,6 @@ export declare const CallServiceSchema: z.ZodObject<{
|
|
|
8093
8083
|
}[];
|
|
8094
8084
|
}>>>;
|
|
8095
8085
|
}, "strip", z.ZodTypeAny, {
|
|
8096
|
-
name: "service";
|
|
8097
8086
|
data: {
|
|
8098
8087
|
object: string | {
|
|
8099
8088
|
type_parameter: string;
|
|
@@ -8277,7 +8266,6 @@ export declare const CallServiceSchema: z.ZodObject<{
|
|
|
8277
8266
|
}[];
|
|
8278
8267
|
} | null | undefined;
|
|
8279
8268
|
}, {
|
|
8280
|
-
name: "service";
|
|
8281
8269
|
data: {
|
|
8282
8270
|
object: string | {
|
|
8283
8271
|
type_parameter: string;
|
|
@@ -8467,9 +8455,8 @@ export declare const CallServiceSchemaInput: () => import("zod-to-json-schema").
|
|
|
8467
8455
|
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
8468
8456
|
} | undefined;
|
|
8469
8457
|
};
|
|
8470
|
-
export declare const CallTreasurySchemaDescription = "
|
|
8458
|
+
export declare const CallTreasurySchemaDescription = "Describes operations to create or modify an on-chain Treasury object, where the 'account' field is used to sign transactions and the 'data' field defines object details. The Treasury object enables its administrators to manage a specific token's funds on-chain, including operations such as depositing, withdrawing, receiving funds, and setting memos/purposes for fund flows (e.g., allocating compensation payments from the treasury as a verification condition for collaborative workflows, such as after a courier loses a package, leveraging Guard objects to seamlessly integrate business processes).\nTreasury administrators control permissions for different operations through a Permission object. For withdrawal operations, distinct verification conditions (Guard objects) can be set to allow withdrawals of varying amounts, providing flexible and rapid withdrawal channels for external operators (e.g., airdrops or order incentives).";
|
|
8471
8459
|
export declare const CallTreasurySchema: z.ZodObject<{
|
|
8472
|
-
name: z.ZodLiteral<"treasury">;
|
|
8473
8460
|
data: z.ZodObject<{
|
|
8474
8461
|
object: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
8475
8462
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -8839,7 +8826,6 @@ export declare const CallTreasurySchema: z.ZodObject<{
|
|
|
8839
8826
|
}[];
|
|
8840
8827
|
}>>>;
|
|
8841
8828
|
}, "strip", z.ZodTypeAny, {
|
|
8842
|
-
name: "treasury";
|
|
8843
8829
|
data: {
|
|
8844
8830
|
object: string | {
|
|
8845
8831
|
type_parameter: string;
|
|
@@ -8911,7 +8897,6 @@ export declare const CallTreasurySchema: z.ZodObject<{
|
|
|
8911
8897
|
}[];
|
|
8912
8898
|
} | null | undefined;
|
|
8913
8899
|
}, {
|
|
8914
|
-
name: "treasury";
|
|
8915
8900
|
data: {
|
|
8916
8901
|
object: string | {
|
|
8917
8902
|
type_parameter: string;
|
|
@@ -8989,9 +8974,8 @@ export declare const CallTreasurySchemaInput: () => import("zod-to-json-schema")
|
|
|
8989
8974
|
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
8990
8975
|
} | undefined;
|
|
8991
8976
|
};
|
|
8992
|
-
export declare const CallPermissionSchemaDescription = "
|
|
8977
|
+
export declare const CallPermissionSchemaDescription = "Describes operations to create or modify an on-chain Permission object, where the 'account' field is used to sign transactions and the 'data' field defines object details. \nThe Permission object enables its administrators to set distinct operational permissions (including built-in permissions and custom permissions) and additional verification conditions (Guard object) for different addresses on-chain. For example, assigning Permission No. 123 (a built-in permission for cloning Service objects) to address 0x1234 allows that address to initiate clone operations across all Service objects that accept this Permission object.\nIn the Wowok protocol, objects of types such as Demand, Repository, Treasury, Service, Machine, and Arbitration include a 'permission' field that specifies the accepted Permission object. This enables addresses and permissions defined by the linked Permission object to perform operations on these target objects.";
|
|
8993
8978
|
export declare const CallPermissionSchema: z.ZodObject<{
|
|
8994
|
-
name: z.ZodLiteral<"permission">;
|
|
8995
8979
|
data: z.ZodObject<{
|
|
8996
8980
|
object: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
8997
8981
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -9583,7 +9567,6 @@ export declare const CallPermissionSchema: z.ZodObject<{
|
|
|
9583
9567
|
}[];
|
|
9584
9568
|
}>>>;
|
|
9585
9569
|
}, "strip", z.ZodTypeAny, {
|
|
9586
|
-
name: "permission";
|
|
9587
9570
|
data: {
|
|
9588
9571
|
object: string | {
|
|
9589
9572
|
tags?: string[] | undefined;
|
|
@@ -9685,7 +9668,6 @@ export declare const CallPermissionSchema: z.ZodObject<{
|
|
|
9685
9668
|
}[];
|
|
9686
9669
|
} | null | undefined;
|
|
9687
9670
|
}, {
|
|
9688
|
-
name: "permission";
|
|
9689
9671
|
data: {
|
|
9690
9672
|
object: string | {
|
|
9691
9673
|
tags?: string[] | undefined;
|
|
@@ -9793,9 +9775,8 @@ export declare const CallPermissionSchemaInput: () => import("zod-to-json-schema
|
|
|
9793
9775
|
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
9794
9776
|
} | undefined;
|
|
9795
9777
|
};
|
|
9796
|
-
export declare const CallArbitrationSchemaDescription = "
|
|
9778
|
+
export declare const CallArbitrationSchemaDescription = "Describes operations to create or modify an on-chain Arbitration object, where the 'account' field is used to sign transactions and the 'data' field defines object details. \nThe Arbitration object enables its managers to provide dispute arbitration for orders on-chain. It facilitates named voting based on descriptions and claims of the dispute object (Arb object) to determine the compensation amount for the order owner. If a Service object declares and accepts this Arbitration object, its arbitration results and compensation requirements will be automatically executed.\nWhen an order owner encounters a dispute with an order, they can initiate arbitration by selecting the Arbitration objects accepted by their Service object, resulting in the generation of a new Arb object.\nArbitration administrators control permissions for different operations through a Permission object.";
|
|
9797
9779
|
export declare const CallArbitrationSchema: z.ZodObject<{
|
|
9798
|
-
name: z.ZodLiteral<"arbitration">;
|
|
9799
9780
|
data: z.ZodObject<{
|
|
9800
9781
|
object: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
9801
9782
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -10230,7 +10211,6 @@ export declare const CallArbitrationSchema: z.ZodObject<{
|
|
|
10230
10211
|
}[];
|
|
10231
10212
|
}>>>;
|
|
10232
10213
|
}, "strip", z.ZodTypeAny, {
|
|
10233
|
-
name: "arbitration";
|
|
10234
10214
|
data: {
|
|
10235
10215
|
object: string | {
|
|
10236
10216
|
type_parameter: string;
|
|
@@ -10317,7 +10297,6 @@ export declare const CallArbitrationSchema: z.ZodObject<{
|
|
|
10317
10297
|
}[];
|
|
10318
10298
|
} | null | undefined;
|
|
10319
10299
|
}, {
|
|
10320
|
-
name: "arbitration";
|
|
10321
10300
|
data: {
|
|
10322
10301
|
object: string | {
|
|
10323
10302
|
type_parameter: string;
|
|
@@ -10410,9 +10389,8 @@ export declare const CallArbitrationSchemaInput: () => import("zod-to-json-schem
|
|
|
10410
10389
|
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
10411
10390
|
} | undefined;
|
|
10412
10391
|
};
|
|
10413
|
-
export declare const CallPersonalSchemaDescription = "
|
|
10392
|
+
export declare const CallPersonalSchemaDescription = "Describes operations to create or modify on-chain personal information(including name, avatar, website, social media accounts, etc.) , and on-chain address favorites (such as naming, tagging, and favoriting addresses to facilitate easier management of these addresses and objects), where the 'account' field is used to sign transactions and the 'data' field defines object details.";
|
|
10414
10393
|
export declare const CallPersonalSchema: z.ZodObject<{
|
|
10415
|
-
name: z.ZodLiteral<"personal">;
|
|
10416
10394
|
data: z.ZodObject<{
|
|
10417
10395
|
information: z.ZodOptional<z.ZodObject<{
|
|
10418
10396
|
name: z.ZodString;
|
|
@@ -10722,7 +10700,6 @@ export declare const CallPersonalSchema: z.ZodObject<{
|
|
|
10722
10700
|
}>;
|
|
10723
10701
|
account: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
10724
10702
|
}, "strip", z.ZodTypeAny, {
|
|
10725
|
-
name: "personal";
|
|
10726
10703
|
data: {
|
|
10727
10704
|
mark?: {
|
|
10728
10705
|
data: {
|
|
@@ -10776,7 +10753,6 @@ export declare const CallPersonalSchema: z.ZodObject<{
|
|
|
10776
10753
|
};
|
|
10777
10754
|
account?: string | null | undefined;
|
|
10778
10755
|
}, {
|
|
10779
|
-
name: "personal";
|
|
10780
10756
|
data: {
|
|
10781
10757
|
mark?: {
|
|
10782
10758
|
data: {
|
|
@@ -10836,9 +10812,8 @@ export declare const CallPersonalSchemaInput: () => import("zod-to-json-schema")
|
|
|
10836
10812
|
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
10837
10813
|
} | undefined;
|
|
10838
10814
|
};
|
|
10839
|
-
export declare const CallGuardSchemaDescription = "
|
|
10815
|
+
export declare const CallGuardSchemaDescription = "Describes operations to create or modify an on-chain Arbitration object, where the 'account' field is used to sign transactions and the 'data' field defines object details. \nGuard object is immutable once created. A Guard object is designed to define a set of verification conditions that yield a final boolean result (True or False). \nThese conditions include querying on-chain object data (e.g., verifying if an order owner is 0x1234, or if 100 SUI tokens were paid from a specific Treasury object to 0x1234 and an order(owned by 0x1234) of a Service object has reached the 'express loss verification' process node), validating Witness data provided by the signer (e.g., the provided order address must belong to a certain Service object, and the order owner must be the actual transaction signer), and performing mathematical/logical operations on numerical values. \nDue to its immutability, the Guard object is widely used as a pre-validation requirement for critical operations (e.g., placing an order for a Service object or withdrawing funds from a Treasury object). Additionally, Guard objects can be integrated with Permission object's operation validation: an operation is only executed if both the permission requirements and the Guard verification are satisfied.";
|
|
10840
10816
|
export declare const CallGuardSchema: z.ZodObject<{
|
|
10841
|
-
name: z.ZodLiteral<"guard">;
|
|
10842
10817
|
data: z.ZodObject<{
|
|
10843
10818
|
root: z.ZodType<any, z.ZodTypeDef, any>;
|
|
10844
10819
|
namedNew: z.ZodOptional<z.ZodObject<{
|
|
@@ -10907,7 +10882,6 @@ export declare const CallGuardSchema: z.ZodObject<{
|
|
|
10907
10882
|
}>;
|
|
10908
10883
|
account: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
10909
10884
|
}, "strip", z.ZodTypeAny, {
|
|
10910
|
-
name: "guard";
|
|
10911
10885
|
data: {
|
|
10912
10886
|
table?: {
|
|
10913
10887
|
identifier: number;
|
|
@@ -10926,7 +10900,6 @@ export declare const CallGuardSchema: z.ZodObject<{
|
|
|
10926
10900
|
};
|
|
10927
10901
|
account?: string | null | undefined;
|
|
10928
10902
|
}, {
|
|
10929
|
-
name: "guard";
|
|
10930
10903
|
data: {
|
|
10931
10904
|
table?: {
|
|
10932
10905
|
identifier: number;
|
|
@@ -10951,9 +10924,8 @@ export declare const CallGuardSchemaInput: () => import("zod-to-json-schema").Js
|
|
|
10951
10924
|
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
10952
10925
|
} | undefined;
|
|
10953
10926
|
};
|
|
10954
|
-
export declare const CallObejctPermissionSchemaDescription = "
|
|
10927
|
+
export declare const CallObejctPermissionSchemaDescription = "Enables the use of the account field to sign transactions and leverages the data field to batch replace the permission management objects for objects of types including Machine, Service, Repository, Treasury, Arbitration, and Demand on-chain. \nThis operation facilitates centralized access control by managing the assignment of operation permissions (both built-in and custom) for these objects through the Permission object. \nFor the operation to succeed, the transaction signer must be the owner of the original Permission objects associated with these target objects.";
|
|
10955
10928
|
export declare const CallObejctPermissionSchema: z.ZodObject<{
|
|
10956
|
-
name: z.ZodLiteral<"object_permission">;
|
|
10957
10929
|
data: z.ZodObject<{
|
|
10958
10930
|
objects: z.ZodArray<z.ZodString, "many">;
|
|
10959
10931
|
new_permission: z.ZodString;
|
|
@@ -11011,7 +10983,6 @@ export declare const CallObejctPermissionSchema: z.ZodObject<{
|
|
|
11011
10983
|
}[];
|
|
11012
10984
|
}>>>;
|
|
11013
10985
|
}, "strip", z.ZodTypeAny, {
|
|
11014
|
-
name: "object_permission";
|
|
11015
10986
|
data: {
|
|
11016
10987
|
objects: string[];
|
|
11017
10988
|
new_permission: string;
|
|
@@ -11029,7 +11000,6 @@ export declare const CallObejctPermissionSchema: z.ZodObject<{
|
|
|
11029
11000
|
}[];
|
|
11030
11001
|
} | null | undefined;
|
|
11031
11002
|
}, {
|
|
11032
|
-
name: "object_permission";
|
|
11033
11003
|
data: {
|
|
11034
11004
|
objects: string[];
|
|
11035
11005
|
new_permission: string;
|
|
@@ -11053,1123 +11023,4 @@ export declare const CallObejctPermissionSchemaInput: () => import("zod-to-json-
|
|
|
11053
11023
|
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
11054
11024
|
} | undefined;
|
|
11055
11025
|
};
|
|
11056
|
-
export declare const OperateSchemaDescription = "Operations on wowok protocol include two categories: \n\n### Local operations (do not require local account signatures) and management of:\n1. local private information (e.g., addresses, phone numbers); \n2. local names and tags for addresses.\n3. local accounts.\n\n### On-chain operations (require local account cryptographic signatures)\n1. Supported entities include: Demand, Repository, Machine, Service, Treasury, Arbitration, Personal, Guard, and Permission. Each entity has its own specific operation schema, allowing for granular control over various aspects of the protocol's functionality.\n2. Permission management (including replacement and transfer) for on-chain entity objects (Demand, Machine, Repository, Service, Arbitration, Treasury) by setting their `permission` attribute (which specifies the associated Permission object).";
|
|
11057
|
-
export declare const OperateSchema: z.ZodObject<{
|
|
11058
|
-
call: z.ZodUnion<[z.ZodObject<{
|
|
11059
|
-
name: z.ZodLiteral<"permission">;
|
|
11060
|
-
data: z.ZodObject<{
|
|
11061
|
-
object: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
11062
|
-
name: z.ZodOptional<z.ZodString>;
|
|
11063
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11064
|
-
useAddressIfNameExist: z.ZodOptional<z.ZodBoolean>;
|
|
11065
|
-
onChain: z.ZodOptional<z.ZodBoolean>;
|
|
11066
|
-
}, "strip", z.ZodTypeAny, {
|
|
11067
|
-
tags?: string[] | undefined;
|
|
11068
|
-
name?: string | undefined;
|
|
11069
|
-
onChain?: boolean | undefined;
|
|
11070
|
-
useAddressIfNameExist?: boolean | undefined;
|
|
11071
|
-
}, {
|
|
11072
|
-
tags?: string[] | undefined;
|
|
11073
|
-
name?: string | undefined;
|
|
11074
|
-
onChain?: boolean | undefined;
|
|
11075
|
-
useAddressIfNameExist?: boolean | undefined;
|
|
11076
|
-
}>]>;
|
|
11077
|
-
description: z.ZodOptional<z.ZodString>;
|
|
11078
|
-
biz_permission: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
11079
|
-
op: z.ZodLiteral<"add">;
|
|
11080
|
-
data: z.ZodArray<z.ZodObject<{
|
|
11081
|
-
index: z.ZodEffects<z.ZodTypeAny, number, any>;
|
|
11082
|
-
name: z.ZodString;
|
|
11083
|
-
}, "strip", z.ZodTypeAny, {
|
|
11084
|
-
name: string;
|
|
11085
|
-
index: number;
|
|
11086
|
-
}, {
|
|
11087
|
-
name: string;
|
|
11088
|
-
index?: any;
|
|
11089
|
-
}>, "many">;
|
|
11090
|
-
}, "strip", z.ZodTypeAny, {
|
|
11091
|
-
data: {
|
|
11092
|
-
name: string;
|
|
11093
|
-
index: number;
|
|
11094
|
-
}[];
|
|
11095
|
-
op: "add";
|
|
11096
|
-
}, {
|
|
11097
|
-
data: {
|
|
11098
|
-
name: string;
|
|
11099
|
-
index?: any;
|
|
11100
|
-
}[];
|
|
11101
|
-
op: "add";
|
|
11102
|
-
}>, z.ZodObject<{
|
|
11103
|
-
op: z.ZodLiteral<"remove">;
|
|
11104
|
-
permissions: z.ZodArray<z.ZodEffects<z.ZodTypeAny, number, any>, "many">;
|
|
11105
|
-
}, "strip", z.ZodTypeAny, {
|
|
11106
|
-
op: "remove";
|
|
11107
|
-
permissions: number[];
|
|
11108
|
-
}, {
|
|
11109
|
-
op: "remove";
|
|
11110
|
-
permissions: any[];
|
|
11111
|
-
}>]>>;
|
|
11112
|
-
permission: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
11113
|
-
op: z.ZodLiteral<"add entity">;
|
|
11114
|
-
entities: z.ZodArray<z.ZodObject<{
|
|
11115
|
-
address: z.ZodUnion<[z.ZodObject<{
|
|
11116
|
-
account_or_address: z.ZodOptional<z.ZodString>;
|
|
11117
|
-
}, "strip", z.ZodTypeAny, {
|
|
11118
|
-
account_or_address?: string | undefined;
|
|
11119
|
-
}, {
|
|
11120
|
-
account_or_address?: string | undefined;
|
|
11121
|
-
}>, z.ZodObject<{
|
|
11122
|
-
mark_or_address: z.ZodString;
|
|
11123
|
-
}, "strip", z.ZodTypeAny, {
|
|
11124
|
-
mark_or_address: string;
|
|
11125
|
-
}, {
|
|
11126
|
-
mark_or_address: string;
|
|
11127
|
-
}>]>;
|
|
11128
|
-
permissions: z.ZodArray<z.ZodObject<{
|
|
11129
|
-
index: z.ZodEffects<z.ZodTypeAny, number, any>;
|
|
11130
|
-
guard: z.ZodOptional<z.ZodString>;
|
|
11131
|
-
}, "strip", z.ZodTypeAny, {
|
|
11132
|
-
index: number;
|
|
11133
|
-
guard?: string | undefined;
|
|
11134
|
-
}, {
|
|
11135
|
-
guard?: string | undefined;
|
|
11136
|
-
index?: any;
|
|
11137
|
-
}>, "many">;
|
|
11138
|
-
}, "strip", z.ZodTypeAny, {
|
|
11139
|
-
address: {
|
|
11140
|
-
account_or_address?: string | undefined;
|
|
11141
|
-
} | {
|
|
11142
|
-
mark_or_address: string;
|
|
11143
|
-
};
|
|
11144
|
-
permissions: {
|
|
11145
|
-
index: number;
|
|
11146
|
-
guard?: string | undefined;
|
|
11147
|
-
}[];
|
|
11148
|
-
}, {
|
|
11149
|
-
address: {
|
|
11150
|
-
account_or_address?: string | undefined;
|
|
11151
|
-
} | {
|
|
11152
|
-
mark_or_address: string;
|
|
11153
|
-
};
|
|
11154
|
-
permissions: {
|
|
11155
|
-
guard?: string | undefined;
|
|
11156
|
-
index?: any;
|
|
11157
|
-
}[];
|
|
11158
|
-
}>, "many">;
|
|
11159
|
-
}, "strip", z.ZodTypeAny, {
|
|
11160
|
-
op: "add entity";
|
|
11161
|
-
entities: {
|
|
11162
|
-
address: {
|
|
11163
|
-
account_or_address?: string | undefined;
|
|
11164
|
-
} | {
|
|
11165
|
-
mark_or_address: string;
|
|
11166
|
-
};
|
|
11167
|
-
permissions: {
|
|
11168
|
-
index: number;
|
|
11169
|
-
guard?: string | undefined;
|
|
11170
|
-
}[];
|
|
11171
|
-
}[];
|
|
11172
|
-
}, {
|
|
11173
|
-
op: "add entity";
|
|
11174
|
-
entities: {
|
|
11175
|
-
address: {
|
|
11176
|
-
account_or_address?: string | undefined;
|
|
11177
|
-
} | {
|
|
11178
|
-
mark_or_address: string;
|
|
11179
|
-
};
|
|
11180
|
-
permissions: {
|
|
11181
|
-
guard?: string | undefined;
|
|
11182
|
-
index?: any;
|
|
11183
|
-
}[];
|
|
11184
|
-
}[];
|
|
11185
|
-
}>, z.ZodObject<{
|
|
11186
|
-
op: z.ZodLiteral<"add permission">;
|
|
11187
|
-
permissions: z.ZodArray<z.ZodObject<{
|
|
11188
|
-
index: z.ZodEffects<z.ZodTypeAny, number, any>;
|
|
11189
|
-
entities: z.ZodArray<z.ZodObject<{
|
|
11190
|
-
address: z.ZodUnion<[z.ZodObject<{
|
|
11191
|
-
account_or_address: z.ZodOptional<z.ZodString>;
|
|
11192
|
-
}, "strip", z.ZodTypeAny, {
|
|
11193
|
-
account_or_address?: string | undefined;
|
|
11194
|
-
}, {
|
|
11195
|
-
account_or_address?: string | undefined;
|
|
11196
|
-
}>, z.ZodObject<{
|
|
11197
|
-
mark_or_address: z.ZodString;
|
|
11198
|
-
}, "strip", z.ZodTypeAny, {
|
|
11199
|
-
mark_or_address: string;
|
|
11200
|
-
}, {
|
|
11201
|
-
mark_or_address: string;
|
|
11202
|
-
}>]>;
|
|
11203
|
-
guard: z.ZodOptional<z.ZodString>;
|
|
11204
|
-
}, "strip", z.ZodTypeAny, {
|
|
11205
|
-
address: {
|
|
11206
|
-
account_or_address?: string | undefined;
|
|
11207
|
-
} | {
|
|
11208
|
-
mark_or_address: string;
|
|
11209
|
-
};
|
|
11210
|
-
guard?: string | undefined;
|
|
11211
|
-
}, {
|
|
11212
|
-
address: {
|
|
11213
|
-
account_or_address?: string | undefined;
|
|
11214
|
-
} | {
|
|
11215
|
-
mark_or_address: string;
|
|
11216
|
-
};
|
|
11217
|
-
guard?: string | undefined;
|
|
11218
|
-
}>, "many">;
|
|
11219
|
-
}, "strip", z.ZodTypeAny, {
|
|
11220
|
-
index: number;
|
|
11221
|
-
entities: {
|
|
11222
|
-
address: {
|
|
11223
|
-
account_or_address?: string | undefined;
|
|
11224
|
-
} | {
|
|
11225
|
-
mark_or_address: string;
|
|
11226
|
-
};
|
|
11227
|
-
guard?: string | undefined;
|
|
11228
|
-
}[];
|
|
11229
|
-
}, {
|
|
11230
|
-
entities: {
|
|
11231
|
-
address: {
|
|
11232
|
-
account_or_address?: string | undefined;
|
|
11233
|
-
} | {
|
|
11234
|
-
mark_or_address: string;
|
|
11235
|
-
};
|
|
11236
|
-
guard?: string | undefined;
|
|
11237
|
-
}[];
|
|
11238
|
-
index?: any;
|
|
11239
|
-
}>, "many">;
|
|
11240
|
-
}, "strip", z.ZodTypeAny, {
|
|
11241
|
-
op: "add permission";
|
|
11242
|
-
permissions: {
|
|
11243
|
-
index: number;
|
|
11244
|
-
entities: {
|
|
11245
|
-
address: {
|
|
11246
|
-
account_or_address?: string | undefined;
|
|
11247
|
-
} | {
|
|
11248
|
-
mark_or_address: string;
|
|
11249
|
-
};
|
|
11250
|
-
guard?: string | undefined;
|
|
11251
|
-
}[];
|
|
11252
|
-
}[];
|
|
11253
|
-
}, {
|
|
11254
|
-
op: "add permission";
|
|
11255
|
-
permissions: {
|
|
11256
|
-
entities: {
|
|
11257
|
-
address: {
|
|
11258
|
-
account_or_address?: string | undefined;
|
|
11259
|
-
} | {
|
|
11260
|
-
mark_or_address: string;
|
|
11261
|
-
};
|
|
11262
|
-
guard?: string | undefined;
|
|
11263
|
-
}[];
|
|
11264
|
-
index?: any;
|
|
11265
|
-
}[];
|
|
11266
|
-
}>, z.ZodObject<{
|
|
11267
|
-
op: z.ZodLiteral<"remove entity">;
|
|
11268
|
-
addresses: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
11269
|
-
account_or_address: z.ZodOptional<z.ZodString>;
|
|
11270
|
-
}, "strip", z.ZodTypeAny, {
|
|
11271
|
-
account_or_address?: string | undefined;
|
|
11272
|
-
}, {
|
|
11273
|
-
account_or_address?: string | undefined;
|
|
11274
|
-
}>, z.ZodObject<{
|
|
11275
|
-
mark_or_address: z.ZodString;
|
|
11276
|
-
}, "strip", z.ZodTypeAny, {
|
|
11277
|
-
mark_or_address: string;
|
|
11278
|
-
}, {
|
|
11279
|
-
mark_or_address: string;
|
|
11280
|
-
}>]>, "many">;
|
|
11281
|
-
}, "strip", z.ZodTypeAny, {
|
|
11282
|
-
op: "remove entity";
|
|
11283
|
-
addresses: ({
|
|
11284
|
-
account_or_address?: string | undefined;
|
|
11285
|
-
} | {
|
|
11286
|
-
mark_or_address: string;
|
|
11287
|
-
})[];
|
|
11288
|
-
}, {
|
|
11289
|
-
op: "remove entity";
|
|
11290
|
-
addresses: ({
|
|
11291
|
-
account_or_address?: string | undefined;
|
|
11292
|
-
} | {
|
|
11293
|
-
mark_or_address: string;
|
|
11294
|
-
})[];
|
|
11295
|
-
}>, z.ZodObject<{
|
|
11296
|
-
op: z.ZodLiteral<"remove permission">;
|
|
11297
|
-
address: z.ZodUnion<[z.ZodObject<{
|
|
11298
|
-
account_or_address: z.ZodOptional<z.ZodString>;
|
|
11299
|
-
}, "strip", z.ZodTypeAny, {
|
|
11300
|
-
account_or_address?: string | undefined;
|
|
11301
|
-
}, {
|
|
11302
|
-
account_or_address?: string | undefined;
|
|
11303
|
-
}>, z.ZodObject<{
|
|
11304
|
-
mark_or_address: z.ZodString;
|
|
11305
|
-
}, "strip", z.ZodTypeAny, {
|
|
11306
|
-
mark_or_address: string;
|
|
11307
|
-
}, {
|
|
11308
|
-
mark_or_address: string;
|
|
11309
|
-
}>]>;
|
|
11310
|
-
index: z.ZodArray<z.ZodEffects<z.ZodTypeAny, number, any>, "many">;
|
|
11311
|
-
}, "strip", z.ZodTypeAny, {
|
|
11312
|
-
address: {
|
|
11313
|
-
account_or_address?: string | undefined;
|
|
11314
|
-
} | {
|
|
11315
|
-
mark_or_address: string;
|
|
11316
|
-
};
|
|
11317
|
-
index: number[];
|
|
11318
|
-
op: "remove permission";
|
|
11319
|
-
}, {
|
|
11320
|
-
address: {
|
|
11321
|
-
account_or_address?: string | undefined;
|
|
11322
|
-
} | {
|
|
11323
|
-
mark_or_address: string;
|
|
11324
|
-
};
|
|
11325
|
-
index: any[];
|
|
11326
|
-
op: "remove permission";
|
|
11327
|
-
}>, z.ZodObject<{
|
|
11328
|
-
op: z.ZodLiteral<"transfer permission">;
|
|
11329
|
-
from: z.ZodUnion<[z.ZodObject<{
|
|
11330
|
-
account_or_address: z.ZodOptional<z.ZodString>;
|
|
11331
|
-
}, "strip", z.ZodTypeAny, {
|
|
11332
|
-
account_or_address?: string | undefined;
|
|
11333
|
-
}, {
|
|
11334
|
-
account_or_address?: string | undefined;
|
|
11335
|
-
}>, z.ZodObject<{
|
|
11336
|
-
mark_or_address: z.ZodString;
|
|
11337
|
-
}, "strip", z.ZodTypeAny, {
|
|
11338
|
-
mark_or_address: string;
|
|
11339
|
-
}, {
|
|
11340
|
-
mark_or_address: string;
|
|
11341
|
-
}>]>;
|
|
11342
|
-
to: z.ZodUnion<[z.ZodObject<{
|
|
11343
|
-
account_or_address: z.ZodOptional<z.ZodString>;
|
|
11344
|
-
}, "strip", z.ZodTypeAny, {
|
|
11345
|
-
account_or_address?: string | undefined;
|
|
11346
|
-
}, {
|
|
11347
|
-
account_or_address?: string | undefined;
|
|
11348
|
-
}>, z.ZodObject<{
|
|
11349
|
-
mark_or_address: z.ZodString;
|
|
11350
|
-
}, "strip", z.ZodTypeAny, {
|
|
11351
|
-
mark_or_address: string;
|
|
11352
|
-
}, {
|
|
11353
|
-
mark_or_address: string;
|
|
11354
|
-
}>]>;
|
|
11355
|
-
}, "strip", z.ZodTypeAny, {
|
|
11356
|
-
from: {
|
|
11357
|
-
account_or_address?: string | undefined;
|
|
11358
|
-
} | {
|
|
11359
|
-
mark_or_address: string;
|
|
11360
|
-
};
|
|
11361
|
-
to: {
|
|
11362
|
-
account_or_address?: string | undefined;
|
|
11363
|
-
} | {
|
|
11364
|
-
mark_or_address: string;
|
|
11365
|
-
};
|
|
11366
|
-
op: "transfer permission";
|
|
11367
|
-
}, {
|
|
11368
|
-
from: {
|
|
11369
|
-
account_or_address?: string | undefined;
|
|
11370
|
-
} | {
|
|
11371
|
-
mark_or_address: string;
|
|
11372
|
-
};
|
|
11373
|
-
to: {
|
|
11374
|
-
account_or_address?: string | undefined;
|
|
11375
|
-
} | {
|
|
11376
|
-
mark_or_address: string;
|
|
11377
|
-
};
|
|
11378
|
-
op: "transfer permission";
|
|
11379
|
-
}>]>>;
|
|
11380
|
-
admin: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
11381
|
-
op: z.ZodUnion<[z.ZodLiteral<"add">, z.ZodLiteral<"remove">, z.ZodLiteral<"set">]>;
|
|
11382
|
-
addresses: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
11383
|
-
account_or_address: z.ZodOptional<z.ZodString>;
|
|
11384
|
-
}, "strip", z.ZodTypeAny, {
|
|
11385
|
-
account_or_address?: string | undefined;
|
|
11386
|
-
}, {
|
|
11387
|
-
account_or_address?: string | undefined;
|
|
11388
|
-
}>, z.ZodObject<{
|
|
11389
|
-
mark_or_address: z.ZodString;
|
|
11390
|
-
}, "strip", z.ZodTypeAny, {
|
|
11391
|
-
mark_or_address: string;
|
|
11392
|
-
}, {
|
|
11393
|
-
mark_or_address: string;
|
|
11394
|
-
}>]>, "many">;
|
|
11395
|
-
}, "strip", z.ZodTypeAny, {
|
|
11396
|
-
op: "set" | "add" | "remove";
|
|
11397
|
-
addresses: ({
|
|
11398
|
-
account_or_address?: string | undefined;
|
|
11399
|
-
} | {
|
|
11400
|
-
mark_or_address: string;
|
|
11401
|
-
})[];
|
|
11402
|
-
}, {
|
|
11403
|
-
op: "set" | "add" | "remove";
|
|
11404
|
-
addresses: ({
|
|
11405
|
-
account_or_address?: string | undefined;
|
|
11406
|
-
} | {
|
|
11407
|
-
mark_or_address: string;
|
|
11408
|
-
})[];
|
|
11409
|
-
}>, z.ZodObject<{
|
|
11410
|
-
op: z.ZodLiteral<"removeall">;
|
|
11411
|
-
}, "strip", z.ZodTypeAny, {
|
|
11412
|
-
op: "removeall";
|
|
11413
|
-
}, {
|
|
11414
|
-
op: "removeall";
|
|
11415
|
-
}>]>>;
|
|
11416
|
-
builder: z.ZodUnion<[z.ZodObject<{
|
|
11417
|
-
account_or_address: z.ZodOptional<z.ZodString>;
|
|
11418
|
-
}, "strip", z.ZodTypeAny, {
|
|
11419
|
-
account_or_address?: string | undefined;
|
|
11420
|
-
}, {
|
|
11421
|
-
account_or_address?: string | undefined;
|
|
11422
|
-
}>, z.ZodObject<{
|
|
11423
|
-
mark_or_address: z.ZodString;
|
|
11424
|
-
}, "strip", z.ZodTypeAny, {
|
|
11425
|
-
mark_or_address: string;
|
|
11426
|
-
}, {
|
|
11427
|
-
mark_or_address: string;
|
|
11428
|
-
}>]>;
|
|
11429
|
-
}, "strip", z.ZodTypeAny, {
|
|
11430
|
-
object: string | {
|
|
11431
|
-
tags?: string[] | undefined;
|
|
11432
|
-
name?: string | undefined;
|
|
11433
|
-
onChain?: boolean | undefined;
|
|
11434
|
-
useAddressIfNameExist?: boolean | undefined;
|
|
11435
|
-
};
|
|
11436
|
-
builder: {
|
|
11437
|
-
account_or_address?: string | undefined;
|
|
11438
|
-
} | {
|
|
11439
|
-
mark_or_address: string;
|
|
11440
|
-
};
|
|
11441
|
-
admin?: {
|
|
11442
|
-
op: "set" | "add" | "remove";
|
|
11443
|
-
addresses: ({
|
|
11444
|
-
account_or_address?: string | undefined;
|
|
11445
|
-
} | {
|
|
11446
|
-
mark_or_address: string;
|
|
11447
|
-
})[];
|
|
11448
|
-
} | {
|
|
11449
|
-
op: "removeall";
|
|
11450
|
-
} | undefined;
|
|
11451
|
-
description?: string | undefined;
|
|
11452
|
-
permission?: {
|
|
11453
|
-
op: "add entity";
|
|
11454
|
-
entities: {
|
|
11455
|
-
address: {
|
|
11456
|
-
account_or_address?: string | undefined;
|
|
11457
|
-
} | {
|
|
11458
|
-
mark_or_address: string;
|
|
11459
|
-
};
|
|
11460
|
-
permissions: {
|
|
11461
|
-
index: number;
|
|
11462
|
-
guard?: string | undefined;
|
|
11463
|
-
}[];
|
|
11464
|
-
}[];
|
|
11465
|
-
} | {
|
|
11466
|
-
op: "add permission";
|
|
11467
|
-
permissions: {
|
|
11468
|
-
index: number;
|
|
11469
|
-
entities: {
|
|
11470
|
-
address: {
|
|
11471
|
-
account_or_address?: string | undefined;
|
|
11472
|
-
} | {
|
|
11473
|
-
mark_or_address: string;
|
|
11474
|
-
};
|
|
11475
|
-
guard?: string | undefined;
|
|
11476
|
-
}[];
|
|
11477
|
-
}[];
|
|
11478
|
-
} | {
|
|
11479
|
-
op: "remove entity";
|
|
11480
|
-
addresses: ({
|
|
11481
|
-
account_or_address?: string | undefined;
|
|
11482
|
-
} | {
|
|
11483
|
-
mark_or_address: string;
|
|
11484
|
-
})[];
|
|
11485
|
-
} | {
|
|
11486
|
-
address: {
|
|
11487
|
-
account_or_address?: string | undefined;
|
|
11488
|
-
} | {
|
|
11489
|
-
mark_or_address: string;
|
|
11490
|
-
};
|
|
11491
|
-
index: number[];
|
|
11492
|
-
op: "remove permission";
|
|
11493
|
-
} | {
|
|
11494
|
-
from: {
|
|
11495
|
-
account_or_address?: string | undefined;
|
|
11496
|
-
} | {
|
|
11497
|
-
mark_or_address: string;
|
|
11498
|
-
};
|
|
11499
|
-
to: {
|
|
11500
|
-
account_or_address?: string | undefined;
|
|
11501
|
-
} | {
|
|
11502
|
-
mark_or_address: string;
|
|
11503
|
-
};
|
|
11504
|
-
op: "transfer permission";
|
|
11505
|
-
} | undefined;
|
|
11506
|
-
biz_permission?: {
|
|
11507
|
-
data: {
|
|
11508
|
-
name: string;
|
|
11509
|
-
index: number;
|
|
11510
|
-
}[];
|
|
11511
|
-
op: "add";
|
|
11512
|
-
} | {
|
|
11513
|
-
op: "remove";
|
|
11514
|
-
permissions: number[];
|
|
11515
|
-
} | undefined;
|
|
11516
|
-
}, {
|
|
11517
|
-
object: string | {
|
|
11518
|
-
tags?: string[] | undefined;
|
|
11519
|
-
name?: string | undefined;
|
|
11520
|
-
onChain?: boolean | undefined;
|
|
11521
|
-
useAddressIfNameExist?: boolean | undefined;
|
|
11522
|
-
};
|
|
11523
|
-
builder: {
|
|
11524
|
-
account_or_address?: string | undefined;
|
|
11525
|
-
} | {
|
|
11526
|
-
mark_or_address: string;
|
|
11527
|
-
};
|
|
11528
|
-
admin?: {
|
|
11529
|
-
op: "set" | "add" | "remove";
|
|
11530
|
-
addresses: ({
|
|
11531
|
-
account_or_address?: string | undefined;
|
|
11532
|
-
} | {
|
|
11533
|
-
mark_or_address: string;
|
|
11534
|
-
})[];
|
|
11535
|
-
} | {
|
|
11536
|
-
op: "removeall";
|
|
11537
|
-
} | undefined;
|
|
11538
|
-
description?: string | undefined;
|
|
11539
|
-
permission?: {
|
|
11540
|
-
op: "add entity";
|
|
11541
|
-
entities: {
|
|
11542
|
-
address: {
|
|
11543
|
-
account_or_address?: string | undefined;
|
|
11544
|
-
} | {
|
|
11545
|
-
mark_or_address: string;
|
|
11546
|
-
};
|
|
11547
|
-
permissions: {
|
|
11548
|
-
guard?: string | undefined;
|
|
11549
|
-
index?: any;
|
|
11550
|
-
}[];
|
|
11551
|
-
}[];
|
|
11552
|
-
} | {
|
|
11553
|
-
op: "add permission";
|
|
11554
|
-
permissions: {
|
|
11555
|
-
entities: {
|
|
11556
|
-
address: {
|
|
11557
|
-
account_or_address?: string | undefined;
|
|
11558
|
-
} | {
|
|
11559
|
-
mark_or_address: string;
|
|
11560
|
-
};
|
|
11561
|
-
guard?: string | undefined;
|
|
11562
|
-
}[];
|
|
11563
|
-
index?: any;
|
|
11564
|
-
}[];
|
|
11565
|
-
} | {
|
|
11566
|
-
op: "remove entity";
|
|
11567
|
-
addresses: ({
|
|
11568
|
-
account_or_address?: string | undefined;
|
|
11569
|
-
} | {
|
|
11570
|
-
mark_or_address: string;
|
|
11571
|
-
})[];
|
|
11572
|
-
} | {
|
|
11573
|
-
address: {
|
|
11574
|
-
account_or_address?: string | undefined;
|
|
11575
|
-
} | {
|
|
11576
|
-
mark_or_address: string;
|
|
11577
|
-
};
|
|
11578
|
-
index: any[];
|
|
11579
|
-
op: "remove permission";
|
|
11580
|
-
} | {
|
|
11581
|
-
from: {
|
|
11582
|
-
account_or_address?: string | undefined;
|
|
11583
|
-
} | {
|
|
11584
|
-
mark_or_address: string;
|
|
11585
|
-
};
|
|
11586
|
-
to: {
|
|
11587
|
-
account_or_address?: string | undefined;
|
|
11588
|
-
} | {
|
|
11589
|
-
mark_or_address: string;
|
|
11590
|
-
};
|
|
11591
|
-
op: "transfer permission";
|
|
11592
|
-
} | undefined;
|
|
11593
|
-
biz_permission?: {
|
|
11594
|
-
data: {
|
|
11595
|
-
name: string;
|
|
11596
|
-
index?: any;
|
|
11597
|
-
}[];
|
|
11598
|
-
op: "add";
|
|
11599
|
-
} | {
|
|
11600
|
-
op: "remove";
|
|
11601
|
-
permissions: any[];
|
|
11602
|
-
} | undefined;
|
|
11603
|
-
}>;
|
|
11604
|
-
account: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
11605
|
-
witness: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
11606
|
-
guards: z.ZodArray<z.ZodString, "many">;
|
|
11607
|
-
witness: z.ZodArray<z.ZodObject<{
|
|
11608
|
-
guard: z.ZodString;
|
|
11609
|
-
witness: z.ZodAny;
|
|
11610
|
-
cmd: z.ZodArray<z.ZodNumber, "many">;
|
|
11611
|
-
cited: z.ZodNumber;
|
|
11612
|
-
type: z.ZodNativeEnum<typeof WOWOK.ValueType>;
|
|
11613
|
-
identifier: z.ZodNumber;
|
|
11614
|
-
}, "strip", z.ZodTypeAny, {
|
|
11615
|
-
type: WOWOK.ValueType;
|
|
11616
|
-
guard: string;
|
|
11617
|
-
identifier: number;
|
|
11618
|
-
cmd: number[];
|
|
11619
|
-
cited: number;
|
|
11620
|
-
witness?: any;
|
|
11621
|
-
}, {
|
|
11622
|
-
type: WOWOK.ValueType;
|
|
11623
|
-
guard: string;
|
|
11624
|
-
identifier: number;
|
|
11625
|
-
cmd: number[];
|
|
11626
|
-
cited: number;
|
|
11627
|
-
witness?: any;
|
|
11628
|
-
}>, "many">;
|
|
11629
|
-
}, "strip", z.ZodTypeAny, {
|
|
11630
|
-
guards: string[];
|
|
11631
|
-
witness: {
|
|
11632
|
-
type: WOWOK.ValueType;
|
|
11633
|
-
guard: string;
|
|
11634
|
-
identifier: number;
|
|
11635
|
-
cmd: number[];
|
|
11636
|
-
cited: number;
|
|
11637
|
-
witness?: any;
|
|
11638
|
-
}[];
|
|
11639
|
-
}, {
|
|
11640
|
-
guards: string[];
|
|
11641
|
-
witness: {
|
|
11642
|
-
type: WOWOK.ValueType;
|
|
11643
|
-
guard: string;
|
|
11644
|
-
identifier: number;
|
|
11645
|
-
cmd: number[];
|
|
11646
|
-
cited: number;
|
|
11647
|
-
witness?: any;
|
|
11648
|
-
}[];
|
|
11649
|
-
}>>>;
|
|
11650
|
-
}, "strip", z.ZodTypeAny, {
|
|
11651
|
-
name: "permission";
|
|
11652
|
-
data: {
|
|
11653
|
-
object: string | {
|
|
11654
|
-
tags?: string[] | undefined;
|
|
11655
|
-
name?: string | undefined;
|
|
11656
|
-
onChain?: boolean | undefined;
|
|
11657
|
-
useAddressIfNameExist?: boolean | undefined;
|
|
11658
|
-
};
|
|
11659
|
-
builder: {
|
|
11660
|
-
account_or_address?: string | undefined;
|
|
11661
|
-
} | {
|
|
11662
|
-
mark_or_address: string;
|
|
11663
|
-
};
|
|
11664
|
-
admin?: {
|
|
11665
|
-
op: "set" | "add" | "remove";
|
|
11666
|
-
addresses: ({
|
|
11667
|
-
account_or_address?: string | undefined;
|
|
11668
|
-
} | {
|
|
11669
|
-
mark_or_address: string;
|
|
11670
|
-
})[];
|
|
11671
|
-
} | {
|
|
11672
|
-
op: "removeall";
|
|
11673
|
-
} | undefined;
|
|
11674
|
-
description?: string | undefined;
|
|
11675
|
-
permission?: {
|
|
11676
|
-
op: "add entity";
|
|
11677
|
-
entities: {
|
|
11678
|
-
address: {
|
|
11679
|
-
account_or_address?: string | undefined;
|
|
11680
|
-
} | {
|
|
11681
|
-
mark_or_address: string;
|
|
11682
|
-
};
|
|
11683
|
-
permissions: {
|
|
11684
|
-
index: number;
|
|
11685
|
-
guard?: string | undefined;
|
|
11686
|
-
}[];
|
|
11687
|
-
}[];
|
|
11688
|
-
} | {
|
|
11689
|
-
op: "add permission";
|
|
11690
|
-
permissions: {
|
|
11691
|
-
index: number;
|
|
11692
|
-
entities: {
|
|
11693
|
-
address: {
|
|
11694
|
-
account_or_address?: string | undefined;
|
|
11695
|
-
} | {
|
|
11696
|
-
mark_or_address: string;
|
|
11697
|
-
};
|
|
11698
|
-
guard?: string | undefined;
|
|
11699
|
-
}[];
|
|
11700
|
-
}[];
|
|
11701
|
-
} | {
|
|
11702
|
-
op: "remove entity";
|
|
11703
|
-
addresses: ({
|
|
11704
|
-
account_or_address?: string | undefined;
|
|
11705
|
-
} | {
|
|
11706
|
-
mark_or_address: string;
|
|
11707
|
-
})[];
|
|
11708
|
-
} | {
|
|
11709
|
-
address: {
|
|
11710
|
-
account_or_address?: string | undefined;
|
|
11711
|
-
} | {
|
|
11712
|
-
mark_or_address: string;
|
|
11713
|
-
};
|
|
11714
|
-
index: number[];
|
|
11715
|
-
op: "remove permission";
|
|
11716
|
-
} | {
|
|
11717
|
-
from: {
|
|
11718
|
-
account_or_address?: string | undefined;
|
|
11719
|
-
} | {
|
|
11720
|
-
mark_or_address: string;
|
|
11721
|
-
};
|
|
11722
|
-
to: {
|
|
11723
|
-
account_or_address?: string | undefined;
|
|
11724
|
-
} | {
|
|
11725
|
-
mark_or_address: string;
|
|
11726
|
-
};
|
|
11727
|
-
op: "transfer permission";
|
|
11728
|
-
} | undefined;
|
|
11729
|
-
biz_permission?: {
|
|
11730
|
-
data: {
|
|
11731
|
-
name: string;
|
|
11732
|
-
index: number;
|
|
11733
|
-
}[];
|
|
11734
|
-
op: "add";
|
|
11735
|
-
} | {
|
|
11736
|
-
op: "remove";
|
|
11737
|
-
permissions: number[];
|
|
11738
|
-
} | undefined;
|
|
11739
|
-
};
|
|
11740
|
-
account?: string | null | undefined;
|
|
11741
|
-
witness?: {
|
|
11742
|
-
guards: string[];
|
|
11743
|
-
witness: {
|
|
11744
|
-
type: WOWOK.ValueType;
|
|
11745
|
-
guard: string;
|
|
11746
|
-
identifier: number;
|
|
11747
|
-
cmd: number[];
|
|
11748
|
-
cited: number;
|
|
11749
|
-
witness?: any;
|
|
11750
|
-
}[];
|
|
11751
|
-
} | null | undefined;
|
|
11752
|
-
}, {
|
|
11753
|
-
name: "permission";
|
|
11754
|
-
data: {
|
|
11755
|
-
object: string | {
|
|
11756
|
-
tags?: string[] | undefined;
|
|
11757
|
-
name?: string | undefined;
|
|
11758
|
-
onChain?: boolean | undefined;
|
|
11759
|
-
useAddressIfNameExist?: boolean | undefined;
|
|
11760
|
-
};
|
|
11761
|
-
builder: {
|
|
11762
|
-
account_or_address?: string | undefined;
|
|
11763
|
-
} | {
|
|
11764
|
-
mark_or_address: string;
|
|
11765
|
-
};
|
|
11766
|
-
admin?: {
|
|
11767
|
-
op: "set" | "add" | "remove";
|
|
11768
|
-
addresses: ({
|
|
11769
|
-
account_or_address?: string | undefined;
|
|
11770
|
-
} | {
|
|
11771
|
-
mark_or_address: string;
|
|
11772
|
-
})[];
|
|
11773
|
-
} | {
|
|
11774
|
-
op: "removeall";
|
|
11775
|
-
} | undefined;
|
|
11776
|
-
description?: string | undefined;
|
|
11777
|
-
permission?: {
|
|
11778
|
-
op: "add entity";
|
|
11779
|
-
entities: {
|
|
11780
|
-
address: {
|
|
11781
|
-
account_or_address?: string | undefined;
|
|
11782
|
-
} | {
|
|
11783
|
-
mark_or_address: string;
|
|
11784
|
-
};
|
|
11785
|
-
permissions: {
|
|
11786
|
-
guard?: string | undefined;
|
|
11787
|
-
index?: any;
|
|
11788
|
-
}[];
|
|
11789
|
-
}[];
|
|
11790
|
-
} | {
|
|
11791
|
-
op: "add permission";
|
|
11792
|
-
permissions: {
|
|
11793
|
-
entities: {
|
|
11794
|
-
address: {
|
|
11795
|
-
account_or_address?: string | undefined;
|
|
11796
|
-
} | {
|
|
11797
|
-
mark_or_address: string;
|
|
11798
|
-
};
|
|
11799
|
-
guard?: string | undefined;
|
|
11800
|
-
}[];
|
|
11801
|
-
index?: any;
|
|
11802
|
-
}[];
|
|
11803
|
-
} | {
|
|
11804
|
-
op: "remove entity";
|
|
11805
|
-
addresses: ({
|
|
11806
|
-
account_or_address?: string | undefined;
|
|
11807
|
-
} | {
|
|
11808
|
-
mark_or_address: string;
|
|
11809
|
-
})[];
|
|
11810
|
-
} | {
|
|
11811
|
-
address: {
|
|
11812
|
-
account_or_address?: string | undefined;
|
|
11813
|
-
} | {
|
|
11814
|
-
mark_or_address: string;
|
|
11815
|
-
};
|
|
11816
|
-
index: any[];
|
|
11817
|
-
op: "remove permission";
|
|
11818
|
-
} | {
|
|
11819
|
-
from: {
|
|
11820
|
-
account_or_address?: string | undefined;
|
|
11821
|
-
} | {
|
|
11822
|
-
mark_or_address: string;
|
|
11823
|
-
};
|
|
11824
|
-
to: {
|
|
11825
|
-
account_or_address?: string | undefined;
|
|
11826
|
-
} | {
|
|
11827
|
-
mark_or_address: string;
|
|
11828
|
-
};
|
|
11829
|
-
op: "transfer permission";
|
|
11830
|
-
} | undefined;
|
|
11831
|
-
biz_permission?: {
|
|
11832
|
-
data: {
|
|
11833
|
-
name: string;
|
|
11834
|
-
index?: any;
|
|
11835
|
-
}[];
|
|
11836
|
-
op: "add";
|
|
11837
|
-
} | {
|
|
11838
|
-
op: "remove";
|
|
11839
|
-
permissions: any[];
|
|
11840
|
-
} | undefined;
|
|
11841
|
-
};
|
|
11842
|
-
account?: string | null | undefined;
|
|
11843
|
-
witness?: {
|
|
11844
|
-
guards: string[];
|
|
11845
|
-
witness: {
|
|
11846
|
-
type: WOWOK.ValueType;
|
|
11847
|
-
guard: string;
|
|
11848
|
-
identifier: number;
|
|
11849
|
-
cmd: number[];
|
|
11850
|
-
cited: number;
|
|
11851
|
-
witness?: any;
|
|
11852
|
-
}[];
|
|
11853
|
-
} | null | undefined;
|
|
11854
|
-
}>, z.ZodObject<{
|
|
11855
|
-
data: z.ZodUnion<[z.ZodObject<{
|
|
11856
|
-
op: z.ZodLiteral<"removeall">;
|
|
11857
|
-
}, "strip", z.ZodTypeAny, {
|
|
11858
|
-
op: "removeall";
|
|
11859
|
-
}, {
|
|
11860
|
-
op: "removeall";
|
|
11861
|
-
}>, z.ZodObject<{
|
|
11862
|
-
op: z.ZodLiteral<"add">;
|
|
11863
|
-
data: z.ZodArray<z.ZodObject<{
|
|
11864
|
-
name: z.ZodString;
|
|
11865
|
-
address: z.ZodString;
|
|
11866
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11867
|
-
useAddressIfNameExist: z.ZodOptional<z.ZodBoolean>;
|
|
11868
|
-
}, "strip", z.ZodTypeAny, {
|
|
11869
|
-
name: string;
|
|
11870
|
-
address: string;
|
|
11871
|
-
tags?: string[] | undefined;
|
|
11872
|
-
useAddressIfNameExist?: boolean | undefined;
|
|
11873
|
-
}, {
|
|
11874
|
-
name: string;
|
|
11875
|
-
address: string;
|
|
11876
|
-
tags?: string[] | undefined;
|
|
11877
|
-
useAddressIfNameExist?: boolean | undefined;
|
|
11878
|
-
}>, "many">;
|
|
11879
|
-
}, "strip", z.ZodTypeAny, {
|
|
11880
|
-
data: {
|
|
11881
|
-
name: string;
|
|
11882
|
-
address: string;
|
|
11883
|
-
tags?: string[] | undefined;
|
|
11884
|
-
useAddressIfNameExist?: boolean | undefined;
|
|
11885
|
-
}[];
|
|
11886
|
-
op: "add";
|
|
11887
|
-
}, {
|
|
11888
|
-
data: {
|
|
11889
|
-
name: string;
|
|
11890
|
-
address: string;
|
|
11891
|
-
tags?: string[] | undefined;
|
|
11892
|
-
useAddressIfNameExist?: boolean | undefined;
|
|
11893
|
-
}[];
|
|
11894
|
-
op: "add";
|
|
11895
|
-
}>, z.ZodObject<{
|
|
11896
|
-
op: z.ZodLiteral<"remove">;
|
|
11897
|
-
data: z.ZodArray<z.ZodString, "many">;
|
|
11898
|
-
}, "strip", z.ZodTypeAny, {
|
|
11899
|
-
data: string[];
|
|
11900
|
-
op: "remove";
|
|
11901
|
-
}, {
|
|
11902
|
-
data: string[];
|
|
11903
|
-
op: "remove";
|
|
11904
|
-
}>]>;
|
|
11905
|
-
}, "strip", z.ZodTypeAny, {
|
|
11906
|
-
data: {
|
|
11907
|
-
op: "removeall";
|
|
11908
|
-
} | {
|
|
11909
|
-
data: {
|
|
11910
|
-
name: string;
|
|
11911
|
-
address: string;
|
|
11912
|
-
tags?: string[] | undefined;
|
|
11913
|
-
useAddressIfNameExist?: boolean | undefined;
|
|
11914
|
-
}[];
|
|
11915
|
-
op: "add";
|
|
11916
|
-
} | {
|
|
11917
|
-
data: string[];
|
|
11918
|
-
op: "remove";
|
|
11919
|
-
};
|
|
11920
|
-
}, {
|
|
11921
|
-
data: {
|
|
11922
|
-
op: "removeall";
|
|
11923
|
-
} | {
|
|
11924
|
-
data: {
|
|
11925
|
-
name: string;
|
|
11926
|
-
address: string;
|
|
11927
|
-
tags?: string[] | undefined;
|
|
11928
|
-
useAddressIfNameExist?: boolean | undefined;
|
|
11929
|
-
}[];
|
|
11930
|
-
op: "add";
|
|
11931
|
-
} | {
|
|
11932
|
-
data: string[];
|
|
11933
|
-
op: "remove";
|
|
11934
|
-
};
|
|
11935
|
-
}>]>;
|
|
11936
|
-
}, "strip", z.ZodTypeAny, {
|
|
11937
|
-
call: {
|
|
11938
|
-
data: {
|
|
11939
|
-
op: "removeall";
|
|
11940
|
-
} | {
|
|
11941
|
-
data: {
|
|
11942
|
-
name: string;
|
|
11943
|
-
address: string;
|
|
11944
|
-
tags?: string[] | undefined;
|
|
11945
|
-
useAddressIfNameExist?: boolean | undefined;
|
|
11946
|
-
}[];
|
|
11947
|
-
op: "add";
|
|
11948
|
-
} | {
|
|
11949
|
-
data: string[];
|
|
11950
|
-
op: "remove";
|
|
11951
|
-
};
|
|
11952
|
-
} | {
|
|
11953
|
-
name: "permission";
|
|
11954
|
-
data: {
|
|
11955
|
-
object: string | {
|
|
11956
|
-
tags?: string[] | undefined;
|
|
11957
|
-
name?: string | undefined;
|
|
11958
|
-
onChain?: boolean | undefined;
|
|
11959
|
-
useAddressIfNameExist?: boolean | undefined;
|
|
11960
|
-
};
|
|
11961
|
-
builder: {
|
|
11962
|
-
account_or_address?: string | undefined;
|
|
11963
|
-
} | {
|
|
11964
|
-
mark_or_address: string;
|
|
11965
|
-
};
|
|
11966
|
-
admin?: {
|
|
11967
|
-
op: "set" | "add" | "remove";
|
|
11968
|
-
addresses: ({
|
|
11969
|
-
account_or_address?: string | undefined;
|
|
11970
|
-
} | {
|
|
11971
|
-
mark_or_address: string;
|
|
11972
|
-
})[];
|
|
11973
|
-
} | {
|
|
11974
|
-
op: "removeall";
|
|
11975
|
-
} | undefined;
|
|
11976
|
-
description?: string | undefined;
|
|
11977
|
-
permission?: {
|
|
11978
|
-
op: "add entity";
|
|
11979
|
-
entities: {
|
|
11980
|
-
address: {
|
|
11981
|
-
account_or_address?: string | undefined;
|
|
11982
|
-
} | {
|
|
11983
|
-
mark_or_address: string;
|
|
11984
|
-
};
|
|
11985
|
-
permissions: {
|
|
11986
|
-
index: number;
|
|
11987
|
-
guard?: string | undefined;
|
|
11988
|
-
}[];
|
|
11989
|
-
}[];
|
|
11990
|
-
} | {
|
|
11991
|
-
op: "add permission";
|
|
11992
|
-
permissions: {
|
|
11993
|
-
index: number;
|
|
11994
|
-
entities: {
|
|
11995
|
-
address: {
|
|
11996
|
-
account_or_address?: string | undefined;
|
|
11997
|
-
} | {
|
|
11998
|
-
mark_or_address: string;
|
|
11999
|
-
};
|
|
12000
|
-
guard?: string | undefined;
|
|
12001
|
-
}[];
|
|
12002
|
-
}[];
|
|
12003
|
-
} | {
|
|
12004
|
-
op: "remove entity";
|
|
12005
|
-
addresses: ({
|
|
12006
|
-
account_or_address?: string | undefined;
|
|
12007
|
-
} | {
|
|
12008
|
-
mark_or_address: string;
|
|
12009
|
-
})[];
|
|
12010
|
-
} | {
|
|
12011
|
-
address: {
|
|
12012
|
-
account_or_address?: string | undefined;
|
|
12013
|
-
} | {
|
|
12014
|
-
mark_or_address: string;
|
|
12015
|
-
};
|
|
12016
|
-
index: number[];
|
|
12017
|
-
op: "remove permission";
|
|
12018
|
-
} | {
|
|
12019
|
-
from: {
|
|
12020
|
-
account_or_address?: string | undefined;
|
|
12021
|
-
} | {
|
|
12022
|
-
mark_or_address: string;
|
|
12023
|
-
};
|
|
12024
|
-
to: {
|
|
12025
|
-
account_or_address?: string | undefined;
|
|
12026
|
-
} | {
|
|
12027
|
-
mark_or_address: string;
|
|
12028
|
-
};
|
|
12029
|
-
op: "transfer permission";
|
|
12030
|
-
} | undefined;
|
|
12031
|
-
biz_permission?: {
|
|
12032
|
-
data: {
|
|
12033
|
-
name: string;
|
|
12034
|
-
index: number;
|
|
12035
|
-
}[];
|
|
12036
|
-
op: "add";
|
|
12037
|
-
} | {
|
|
12038
|
-
op: "remove";
|
|
12039
|
-
permissions: number[];
|
|
12040
|
-
} | undefined;
|
|
12041
|
-
};
|
|
12042
|
-
account?: string | null | undefined;
|
|
12043
|
-
witness?: {
|
|
12044
|
-
guards: string[];
|
|
12045
|
-
witness: {
|
|
12046
|
-
type: WOWOK.ValueType;
|
|
12047
|
-
guard: string;
|
|
12048
|
-
identifier: number;
|
|
12049
|
-
cmd: number[];
|
|
12050
|
-
cited: number;
|
|
12051
|
-
witness?: any;
|
|
12052
|
-
}[];
|
|
12053
|
-
} | null | undefined;
|
|
12054
|
-
};
|
|
12055
|
-
}, {
|
|
12056
|
-
call: {
|
|
12057
|
-
data: {
|
|
12058
|
-
op: "removeall";
|
|
12059
|
-
} | {
|
|
12060
|
-
data: {
|
|
12061
|
-
name: string;
|
|
12062
|
-
address: string;
|
|
12063
|
-
tags?: string[] | undefined;
|
|
12064
|
-
useAddressIfNameExist?: boolean | undefined;
|
|
12065
|
-
}[];
|
|
12066
|
-
op: "add";
|
|
12067
|
-
} | {
|
|
12068
|
-
data: string[];
|
|
12069
|
-
op: "remove";
|
|
12070
|
-
};
|
|
12071
|
-
} | {
|
|
12072
|
-
name: "permission";
|
|
12073
|
-
data: {
|
|
12074
|
-
object: string | {
|
|
12075
|
-
tags?: string[] | undefined;
|
|
12076
|
-
name?: string | undefined;
|
|
12077
|
-
onChain?: boolean | undefined;
|
|
12078
|
-
useAddressIfNameExist?: boolean | undefined;
|
|
12079
|
-
};
|
|
12080
|
-
builder: {
|
|
12081
|
-
account_or_address?: string | undefined;
|
|
12082
|
-
} | {
|
|
12083
|
-
mark_or_address: string;
|
|
12084
|
-
};
|
|
12085
|
-
admin?: {
|
|
12086
|
-
op: "set" | "add" | "remove";
|
|
12087
|
-
addresses: ({
|
|
12088
|
-
account_or_address?: string | undefined;
|
|
12089
|
-
} | {
|
|
12090
|
-
mark_or_address: string;
|
|
12091
|
-
})[];
|
|
12092
|
-
} | {
|
|
12093
|
-
op: "removeall";
|
|
12094
|
-
} | undefined;
|
|
12095
|
-
description?: string | undefined;
|
|
12096
|
-
permission?: {
|
|
12097
|
-
op: "add entity";
|
|
12098
|
-
entities: {
|
|
12099
|
-
address: {
|
|
12100
|
-
account_or_address?: string | undefined;
|
|
12101
|
-
} | {
|
|
12102
|
-
mark_or_address: string;
|
|
12103
|
-
};
|
|
12104
|
-
permissions: {
|
|
12105
|
-
guard?: string | undefined;
|
|
12106
|
-
index?: any;
|
|
12107
|
-
}[];
|
|
12108
|
-
}[];
|
|
12109
|
-
} | {
|
|
12110
|
-
op: "add permission";
|
|
12111
|
-
permissions: {
|
|
12112
|
-
entities: {
|
|
12113
|
-
address: {
|
|
12114
|
-
account_or_address?: string | undefined;
|
|
12115
|
-
} | {
|
|
12116
|
-
mark_or_address: string;
|
|
12117
|
-
};
|
|
12118
|
-
guard?: string | undefined;
|
|
12119
|
-
}[];
|
|
12120
|
-
index?: any;
|
|
12121
|
-
}[];
|
|
12122
|
-
} | {
|
|
12123
|
-
op: "remove entity";
|
|
12124
|
-
addresses: ({
|
|
12125
|
-
account_or_address?: string | undefined;
|
|
12126
|
-
} | {
|
|
12127
|
-
mark_or_address: string;
|
|
12128
|
-
})[];
|
|
12129
|
-
} | {
|
|
12130
|
-
address: {
|
|
12131
|
-
account_or_address?: string | undefined;
|
|
12132
|
-
} | {
|
|
12133
|
-
mark_or_address: string;
|
|
12134
|
-
};
|
|
12135
|
-
index: any[];
|
|
12136
|
-
op: "remove permission";
|
|
12137
|
-
} | {
|
|
12138
|
-
from: {
|
|
12139
|
-
account_or_address?: string | undefined;
|
|
12140
|
-
} | {
|
|
12141
|
-
mark_or_address: string;
|
|
12142
|
-
};
|
|
12143
|
-
to: {
|
|
12144
|
-
account_or_address?: string | undefined;
|
|
12145
|
-
} | {
|
|
12146
|
-
mark_or_address: string;
|
|
12147
|
-
};
|
|
12148
|
-
op: "transfer permission";
|
|
12149
|
-
} | undefined;
|
|
12150
|
-
biz_permission?: {
|
|
12151
|
-
data: {
|
|
12152
|
-
name: string;
|
|
12153
|
-
index?: any;
|
|
12154
|
-
}[];
|
|
12155
|
-
op: "add";
|
|
12156
|
-
} | {
|
|
12157
|
-
op: "remove";
|
|
12158
|
-
permissions: any[];
|
|
12159
|
-
} | undefined;
|
|
12160
|
-
};
|
|
12161
|
-
account?: string | null | undefined;
|
|
12162
|
-
witness?: {
|
|
12163
|
-
guards: string[];
|
|
12164
|
-
witness: {
|
|
12165
|
-
type: WOWOK.ValueType;
|
|
12166
|
-
guard: string;
|
|
12167
|
-
identifier: number;
|
|
12168
|
-
cmd: number[];
|
|
12169
|
-
cited: number;
|
|
12170
|
-
witness?: any;
|
|
12171
|
-
}[];
|
|
12172
|
-
} | null | undefined;
|
|
12173
|
-
};
|
|
12174
|
-
}>;
|
|
12175
11026
|
//# sourceMappingURL=call.d.ts.map
|