@mysten/sui 1.2.1 → 1.3.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.
Files changed (190) hide show
  1. package/CHANGELOG.md +204 -84
  2. package/README.md +0 -44
  3. package/dist/cjs/bcs/bcs.d.ts +2 -2
  4. package/dist/cjs/bcs/bcs.js.map +2 -2
  5. package/dist/cjs/bcs/index.d.ts +20 -20
  6. package/dist/cjs/bcs/type-tag-serializer.js.map +1 -1
  7. package/dist/cjs/client/client.d.ts +5 -2
  8. package/dist/cjs/client/client.js +5 -0
  9. package/dist/cjs/client/client.js.map +2 -2
  10. package/dist/cjs/client/http-transport.js +14 -28
  11. package/dist/cjs/client/http-transport.js.map +1 -1
  12. package/dist/cjs/client/network.js.map +1 -1
  13. package/dist/cjs/client/rpc-websocket-client.d.ts +1 -8
  14. package/dist/cjs/client/rpc-websocket-client.js +14 -31
  15. package/dist/cjs/client/rpc-websocket-client.js.map +1 -1
  16. package/dist/cjs/cryptography/publickey.js +1 -2
  17. package/dist/cjs/cryptography/publickey.js.map +1 -1
  18. package/dist/cjs/faucet/faucet.js.map +1 -1
  19. package/dist/cjs/graphql/client.js +11 -22
  20. package/dist/cjs/graphql/client.js.map +2 -2
  21. package/dist/cjs/graphql/schemas/2024.1/index.d.ts +681 -681
  22. package/dist/cjs/graphql/schemas/2024.4/index.d.ts +682 -682
  23. package/dist/cjs/keypairs/ed25519/keypair.js.map +1 -1
  24. package/dist/cjs/keypairs/ed25519/publickey.js.map +1 -1
  25. package/dist/cjs/keypairs/secp256k1/publickey.js.map +1 -1
  26. package/dist/cjs/keypairs/secp256r1/publickey.js.map +1 -1
  27. package/dist/cjs/multisig/publickey.js.map +1 -1
  28. package/dist/cjs/multisig/signer.js +9 -20
  29. package/dist/cjs/multisig/signer.js.map +1 -1
  30. package/dist/cjs/transactions/Arguments.d.ts +988 -0
  31. package/dist/cjs/transactions/Arguments.js +32 -0
  32. package/dist/cjs/transactions/Arguments.js.map +7 -0
  33. package/dist/cjs/transactions/Commands.d.ts +19 -72
  34. package/dist/cjs/transactions/Commands.js.map +1 -1
  35. package/dist/cjs/transactions/ObjectCache.d.ts +1 -4
  36. package/dist/cjs/transactions/ObjectCache.js +8 -19
  37. package/dist/cjs/transactions/ObjectCache.js.map +1 -1
  38. package/dist/cjs/transactions/Transaction.d.ts +47 -49
  39. package/dist/cjs/transactions/Transaction.js +25 -51
  40. package/dist/cjs/transactions/Transaction.js.map +2 -2
  41. package/dist/cjs/transactions/TransactionData.d.ts +2 -2
  42. package/dist/cjs/transactions/TransactionData.js.map +2 -2
  43. package/dist/cjs/transactions/data/internal.d.ts +447 -2128
  44. package/dist/cjs/transactions/data/internal.js +32 -29
  45. package/dist/cjs/transactions/data/internal.js.map +2 -2
  46. package/dist/cjs/transactions/data/v1.d.ts +288 -1818
  47. package/dist/cjs/transactions/data/v1.js +80 -80
  48. package/dist/cjs/transactions/data/v1.js.map +2 -2
  49. package/dist/cjs/transactions/data/v2.d.ts +24 -192
  50. package/dist/cjs/transactions/data/v2.js +3 -3
  51. package/dist/cjs/transactions/data/v2.js.map +2 -2
  52. package/dist/cjs/transactions/executor/caching.d.ts +1 -0
  53. package/dist/cjs/transactions/executor/caching.js +23 -22
  54. package/dist/cjs/transactions/executor/caching.js.map +2 -2
  55. package/dist/cjs/transactions/executor/parallel.d.ts +1 -0
  56. package/dist/cjs/transactions/executor/parallel.js +36 -60
  57. package/dist/cjs/transactions/executor/parallel.js.map +2 -2
  58. package/dist/cjs/transactions/executor/queue.js +6 -13
  59. package/dist/cjs/transactions/executor/queue.js.map +1 -1
  60. package/dist/cjs/transactions/executor/serial.d.ts +2 -1
  61. package/dist/cjs/transactions/executor/serial.js +14 -40
  62. package/dist/cjs/transactions/executor/serial.js.map +2 -2
  63. package/dist/cjs/transactions/hash.js.map +1 -1
  64. package/dist/cjs/transactions/index.d.ts +1 -0
  65. package/dist/cjs/transactions/index.js +2 -2
  66. package/dist/cjs/transactions/index.js.map +2 -2
  67. package/dist/cjs/transactions/intents/CoinWithBalance.js.map +2 -2
  68. package/dist/cjs/transactions/json-rpc-resolver.js +1 -2
  69. package/dist/cjs/transactions/json-rpc-resolver.js.map +2 -2
  70. package/dist/cjs/transactions/pure.d.ts +25 -182
  71. package/dist/cjs/transactions/pure.js +58 -12
  72. package/dist/cjs/transactions/pure.js.map +3 -3
  73. package/dist/cjs/transactions/serializer.js.map +1 -1
  74. package/dist/cjs/utils/constants.js.map +1 -1
  75. package/dist/cjs/utils/format.js.map +1 -1
  76. package/dist/cjs/utils/sui-types.js +1 -2
  77. package/dist/cjs/utils/sui-types.js.map +2 -2
  78. package/dist/cjs/utils/suins.js.map +1 -1
  79. package/dist/cjs/verify/verify.js.map +1 -1
  80. package/dist/cjs/version.d.ts +2 -2
  81. package/dist/cjs/version.js +2 -2
  82. package/dist/cjs/version.js.map +1 -1
  83. package/dist/cjs/zklogin/jwt-utils.js.map +1 -1
  84. package/dist/cjs/zklogin/publickey.js +11 -22
  85. package/dist/cjs/zklogin/publickey.js.map +1 -1
  86. package/dist/esm/bcs/bcs.d.ts +2 -2
  87. package/dist/esm/bcs/bcs.js.map +2 -2
  88. package/dist/esm/bcs/index.d.ts +20 -20
  89. package/dist/esm/bcs/type-tag-serializer.js.map +1 -1
  90. package/dist/esm/client/client.d.ts +5 -2
  91. package/dist/esm/client/client.js +5 -0
  92. package/dist/esm/client/client.js.map +2 -2
  93. package/dist/esm/client/http-transport.js +13 -27
  94. package/dist/esm/client/http-transport.js.map +1 -1
  95. package/dist/esm/client/network.js.map +1 -1
  96. package/dist/esm/client/rpc-websocket-client.d.ts +1 -8
  97. package/dist/esm/client/rpc-websocket-client.js +13 -30
  98. package/dist/esm/client/rpc-websocket-client.js.map +1 -1
  99. package/dist/esm/cryptography/publickey.js +1 -2
  100. package/dist/esm/cryptography/publickey.js.map +1 -1
  101. package/dist/esm/faucet/faucet.js.map +1 -1
  102. package/dist/esm/graphql/client.js +10 -21
  103. package/dist/esm/graphql/client.js.map +2 -2
  104. package/dist/esm/graphql/schemas/2024.1/index.d.ts +681 -681
  105. package/dist/esm/graphql/schemas/2024.4/index.d.ts +682 -682
  106. package/dist/esm/keypairs/ed25519/keypair.js.map +1 -1
  107. package/dist/esm/keypairs/ed25519/publickey.js.map +1 -1
  108. package/dist/esm/keypairs/secp256k1/publickey.js.map +1 -1
  109. package/dist/esm/keypairs/secp256r1/publickey.js.map +1 -1
  110. package/dist/esm/multisig/publickey.js.map +1 -1
  111. package/dist/esm/multisig/signer.js +8 -19
  112. package/dist/esm/multisig/signer.js.map +1 -1
  113. package/dist/esm/transactions/Arguments.d.ts +988 -0
  114. package/dist/esm/transactions/Arguments.js +12 -0
  115. package/dist/esm/transactions/Arguments.js.map +7 -0
  116. package/dist/esm/transactions/Commands.d.ts +19 -72
  117. package/dist/esm/transactions/Commands.js.map +1 -1
  118. package/dist/esm/transactions/ObjectCache.d.ts +1 -4
  119. package/dist/esm/transactions/ObjectCache.js +7 -18
  120. package/dist/esm/transactions/ObjectCache.js.map +1 -1
  121. package/dist/esm/transactions/Transaction.d.ts +47 -49
  122. package/dist/esm/transactions/Transaction.js +24 -50
  123. package/dist/esm/transactions/Transaction.js.map +2 -2
  124. package/dist/esm/transactions/TransactionData.d.ts +2 -2
  125. package/dist/esm/transactions/TransactionData.js.map +2 -2
  126. package/dist/esm/transactions/data/internal.d.ts +447 -2128
  127. package/dist/esm/transactions/data/internal.js +35 -31
  128. package/dist/esm/transactions/data/internal.js.map +2 -2
  129. package/dist/esm/transactions/data/v1.d.ts +288 -1818
  130. package/dist/esm/transactions/data/v1.js +83 -82
  131. package/dist/esm/transactions/data/v1.js.map +2 -2
  132. package/dist/esm/transactions/data/v2.d.ts +24 -192
  133. package/dist/esm/transactions/data/v2.js +4 -3
  134. package/dist/esm/transactions/data/v2.js.map +2 -2
  135. package/dist/esm/transactions/executor/caching.d.ts +1 -0
  136. package/dist/esm/transactions/executor/caching.js +22 -21
  137. package/dist/esm/transactions/executor/caching.js.map +2 -2
  138. package/dist/esm/transactions/executor/parallel.d.ts +1 -0
  139. package/dist/esm/transactions/executor/parallel.js +35 -59
  140. package/dist/esm/transactions/executor/parallel.js.map +2 -2
  141. package/dist/esm/transactions/executor/queue.js +5 -12
  142. package/dist/esm/transactions/executor/queue.js.map +1 -1
  143. package/dist/esm/transactions/executor/serial.d.ts +2 -1
  144. package/dist/esm/transactions/executor/serial.js +13 -39
  145. package/dist/esm/transactions/executor/serial.js.map +2 -2
  146. package/dist/esm/transactions/hash.js.map +1 -1
  147. package/dist/esm/transactions/index.d.ts +1 -0
  148. package/dist/esm/transactions/index.js +2 -2
  149. package/dist/esm/transactions/index.js.map +2 -2
  150. package/dist/esm/transactions/intents/CoinWithBalance.js.map +2 -2
  151. package/dist/esm/transactions/json-rpc-resolver.js +1 -2
  152. package/dist/esm/transactions/json-rpc-resolver.js.map +2 -2
  153. package/dist/esm/transactions/pure.d.ts +25 -182
  154. package/dist/esm/transactions/pure.js +48 -2
  155. package/dist/esm/transactions/pure.js.map +2 -2
  156. package/dist/esm/transactions/serializer.js.map +1 -1
  157. package/dist/esm/utils/constants.js.map +1 -1
  158. package/dist/esm/utils/format.js.map +1 -1
  159. package/dist/esm/utils/sui-types.js +1 -2
  160. package/dist/esm/utils/sui-types.js.map +2 -2
  161. package/dist/esm/utils/suins.js.map +1 -1
  162. package/dist/esm/verify/verify.js.map +1 -1
  163. package/dist/esm/version.d.ts +2 -2
  164. package/dist/esm/version.js +2 -2
  165. package/dist/esm/version.js.map +1 -1
  166. package/dist/esm/zklogin/jwt-utils.js.map +1 -1
  167. package/dist/esm/zklogin/publickey.js +10 -21
  168. package/dist/esm/zklogin/publickey.js.map +1 -1
  169. package/dist/tsconfig.esm.tsbuildinfo +1 -1
  170. package/dist/tsconfig.tsbuildinfo +1 -1
  171. package/package.json +26 -26
  172. package/src/bcs/bcs.ts +2 -2
  173. package/src/client/client.ts +7 -4
  174. package/src/graphql/client.ts +1 -1
  175. package/src/transactions/Arguments.ts +23 -0
  176. package/src/transactions/Commands.ts +12 -12
  177. package/src/transactions/Transaction.ts +11 -11
  178. package/src/transactions/TransactionData.ts +4 -2
  179. package/src/transactions/data/internal.ts +52 -47
  180. package/src/transactions/data/v1.ts +102 -100
  181. package/src/transactions/data/v2.ts +9 -8
  182. package/src/transactions/executor/caching.ts +14 -2
  183. package/src/transactions/executor/parallel.ts +5 -1
  184. package/src/transactions/executor/serial.ts +3 -10
  185. package/src/transactions/index.ts +2 -0
  186. package/src/transactions/intents/CoinWithBalance.ts +2 -2
  187. package/src/transactions/json-rpc-resolver.ts +1 -1
  188. package/src/transactions/pure.ts +106 -4
  189. package/src/utils/sui-types.ts +1 -1
  190. package/src/version.ts +2 -2
@@ -1,100 +1,70 @@
1
1
  import type { EnumInputShape, EnumOutputShape } from '@mysten/bcs';
2
- import type { BaseSchema, Input, Output } from 'valibot';
2
+ import type { GenericSchema, InferInput, InferOutput } from 'valibot';
3
3
  type Merge<T> = T extends object ? {
4
4
  [K in keyof T]: T[K];
5
5
  } : never;
