@haneullabs/haneul 2.5.1 → 2.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (454) hide show
  1. package/CHANGELOG.md +129 -0
  2. package/README.md +36 -36
  3. package/dist/bcs/bcs.d.mts +6 -7
  4. package/dist/bcs/bcs.d.mts.map +1 -1
  5. package/dist/bcs/bcs.mjs.map +1 -1
  6. package/dist/bcs/effects.mjs.map +1 -1
  7. package/dist/bcs/index.d.mts +2 -2
  8. package/dist/bcs/index.d.mts.map +1 -1
  9. package/dist/bcs/index.mjs +2 -2
  10. package/dist/bcs/index.mjs.map +1 -1
  11. package/dist/bcs/pure.d.mts.map +1 -1
  12. package/dist/bcs/type-tag-serializer.d.mts.map +1 -1
  13. package/dist/bcs/types.d.mts +0 -1
  14. package/dist/bcs/types.d.mts.map +1 -1
  15. package/dist/client/cache.d.mts.map +1 -1
  16. package/dist/client/client.d.mts.map +1 -1
  17. package/dist/client/core-resolver.d.mts.map +1 -1
  18. package/dist/client/core-resolver.mjs +87 -68
  19. package/dist/client/core-resolver.mjs.map +1 -1
  20. package/dist/client/core.d.mts +9 -8
  21. package/dist/client/core.d.mts.map +1 -1
  22. package/dist/client/core.mjs +29 -10
  23. package/dist/client/core.mjs.map +1 -1
  24. package/dist/client/errors.d.mts.map +1 -1
  25. package/dist/client/mvr.d.mts +0 -1
  26. package/dist/client/mvr.d.mts.map +1 -1
  27. package/dist/client/types.d.mts +110 -24
  28. package/dist/client/types.d.mts.map +1 -1
  29. package/dist/client/utils.d.mts.map +1 -1
  30. package/dist/client/utils.mjs +7 -7
  31. package/dist/client/utils.mjs.map +1 -1
  32. package/dist/cryptography/index.d.mts +2 -2
  33. package/dist/cryptography/index.mjs +2 -2
  34. package/dist/cryptography/intent.d.mts +2 -2
  35. package/dist/cryptography/intent.d.mts.map +1 -1
  36. package/dist/cryptography/intent.mjs +2 -2
  37. package/dist/cryptography/intent.mjs.map +1 -1
  38. package/dist/cryptography/keypair.d.mts +3 -3
  39. package/dist/cryptography/keypair.d.mts.map +1 -1
  40. package/dist/cryptography/keypair.mjs +3 -3
  41. package/dist/cryptography/keypair.mjs.map +1 -1
  42. package/dist/cryptography/mnemonics.d.mts +5 -5
  43. package/dist/cryptography/mnemonics.d.mts.map +1 -1
  44. package/dist/cryptography/mnemonics.mjs +7 -7
  45. package/dist/cryptography/mnemonics.mjs.map +1 -1
  46. package/dist/cryptography/publickey.d.mts +2 -3
  47. package/dist/cryptography/publickey.d.mts.map +1 -1
  48. package/dist/cryptography/publickey.mjs +10 -10
  49. package/dist/cryptography/publickey.mjs.map +1 -1
  50. package/dist/cryptography/signature-scheme.d.mts.map +1 -1
  51. package/dist/cryptography/signature.d.mts +10 -13
  52. package/dist/cryptography/signature.d.mts.map +1 -1
  53. package/dist/cryptography/signature.mjs +2 -2
  54. package/dist/cryptography/signature.mjs.map +1 -1
  55. package/dist/faucet/faucet.d.mts +2 -2
  56. package/dist/faucet/faucet.d.mts.map +1 -1
  57. package/dist/faucet/faucet.mjs +2 -2
  58. package/dist/faucet/faucet.mjs.map +1 -1
  59. package/dist/faucet/index.d.mts +2 -2
  60. package/dist/faucet/index.mjs +2 -2
  61. package/dist/graphql/client.d.mts +20 -5
  62. package/dist/graphql/client.d.mts.map +1 -1
  63. package/dist/graphql/client.mjs +55 -7
  64. package/dist/graphql/client.mjs.map +1 -1
  65. package/dist/graphql/core.d.mts +6 -5
  66. package/dist/graphql/core.d.mts.map +1 -1
  67. package/dist/graphql/core.mjs +43 -47
  68. package/dist/graphql/core.mjs.map +1 -1
  69. package/dist/graphql/generated/queries.d.mts +0 -1
  70. package/dist/graphql/generated/queries.d.mts.map +1 -1
  71. package/dist/graphql/generated/queries.mjs +46 -10
  72. package/dist/graphql/generated/queries.mjs.map +1 -1
  73. package/dist/graphql/generated/tada-env.d.mts +706 -98
  74. package/dist/graphql/generated/tada-env.d.mts.map +1 -1
  75. package/dist/graphql/index.d.mts +2 -2
  76. package/dist/graphql/index.mjs +2 -2
  77. package/dist/graphql/schema/index.d.mts +0 -1
  78. package/dist/graphql/schema/index.d.mts.map +1 -1
  79. package/dist/graphql/types.d.mts.map +1 -1
  80. package/dist/grpc/client.d.mts +20 -5
  81. package/dist/grpc/client.d.mts.map +1 -1
  82. package/dist/grpc/client.mjs +47 -7
  83. package/dist/grpc/client.mjs.map +1 -1
  84. package/dist/grpc/core.d.mts +6 -5
  85. package/dist/grpc/core.d.mts.map +1 -1
  86. package/dist/grpc/core.mjs +35 -34
  87. package/dist/grpc/core.mjs.map +1 -1
  88. package/dist/grpc/index.d.mts +2 -2
  89. package/dist/grpc/index.mjs +2 -2
  90. package/dist/grpc/proto/google/protobuf/any.d.mts +0 -1
  91. package/dist/grpc/proto/google/protobuf/any.d.mts.map +1 -1
  92. package/dist/grpc/proto/google/protobuf/duration.d.mts +0 -1
  93. package/dist/grpc/proto/google/protobuf/duration.d.mts.map +1 -1
  94. package/dist/grpc/proto/google/protobuf/field_mask.d.mts +0 -1
  95. package/dist/grpc/proto/google/protobuf/field_mask.d.mts.map +1 -1
  96. package/dist/grpc/proto/google/protobuf/struct.d.mts +1 -2
  97. package/dist/grpc/proto/google/protobuf/struct.d.mts.map +1 -1
  98. package/dist/grpc/proto/google/protobuf/timestamp.d.mts +0 -1
  99. package/dist/grpc/proto/google/protobuf/timestamp.d.mts.map +1 -1
  100. package/dist/grpc/proto/google/rpc/status.d.mts +0 -1
  101. package/dist/grpc/proto/google/rpc/status.d.mts.map +1 -1
  102. package/dist/grpc/proto/haneul/rpc/v2/argument.d.mts +1 -2
  103. package/dist/grpc/proto/haneul/rpc/v2/argument.d.mts.map +1 -1
  104. package/dist/grpc/proto/haneul/rpc/v2/balance_change.d.mts +0 -1
  105. package/dist/grpc/proto/haneul/rpc/v2/balance_change.d.mts.map +1 -1
  106. package/dist/grpc/proto/haneul/rpc/v2/bcs.d.mts +1 -2
  107. package/dist/grpc/proto/haneul/rpc/v2/bcs.d.mts.map +1 -1
  108. package/dist/grpc/proto/haneul/rpc/v2/bcs.mjs.map +1 -1
  109. package/dist/grpc/proto/haneul/rpc/v2/checkpoint.d.mts +0 -1
  110. package/dist/grpc/proto/haneul/rpc/v2/checkpoint.d.mts.map +1 -1
  111. package/dist/grpc/proto/haneul/rpc/v2/checkpoint_contents.d.mts +0 -1
  112. package/dist/grpc/proto/haneul/rpc/v2/checkpoint_contents.d.mts.map +1 -1
  113. package/dist/grpc/proto/haneul/rpc/v2/checkpoint_summary.d.mts +1 -2
  114. package/dist/grpc/proto/haneul/rpc/v2/checkpoint_summary.d.mts.map +1 -1
  115. package/dist/grpc/proto/haneul/rpc/v2/effects.d.mts +5 -6
  116. package/dist/grpc/proto/haneul/rpc/v2/effects.d.mts.map +1 -1
  117. package/dist/grpc/proto/haneul/rpc/v2/epoch.d.mts +0 -1
  118. package/dist/grpc/proto/haneul/rpc/v2/epoch.d.mts.map +1 -1
  119. package/dist/grpc/proto/haneul/rpc/v2/error_reason.d.mts +1 -1
  120. package/dist/grpc/proto/haneul/rpc/v2/error_reason.d.mts.map +1 -1
  121. package/dist/grpc/proto/haneul/rpc/v2/event.d.mts +0 -1
  122. package/dist/grpc/proto/haneul/rpc/v2/event.d.mts.map +1 -1
  123. package/dist/grpc/proto/haneul/rpc/v2/executed_transaction.d.mts +0 -1
  124. package/dist/grpc/proto/haneul/rpc/v2/executed_transaction.d.mts.map +1 -1
  125. package/dist/grpc/proto/haneul/rpc/v2/execution_status.d.mts +8 -9
  126. package/dist/grpc/proto/haneul/rpc/v2/execution_status.d.mts.map +1 -1
  127. package/dist/grpc/proto/haneul/rpc/v2/execution_status.mjs +4 -4
  128. package/dist/grpc/proto/haneul/rpc/v2/execution_status.mjs.map +1 -1
  129. package/dist/grpc/proto/haneul/rpc/v2/gas_cost_summary.d.mts +0 -1
  130. package/dist/grpc/proto/haneul/rpc/v2/gas_cost_summary.d.mts.map +1 -1
  131. package/dist/grpc/proto/haneul/rpc/v2/input.d.mts +3 -4
  132. package/dist/grpc/proto/haneul/rpc/v2/input.d.mts.map +1 -1
  133. package/dist/grpc/proto/haneul/rpc/v2/jwk.d.mts +0 -1
  134. package/dist/grpc/proto/haneul/rpc/v2/jwk.d.mts.map +1 -1
  135. package/dist/grpc/proto/haneul/rpc/v2/ledger_service.client.d.mts +4 -5
  136. package/dist/grpc/proto/haneul/rpc/v2/ledger_service.client.d.mts.map +1 -1
  137. package/dist/grpc/proto/haneul/rpc/v2/ledger_service.d.mts +0 -1
  138. package/dist/grpc/proto/haneul/rpc/v2/ledger_service.d.mts.map +1 -1
  139. package/dist/grpc/proto/haneul/rpc/v2/move_package.d.mts +5 -6
  140. package/dist/grpc/proto/haneul/rpc/v2/move_package.d.mts.map +1 -1
  141. package/dist/grpc/proto/haneul/rpc/v2/move_package_service.client.d.mts +4 -5
  142. package/dist/grpc/proto/haneul/rpc/v2/move_package_service.client.d.mts.map +1 -1
  143. package/dist/grpc/proto/haneul/rpc/v2/move_package_service.d.mts +0 -1
  144. package/dist/grpc/proto/haneul/rpc/v2/move_package_service.d.mts.map +1 -1
  145. package/dist/grpc/proto/haneul/rpc/v2/name_service.client.d.mts +4 -5
  146. package/dist/grpc/proto/haneul/rpc/v2/name_service.client.d.mts.map +1 -1
  147. package/dist/grpc/proto/haneul/rpc/v2/name_service.d.mts +0 -1
  148. package/dist/grpc/proto/haneul/rpc/v2/name_service.d.mts.map +1 -1
  149. package/dist/grpc/proto/haneul/rpc/v2/object.d.mts +38 -2
  150. package/dist/grpc/proto/haneul/rpc/v2/object.d.mts.map +1 -1
  151. package/dist/grpc/proto/haneul/rpc/v2/object.mjs +26 -1
  152. package/dist/grpc/proto/haneul/rpc/v2/object.mjs.map +1 -1
  153. package/dist/grpc/proto/haneul/rpc/v2/object_reference.d.mts +0 -1
  154. package/dist/grpc/proto/haneul/rpc/v2/object_reference.d.mts.map +1 -1
  155. package/dist/grpc/proto/haneul/rpc/v2/owner.d.mts +1 -2
  156. package/dist/grpc/proto/haneul/rpc/v2/owner.d.mts.map +1 -1
  157. package/dist/grpc/proto/haneul/rpc/v2/protocol_config.d.mts +0 -1
  158. package/dist/grpc/proto/haneul/rpc/v2/protocol_config.d.mts.map +1 -1
  159. package/dist/grpc/proto/haneul/rpc/v2/signature.d.mts +1 -2
  160. package/dist/grpc/proto/haneul/rpc/v2/signature.d.mts.map +1 -1
  161. package/dist/grpc/proto/haneul/rpc/v2/signature.mjs.map +1 -1
  162. package/dist/grpc/proto/haneul/rpc/v2/signature_scheme.d.mts +2 -2
  163. package/dist/grpc/proto/haneul/rpc/v2/signature_scheme.d.mts.map +1 -1
  164. package/dist/grpc/proto/haneul/rpc/v2/signature_scheme.mjs +1 -1
  165. package/dist/grpc/proto/haneul/rpc/v2/signature_scheme.mjs.map +1 -1
  166. package/dist/grpc/proto/haneul/rpc/v2/signature_verification_service.client.d.mts +4 -5
  167. package/dist/grpc/proto/haneul/rpc/v2/signature_verification_service.client.d.mts.map +1 -1
  168. package/dist/grpc/proto/haneul/rpc/v2/signature_verification_service.d.mts +0 -1
  169. package/dist/grpc/proto/haneul/rpc/v2/signature_verification_service.d.mts.map +1 -1
  170. package/dist/grpc/proto/haneul/rpc/v2/state_service.client.d.mts +4 -5
  171. package/dist/grpc/proto/haneul/rpc/v2/state_service.client.d.mts.map +1 -1
  172. package/dist/grpc/proto/haneul/rpc/v2/state_service.d.mts +4 -5
  173. package/dist/grpc/proto/haneul/rpc/v2/state_service.d.mts.map +1 -1
  174. package/dist/grpc/proto/haneul/rpc/v2/subscription_service.client.d.mts +4 -5
  175. package/dist/grpc/proto/haneul/rpc/v2/subscription_service.client.d.mts.map +1 -1
  176. package/dist/grpc/proto/haneul/rpc/v2/subscription_service.d.mts +0 -1
  177. package/dist/grpc/proto/haneul/rpc/v2/subscription_service.d.mts.map +1 -1
  178. package/dist/grpc/proto/haneul/rpc/v2/system_state.d.mts +3 -4
  179. package/dist/grpc/proto/haneul/rpc/v2/system_state.d.mts.map +1 -1
  180. package/dist/grpc/proto/haneul/rpc/v2/system_state.mjs +1 -1
  181. package/dist/grpc/proto/haneul/rpc/v2/system_state.mjs.map +1 -1
  182. package/dist/grpc/proto/haneul/rpc/v2/transaction.d.mts +4 -5
  183. package/dist/grpc/proto/haneul/rpc/v2/transaction.d.mts.map +1 -1
  184. package/dist/grpc/proto/haneul/rpc/v2/transaction_execution_service.client.d.mts +0 -1
  185. package/dist/grpc/proto/haneul/rpc/v2/transaction_execution_service.client.d.mts.map +1 -1
  186. package/dist/grpc/proto/haneul/rpc/v2/transaction_execution_service.d.mts +9 -2
  187. package/dist/grpc/proto/haneul/rpc/v2/transaction_execution_service.d.mts.map +1 -1
  188. package/dist/grpc/proto/haneul/rpc/v2/transaction_execution_service.mjs +23 -12
  189. package/dist/grpc/proto/haneul/rpc/v2/transaction_execution_service.mjs.map +1 -1
  190. package/dist/grpc/proto/types.d.mts +2 -2
  191. package/dist/grpc/proto/types.d.mts.map +1 -1
  192. package/dist/grpc/proto/types.mjs +2 -1
  193. package/dist/jsonRpc/client.d.mts +4 -7
  194. package/dist/jsonRpc/client.d.mts.map +1 -1
  195. package/dist/jsonRpc/client.mjs +4 -33
  196. package/dist/jsonRpc/client.mjs.map +1 -1
  197. package/dist/jsonRpc/core.d.mts +8 -15
  198. package/dist/jsonRpc/core.d.mts.map +1 -1
  199. package/dist/jsonRpc/core.mjs +81 -34
  200. package/dist/jsonRpc/core.mjs.map +1 -1
  201. package/dist/jsonRpc/errors.d.mts.map +1 -1
  202. package/dist/jsonRpc/http-transport.d.mts +1 -17
  203. package/dist/jsonRpc/http-transport.d.mts.map +1 -1
  204. package/dist/jsonRpc/http-transport.mjs +0 -23
  205. package/dist/jsonRpc/http-transport.mjs.map +1 -1
  206. package/dist/jsonRpc/index.d.mts +3 -3
  207. package/dist/jsonRpc/network.d.mts.map +1 -1
  208. package/dist/jsonRpc/types/chain.d.mts.map +1 -1
  209. package/dist/jsonRpc/types/changes.d.mts.map +1 -1
  210. package/dist/jsonRpc/types/coins.d.mts.map +1 -1
  211. package/dist/jsonRpc/types/common.d.mts +1 -2
  212. package/dist/jsonRpc/types/common.d.mts.map +1 -1
  213. package/dist/jsonRpc/types/generated.d.mts +101 -129
  214. package/dist/jsonRpc/types/generated.d.mts.map +1 -1
  215. package/dist/jsonRpc/types/index.d.mts +1 -1
  216. package/dist/jsonRpc/types/params.d.mts +9 -14
  217. package/dist/jsonRpc/types/params.d.mts.map +1 -1
  218. package/dist/keypairs/ed25519/keypair.d.mts +8 -6
  219. package/dist/keypairs/ed25519/keypair.d.mts.map +1 -1
  220. package/dist/keypairs/ed25519/keypair.mjs +13 -9
  221. package/dist/keypairs/ed25519/keypair.mjs.map +1 -1
  222. package/dist/keypairs/ed25519/publickey.d.mts +0 -1
  223. package/dist/keypairs/ed25519/publickey.d.mts.map +1 -1
  224. package/dist/keypairs/passkey/keypair.d.mts +12 -5
  225. package/dist/keypairs/passkey/keypair.d.mts.map +1 -1
  226. package/dist/keypairs/passkey/keypair.mjs +20 -7
  227. package/dist/keypairs/passkey/keypair.mjs.map +1 -1
  228. package/dist/keypairs/passkey/publickey.d.mts +0 -1
  229. package/dist/keypairs/passkey/publickey.d.mts.map +1 -1
  230. package/dist/keypairs/passkey/types.d.mts.map +1 -1
  231. package/dist/keypairs/secp256k1/keypair.d.mts +3 -3
  232. package/dist/keypairs/secp256k1/keypair.d.mts.map +1 -1
  233. package/dist/keypairs/secp256k1/keypair.mjs +6 -6
  234. package/dist/keypairs/secp256k1/keypair.mjs.map +1 -1
  235. package/dist/keypairs/secp256k1/publickey.d.mts +0 -1
  236. package/dist/keypairs/secp256k1/publickey.d.mts.map +1 -1
  237. package/dist/keypairs/secp256r1/keypair.d.mts +3 -3
  238. package/dist/keypairs/secp256r1/keypair.d.mts.map +1 -1
  239. package/dist/keypairs/secp256r1/keypair.mjs +6 -6
  240. package/dist/keypairs/secp256r1/keypair.mjs.map +1 -1
  241. package/dist/keypairs/secp256r1/publickey.d.mts +0 -1
  242. package/dist/keypairs/secp256r1/publickey.d.mts.map +1 -1
  243. package/dist/multisig/publickey.d.mts +1 -0
  244. package/dist/multisig/publickey.d.mts.map +1 -1
  245. package/dist/multisig/publickey.mjs +8 -8
  246. package/dist/multisig/publickey.mjs.map +1 -1
  247. package/dist/multisig/signer.d.mts.map +1 -1
  248. package/dist/transactions/Arguments.d.mts.map +1 -1
  249. package/dist/transactions/Commands.d.mts +1 -1
  250. package/dist/transactions/Commands.d.mts.map +1 -1
  251. package/dist/transactions/Commands.mjs.map +1 -1
  252. package/dist/transactions/Inputs.d.mts.map +1 -1
  253. package/dist/transactions/ObjectCache.d.mts +3 -3
  254. package/dist/transactions/ObjectCache.d.mts.map +1 -1
  255. package/dist/transactions/Transaction.d.mts +32 -6
  256. package/dist/transactions/Transaction.d.mts.map +1 -1
  257. package/dist/transactions/Transaction.mjs +23 -1
  258. package/dist/transactions/Transaction.mjs.map +1 -1
  259. package/dist/transactions/TransactionData.d.mts.map +1 -1
  260. package/dist/transactions/TransactionData.mjs +8 -8
  261. package/dist/transactions/TransactionData.mjs.map +1 -1
  262. package/dist/transactions/data/internal.d.mts +109 -109
  263. package/dist/transactions/data/internal.d.mts.map +1 -1
  264. package/dist/transactions/data/internal.mjs.map +1 -1
  265. package/dist/transactions/data/v1.d.mts +220 -221
  266. package/dist/transactions/data/v1.d.mts.map +1 -1
  267. package/dist/transactions/data/v2.d.mts +16 -16
  268. package/dist/transactions/data/v2.d.mts.map +1 -1
  269. package/dist/transactions/data/v2.mjs.map +1 -1
  270. package/dist/transactions/executor/caching.mjs +2 -2
  271. package/dist/transactions/executor/caching.mjs.map +1 -1
  272. package/dist/transactions/executor/parallel.d.mts +1 -1
  273. package/dist/transactions/executor/parallel.d.mts.map +1 -1
  274. package/dist/transactions/executor/parallel.mjs +1 -1
  275. package/dist/transactions/executor/parallel.mjs.map +1 -1
  276. package/dist/transactions/executor/serial.d.mts +3 -3
  277. package/dist/transactions/executor/serial.d.mts.map +1 -1
  278. package/dist/transactions/executor/serial.mjs.map +1 -1
  279. package/dist/transactions/intents/CoinWithBalance.d.mts.map +1 -1
  280. package/dist/transactions/intents/CoinWithBalance.mjs +174 -97
  281. package/dist/transactions/intents/CoinWithBalance.mjs.map +1 -1
  282. package/dist/transactions/object.d.mts.map +1 -1
  283. package/dist/transactions/pure.d.mts.map +1 -1
  284. package/dist/transactions/pure.mjs +12 -12
  285. package/dist/transactions/pure.mjs.map +1 -1
  286. package/dist/transactions/resolve.d.mts.map +1 -1
  287. package/dist/transactions/resolve.mjs +3 -3
  288. package/dist/transactions/resolve.mjs.map +1 -1
  289. package/dist/transactions/serializer.d.mts.map +1 -1
  290. package/dist/transactions/serializer.mjs +15 -15
  291. package/dist/transactions/serializer.mjs.map +1 -1
  292. package/dist/transactions/utils.d.mts +0 -1
  293. package/dist/transactions/utils.d.mts.map +1 -1
  294. package/dist/utils/coin-reservation.mjs +67 -0
  295. package/dist/utils/coin-reservation.mjs.map +1 -0
  296. package/dist/utils/constants.d.mts +2 -1
  297. package/dist/utils/constants.d.mts.map +1 -1
  298. package/dist/utils/constants.mjs +2 -1
  299. package/dist/utils/constants.mjs.map +1 -1
  300. package/dist/utils/derived-objects.d.mts +0 -1
  301. package/dist/utils/derived-objects.d.mts.map +1 -1
  302. package/dist/utils/dynamic-fields.d.mts.map +1 -1
  303. package/dist/utils/dynamic-fields.mjs +4 -4
  304. package/dist/utils/dynamic-fields.mjs.map +1 -1
  305. package/dist/utils/format.d.mts.map +1 -1
  306. package/dist/utils/haneul-types.d.mts.map +1 -1
  307. package/dist/utils/haneul-types.mjs +8 -0
  308. package/dist/utils/haneul-types.mjs.map +1 -1
  309. package/dist/utils/haneulns.d.mts.map +1 -1
  310. package/dist/utils/index.d.mts +2 -2
  311. package/dist/utils/index.mjs +2 -2
  312. package/dist/utils/move-registry.d.mts.map +1 -1
  313. package/dist/verify/index.d.mts +2 -2
  314. package/dist/verify/index.mjs +2 -2
  315. package/dist/verify/verify.d.mts +2 -2
  316. package/dist/verify/verify.d.mts.map +1 -1
  317. package/dist/verify/verify.mjs +2 -2
  318. package/dist/verify/verify.mjs.map +1 -1
  319. package/dist/version.mjs +1 -1
  320. package/dist/version.mjs.map +1 -1
  321. package/dist/zklogin/address.d.mts.map +1 -1
  322. package/dist/zklogin/bcs.d.mts +14 -14
  323. package/dist/zklogin/bcs.d.mts.map +1 -1
  324. package/dist/zklogin/jwt-decode.d.mts +0 -1
  325. package/dist/zklogin/jwt-decode.d.mts.map +1 -1
  326. package/dist/zklogin/jwt-utils.d.mts +0 -1
  327. package/dist/zklogin/jwt-utils.d.mts.map +1 -1
  328. package/dist/zklogin/nonce.d.mts.map +1 -1
  329. package/dist/zklogin/nonce.mjs +1 -1
  330. package/dist/zklogin/nonce.mjs.map +1 -1
  331. package/dist/zklogin/poseidon.d.mts.map +1 -1
  332. package/dist/zklogin/publickey.d.mts +0 -1
  333. package/dist/zklogin/publickey.d.mts.map +1 -1
  334. package/dist/zklogin/signature.d.mts.map +1 -1
  335. package/dist/zklogin/utils.d.mts.map +1 -1
  336. package/dist/zklogin/utils.mjs +1 -1
  337. package/dist/zklogin/utils.mjs.map +1 -1
  338. package/docs/bcs.md +132 -0
  339. package/docs/clients/core.md +616 -0
  340. package/docs/clients/graphql.md +99 -0
  341. package/docs/clients/grpc.md +152 -0
  342. package/docs/clients/index.md +93 -0
  343. package/docs/clients/json-rpc.md +235 -0
  344. package/docs/cryptography/keypairs.md +259 -0
  345. package/docs/cryptography/multisig.md +192 -0
  346. package/docs/cryptography/passkey.md +111 -0
  347. package/docs/cryptography/webcrypto-signer.md +81 -0
  348. package/docs/executors.md +148 -0
  349. package/docs/faucet.md +26 -0
  350. package/docs/hello-haneul.md +115 -0
  351. package/docs/index.md +56 -0
  352. package/docs/install.md +61 -0
  353. package/docs/llm-docs.md +32 -0
  354. package/docs/llms-index.md +66 -0
  355. package/docs/migrations/0.38.md +57 -0
  356. package/docs/migrations/haneul-1.0.md +454 -0
  357. package/docs/migrations/haneul-2.0/agent-prompt.md +42 -0
  358. package/docs/migrations/haneul-2.0/dapp-kit.md +350 -0
  359. package/docs/migrations/haneul-2.0/deepbook-v3.md +33 -0
  360. package/docs/migrations/haneul-2.0/haneul.md +341 -0
  361. package/docs/migrations/haneul-2.0/haneulns.md +42 -0
  362. package/docs/migrations/haneul-2.0/index.md +161 -0
  363. package/docs/migrations/haneul-2.0/json-rpc-migration.md +399 -0
  364. package/docs/migrations/haneul-2.0/kiosk.md +120 -0
  365. package/docs/migrations/haneul-2.0/sdk-maintainers.md +91 -0
  366. package/docs/migrations/haneul-2.0/seal.md +14 -0
  367. package/docs/migrations/haneul-2.0/wallet-builders.md +66 -0
  368. package/docs/migrations/haneul-2.0/walrus.md +41 -0
  369. package/docs/migrations/haneul-2.0/zksend.md +94 -0
  370. package/docs/plugins.md +255 -0
  371. package/docs/sdk-building.md +341 -0
  372. package/docs/transaction-building/basics.md +297 -0
  373. package/docs/transaction-building/gas.md +62 -0
  374. package/docs/transaction-building/intents.md +61 -0
  375. package/docs/transaction-building/offline.md +71 -0
  376. package/docs/transaction-building/sponsored-transactions.md +22 -0
  377. package/docs/utils/derived_objects.md +80 -0
  378. package/docs/utils/index.md +53 -0
  379. package/docs/zklogin.md +78 -0
  380. package/package.json +199 -199
  381. package/src/bcs/bcs.ts +13 -13
  382. package/src/bcs/effects.ts +20 -20
  383. package/src/bcs/index.ts +2 -2
  384. package/src/client/core-resolver.ts +150 -100
  385. package/src/client/core.ts +62 -22
  386. package/src/client/types.ts +109 -24
  387. package/src/cryptography/index.ts +2 -2
  388. package/src/cryptography/keypair.ts +2 -2
  389. package/src/cryptography/mnemonics.ts +7 -7
  390. package/src/cryptography/publickey.ts +8 -8
  391. package/src/faucet/faucet.ts +1 -1
  392. package/src/faucet/index.ts +1 -1
  393. package/src/graphql/client.ts +100 -8
  394. package/src/graphql/core.ts +73 -80
  395. package/src/graphql/generated/queries.ts +301 -51
  396. package/src/graphql/generated/schema.graphql +407 -104
  397. package/src/graphql/generated/tada-env.ts +779 -58
  398. package/src/graphql/index.ts +1 -1
  399. package/src/graphql/queries/getAllBalances.graphql +1 -1
  400. package/src/graphql/queries/getBalance.graphql +1 -1
  401. package/src/graphql/queries/getCoins.graphql +2 -2
  402. package/src/graphql/queries/getDynamicFields.graphql +9 -1
  403. package/src/graphql/queries/getMoveFunction.graphql +1 -1
  404. package/src/graphql/queries/getProtocolConfig.graphql +18 -0
  405. package/src/graphql/queries/nameService.graphql +1 -1
  406. package/src/graphql/queries/objects.graphql +11 -1
  407. package/src/graphql/queries/transactions.graphql +1 -3
  408. package/src/graphql/queries/verifyZkLoginSignature.graphql +1 -2
  409. package/src/grpc/client.ts +66 -8
  410. package/src/grpc/core.ts +74 -35
  411. package/src/grpc/index.ts +1 -1
  412. package/src/grpc/proto/haneul/rpc/v2/bcs.ts +1 -1
  413. package/src/grpc/proto/haneul/rpc/v2/execution_status.ts +4 -4
  414. package/src/grpc/proto/haneul/rpc/v2/object.ts +44 -0
  415. package/src/grpc/proto/haneul/rpc/v2/signature.ts +1 -1
  416. package/src/grpc/proto/haneul/rpc/v2/signature_scheme.ts +1 -1
  417. package/src/grpc/proto/haneul/rpc/v2/system_state.ts +4 -4
  418. package/src/grpc/proto/haneul/rpc/v2/transaction_execution_service.ts +16 -0
  419. package/src/jsonRpc/client.ts +5 -23
  420. package/src/jsonRpc/core.ts +114 -41
  421. package/src/jsonRpc/http-transport.ts +0 -52
  422. package/src/jsonRpc/index.ts +0 -1
  423. package/src/jsonRpc/types/common.ts +0 -1
  424. package/src/jsonRpc/types/generated.ts +2 -2
  425. package/src/jsonRpc/types/params.ts +6 -6
  426. package/src/keypairs/ed25519/keypair.ts +14 -10
  427. package/src/keypairs/passkey/keypair.ts +22 -8
  428. package/src/keypairs/secp256k1/keypair.ts +6 -6
  429. package/src/keypairs/secp256r1/keypair.ts +6 -6
  430. package/src/multisig/publickey.ts +1 -1
  431. package/src/transactions/Commands.ts +1 -1
  432. package/src/transactions/Transaction.ts +38 -1
  433. package/src/transactions/TransactionData.ts +3 -3
  434. package/src/transactions/__tests__/bcs.test.ts +3 -3
  435. package/src/transactions/data/internal.ts +12 -12
  436. package/src/transactions/data/v2.ts +6 -6
  437. package/src/transactions/executor/caching.ts +2 -2
  438. package/src/transactions/executor/parallel.ts +1 -2
  439. package/src/transactions/executor/serial.ts +1 -1
  440. package/src/transactions/intents/CoinWithBalance.ts +247 -121
  441. package/src/utils/coin-reservation.ts +84 -0
  442. package/src/utils/constants.ts +2 -0
  443. package/src/utils/haneul-types.ts +16 -1
  444. package/src/utils/index.ts +1 -0
  445. package/src/verify/index.ts +1 -1
  446. package/src/verify/verify.ts +1 -1
  447. package/src/version.ts +1 -1
  448. package/src/zklogin/nonce.ts +1 -1
  449. package/src/zklogin/utils.ts +1 -1
  450. package/dist/jsonRpc/rpc-websocket-client.d.mts +0 -26
  451. package/dist/jsonRpc/rpc-websocket-client.d.mts.map +0 -1
  452. package/dist/jsonRpc/rpc-websocket-client.mjs +0 -135
  453. package/dist/jsonRpc/rpc-websocket-client.mjs.map +0 -1
  454. package/src/jsonRpc/rpc-websocket-client.ts +0 -241
