@mysten/sui 2.27.1 → 2.29.0
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/CHANGELOG.md +32 -0
- package/dist/bcs/bcs.d.mts +6 -6
- package/dist/bcs/bcs.d.mts.map +1 -1
- package/dist/bcs/bcs.mjs +29 -2
- package/dist/bcs/bcs.mjs.map +1 -1
- package/dist/bcs/effects.mjs +2 -1
- package/dist/bcs/effects.mjs.map +1 -1
- package/dist/bcs/index.d.mts +102 -6
- package/dist/bcs/index.d.mts.map +1 -1
- package/dist/bcs/transactions.mjs +2 -1
- package/dist/bcs/transactions.mjs.map +1 -1
- package/dist/client/transaction-resolver.mjs +45 -9
- package/dist/client/transaction-resolver.mjs.map +1 -1
- package/dist/cryptography/signature.d.mts +14 -14
- package/dist/grpc/client.d.mts +1 -1
- package/dist/grpc/client.d.mts.map +1 -1
- package/dist/grpc/client.mjs +3 -5
- package/dist/grpc/client.mjs.map +1 -1
- package/dist/grpc/core.d.mts.map +1 -1
- package/dist/grpc/core.mjs +10 -10
- package/dist/grpc/core.mjs.map +1 -1
- package/dist/grpc/index.d.mts +4 -3
- package/dist/grpc/index.mjs +4 -2
- package/dist/grpc/proto/sui/forking/v1alpha/forking_service.client.d.mts +4 -4
- package/dist/grpc/proto/sui/rpc/v2/execution_status.d.mts +9 -1
- package/dist/grpc/proto/sui/rpc/v2/execution_status.d.mts.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/execution_status.mjs +8 -0
- package/dist/grpc/proto/sui/rpc/v2/execution_status.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/ledger_service.client.d.mts +4 -4
- package/dist/grpc/proto/sui/rpc/v2/move_package_service.client.d.mts +4 -4
- package/dist/grpc/proto/sui/rpc/v2/name_service.client.d.mts +4 -4
- package/dist/grpc/proto/sui/rpc/v2/signature_verification_service.client.d.mts +4 -4
- package/dist/grpc/proto/sui/rpc/v2/state_service.client.d.mts +4 -4
- package/dist/grpc/proto/sui/rpc/v2/subscription_service.client.d.mts +4 -4
- package/dist/grpc/proto/sui/rpc/v2/transaction.d.mts +50 -2
- package/dist/grpc/proto/sui/rpc/v2/transaction.d.mts.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/transaction.mjs +36 -1
- package/dist/grpc/proto/sui/rpc/v2/transaction.mjs.map +1 -1
- package/dist/grpc/proto/sui/rpc/v2/transaction_execution_service.client.d.mts +4 -4
- package/dist/grpc/proto/types.d.mts +2 -2
- package/dist/grpc/proto/types.mjs +2 -1
- package/dist/grpc/transport.d.mts +18 -0
- package/dist/grpc/transport.d.mts.map +1 -0
- package/dist/grpc/transport.mjs +97 -0
- package/dist/grpc/transport.mjs.map +1 -0
- package/dist/transactions/Transaction.d.mts +19 -7
- package/dist/transactions/Transaction.d.mts.map +1 -1
- package/dist/transactions/data/internal.d.mts +133 -109
- package/dist/transactions/data/internal.d.mts.map +1 -1
- package/dist/transactions/data/internal.mjs +11 -2
- package/dist/transactions/data/internal.mjs.map +1 -1
- package/dist/transactions/data/v1.d.mts +22 -0
- package/dist/transactions/data/v1.d.mts.map +1 -1
- package/dist/transactions/data/v1.mjs +27 -4
- package/dist/transactions/data/v1.mjs.map +1 -1
- package/dist/transactions/data/v2.d.mts +12 -0
- package/dist/transactions/data/v2.d.mts.map +1 -1
- package/dist/transactions/data/v2.mjs +3 -2
- package/dist/transactions/data/v2.mjs.map +1 -1
- package/dist/version.mjs +1 -1
- package/dist/version.mjs.map +1 -1
- package/dist/zklogin/bcs.d.mts +14 -14
- package/docs/clients/grpc.md +31 -7
- package/package.json +1 -1
- package/src/bcs/bcs.ts +45 -0
- package/src/bcs/effects.ts +3 -0
- package/src/bcs/transactions.ts +1 -0
- package/src/bcs/types.ts +10 -1
- package/src/client/transaction-resolver.ts +79 -9
- package/src/grpc/client.ts +12 -4
- package/src/grpc/core.ts +18 -14
- package/src/grpc/index.ts +7 -3
- package/src/grpc/proto/sui/rpc/v2/execution_status.ts +8 -0
- package/src/grpc/proto/sui/rpc/v2/transaction.ts +68 -0
- package/src/grpc/transport.ts +160 -0
- package/src/transactions/data/internal.ts +19 -0
- package/src/transactions/data/v1.ts +51 -12
- package/src/transactions/data/v2.ts +2 -0
- package/src/version.ts +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transport.mjs","names":["GrpcWebFetchTransport","UpstreamGrpcWebFetchTransport"],"sources":["../../src/grpc/transport.ts"],"sourcesContent":["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\nimport { GrpcStatusCode } from '@protobuf-ts/grpcweb-transport';\nimport { GrpcWebFetchTransport as UpstreamGrpcWebFetchTransport } from '@protobuf-ts/grpcweb-transport';\nimport type {\n\tMethodInfo,\n\tRpcOptions,\n\tServerStreamingCall,\n\tUnaryCall,\n} from '@protobuf-ts/runtime-rpc';\nimport { RpcError } from '@protobuf-ts/runtime-rpc';\n\n// A failed call rejects four promises with the same error, so it is only decoded once. Registered\n// globally so another installed copy of this package sees the same marker.\nconst MESSAGE_DECODED = Symbol.for('@mysten/sui/grpc/decoded-status-message');\n\n// `grpc-message` is percent-encoded on the wire and the upstream transport does not decode it:\n// https://github.com/timostamm/protobuf-ts/pull/739\nfunction decodeGrpcStatusMessage(message: string): string {\n\tif (!message.includes('%')) return message;\n\n\ttry {\n\t\treturn decodeURIComponent(message);\n\t} catch {\n\t\treturn message;\n\t}\n}\n\nfunction markStatusMessageRead(error: RpcError): boolean {\n\tif (MESSAGE_DECODED in error) return false;\n\tObject.defineProperty(error, MESSAGE_DECODED, { value: true, configurable: true });\n\n\treturn true;\n}\n\nfunction decodeStatusMessageOnce(error: RpcError): void {\n\tif (markStatusMessageRead(error)) error.message = decodeGrpcStatusMessage(error.message);\n}\n\n/** Whether this package's transport decoded the error's status text. */\nexport function hasDecodedStatusMessage(error: object): boolean {\n\treturn MESSAGE_DECODED in error;\n}\n\n// An abort reason is arbitrary, and reading a property on it runs code the caller wrote. A read\n// that throws counts as absent, so one bad accessor does not decide the status.\nfunction readProperty(value: unknown, key: 'code' | 'name' | 'message'): unknown {\n\tif (typeof value !== 'object' || value === null) return undefined;\n\n\ttry {\n\t\treturn (value as Record<string, unknown>)[key];\n\t} catch {\n\t\treturn undefined;\n\t}\n}\n\n// The reason is read by shape, since another copy of runtime-rpc or another realm fails\n// `instanceof`. `AbortSignal.timeout` aborts with a `TimeoutError`.\nfunction abortStatus(reason: unknown): string {\n\tconst code = readProperty(reason, 'code');\n\n\t// A status name maps to a number; `in` would also match the enum's reverse mapping.\n\tif (\n\t\ttypeof code === 'string' &&\n\t\ttypeof GrpcStatusCode[code as keyof typeof GrpcStatusCode] === 'number'\n\t) {\n\t\treturn code;\n\t}\n\n\treturn readProperty(reason, 'name') === 'TimeoutError'\n\t\t? GrpcStatusCode[GrpcStatusCode.DEADLINE_EXCEEDED]\n\t\t: GrpcStatusCode[GrpcStatusCode.CANCELLED];\n}\n\n// The transport reuses the abort reason's message, so matching it says the text is local. A fetch\n// that substitutes its own error (node-fetch) gives text of its own, which holds nothing to decode.\n// The reason is never coerced: a symbol or a throwing hook would throw here.\nfunction isAbortReasonText(message: string, reason: unknown): boolean {\n\tif (typeof reason === 'string') return message === reason;\n\n\tconst reasonMessage = readProperty(reason, 'message');\n\n\treturn typeof reasonMessage === 'string' && message === reasonMessage;\n}\n\n// Rewritten in place, so every promise a call rejects surfaces the same error. Only the two codes\n// upstream uses for an abort are re-coded; a failure that raced the abort is relabelled with it.\nfunction normalizeGrpcError(error: unknown, signal: AbortSignal | undefined): void {\n\ttry {\n\t\tnormalize(error, signal);\n\t} catch {\n\t\t// Never an unhandled rejection from a discarded handler: the call reports what it was going\n\t\t// to report.\n\t}\n}\n\nfunction normalize(error: unknown, signal: AbortSignal | undefined): void {\n\tif (!(error instanceof RpcError)) return;\n\n\tif (\n\t\tsignal?.aborted &&\n\t\t(error.code === GrpcStatusCode[GrpcStatusCode.INTERNAL] ||\n\t\t\terror.code === GrpcStatusCode[GrpcStatusCode.CANCELLED])\n\t) {\n\t\terror.code = abortStatus(signal.reason);\n\n\t\t// Text the abort reason supplied is local and holds nothing to decode; anything else came off\n\t\t// the wire, even though the abort is what the caller sees. Settled here for the other promises\n\t\t// the call rejects, which no longer match the codes above.\n\t\tif (isAbortReasonText(error.message, signal.reason)) markStatusMessageRead(error);\n\t\telse decodeStatusMessageOnce(error);\n\n\t\treturn;\n\t}\n\n\tdecodeStatusMessageOnce(error);\n}\n\nfunction normalizeRejections(promises: Promise<unknown>[], signal: AbortSignal | undefined) {\n\tfor (const promise of promises) {\n\t\t// Registered before the call is returned, so it runs before the consumer's own await.\n\t\tpromise.then(undefined, (error: unknown) => normalizeGrpcError(error, signal));\n\t}\n}\n\n/**\n * `GrpcWebFetchTransport` from `@protobuf-ts/grpcweb-transport`, subclassed to decode status\n * messages and to code an aborted call from its reason rather than as `INTERNAL`.\n *\n * `SuiGrpcClient` builds one by default. A transport imported from `@protobuf-ts/grpcweb-transport`\n * keeps that package's behaviour.\n */\nexport class GrpcWebFetchTransport extends UpstreamGrpcWebFetchTransport {\n\toverride unary<I extends object, O extends object>(\n\t\tmethod: MethodInfo<I, O>,\n\t\tinput: I,\n\t\toptions: RpcOptions,\n\t): UnaryCall<I, O> {\n\t\tconst call = super.unary(method, input, options);\n\n\t\tnormalizeRejections([call.headers, call.response, call.status, call.trailers], options.abort);\n\n\t\treturn call;\n\t}\n\n\toverride serverStreaming<I extends object, O extends object>(\n\t\tmethod: MethodInfo<I, O>,\n\t\tinput: I,\n\t\toptions: RpcOptions,\n\t): ServerStreamingCall<I, O> {\n\t\tconst call = super.serverStreaming(method, input, options);\n\n\t\t// A finite stream is often read through `responses` without awaiting `status`.\n\t\tcall.responses.onError((error) => normalizeGrpcError(error, options.abort));\n\t\tnormalizeRejections([call.headers, call.status, call.trailers], options.abort);\n\n\t\treturn call;\n\t}\n}\n"],"mappings":";;;;AAeA,MAAM,kBAAkB,OAAO,IAAI,0CAA0C;AAI7E,SAAS,w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M;MAC5E,yBAAwB,MAAM;AAEnC;;AAGD,yBAAwB,MAAM;;AAG/B,SAAS,oBAAoB,UAA8B,QAAiC;AAC3F,MAAK,MAAM,WAAW,SAErB,SAAQ,KAAK,SAAY,UAAmB,mBAAmB,OAAO,OAAO,CAAC;;;;;;;;;AAWhF,IAAaA,0BAAb,cAA2CC,sBAA8B;CACxE,AAAS,MACR,QACA,OACA,SACkB;EAClB,MAAM,OAAO,MAAM,MAAM,QAAQ,OAAO,QAAQ;AAEhD,sBAAoB;GAAC,KAAK;GAAS,KAAK;GAAU,KAAK;GAAQ,KAAK;GAAS,EAAE,QAAQ,MAAM;AAE7F,SAAO;;CAGR,AAAS,gBACR,QACA,OACA,SAC4B;EAC5B,MAAM,OAAO,MAAM,gBAAgB,QAAQ,OAAO,QAAQ;AAG1D,OAAK,UAAU,SAAS,UAAU,mBAAmB,OAAO,QAAQ,MAAM,CAAC;AAC3E,sBAAoB;GAAC,KAAK;GAAS,KAAK;GAAQ,KAAK;GAAS,EAAE,QAAQ,MAAM;AAE9E,SAAO"}
|
|
@@ -8,7 +8,7 @@ import { createPure } from "./pure.mjs";
|
|
|
8
8
|
import { SignatureWithBytes, Signer } from "../cryptography/keypair.mjs";
|
|
9
9
|
import "../cryptography/index.mjs";
|
|
10
10
|
import { ClientWithCoreApi } from "../client/core.mjs";
|
|
11
|
-
import * as
|
|
11
|
+
import * as _mysten_bcs1391 from "@mysten/bcs";
|
|
12
12
|
import { SerializedBcs } from "@mysten/bcs";
|
|
13
13
|
import { InferInput } from "valibot";
|
|
14
14
|
|
|
@@ -91,7 +91,7 @@ declare class Transaction {
|
|
|
91
91
|
getData(): {
|
|
92
92
|
version: 2;
|
|
93
93
|
sender?: string | null | undefined;
|
|
94
|
-
expiration?:
|
|
94
|
+
expiration?: _mysten_bcs1391.EnumOutputShapeWithKeys<{
|
|
95
95
|
None: true;
|
|
96
96
|
Epoch: string | number;
|
|
97
97
|
ValidDuring: {
|
|
@@ -102,7 +102,19 @@ declare class Transaction {
|
|
|
102
102
|
chain: string;
|
|
103
103
|
nonce: number;
|
|
104
104
|
};
|
|
105
|
-
|
|
105
|
+
Validity: {
|
|
106
|
+
allowedProposers: {
|
|
107
|
+
epoch: string | number;
|
|
108
|
+
proposers: number[];
|
|
109
|
+
} | null;
|
|
110
|
+
minEpoch: string | number | null;
|
|
111
|
+
maxEpoch: string | number | null;
|
|
112
|
+
minTimestamp: string | number | null;
|
|
113
|
+
maxTimestamp: string | number | null;
|
|
114
|
+
chain: string;
|
|
115
|
+
nonce: number;
|
|
116
|
+
};
|
|
117
|
+
}, "None" | "Epoch" | "ValidDuring" | "Validity"> | null | undefined;
|
|
106
118
|
gasData: {
|
|
107
119
|
budget: string | number | null;
|
|
108
120
|
price: string | number | null;
|
|
@@ -113,8 +125,8 @@ declare class Transaction {
|
|
|
113
125
|
digest: string;
|
|
114
126
|
}[] | null;
|
|
115
127
|
};
|
|
116
|
-
inputs:
|
|
117
|
-
Object:
|
|
128
|
+
inputs: _mysten_bcs1391.EnumOutputShapeWithKeys<{
|
|
129
|
+
Object: _mysten_bcs1391.EnumOutputShapeWithKeys<{
|
|
118
130
|
ImmOrOwnedObject: {
|
|
119
131
|
objectId: string;
|
|
120
132
|
version: string | number;
|
|
@@ -153,13 +165,13 @@ declare class Transaction {
|
|
|
153
165
|
Balance: string;
|
|
154
166
|
$kind: "Balance";
|
|
155
167
|
};
|
|
156
|
-
withdrawFrom:
|
|
168
|
+
withdrawFrom: _mysten_bcs1391.EnumOutputShapeWithKeys<{
|
|
157
169
|
Sender: true;
|
|
158
170
|
Sponsor: true;
|
|
159
171
|
}, "Sender" | "Sponsor">;
|
|
160
172
|
};
|
|
161
173
|
}, "Pure" | "Object" | "FundsWithdrawal" | "UnresolvedPure" | "UnresolvedObject">[];
|
|
162
|
-
commands:
|
|
174
|
+
commands: _mysten_bcs1391.EnumOutputShapeWithKeys<{
|
|
163
175
|
MoveCall: {
|
|
164
176
|
package: string;
|
|
165
177
|
module: string;
|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iBAAA;EAUD,QAAA,CAAA;IACC,SAAA,EAAW,IAAA;IAAA,GACR;EAAA;IAGD,OAAA;IACA,MAAA;IACA,QAAA;IACA,SAAA,IAAa,mBAAA,GAAsB,aAAA;IACnC,aAAA;EAAA;IAGA,MAAA;IACA,SAAA,IAAa,mBAAA,GAAsB,aAAA;IACnC,aAAA;EAAA,IACC,iBAAA;EAQJ,eAAA,CACC,OAAA,GAAU,yBAAA,cACV,OAAA,EAAS,mBAAA,GAAsB,aAAA,iBAA2B,iBAAA;EAW3D,WAAA,CAAA;IACC,IAAA;IACA;EAAA;IAEA,QAAA,GAAW,yBAAA;IACX,IAAA;EAAA,IACA,iBAAA;;;;;;;;EAgBD,UAAA,CAAA;IAAa,MAAA;IAAQ;EAAA;IAAU,MAAA;IAAkC,IAAA;EAAA;IAChE,KAAA;IACA,KAAA;IACA,IAAA;EAAA;;;;;EAuBD,SAAA,CAAA;EAIM,MAAA,CAAO,OAAA,GAAS,2BAAA,GAAmC,OAAA;;EAmBnD,IAAA,CAAK,OAAA,EAAS,WAAA,GAAc,OAAA,CAAQ,kBAAA;;;;;;;;;;EAe1C,0BAAA,CAA2B,OAAA;IAAW,gBAAA;EAAA;;;;;;;;;;;;EA2BtC,eAAA,CAAA;EA5aC;EA6bK,KAAA,CAAM,OAAA,GAAS,uBAAA,GAA+B,OAAA,CAAQ,UAAA,CAAW,WAAA;EA5btE;EAqcK,SAAA,CACL,OAAA;IACC,MAAA,GAAS,iBAAA;EAAA,IAER,OAAA;EAsJG,uBAAA,CAAwB,OAAA,EAAS,2BAAA,GAA2B,OAAA;AAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SuiClientTypes } from "../../client/types.mjs";
|
|
2
2
|
import { EnumInputShape, EnumOutputShape } from "@mysten/bcs";
|
|
3
3
|
import { Simplify } from "@mysten/utils";
|
|
4
|
-
import * as
|
|
4
|
+
import * as valibot575 from "valibot";
|
|
5
5
|
import { GenericSchema, InferInput, InferOutput, ObjectSchema } from "valibot";
|
|
6
6
|
|
|
7
7
|
//#region src/transactions/data/internal.d.ts
|
|
@@ -9,12 +9,12 @@ type EnumSchemaInput<T extends Record<string, GenericSchema<any>>> = EnumInputSh
|
|
|
9
9
|
type EnumSchemaOutput<T extends Record<string, GenericSchema<any>>> = EnumOutputShape<Simplify<{ [K in keyof T]: InferOutput<T[K]> }>>;
|
|
10
10
|
type EnumSchema<T extends Record<string, GenericSchema<any>>> = GenericSchema<EnumSchemaInput<T>, EnumSchemaOutput<T>>;
|
|
11
11
|
declare const ObjectRefSchema: ObjectSchema<{
|
|
12
|
-
readonly objectId:
|
|
13
|
-
readonly version:
|
|
14
|
-
readonly digest:
|
|
12
|
+
readonly objectId: valibot575.SchemaWithPipe<readonly [valibot575.StringSchema<undefined>, valibot575.TransformAction<string, string>, valibot575.CheckAction<string, undefined>]>;
|
|
13
|
+
readonly version: valibot575.SchemaWithPipe<readonly [valibot575.UnionSchema<[valibot575.StringSchema<undefined>, valibot575.SchemaWithPipe<readonly [valibot575.NumberSchema<undefined>, valibot575.IntegerAction<number, undefined>]>], undefined>, valibot575.CheckAction<string | number, "Invalid u64">]>;
|
|
14
|
+
readonly digest: valibot575.StringSchema<undefined>;
|
|
15
15
|
}, undefined>;
|
|
16
16
|
type ObjectRef = InferOutput<typeof ObjectRefSchema>;
|
|
17
|
-
declare const ArgumentSchema:
|
|
17
|
+
declare const ArgumentSchema: valibot575.UnionSchema<[GenericSchema<{
|
|
18
18
|
GasCoin: true;
|
|
19
19
|
$kind?: "GasCoin" | undefined;
|
|
20
20
|
}, {
|
|
@@ -43,13 +43,13 @@ declare const ArgumentSchema: valibot481.UnionSchema<[GenericSchema<{
|
|
|
43
43
|
}>], undefined>;
|
|
44
44
|
type Argument = InferOutput<typeof ArgumentSchema>;
|
|
45
45
|
declare const GasDataSchema: ObjectSchema<{
|
|
46
|
-
readonly budget:
|
|
47
|
-
readonly price:
|
|
48
|
-
readonly owner:
|
|
49
|
-
readonly payment:
|
|
50
|
-
readonly objectId:
|
|
51
|
-
readonly version:
|
|
52
|
-
readonly digest:
|
|
46
|
+
readonly budget: valibot575.NullableSchema<valibot575.SchemaWithPipe<readonly [valibot575.UnionSchema<[valibot575.StringSchema<undefined>, valibot575.SchemaWithPipe<readonly [valibot575.NumberSchema<undefined>, valibot575.IntegerAction<number, undefined>]>], undefined>, valibot575.CheckAction<string | number, "Invalid u64">]>, undefined>;
|
|
47
|
+
readonly price: valibot575.NullableSchema<valibot575.SchemaWithPipe<readonly [valibot575.UnionSchema<[valibot575.StringSchema<undefined>, valibot575.SchemaWithPipe<readonly [valibot575.NumberSchema<undefined>, valibot575.IntegerAction<number, undefined>]>], undefined>, valibot575.CheckAction<string | number, "Invalid u64">]>, undefined>;
|
|
48
|
+
readonly owner: valibot575.NullableSchema<valibot575.SchemaWithPipe<readonly [valibot575.StringSchema<undefined>, valibot575.TransformAction<string, string>, valibot575.CheckAction<string, undefined>]>, undefined>;
|
|
49
|
+
readonly payment: valibot575.NullableSchema<valibot575.ArraySchema<ObjectSchema<{
|
|
50
|
+
readonly objectId: valibot575.SchemaWithPipe<readonly [valibot575.StringSchema<undefined>, valibot575.TransformAction<string, string>, valibot575.CheckAction<string, undefined>]>;
|
|
51
|
+
readonly version: valibot575.SchemaWithPipe<readonly [valibot575.UnionSchema<[valibot575.StringSchema<undefined>, valibot575.SchemaWithPipe<readonly [valibot575.NumberSchema<undefined>, valibot575.IntegerAction<number, undefined>]>], undefined>, valibot575.CheckAction<string | number, "Invalid u64">]>;
|
|
52
|
+
readonly digest: valibot575.StringSchema<undefined>;
|
|
53
53
|
}, undefined>, undefined>, undefined>;
|
|
54
54
|
}, undefined>;
|
|
55
55
|
type GasData = InferOutput<typeof GasDataSchema>;
|
|
@@ -95,152 +95,176 @@ type Command<Arg = Argument> = EnumOutputShape<{
|
|
|
95
95
|
};
|
|
96
96
|
}>;
|
|
97
97
|
declare const ReservationSchema: EnumSchema<{
|
|
98
|
-
MaxAmountU64:
|
|
98
|
+
MaxAmountU64: valibot575.SchemaWithPipe<readonly [valibot575.UnionSchema<[valibot575.StringSchema<undefined>, valibot575.SchemaWithPipe<readonly [valibot575.NumberSchema<undefined>, valibot575.IntegerAction<number, undefined>]>], undefined>, valibot575.CheckAction<string | number, "Invalid u64">]>;
|
|
99
99
|
}>;
|
|
100
100
|
type Reservation = InferOutput<typeof ReservationSchema>;
|
|
101
101
|
declare const WithdrawalTypeArgSchema: EnumSchema<{
|
|
102
|
-
Balance:
|
|
102
|
+
Balance: valibot575.StringSchema<undefined>;
|
|
103
103
|
}>;
|
|
104
104
|
type WithdrawalTypeArg = InferOutput<typeof WithdrawalTypeArgSchema>;
|
|
105
105
|
declare const WithdrawFromSchema: EnumSchema<{
|
|
106
|
-
Sender:
|
|
107
|
-
Sponsor:
|
|
106
|
+
Sender: valibot575.LiteralSchema<true, undefined>;
|
|
107
|
+
Sponsor: valibot575.LiteralSchema<true, undefined>;
|
|
108
108
|
}>;
|
|
109
109
|
type WithdrawFrom = InferOutput<typeof WithdrawFromSchema>;
|
|
110
110
|
declare const CallArgSchema: EnumSchema<{
|
|
111
111
|
Object: EnumSchema<{
|
|
112
112
|
ImmOrOwnedObject: ObjectSchema<{
|
|
113
|
-
readonly objectId:
|
|
114
|
-
readonly version:
|
|
115
|
-
readonly digest:
|
|
113
|
+
readonly objectId: valibot575.SchemaWithPipe<readonly [valibot575.StringSchema<undefined>, valibot575.TransformAction<string, string>, valibot575.CheckAction<string, undefined>]>;
|
|
114
|
+
readonly version: valibot575.SchemaWithPipe<readonly [valibot575.UnionSchema<[valibot575.StringSchema<undefined>, valibot575.SchemaWithPipe<readonly [valibot575.NumberSchema<undefined>, valibot575.IntegerAction<number, undefined>]>], undefined>, valibot575.CheckAction<string | number, "Invalid u64">]>;
|
|
115
|
+
readonly digest: valibot575.StringSchema<undefined>;
|
|
116
116
|
}, undefined>;
|
|
117
117
|
SharedObject: ObjectSchema<{
|
|
118
|
-
readonly objectId:
|
|
119
|
-
readonly initialSharedVersion:
|
|
120
|
-
readonly mutable:
|
|
118
|
+
readonly objectId: valibot575.SchemaWithPipe<readonly [valibot575.StringSchema<undefined>, valibot575.TransformAction<string, string>, valibot575.CheckAction<string, undefined>]>;
|
|
119
|
+
readonly initialSharedVersion: valibot575.SchemaWithPipe<readonly [valibot575.UnionSchema<[valibot575.StringSchema<undefined>, valibot575.SchemaWithPipe<readonly [valibot575.NumberSchema<undefined>, valibot575.IntegerAction<number, undefined>]>], undefined>, valibot575.CheckAction<string | number, "Invalid u64">]>;
|
|
120
|
+
readonly mutable: valibot575.BooleanSchema<undefined>;
|
|
121
121
|
}, undefined>;
|
|
122
122
|
Receiving: ObjectSchema<{
|
|
123
|
-
readonly objectId:
|
|
124
|
-
readonly version:
|
|
125
|
-
readonly digest:
|
|
123
|
+
readonly objectId: valibot575.SchemaWithPipe<readonly [valibot575.StringSchema<undefined>, valibot575.TransformAction<string, string>, valibot575.CheckAction<string, undefined>]>;
|
|
124
|
+
readonly version: valibot575.SchemaWithPipe<readonly [valibot575.UnionSchema<[valibot575.StringSchema<undefined>, valibot575.SchemaWithPipe<readonly [valibot575.NumberSchema<undefined>, valibot575.IntegerAction<number, undefined>]>], undefined>, valibot575.CheckAction<string | number, "Invalid u64">]>;
|
|
125
|
+
readonly digest: valibot575.StringSchema<undefined>;
|
|
126
126
|
}, undefined>;
|
|
127
127
|
}>;
|
|
128
128
|
Pure: ObjectSchema<{
|
|
129
|
-
readonly bytes:
|
|
129
|
+
readonly bytes: valibot575.StringSchema<undefined>;
|
|
130
130
|
}, undefined>;
|
|
131
131
|
UnresolvedPure: ObjectSchema<{
|
|
132
|
-
readonly value:
|
|
132
|
+
readonly value: valibot575.UnknownSchema;
|
|
133
133
|
}, undefined>;
|
|
134
134
|
UnresolvedObject: ObjectSchema<{
|
|
135
|
-
readonly objectId:
|
|
136
|
-
readonly version:
|
|
137
|
-
readonly digest:
|
|
138
|
-
readonly initialSharedVersion:
|
|
139
|
-
readonly mutable:
|
|
135
|
+
readonly objectId: valibot575.SchemaWithPipe<readonly [valibot575.StringSchema<undefined>, valibot575.TransformAction<string, string>, valibot575.CheckAction<string, undefined>]>;
|
|
136
|
+
readonly version: valibot575.OptionalSchema<valibot575.NullableSchema<valibot575.SchemaWithPipe<readonly [valibot575.UnionSchema<[valibot575.StringSchema<undefined>, valibot575.SchemaWithPipe<readonly [valibot575.NumberSchema<undefined>, valibot575.IntegerAction<number, undefined>]>], undefined>, valibot575.CheckAction<string | number, "Invalid u64">]>, undefined>, undefined>;
|
|
137
|
+
readonly digest: valibot575.OptionalSchema<valibot575.NullableSchema<valibot575.StringSchema<undefined>, undefined>, undefined>;
|
|
138
|
+
readonly initialSharedVersion: valibot575.OptionalSchema<valibot575.NullableSchema<valibot575.SchemaWithPipe<readonly [valibot575.UnionSchema<[valibot575.StringSchema<undefined>, valibot575.SchemaWithPipe<readonly [valibot575.NumberSchema<undefined>, valibot575.IntegerAction<number, undefined>]>], undefined>, valibot575.CheckAction<string | number, "Invalid u64">]>, undefined>, undefined>;
|
|
139
|
+
readonly mutable: valibot575.OptionalSchema<valibot575.NullableSchema<valibot575.BooleanSchema<undefined>, undefined>, undefined>;
|
|
140
140
|
}, undefined>;
|
|
141
141
|
FundsWithdrawal: ObjectSchema<{
|
|
142
142
|
readonly reservation: EnumSchema<{
|
|
143
|
-
MaxAmountU64:
|
|
143
|
+
MaxAmountU64: valibot575.SchemaWithPipe<readonly [valibot575.UnionSchema<[valibot575.StringSchema<undefined>, valibot575.SchemaWithPipe<readonly [valibot575.NumberSchema<undefined>, valibot575.IntegerAction<number, undefined>]>], undefined>, valibot575.CheckAction<string | number, "Invalid u64">]>;
|
|
144
144
|
}>;
|
|
145
145
|
readonly typeArg: EnumSchema<{
|
|
146
|
-
Balance:
|
|
146
|
+
Balance: valibot575.StringSchema<undefined>;
|
|
147
147
|
}>;
|
|
148
148
|
readonly withdrawFrom: EnumSchema<{
|
|
149
|
-
Sender:
|
|
150
|
-
Sponsor:
|
|
149
|
+
Sender: valibot575.LiteralSchema<true, undefined>;
|
|
150
|
+
Sponsor: valibot575.LiteralSchema<true, undefined>;
|
|
151
151
|
}>;
|
|
152
152
|
}, undefined>;
|
|
153
153
|
}>;
|
|
154
154
|
type CallArg = InferOutput<typeof CallArgSchema>;
|
|
155
155
|
declare const TransactionExpiration: EnumSchema<{
|
|
156
|
-
None:
|
|
157
|
-
Epoch:
|
|
156
|
+
None: valibot575.LiteralSchema<true, undefined>;
|
|
157
|
+
Epoch: valibot575.SchemaWithPipe<readonly [valibot575.UnionSchema<[valibot575.StringSchema<undefined>, valibot575.SchemaWithPipe<readonly [valibot575.NumberSchema<undefined>, valibot575.IntegerAction<number, undefined>]>], undefined>, valibot575.CheckAction<string | number, "Invalid u64">]>;
|
|
158
158
|
ValidDuring: ObjectSchema<{
|
|
159
|
-
readonly minEpoch:
|
|
160
|
-
readonly maxEpoch:
|
|
161
|
-
readonly minTimestamp:
|
|
162
|
-
readonly maxTimestamp:
|
|
163
|
-
readonly chain:
|
|
164
|
-
readonly nonce:
|
|
159
|
+
readonly minEpoch: valibot575.NullableSchema<valibot575.SchemaWithPipe<readonly [valibot575.UnionSchema<[valibot575.StringSchema<undefined>, valibot575.SchemaWithPipe<readonly [valibot575.NumberSchema<undefined>, valibot575.IntegerAction<number, undefined>]>], undefined>, valibot575.CheckAction<string | number, "Invalid u64">]>, undefined>;
|
|
160
|
+
readonly maxEpoch: valibot575.NullableSchema<valibot575.SchemaWithPipe<readonly [valibot575.UnionSchema<[valibot575.StringSchema<undefined>, valibot575.SchemaWithPipe<readonly [valibot575.NumberSchema<undefined>, valibot575.IntegerAction<number, undefined>]>], undefined>, valibot575.CheckAction<string | number, "Invalid u64">]>, undefined>;
|
|
161
|
+
readonly minTimestamp: valibot575.NullableSchema<valibot575.SchemaWithPipe<readonly [valibot575.UnionSchema<[valibot575.StringSchema<undefined>, valibot575.SchemaWithPipe<readonly [valibot575.NumberSchema<undefined>, valibot575.IntegerAction<number, undefined>]>], undefined>, valibot575.CheckAction<string | number, "Invalid u64">]>, undefined>;
|
|
162
|
+
readonly maxTimestamp: valibot575.NullableSchema<valibot575.SchemaWithPipe<readonly [valibot575.UnionSchema<[valibot575.StringSchema<undefined>, valibot575.SchemaWithPipe<readonly [valibot575.NumberSchema<undefined>, valibot575.IntegerAction<number, undefined>]>], undefined>, valibot575.CheckAction<string | number, "Invalid u64">]>, undefined>;
|
|
163
|
+
readonly chain: valibot575.StringSchema<undefined>;
|
|
164
|
+
readonly nonce: valibot575.SchemaWithPipe<readonly [valibot575.NumberSchema<undefined>, valibot575.IntegerAction<number, undefined>, valibot575.CheckAction<number, "Invalid u32">]>;
|
|
165
|
+
}, undefined>;
|
|
166
|
+
Validity: ObjectSchema<{
|
|
167
|
+
readonly allowedProposers: valibot575.NullableSchema<ObjectSchema<{
|
|
168
|
+
readonly epoch: valibot575.SchemaWithPipe<readonly [valibot575.UnionSchema<[valibot575.StringSchema<undefined>, valibot575.SchemaWithPipe<readonly [valibot575.NumberSchema<undefined>, valibot575.IntegerAction<number, undefined>]>], undefined>, valibot575.CheckAction<string | number, "Invalid u64">]>;
|
|
169
|
+
readonly proposers: valibot575.SchemaWithPipe<readonly [valibot575.ArraySchema<valibot575.SchemaWithPipe<readonly [valibot575.NumberSchema<undefined>, valibot575.IntegerAction<number, undefined>, valibot575.CheckAction<number, "Invalid u32">]>, undefined>, valibot575.CheckAction<number[], "Allowed proposers must not be empty">]>;
|
|
170
|
+
}, undefined>, undefined>;
|
|
171
|
+
readonly minEpoch: valibot575.NullableSchema<valibot575.SchemaWithPipe<readonly [valibot575.UnionSchema<[valibot575.StringSchema<undefined>, valibot575.SchemaWithPipe<readonly [valibot575.NumberSchema<undefined>, valibot575.IntegerAction<number, undefined>]>], undefined>, valibot575.CheckAction<string | number, "Invalid u64">]>, undefined>;
|
|
172
|
+
readonly maxEpoch: valibot575.NullableSchema<valibot575.SchemaWithPipe<readonly [valibot575.UnionSchema<[valibot575.StringSchema<undefined>, valibot575.SchemaWithPipe<readonly [valibot575.NumberSchema<undefined>, valibot575.IntegerAction<number, undefined>]>], undefined>, valibot575.CheckAction<string | number, "Invalid u64">]>, undefined>;
|
|
173
|
+
readonly minTimestamp: valibot575.NullableSchema<valibot575.SchemaWithPipe<readonly [valibot575.UnionSchema<[valibot575.StringSchema<undefined>, valibot575.SchemaWithPipe<readonly [valibot575.NumberSchema<undefined>, valibot575.IntegerAction<number, undefined>]>], undefined>, valibot575.CheckAction<string | number, "Invalid u64">]>, undefined>;
|
|
174
|
+
readonly maxTimestamp: valibot575.NullableSchema<valibot575.SchemaWithPipe<readonly [valibot575.UnionSchema<[valibot575.StringSchema<undefined>, valibot575.SchemaWithPipe<readonly [valibot575.NumberSchema<undefined>, valibot575.IntegerAction<number, undefined>]>], undefined>, valibot575.CheckAction<string | number, "Invalid u64">]>, undefined>;
|
|
175
|
+
readonly chain: valibot575.StringSchema<undefined>;
|
|
176
|
+
readonly nonce: valibot575.SchemaWithPipe<readonly [valibot575.NumberSchema<undefined>, valibot575.IntegerAction<number, undefined>, valibot575.CheckAction<number, "Invalid u32">]>;
|
|
165
177
|
}, undefined>;
|
|
166
178
|
}>;
|
|
167
179
|
type TransactionExpiration = InferOutput<typeof TransactionExpiration>;
|
|
168
180
|
declare const TransactionDataSchema: ObjectSchema<{
|
|
169
|
-
readonly version:
|
|
170
|
-
readonly sender:
|
|
171
|
-
readonly expiration:
|
|
172
|
-
None:
|
|
173
|
-
Epoch:
|
|
181
|
+
readonly version: valibot575.LiteralSchema<2, undefined>;
|
|
182
|
+
readonly sender: valibot575.NullishSchema<valibot575.SchemaWithPipe<readonly [valibot575.StringSchema<undefined>, valibot575.TransformAction<string, string>, valibot575.CheckAction<string, undefined>]>, undefined>;
|
|
183
|
+
readonly expiration: valibot575.NullishSchema<EnumSchema<{
|
|
184
|
+
None: valibot575.LiteralSchema<true, undefined>;
|
|
185
|
+
Epoch: valibot575.SchemaWithPipe<readonly [valibot575.UnionSchema<[valibot575.StringSchema<undefined>, valibot575.SchemaWithPipe<readonly [valibot575.NumberSchema<undefined>, valibot575.IntegerAction<number, undefined>]>], undefined>, valibot575.CheckAction<string | number, "Invalid u64">]>;
|
|
174
186
|
ValidDuring: ObjectSchema<{
|
|
175
|
-
readonly minEpoch:
|
|
176
|
-
readonly maxEpoch:
|
|
177
|
-
readonly minTimestamp:
|
|
178
|
-
readonly maxTimestamp:
|
|
179
|
-
readonly chain:
|
|
180
|
-
readonly nonce:
|
|
187
|
+
readonly minEpoch: valibot575.NullableSchema<valibot575.SchemaWithPipe<readonly [valibot575.UnionSchema<[valibot575.StringSchema<undefined>, valibot575.SchemaWithPipe<readonly [valibot575.NumberSchema<undefined>, valibot575.IntegerAction<number, undefined>]>], undefined>, valibot575.CheckAction<string | number, "Invalid u64">]>, undefined>;
|
|
188
|
+
readonly maxEpoch: valibot575.NullableSchema<valibot575.SchemaWithPipe<readonly [valibot575.UnionSchema<[valibot575.StringSchema<undefined>, valibot575.SchemaWithPipe<readonly [valibot575.NumberSchema<undefined>, valibot575.IntegerAction<number, undefined>]>], undefined>, valibot575.CheckAction<string | number, "Invalid u64">]>, undefined>;
|
|
189
|
+
readonly minTimestamp: valibot575.NullableSchema<valibot575.SchemaWithPipe<readonly [valibot575.UnionSchema<[valibot575.StringSchema<undefined>, valibot575.SchemaWithPipe<readonly [valibot575.NumberSchema<undefined>, valibot575.IntegerAction<number, undefined>]>], undefined>, valibot575.CheckAction<string | number, "Invalid u64">]>, undefined>;
|
|
190
|
+
readonly maxTimestamp: valibot575.NullableSchema<valibot575.SchemaWithPipe<readonly [valibot575.UnionSchema<[valibot575.StringSchema<undefined>, valibot575.SchemaWithPipe<readonly [valibot575.NumberSchema<undefined>, valibot575.IntegerAction<number, undefined>]>], undefined>, valibot575.CheckAction<string | number, "Invalid u64">]>, undefined>;
|
|
191
|
+
readonly chain: valibot575.StringSchema<undefined>;
|
|
192
|
+
readonly nonce: valibot575.SchemaWithPipe<readonly [valibot575.NumberSchema<undefined>, valibot575.IntegerAction<number, undefined>, valibot575.CheckAction<number, "Invalid u32">]>;
|
|
193
|
+
}, undefined>;
|
|
194
|
+
Validity: ObjectSchema<{
|
|
195
|
+
readonly allowedProposers: valibot575.NullableSchema<ObjectSchema<{
|
|
196
|
+
readonly epoch: valibot575.SchemaWithPipe<readonly [valibot575.UnionSchema<[valibot575.StringSchema<undefined>, valibot575.SchemaWithPipe<readonly [valibot575.NumberSchema<undefined>, valibot575.IntegerAction<number, undefined>]>], undefined>, valibot575.CheckAction<string | number, "Invalid u64">]>;
|
|
197
|
+
readonly proposers: valibot575.SchemaWithPipe<readonly [valibot575.ArraySchema<valibot575.SchemaWithPipe<readonly [valibot575.NumberSchema<undefined>, valibot575.IntegerAction<number, undefined>, valibot575.CheckAction<number, "Invalid u32">]>, undefined>, valibot575.CheckAction<number[], "Allowed proposers must not be empty">]>;
|
|
198
|
+
}, undefined>, undefined>;
|
|
199
|
+
readonly minEpoch: valibot575.NullableSchema<valibot575.SchemaWithPipe<readonly [valibot575.UnionSchema<[valibot575.StringSchema<undefined>, valibot575.SchemaWithPipe<readonly [valibot575.NumberSchema<undefined>, valibot575.IntegerAction<number, undefined>]>], undefined>, valibot575.CheckAction<string | number, "Invalid u64">]>, undefined>;
|
|
200
|
+
readonly maxEpoch: valibot575.NullableSchema<valibot575.SchemaWithPipe<readonly [valibot575.UnionSchema<[valibot575.StringSchema<undefined>, valibot575.SchemaWithPipe<readonly [valibot575.NumberSchema<undefined>, valibot575.IntegerAction<number, undefined>]>], undefined>, valibot575.CheckAction<string | number, "Invalid u64">]>, undefined>;
|
|
201
|
+
readonly minTimestamp: valibot575.NullableSchema<valibot575.SchemaWithPipe<readonly [valibot575.UnionSchema<[valibot575.StringSchema<undefined>, valibot575.SchemaWithPipe<readonly [valibot575.NumberSchema<undefined>, valibot575.IntegerAction<number, undefined>]>], undefined>, valibot575.CheckAction<string | number, "Invalid u64">]>, undefined>;
|
|
202
|
+
readonly maxTimestamp: valibot575.NullableSchema<valibot575.SchemaWithPipe<readonly [valibot575.UnionSchema<[valibot575.StringSchema<undefined>, valibot575.SchemaWithPipe<readonly [valibot575.NumberSchema<undefined>, valibot575.IntegerAction<number, undefined>]>], undefined>, valibot575.CheckAction<string | number, "Invalid u64">]>, undefined>;
|
|
203
|
+
readonly chain: valibot575.StringSchema<undefined>;
|
|
204
|
+
readonly nonce: valibot575.SchemaWithPipe<readonly [valibot575.NumberSchema<undefined>, valibot575.IntegerAction<number, undefined>, valibot575.CheckAction<number, "Invalid u32">]>;
|
|
181
205
|
}, undefined>;
|
|
182
206
|
}>, undefined>;
|
|
183
207
|
readonly gasData: ObjectSchema<{
|
|
184
|
-
readonly budget:
|
|
185
|
-
readonly price:
|
|
186
|
-
readonly owner:
|
|
187
|
-
readonly payment:
|
|
188
|
-
readonly objectId:
|
|
189
|
-
readonly version:
|
|
190
|
-
readonly digest:
|
|
208
|
+
readonly budget: valibot575.NullableSchema<valibot575.SchemaWithPipe<readonly [valibot575.UnionSchema<[valibot575.StringSchema<undefined>, valibot575.SchemaWithPipe<readonly [valibot575.NumberSchema<undefined>, valibot575.IntegerAction<number, undefined>]>], undefined>, valibot575.CheckAction<string | number, "Invalid u64">]>, undefined>;
|
|
209
|
+
readonly price: valibot575.NullableSchema<valibot575.SchemaWithPipe<readonly [valibot575.UnionSchema<[valibot575.StringSchema<undefined>, valibot575.SchemaWithPipe<readonly [valibot575.NumberSchema<undefined>, valibot575.IntegerAction<number, undefined>]>], undefined>, valibot575.CheckAction<string | number, "Invalid u64">]>, undefined>;
|
|
210
|
+
readonly owner: valibot575.NullableSchema<valibot575.SchemaWithPipe<readonly [valibot575.StringSchema<undefined>, valibot575.TransformAction<string, string>, valibot575.CheckAction<string, undefined>]>, undefined>;
|
|
211
|
+
readonly payment: valibot575.NullableSchema<valibot575.ArraySchema<ObjectSchema<{
|
|
212
|
+
readonly objectId: valibot575.SchemaWithPipe<readonly [valibot575.StringSchema<undefined>, valibot575.TransformAction<string, string>, valibot575.CheckAction<string, undefined>]>;
|
|
213
|
+
readonly version: valibot575.SchemaWithPipe<readonly [valibot575.UnionSchema<[valibot575.StringSchema<undefined>, valibot575.SchemaWithPipe<readonly [valibot575.NumberSchema<undefined>, valibot575.IntegerAction<number, undefined>]>], undefined>, valibot575.CheckAction<string | number, "Invalid u64">]>;
|
|
214
|
+
readonly digest: valibot575.StringSchema<undefined>;
|
|
191
215
|
}, undefined>, undefined>, undefined>;
|
|
192
216
|
}, undefined>;
|
|
193
|
-
readonly inputs:
|
|
217
|
+
readonly inputs: valibot575.ArraySchema<EnumSchema<{
|
|
194
218
|
Object: EnumSchema<{
|
|
195
219
|
ImmOrOwnedObject: ObjectSchema<{
|
|
196
|
-
readonly objectId:
|
|
197
|
-
readonly version:
|
|
198
|
-
readonly digest:
|
|
220
|
+
readonly objectId: valibot575.SchemaWithPipe<readonly [valibot575.StringSchema<undefined>, valibot575.TransformAction<string, string>, valibot575.CheckAction<string, undefined>]>;
|
|
221
|
+
readonly version: valibot575.SchemaWithPipe<readonly [valibot575.UnionSchema<[valibot575.StringSchema<undefined>, valibot575.SchemaWithPipe<readonly [valibot575.NumberSchema<undefined>, valibot575.IntegerAction<number, undefined>]>], undefined>, valibot575.CheckAction<string | number, "Invalid u64">]>;
|
|
222
|
+
readonly digest: valibot575.StringSchema<undefined>;
|
|
199
223
|
}, undefined>;
|
|
200
224
|
SharedObject: ObjectSchema<{
|
|
201
|
-
readonly objectId:
|
|
202
|
-
readonly initialSharedVersion:
|
|
203
|
-
readonly mutable:
|
|
225
|
+
readonly objectId: valibot575.SchemaWithPipe<readonly [valibot575.StringSchema<undefined>, valibot575.TransformAction<string, string>, valibot575.CheckAction<string, undefined>]>;
|
|
226
|
+
readonly initialSharedVersion: valibot575.SchemaWithPipe<readonly [valibot575.UnionSchema<[valibot575.StringSchema<undefined>, valibot575.SchemaWithPipe<readonly [valibot575.NumberSchema<undefined>, valibot575.IntegerAction<number, undefined>]>], undefined>, valibot575.CheckAction<string | number, "Invalid u64">]>;
|
|
227
|
+
readonly mutable: valibot575.BooleanSchema<undefined>;
|
|
204
228
|
}, undefined>;
|
|
205
229
|
Receiving: ObjectSchema<{
|
|
206
|
-
readonly objectId:
|
|
207
|
-
readonly version:
|
|
208
|
-
readonly digest:
|
|
230
|
+
readonly objectId: valibot575.SchemaWithPipe<readonly [valibot575.StringSchema<undefined>, valibot575.TransformAction<string, string>, valibot575.CheckAction<string, undefined>]>;
|
|
231
|
+
readonly version: valibot575.SchemaWithPipe<readonly [valibot575.UnionSchema<[valibot575.StringSchema<undefined>, valibot575.SchemaWithPipe<readonly [valibot575.NumberSchema<undefined>, valibot575.IntegerAction<number, undefined>]>], undefined>, valibot575.CheckAction<string | number, "Invalid u64">]>;
|
|
232
|
+
readonly digest: valibot575.StringSchema<undefined>;
|
|
209
233
|
}, undefined>;
|
|
210
234
|
}>;
|
|
211
235
|
Pure: ObjectSchema<{
|
|
212
|
-
readonly bytes:
|
|
236
|
+
readonly bytes: valibot575.StringSchema<undefined>;
|
|
213
237
|
}, undefined>;
|
|
214
238
|
UnresolvedPure: ObjectSchema<{
|
|
215
|
-
readonly value:
|
|
239
|
+
readonly value: valibot575.UnknownSchema;
|
|
216
240
|
}, undefined>;
|
|
217
241
|
UnresolvedObject: ObjectSchema<{
|
|
218
|
-
readonly objectId:
|
|
219
|
-
readonly version:
|
|
220
|
-
readonly digest:
|
|
221
|
-
readonly initialSharedVersion:
|
|
222
|
-
readonly mutable:
|
|
242
|
+
readonly objectId: valibot575.SchemaWithPipe<readonly [valibot575.StringSchema<undefined>, valibot575.TransformAction<string, string>, valibot575.CheckAction<string, undefined>]>;
|
|
243
|
+
readonly version: valibot575.OptionalSchema<valibot575.NullableSchema<valibot575.SchemaWithPipe<readonly [valibot575.UnionSchema<[valibot575.StringSchema<undefined>, valibot575.SchemaWithPipe<readonly [valibot575.NumberSchema<undefined>, valibot575.IntegerAction<number, undefined>]>], undefined>, valibot575.CheckAction<string | number, "Invalid u64">]>, undefined>, undefined>;
|
|
244
|
+
readonly digest: valibot575.OptionalSchema<valibot575.NullableSchema<valibot575.StringSchema<undefined>, undefined>, undefined>;
|
|
245
|
+
readonly initialSharedVersion: valibot575.OptionalSchema<valibot575.NullableSchema<valibot575.SchemaWithPipe<readonly [valibot575.UnionSchema<[valibot575.StringSchema<undefined>, valibot575.SchemaWithPipe<readonly [valibot575.NumberSchema<undefined>, valibot575.IntegerAction<number, undefined>]>], undefined>, valibot575.CheckAction<string | number, "Invalid u64">]>, undefined>, undefined>;
|
|
246
|
+
readonly mutable: valibot575.OptionalSchema<valibot575.NullableSchema<valibot575.BooleanSchema<undefined>, undefined>, undefined>;
|
|
223
247
|
}, undefined>;
|
|
224
248
|
FundsWithdrawal: ObjectSchema<{
|
|
225
249
|
readonly reservation: EnumSchema<{
|
|
226
|
-
MaxAmountU64:
|
|
250
|
+
MaxAmountU64: valibot575.SchemaWithPipe<readonly [valibot575.UnionSchema<[valibot575.StringSchema<undefined>, valibot575.SchemaWithPipe<readonly [valibot575.NumberSchema<undefined>, valibot575.IntegerAction<number, undefined>]>], undefined>, valibot575.CheckAction<string | number, "Invalid u64">]>;
|
|
227
251
|
}>;
|
|
228
252
|
readonly typeArg: EnumSchema<{
|
|
229
|
-
Balance:
|
|
253
|
+
Balance: valibot575.StringSchema<undefined>;
|
|
230
254
|
}>;
|
|
231
255
|
readonly withdrawFrom: EnumSchema<{
|
|
232
|
-
Sender:
|
|
233
|
-
Sponsor:
|
|
256
|
+
Sender: valibot575.LiteralSchema<true, undefined>;
|
|
257
|
+
Sponsor: valibot575.LiteralSchema<true, undefined>;
|
|
234
258
|
}>;
|
|
235
259
|
}, undefined>;
|
|
236
260
|
}>, undefined>;
|
|
237
|
-
readonly commands:
|
|
261
|
+
readonly commands: valibot575.ArraySchema<EnumSchema<{
|
|
238
262
|
MoveCall: ObjectSchema<{
|
|
239
|
-
readonly package:
|
|
240
|
-
readonly module:
|
|
241
|
-
readonly function:
|
|
242
|
-
readonly typeArguments:
|
|
243
|
-
readonly arguments:
|
|
263
|
+
readonly package: valibot575.SchemaWithPipe<readonly [valibot575.StringSchema<undefined>, valibot575.TransformAction<string, string>, valibot575.CheckAction<string, undefined>]>;
|
|
264
|
+
readonly module: valibot575.StringSchema<undefined>;
|
|
265
|
+
readonly function: valibot575.StringSchema<undefined>;
|
|
266
|
+
readonly typeArguments: valibot575.ArraySchema<valibot575.StringSchema<undefined>, undefined>;
|
|
267
|
+
readonly arguments: valibot575.ArraySchema<valibot575.UnionSchema<[GenericSchema<{
|
|
244
268
|
GasCoin: true;
|
|
245
269
|
$kind?: "GasCoin" | undefined;
|
|
246
270
|
}, {
|
|
@@ -267,13 +291,13 @@ declare const TransactionDataSchema: ObjectSchema<{
|
|
|
267
291
|
NestedResult: [number, number];
|
|
268
292
|
$kind: "NestedResult";
|
|
269
293
|
}>], undefined>, undefined>;
|
|
270
|
-
readonly _argumentTypes:
|
|
271
|
-
readonly reference:
|
|
294
|
+
readonly _argumentTypes: valibot575.OptionalSchema<valibot575.NullableSchema<valibot575.ArraySchema<ObjectSchema<{
|
|
295
|
+
readonly reference: valibot575.NullableSchema<valibot575.UnionSchema<[valibot575.LiteralSchema<"mutable", undefined>, valibot575.LiteralSchema<"immutable", undefined>, valibot575.LiteralSchema<"unknown", undefined>], undefined>, undefined>;
|
|
272
296
|
readonly body: GenericSchema<SuiClientTypes.OpenSignatureBody>;
|
|
273
297
|
}, undefined>, undefined>, undefined>, undefined>;
|
|
274
298
|
}, undefined>;
|
|
275
299
|
TransferObjects: ObjectSchema<{
|
|
276
|
-
readonly objects:
|
|
300
|
+
readonly objects: valibot575.ArraySchema<valibot575.UnionSchema<[GenericSchema<{
|
|
277
301
|
GasCoin: true;
|
|
278
302
|
$kind?: "GasCoin" | undefined;
|
|
279
303
|
}, {
|
|
@@ -300,7 +324,7 @@ declare const TransactionDataSchema: ObjectSchema<{
|
|
|
300
324
|
NestedResult: [number, number];
|
|
301
325
|
$kind: "NestedResult";
|
|
302
326
|
}>], undefined>, undefined>;
|
|
303
|
-
readonly address:
|
|
327
|
+
readonly address: valibot575.UnionSchema<[GenericSchema<{
|
|
304
328
|
GasCoin: true;
|
|
305
329
|
$kind?: "GasCoin" | undefined;
|
|
306
330
|
}, {
|
|
@@ -329,7 +353,7 @@ declare const TransactionDataSchema: ObjectSchema<{
|
|
|
329
353
|
}>], undefined>;
|
|
330
354
|
}, undefined>;
|
|
331
355
|
SplitCoins: ObjectSchema<{
|
|
332
|
-
readonly coin:
|
|
356
|
+
readonly coin: valibot575.UnionSchema<[GenericSchema<{
|
|
333
357
|
GasCoin: true;
|
|
334
358
|
$kind?: "GasCoin" | undefined;
|
|
335
359
|
}, {
|
|
@@ -356,7 +380,7 @@ declare const TransactionDataSchema: ObjectSchema<{
|
|
|
356
380
|
NestedResult: [number, number];
|
|
357
381
|
$kind: "NestedResult";
|
|
358
382
|
}>], undefined>;
|
|
359
|
-
readonly amounts:
|
|
383
|
+
readonly amounts: valibot575.ArraySchema<valibot575.UnionSchema<[GenericSchema<{
|
|
360
384
|
GasCoin: true;
|
|
361
385
|
$kind?: "GasCoin" | undefined;
|
|
362
386
|
}, {
|
|
@@ -385,7 +409,7 @@ declare const TransactionDataSchema: ObjectSchema<{
|
|
|
385
409
|
}>], undefined>, undefined>;
|
|
386
410
|
}, undefined>;
|
|
387
411
|
MergeCoins: ObjectSchema<{
|
|
388
|
-
readonly destination:
|
|
412
|
+
readonly destination: valibot575.UnionSchema<[GenericSchema<{
|
|
389
413
|
GasCoin: true;
|
|
390
414
|
$kind?: "GasCoin" | undefined;
|
|
391
415
|
}, {
|
|
@@ -412,7 +436,7 @@ declare const TransactionDataSchema: ObjectSchema<{
|
|
|
412
436
|
NestedResult: [number, number];
|
|
413
437
|
$kind: "NestedResult";
|
|
414
438
|
}>], undefined>;
|
|
415
|
-
readonly sources:
|
|
439
|
+
readonly sources: valibot575.ArraySchema<valibot575.UnionSchema<[GenericSchema<{
|
|
416
440
|
GasCoin: true;
|
|
417
441
|
$kind?: "GasCoin" | undefined;
|
|
418
442
|
}, {
|
|
@@ -441,12 +465,12 @@ declare const TransactionDataSchema: ObjectSchema<{
|
|
|
441
465
|
}>], undefined>, undefined>;
|
|
442
466
|
}, undefined>;
|
|
443
467
|
Publish: ObjectSchema<{
|
|
444
|
-
readonly modules:
|
|
445
|
-
readonly dependencies:
|
|
468
|
+
readonly modules: valibot575.ArraySchema<valibot575.StringSchema<undefined>, undefined>;
|
|
469
|
+
readonly dependencies: valibot575.ArraySchema<valibot575.SchemaWithPipe<readonly [valibot575.StringSchema<undefined>, valibot575.TransformAction<string, string>, valibot575.CheckAction<string, undefined>]>, undefined>;
|
|
446
470
|
}, undefined>;
|
|
447
471
|
MakeMoveVec: ObjectSchema<{
|
|
448
|
-
readonly type:
|
|
449
|
-
readonly elements:
|
|
472
|
+
readonly type: valibot575.NullableSchema<valibot575.StringSchema<undefined>, undefined>;
|
|
473
|
+
readonly elements: valibot575.ArraySchema<valibot575.UnionSchema<[GenericSchema<{
|
|
450
474
|
GasCoin: true;
|
|
451
475
|
$kind?: "GasCoin" | undefined;
|
|
452
476
|
}, {
|
|
@@ -475,10 +499,10 @@ declare const TransactionDataSchema: ObjectSchema<{
|
|
|
475
499
|
}>], undefined>, undefined>;
|
|
476
500
|
}, undefined>;
|
|
477
501
|
Upgrade: ObjectSchema<{
|
|
478
|
-
readonly modules:
|
|
479
|
-
readonly dependencies:
|
|
480
|
-
readonly package:
|
|
481
|
-
readonly ticket:
|
|
502
|
+
readonly modules: valibot575.ArraySchema<valibot575.StringSchema<undefined>, undefined>;
|
|
503
|
+
readonly dependencies: valibot575.ArraySchema<valibot575.SchemaWithPipe<readonly [valibot575.StringSchema<undefined>, valibot575.TransformAction<string, string>, valibot575.CheckAction<string, undefined>]>, undefined>;
|
|
504
|
+
readonly package: valibot575.SchemaWithPipe<readonly [valibot575.StringSchema<undefined>, valibot575.TransformAction<string, string>, valibot575.CheckAction<string, undefined>]>;
|
|
505
|
+
readonly ticket: valibot575.UnionSchema<[GenericSchema<{
|
|
482
506
|
GasCoin: true;
|
|
483
507
|
$kind?: "GasCoin" | undefined;
|
|
484
508
|
}, {
|
|
@@ -507,8 +531,8 @@ declare const TransactionDataSchema: ObjectSchema<{
|
|
|
507
531
|
}>], undefined>;
|
|
508
532
|
}, undefined>;
|
|
509
533
|
$Intent: ObjectSchema<{
|
|
510
|
-
readonly name:
|
|
511
|
-
readonly inputs:
|
|
534
|
+
readonly name: valibot575.StringSchema<undefined>;
|
|
535
|
+
readonly inputs: valibot575.RecordSchema<valibot575.StringSchema<undefined>, valibot575.UnionSchema<[valibot575.UnionSchema<[GenericSchema<{
|
|
512
536
|
GasCoin: true;
|
|
513
537
|
$kind?: "GasCoin" | undefined;
|
|
514
538
|
}, {
|
|
@@ -534,7 +558,7 @@ declare const TransactionDataSchema: ObjectSchema<{
|
|
|
534
558
|
}, {
|
|
535
559
|
NestedResult: [number, number];
|
|
536
560
|
$kind: "NestedResult";
|
|
537
|
-
}>], undefined>,
|
|
561
|
+
}>], undefined>, valibot575.ArraySchema<valibot575.UnionSchema<[GenericSchema<{
|
|
538
562
|
GasCoin: true;
|
|
539
563
|
$kind?: "GasCoin" | undefined;
|
|
540
564
|
}, {
|
|
@@ -561,7 +585,7 @@ declare const TransactionDataSchema: ObjectSchema<{
|
|
|
561
585
|
NestedResult: [number, number];
|
|
562
586
|
$kind: "NestedResult";
|
|
563
587
|
}>], undefined>, undefined>], undefined>, undefined>;
|
|
564
|
-
readonly data:
|
|
588
|
+
readonly data: valibot575.RecordSchema<valibot575.StringSchema<undefined>, valibot575.UnknownSchema, undefined>;
|
|
565
589
|
}, undefined>;
|
|
566
590
|
}>, undefined>;
|
|
567
591
|
}, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal.d.mts","names":[],"sources":["../../../src/transactions/data/internal.ts"],"mappings":";;;;;;;KA8BK,eAAA,WAA0B,MAAA,SAAe,aAAA,UAAuB,cAAA,CACpE,QAAA,eACa,CAAA,GAAI,UAAA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