@typus/typus-perp-sdk 1.1.32-codegen-exp3 → 1.1.32-testnet-exp1

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 (249) hide show
  1. package/dist/src/_dependencies/source/0x1/ascii/structs.d.ts +88 -0
  2. package/dist/src/_dependencies/source/0x1/ascii/structs.js +398 -0
  3. package/dist/src/_dependencies/source/0x1/index.d.ts +3 -0
  4. package/dist/src/_dependencies/source/0x1/index.js +6 -0
  5. package/dist/src/_dependencies/source/0x1/option/structs.d.ts +50 -0
  6. package/dist/src/_dependencies/source/0x1/option/structs.js +271 -0
  7. package/dist/src/_dependencies/source/0x1/string/structs.d.ts +48 -0
  8. package/dist/src/_dependencies/source/0x1/string/structs.js +256 -0
  9. package/dist/src/_dependencies/source/0x1/type-name/structs.d.ts +49 -0
  10. package/dist/src/_dependencies/source/0x1/type-name/structs.js +223 -0
  11. package/dist/src/_dependencies/source/0x2/bag/structs.d.ts +54 -0
  12. package/dist/src/_dependencies/source/0x2/bag/structs.js +229 -0
  13. package/dist/src/_dependencies/source/0x2/balance/structs.d.ts +84 -0
  14. package/dist/src/_dependencies/source/0x2/balance/structs.js +386 -0
  15. package/dist/src/_dependencies/source/0x2/coin/structs.d.ts +406 -0
  16. package/dist/src/_dependencies/source/0x2/coin/structs.js +1247 -0
  17. package/dist/src/_dependencies/source/0x2/index.d.ts +3 -0
  18. package/dist/src/_dependencies/source/0x2/index.js +6 -0
  19. package/dist/src/_dependencies/source/0x2/linked-table/structs.d.ts +132 -0
  20. package/dist/src/_dependencies/source/0x2/linked-table/structs.js +438 -0
  21. package/dist/src/_dependencies/source/0x2/object/structs.d.ts +86 -0
  22. package/dist/src/_dependencies/source/0x2/object/structs.js +364 -0
  23. package/dist/src/_dependencies/source/0x2/object-table/structs.d.ts +54 -0
  24. package/dist/src/_dependencies/source/0x2/object-table/structs.js +248 -0
  25. package/dist/src/_dependencies/source/0x2/sui/structs.d.ts +44 -0
  26. package/dist/src/_dependencies/source/0x2/sui/structs.js +222 -0
  27. package/dist/src/_dependencies/source/0x2/table/structs.d.ts +54 -0
  28. package/dist/src/_dependencies/source/0x2/table/structs.js +248 -0
  29. package/dist/src/_dependencies/source/0x2/table-vec/structs.d.ts +59 -0
  30. package/dist/src/_dependencies/source/0x2/table-vec/structs.js +274 -0
  31. package/dist/src/_dependencies/source/0x2/token/structs.d.ts +421 -0
  32. package/dist/src/_dependencies/source/0x2/token/structs.js +1095 -0
  33. package/dist/src/_dependencies/source/0x2/transfer-policy/structs.d.ts +348 -0
  34. package/dist/src/_dependencies/source/0x2/transfer-policy/structs.js +1091 -0
  35. package/dist/src/_dependencies/source/0x2/url/structs.d.ts +49 -0
  36. package/dist/src/_dependencies/source/0x2/url/structs.js +223 -0
  37. package/dist/src/_dependencies/source/0x2/vec-map/structs.d.ts +106 -0
  38. package/dist/src/_dependencies/source/0x2/vec-map/structs.js +446 -0
  39. package/dist/src/_dependencies/source/0x2/vec-set/structs.d.ts +49 -0
  40. package/dist/src/_dependencies/source/0x2/vec-set/structs.js +270 -0
  41. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/airdrop/structs.d.ts +422 -0
  42. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/airdrop/structs.js +1084 -0
  43. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/big-vector/structs.d.ts +130 -0
  44. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/big-vector/structs.js +456 -0
  45. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/critbit/structs.d.ts +208 -0
  46. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/critbit/structs.js +653 -0
  47. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/ecosystem/structs.d.ts +362 -0
  48. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/ecosystem/structs.js +899 -0
  49. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/index.d.ts +8 -0
  50. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/index.js +11 -0
  51. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/init.d.ts +2 -0
  52. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/init.js +102 -0
  53. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/keyed-big-vector/structs.d.ts +202 -0
  54. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/keyed-big-vector/structs.js +632 -0
  55. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/leaderboard/structs.d.ts +600 -0
  56. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/leaderboard/structs.js +1459 -0
  57. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/linked-object-table/structs.d.ts +136 -0
  58. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/linked-object-table/structs.js +438 -0
  59. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/linked-set/structs.d.ts +127 -0
  60. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/linked-set/structs.js +430 -0
  61. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/tails-staking/structs.d.ts +957 -0
  62. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/tails-staking/structs.js +2261 -0
  63. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/tgld/structs.d.ts +244 -0
  64. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/tgld/structs.js +733 -0
  65. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/user/structs.d.ts +294 -0
  66. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/user/structs.js +892 -0
  67. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/authority/structs.d.ts +73 -0
  68. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/authority/structs.js +263 -0
  69. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/balance-pool/structs.d.ts +294 -0
  70. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/balance-pool/structs.js +591 -0
  71. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/big-vector/structs.d.ts +64 -0
  72. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/big-vector/structs.js +258 -0
  73. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/dutch/structs.d.ts +756 -0
  74. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/dutch/structs.js +1721 -0
  75. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/i64/structs.d.ts +44 -0
  76. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/i64/structs.js +222 -0
  77. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/index.d.ts +3 -0
  78. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/index.js +6 -0
  79. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/init.d.ts +2 -0
  80. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/init.js +89 -0
  81. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/linked-list/structs.d.ts +135 -0
  82. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/linked-list/structs.js +444 -0
  83. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/vault/structs.d.ts +2106 -0
  84. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/vault/structs.js +4952 -0
  85. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/discount-mint/structs.d.ts +390 -0
  86. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/discount-mint/structs.js +844 -0
  87. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/index.d.ts +6 -0
  88. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/index.js +9 -0
  89. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/init.d.ts +2 -0
  90. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/init.js +69 -0
  91. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/royalty-rule/structs.d.ts +89 -0
  92. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/royalty-rule/structs.js +376 -0
  93. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/staking/structs.d.ts +386 -0
  94. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/staking/structs.js +881 -0
  95. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/table-vec/structs.d.ts +59 -0
  96. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/table-vec/structs.js +274 -0
  97. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/typus-nft/structs.d.ts +974 -0
  98. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/typus-nft/structs.js +2387 -0
  99. package/dist/src/_framework/init-loader.d.ts +2 -0
  100. package/dist/src/{generated/typus_perp/treasury_caps.js → _framework/init-loader.js} +10 -17
  101. package/dist/src/_framework/loader.d.ts +17 -0
  102. package/dist/src/_framework/loader.js +108 -0
  103. package/dist/src/_framework/reified.d.ts +108 -0
  104. package/dist/src/_framework/reified.js +237 -0
  105. package/dist/src/_framework/util.d.ts +35 -0
  106. package/dist/src/_framework/util.js +396 -0
  107. package/dist/src/_framework/vector.d.ts +42 -0
  108. package/dist/src/_framework/vector.js +112 -0
  109. package/dist/src/api/sentio.js +538 -604
  110. package/dist/src/fetch.d.ts +36 -577
  111. package/dist/src/fetch.js +665 -367
  112. package/dist/src/index.d.ts +4 -0
  113. package/dist/src/index.js +39 -20
  114. package/dist/src/pyth.js +1 -0
  115. package/dist/src/typus_perp/admin/functions.d.ts +59 -0
  116. package/dist/src/typus_perp/admin/functions.js +122 -0
  117. package/dist/src/typus_perp/admin/structs.d.ts +467 -0
  118. package/dist/src/typus_perp/admin/structs.js +1065 -0
  119. package/dist/src/typus_perp/competition/functions.d.ts +24 -0
  120. package/dist/src/typus_perp/competition/functions.js +38 -0
  121. package/dist/src/typus_perp/competition/structs.d.ts +80 -0
  122. package/dist/src/typus_perp/competition/structs.js +288 -0
  123. package/dist/src/typus_perp/error/functions.d.ts +73 -0
  124. package/dist/src/typus_perp/error/functions.js +363 -0
  125. package/dist/src/typus_perp/escrow/functions.d.ts +17 -0
  126. package/dist/src/typus_perp/escrow/functions.js +36 -0
  127. package/dist/src/typus_perp/escrow/structs.d.ts +160 -0
  128. package/dist/src/typus_perp/escrow/structs.js +324 -0
  129. package/dist/src/typus_perp/index.d.ts +1 -0
  130. package/dist/src/typus_perp/index.js +7 -0
  131. package/dist/src/typus_perp/init.d.ts +2 -0
  132. package/dist/src/typus_perp/init.js +118 -0
  133. package/dist/src/typus_perp/lending/functions.d.ts +15 -0
  134. package/dist/src/typus_perp/lending/functions.js +22 -0
  135. package/dist/src/typus_perp/lp-pool/functions.d.ts +460 -0
  136. package/dist/src/typus_perp/lp-pool/functions.js +732 -0
  137. package/dist/src/typus_perp/lp-pool/structs.d.ts +3705 -0
  138. package/dist/src/typus_perp/lp-pool/structs.js +6789 -0
  139. package/dist/src/typus_perp/math/functions.d.ts +29 -0
  140. package/dist/src/typus_perp/math/functions.js +61 -0
  141. package/dist/src/typus_perp/position/functions.d.ts +379 -0
  142. package/dist/src/typus_perp/position/functions.js +713 -0
  143. package/dist/src/typus_perp/position/structs.d.ts +905 -0
  144. package/dist/src/typus_perp/position/structs.js +1450 -0
  145. package/dist/src/typus_perp/symbol/functions.d.ts +9 -0
  146. package/dist/src/typus_perp/symbol/functions.js +24 -0
  147. package/dist/src/typus_perp/symbol/structs.d.ts +70 -0
  148. package/dist/src/typus_perp/symbol/structs.js +235 -0
  149. package/dist/src/typus_perp/tlp/functions.d.ts +19 -0
  150. package/dist/src/typus_perp/tlp/functions.js +40 -0
  151. package/dist/src/typus_perp/tlp/structs.d.ts +89 -0
  152. package/dist/src/typus_perp/tlp/structs.js +365 -0
  153. package/dist/src/typus_perp/token-interface/functions.d.ts +11 -0
  154. package/dist/src/typus_perp/token-interface/functions.js +22 -0
  155. package/dist/src/typus_perp/trading/functions.d.ts +812 -0
  156. package/dist/src/typus_perp/trading/functions.js +1218 -0
  157. package/dist/src/typus_perp/trading/structs.d.ts +3060 -0
  158. package/dist/src/typus_perp/trading/structs.js +5813 -0
  159. package/dist/src/typus_perp/treasury-caps/functions.d.ts +9 -0
  160. package/dist/src/typus_perp/treasury-caps/functions.js +36 -0
  161. package/dist/src/typus_perp/treasury-caps/structs.d.ts +49 -0
  162. package/dist/src/typus_perp/treasury-caps/structs.js +223 -0
  163. package/dist/src/typus_perp/user-account/functions.d.ts +36 -0
  164. package/dist/src/typus_perp/user-account/functions.js +70 -0
  165. package/dist/src/typus_perp/user-account/structs.d.ts +148 -0
  166. package/dist/src/typus_perp/user-account/structs.js +448 -0
  167. package/dist/src/typus_stake_pool/admin/functions.d.ts +49 -0
  168. package/dist/src/typus_stake_pool/admin/functions.js +105 -0
  169. package/dist/src/typus_stake_pool/admin/structs.d.ts +365 -0
  170. package/dist/src/typus_stake_pool/admin/structs.js +789 -0
  171. package/dist/src/typus_stake_pool/index.d.ts +1 -0
  172. package/dist/src/typus_stake_pool/index.js +7 -0
  173. package/dist/src/typus_stake_pool/init.d.ts +2 -0
  174. package/dist/src/typus_stake_pool/init.js +69 -0
  175. package/dist/src/typus_stake_pool/stake-pool/functions.d.ts +229 -0
  176. package/dist/src/typus_stake_pool/stake-pool/functions.js +380 -0
  177. package/dist/src/typus_stake_pool/stake-pool/structs.d.ts +2199 -0
  178. package/dist/src/typus_stake_pool/stake-pool/structs.js +4653 -0
  179. package/dist/src/user/history.js +685 -614
  180. package/dist/src/user/order.d.ts +11 -16
  181. package/dist/src/user/order.js +302 -171
  182. package/dist/src/user/orderWithBidReceipt.d.ts +6 -8
  183. package/dist/src/user/orderWithBidReceipt.js +225 -127
  184. package/dist/src/user/tlp.d.ts +24 -25
  185. package/dist/src/user/tlp.js +468 -317
  186. package/package.json +3 -11
  187. package/dist/src/client.d.ts +0 -27
  188. package/dist/src/client.js +0 -108
  189. package/dist/src/generated/typus_perp/admin.d.ts +0 -117
  190. package/dist/src/generated/typus_perp/admin.js +0 -110
  191. package/dist/src/generated/typus_perp/competition.d.ts +0 -22
  192. package/dist/src/generated/typus_perp/competition.js +0 -58
  193. package/dist/src/generated/typus_perp/deps/std/type_name.d.ts +0 -17
  194. package/dist/src/generated/typus_perp/deps/std/type_name.js +0 -25
  195. package/dist/src/generated/typus_perp/deps/sui/balance.d.ts +0 -12
  196. package/dist/src/generated/typus_perp/deps/sui/balance.js +0 -20
  197. package/dist/src/generated/typus_perp/deps/sui/object.d.ts +0 -8
  198. package/dist/src/generated/typus_perp/deps/sui/object.js +0 -16
  199. package/dist/src/generated/typus_perp/deps/sui/object_table.d.ts +0 -19
  200. package/dist/src/generated/typus_perp/deps/sui/object_table.js +0 -59
  201. package/dist/src/generated/typus_perp/deps/sui/vec_set.d.ts +0 -18
  202. package/dist/src/generated/typus_perp/deps/sui/vec_set.js +0 -25
  203. package/dist/src/generated/typus_perp/deps/typus/keyed_big_vector.d.ts +0 -30
  204. package/dist/src/generated/typus_perp/deps/typus/keyed_big_vector.js +0 -67
  205. package/dist/src/generated/typus_perp/deps/typus/linked_object_table.d.ts +0 -32
  206. package/dist/src/generated/typus_perp/deps/typus/linked_object_table.js +0 -71
  207. package/dist/src/generated/typus_perp/deps/typus_framework/vault.d.ts +0 -23
  208. package/dist/src/generated/typus_perp/deps/typus_framework/vault.js +0 -61
  209. package/dist/src/generated/typus_perp/escrow.d.ts +0 -59
  210. package/dist/src/generated/typus_perp/escrow.js +0 -76
  211. package/dist/src/generated/typus_perp/lending.d.ts +0 -47
  212. package/dist/src/generated/typus_perp/lending.js +0 -50
  213. package/dist/src/generated/typus_perp/lp_pool.d.ts +0 -2327
  214. package/dist/src/generated/typus_perp/lp_pool.js +0 -1956
  215. package/dist/src/generated/typus_perp/math.d.ts +0 -95
  216. package/dist/src/generated/typus_perp/math.js +0 -97
  217. package/dist/src/generated/typus_perp/position.d.ts +0 -234
  218. package/dist/src/generated/typus_perp/position.js +0 -204
  219. package/dist/src/generated/typus_perp/symbol.d.ts +0 -18
  220. package/dist/src/generated/typus_perp/symbol.js +0 -55
  221. package/dist/src/generated/typus_perp/tlp.d.ts +0 -13
  222. package/dist/src/generated/typus_perp/tlp.js +0 -56
  223. package/dist/src/generated/typus_perp/trading.d.ts +0 -2486
  224. package/dist/src/generated/typus_perp/trading.js +0 -2476
  225. package/dist/src/generated/typus_perp/treasury_caps.d.ts +0 -13
  226. package/dist/src/generated/typus_perp/user_account.d.ts +0 -40
  227. package/dist/src/generated/typus_perp/user_account.js +0 -72
  228. package/dist/src/generated/typus_stake_pool/admin.d.ts +0 -234
  229. package/dist/src/generated/typus_stake_pool/admin.js +0 -272
  230. package/dist/src/generated/typus_stake_pool/deps/std/type_name.d.ts +0 -17
  231. package/dist/src/generated/typus_stake_pool/deps/std/type_name.js +0 -25
  232. package/dist/src/generated/typus_stake_pool/deps/sui/object.d.ts +0 -8
  233. package/dist/src/generated/typus_stake_pool/deps/sui/object.js +0 -16
  234. package/dist/src/generated/typus_stake_pool/deps/sui/vec_map.d.ts +0 -30
  235. package/dist/src/generated/typus_stake_pool/deps/sui/vec_map.js +0 -37
  236. package/dist/src/generated/typus_stake_pool/deps/sui/vec_set.d.ts +0 -18
  237. package/dist/src/generated/typus_stake_pool/deps/sui/vec_set.js +0 -25
  238. package/dist/src/generated/typus_stake_pool/stake_pool.d.ts +0 -986
  239. package/dist/src/generated/typus_stake_pool/stake_pool.js +0 -874
  240. package/dist/src/generated/utils/index.d.ts +0 -11
  241. package/dist/src/generated/utils/index.js +0 -135
  242. package/dist/src/grpc/graphql.d.ts +0 -26
  243. package/dist/src/grpc/graphql.js +0 -126
  244. package/dist/src/grpc/grpc.d.ts +0 -1
  245. package/dist/src/grpc/grpc.js +0 -38
  246. package/dist/src/grpc/ledgerService.js +0 -64
  247. package/dist/src/grpc/liveDataService.d.ts +0 -0
  248. package/dist/src/grpc/liveDataService.js +0 -49
  249. /package/dist/src/{grpc/ledgerService.d.ts → pyth.d.ts} +0 -0
