@nktkas/hyperliquid 0.25.0-beta.1 → 0.25.0-beta.2

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 (222) hide show
  1. package/README.md +46 -14
  2. package/esm/mod.js +1 -0
  3. package/esm/mod.js.map +1 -0
  4. package/esm/src/clients/exchange.d.ts +0 -7
  5. package/esm/src/clients/exchange.d.ts.map +1 -1
  6. package/esm/src/clients/exchange.js +4 -5
  7. package/esm/src/clients/exchange.js.map +1 -0
  8. package/esm/src/clients/info.d.ts +64 -2
  9. package/esm/src/clients/info.d.ts.map +1 -1
  10. package/esm/src/clients/info.js +77 -1
  11. package/esm/src/clients/info.js.map +1 -0
  12. package/esm/src/clients/multiSign.js +2 -1
  13. package/esm/src/clients/multiSign.js.map +1 -0
  14. package/esm/src/clients/subscription.js +1 -0
  15. package/esm/src/clients/subscription.js.map +1 -0
  16. package/esm/src/errors.js +1 -0
  17. package/esm/src/errors.js.map +1 -0
  18. package/esm/src/schemas/_base.d.ts +6 -2
  19. package/esm/src/schemas/_base.d.ts.map +1 -1
  20. package/esm/src/schemas/_base.js +4 -1
  21. package/esm/src/schemas/_base.js.map +1 -0
  22. package/esm/src/schemas/exchange/requests.d.ts +284 -284
  23. package/esm/src/schemas/exchange/requests.js +260 -259
  24. package/esm/src/schemas/exchange/requests.js.map +1 -0
  25. package/esm/src/schemas/exchange/responses.d.ts +47 -47
  26. package/esm/src/schemas/exchange/responses.js +55 -54
  27. package/esm/src/schemas/exchange/responses.js.map +1 -0
  28. package/esm/src/schemas/explorer/requests.d.ts +3 -3
  29. package/esm/src/schemas/explorer/requests.js +6 -5
  30. package/esm/src/schemas/explorer/requests.js.map +1 -0
  31. package/esm/src/schemas/explorer/responses.d.ts +10 -10
  32. package/esm/src/schemas/explorer/responses.js +12 -11
  33. package/esm/src/schemas/explorer/responses.js.map +1 -0
  34. package/esm/src/schemas/info/accounts.d.ts +121 -121
  35. package/esm/src/schemas/info/accounts.js +110 -109
  36. package/esm/src/schemas/info/accounts.js.map +1 -0
  37. package/esm/src/schemas/info/assets.d.ts +68 -39
  38. package/esm/src/schemas/info/assets.d.ts.map +1 -1
  39. package/esm/src/schemas/info/assets.js +69 -49
  40. package/esm/src/schemas/info/assets.js.map +1 -0
  41. package/esm/src/schemas/info/markets.d.ts +25 -8
  42. package/esm/src/schemas/info/markets.d.ts.map +1 -1
  43. package/esm/src/schemas/info/markets.js +27 -15
  44. package/esm/src/schemas/info/markets.js.map +1 -0
  45. package/esm/src/schemas/info/orders.d.ts +56 -56
  46. package/esm/src/schemas/info/orders.js +37 -36
  47. package/esm/src/schemas/info/orders.js.map +1 -0
  48. package/esm/src/schemas/info/requests.d.ts +98 -56
  49. package/esm/src/schemas/info/requests.d.ts.map +1 -1
  50. package/esm/src/schemas/info/requests.js +103 -71
  51. package/esm/src/schemas/info/requests.js.map +1 -0
  52. package/esm/src/schemas/info/validators.d.ts +44 -23
  53. package/esm/src/schemas/info/validators.d.ts.map +1 -1
  54. package/esm/src/schemas/info/validators.js +40 -26
  55. package/esm/src/schemas/info/validators.js.map +1 -0
  56. package/esm/src/schemas/info/vaults.d.ts +40 -40
  57. package/esm/src/schemas/info/vaults.js +20 -19
  58. package/esm/src/schemas/info/vaults.js.map +1 -0
  59. package/esm/src/schemas/mod.d.ts +1 -0
  60. package/esm/src/schemas/mod.d.ts.map +1 -1
  61. package/esm/src/schemas/mod.js +2 -0
  62. package/esm/src/schemas/mod.js.map +1 -0
  63. package/esm/src/schemas/subscriptions/requests.d.ts +21 -21
  64. package/esm/src/schemas/subscriptions/requests.js +22 -21
  65. package/esm/src/schemas/subscriptions/requests.js.map +1 -0
  66. package/esm/src/schemas/subscriptions/responses.d.ts +192 -192
  67. package/esm/src/schemas/subscriptions/responses.js +41 -40
  68. package/esm/src/schemas/subscriptions/responses.js.map +1 -0
  69. package/esm/src/signing/_signTypedData/ethers.js +1 -0
  70. package/esm/src/signing/_signTypedData/ethers.js.map +1 -0
  71. package/esm/src/signing/_signTypedData/mod.js +1 -0
  72. package/esm/src/signing/_signTypedData/mod.js.map +1 -0
  73. package/esm/src/signing/_signTypedData/private_key.js +1 -0
  74. package/esm/src/signing/_signTypedData/private_key.js.map +1 -0
  75. package/esm/src/signing/_signTypedData/viem.js +1 -0
  76. package/esm/src/signing/_signTypedData/viem.js.map +1 -0
  77. package/esm/src/signing/mod.js +1 -0
  78. package/esm/src/signing/mod.js.map +1 -0
  79. package/esm/src/transports/base.d.ts +2 -2
  80. package/esm/src/transports/base.d.ts.map +1 -1
  81. package/esm/src/transports/base.js +1 -0
  82. package/esm/src/transports/base.js.map +1 -0
  83. package/esm/src/transports/http/http_transport.d.ts +1 -1
  84. package/esm/src/transports/http/http_transport.js +1 -0
  85. package/esm/src/transports/http/http_transport.js.map +1 -0
  86. package/esm/src/transports/websocket/_hyperliquid_event_target.js +1 -0
  87. package/esm/src/transports/websocket/_hyperliquid_event_target.js.map +1 -0
  88. package/esm/src/transports/websocket/_reconnecting_websocket.js +1 -0
  89. package/esm/src/transports/websocket/_reconnecting_websocket.js.map +1 -0
  90. package/esm/src/transports/websocket/_websocket_async_request.js +1 -0
  91. package/esm/src/transports/websocket/_websocket_async_request.js.map +1 -0
  92. package/esm/src/transports/websocket/websocket_transport.d.ts +7 -0
  93. package/esm/src/transports/websocket/websocket_transport.d.ts.map +1 -1
  94. package/esm/src/transports/websocket/websocket_transport.js +4 -0
  95. package/esm/src/transports/websocket/websocket_transport.js.map +1 -0
  96. package/package.json +1 -1
  97. package/script/mod.js +1 -0
  98. package/script/mod.js.map +1 -0
  99. package/script/src/clients/exchange.d.ts +0 -7
  100. package/script/src/clients/exchange.d.ts.map +1 -1
  101. package/script/src/clients/exchange.js +4 -5
  102. package/script/src/clients/exchange.js.map +1 -0
  103. package/script/src/clients/info.d.ts +64 -2
  104. package/script/src/clients/info.d.ts.map +1 -1
  105. package/script/src/clients/info.js +76 -0
  106. package/script/src/clients/info.js.map +1 -0
  107. package/script/src/clients/multiSign.js +2 -1
  108. package/script/src/clients/multiSign.js.map +1 -0
  109. package/script/src/clients/subscription.js +1 -0
  110. package/script/src/clients/subscription.js.map +1 -0
  111. package/script/src/errors.js +1 -0
  112. package/script/src/errors.js.map +1 -0
  113. package/script/src/schemas/_base.d.ts +6 -2
  114. package/script/src/schemas/_base.d.ts.map +1 -1
  115. package/script/src/schemas/_base.js +5 -2
  116. package/script/src/schemas/_base.js.map +1 -0
  117. package/script/src/schemas/exchange/requests.d.ts +284 -284
  118. package/script/src/schemas/exchange/requests.js +259 -258
  119. package/script/src/schemas/exchange/requests.js.map +1 -0
  120. package/script/src/schemas/exchange/responses.d.ts +47 -47
  121. package/script/src/schemas/exchange/responses.js +54 -53
  122. package/script/src/schemas/exchange/responses.js.map +1 -0
  123. package/script/src/schemas/explorer/requests.d.ts +3 -3
  124. package/script/src/schemas/explorer/requests.js +5 -4
  125. package/script/src/schemas/explorer/requests.js.map +1 -0
  126. package/script/src/schemas/explorer/responses.d.ts +10 -10
  127. package/script/src/schemas/explorer/responses.js +11 -10
  128. package/script/src/schemas/explorer/responses.js.map +1 -0
  129. package/script/src/schemas/info/accounts.d.ts +121 -121
  130. package/script/src/schemas/info/accounts.js +109 -108
  131. package/script/src/schemas/info/accounts.js.map +1 -0
  132. package/script/src/schemas/info/assets.d.ts +68 -39
  133. package/script/src/schemas/info/assets.d.ts.map +1 -1
  134. package/script/src/schemas/info/assets.js +69 -49
  135. package/script/src/schemas/info/assets.js.map +1 -0
  136. package/script/src/schemas/info/markets.d.ts +25 -8
  137. package/script/src/schemas/info/markets.d.ts.map +1 -1
  138. package/script/src/schemas/info/markets.js +27 -15
  139. package/script/src/schemas/info/markets.js.map +1 -0
  140. package/script/src/schemas/info/orders.d.ts +56 -56
  141. package/script/src/schemas/info/orders.js +36 -35
  142. package/script/src/schemas/info/orders.js.map +1 -0
  143. package/script/src/schemas/info/requests.d.ts +98 -56
  144. package/script/src/schemas/info/requests.d.ts.map +1 -1
  145. package/script/src/schemas/info/requests.js +103 -71
  146. package/script/src/schemas/info/requests.js.map +1 -0
  147. package/script/src/schemas/info/validators.d.ts +44 -23
  148. package/script/src/schemas/info/validators.d.ts.map +1 -1
  149. package/script/src/schemas/info/validators.js +40 -26
  150. package/script/src/schemas/info/validators.js.map +1 -0
  151. package/script/src/schemas/info/vaults.d.ts +40 -40
  152. package/script/src/schemas/info/vaults.js +19 -18
  153. package/script/src/schemas/info/vaults.js.map +1 -0
  154. package/script/src/schemas/mod.d.ts +1 -0
  155. package/script/src/schemas/mod.d.ts.map +1 -1
  156. package/script/src/schemas/mod.js +4 -1
  157. package/script/src/schemas/mod.js.map +1 -0
  158. package/script/src/schemas/subscriptions/requests.d.ts +21 -21
  159. package/script/src/schemas/subscriptions/requests.js +22 -21
  160. package/script/src/schemas/subscriptions/requests.js.map +1 -0
  161. package/script/src/schemas/subscriptions/responses.d.ts +192 -192
  162. package/script/src/schemas/subscriptions/responses.js +40 -39
  163. package/script/src/schemas/subscriptions/responses.js.map +1 -0
  164. package/script/src/signing/_signTypedData/ethers.js +1 -0
  165. package/script/src/signing/_signTypedData/ethers.js.map +1 -0
  166. package/script/src/signing/_signTypedData/mod.js +1 -0
  167. package/script/src/signing/_signTypedData/mod.js.map +1 -0
  168. package/script/src/signing/_signTypedData/private_key.js +1 -0
  169. package/script/src/signing/_signTypedData/private_key.js.map +1 -0
  170. package/script/src/signing/_signTypedData/viem.js +1 -0
  171. package/script/src/signing/_signTypedData/viem.js.map +1 -0
  172. package/script/src/signing/mod.js +1 -0
  173. package/script/src/signing/mod.js.map +1 -0
  174. package/script/src/transports/base.d.ts +2 -2
  175. package/script/src/transports/base.d.ts.map +1 -1
  176. package/script/src/transports/base.js +1 -0
  177. package/script/src/transports/base.js.map +1 -0
  178. package/script/src/transports/http/http_transport.d.ts +1 -1
  179. package/script/src/transports/http/http_transport.js +1 -0
  180. package/script/src/transports/http/http_transport.js.map +1 -0
  181. package/script/src/transports/websocket/_hyperliquid_event_target.js +1 -0
  182. package/script/src/transports/websocket/_hyperliquid_event_target.js.map +1 -0
  183. package/script/src/transports/websocket/_reconnecting_websocket.js +1 -0
  184. package/script/src/transports/websocket/_reconnecting_websocket.js.map +1 -0
  185. package/script/src/transports/websocket/_websocket_async_request.js +1 -0
  186. package/script/src/transports/websocket/_websocket_async_request.js.map +1 -0
  187. package/script/src/transports/websocket/websocket_transport.d.ts +7 -0
  188. package/script/src/transports/websocket/websocket_transport.d.ts.map +1 -1
  189. package/script/src/transports/websocket/websocket_transport.js +4 -0
  190. package/script/src/transports/websocket/websocket_transport.js.map +1 -0
  191. package/src/mod.ts +28 -0
  192. package/src/src/clients/exchange.ts +2246 -0
  193. package/src/src/clients/info.ts +2076 -0
  194. package/src/src/clients/multiSign.ts +183 -0
  195. package/src/src/clients/subscription.ts +841 -0
  196. package/src/src/errors.ts +7 -0
  197. package/src/src/schemas/_base.ts +43 -0
  198. package/src/src/schemas/exchange/requests.ts +3057 -0
  199. package/src/src/schemas/exchange/responses.ts +540 -0
  200. package/src/src/schemas/explorer/requests.ts +65 -0
  201. package/src/src/schemas/explorer/responses.ts +138 -0
  202. package/src/src/schemas/info/accounts.ts +1490 -0
  203. package/src/src/schemas/info/assets.ts +693 -0
  204. package/src/src/schemas/info/markets.ts +171 -0
  205. package/src/src/schemas/info/orders.ts +597 -0
  206. package/src/src/schemas/info/requests.ts +1369 -0
  207. package/src/src/schemas/info/validators.ts +299 -0
  208. package/src/src/schemas/info/vaults.ts +262 -0
  209. package/src/src/schemas/mod.ts +121 -0
  210. package/src/src/schemas/subscriptions/requests.ts +504 -0
  211. package/src/src/schemas/subscriptions/responses.ts +576 -0
  212. package/src/src/signing/_signTypedData/ethers.ts +59 -0
  213. package/src/src/signing/_signTypedData/mod.ts +121 -0
  214. package/src/src/signing/_signTypedData/private_key.ts +229 -0
  215. package/src/src/signing/_signTypedData/viem.ts +55 -0
  216. package/src/src/signing/mod.ts +572 -0
  217. package/src/src/transports/base.ts +54 -0
  218. package/src/src/transports/http/http_transport.ts +208 -0
  219. package/src/src/transports/websocket/_hyperliquid_event_target.ts +118 -0
  220. package/src/src/transports/websocket/_reconnecting_websocket.ts +404 -0
  221. package/src/src/transports/websocket/_websocket_async_request.ts +229 -0
  222. package/src/src/transports/websocket/websocket_transport.ts +394 -0