6
- type EnumSchema<T extends Record<string, BaseSchema<any>>> = BaseSchema<EnumInputShape<Merge<{
7
- [K in keyof T]: Input<T[K]>;
6
+ type EnumSchema<T extends Record<string, GenericSchema<any>>> = GenericSchema<EnumInputShape<Merge<{
7
+ [K in keyof T]: InferInput<T[K]>;
8
8
  }>>, EnumOutputShape<Merge<{
9
- [K in keyof T]: Output<T[K]>;
9
+ [K in keyof T]: InferOutput<T[K]>;
10
10
  }>>>;
11
- export declare function safeEnum<T extends Record<string, BaseSchema<any>>>(options: T): EnumSchema<T>;
12
- export declare const SuiAddress: import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>;
13
- export declare const ObjectID: import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>;
14
- export declare const BCSBytes: import("valibot").StringSchema<string>;
15
- export declare const JsonU64: import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>;
11
+ export declare function safeEnum<T extends Record<string, GenericSchema<any>>>(options: T): EnumSchema<T>;
12
+ export declare const SuiAddress: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
13
+ export declare const ObjectID: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
14
+ export declare const BCSBytes: import("valibot").StringSchema<undefined>;
15
+ export declare const JsonU64: import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
16
16
  export declare const ObjectRef: import("valibot").ObjectSchema<{
17
- objectId: import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>;
18
- version: import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>;
19
- digest: import("valibot").StringSchema<string>;
20
- }, undefined, {
21
- objectId: string;
22
- version: string | number;
23
- digest: string;
24
- }>;
25
- export type ObjectRef = Output<typeof ObjectRef>;
26
- export declare const Argument: BaseSchema<{
17
+ readonly objectId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
18
+ readonly version: import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
19
+ readonly digest: import("valibot").StringSchema<undefined>;
20
+ }, undefined>;
21
+ export type ObjectRef = InferOutput<typeof ObjectRef>;
22
+ export declare const Argument: GenericSchema<{
27
23
  GasCoin: true;
28
24
  } | {
29
25
  Input: number;
30
- type?: "object" | "pure" | undefined;
26
+ type?: "pure" | "object";
31
27
  } | {
32
28
  Result: number;
33
29
  } | {
34
30
  NestedResult: [number, number];
35
31
  }, {
36
- $kind: 'GasCoin';
32
+ $kind: "GasCoin";
37
33
  GasCoin: true;
38
34
  } | {
39
- $kind: 'Input';
35
+ $kind: "Input";
40
36
  Input: number;
41
- type?: "pure" | undefined;
37
+ type?: "pure";
42
38
  } | {
43
- $kind: 'Input';
39
+ $kind: "Input";
44
40
  Input: number;
45
- type?: "object" | undefined;
41
+ type?: "object";
46
42
  } | {
47
- $kind: 'Result';
43
+ $kind: "Result";
48
44
  Result: number;
49
45
  } | {
50
- $kind: 'NestedResult';
46
+ $kind: "NestedResult";
51
47
  NestedResult: [number, number];
52
48
  }>;
53
- export type Argument = Output<typeof Argument>;
49
+ export type Argument = InferOutput<typeof Argument>;
54
50
  export declare const GasData: import("valibot").ObjectSchema<{
55
- budget: import("valibot").NullableSchema<import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>, undefined, string | number | null>;
56
- price: import("valibot").NullableSchema<import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>, undefined, string | number | null>;
57
- owner: import("valibot").NullableSchema<import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>, undefined, string | null>;
58
- payment: import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
59
- objectId: import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>;
60
- version: import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>;
61
- digest: import("valibot").StringSchema<string>;
62
- }, undefined, {
63
- objectId: string;
64
- version: string | number;
65
- digest: string;
66
- }>, {
67
- objectId: string;
68
- version: string | number;
69
- digest: string;
70
- }[]>, undefined, {
71
- objectId: string;
72
- version: string | number;
73
- digest: string;
74
- }[] | null>;
75
- }, undefined, {
76
- payment: {
77
- objectId: string;
78
- version: string | number;
79
- digest: string;
80
- }[] | null;
81
- owner: string | null;
82
- price: string | number | null;
83
- budget: string | number | null;
84
- }>;
85
- export type GasData = Output<typeof GasData>;
51
+ readonly budget: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>, never>;
52
+ readonly price: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>, never>;
53
+ readonly owner: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>, never>;
54
+ readonly payment: import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
55
+ readonly objectId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
56
+ readonly version: import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
57
+ readonly digest: import("valibot").StringSchema<undefined>;
58
+ }, undefined>, undefined>, never>;
59
+ }, undefined>;
60
+ export type GasData = InferOutput<typeof GasData>;
86
61
  export declare const StructTag: import("valibot").ObjectSchema<{
87
- address: import("valibot").StringSchema<string>;
88
- module: import("valibot").StringSchema<string>;
89
- name: import("valibot").StringSchema<string>;
90
- typeParams: import("valibot").ArraySchema<import("valibot").StringSchema<string>, string[]>;
91
- }, undefined, {
92
- address: string;
93
- module: string;
94
- name: string;
95
- typeParams: string[];
96
- }>;
97
- export type StructTag = Output<typeof StructTag>;
62
+ readonly address: import("valibot").StringSchema<undefined>;
63
+ readonly module: import("valibot").StringSchema<undefined>;
64
+ readonly name: import("valibot").StringSchema<undefined>;
65
+ readonly typeParams: import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>;
66
+ }, undefined>;
67
+ export type StructTag = InferOutput<typeof StructTag>;
98
68
  export type OpenMoveTypeSignatureBody = 'address' | 'bool' | 'u8' | 'u16' | 'u32' | 'u64' | 'u128' | 'u256' | {
99
69
  vector: OpenMoveTypeSignatureBody;
100
70
  } | {
@@ -107,1037 +77,436 @@ export type OpenMoveTypeSignatureBody = 'address' | 'bool' | 'u8' | 'u16' | 'u32
107
77
  } | {
108
78
  typeParameter: number;
109
79
  };