@@ -0,0 +1,294 @@
1
+ import * as reified from "../../../../_framework/reified";
2
+ import { PhantomReified, Reified, StructClass, ToField, ToTypeStr, ToTypeStr as ToPhantom } from "../../../../_framework/reified";
3
+ import { FieldsWithTypes } from "../../../../_framework/util";
4
+ import { Vector } from "../../../../_framework/vector";
5
+ import { LinkedTable } from "../../0x2/linked-table/structs";
6
+ import { UID } from "../../0x2/object/structs";
7
+ import { PKG_V1, PKG_V2 } from "../index";
8
+ import { SuiClient, SuiObjectData, SuiParsedData } from "@mysten/sui/client";
9
+ export declare function isAddAccumulatedTgldAmount(type: string): boolean;
10
+ export interface AddAccumulatedTgldAmountFields {
11
+ user: ToField<"address">;
12
+ log: ToField<Vector<"u64">>;
13
+ bcsPadding: ToField<Vector<Vector<"u8">>>;
14
+ }
15
+ export type AddAccumulatedTgldAmountReified = Reified<AddAccumulatedTgldAmount, AddAccumulatedTgldAmountFields>;
16
+ export declare class AddAccumulatedTgldAmount implements StructClass {
17
+ __StructClass: true;
18
+ static readonly $typeName = "0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a::user::AddAccumulatedTgldAmount";
19
+ static readonly $numTypeParams = 0;
20
+ static readonly $isPhantom: readonly [];
21
+ readonly $typeName = "0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a::user::AddAccumulatedTgldAmount";
22
+ readonly $fullTypeName: `${typeof PKG_V1}::user::AddAccumulatedTgldAmount`;
23
+ readonly $typeArgs: [];
24
+ readonly $isPhantom: readonly [];
25
+ readonly user: ToField<"address">;
26
+ readonly log: ToField<Vector<"u64">>;
27
+ readonly bcsPadding: ToField<Vector<Vector<"u8">>>;
28
+ private constructor();
29
+ static reified(): AddAccumulatedTgldAmountReified;
30
+ static get r(): reified.StructClassReified<AddAccumulatedTgldAmount, AddAccumulatedTgldAmountFields>;
31
+ static phantom(): PhantomReified<ToTypeStr<AddAccumulatedTgldAmount>>;
32
+ static get p(): reified.PhantomReified<"0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a::user::AddAccumulatedTgldAmount">;
33
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
34
+ user: import("@mysten/sui/bcs").BcsType<string, string, string>;
35
+ log: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
36
+ length: number;
37
+ }, string>;
38
+ bcs_padding: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
39
+ length: number;
40
+ }> & {
41
+ length: number;
42
+ }, string>;
43
+ }, string>;
44
+ static fromFields(fields: Record<string, any>): AddAccumulatedTgldAmount;
45
+ static fromFieldsWithTypes(item: FieldsWithTypes): AddAccumulatedTgldAmount;
46
+ static fromBcs(data: Uint8Array): AddAccumulatedTgldAmount;
47
+ toJSONField(): {
48
+ user: string;
49
+ log: string[];
50
+ bcsPadding: number[][];
51
+ };
52
+ toJSON(): {
53
+ user: string;
54
+ log: string[];
55
+ bcsPadding: number[][];
56
+ $typeName: string;
57
+ $typeArgs: [];
58
+ };
59
+ static fromJSONField(field: any): AddAccumulatedTgldAmount;
60
+ static fromJSON(json: Record<string, any>): AddAccumulatedTgldAmount;
61
+ static fromSuiParsedData(content: SuiParsedData): AddAccumulatedTgldAmount;
62
+ static fromSuiObjectData(data: SuiObjectData): AddAccumulatedTgldAmount;
63
+ static fetch(client: SuiClient, id: string): Promise<AddAccumulatedTgldAmount>;
64
+ }
65
+ export declare function isAddTailsExpAmount(type: string): boolean;
66
+ export interface AddTailsExpAmountFields {
67
+ user: ToField<"address">;
68
+ log: ToField<Vector<"u64">>;
69
+ bcsPadding: ToField<Vector<Vector<"u8">>>;
70
+ }
71
+ export type AddTailsExpAmountReified = Reified<AddTailsExpAmount, AddTailsExpAmountFields>;
72
+ export declare class AddTailsExpAmount implements StructClass {
73
+ __StructClass: true;
74
+ static readonly $typeName = "0x19fe3a0a4a831515a6801c51fdf0800e2428777b4e29cbc8355b7939a009893::user::AddTailsExpAmount";
75
+ static readonly $numTypeParams = 0;
76
+ static readonly $isPhantom: readonly [];
77
+ readonly $typeName = "0x19fe3a0a4a831515a6801c51fdf0800e2428777b4e29cbc8355b7939a009893::user::AddTailsExpAmount";
78
+ readonly $fullTypeName: `${typeof PKG_V2}::user::AddTailsExpAmount`;
79
+ readonly $typeArgs: [];
80
+ readonly $isPhantom: readonly [];
81
+ readonly user: ToField<"address">;
82
+ readonly log: ToField<Vector<"u64">>;
83
+ readonly bcsPadding: ToField<Vector<Vector<"u8">>>;
84
+ private constructor();
85
+ static reified(): AddTailsExpAmountReified;
86
+ static get r(): reified.StructClassReified<AddTailsExpAmount, AddTailsExpAmountFields>;
87
+ static phantom(): PhantomReified<ToTypeStr<AddTailsExpAmount>>;
88
+ static get p(): reified.PhantomReified<"0x19fe3a0a4a831515a6801c51fdf0800e2428777b4e29cbc8355b7939a009893::user::AddTailsExpAmount">;
89
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
90
+ user: import("@mysten/sui/bcs").BcsType<string, string, string>;
91
+ log: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
92
+ length: number;
93
+ }, string>;
94
+ bcs_padding: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
95
+ length: number;
96
+ }> & {
97
+ length: number;
98
+ }, string>;
99
+ }, string>;
100
+ static fromFields(fields: Record<string, any>): AddTailsExpAmount;
101
+ static fromFieldsWithTypes(item: FieldsWithTypes): AddTailsExpAmount;
102
+ static fromBcs(data: Uint8Array): AddTailsExpAmount;
103
+ toJSONField(): {
104
+ user: string;
105
+ log: string[];
106
+ bcsPadding: number[][];
107
+ };
108
+ toJSON(): {
109
+ user: string;
110
+ log: string[];
111
+ bcsPadding: number[][];
112
+ $typeName: string;
113
+ $typeArgs: [];
114
+ };
115
+ static fromJSONField(field: any): AddTailsExpAmount;
116
+ static fromJSON(json: Record<string, any>): AddTailsExpAmount;
117
+ static fromSuiParsedData(content: SuiParsedData): AddTailsExpAmount;
118
+ static fromSuiObjectData(data: SuiObjectData): AddTailsExpAmount;
119
+ static fetch(client: SuiClient, id: string): Promise<AddTailsExpAmount>;
120
+ }
121
+ export declare function isMetadata(type: string): boolean;
122
+ export interface MetadataFields {
123
+ content: ToField<Vector<"u64">>;
124
+ }
125
+ export type MetadataReified = Reified<Metadata, MetadataFields>;
126
+ export declare class Metadata implements StructClass {
127
+ __StructClass: true;
128
+ static readonly $typeName = "0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a::user::Metadata";
129
+ static readonly $numTypeParams = 0;
130
+ static readonly $isPhantom: readonly [];
131
+ readonly $typeName = "0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a::user::Metadata";
132
+ readonly $fullTypeName: `${typeof PKG_V1}::user::Metadata`;
133
+ readonly $typeArgs: [];
134
+ readonly $isPhantom: readonly [];
135
+ readonly content: ToField<Vector<"u64">>;
136
+ private constructor();
137
+ static reified(): MetadataReified;
138
+ static get r(): reified.StructClassReified<Metadata, MetadataFields>;
139
+ static phantom(): PhantomReified<ToTypeStr<Metadata>>;
140
+ static get p(): reified.PhantomReified<"0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a::user::Metadata">;
141
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
142
+ content: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
143
+ length: number;
144
+ }, string>;
145
+ }, string>;
146
+ static fromFields(fields: Record<string, any>): Metadata;
147
+ static fromFieldsWithTypes(item: FieldsWithTypes): Metadata;
148
+ static fromBcs(data: Uint8Array): Metadata;
149
+ toJSONField(): {
150
+ content: string[];
151
+ };
152
+ toJSON(): {
153
+ content: string[];
154
+ $typeName: string;
155
+ $typeArgs: [];
156
+ };
157
+ static fromJSONField(field: any): Metadata;
158
+ static fromJSON(json: Record<string, any>): Metadata;
159
+ static fromSuiParsedData(content: SuiParsedData): Metadata;
160
+ static fromSuiObjectData(data: SuiObjectData): Metadata;
161
+ static fetch(client: SuiClient, id: string): Promise<Metadata>;
162
+ }
163
+ export declare function isRemoveTailsExpAmount(type: string): boolean;
164
+ export interface RemoveTailsExpAmountFields {
165
+ user: ToField<"address">;
166
+ log: ToField<Vector<"u64">>;
167
+ bcsPadding: ToField<Vector<Vector<"u8">>>;
168
+ }
169
+ export type RemoveTailsExpAmountReified = Reified<RemoveTailsExpAmount, RemoveTailsExpAmountFields>;
170
+ export declare class RemoveTailsExpAmount implements StructClass {
171
+ __StructClass: true;
172
+ static readonly $typeName = "0x19fe3a0a4a831515a6801c51fdf0800e2428777b4e29cbc8355b7939a009893::user::RemoveTailsExpAmount";
173
+ static readonly $numTypeParams = 0;
174
+ static readonly $isPhantom: readonly [];
175
+ readonly $typeName = "0x19fe3a0a4a831515a6801c51fdf0800e2428777b4e29cbc8355b7939a009893::user::RemoveTailsExpAmount";
176
+ readonly $fullTypeName: `${typeof PKG_V2}::user::RemoveTailsExpAmount`;
177
+ readonly $typeArgs: [];
178
+ readonly $isPhantom: readonly [];
179
+ readonly user: ToField<"address">;
180
+ readonly log: ToField<Vector<"u64">>;
181
+ readonly bcsPadding: ToField<Vector<Vector<"u8">>>;
182
+ private constructor();
183
+ static reified(): RemoveTailsExpAmountReified;
184
+ static get r(): reified.StructClassReified<RemoveTailsExpAmount, RemoveTailsExpAmountFields>;
185
+ static phantom(): PhantomReified<ToTypeStr<RemoveTailsExpAmount>>;
186
+ static get p(): reified.PhantomReified<"0x19fe3a0a4a831515a6801c51fdf0800e2428777b4e29cbc8355b7939a009893::user::RemoveTailsExpAmount">;
187
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
188
+ user: import("@mysten/sui/bcs").BcsType<string, string, string>;
189
+ log: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
190
+ length: number;
191
+ }, string>;
192
+ bcs_padding: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
193
+ length: number;
194
+ }> & {
195
+ length: number;
196
+ }, string>;
197
+ }, string>;
198
+ static fromFields(fields: Record<string, any>): RemoveTailsExpAmount;
199
+ static fromFieldsWithTypes(item: FieldsWithTypes): RemoveTailsExpAmount;
200
+ static fromBcs(data: Uint8Array): RemoveTailsExpAmount;
201
+ toJSONField(): {
202
+ user: string;
203
+ log: string[];
204
+ bcsPadding: number[][];
205
+ };
206
+ toJSON(): {
207
+ user: string;
208
+ log: string[];
209
+ bcsPadding: number[][];
210
+ $typeName: string;
211
+ $typeArgs: [];
212
+ };
213
+ static fromJSONField(field: any): RemoveTailsExpAmount;
214
+ static fromJSON(json: Record<string, any>): RemoveTailsExpAmount;
215
+ static fromSuiParsedData(content: SuiParsedData): RemoveTailsExpAmount;
216
+ static fromSuiObjectData(data: SuiObjectData): RemoveTailsExpAmount;
217
+ static fetch(client: SuiClient, id: string): Promise<RemoveTailsExpAmount>;
218
+ }
219
+ export declare function isTypusUserRegistry(type: string): boolean;
220
+ export interface TypusUserRegistryFields {
221
+ id: ToField<UID>;
222
+ metadata: ToField<LinkedTable<"address", ToPhantom<Metadata>>>;
223
+ }
224
+ export type TypusUserRegistryReified = Reified<TypusUserRegistry, TypusUserRegistryFields>;
225
+ export declare class TypusUserRegistry implements StructClass {
226
+ __StructClass: true;
227
+ static readonly $typeName = "0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a::user::TypusUserRegistry";
228
+ static readonly $numTypeParams = 0;
229
+ static readonly $isPhantom: readonly [];
230
+ readonly $typeName = "0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a::user::TypusUserRegistry";
231
+ readonly $fullTypeName: `${typeof PKG_V1}::user::TypusUserRegistry`;
232
+ readonly $typeArgs: [];
233
+ readonly $isPhantom: readonly [];
234
+ readonly id: ToField<UID>;
235
+ readonly metadata: ToField<LinkedTable<"address", ToPhantom<Metadata>>>;
236
+ private constructor();
237
+ static reified(): TypusUserRegistryReified;
238
+ static get r(): reified.StructClassReified<TypusUserRegistry, TypusUserRegistryFields>;
239
+ static phantom(): PhantomReified<ToTypeStr<TypusUserRegistry>>;
240
+ static get p(): reified.PhantomReified<"0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a::user::TypusUserRegistry">;
241
+ static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
242
+ id: import("@mysten/sui/bcs").BcsStruct<{
243
+ id: import("@mysten/sui/bcs").BcsStruct<{
244
+ bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
245
+ }, string>;
246
+ }, string>;
247
+ metadata: import("@mysten/sui/bcs").BcsStruct<{
248
+ id: import("@mysten/sui/bcs").BcsStruct<{
249
+ id: import("@mysten/sui/bcs").BcsStruct<{
250
+ bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
251
+ }, string>;
252
+ }, string>;
253
+ size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
254
+ head: import("@mysten/sui/bcs").BcsStruct<{
255
+ vec: import("@mysten/sui/bcs").BcsType<string[], Iterable<string> & {
256
+ length: number;
257
+ }, string>;
258
+ }, string>;
259
+ tail: import("@mysten/sui/bcs").BcsStruct<{
260
+ vec: import("@mysten/sui/bcs").BcsType<string[], Iterable<string> & {
261
+ length: number;
262
+ }, string>;
263
+ }, string>;
264
+ }, string>;
265
+ }, string>;
266
+ static fromFields(fields: Record<string, any>): TypusUserRegistry;
267
+ static fromFieldsWithTypes(item: FieldsWithTypes): TypusUserRegistry;
268
+ static fromBcs(data: Uint8Array): TypusUserRegistry;
269
+ toJSONField(): {
270
+ id: string;
271
+ metadata: {
272
+ id: string;
273
+ size: string;
274
+ head: string | null;
275
+ tail: string | null;
276
+ };
277
+ };
278
+ toJSON(): {
279
+ id: string;
280
+ metadata: {
281
+ id: string;
282
+ size: string;
283
+ head: string | null;
284
+ tail: string | null;
285
+ };
286
+ $typeName: string;
287
+ $typeArgs: [];
288
+ };
289
+ static fromJSONField(field: any): TypusUserRegistry;
290
+ static fromJSON(json: Record<string, any>): TypusUserRegistry;
291
+ static fromSuiParsedData(content: SuiParsedData): TypusUserRegistry;
292
+ static fromSuiObjectData(data: SuiObjectData): TypusUserRegistry;
293
+ static fetch(client: SuiClient, id: string): Promise<TypusUserRegistry>;
294
+ }