@@ -1,19 +1,19 @@
1
1
  import * as v from "valibot";
2
2
  /** User active asset data. */
3
- export declare const ActiveAssetData: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
3
+ export declare const ActiveAssetData: v.SchemaWithPipe<readonly [v.ObjectSchema<{
4
4
  /** User address. */
5
5
  readonly user: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, v.DescriptionAction<`0x${string}`, "User address.">]>;
6
6
  /** Asset symbol (e.g., BTC). */
7
7
  readonly coin: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Asset symbol (e.g., BTC).">]>;
8
8
  /** Leverage configuration. */
9
- readonly leverage: v.SchemaWithPipe<readonly [v.UnionSchema<[v.StrictObjectSchema<{
9
+ readonly leverage: v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
10
10
  /** Leverage type. */
11
11
  readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"isolated", undefined>, v.DescriptionAction<"isolated", "Leverage type.">]>;
12
12
  /** Leverage value used. */
13
13
  readonly value: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.MinValueAction<number, 1, undefined>, v.DescriptionAction<number, "Leverage value used.">]>;
14
14
  /** Amount of USD used (1 = 1$). */
15
15
  readonly rawUsd: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Amount of USD used (1 = 1$).">]>;
16
- }, undefined>, v.StrictObjectSchema<{
16
+ }, undefined>, v.ObjectSchema<{
17
17
  /** Leverage type. */
18
18
  readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"cross", undefined>, v.DescriptionAction<"cross", "Leverage type.">]>;
19
19
  /** Leverage value used. */
@@ -27,9 +27,9 @@ export declare const ActiveAssetData: v.SchemaWithPipe<readonly [v.StrictObjectS
27
27
  value: number;
28
28
  }, "Leverage configuration.">]>;
29
29
  /** Maximum trade size range [min, max]. */
30
- readonly maxTradeSzs: v.SchemaWithPipe<readonly [v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, v.DescriptionAction<[string, string], "Maximum trade size range [min, max].">]>;
30
+ readonly maxTradeSzs: v.SchemaWithPipe<readonly [v.TupleSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, v.DescriptionAction<[string, string], "Maximum trade size range [min, max].">]>;
31
31
  /** Available to trade range [min, max]. */
32
- readonly availableToTrade: v.SchemaWithPipe<readonly [v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, v.DescriptionAction<[string, string], "Available to trade range [min, max].">]>;
32
+ readonly availableToTrade: v.SchemaWithPipe<readonly [v.TupleSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, v.DescriptionAction<[string, string], "Available to trade range [min, max].">]>;
33
33
  /** Mark price. */
34
34
  readonly markPx: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Mark price.">]>;
35
35
  }, undefined>, v.DescriptionAction<{
@@ -49,24 +49,24 @@ export declare const ActiveAssetData: v.SchemaWithPipe<readonly [v.StrictObjectS
49
49
  }, "User active asset data.">]>;
50
50
  export type ActiveAssetData = v.InferOutput<typeof ActiveAssetData>;
51
51
  /** Position for a specific asset. */
