@wowok/wowok 2.2.11

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 (838) hide show
  1. package/LICENSE +145 -0
  2. package/NOTICE +114 -0
  3. package/README.md +38 -0
  4. package/THIRD_PARTY_LICENSES/APACHE_LICENSE.txt +196 -0
  5. package/THIRD_PARTY_LICENSES/MIT_LICENSE.txt +58 -0
  6. package/dist/cjs/_deps/bcs/bcs-type.d.ts +127 -0
  7. package/dist/cjs/_deps/bcs/bcs-type.js +1 -0
  8. package/dist/cjs/_deps/bcs/bcs.d.ts +49 -0
  9. package/dist/cjs/_deps/bcs/bcs.js +1 -0
  10. package/dist/cjs/_deps/bcs/index.d.ts +16 -0
  11. package/dist/cjs/_deps/bcs/index.js +1 -0
  12. package/dist/cjs/_deps/bcs/reader.d.ts +15 -0
  13. package/dist/cjs/_deps/bcs/reader.js +1 -0
  14. package/dist/cjs/_deps/bcs/types.d.ts +24 -0
  15. package/dist/cjs/_deps/bcs/types.js +1 -0
  16. package/dist/cjs/_deps/bcs/uleb.d.ts +5 -0
  17. package/dist/cjs/_deps/bcs/uleb.js +1 -0
  18. package/dist/cjs/_deps/bcs/utils.d.ts +4 -0
  19. package/dist/cjs/_deps/bcs/utils.js +1 -0
  20. package/dist/cjs/_deps/bcs/writer.d.ts +28 -0
  21. package/dist/cjs/_deps/bcs/writer.js +1 -0
  22. package/dist/cjs/_deps/utils/b58.d.ts +2 -0
  23. package/dist/cjs/_deps/utils/b58.js +1 -0
  24. package/dist/cjs/_deps/utils/b64.d.ts +2 -0
  25. package/dist/cjs/_deps/utils/b64.js +1 -0
  26. package/dist/cjs/_deps/utils/chunk.d.ts +1 -0
  27. package/dist/cjs/_deps/utils/chunk.js +1 -0
  28. package/dist/cjs/_deps/utils/dataloader.d.ts +43 -0
  29. package/dist/cjs/_deps/utils/dataloader.js +1 -0
  30. package/dist/cjs/_deps/utils/hex.d.ts +2 -0
  31. package/dist/cjs/_deps/utils/hex.js +1 -0
  32. package/dist/cjs/_deps/utils/index.d.ts +7 -0
  33. package/dist/cjs/_deps/utils/index.js +1 -0
  34. package/dist/cjs/_deps/utils/types.d.ts +4 -0
  35. package/dist/cjs/_deps/utils/types.js +1 -0
  36. package/dist/cjs/_deps/utils/with-resolver.d.ts +6 -0
  37. package/dist/cjs/_deps/utils/with-resolver.js +1 -0
  38. package/dist/cjs/bcs/bcs.d.ts +1927 -0
  39. package/dist/cjs/bcs/bcs.js +1 -0
  40. package/dist/cjs/bcs/effects.d.ts +579 -0
  41. package/dist/cjs/bcs/effects.js +1 -0
  42. package/dist/cjs/bcs/index.d.ts +6 -0
  43. package/dist/cjs/bcs/index.js +1 -0
  44. package/dist/cjs/bcs/pure.d.ts +22 -0
  45. package/dist/cjs/bcs/pure.js +1 -0
  46. package/dist/cjs/bcs/type-tag-serializer.d.ts +7 -0
  47. package/dist/cjs/bcs/type-tag-serializer.js +1 -0
  48. package/dist/cjs/bcs/types.d.ts +65 -0
  49. package/dist/cjs/bcs/types.js +1 -0
  50. package/dist/cjs/client/index.d.ts +5 -0
  51. package/dist/cjs/client/index.js +1 -0
  52. package/dist/cjs/client/network.d.ts +5 -0
  53. package/dist/cjs/client/network.js +1 -0
  54. package/dist/cjs/cryptography/index.d.ts +7 -0
  55. package/dist/cjs/cryptography/index.js +1 -0
  56. package/dist/cjs/cryptography/intent.d.ts +3 -0
  57. package/dist/cjs/cryptography/intent.js +1 -0
  58. package/dist/cjs/cryptography/keypair.d.ts +39 -0
  59. package/dist/cjs/cryptography/keypair.js +1 -0
  60. package/dist/cjs/cryptography/mnemonics.d.ts +4 -0
  61. package/dist/cjs/cryptography/mnemonics.js +1 -0
  62. package/dist/cjs/cryptography/publickey.d.ts +25 -0
  63. package/dist/cjs/cryptography/publickey.js +1 -0
  64. package/dist/cjs/cryptography/signature-scheme.d.ts +13 -0
  65. package/dist/cjs/cryptography/signature-scheme.js +1 -0
  66. package/dist/cjs/cryptography/signature.d.ts +21 -0
  67. package/dist/cjs/cryptography/signature.js +1 -0
  68. package/dist/cjs/experimental/cache.d.ts +12 -0
  69. package/dist/cjs/experimental/cache.js +1 -0
  70. package/dist/cjs/experimental/client.d.ts +12 -0
  71. package/dist/cjs/experimental/client.js +1 -0
  72. package/dist/cjs/experimental/core.d.ts +31 -0
  73. package/dist/cjs/experimental/core.js +1 -0
  74. package/dist/cjs/experimental/errors.d.ts +8 -0
  75. package/dist/cjs/experimental/errors.js +1 -0
  76. package/dist/cjs/experimental/index.d.ts +7 -0
  77. package/dist/cjs/experimental/index.js +1 -0
  78. package/dist/cjs/experimental/persistent-storage.d.ts +36 -0
  79. package/dist/cjs/experimental/persistent-storage.js +1 -0
  80. package/dist/cjs/experimental/persistent-storage.test.d.ts +1 -0
  81. package/dist/cjs/experimental/persistent-storage.test.js +1 -0
  82. package/dist/cjs/experimental/transports/utils.d.ts +3 -0
  83. package/dist/cjs/experimental/transports/utils.js +1 -0
  84. package/dist/cjs/experimental/types.d.ts +361 -0
  85. package/dist/cjs/experimental/types.js +1 -0
  86. package/dist/cjs/faucet/faucet.d.ts +57 -0
  87. package/dist/cjs/faucet/faucet.js +1 -0
  88. package/dist/cjs/faucet/index.d.ts +1 -0
  89. package/dist/cjs/faucet/index.js +1 -0
  90. package/dist/cjs/grpc/client.d.ts +30 -0
  91. package/dist/cjs/grpc/client.js +1 -0
  92. package/dist/cjs/grpc/core.d.ts +28 -0
  93. package/dist/cjs/grpc/core.js +1 -0
  94. package/dist/cjs/grpc/index.d.ts +4 -0
  95. package/dist/cjs/grpc/index.js +1 -0
  96. package/dist/cjs/grpc/proto/google/protobuf/any.d.ts +29 -0
  97. package/dist/cjs/grpc/proto/google/protobuf/any.js +1 -0
  98. package/dist/cjs/grpc/proto/google/protobuf/duration.d.ts +23 -0
  99. package/dist/cjs/grpc/proto/google/protobuf/duration.js +1 -0
  100. package/dist/cjs/grpc/proto/google/protobuf/empty.d.ts +16 -0
  101. package/dist/cjs/grpc/proto/google/protobuf/empty.js +1 -0
  102. package/dist/cjs/grpc/proto/google/protobuf/field_mask.d.ts +22 -0
  103. package/dist/cjs/grpc/proto/google/protobuf/field_mask.js +1 -0
  104. package/dist/cjs/grpc/proto/google/protobuf/struct.d.ts +72 -0
  105. package/dist/cjs/grpc/proto/google/protobuf/struct.js +1 -0
  106. package/dist/cjs/grpc/proto/google/protobuf/timestamp.d.ts +26 -0
  107. package/dist/cjs/grpc/proto/google/protobuf/timestamp.js +1 -0
  108. package/dist/cjs/grpc/proto/google/rpc/error_details.d.ts +166 -0
  109. package/dist/cjs/grpc/proto/google/rpc/error_details.js +1 -0
  110. package/dist/cjs/grpc/proto/google/rpc/status.d.ts +20 -0
  111. package/dist/cjs/grpc/proto/google/rpc/status.js +1 -0
  112. package/dist/cjs/grpc/proto/sui/rpc/v2/argument.d.ts +18 -0
  113. package/dist/cjs/grpc/proto/sui/rpc/v2/argument.js +1 -0
  114. package/dist/cjs/grpc/proto/sui/rpc/v2/balance_change.d.ts +11 -0
  115. package/dist/cjs/grpc/proto/sui/rpc/v2/balance_change.js +1 -0
  116. package/dist/cjs/grpc/proto/sui/rpc/v2/bcs.d.ts +10 -0
  117. package/dist/cjs/grpc/proto/sui/rpc/v2/bcs.js +1 -0
  118. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint.d.ts +20 -0
  119. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint.js +1 -0
  120. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_contents.d.ts +23 -0
  121. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_contents.js +1 -0
  122. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_summary.d.ts +46 -0
  123. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_summary.js +1 -0
  124. package/dist/cjs/grpc/proto/sui/rpc/v2/effects.d.ts +81 -0
  125. package/dist/cjs/grpc/proto/sui/rpc/v2/effects.js +1 -0
  126. package/dist/cjs/grpc/proto/sui/rpc/v2/epoch.d.ts +21 -0
  127. package/dist/cjs/grpc/proto/sui/rpc/v2/epoch.js +1 -0
  128. package/dist/cjs/grpc/proto/sui/rpc/v2/error_reason.d.ts +5 -0
  129. package/dist/cjs/grpc/proto/sui/rpc/v2/error_reason.js +1 -0
  130. package/dist/cjs/grpc/proto/sui/rpc/v2/event.d.ts +25 -0
  131. package/dist/cjs/grpc/proto/sui/rpc/v2/event.js +1 -0
  132. package/dist/cjs/grpc/proto/sui/rpc/v2/executed_transaction.d.ts +24 -0
  133. package/dist/cjs/grpc/proto/sui/rpc/v2/executed_transaction.js +1 -0
  134. package/dist/cjs/grpc/proto/sui/rpc/v2/execution_status.d.ts +220 -0
  135. package/dist/cjs/grpc/proto/sui/rpc/v2/execution_status.js +1 -0
  136. package/dist/cjs/grpc/proto/sui/rpc/v2/gas_cost_summary.d.ts +12 -0
  137. package/dist/cjs/grpc/proto/sui/rpc/v2/gas_cost_summary.js +1 -0
  138. package/dist/cjs/grpc/proto/sui/rpc/v2/input.d.ts +23 -0
  139. package/dist/cjs/grpc/proto/sui/rpc/v2/input.js +1 -0
  140. package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.client.d.ts +43 -0
  141. package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.client.js +1 -0
  142. package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.d.ts +160 -0
  143. package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.js +1 -0
  144. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package.d.ts +150 -0
  145. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package.js +1 -0
  146. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.client.d.ts +31 -0
  147. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.client.js +1 -0
  148. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.d.ts +78 -0
  149. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.js +1 -0
  150. package/dist/cjs/grpc/proto/sui/rpc/v2/object.d.ts +32 -0
  151. package/dist/cjs/grpc/proto/sui/rpc/v2/object.js +1 -0
  152. package/dist/cjs/grpc/proto/sui/rpc/v2/object_reference.d.ts +11 -0
  153. package/dist/cjs/grpc/proto/sui/rpc/v2/object_reference.js +1 -0
  154. package/dist/cjs/grpc/proto/sui/rpc/v2/owner.d.ts +19 -0
  155. package/dist/cjs/grpc/proto/sui/rpc/v2/owner.js +1 -0
  156. package/dist/cjs/grpc/proto/sui/rpc/v2/protocol_config.d.ts +15 -0
  157. package/dist/cjs/grpc/proto/sui/rpc/v2/protocol_config.js +1 -0
  158. package/dist/cjs/grpc/proto/sui/rpc/v2/signature.d.ts +105 -0
  159. package/dist/cjs/grpc/proto/sui/rpc/v2/signature.js +1 -0
  160. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_scheme.d.ts +5 -0
  161. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_scheme.js +1 -0
  162. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.client.d.ts +19 -0
  163. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.client.js +1 -0
  164. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.d.ts +23 -0
  165. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.js +1 -0
  166. package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.client.d.ts +35 -0
  167. package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.client.js +1 -0
  168. package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.d.ts +172 -0
  169. package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.js +1 -0
  170. package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.client.d.ts +19 -0
  171. package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.client.js +1 -0
  172. package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.d.ts +21 -0
  173. package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.js +1 -0
  174. package/dist/cjs/grpc/proto/sui/rpc/v2/system_state.d.ts +146 -0
  175. package/dist/cjs/grpc/proto/sui/rpc/v2/system_state.js +1 -0
  176. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction.d.ts +338 -0
  177. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction.js +1 -0
  178. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.client.d.ts +23 -0
  179. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js +1 -0
  180. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.d.ts +66 -0
  181. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.js +1 -0
  182. package/dist/cjs/index.d.ts +25 -0
  183. package/dist/cjs/index.js +1 -0
  184. package/dist/cjs/jsonRpc/client.d.ts +121 -0
  185. package/dist/cjs/jsonRpc/client.js +1 -0
  186. package/dist/cjs/jsonRpc/core.d.ts +87 -0
  187. package/dist/cjs/jsonRpc/core.js +1 -0
  188. package/dist/cjs/jsonRpc/errors.d.ts +12 -0
  189. package/dist/cjs/jsonRpc/errors.js +1 -0
  190. package/dist/cjs/jsonRpc/http-transport.d.ts +39 -0
  191. package/dist/cjs/jsonRpc/http-transport.js +1 -0
  192. package/dist/cjs/jsonRpc/index.d.ts +4 -0
  193. package/dist/cjs/jsonRpc/index.js +1 -0
  194. package/dist/cjs/jsonRpc/json-rpc-resolver.d.ts +4 -0
  195. package/dist/cjs/jsonRpc/json-rpc-resolver.js +1 -0
  196. package/dist/cjs/jsonRpc/rpc-websocket-client.d.ts +28 -0
  197. package/dist/cjs/jsonRpc/rpc-websocket-client.js +1 -0
  198. package/dist/cjs/jsonRpc/types/chain.d.ts +94 -0
  199. package/dist/cjs/jsonRpc/types/chain.js +1 -0
  200. package/dist/cjs/jsonRpc/types/changes.d.ts +19 -0
  201. package/dist/cjs/jsonRpc/types/changes.js +1 -0
  202. package/dist/cjs/jsonRpc/types/coins.d.ts +6 -0
  203. package/dist/cjs/jsonRpc/types/coins.js +1 -0
  204. package/dist/cjs/jsonRpc/types/common.d.ts +2 -0
  205. package/dist/cjs/jsonRpc/types/common.js +1 -0
  206. package/dist/cjs/jsonRpc/types/generated.d.ts +954 -0
  207. package/dist/cjs/jsonRpc/types/generated.js +1 -0
  208. package/dist/cjs/jsonRpc/types/index.d.ts +6 -0
  209. package/dist/cjs/jsonRpc/types/index.js +1 -0
  210. package/dist/cjs/jsonRpc/types/params.d.ts +303 -0
  211. package/dist/cjs/jsonRpc/types/params.js +1 -0
  212. package/dist/cjs/keypairs/falcon512/index.d.ts +2 -0
  213. package/dist/cjs/keypairs/falcon512/index.js +1 -0
  214. package/dist/cjs/keypairs/falcon512/keypair.d.ts +19 -0
  215. package/dist/cjs/keypairs/falcon512/keypair.js +1 -0
  216. package/dist/cjs/keypairs/falcon512/publickey.d.ts +11 -0
  217. package/dist/cjs/keypairs/falcon512/publickey.js +1 -0
  218. package/dist/cjs/keypairs/index.d.ts +1 -0
  219. package/dist/cjs/keypairs/index.js +1 -0
  220. package/dist/cjs/multisig/index.d.ts +2 -0
  221. package/dist/cjs/multisig/index.js +1 -0
  222. package/dist/cjs/multisig/publickey.d.ts +44 -0
  223. package/dist/cjs/multisig/publickey.js +1 -0
  224. package/dist/cjs/multisig/signer.d.ts +19 -0
  225. package/dist/cjs/multisig/signer.js +1 -0
  226. package/dist/cjs/transactions/Arguments.d.ts +57 -0
  227. package/dist/cjs/transactions/Arguments.js +1 -0
  228. package/dist/cjs/transactions/Commands.d.ts +54 -0
  229. package/dist/cjs/transactions/Commands.js +1 -0
  230. package/dist/cjs/transactions/Inputs.d.ts +22 -0
  231. package/dist/cjs/transactions/Inputs.js +1 -0
  232. package/dist/cjs/transactions/ObjectCache.d.ts +83 -0
  233. package/dist/cjs/transactions/ObjectCache.js +1 -0
  234. package/dist/cjs/transactions/Transaction.d.ts +654 -0
  235. package/dist/cjs/transactions/Transaction.js +1 -0
  236. package/dist/cjs/transactions/TransactionData.d.ts +67 -0
  237. package/dist/cjs/transactions/TransactionData.js +1 -0
  238. package/dist/cjs/transactions/__tests__/Transaction.test.d.ts +1 -0
  239. package/dist/cjs/transactions/__tests__/Transaction.test.js +1 -0
  240. package/dist/cjs/transactions/__tests__/bcs.test.d.ts +1 -0
  241. package/dist/cjs/transactions/__tests__/bcs.test.js +1 -0
  242. package/dist/cjs/transactions/data/internal.d.ts +1010 -0
  243. package/dist/cjs/transactions/data/internal.js +1 -0
  244. package/dist/cjs/transactions/data/v1.d.ts +312 -0
  245. package/dist/cjs/transactions/data/v1.js +1 -0
  246. package/dist/cjs/transactions/data/v2.d.ts +153 -0
  247. package/dist/cjs/transactions/data/v2.js +1 -0
  248. package/dist/cjs/transactions/executor/caching.d.ts +27 -0
  249. package/dist/cjs/transactions/executor/caching.js +1 -0
  250. package/dist/cjs/transactions/executor/parallel.d.ts +26 -0
  251. package/dist/cjs/transactions/executor/parallel.js +1 -0
  252. package/dist/cjs/transactions/executor/queue.d.ts +11 -0
  253. package/dist/cjs/transactions/executor/queue.js +1 -0
  254. package/dist/cjs/transactions/executor/serial.d.ts +30 -0
  255. package/dist/cjs/transactions/executor/serial.js +1 -0
  256. package/dist/cjs/transactions/hash.d.ts +1 -0
  257. package/dist/cjs/transactions/hash.js +1 -0
  258. package/dist/cjs/transactions/index.d.ts +20 -0
  259. package/dist/cjs/transactions/index.js +1 -0
  260. package/dist/cjs/transactions/intents/CoinWithBalance.d.ts +9 -0
  261. package/dist/cjs/transactions/intents/CoinWithBalance.js +1 -0
  262. package/dist/cjs/transactions/object.d.ts +24 -0
  263. package/dist/cjs/transactions/object.js +1 -0
  264. package/dist/cjs/transactions/plugins/NamedPackagesPlugin.d.ts +13 -0
  265. package/dist/cjs/transactions/plugins/NamedPackagesPlugin.js +1 -0
  266. package/dist/cjs/transactions/pure.d.ts +20 -0
  267. package/dist/cjs/transactions/pure.js +1 -0
  268. package/dist/cjs/transactions/resolve.d.ts +13 -0
  269. package/dist/cjs/transactions/resolve.js +1 -0
  270. package/dist/cjs/transactions/serializer.d.ts +7 -0
  271. package/dist/cjs/transactions/serializer.js +1 -0
  272. package/dist/cjs/transactions/utils.d.ts +10 -0
  273. package/dist/cjs/transactions/utils.js +1 -0
  274. package/dist/cjs/utils/constants.d.ts +11 -0
  275. package/dist/cjs/utils/constants.js +1 -0
  276. package/dist/cjs/utils/derived-objects.d.ts +2 -0
  277. package/dist/cjs/utils/derived-objects.js +1 -0
  278. package/dist/cjs/utils/dynamic-fields.d.ts +2 -0
  279. package/dist/cjs/utils/dynamic-fields.js +1 -0
  280. package/dist/cjs/utils/format.d.ts +2 -0
  281. package/dist/cjs/utils/format.js +1 -0
  282. package/dist/cjs/utils/index.d.ts +8 -0
  283. package/dist/cjs/utils/index.js +1 -0
  284. package/dist/cjs/utils/move-registry.d.ts +2 -0
  285. package/dist/cjs/utils/move-registry.js +1 -0
  286. package/dist/cjs/utils/wow-types.d.ts +14 -0
  287. package/dist/cjs/utils/wow-types.js +1 -0
  288. package/dist/cjs/verify/index.d.ts +1 -0
  289. package/dist/cjs/verify/index.js +1 -0
  290. package/dist/cjs/verify/verify.d.ts +16 -0
  291. package/dist/cjs/verify/verify.js +1 -0
  292. package/dist/cjs/version.d.ts +2 -0
  293. package/dist/cjs/version.js +1 -0
  294. package/dist/cjs/w/call/allocation.d.ts +35 -0
  295. package/dist/cjs/w/call/allocation.js +1 -0
  296. package/dist/cjs/w/call/arb.d.ts +17 -0
  297. package/dist/cjs/w/call/arb.js +1 -0
  298. package/dist/cjs/w/call/arbitration.d.ts +106 -0
  299. package/dist/cjs/w/call/arbitration.js +1 -0
  300. package/dist/cjs/w/call/base.d.ts +42 -0
  301. package/dist/cjs/w/call/base.js +1 -0
  302. package/dist/cjs/w/call/contact.d.ts +45 -0
  303. package/dist/cjs/w/call/contact.js +1 -0
  304. package/dist/cjs/w/call/demand.d.ts +79 -0
  305. package/dist/cjs/w/call/demand.js +1 -0
  306. package/dist/cjs/w/call/entity.d.ts +33 -0
  307. package/dist/cjs/w/call/entity.js +1 -0
  308. package/dist/cjs/w/call/guard-ins.d.ts +29 -0
  309. package/dist/cjs/w/call/guard-ins.js +1 -0
  310. package/dist/cjs/w/call/guard.d.ts +350 -0
  311. package/dist/cjs/w/call/guard.js +1 -0
  312. package/dist/cjs/w/call/index.d.ts +37 -0
  313. package/dist/cjs/w/call/index.js +1 -0
  314. package/dist/cjs/w/call/machine.d.ts +124 -0
  315. package/dist/cjs/w/call/machine.js +1 -0
  316. package/dist/cjs/w/call/order.d.ts +73 -0
  317. package/dist/cjs/w/call/order.js +1 -0
  318. package/dist/cjs/w/call/passport.d.ts +24 -0
  319. package/dist/cjs/w/call/passport.js +1 -0
  320. package/dist/cjs/w/call/payment.d.ts +27 -0
  321. package/dist/cjs/w/call/payment.js +1 -0
  322. package/dist/cjs/w/call/permission.d.ts +202 -0
  323. package/dist/cjs/w/call/permission.js +1 -0
  324. package/dist/cjs/w/call/personal.d.ts +51 -0
  325. package/dist/cjs/w/call/personal.js +1 -0
  326. package/dist/cjs/w/call/progress.d.ts +95 -0
  327. package/dist/cjs/w/call/progress.js +1 -0
  328. package/dist/cjs/w/call/proof.d.ts +27 -0
  329. package/dist/cjs/w/call/proof.js +1 -0
  330. package/dist/cjs/w/call/repository.d.ts +97 -0
  331. package/dist/cjs/w/call/repository.js +1 -0
  332. package/dist/cjs/w/call/resource.d.ts +27 -0
  333. package/dist/cjs/w/call/resource.js +1 -0
  334. package/dist/cjs/w/call/reward.d.ts +52 -0
  335. package/dist/cjs/w/call/reward.js +1 -0
  336. package/dist/cjs/w/call/service.d.ts +186 -0
  337. package/dist/cjs/w/call/service.js +1 -0
  338. package/dist/cjs/w/call/treasury.d.ts +77 -0
  339. package/dist/cjs/w/call/treasury.js +1 -0
  340. package/dist/cjs/w/call/util.d.ts +13 -0
  341. package/dist/cjs/w/call/util.js +1 -0
  342. package/dist/cjs/w/common.d.ts +344 -0
  343. package/dist/cjs/w/common.js +1 -0
  344. package/dist/cjs/w/exception.d.ts +83 -0
  345. package/dist/cjs/w/exception.js +1 -0
  346. package/dist/cjs/w/index.d.ts +8 -0
  347. package/dist/cjs/w/index.js +1 -0
  348. package/dist/cjs/w/local/account.d.ts +96 -0
  349. package/dist/cjs/w/local/account.js +1 -0
  350. package/dist/cjs/w/local/cache.d.ts +35 -0
  351. package/dist/cjs/w/local/cache.js +1 -0
  352. package/dist/cjs/w/local/config.d.ts +12 -0
  353. package/dist/cjs/w/local/config.js +1 -0
  354. package/dist/cjs/w/local/index.d.ts +193 -0
  355. package/dist/cjs/w/local/index.js +1 -0
  356. package/dist/cjs/w/local/local.d.ts +93 -0
  357. package/dist/cjs/w/local/local.js +1 -0
  358. package/dist/cjs/w/local/storage.d.ts +41 -0
  359. package/dist/cjs/w/local/storage.js +1 -0
  360. package/dist/cjs/w/local/token.d.ts +19 -0
  361. package/dist/cjs/w/local/token.js +1 -0
  362. package/dist/cjs/w/local/util.d.ts +1 -0
  363. package/dist/cjs/w/local/util.js +1 -0
  364. package/dist/cjs/w/local/wip.d.ts +135 -0
  365. package/dist/cjs/w/local/wip.js +1 -0
  366. package/dist/cjs/w/messenger/crypto.d.ts +88 -0
  367. package/dist/cjs/w/messenger/crypto.js +1 -0
  368. package/dist/cjs/w/messenger/index.d.ts +5 -0
  369. package/dist/cjs/w/messenger/index.js +1 -0
  370. package/dist/cjs/w/messenger/messenger-api.d.ts +140 -0
  371. package/dist/cjs/w/messenger/messenger-api.js +1 -0
  372. package/dist/cjs/w/messenger/messenger-manager.d.ts +85 -0
  373. package/dist/cjs/w/messenger/messenger-manager.js +1 -0
  374. package/dist/cjs/w/messenger/messenger.d.ts +92 -0
  375. package/dist/cjs/w/messenger/messenger.js +1 -0
  376. package/dist/cjs/w/messenger/pq/crypto.d.ts +39 -0
  377. package/dist/cjs/w/messenger/pq/crypto.js +1 -0
  378. package/dist/cjs/w/messenger/pq/erasure.d.ts +17 -0
  379. package/dist/cjs/w/messenger/pq/erasure.js +1 -0
  380. package/dist/cjs/w/messenger/pq/index.d.ts +9 -0
  381. package/dist/cjs/w/messenger/pq/index.js +1 -0
  382. package/dist/cjs/w/messenger/pq/keycombiner.d.ts +1 -0
  383. package/dist/cjs/w/messenger/pq/keycombiner.js +1 -0
  384. package/dist/cjs/w/messenger/pq/pqxdh.d.ts +38 -0
  385. package/dist/cjs/w/messenger/pq/pqxdh.js +1 -0
  386. package/dist/cjs/w/messenger/pq/ratchet.d.ts +12 -0
  387. package/dist/cjs/w/messenger/pq/ratchet.js +1 -0
  388. package/dist/cjs/w/messenger/pq/session.d.ts +41 -0
  389. package/dist/cjs/w/messenger/pq/session.js +1 -0
  390. package/dist/cjs/w/messenger/pq/spqr.d.ts +23 -0
  391. package/dist/cjs/w/messenger/pq/spqr.js +1 -0
  392. package/dist/cjs/w/messenger/pq/store-adapter.d.ts +31 -0
  393. package/dist/cjs/w/messenger/pq/store-adapter.js +1 -0
  394. package/dist/cjs/w/messenger/pq/types.d.ts +180 -0
  395. package/dist/cjs/w/messenger/pq/types.js +1 -0
  396. package/dist/cjs/w/messenger/server.d.ts +48 -0
  397. package/dist/cjs/w/messenger/server.js +1 -0
  398. package/dist/cjs/w/messenger/session.d.ts +65 -0
  399. package/dist/cjs/w/messenger/session.js +1 -0
  400. package/dist/cjs/w/messenger/storage.d.ts +110 -0
  401. package/dist/cjs/w/messenger/storage.js +1 -0
  402. package/dist/cjs/w/messenger/templates/wts-html-template.d.ts +30 -0
  403. package/dist/cjs/w/messenger/templates/wts-html-template.js +1 -0
  404. package/dist/cjs/w/messenger/types.d.ts +647 -0
  405. package/dist/cjs/w/messenger/types.js +1 -0
  406. package/dist/cjs/w/messenger/utils.d.ts +1 -0
  407. package/dist/cjs/w/messenger/utils.js +1 -0
  408. package/dist/cjs/w/query/bult-in.d.ts +62 -0
  409. package/dist/cjs/w/query/bult-in.js +1 -0
  410. package/dist/cjs/w/query/event.d.ts +76 -0
  411. package/dist/cjs/w/query/event.js +1 -0
  412. package/dist/cjs/w/query/index.d.ts +5 -0
  413. package/dist/cjs/w/query/index.js +1 -0
  414. package/dist/cjs/w/query/object.d.ts +626 -0
  415. package/dist/cjs/w/query/object.js +1 -0
  416. package/dist/cjs/w/query/received.d.ts +30 -0
  417. package/dist/cjs/w/query/received.js +1 -0
  418. package/dist/cjs/w/query/util.d.ts +4 -0
  419. package/dist/cjs/w/query/util.js +1 -0
  420. package/dist/cjs/w/util.d.ts +16 -0
  421. package/dist/cjs/w/util.js +1 -0
  422. package/dist/esm/_deps/bcs/bcs-type.d.ts +127 -0
  423. package/dist/esm/_deps/bcs/bcs-type.js +1 -0
  424. package/dist/esm/_deps/bcs/bcs.d.ts +49 -0
  425. package/dist/esm/_deps/bcs/bcs.js +1 -0
  426. package/dist/esm/_deps/bcs/index.d.ts +16 -0
  427. package/dist/esm/_deps/bcs/index.js +1 -0
  428. package/dist/esm/_deps/bcs/reader.d.ts +15 -0
  429. package/dist/esm/_deps/bcs/reader.js +1 -0
  430. package/dist/esm/_deps/bcs/types.d.ts +24 -0
  431. package/dist/esm/_deps/bcs/types.js +1 -0
  432. package/dist/esm/_deps/bcs/uleb.d.ts +5 -0
  433. package/dist/esm/_deps/bcs/uleb.js +1 -0
  434. package/dist/esm/_deps/bcs/utils.d.ts +4 -0
  435. package/dist/esm/_deps/bcs/utils.js +1 -0
  436. package/dist/esm/_deps/bcs/writer.d.ts +28 -0
  437. package/dist/esm/_deps/bcs/writer.js +1 -0
  438. package/dist/esm/_deps/utils/b58.d.ts +2 -0
  439. package/dist/esm/_deps/utils/b58.js +1 -0
  440. package/dist/esm/_deps/utils/b64.d.ts +2 -0
  441. package/dist/esm/_deps/utils/b64.js +1 -0
  442. package/dist/esm/_deps/utils/chunk.d.ts +1 -0
  443. package/dist/esm/_deps/utils/chunk.js +1 -0
  444. package/dist/esm/_deps/utils/dataloader.d.ts +43 -0
  445. package/dist/esm/_deps/utils/dataloader.js +1 -0
  446. package/dist/esm/_deps/utils/hex.d.ts +2 -0
  447. package/dist/esm/_deps/utils/hex.js +1 -0
  448. package/dist/esm/_deps/utils/index.d.ts +7 -0
  449. package/dist/esm/_deps/utils/index.js +1 -0
  450. package/dist/esm/_deps/utils/types.d.ts +4 -0
  451. package/dist/esm/_deps/utils/types.js +1 -0
  452. package/dist/esm/_deps/utils/with-resolver.d.ts +6 -0
  453. package/dist/esm/_deps/utils/with-resolver.js +1 -0
  454. package/dist/esm/bcs/bcs.d.ts +1927 -0
  455. package/dist/esm/bcs/bcs.js +1 -0
  456. package/dist/esm/bcs/effects.d.ts +579 -0
  457. package/dist/esm/bcs/effects.js +1 -0
  458. package/dist/esm/bcs/index.d.ts +6 -0
  459. package/dist/esm/bcs/index.js +1 -0
  460. package/dist/esm/bcs/pure.d.ts +22 -0
  461. package/dist/esm/bcs/pure.js +1 -0
  462. package/dist/esm/bcs/type-tag-serializer.d.ts +7 -0
  463. package/dist/esm/bcs/type-tag-serializer.js +1 -0
  464. package/dist/esm/bcs/types.d.ts +65 -0
  465. package/dist/esm/bcs/types.js +1 -0
  466. package/dist/esm/client/index.d.ts +5 -0
  467. package/dist/esm/client/index.js +1 -0
  468. package/dist/esm/client/network.d.ts +5 -0
  469. package/dist/esm/client/network.js +1 -0
  470. package/dist/esm/cryptography/index.d.ts +7 -0
  471. package/dist/esm/cryptography/index.js +1 -0
  472. package/dist/esm/cryptography/intent.d.ts +3 -0
  473. package/dist/esm/cryptography/intent.js +1 -0
  474. package/dist/esm/cryptography/keypair.d.ts +39 -0
  475. package/dist/esm/cryptography/keypair.js +1 -0
  476. package/dist/esm/cryptography/mnemonics.d.ts +4 -0
  477. package/dist/esm/cryptography/mnemonics.js +1 -0
  478. package/dist/esm/cryptography/publickey.d.ts +25 -0
  479. package/dist/esm/cryptography/publickey.js +1 -0
  480. package/dist/esm/cryptography/signature-scheme.d.ts +13 -0
  481. package/dist/esm/cryptography/signature-scheme.js +1 -0
  482. package/dist/esm/cryptography/signature.d.ts +21 -0
  483. package/dist/esm/cryptography/signature.js +1 -0
  484. package/dist/esm/experimental/cache.d.ts +12 -0
  485. package/dist/esm/experimental/cache.js +1 -0
  486. package/dist/esm/experimental/client.d.ts +12 -0
  487. package/dist/esm/experimental/client.js +1 -0
  488. package/dist/esm/experimental/core.d.ts +31 -0
  489. package/dist/esm/experimental/core.js +1 -0
  490. package/dist/esm/experimental/errors.d.ts +8 -0
  491. package/dist/esm/experimental/errors.js +1 -0
  492. package/dist/esm/experimental/index.d.ts +7 -0
  493. package/dist/esm/experimental/index.js +1 -0
  494. package/dist/esm/experimental/persistent-storage.d.ts +36 -0
  495. package/dist/esm/experimental/persistent-storage.js +1 -0
  496. package/dist/esm/experimental/persistent-storage.test.d.ts +1 -0
  497. package/dist/esm/experimental/persistent-storage.test.js +1 -0
  498. package/dist/esm/experimental/transports/utils.d.ts +3 -0
  499. package/dist/esm/experimental/transports/utils.js +1 -0
  500. package/dist/esm/experimental/types.d.ts +361 -0
  501. package/dist/esm/experimental/types.js +1 -0
  502. package/dist/esm/faucet/faucet.d.ts +57 -0
  503. package/dist/esm/faucet/faucet.js +1 -0
  504. package/dist/esm/faucet/index.d.ts +1 -0
  505. package/dist/esm/faucet/index.js +1 -0
  506. package/dist/esm/grpc/client.d.ts +30 -0
  507. package/dist/esm/grpc/client.js +1 -0
  508. package/dist/esm/grpc/core.d.ts +28 -0
  509. package/dist/esm/grpc/core.js +1 -0
  510. package/dist/esm/grpc/index.d.ts +4 -0
  511. package/dist/esm/grpc/index.js +1 -0
  512. package/dist/esm/grpc/proto/google/protobuf/any.d.ts +29 -0
  513. package/dist/esm/grpc/proto/google/protobuf/any.js +1 -0
  514. package/dist/esm/grpc/proto/google/protobuf/duration.d.ts +23 -0
  515. package/dist/esm/grpc/proto/google/protobuf/duration.js +1 -0
  516. package/dist/esm/grpc/proto/google/protobuf/empty.d.ts +16 -0
  517. package/dist/esm/grpc/proto/google/protobuf/empty.js +1 -0
  518. package/dist/esm/grpc/proto/google/protobuf/field_mask.d.ts +22 -0
  519. package/dist/esm/grpc/proto/google/protobuf/field_mask.js +1 -0
  520. package/dist/esm/grpc/proto/google/protobuf/struct.d.ts +72 -0
  521. package/dist/esm/grpc/proto/google/protobuf/struct.js +1 -0
  522. package/dist/esm/grpc/proto/google/protobuf/timestamp.d.ts +26 -0
  523. package/dist/esm/grpc/proto/google/protobuf/timestamp.js +1 -0
  524. package/dist/esm/grpc/proto/google/rpc/error_details.d.ts +166 -0
  525. package/dist/esm/grpc/proto/google/rpc/error_details.js +1 -0
  526. package/dist/esm/grpc/proto/google/rpc/status.d.ts +20 -0
  527. package/dist/esm/grpc/proto/google/rpc/status.js +1 -0
  528. package/dist/esm/grpc/proto/sui/rpc/v2/argument.d.ts +18 -0
  529. package/dist/esm/grpc/proto/sui/rpc/v2/argument.js +1 -0
  530. package/dist/esm/grpc/proto/sui/rpc/v2/balance_change.d.ts +11 -0
  531. package/dist/esm/grpc/proto/sui/rpc/v2/balance_change.js +1 -0
  532. package/dist/esm/grpc/proto/sui/rpc/v2/bcs.d.ts +10 -0
  533. package/dist/esm/grpc/proto/sui/rpc/v2/bcs.js +1 -0
  534. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint.d.ts +20 -0
  535. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint.js +1 -0
  536. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_contents.d.ts +23 -0
  537. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_contents.js +1 -0
  538. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_summary.d.ts +46 -0
  539. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_summary.js +1 -0
  540. package/dist/esm/grpc/proto/sui/rpc/v2/effects.d.ts +81 -0
  541. package/dist/esm/grpc/proto/sui/rpc/v2/effects.js +1 -0
  542. package/dist/esm/grpc/proto/sui/rpc/v2/epoch.d.ts +21 -0
  543. package/dist/esm/grpc/proto/sui/rpc/v2/epoch.js +1 -0
  544. package/dist/esm/grpc/proto/sui/rpc/v2/error_reason.d.ts +5 -0
  545. package/dist/esm/grpc/proto/sui/rpc/v2/error_reason.js +1 -0
  546. package/dist/esm/grpc/proto/sui/rpc/v2/event.d.ts +25 -0
  547. package/dist/esm/grpc/proto/sui/rpc/v2/event.js +1 -0
  548. package/dist/esm/grpc/proto/sui/rpc/v2/executed_transaction.d.ts +24 -0
  549. package/dist/esm/grpc/proto/sui/rpc/v2/executed_transaction.js +1 -0
  550. package/dist/esm/grpc/proto/sui/rpc/v2/execution_status.d.ts +220 -0
  551. package/dist/esm/grpc/proto/sui/rpc/v2/execution_status.js +1 -0
  552. package/dist/esm/grpc/proto/sui/rpc/v2/gas_cost_summary.d.ts +12 -0
  553. package/dist/esm/grpc/proto/sui/rpc/v2/gas_cost_summary.js +1 -0
  554. package/dist/esm/grpc/proto/sui/rpc/v2/input.d.ts +23 -0
  555. package/dist/esm/grpc/proto/sui/rpc/v2/input.js +1 -0
  556. package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.client.d.ts +43 -0
  557. package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.client.js +1 -0
  558. package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.d.ts +160 -0
  559. package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.js +1 -0
  560. package/dist/esm/grpc/proto/sui/rpc/v2/move_package.d.ts +150 -0
  561. package/dist/esm/grpc/proto/sui/rpc/v2/move_package.js +1 -0
  562. package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.client.d.ts +31 -0
  563. package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.client.js +1 -0
  564. package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.d.ts +78 -0
  565. package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.js +1 -0
  566. package/dist/esm/grpc/proto/sui/rpc/v2/object.d.ts +32 -0
  567. package/dist/esm/grpc/proto/sui/rpc/v2/object.js +1 -0
  568. package/dist/esm/grpc/proto/sui/rpc/v2/object_reference.d.ts +11 -0
  569. package/dist/esm/grpc/proto/sui/rpc/v2/object_reference.js +1 -0
  570. package/dist/esm/grpc/proto/sui/rpc/v2/owner.d.ts +19 -0
  571. package/dist/esm/grpc/proto/sui/rpc/v2/owner.js +1 -0
  572. package/dist/esm/grpc/proto/sui/rpc/v2/protocol_config.d.ts +15 -0
  573. package/dist/esm/grpc/proto/sui/rpc/v2/protocol_config.js +1 -0
  574. package/dist/esm/grpc/proto/sui/rpc/v2/signature.d.ts +105 -0
  575. package/dist/esm/grpc/proto/sui/rpc/v2/signature.js +1 -0
  576. package/dist/esm/grpc/proto/sui/rpc/v2/signature_scheme.d.ts +5 -0
  577. package/dist/esm/grpc/proto/sui/rpc/v2/signature_scheme.js +1 -0
  578. package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.client.d.ts +19 -0
  579. package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.client.js +1 -0
  580. package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.d.ts +23 -0
  581. package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.js +1 -0
  582. package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.d.ts +35 -0
  583. package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.js +1 -0
  584. package/dist/esm/grpc/proto/sui/rpc/v2/state_service.d.ts +172 -0
  585. package/dist/esm/grpc/proto/sui/rpc/v2/state_service.js +1 -0
  586. package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.client.d.ts +19 -0
  587. package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.client.js +1 -0
  588. package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.d.ts +21 -0
  589. package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.js +1 -0
  590. package/dist/esm/grpc/proto/sui/rpc/v2/system_state.d.ts +146 -0
  591. package/dist/esm/grpc/proto/sui/rpc/v2/system_state.js +1 -0
  592. package/dist/esm/grpc/proto/sui/rpc/v2/transaction.d.ts +338 -0
  593. package/dist/esm/grpc/proto/sui/rpc/v2/transaction.js +1 -0
  594. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.client.d.ts +23 -0
  595. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js +1 -0
  596. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.d.ts +66 -0
  597. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.js +1 -0
  598. package/dist/esm/index.d.ts +25 -0
  599. package/dist/esm/index.js +1 -0
  600. package/dist/esm/jsonRpc/client.d.ts +121 -0
  601. package/dist/esm/jsonRpc/client.js +1 -0
  602. package/dist/esm/jsonRpc/core.d.ts +87 -0
  603. package/dist/esm/jsonRpc/core.js +1 -0
  604. package/dist/esm/jsonRpc/errors.d.ts +12 -0
  605. package/dist/esm/jsonRpc/errors.js +1 -0
  606. package/dist/esm/jsonRpc/http-transport.d.ts +39 -0
  607. package/dist/esm/jsonRpc/http-transport.js +1 -0
  608. package/dist/esm/jsonRpc/index.d.ts +4 -0
  609. package/dist/esm/jsonRpc/index.js +1 -0
  610. package/dist/esm/jsonRpc/json-rpc-resolver.d.ts +4 -0
  611. package/dist/esm/jsonRpc/json-rpc-resolver.js +1 -0
  612. package/dist/esm/jsonRpc/rpc-websocket-client.d.ts +28 -0
  613. package/dist/esm/jsonRpc/rpc-websocket-client.js +1 -0
  614. package/dist/esm/jsonRpc/types/chain.d.ts +94 -0
  615. package/dist/esm/jsonRpc/types/chain.js +1 -0
  616. package/dist/esm/jsonRpc/types/changes.d.ts +19 -0
  617. package/dist/esm/jsonRpc/types/changes.js +1 -0
  618. package/dist/esm/jsonRpc/types/coins.d.ts +6 -0
  619. package/dist/esm/jsonRpc/types/coins.js +1 -0
  620. package/dist/esm/jsonRpc/types/common.d.ts +2 -0
  621. package/dist/esm/jsonRpc/types/common.js +1 -0
  622. package/dist/esm/jsonRpc/types/generated.d.ts +954 -0
  623. package/dist/esm/jsonRpc/types/generated.js +1 -0
  624. package/dist/esm/jsonRpc/types/index.d.ts +6 -0
  625. package/dist/esm/jsonRpc/types/index.js +1 -0
  626. package/dist/esm/jsonRpc/types/params.d.ts +303 -0
  627. package/dist/esm/jsonRpc/types/params.js +1 -0
  628. package/dist/esm/keypairs/falcon512/index.d.ts +2 -0
  629. package/dist/esm/keypairs/falcon512/index.js +1 -0
  630. package/dist/esm/keypairs/falcon512/keypair.d.ts +19 -0
  631. package/dist/esm/keypairs/falcon512/keypair.js +1 -0
  632. package/dist/esm/keypairs/falcon512/publickey.d.ts +11 -0
  633. package/dist/esm/keypairs/falcon512/publickey.js +1 -0
  634. package/dist/esm/keypairs/index.d.ts +1 -0
  635. package/dist/esm/keypairs/index.js +1 -0
  636. package/dist/esm/multisig/index.d.ts +2 -0
  637. package/dist/esm/multisig/index.js +1 -0
  638. package/dist/esm/multisig/publickey.d.ts +44 -0
  639. package/dist/esm/multisig/publickey.js +1 -0
  640. package/dist/esm/multisig/signer.d.ts +19 -0
  641. package/dist/esm/multisig/signer.js +1 -0
  642. package/dist/esm/transactions/Arguments.d.ts +57 -0
  643. package/dist/esm/transactions/Arguments.js +1 -0
  644. package/dist/esm/transactions/Commands.d.ts +54 -0
  645. package/dist/esm/transactions/Commands.js +1 -0
  646. package/dist/esm/transactions/Inputs.d.ts +22 -0
  647. package/dist/esm/transactions/Inputs.js +1 -0
  648. package/dist/esm/transactions/ObjectCache.d.ts +83 -0
  649. package/dist/esm/transactions/ObjectCache.js +1 -0
  650. package/dist/esm/transactions/Transaction.d.ts +654 -0
  651. package/dist/esm/transactions/Transaction.js +1 -0
  652. package/dist/esm/transactions/TransactionData.d.ts +67 -0
  653. package/dist/esm/transactions/TransactionData.js +1 -0
  654. package/dist/esm/transactions/__tests__/Transaction.test.d.ts +1 -0
  655. package/dist/esm/transactions/__tests__/Transaction.test.js +1 -0
  656. package/dist/esm/transactions/__tests__/bcs.test.d.ts +1 -0
  657. package/dist/esm/transactions/__tests__/bcs.test.js +1 -0
  658. package/dist/esm/transactions/data/internal.d.ts +1010 -0
  659. package/dist/esm/transactions/data/internal.js +1 -0
  660. package/dist/esm/transactions/data/v1.d.ts +312 -0
  661. package/dist/esm/transactions/data/v1.js +1 -0
  662. package/dist/esm/transactions/data/v2.d.ts +153 -0
  663. package/dist/esm/transactions/data/v2.js +1 -0
  664. package/dist/esm/transactions/executor/caching.d.ts +27 -0
  665. package/dist/esm/transactions/executor/caching.js +1 -0
  666. package/dist/esm/transactions/executor/parallel.d.ts +26 -0
  667. package/dist/esm/transactions/executor/parallel.js +1 -0
  668. package/dist/esm/transactions/executor/queue.d.ts +11 -0
  669. package/dist/esm/transactions/executor/queue.js +1 -0
  670. package/dist/esm/transactions/executor/serial.d.ts +30 -0
  671. package/dist/esm/transactions/executor/serial.js +1 -0
  672. package/dist/esm/transactions/hash.d.ts +1 -0
  673. package/dist/esm/transactions/hash.js +1 -0
  674. package/dist/esm/transactions/index.d.ts +20 -0
  675. package/dist/esm/transactions/index.js +1 -0
  676. package/dist/esm/transactions/intents/CoinWithBalance.d.ts +9 -0
  677. package/dist/esm/transactions/intents/CoinWithBalance.js +1 -0
  678. package/dist/esm/transactions/object.d.ts +24 -0
  679. package/dist/esm/transactions/object.js +1 -0
  680. package/dist/esm/transactions/plugins/NamedPackagesPlugin.d.ts +13 -0
  681. package/dist/esm/transactions/plugins/NamedPackagesPlugin.js +1 -0
  682. package/dist/esm/transactions/pure.d.ts +20 -0
  683. package/dist/esm/transactions/pure.js +1 -0
  684. package/dist/esm/transactions/resolve.d.ts +13 -0
  685. package/dist/esm/transactions/resolve.js +1 -0
  686. package/dist/esm/transactions/serializer.d.ts +7 -0
  687. package/dist/esm/transactions/serializer.js +1 -0
  688. package/dist/esm/transactions/utils.d.ts +10 -0
  689. package/dist/esm/transactions/utils.js +1 -0
  690. package/dist/esm/utils/constants.d.ts +11 -0
  691. package/dist/esm/utils/constants.js +1 -0
  692. package/dist/esm/utils/derived-objects.d.ts +2 -0
  693. package/dist/esm/utils/derived-objects.js +1 -0
  694. package/dist/esm/utils/dynamic-fields.d.ts +2 -0
  695. package/dist/esm/utils/dynamic-fields.js +1 -0
  696. package/dist/esm/utils/format.d.ts +2 -0
  697. package/dist/esm/utils/format.js +1 -0
  698. package/dist/esm/utils/index.d.ts +8 -0
  699. package/dist/esm/utils/index.js +1 -0
  700. package/dist/esm/utils/move-registry.d.ts +2 -0
  701. package/dist/esm/utils/move-registry.js +1 -0
  702. package/dist/esm/utils/wow-types.d.ts +14 -0
  703. package/dist/esm/utils/wow-types.js +1 -0
  704. package/dist/esm/verify/index.d.ts +1 -0
  705. package/dist/esm/verify/index.js +1 -0
  706. package/dist/esm/verify/verify.d.ts +16 -0
  707. package/dist/esm/verify/verify.js +1 -0
  708. package/dist/esm/version.d.ts +2 -0
  709. package/dist/esm/version.js +1 -0
  710. package/dist/esm/w/call/allocation.d.ts +35 -0
  711. package/dist/esm/w/call/allocation.js +1 -0
  712. package/dist/esm/w/call/arb.d.ts +17 -0
  713. package/dist/esm/w/call/arb.js +1 -0
  714. package/dist/esm/w/call/arbitration.d.ts +106 -0
  715. package/dist/esm/w/call/arbitration.js +1 -0
  716. package/dist/esm/w/call/base.d.ts +42 -0
  717. package/dist/esm/w/call/base.js +1 -0
  718. package/dist/esm/w/call/contact.d.ts +45 -0
  719. package/dist/esm/w/call/contact.js +1 -0
  720. package/dist/esm/w/call/demand.d.ts +79 -0
  721. package/dist/esm/w/call/demand.js +1 -0
  722. package/dist/esm/w/call/entity.d.ts +33 -0
  723. package/dist/esm/w/call/entity.js +1 -0
  724. package/dist/esm/w/call/guard-ins.d.ts +29 -0
  725. package/dist/esm/w/call/guard-ins.js +1 -0
  726. package/dist/esm/w/call/guard.d.ts +350 -0
  727. package/dist/esm/w/call/guard.js +1 -0
  728. package/dist/esm/w/call/index.d.ts +37 -0
  729. package/dist/esm/w/call/index.js +1 -0
  730. package/dist/esm/w/call/machine.d.ts +124 -0
  731. package/dist/esm/w/call/machine.js +1 -0
  732. package/dist/esm/w/call/order.d.ts +73 -0
  733. package/dist/esm/w/call/order.js +1 -0
  734. package/dist/esm/w/call/passport.d.ts +24 -0
  735. package/dist/esm/w/call/passport.js +1 -0
  736. package/dist/esm/w/call/payment.d.ts +27 -0
  737. package/dist/esm/w/call/payment.js +1 -0
  738. package/dist/esm/w/call/permission.d.ts +202 -0
  739. package/dist/esm/w/call/permission.js +1 -0
  740. package/dist/esm/w/call/personal.d.ts +51 -0
  741. package/dist/esm/w/call/personal.js +1 -0
  742. package/dist/esm/w/call/progress.d.ts +95 -0
  743. package/dist/esm/w/call/progress.js +1 -0
  744. package/dist/esm/w/call/proof.d.ts +27 -0
  745. package/dist/esm/w/call/proof.js +1 -0
  746. package/dist/esm/w/call/repository.d.ts +97 -0
  747. package/dist/esm/w/call/repository.js +1 -0
  748. package/dist/esm/w/call/resource.d.ts +27 -0
  749. package/dist/esm/w/call/resource.js +1 -0
  750. package/dist/esm/w/call/reward.d.ts +52 -0
  751. package/dist/esm/w/call/reward.js +1 -0
  752. package/dist/esm/w/call/service.d.ts +186 -0
  753. package/dist/esm/w/call/service.js +1 -0
  754. package/dist/esm/w/call/treasury.d.ts +77 -0
  755. package/dist/esm/w/call/treasury.js +1 -0
  756. package/dist/esm/w/call/util.d.ts +13 -0
  757. package/dist/esm/w/call/util.js +1 -0
  758. package/dist/esm/w/common.d.ts +344 -0
  759. package/dist/esm/w/common.js +1 -0
  760. package/dist/esm/w/exception.d.ts +83 -0
  761. package/dist/esm/w/exception.js +1 -0
  762. package/dist/esm/w/index.d.ts +8 -0
  763. package/dist/esm/w/index.js +1 -0
  764. package/dist/esm/w/local/account.d.ts +96 -0
  765. package/dist/esm/w/local/account.js +1 -0
  766. package/dist/esm/w/local/cache.d.ts +35 -0
  767. package/dist/esm/w/local/cache.js +1 -0
  768. package/dist/esm/w/local/config.d.ts +12 -0
  769. package/dist/esm/w/local/config.js +1 -0
  770. package/dist/esm/w/local/index.d.ts +193 -0
  771. package/dist/esm/w/local/index.js +1 -0
  772. package/dist/esm/w/local/local.d.ts +93 -0
  773. package/dist/esm/w/local/local.js +1 -0
  774. package/dist/esm/w/local/storage.d.ts +41 -0
  775. package/dist/esm/w/local/storage.js +1 -0
  776. package/dist/esm/w/local/token.d.ts +19 -0
  777. package/dist/esm/w/local/token.js +1 -0
  778. package/dist/esm/w/local/util.d.ts +1 -0
  779. package/dist/esm/w/local/util.js +1 -0
  780. package/dist/esm/w/local/wip.d.ts +135 -0
  781. package/dist/esm/w/local/wip.js +1 -0
  782. package/dist/esm/w/messenger/crypto.d.ts +88 -0
  783. package/dist/esm/w/messenger/crypto.js +1 -0
  784. package/dist/esm/w/messenger/index.d.ts +5 -0
  785. package/dist/esm/w/messenger/index.js +1 -0
  786. package/dist/esm/w/messenger/messenger-api.d.ts +140 -0
  787. package/dist/esm/w/messenger/messenger-api.js +1 -0
  788. package/dist/esm/w/messenger/messenger-manager.d.ts +85 -0
  789. package/dist/esm/w/messenger/messenger-manager.js +1 -0
  790. package/dist/esm/w/messenger/messenger.d.ts +92 -0
  791. package/dist/esm/w/messenger/messenger.js +1 -0
  792. package/dist/esm/w/messenger/pq/crypto.d.ts +39 -0
  793. package/dist/esm/w/messenger/pq/crypto.js +1 -0
  794. package/dist/esm/w/messenger/pq/erasure.d.ts +17 -0
  795. package/dist/esm/w/messenger/pq/erasure.js +1 -0
  796. package/dist/esm/w/messenger/pq/index.d.ts +9 -0
  797. package/dist/esm/w/messenger/pq/index.js +1 -0
  798. package/dist/esm/w/messenger/pq/keycombiner.d.ts +1 -0
  799. package/dist/esm/w/messenger/pq/keycombiner.js +1 -0
  800. package/dist/esm/w/messenger/pq/pqxdh.d.ts +38 -0
  801. package/dist/esm/w/messenger/pq/pqxdh.js +1 -0
  802. package/dist/esm/w/messenger/pq/ratchet.d.ts +12 -0
  803. package/dist/esm/w/messenger/pq/ratchet.js +1 -0
  804. package/dist/esm/w/messenger/pq/session.d.ts +41 -0
  805. package/dist/esm/w/messenger/pq/session.js +1 -0
  806. package/dist/esm/w/messenger/pq/spqr.d.ts +23 -0
  807. package/dist/esm/w/messenger/pq/spqr.js +1 -0
  808. package/dist/esm/w/messenger/pq/store-adapter.d.ts +31 -0
  809. package/dist/esm/w/messenger/pq/store-adapter.js +1 -0
  810. package/dist/esm/w/messenger/pq/types.d.ts +180 -0
  811. package/dist/esm/w/messenger/pq/types.js +1 -0
  812. package/dist/esm/w/messenger/server.d.ts +48 -0
  813. package/dist/esm/w/messenger/server.js +1 -0
  814. package/dist/esm/w/messenger/session.d.ts +65 -0
  815. package/dist/esm/w/messenger/session.js +1 -0
  816. package/dist/esm/w/messenger/storage.d.ts +110 -0
  817. package/dist/esm/w/messenger/storage.js +1 -0
  818. package/dist/esm/w/messenger/templates/wts-html-template.d.ts +30 -0
  819. package/dist/esm/w/messenger/templates/wts-html-template.js +1 -0
  820. package/dist/esm/w/messenger/types.d.ts +647 -0
  821. package/dist/esm/w/messenger/types.js +1 -0
  822. package/dist/esm/w/messenger/utils.d.ts +1 -0
  823. package/dist/esm/w/messenger/utils.js +1 -0
  824. package/dist/esm/w/query/bult-in.d.ts +62 -0
  825. package/dist/esm/w/query/bult-in.js +1 -0
  826. package/dist/esm/w/query/event.d.ts +76 -0
  827. package/dist/esm/w/query/event.js +1 -0
  828. package/dist/esm/w/query/index.d.ts +5 -0
  829. package/dist/esm/w/query/index.js +1 -0
  830. package/dist/esm/w/query/object.d.ts +626 -0
  831. package/dist/esm/w/query/object.js +1 -0
  832. package/dist/esm/w/query/received.d.ts +30 -0
  833. package/dist/esm/w/query/received.js +1 -0
  834. package/dist/esm/w/query/util.d.ts +4 -0
  835. package/dist/esm/w/query/util.js +1 -0
  836. package/dist/esm/w/util.d.ts +16 -0
  837. package/dist/esm/w/util.js +1 -0
  838. package/package.json +335 -0
