wowok_agent
Version:
Making It Easy for AI Agents to Communicate, Collaborate, Trade, and Trust.
1,506 lines • 78.8 kB
TypeScript
import { z } from "zod";
export declare const DisputeSchema: z.ZodObject<{
order: z.ZodEffects<z.ZodString, string, string>;
description: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
proposition: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
fee: z.ZodUnion<[z.ZodObject<{
balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
}, "strip", z.ZodTypeAny, {
balance: string | number;
}, {
balance: string | number;
}>, z.ZodObject<{
coin: z.ZodString;
}, "strip", z.ZodTypeAny, {
coin: string;
}, {
coin: string;
}>]>;
namedArb: z.ZodOptional<z.ZodObject<{
name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
onChain: z.ZodOptional<z.ZodBoolean>;
replaceExistName: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
}, {
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
}>>;
}, "strict", z.ZodTypeAny, {
order: string;
proposition: string[];
fee: {
balance: string | number;
} | {
coin: string;
};
description?: string | undefined;
namedArb?: {
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
} | undefined;
}, {
order: string;
proposition: string[];
fee: {
balance: string | number;
} | {
coin: string;
};
description?: string | undefined;
namedArb?: {
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
} | undefined;
}>;
export declare const ConfirmSchema: z.ZodObject<{
arb: z.ZodEffects<z.ZodString, string, string>;
voting_deadline: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
}, "strict", z.ZodTypeAny, {
voting_deadline: number | null;
arb: string;
}, {
voting_deadline: number | null;
arb: string;
}>;
export declare const VotingDeadlineChangeSchema: z.ZodObject<{
arb: z.ZodEffects<z.ZodString, string, string>;
voting_deadline: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
}, "strict", z.ZodTypeAny, {
voting_deadline: number | null;
arb: string;
}, {
voting_deadline: number | null;
arb: string;
}>;
export declare const VoteSchema: z.ZodObject<{
arb: z.ZodEffects<z.ZodString, string, string>;
votes: z.ZodArray<z.ZodNumber, "many">;
voting_guard: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
}, "strict", z.ZodTypeAny, {
votes: number[];
arb: string;
voting_guard?: string | undefined;
}, {
votes: number[];
arb: string;
voting_guard?: string | undefined;
}>;
export declare const FeedbackSchema: z.ZodObject<{
arb: z.ZodEffects<z.ZodString, string, string>;
feedback: z.ZodEffects<z.ZodString, string, string>;
}, "strict", z.ZodTypeAny, {
feedback: string;
arb: string;
}, {
feedback: string;
arb: string;
}>;
export declare const ArbitrationActionSchema: z.ZodObject<{
arb: z.ZodEffects<z.ZodString, string, string>;
feedback: z.ZodEffects<z.ZodString, string, string>;
indemnity: z.ZodNumber;
}, "strict", z.ZodTypeAny, {
feedback: string;
indemnity: number;
arb: string;
}, {
feedback: string;
indemnity: number;
arb: string;
}>;
export declare const ResetSchema: z.ZodObject<{
arb: z.ZodEffects<z.ZodString, string, string>;
feedback: z.ZodEffects<z.ZodString, string, string>;
}, "strict", z.ZodTypeAny, {
feedback: string;
arb: string;
}, {
feedback: string;
arb: string;
}>;
export declare const ArbWithdrawSchema: z.ZodObject<{
arb: z.ZodEffects<z.ZodString, string, string>;
}, "strict", z.ZodTypeAny, {
arb: string;
}, {
arb: string;
}>;
export declare const FeesTransferToSchema: z.ZodUnion<[z.ZodObject<{
allocation: z.ZodEffects<z.ZodString, string, string>;
}, "strict", z.ZodTypeAny, {
allocation: string;
}, {
allocation: string;
}>, z.ZodObject<{
treasury: z.ZodEffects<z.ZodString, string, string>;
}, "strict", z.ZodTypeAny, {
treasury: string;
}, {
treasury: string;
}>]>;
export declare const FeesTransferSchema: z.ZodObject<{
to: z.ZodUnion<[z.ZodObject<{
allocation: z.ZodEffects<z.ZodString, string, string>;
}, "strict", z.ZodTypeAny, {
allocation: string;
}, {
allocation: string;
}>, z.ZodObject<{
treasury: z.ZodEffects<z.ZodString, string, string>;
}, "strict", z.ZodTypeAny, {
treasury: string;
}, {
treasury: string;
}>]>;
payment_remark: z.ZodEffects<z.ZodString, string, string>;
payment_index: z.ZodNumber;
newPayment: z.ZodOptional<z.ZodObject<{
name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
onChain: z.ZodOptional<z.ZodBoolean>;
replaceExistName: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
}, {
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
}>>;
}, "strict", z.ZodTypeAny, {
to: {
allocation: string;
} | {
treasury: string;
};
payment_remark: string;
payment_index: number;
newPayment?: {
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
} | undefined;
}, {
to: {
allocation: string;
} | {
treasury: string;
};
payment_remark: string;
payment_index: number;
newPayment?: {
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
} | undefined;
}>;
export declare const VotingGuardActionSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
op: z.ZodEnum<["add", "set"]>;
guards: z.ZodArray<z.ZodObject<{
guard: z.ZodString;
vote_weight: z.ZodUnion<[z.ZodObject<{
GuardIdentifier: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
GuardIdentifier: number;
}, {
GuardIdentifier: number;
}>, z.ZodObject<{
FixedValue: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
FixedValue: number;
}, {
FixedValue: number;
}>]>;
}, "strip", z.ZodTypeAny, {
guard: string;
vote_weight: {
GuardIdentifier: number;
} | {
FixedValue: number;
};
}, {
guard: string;
vote_weight: {
GuardIdentifier: number;
} | {
FixedValue: number;
};
}>, "many">;
}, "strict", z.ZodTypeAny, {
op: "set" | "add";
guards: {
guard: string;
vote_weight: {
GuardIdentifier: number;
} | {
FixedValue: number;
};
}[];
}, {
op: "set" | "add";
guards: {
guard: string;
vote_weight: {
GuardIdentifier: number;
} | {
FixedValue: number;
};
}[];
}>, z.ZodObject<{
op: z.ZodLiteral<"remove">;
guards: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
}, "strict", z.ZodTypeAny, {
op: "remove";
guards: string[];
}, {
op: "remove";
guards: string[];
}>, z.ZodObject<{
op: z.ZodLiteral<"clear">;
}, "strict", z.ZodTypeAny, {
op: "clear";
}, {
op: "clear";
}>]>;
export declare const CallArbitration_DataSchema: z.ZodObject<{
object: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
onChain: z.ZodOptional<z.ZodBoolean>;
replaceExistName: z.ZodOptional<z.ZodBoolean>;
} & {
permission: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
onChain: z.ZodOptional<z.ZodBoolean>;
replaceExistName: z.ZodOptional<z.ZodBoolean>;
} & {
description: z.ZodOptional<z.ZodString>;
}, "strict", z.ZodTypeAny, {
name?: string | undefined;
description?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
}, {
name?: string | undefined;
description?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
}>]>>;
} & {
type_parameter: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
}, "strict", z.ZodTypeAny, {
type_parameter: string;
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
permission?: string | {
name?: string | undefined;
description?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
} | undefined;
}, {
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
type_parameter?: string | undefined;
permission?: string | {
name?: string | undefined;
description?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
} | undefined;
}>]>;
dispute: z.ZodOptional<z.ZodObject<{
order: z.ZodEffects<z.ZodString, string, string>;
description: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
proposition: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
fee: z.ZodUnion<[z.ZodObject<{
balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
}, "strip", z.ZodTypeAny, {
balance: string | number;
}, {
balance: string | number;
}>, z.ZodObject<{
coin: z.ZodString;
}, "strip", z.ZodTypeAny, {
coin: string;
}, {
coin: string;
}>]>;
namedArb: z.ZodOptional<z.ZodObject<{
name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
onChain: z.ZodOptional<z.ZodBoolean>;
replaceExistName: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
}, {
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
}>>;
}, "strict", z.ZodTypeAny, {
order: string;
proposition: string[];
fee: {
balance: string | number;
} | {
coin: string;
};
description?: string | undefined;
namedArb?: {
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
} | undefined;
}, {
order: string;
proposition: string[];
fee: {
balance: string | number;
} | {
coin: string;
};
description?: string | undefined;
namedArb?: {
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
} | undefined;
}>>;
description: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
location: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
fee: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
pause: z.ZodOptional<z.ZodBoolean>;
confirm: z.ZodOptional<z.ZodObject<{
arb: z.ZodEffects<z.ZodString, string, string>;
voting_deadline: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
}, "strict", z.ZodTypeAny, {
voting_deadline: number | null;
arb: string;
}, {
voting_deadline: number | null;
arb: string;
}>>;
voting_deadline_change: z.ZodOptional<z.ZodObject<{
arb: z.ZodEffects<z.ZodString, string, string>;
voting_deadline: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
}, "strict", z.ZodTypeAny, {
voting_deadline: number | null;
arb: string;
}, {
voting_deadline: number | null;
arb: string;
}>>;
vote: z.ZodOptional<z.ZodObject<{
arb: z.ZodEffects<z.ZodString, string, string>;
votes: z.ZodArray<z.ZodNumber, "many">;
voting_guard: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
}, "strict", z.ZodTypeAny, {
votes: number[];
arb: string;
voting_guard?: string | undefined;
}, {
votes: number[];
arb: string;
voting_guard?: string | undefined;
}>>;
feedback: z.ZodOptional<z.ZodObject<{
arb: z.ZodEffects<z.ZodString, string, string>;
feedback: z.ZodEffects<z.ZodString, string, string>;
}, "strict", z.ZodTypeAny, {
feedback: string;
arb: string;
}, {
feedback: string;
arb: string;
}>>;
arbitration: z.ZodOptional<z.ZodObject<{
arb: z.ZodEffects<z.ZodString, string, string>;
feedback: z.ZodEffects<z.ZodString, string, string>;
indemnity: z.ZodNumber;
}, "strict", z.ZodTypeAny, {
feedback: string;
indemnity: number;
arb: string;
}, {
feedback: string;
indemnity: number;
arb: string;
}>>;
reset: z.ZodOptional<z.ZodObject<{
arb: z.ZodEffects<z.ZodString, string, string>;
feedback: z.ZodEffects<z.ZodString, string, string>;
}, "strict", z.ZodTypeAny, {
feedback: string;
arb: string;
}, {
feedback: string;
arb: string;
}>>;
arb_withdraw: z.ZodOptional<z.ZodObject<{
arb: z.ZodEffects<z.ZodString, string, string>;
}, "strict", z.ZodTypeAny, {
arb: string;
}, {
arb: string;
}>>;
fees_transfer: z.ZodOptional<z.ZodObject<{
to: z.ZodUnion<[z.ZodObject<{
allocation: z.ZodEffects<z.ZodString, string, string>;
}, "strict", z.ZodTypeAny, {
allocation: string;
}, {
allocation: string;
}>, z.ZodObject<{
treasury: z.ZodEffects<z.ZodString, string, string>;
}, "strict", z.ZodTypeAny, {
treasury: string;
}, {
treasury: string;
}>]>;
payment_remark: z.ZodEffects<z.ZodString, string, string>;
payment_index: z.ZodNumber;
newPayment: z.ZodOptional<z.ZodObject<{
name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
onChain: z.ZodOptional<z.ZodBoolean>;
replaceExistName: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
}, {
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
}>>;
}, "strict", z.ZodTypeAny, {
to: {
allocation: string;
} | {
treasury: string;
};
payment_remark: string;
payment_index: number;
newPayment?: {
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
} | undefined;
}, {
to: {
allocation: string;
} | {
treasury: string;
};
payment_remark: string;
payment_index: number;
newPayment?: {
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
} | undefined;
}>>;
usage_guard: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
voting_guard: z.ZodOptional<z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
op: z.ZodEnum<["add", "set"]>;
guards: z.ZodArray<z.ZodObject<{
guard: z.ZodString;
vote_weight: z.ZodUnion<[z.ZodObject<{
GuardIdentifier: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
GuardIdentifier: number;
}, {
GuardIdentifier: number;
}>, z.ZodObject<{
FixedValue: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
FixedValue: number;
}, {
FixedValue: number;
}>]>;
}, "strip", z.ZodTypeAny, {
guard: string;
vote_weight: {
GuardIdentifier: number;
} | {
FixedValue: number;
};
}, {
guard: string;
vote_weight: {
GuardIdentifier: number;
} | {
FixedValue: number;
};
}>, "many">;
}, "strict", z.ZodTypeAny, {
op: "set" | "add";
guards: {
guard: string;
vote_weight: {
GuardIdentifier: number;
} | {
FixedValue: number;
};
}[];
}, {
op: "set" | "add";
guards: {
guard: string;
vote_weight: {
GuardIdentifier: number;
} | {
FixedValue: number;
};
}[];
}>, z.ZodObject<{
op: z.ZodLiteral<"remove">;
guards: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
}, "strict", z.ZodTypeAny, {
op: "remove";
guards: string[];
}, {
op: "remove";
guards: string[];
}>, z.ZodObject<{
op: z.ZodLiteral<"clear">;
}, "strict", z.ZodTypeAny, {
op: "clear";
}, {
op: "clear";
}>]>>;
owner_receive: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
id: z.ZodString;
type: z.ZodString;
content_raw: z.ZodOptional<z.ZodAny>;
}, "strict", z.ZodTypeAny, {
type: string;
id: string;
content_raw?: any;
}, {
type: string;
id: string;
content_raw?: any;
}>, "many">, z.ZodObject<{
balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
token_type: z.ZodEffects<z.ZodString, string, string>;
received: z.ZodArray<z.ZodObject<{
id: z.ZodString;
balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
payment: z.ZodString;
}, "strict", z.ZodTypeAny, {
id: string;
balance: string | number;
payment: string;
}, {
id: string;
balance: string | number;
payment: string;
}>, "many">;
}, "strict", z.ZodTypeAny, {
received: {
id: string;
balance: string | number;
payment: string;
}[];
balance: string | number;
token_type: string;
}, {
received: {
id: string;
balance: string | number;
payment: string;
}[];
balance: string | number;
token_type: string;
}>, z.ZodLiteral<"recently">]>>;
um: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
}, "strict", z.ZodTypeAny, {
object: string | {
type_parameter: string;
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
permission?: string | {
name?: string | undefined;
description?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
} | undefined;
};
description?: string | undefined;
reset?: {
feedback: string;
arb: string;
} | undefined;
location?: string | undefined;
owner_receive?: {
received: {
id: string;
balance: string | number;
payment: string;
}[];
balance: string | number;
token_type: string;
} | "recently" | {
type: string;
id: string;
content_raw?: any;
}[] | undefined;
um?: string | null | undefined;
dispute?: {
order: string;
proposition: string[];
fee: {
balance: string | number;
} | {
coin: string;
};
description?: string | undefined;
namedArb?: {
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
} | undefined;
} | undefined;
arbitration?: {
feedback: string;
indemnity: number;
arb: string;
} | undefined;
fee?: string | number | undefined;
feedback?: {
feedback: string;
arb: string;
} | undefined;
voting_guard?: {
op: "set" | "add";
guards: {
guard: string;
vote_weight: {
GuardIdentifier: number;
} | {
FixedValue: number;
};
}[];
} | {
op: "remove";
guards: string[];
} | {
op: "clear";
} | undefined;
usage_guard?: string | null | undefined;
pause?: boolean | undefined;
confirm?: {
voting_deadline: number | null;
arb: string;
} | undefined;
voting_deadline_change?: {
voting_deadline: number | null;
arb: string;
} | undefined;
vote?: {
votes: number[];
arb: string;
voting_guard?: string | undefined;
} | undefined;
arb_withdraw?: {
arb: string;
} | undefined;
fees_transfer?: {
to: {
allocation: string;
} | {
treasury: string;
};
payment_remark: string;
payment_index: number;
newPayment?: {
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
} | undefined;
} | undefined;
}, {
object: string | {
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
type_parameter?: string | undefined;
permission?: string | {
name?: string | undefined;
description?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
} | undefined;
};
description?: string | undefined;
reset?: {
feedback: string;
arb: string;
} | undefined;
location?: string | undefined;
owner_receive?: {
received: {
id: string;
balance: string | number;
payment: string;
}[];
balance: string | number;
token_type: string;
} | "recently" | {
type: string;
id: string;
content_raw?: any;
}[] | undefined;
um?: string | null | undefined;
dispute?: {
order: string;
proposition: string[];
fee: {
balance: string | number;
} | {
coin: string;
};
description?: string | undefined;
namedArb?: {
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
} | undefined;
} | undefined;
arbitration?: {
feedback: string;
indemnity: number;
arb: string;
} | undefined;
fee?: string | number | undefined;
feedback?: {
feedback: string;
arb: string;
} | undefined;
voting_guard?: {
op: "set" | "add";
guards: {
guard: string;
vote_weight: {
GuardIdentifier: number;
} | {
FixedValue: number;
};
}[];
} | {
op: "remove";
guards: string[];
} | {
op: "clear";
} | undefined;
usage_guard?: string | null | undefined;
pause?: boolean | undefined;
confirm?: {
voting_deadline: number | null;
arb: string;
} | undefined;
voting_deadline_change?: {
voting_deadline: number | null;
arb: string;
} | undefined;
vote?: {
votes: number[];
arb: string;
voting_guard?: string | undefined;
} | undefined;
arb_withdraw?: {
arb: string;
} | undefined;
fees_transfer?: {
to: {
allocation: string;
} | {
treasury: string;
};
payment_remark: string;
payment_index: number;
newPayment?: {
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
} | undefined;
} | undefined;
}>;
export declare const CallArbitration_InputSchema: z.ZodObject<{
data: z.ZodObject<{
object: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
onChain: z.ZodOptional<z.ZodBoolean>;
replaceExistName: z.ZodOptional<z.ZodBoolean>;
} & {
permission: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
onChain: z.ZodOptional<z.ZodBoolean>;
replaceExistName: z.ZodOptional<z.ZodBoolean>;
} & {
description: z.ZodOptional<z.ZodString>;
}, "strict", z.ZodTypeAny, {
name?: string | undefined;
description?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
}, {
name?: string | undefined;
description?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
}>]>>;
} & {
type_parameter: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
}, "strict", z.ZodTypeAny, {
type_parameter: string;
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
permission?: string | {
name?: string | undefined;
description?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
} | undefined;
}, {
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
type_parameter?: string | undefined;
permission?: string | {
name?: string | undefined;
description?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
} | undefined;
}>]>;
dispute: z.ZodOptional<z.ZodObject<{
order: z.ZodEffects<z.ZodString, string, string>;
description: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
proposition: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
fee: z.ZodUnion<[z.ZodObject<{
balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
}, "strip", z.ZodTypeAny, {
balance: string | number;
}, {
balance: string | number;
}>, z.ZodObject<{
coin: z.ZodString;
}, "strip", z.ZodTypeAny, {
coin: string;
}, {
coin: string;
}>]>;
namedArb: z.ZodOptional<z.ZodObject<{
name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
onChain: z.ZodOptional<z.ZodBoolean>;
replaceExistName: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
}, {
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
}>>;
}, "strict", z.ZodTypeAny, {
order: string;
proposition: string[];
fee: {
balance: string | number;
} | {
coin: string;
};
description?: string | undefined;
namedArb?: {
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
} | undefined;
}, {
order: string;
proposition: string[];
fee: {
balance: string | number;
} | {
coin: string;
};
description?: string | undefined;
namedArb?: {
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
} | undefined;
}>>;
description: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
location: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
fee: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
pause: z.ZodOptional<z.ZodBoolean>;
confirm: z.ZodOptional<z.ZodObject<{
arb: z.ZodEffects<z.ZodString, string, string>;
voting_deadline: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
}, "strict", z.ZodTypeAny, {
voting_deadline: number | null;
arb: string;
}, {
voting_deadline: number | null;
arb: string;
}>>;
voting_deadline_change: z.ZodOptional<z.ZodObject<{
arb: z.ZodEffects<z.ZodString, string, string>;
voting_deadline: z.ZodUnion<[z.ZodNumber, z.ZodNull]>;
}, "strict", z.ZodTypeAny, {
voting_deadline: number | null;
arb: string;
}, {
voting_deadline: number | null;
arb: string;
}>>;
vote: z.ZodOptional<z.ZodObject<{
arb: z.ZodEffects<z.ZodString, string, string>;
votes: z.ZodArray<z.ZodNumber, "many">;
voting_guard: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
}, "strict", z.ZodTypeAny, {
votes: number[];
arb: string;
voting_guard?: string | undefined;
}, {
votes: number[];
arb: string;
voting_guard?: string | undefined;
}>>;
feedback: z.ZodOptional<z.ZodObject<{
arb: z.ZodEffects<z.ZodString, string, string>;
feedback: z.ZodEffects<z.ZodString, string, string>;
}, "strict", z.ZodTypeAny, {
feedback: string;
arb: string;
}, {
feedback: string;
arb: string;
}>>;
arbitration: z.ZodOptional<z.ZodObject<{
arb: z.ZodEffects<z.ZodString, string, string>;
feedback: z.ZodEffects<z.ZodString, string, string>;
indemnity: z.ZodNumber;
}, "strict", z.ZodTypeAny, {
feedback: string;
indemnity: number;
arb: string;
}, {
feedback: string;
indemnity: number;
arb: string;
}>>;
reset: z.ZodOptional<z.ZodObject<{
arb: z.ZodEffects<z.ZodString, string, string>;
feedback: z.ZodEffects<z.ZodString, string, string>;
}, "strict", z.ZodTypeAny, {
feedback: string;
arb: string;
}, {
feedback: string;
arb: string;
}>>;
arb_withdraw: z.ZodOptional<z.ZodObject<{
arb: z.ZodEffects<z.ZodString, string, string>;
}, "strict", z.ZodTypeAny, {
arb: string;
}, {
arb: string;
}>>;
fees_transfer: z.ZodOptional<z.ZodObject<{
to: z.ZodUnion<[z.ZodObject<{
allocation: z.ZodEffects<z.ZodString, string, string>;
}, "strict", z.ZodTypeAny, {
allocation: string;
}, {
allocation: string;
}>, z.ZodObject<{
treasury: z.ZodEffects<z.ZodString, string, string>;
}, "strict", z.ZodTypeAny, {
treasury: string;
}, {
treasury: string;
}>]>;
payment_remark: z.ZodEffects<z.ZodString, string, string>;
payment_index: z.ZodNumber;
newPayment: z.ZodOptional<z.ZodObject<{
name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
onChain: z.ZodOptional<z.ZodBoolean>;
replaceExistName: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
}, {
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
}>>;
}, "strict", z.ZodTypeAny, {
to: {
allocation: string;
} | {
treasury: string;
};
payment_remark: string;
payment_index: number;
newPayment?: {
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
} | undefined;
}, {
to: {
allocation: string;
} | {
treasury: string;
};
payment_remark: string;
payment_index: number;
newPayment?: {
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
} | undefined;
}>>;
usage_guard: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
voting_guard: z.ZodOptional<z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
op: z.ZodEnum<["add", "set"]>;
guards: z.ZodArray<z.ZodObject<{
guard: z.ZodString;
vote_weight: z.ZodUnion<[z.ZodObject<{
GuardIdentifier: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
GuardIdentifier: number;
}, {
GuardIdentifier: number;
}>, z.ZodObject<{
FixedValue: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
FixedValue: number;
}, {
FixedValue: number;
}>]>;
}, "strip", z.ZodTypeAny, {
guard: string;
vote_weight: {
GuardIdentifier: number;
} | {
FixedValue: number;
};
}, {
guard: string;
vote_weight: {
GuardIdentifier: number;
} | {
FixedValue: number;
};
}>, "many">;
}, "strict", z.ZodTypeAny, {
op: "set" | "add";
guards: {
guard: string;
vote_weight: {
GuardIdentifier: number;
} | {
FixedValue: number;
};
}[];
}, {
op: "set" | "add";
guards: {
guard: string;
vote_weight: {
GuardIdentifier: number;
} | {
FixedValue: number;
};
}[];
}>, z.ZodObject<{
op: z.ZodLiteral<"remove">;
guards: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
}, "strict", z.ZodTypeAny, {
op: "remove";
guards: string[];
}, {
op: "remove";
guards: string[];
}>, z.ZodObject<{
op: z.ZodLiteral<"clear">;
}, "strict", z.ZodTypeAny, {
op: "clear";
}, {
op: "clear";
}>]>>;
owner_receive: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
id: z.ZodString;
type: z.ZodString;
content_raw: z.ZodOptional<z.ZodAny>;
}, "strict", z.ZodTypeAny, {
type: string;
id: string;
content_raw?: any;
}, {
type: string;
id: string;
content_raw?: any;
}>, "many">, z.ZodObject<{
balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
token_type: z.ZodEffects<z.ZodString, string, string>;
received: z.ZodArray<z.ZodObject<{
id: z.ZodString;
balance: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
payment: z.ZodString;
}, "strict", z.ZodTypeAny, {
id: string;
balance: string | number;
payment: string;
}, {
id: string;
balance: string | number;
payment: string;
}>, "many">;
}, "strict", z.ZodTypeAny, {
received: {
id: string;
balance: string | number;
payment: string;
}[];
balance: string | number;
token_type: string;
}, {
received: {
id: string;
balance: string | number;
payment: string;
}[];
balance: string | number;
token_type: string;
}>, z.ZodLiteral<"recently">]>>;
um: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodNull]>>;
}, "strict", z.ZodTypeAny, {
object: string | {
type_parameter: string;
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
permission?: string | {
name?: string | undefined;
description?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
} | undefined;
};
description?: string | undefined;
reset?: {
feedback: string;
arb: string;
} | undefined;
location?: string | undefined;
owner_receive?: {
received: {
id: string;
balance: string | number;
payment: string;
}[];
balance: string | number;
token_type: string;
} | "recently" | {
type: string;
id: string;
content_raw?: any;
}[] | undefined;
um?: string | null | undefined;
dispute?: {
order: string;
proposition: string[];
fee: {
balance: string | number;
} | {
coin: string;
};
description?: string | undefined;
namedArb?: {
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
} | undefined;
} | undefined;
arbitration?: {
feedback: string;
indemnity: number;
arb: string;
} | undefined;
fee?: string | number | undefined;
feedback?: {
feedback: string;
arb: string;
} | undefined;
voting_guard?: {
op: "set" | "add";
guards: {
guard: string;
vote_weight: {
GuardIdentifier: number;
} | {
FixedValue: number;
};
}[];
} | {
op: "remove";
guards: string[];
} | {
op: "clear";
} | undefined;
usage_guard?: string | null | undefined;
pause?: boolean | undefined;
confirm?: {
voting_deadline: number | null;
arb: string;
} | undefined;
voting_deadline_change?: {
voting_deadline: number | null;
arb: string;
} | undefined;
vote?: {
votes: number[];
arb: string;
voting_guard?: string | undefined;
} | undefined;
arb_withdraw?: {
arb: string;
} | undefined;
fees_transfer?: {
to: {
allocation: string;
} | {
treasury: string;
};
payment_remark: string;
payment_index: number;
newPayment?: {
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
} | undefined;
} | undefined;
}, {
object: string | {
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
type_parameter?: string | undefined;
permission?: string | {
name?: string | undefined;
description?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
} | undefined;
};
description?: string | undefined;
reset?: {
feedback: string;
arb: string;
} | undefined;
location?: string | undefined;
owner_receive?: {
received: {
id: string;
balance: string | number;
payment: string;
}[];
balance: string | number;
token_type: string;
} | "recently" | {
type: string;
id: string;
content_raw?: any;
}[] | undefined;
um?: string | null | undefined;
dispute?: {
order: string;
proposition: string[];
fee: {
balance: string | number;
} | {
coin: string;
};
description?: string | undefined;
namedArb?: {
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
} | undefined;
} | undefined;
arbitration?: {
feedback: string;
indemnity: number;
arb: string;
} | undefined;
fee?: string | number | undefined;
feedback?: {
feedback: string;
arb: string;
} | undefined;
voting_guard?: {
op: "set" | "add";
guards: {
guard: string;
vote_weight: {
GuardIdentifier: number;
} | {
FixedValue: number;
};
}[];
} | {
op: "remove";
guards: string[];
} | {
op: "clear";
} | undefined;
usage_guard?: string | null | undefined;
pause?: boolean | undefined;
confirm?: {
voting_deadline: number | null;
arb: string;
} | undefined;
voting_deadline_change?: {
voting_deadline: number | null;
arb: string;
} | undefined;
vote?: {
votes: number[];
arb: string;
voting_guard?: string | undefined;
} | undefined;
arb_withdraw?: {
arb: string;
} | undefined;
fees_transfer?: {
to: {
allocation: string;
} | {
treasury: string;
};
payment_remark: string;
payment_index: number;
newPayment?: {
name?: string | undefined;
replaceExistName?: boolean | undefined;
tags?: string[] | undefined;
onChain?: boolean | undefined;
} | undefined;
} | undefined;
}>;
env: z.ZodOptional<z.ZodObject<{
account: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
permission_guard: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
no_cache: z.ZodOptional<z.ZodBoolean>;
network: z.ZodOptional<z.ZodEnum<[import("wowok").ENTRYPOINT.Localnet, import("wowok").ENTRYPOINT.Testnet]>>;
referrer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
}, "strict", z.ZodTypeAny, {
account: string;
no_cache?: boolean | undefined;
network?: import("wowok").ENTRYPOINT | undefined;
permission_guard?: string[] | undefined;
referrer?: string | undefined;
}, {
no_cache?: boolean | undefined;
network?: import("wowok").ENTRYPOINT | undefined;
account?: string | undefined;
permission_guard?: string[] | undefined;
referrer?: string | undefined;
}>>;
submission: z.ZodOptional<z.ZodObject<{
type: z.ZodLiteral<"submission">;
guard: z.ZodArray<z.ZodObject<{
object: z.ZodEffects<z.ZodString, string, string>;
impack: z.ZodBoolean;
}, "strict", z.ZodTypeAny, {
object: string;
impack: boolean;
}, {
object: string;
impack: boolean;
}>, "many">;
submission: z.ZodArray<z.ZodObject<{
guard: z.ZodEffects<z.ZodString, string, string>;
submission: z.ZodArray<z.ZodObject<{
identifier: z.ZodNumber;
b_submission: z.ZodBoolean;
value_type: z.ZodUnion<[z.ZodLiteral<import("wowok").ValueType.Bool>, z.ZodLiteral<import("wowok").ValueType.Address>, z.ZodLiteral<import("wowok").ValueType.String>, z.ZodLiteral<import("wowok").ValueType.U8>, z.ZodLiteral<import("wowok").ValueType.U16>, z.ZodLiteral<import("wowok").ValueTy