52
- export declare const AssetPosition: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
52
+ export declare const AssetPosition: v.SchemaWithPipe<readonly [v.ObjectSchema<{
53
53
  /** Position type. */
54
54
  readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"oneWay", undefined>, v.DescriptionAction<"oneWay", "Position type.">]>;
55
55
  /** Position details. */
56
- readonly position: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
56
+ readonly position: v.SchemaWithPipe<readonly [v.ObjectSchema<{
57
57
  /** Asset symbol. */
58
58
  readonly coin: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Asset symbol.">]>;
59
59
  /** Signed position size. */
60
60
  readonly szi: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Signed position size.">]>;
61
61
  /** Leverage details. */
62
- readonly leverage: v.SchemaWithPipe<readonly [v.UnionSchema<[v.StrictObjectSchema<{
62
+ readonly leverage: v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
63
63
  /** Leverage type. */
64
64
  readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"isolated", undefined>, v.DescriptionAction<"isolated", "Leverage type.">]>;
65
65
  /** Leverage value used. */
66
66
  readonly value: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.MinValueAction<number, 1, undefined>, v.DescriptionAction<number, "Leverage value used.">]>;
67
67
  /** Amount of USD used (1 = 1$). */
68
68
  readonly rawUsd: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Amount of USD used (1 = 1$).">]>;
69
- }, undefined>, v.StrictObjectSchema<{
69
+ }, undefined>, v.ObjectSchema<{
70
70
  /** Leverage type. */
71
71
  readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"cross", undefined>, v.DescriptionAction<"cross", "Leverage type.">]>;
72
72
  /** Leverage value used. */
@@ -94,7 +94,7 @@ export declare const AssetPosition: v.SchemaWithPipe<readonly [v.StrictObjectSch
94
94
  /** Maximum allowed leverage. */
95
95
  readonly maxLeverage: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.MinValueAction<number, 1, undefined>, v.DescriptionAction<number, "Maximum allowed leverage.">]>;
96
96
  /** Cumulative funding details. */
97
- readonly cumFunding: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
97
+ readonly cumFunding: v.SchemaWithPipe<readonly [v.ObjectSchema<{
98
98
  /** Total funding paid or received since account opening. */
99
99
  readonly allTime: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Total funding paid or received since account opening.">]>;
100
100
  /** Funding accumulated since the position was opened. */
@@ -159,7 +159,7 @@ export declare const AssetPosition: v.SchemaWithPipe<readonly [v.StrictObjectSch
159
159
  }, "Position for a specific asset.">]>;
160
160
  export type AssetPosition = v.InferOutput<typeof AssetPosition>;
161
161
  /** Escrowed balance for a specific asset. */
162
- export declare const EvmEscrowsBalance: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
162
+ export declare const EvmEscrowsBalance: v.SchemaWithPipe<readonly [v.ObjectSchema<{
163
163
  /** Asset symbol. */
164
164
  readonly coin: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Asset symbol.">]>;
165
165
  /** Unique identifier for the token. */
@@ -173,7 +173,7 @@ export declare const EvmEscrowsBalance: v.SchemaWithPipe<readonly [v.StrictObjec
173
173
  }, "Escrowed balance for a specific asset.">]>;
174
174
  export type EvmEscrowsBalance = v.InferOutput<typeof EvmEscrowsBalance>;
175
175
  /** Extra agent details for a user. */
176
- export declare const ExtraAgent: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
176
+ export declare const ExtraAgent: v.SchemaWithPipe<readonly [v.ObjectSchema<{
177
177
  /** Extra agent address. */
178
178
  readonly address: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, v.DescriptionAction<`0x${string}`, "Extra agent address.">]>;
179
179
  /** Extra agent name. */
@@ -187,7 +187,7 @@ export declare const ExtraAgent: v.SchemaWithPipe<readonly [v.StrictObjectSchema
187
187
  }, "Extra agent details for a user.">]>;
188
188
  export type ExtraAgent = v.InferOutput<typeof ExtraAgent>;
189
189
  /** Legal verification status for a user. */
190
- export declare const LegalCheck: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
190
+ export declare const LegalCheck: v.SchemaWithPipe<readonly [v.ObjectSchema<{
191
191
  /** Whether the user IP address is allowed. */
192
192
  readonly ipAllowed: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, "Whether the user IP address is allowed.">]>;
193
193
  /** Whether the user has accepted the terms of service. */
@@ -201,7 +201,7 @@ export declare const LegalCheck: v.SchemaWithPipe<readonly [v.StrictObjectSchema
201
201
  }, "Legal verification status for a user.">]>;
202
202
  export type LegalCheck = v.InferOutput<typeof LegalCheck>;
203
203
  /** Multi-sig signers for a user. */
204
- export declare const MultiSigSigners: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
204
+ export declare const MultiSigSigners: v.SchemaWithPipe<readonly [v.ObjectSchema<{
205
205
  /** Authorized users addresses. */
206
206
  readonly authorizedUsers: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, undefined>, v.MinLengthAction<`0x${string}`[], 1, undefined>, v.DescriptionAction<`0x${string}`[], "Authorized users addresses.">]>;
207
207
  /** Threshold number of signatures required. */
@@ -212,9 +212,9 @@ export declare const MultiSigSigners: v.SchemaWithPipe<readonly [v.StrictObjectS
212
212
  }, "Multi-sig signers for a user.">]>;
213
213
  export type MultiSigSigners = v.InferOutput<typeof MultiSigSigners>;
214
214
  /** Account summary for perpetual trading. */
215
- export declare const PerpsClearinghouseState: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
215
+ export declare const PerpsClearinghouseState: v.SchemaWithPipe<readonly [v.ObjectSchema<{
216
216
  /** Margin summary details. */
217
- readonly marginSummary: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
217
+ readonly marginSummary: v.SchemaWithPipe<readonly [v.ObjectSchema<{
218
218
  /** Total account value. */
219
219
  readonly accountValue: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Total account value.">]>;
220
220
  /** Total notional position value. */
@@ -230,7 +230,7 @@ export declare const PerpsClearinghouseState: v.SchemaWithPipe<readonly [v.Stric
230
230
  totalMarginUsed: string;
231
231
  }, "Margin summary details.">]>;
232
232
  /** Cross-margin summary details. */
233
- readonly crossMarginSummary: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
233
+ readonly crossMarginSummary: v.SchemaWithPipe<readonly [v.ObjectSchema<{
234
234
  /** Total account value. */
235
235
  readonly accountValue: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Total account value.">]>;
236
236
  /** Total notional position value. */
@@ -250,24 +250,24 @@ export declare const PerpsClearinghouseState: v.SchemaWithPipe<readonly [v.Stric
250
250
  /** Amount available for withdrawal. */
251
251
  readonly withdrawable: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Amount available for withdrawal.">]>;
252
252
  /** List of asset positions. */
253
- readonly assetPositions: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
253
+ readonly assetPositions: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
254
254
  /** Position type. */
255
255
  readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"oneWay", undefined>, v.DescriptionAction<"oneWay", "Position type.">]>;
256
256
  /** Position details. */
257
- readonly position: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
257
+ readonly position: v.SchemaWithPipe<readonly [v.ObjectSchema<{
258
258
  /** Asset symbol. */
259
259
  readonly coin: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Asset symbol.">]>;
260
260
  /** Signed position size. */
261
261
  readonly szi: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Signed position size.">]>;
262
262
  /** Leverage details. */
263
- readonly leverage: v.SchemaWithPipe<readonly [v.UnionSchema<[v.StrictObjectSchema<{
263
+ readonly leverage: v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
264
264
  /** Leverage type. */
265
265
  readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"isolated", undefined>, v.DescriptionAction<"isolated", "Leverage type.">]>;
266
266
  /** Leverage value used. */
267
267
  readonly value: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.MinValueAction<number, 1, undefined>, v.DescriptionAction<number, "Leverage value used.">]>;
268
268
  /** Amount of USD used (1 = 1$). */
269
269
  readonly rawUsd: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Amount of USD used (1 = 1$).">]>;
270
- }, undefined>, v.StrictObjectSchema<{
270
+ }, undefined>, v.ObjectSchema<{
271
271
  /** Leverage type. */
272
272
  readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"cross", undefined>, v.DescriptionAction<"cross", "Leverage type.">]>;
273
273
  /** Leverage value used. */
@@ -295,7 +295,7 @@ export declare const PerpsClearinghouseState: v.SchemaWithPipe<readonly [v.Stric
295
295
  /** Maximum allowed leverage. */
296
296
  readonly maxLeverage: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.MinValueAction<number, 1, undefined>, v.DescriptionAction<number, "Maximum allowed leverage.">]>;
297
297
  /** Cumulative funding details. */
298
- readonly cumFunding: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
298
+ readonly cumFunding: v.SchemaWithPipe<readonly [v.ObjectSchema<{
299
299
  /** Total funding paid or received since account opening. */
300
300
  readonly allTime: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Total funding paid or received since account opening.">]>;
301
301
  /** Funding accumulated since the position was opened. */
@@ -432,11 +432,11 @@ export declare const PerpsClearinghouseState: v.SchemaWithPipe<readonly [v.Stric
432
432
  }, "Account summary for perpetual trading.">]>;
433
433
  export type PerpsClearinghouseState = v.InferOutput<typeof PerpsClearinghouseState>;
434
434
  /** Portfolio metrics snapshot. */
435
- export declare const Portfolio: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
435
+ export declare const Portfolio: v.SchemaWithPipe<readonly [v.ObjectSchema<{
436
436
  /** History entries for account value as [timestamp, value]. */
437
- readonly accountValueHistory: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, v.DescriptionAction<[number, string][], "History entries for account value as [timestamp, value].">]>;
437
+ readonly accountValueHistory: v.SchemaWithPipe<readonly [v.ArraySchema<v.TupleSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, v.DescriptionAction<[number, string][], "History entries for account value as [timestamp, value].">]>;
438
438
  /** History entries for profit and loss as [timestamp, value]. */
439
- readonly pnlHistory: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, v.DescriptionAction<[number, string][], "History entries for profit and loss as [timestamp, value].">]>;
439
+ readonly pnlHistory: v.SchemaWithPipe<readonly [v.ArraySchema<v.TupleSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, v.DescriptionAction<[number, string][], "History entries for profit and loss as [timestamp, value].">]>;
440
440
  /** Volume metric for the portfolio. */
441
441
  readonly vlm: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Volume metric for the portfolio.">]>;
442
442
  }, undefined>, v.DescriptionAction<{
@@ -446,88 +446,88 @@ export declare const Portfolio: v.SchemaWithPipe<readonly [v.StrictObjectSchema<
446
446
  }, "Portfolio metrics snapshot.">]>;
447
447
  export type Portfolio = v.InferOutput<typeof Portfolio>;
448
448
  /** Portfolio metrics grouped by time periods. */
449
- export declare const PortfolioPeriods: v.SchemaWithPipe<readonly [v.StrictTupleSchema<[v.StrictTupleSchema<[v.LiteralSchema<"day", undefined>, v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
449
+ export declare const PortfolioPeriods: v.SchemaWithPipe<readonly [v.TupleSchema<[v.TupleSchema<[v.LiteralSchema<"day", undefined>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
450
450
  /** History entries for account value as [timestamp, value]. */
451
- readonly accountValueHistory: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, v.DescriptionAction<[number, string][], "History entries for account value as [timestamp, value].">]>;
451
+ readonly accountValueHistory: v.SchemaWithPipe<readonly [v.ArraySchema<v.TupleSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, v.DescriptionAction<[number, string][], "History entries for account value as [timestamp, value].">]>;
452
452
  /** History entries for profit and loss as [timestamp, value]. */
453
- readonly pnlHistory: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, v.DescriptionAction<[number, string][], "History entries for profit and loss as [timestamp, value].">]>;
453
+ readonly pnlHistory: v.SchemaWithPipe<readonly [v.ArraySchema<v.TupleSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, v.DescriptionAction<[number, string][], "History entries for profit and loss as [timestamp, value].">]>;
454
454
  /** Volume metric for the portfolio. */
455
455
  readonly vlm: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Volume metric for the portfolio.">]>;
456
456
  }, undefined>, v.DescriptionAction<{
457
457
  accountValueHistory: [number, string][];
458
458
  pnlHistory: [number, string][];
459
459
  vlm: string;
460
- }, "Portfolio metrics snapshot.">]>], undefined>, v.StrictTupleSchema<[v.LiteralSchema<"week", undefined>, v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
460
+ }, "Portfolio metrics snapshot.">]>], undefined>, v.TupleSchema<[v.LiteralSchema<"week", undefined>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
461
461
  /** History entries for account value as [timestamp, value]. */
462
- readonly accountValueHistory: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, v.DescriptionAction<[number, string][], "History entries for account value as [timestamp, value].">]>;
462
+ readonly accountValueHistory: v.SchemaWithPipe<readonly [v.ArraySchema<v.TupleSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, v.DescriptionAction<[number, string][], "History entries for account value as [timestamp, value].">]>;
463
463
  /** History entries for profit and loss as [timestamp, value]. */
464
- readonly pnlHistory: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, v.DescriptionAction<[number, string][], "History entries for profit and loss as [timestamp, value].">]>;
464
+ readonly pnlHistory: v.SchemaWithPipe<readonly [v.ArraySchema<v.TupleSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, v.DescriptionAction<[number, string][], "History entries for profit and loss as [timestamp, value].">]>;
465
465
  /** Volume metric for the portfolio. */
466
466
  readonly vlm: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Volume metric for the portfolio.">]>;
467
467
  }, undefined>, v.DescriptionAction<{
468
468
  accountValueHistory: [number, string][];
469
469
  pnlHistory: [number, string][];
470
470
  vlm: string;
471
- }, "Portfolio metrics snapshot.">]>], undefined>, v.StrictTupleSchema<[v.LiteralSchema<"month", undefined>, v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
471
+ }, "Portfolio metrics snapshot.">]>], undefined>, v.TupleSchema<[v.LiteralSchema<"month", undefined>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
472
472
  /** History entries for account value as [timestamp, value]. */
473
- readonly accountValueHistory: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, v.DescriptionAction<[number, string][], "History entries for account value as [timestamp, value].">]>;
473
+ readonly accountValueHistory: v.SchemaWithPipe<readonly [v.ArraySchema<v.TupleSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, v.DescriptionAction<[number, string][], "History entries for account value as [timestamp, value].">]>;
474
474
  /** History entries for profit and loss as [timestamp, value]. */
475
- readonly pnlHistory: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, v.DescriptionAction<[number, string][], "History entries for profit and loss as [timestamp, value].">]>;
475
+ readonly pnlHistory: v.SchemaWithPipe<readonly [v.ArraySchema<v.TupleSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, v.DescriptionAction<[number, string][], "History entries for profit and loss as [timestamp, value].">]>;
476
476
  /** Volume metric for the portfolio. */
477
477
  readonly vlm: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Volume metric for the portfolio.">]>;
478
478
  }, undefined>, v.DescriptionAction<{
479
479
  accountValueHistory: [number, string][];
480
480
  pnlHistory: [number, string][];
481
481
  vlm: string;
482
- }, "Portfolio metrics snapshot.">]>], undefined>, v.StrictTupleSchema<[v.LiteralSchema<"allTime", undefined>, v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
482
+ }, "Portfolio metrics snapshot.">]>], undefined>, v.TupleSchema<[v.LiteralSchema<"allTime", undefined>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
483
483
  /** History entries for account value as [timestamp, value]. */
484
- readonly accountValueHistory: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, v.DescriptionAction<[number, string][], "History entries for account value as [timestamp, value].">]>;
484
+ readonly accountValueHistory: v.SchemaWithPipe<readonly [v.ArraySchema<v.TupleSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, v.DescriptionAction<[number, string][], "History entries for account value as [timestamp, value].">]>;
485
485
  /** History entries for profit and loss as [timestamp, value]. */