110
- export declare const OpenMoveTypeSignatureBody: BaseSchema<OpenMoveTypeSignatureBody>;
80
+ export declare const OpenMoveTypeSignatureBody: GenericSchema<OpenMoveTypeSignatureBody>;
111
81
  export declare const OpenMoveTypeSignature: import("valibot").ObjectSchema<{
112
- ref: import("valibot").NullableSchema<import("valibot").UnionSchema<(import("valibot").LiteralSchema<"&", "&"> | import("valibot").LiteralSchema<"&mut", "&mut">)[], "&" | "&mut">, undefined, "&" | "&mut" | null>;
113
- body: BaseSchema<OpenMoveTypeSignatureBody>;
114
- }, undefined, {
115
- ref: "&" | "&mut" | null;
116
- body: OpenMoveTypeSignatureBody;
117
- }>;
118
- export type OpenMoveTypeSignature = Output<typeof OpenMoveTypeSignature>;
82
+ readonly ref: import("valibot").NullableSchema<import("valibot").UnionSchema<[import("valibot").LiteralSchema<"&", undefined>, import("valibot").LiteralSchema<"&mut", undefined>], undefined>, never>;
83
+ readonly body: GenericSchema<OpenMoveTypeSignatureBody, OpenMoveTypeSignatureBody, import("valibot").BaseIssue<unknown>>;
84
+ }, undefined>;
85
+ export type OpenMoveTypeSignature = InferOutput<typeof OpenMoveTypeSignature>;
119
86
  declare const ProgrammableMoveCall: import("valibot").ObjectSchema<{
120
- package: import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>;
121
- module: import("valibot").StringSchema<string>;
122
- function: import("valibot").StringSchema<string>;
123
- typeArguments: import("valibot").ArraySchema<import("valibot").StringSchema<string>, string[]>;
124
- arguments: import("valibot").ArraySchema<BaseSchema<{
87
+ readonly package: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
88
+ readonly module: import("valibot").StringSchema<undefined>;
89
+ readonly function: import("valibot").StringSchema<undefined>;
90
+ readonly typeArguments: import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>;
91
+ readonly arguments: import("valibot").ArraySchema<GenericSchema<{
125
92
  GasCoin: true;
126
93
  } | {
127
94
  Input: number;
128
- type?: "object" | "pure" | undefined;
95
+ type?: "pure" | "object";
129
96
  } | {
130
97
  Result: number;
131
98
  } | {
132
99
  NestedResult: [number, number];
133
100
  }, {
134
- $kind: 'GasCoin';
135
- GasCoin: true;
136
- } | {
137
- $kind: 'Input';
138
- Input: number;
139
- type?: "pure" | undefined;
140
- } | {
141
- $kind: 'Input';
142
- Input: number;
143
- type?: "object" | undefined;
144
- } | {
145
- $kind: 'Result';
146
- Result: number;
147
- } | {
148
- $kind: 'NestedResult';
149
- NestedResult: [number, number];
150
- }>, ({
151
- $kind: 'GasCoin';
152
- GasCoin: true;
153
- } | {
154
- $kind: 'Input';
155
- Input: number;
156
- type?: "pure" | undefined;
157
- } | {
158
- $kind: 'Input';
159
- Input: number;
160
- type?: "object" | undefined;
161
- } | {
162
- $kind: 'Result';
163
- Result: number;
164
- } | {
165
- $kind: 'NestedResult';
166
- NestedResult: [number, number];
167
- })[]>;
168
- _argumentTypes: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
169
- ref: import("valibot").NullableSchema<import("valibot").UnionSchema<(import("valibot").LiteralSchema<"&", "&"> | import("valibot").LiteralSchema<"&mut", "&mut">)[], "&" | "&mut">, undefined, "&" | "&mut" | null>;
170
- body: BaseSchema<OpenMoveTypeSignatureBody>;
171
- }, undefined, {
172
- ref: "&" | "&mut" | null;
173
- body: OpenMoveTypeSignatureBody;
174
- }>, {
175
- ref: "&" | "&mut" | null;
176
- body: OpenMoveTypeSignatureBody;
177
- }[]>, undefined, {
178
- ref: "&" | "&mut" | null;
179
- body: OpenMoveTypeSignatureBody;
180
- }[] | null>, undefined, {
181
- ref: "&" | "&mut" | null;
182
- body: OpenMoveTypeSignatureBody;
183
- }[] | null | undefined>;
184
- }, undefined, {
185
- function: string;
186
- module: string;
187
- package: string;
188
- typeArguments: string[];
189
- arguments: ({
190
- $kind: 'GasCoin';
101
+ $kind: "GasCoin";
191
102
  GasCoin: true;
192
103
  } | {
193
- $kind: 'Input';
104
+ $kind: "Input";
194
105
  Input: number;
195
- type?: "pure" | undefined;
106
+ type?: "pure";
196
107
  } | {
197
- $kind: 'Input';
108
+ $kind: "Input";
198
109
  Input: number;
199
- type?: "object" | undefined;
110
+ type?: "object";
200
111
  } | {
201
- $kind: 'Result';
112
+ $kind: "Result";
202
113
  Result: number;
203
114
  } | {
204
- $kind: 'NestedResult';
115
+ $kind: "NestedResult";
205
116
  NestedResult: [number, number];
206
- })[];
207
- _argumentTypes?: {
208
- ref: "&" | "&mut" | null;
209
- body: OpenMoveTypeSignatureBody;
210
- }[] | null | undefined;
211
- }>;
212
- export type ProgrammableMoveCall = Output<typeof ProgrammableMoveCall>;
117
+ }, import("valibot").BaseIssue<unknown>>, undefined>;
118
+ readonly _argumentTypes: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
119
+ readonly ref: import("valibot").NullableSchema<import("valibot").UnionSchema<[import("valibot").LiteralSchema<"&", undefined>, import("valibot").LiteralSchema<"&mut", undefined>], undefined>, never>;
120
+ readonly body: GenericSchema<OpenMoveTypeSignatureBody, OpenMoveTypeSignatureBody, import("valibot").BaseIssue<unknown>>;
121
+ }, undefined>, undefined>, never>, never>;
122
+ }, undefined>;
123
+ export type ProgrammableMoveCall = InferOutput<typeof ProgrammableMoveCall>;
213
124
  export declare const $Intent: import("valibot").ObjectSchema<{
214
- name: import("valibot").StringSchema<string>;
215
- inputs: import("valibot").RecordSchema<import("valibot").StringSchema<string>, import("valibot").UnionSchema<(BaseSchema<{
125
+ readonly name: import("valibot").StringSchema<undefined>;
126
+ readonly inputs: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").UnionSchema<[GenericSchema<{
216
127
  GasCoin: true;
217
128
  } | {
218
129
  Input: number;
219
- type?: "object" | "pure" | undefined;
130
+ type?: "pure" | "object";
220
131
  } | {
221
132
  Result: number;
222
133
  } | {
223
134
  NestedResult: [number, number];
224
135
  }, {
225
- $kind: 'GasCoin';
136
+ $kind: "GasCoin";
226
137
  GasCoin: true;
227
138
  } | {
228
- $kind: 'Input';
139
+ $kind: "Input";
229
140
  Input: number;
230
- type?: "pure" | undefined;
141
+ type?: "pure";
231
142
  } | {
232
- $kind: 'Input';
143
+ $kind: "Input";
233
144
  Input: number;
234
- type?: "object" | undefined;
145
+ type?: "object";
235
146
  } | {
236
- $kind: 'Result';
147
+ $kind: "Result";
237
148
  Result: number;
238
149
  } | {
239
- $kind: 'NestedResult';
150
+ $kind: "NestedResult";
240
151
  NestedResult: [number, number];
241
- }> | import("valibot").ArraySchema<BaseSchema<{
152
+ }, import("valibot").BaseIssue<unknown>>, import("valibot").ArraySchema<GenericSchema<{
242
153
  GasCoin: true;
243
154
  } | {
244
155
  Input: number;
245
- type?: "object" | "pure" | undefined;
156
+ type?: "pure" | "object";
246
157
  } | {
247
158
  Result: number;
248
159
  } | {
249
160
  NestedResult: [number, number];
250
161
  }, {
251
- $kind: 'GasCoin';
252
- GasCoin: true;
253
- } | {
254
- $kind: 'Input';
255
- Input: number;
256
- type?: "pure" | undefined;
257
- } | {
258
- $kind: 'Input';
259
- Input: number;
260
- type?: "object" | undefined;
261
- } | {
262
- $kind: 'Result';
263
- Result: number;
264
- } | {
265
- $kind: 'NestedResult';
266
- NestedResult: [number, number];
267
- }>, ({
268
- $kind: 'GasCoin';
162
+ $kind: "GasCoin";
269
163
  GasCoin: true;
270
164
  } | {
271
- $kind: 'Input';
165
+ $kind: "Input";
272
166
  Input: number;
273
- type?: "pure" | undefined;
167
+ type?: "pure";
274
168
  } | {
275
- $kind: 'Input';
169
+ $kind: "Input";
276
170
  Input: number;
277
- type?: "object" | undefined;
171
+ type?: "object";
278
172
  } | {
279
- $kind: 'Result';
173
+ $kind: "Result";
280
174
  Result: number;
281
175
  } | {
282
- $kind: 'NestedResult';
176
+ $kind: "NestedResult";
283
177
  NestedResult: [number, number];
284
- })[]>)[], {
285
- $kind: 'GasCoin';
286
- GasCoin: true;
287
- } | {
288
- $kind: 'Input';
289
- Input: number;
290
- type?: "pure" | undefined;
291
- } | {
292
- $kind: 'Input';
293
- Input: number;
294
- type?: "object" | undefined;
295
- } | {
296
- $kind: 'Result';
297
- Result: number;
298
- } | {
299
- $kind: 'NestedResult';
300
- NestedResult: [number, number];
301
- } | ({
302
- $kind: 'GasCoin';
303
- GasCoin: true;
304
- } | {
305
- $kind: 'Input';
306
- Input: number;
307
- type?: "pure" | undefined;
308
- } | {
309
- $kind: 'Input';
310
- Input: number;
311
- type?: "object" | undefined;
312
- } | {
313
- $kind: 'Result';
314
- Result: number;
315
- } | {
316
- $kind: 'NestedResult';
317
- NestedResult: [number, number];
318
- })[]>, {
319
- [x: string]: {
320
- $kind: 'GasCoin';
321
- GasCoin: true;
322
- } | {
323
- $kind: 'Input';
324
- Input: number;
325
- type?: "pure" | undefined;
326
- } | {
327
- $kind: 'Input';
328
- Input: number;
329
- type?: "object" | undefined;
330
- } | {
331
- $kind: 'Result';
332
- Result: number;
333
- } | {
334
- $kind: 'NestedResult';
335
- NestedResult: [number, number];
336
- } | ({
337
- $kind: 'GasCoin';
338
- GasCoin: true;
339
- } | {
340
- $kind: 'Input';
341
- Input: number;
342
- type?: "pure" | undefined;
343
- } | {
344
- $kind: 'Input';
345
- Input: number;
346
- type?: "object" | undefined;
347
- } | {
348
- $kind: 'Result';
349
- Result: number;
350
- } | {
351
- $kind: 'NestedResult';
352
- NestedResult: [number, number];
353
- })[];
354
- }>;
355
- data: import("valibot").RecordSchema<import("valibot").StringSchema<string>, import("valibot").UnknownSchema<unknown>, {
356
- [x: string]: unknown;
357
- }>;
358
- }, undefined, {
359
- name: string;
360
- inputs: {
361
- [x: string]: {
362
- $kind: 'GasCoin';
363
- GasCoin: true;
364
- } | {
365
- $kind: 'Input';
366
- Input: number;
367
- type?: "pure" | undefined;
368
- } | {
369
- $kind: 'Input';
370
- Input: number;
371
- type?: "object" | undefined;
372
- } | {
373
- $kind: 'Result';
374
- Result: number;
375
- } | {
376
- $kind: 'NestedResult';
377
- NestedResult: [number, number];
378
- } | ({
379
- $kind: 'GasCoin';
380
- GasCoin: true;
381
- } | {
382
- $kind: 'Input';
383
- Input: number;
384
- type?: "pure" | undefined;
385
- } | {
386
- $kind: 'Input';
387
- Input: number;
388
- type?: "object" | undefined;
389
- } | {
390
- $kind: 'Result';
391
- Result: number;
392
- } | {
393
- $kind: 'NestedResult';
394
- NestedResult: [number, number];
395
- })[];
396
- };
397
- data: {
398
- [x: string]: unknown;
399
- };
400
- }>;
178
+ }, import("valibot").BaseIssue<unknown>>, undefined>], undefined>, undefined>;
179
+ readonly data: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").UnknownSchema, undefined>;
180
+ }, undefined>;
401
181
  export declare const Command: EnumSchema<{
402
182
  MoveCall: import("valibot").ObjectSchema<{
403
- package: import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>;
404
- module: import("valibot").StringSchema<string>;
405
- function: import("valibot").StringSchema<string>;
406
- typeArguments: import("valibot").ArraySchema<import("valibot").StringSchema<string>, string[]>;
407
- arguments: import("valibot").ArraySchema<BaseSchema<{
183
+ readonly package: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
184
+ readonly module: import("valibot").StringSchema<undefined>;
185
+ readonly function: import("valibot").StringSchema<undefined>;
186
+ readonly typeArguments: import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>;
187
+ readonly arguments: import("valibot").ArraySchema<GenericSchema<{
408
188
  GasCoin: true;
409
189
  } | {
410
190
  Input: number;
411
- type?: "object" | "pure" | undefined;
191
+ type?: "pure" | "object";
412
192
  } | {
413
193
  Result: number;
414
194
  } | {
415
195
  NestedResult: [number, number];
416
196
  }, {
417
- $kind: 'GasCoin';
418
- GasCoin: true;
419
- } | {
420
- $kind: 'Input';
421
- Input: number;
422
- type?: "pure" | undefined;
423
- } | {
424
- $kind: 'Input';
425
- Input: number;
426
- type?: "object" | undefined;
427
- } | {
428
- $kind: 'Result';
429
- Result: number;
430
- } | {
431
- $kind: 'NestedResult';
432
- NestedResult: [number, number];
433
- }>, ({
434
- $kind: 'GasCoin';
435
- GasCoin: true;
436
- } | {
437
- $kind: 'Input';
438
- Input: number;
439
- type?: "pure" | undefined;
440
- } | {
441
- $kind: 'Input';
442
- Input: number;
443
- type?: "object" | undefined;
444
- } | {
445
- $kind: 'Result';
446
- Result: number;
447
- } | {
448
- $kind: 'NestedResult';
449
- NestedResult: [number, number];
450
- })[]>;
451
- _argumentTypes: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
452
- ref: import("valibot").NullableSchema<import("valibot").UnionSchema<(import("valibot").LiteralSchema<"&", "&"> | import("valibot").LiteralSchema<"&mut", "&mut">)[], "&" | "&mut">, undefined, "&" | "&mut" | null>;
453
- body: BaseSchema<OpenMoveTypeSignatureBody>;
454
- }, undefined, {
455
- ref: "&" | "&mut" | null;
456
- body: OpenMoveTypeSignatureBody;
457
- }>, {
458
- ref: "&" | "&mut" | null;
459
- body: OpenMoveTypeSignatureBody;
460
- }[]>, undefined, {
461
- ref: "&" | "&mut" | null;
462
- body: OpenMoveTypeSignatureBody;
463
- }[] | null>, undefined, {
464
- ref: "&" | "&mut" | null;
465
- body: OpenMoveTypeSignatureBody;
466
- }[] | null | undefined>;
467
- }, undefined, {
468
- function: string;
469
- module: string;
470
- package: string;
471
- typeArguments: string[];
472
- arguments: ({
473
- $kind: 'GasCoin';
197
+ $kind: "GasCoin";
474
198
  GasCoin: true;
475
199
  } | {
476
- $kind: 'Input';
200
+ $kind: "Input";
477
201
  Input: number;
478
- type?: "pure" | undefined;
202
+ type?: "pure";
479
203
  } | {
480
- $kind: 'Input';
204
+ $kind: "Input";
481
205
  Input: number;
482
- type?: "object" | undefined;
206
+ type?: "object";
483
207
  } | {
484
- $kind: 'Result';
208
+ $kind: "Result";
485
209
  Result: number;
486
210
  } | {
487
- $kind: 'NestedResult';
211
+ $kind: "NestedResult";
488
212
  NestedResult: [number, number];
489
- })[];
490
- _argumentTypes?: {
491
- ref: "&" | "&mut" | null;
492
- body: OpenMoveTypeSignatureBody;
493
- }[] | null | undefined;
494
- }>;
213
+ }, import("valibot").BaseIssue<unknown>>, undefined>;
214
+ readonly _argumentTypes: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
215
+ readonly ref: import("valibot").NullableSchema<import("valibot").UnionSchema<[import("valibot").LiteralSchema<"&", undefined>, import("valibot").LiteralSchema<"&mut", undefined>], undefined>, never>;
216
+ readonly body: GenericSchema<OpenMoveTypeSignatureBody, OpenMoveTypeSignatureBody, import("valibot").BaseIssue<unknown>>;
217
+ }, undefined>, undefined>, never>, never>;
218
+ }, undefined>;
495
219
  TransferObjects: import("valibot").ObjectSchema<{
496
- objects: import("valibot").ArraySchema<BaseSchema<{
220
+ readonly objects: import("valibot").ArraySchema<GenericSchema<{
497
221
  GasCoin: true;
498
222
  } | {
499
223
  Input: number;
500
- type?: "object" | "pure" | undefined;
224
+ type?: "pure" | "object";
501
225
  } | {
502
226
  Result: number;
503
227
  } | {
504
228
  NestedResult: [number, number];
505
229
  }, {
506
- $kind: 'GasCoin';
507
- GasCoin: true;
508
- } | {
509
- $kind: 'Input';
510
- Input: number;
511
- type?: "pure" | undefined;
512
- } | {
513
- $kind: 'Input';
514
- Input: number;
515
- type?: "object" | undefined;
516
- } | {
517
- $kind: 'Result';
518
- Result: number;
519
- } | {
520
- $kind: 'NestedResult';
521
- NestedResult: [number, number];
522
- }>, ({
523
- $kind: 'GasCoin';
230
+ $kind: "GasCoin";
524
231
  GasCoin: true;
525
232
  } | {
526
- $kind: 'Input';
233
+ $kind: "Input";
527
234
  Input: number;
528
- type?: "pure" | undefined;
235
+ type?: "pure";
529
236
  } | {
530
- $kind: 'Input';
237
+ $kind: "Input";
531
238
  Input: number;
532
- type?: "object" | undefined;
239
+ type?: "object";
533
240
  } | {
534
- $kind: 'Result';
241
+ $kind: "Result";
535
242
  Result: number;
536
243
  } | {
537
- $kind: 'NestedResult';
244
+ $kind: "NestedResult";
538
245
  NestedResult: [number, number];
539
- })[]>;
540
- address: BaseSchema<{
246
+ }, import("valibot").BaseIssue<unknown>>, undefined>;
247
+ readonly address: GenericSchema<{
541
248
  GasCoin: true;
542
249
  } | {
543
250
  Input: number;
544
- type?: "object" | "pure" | undefined;
251
+ type?: "pure" | "object";
545
252
  } | {
546
253
  Result: number;
547
254
  } | {
548
255
  NestedResult: [number, number];
549
256
  }, {
550
- $kind: 'GasCoin';
551
- GasCoin: true;
552
- } | {
553
- $kind: 'Input';
554
- Input: number;
555
- type?: "pure" | undefined;
556
- } | {
557
- $kind: 'Input';
558
- Input: number;
559
- type?: "object" | undefined;
560
- } | {
561
- $kind: 'Result';
562
- Result: number;
563
- } | {
564
- $kind: 'NestedResult';
565
- NestedResult: [number, number];
566
- }>;
567
- }, undefined, {
568
- address: {
569
- $kind: 'GasCoin';
570
- GasCoin: true;
571
- } | {
572
- $kind: 'Input';
573
- Input: number;
574
- type?: "pure" | undefined;
575
- } | {
576
- $kind: 'Input';
577
- Input: number;
578
- type?: "object" | undefined;
579
- } | {
580
- $kind: 'Result';
581
- Result: number;
582
- } | {
583
- $kind: 'NestedResult';
584
- NestedResult: [number, number];
585
- };
586
- objects: ({
587
- $kind: 'GasCoin';
257
+ $kind: "GasCoin";
588
258
  GasCoin: true;
589
259
  } | {
590
- $kind: 'Input';
260
+ $kind: "Input";
591
261
  Input: number;
592
- type?: "pure" | undefined;
262
+ type?: "pure";
593
263
  } | {
594
- $kind: 'Input';
264
+ $kind: "Input";
595
265
  Input: number;
596
- type?: "object" | undefined;
266
+ type?: "object";
597
267
  } | {
598
- $kind: 'Result';
268
+ $kind: "Result";
599
269
  Result: number;
600
270
  } | {
601
- $kind: 'NestedResult';
271
+ $kind: "NestedResult";
602
272
  NestedResult: [number, number];
603
- })[];
604
- }>;
273
+ }, import("valibot").BaseIssue<unknown>>;
274
+ }, undefined>;
605
275
  SplitCoins: import("valibot").ObjectSchema<{
606
- coin: BaseSchema<{
276
+ readonly coin: GenericSchema<{
607
277
  GasCoin: true;
608
278
  } | {
609
279
  Input: number;
610
- type?: "object" | "pure" | undefined;
280
+ type?: "pure" | "object";
611
281
  } | {
612
282
  Result: number;
613
283
  } | {
614
284
  NestedResult: [number, number];
615
285
  }, {
616
- $kind: 'GasCoin';
286
+ $kind: "GasCoin";
617
287
  GasCoin: true;
618
288
  } | {
619
- $kind: 'Input';
289
+ $kind: "Input";
620
290
  Input: number;
621
- type?: "pure" | undefined;
291
+ type?: "pure";
622
292
  } | {
623
- $kind: 'Input';
293
+ $kind: "Input";
624
294
  Input: number;
625
- type?: "object" | undefined;
295
+ type?: "object";
626
296
  } | {
627
- $kind: 'Result';
297
+ $kind: "Result";
628
298
  Result: number;
629
299
  } | {
630
- $kind: 'NestedResult';
300
+ $kind: "NestedResult";
631
301
  NestedResult: [number, number];
632
- }>;
633
- amounts: import("valibot").ArraySchema<BaseSchema<{
302
+ }, import("valibot").BaseIssue<unknown>>;
303
+ readonly amounts: import("valibot").ArraySchema<GenericSchema<{
634
304
  GasCoin: true;
635
305
  } | {
636
306
  Input: number;
637
- type?: "object" | "pure" | undefined;
307
+ type?: "pure" | "object";
638
308
  } | {
639
309
  Result: number;
640
310
  } | {
641
311
  NestedResult: [number, number];
642
312
  }, {
643
- $kind: 'GasCoin';
644
- GasCoin: true;
645
- } | {
646
- $kind: 'Input';
647
- Input: number;
648
- type?: "pure" | undefined;
649
- } | {
650
- $kind: 'Input';
651
- Input: number;
652
- type?: "object" | undefined;
653
- } | {
654
- $kind: 'Result';
655
- Result: number;
656
- } | {
657
- $kind: 'NestedResult';
658
- NestedResult: [number, number];
659
- }>, ({
660
- $kind: 'GasCoin';
661
- GasCoin: true;
662
- } | {
663
- $kind: 'Input';
664
- Input: number;
665
- type?: "pure" | undefined;
666
- } | {
667
- $kind: 'Input';
668
- Input: number;
669
- type?: "object" | undefined;
670
- } | {
671
- $kind: 'Result';
672
- Result: number;
673
- } | {
674
- $kind: 'NestedResult';
675
- NestedResult: [number, number];
676
- })[]>;
677
- }, undefined, {
678
- coin: {
679
- $kind: 'GasCoin';
680
- GasCoin: true;
681
- } | {
682
- $kind: 'Input';
683
- Input: number;
684
- type?: "pure" | undefined;
685
- } | {
686
- $kind: 'Input';
687
- Input: number;
688
- type?: "object" | undefined;
689
- } | {
690
- $kind: 'Result';
691
- Result: number;
692
- } | {
693
- $kind: 'NestedResult';
694
- NestedResult: [number, number];
695
- };
696
- amounts: ({
697
- $kind: 'GasCoin';
313
+ $kind: "GasCoin";
698
314
  GasCoin: true;
699
315
  } | {
700
- $kind: 'Input';
316
+ $kind: "Input";
701
317
  Input: number;
702
- type?: "pure" | undefined;
318
+ type?: "pure";
703
319
  } | {
704
- $kind: 'Input';
320
+ $kind: "Input";
705
321
  Input: number;
706
- type?: "object" | undefined;
322
+ type?: "object";
707
323
  } | {
708
- $kind: 'Result';
324
+ $kind: "Result";
709
325
  Result: number;
710
326
  } | {
711
- $kind: 'NestedResult';
327
+ $kind: "NestedResult";
712
328
  NestedResult: [number, number];
713
- })[];
714
- }>;
329
+ }, import("valibot").BaseIssue<unknown>>, undefined>;
330
+ }, undefined>;
715
331
  MergeCoins: import("valibot").ObjectSchema<{
716
- destination: BaseSchema<{
332
+ readonly destination: GenericSchema<{
717
333
  GasCoin: true;
718
334
  } | {
719
335
  Input: number;
720
- type?: "object" | "pure" | undefined;
336
+ type?: "pure" | "object";
721
337
  } | {
722
338
  Result: number;
723
339
  } | {
724
340
  NestedResult: [number, number];
725
341
  }, {
726
- $kind: 'GasCoin';
342
+ $kind: "GasCoin";
727
343
  GasCoin: true;
728
344
  } | {
729
- $kind: 'Input';
345
+ $kind: "Input";
730
346
  Input: number;
731
- type?: "pure" | undefined;
347
+ type?: "pure";
732
348
  } | {
733
- $kind: 'Input';
349
+ $kind: "Input";
734
350
  Input: number;
735
- type?: "object" | undefined;
351
+ type?: "object";
736
352
  } | {
737
- $kind: 'Result';
353
+ $kind: "Result";
738
354
  Result: number;
739
355
  } | {
740
- $kind: 'NestedResult';
356
+ $kind: "NestedResult";
741
357
  NestedResult: [number, number];
742
- }>;
743
- sources: import("valibot").ArraySchema<BaseSchema<{
358
+ }, import("valibot").BaseIssue<unknown>>;
359
+ readonly sources: import("valibot").ArraySchema<GenericSchema<{
744
360
  GasCoin: true;
745
361
  } | {
746
362
  Input: number;
747
- type?: "object" | "pure" | undefined;
363
+ type?: "pure" | "object";
748
364
  } | {
749
365
  Result: number;
750
366
  } | {
751
367
  NestedResult: [number, number];
752
368
  }, {
753
- $kind: 'GasCoin';
754
- GasCoin: true;
755
- } | {
756
- $kind: 'Input';
757
- Input: number;
758
- type?: "pure" | undefined;
759
- } | {
760
- $kind: 'Input';
761
- Input: number;
762
- type?: "object" | undefined;
763
- } | {
764
- $kind: 'Result';
765
- Result: number;
766
- } | {
767
- $kind: 'NestedResult';
768
- NestedResult: [number, number];
769
- }>, ({
770
- $kind: 'GasCoin';
771
- GasCoin: true;
772
- } | {
773
- $kind: 'Input';
774
- Input: number;
775
- type?: "pure" | undefined;
776
- } | {
777
- $kind: 'Input';
778
- Input: number;
779
- type?: "object" | undefined;
780
- } | {
781
- $kind: 'Result';
782
- Result: number;
783
- } | {
784
- $kind: 'NestedResult';
785
- NestedResult: [number, number];
786
- })[]>;
787
- }, undefined, {
788
- destination: {
789
- $kind: 'GasCoin';
790
- GasCoin: true;
791
- } | {
792
- $kind: 'Input';
793
- Input: number;
794
- type?: "pure" | undefined;
795
- } | {
796
- $kind: 'Input';
797
- Input: number;
798
- type?: "object" | undefined;
799
- } | {
800
- $kind: 'Result';
801
- Result: number;
802
- } | {
803
- $kind: 'NestedResult';
804
- NestedResult: [number, number];
805
- };
806
- sources: ({
807
- $kind: 'GasCoin';
369
+ $kind: "GasCoin";
808
370
  GasCoin: true;
809
371
  } | {
810
- $kind: 'Input';
372
+ $kind: "Input";
811
373
  Input: number;
812
- type?: "pure" | undefined;
374
+ type?: "pure";
813
375
  } | {
814
- $kind: 'Input';
376
+ $kind: "Input";
815
377
  Input: number;
816
- type?: "object" | undefined;
378
+ type?: "object";
817
379
  } | {
818
- $kind: 'Result';
380
+ $kind: "Result";
819
381
  Result: number;
820
382
  } | {
821
- $kind: 'NestedResult';
383
+ $kind: "NestedResult";
822
384
  NestedResult: [number, number];
823
- })[];
824
- }>;
385
+ }, import("valibot").BaseIssue<unknown>>, undefined>;
386
+ }, undefined>;
825
387
  Publish: import("valibot").ObjectSchema<{
826
- modules: import("valibot").ArraySchema<import("valibot").StringSchema<string>, string[]>;
827
- dependencies: import("valibot").ArraySchema<import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>, string[]>;
828
- }, undefined, {
829
- modules: string[];
830
- dependencies: string[];
831
- }>;
388
+ readonly modules: import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>;
389
+ readonly dependencies: import("valibot").ArraySchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>, undefined>;
390
+ }, undefined>;
832
391
  MakeMoveVec: import("valibot").ObjectSchema<{
833
- type: import("valibot").NullableSchema<import("valibot").StringSchema<string>, undefined, string | null>;
834
- elements: import("valibot").ArraySchema<BaseSchema<{
392
+ readonly type: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, never>;
393
+ readonly elements: import("valibot").ArraySchema<GenericSchema<{
835
394
  GasCoin: true;
836
395
  } | {
837
396
  Input: number;
838
- type?: "object" | "pure" | undefined;
397
+ type?: "pure" | "object";
839
398
  } | {
840
399
  Result: number;
841
400
  } | {
842
401
  NestedResult: [number, number];
843
402
  }, {
844
- $kind: 'GasCoin';
845
- GasCoin: true;
846
- } | {
847
- $kind: 'Input';
848
- Input: number;
849
- type?: "pure" | undefined;
850
- } | {
851
- $kind: 'Input';
852
- Input: number;
853
- type?: "object" | undefined;
854
- } | {
855
- $kind: 'Result';
856
- Result: number;
857
- } | {
858
- $kind: 'NestedResult';
859
- NestedResult: [number, number];
860
- }>, ({
861
- $kind: 'GasCoin';
862
- GasCoin: true;
863
- } | {
864
- $kind: 'Input';
865
- Input: number;
866
- type?: "pure" | undefined;
867
- } | {
868
- $kind: 'Input';
869
- Input: number;
870
- type?: "object" | undefined;
871
- } | {
872
- $kind: 'Result';
873
- Result: number;
874
- } | {
875
- $kind: 'NestedResult';
876
- NestedResult: [number, number];
877
- })[]>;
878
- }, undefined, {
879
- type: string | null;
880
- elements: ({
881
- $kind: 'GasCoin';
403
+ $kind: "GasCoin";
882
404
  GasCoin: true;
883
405
  } | {
884
- $kind: 'Input';
406
+ $kind: "Input";
885
407
  Input: number;
886
- type?: "pure" | undefined;
408
+ type?: "pure";
887
409
  } | {
888
- $kind: 'Input';
410
+ $kind: "Input";
889
411
  Input: number;
890
- type?: "object" | undefined;
412
+ type?: "object";
891
413
  } | {
892
- $kind: 'Result';
414
+ $kind: "Result";
893
415
  Result: number;
894
416
  } | {
895
- $kind: 'NestedResult';
417
+ $kind: "NestedResult";
896
418
  NestedResult: [number, number];
897
- })[];
898
- }>;
419
+ }, import("valibot").BaseIssue<unknown>>, undefined>;
420
+ }, undefined>;
899
421
  Upgrade: import("valibot").ObjectSchema<{
900
- modules: import("valibot").ArraySchema<import("valibot").StringSchema<string>, string[]>;
901
- dependencies: import("valibot").ArraySchema<import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>, string[]>;
902
- package: import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>;
903
- ticket: BaseSchema<{
422
+ readonly modules: import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>;
423
+ readonly dependencies: import("valibot").ArraySchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>, undefined>;
424
+ readonly package: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
425
+ readonly ticket: GenericSchema<{
904
426
  GasCoin: true;
905
427
  } | {
906
428
  Input: number;
907
- type?: "object" | "pure" | undefined;
429
+ type?: "pure" | "object";
908
430
  } | {
909
431
  Result: number;
910
432
  } | {
911
433
  NestedResult: [number, number];
912
434
  }, {
913
- $kind: 'GasCoin';
435
+ $kind: "GasCoin";
914
436
  GasCoin: true;
915
437
  } | {
916
- $kind: 'Input';
438
+ $kind: "Input";
917
439
  Input: number;
918
- type?: "pure" | undefined;
440
+ type?: "pure";
919
441
  } | {
920
- $kind: 'Input';
442
+ $kind: "Input";
921
443
  Input: number;
922
- type?: "object" | undefined;
444
+ type?: "object";
923
445
  } | {
924
- $kind: 'Result';
446
+ $kind: "Result";
925
447
  Result: number;
926
448
  } | {
927
- $kind: 'NestedResult';
449
+ $kind: "NestedResult";
928
450
  NestedResult: [number, number];
929
- }>;
930
- }, undefined, {
931
- package: string;
932
- modules: string[];
933
- dependencies: string[];
934
- ticket: {
935
- $kind: 'GasCoin';
936
- GasCoin: true;
937
- } | {
938
- $kind: 'Input';
939
- Input: number;
940
- type?: "pure" | undefined;
941
- } | {
942
- $kind: 'Input';
943
- Input: number;
944
- type?: "object" | undefined;
945
- } | {
946
- $kind: 'Result';
947
- Result: number;
948
- } | {
949
- $kind: 'NestedResult';
950
- NestedResult: [number, number];
951
- };
952
- }>;
451
+ }, import("valibot").BaseIssue<unknown>>;
452
+ }, undefined>;
953
453
  $Intent: import("valibot").ObjectSchema<{
954
- name: import("valibot").StringSchema<string>;
955
- inputs: import("valibot").RecordSchema<import("valibot").StringSchema<string>, import("valibot").UnionSchema<(BaseSchema<{
454
+ readonly name: import("valibot").StringSchema<undefined>;
455
+ readonly inputs: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").UnionSchema<[GenericSchema<{
956
456
  GasCoin: true;
957
457
  } | {
958
458
  Input: number;
959
- type?: "object" | "pure" | undefined;
459
+ type?: "pure" | "object";
960
460
  } | {
961
461
  Result: number;
962
462
  } | {
963
463
  NestedResult: [number, number];
964
464
  }, {
965
- $kind: 'GasCoin';
465
+ $kind: "GasCoin";
966
466
  GasCoin: true;
967
467
  } | {
968
- $kind: 'Input';
468
+ $kind: "Input";
969
469
  Input: number;
970
- type?: "pure" | undefined;
470
+ type?: "pure";
971
471
  } | {
972
- $kind: 'Input';
472
+ $kind: "Input";
973
473
  Input: number;
974
- type?: "object" | undefined;
474
+ type?: "object";
975
475
  } | {
976
- $kind: 'Result';
476
+ $kind: "Result";
977
477
  Result: number;
978
478
  } | {
979
- $kind: 'NestedResult';
479
+ $kind: "NestedResult";
980
480
  NestedResult: [number, number];
981
- }> | import("valibot").ArraySchema<BaseSchema<{
481
+ }, import("valibot").BaseIssue<unknown>>, import("valibot").ArraySchema<GenericSchema<{
982
482
  GasCoin: true;
983
483
  } | {
984
484
  Input: number;
985
- type?: "object" | "pure" | undefined;
485
+ type?: "pure" | "object";
986
486
  } | {
987
487
  Result: number;
988
488
  } | {
989
489
  NestedResult: [number, number];
990
490
  }, {
991
- $kind: 'GasCoin';
992
- GasCoin: true;
993
- } | {
994
- $kind: 'Input';
995
- Input: number;
996
- type?: "pure" | undefined;
997
- } | {
998
- $kind: 'Input';
999
- Input: number;
1000
- type?: "object" | undefined;
1001
- } | {
1002
- $kind: 'Result';
1003
- Result: number;
1004
- } | {
1005
- $kind: 'NestedResult';
1006
- NestedResult: [number, number];
1007
- }>, ({
1008
- $kind: 'GasCoin';
1009
- GasCoin: true;
1010
- } | {
1011
- $kind: 'Input';
1012
- Input: number;
1013
- type?: "pure" | undefined;
1014
- } | {
1015
- $kind: 'Input';
1016
- Input: number;
1017
- type?: "object" | undefined;
1018
- } | {
1019
- $kind: 'Result';
1020
- Result: number;
1021
- } | {
1022
- $kind: 'NestedResult';
1023
- NestedResult: [number, number];
1024
- })[]>)[], {
1025
- $kind: 'GasCoin';
491
+ $kind: "GasCoin";
1026
492
  GasCoin: true;
1027
493
  } | {
1028
- $kind: 'Input';
494
+ $kind: "Input";
1029
495
  Input: number;
1030
- type?: "pure" | undefined;
496
+ type?: "pure";
1031
497
  } | {
1032
- $kind: 'Input';
498
+ $kind: "Input";
1033
499
  Input: number;
1034
- type?: "object" | undefined;
500
+ type?: "object";
1035
501
  } | {
1036
- $kind: 'Result';
502
+ $kind: "Result";
1037
503
  Result: number;
1038
504
  } | {
1039
- $kind: 'NestedResult';
505
+ $kind: "NestedResult";
1040
506
  NestedResult: [number, number];
1041
- } | ({
1042
- $kind: 'GasCoin';
1043
- GasCoin: true;
1044
- } | {
1045
- $kind: 'Input';
1046
- Input: number;
1047
- type?: "pure" | undefined;
1048
- } | {
1049
- $kind: 'Input';
1050
- Input: number;
1051
- type?: "object" | undefined;
1052
- } | {
1053
- $kind: 'Result';
1054
- Result: number;
1055
- } | {
1056
- $kind: 'NestedResult';
1057
- NestedResult: [number, number];
1058
- })[]>, {
1059
- [x: string]: {
1060
- $kind: 'GasCoin';
1061
- GasCoin: true;
1062
- } | {
1063
- $kind: 'Input';
1064
- Input: number;
1065
- type?: "pure" | undefined;
1066
- } | {
1067
- $kind: 'Input';
1068
- Input: number;
1069
- type?: "object" | undefined;
1070
- } | {
1071
- $kind: 'Result';
1072
- Result: number;
1073
- } | {
1074
- $kind: 'NestedResult';
1075
- NestedResult: [number, number];
1076
- } | ({
1077
- $kind: 'GasCoin';
1078
- GasCoin: true;
1079
- } | {
1080
- $kind: 'Input';
1081
- Input: number;
1082
- type?: "pure" | undefined;
1083
- } | {
1084
- $kind: 'Input';
1085
- Input: number;
1086
- type?: "object" | undefined;
1087
- } | {
1088
- $kind: 'Result';
1089
- Result: number;
1090
- } | {
1091
- $kind: 'NestedResult';
1092
- NestedResult: [number, number];
1093
- })[];
1094
- }>;
1095
- data: import("valibot").RecordSchema<import("valibot").StringSchema<string>, import("valibot").UnknownSchema<unknown>, {
1096
- [x: string]: unknown;
1097
- }>;
1098
- }, undefined, {
1099
- name: string;
1100
- inputs: {
1101
- [x: string]: {
1102
- $kind: 'GasCoin';
1103
- GasCoin: true;
1104
- } | {
1105
- $kind: 'Input';
1106
- Input: number;
1107
- type?: "pure" | undefined;
1108
- } | {
1109
- $kind: 'Input';
1110
- Input: number;
1111
- type?: "object" | undefined;
1112
- } | {
1113
- $kind: 'Result';
1114
- Result: number;
1115
- } | {
1116
- $kind: 'NestedResult';
1117
- NestedResult: [number, number];
1118
- } | ({
1119
- $kind: 'GasCoin';
1120
- GasCoin: true;
1121
- } | {
1122
- $kind: 'Input';
1123
- Input: number;
1124
- type?: "pure" | undefined;
1125
- } | {
1126
- $kind: 'Input';
1127
- Input: number;
1128
- type?: "object" | undefined;
1129
- } | {
1130
- $kind: 'Result';
1131
- Result: number;
1132
- } | {
1133
- $kind: 'NestedResult';
1134
- NestedResult: [number, number];
1135
- })[];
1136
- };
1137
- data: {
1138
- [x: string]: unknown;
1139
- };
1140
- }>;
507
+ }, import("valibot").BaseIssue<unknown>>, undefined>], undefined>, undefined>;
508
+ readonly data: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").UnknownSchema, undefined>;
509
+ }, undefined>;
1141
510
  }>;