@@ -115,7 +115,7 @@ export type ActiveJwk = {
115
115
  e?: Maybe<Scalars['String']['output']>;
116
116
  /** The most recent epoch in which the JWK was validated. */
117
117
  epoch?: Maybe<Epoch>;
118
- /** The string (Issuing Authority) that identifies the OIDC provider. */
118
+ /** The string (Ishaneulng Authority) that identifies the OIDC provider. */
119
119
  iss?: Maybe<Scalars['String']['output']>;
120
120
  /** The string (Key ID) that identifies the JWK among a set of JWKs, (RFC 7517, Section 4.5). */
121
121
  kid?: Maybe<Scalars['String']['output']>;
@@ -574,6 +574,25 @@ export type CheckpointFilter = {
574
574
  beforeCheckpoint?: InputMaybe<Scalars['UInt53']['input']>;
575
575
  };
576
576
 
577
+ /** A G1 elliptic curve point with 3 base10-encoded Bn254 field elements. */
578
+ export type CircomG1 = {
579
+ __typename?: 'CircomG1';
580
+ e0?: Maybe<Scalars['String']['output']>;
581
+ e1?: Maybe<Scalars['String']['output']>;
582
+ e2?: Maybe<Scalars['String']['output']>;
583
+ };
584
+
585
+ /** A G2 elliptic curve point with 6 base10-encoded Bn254 field elements. */
586
+ export type CircomG2 = {
587
+ __typename?: 'CircomG2';
588
+ e00?: Maybe<Scalars['String']['output']>;
589
+ e01?: Maybe<Scalars['String']['output']>;
590
+ e10?: Maybe<Scalars['String']['output']>;
591
+ e11?: Maybe<Scalars['String']['output']>;
592
+ e20?: Maybe<Scalars['String']['output']>;
593
+ e21?: Maybe<Scalars['String']['output']>;
594
+ };
595
+
577
596
  /** System transaction for creating the coin deny list state. */
578
597
  export type CoinDenyListStateCreateTransaction = {
579
598
  __typename?: 'CoinDenyListStateCreateTransaction';
@@ -1294,6 +1313,22 @@ export type DynamicFieldName = {
1294
1313
  /** The value of a dynamic field (`MoveValue`) or dynamic object field (`MoveObject`). */
1295
1314
  export type DynamicFieldValue = MoveObject | MoveValue;
1296
1315
 
1316
+ /** An Ed25519 public key. */
1317
+ export type Ed25519PublicKey = {
1318
+ __typename?: 'Ed25519PublicKey';
1319
+ /** The raw public key bytes. */
1320
+ bytes?: Maybe<Scalars['Base64']['output']>;
1321
+ };
1322
+
1323
+ /** An Ed25519 signature. */
1324
+ export type Ed25519Signature = {
1325
+ __typename?: 'Ed25519Signature';
1326
+ /** The public key bytes. */
1327
+ publicKey?: Maybe<Scalars['Base64']['output']>;
1328
+ /** The raw signature bytes. */
1329
+ signature?: Maybe<Scalars['Base64']['output']>;
1330
+ };
1331
+
1297
1332
  /** System transaction that supersedes `ChangeEpochTransaction` as the new way to run transactions at the end of an epoch. Behaves similarly to `ChangeEpochTransaction` but can accommodate other optional transactions to run at the end of the epoch. */
1298
1333
  export type EndOfEpochTransaction = {
1299
1334
  __typename?: 'EndOfEpochTransaction';
@@ -1597,16 +1632,11 @@ export type ExecutionError = {
1597
1632
  sourceLineNumber?: Maybe<Scalars['Int']['output']>;
1598
1633
  };
1599
1634
 
1600
- /** The execution result of a transaction, including the transaction effects and any potential errors due to signing or quorum-driving. */
1635
+ /** The execution result of a transaction, including the transaction effects. */
1601
1636
  export type ExecutionResult = {
1602
1637
  __typename?: 'ExecutionResult';
1603
- /** The effects of the transaction execution, if successful. */
1638
+ /** The effects of the transaction execution. */
1604
1639
  effects?: Maybe<TransactionEffects>;
1605
- /**
1606
- * Errors that occurred during execution (e.g., network errors, validation failures).
1607
- * These are distinct from execution failures within the transaction itself.
1608
- */
1609
- errors?: Maybe<Array<Scalars['String']['output']>>;
1610
1640
  };
1611
1641
 
1612
1642
  /** The execution status of this transaction: success or failure. */
@@ -2864,6 +2894,12 @@ export type MoveValue = {
2864
2894
  * Values of other types cannot be interpreted as addresses, and `null` is returned.
2865
2895
  */
2866
2896
  asAddress?: Maybe<Address>;
2897
+ /**
2898
+ * Attempts to treat this value as a `vector<T>` and paginate over its elements.
2899
+ *
2900
+ * Values of other types cannot be interpreted as vectors, and `null` is returned.
2901
+ */
2902
+ asVector?: Maybe<MoveValueConnection>;
2867
2903
  /** The BCS representation of this value, Base64-encoded. */
2868
2904
  bcs?: Maybe<Scalars['Base64']['output']>;
2869
2905
  /**
@@ -2903,6 +2939,14 @@ export type MoveValue = {
2903
2939
  };
2904
2940
 
2905
2941
 
2942
+ export type MoveValueAsVectorArgs = {
2943
+ after?: InputMaybe<Scalars['String']['input']>;
2944
+ before?: InputMaybe<Scalars['String']['input']>;
2945
+ first?: InputMaybe<Scalars['Int']['input']>;
2946
+ last?: InputMaybe<Scalars['Int']['input']>;
2947
+ };
2948
+
2949
+
2906
2950
  export type MoveValueExtractArgs = {
2907
2951
  path: Scalars['String']['input'];
2908
2952
  };
@@ -2912,6 +2956,25 @@ export type MoveValueFormatArgs = {
2912
2956
  format: Scalars['String']['input'];
2913
2957
  };
2914
2958
 
2959
+ export type MoveValueConnection = {
2960
+ __typename?: 'MoveValueConnection';
2961
+ /** A list of edges. */
2962
+ edges: Array<MoveValueEdge>;
2963
+ /** A list of nodes. */
2964
+ nodes: Array<MoveValue>;
2965
+ /** Information to aid in pagination. */
2966
+ pageInfo: PageInfo;
2967
+ };
2968
+
2969
+ /** An edge in a connection. */
2970
+ export type MoveValueEdge = {
2971
+ __typename?: 'MoveValueEdge';
2972
+ /** A cursor for use in pagination */
2973
+ cursor: Scalars['String']['output'];
2974
+ /** The item at the end of the edge */
2975
+ node: MoveValue;
2976
+ };
2977
+
2915
2978
  /**
2916
2979
  * The visibility modifier describes which modules can access this module member.
2917
2980
  *
@@ -2926,6 +2989,42 @@ export enum MoveVisibility {
2926
2989
  Public = 'PUBLIC'
2927
2990
  }
2928
2991
 
2992
+ /** The multisig committee definition. */
2993
+ export type MultisigCommittee = {
2994
+ __typename?: 'MultisigCommittee';
2995
+ /** The committee members (public key + weight). */
2996
+ members?: Maybe<Array<MultisigMember>>;
2997
+ /** The threshold number of weight needed for a valid multisig. */
2998
+ threshold?: Maybe<Scalars['Int']['output']>;
2999
+ };
3000
+
3001
+ /** A single member of a multisig committee. */
3002
+ export type MultisigMember = {
3003
+ __typename?: 'MultisigMember';
3004
+ /** The member's public key. */
3005
+ publicKey?: Maybe<MultisigMemberPublicKey>;
3006
+ /** The member's weight in the committee. */
3007
+ weight?: Maybe<Scalars['Int']['output']>;
3008
+ };
3009
+
3010
+ /** A multisig member's public key, varying by scheme. */
3011
+ export type MultisigMemberPublicKey = Ed25519PublicKey | PasskeyPublicKey | Secp256K1PublicKey | Secp256R1PublicKey | ZkLoginPublicIdentifier;
3012
+
3013
+ /** An aggregated multisig signature. */
3014
+ export type MultisigSignature = {
3015
+ __typename?: 'MultisigSignature';
3016
+ /** A bitmap indicating which members of the committee signed. */
3017
+ bitmap?: Maybe<Scalars['Int']['output']>;
3018
+ /** The multisig committee (public keys + weights + threshold). */
3019
+ committee?: Maybe<MultisigCommittee>;
3020
+ /**
3021
+ * The individual member signatures, one per signer who participated.
3022
+ * Compressed signatures within a multisig do not include the signer's public key,
3023
+ * so `publicKey` will be `null` for simple signature schemes (Ed25519, Secp256k1, Secp256r1).
3024
+ */
3025
+ signatures?: Maybe<Array<SignatureScheme>>;
3026
+ };
3027
+
2929
3028
  /** A transaction that wanted to mutate a consensus-managed object but couldn't because it became not-consensus-managed before the transaction executed (for example, it was deleted, turned into an owned object, or wrapped). */
2930
3029
  export type MutateConsensusStreamEnded = {
2931
3030
  __typename?: 'MutateConsensusStreamEnded';
@@ -3447,6 +3546,23 @@ export type PageInfo = {
3447
3546
  startCursor?: Maybe<Scalars['String']['output']>;
3448
3547
  };
3449
3548
 
3549
+ /** A Passkey public key. */
3550
+ export type PasskeyPublicKey = {
3551
+ __typename?: 'PasskeyPublicKey';
3552
+ /** The raw public key bytes. */
3553
+ bytes?: Maybe<Scalars['Base64']['output']>;
3554
+ };
3555
+
3556
+ export type PasskeySignature = {
3557
+ __typename?: 'PasskeySignature';
3558
+ /** The authenticator data returned by the passkey device. */
3559
+ authenticatorData?: Maybe<Scalars['Base64']['output']>;
3560
+ /** The client data JSON string passed to the authenticator. */
3561
+ clientDataJson?: Maybe<Scalars['String']['output']>;
3562
+ /** The inner user signature (secp256r1). */
3563
+ signature?: Maybe<SignatureScheme>;
3564
+ };
3565
+
3450
3566
  export type PerEpochConfig = {
3451
3567
  __typename?: 'PerEpochConfig';
3452
3568
  /** The per-epoch configuration object as of when the transaction was executed. */
@@ -3767,16 +3883,16 @@ export type Query = {
3767
3883
  */
3768
3884
  type?: Maybe<MoveType>;
3769
3885
  /**
3770
- * Verify a zkLogin signature os from the given `author`.
3886
+ * Verify a zkLogin signature is from the given `author`.
3771
3887
  *
3772
- * Returns a `ZkLoginVerifyResult` where `success` is `true` and `error` is empty if the signature is valid. If the signature is invalid, `success` is `false` and `error` contains the relevant error message.
3888
+ * Returns successfully if the signature is valid. If the signature is invalid, returns an error with the reason for the failure.
3773
3889
  *
3774
3890
  * - `bytes` are either the bytes of a serialized personal message, or `TransactionData`, Base64-encoded.
3775
3891
  * - `signature` is a serialized zkLogin signature, also Base64-encoded.
3776
3892
  * - `intentScope` indicates whether `bytes` are to be parsed as a personal message or `TransactionData`.
3777
3893
  * - `author` is the signer's address.
3778
3894
  */
3779
- verifyZkLoginSignature: ZkLoginVerifyResult;
3895
+ verifyZkLoginSignature?: Maybe<ZkLoginVerifyResult>;
3780
3896
  };
3781
3897
 
3782
3898
 
@@ -4018,6 +4134,38 @@ export enum RegulatedState {
4018
4134
  Unregulated = 'UNREGULATED'
4019
4135
  }
4020
4136
 
4137
+ /** A Secp256k1 public key. */
4138
+ export type Secp256K1PublicKey = {
4139
+ __typename?: 'Secp256K1PublicKey';
4140
+ /** The raw public key bytes. */
4141
+ bytes?: Maybe<Scalars['Base64']['output']>;
4142
+ };
4143
+
4144
+ /** A Secp256k1 signature. */
4145
+ export type Secp256K1Signature = {
4146
+ __typename?: 'Secp256K1Signature';
4147
+ /** The public key bytes. */
4148
+ publicKey?: Maybe<Scalars['Base64']['output']>;
4149
+ /** The raw signature bytes. */
4150
+ signature?: Maybe<Scalars['Base64']['output']>;
4151
+ };
4152
+
4153
+ /** A Secp256r1 public key. */
4154
+ export type Secp256R1PublicKey = {
4155
+ __typename?: 'Secp256R1PublicKey';
4156
+ /** The raw public key bytes. */
4157
+ bytes?: Maybe<Scalars['Base64']['output']>;
4158
+ };
4159
+
4160
+ /** A Secp256r1 signature. */
4161
+ export type Secp256R1Signature = {
4162
+ __typename?: 'Secp256R1Signature';
4163
+ /** The public key bytes. */
4164
+ publicKey?: Maybe<Scalars['Base64']['output']>;
4165
+ /** The raw signature bytes. */
4166
+ signature?: Maybe<Scalars['Base64']['output']>;
4167
+ };
4168
+
4021
4169
  export type ServiceConfig = {
4022
4170
  __typename?: 'ServiceConfig';
4023
4171
  /** Range of checkpoints for which data is available for a query type, field and optional filter. If filter is not provided, the strictest retention range for the query and type is returned. */
@@ -4110,7 +4258,7 @@ export type ServiceConfig = {
4110
4258
  maxTypeArgumentWidth?: Maybe<Scalars['Int']['output']>;
4111
4259
  /** Maximum number of datatypes that need to be processed when calculating the layout of a single type. */
4112
4260
  maxTypeNodes?: Maybe<Scalars['Int']['output']>;
4113
- /** Maximum time in milliseconds spent waiting for a response from fullnode after issuing a transaction to execute. Note that the transaction may still succeed even in the case of a timeout. Transactions are idempotent, so a transaction that times out should be re-submitted until the network returns a definite response (success or failure, not timeout). */
4261
+ /** Maximum time in milliseconds spent waiting for a response from fullnode after ishaneulng a transaction to execute. Note that the transaction may still succeed even in the case of a timeout. Transactions are idempotent, so a transaction that times out should be re-submitted until the network returns a definite response (success or failure, not timeout). */
4114
4262
  mutationTimeoutMs?: Maybe<Scalars['Int']['output']>;
4115
4263
  /** Maximum time in milliseconds that will be spent to serve one query request. */
4116
4264
  queryTimeoutMs?: Maybe<Scalars['Int']['output']>;
@@ -4157,21 +4305,14 @@ export type SharedInput = {
4157
4305
  mutable?: Maybe<Scalars['Boolean']['output']>;
4158
4306
  };
4159
4307
 
4160
- /** The result of simulating a transaction, including the predicted effects and any errors. */
4308
+ /** The structured details of a signature, varying by scheme. */
4309
+ export type SignatureScheme = Ed25519Signature | MultisigSignature | PasskeySignature | Secp256K1Signature | Secp256R1Signature | ZkLoginSignature;
4310
+
4311
+ /** The result of simulating a transaction, including the predicted effects. */
4161
4312
  export type SimulationResult = {
4162
4313
  __typename?: 'SimulationResult';
4163
- /**
4164
- * The predicted effects of the transaction if it were executed.
4165
- *
4166
- * `None` if the simulation failed due to an error.
4167
- */
4314
+ /** The predicted effects of the transaction if it were executed. */
4168
4315
  effects?: Maybe<TransactionEffects>;
4169
- /**
4170
- * Error message if the simulation failed.
4171
- *
4172
- * `None` if the simulation was successful.
4173
- */
4174
- error?: Maybe<Scalars['String']['output']>;
4175
4316
  /** The intermediate outputs for each command of the transaction simulation, including contents of mutated references and return values. */
4176
4317
  outputs?: Maybe<Array<CommandResult>>;
4177
4318
  };
@@ -4469,6 +4610,8 @@ export type UpgradeCommand = {
4469
4610
 
4470
4611
  export type UserSignature = {
4471
4612
  __typename?: 'UserSignature';
4613
+ /** The structured signature details, parsed by scheme. */
4614
+ scheme?: Maybe<SignatureScheme>;
4472
4615
  /**
4473
4616
  * The signature bytes, Base64-encoded.
4474
4617
  * For simple signatures: flag || signature || pubkey
@@ -4573,6 +4716,28 @@ export type WriteAccumulatorStorageCostTransaction = {
4573
4716
  _?: Maybe<Scalars['Boolean']['output']>;
4574
4717
  };
4575
4718
 
4719
+ /** A Base64-encoded claim from the JWT used in zkLogin. */
4720
+ export type ZkLoginClaim = {
4721
+ __typename?: 'ZkLoginClaim';
4722
+ /** The index mod 4 used for Base64 decoding alignment. */
4723
+ indexMod4?: Maybe<Scalars['Int']['output']>;
4724
+ /** The Base64url-unpadded encoded claim value. */
4725
+ value?: Maybe<Scalars['String']['output']>;
4726
+ };
4727
+
4728
+ /** The zkLogin inputs including proof, claim details, and JWT header. */
4729
+ export type ZkLoginInputs = {
4730
+ __typename?: 'ZkLoginInputs';
4731
+ /** The address seed as a base10-encoded string. */
4732
+ addressSeed?: Maybe<Scalars['String']['output']>;
4733
+ /** The Base64-encoded JWT header. */
4734
+ headerBase64?: Maybe<Scalars['String']['output']>;
4735
+ /** The Base64-encoded issuer claim details. */
4736
+ issBase64Details?: Maybe<ZkLoginClaim>;
4737
+ /** The zero-knowledge proof points. */
4738
+ proofPoints?: Maybe<ZkLoginProof>;
4739
+ };
4740
+
4576
4741
  /** An enum that specifies the intent scope to be used to parse the bytes for signature verification. */
4577
4742
  export enum ZkLoginIntentScope {
4578
4743
  /** Indicates that the bytes are to be parsed as a personal message. */
@@ -4581,12 +4746,53 @@ export enum ZkLoginIntentScope {
4581
4746
  TransactionData = 'TRANSACTION_DATA'
4582
4747
  }
4583
4748
 
4749
+ /** A JWK (JSON Web Key) identifier. */
4750
+ export type ZkLoginJwkId = {
4751
+ __typename?: 'ZkLoginJwkId';
4752
+ /** The OIDC provider issuer string. */
4753
+ iss?: Maybe<Scalars['String']['output']>;
4754
+ /** The key ID that identifies the JWK. */
4755
+ kid?: Maybe<Scalars['String']['output']>;
4756
+ };
4757
+
4758
+ /** The zero-knowledge proof consisting of three elliptic curve points. */
4759
+ export type ZkLoginProof = {
4760
+ __typename?: 'ZkLoginProof';
4761
+ /** G1 point 'a'. */
4762
+ a?: Maybe<CircomG1>;
4763
+ /** G2 point 'b'. */
4764
+ b?: Maybe<CircomG2>;
4765
+ /** G1 point 'c'. */
4766
+ c?: Maybe<CircomG1>;
4767
+ };
4768
+
4769
+ /** A zkLogin public identifier, containing the OAuth issuer and address seed. */
4770
+ export type ZkLoginPublicIdentifier = {
4771
+ __typename?: 'ZkLoginPublicIdentifier';
4772
+ /** The address seed as a decimal string. */
4773
+ addressSeed?: Maybe<Scalars['String']['output']>;
4774
+ /** The OAuth provider issuer string (e.g. "https://accounts.google.com"). */
4775
+ iss?: Maybe<Scalars['String']['output']>;
4776
+ };
4777
+
4778
+ export type ZkLoginSignature = {
4779
+ __typename?: 'ZkLoginSignature';
4780
+ /** The zkLogin inputs including proof, claim details, and JWT header. */
4781
+ inputs?: Maybe<ZkLoginInputs>;
4782
+ /** The JWK identifier used to verify the zkLogin proof. */
4783
+ jwkId?: Maybe<ZkLoginJwkId>;
4784
+ /** The maximum epoch for which this signature is valid. */
4785
+ maxEpoch?: Maybe<Scalars['UInt53']['output']>;
4786
+ /** The public identifier (issuer + address seed) for this zkLogin authenticator. */
4787
+ publicIdentifier?: Maybe<ZkLoginPublicIdentifier>;
4788
+ /** The inner user signature (ed25519/secp256k1/secp256r1). */
4789
+ signature?: Maybe<SignatureScheme>;
4790
+ };
4791
+
4584
4792
  /** The result of the zkLogin signature verification. */
4585
4793
  export type ZkLoginVerifyResult = {
4586
4794
  __typename?: 'ZkLoginVerifyResult';
4587
- /** The error field capture reasons why the signature could not be verified, assuming the inputs are valid and there are no internal errors. */
4588
- error?: Maybe<Scalars['String']['output']>;
4589
- /** The boolean result of the verification. If true, errors should be empty. */
4795
+ /** Whether the signature was verified successfully. */
4590
4796
  success?: Maybe<Scalars['Boolean']['output']>;
4591
4797
  };
4592
4798
 
@@ -4644,12 +4850,13 @@ export type GetDynamicFieldsQueryVariables = Exact<{
4644
4850
  parentId: Scalars['HaneulAddress']['input'];
4645
4851
  first?: InputMaybe<Scalars['Int']['input']>;
4646
4852
  cursor?: InputMaybe<Scalars['String']['input']>;
4853
+ includeValue?: InputMaybe<Scalars['Boolean']['input']>;
4647
4854
  }>;
4648
4855
 
4649
4856
 
4650
4857
  export type GetDynamicFieldsQuery = { __typename?: 'Query', address?: { __typename?: 'Address', dynamicFields?: { __typename?: 'DynamicFieldConnection', pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean, endCursor?: string | null }, nodes: Array<{ __typename?: 'DynamicField', name?: { __typename?: 'MoveValue', bcs?: string | null, type?: { __typename?: 'MoveType', repr: string } | null } | null, value?:
4651
- | { __typename: 'MoveObject', contents?: { __typename?: 'MoveValue', type?: { __typename?: 'MoveType', repr: string } | null } | null }
4652
- | { __typename: 'MoveValue', type?: { __typename?: 'MoveType', repr: string } | null }
4858
+ | { __typename: 'MoveObject', address: string, contents?: { __typename?: 'MoveValue', bcs?: string | null, type?: { __typename?: 'MoveType', repr: string } | null } | null }
4859
+ | { __typename: 'MoveValue', bcs?: string | null, type?: { __typename?: 'MoveType', repr: string } | null }
4653
4860
  | null }> } | null } | null };
4654
4861
 
4655
4862
  export type GetMoveFunctionQueryVariables = Exact<{
@@ -4661,17 +4868,22 @@ export type GetMoveFunctionQueryVariables = Exact<{
4661
4868
 
4662
4869
  export type GetMoveFunctionQuery = { __typename?: 'Query', package?: { __typename?: 'MovePackage', module?: { __typename?: 'MoveModule', function?: { __typename?: 'MoveFunction', name: string, visibility?: MoveVisibility | null, isEntry?: boolean | null, typeParameters?: Array<{ __typename?: 'MoveFunctionTypeParameter', constraints: Array<MoveAbility> }> | null, parameters?: Array<{ __typename?: 'OpenMoveType', signature: OpenMoveTypeSignature }> | null, return?: Array<{ __typename?: 'OpenMoveType', signature: OpenMoveTypeSignature }> | null } | null } | null } | null };
4663
4870
 
4871
+ export type GetProtocolConfigQueryVariables = Exact<{ [key: string]: never; }>;
4872
+
4873
+
4874
+ export type GetProtocolConfigQuery = { __typename?: 'Query', epoch?: { __typename?: 'Epoch', protocolConfigs?: { __typename?: 'ProtocolConfigs', protocolVersion: number, featureFlags: Array<{ __typename?: 'FeatureFlag', key: string, value: boolean }>, configs: Array<{ __typename?: 'ProtocolConfig', key: string, value?: string | null }> } | null } | null };
4875
+
4664
4876
  export type GetReferenceGasPriceQueryVariables = Exact<{ [key: string]: never; }>;
4665
4877
 
4666
4878
 
4667
4879
  export type GetReferenceGasPriceQuery = { __typename?: 'Query', epoch?: { __typename?: 'Epoch', referenceGasPrice?: string | null } | null };
4668
4880
 
4669
- export type DefaultSuinsNameQueryVariables = Exact<{
4881
+ export type DefaultHaneulnsNameQueryVariables = Exact<{
4670
4882
  address: Scalars['HaneulAddress']['input'];
4671
4883
  }>;
4672
4884
 
4673
4885
 
4674
- export type DefaultSuinsNameQuery = { __typename?: 'Query', address?: { __typename?: 'Address', defaultNameRecord?: { __typename?: 'NameRecord', domain: string } | null } | null };
4886
+ export type DefaultHaneulnsNameQuery = { __typename?: 'Query', address?: { __typename?: 'Address', defaultNameRecord?: { __typename?: 'NameRecord', domain: string } | null } | null };
4675
4887
 
4676
4888
  export type GetOwnedObjectsQueryVariables = Exact<{
4677
4889
  owner: Scalars['HaneulAddress']['input'];
@@ -4682,10 +4894,11 @@ export type GetOwnedObjectsQueryVariables = Exact<{
4682
4894
  includePreviousTransaction?: InputMaybe<Scalars['Boolean']['input']>;
4683
4895
  includeObjectBcs?: InputMaybe<Scalars['Boolean']['input']>;
4684
4896
  includeJson?: InputMaybe<Scalars['Boolean']['input']>;
4897
+ includeDisplay?: InputMaybe<Scalars['Boolean']['input']>;
4685
4898
  }>;
4686
4899
 
4687
4900
 
4688
- export type GetOwnedObjectsQuery = { __typename?: 'Query', address?: { __typename?: 'Address', objects?: { __typename?: 'MoveObjectConnection', pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean, endCursor?: string | null }, nodes: Array<{ __typename?: 'MoveObject', address: string, digest?: string | null, version?: number | null, objectBcs?: string | null, contents?: { __typename?: 'MoveValue', bcs?: string | null, json?: unknown | null, type?: { __typename?: 'MoveType', repr: string } | null } | null, owner?:
4901
+ export type GetOwnedObjectsQuery = { __typename?: 'Query', address?: { __typename?: 'Address', objects?: { __typename?: 'MoveObjectConnection', pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean, endCursor?: string | null }, nodes: Array<{ __typename?: 'MoveObject', address: string, digest?: string | null, version?: number | null, objectBcs?: string | null, contents?: { __typename?: 'MoveValue', bcs?: string | null, json?: unknown | null, display?: { __typename?: 'Display', output?: unknown | null, errors?: unknown | null } | null, type?: { __typename?: 'MoveType', repr: string } | null } | null, owner?:
4689
4902
  | { __typename: 'AddressOwner', address?: { __typename?: 'Address', address: string } | null }
4690
4903
  | { __typename: 'ConsensusAddressOwner', startVersion?: number | null, address?: { __typename?: 'Address', address: string } | null }
4691
4904
  | { __typename: 'Immutable' }
@@ -4699,10 +4912,11 @@ export type MultiGetObjectsQueryVariables = Exact<{
4699
4912
  includePreviousTransaction?: InputMaybe<Scalars['Boolean']['input']>;
4700
4913
  includeObjectBcs?: InputMaybe<Scalars['Boolean']['input']>;
4701
4914
  includeJson?: InputMaybe<Scalars['Boolean']['input']>;
4915
+ includeDisplay?: InputMaybe<Scalars['Boolean']['input']>;
4702
4916
  }>;
4703
4917
 
4704
4918
 
4705
- export type MultiGetObjectsQuery = { __typename?: 'Query', multiGetObjects: Array<{ __typename?: 'Object', address: string, digest?: string | null, version?: number | null, objectBcs?: string | null, asMoveObject?: { __typename?: 'MoveObject', contents?: { __typename?: 'MoveValue', bcs?: string | null, json?: unknown | null, type?: { __typename?: 'MoveType', repr: string } | null } | null } | null, asMovePackage?: { __typename: 'MovePackage' } | null, owner?:
4919
+ export type MultiGetObjectsQuery = { __typename?: 'Query', multiGetObjects: Array<{ __typename?: 'Object', address: string, digest?: string | null, version?: number | null, objectBcs?: string | null, asMoveObject?: { __typename?: 'MoveObject', contents?: { __typename?: 'MoveValue', bcs?: string | null, json?: unknown | null, display?: { __typename?: 'Display', output?: unknown | null, errors?: unknown | null } | null, type?: { __typename?: 'MoveType', repr: string } | null } | null } | null, asMovePackage?: { __typename: 'MovePackage' } | null, owner?:
4706
4920
  | { __typename: 'AddressOwner', address?: { __typename?: 'Address', address: string } | null }
4707
4921
  | { __typename: 'ConsensusAddressOwner', startVersion?: number | null, address?: { __typename?: 'Address', address: string } | null }
4708
4922
  | { __typename: 'Immutable' }
@@ -4710,7 +4924,7 @@ export type MultiGetObjectsQuery = { __typename?: 'Query', multiGetObjects: Arra
4710
4924
  | { __typename: 'Shared', initialSharedVersion?: number | null }
4711
4925
  | null, previousTransaction?: { __typename?: 'Transaction', digest: string } | null } | null> };
4712
4926
 
4713
- export type Object_FieldsFragment = { __typename?: 'Object', address: string, digest?: string | null, version?: number | null, objectBcs?: string | null, asMoveObject?: { __typename?: 'MoveObject', contents?: { __typename?: 'MoveValue', bcs?: string | null, json?: unknown | null, type?: { __typename?: 'MoveType', repr: string } | null } | null } | null, asMovePackage?: { __typename: 'MovePackage' } | null, owner?:
4927
+ export type Object_FieldsFragment = { __typename?: 'Object', address: string, digest?: string | null, version?: number | null, objectBcs?: string | null, asMoveObject?: { __typename?: 'MoveObject', contents?: { __typename?: 'MoveValue', bcs?: string | null, json?: unknown | null, display?: { __typename?: 'Display', output?: unknown | null, errors?: unknown | null } | null, type?: { __typename?: 'MoveType', repr: string } | null } | null } | null, asMovePackage?: { __typename: 'MovePackage' } | null, owner?:
4714
4928
  | { __typename: 'AddressOwner', address?: { __typename?: 'Address', address: string } | null }
4715
4929
  | { __typename: 'ConsensusAddressOwner', startVersion?: number | null, address?: { __typename?: 'Address', address: string } | null }
4716
4930
  | { __typename: 'Immutable' }
@@ -4718,7 +4932,7 @@ export type Object_FieldsFragment = { __typename?: 'Object', address: string, di
4718
4932
  | { __typename: 'Shared', initialSharedVersion?: number | null }
4719
4933
  | null, previousTransaction?: { __typename?: 'Transaction', digest: string } | null };
4720
4934
 
4721
- export type Move_Object_FieldsFragment = { __typename?: 'MoveObject', address: string, digest?: string | null, version?: number | null, objectBcs?: string | null, contents?: { __typename?: 'MoveValue', bcs?: string | null, json?: unknown | null, type?: { __typename?: 'MoveType', repr: string } | null } | null, owner?:
4935
+ export type Move_Object_FieldsFragment = { __typename?: 'MoveObject', address: string, digest?: string | null, version?: number | null, objectBcs?: string | null, contents?: { __typename?: 'MoveValue', bcs?: string | null, json?: unknown | null, display?: { __typename?: 'Display', output?: unknown | null, errors?: unknown | null } | null, type?: { __typename?: 'MoveType', repr: string } | null } | null, owner?:
4722
4936
  | { __typename: 'AddressOwner', address?: { __typename?: 'Address', address: string } | null }
4723
4937
  | { __typename: 'ConsensusAddressOwner', startVersion?: number | null, address?: { __typename?: 'Address', address: string } | null }
4724
4938
  | { __typename: 'Immutable' }
@@ -4758,7 +4972,7 @@ export type SimulateTransactionQueryVariables = Exact<{
4758
4972
  }>;
4759
4973
 
4760
4974
 
4761
- export type SimulateTransactionQuery = { __typename?: 'Query', simulateTransaction: { __typename?: 'SimulationResult', error?: string | null, effects?: { __typename?: 'TransactionEffects', transaction?: { __typename?: 'Transaction', digest: string, transactionJson?: unknown | null, transactionBcs?: string | null, signatures: Array<{ __typename?: 'UserSignature', signatureBytes?: string | null }>, effects?: { __typename?: 'TransactionEffects', status?: ExecutionStatus | null, effectsBcs?: string | null, effectsJson?: unknown | null, balanceChangesJson?: unknown | null, executionError?: { __typename?: 'ExecutionError', message: string, abortCode?: string | null, identifier?: string | null, constant?: string | null, sourceLineNumber?: number | null, instructionOffset?: number | null, module?: { __typename?: 'MoveModule', name: string, package?: { __typename?: 'MovePackage', address: string } | null } | null, function?: { __typename?: 'MoveFunction', name: string } | null } | null, epoch?: { __typename?: 'Epoch', epochId: number } | null, objectChanges?: { __typename?: 'ObjectChangeConnection', nodes: Array<{ __typename?: 'ObjectChange', address: string, outputState?: { __typename?: 'Object', asMoveObject?: { __typename?: 'MoveObject', contents?: { __typename?: 'MoveValue', type?: { __typename?: 'MoveType', repr: string } | null } | null } | null } | null }> } | null, events?: { __typename?: 'EventConnection', pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean }, nodes: Array<{ __typename?: 'Event', transactionModule?: { __typename?: 'MoveModule', name: string, package?: { __typename?: 'MovePackage', address: string } | null } | null, sender?: { __typename?: 'Address', address: string } | null, contents?: { __typename?: 'MoveValue', bcs?: string | null, type?: { __typename?: 'MoveType', repr: string } | null } | null }> } | null } | null } | null } | null, outputs?: Array<{ __typename?: 'CommandResult', returnValues?: Array<{ __typename?: 'CommandOutput', value?: { __typename?: 'MoveValue', bcs?: string | null } | null }> | null, mutatedReferences?: Array<{ __typename?: 'CommandOutput', value?: { __typename?: 'MoveValue', bcs?: string | null } | null }> | null }> | null } };
4975
+ export type SimulateTransactionQuery = { __typename?: 'Query', simulateTransaction: { __typename?: 'SimulationResult', effects?: { __typename?: 'TransactionEffects', transaction?: { __typename?: 'Transaction', digest: string, transactionJson?: unknown | null, transactionBcs?: string | null, signatures: Array<{ __typename?: 'UserSignature', signatureBytes?: string | null }>, effects?: { __typename?: 'TransactionEffects', status?: ExecutionStatus | null, effectsBcs?: string | null, effectsJson?: unknown | null, balanceChangesJson?: unknown | null, executionError?: { __typename?: 'ExecutionError', message: string, abortCode?: string | null, identifier?: string | null, constant?: string | null, sourceLineNumber?: number | null, instructionOffset?: number | null, module?: { __typename?: 'MoveModule', name: string, package?: { __typename?: 'MovePackage', address: string } | null } | null, function?: { __typename?: 'MoveFunction', name: string } | null } | null, epoch?: { __typename?: 'Epoch', epochId: number } | null, objectChanges?: { __typename?: 'ObjectChangeConnection', nodes: Array<{ __typename?: 'ObjectChange', address: string, outputState?: { __typename?: 'Object', asMoveObject?: { __typename?: 'MoveObject', contents?: { __typename?: 'MoveValue', type?: { __typename?: 'MoveType', repr: string } | null } | null } | null } | null }> } | null, events?: { __typename?: 'EventConnection', pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean }, nodes: Array<{ __typename?: 'Event', transactionModule?: { __typename?: 'MoveModule', name: string, package?: { __typename?: 'MovePackage', address: string } | null } | null, sender?: { __typename?: 'Address', address: string } | null, contents?: { __typename?: 'MoveValue', bcs?: string | null, json?: unknown | null, type?: { __typename?: 'MoveType', repr: string } | null } | null }> } | null } | null } | null } | null, outputs?: Array<{ __typename?: 'CommandResult', returnValues?: Array<{ __typename?: 'CommandOutput', value?: { __typename?: 'MoveValue', bcs?: string | null } | null }> | null, mutatedReferences?: Array<{ __typename?: 'CommandOutput', value?: { __typename?: 'MoveValue', bcs?: string | null } | null }> | null }> | null } };
4762
4976
 
4763
4977
  export type ExecuteTransactionMutationVariables = Exact<{
4764
4978
  transactionDataBcs: Scalars['Base64']['input'];
@@ -4772,7 +4986,7 @@ export type ExecuteTransactionMutationVariables = Exact<{
4772
4986
  }>;
4773
4987
 
4774
4988
 
4775
- export type ExecuteTransactionMutation = { __typename?: 'Mutation', executeTransaction: { __typename?: 'ExecutionResult', errors?: Array<string> | null, effects?: { __typename?: 'TransactionEffects', transaction?: { __typename?: 'Transaction', digest: string, transactionJson?: unknown | null, transactionBcs?: string | null, signatures: Array<{ __typename?: 'UserSignature', signatureBytes?: string | null }>, effects?: { __typename?: 'TransactionEffects', status?: ExecutionStatus | null, effectsBcs?: string | null, effectsJson?: unknown | null, balanceChangesJson?: unknown | null, executionError?: { __typename?: 'ExecutionError', message: string, abortCode?: string | null, identifier?: string | null, constant?: string | null, sourceLineNumber?: number | null, instructionOffset?: number | null, module?: { __typename?: 'MoveModule', name: string, package?: { __typename?: 'MovePackage', address: string } | null } | null, function?: { __typename?: 'MoveFunction', name: string } | null } | null, epoch?: { __typename?: 'Epoch', epochId: number } | null, objectChanges?: { __typename?: 'ObjectChangeConnection', nodes: Array<{ __typename?: 'ObjectChange', address: string, outputState?: { __typename?: 'Object', asMoveObject?: { __typename?: 'MoveObject', contents?: { __typename?: 'MoveValue', type?: { __typename?: 'MoveType', repr: string } | null } | null } | null } | null }> } | null, events?: { __typename?: 'EventConnection', pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean }, nodes: Array<{ __typename?: 'Event', transactionModule?: { __typename?: 'MoveModule', name: string, package?: { __typename?: 'MovePackage', address: string } | null } | null, sender?: { __typename?: 'Address', address: string } | null, contents?: { __typename?: 'MoveValue', bcs?: string | null, type?: { __typename?: 'MoveType', repr: string } | null } | null }> } | null } | null } | null } | null } };
4989
+ export type ExecuteTransactionMutation = { __typename?: 'Mutation', executeTransaction: { __typename?: 'ExecutionResult', effects?: { __typename?: 'TransactionEffects', transaction?: { __typename?: 'Transaction', digest: string, transactionJson?: unknown | null, transactionBcs?: string | null, signatures: Array<{ __typename?: 'UserSignature', signatureBytes?: string | null }>, effects?: { __typename?: 'TransactionEffects', status?: ExecutionStatus | null, effectsBcs?: string | null, effectsJson?: unknown | null, balanceChangesJson?: unknown | null, executionError?: { __typename?: 'ExecutionError', message: string, abortCode?: string | null, identifier?: string | null, constant?: string | null, sourceLineNumber?: number | null, instructionOffset?: number | null, module?: { __typename?: 'MoveModule', name: string, package?: { __typename?: 'MovePackage', address: string } | null } | null, function?: { __typename?: 'MoveFunction', name: string } | null } | null, epoch?: { __typename?: 'Epoch', epochId: number } | null, objectChanges?: { __typename?: 'ObjectChangeConnection', nodes: Array<{ __typename?: 'ObjectChange', address: string, outputState?: { __typename?: 'Object', asMoveObject?: { __typename?: 'MoveObject', contents?: { __typename?: 'MoveValue', type?: { __typename?: 'MoveType', repr: string } | null } | null } | null } | null }> } | null, events?: { __typename?: 'EventConnection', pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean }, nodes: Array<{ __typename?: 'Event', transactionModule?: { __typename?: 'MoveModule', name: string, package?: { __typename?: 'MovePackage', address: string } | null } | null, sender?: { __typename?: 'Address', address: string } | null, contents?: { __typename?: 'MoveValue', bcs?: string | null, json?: unknown | null, type?: { __typename?: 'MoveType', repr: string } | null } | null }> } | null } | null } | null } | null } };
4776
4990
 
4777
4991
  export type GetTransactionBlockQueryVariables = Exact<{
4778
4992
  digest: Scalars['String']['input'];
@@ -4785,9 +4999,9 @@ export type GetTransactionBlockQueryVariables = Exact<{
4785
4999
  }>;
4786
5000
 
4787
5001
 
4788
- export type GetTransactionBlockQuery = { __typename?: 'Query', transaction?: { __typename?: 'Transaction', digest: string, transactionJson?: unknown | null, transactionBcs?: string | null, signatures: Array<{ __typename?: 'UserSignature', signatureBytes?: string | null }>, effects?: { __typename?: 'TransactionEffects', status?: ExecutionStatus | null, effectsBcs?: string | null, effectsJson?: unknown | null, balanceChangesJson?: unknown | null, executionError?: { __typename?: 'ExecutionError', message: string, abortCode?: string | null, identifier?: string | null, constant?: string | null, sourceLineNumber?: number | null, instructionOffset?: number | null, module?: { __typename?: 'MoveModule', name: string, package?: { __typename?: 'MovePackage', address: string } | null } | null, function?: { __typename?: 'MoveFunction', name: string } | null } | null, epoch?: { __typename?: 'Epoch', epochId: number } | null, objectChanges?: { __typename?: 'ObjectChangeConnection', nodes: Array<{ __typename?: 'ObjectChange', address: string, outputState?: { __typename?: 'Object', asMoveObject?: { __typename?: 'MoveObject', contents?: { __typename?: 'MoveValue', type?: { __typename?: 'MoveType', repr: string } | null } | null } | null } | null }> } | null, events?: { __typename?: 'EventConnection', pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean }, nodes: Array<{ __typename?: 'Event', transactionModule?: { __typename?: 'MoveModule', name: string, package?: { __typename?: 'MovePackage', address: string } | null } | null, sender?: { __typename?: 'Address', address: string } | null, contents?: { __typename?: 'MoveValue', bcs?: string | null, type?: { __typename?: 'MoveType', repr: string } | null } | null }> } | null } | null } | null };
5002
+ export type GetTransactionBlockQuery = { __typename?: 'Query', transaction?: { __typename?: 'Transaction', digest: string, transactionJson?: unknown | null, transactionBcs?: string | null, signatures: Array<{ __typename?: 'UserSignature', signatureBytes?: string | null }>, effects?: { __typename?: 'TransactionEffects', status?: ExecutionStatus | null, effectsBcs?: string | null, effectsJson?: unknown | null, balanceChangesJson?: unknown | null, executionError?: { __typename?: 'ExecutionError', message: string, abortCode?: string | null, identifier?: string | null, constant?: string | null, sourceLineNumber?: number | null, instructionOffset?: number | null, module?: { __typename?: 'MoveModule', name: string, package?: { __typename?: 'MovePackage', address: string } | null } | null, function?: { __typename?: 'MoveFunction', name: string } | null } | null, epoch?: { __typename?: 'Epoch', epochId: number } | null, objectChanges?: { __typename?: 'ObjectChangeConnection', nodes: Array<{ __typename?: 'ObjectChange', address: string, outputState?: { __typename?: 'Object', asMoveObject?: { __typename?: 'MoveObject', contents?: { __typename?: 'MoveValue', type?: { __typename?: 'MoveType', repr: string } | null } | null } | null } | null }> } | null, events?: { __typename?: 'EventConnection', pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean }, nodes: Array<{ __typename?: 'Event', transactionModule?: { __typename?: 'MoveModule', name: string, package?: { __typename?: 'MovePackage', address: string } | null } | null, sender?: { __typename?: 'Address', address: string } | null, contents?: { __typename?: 'MoveValue', bcs?: string | null, json?: unknown | null, type?: { __typename?: 'MoveType', repr: string } | null } | null }> } | null } | null } | null };
4789
5003
 
4790
- export type Transaction_FieldsFragment = { __typename?: 'Transaction', digest: string, transactionJson?: unknown | null, transactionBcs?: string | null, signatures: Array<{ __typename?: 'UserSignature', signatureBytes?: string | null }>, effects?: { __typename?: 'TransactionEffects', status?: ExecutionStatus | null, effectsBcs?: string | null, effectsJson?: unknown | null, balanceChangesJson?: unknown | null, executionError?: { __typename?: 'ExecutionError', message: string, abortCode?: string | null, identifier?: string | null, constant?: string | null, sourceLineNumber?: number | null, instructionOffset?: number | null, module?: { __typename?: 'MoveModule', name: string, package?: { __typename?: 'MovePackage', address: string } | null } | null, function?: { __typename?: 'MoveFunction', name: string } | null } | null, epoch?: { __typename?: 'Epoch', epochId: number } | null, objectChanges?: { __typename?: 'ObjectChangeConnection', nodes: Array<{ __typename?: 'ObjectChange', address: string, outputState?: { __typename?: 'Object', asMoveObject?: { __typename?: 'MoveObject', contents?: { __typename?: 'MoveValue', type?: { __typename?: 'MoveType', repr: string } | null } | null } | null } | null }> } | null, events?: { __typename?: 'EventConnection', pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean }, nodes: Array<{ __typename?: 'Event', transactionModule?: { __typename?: 'MoveModule', name: string, package?: { __typename?: 'MovePackage', address: string } | null } | null, sender?: { __typename?: 'Address', address: string } | null, contents?: { __typename?: 'MoveValue', bcs?: string | null, type?: { __typename?: 'MoveType', repr: string } | null } | null }> } | null } | null };
5004
+ export type Transaction_FieldsFragment = { __typename?: 'Transaction', digest: string, transactionJson?: unknown | null, transactionBcs?: string | null, signatures: Array<{ __typename?: 'UserSignature', signatureBytes?: string | null }>, effects?: { __typename?: 'TransactionEffects', status?: ExecutionStatus | null, effectsBcs?: string | null, effectsJson?: unknown | null, balanceChangesJson?: unknown | null, executionError?: { __typename?: 'ExecutionError', message: string, abortCode?: string | null, identifier?: string | null, constant?: string | null, sourceLineNumber?: number | null, instructionOffset?: number | null, module?: { __typename?: 'MoveModule', name: string, package?: { __typename?: 'MovePackage', address: string } | null } | null, function?: { __typename?: 'MoveFunction', name: string } | null } | null, epoch?: { __typename?: 'Epoch', epochId: number } | null, objectChanges?: { __typename?: 'ObjectChangeConnection', nodes: Array<{ __typename?: 'ObjectChange', address: string, outputState?: { __typename?: 'Object', asMoveObject?: { __typename?: 'MoveObject', contents?: { __typename?: 'MoveValue', type?: { __typename?: 'MoveType', repr: string } | null } | null } | null } | null }> } | null, events?: { __typename?: 'EventConnection', pageInfo: { __typename?: 'PageInfo', hasNextPage: boolean }, nodes: Array<{ __typename?: 'Event', transactionModule?: { __typename?: 'MoveModule', name: string, package?: { __typename?: 'MovePackage', address: string } | null } | null, sender?: { __typename?: 'Address', address: string } | null, contents?: { __typename?: 'MoveValue', bcs?: string | null, json?: unknown | null, type?: { __typename?: 'MoveType', repr: string } | null } | null }> } | null } | null };
4791
5005
 
4792
5006
  export type ResolveTransactionQueryVariables = Exact<{
4793
5007
  transaction: Scalars['JSON']['input'];
@@ -4795,7 +5009,7 @@ export type ResolveTransactionQueryVariables = Exact<{
4795
5009
  }>;
4796
5010
 
4797
5011
 
4798
- export type ResolveTransactionQuery = { __typename?: 'Query', simulateTransaction: { __typename?: 'SimulationResult', error?: string | null, effects?: { __typename?: 'TransactionEffects', transaction?: { __typename?: 'Transaction', transactionBcs?: string | null, effects?: { __typename?: 'TransactionEffects', status?: ExecutionStatus | null, executionError?: { __typename?: 'ExecutionError', message: string, abortCode?: string | null, identifier?: string | null, constant?: string | null, sourceLineNumber?: number | null, instructionOffset?: number | null, module?: { __typename?: 'MoveModule', name: string, package?: { __typename?: 'MovePackage', address: string } | null } | null, function?: { __typename?: 'MoveFunction', name: string } | null } | null } | null } | null } | null } };
5012
+ export type ResolveTransactionQuery = { __typename?: 'Query', simulateTransaction: { __typename?: 'SimulationResult', effects?: { __typename?: 'TransactionEffects', transaction?: { __typename?: 'Transaction', transactionBcs?: string | null, effects?: { __typename?: 'TransactionEffects', status?: ExecutionStatus | null, executionError?: { __typename?: 'ExecutionError', message: string, abortCode?: string | null, identifier?: string | null, constant?: string | null, sourceLineNumber?: number | null, instructionOffset?: number | null, module?: { __typename?: 'MoveModule', name: string, package?: { __typename?: 'MovePackage', address: string } | null } | null, function?: { __typename?: 'MoveFunction', name: string } | null } | null } | null } | null } | null } };
4799
5013
 
4800
5014
  export type VerifyZkLoginSignatureQueryVariables = Exact<{
4801
5015
  bytes: Scalars['Base64']['input'];
@@ -4805,7 +5019,7 @@ export type VerifyZkLoginSignatureQueryVariables = Exact<{
4805
5019
  }>;
4806
5020
 
4807
5021
 
4808
- export type VerifyZkLoginSignatureQuery = { __typename?: 'Query', verifyZkLoginSignature: { __typename?: 'ZkLoginVerifyResult', success?: boolean | null, error?: string | null } };
5022
+ export type VerifyZkLoginSignatureQuery = { __typename?: 'Query', verifyZkLoginSignature?: { __typename?: 'ZkLoginVerifyResult', success?: boolean | null } | null };
4809
5023
 
4810
5024
  export class TypedDocumentString<TResult, TVariables>
4811
5025
  extends String
@@ -4859,6 +5073,10 @@ export const Object_FieldsFragmentDoc = new TypedDocumentString(`
4859
5073
  contents {
4860
5074
  bcs @include(if: $includeContent)
4861
5075
  json @include(if: $includeJson)
5076
+ display @include(if: $includeDisplay) {
5077
+ output
5078
+ errors
5079
+ }
4862
5080
  type {
4863
5081
  repr
4864
5082
  }
@@ -4905,6 +5123,10 @@ export const Move_Object_FieldsFragmentDoc = new TypedDocumentString(`
4905
5123
  contents {
4906
5124
  bcs @include(if: $includeContent)
4907
5125
  json @include(if: $includeJson)
5126
+ display @include(if: $includeDisplay) {
5127
+ output
5128
+ errors
5129
+ }
4908
5130
  type {
4909
5131
  repr
4910
5132
  }
@@ -5004,6 +5226,7 @@ export const Transaction_FieldsFragmentDoc = new TypedDocumentString(`
5004
5226
  repr
5005
5227
  }
5006
5228
  bcs
5229
+ json
5007
5230
  }
5008
5231
  }
5009
5232
  }
@@ -5125,7 +5348,7 @@ export const GetCurrentSystemStateDocument = new TypedDocumentString(`
5125
5348
  }
5126
5349
  `) as unknown as TypedDocumentString<GetCurrentSystemStateQuery, GetCurrentSystemStateQueryVariables>;
5127
5350
  export const GetDynamicFieldsDocument = new TypedDocumentString(`
5128
- query getDynamicFields($parentId: HaneulAddress!, $first: Int, $cursor: String) {
5351
+ query getDynamicFields($parentId: HaneulAddress!, $first: Int, $cursor: String, $includeValue: Boolean = false) {
5129
5352
  address(address: $parentId) {
5130
5353
  dynamicFields(first: $first, after: $cursor) {
5131
5354
  pageInfo {
@@ -5142,12 +5365,15 @@ export const GetDynamicFieldsDocument = new TypedDocumentString(`
5142
5365
  value {
5143
5366
  __typename
5144
5367
  ... on MoveValue {
5368
+ bcs @include(if: $includeValue)
5145
5369
  type {
5146
5370
  repr
5147
5371
  }
5148
5372
  }
5149
5373
  ... on MoveObject {
5374
+ address
5150
5375
  contents {
5376
+ bcs @include(if: $includeValue)
5151
5377
  type {
5152
5378
  repr
5153
5379
  }
@@ -5181,6 +5407,23 @@ export const GetMoveFunctionDocument = new TypedDocumentString(`
5181
5407
  }
5182
5408
  }
5183
5409
  `) as unknown as TypedDocumentString<GetMoveFunctionQuery, GetMoveFunctionQueryVariables>;
5410
+ export const GetProtocolConfigDocument = new TypedDocumentString(`
5411
+ query getProtocolConfig {
5412
+ epoch {
5413
+ protocolConfigs {
5414
+ protocolVersion
5415
+ featureFlags {
5416
+ key
5417
+ value
5418
+ }
5419
+ configs {
5420
+ key
5421
+ value
5422
+ }
5423
+ }
5424
+ }
5425
+ }
5426
+ `) as unknown as TypedDocumentString<GetProtocolConfigQuery, GetProtocolConfigQueryVariables>;
5184
5427
  export const GetReferenceGasPriceDocument = new TypedDocumentString(`
5185
5428
  query getReferenceGasPrice {
5186
5429
  epoch {
@@ -5188,17 +5431,17 @@ export const GetReferenceGasPriceDocument = new TypedDocumentString(`
5188
5431
  }
5189
5432
  }
5190
5433
  `) as unknown as TypedDocumentString<GetReferenceGasPriceQuery, GetReferenceGasPriceQueryVariables>;
5191
- export const DefaultSuinsNameDocument = new TypedDocumentString(`
5192
- query defaultSuinsName($address: HaneulAddress!) {
5434
+ export const DefaultHaneulnsNameDocument = new TypedDocumentString(`
5435
+ query defaultHaneulnsName($address: HaneulAddress!) {
5193
5436
  address(address: $address) {
5194
5437
  defaultNameRecord {
5195
5438
  domain
5196
5439
  }
5197
5440
  }
5198
5441
  }
5199
- `) as unknown as TypedDocumentString<DefaultSuinsNameQuery, DefaultSuinsNameQueryVariables>;
5442
+ `) as unknown as TypedDocumentString<DefaultHaneulnsNameQuery, DefaultHaneulnsNameQueryVariables>;
5200
5443
  export const GetOwnedObjectsDocument = new TypedDocumentString(`
5201
- query getOwnedObjects($owner: HaneulAddress!, $limit: Int, $cursor: String, $filter: ObjectFilter, $includeContent: Boolean = false, $includePreviousTransaction: Boolean = false, $includeObjectBcs: Boolean = false, $includeJson: Boolean = false) {
5444
+ query getOwnedObjects($owner: HaneulAddress!, $limit: Int, $cursor: String, $filter: ObjectFilter, $includeContent: Boolean = false, $includePreviousTransaction: Boolean = false, $includeObjectBcs: Boolean = false, $includeJson: Boolean = false, $includeDisplay: Boolean = false) {
5202
5445
  address(address: $owner) {
5203
5446
  objects(first: $limit, after: $cursor, filter: $filter) {
5204
5447
  pageInfo {
@@ -5219,6 +5462,10 @@ export const GetOwnedObjectsDocument = new TypedDocumentString(`
5219
5462
  contents {
5220
5463
  bcs @include(if: $includeContent)
5221
5464
  json @include(if: $includeJson)
5465
+ display @include(if: $includeDisplay) {
5466
+ output
5467
+ errors
5468
+ }
5222
5469
  type {
5223
5470
  repr
5224
5471
  }
@@ -5253,7 +5500,7 @@ fragment OBJECT_OWNER_FIELDS on Owner {
5253
5500
  }
5254
5501
  }`) as unknown as TypedDocumentString<GetOwnedObjectsQuery, GetOwnedObjectsQueryVariables>;
5255
5502
  export const MultiGetObjectsDocument = new TypedDocumentString(`
5256
- query multiGetObjects($objectKeys: [ObjectKey!]!, $includeContent: Boolean = false, $includePreviousTransaction: Boolean = false, $includeObjectBcs: Boolean = false, $includeJson: Boolean = false) {
5503
+ query multiGetObjects($objectKeys: [ObjectKey!]!, $includeContent: Boolean = false, $includePreviousTransaction: Boolean = false, $includeObjectBcs: Boolean = false, $includeJson: Boolean = false, $includeDisplay: Boolean = false) {
5257
5504
  multiGetObjects(keys: $objectKeys) {
5258
5505
  ...OBJECT_FIELDS
5259
5506
  }
@@ -5267,6 +5514,10 @@ export const MultiGetObjectsDocument = new TypedDocumentString(`
5267
5514
  contents {
5268
5515
  bcs @include(if: $includeContent)
5269
5516
  json @include(if: $includeJson)
5517
+ display @include(if: $includeDisplay) {
5518
+ output
5519
+ errors
5520
+ }
5270
5521
  type {
5271
5522
  repr
5272
5523
  }
@@ -5311,7 +5562,6 @@ export const SimulateTransactionDocument = new TypedDocumentString(`
5311
5562
  doGasSelection: $doGasSelection
5312
5563
  checksEnabled: $checksEnabled
5313
5564
  ) {
5314
- error
5315
5565
  effects {
5316
5566
  transaction {
5317
5567
  ...TRANSACTION_FIELDS
@@ -5396,6 +5646,7 @@ export const SimulateTransactionDocument = new TypedDocumentString(`
5396
5646
  repr
5397
5647
  }
5398
5648
  bcs
5649
+ json
5399
5650
  }
5400
5651
  }
5401
5652
  }
@@ -5407,7 +5658,6 @@ export const ExecuteTransactionDocument = new TypedDocumentString(`
5407
5658
  transactionDataBcs: $transactionDataBcs
5408
5659
  signatures: $signatures
5409
5660
  ) {
5410
- errors
5411
5661
  effects {
5412
5662
  transaction {
5413
5663
  ...TRANSACTION_FIELDS
@@ -5480,6 +5730,7 @@ export const ExecuteTransactionDocument = new TypedDocumentString(`
5480
5730
  repr
5481
5731
  }
5482
5732
  bcs
5733
+ json
5483
5734
  }
5484
5735
  }
5485
5736
  }
@@ -5556,6 +5807,7 @@ export const GetTransactionBlockDocument = new TypedDocumentString(`
5556
5807
  repr
5557
5808
  }
5558
5809
  bcs
5810
+ json
5559
5811
  }
5560
5812
  }
5561
5813
  }
@@ -5564,7 +5816,6 @@ export const GetTransactionBlockDocument = new TypedDocumentString(`
5564
5816
  export const ResolveTransactionDocument = new TypedDocumentString(`
5565
5817
  query resolveTransaction($transaction: JSON!, $doGasSelection: Boolean = true) {
5566
5818
  simulateTransaction(transaction: $transaction, doGasSelection: $doGasSelection) {
5567
- error
5568
5819
  effects {
5569
5820
  transaction {
5570
5821
  transactionBcs
@@ -5602,7 +5853,6 @@ export const VerifyZkLoginSignatureDocument = new TypedDocumentString(`
5602
5853
  author: $author
5603
5854
  ) {
5604
5855
  success
5605
- error
5606
5856
  }
5607
5857
  }
5608
5858
  `) as unknown as TypedDocumentString<VerifyZkLoginSignatureQuery, VerifyZkLoginSignatureQueryVariables>;