486
- readonly pnlHistory: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, v.DescriptionAction<[number, string][], "History entries for profit and loss as [timestamp, value].">]>;
486
+ readonly pnlHistory: v.SchemaWithPipe<readonly [v.ArraySchema<v.TupleSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, v.DescriptionAction<[number, string][], "History entries for profit and loss as [timestamp, value].">]>;
487
487
  /** Volume metric for the portfolio. */
488
488
  readonly vlm: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Volume metric for the portfolio.">]>;
489
489
  }, undefined>, v.DescriptionAction<{
490
490
  accountValueHistory: [number, string][];
491
491
  pnlHistory: [number, string][];
492
492
  vlm: string;
493
- }, "Portfolio metrics snapshot.">]>], undefined>, v.StrictTupleSchema<[v.LiteralSchema<"perpDay", undefined>, v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
493
+ }, "Portfolio metrics snapshot.">]>], undefined>, v.TupleSchema<[v.LiteralSchema<"perpDay", undefined>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
494
494
  /** History entries for account value as [timestamp, value]. */
495
- readonly accountValueHistory: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, v.DescriptionAction<[number, string][], "History entries for account value as [timestamp, value].">]>;
495
+ readonly accountValueHistory: v.SchemaWithPipe<readonly [v.ArraySchema<v.TupleSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, v.DescriptionAction<[number, string][], "History entries for account value as [timestamp, value].">]>;
496
496
  /** History entries for profit and loss as [timestamp, value]. */
497
- readonly pnlHistory: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, v.DescriptionAction<[number, string][], "History entries for profit and loss as [timestamp, value].">]>;
497
+ readonly pnlHistory: v.SchemaWithPipe<readonly [v.ArraySchema<v.TupleSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, v.DescriptionAction<[number, string][], "History entries for profit and loss as [timestamp, value].">]>;
498
498
  /** Volume metric for the portfolio. */
499
499
  readonly vlm: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Volume metric for the portfolio.">]>;
500
500
  }, undefined>, v.DescriptionAction<{
501
501
  accountValueHistory: [number, string][];
502
502
  pnlHistory: [number, string][];
503
503
  vlm: string;
504
- }, "Portfolio metrics snapshot.">]>], undefined>, v.StrictTupleSchema<[v.LiteralSchema<"perpWeek", undefined>, v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
504
+ }, "Portfolio metrics snapshot.">]>], undefined>, v.TupleSchema<[v.LiteralSchema<"perpWeek", undefined>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
505
505
  /** History entries for account value as [timestamp, value]. */
506
- readonly accountValueHistory: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, v.DescriptionAction<[number, string][], "History entries for account value as [timestamp, value].">]>;
506
+ readonly accountValueHistory: v.SchemaWithPipe<readonly [v.ArraySchema<v.TupleSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, v.DescriptionAction<[number, string][], "History entries for account value as [timestamp, value].">]>;
507
507
  /** History entries for profit and loss as [timestamp, value]. */
508
- readonly pnlHistory: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, v.DescriptionAction<[number, string][], "History entries for profit and loss as [timestamp, value].">]>;
508
+ readonly pnlHistory: v.SchemaWithPipe<readonly [v.ArraySchema<v.TupleSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, v.DescriptionAction<[number, string][], "History entries for profit and loss as [timestamp, value].">]>;
509
509
  /** Volume metric for the portfolio. */
510
510
  readonly vlm: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Volume metric for the portfolio.">]>;
511
511
  }, undefined>, v.DescriptionAction<{
512
512
  accountValueHistory: [number, string][];
513
513
  pnlHistory: [number, string][];
514
514
  vlm: string;
515
- }, "Portfolio metrics snapshot.">]>], undefined>, v.StrictTupleSchema<[v.LiteralSchema<"perpMonth", undefined>, v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
515
+ }, "Portfolio metrics snapshot.">]>], undefined>, v.TupleSchema<[v.LiteralSchema<"perpMonth", undefined>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
516
516
  /** History entries for account value as [timestamp, value]. */
517
- readonly accountValueHistory: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, v.DescriptionAction<[number, string][], "History entries for account value as [timestamp, value].">]>;
517
+ readonly accountValueHistory: v.SchemaWithPipe<readonly [v.ArraySchema<v.TupleSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, v.DescriptionAction<[number, string][], "History entries for account value as [timestamp, value].">]>;
518
518
  /** History entries for profit and loss as [timestamp, value]. */
519
- readonly pnlHistory: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, v.DescriptionAction<[number, string][], "History entries for profit and loss as [timestamp, value].">]>;
519
+ readonly pnlHistory: v.SchemaWithPipe<readonly [v.ArraySchema<v.TupleSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, v.DescriptionAction<[number, string][], "History entries for profit and loss as [timestamp, value].">]>;
520
520
  /** Volume metric for the portfolio. */
521
521
  readonly vlm: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Volume metric for the portfolio.">]>;
522
522
  }, undefined>, v.DescriptionAction<{
523
523
  accountValueHistory: [number, string][];
524
524
  pnlHistory: [number, string][];
525
525
  vlm: string;
526
- }, "Portfolio metrics snapshot.">]>], undefined>, v.StrictTupleSchema<[v.LiteralSchema<"perpAllTime", undefined>, v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
526
+ }, "Portfolio metrics snapshot.">]>], undefined>, v.TupleSchema<[v.LiteralSchema<"perpAllTime", undefined>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
527
527
  /** History entries for account value as [timestamp, value]. */
528
- readonly accountValueHistory: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, v.DescriptionAction<[number, string][], "History entries for account value as [timestamp, value].">]>;
528
+ readonly accountValueHistory: v.SchemaWithPipe<readonly [v.ArraySchema<v.TupleSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, v.DescriptionAction<[number, string][], "History entries for account value as [timestamp, value].">]>;
529
529
  /** History entries for profit and loss as [timestamp, value]. */
530
- readonly pnlHistory: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, v.DescriptionAction<[number, string][], "History entries for profit and loss as [timestamp, value].">]>;
530
+ readonly pnlHistory: v.SchemaWithPipe<readonly [v.ArraySchema<v.TupleSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>], undefined>, undefined>, v.DescriptionAction<[number, string][], "History entries for profit and loss as [timestamp, value].">]>;
531
531
  /** Volume metric for the portfolio. */
532
532
  readonly vlm: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Volume metric for the portfolio.">]>;
533
533
  }, undefined>, v.DescriptionAction<{
@@ -569,7 +569,7 @@ export declare const PortfolioPeriods: v.SchemaWithPipe<readonly [v.StrictTupleS
569
569
  }]], "Portfolio metrics grouped by time periods.">]>;
570
570
  export type PortfolioPeriods = v.InferOutput<typeof PortfolioPeriods>;