1142
511
  export type Command<Arg = Argument> = EnumOutputShape<{
1143
512
  MoveCall: {
@@ -1182,1508 +551,458 @@ export type Command<Arg = Argument> = EnumOutputShape<{
1182
551
  }>;
1183
552
  export declare const ObjectArg: EnumSchema<{
1184
553
  ImmOrOwnedObject: import("valibot").ObjectSchema<{
1185
- objectId: import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>;
1186
- version: import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>;
1187
- digest: import("valibot").StringSchema<string>;
1188
- }, undefined, {
1189
- objectId: string;
1190
- version: string | number;
1191
- digest: string;
1192
- }>;
554
+ readonly objectId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
555
+ readonly version: import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
556
+ readonly digest: import("valibot").StringSchema<undefined>;
557
+ }, undefined>;
1193
558
  SharedObject: import("valibot").ObjectSchema<{
1194
- objectId: import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>;
1195
- initialSharedVersion: import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>;
1196
- mutable: import("valibot").BooleanSchema<boolean>;
1197
- }, undefined, {
1198
- objectId: string;
1199
- initialSharedVersion: string | number;
1200
- mutable: boolean;
1201
- }>;
559
+ readonly objectId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
560
+ readonly initialSharedVersion: import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
561
+ readonly mutable: import("valibot").BooleanSchema<undefined>;
562
+ }, undefined>;
1202
563
  Receiving: import("valibot").ObjectSchema<{
1203
- objectId: import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>;
1204
- version: import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>;
1205
- digest: import("valibot").StringSchema<string>;
1206
- }, undefined, {
1207
- objectId: string;
1208
- version: string | number;
1209
- digest: string;
1210
- }>;
564
+ readonly objectId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
565
+ readonly version: import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
566
+ readonly digest: import("valibot").StringSchema<undefined>;
567
+ }, undefined>;
1211
568
  }>;