package/LICENSE ADDED
@@ -0,0 +1,145 @@
1
+ WoWok SDK Commercial License Agreement
2
+
3
+ Version 1.0, Effective Date: 2025
4
+
5
+ ================================================================================
6
+
7
+ 1. DEFINITIONS
8
+
9
+ "Software" refers to the WoWok SDK, including all source code, object code,
10
+ documentation, and related materials.
11
+
12
+ "Licensor" refers to WoWok Team (build@wowok.net).
13
+
14
+ "Licensee" refers to the individual or entity that has purchased a license
15
+ to use the Software.
16
+
17
+ "Authorized User" refers to employees, contractors, or agents of the
18
+ Licensee who are authorized to use the Software.
19
+
20
+ ================================================================================
21
+
22
+ 2. GRANT OF LICENSE
23
+
24
+ Subject to the terms and conditions of this Agreement, the Licensor grants
25
+ the Licensee a non-exclusive, non-transferable, royalty-bearing license to:
26
+
27
+ a) Use the Software for internal business purposes;
28
+ b) Integrate the Software into Licensee's products and services;
29
+ c) Distribute the Software as part of Licensee's products to end users;
30
+ d) Modify the Software for Licensee's internal use only.
31
+
32
+ ================================================================================
33
+
34
+ 3. RESTRICTIONS
35
+
36
+ The Licensee shall NOT:
37
+
38
+ a) Sublicense, sell, rent, lease, or otherwise transfer the Software
39
+ except as expressly permitted in Section 2;
40
+
41
+ b) Reverse engineer, decompile, disassemble, or otherwise attempt to
42
+ derive the source code of the Software, except to the extent
43
+ expressly permitted by applicable law;
44
+
45
+ c) Remove or alter any copyright, trademark, or other proprietary notices
46
+ contained in the Software;
47
+
48
+ d) Use the Software in any manner that violates applicable laws or
49
+ regulations;
50
+
51
+ e) Use the Software to compete with the Licensor's products or services;
52
+
53
+ f) Share, publish, or distribute the source code of the Software to
54
+ any third party without prior written consent from the Licensor.
55
+
56
+ ================================================================================
57
+
58
+ 4. THIRD-PARTY COMPONENTS
59
+
60
+ The Software includes third-party open-source components that are licensed
61
+ under their respective licenses. A list of third-party components and their
62
+ licenses is provided in the NOTICE file and the THIRD_PARTY_LICENSES
63
+ directory.
64
+
65
+ The Licensee acknowledges and agrees that:
66
+
67
+ a) Third-party components remain subject to their original licenses;
68
+
69
+ b) The Licensor provides no warranty for third-party components;
70
+
71
+ c) The Licensee must comply with the terms of all applicable third-party
72
+ licenses.
73
+
74
+ ================================================================================
75
+
76
+ 5. INTELLECTUAL PROPERTY
77
+
78
+ The Software and all intellectual property rights therein are and shall
79
+ remain the exclusive property of the Licensor. This Agreement does not
80
+ grant the Licensee any ownership rights in the Software.
81
+
82
+ ================================================================================
83
+
84
+ 6. WARRANTY DISCLAIMER
85
+
86
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
87
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
88
+ FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT.
89
+
90
+ THE LICENSOR DOES NOT WARRANT THAT THE SOFTWARE WILL BE ERROR-FREE OR
91
+ THAT DEFECTS WILL BE CORRECTED.
92
+
93
+ ================================================================================
94
+
95
+ 7. LIMITATION OF LIABILITY
96
+
97
+ IN NO EVENT SHALL THE LICENSOR BE LIABLE FOR ANY INDIRECT, INCIDENTAL,
98
+ SPECIAL, CONSEQUENTIAL, OR PUNITIVE DAMAGES, INCLUDING BUT NOT LIMITED TO
99
+ LOSS OF PROFITS, DATA, OR BUSINESS INTERRUPTION, ARISING OUT OF OR IN
100
+ CONNECTION WITH THIS AGREEMENT OR THE USE OF THE SOFTWARE, EVEN IF THE
101
+ LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
102
+
103
+ THE TOTAL LIABILITY OF THE LICENSOR SHALL NOT EXCEED THE AMOUNT PAID BY
104
+ THE LICENSEE FOR THE SOFTWARE IN THE TWELVE (12) MONTHS PRECEDING THE
105
+ CLAIM.
106
+
107
+ ================================================================================
108
+
109
+ 8. TERMINATION
110
+
111
+ This Agreement shall remain in effect until terminated.
112
+
113
+ The Licensor may terminate this Agreement immediately if the Licensee
114
+ breaches any provision of this Agreement.
115
+
116
+ Upon termination, the Licensee shall immediately cease all use of the
117
+ Software and destroy all copies thereof.
118
+
119
+ ================================================================================
120
+
121
+ 9. GOVERNING LAW
122
+
123
+ This Agreement shall be governed by and construed in accordance with the
124
+ laws of the jurisdiction in which the Licensor is established, without
125
+ regard to its conflict of law principles.
126
+
127
+ ================================================================================
128
+
129
+ 10. ENTIRE AGREEMENT
130
+
131
+ This Agreement constitutes the entire agreement between the parties
132
+ concerning the subject matter hereof and supersedes all prior or
133
+ contemporaneous agreements, whether written or oral.
134
+
135
+ ================================================================================
136
+
137
+ For licensing inquiries, please contact:
138
+
139
+ WoWok Team
140
+ Email: build@wowok.net
141
+ Website: https://wowok.net
142
+
143
+ ================================================================================
144
+ END OF LICENSE AGREEMENT
145
+ ================================================================================
package/NOTICE ADDED
@@ -0,0 +1,114 @@
1
+ WoWok Blockchain Project
2
+ https://wowok.net
3
+
4
+ Copyright (c) 2024-2025 WoWok Team. All Rights Reserved.
5
+
6
+ ====================================================================
7
+
8
+ COMMERCIAL LICENSE NOTICE
9
+
10
+ This software is proprietary and confidential. Unauthorized copying,
11
+ transfer, or distribution of this software, via any medium, is
12
+ strictly prohibited. All rights reserved.
13
+
14
+ For licensing inquiries, please contact: build@wowok.net
15
+
16
+ ====================================================================
17
+
18
+ THIRD-PARTY SOFTWARE NOTICES
19
+
20
+ This product contains software developed by third parties. The
21
+ following components are used under their respective licenses:
22
+
23
+ 1. @mysten/bcs, @mysten/utils
24
+ Copyright: Mysten Labs, Inc.
25
+ License: Apache License 2.0
26
+ Source: https://github.com/MystenLabs/sui
27
+
28
+ 2. @noble/curves, @noble/hashes, @noble/post-quantum
29
+ Copyright: Paul Miller (paulmillr.com)
30
+ License: MIT License
31
+ Source: https://github.com/paulmillr/noble-curves
32
+
33
+ 3. @protobuf-ts/*
34
+ Copyright: Timo Stamm
35
+ License: Apache License 2.0
36
+ Source: https://github.com/timostamm/protobuf-ts
37
+
38
+ 4. @scure/*
39
+ Copyright: Paul Miller (paulmillr.com)
40
+ License: MIT License
41
+ Source: https://github.com/paulmillr/scure-base
42
+
43
+ 5. @zip.js/zip.js
44
+ Copyright: Gildas Lormeau
45
+ License: BSD-3-Clause
46
+ Source: https://github.com/gildas-lormeau/zip.js
47
+
48
+ 6. libsql (libSQL)
49
+ Copyright: Turso and contributors
50
+ License: MIT License
51
+ Source: https://github.com/tursodatabase/libsql
52
+
53
+ 7. lodash
54
+ Copyright: OpenJS Foundation and other contributors
55
+ License: MIT License
56
+ Source: https://github.com/lodash/lodash
57
+
58
+ 8. valibot
59
+ Copyright: Fabian Hiller
60
+ License: MIT License
61
+ Source: https://github.com/fabian-hiller/valibot
62
+
63
+ ====================================================================
64
+
65
+ APACHE 2.0 LICENSE COMPONENTS
66
+
67
+ The following components are licensed under the Apache License 2.0:
68
+ - @mysten/bcs
69
+ - @mysten/utils
70
+ - @protobuf-ts/grpcweb-transport
71
+ - @protobuf-ts/runtime
72
+ - @protobuf-ts/runtime-rpc
73
+
74
+ You may obtain a copy of the Apache License 2.0 at:
75
+ http://www.apache.org/licenses/LICENSE-2.0
76
+
77
+ ====================================================================
78
+
79
+ MIT LICENSE COMPONENTS
80
+
81
+ The following components are licensed under the MIT License:
82
+ - @noble/curves
83
+ - @noble/hashes
84
+ - @noble/post-quantum
85
+ - @scure/base
86
+ - @scure/bip32
87
+ - @scure/bip39
88
+ - libsql
89
+ - lodash
90
+ - valibot
91
+
92
+ ====================================================================
93
+
94
+ BSD LICENSE COMPONENTS
95
+
96
+ The following components are licensed under BSD License:
97
+ - @zip.js/zip.js
98
+
99
+ ====================================================================
100
+
101
+ DISCLAIMER
102
+
103
+ THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
104
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
105
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
106
+
107
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
108
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
109
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
110
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
111
+
112
+ ====================================================================
113
+
114
+ END OF NOTICE
package/README.md ADDED
@@ -0,0 +1,38 @@
1
+ # What is WoWok?
2
+ Create, collaborate, and transact on your own terms with the AI-driven web3 collaboration blockchain.
3
+
4
+ MCP Server: [https://www.npmjs.com/package/wowok_agent](https://www.npmjs.com/package/wowok_agent)
5
+ MCP Source: [https://github.com/wowok-ai/agent](https://github.com/wowok-ai/agent)
6
+ AI Skills: [https://github.com/wowok-ai/skills](https://github.com/wowok-ai/skills) - Helping AI use WoWok MCP tools correctly
7
+ Docs: [https://github.com/wowok-ai/docs/](https://github.com/wowok-ai/docs/)
8
+ X: [https://x.com/Wowok_Ai](https://x.com/Wowok_Ai)
9
+
10
+ ## Quick Start for AI Assistants
11
+
12
+ ### 1. Setup MCP Server
13
+
14
+ Add to your MCP configuration:
15
+
16
+ ```json
17
+ {
18
+ "mcpServers": {
19
+ "wowok": {
20
+ "command": "npx",
21
+ "args": ["-y", "wowok_agent"]
22
+ }
23
+ }
24
+ }
25
+ ```
26
+
27
+ ### 2. Install WoWok Skills (Recommended)
28
+
29
+ ```bash
30
+ npm install -g wowok-skills
31
+ ```
32
+
33
+ Skills help AI assistants use WoWok tools correctly:
34
+ - **Complex system building** — Dependency chains, build order, step-by-step patterns
35
+ - **Tool usage failures** — Correct parameter formats, tool selection, error recovery
36
+ - **Safety & authorization** — User confirmation for important operations
37
+
38
+ Once installed, Claude Code will automatically use these skills when working with WoWok.
@@ -0,0 +1,196 @@
1
+ ================================================================================
2
+ APACHE LICENSE 2.0
3
+ ================================================================================
4
+
5
+ The following software components are licensed under the Apache License 2.0:
6
+
7
+ 1. @mysten/bcs, @mysten/utils
8
+ Copyright (c) Mysten Labs, Inc.
9
+ Source: https://github.com/MystenLabs/sui
10
+
11
+ 2. @protobuf-ts/grpcweb-transport, @protobuf-ts/runtime, @protobuf-ts/runtime-rpc
12
+ Copyright (c) Timo Stamm
13
+ Source: https://github.com/timostamm/protobuf-ts
14
+
15
+ ================================================================================
16
+
17
+ Apache License
18
+ Version 2.0, January 2004
19
+ http://www.apache.org/licenses/
20
+
21
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
22
+
23
+ 1. Definitions.
24
+
25
+ "License" shall mean the terms and conditions for use, reproduction,
26
+ and distribution as defined by Sections 1 through 9 of this document.
27
+
28
+ "Licensor" shall mean the copyright owner or entity authorized by
29
+ the copyright owner that is granting the License.
30
+
31
+ "Legal Entity" shall mean the union of the acting entity and all
32
+ other entities that control, are controlled by, or are under common
33
+ control with that entity. For the purposes of this definition,
34
+ "control" means (i) the power, direct or indirect, to cause the
35
+ direction or management of such entity, whether by contract or
36
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
37
+ outstanding shares, or (iii) beneficial ownership of such entity.
38
+
39
+ "You" (or "Your") shall mean an individual or Legal Entity
40
+ exercising permissions granted by this License.
41
+
42
+ "Source" form shall mean the preferred form for making modifications,
43
+ including but not limited to software source code, documentation
44
+ source, and configuration files.
45
+
46
+ "Object" form shall mean any form resulting from mechanical
47
+ transformation or translation of a Source form, including but
48
+ not limited to compiled object code, generated documentation,
49
+ and conversions to other media types.
50
+
51
+ "Work" shall mean the work of authorship, whether in Source or
52
+ Object form, made available under the License, as indicated by a
53
+ copyright notice that is included in or attached to the work
54
+ (an example is provided in the Appendix below).
55
+
56
+ "Derivative Works" shall mean any work, whether in Source or Object
57
+ form, that is based on (or derived from) the Work and for which the
58
+ editorial revisions, annotations, elaborations, or other modifications
59
+ represent, as a whole, an original work of authorship. For the purposes
60
+ of this License, Derivative Works shall not include works that remain
61
+ separable from, or merely link (or bind by name) to the interfaces of,
62
+ the Work and Derivative Works thereof.
63
+
64
+ "Contribution" shall mean any work of authorship, including
65
+ the original version of the Work and any modifications or additions
66
+ to that Work or Derivative Works thereof, that is intentionally
67
+ submitted to the Licensor for inclusion in the Work by the copyright owner
68
+ or by an individual or Legal Entity authorized to submit on behalf of
69
+ the copyright owner. For the purposes of this definition, "submitted"
70
+ means any form of electronic, verbal, or written communication sent
71
+ to the Licensor or its representatives, including but not limited to
72
+ communication on electronic mailing lists, source code control systems,
73
+ and issue tracking systems that are managed by, or on behalf of, the
74
+ Licensor for the purpose of discussing and improving the Work, but
75
+ excluding communication that is conspicuously marked or otherwise
76
+ designated in writing by the copyright owner as "Not a Contribution."
77
+
78
+ "Contributor" shall mean Licensor and any individual or Legal Entity
79
+ on behalf of whom a Contribution has been received by Licensor and
80
+ subsequently incorporated within the Work.
81
+
82
+ 2. Grant of Copyright License. Subject to the terms and conditions of
83
+ this License, each Contributor hereby grants to You a perpetual,
84
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
85
+ copyright license to reproduce, prepare Derivative Works of,
86
+ publicly display, publicly perform, sublicense, and distribute the
87
+ Work and such Derivative Works in Source or Object form.
88
+
89
+ 3. Grant of Patent License. Subject to the terms and conditions of
90
+ this License, each Contributor hereby grants to You a perpetual,
91
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
92
+ (except as stated in this section) patent license to make, have made,
93
+ use, offer to sell, sell, import, and otherwise transfer the Work,
94
+ where such license applies only to those patent claims licensable
95
+ by such Contributor that are necessarily infringed by their
96
+ Contribution(s) alone or by combination of their Contribution(s)
97
+ with the Work to which such Contribution(s) was submitted. If You
98
+ institute patent litigation against any entity (including a
99
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
100
+ or a Contribution incorporated within the Work constitutes direct
101
+ or contributory patent infringement, then any patent licenses
102
+ granted to You under this License for that Work shall terminate
103
+ as of the date such litigation is filed.
104
+
105
+ 4. Redistribution. You may reproduce and distribute copies of the
106
+ Work or Derivative Works thereof in any medium, with or without
107
+ modifications, and in Source or Object form, provided that You
108
+ meet the following conditions:
109
+
110
+ (a) You must give any other recipients of the Work or
111
+ Derivative Works a copy of this License; and
112
+
113
+ (b) You must cause any modified files to carry prominent notices
114
+ stating that You changed the files; and
115
+
116
+ (c) You must retain, in the Source form of any Derivative Works
117
+ that You distribute, all copyright, patent, trademark, and
118
+ attribution notices from the Source form of the Work,
119
+ excluding those notices that do not pertain to any part of
120
+ the Derivative Works; and
121
+
122
+ (d) If the Work includes a "NOTICE" text file as part of its
123
+ distribution, then any Derivative Works that You distribute must
124
+ include a readable copy of the attribution notices contained
125
+ within such NOTICE file, excluding those notices that do not
126
+ pertain to any part of the Derivative Works, in at least one
127
+ of the following places: within a NOTICE text file distributed
128
+ as part of the Derivative Works; within the Source form or
129
+ documentation, if provided along with the Derivative Works; or,
130
+ within a display generated by the Derivative Works, if and
131
+ wherever such third-party notices normally appear. The contents
132
+ of the NOTICE file are for informational purposes only and
133
+ do not modify the License. You may add Your own attribution
134
+ notices within Derivative Works that You distribute, alongside
135
+ or as an addendum to the NOTICE text from the Work, provided
136
+ that such additional attribution notices cannot be construed
137
+ as modifying the License.
138
+
139
+ You may add Your own copyright statement to Your modifications and
140
+ may provide additional or different license terms and conditions
141
+ for use, reproduction, or distribution of Your modifications, or
142
+ for any such Derivative Works as a whole, provided Your use,
143
+ reproduction, and distribution of the Work otherwise complies with
144
+ the conditions stated in this License.
145
+
146
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
147
+ any Contribution intentionally submitted for inclusion in the Work
148
+ by You to the Licensor shall be under the terms and conditions of
149
+ this License, without any additional terms or conditions.
150
+ Notwithstanding the above, nothing herein shall supersede or modify
151
+ the terms of any separate license agreement you may have executed
152
+ with Licensor regarding such Contributions.
153
+
154
+ 6. Trademarks. This License does not grant permission to use the trade
155
+ names, trademarks, service marks, or product names of the Licensor,
156
+ except as required for reasonable and customary use in describing the
157
+ origin of the Work and reproducing the content of the NOTICE file.
158
+
159
+ 7. Disclaimer of Warranty. Unless required by applicable law or
160
+ agreed to in writing, Licensor provides the Work (and each
161
+ Contributor provides its Contributions) on an "AS IS" BASIS,
162
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
163
+ implied, including, without limitation, any warranties or conditions
164
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
165
+ PARTICULAR PURPOSE. You are solely responsible for determining the
166
+ appropriateness of using or redistributing the Work and assume any
167
+ risks associated with Your exercise of permissions under this License.
168
+
169
+ 8. Limitation of Liability. In no event and under no legal theory,
170
+ whether in tort (including negligence), contract, or otherwise,
171
+ unless required by applicable law (such as deliberate and grossly
172
+ negligent acts) or agreed to in writing, shall any Contributor be
173
+ liable to You for damages, including any direct, indirect, special,
174
+ incidental, or consequential damages of any character arising as a
175
+ result of this License or out of the use or inability to use the
176
+ Work (including but not limited to damages for loss of goodwill,
177
+ work stoppage, computer failure or malfunction, or any and all
178
+ other commercial damages or losses), even if such Contributor
179
+ has been advised of the possibility of such damages.
180
+
181
+ 9. Accepting Warranty or Additional Liability. While redistributing
182
+ the Work or Derivative Works thereof, You may choose to offer,
183
+ and charge a fee for, acceptance of support, warranty, indemnity,
184
+ or other liability obligations and/or rights consistent with this
185
+ License. However, in accepting such obligations, You may act only
186
+ on Your own behalf and on Your sole responsibility, not on behalf
187
+ of any other Contributor, and only if You agree to indemnify,
188
+ defend, and hold each Contributor harmless for any liability
189
+ incurred by, or claims asserted against, such Contributor by reason
190
+ of your accepting any such warranty or additional liability.
191
+
192
+ END OF TERMS AND CONDITIONS
193
+
194
+ ================================================================================
195
+ END OF APACHE LICENSE 2.0
196
+ ================================================================================
@@ -0,0 +1,58 @@
1
+ ================================================================================
2
+ MIT LICENSE
3
+ ================================================================================
4
+
5
+ The following software components are licensed under the MIT License:
6
+
7
+ 1. @noble/curves (https://github.com/paulmillr/noble-curves)
8
+ Copyright (c) 2022 Paul Miller (https://paulmillr.com)
9
+
10
+ 2. @noble/hashes (https://github.com/paulmillr/noble-hashes)
11
+ Copyright (c) 2022 Paul Miller (https://paulmillr.com)
12
+
13
+ 3. @noble/post-quantum (https://github.com/paulmillr/noble-post-quantum)
14
+ Copyright (c) 2023 Paul Miller (https://paulmillr.com)
15
+
16
+ 4. @scure/base (https://github.com/paulmillr/scure-base)
17
+ Copyright (c) 2022 Paul Miller (https://paulmillr.com)
18
+
19
+ 5. @scure/bip32 (https://github.com/paulmillr/scure-bip32)
20
+ Copyright (c) 2022 Paul Miller (https://paulmillr.com)
21
+
22
+ 6. @scure/bip39 (https://github.com/paulmillr/scure-bip39)
23
+ Copyright (c) 2022 Paul Miller (https://paulmillr.com)
24
+
25
+ 7. libsql (https://github.com/tursodatabase/libsql)
26
+ Copyright (c) Turso and contributors
27
+
28
+ 8. lodash (https://github.com/lodash/lodash)
29
+ Copyright (c) OpenJS Foundation and other contributors
30
+
31
+ 9. valibot (https://github.com/fabian-hiller/valibot)
32
+ Copyright (c) 2023 Fabian Hiller
33
+
34
+ ================================================================================
35
+
36
+ MIT License
37
+
38
+ Permission is hereby granted, free of charge, to any person obtaining a copy
39
+ of this software and associated documentation files (the "Software"), to deal
40
+ in the Software without restriction, including without limitation the rights
41
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
42
+ copies of the Software, and to permit persons to whom the Software is
43
+ furnished to do so, subject to the following conditions:
44
+
45
+ The above copyright notice and this permission notice shall be included in all
46
+ copies or substantial portions of the Software.
47
+
48
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
49
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
50
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
51
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
52
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
53
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
54
+ SOFTWARE.
55
+
56
+ ================================================================================
57
+ END OF MIT LICENSE
58
+ ================================================================================
@@ -0,0 +1,127 @@
1
+ import { BcsReader } from "./reader.js";
2
+ import type { BcsWriterOptions } from "./writer.js";
3
+ import { BcsWriter } from "./writer.js";
4
+ import type { EnumInputShape, EnumOutputShape, JoinString } from "./types.js";
5
+ export interface BcsTypeOptions<T, Input = T, Name extends string = string> {
6
+ name?: Name;
7
+ validate?: (value: Input) => void;
8
+ }
9
+ export declare class BcsType<T, Input = T, const Name extends string = string> {
10
+ #private;
11
+ $inferType: T;
12
+ $inferInput: Input;
13
+ name: Name;
14
+ read: (reader: BcsReader) => T;
15
+ serializedSize: (value: Input, options?: BcsWriterOptions) => number | null;
16
+ validate: (value: Input) => void;
17
+ constructor(options: {
18
+ name: Name;
19
+ read: (reader: BcsReader) => T;
20
+ write: (value: Input, writer: BcsWriter) => void;
21
+ serialize?: (value: Input, options?: BcsWriterOptions) => Uint8Array<ArrayBuffer>;
22
+ serializedSize?: (value: Input) => number | null;
23
+ validate?: (value: Input) => void;
24
+ } & BcsTypeOptions<T, Input, Name>);
25
+ write(value: Input, writer: BcsWriter): void;
26
+ serialize(value: Input, options?: BcsWriterOptions): SerializedBcs<T, Input>;
27
+ parse(bytes: Uint8Array): T;
28
+ fromHex(hex: string): T;
29
+ fromBase58(b64: string): T;
30
+ fromBase64(b64: string): T;
31
+ transform<T2 = T, Input2 = Input, NewName extends string = Name>({ name, input, output, validate, }: {
32
+ input?: (val: Input2) => Input;
33
+ output?: (value: T) => T2;
34
+ } & BcsTypeOptions<T2, Input2, NewName>): BcsType<T2, Input2, NewName>;
35
+ }
36
+ declare const SERIALIZED_BCS_BRAND: never;
37
+ export declare function isSerializedBcs(obj: unknown): obj is SerializedBcs<unknown>;
38
+ export declare class SerializedBcs<T, Input = T> {
39
+ #private;
40
+ [SERIALIZED_BCS_BRAND]: boolean;
41
+ constructor(schema: BcsType<T, Input>, bytes: Uint8Array<ArrayBuffer>);
42
+ toBytes(): Uint8Array<ArrayBuffer>;
43
+ toHex(): string;
44
+ toBase64(): string;
45
+ toBase58(): string;
46
+ parse(): T;
47
+ }
48
+ export declare function fixedSizeBcsType<T, Input = T, const Name extends string = string>({ size, ...options }: {
49
+ name: Name;
50
+ size: number;
51
+ read: (reader: BcsReader) => T;
52
+ write: (value: Input, writer: BcsWriter) => void;
53
+ } & BcsTypeOptions<T, Input, Name>): BcsType<T, Input, Name>;
54
+ export declare function uIntBcsType<const Name extends string = string>({ readMethod, writeMethod, ...options }: {
55
+ name: Name;
56
+ size: number;
57
+ readMethod: `read${8 | 16 | 32}`;
58
+ writeMethod: `write${8 | 16 | 32}`;
59
+ maxValue: number;
60
+ } & BcsTypeOptions<number, number, Name>): BcsType<number, number, Name>;
61
+ export declare function bigUIntBcsType<const Name extends string = string>({ readMethod, writeMethod, ...options }: {
62
+ name: Name;
63
+ size: number;
64
+ readMethod: `read${64 | 128 | 256}`;
65
+ writeMethod: `write${64 | 128 | 256}`;
66
+ maxValue: bigint;
67
+ } & BcsTypeOptions<string, string | number | bigint>): BcsType<string, string | number | bigint, Name>;
68
+ export declare function dynamicSizeBcsType<T, Input = T, const Name extends string = string>({ serialize, ...options }: {
69
+ name: Name;
70
+ read: (reader: BcsReader) => T;
71
+ serialize: (value: Input, options?: BcsWriterOptions) => Uint8Array<ArrayBuffer>;
72
+ } & BcsTypeOptions<T, Input>): BcsType<T, Input, string>;
73
+ export declare function stringLikeBcsType<const Name extends string = string>({ toBytes, fromBytes, ...options }: {
74
+ name: Name;
75
+ toBytes: (value: string) => Uint8Array;
76
+ fromBytes: (bytes: Uint8Array) => string;
77
+ serializedSize?: (value: string) => number | null;
78
+ } & BcsTypeOptions<string, string, Name>): BcsType<string, string, Name>;
79
+ export declare function lazyBcsType<T, Input>(cb: () => BcsType<T, Input>): BcsType<T, Input, string>;
80
+ export interface BcsStructOptions<T extends Record<string, BcsType<any>>, Name extends string = string> extends Omit<BcsTypeOptions<{
81
+ [K in keyof T]: T[K] extends BcsType<infer U, any> ? U : never;
82
+ }, {
83
+ [K in keyof T]: T[K] extends BcsType<any, infer U> ? U : never;
84
+ }, Name>, "name"> {
85
+ name: Name;
86
+ fields: T;
87
+ }
88
+ export declare class BcsStruct<T extends Record<string, BcsType<any>>, const Name extends string = string> extends BcsType<{
89
+ [K in keyof T]: T[K] extends BcsType<infer U, any> ? U : never;
90
+ }, {
91
+ [K in keyof T]: T[K] extends BcsType<any, infer U> ? U : never;
92
+ }, Name> {
93
+ constructor({ name, fields, ...options }: BcsStructOptions<T, Name>);
94
+ }
95
+ export interface BcsEnumOptions<T extends Record<string, BcsType<any> | null>, Name extends string = string> extends Omit<BcsTypeOptions<EnumOutputShape<{
96
+ [K in keyof T]: T[K] extends BcsType<infer U, any, any> ? U : true;
97
+ }>, EnumInputShape<{
98
+ [K in keyof T]: T[K] extends BcsType<any, infer U, any> ? U : boolean | object | null;
99
+ }>, Name>, "name"> {
100
+ name: Name;
101
+ fields: T;
102
+ }
103
+ export declare class BcsEnum<T extends Record<string, BcsType<any> | null>, const Name extends string = string> extends BcsType<EnumOutputShape<{
104
+ [K in keyof T]: T[K] extends BcsType<infer U, any> ? U : true;
105
+ }>, EnumInputShape<{
106
+ [K in keyof T]: T[K] extends BcsType<any, infer U, any> ? U : boolean | object | null;
107
+ }>, Name> {
108
+ constructor({ fields, ...options }: BcsEnumOptions<T, Name>);
109
+ }
110
+ export interface BcsTupleOptions<T extends readonly BcsType<any>[], Name extends string> extends Omit<BcsTypeOptions<{
111
+ -readonly [K in keyof T]: T[K] extends BcsType<infer T, any> ? T : never;
112
+ }, {
113
+ [K in keyof T]: T[K] extends BcsType<any, infer T> ? T : never;
114
+ }, Name>, "name"> {
115
+ name?: Name;
116
+ fields: T;
117
+ }
118
+ export declare class BcsTuple<const T extends readonly BcsType<any>[], const Name extends string = `(${JoinString<{
119
+ [K in keyof T]: T[K] extends BcsType<any, any, infer T> ? T : never;
120
+ }, ", ">})`> extends BcsType<{
121
+ -readonly [K in keyof T]: T[K] extends BcsType<infer T, any> ? T : never;
122
+ }, {
123
+ [K in keyof T]: T[K] extends BcsType<any, infer T> ? T : never;
124
+ }, Name> {
125
+ constructor({ fields, name, ...options }: BcsTupleOptions<T, Name>);
126
+ }
127
+ export {};