571
571
  /** Pre-transfer user existence check result. */
572
- export declare const PreTransferCheck: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
572
+ export declare const PreTransferCheck: v.SchemaWithPipe<readonly [v.ObjectSchema<{
573
573
  /** Activation fee. */
574
574
  readonly fee: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Activation fee.">]>;
575
575
  /** Whether the user is sanctioned. */
@@ -586,9 +586,9 @@ export declare const PreTransferCheck: v.SchemaWithPipe<readonly [v.StrictObject
586
586
  }, "Pre-transfer user existence check result.">]>;
587
587
  export type PreTransferCheck = v.InferOutput<typeof PreTransferCheck>;
588
588
  /** Referral details for a user. */
589
- export declare const Referral: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
589
+ export declare const Referral: v.SchemaWithPipe<readonly [v.ObjectSchema<{
590
590
  /** Referrer details. */
591
- readonly referredBy: v.SchemaWithPipe<readonly [v.UnionSchema<[v.StrictObjectSchema<{
591
+ readonly referredBy: v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
592
592
  /** Referrer address. */
593
593
  readonly referrer: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, v.DescriptionAction<`0x${string}`, "Referrer address.">]>;
594
594
  /** Referral code used. */
@@ -606,17 +606,17 @@ export declare const Referral: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
606
606
  /** Builder reward amount. */
607
607
  readonly builderRewards: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Builder reward amount.">]>;
608
608
  /** Current state of the referrer. */
609
- readonly referrerState: v.SchemaWithPipe<readonly [v.UnionSchema<[v.StrictObjectSchema<{
609
+ readonly referrerState: v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
610
610
  /** Referrer is ready to receive rewards. */
611
611
  readonly stage: v.SchemaWithPipe<readonly [v.LiteralSchema<"ready", undefined>, v.DescriptionAction<"ready", "Referrer is ready to receive rewards.">]>;
612
612
  /** Referral program details. */
613
- readonly data: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
613
+ readonly data: v.SchemaWithPipe<readonly [v.ObjectSchema<{
614
614
  /** Assigned referral code. */
615
615
  readonly code: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.DescriptionAction<string, "Assigned referral code.">]>;
616
616
  /** Total number of referrals. */
617
617
  readonly nReferrals: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Total number of referrals.">]>;
618
618
  /** Summary of each referral state. */
619
- readonly referralStates: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictObjectSchema<{
619
+ readonly referralStates: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
620
620
  /** Cumulative traded volume. */
621
621
  readonly cumVlm: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Cumulative traded volume.">]>;
622
622
  /** Total fees rewarded to the referred user since referral. */
@@ -628,7 +628,7 @@ export declare const Referral: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
628
628
  /** Address of the referred user. */
629
629
  readonly user: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, v.DescriptionAction<`0x${string}`, "Address of the referred user.">]>;
630
630
  /** Mapping of token IDs to referral reward states. */
631
- readonly tokenToState: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.StrictObjectSchema<{
631
+ readonly tokenToState: v.SchemaWithPipe<readonly [v.ArraySchema<v.TupleSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.ObjectSchema<{
632
632
  /** Cumulative traded volume. */
633
633
  readonly cumVlm: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Cumulative traded volume.">]>;
634
634
  /** Total fees rewarded to the referred user since referral. */
@@ -668,14 +668,14 @@ export declare const Referral: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
668
668
  }][];
669
669
  }[];
670
670
  }, "Referral program details.">]>;
671
- }, undefined>, v.StrictObjectSchema<{
671
+ }, undefined>, v.ObjectSchema<{
672
672
  /** Referrer needs to create a referral code. */
673
673
  readonly stage: v.SchemaWithPipe<readonly [v.LiteralSchema<"needToCreateCode", undefined>, v.DescriptionAction<"needToCreateCode", "Referrer needs to create a referral code.">]>;
674
- }, undefined>, v.StrictObjectSchema<{
674
+ }, undefined>, v.ObjectSchema<{
675
675
  /** Referrer must complete a trade before earning rewards. */
676
676
  readonly stage: v.SchemaWithPipe<readonly [v.LiteralSchema<"needToTrade", undefined>, v.DescriptionAction<"needToTrade", "Referrer must complete a trade before earning rewards.">]>;
677
677
  /** Required trading volume details for activation. */
678
- readonly data: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
678
+ readonly data: v.SchemaWithPipe<readonly [v.ObjectSchema<{
679
679
  /** Required trading volume. */
680
680
  readonly required: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Required trading volume.">]>;
681
681
  }, undefined>, v.DescriptionAction<{
@@ -708,7 +708,7 @@ export declare const Referral: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
708
708
  };
709
709
  }, "Current state of the referrer.">]>;
710
710
  /** History of referral rewards. */
711
- readonly rewardHistory: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictObjectSchema<{
711
+ readonly rewardHistory: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
712
712
  /** Amount of earned rewards. */
713
713
  readonly earned: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Amount of earned rewards.">]>;
714
714
  /** Traded volume at the time of reward. */
@@ -724,7 +724,7 @@ export declare const Referral: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
724
724
  time: number;
725
725
  }[], "History of referral rewards.">]>;
726
726
  /** Mapping of token IDs to referral reward states. */
727
- readonly tokenToState: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictTupleSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.StrictObjectSchema<{
727
+ readonly tokenToState: v.SchemaWithPipe<readonly [v.ArraySchema<v.TupleSchema<[v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.ObjectSchema<{
728
728
  /** Cumulative traded volume. */
729
729
  readonly cumVlm: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Cumulative traded volume.">]>;
730
730
  /** Rewards earned but not yet claimed. */
@@ -789,7 +789,7 @@ export declare const Referral: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
789
789
  }, "Referral details for a user.">]>;
790
790
  export type Referral = v.InferOutput<typeof Referral>;
791
791
  /** Balance for a specific spot token. */
792
- export declare const SpotBalance: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
792
+ export declare const SpotBalance: v.SchemaWithPipe<readonly [v.ObjectSchema<{
793
793
  /** Asset symbol. */
794
794
  readonly coin: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Asset symbol.">]>;
795
795
  /** Unique identifier for the token. */
@@ -809,9 +809,9 @@ export declare const SpotBalance: v.SchemaWithPipe<readonly [v.StrictObjectSchem
809
809
  }, "Balance for a specific spot token.">]>;
810
810
  export type SpotBalance = v.InferOutput<typeof SpotBalance>;
811
811
  /** Account summary for spot trading. */
812
- export declare const SpotClearinghouseState: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
812
+ export declare const SpotClearinghouseState: v.SchemaWithPipe<readonly [v.ObjectSchema<{
813
813
  /** Balance for each token. */
814
- readonly balances: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
814
+ readonly balances: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
815
815
  /** Asset symbol. */
816
816
  readonly coin: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Asset symbol.">]>;
817
817
  /** Unique identifier for the token. */
@@ -836,7 +836,7 @@ export declare const SpotClearinghouseState: v.SchemaWithPipe<readonly [v.Strict
836
836
  entryNtl: string;
837
837
  }[], "Balance for each token.">]>;
838
838
  /** Escrowed balances. */
839
- readonly evmEscrows: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
839
+ readonly evmEscrows: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
840
840
  /** Asset symbol. */
841
841
  readonly coin: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Asset symbol.">]>;
842
842
  /** Unique identifier for the token. */
@@ -868,7 +868,7 @@ export declare const SpotClearinghouseState: v.SchemaWithPipe<readonly [v.Strict
868
868
  }, "Account summary for spot trading.">]>;
869
869
  export type SpotClearinghouseState = v.InferOutput<typeof SpotClearinghouseState>;
870
870
  /** Sub-account details for a user. */
871
- export declare const SubAccount: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
871
+ export declare const SubAccount: v.SchemaWithPipe<readonly [v.ObjectSchema<{
872
872
  /** Sub-account name. */
873
873
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.DescriptionAction<string, "Sub-account name.">]>;
874
874
  /** Sub-account address. */
@@ -876,9 +876,9 @@ export declare const SubAccount: v.SchemaWithPipe<readonly [v.StrictObjectSchema
876
876
  /** Master account address. */
877
877
  readonly master: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, v.DescriptionAction<`0x${string}`, "Master account address.">]>;
878
878
  /** Perpetual trading clearinghouse state summary. */
879
- readonly clearinghouseState: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
879
+ readonly clearinghouseState: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
880
880
  /** Margin summary details. */
881
- readonly marginSummary: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
881
+ readonly marginSummary: v.SchemaWithPipe<readonly [v.ObjectSchema<{
882
882
  /** Total account value. */
883
883
  readonly accountValue: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Total account value.">]>;
884
884
  /** Total notional position value. */
@@ -894,7 +894,7 @@ export declare const SubAccount: v.SchemaWithPipe<readonly [v.StrictObjectSchema
894
894
  totalMarginUsed: string;
895
895
  }, "Margin summary details.">]>;
896
896
  /** Cross-margin summary details. */
897
- readonly crossMarginSummary: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
897
+ readonly crossMarginSummary: v.SchemaWithPipe<readonly [v.ObjectSchema<{
898
898
  /** Total account value. */
899
899
  readonly accountValue: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Total account value.">]>;
900
900
  /** Total notional position value. */
@@ -914,24 +914,24 @@ export declare const SubAccount: v.SchemaWithPipe<readonly [v.StrictObjectSchema
914
914
  /** Amount available for withdrawal. */
915
915
  readonly withdrawable: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Amount available for withdrawal.">]>;
916
916
  /** List of asset positions. */
917
- readonly assetPositions: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
917
+ readonly assetPositions: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
918
918
  /** Position type. */
919
919
  readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"oneWay", undefined>, v.DescriptionAction<"oneWay", "Position type.">]>;
920
920
  /** Position details. */
921
- readonly position: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
921
+ readonly position: v.SchemaWithPipe<readonly [v.ObjectSchema<{
922
922
  /** Asset symbol. */
923
923
  readonly coin: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Asset symbol.">]>;
924
924
  /** Signed position size. */
925
925
  readonly szi: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Signed position size.">]>;
926
926
  /** Leverage details. */
927
- readonly leverage: v.SchemaWithPipe<readonly [v.UnionSchema<[v.StrictObjectSchema<{
927
+ readonly leverage: v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
928
928
  /** Leverage type. */
929
929
  readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"isolated", undefined>, v.DescriptionAction<"isolated", "Leverage type.">]>;
930
930
  /** Leverage value used. */
931
931
  readonly value: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.MinValueAction<number, 1, undefined>, v.DescriptionAction<number, "Leverage value used.">]>;
932
932
  /** Amount of USD used (1 = 1$). */
933
933
  readonly rawUsd: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Amount of USD used (1 = 1$).">]>;
934
- }, undefined>, v.StrictObjectSchema<{
934
+ }, undefined>, v.ObjectSchema<{
935
935
  /** Leverage type. */
936
936
  readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"cross", undefined>, v.DescriptionAction<"cross", "Leverage type.">]>;
937
937
  /** Leverage value used. */
@@ -959,7 +959,7 @@ export declare const SubAccount: v.SchemaWithPipe<readonly [v.StrictObjectSchema
959
959
  /** Maximum allowed leverage. */
960
960
  readonly maxLeverage: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.MinValueAction<number, 1, undefined>, v.DescriptionAction<number, "Maximum allowed leverage.">]>;
961
961
  /** Cumulative funding details. */
962
- readonly cumFunding: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
962
+ readonly cumFunding: v.SchemaWithPipe<readonly [v.ObjectSchema<{
963
963
  /** Total funding paid or received since account opening. */
964
964
  readonly allTime: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Total funding paid or received since account opening.">]>;
965
965
  /** Funding accumulated since the position was opened. */
@@ -1138,9 +1138,9 @@ export declare const SubAccount: v.SchemaWithPipe<readonly [v.StrictObjectSchema
1138
1138
  time: number;
1139
1139
  }, "Perpetual trading clearinghouse state summary.">]>;
1140
1140
  /** Spot tokens clearinghouse state. */
1141
- readonly spotState: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
1141
+ readonly spotState: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
1142
1142
  /** Balance for each token. */
1143
- readonly balances: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
1143
+ readonly balances: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
1144
1144
  /** Asset symbol. */
1145
1145
  readonly coin: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Asset symbol.">]>;
1146
1146
  /** Unique identifier for the token. */
@@ -1165,7 +1165,7 @@ export declare const SubAccount: v.SchemaWithPipe<readonly [v.StrictObjectSchema
1165
1165
  entryNtl: string;
1166
1166
  }[], "Balance for each token.">]>;
1167
1167
  /** Escrowed balances. */
1168
- readonly evmEscrows: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
1168
+ readonly evmEscrows: v.SchemaWithPipe<readonly [v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
1169
1169
  /** Asset symbol. */
1170
1170
  readonly coin: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Asset symbol.">]>;
1171
1171
  /** Unique identifier for the token. */
@@ -1273,9 +1273,9 @@ export declare const SubAccount: v.SchemaWithPipe<readonly [v.StrictObjectSchema
1273
1273
  }, "Sub-account details for a user.">]>;
1274
1274
  export type SubAccount = v.InferOutput<typeof SubAccount>;
1275
1275
  /** User fees. */
1276
- export declare const UserFees: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
1276
+ export declare const UserFees: v.SchemaWithPipe<readonly [v.ObjectSchema<{
1277
1277
  /** Daily user volume metrics. */
1278
- readonly dailyUserVlm: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictObjectSchema<{
1278
+ readonly dailyUserVlm: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
1279
1279
  /** Date in YYYY-M-D format. */
1280
1280
  readonly date: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoDateAction<string, undefined>, v.DescriptionAction<string, "Date in YYYY-M-D format.">]>;
1281
1281
  /** User cross-trade volume. */
@@ -1291,7 +1291,7 @@ export declare const UserFees: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
1291
1291
  exchange: string;
1292
1292
  }[], "Daily user volume metrics.">]>;
1293
1293
  /** Fee schedule information. */
1294
- readonly feeSchedule: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
1294
+ readonly feeSchedule: v.SchemaWithPipe<readonly [v.ObjectSchema<{
1295
1295
  /** Cross-trade fee rate. */
1296
1296
  readonly cross: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Cross-trade fee rate.">]>;
1297
1297
  /** Add-liquidity fee rate. */
@@ -1301,9 +1301,9 @@ export declare const UserFees: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
1301
1301
  /** Spot add-liquidity fee rate. */
1302
1302
  readonly spotAdd: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Spot add-liquidity fee rate.">]>;
1303
1303
  /** Fee tiers details. */
1304
- readonly tiers: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
1304
+ readonly tiers: v.SchemaWithPipe<readonly [v.ObjectSchema<{
1305
1305
  /** VIP fee tier information. */
1306
- readonly vip: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictObjectSchema<{
1306
+ readonly vip: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
1307
1307
  /** Notional volume cutoff. */
1308
1308
  readonly ntlCutoff: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Notional volume cutoff.">]>;
1309
1309
  /** Cross-trade fee rate. */
@@ -1322,7 +1322,7 @@ export declare const UserFees: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
1322
1322
  spotAdd: string;
1323
1323
  }[], "VIP fee tier information.">]>;
1324
1324
  /** Market maker fee tier information. */
1325
- readonly mm: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictObjectSchema<{
1325
+ readonly mm: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
1326
1326
  /** Maker fraction cutoff. */
1327
1327
  readonly makerFractionCutoff: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Maker fraction cutoff.">]>;
1328
1328
  /** Add-liquidity fee rate. */
@@ -1347,7 +1347,7 @@ export declare const UserFees: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
1347
1347
  /** Referral discount rate. */
1348
1348
  readonly referralDiscount: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Referral discount rate.">]>;
1349
1349
  /** Staking discount tiers details. */
1350
- readonly stakingDiscountTiers: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictObjectSchema<{
1350
+ readonly stakingDiscountTiers: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
1351
1351
  /** Basis points of maximum supply. */
1352
1352
  readonly bpsOfMaxSupply: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Basis points of maximum supply.">]>;
1353
1353
  /** Discount rate applied. */
@@ -1398,7 +1398,7 @@ export declare const UserFees: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
1398
1398
  readonly nextTrialAvailableTimestamp: v.SchemaWithPipe<readonly [v.UnionSchema<[v.UnknownSchema, v.NullSchema<undefined>], undefined>, v.DescriptionAction<unknown, "Timestamp when next trial becomes available.">]>;
1399
1399
  readonly stakingLink: v.UnionSchema<[v.UnknownSchema, v.NullSchema<undefined>], undefined>;
1400
1400
  /** Active staking discount details. */
1401
- readonly activeStakingDiscount: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
1401
+ readonly activeStakingDiscount: v.SchemaWithPipe<readonly [v.ObjectSchema<{
1402
1402
  /** Basis points of maximum supply. */
1403
1403
  readonly bpsOfMaxSupply: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Basis points of maximum supply.">]>;
1404
1404
  /** Discount rate applied. */
@@ -1454,7 +1454,7 @@ export declare const UserFees: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
1454
1454
  }, "User fees.">]>;
1455
1455
  export type UserFees = v.InferOutput<typeof UserFees>;
1456
1456
  /** Funding update details. */
1457
- export declare const FundingUpdate: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
1457
+ export declare const FundingUpdate: v.SchemaWithPipe<readonly [v.ObjectSchema<{
1458
1458
  /** Update type. */
1459
1459
  readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"funding", undefined>, v.DescriptionAction<"funding", "Update type.">]>;
1460
1460
  /** Asset symbol. */
@@ -1477,13 +1477,13 @@ export declare const FundingUpdate: v.SchemaWithPipe<readonly [v.StrictObjectSch
1477
1477
  }, "Funding update details.">]>;
1478
1478
  export type FundingUpdate = v.InferOutput<typeof FundingUpdate>;
1479
1479
  /** Funding ledger update for a user. */
1480
- export declare const UserFundingUpdate: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
1480
+ export declare const UserFundingUpdate: v.SchemaWithPipe<readonly [v.ObjectSchema<{
1481
1481
  /** Timestamp of the update (in ms since epoch). */
1482
1482
  readonly time: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Timestamp of the update (in ms since epoch).">]>;
1483
1483
  /** L1 transaction hash. */
1484
1484
  readonly hash: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>]>, v.DescriptionAction<`0x${string}`, "L1 transaction hash.">]>;
1485
1485
  /** Update details. */
1486
- readonly delta: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
1486
+ readonly delta: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.ObjectSchema<{
1487
1487
  /** Update type. */
1488
1488
  readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"funding", undefined>, v.DescriptionAction<"funding", "Update type.">]>;
1489
1489
  /** Asset symbol. */
@@ -1525,7 +1525,7 @@ export declare const UserFundingUpdate: v.SchemaWithPipe<readonly [v.StrictObjec
1525
1525
  }, "Funding ledger update for a user.">]>;
1526
1526
  export type UserFundingUpdate = v.InferOutput<typeof UserFundingUpdate>;
1527
1527
  /** User rate limits. */
1528
- export declare const UserRateLimit: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
1528
+ export declare const UserRateLimit: v.SchemaWithPipe<readonly [v.ObjectSchema<{
1529
1529
  /** Cumulative trading volume. */
1530
1530
  readonly cumVlm: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, string>]>, v.DescriptionAction<string, "Cumulative trading volume.">]>;
1531
1531
  /** Number of API requests used. */
@@ -1539,24 +1539,24 @@ export declare const UserRateLimit: v.SchemaWithPipe<readonly [v.StrictObjectSch
1539
1539
  }, "User rate limits.">]>;
1540
1540
  export type UserRateLimit = v.InferOutput<typeof UserRateLimit>;
1541
1541
  /** User role. */
1542
- export declare const UserRole: v.SchemaWithPipe<readonly [v.UnionSchema<[v.StrictObjectSchema<{
1542
+ export declare const UserRole: v.SchemaWithPipe<readonly [v.UnionSchema<[v.ObjectSchema<{
1543
1543
  /** Role identifier. */
1544
1544
  readonly role: v.SchemaWithPipe<readonly [v.UnionSchema<[v.LiteralSchema<"missing", undefined>, v.LiteralSchema<"user", undefined>, v.LiteralSchema<"vault", undefined>], undefined>, v.DescriptionAction<"user" | "missing" | "vault", "Role identifier.">]>;
1545
- }, undefined>, v.StrictObjectSchema<{
1545
+ }, undefined>, v.ObjectSchema<{
1546
1546
  /** Role identifier. */
1547
1547
  readonly role: v.SchemaWithPipe<readonly [v.LiteralSchema<"agent", undefined>, v.DescriptionAction<"agent", "Role identifier.">]>;
1548
1548
  /** Details for agent role. */
1549
- readonly data: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
1549
+ readonly data: v.SchemaWithPipe<readonly [v.ObjectSchema<{
1550
1550
  /** Master account address associated with the agent. */
1551
1551
  readonly user: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, v.DescriptionAction<`0x${string}`, "Master account address associated with the agent.">]>;
1552
1552
  }, undefined>, v.DescriptionAction<{
1553
1553
  user: `0x${string}`;
1554
1554
  }, "Details for agent role.">]>;
1555
- }, undefined>, v.StrictObjectSchema<{
1555
+ }, undefined>, v.ObjectSchema<{
1556
1556
  /** Role identifier. */
1557
1557
  readonly role: v.SchemaWithPipe<readonly [v.LiteralSchema<"subAccount", undefined>, v.DescriptionAction<"subAccount", "Role identifier.">]>;
1558
1558
  /** Details for sub-account role. */
1559
- readonly data: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
1559
+ readonly data: v.SchemaWithPipe<readonly [v.ObjectSchema<{
1560
1560
  /** Master account address associated with the sub-account. */
1561
1561
  readonly master: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 42, undefined>]>, v.DescriptionAction<`0x${string}`, "Master account address associated with the sub-account.">]>;
1562
1562
  }, undefined>, v.DescriptionAction<{
@@ -1577,7 +1577,7 @@ export declare const UserRole: v.SchemaWithPipe<readonly [v.UnionSchema<[v.Stric
1577
1577
  }, "User role.">]>;
1578
1578
  export type UserRole = v.InferOutput<typeof UserRole>;
1579
1579
  /** Transfer between spot and perpetual accounts. */
1580
- export declare const AccountClassTransferUpdate: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
1580
+ export declare const AccountClassTransferUpdate: v.SchemaWithPipe<readonly [v.ObjectSchema<{
1581
1581
  /** Update type. */
1582
1582
  readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"accountClassTransfer", undefined>, v.DescriptionAction<"accountClassTransfer", "Update type.">]>;
1583
1583
  /** Amount transferred in USDC. */
@@ -1591,7 +1591,7 @@ export declare const AccountClassTransferUpdate: v.SchemaWithPipe<readonly [v.St
1591
1591
  }, "Transfer between spot and perpetual accounts.">]>;
1592
1592
  export type AccountClassTransferUpdate = v.InferOutput<typeof AccountClassTransferUpdate>;
1593
1593
  /** Deposit update to an account. */
1594
- export declare const DepositUpdate: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
1594
+ export declare const DepositUpdate: v.SchemaWithPipe<readonly [v.ObjectSchema<{
1595
1595
  /** Update type. */
1596
1596
  readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"deposit", undefined>, v.DescriptionAction<"deposit", "Update type.">]>;
1597
1597
  /** Amount deposited in USDC. */
@@ -1602,7 +1602,7 @@ export declare const DepositUpdate: v.SchemaWithPipe<readonly [v.StrictObjectSch
1602
1602
  }, "Deposit update to an account.">]>;
1603
1603
  export type DepositUpdate = v.InferOutput<typeof DepositUpdate>;
1604
1604
  /** Internal transfer between accounts. */
1605
- export declare const InternalTransferUpdate: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
1605
+ export declare const InternalTransferUpdate: v.SchemaWithPipe<readonly [v.ObjectSchema<{
1606
1606
  /** Update type. */
1607
1607
  readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"internalTransfer", undefined>, v.DescriptionAction<"internalTransfer", "Update type.">]>;
1608
1608
  /** Amount transferred in USDC. */
@@ -1622,7 +1622,7 @@ export declare const InternalTransferUpdate: v.SchemaWithPipe<readonly [v.Strict
1622
1622
  }, "Internal transfer between accounts.">]>;
1623
1623
  export type InternalTransferUpdate = v.InferOutput<typeof InternalTransferUpdate>;
1624
1624
  /** Liquidation event update. */
1625
- export declare const LiquidationUpdate: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
1625
+ export declare const LiquidationUpdate: v.SchemaWithPipe<readonly [v.ObjectSchema<{
1626
1626
  /** Update type. */
1627
1627
  readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"liquidation", undefined>, v.DescriptionAction<"liquidation", "Update type.">]>;
1628
1628
  /** Total notional value of liquidated positions. */
@@ -1632,7 +1632,7 @@ export declare const LiquidationUpdate: v.SchemaWithPipe<readonly [v.StrictObjec
1632
1632
  /** Leverage type for liquidated positions. */
1633
1633
  readonly leverageType: v.SchemaWithPipe<readonly [v.UnionSchema<[v.LiteralSchema<"Cross", undefined>, v.LiteralSchema<"Isolated", undefined>], undefined>, v.DescriptionAction<"Cross" | "Isolated", "Leverage type for liquidated positions.">]>;
1634
1634
  /** Details of each liquidated position. */
1635
- readonly liquidatedPositions: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictObjectSchema<{
1635
+ readonly liquidatedPositions: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
1636
1636
  /** Asset symbol of the liquidated position. */
1637
1637
  readonly coin: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Asset symbol of the liquidated position.">]>;
1638
1638
  /** Signed position size liquidated. */
@@ -1653,7 +1653,7 @@ export declare const LiquidationUpdate: v.SchemaWithPipe<readonly [v.StrictObjec
1653
1653
  }, "Liquidation event update.">]>;
1654
1654
  export type LiquidationUpdate = v.InferOutput<typeof LiquidationUpdate>;
1655
1655
  /** Rewards claim event update. */
1656
- export declare const RewardsClaimUpdate: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
1656
+ export declare const RewardsClaimUpdate: v.SchemaWithPipe<readonly [v.ObjectSchema<{
1657
1657
  /** Update type. */
1658
1658
  readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"rewardsClaim", undefined>, v.DescriptionAction<"rewardsClaim", "Update type.">]>;
1659
1659
  /** Amount of rewards claimed. */
@@ -1667,7 +1667,7 @@ export declare const RewardsClaimUpdate: v.SchemaWithPipe<readonly [v.StrictObje
1667
1667
  }, "Rewards claim event update.">]>;
1668
1668
  export type RewardsClaimUpdate = v.InferOutput<typeof RewardsClaimUpdate>;
1669
1669
  /** Spot transfer update between accounts. */
1670
- export declare const SpotTransferUpdate: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
1670
+ export declare const SpotTransferUpdate: v.SchemaWithPipe<readonly [v.ObjectSchema<{
1671
1671
  /** Update type. */
1672
1672
  readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"spotTransfer", undefined>, v.DescriptionAction<"spotTransfer", "Update type.">]>;
1673
1673
  /** Token symbol. */
@@ -1701,7 +1701,7 @@ export declare const SpotTransferUpdate: v.SchemaWithPipe<readonly [v.StrictObje
1701
1701
  }, "Spot transfer update between accounts.">]>;
1702
1702
  export type SpotTransferUpdate = v.InferOutput<typeof SpotTransferUpdate>;
1703
1703
  /** Transfer update between sub-accounts. */
1704
- export declare const SubAccountTransferUpdate: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
1704
+ export declare const SubAccountTransferUpdate: v.SchemaWithPipe<readonly [v.ObjectSchema<{
1705
1705
  /** Update type. */
1706
1706
  readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"subAccountTransfer", undefined>, v.DescriptionAction<"subAccountTransfer", "Update type.">]>;
1707
1707
  /** Amount transferred in USDC. */
@@ -1718,7 +1718,7 @@ export declare const SubAccountTransferUpdate: v.SchemaWithPipe<readonly [v.Stri
1718
1718
  }, "Transfer update between sub-accounts.">]>;
1719
1719
  export type SubAccountTransferUpdate = v.InferOutput<typeof SubAccountTransferUpdate>;
1720
1720
  /** Vault creation update. */
1721
- export declare const VaultCreateUpdate: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
1721
+ export declare const VaultCreateUpdate: v.SchemaWithPipe<readonly [v.ObjectSchema<{
1722
1722
  /** Update type. */
1723
1723
  readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"vaultCreate", undefined>, v.DescriptionAction<"vaultCreate", "Update type.">]>;
1724
1724
  /** Address of the created vault. */
@@ -1735,7 +1735,7 @@ export declare const VaultCreateUpdate: v.SchemaWithPipe<readonly [v.StrictObjec
1735
1735
  }, "Vault creation update.">]>;
1736
1736
  export type VaultCreateUpdate = v.InferOutput<typeof VaultCreateUpdate>;
1737
1737
  /** Vault deposit update. */
1738
- export declare const VaultDepositUpdate: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
1738
+ export declare const VaultDepositUpdate: v.SchemaWithPipe<readonly [v.ObjectSchema<{
1739
1739
  /** Update type. */
1740
1740
  readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"vaultDeposit", undefined>, v.DescriptionAction<"vaultDeposit", "Update type.">]>;
1741
1741
  /** Address of the target vault. */
@@ -1749,7 +1749,7 @@ export declare const VaultDepositUpdate: v.SchemaWithPipe<readonly [v.StrictObje
1749
1749
  }, "Vault deposit update.">]>;
1750
1750
  export type VaultDepositUpdate = v.InferOutput<typeof VaultDepositUpdate>;
1751
1751
  /** Vault distribution update. */
1752
- export declare const VaultDistributionUpdate: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
1752
+ export declare const VaultDistributionUpdate: v.SchemaWithPipe<readonly [v.ObjectSchema<{
1753
1753
  /** Update type. */
1754
1754
  readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"vaultDistribution", undefined>, v.DescriptionAction<"vaultDistribution", "Update type.">]>;
1755
1755
  /** Address of the vault distributing funds. */
@@ -1763,7 +1763,7 @@ export declare const VaultDistributionUpdate: v.SchemaWithPipe<readonly [v.Stric
1763
1763
  }, "Vault distribution update.">]>;
1764
1764
  export type VaultDistributionUpdate = v.InferOutput<typeof VaultDistributionUpdate>;
1765
1765
  /** Vault withdrawal event update. */
1766
- export declare const VaultWithdrawUpdate: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
1766
+ export declare const VaultWithdrawUpdate: v.SchemaWithPipe<readonly [v.ObjectSchema<{
1767
1767
  /** Update type. */
1768
1768
  readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"vaultWithdraw", undefined>, v.DescriptionAction<"vaultWithdraw", "Update type.">]>;
1769
1769
  /** Vault address. */
@@ -1792,7 +1792,7 @@ export declare const VaultWithdrawUpdate: v.SchemaWithPipe<readonly [v.StrictObj
1792
1792
  }, "Vault withdrawal event update.">]>;
1793
1793
  export type VaultWithdrawUpdate = v.InferOutput<typeof VaultWithdrawUpdate>;
1794
1794
  /** Withdrawal update from an account. */
1795
- export declare const WithdrawUpdate: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
1795
+ export declare const WithdrawUpdate: v.SchemaWithPipe<readonly [v.ObjectSchema<{
1796
1796
  /** Update type. */
1797
1797
  readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"withdraw", undefined>, v.DescriptionAction<"withdraw", "Update type.">]>;
1798
1798
  /** Amount withdrawn in USDC. */
@@ -1809,13 +1809,13 @@ export declare const WithdrawUpdate: v.SchemaWithPipe<readonly [v.StrictObjectSc
1809
1809
  }, "Withdrawal update from an account.">]>;
1810
1810
  export type WithdrawUpdate = v.InferOutput<typeof WithdrawUpdate>;
1811
1811
  /** Non-funding ledger update for a user. */
1812
- export declare const UserNonFundingLedgerUpdate: v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
1812
+ export declare const UserNonFundingLedgerUpdate: v.SchemaWithPipe<readonly [v.ObjectSchema<{
1813
1813
  /** Timestamp of the update (in ms since epoch). */
1814
1814
  readonly time: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, v.DescriptionAction<number, "Timestamp of the update (in ms since epoch).">]>;
1815
1815
  /** L1 transaction hash. */
1816
1816
  readonly hash: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.TransformAction<string, `0x${string}`>]>, v.LengthAction<`0x${string}`, 66, undefined>]>, v.DescriptionAction<`0x${string}`, "L1 transaction hash.">]>;
1817
1817
  /** Update details. */
1818
- readonly delta: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
1818
+ readonly delta: v.SchemaWithPipe<readonly [v.UnionSchema<[v.SchemaWithPipe<readonly [v.ObjectSchema<{
1819
1819
  /** Update type. */
1820
1820
  readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"accountClassTransfer", undefined>, v.DescriptionAction<"accountClassTransfer", "Update type.">]>;
1821
1821
  /** Amount transferred in USDC. */
@@ -1826,7 +1826,7 @@ export declare const UserNonFundingLedgerUpdate: v.SchemaWithPipe<readonly [v.St
1826
1826
  type: "accountClassTransfer";
1827
1827
  usdc: string;
1828
1828
  toPerp: boolean;
1829
- }, "Transfer between spot and perpetual accounts.">]>, v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
1829
+ }, "Transfer between spot and perpetual accounts.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1830
1830
  /** Update type. */
1831
1831
  readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"deposit", undefined>, v.DescriptionAction<"deposit", "Update type.">]>;
1832
1832
  /** Amount deposited in USDC. */
@@ -1834,7 +1834,7 @@ export declare const UserNonFundingLedgerUpdate: v.SchemaWithPipe<readonly [v.St
1834
1834
  }, undefined>, v.DescriptionAction<{
1835
1835
  type: "deposit";
1836
1836
  usdc: string;
1837
- }, "Deposit update to an account.">]>, v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
1837
+ }, "Deposit update to an account.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1838
1838
  /** Update type. */
1839
1839
  readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"internalTransfer", undefined>, v.DescriptionAction<"internalTransfer", "Update type.">]>;
1840
1840
  /** Amount transferred in USDC. */
@@ -1851,7 +1851,7 @@ export declare const UserNonFundingLedgerUpdate: v.SchemaWithPipe<readonly [v.St
1851
1851
  user: `0x${string}`;
1852
1852
  destination: `0x${string}`;
1853
1853
  fee: string;
1854
- }, "Internal transfer between accounts.">]>, v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
1854
+ }, "Internal transfer between accounts.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1855
1855
  /** Update type. */
1856
1856
  readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"liquidation", undefined>, v.DescriptionAction<"liquidation", "Update type.">]>;
1857
1857
  /** Total notional value of liquidated positions. */
@@ -1861,7 +1861,7 @@ export declare const UserNonFundingLedgerUpdate: v.SchemaWithPipe<readonly [v.St
1861
1861
  /** Leverage type for liquidated positions. */
1862
1862
  readonly leverageType: v.SchemaWithPipe<readonly [v.UnionSchema<[v.LiteralSchema<"Cross", undefined>, v.LiteralSchema<"Isolated", undefined>], undefined>, v.DescriptionAction<"Cross" | "Isolated", "Leverage type for liquidated positions.">]>;
1863
1863
  /** Details of each liquidated position. */
1864
- readonly liquidatedPositions: v.SchemaWithPipe<readonly [v.ArraySchema<v.StrictObjectSchema<{
1864
+ readonly liquidatedPositions: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
1865
1865
  /** Asset symbol of the liquidated position. */
1866
1866
  readonly coin: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Asset symbol of the liquidated position.">]>;
1867
1867
  /** Signed position size liquidated. */
@@ -1879,7 +1879,7 @@ export declare const UserNonFundingLedgerUpdate: v.SchemaWithPipe<readonly [v.St
1879
1879
  coin: string;
1880
1880
  szi: string;
1881
1881
  }[];
1882
- }, "Liquidation event update.">]>, v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
1882
+ }, "Liquidation event update.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1883
1883
  /** Update type. */
1884
1884
  readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"rewardsClaim", undefined>, v.DescriptionAction<"rewardsClaim", "Update type.">]>;
1885
1885
  /** Amount of rewards claimed. */
@@ -1890,7 +1890,7 @@ export declare const UserNonFundingLedgerUpdate: v.SchemaWithPipe<readonly [v.St
1890
1890
  type: "rewardsClaim";
1891
1891
  amount: string;
1892
1892
  token: string;
1893
- }, "Rewards claim event update.">]>, v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
1893
+ }, "Rewards claim event update.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1894
1894
  /** Update type. */
1895
1895
  readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"spotTransfer", undefined>, v.DescriptionAction<"spotTransfer", "Update type.">]>;
1896
1896
  /** Token symbol. */
@@ -1921,7 +1921,7 @@ export declare const UserNonFundingLedgerUpdate: v.SchemaWithPipe<readonly [v.St
1921
1921
  nativeTokenFee: string;
1922
1922
  nonce: null;
1923
1923
  feeToken: string;
1924
- }, "Spot transfer update between accounts.">]>, v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
1924
+ }, "Spot transfer update between accounts.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1925
1925
  /** Update type. */
1926
1926
  readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"subAccountTransfer", undefined>, v.DescriptionAction<"subAccountTransfer", "Update type.">]>;
1927
1927
  /** Amount transferred in USDC. */
@@ -1935,7 +1935,7 @@ export declare const UserNonFundingLedgerUpdate: v.SchemaWithPipe<readonly [v.St
1935
1935
  usdc: string;
1936
1936
  user: `0x${string}`;
1937
1937
  destination: `0x${string}`;
1938
- }, "Transfer update between sub-accounts.">]>, v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
1938
+ }, "Transfer update between sub-accounts.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1939
1939
  /** Update type. */
1940
1940
  readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"vaultCreate", undefined>, v.DescriptionAction<"vaultCreate", "Update type.">]>;
1941
1941
  /** Address of the created vault. */
@@ -1949,7 +1949,7 @@ export declare const UserNonFundingLedgerUpdate: v.SchemaWithPipe<readonly [v.St
1949
1949
  vault: `0x${string}`;
1950
1950
  usdc: string;
1951
1951
  fee: string;
1952
- }, "Vault creation update.">]>, v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
1952
+ }, "Vault creation update.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1953
1953
  /** Update type. */
1954
1954
  readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"vaultDeposit", undefined>, v.DescriptionAction<"vaultDeposit", "Update type.">]>;
1955
1955
  /** Address of the target vault. */
@@ -1960,7 +1960,7 @@ export declare const UserNonFundingLedgerUpdate: v.SchemaWithPipe<readonly [v.St
1960
1960
  type: "vaultDeposit";
1961
1961
  vault: `0x${string}`;
1962
1962
  usdc: string;
1963
- }, "Vault deposit update.">]>, v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
1963
+ }, "Vault deposit update.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1964
1964
  /** Update type. */
1965
1965
  readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"vaultDistribution", undefined>, v.DescriptionAction<"vaultDistribution", "Update type.">]>;
