@typus/typus-perp-sdk 1.1.32 → 1.1.33

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 (253) hide show
  1. package/dist/src/api/sentio.d.ts +5 -5
  2. package/dist/src/api/sentio.js +690 -541
  3. package/dist/src/client.d.ts +28 -0
  4. package/dist/src/client.js +171 -0
  5. package/dist/src/fetch.d.ts +554 -36
  6. package/dist/src/fetch.js +545 -661
  7. package/dist/src/generated/typus_perp/admin.d.ts +274 -0
  8. package/dist/src/generated/typus_perp/admin.js +321 -0
  9. package/dist/src/generated/typus_perp/competition.d.ts +60 -0
  10. package/dist/src/generated/typus_perp/competition.js +104 -0
  11. package/dist/src/generated/typus_perp/deps/std/type_name.d.ts +17 -0
  12. package/dist/src/generated/typus_perp/deps/std/type_name.js +25 -0
  13. package/dist/src/generated/typus_perp/deps/sui/balance.d.ts +12 -0
  14. package/dist/src/generated/typus_perp/deps/sui/balance.js +20 -0
  15. package/dist/src/generated/typus_perp/deps/sui/object.d.ts +8 -0
  16. package/dist/src/generated/typus_perp/deps/sui/object.js +16 -0
  17. package/dist/src/generated/typus_perp/deps/sui/object_table.d.ts +19 -0
  18. package/dist/src/generated/typus_perp/deps/sui/object_table.js +59 -0
  19. package/dist/src/generated/typus_perp/deps/sui/table.d.ts +31 -0
  20. package/dist/src/generated/typus_perp/deps/sui/table.js +71 -0
  21. package/dist/src/generated/typus_perp/deps/sui/vec_set.d.ts +18 -0
  22. package/dist/src/generated/typus_perp/deps/sui/vec_set.js +25 -0
  23. package/dist/src/generated/typus_perp/deps/typus/keyed_big_vector.d.ts +30 -0
  24. package/dist/src/generated/typus_perp/deps/typus/keyed_big_vector.js +67 -0
  25. package/dist/src/generated/typus_perp/deps/typus/linked_object_table.d.ts +32 -0
  26. package/dist/src/generated/typus_perp/deps/typus/linked_object_table.js +71 -0
  27. package/dist/src/generated/typus_perp/deps/typus_framework/vault.d.ts +15 -0
  28. package/dist/src/{_framework/init-loader.js → generated/typus_perp/deps/typus_framework/vault.js} +18 -10
  29. package/dist/src/generated/typus_perp/error.d.ts +443 -0
  30. package/dist/src/generated/typus_perp/error.js +788 -0
  31. package/dist/src/generated/typus_perp/escrow.d.ts +109 -0
  32. package/dist/src/generated/typus_perp/escrow.js +139 -0
  33. package/dist/src/generated/typus_perp/lp_pool.d.ts +1853 -0
  34. package/dist/src/generated/typus_perp/lp_pool.js +1483 -0
  35. package/dist/src/generated/typus_perp/math.d.ts +95 -0
  36. package/dist/src/generated/typus_perp/math.js +97 -0
  37. package/dist/src/generated/typus_perp/position.d.ts +1251 -0
  38. package/dist/src/generated/typus_perp/position.js +1393 -0
  39. package/dist/src/generated/typus_perp/profit_vault.d.ts +272 -0
  40. package/dist/src/generated/typus_perp/profit_vault.js +321 -0
  41. package/dist/src/generated/typus_perp/symbol.d.ts +47 -0
  42. package/dist/src/generated/typus_perp/symbol.js +97 -0
  43. package/dist/src/generated/typus_perp/trading.d.ts +2134 -0
  44. package/dist/src/generated/typus_perp/trading.js +2050 -0
  45. package/dist/src/generated/typus_perp/treasury_caps.d.ts +44 -0
  46. package/dist/src/generated/typus_perp/treasury_caps.js +92 -0
  47. package/dist/src/generated/typus_perp/user_account.d.ts +146 -0
  48. package/dist/src/generated/typus_perp/user_account.js +221 -0
  49. package/dist/src/generated/typus_stake_pool/admin.d.ts +218 -0
  50. package/dist/src/generated/typus_stake_pool/admin.js +247 -0
  51. package/dist/src/generated/typus_stake_pool/deps/std/type_name.d.ts +17 -0
  52. package/dist/src/generated/typus_stake_pool/deps/std/type_name.js +25 -0
  53. package/dist/src/generated/typus_stake_pool/deps/sui/object.d.ts +8 -0
  54. package/dist/src/generated/typus_stake_pool/deps/sui/object.js +16 -0
  55. package/dist/src/generated/typus_stake_pool/deps/sui/vec_map.d.ts +30 -0
  56. package/dist/src/generated/typus_stake_pool/deps/sui/vec_map.js +37 -0
  57. package/dist/src/generated/typus_stake_pool/deps/sui/vec_set.d.ts +18 -0
  58. package/dist/src/generated/typus_stake_pool/deps/sui/vec_set.js +25 -0
  59. package/dist/src/generated/typus_stake_pool/stake_pool.d.ts +1038 -0
  60. package/dist/src/generated/typus_stake_pool/stake_pool.js +938 -0
  61. package/dist/src/generated/utils/index.d.ts +11 -0
  62. package/dist/src/generated/utils/index.js +138 -0
  63. package/dist/src/grpc/graphql.d.ts +26 -0
  64. package/dist/src/grpc/graphql.js +126 -0
  65. package/dist/src/grpc/grpc.d.ts +1 -0
  66. package/dist/src/grpc/grpc.js +38 -0
  67. package/dist/src/grpc/ledgerService.js +64 -0
  68. package/dist/src/grpc/liveDataService.d.ts +0 -0
  69. package/dist/src/grpc/liveDataService.js +49 -0
  70. package/dist/src/index.d.ts +2 -8
  71. package/dist/src/index.js +30 -56
  72. package/dist/src/user/history.d.ts +1 -1
  73. package/dist/src/user/history.js +649 -679
  74. package/dist/src/user/order.d.ts +21 -11
  75. package/dist/src/user/order.js +204 -301
  76. package/dist/src/user/orderWithBidReceipt.d.ts +17 -6
  77. package/dist/src/user/orderWithBidReceipt.js +164 -224
  78. package/dist/src/user/tlp.d.ts +25 -25
  79. package/dist/src/user/tlp.js +317 -468
  80. package/package.json +11 -2
  81. package/dist/src/_dependencies/source/0x1/ascii/structs.d.ts +0 -88
  82. package/dist/src/_dependencies/source/0x1/ascii/structs.js +0 -398
  83. package/dist/src/_dependencies/source/0x1/index.d.ts +0 -3
  84. package/dist/src/_dependencies/source/0x1/index.js +0 -6
  85. package/dist/src/_dependencies/source/0x1/option/structs.d.ts +0 -50
  86. package/dist/src/_dependencies/source/0x1/option/structs.js +0 -271
  87. package/dist/src/_dependencies/source/0x1/string/structs.d.ts +0 -48
  88. package/dist/src/_dependencies/source/0x1/string/structs.js +0 -256
  89. package/dist/src/_dependencies/source/0x1/type-name/structs.d.ts +0 -49
  90. package/dist/src/_dependencies/source/0x1/type-name/structs.js +0 -223
  91. package/dist/src/_dependencies/source/0x2/bag/structs.d.ts +0 -54
  92. package/dist/src/_dependencies/source/0x2/bag/structs.js +0 -229
  93. package/dist/src/_dependencies/source/0x2/balance/structs.d.ts +0 -84
  94. package/dist/src/_dependencies/source/0x2/balance/structs.js +0 -386
  95. package/dist/src/_dependencies/source/0x2/coin/structs.d.ts +0 -406
  96. package/dist/src/_dependencies/source/0x2/coin/structs.js +0 -1247
  97. package/dist/src/_dependencies/source/0x2/index.d.ts +0 -3
  98. package/dist/src/_dependencies/source/0x2/index.js +0 -6
  99. package/dist/src/_dependencies/source/0x2/linked-table/structs.d.ts +0 -132
  100. package/dist/src/_dependencies/source/0x2/linked-table/structs.js +0 -438
  101. package/dist/src/_dependencies/source/0x2/object/structs.d.ts +0 -86
  102. package/dist/src/_dependencies/source/0x2/object/structs.js +0 -364
  103. package/dist/src/_dependencies/source/0x2/object-table/structs.d.ts +0 -54
  104. package/dist/src/_dependencies/source/0x2/object-table/structs.js +0 -248
  105. package/dist/src/_dependencies/source/0x2/sui/structs.d.ts +0 -44
  106. package/dist/src/_dependencies/source/0x2/sui/structs.js +0 -222
  107. package/dist/src/_dependencies/source/0x2/table/structs.d.ts +0 -54
  108. package/dist/src/_dependencies/source/0x2/table/structs.js +0 -248
  109. package/dist/src/_dependencies/source/0x2/table-vec/structs.d.ts +0 -59
  110. package/dist/src/_dependencies/source/0x2/table-vec/structs.js +0 -274
  111. package/dist/src/_dependencies/source/0x2/token/structs.d.ts +0 -421
  112. package/dist/src/_dependencies/source/0x2/token/structs.js +0 -1095
  113. package/dist/src/_dependencies/source/0x2/transfer-policy/structs.d.ts +0 -348
  114. package/dist/src/_dependencies/source/0x2/transfer-policy/structs.js +0 -1091
  115. package/dist/src/_dependencies/source/0x2/url/structs.d.ts +0 -49
  116. package/dist/src/_dependencies/source/0x2/url/structs.js +0 -223
  117. package/dist/src/_dependencies/source/0x2/vec-map/structs.d.ts +0 -106
  118. package/dist/src/_dependencies/source/0x2/vec-map/structs.js +0 -446
  119. package/dist/src/_dependencies/source/0x2/vec-set/structs.d.ts +0 -49
  120. package/dist/src/_dependencies/source/0x2/vec-set/structs.js +0 -270
  121. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/airdrop/structs.d.ts +0 -422
  122. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/airdrop/structs.js +0 -1084
  123. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/big-vector/structs.d.ts +0 -130
  124. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/big-vector/structs.js +0 -456
  125. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/critbit/structs.d.ts +0 -208
  126. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/critbit/structs.js +0 -653
  127. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/ecosystem/structs.d.ts +0 -362
  128. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/ecosystem/structs.js +0 -899
  129. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/index.d.ts +0 -8
  130. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/index.js +0 -11
  131. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/init.d.ts +0 -2
  132. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/init.js +0 -102
  133. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/keyed-big-vector/structs.d.ts +0 -202
  134. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/keyed-big-vector/structs.js +0 -632
  135. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/leaderboard/structs.d.ts +0 -600
  136. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/leaderboard/structs.js +0 -1459
  137. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/linked-object-table/structs.d.ts +0 -136
  138. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/linked-object-table/structs.js +0 -438
  139. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/linked-set/structs.d.ts +0 -127
  140. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/linked-set/structs.js +0 -430
  141. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/tails-staking/structs.d.ts +0 -957
  142. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/tails-staking/structs.js +0 -2261
  143. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/tgld/structs.d.ts +0 -244
  144. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/tgld/structs.js +0 -733
  145. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/user/structs.d.ts +0 -294
  146. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/user/structs.js +0 -892
  147. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/authority/structs.d.ts +0 -73
  148. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/authority/structs.js +0 -263
  149. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/balance-pool/structs.d.ts +0 -294
  150. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/balance-pool/structs.js +0 -591
  151. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/big-vector/structs.d.ts +0 -64
  152. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/big-vector/structs.js +0 -258
  153. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/dutch/structs.d.ts +0 -756
  154. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/dutch/structs.js +0 -1721
  155. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/i64/structs.d.ts +0 -44
  156. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/i64/structs.js +0 -222
  157. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/index.d.ts +0 -3
  158. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/index.js +0 -6
  159. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/init.d.ts +0 -2
  160. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/init.js +0 -89
  161. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/linked-list/structs.d.ts +0 -135
  162. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/linked-list/structs.js +0 -444
  163. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/vault/structs.d.ts +0 -2106
  164. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/vault/structs.js +0 -4952
  165. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/discount-mint/structs.d.ts +0 -390
  166. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/discount-mint/structs.js +0 -844
  167. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/index.d.ts +0 -6
  168. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/index.js +0 -9
  169. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/init.d.ts +0 -2
  170. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/init.js +0 -69
  171. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/royalty-rule/structs.d.ts +0 -89
  172. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/royalty-rule/structs.js +0 -376
  173. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/staking/structs.d.ts +0 -386
  174. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/staking/structs.js +0 -881
  175. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/table-vec/structs.d.ts +0 -59
  176. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/table-vec/structs.js +0 -274
  177. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/typus-nft/structs.d.ts +0 -974
  178. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/typus-nft/structs.js +0 -2387
  179. package/dist/src/_framework/init-loader.d.ts +0 -2
  180. package/dist/src/_framework/loader.d.ts +0 -17
  181. package/dist/src/_framework/loader.js +0 -108
  182. package/dist/src/_framework/reified.d.ts +0 -108
  183. package/dist/src/_framework/reified.js +0 -237
  184. package/dist/src/_framework/util.d.ts +0 -35
  185. package/dist/src/_framework/util.js +0 -396
  186. package/dist/src/_framework/vector.d.ts +0 -42
  187. package/dist/src/_framework/vector.js +0 -112
  188. package/dist/src/pyth.js +0 -1
  189. package/dist/src/typus_perp/admin/functions.d.ts +0 -59
  190. package/dist/src/typus_perp/admin/functions.js +0 -122
  191. package/dist/src/typus_perp/admin/structs.d.ts +0 -467
  192. package/dist/src/typus_perp/admin/structs.js +0 -1065
  193. package/dist/src/typus_perp/competition/functions.d.ts +0 -24
  194. package/dist/src/typus_perp/competition/functions.js +0 -38
  195. package/dist/src/typus_perp/competition/structs.d.ts +0 -80
  196. package/dist/src/typus_perp/competition/structs.js +0 -288
  197. package/dist/src/typus_perp/error/functions.d.ts +0 -73
  198. package/dist/src/typus_perp/error/functions.js +0 -363
  199. package/dist/src/typus_perp/escrow/functions.d.ts +0 -17
  200. package/dist/src/typus_perp/escrow/functions.js +0 -36
  201. package/dist/src/typus_perp/escrow/structs.d.ts +0 -160
  202. package/dist/src/typus_perp/escrow/structs.js +0 -324
  203. package/dist/src/typus_perp/index.d.ts +0 -1
  204. package/dist/src/typus_perp/index.js +0 -7
  205. package/dist/src/typus_perp/init.d.ts +0 -2
  206. package/dist/src/typus_perp/init.js +0 -118
  207. package/dist/src/typus_perp/lending/functions.d.ts +0 -15
  208. package/dist/src/typus_perp/lending/functions.js +0 -22
  209. package/dist/src/typus_perp/lp-pool/functions.d.ts +0 -460
  210. package/dist/src/typus_perp/lp-pool/functions.js +0 -732
  211. package/dist/src/typus_perp/lp-pool/structs.d.ts +0 -3705
  212. package/dist/src/typus_perp/lp-pool/structs.js +0 -6789
  213. package/dist/src/typus_perp/math/functions.d.ts +0 -29
  214. package/dist/src/typus_perp/math/functions.js +0 -61
  215. package/dist/src/typus_perp/position/functions.d.ts +0 -379
  216. package/dist/src/typus_perp/position/functions.js +0 -713
  217. package/dist/src/typus_perp/position/structs.d.ts +0 -905
  218. package/dist/src/typus_perp/position/structs.js +0 -1450
  219. package/dist/src/typus_perp/symbol/functions.d.ts +0 -9
  220. package/dist/src/typus_perp/symbol/functions.js +0 -24
  221. package/dist/src/typus_perp/symbol/structs.d.ts +0 -70
  222. package/dist/src/typus_perp/symbol/structs.js +0 -235
  223. package/dist/src/typus_perp/tlp/functions.d.ts +0 -19
  224. package/dist/src/typus_perp/tlp/functions.js +0 -40
  225. package/dist/src/typus_perp/tlp/structs.d.ts +0 -89
  226. package/dist/src/typus_perp/tlp/structs.js +0 -365
  227. package/dist/src/typus_perp/token-interface/functions.d.ts +0 -11
  228. package/dist/src/typus_perp/token-interface/functions.js +0 -22
  229. package/dist/src/typus_perp/trading/functions.d.ts +0 -812
  230. package/dist/src/typus_perp/trading/functions.js +0 -1218
  231. package/dist/src/typus_perp/trading/structs.d.ts +0 -3060
  232. package/dist/src/typus_perp/trading/structs.js +0 -5813
  233. package/dist/src/typus_perp/treasury-caps/functions.d.ts +0 -9
  234. package/dist/src/typus_perp/treasury-caps/functions.js +0 -36
  235. package/dist/src/typus_perp/treasury-caps/structs.d.ts +0 -49
  236. package/dist/src/typus_perp/treasury-caps/structs.js +0 -223
  237. package/dist/src/typus_perp/user-account/functions.d.ts +0 -36
  238. package/dist/src/typus_perp/user-account/functions.js +0 -70
  239. package/dist/src/typus_perp/user-account/structs.d.ts +0 -148
  240. package/dist/src/typus_perp/user-account/structs.js +0 -448
  241. package/dist/src/typus_stake_pool/admin/functions.d.ts +0 -49
  242. package/dist/src/typus_stake_pool/admin/functions.js +0 -105
  243. package/dist/src/typus_stake_pool/admin/structs.d.ts +0 -365
  244. package/dist/src/typus_stake_pool/admin/structs.js +0 -789
  245. package/dist/src/typus_stake_pool/index.d.ts +0 -1
  246. package/dist/src/typus_stake_pool/index.js +0 -7
  247. package/dist/src/typus_stake_pool/init.d.ts +0 -2
  248. package/dist/src/typus_stake_pool/init.js +0 -69
  249. package/dist/src/typus_stake_pool/stake-pool/functions.d.ts +0 -229
  250. package/dist/src/typus_stake_pool/stake-pool/functions.js +0 -380
  251. package/dist/src/typus_stake_pool/stake-pool/structs.d.ts +0 -2199
  252. package/dist/src/typus_stake_pool/stake-pool/structs.js +0 -4653
  253. /package/dist/src/{pyth.d.ts → grpc/ledgerService.d.ts} +0 -0