1212
569
  declare const CallArg: EnumSchema<{
1213
570
  Object: EnumSchema<{
1214
571
  ImmOrOwnedObject: import("valibot").ObjectSchema<{
1215
- objectId: import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>;
1216
- version: import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>;
1217
- digest: import("valibot").StringSchema<string>;
1218
- }, undefined, {
1219
- objectId: string;
1220
- version: string | number;
1221
- digest: string;
1222
- }>;
572
+ readonly objectId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
573
+ readonly version: import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
574
+ readonly digest: import("valibot").StringSchema<undefined>;
575
+ }, undefined>;
1223
576
  SharedObject: import("valibot").ObjectSchema<{
1224
- objectId: import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>;
1225
- initialSharedVersion: import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>;
1226
- mutable: import("valibot").BooleanSchema<boolean>;
1227
- }, undefined, {
1228
- objectId: string;
1229
- initialSharedVersion: string | number;
1230
- mutable: boolean;
1231
- }>;
577
+ readonly objectId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
578
+ readonly initialSharedVersion: import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
579
+ readonly mutable: import("valibot").BooleanSchema<undefined>;
580
+ }, undefined>;
1232
581
  Receiving: import("valibot").ObjectSchema<{
1233
- objectId: import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>;
1234
- version: import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>;
1235
- digest: import("valibot").StringSchema<string>;
1236
- }, undefined, {
1237
- objectId: string;
1238
- version: string | number;
1239
- digest: string;
1240
- }>;
582
+ readonly objectId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
583
+ readonly version: import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
584
+ readonly digest: import("valibot").StringSchema<undefined>;
585
+ }, undefined>;
1241
586
  }>;
1242
587
  Pure: import("valibot").ObjectSchema<{
1243
- bytes: import("valibot").StringSchema<string>;
1244
- }, undefined, {
1245
- bytes: string;
1246
- }>;
588
+ readonly bytes: import("valibot").StringSchema<undefined>;
589
+ }, undefined>;
1247
590
  UnresolvedPure: import("valibot").ObjectSchema<{
1248
- value: import("valibot").UnknownSchema<unknown>;
1249
- }, undefined, {
1250
- value: unknown;
1251
- }>;
591
+ readonly value: import("valibot").UnknownSchema;
592
+ }, undefined>;
1252
593
  UnresolvedObject: import("valibot").ObjectSchema<{
1253
- objectId: import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>;
1254
- version: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>, undefined, string | number | null>, undefined, string | number | null | undefined>;
1255
- digest: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<string>, undefined, string | null>, undefined, string | null | undefined>;
1256
- initialSharedVersion: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>, undefined, string | number | null>, undefined, string | number | null | undefined>;
1257
- }, undefined, {
1258
- objectId: string;
1259
- version?: string | number | null | undefined;
1260
- digest?: string | null | undefined;
1261
- initialSharedVersion?: string | number | null | undefined;
1262
- }>;
594
+ readonly objectId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
595
+ readonly version: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>, never>, never>;
596
+ readonly digest: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, never>, never>;
597
+ readonly initialSharedVersion: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>, never>, never>;
598
+ }, undefined>;
1263
599
  }>;
1264
- export type CallArg = Output<typeof CallArg>;
600
+ export type CallArg = InferOutput<typeof CallArg>;
1265
601
  export declare const NormalizedCallArg: EnumSchema<{
1266
602
  Object: EnumSchema<{
1267
603
  ImmOrOwnedObject: import("valibot").ObjectSchema<{
1268
- objectId: import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>;
1269
- version: import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>;
1270
- digest: import("valibot").StringSchema<string>;
1271
- }, undefined, {
1272
- objectId: string;
1273
- version: string | number;
1274
- digest: string;
1275
- }>;
604
+ readonly objectId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
605
+ readonly version: import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
606
+ readonly digest: import("valibot").StringSchema<undefined>;
607
+ }, undefined>;
1276
608
  SharedObject: import("valibot").ObjectSchema<{
1277
- objectId: import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>;
1278
- initialSharedVersion: import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>;
1279
- mutable: import("valibot").BooleanSchema<boolean>;
1280
- }, undefined, {
1281
- objectId: string;
1282
- initialSharedVersion: string | number;
1283
- mutable: boolean;
1284
- }>;
609
+ readonly objectId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
610
+ readonly initialSharedVersion: import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
611
+ readonly mutable: import("valibot").BooleanSchema<undefined>;
612
+ }, undefined>;
1285
613
  Receiving: import("valibot").ObjectSchema<{
1286
- objectId: import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>;
1287
- version: import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>;
1288
- digest: import("valibot").StringSchema<string>;
1289
- }, undefined, {
1290
- objectId: string;
1291
- version: string | number;
1292
- digest: string;
1293
- }>;
614
+ readonly objectId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
615
+ readonly version: import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
616
+ readonly digest: import("valibot").StringSchema<undefined>;
617
+ }, undefined>;
1294
618
  }>;
1295
619
  Pure: import("valibot").ObjectSchema<{
1296
- bytes: import("valibot").StringSchema<string>;
1297
- }, undefined, {
1298
- bytes: string;
1299
- }>;
620
+ readonly bytes: import("valibot").StringSchema<undefined>;
621
+ }, undefined>;
1300
622
  }>;
1301
623
  export declare const TransactionExpiration: EnumSchema<{
1302
- None: import("valibot").LiteralSchema<true, true>;
1303
- Epoch: import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>;
624
+ None: import("valibot").LiteralSchema<true, undefined>;
625
+ Epoch: import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
1304
626
  }>;
1305
- export type TransactionExpiration = Output<typeof TransactionExpiration>;
627
+ export type TransactionExpiration = InferOutput<typeof TransactionExpiration>;
1306
628
  export declare const TransactionData: import("valibot").ObjectSchema<{
1307
- version: import("valibot").LiteralSchema<2, 2>;
1308
- sender: import("valibot").NullishSchema<import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>, undefined, string | null | undefined>;
1309
- expiration: import("valibot").NullishSchema<EnumSchema<{
1310
- None: import("valibot").LiteralSchema<true, true>;
1311
- Epoch: import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>;
1312
- }>, undefined, import("@mysten/bcs").EnumOutputShapeWithKeys<{
1313
- None: true;
1314
- Epoch: string | number;
1315
- }, "None" | "Epoch"> | null | undefined>;
1316
- gasData: import("valibot").ObjectSchema<{
1317
- budget: import("valibot").NullableSchema<import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>, undefined, string | number | null>;
1318
- price: import("valibot").NullableSchema<import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>, undefined, string | number | null>;
1319
- owner: import("valibot").NullableSchema<import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>, undefined, string | null>;
1320
- payment: import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
1321
- objectId: import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>;
1322
- version: import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>;
1323
- digest: import("valibot").StringSchema<string>;
1324
- }, undefined, {
1325
- objectId: string;
1326
- version: string | number;
1327
- digest: string;
1328
- }>, {
1329
- objectId: string;
1330
- version: string | number;
1331
- digest: string;
1332
- }[]>, undefined, {
1333
- objectId: string;
1334
- version: string | number;
1335
- digest: string;
1336
- }[] | null>;
1337
- }, undefined, {
1338
- payment: {
1339
- objectId: string;
1340
- version: string | number;
1341
- digest: string;
1342
- }[] | null;
1343
- owner: string | null;
1344
- price: string | number | null;
1345
- budget: string | number | null;
1346
- }>;
1347
- inputs: import("valibot").ArraySchema<EnumSchema<{
629
+ readonly version: import("valibot").LiteralSchema<2, undefined>;
630
+ readonly sender: import("valibot").NullishSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>, never>;
631
+ readonly expiration: import("valibot").NullishSchema<EnumSchema<{
632
+ None: import("valibot").LiteralSchema<true, undefined>;
633
+ Epoch: import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
634
+ }>, never>;
635
+ readonly gasData: import("valibot").ObjectSchema<{
636
+ readonly budget: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>, never>;
637
+ readonly price: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>, never>;
638
+ readonly owner: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>, never>;
639
+ readonly payment: import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
640
+ readonly objectId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
641
+ readonly version: import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
642
+ readonly digest: import("valibot").StringSchema<undefined>;
643
+ }, undefined>, undefined>, never>;
644
+ }, undefined>;
645
+ readonly inputs: import("valibot").ArraySchema<EnumSchema<{
1348
646
  Object: EnumSchema<{
1349
647
  ImmOrOwnedObject: import("valibot").ObjectSchema<{
1350
- objectId: import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>;
1351
- version: import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>;
1352
- digest: import("valibot").StringSchema<string>;
1353
- }, undefined, {
1354
- objectId: string;
1355
- version: string | number;
1356
- digest: string;
1357
- }>;
648
+ readonly objectId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
649
+ readonly version: import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
650
+ readonly digest: import("valibot").StringSchema<undefined>;
651
+ }, undefined>;
1358
652
  SharedObject: import("valibot").ObjectSchema<{
1359
- objectId: import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>;
1360
- initialSharedVersion: import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>;
1361
- mutable: import("valibot").BooleanSchema<boolean>;
1362
- }, undefined, {
1363
- objectId: string;
1364
- initialSharedVersion: string | number;
1365
- mutable: boolean;
1366
- }>;
653
+ readonly objectId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
654
+ readonly initialSharedVersion: import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
655
+ readonly mutable: import("valibot").BooleanSchema<undefined>;
656
+ }, undefined>;
1367
657
  Receiving: import("valibot").ObjectSchema<{
1368
- objectId: import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>;
1369
- version: import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>;
1370
- digest: import("valibot").StringSchema<string>;
1371
- }, undefined, {
1372
- objectId: string;
1373
- version: string | number;
1374
- digest: string;
1375
- }>;
658
+ readonly objectId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
659
+ readonly version: import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>;
660
+ readonly digest: import("valibot").StringSchema<undefined>;
661
+ }, undefined>;
1376
662
  }>;