1966
1966
  /** Address of the vault distributing funds. */
@@ -1971,7 +1971,7 @@ export declare const UserNonFundingLedgerUpdate: v.SchemaWithPipe<readonly [v.St
1971
1971
  type: "vaultDistribution";
1972
1972
  vault: `0x${string}`;
1973
1973
  usdc: string;
1974
- }, "Vault distribution update.">]>, v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
1974
+ }, "Vault distribution update.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
1975
1975
  /** Update type. */
1976
1976
  readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"vaultWithdraw", undefined>, v.DescriptionAction<"vaultWithdraw", "Update type.">]>;
1977
1977
  /** Vault address. */
@@ -1997,7 +1997,7 @@ export declare const UserNonFundingLedgerUpdate: v.SchemaWithPipe<readonly [v.St
1997
1997
  closingCost: string;
1998
1998
  basis: string;
1999
1999
  netWithdrawnUsd: string;
2000
- }, "Vault withdrawal event update.">]>, v.SchemaWithPipe<readonly [v.StrictObjectSchema<{
2000
+ }, "Vault withdrawal event update.">]>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2001
2001
  /** Update type. */
2002
2002
  readonly type: v.SchemaWithPipe<readonly [v.LiteralSchema<"withdraw", undefined>, v.DescriptionAction<"withdraw", "Update type.">]>;
2003
2003
  /** Amount withdrawn in USDC. */