@@ -1,421 +0,0 @@
1
- import { PhantomReified, PhantomToTypeStr, PhantomTypeArgument, Reified, StructClass, ToField, ToPhantomTypeArgument, ToTypeStr } from "../../../../_framework/reified";
2
- import { FieldsWithTypes } from "../../../../_framework/util";
3
- import { Option } from "../../0x1/option/structs";
4
- import { String } from "../../0x1/string/structs";
5
- import { TypeName } from "../../0x1/type-name/structs";
6
- import { Balance } from "../balance/structs";
7
- import { PKG_V26 } from "../index";
8
- import { ID, UID } from "../object/structs";
9
- import { VecMap } from "../vec-map/structs";
10
- import { VecSet } from "../vec-set/structs";
11
- import { SuiClient, SuiObjectData, SuiParsedData } from "@mysten/sui/client";
12
- export declare function isActionRequest(type: string): boolean;
13
- export interface ActionRequestFields<T extends PhantomTypeArgument> {
14
- name: ToField<String>;
15
- amount: ToField<"u64">;
16
- sender: ToField<"address">;
17
- recipient: ToField<Option<"address">>;
18
- spentBalance: ToField<Option<Balance<T>>>;
19
- approvals: ToField<VecSet<TypeName>>;
20
- }
21
- export type ActionRequestReified<T extends PhantomTypeArgument> = Reified<ActionRequest<T>, ActionRequestFields<T>>;
22
- export declare class ActionRequest<T extends PhantomTypeArgument> implements StructClass {
23
- __StructClass: true;
24
- static readonly $typeName = "0x2::token::ActionRequest";
25
- static readonly $numTypeParams = 1;
26
- static readonly $isPhantom: readonly [true];
27
- readonly $typeName = "0x2::token::ActionRequest";
28
- readonly $fullTypeName: `${typeof PKG_V26}::token::ActionRequest<${PhantomToTypeStr<T>}>`;
29
- readonly $typeArgs: [PhantomToTypeStr<T>];
30
- readonly $isPhantom: readonly [true];
31
- readonly name: ToField<String>;
32
- readonly amount: ToField<"u64">;
33
- readonly sender: ToField<"address">;
34
- readonly recipient: ToField<Option<"address">>;
35
- readonly spentBalance: ToField<Option<Balance<T>>>;
36
- readonly approvals: ToField<VecSet<TypeName>>;
37
- private constructor();
38
- static reified<T extends PhantomReified<PhantomTypeArgument>>(T: T): ActionRequestReified<ToPhantomTypeArgument<T>>;
39
- static get r(): typeof ActionRequest.reified;
40
- static phantom<T extends PhantomReified<PhantomTypeArgument>>(T: T): PhantomReified<ToTypeStr<ActionRequest<ToPhantomTypeArgument<T>>>>;
41
- static get p(): typeof ActionRequest.phantom;
42
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
43
- name: import("@mysten/sui/bcs").BcsStruct<{
44
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
45
- length: number;
46
- }, string>;
47
- }, string>;
48
- amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
49
- sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
50
- recipient: import("@mysten/sui/bcs").BcsStruct<{
51
- vec: import("@mysten/sui/bcs").BcsType<string[], Iterable<string> & {
52
- length: number;
53
- }, string>;
54
- }, string>;
55
- spent_balance: import("@mysten/sui/bcs").BcsStruct<{
56
- vec: import("@mysten/sui/bcs").BcsType<{
57
- value: string;
58
- }[], Iterable<{
59
- value: string | number | bigint;
60
- }> & {
61
- length: number;
62
- }, string>;
63
- }, string>;
64
- approvals: import("@mysten/sui/bcs").BcsStruct<{
65
- contents: import("@mysten/sui/bcs").BcsType<{
66
- name: {
67
- bytes: number[];
68
- };
69
- }[], Iterable<{
70
- name: {
71
- bytes: Iterable<number> & {
72
- length: number;
73
- };
74
- };
75
- }> & {
76
- length: number;
77
- }, string>;
78
- }, string>;
79
- }, string>;
80
- static fromFields<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, fields: Record<string, any>): ActionRequest<ToPhantomTypeArgument<T>>;
81
- static fromFieldsWithTypes<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, item: FieldsWithTypes): ActionRequest<ToPhantomTypeArgument<T>>;
82
- static fromBcs<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, data: Uint8Array): ActionRequest<ToPhantomTypeArgument<T>>;
83
- toJSONField(): {
84
- name: string;
85
- amount: string;
86
- sender: string;
87
- recipient: string | null;
88
- spentBalance: {
89
- value: string;
90
- } | null;
91
- approvals: {
92
- contents: {
93
- name: string;
94
- }[];
95
- };
96
- };
97
- toJSON(): {
98
- name: string;
99
- amount: string;
100
- sender: string;
101
- recipient: string | null;
102
- spentBalance: {
103
- value: string;
104
- } | null;
105
- approvals: {
106
- contents: {
107
- name: string;
108
- }[];
109
- };
110
- $typeName: string;
111
- $typeArgs: [PhantomToTypeStr<T>];
112
- };
113
- static fromJSONField<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, field: any): ActionRequest<ToPhantomTypeArgument<T>>;
114
- static fromJSON<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, json: Record<string, any>): ActionRequest<ToPhantomTypeArgument<T>>;
115
- static fromSuiParsedData<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, content: SuiParsedData): ActionRequest<ToPhantomTypeArgument<T>>;
116
- static fromSuiObjectData<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, data: SuiObjectData): ActionRequest<ToPhantomTypeArgument<T>>;
117
- static fetch<T extends PhantomReified<PhantomTypeArgument>>(client: SuiClient, typeArg: T, id: string): Promise<ActionRequest<ToPhantomTypeArgument<T>>>;
118
- }
119
- export declare function isRuleKey(type: string): boolean;
120
- export interface RuleKeyFields<T extends PhantomTypeArgument> {
121
- isProtected: ToField<"bool">;
122
- }
123
- export type RuleKeyReified<T extends PhantomTypeArgument> = Reified<RuleKey<T>, RuleKeyFields<T>>;
124
- export declare class RuleKey<T extends PhantomTypeArgument> implements StructClass {
125
- __StructClass: true;
126
- static readonly $typeName = "0x2::token::RuleKey";
127
- static readonly $numTypeParams = 1;
128
- static readonly $isPhantom: readonly [true];
129
- readonly $typeName = "0x2::token::RuleKey";
130
- readonly $fullTypeName: `${typeof PKG_V26}::token::RuleKey<${PhantomToTypeStr<T>}>`;
131
- readonly $typeArgs: [PhantomToTypeStr<T>];
132
- readonly $isPhantom: readonly [true];
133
- readonly isProtected: ToField<"bool">;
134
- private constructor();
135
- static reified<T extends PhantomReified<PhantomTypeArgument>>(T: T): RuleKeyReified<ToPhantomTypeArgument<T>>;
136
- static get r(): typeof RuleKey.reified;
137
- static phantom<T extends PhantomReified<PhantomTypeArgument>>(T: T): PhantomReified<ToTypeStr<RuleKey<ToPhantomTypeArgument<T>>>>;
138
- static get p(): typeof RuleKey.phantom;
139
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
140
- is_protected: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
141
- }, string>;
142
- static fromFields<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, fields: Record<string, any>): RuleKey<ToPhantomTypeArgument<T>>;
143
- static fromFieldsWithTypes<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, item: FieldsWithTypes): RuleKey<ToPhantomTypeArgument<T>>;
144
- static fromBcs<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, data: Uint8Array): RuleKey<ToPhantomTypeArgument<T>>;
145
- toJSONField(): {
146
- isProtected: boolean;
147
- };
148
- toJSON(): {
149
- isProtected: boolean;
150
- $typeName: string;
151
- $typeArgs: [PhantomToTypeStr<T>];
152
- };
153
- static fromJSONField<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, field: any): RuleKey<ToPhantomTypeArgument<T>>;
154
- static fromJSON<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, json: Record<string, any>): RuleKey<ToPhantomTypeArgument<T>>;
155
- static fromSuiParsedData<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, content: SuiParsedData): RuleKey<ToPhantomTypeArgument<T>>;
156
- static fromSuiObjectData<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, data: SuiObjectData): RuleKey<ToPhantomTypeArgument<T>>;
157
- static fetch<T extends PhantomReified<PhantomTypeArgument>>(client: SuiClient, typeArg: T, id: string): Promise<RuleKey<ToPhantomTypeArgument<T>>>;
158
- }
159
- export declare function isToken(type: string): boolean;
160
- export interface TokenFields<T extends PhantomTypeArgument> {
161
- id: ToField<UID>;
162
- balance: ToField<Balance<T>>;
163
- }
164
- export type TokenReified<T extends PhantomTypeArgument> = Reified<Token<T>, TokenFields<T>>;
165
- export declare class Token<T extends PhantomTypeArgument> implements StructClass {
166
- __StructClass: true;
167
- static readonly $typeName = "0x2::token::Token";
168
- static readonly $numTypeParams = 1;
169
- static readonly $isPhantom: readonly [true];
170
- readonly $typeName = "0x2::token::Token";
171
- readonly $fullTypeName: `${typeof PKG_V26}::token::Token<${PhantomToTypeStr<T>}>`;
172
- readonly $typeArgs: [PhantomToTypeStr<T>];
173
- readonly $isPhantom: readonly [true];
174
- readonly id: ToField<UID>;
175
- readonly balance: ToField<Balance<T>>;
176
- private constructor();
177
- static reified<T extends PhantomReified<PhantomTypeArgument>>(T: T): TokenReified<ToPhantomTypeArgument<T>>;
178
- static get r(): typeof Token.reified;
179
- static phantom<T extends PhantomReified<PhantomTypeArgument>>(T: T): PhantomReified<ToTypeStr<Token<ToPhantomTypeArgument<T>>>>;
180
- static get p(): typeof Token.phantom;
181
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
182
- id: import("@mysten/sui/bcs").BcsStruct<{
183
- id: import("@mysten/sui/bcs").BcsStruct<{
184
- bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
185
- }, string>;
186
- }, string>;
187
- balance: import("@mysten/sui/bcs").BcsStruct<{
188
- value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
189
- }, string>;
190
- }, string>;
191
- static fromFields<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, fields: Record<string, any>): Token<ToPhantomTypeArgument<T>>;
192
- static fromFieldsWithTypes<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, item: FieldsWithTypes): Token<ToPhantomTypeArgument<T>>;
193
- static fromBcs<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, data: Uint8Array): Token<ToPhantomTypeArgument<T>>;
194
- toJSONField(): {
195
- id: string;
196
- balance: {
197
- value: string;
198
- };
199
- };
200
- toJSON(): {
201
- id: string;
202
- balance: {
203
- value: string;
204
- };
205
- $typeName: string;
206
- $typeArgs: [PhantomToTypeStr<T>];
207
- };
208
- static fromJSONField<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, field: any): Token<ToPhantomTypeArgument<T>>;
209
- static fromJSON<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, json: Record<string, any>): Token<ToPhantomTypeArgument<T>>;
210
- static fromSuiParsedData<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, content: SuiParsedData): Token<ToPhantomTypeArgument<T>>;
211
- static fromSuiObjectData<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, data: SuiObjectData): Token<ToPhantomTypeArgument<T>>;
212
- static fetch<T extends PhantomReified<PhantomTypeArgument>>(client: SuiClient, typeArg: T, id: string): Promise<Token<ToPhantomTypeArgument<T>>>;
213
- }
214
- export declare function isTokenPolicy(type: string): boolean;
215
- export interface TokenPolicyFields<T extends PhantomTypeArgument> {
216
- id: ToField<UID>;
217
- spentBalance: ToField<Balance<T>>;
218
- rules: ToField<VecMap<String, VecSet<TypeName>>>;
219
- }
220
- export type TokenPolicyReified<T extends PhantomTypeArgument> = Reified<TokenPolicy<T>, TokenPolicyFields<T>>;
221
- export declare class TokenPolicy<T extends PhantomTypeArgument> implements StructClass {
222
- __StructClass: true;
223
- static readonly $typeName = "0x2::token::TokenPolicy";
224
- static readonly $numTypeParams = 1;
225
- static readonly $isPhantom: readonly [true];
226
- readonly $typeName = "0x2::token::TokenPolicy";
227
- readonly $fullTypeName: `${typeof PKG_V26}::token::TokenPolicy<${PhantomToTypeStr<T>}>`;
228
- readonly $typeArgs: [PhantomToTypeStr<T>];
229
- readonly $isPhantom: readonly [true];
230
- readonly id: ToField<UID>;
231
- readonly spentBalance: ToField<Balance<T>>;
232
- readonly rules: ToField<VecMap<String, VecSet<TypeName>>>;
233
- private constructor();
234
- static reified<T extends PhantomReified<PhantomTypeArgument>>(T: T): TokenPolicyReified<ToPhantomTypeArgument<T>>;
235
- static get r(): typeof TokenPolicy.reified;
236
- static phantom<T extends PhantomReified<PhantomTypeArgument>>(T: T): PhantomReified<ToTypeStr<TokenPolicy<ToPhantomTypeArgument<T>>>>;
237
- static get p(): typeof TokenPolicy.phantom;
238
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
239
- id: import("@mysten/sui/bcs").BcsStruct<{
240
- id: import("@mysten/sui/bcs").BcsStruct<{
241
- bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
242
- }, string>;
243
- }, string>;
244
- spent_balance: import("@mysten/sui/bcs").BcsStruct<{
245
- value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
246
- }, string>;
247
- rules: import("@mysten/sui/bcs").BcsStruct<{
248
- contents: import("@mysten/sui/bcs").BcsType<{
249
- key: {
250
- bytes: number[];
251
- };
252
- value: {
253
- contents: {
254
- name: {
255
- bytes: number[];
256
- };
257
- }[];
258
- };
259
- }[], Iterable<{
260
- key: {
261
- bytes: Iterable<number> & {
262
- length: number;
263
- };
264
- };
265
- value: {
266
- contents: Iterable<{
267
- name: {
268
- bytes: Iterable<number> & {
269
- length: number;
270
- };
271
- };
272
- }> & {
273
- length: number;
274
- };
275
- };
276
- }> & {
277
- length: number;
278
- }, string>;
279
- }, string>;
280
- }, string>;
281
- static fromFields<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, fields: Record<string, any>): TokenPolicy<ToPhantomTypeArgument<T>>;
282
- static fromFieldsWithTypes<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, item: FieldsWithTypes): TokenPolicy<ToPhantomTypeArgument<T>>;
283
- static fromBcs<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, data: Uint8Array): TokenPolicy<ToPhantomTypeArgument<T>>;
284
- toJSONField(): {
285
- id: string;
286
- spentBalance: {
287
- value: string;
288
- };
289
- rules: {
290
- contents: {
291
- key: string;
292
- value: {
293
- contents: {
294
- name: string;
295
- }[];
296
- };
297
- }[];
298
- };
299
- };
300
- toJSON(): {
301
- id: string;
302
- spentBalance: {
303
- value: string;
304
- };
305
- rules: {
306
- contents: {
307
- key: string;
308
- value: {
309
- contents: {
310
- name: string;
311
- }[];
312
- };
313
- }[];
314
- };
315
- $typeName: string;
316
- $typeArgs: [PhantomToTypeStr<T>];
317
- };
318
- static fromJSONField<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, field: any): TokenPolicy<ToPhantomTypeArgument<T>>;
319
- static fromJSON<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, json: Record<string, any>): TokenPolicy<ToPhantomTypeArgument<T>>;
320
- static fromSuiParsedData<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, content: SuiParsedData): TokenPolicy<ToPhantomTypeArgument<T>>;
321
- static fromSuiObjectData<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, data: SuiObjectData): TokenPolicy<ToPhantomTypeArgument<T>>;
322
- static fetch<T extends PhantomReified<PhantomTypeArgument>>(client: SuiClient, typeArg: T, id: string): Promise<TokenPolicy<ToPhantomTypeArgument<T>>>;
323
- }
324
- export declare function isTokenPolicyCap(type: string): boolean;
325
- export interface TokenPolicyCapFields<T extends PhantomTypeArgument> {
326
- id: ToField<UID>;
327
- for: ToField<ID>;
328
- }
329
- export type TokenPolicyCapReified<T extends PhantomTypeArgument> = Reified<TokenPolicyCap<T>, TokenPolicyCapFields<T>>;
330
- export declare class TokenPolicyCap<T extends PhantomTypeArgument> implements StructClass {
331
- __StructClass: true;
332
- static readonly $typeName = "0x2::token::TokenPolicyCap";
333
- static readonly $numTypeParams = 1;
334
- static readonly $isPhantom: readonly [true];
335
- readonly $typeName = "0x2::token::TokenPolicyCap";
336
- readonly $fullTypeName: `${typeof PKG_V26}::token::TokenPolicyCap<${PhantomToTypeStr<T>}>`;
337
- readonly $typeArgs: [PhantomToTypeStr<T>];
338
- readonly $isPhantom: readonly [true];
339
- readonly id: ToField<UID>;
340
- readonly for: ToField<ID>;
341
- private constructor();
342
- static reified<T extends PhantomReified<PhantomTypeArgument>>(T: T): TokenPolicyCapReified<ToPhantomTypeArgument<T>>;
343
- static get r(): typeof TokenPolicyCap.reified;
344
- static phantom<T extends PhantomReified<PhantomTypeArgument>>(T: T): PhantomReified<ToTypeStr<TokenPolicyCap<ToPhantomTypeArgument<T>>>>;
345
- static get p(): typeof TokenPolicyCap.phantom;
346
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
347
- id: import("@mysten/sui/bcs").BcsStruct<{
348
- id: import("@mysten/sui/bcs").BcsStruct<{
349
- bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
350
- }, string>;
351
- }, string>;
352
- for: import("@mysten/sui/bcs").BcsStruct<{
353
- bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
354
- }, string>;
355
- }, string>;
356
- static fromFields<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, fields: Record<string, any>): TokenPolicyCap<ToPhantomTypeArgument<T>>;
357
- static fromFieldsWithTypes<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, item: FieldsWithTypes): TokenPolicyCap<ToPhantomTypeArgument<T>>;
358
- static fromBcs<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, data: Uint8Array): TokenPolicyCap<ToPhantomTypeArgument<T>>;
359
- toJSONField(): {
360
- id: string;
361
- for: string;
362
- };
363
- toJSON(): {
364
- id: string;
365
- for: string;
366
- $typeName: string;
367
- $typeArgs: [PhantomToTypeStr<T>];
368
- };
369
- static fromJSONField<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, field: any): TokenPolicyCap<ToPhantomTypeArgument<T>>;
370
- static fromJSON<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, json: Record<string, any>): TokenPolicyCap<ToPhantomTypeArgument<T>>;
371
- static fromSuiParsedData<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, content: SuiParsedData): TokenPolicyCap<ToPhantomTypeArgument<T>>;
372
- static fromSuiObjectData<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, data: SuiObjectData): TokenPolicyCap<ToPhantomTypeArgument<T>>;
373
- static fetch<T extends PhantomReified<PhantomTypeArgument>>(client: SuiClient, typeArg: T, id: string): Promise<TokenPolicyCap<ToPhantomTypeArgument<T>>>;
374
- }
375
- export declare function isTokenPolicyCreated(type: string): boolean;
376
- export interface TokenPolicyCreatedFields<T extends PhantomTypeArgument> {
377
- id: ToField<ID>;
378
- isMutable: ToField<"bool">;
379
- }
380
- export type TokenPolicyCreatedReified<T extends PhantomTypeArgument> = Reified<TokenPolicyCreated<T>, TokenPolicyCreatedFields<T>>;
381
- export declare class TokenPolicyCreated<T extends PhantomTypeArgument> implements StructClass {
382
- __StructClass: true;
383
- static readonly $typeName = "0x2::token::TokenPolicyCreated";
384
- static readonly $numTypeParams = 1;
385
- static readonly $isPhantom: readonly [true];
386
- readonly $typeName = "0x2::token::TokenPolicyCreated";
387
- readonly $fullTypeName: `${typeof PKG_V26}::token::TokenPolicyCreated<${PhantomToTypeStr<T>}>`;
388
- readonly $typeArgs: [PhantomToTypeStr<T>];
389
- readonly $isPhantom: readonly [true];
390
- readonly id: ToField<ID>;
391
- readonly isMutable: ToField<"bool">;
392
- private constructor();
393
- static reified<T extends PhantomReified<PhantomTypeArgument>>(T: T): TokenPolicyCreatedReified<ToPhantomTypeArgument<T>>;
394
- static get r(): typeof TokenPolicyCreated.reified;
395
- static phantom<T extends PhantomReified<PhantomTypeArgument>>(T: T): PhantomReified<ToTypeStr<TokenPolicyCreated<ToPhantomTypeArgument<T>>>>;
396
- static get p(): typeof TokenPolicyCreated.phantom;
397
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
398
- id: import("@mysten/sui/bcs").BcsStruct<{
399
- bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
400
- }, string>;
401
- is_mutable: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
402
- }, string>;
403
- static fromFields<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, fields: Record<string, any>): TokenPolicyCreated<ToPhantomTypeArgument<T>>;
404
- static fromFieldsWithTypes<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, item: FieldsWithTypes): TokenPolicyCreated<ToPhantomTypeArgument<T>>;
405
- static fromBcs<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, data: Uint8Array): TokenPolicyCreated<ToPhantomTypeArgument<T>>;
406
- toJSONField(): {
407
- id: string;
408
- isMutable: boolean;
409
- };
410
- toJSON(): {
411
- id: string;
412
- isMutable: boolean;
413
- $typeName: string;
414
- $typeArgs: [PhantomToTypeStr<T>];
415
- };
416
- static fromJSONField<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, field: any): TokenPolicyCreated<ToPhantomTypeArgument<T>>;
417
- static fromJSON<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, json: Record<string, any>): TokenPolicyCreated<ToPhantomTypeArgument<T>>;
418
- static fromSuiParsedData<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, content: SuiParsedData): TokenPolicyCreated<ToPhantomTypeArgument<T>>;
419
- static fromSuiObjectData<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, data: SuiObjectData): TokenPolicyCreated<ToPhantomTypeArgument<T>>;
420
- static fetch<T extends PhantomReified<PhantomTypeArgument>>(client: SuiClient, typeArg: T, id: string): Promise<TokenPolicyCreated<ToPhantomTypeArgument<T>>>;
421
- }