1377
663
  Pure: import("valibot").ObjectSchema<{
1378
- bytes: import("valibot").StringSchema<string>;
1379
- }, undefined, {
1380
- bytes: string;
1381
- }>;
664
+ readonly bytes: import("valibot").StringSchema<undefined>;
665
+ }, undefined>;
1382
666
  UnresolvedPure: import("valibot").ObjectSchema<{
1383
- value: import("valibot").UnknownSchema<unknown>;
1384
- }, undefined, {
1385
- value: unknown;
1386
- }>;
667
+ readonly value: import("valibot").UnknownSchema;
668
+ }, undefined>;
1387
669
  UnresolvedObject: import("valibot").ObjectSchema<{
1388
- objectId: import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>;
1389
- version: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>, undefined, string | number | null>, undefined, string | number | null | undefined>;
1390
- digest: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<string>, undefined, string | null>, undefined, string | null | undefined>;
1391
- initialSharedVersion: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").UnionSchema<(import("valibot").StringSchema<string> | import("valibot").NumberSchema<number>)[], string | number>, undefined, string | number | null>, undefined, string | number | null | undefined>;
1392
- }, undefined, {
1393
- objectId: string;
1394
- version?: string | number | null | undefined;
1395
- digest?: string | null | undefined;
1396
- initialSharedVersion?: string | number | null | undefined;
1397
- }>;
1398
- }>, import("@mysten/bcs").EnumOutputShapeWithKeys<{
1399
- Object: import("@mysten/bcs").EnumOutputShapeWithKeys<{
1400
- ImmOrOwnedObject: {
1401
- objectId: string;
1402
- version: string | number;
1403
- digest: string;
1404
- };
1405
- SharedObject: {
1406
- objectId: string;
1407
- initialSharedVersion: string | number;
1408
- mutable: boolean;
1409
- };
1410
- Receiving: {
1411
- objectId: string;
1412
- version: string | number;
1413
- digest: string;
1414
- };
1415
- }, "ImmOrOwnedObject" | "SharedObject" | "Receiving">;
1416
- Pure: {
1417
- bytes: string;
1418
- };
1419
- UnresolvedPure: {
1420
- value: unknown;
1421
- };
1422
- UnresolvedObject: {
1423
- objectId: string;
1424
- version?: string | number | null | undefined;
1425
- digest?: string | null | undefined;
1426
- initialSharedVersion?: string | number | null | undefined;
1427
- };
1428
- }, "Pure" | "Object" | "UnresolvedPure" | "UnresolvedObject">[]>;
1429
- commands: import("valibot").ArraySchema<EnumSchema<{
670
+ readonly objectId: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
671
+ readonly version: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>, never>, never>;
672
+ readonly digest: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, never>, never>;
673
+ readonly initialSharedVersion: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>]>], undefined>, import("valibot").CheckAction<string | number, "Invalid u64">]>, never>, never>;
674
+ }, undefined>;
675
+ }>, undefined>;
676
+ readonly commands: import("valibot").ArraySchema<EnumSchema<{
1430
677
  MoveCall: import("valibot").ObjectSchema<{
1431
- package: import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>;
1432
- module: import("valibot").StringSchema<string>;
1433
- function: import("valibot").StringSchema<string>;
1434
- typeArguments: import("valibot").ArraySchema<import("valibot").StringSchema<string>, string[]>;
1435
- arguments: import("valibot").ArraySchema<BaseSchema<{
678
+ readonly package: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
679
+ readonly module: import("valibot").StringSchema<undefined>;
680
+ readonly function: import("valibot").StringSchema<undefined>;
681
+ readonly typeArguments: import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>;
682
+ readonly arguments: import("valibot").ArraySchema<GenericSchema<{
1436
683
  GasCoin: true;
1437
684
  } | {
1438
685
  Input: number;
1439
- type?: "object" | "pure" | undefined;
686
+ type?: "pure" | "object";
1440
687
  } | {
1441
688
  Result: number;
1442
689
  } | {
1443
690
  NestedResult: [number, number];
1444
691
  }, {
1445
- $kind: 'GasCoin';
692
+ $kind: "GasCoin";
1446
693
  GasCoin: true;
1447
694
  } | {
1448
- $kind: 'Input';
695
+ $kind: "Input";
1449
696
  Input: number;
1450
- type?: "pure" | undefined;
697
+ type?: "pure";
1451
698
  } | {
1452
- $kind: 'Input';
699
+ $kind: "Input";
1453
700
  Input: number;
1454
- type?: "object" | undefined;
701
+ type?: "object";
1455
702
  } | {
1456
- $kind: 'Result';
703
+ $kind: "Result";
1457
704
  Result: number;
1458
705
  } | {
1459
- $kind: 'NestedResult';
706
+ $kind: "NestedResult";
1460
707
  NestedResult: [number, number];
1461
- }>, ({
1462
- $kind: 'GasCoin';
1463
- GasCoin: true;
1464
- } | {
1465
- $kind: 'Input';
1466
- Input: number;
1467
- type?: "pure" | undefined;
1468
- } | {
1469
- $kind: 'Input';
1470
- Input: number;
1471
- type?: "object" | undefined;
1472
- } | {
1473
- $kind: 'Result';
1474
- Result: number;
1475
- } | {
1476
- $kind: 'NestedResult';
1477
- NestedResult: [number, number];
1478
- })[]>;
1479
- _argumentTypes: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
1480
- ref: import("valibot").NullableSchema<import("valibot").UnionSchema<(import("valibot").LiteralSchema<"&", "&"> | import("valibot").LiteralSchema<"&mut", "&mut">)[], "&" | "&mut">, undefined, "&" | "&mut" | null>;
1481
- body: BaseSchema<OpenMoveTypeSignatureBody>;
1482
- }, undefined, {
1483
- ref: "&" | "&mut" | null;
1484
- body: OpenMoveTypeSignatureBody;
1485
- }>, {
1486
- ref: "&" | "&mut" | null;
1487
- body: OpenMoveTypeSignatureBody;
1488
- }[]>, undefined, {
1489
- ref: "&" | "&mut" | null;
1490
- body: OpenMoveTypeSignatureBody;
1491
- }[] | null>, undefined, {
1492
- ref: "&" | "&mut" | null;
1493
- body: OpenMoveTypeSignatureBody;
1494
- }[] | null | undefined>;
1495
- }, undefined, {
1496
- function: string;
1497
- module: string;
1498
- package: string;
1499
- typeArguments: string[];
1500
- arguments: ({
1501
- $kind: 'GasCoin';
1502
- GasCoin: true;
1503
- } | {
1504
- $kind: 'Input';
1505
- Input: number;
1506
- type?: "pure" | undefined;
1507
- } | {
1508
- $kind: 'Input';
1509
- Input: number;
1510
- type?: "object" | undefined;
1511
- } | {
1512
- $kind: 'Result';
1513
- Result: number;
1514
- } | {
1515
- $kind: 'NestedResult';
1516
- NestedResult: [number, number];
1517
- })[];
1518
- _argumentTypes?: {
1519
- ref: "&" | "&mut" | null;
1520
- body: OpenMoveTypeSignatureBody;
1521
- }[] | null | undefined;
1522
- }>;
708
+ }, import("valibot").BaseIssue<unknown>>, undefined>;
709
+ readonly _argumentTypes: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
710
+ readonly ref: import("valibot").NullableSchema<import("valibot").UnionSchema<[import("valibot").LiteralSchema<"&", undefined>, import("valibot").LiteralSchema<"&mut", undefined>], undefined>, never>;
711
+ readonly body: GenericSchema<OpenMoveTypeSignatureBody, OpenMoveTypeSignatureBody, import("valibot").BaseIssue<unknown>>;
712
+ }, undefined>, undefined>, never>, never>;
713
+ }, undefined>;
1523
714
  TransferObjects: import("valibot").ObjectSchema<{
1524
- objects: import("valibot").ArraySchema<BaseSchema<{
715
+ readonly objects: import("valibot").ArraySchema<GenericSchema<{
1525
716
  GasCoin: true;
1526
717
  } | {
1527
718
  Input: number;
1528
- type?: "object" | "pure" | undefined;
719
+ type?: "pure" | "object";
1529
720
  } | {
1530
721
  Result: number;
1531
722
  } | {
1532
723
  NestedResult: [number, number];
1533
724
  }, {
1534
- $kind: 'GasCoin';
1535
- GasCoin: true;
1536
- } | {
1537
- $kind: 'Input';
1538
- Input: number;
1539
- type?: "pure" | undefined;
1540
- } | {
1541
- $kind: 'Input';
1542
- Input: number;
1543
- type?: "object" | undefined;
1544
- } | {
1545
- $kind: 'Result';
1546
- Result: number;
1547
- } | {
1548
- $kind: 'NestedResult';
1549
- NestedResult: [number, number];
1550
- }>, ({
1551
- $kind: 'GasCoin';
725
+ $kind: "GasCoin";
1552
726
  GasCoin: true;
1553
727
  } | {
1554
- $kind: 'Input';
728
+ $kind: "Input";
1555
729
  Input: number;
1556
- type?: "pure" | undefined;
730
+ type?: "pure";
1557
731
  } | {
1558
- $kind: 'Input';
732
+ $kind: "Input";
1559
733
  Input: number;
1560
- type?: "object" | undefined;
734
+ type?: "object";
1561
735
  } | {
1562
- $kind: 'Result';
736
+ $kind: "Result";
1563
737
  Result: number;
1564
738
  } | {
1565
- $kind: 'NestedResult';
739
+ $kind: "NestedResult";
1566
740
  NestedResult: [number, number];
1567
- })[]>;
1568
- address: BaseSchema<{
741
+ }, import("valibot").BaseIssue<unknown>>, undefined>;
742
+ readonly address: GenericSchema<{
1569
743
  GasCoin: true;
1570
744
  } | {
1571
745
  Input: number;
1572
- type?: "object" | "pure" | undefined;
746
+ type?: "pure" | "object";
1573
747
  } | {
1574
748
  Result: number;
1575
749
  } | {
1576
750
  NestedResult: [number, number];
1577
751
  }, {
1578
- $kind: 'GasCoin';
1579
- GasCoin: true;
1580
- } | {
1581
- $kind: 'Input';
1582
- Input: number;
1583
- type?: "pure" | undefined;
1584
- } | {
1585
- $kind: 'Input';
1586
- Input: number;
1587
- type?: "object" | undefined;
1588
- } | {
1589
- $kind: 'Result';
1590
- Result: number;
1591
- } | {
1592
- $kind: 'NestedResult';
1593
- NestedResult: [number, number];
1594
- }>;
1595
- }, undefined, {
1596
- address: {
1597
- $kind: 'GasCoin';
752
+ $kind: "GasCoin";
1598
753
  GasCoin: true;
1599
754
  } | {
1600
- $kind: 'Input';
755
+ $kind: "Input";
1601
756
  Input: number;
1602
- type?: "pure" | undefined;
757
+ type?: "pure";
1603
758
  } | {
1604
- $kind: 'Input';
759
+ $kind: "Input";
1605
760
  Input: number;
1606
- type?: "object" | undefined;
761
+ type?: "object";
1607
762
  } | {
1608
- $kind: 'Result';
763
+ $kind: "Result";
1609
764
  Result: number;
1610
765
  } | {
1611
- $kind: 'NestedResult';
766
+ $kind: "NestedResult";
1612
767
  NestedResult: [number, number];
1613
- };
1614
- objects: ({
1615
- $kind: 'GasCoin';
1616
- GasCoin: true;
1617
- } | {
1618
- $kind: 'Input';
1619
- Input: number;
1620
- type?: "pure" | undefined;
1621
- } | {
1622
- $kind: 'Input';
1623
- Input: number;
1624
- type?: "object" | undefined;
1625
- } | {
1626
- $kind: 'Result';
1627
- Result: number;
1628
- } | {
1629
- $kind: 'NestedResult';
1630
- NestedResult: [number, number];
1631
- })[];
1632
- }>;
768
+ }, import("valibot").BaseIssue<unknown>>;
769
+ }, undefined>;
1633
770
  SplitCoins: import("valibot").ObjectSchema<{
1634
- coin: BaseSchema<{
771
+ readonly coin: GenericSchema<{
1635
772
  GasCoin: true;
1636
773
  } | {
1637
774
  Input: number;
1638
- type?: "object" | "pure" | undefined;
775
+ type?: "pure" | "object";
1639
776
  } | {
1640
777
  Result: number;
1641
778
  } | {
1642
779
  NestedResult: [number, number];
1643
780
  }, {
1644
- $kind: 'GasCoin';
781
+ $kind: "GasCoin";
1645
782
  GasCoin: true;
1646
783
  } | {
1647
- $kind: 'Input';
784
+ $kind: "Input";
1648
785
  Input: number;
1649
- type?: "pure" | undefined;
786
+ type?: "pure";
1650
787
  } | {
1651
- $kind: 'Input';
788
+ $kind: "Input";
1652
789
  Input: number;
1653
- type?: "object" | undefined;
790
+ type?: "object";
1654
791
  } | {
1655
- $kind: 'Result';
792
+ $kind: "Result";
1656
793
  Result: number;
1657
794
  } | {
1658
- $kind: 'NestedResult';
795
+ $kind: "NestedResult";
1659
796
  NestedResult: [number, number];
1660
- }>;
1661
- amounts: import("valibot").ArraySchema<BaseSchema<{
797
+ }, import("valibot").BaseIssue<unknown>>;
798
+ readonly amounts: import("valibot").ArraySchema<GenericSchema<{
1662
799
  GasCoin: true;
1663
800
  } | {
1664
801
  Input: number;
1665
- type?: "object" | "pure" | undefined;
802
+ type?: "pure" | "object";
1666
803
  } | {
1667
804
  Result: number;
1668
805
  } | {
1669
806
  NestedResult: [number, number];
1670
807
  }, {
1671
- $kind: 'GasCoin';
1672
- GasCoin: true;
1673
- } | {
1674
- $kind: 'Input';
1675
- Input: number;
1676
- type?: "pure" | undefined;
1677
- } | {
1678
- $kind: 'Input';
1679
- Input: number;
1680
- type?: "object" | undefined;
1681
- } | {
1682
- $kind: 'Result';
1683
- Result: number;
1684
- } | {
1685
- $kind: 'NestedResult';
1686
- NestedResult: [number, number];
1687
- }>, ({
1688
- $kind: 'GasCoin';
808
+ $kind: "GasCoin";
1689
809
  GasCoin: true;
1690
810
  } | {
1691
- $kind: 'Input';
811
+ $kind: "Input";
1692
812
  Input: number;
1693
- type?: "pure" | undefined;
813
+ type?: "pure";
1694
814
  } | {
1695
- $kind: 'Input';
815
+ $kind: "Input";
1696
816
  Input: number;
1697
- type?: "object" | undefined;
817
+ type?: "object";
1698
818
  } | {
1699
- $kind: 'Result';
819
+ $kind: "Result";
1700
820
  Result: number;
1701
821
  } | {
1702
- $kind: 'NestedResult';
822
+ $kind: "NestedResult";
1703
823
  NestedResult: [number, number];
1704
- })[]>;
1705
- }, undefined, {
1706
- coin: {
1707
- $kind: 'GasCoin';
1708
- GasCoin: true;
1709
- } | {
1710
- $kind: 'Input';
1711
- Input: number;
1712
- type?: "pure" | undefined;
1713
- } | {
1714
- $kind: 'Input';
1715
- Input: number;
1716
- type?: "object" | undefined;
1717
- } | {
1718
- $kind: 'Result';
1719
- Result: number;
1720
- } | {
1721
- $kind: 'NestedResult';
1722
- NestedResult: [number, number];
1723
- };
1724
- amounts: ({
1725
- $kind: 'GasCoin';
1726
- GasCoin: true;
1727
- } | {
1728
- $kind: 'Input';
1729
- Input: number;
1730
- type?: "pure" | undefined;
1731
- } | {
1732
- $kind: 'Input';
1733
- Input: number;
1734
- type?: "object" | undefined;
1735
- } | {
1736
- $kind: 'Result';
1737
- Result: number;
1738
- } | {
1739
- $kind: 'NestedResult';
1740
- NestedResult: [number, number];
1741
- })[];
1742
- }>;
824
+ }, import("valibot").BaseIssue<unknown>>, undefined>;
825
+ }, undefined>;
1743
826
  MergeCoins: import("valibot").ObjectSchema<{
1744
- destination: BaseSchema<{
827
+ readonly destination: GenericSchema<{
1745
828
  GasCoin: true;
1746
829
  } | {
1747
830
  Input: number;
1748
- type?: "object" | "pure" | undefined;
831
+ type?: "pure" | "object";
1749
832
  } | {
1750
833
  Result: number;
1751
834
  } | {
1752
835
  NestedResult: [number, number];
1753
836
  }, {
1754
- $kind: 'GasCoin';
837
+ $kind: "GasCoin";
1755
838
  GasCoin: true;
1756
839
  } | {
1757
- $kind: 'Input';
840
+ $kind: "Input";
1758
841
  Input: number;
1759
- type?: "pure" | undefined;
842
+ type?: "pure";
1760
843
  } | {
1761
- $kind: 'Input';
844
+ $kind: "Input";
1762
845
  Input: number;
1763
- type?: "object" | undefined;
846
+ type?: "object";
1764
847
  } | {
1765
- $kind: 'Result';
848
+ $kind: "Result";
1766
849
  Result: number;
1767
850
  } | {
1768
- $kind: 'NestedResult';
851
+ $kind: "NestedResult";
1769
852
  NestedResult: [number, number];
1770
- }>;
1771
- sources: import("valibot").ArraySchema<BaseSchema<{
853
+ }, import("valibot").BaseIssue<unknown>>;
854
+ readonly sources: import("valibot").ArraySchema<GenericSchema<{
1772
855
  GasCoin: true;
1773
856
  } | {
1774
857
  Input: number;
1775
- type?: "object" | "pure" | undefined;
858
+ type?: "pure" | "object";
1776
859
  } | {
1777
860
  Result: number;
1778
861
  } | {
1779
862
  NestedResult: [number, number];
1780
863
  }, {
1781
- $kind: 'GasCoin';
1782
- GasCoin: true;
1783
- } | {
1784
- $kind: 'Input';
1785
- Input: number;
1786
- type?: "pure" | undefined;
1787
- } | {
1788
- $kind: 'Input';
1789
- Input: number;
1790
- type?: "object" | undefined;
1791
- } | {
1792
- $kind: 'Result';
1793
- Result: number;
1794
- } | {
1795
- $kind: 'NestedResult';
1796
- NestedResult: [number, number];
1797
- }>, ({
1798
- $kind: 'GasCoin';
864
+ $kind: "GasCoin";
1799
865
  GasCoin: true;
1800
866
  } | {
1801
- $kind: 'Input';
867
+ $kind: "Input";
1802
868
  Input: number;
1803
- type?: "pure" | undefined;
869
+ type?: "pure";
1804
870
  } | {
1805
- $kind: 'Input';
871
+ $kind: "Input";
1806
872
  Input: number;
1807
- type?: "object" | undefined;
873
+ type?: "object";
1808
874
  } | {
1809
- $kind: 'Result';
875
+ $kind: "Result";
1810
876
  Result: number;
1811
877
  } | {
1812
- $kind: 'NestedResult';
878
+ $kind: "NestedResult";
1813
879
  NestedResult: [number, number];
1814
- })[]>;
1815
- }, undefined, {
1816
- destination: {
1817
- $kind: 'GasCoin';
1818
- GasCoin: true;
1819
- } | {
1820
- $kind: 'Input';
1821
- Input: number;
1822
- type?: "pure" | undefined;
1823
- } | {
1824
- $kind: 'Input';
1825
- Input: number;
1826
- type?: "object" | undefined;
1827
- } | {
1828
- $kind: 'Result';
1829
- Result: number;
1830
- } | {
1831
- $kind: 'NestedResult';
1832
- NestedResult: [number, number];
1833
- };
1834
- sources: ({
1835
- $kind: 'GasCoin';
1836
- GasCoin: true;
1837
- } | {
1838
- $kind: 'Input';
1839
- Input: number;
1840
- type?: "pure" | undefined;
1841
- } | {
1842
- $kind: 'Input';
1843
- Input: number;
1844
- type?: "object" | undefined;
1845
- } | {
1846
- $kind: 'Result';
1847
- Result: number;
1848
- } | {
1849
- $kind: 'NestedResult';
1850
- NestedResult: [number, number];
1851
- })[];
1852
- }>;
880
+ }, import("valibot").BaseIssue<unknown>>, undefined>;
881
+ }, undefined>;
1853
882
  Publish: import("valibot").ObjectSchema<{
1854
- modules: import("valibot").ArraySchema<import("valibot").StringSchema<string>, string[]>;
1855
- dependencies: import("valibot").ArraySchema<import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>, string[]>;
1856
- }, undefined, {
1857
- modules: string[];
1858
- dependencies: string[];
1859
- }>;
883
+ readonly modules: import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>;
884
+ readonly dependencies: import("valibot").ArraySchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>, undefined>;
885
+ }, undefined>;
1860
886
  MakeMoveVec: import("valibot").ObjectSchema<{
1861
- type: import("valibot").NullableSchema<import("valibot").StringSchema<string>, undefined, string | null>;
1862
- elements: import("valibot").ArraySchema<BaseSchema<{
887
+ readonly type: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, never>;
888
+ readonly elements: import("valibot").ArraySchema<GenericSchema<{
1863
889
  GasCoin: true;
1864
890
  } | {
1865
891
  Input: number;
1866
- type?: "object" | "pure" | undefined;
892
+ type?: "pure" | "object";
1867
893
  } | {
1868
894
  Result: number;
1869
895
  } | {
1870
896
  NestedResult: [number, number];
1871
897
  }, {
1872
- $kind: 'GasCoin';
898
+ $kind: "GasCoin";
1873
899
  GasCoin: true;
1874
900
  } | {
1875
- $kind: 'Input';
901
+ $kind: "Input";
1876
902
  Input: number;
1877
- type?: "pure" | undefined;
903
+ type?: "pure";
1878
904
  } | {
1879
- $kind: 'Input';
905
+ $kind: "Input";
1880
906
  Input: number;
1881
- type?: "object" | undefined;
907
+ type?: "object";
1882
908
  } | {
1883
- $kind: 'Result';
909
+ $kind: "Result";
1884
910
  Result: number;
1885
911
  } | {
1886
- $kind: 'NestedResult';
912
+ $kind: "NestedResult";
1887
913
  NestedResult: [number, number];
1888
- }>, ({
1889
- $kind: 'GasCoin';
1890
- GasCoin: true;
1891
- } | {
1892
- $kind: 'Input';
1893
- Input: number;
1894
- type?: "pure" | undefined;
1895
- } | {
1896
- $kind: 'Input';
1897
- Input: number;
1898
- type?: "object" | undefined;
1899
- } | {
1900
- $kind: 'Result';
1901
- Result: number;
1902
- } | {
1903
- $kind: 'NestedResult';
1904
- NestedResult: [number, number];
1905
- })[]>;
1906
- }, undefined, {
1907
- type: string | null;
1908
- elements: ({
1909
- $kind: 'GasCoin';
1910
- GasCoin: true;
1911
- } | {
1912
- $kind: 'Input';
1913
- Input: number;
1914
- type?: "pure" | undefined;
1915
- } | {
1916
- $kind: 'Input';
1917
- Input: number;
1918
- type?: "object" | undefined;
1919
- } | {
1920
- $kind: 'Result';
1921
- Result: number;
1922
- } | {
1923
- $kind: 'NestedResult';
1924
- NestedResult: [number, number];
1925
- })[];
1926
- }>;
914
+ }, import("valibot").BaseIssue<unknown>>, undefined>;
915
+ }, undefined>;
1927
916
  Upgrade: import("valibot").ObjectSchema<{
1928
- modules: import("valibot").ArraySchema<import("valibot").StringSchema<string>, string[]>;
1929
- dependencies: import("valibot").ArraySchema<import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>, string[]>;
1930
- package: import("valibot").SchemaWithTransform<import("valibot").StringSchema<string>, string>;
1931
- ticket: BaseSchema<{
917
+ readonly modules: import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>;
918
+ readonly dependencies: import("valibot").ArraySchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>, undefined>;
919
+ readonly package: import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<string, string>, import("valibot").CheckAction<string, undefined>]>;
920
+ readonly ticket: GenericSchema<{
1932
921
  GasCoin: true;
1933
922
  } | {
1934
923
  Input: number;
1935
- type?: "object" | "pure" | undefined;
924
+ type?: "pure" | "object";
1936
925
  } | {
1937
926
  Result: number;
1938
927
  } | {
1939
928
  NestedResult: [number, number];
1940
929
  }, {
1941
- $kind: 'GasCoin';
930
+ $kind: "GasCoin";
1942
931
  GasCoin: true;
1943
932
  } | {
1944
- $kind: 'Input';
933
+ $kind: "Input";
1945
934
  Input: number;
1946
- type?: "pure" | undefined;
935
+ type?: "pure";
1947
936
  } | {
1948
- $kind: 'Input';
937
+ $kind: "Input";
1949
938
  Input: number;
1950
- type?: "object" | undefined;
939
+ type?: "object";
1951
940
  } | {
1952
- $kind: 'Result';
941
+ $kind: "Result";
1953
942
  Result: number;
1954
943
  } | {
1955
- $kind: 'NestedResult';
944
+ $kind: "NestedResult";
1956
945
  NestedResult: [number, number];
1957
- }>;
1958
- }, undefined, {
1959
- package: string;
1960
- modules: string[];
1961
- dependencies: string[];
1962
- ticket: {
1963
- $kind: 'GasCoin';
1964
- GasCoin: true;
1965
- } | {
1966
- $kind: 'Input';
1967
- Input: number;
1968
- type?: "pure" | undefined;
1969
- } | {
1970
- $kind: 'Input';
1971
- Input: number;
1972
- type?: "object" | undefined;
1973
- } | {
1974
- $kind: 'Result';
1975
- Result: number;
1976
- } | {
1977
- $kind: 'NestedResult';
1978
- NestedResult: [number, number];
1979
- };
1980
- }>;
946
+ }, import("valibot").BaseIssue<unknown>>;
947
+ }, undefined>;
1981
948
  $Intent: import("valibot").ObjectSchema<{
1982
- name: import("valibot").StringSchema<string>;
1983
- inputs: import("valibot").RecordSchema<import("valibot").StringSchema<string>, import("valibot").UnionSchema<(BaseSchema<{
949
+ readonly name: import("valibot").StringSchema<undefined>;
950
+ readonly inputs: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").UnionSchema<[GenericSchema<{
1984
951
  GasCoin: true;
1985
952
  } | {
1986
953
  Input: number;
1987
- type?: "object" | "pure" | undefined;
954
+ type?: "pure" | "object";
1988
955
  } | {
1989
956
  Result: number;
1990
957
  } | {
1991
958
  NestedResult: [number, number];
1992
959
  }, {
1993
- $kind: 'GasCoin';
960
+ $kind: "GasCoin";
1994
961
  GasCoin: true;
1995
962
  } | {
1996
- $kind: 'Input';
963
+ $kind: "Input";
1997
964
  Input: number;
1998
- type?: "pure" | undefined;
965
+ type?: "pure";
1999
966
  } | {
2000
- $kind: 'Input';
967
+ $kind: "Input";
2001
968
  Input: number;
2002
- type?: "object" | undefined;
969
+ type?: "object";
2003
970
  } | {
2004
- $kind: 'Result';
971
+ $kind: "Result";
2005
972
  Result: number;
2006
973
  } | {
2007
- $kind: 'NestedResult';
974
+ $kind: "NestedResult";
2008
975
  NestedResult: [number, number];
2009
- }> | import("valibot").ArraySchema<BaseSchema<{
976
+ }, import("valibot").BaseIssue<unknown>>, import("valibot").ArraySchema<GenericSchema<{
2010
977
  GasCoin: true;
2011
978
  } | {
2012
979
  Input: number;
2013
- type?: "object" | "pure" | undefined;
980
+ type?: "pure" | "object";
2014
981
  } | {
2015
982
  Result: number;
2016
983
  } | {
2017
984
  NestedResult: [number, number];
2018
985
  }, {
2019
- $kind: 'GasCoin';
2020
- GasCoin: true;
2021
- } | {
2022
- $kind: 'Input';
2023
- Input: number;
2024
- type?: "pure" | undefined;
2025
- } | {
2026
- $kind: 'Input';
2027
- Input: number;
2028
- type?: "object" | undefined;
2029
- } | {
2030
- $kind: 'Result';
2031
- Result: number;
2032
- } | {
2033
- $kind: 'NestedResult';
2034
- NestedResult: [number, number];
2035
- }>, ({
2036
- $kind: 'GasCoin';
2037
- GasCoin: true;
2038
- } | {
2039
- $kind: 'Input';
2040
- Input: number;
2041
- type?: "pure" | undefined;
2042
- } | {
2043
- $kind: 'Input';
2044
- Input: number;
2045
- type?: "object" | undefined;
2046
- } | {
2047
- $kind: 'Result';
2048
- Result: number;
2049
- } | {
2050
- $kind: 'NestedResult';
2051
- NestedResult: [number, number];
2052
- })[]>)[], {
2053
- $kind: 'GasCoin';
2054
- GasCoin: true;
2055
- } | {
2056
- $kind: 'Input';
2057
- Input: number;
2058
- type?: "pure" | undefined;
2059
- } | {
2060
- $kind: 'Input';
2061
- Input: number;
2062
- type?: "object" | undefined;
2063
- } | {
2064
- $kind: 'Result';
2065
- Result: number;
2066
- } | {
2067
- $kind: 'NestedResult';
2068
- NestedResult: [number, number];
2069
- } | ({
2070
- $kind: 'GasCoin';
2071
- GasCoin: true;
2072
- } | {
2073
- $kind: 'Input';
2074
- Input: number;
2075
- type?: "pure" | undefined;
2076
- } | {
2077
- $kind: 'Input';
2078
- Input: number;
2079
- type?: "object" | undefined;
2080
- } | {
2081
- $kind: 'Result';
2082
- Result: number;
2083
- } | {
2084
- $kind: 'NestedResult';
2085
- NestedResult: [number, number];
2086
- })[]>, {
2087
- [x: string]: {
2088
- $kind: 'GasCoin';
2089
- GasCoin: true;
2090
- } | {
2091
- $kind: 'Input';
2092
- Input: number;
2093
- type?: "pure" | undefined;
2094
- } | {
2095
- $kind: 'Input';
2096
- Input: number;
2097
- type?: "object" | undefined;
2098
- } | {
2099
- $kind: 'Result';
2100
- Result: number;
2101
- } | {
2102
- $kind: 'NestedResult';
2103
- NestedResult: [number, number];
2104
- } | ({
2105
- $kind: 'GasCoin';
2106
- GasCoin: true;
2107
- } | {
2108
- $kind: 'Input';
2109
- Input: number;
2110
- type?: "pure" | undefined;
2111
- } | {
2112
- $kind: 'Input';
2113
- Input: number;
2114
- type?: "object" | undefined;
2115
- } | {
2116
- $kind: 'Result';
2117
- Result: number;
2118
- } | {
2119
- $kind: 'NestedResult';
2120
- NestedResult: [number, number];
2121
- })[];
2122
- }>;
2123
- data: import("valibot").RecordSchema<import("valibot").StringSchema<string>, import("valibot").UnknownSchema<unknown>, {
2124
- [x: string]: unknown;
2125
- }>;
2126
- }, undefined, {
2127
- name: string;
2128
- inputs: {
2129
- [x: string]: {
2130
- $kind: 'GasCoin';
2131
- GasCoin: true;
2132
- } | {
2133
- $kind: 'Input';
2134
- Input: number;
2135
- type?: "pure" | undefined;
2136
- } | {
2137
- $kind: 'Input';
2138
- Input: number;
2139
- type?: "object" | undefined;
2140
- } | {
2141
- $kind: 'Result';
2142
- Result: number;
2143
- } | {
2144
- $kind: 'NestedResult';
2145
- NestedResult: [number, number];
2146
- } | ({
2147
- $kind: 'GasCoin';
2148
- GasCoin: true;
2149
- } | {
2150
- $kind: 'Input';
2151
- Input: number;
2152
- type?: "pure" | undefined;
2153
- } | {
2154
- $kind: 'Input';
2155
- Input: number;
2156
- type?: "object" | undefined;
2157
- } | {
2158
- $kind: 'Result';
2159
- Result: number;
2160
- } | {
2161
- $kind: 'NestedResult';
2162
- NestedResult: [number, number];
2163
- })[];
2164
- };
2165
- data: {
2166
- [x: string]: unknown;
2167
- };
2168
- }>;
2169
- }>, import("@mysten/bcs").EnumOutputShapeWithKeys<{
2170
- MoveCall: {
2171
- function: string;
2172
- module: string;
2173
- package: string;
2174
- typeArguments: string[];
2175
- arguments: ({
2176
- $kind: 'GasCoin';
2177
- GasCoin: true;
2178
- } | {
2179
- $kind: 'Input';
2180
- Input: number;
2181
- type?: "pure" | undefined;
2182
- } | {
2183
- $kind: 'Input';
2184
- Input: number;
2185
- type?: "object" | undefined;
2186
- } | {
2187
- $kind: 'Result';
2188
- Result: number;
2189
- } | {
2190
- $kind: 'NestedResult';
2191
- NestedResult: [number, number];
2192
- })[];
2193
- _argumentTypes?: {
2194
- ref: "&" | "&mut" | null;
2195
- body: OpenMoveTypeSignatureBody;
2196
- }[] | null | undefined;
2197
- };
2198
- TransferObjects: {
2199
- address: {
2200
- $kind: 'GasCoin';
986
+ $kind: "GasCoin";
2201
987
  GasCoin: true;
2202
988
  } | {
2203
- $kind: 'Input';
989
+ $kind: "Input";
2204
990
  Input: number;
2205
- type?: "pure" | undefined;
991
+ type?: "pure";
2206
992
  } | {
2207
- $kind: 'Input';
993
+ $kind: "Input";
2208
994
  Input: number;
2209
- type?: "object" | undefined;
995
+ type?: "object";
2210
996
  } | {
2211
- $kind: 'Result';
997
+ $kind: "Result";
2212
998
  Result: number;
2213
999
  } | {
2214
- $kind: 'NestedResult';
1000
+ $kind: "NestedResult";
2215
1001
  NestedResult: [number, number];
2216
- };
2217
- objects: ({
2218
- $kind: 'GasCoin';
2219
- GasCoin: true;
2220
- } | {
2221
- $kind: 'Input';
2222
- Input: number;
2223
- type?: "pure" | undefined;
2224
- } | {
2225
- $kind: 'Input';
2226
- Input: number;
2227
- type?: "object" | undefined;
2228
- } | {
2229
- $kind: 'Result';
2230
- Result: number;
2231
- } | {
2232
- $kind: 'NestedResult';
2233
- NestedResult: [number, number];
2234
- })[];
2235
- };
2236
- SplitCoins: {
2237
- coin: {
2238
- $kind: 'GasCoin';
2239
- GasCoin: true;
2240
- } | {
2241
- $kind: 'Input';
2242
- Input: number;
2243
- type?: "pure" | undefined;
2244
- } | {
2245
- $kind: 'Input';
2246
- Input: number;
2247
- type?: "object" | undefined;
2248
- } | {
2249
- $kind: 'Result';
2250
- Result: number;
2251
- } | {
2252
- $kind: 'NestedResult';
2253
- NestedResult: [number, number];
2254
- };
2255
- amounts: ({
2256
- $kind: 'GasCoin';
2257
- GasCoin: true;
2258
- } | {
2259
- $kind: 'Input';
2260
- Input: number;
2261
- type?: "pure" | undefined;
2262
- } | {
2263
- $kind: 'Input';
2264
- Input: number;
2265
- type?: "object" | undefined;
2266
- } | {
2267
- $kind: 'Result';
2268
- Result: number;
2269
- } | {
2270
- $kind: 'NestedResult';
2271
- NestedResult: [number, number];
2272
- })[];
2273
- };
2274
- MergeCoins: {
2275
- destination: {
2276
- $kind: 'GasCoin';
2277
- GasCoin: true;
2278
- } | {
2279
- $kind: 'Input';
2280
- Input: number;
2281
- type?: "pure" | undefined;
2282
- } | {
2283
- $kind: 'Input';
2284
- Input: number;
2285
- type?: "object" | undefined;
2286
- } | {
2287
- $kind: 'Result';
2288
- Result: number;
2289
- } | {
2290
- $kind: 'NestedResult';
2291
- NestedResult: [number, number];
2292
- };
2293
- sources: ({
2294
- $kind: 'GasCoin';
2295
- GasCoin: true;
2296
- } | {
2297
- $kind: 'Input';
2298
- Input: number;
2299
- type?: "pure" | undefined;
2300
- } | {
2301
- $kind: 'Input';
2302
- Input: number;
2303
- type?: "object" | undefined;
2304
- } | {
2305
- $kind: 'Result';
2306
- Result: number;
2307
- } | {
2308
- $kind: 'NestedResult';
2309
- NestedResult: [number, number];
2310
- })[];
2311
- };
2312
- Publish: {
2313
- modules: string[];
2314
- dependencies: string[];
2315
- };
2316
- MakeMoveVec: {
2317
- type: string | null;
2318
- elements: ({
2319
- $kind: 'GasCoin';
2320
- GasCoin: true;
2321
- } | {
2322
- $kind: 'Input';
2323
- Input: number;
2324
- type?: "pure" | undefined;
2325
- } | {
2326
- $kind: 'Input';
2327
- Input: number;
2328
- type?: "object" | undefined;
2329
- } | {
2330
- $kind: 'Result';
2331
- Result: number;
2332
- } | {
2333
- $kind: 'NestedResult';
2334
- NestedResult: [number, number];
2335
- })[];
2336
- };
2337
- Upgrade: {
2338
- package: string;
2339
- modules: string[];
2340
- dependencies: string[];
2341
- ticket: {
2342
- $kind: 'GasCoin';
2343
- GasCoin: true;
2344
- } | {
2345
- $kind: 'Input';
2346
- Input: number;
2347
- type?: "pure" | undefined;
2348
- } | {
2349
- $kind: 'Input';
2350
- Input: number;
2351
- type?: "object" | undefined;
2352
- } | {
2353
- $kind: 'Result';
2354
- Result: number;
2355
- } | {
2356
- $kind: 'NestedResult';
2357
- NestedResult: [number, number];
2358
- };
2359
- };
2360
- $Intent: {
2361
- name: string;
2362
- inputs: {
2363
- [x: string]: {
2364
- $kind: 'GasCoin';
2365
- GasCoin: true;
2366
- } | {
2367
- $kind: 'Input';
2368
- Input: number;
2369
- type?: "pure" | undefined;
2370
- } | {
2371
- $kind: 'Input';
2372
- Input: number;
2373
- type?: "object" | undefined;
2374
- } | {
2375
- $kind: 'Result';
2376
- Result: number;
2377
- } | {
2378
- $kind: 'NestedResult';
2379
- NestedResult: [number, number];
2380
- } | ({
2381
- $kind: 'GasCoin';
2382
- GasCoin: true;
2383
- } | {
2384
- $kind: 'Input';
2385
- Input: number;
2386
- type?: "pure" | undefined;
2387
- } | {
2388
- $kind: 'Input';
2389
- Input: number;
2390
- type?: "object" | undefined;
2391
- } | {
2392
- $kind: 'Result';
2393
- Result: number;
2394
- } | {
2395
- $kind: 'NestedResult';
2396
- NestedResult: [number, number];
2397
- })[];
2398
- };
2399
- data: {
2400
- [x: string]: unknown;
2401
- };
2402
- };
2403
- }, "MoveCall" | "TransferObjects" | "SplitCoins" | "MergeCoins" | "Publish" | "MakeMoveVec" | "Upgrade" | "$Intent">[]>;
2404
- }, undefined, {
2405
- version: 2;
2406
- inputs: import("@mysten/bcs").EnumOutputShapeWithKeys<{
2407
- Object: import("@mysten/bcs").EnumOutputShapeWithKeys<{
2408
- ImmOrOwnedObject: {
2409
- objectId: string;
2410
- version: string | number;
2411
- digest: string;
2412
- };
2413
- SharedObject: {
2414
- objectId: string;
2415
- initialSharedVersion: string | number;
2416
- mutable: boolean;
2417
- };
2418
- Receiving: {
2419
- objectId: string;
2420
- version: string | number;
2421
- digest: string;
2422
- };
2423
- }, "ImmOrOwnedObject" | "SharedObject" | "Receiving">;
2424
- Pure: {
2425
- bytes: string;
2426
- };
2427
- UnresolvedPure: {
2428
- value: unknown;
2429
- };
2430
- UnresolvedObject: {
2431
- objectId: string;
2432
- version?: string | number | null | undefined;
2433
- digest?: string | null | undefined;
2434
- initialSharedVersion?: string | number | null | undefined;
2435
- };
2436
- }, "Pure" | "Object" | "UnresolvedPure" | "UnresolvedObject">[];
2437
- commands: import("@mysten/bcs").EnumOutputShapeWithKeys<{
2438
- MoveCall: {
2439
- function: string;
2440
- module: string;
2441
- package: string;
2442
- typeArguments: string[];
2443
- arguments: ({
2444
- $kind: 'GasCoin';
2445
- GasCoin: true;
2446
- } | {
2447
- $kind: 'Input';
2448
- Input: number;
2449
- type?: "pure" | undefined;
2450
- } | {
2451
- $kind: 'Input';
2452
- Input: number;
2453
- type?: "object" | undefined;
2454
- } | {
2455
- $kind: 'Result';
2456
- Result: number;
2457
- } | {
2458
- $kind: 'NestedResult';
2459
- NestedResult: [number, number];
2460
- })[];
2461
- _argumentTypes?: {
2462
- ref: "&" | "&mut" | null;
2463
- body: OpenMoveTypeSignatureBody;
2464
- }[] | null | undefined;
2465
- };
2466
- TransferObjects: {
2467
- address: {
2468
- $kind: 'GasCoin';
2469
- GasCoin: true;
2470
- } | {
2471
- $kind: 'Input';
2472
- Input: number;
2473
- type?: "pure" | undefined;
2474
- } | {
2475
- $kind: 'Input';
2476
- Input: number;
2477
- type?: "object" | undefined;
2478
- } | {
2479
- $kind: 'Result';
2480
- Result: number;
2481
- } | {
2482
- $kind: 'NestedResult';
2483
- NestedResult: [number, number];
2484
- };
2485
- objects: ({
2486
- $kind: 'GasCoin';
2487
- GasCoin: true;
2488
- } | {
2489
- $kind: 'Input';
2490
- Input: number;
2491
- type?: "pure" | undefined;
2492
- } | {
2493
- $kind: 'Input';
2494
- Input: number;
2495
- type?: "object" | undefined;
2496
- } | {
2497
- $kind: 'Result';
2498
- Result: number;
2499
- } | {
2500
- $kind: 'NestedResult';
2501
- NestedResult: [number, number];
2502
- })[];
2503
- };
2504
- SplitCoins: {
2505
- coin: {
2506
- $kind: 'GasCoin';
2507
- GasCoin: true;
2508
- } | {
2509
- $kind: 'Input';
2510
- Input: number;
2511
- type?: "pure" | undefined;
2512
- } | {
2513
- $kind: 'Input';
2514
- Input: number;
2515
- type?: "object" | undefined;
2516
- } | {
2517
- $kind: 'Result';
2518
- Result: number;
2519
- } | {
2520
- $kind: 'NestedResult';
2521
- NestedResult: [number, number];
2522
- };
2523
- amounts: ({
2524
- $kind: 'GasCoin';
2525
- GasCoin: true;
2526
- } | {
2527
- $kind: 'Input';
2528
- Input: number;
2529
- type?: "pure" | undefined;
2530
- } | {
2531
- $kind: 'Input';
2532
- Input: number;
2533
- type?: "object" | undefined;
2534
- } | {
2535
- $kind: 'Result';
2536
- Result: number;
2537
- } | {
2538
- $kind: 'NestedResult';
2539
- NestedResult: [number, number];
2540
- })[];
2541
- };
2542
- MergeCoins: {
2543
- destination: {
2544
- $kind: 'GasCoin';
2545
- GasCoin: true;
2546
- } | {
2547
- $kind: 'Input';
2548
- Input: number;
2549
- type?: "pure" | undefined;
2550
- } | {
2551
- $kind: 'Input';
2552
- Input: number;
2553
- type?: "object" | undefined;
2554
- } | {
2555
- $kind: 'Result';
2556
- Result: number;
2557
- } | {
2558
- $kind: 'NestedResult';
2559
- NestedResult: [number, number];
2560
- };
2561
- sources: ({
2562
- $kind: 'GasCoin';
2563
- GasCoin: true;
2564
- } | {
2565
- $kind: 'Input';
2566
- Input: number;
2567
- type?: "pure" | undefined;
2568
- } | {
2569
- $kind: 'Input';
2570
- Input: number;
2571
- type?: "object" | undefined;
2572
- } | {
2573
- $kind: 'Result';
2574
- Result: number;
2575
- } | {
2576
- $kind: 'NestedResult';
2577
- NestedResult: [number, number];
2578
- })[];
2579
- };
2580
- Publish: {
2581
- modules: string[];
2582
- dependencies: string[];
2583
- };
2584
- MakeMoveVec: {
2585
- type: string | null;
2586
- elements: ({
2587
- $kind: 'GasCoin';
2588
- GasCoin: true;
2589
- } | {
2590
- $kind: 'Input';
2591
- Input: number;
2592
- type?: "pure" | undefined;
2593
- } | {
2594
- $kind: 'Input';
2595
- Input: number;
2596
- type?: "object" | undefined;
2597
- } | {
2598
- $kind: 'Result';
2599
- Result: number;
2600
- } | {
2601
- $kind: 'NestedResult';
2602
- NestedResult: [number, number];
2603
- })[];
2604
- };
2605
- Upgrade: {
2606
- package: string;
2607
- modules: string[];
2608
- dependencies: string[];
2609
- ticket: {
2610
- $kind: 'GasCoin';
2611
- GasCoin: true;
2612
- } | {
2613
- $kind: 'Input';
2614
- Input: number;
2615
- type?: "pure" | undefined;
2616
- } | {
2617
- $kind: 'Input';
2618
- Input: number;
2619
- type?: "object" | undefined;
2620
- } | {
2621
- $kind: 'Result';
2622
- Result: number;
2623
- } | {
2624
- $kind: 'NestedResult';
2625
- NestedResult: [number, number];
2626
- };
2627
- };
2628
- $Intent: {
2629
- name: string;
2630
- inputs: {
2631
- [x: string]: {
2632
- $kind: 'GasCoin';
2633
- GasCoin: true;
2634
- } | {
2635
- $kind: 'Input';
2636
- Input: number;
2637
- type?: "pure" | undefined;
2638
- } | {
2639
- $kind: 'Input';
2640
- Input: number;
2641
- type?: "object" | undefined;
2642
- } | {
2643
- $kind: 'Result';
2644
- Result: number;
2645
- } | {
2646
- $kind: 'NestedResult';
2647
- NestedResult: [number, number];
2648
- } | ({
2649
- $kind: 'GasCoin';
2650
- GasCoin: true;
2651
- } | {
2652
- $kind: 'Input';
2653
- Input: number;
2654
- type?: "pure" | undefined;
2655
- } | {
2656
- $kind: 'Input';
2657
- Input: number;
2658
- type?: "object" | undefined;
2659
- } | {
2660
- $kind: 'Result';
2661
- Result: number;
2662
- } | {
2663
- $kind: 'NestedResult';
2664
- NestedResult: [number, number];
2665
- })[];
2666
- };
2667
- data: {
2668
- [x: string]: unknown;
2669
- };
2670
- };
2671
- }, "MoveCall" | "TransferObjects" | "SplitCoins" | "MergeCoins" | "Publish" | "MakeMoveVec" | "Upgrade" | "$Intent">[];
2672
- sender: string | null | undefined;
2673
- gasData: {
2674
- payment: {
2675
- objectId: string;
2676
- version: string | number;
2677
- digest: string;
2678
- }[] | null;
2679
- owner: string | null;
2680
- price: string | number | null;
2681
- budget: string | number | null;
2682
- };
2683
- expiration: import("@mysten/bcs").EnumOutputShapeWithKeys<{
2684
- None: true;
2685
- Epoch: string | number;
2686
- }, "None" | "Epoch"> | null | undefined;
2687
- }>;
2688
- export type TransactionData = Output<typeof TransactionData>;
1002
+ }, import("valibot").BaseIssue<unknown>>, undefined>], undefined>, undefined>;
1003
+ readonly data: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").UnknownSchema, undefined>;
1004
+ }, undefined>;
1005
+ }>, undefined>;
1006
+ }, undefined>;
1007
+ export type TransactionData = InferOutput<typeof TransactionData>;
2689
1008
  export {};