@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,2199 +0,0 @@
1
- import * as reified from "../../_framework/reified";
2
- import { TypeName } from "../../_dependencies/source/0x1/type-name/structs";
3
- import { UID } from "../../_dependencies/source/0x2/object/structs";
4
- import { VecMap } from "../../_dependencies/source/0x2/vec-map/structs";
5
- import { PhantomReified, Reified, StructClass, ToField, ToTypeStr } from "../../_framework/reified";
6
- import { FieldsWithTypes } from "../../_framework/util";
7
- import { Vector } from "../../_framework/vector";
8
- import { PKG_V1 } from "../index";
9
- import { SuiClient, SuiObjectData, SuiParsedData } from "@mysten/sui/client";
10
- export declare function isStakePoolRegistry(type: string): boolean;
11
- export interface StakePoolRegistryFields {
12
- id: ToField<UID>;
13
- numPool: ToField<"u64">;
14
- }
15
- export type StakePoolRegistryReified = Reified<StakePoolRegistry, StakePoolRegistryFields>;
16
- export declare class StakePoolRegistry implements StructClass {
17
- __StructClass: true;
18
- static readonly $typeName: string;
19
- static readonly $numTypeParams = 0;
20
- static readonly $isPhantom: readonly [];
21
- readonly $typeName: string;
22
- readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::StakePoolRegistry`;
23
- readonly $typeArgs: [];
24
- readonly $isPhantom: readonly [];
25
- readonly id: ToField<UID>;
26
- readonly numPool: ToField<"u64">;
27
- private constructor();
28
- static reified(): StakePoolRegistryReified;
29
- static get r(): reified.StructClassReified<StakePoolRegistry, StakePoolRegistryFields>;
30
- static phantom(): PhantomReified<ToTypeStr<StakePoolRegistry>>;
31
- static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::StakePoolRegistry" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::StakePoolRegistry">;
32
- private static instantiateBcs;
33
- private static cachedBcs;
34
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
35
- id: import("@mysten/sui/bcs").BcsStruct<{
36
- id: import("@mysten/sui/bcs").BcsStruct<{
37
- bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
38
- }, string>;
39
- }, string>;
40
- num_pool: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
41
- }, string>;
42
- static fromFields(fields: Record<string, any>): StakePoolRegistry;
43
- static fromFieldsWithTypes(item: FieldsWithTypes): StakePoolRegistry;
44
- static fromBcs(data: Uint8Array): StakePoolRegistry;
45
- toJSONField(): {
46
- id: string;
47
- numPool: string;
48
- };
49
- toJSON(): {
50
- id: string;
51
- numPool: string;
52
- $typeName: string;
53
- $typeArgs: [];
54
- };
55
- static fromJSONField(field: any): StakePoolRegistry;
56
- static fromJSON(json: Record<string, any>): StakePoolRegistry;
57
- static fromSuiParsedData(content: SuiParsedData): StakePoolRegistry;
58
- static fromSuiObjectData(data: SuiObjectData): StakePoolRegistry;
59
- static fetch(client: SuiClient, id: string): Promise<StakePoolRegistry>;
60
- }
61
- export declare function isStakePool(type: string): boolean;
62
- export interface StakePoolFields {
63
- id: ToField<UID>;
64
- poolInfo: ToField<StakePoolInfo>;
65
- config: ToField<StakePoolConfig>;
66
- incentives: ToField<Vector<Incentive>>;
67
- u64Padding: ToField<Vector<"u64">>;
68
- }
69
- export type StakePoolReified = Reified<StakePool, StakePoolFields>;
70
- export declare class StakePool implements StructClass {
71
- __StructClass: true;
72
- static readonly $typeName: string;
73
- static readonly $numTypeParams = 0;
74
- static readonly $isPhantom: readonly [];
75
- readonly $typeName: string;
76
- readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::StakePool`;
77
- readonly $typeArgs: [];
78
- readonly $isPhantom: readonly [];
79
- readonly id: ToField<UID>;
80
- readonly poolInfo: ToField<StakePoolInfo>;
81
- readonly config: ToField<StakePoolConfig>;
82
- readonly incentives: ToField<Vector<Incentive>>;
83
- readonly u64Padding: ToField<Vector<"u64">>;
84
- private constructor();
85
- static reified(): StakePoolReified;
86
- static get r(): reified.StructClassReified<StakePool, StakePoolFields>;
87
- static phantom(): PhantomReified<ToTypeStr<StakePool>>;
88
- static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::StakePool" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::StakePool">;
89
- private static instantiateBcs;
90
- private static cachedBcs;
91
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
92
- id: import("@mysten/sui/bcs").BcsStruct<{
93
- id: import("@mysten/sui/bcs").BcsStruct<{
94
- bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
95
- }, string>;
96
- }, string>;
97
- pool_info: import("@mysten/sui/bcs").BcsStruct<{
98
- stake_token: import("@mysten/sui/bcs").BcsStruct<{
99
- name: import("@mysten/sui/bcs").BcsStruct<{
100
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
101
- length: number;
102
- }, string>;
103
- }, string>;
104
- }, string>;
105
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
106
- next_user_share_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
107
- total_share: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
108
- active: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
109
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
110
- length: number;
111
- }, string>;
112
- }, string>;
113
- config: import("@mysten/sui/bcs").BcsStruct<{
114
- unlock_countdown_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
115
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
116
- length: number;
117
- }, string>;
118
- }, string>;
119
- incentives: import("@mysten/sui/bcs").BcsType<{
120
- token_type: {
121
- name: {
122
- bytes: number[];
123
- };
124
- };
125
- config: {
126
- period_incentive_amount: string;
127
- incentive_interval_ts_ms: string;
128
- u64_padding: string[];
129
- };
130
- info: {
131
- active: boolean;
132
- last_allocate_ts_ms: string;
133
- incentive_price_index: string;
134
- unallocated_amount: string;
135
- u64_padding: string[];
136
- };
137
- }[], Iterable<{
138
- token_type: {
139
- name: {
140
- bytes: Iterable<number> & {
141
- length: number;
142
- };
143
- };
144
- };
145
- config: {
146
- period_incentive_amount: string | number | bigint;
147
- incentive_interval_ts_ms: string | number | bigint;
148
- u64_padding: Iterable<string | number | bigint> & {
149
- length: number;
150
- };
151
- };
152
- info: {
153
- active: boolean;
154
- last_allocate_ts_ms: string | number | bigint;
155
- incentive_price_index: string | number | bigint;
156
- unallocated_amount: string | number | bigint;
157
- u64_padding: Iterable<string | number | bigint> & {
158
- length: number;
159
- };
160
- };
161
- }> & {
162
- length: number;
163
- }, string>;
164
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
165
- length: number;
166
- }, string>;
167
- }, string>;
168
- static fromFields(fields: Record<string, any>): StakePool;
169
- static fromFieldsWithTypes(item: FieldsWithTypes): StakePool;
170
- static fromBcs(data: Uint8Array): StakePool;
171
- toJSONField(): {
172
- id: string;
173
- poolInfo: {
174
- stakeToken: {
175
- name: string;
176
- };
177
- index: string;
178
- nextUserShareId: string;
179
- totalShare: string;
180
- active: boolean;
181
- u64Padding: string[];
182
- };
183
- config: {
184
- unlockCountdownTsMs: string;
185
- u64Padding: string[];
186
- };
187
- incentives: {
188
- tokenType: {
189
- name: string;
190
- };
191
- config: {
192
- periodIncentiveAmount: string;
193
- incentiveIntervalTsMs: string;
194
- u64Padding: string[];
195
- };
196
- info: {
197
- active: boolean;
198
- lastAllocateTsMs: string;
199
- incentivePriceIndex: string;
200
- unallocatedAmount: string;
201
- u64Padding: string[];
202
- };
203
- }[];
204
- u64Padding: string[];
205
- };
206
- toJSON(): {
207
- id: string;
208
- poolInfo: {
209
- stakeToken: {
210
- name: string;
211
- };
212
- index: string;
213
- nextUserShareId: string;
214
- totalShare: string;
215
- active: boolean;
216
- u64Padding: string[];
217
- };
218
- config: {
219
- unlockCountdownTsMs: string;
220
- u64Padding: string[];
221
- };
222
- incentives: {
223
- tokenType: {
224
- name: string;
225
- };
226
- config: {
227
- periodIncentiveAmount: string;
228
- incentiveIntervalTsMs: string;
229
- u64Padding: string[];
230
- };
231
- info: {
232
- active: boolean;
233
- lastAllocateTsMs: string;
234
- incentivePriceIndex: string;
235
- unallocatedAmount: string;
236
- u64Padding: string[];
237
- };
238
- }[];
239
- u64Padding: string[];
240
- $typeName: string;
241
- $typeArgs: [];
242
- };
243
- static fromJSONField(field: any): StakePool;
244
- static fromJSON(json: Record<string, any>): StakePool;
245
- static fromSuiParsedData(content: SuiParsedData): StakePool;
246
- static fromSuiObjectData(data: SuiObjectData): StakePool;
247
- static fetch(client: SuiClient, id: string): Promise<StakePool>;
248
- }
249
- export declare function isIncentive(type: string): boolean;
250
- export interface IncentiveFields {
251
- tokenType: ToField<TypeName>;
252
- config: ToField<IncentiveConfig>;
253
- info: ToField<IncentiveInfo>;
254
- }
255
- export type IncentiveReified = Reified<Incentive, IncentiveFields>;
256
- export declare class Incentive implements StructClass {
257
- __StructClass: true;
258
- static readonly $typeName: string;
259
- static readonly $numTypeParams = 0;
260
- static readonly $isPhantom: readonly [];
261
- readonly $typeName: string;
262
- readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::Incentive`;
263
- readonly $typeArgs: [];
264
- readonly $isPhantom: readonly [];
265
- readonly tokenType: ToField<TypeName>;
266
- readonly config: ToField<IncentiveConfig>;
267
- readonly info: ToField<IncentiveInfo>;
268
- private constructor();
269
- static reified(): IncentiveReified;
270
- static get r(): reified.StructClassReified<Incentive, IncentiveFields>;
271
- static phantom(): PhantomReified<ToTypeStr<Incentive>>;
272
- static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::Incentive" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::Incentive">;
273
- private static instantiateBcs;
274
- private static cachedBcs;
275
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
276
- token_type: import("@mysten/sui/bcs").BcsStruct<{
277
- name: import("@mysten/sui/bcs").BcsStruct<{
278
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
279
- length: number;
280
- }, string>;
281
- }, string>;
282
- }, string>;
283
- config: import("@mysten/sui/bcs").BcsStruct<{
284
- period_incentive_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
285
- incentive_interval_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
286
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
287
- length: number;
288
- }, string>;
289
- }, string>;
290
- info: import("@mysten/sui/bcs").BcsStruct<{
291
- active: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
292
- last_allocate_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
293
- incentive_price_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
294
- unallocated_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
295
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
296
- length: number;
297
- }, string>;
298
- }, string>;
299
- }, string>;
300
- static fromFields(fields: Record<string, any>): Incentive;
301
- static fromFieldsWithTypes(item: FieldsWithTypes): Incentive;
302
- static fromBcs(data: Uint8Array): Incentive;
303
- toJSONField(): {
304
- tokenType: {
305
- name: string;
306
- };
307
- config: {
308
- periodIncentiveAmount: string;
309
- incentiveIntervalTsMs: string;
310
- u64Padding: string[];
311
- };
312
- info: {
313
- active: boolean;
314
- lastAllocateTsMs: string;
315
- incentivePriceIndex: string;
316
- unallocatedAmount: string;
317
- u64Padding: string[];
318
- };
319
- };
320
- toJSON(): {
321
- tokenType: {
322
- name: string;
323
- };
324
- config: {
325
- periodIncentiveAmount: string;
326
- incentiveIntervalTsMs: string;
327
- u64Padding: string[];
328
- };
329
- info: {
330
- active: boolean;
331
- lastAllocateTsMs: string;
332
- incentivePriceIndex: string;
333
- unallocatedAmount: string;
334
- u64Padding: string[];
335
- };
336
- $typeName: string;
337
- $typeArgs: [];
338
- };
339
- static fromJSONField(field: any): Incentive;
340
- static fromJSON(json: Record<string, any>): Incentive;
341
- static fromSuiParsedData(content: SuiParsedData): Incentive;
342
- static fromSuiObjectData(data: SuiObjectData): Incentive;
343
- static fetch(client: SuiClient, id: string): Promise<Incentive>;
344
- }
345
- export declare function isStakePoolInfo(type: string): boolean;
346
- export interface StakePoolInfoFields {
347
- stakeToken: ToField<TypeName>;
348
- index: ToField<"u64">;
349
- nextUserShareId: ToField<"u64">;
350
- totalShare: ToField<"u64">;
351
- active: ToField<"bool">;
352
- u64Padding: ToField<Vector<"u64">>;
353
- }
354
- export type StakePoolInfoReified = Reified<StakePoolInfo, StakePoolInfoFields>;
355
- export declare class StakePoolInfo implements StructClass {
356
- __StructClass: true;
357
- static readonly $typeName: string;
358
- static readonly $numTypeParams = 0;
359
- static readonly $isPhantom: readonly [];
360
- readonly $typeName: string;
361
- readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::StakePoolInfo`;
362
- readonly $typeArgs: [];
363
- readonly $isPhantom: readonly [];
364
- readonly stakeToken: ToField<TypeName>;
365
- readonly index: ToField<"u64">;
366
- readonly nextUserShareId: ToField<"u64">;
367
- readonly totalShare: ToField<"u64">;
368
- readonly active: ToField<"bool">;
369
- readonly u64Padding: ToField<Vector<"u64">>;
370
- private constructor();
371
- static reified(): StakePoolInfoReified;
372
- static get r(): reified.StructClassReified<StakePoolInfo, StakePoolInfoFields>;
373
- static phantom(): PhantomReified<ToTypeStr<StakePoolInfo>>;
374
- static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::StakePoolInfo" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::StakePoolInfo">;
375
- private static instantiateBcs;
376
- private static cachedBcs;
377
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
378
- stake_token: import("@mysten/sui/bcs").BcsStruct<{
379
- name: import("@mysten/sui/bcs").BcsStruct<{
380
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
381
- length: number;
382
- }, string>;
383
- }, string>;
384
- }, string>;
385
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
386
- next_user_share_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
387
- total_share: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
388
- active: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
389
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
390
- length: number;
391
- }, string>;
392
- }, string>;
393
- static fromFields(fields: Record<string, any>): StakePoolInfo;
394
- static fromFieldsWithTypes(item: FieldsWithTypes): StakePoolInfo;
395
- static fromBcs(data: Uint8Array): StakePoolInfo;
396
- toJSONField(): {
397
- stakeToken: {
398
- name: string;
399
- };
400
- index: string;
401
- nextUserShareId: string;
402
- totalShare: string;
403
- active: boolean;
404
- u64Padding: string[];
405
- };
406
- toJSON(): {
407
- stakeToken: {
408
- name: string;
409
- };
410
- index: string;
411
- nextUserShareId: string;
412
- totalShare: string;
413
- active: boolean;
414
- u64Padding: string[];
415
- $typeName: string;
416
- $typeArgs: [];
417
- };
418
- static fromJSONField(field: any): StakePoolInfo;
419
- static fromJSON(json: Record<string, any>): StakePoolInfo;
420
- static fromSuiParsedData(content: SuiParsedData): StakePoolInfo;
421
- static fromSuiObjectData(data: SuiObjectData): StakePoolInfo;
422
- static fetch(client: SuiClient, id: string): Promise<StakePoolInfo>;
423
- }
424
- export declare function isStakePoolConfig(type: string): boolean;
425
- export interface StakePoolConfigFields {
426
- unlockCountdownTsMs: ToField<"u64">;
427
- u64Padding: ToField<Vector<"u64">>;
428
- }
429
- export type StakePoolConfigReified = Reified<StakePoolConfig, StakePoolConfigFields>;
430
- export declare class StakePoolConfig implements StructClass {
431
- __StructClass: true;
432
- static readonly $typeName: string;
433
- static readonly $numTypeParams = 0;
434
- static readonly $isPhantom: readonly [];
435
- readonly $typeName: string;
436
- readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::StakePoolConfig`;
437
- readonly $typeArgs: [];
438
- readonly $isPhantom: readonly [];
439
- readonly unlockCountdownTsMs: ToField<"u64">;
440
- readonly u64Padding: ToField<Vector<"u64">>;
441
- private constructor();
442
- static reified(): StakePoolConfigReified;
443
- static get r(): reified.StructClassReified<StakePoolConfig, StakePoolConfigFields>;
444
- static phantom(): PhantomReified<ToTypeStr<StakePoolConfig>>;
445
- static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::StakePoolConfig" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::StakePoolConfig">;
446
- private static instantiateBcs;
447
- private static cachedBcs;
448
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
449
- unlock_countdown_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
450
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
451
- length: number;
452
- }, string>;
453
- }, string>;
454
- static fromFields(fields: Record<string, any>): StakePoolConfig;
455
- static fromFieldsWithTypes(item: FieldsWithTypes): StakePoolConfig;
456
- static fromBcs(data: Uint8Array): StakePoolConfig;
457
- toJSONField(): {
458
- unlockCountdownTsMs: string;
459
- u64Padding: string[];
460
- };
461
- toJSON(): {
462
- unlockCountdownTsMs: string;
463
- u64Padding: string[];
464
- $typeName: string;
465
- $typeArgs: [];
466
- };
467
- static fromJSONField(field: any): StakePoolConfig;
468
- static fromJSON(json: Record<string, any>): StakePoolConfig;
469
- static fromSuiParsedData(content: SuiParsedData): StakePoolConfig;
470
- static fromSuiObjectData(data: SuiObjectData): StakePoolConfig;
471
- static fetch(client: SuiClient, id: string): Promise<StakePoolConfig>;
472
- }
473
- export declare function isIncentiveConfig(type: string): boolean;
474
- export interface IncentiveConfigFields {
475
- periodIncentiveAmount: ToField<"u64">;
476
- incentiveIntervalTsMs: ToField<"u64">;
477
- u64Padding: ToField<Vector<"u64">>;
478
- }
479
- export type IncentiveConfigReified = Reified<IncentiveConfig, IncentiveConfigFields>;
480
- export declare class IncentiveConfig implements StructClass {
481
- __StructClass: true;
482
- static readonly $typeName: string;
483
- static readonly $numTypeParams = 0;
484
- static readonly $isPhantom: readonly [];
485
- readonly $typeName: string;
486
- readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::IncentiveConfig`;
487
- readonly $typeArgs: [];
488
- readonly $isPhantom: readonly [];
489
- readonly periodIncentiveAmount: ToField<"u64">;
490
- readonly incentiveIntervalTsMs: ToField<"u64">;
491
- readonly u64Padding: ToField<Vector<"u64">>;
492
- private constructor();
493
- static reified(): IncentiveConfigReified;
494
- static get r(): reified.StructClassReified<IncentiveConfig, IncentiveConfigFields>;
495
- static phantom(): PhantomReified<ToTypeStr<IncentiveConfig>>;
496
- static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::IncentiveConfig" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::IncentiveConfig">;
497
- private static instantiateBcs;
498
- private static cachedBcs;
499
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
500
- period_incentive_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
501
- incentive_interval_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
502
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
503
- length: number;
504
- }, string>;
505
- }, string>;
506
- static fromFields(fields: Record<string, any>): IncentiveConfig;
507
- static fromFieldsWithTypes(item: FieldsWithTypes): IncentiveConfig;
508
- static fromBcs(data: Uint8Array): IncentiveConfig;
509
- toJSONField(): {
510
- periodIncentiveAmount: string;
511
- incentiveIntervalTsMs: string;
512
- u64Padding: string[];
513
- };
514
- toJSON(): {
515
- periodIncentiveAmount: string;
516
- incentiveIntervalTsMs: string;
517
- u64Padding: string[];
518
- $typeName: string;
519
- $typeArgs: [];
520
- };
521
- static fromJSONField(field: any): IncentiveConfig;
522
- static fromJSON(json: Record<string, any>): IncentiveConfig;
523
- static fromSuiParsedData(content: SuiParsedData): IncentiveConfig;
524
- static fromSuiObjectData(data: SuiObjectData): IncentiveConfig;
525
- static fetch(client: SuiClient, id: string): Promise<IncentiveConfig>;
526
- }
527
- export declare function isIncentiveInfo(type: string): boolean;
528
- export interface IncentiveInfoFields {
529
- active: ToField<"bool">;
530
- lastAllocateTsMs: ToField<"u64">;
531
- incentivePriceIndex: ToField<"u64">;
532
- unallocatedAmount: ToField<"u64">;
533
- u64Padding: ToField<Vector<"u64">>;
534
- }
535
- export type IncentiveInfoReified = Reified<IncentiveInfo, IncentiveInfoFields>;
536
- export declare class IncentiveInfo implements StructClass {
537
- __StructClass: true;
538
- static readonly $typeName: string;
539
- static readonly $numTypeParams = 0;
540
- static readonly $isPhantom: readonly [];
541
- readonly $typeName: string;
542
- readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::IncentiveInfo`;
543
- readonly $typeArgs: [];
544
- readonly $isPhantom: readonly [];
545
- readonly active: ToField<"bool">;
546
- readonly lastAllocateTsMs: ToField<"u64">;
547
- readonly incentivePriceIndex: ToField<"u64">;
548
- readonly unallocatedAmount: ToField<"u64">;
549
- readonly u64Padding: ToField<Vector<"u64">>;
550
- private constructor();
551
- static reified(): IncentiveInfoReified;
552
- static get r(): reified.StructClassReified<IncentiveInfo, IncentiveInfoFields>;
553
- static phantom(): PhantomReified<ToTypeStr<IncentiveInfo>>;
554
- static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::IncentiveInfo" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::IncentiveInfo">;
555
- private static instantiateBcs;
556
- private static cachedBcs;
557
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
558
- active: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
559
- last_allocate_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
560
- incentive_price_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
561
- unallocated_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
562
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
563
- length: number;
564
- }, string>;
565
- }, string>;
566
- static fromFields(fields: Record<string, any>): IncentiveInfo;
567
- static fromFieldsWithTypes(item: FieldsWithTypes): IncentiveInfo;
568
- static fromBcs(data: Uint8Array): IncentiveInfo;
569
- toJSONField(): {
570
- active: boolean;
571
- lastAllocateTsMs: string;
572
- incentivePriceIndex: string;
573
- unallocatedAmount: string;
574
- u64Padding: string[];
575
- };
576
- toJSON(): {
577
- active: boolean;
578
- lastAllocateTsMs: string;
579
- incentivePriceIndex: string;
580
- unallocatedAmount: string;
581
- u64Padding: string[];
582
- $typeName: string;
583
- $typeArgs: [];
584
- };
585
- static fromJSONField(field: any): IncentiveInfo;
586
- static fromJSON(json: Record<string, any>): IncentiveInfo;
587
- static fromSuiParsedData(content: SuiParsedData): IncentiveInfo;
588
- static fromSuiObjectData(data: SuiObjectData): IncentiveInfo;
589
- static fetch(client: SuiClient, id: string): Promise<IncentiveInfo>;
590
- }
591
- export declare function isLpUserShare(type: string): boolean;
592
- export interface LpUserShareFields {
593
- user: ToField<"address">;
594
- userShareId: ToField<"u64">;
595
- stakeTsMs: ToField<"u64">;
596
- totalShares: ToField<"u64">;
597
- activeShares: ToField<"u64">;
598
- deactivatingShares: ToField<Vector<DeactivatingShares>>;
599
- lastIncentivePriceIndex: ToField<VecMap<TypeName, "u64">>;
600
- u64Padding: ToField<Vector<"u64">>;
601
- }
602
- export type LpUserShareReified = Reified<LpUserShare, LpUserShareFields>;
603
- export declare class LpUserShare implements StructClass {
604
- __StructClass: true;
605
- static readonly $typeName: string;
606
- static readonly $numTypeParams = 0;
607
- static readonly $isPhantom: readonly [];
608
- readonly $typeName: string;
609
- readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::LpUserShare`;
610
- readonly $typeArgs: [];
611
- readonly $isPhantom: readonly [];
612
- readonly user: ToField<"address">;
613
- readonly userShareId: ToField<"u64">;
614
- readonly stakeTsMs: ToField<"u64">;
615
- readonly totalShares: ToField<"u64">;
616
- readonly activeShares: ToField<"u64">;
617
- readonly deactivatingShares: ToField<Vector<DeactivatingShares>>;
618
- readonly lastIncentivePriceIndex: ToField<VecMap<TypeName, "u64">>;
619
- readonly u64Padding: ToField<Vector<"u64">>;
620
- private constructor();
621
- static reified(): LpUserShareReified;
622
- static get r(): reified.StructClassReified<LpUserShare, LpUserShareFields>;
623
- static phantom(): PhantomReified<ToTypeStr<LpUserShare>>;
624
- static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::LpUserShare" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::LpUserShare">;
625
- private static instantiateBcs;
626
- private static cachedBcs;
627
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
628
- user: import("@mysten/sui/bcs").BcsType<string, string, string>;
629
- user_share_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
630
- stake_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
631
- total_shares: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
632
- active_shares: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
633
- deactivating_shares: import("@mysten/sui/bcs").BcsType<{
634
- shares: string;
635
- unsubscribed_ts_ms: string;
636
- unlocked_ts_ms: string;
637
- unsubscribed_incentive_price_index: {
638
- contents: {
639
- key: {
640
- name: {
641
- bytes: number[];
642
- };
643
- };
644
- value: string;
645
- }[];
646
- };
647
- u64_padding: string[];
648
- }[], Iterable<{
649
- shares: string | number | bigint;
650
- unsubscribed_ts_ms: string | number | bigint;
651
- unlocked_ts_ms: string | number | bigint;
652
- unsubscribed_incentive_price_index: {
653
- contents: Iterable<{
654
- key: {
655
- name: {
656
- bytes: Iterable<number> & {
657
- length: number;
658
- };
659
- };
660
- };
661
- value: string | number | bigint;
662
- }> & {
663
- length: number;
664
- };
665
- };
666
- u64_padding: Iterable<string | number | bigint> & {
667
- length: number;
668
- };
669
- }> & {
670
- length: number;
671
- }, string>;
672
- last_incentive_price_index: import("@mysten/sui/bcs").BcsStruct<{
673
- contents: import("@mysten/sui/bcs").BcsType<{
674
- key: {
675
- name: {
676
- bytes: number[];
677
- };
678
- };
679
- value: string;
680
- }[], Iterable<{
681
- key: {
682
- name: {
683
- bytes: Iterable<number> & {
684
- length: number;
685
- };
686
- };
687
- };
688
- value: string | number | bigint;
689
- }> & {
690
- length: number;
691
- }, string>;
692
- }, string>;
693
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
694
- length: number;
695
- }, string>;
696
- }, string>;
697
- static fromFields(fields: Record<string, any>): LpUserShare;
698
- static fromFieldsWithTypes(item: FieldsWithTypes): LpUserShare;
699
- static fromBcs(data: Uint8Array): LpUserShare;
700
- toJSONField(): {
701
- user: string;
702
- userShareId: string;
703
- stakeTsMs: string;
704
- totalShares: string;
705
- activeShares: string;
706
- deactivatingShares: {
707
- shares: string;
708
- unsubscribedTsMs: string;
709
- unlockedTsMs: string;
710
- unsubscribedIncentivePriceIndex: {
711
- contents: {
712
- key: {
713
- name: string;
714
- };
715
- value: string;
716
- }[];
717
- };
718
- u64Padding: string[];
719
- }[];
720
- lastIncentivePriceIndex: {
721
- contents: {
722
- key: {
723
- name: string;
724
- };
725
- value: string;
726
- }[];
727
- };
728
- u64Padding: string[];
729
- };
730
- toJSON(): {
731
- user: string;
732
- userShareId: string;
733
- stakeTsMs: string;
734
- totalShares: string;
735
- activeShares: string;
736
- deactivatingShares: {
737
- shares: string;
738
- unsubscribedTsMs: string;
739
- unlockedTsMs: string;
740
- unsubscribedIncentivePriceIndex: {
741
- contents: {
742
- key: {
743
- name: string;
744
- };
745
- value: string;
746
- }[];
747
- };
748
- u64Padding: string[];
749
- }[];
750
- lastIncentivePriceIndex: {
751
- contents: {
752
- key: {
753
- name: string;
754
- };
755
- value: string;
756
- }[];
757
- };
758
- u64Padding: string[];
759
- $typeName: string;
760
- $typeArgs: [];
761
- };
762
- static fromJSONField(field: any): LpUserShare;
763
- static fromJSON(json: Record<string, any>): LpUserShare;
764
- static fromSuiParsedData(content: SuiParsedData): LpUserShare;
765
- static fromSuiObjectData(data: SuiObjectData): LpUserShare;
766
- static fetch(client: SuiClient, id: string): Promise<LpUserShare>;
767
- }
768
- export declare function isDeactivatingShares(type: string): boolean;
769
- export interface DeactivatingSharesFields {
770
- shares: ToField<"u64">;
771
- unsubscribedTsMs: ToField<"u64">;
772
- unlockedTsMs: ToField<"u64">;
773
- unsubscribedIncentivePriceIndex: ToField<VecMap<TypeName, "u64">>;
774
- u64Padding: ToField<Vector<"u64">>;
775
- }
776
- export type DeactivatingSharesReified = Reified<DeactivatingShares, DeactivatingSharesFields>;
777
- export declare class DeactivatingShares implements StructClass {
778
- __StructClass: true;
779
- static readonly $typeName: string;
780
- static readonly $numTypeParams = 0;
781
- static readonly $isPhantom: readonly [];
782
- readonly $typeName: string;
783
- readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::DeactivatingShares`;
784
- readonly $typeArgs: [];
785
- readonly $isPhantom: readonly [];
786
- readonly shares: ToField<"u64">;
787
- readonly unsubscribedTsMs: ToField<"u64">;
788
- readonly unlockedTsMs: ToField<"u64">;
789
- readonly unsubscribedIncentivePriceIndex: ToField<VecMap<TypeName, "u64">>;
790
- readonly u64Padding: ToField<Vector<"u64">>;
791
- private constructor();
792
- static reified(): DeactivatingSharesReified;
793
- static get r(): reified.StructClassReified<DeactivatingShares, DeactivatingSharesFields>;
794
- static phantom(): PhantomReified<ToTypeStr<DeactivatingShares>>;
795
- static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::DeactivatingShares" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::DeactivatingShares">;
796
- private static instantiateBcs;
797
- private static cachedBcs;
798
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
799
- shares: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
800
- unsubscribed_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
801
- unlocked_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
802
- unsubscribed_incentive_price_index: import("@mysten/sui/bcs").BcsStruct<{
803
- contents: import("@mysten/sui/bcs").BcsType<{
804
- key: {
805
- name: {
806
- bytes: number[];
807
- };
808
- };
809
- value: string;
810
- }[], Iterable<{
811
- key: {
812
- name: {
813
- bytes: Iterable<number> & {
814
- length: number;
815
- };
816
- };
817
- };
818
- value: string | number | bigint;
819
- }> & {
820
- length: number;
821
- }, string>;
822
- }, string>;
823
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
824
- length: number;
825
- }, string>;
826
- }, string>;
827
- static fromFields(fields: Record<string, any>): DeactivatingShares;
828
- static fromFieldsWithTypes(item: FieldsWithTypes): DeactivatingShares;
829
- static fromBcs(data: Uint8Array): DeactivatingShares;
830
- toJSONField(): {
831
- shares: string;
832
- unsubscribedTsMs: string;
833
- unlockedTsMs: string;
834
- unsubscribedIncentivePriceIndex: {
835
- contents: {
836
- key: {
837
- name: string;
838
- };
839
- value: string;
840
- }[];
841
- };
842
- u64Padding: string[];
843
- };
844
- toJSON(): {
845
- shares: string;
846
- unsubscribedTsMs: string;
847
- unlockedTsMs: string;
848
- unsubscribedIncentivePriceIndex: {
849
- contents: {
850
- key: {
851
- name: string;
852
- };
853
- value: string;
854
- }[];
855
- };
856
- u64Padding: string[];
857
- $typeName: string;
858
- $typeArgs: [];
859
- };
860
- static fromJSONField(field: any): DeactivatingShares;
861
- static fromJSON(json: Record<string, any>): DeactivatingShares;
862
- static fromSuiParsedData(content: SuiParsedData): DeactivatingShares;
863
- static fromSuiObjectData(data: SuiObjectData): DeactivatingShares;
864
- static fetch(client: SuiClient, id: string): Promise<DeactivatingShares>;
865
- }
866
- export declare function isNewStakePoolEvent(type: string): boolean;
867
- export interface NewStakePoolEventFields {
868
- sender: ToField<"address">;
869
- stakePoolInfo: ToField<StakePoolInfo>;
870
- stakePoolConfig: ToField<StakePoolConfig>;
871
- u64Padding: ToField<Vector<"u64">>;
872
- }
873
- export type NewStakePoolEventReified = Reified<NewStakePoolEvent, NewStakePoolEventFields>;
874
- export declare class NewStakePoolEvent implements StructClass {
875
- __StructClass: true;
876
- static readonly $typeName: string;
877
- static readonly $numTypeParams = 0;
878
- static readonly $isPhantom: readonly [];
879
- readonly $typeName: string;
880
- readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::NewStakePoolEvent`;
881
- readonly $typeArgs: [];
882
- readonly $isPhantom: readonly [];
883
- readonly sender: ToField<"address">;
884
- readonly stakePoolInfo: ToField<StakePoolInfo>;
885
- readonly stakePoolConfig: ToField<StakePoolConfig>;
886
- readonly u64Padding: ToField<Vector<"u64">>;
887
- private constructor();
888
- static reified(): NewStakePoolEventReified;
889
- static get r(): reified.StructClassReified<NewStakePoolEvent, NewStakePoolEventFields>;
890
- static phantom(): PhantomReified<ToTypeStr<NewStakePoolEvent>>;
891
- static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::NewStakePoolEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::NewStakePoolEvent">;
892
- private static instantiateBcs;
893
- private static cachedBcs;
894
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
895
- sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
896
- stake_pool_info: import("@mysten/sui/bcs").BcsStruct<{
897
- stake_token: import("@mysten/sui/bcs").BcsStruct<{
898
- name: import("@mysten/sui/bcs").BcsStruct<{
899
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
900
- length: number;
901
- }, string>;
902
- }, string>;
903
- }, string>;
904
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
905
- next_user_share_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
906
- total_share: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
907
- active: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
908
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
909
- length: number;
910
- }, string>;
911
- }, string>;
912
- stake_pool_config: import("@mysten/sui/bcs").BcsStruct<{
913
- unlock_countdown_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
914
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
915
- length: number;
916
- }, string>;
917
- }, string>;
918
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
919
- length: number;
920
- }, string>;
921
- }, string>;
922
- static fromFields(fields: Record<string, any>): NewStakePoolEvent;
923
- static fromFieldsWithTypes(item: FieldsWithTypes): NewStakePoolEvent;
924
- static fromBcs(data: Uint8Array): NewStakePoolEvent;
925
- toJSONField(): {
926
- sender: string;
927
- stakePoolInfo: {
928
- stakeToken: {
929
- name: string;
930
- };
931
- index: string;
932
- nextUserShareId: string;
933
- totalShare: string;
934
- active: boolean;
935
- u64Padding: string[];
936
- };
937
- stakePoolConfig: {
938
- unlockCountdownTsMs: string;
939
- u64Padding: string[];
940
- };
941
- u64Padding: string[];
942
- };
943
- toJSON(): {
944
- sender: string;
945
- stakePoolInfo: {
946
- stakeToken: {
947
- name: string;
948
- };
949
- index: string;
950
- nextUserShareId: string;
951
- totalShare: string;
952
- active: boolean;
953
- u64Padding: string[];
954
- };
955
- stakePoolConfig: {
956
- unlockCountdownTsMs: string;
957
- u64Padding: string[];
958
- };
959
- u64Padding: string[];
960
- $typeName: string;
961
- $typeArgs: [];
962
- };
963
- static fromJSONField(field: any): NewStakePoolEvent;
964
- static fromJSON(json: Record<string, any>): NewStakePoolEvent;
965
- static fromSuiParsedData(content: SuiParsedData): NewStakePoolEvent;
966
- static fromSuiObjectData(data: SuiObjectData): NewStakePoolEvent;
967
- static fetch(client: SuiClient, id: string): Promise<NewStakePoolEvent>;
968
- }
969
- export declare function isAutoCompoundEvent(type: string): boolean;
970
- export interface AutoCompoundEventFields {
971
- sender: ToField<"address">;
972
- index: ToField<"u64">;
973
- incentiveToken: ToField<TypeName>;
974
- incentivePriceIndex: ToField<"u64">;
975
- totalAmount: ToField<"u64">;
976
- compoundUsers: ToField<"u64">;
977
- totalUsers: ToField<"u64">;
978
- u64Padding: ToField<Vector<"u64">>;
979
- }
980
- export type AutoCompoundEventReified = Reified<AutoCompoundEvent, AutoCompoundEventFields>;
981
- export declare class AutoCompoundEvent implements StructClass {
982
- __StructClass: true;
983
- static readonly $typeName: string;
984
- static readonly $numTypeParams = 0;
985
- static readonly $isPhantom: readonly [];
986
- readonly $typeName: string;
987
- readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::AutoCompoundEvent`;
988
- readonly $typeArgs: [];
989
- readonly $isPhantom: readonly [];
990
- readonly sender: ToField<"address">;
991
- readonly index: ToField<"u64">;
992
- readonly incentiveToken: ToField<TypeName>;
993
- readonly incentivePriceIndex: ToField<"u64">;
994
- readonly totalAmount: ToField<"u64">;
995
- readonly compoundUsers: ToField<"u64">;
996
- readonly totalUsers: ToField<"u64">;
997
- readonly u64Padding: ToField<Vector<"u64">>;
998
- private constructor();
999
- static reified(): AutoCompoundEventReified;
1000
- static get r(): reified.StructClassReified<AutoCompoundEvent, AutoCompoundEventFields>;
1001
- static phantom(): PhantomReified<ToTypeStr<AutoCompoundEvent>>;
1002
- static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::AutoCompoundEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::AutoCompoundEvent">;
1003
- private static instantiateBcs;
1004
- private static cachedBcs;
1005
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1006
- sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
1007
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1008
- incentive_token: import("@mysten/sui/bcs").BcsStruct<{
1009
- name: import("@mysten/sui/bcs").BcsStruct<{
1010
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1011
- length: number;
1012
- }, string>;
1013
- }, string>;
1014
- }, string>;
1015
- incentive_price_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1016
- total_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1017
- compound_users: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1018
- total_users: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1019
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
1020
- length: number;
1021
- }, string>;
1022
- }, string>;
1023
- static fromFields(fields: Record<string, any>): AutoCompoundEvent;
1024
- static fromFieldsWithTypes(item: FieldsWithTypes): AutoCompoundEvent;
1025
- static fromBcs(data: Uint8Array): AutoCompoundEvent;
1026
- toJSONField(): {
1027
- sender: string;
1028
- index: string;
1029
- incentiveToken: {
1030
- name: string;
1031
- };
1032
- incentivePriceIndex: string;
1033
- totalAmount: string;
1034
- compoundUsers: string;
1035
- totalUsers: string;
1036
- u64Padding: string[];
1037
- };
1038
- toJSON(): {
1039
- sender: string;
1040
- index: string;
1041
- incentiveToken: {
1042
- name: string;
1043
- };
1044
- incentivePriceIndex: string;
1045
- totalAmount: string;
1046
- compoundUsers: string;
1047
- totalUsers: string;
1048
- u64Padding: string[];
1049
- $typeName: string;
1050
- $typeArgs: [];
1051
- };
1052
- static fromJSONField(field: any): AutoCompoundEvent;
1053
- static fromJSON(json: Record<string, any>): AutoCompoundEvent;
1054
- static fromSuiParsedData(content: SuiParsedData): AutoCompoundEvent;
1055
- static fromSuiObjectData(data: SuiObjectData): AutoCompoundEvent;
1056
- static fetch(client: SuiClient, id: string): Promise<AutoCompoundEvent>;
1057
- }
1058
- export declare function isAddIncentiveTokenEvent(type: string): boolean;
1059
- export interface AddIncentiveTokenEventFields {
1060
- sender: ToField<"address">;
1061
- index: ToField<"u64">;
1062
- incentiveToken: ToField<TypeName>;
1063
- incentiveInfo: ToField<IncentiveInfo>;
1064
- incentiveConfig: ToField<IncentiveConfig>;
1065
- u64Padding: ToField<Vector<"u64">>;
1066
- }
1067
- export type AddIncentiveTokenEventReified = Reified<AddIncentiveTokenEvent, AddIncentiveTokenEventFields>;
1068
- export declare class AddIncentiveTokenEvent implements StructClass {
1069
- __StructClass: true;
1070
- static readonly $typeName: string;
1071
- static readonly $numTypeParams = 0;
1072
- static readonly $isPhantom: readonly [];
1073
- readonly $typeName: string;
1074
- readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::AddIncentiveTokenEvent`;
1075
- readonly $typeArgs: [];
1076
- readonly $isPhantom: readonly [];
1077
- readonly sender: ToField<"address">;
1078
- readonly index: ToField<"u64">;
1079
- readonly incentiveToken: ToField<TypeName>;
1080
- readonly incentiveInfo: ToField<IncentiveInfo>;
1081
- readonly incentiveConfig: ToField<IncentiveConfig>;
1082
- readonly u64Padding: ToField<Vector<"u64">>;
1083
- private constructor();
1084
- static reified(): AddIncentiveTokenEventReified;
1085
- static get r(): reified.StructClassReified<AddIncentiveTokenEvent, AddIncentiveTokenEventFields>;
1086
- static phantom(): PhantomReified<ToTypeStr<AddIncentiveTokenEvent>>;
1087
- static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::AddIncentiveTokenEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::AddIncentiveTokenEvent">;
1088
- private static instantiateBcs;
1089
- private static cachedBcs;
1090
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1091
- sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
1092
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1093
- incentive_token: import("@mysten/sui/bcs").BcsStruct<{
1094
- name: import("@mysten/sui/bcs").BcsStruct<{
1095
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1096
- length: number;
1097
- }, string>;
1098
- }, string>;
1099
- }, string>;
1100
- incentive_info: import("@mysten/sui/bcs").BcsStruct<{
1101
- active: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
1102
- last_allocate_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1103
- incentive_price_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1104
- unallocated_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1105
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
1106
- length: number;
1107
- }, string>;
1108
- }, string>;
1109
- incentive_config: import("@mysten/sui/bcs").BcsStruct<{
1110
- period_incentive_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1111
- incentive_interval_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1112
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
1113
- length: number;
1114
- }, string>;
1115
- }, string>;
1116
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
1117
- length: number;
1118
- }, string>;
1119
- }, string>;
1120
- static fromFields(fields: Record<string, any>): AddIncentiveTokenEvent;
1121
- static fromFieldsWithTypes(item: FieldsWithTypes): AddIncentiveTokenEvent;
1122
- static fromBcs(data: Uint8Array): AddIncentiveTokenEvent;
1123
- toJSONField(): {
1124
- sender: string;
1125
- index: string;
1126
- incentiveToken: {
1127
- name: string;
1128
- };
1129
- incentiveInfo: {
1130
- active: boolean;
1131
- lastAllocateTsMs: string;
1132
- incentivePriceIndex: string;
1133
- unallocatedAmount: string;
1134
- u64Padding: string[];
1135
- };
1136
- incentiveConfig: {
1137
- periodIncentiveAmount: string;
1138
- incentiveIntervalTsMs: string;
1139
- u64Padding: string[];
1140
- };
1141
- u64Padding: string[];
1142
- };
1143
- toJSON(): {
1144
- sender: string;
1145
- index: string;
1146
- incentiveToken: {
1147
- name: string;
1148
- };
1149
- incentiveInfo: {
1150
- active: boolean;
1151
- lastAllocateTsMs: string;
1152
- incentivePriceIndex: string;
1153
- unallocatedAmount: string;
1154
- u64Padding: string[];
1155
- };
1156
- incentiveConfig: {
1157
- periodIncentiveAmount: string;
1158
- incentiveIntervalTsMs: string;
1159
- u64Padding: string[];
1160
- };
1161
- u64Padding: string[];
1162
- $typeName: string;
1163
- $typeArgs: [];
1164
- };
1165
- static fromJSONField(field: any): AddIncentiveTokenEvent;
1166
- static fromJSON(json: Record<string, any>): AddIncentiveTokenEvent;
1167
- static fromSuiParsedData(content: SuiParsedData): AddIncentiveTokenEvent;
1168
- static fromSuiObjectData(data: SuiObjectData): AddIncentiveTokenEvent;
1169
- static fetch(client: SuiClient, id: string): Promise<AddIncentiveTokenEvent>;
1170
- }
1171
- export declare function isDeactivateIncentiveTokenEvent(type: string): boolean;
1172
- export interface DeactivateIncentiveTokenEventFields {
1173
- sender: ToField<"address">;
1174
- index: ToField<"u64">;
1175
- incentiveToken: ToField<TypeName>;
1176
- u64Padding: ToField<Vector<"u64">>;
1177
- }
1178
- export type DeactivateIncentiveTokenEventReified = Reified<DeactivateIncentiveTokenEvent, DeactivateIncentiveTokenEventFields>;
1179
- export declare class DeactivateIncentiveTokenEvent implements StructClass {
1180
- __StructClass: true;
1181
- static readonly $typeName: string;
1182
- static readonly $numTypeParams = 0;
1183
- static readonly $isPhantom: readonly [];
1184
- readonly $typeName: string;
1185
- readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::DeactivateIncentiveTokenEvent`;
1186
- readonly $typeArgs: [];
1187
- readonly $isPhantom: readonly [];
1188
- readonly sender: ToField<"address">;
1189
- readonly index: ToField<"u64">;
1190
- readonly incentiveToken: ToField<TypeName>;
1191
- readonly u64Padding: ToField<Vector<"u64">>;
1192
- private constructor();
1193
- static reified(): DeactivateIncentiveTokenEventReified;
1194
- static get r(): reified.StructClassReified<DeactivateIncentiveTokenEvent, DeactivateIncentiveTokenEventFields>;
1195
- static phantom(): PhantomReified<ToTypeStr<DeactivateIncentiveTokenEvent>>;
1196
- static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::DeactivateIncentiveTokenEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::DeactivateIncentiveTokenEvent">;
1197
- private static instantiateBcs;
1198
- private static cachedBcs;
1199
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1200
- sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
1201
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1202
- incentive_token: import("@mysten/sui/bcs").BcsStruct<{
1203
- name: import("@mysten/sui/bcs").BcsStruct<{
1204
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1205
- length: number;
1206
- }, string>;
1207
- }, string>;
1208
- }, string>;
1209
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
1210
- length: number;
1211
- }, string>;
1212
- }, string>;
1213
- static fromFields(fields: Record<string, any>): DeactivateIncentiveTokenEvent;
1214
- static fromFieldsWithTypes(item: FieldsWithTypes): DeactivateIncentiveTokenEvent;
1215
- static fromBcs(data: Uint8Array): DeactivateIncentiveTokenEvent;
1216
- toJSONField(): {
1217
- sender: string;
1218
- index: string;
1219
- incentiveToken: {
1220
- name: string;
1221
- };
1222
- u64Padding: string[];
1223
- };
1224
- toJSON(): {
1225
- sender: string;
1226
- index: string;
1227
- incentiveToken: {
1228
- name: string;
1229
- };
1230
- u64Padding: string[];
1231
- $typeName: string;
1232
- $typeArgs: [];
1233
- };
1234
- static fromJSONField(field: any): DeactivateIncentiveTokenEvent;
1235
- static fromJSON(json: Record<string, any>): DeactivateIncentiveTokenEvent;
1236
- static fromSuiParsedData(content: SuiParsedData): DeactivateIncentiveTokenEvent;
1237
- static fromSuiObjectData(data: SuiObjectData): DeactivateIncentiveTokenEvent;
1238
- static fetch(client: SuiClient, id: string): Promise<DeactivateIncentiveTokenEvent>;
1239
- }
1240
- export declare function isActivateIncentiveTokenEvent(type: string): boolean;
1241
- export interface ActivateIncentiveTokenEventFields {
1242
- sender: ToField<"address">;
1243
- index: ToField<"u64">;
1244
- incentiveToken: ToField<TypeName>;
1245
- u64Padding: ToField<Vector<"u64">>;
1246
- }
1247
- export type ActivateIncentiveTokenEventReified = Reified<ActivateIncentiveTokenEvent, ActivateIncentiveTokenEventFields>;
1248
- export declare class ActivateIncentiveTokenEvent implements StructClass {
1249
- __StructClass: true;
1250
- static readonly $typeName: string;
1251
- static readonly $numTypeParams = 0;
1252
- static readonly $isPhantom: readonly [];
1253
- readonly $typeName: string;
1254
- readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::ActivateIncentiveTokenEvent`;
1255
- readonly $typeArgs: [];
1256
- readonly $isPhantom: readonly [];
1257
- readonly sender: ToField<"address">;
1258
- readonly index: ToField<"u64">;
1259
- readonly incentiveToken: ToField<TypeName>;
1260
- readonly u64Padding: ToField<Vector<"u64">>;
1261
- private constructor();
1262
- static reified(): ActivateIncentiveTokenEventReified;
1263
- static get r(): reified.StructClassReified<ActivateIncentiveTokenEvent, ActivateIncentiveTokenEventFields>;
1264
- static phantom(): PhantomReified<ToTypeStr<ActivateIncentiveTokenEvent>>;
1265
- static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::ActivateIncentiveTokenEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::ActivateIncentiveTokenEvent">;
1266
- private static instantiateBcs;
1267
- private static cachedBcs;
1268
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1269
- sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
1270
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1271
- incentive_token: import("@mysten/sui/bcs").BcsStruct<{
1272
- name: import("@mysten/sui/bcs").BcsStruct<{
1273
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1274
- length: number;
1275
- }, string>;
1276
- }, string>;
1277
- }, string>;
1278
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
1279
- length: number;
1280
- }, string>;
1281
- }, string>;
1282
- static fromFields(fields: Record<string, any>): ActivateIncentiveTokenEvent;
1283
- static fromFieldsWithTypes(item: FieldsWithTypes): ActivateIncentiveTokenEvent;
1284
- static fromBcs(data: Uint8Array): ActivateIncentiveTokenEvent;
1285
- toJSONField(): {
1286
- sender: string;
1287
- index: string;
1288
- incentiveToken: {
1289
- name: string;
1290
- };
1291
- u64Padding: string[];
1292
- };
1293
- toJSON(): {
1294
- sender: string;
1295
- index: string;
1296
- incentiveToken: {
1297
- name: string;
1298
- };
1299
- u64Padding: string[];
1300
- $typeName: string;
1301
- $typeArgs: [];
1302
- };
1303
- static fromJSONField(field: any): ActivateIncentiveTokenEvent;
1304
- static fromJSON(json: Record<string, any>): ActivateIncentiveTokenEvent;
1305
- static fromSuiParsedData(content: SuiParsedData): ActivateIncentiveTokenEvent;
1306
- static fromSuiObjectData(data: SuiObjectData): ActivateIncentiveTokenEvent;
1307
- static fetch(client: SuiClient, id: string): Promise<ActivateIncentiveTokenEvent>;
1308
- }
1309
- export declare function isRemoveIncentiveTokenEvent(type: string): boolean;
1310
- export interface RemoveIncentiveTokenEventFields {
1311
- sender: ToField<"address">;
1312
- index: ToField<"u64">;
1313
- incentiveToken: ToField<TypeName>;
1314
- incentiveBalanceValue: ToField<"u64">;
1315
- u64Padding: ToField<Vector<"u64">>;
1316
- }
1317
- export type RemoveIncentiveTokenEventReified = Reified<RemoveIncentiveTokenEvent, RemoveIncentiveTokenEventFields>;
1318
- export declare class RemoveIncentiveTokenEvent implements StructClass {
1319
- __StructClass: true;
1320
- static readonly $typeName: string;
1321
- static readonly $numTypeParams = 0;
1322
- static readonly $isPhantom: readonly [];
1323
- readonly $typeName: string;
1324
- readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::RemoveIncentiveTokenEvent`;
1325
- readonly $typeArgs: [];
1326
- readonly $isPhantom: readonly [];
1327
- readonly sender: ToField<"address">;
1328
- readonly index: ToField<"u64">;
1329
- readonly incentiveToken: ToField<TypeName>;
1330
- readonly incentiveBalanceValue: ToField<"u64">;
1331
- readonly u64Padding: ToField<Vector<"u64">>;
1332
- private constructor();
1333
- static reified(): RemoveIncentiveTokenEventReified;
1334
- static get r(): reified.StructClassReified<RemoveIncentiveTokenEvent, RemoveIncentiveTokenEventFields>;
1335
- static phantom(): PhantomReified<ToTypeStr<RemoveIncentiveTokenEvent>>;
1336
- static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::RemoveIncentiveTokenEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::RemoveIncentiveTokenEvent">;
1337
- private static instantiateBcs;
1338
- private static cachedBcs;
1339
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1340
- sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
1341
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1342
- incentive_token: import("@mysten/sui/bcs").BcsStruct<{
1343
- name: import("@mysten/sui/bcs").BcsStruct<{
1344
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1345
- length: number;
1346
- }, string>;
1347
- }, string>;
1348
- }, string>;
1349
- incentive_balance_value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1350
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
1351
- length: number;
1352
- }, string>;
1353
- }, string>;
1354
- static fromFields(fields: Record<string, any>): RemoveIncentiveTokenEvent;
1355
- static fromFieldsWithTypes(item: FieldsWithTypes): RemoveIncentiveTokenEvent;
1356
- static fromBcs(data: Uint8Array): RemoveIncentiveTokenEvent;
1357
- toJSONField(): {
1358
- sender: string;
1359
- index: string;
1360
- incentiveToken: {
1361
- name: string;
1362
- };
1363
- incentiveBalanceValue: string;
1364
- u64Padding: string[];
1365
- };
1366
- toJSON(): {
1367
- sender: string;
1368
- index: string;
1369
- incentiveToken: {
1370
- name: string;
1371
- };
1372
- incentiveBalanceValue: string;
1373
- u64Padding: string[];
1374
- $typeName: string;
1375
- $typeArgs: [];
1376
- };
1377
- static fromJSONField(field: any): RemoveIncentiveTokenEvent;
1378
- static fromJSON(json: Record<string, any>): RemoveIncentiveTokenEvent;
1379
- static fromSuiParsedData(content: SuiParsedData): RemoveIncentiveTokenEvent;
1380
- static fromSuiObjectData(data: SuiObjectData): RemoveIncentiveTokenEvent;
1381
- static fetch(client: SuiClient, id: string): Promise<RemoveIncentiveTokenEvent>;
1382
- }
1383
- export declare function isUpdateUnlockCountdownTsMsEvent(type: string): boolean;
1384
- export interface UpdateUnlockCountdownTsMsEventFields {
1385
- sender: ToField<"address">;
1386
- index: ToField<"u64">;
1387
- previousUnlockCountdownTsMs: ToField<"u64">;
1388
- newUnlockCountdownTsMs: ToField<"u64">;
1389
- u64Padding: ToField<Vector<"u64">>;
1390
- }
1391
- export type UpdateUnlockCountdownTsMsEventReified = Reified<UpdateUnlockCountdownTsMsEvent, UpdateUnlockCountdownTsMsEventFields>;
1392
- export declare class UpdateUnlockCountdownTsMsEvent implements StructClass {
1393
- __StructClass: true;
1394
- static readonly $typeName: string;
1395
- static readonly $numTypeParams = 0;
1396
- static readonly $isPhantom: readonly [];
1397
- readonly $typeName: string;
1398
- readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::UpdateUnlockCountdownTsMsEvent`;
1399
- readonly $typeArgs: [];
1400
- readonly $isPhantom: readonly [];
1401
- readonly sender: ToField<"address">;
1402
- readonly index: ToField<"u64">;
1403
- readonly previousUnlockCountdownTsMs: ToField<"u64">;
1404
- readonly newUnlockCountdownTsMs: ToField<"u64">;
1405
- readonly u64Padding: ToField<Vector<"u64">>;
1406
- private constructor();
1407
- static reified(): UpdateUnlockCountdownTsMsEventReified;
1408
- static get r(): reified.StructClassReified<UpdateUnlockCountdownTsMsEvent, UpdateUnlockCountdownTsMsEventFields>;
1409
- static phantom(): PhantomReified<ToTypeStr<UpdateUnlockCountdownTsMsEvent>>;
1410
- static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::UpdateUnlockCountdownTsMsEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::UpdateUnlockCountdownTsMsEvent">;
1411
- private static instantiateBcs;
1412
- private static cachedBcs;
1413
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1414
- sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
1415
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1416
- previous_unlock_countdown_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1417
- new_unlock_countdown_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1418
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
1419
- length: number;
1420
- }, string>;
1421
- }, string>;
1422
- static fromFields(fields: Record<string, any>): UpdateUnlockCountdownTsMsEvent;
1423
- static fromFieldsWithTypes(item: FieldsWithTypes): UpdateUnlockCountdownTsMsEvent;
1424
- static fromBcs(data: Uint8Array): UpdateUnlockCountdownTsMsEvent;
1425
- toJSONField(): {
1426
- sender: string;
1427
- index: string;
1428
- previousUnlockCountdownTsMs: string;
1429
- newUnlockCountdownTsMs: string;
1430
- u64Padding: string[];
1431
- };
1432
- toJSON(): {
1433
- sender: string;
1434
- index: string;
1435
- previousUnlockCountdownTsMs: string;
1436
- newUnlockCountdownTsMs: string;
1437
- u64Padding: string[];
1438
- $typeName: string;
1439
- $typeArgs: [];
1440
- };
1441
- static fromJSONField(field: any): UpdateUnlockCountdownTsMsEvent;
1442
- static fromJSON(json: Record<string, any>): UpdateUnlockCountdownTsMsEvent;
1443
- static fromSuiParsedData(content: SuiParsedData): UpdateUnlockCountdownTsMsEvent;
1444
- static fromSuiObjectData(data: SuiObjectData): UpdateUnlockCountdownTsMsEvent;
1445
- static fetch(client: SuiClient, id: string): Promise<UpdateUnlockCountdownTsMsEvent>;
1446
- }
1447
- export declare function isUpdateIncentiveConfigEvent(type: string): boolean;
1448
- export interface UpdateIncentiveConfigEventFields {
1449
- sender: ToField<"address">;
1450
- index: ToField<"u64">;
1451
- previousIncentiveConfig: ToField<IncentiveConfig>;
1452
- newIncentiveConfig: ToField<IncentiveConfig>;
1453
- u64Padding: ToField<Vector<"u64">>;
1454
- }
1455
- export type UpdateIncentiveConfigEventReified = Reified<UpdateIncentiveConfigEvent, UpdateIncentiveConfigEventFields>;
1456
- export declare class UpdateIncentiveConfigEvent implements StructClass {
1457
- __StructClass: true;
1458
- static readonly $typeName: string;
1459
- static readonly $numTypeParams = 0;
1460
- static readonly $isPhantom: readonly [];
1461
- readonly $typeName: string;
1462
- readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::UpdateIncentiveConfigEvent`;
1463
- readonly $typeArgs: [];
1464
- readonly $isPhantom: readonly [];
1465
- readonly sender: ToField<"address">;
1466
- readonly index: ToField<"u64">;
1467
- readonly previousIncentiveConfig: ToField<IncentiveConfig>;
1468
- readonly newIncentiveConfig: ToField<IncentiveConfig>;
1469
- readonly u64Padding: ToField<Vector<"u64">>;
1470
- private constructor();
1471
- static reified(): UpdateIncentiveConfigEventReified;
1472
- static get r(): reified.StructClassReified<UpdateIncentiveConfigEvent, UpdateIncentiveConfigEventFields>;
1473
- static phantom(): PhantomReified<ToTypeStr<UpdateIncentiveConfigEvent>>;
1474
- static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::UpdateIncentiveConfigEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::UpdateIncentiveConfigEvent">;
1475
- private static instantiateBcs;
1476
- private static cachedBcs;
1477
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1478
- sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
1479
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1480
- previous_incentive_config: import("@mysten/sui/bcs").BcsStruct<{
1481
- period_incentive_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1482
- incentive_interval_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1483
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
1484
- length: number;
1485
- }, string>;
1486
- }, string>;
1487
- new_incentive_config: import("@mysten/sui/bcs").BcsStruct<{
1488
- period_incentive_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1489
- incentive_interval_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1490
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
1491
- length: number;
1492
- }, string>;
1493
- }, string>;
1494
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
1495
- length: number;
1496
- }, string>;
1497
- }, string>;
1498
- static fromFields(fields: Record<string, any>): UpdateIncentiveConfigEvent;
1499
- static fromFieldsWithTypes(item: FieldsWithTypes): UpdateIncentiveConfigEvent;
1500
- static fromBcs(data: Uint8Array): UpdateIncentiveConfigEvent;
1501
- toJSONField(): {
1502
- sender: string;
1503
- index: string;
1504
- previousIncentiveConfig: {
1505
- periodIncentiveAmount: string;
1506
- incentiveIntervalTsMs: string;
1507
- u64Padding: string[];
1508
- };
1509
- newIncentiveConfig: {
1510
- periodIncentiveAmount: string;
1511
- incentiveIntervalTsMs: string;
1512
- u64Padding: string[];
1513
- };
1514
- u64Padding: string[];
1515
- };
1516
- toJSON(): {
1517
- sender: string;
1518
- index: string;
1519
- previousIncentiveConfig: {
1520
- periodIncentiveAmount: string;
1521
- incentiveIntervalTsMs: string;
1522
- u64Padding: string[];
1523
- };
1524
- newIncentiveConfig: {
1525
- periodIncentiveAmount: string;
1526
- incentiveIntervalTsMs: string;
1527
- u64Padding: string[];
1528
- };
1529
- u64Padding: string[];
1530
- $typeName: string;
1531
- $typeArgs: [];
1532
- };
1533
- static fromJSONField(field: any): UpdateIncentiveConfigEvent;
1534
- static fromJSON(json: Record<string, any>): UpdateIncentiveConfigEvent;
1535
- static fromSuiParsedData(content: SuiParsedData): UpdateIncentiveConfigEvent;
1536
- static fromSuiObjectData(data: SuiObjectData): UpdateIncentiveConfigEvent;
1537
- static fetch(client: SuiClient, id: string): Promise<UpdateIncentiveConfigEvent>;
1538
- }
1539
- export declare function isDepositIncentiveEvent(type: string): boolean;
1540
- export interface DepositIncentiveEventFields {
1541
- sender: ToField<"address">;
1542
- index: ToField<"u64">;
1543
- incentiveTokenType: ToField<TypeName>;
1544
- depositAmount: ToField<"u64">;
1545
- u64Padding: ToField<Vector<"u64">>;
1546
- }
1547
- export type DepositIncentiveEventReified = Reified<DepositIncentiveEvent, DepositIncentiveEventFields>;
1548
- export declare class DepositIncentiveEvent implements StructClass {
1549
- __StructClass: true;
1550
- static readonly $typeName: string;
1551
- static readonly $numTypeParams = 0;
1552
- static readonly $isPhantom: readonly [];
1553
- readonly $typeName: string;
1554
- readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::DepositIncentiveEvent`;
1555
- readonly $typeArgs: [];
1556
- readonly $isPhantom: readonly [];
1557
- readonly sender: ToField<"address">;
1558
- readonly index: ToField<"u64">;
1559
- readonly incentiveTokenType: ToField<TypeName>;
1560
- readonly depositAmount: ToField<"u64">;
1561
- readonly u64Padding: ToField<Vector<"u64">>;
1562
- private constructor();
1563
- static reified(): DepositIncentiveEventReified;
1564
- static get r(): reified.StructClassReified<DepositIncentiveEvent, DepositIncentiveEventFields>;
1565
- static phantom(): PhantomReified<ToTypeStr<DepositIncentiveEvent>>;
1566
- static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::DepositIncentiveEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::DepositIncentiveEvent">;
1567
- private static instantiateBcs;
1568
- private static cachedBcs;
1569
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1570
- sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
1571
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1572
- incentive_token_type: import("@mysten/sui/bcs").BcsStruct<{
1573
- name: import("@mysten/sui/bcs").BcsStruct<{
1574
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1575
- length: number;
1576
- }, string>;
1577
- }, string>;
1578
- }, string>;
1579
- deposit_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1580
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
1581
- length: number;
1582
- }, string>;
1583
- }, string>;
1584
- static fromFields(fields: Record<string, any>): DepositIncentiveEvent;
1585
- static fromFieldsWithTypes(item: FieldsWithTypes): DepositIncentiveEvent;
1586
- static fromBcs(data: Uint8Array): DepositIncentiveEvent;
1587
- toJSONField(): {
1588
- sender: string;
1589
- index: string;
1590
- incentiveTokenType: {
1591
- name: string;
1592
- };
1593
- depositAmount: string;
1594
- u64Padding: string[];
1595
- };
1596
- toJSON(): {
1597
- sender: string;
1598
- index: string;
1599
- incentiveTokenType: {
1600
- name: string;
1601
- };
1602
- depositAmount: string;
1603
- u64Padding: string[];
1604
- $typeName: string;
1605
- $typeArgs: [];
1606
- };
1607
- static fromJSONField(field: any): DepositIncentiveEvent;
1608
- static fromJSON(json: Record<string, any>): DepositIncentiveEvent;
1609
- static fromSuiParsedData(content: SuiParsedData): DepositIncentiveEvent;
1610
- static fromSuiObjectData(data: SuiObjectData): DepositIncentiveEvent;
1611
- static fetch(client: SuiClient, id: string): Promise<DepositIncentiveEvent>;
1612
- }
1613
- export declare function isWithdrawIncentiveEvent(type: string): boolean;
1614
- export interface WithdrawIncentiveEventFields {
1615
- sender: ToField<"address">;
1616
- index: ToField<"u64">;
1617
- incentiveTokenType: ToField<TypeName>;
1618
- withdrawalAmount: ToField<"u64">;
1619
- u64Padding: ToField<Vector<"u64">>;
1620
- }
1621
- export type WithdrawIncentiveEventReified = Reified<WithdrawIncentiveEvent, WithdrawIncentiveEventFields>;
1622
- export declare class WithdrawIncentiveEvent implements StructClass {
1623
- __StructClass: true;
1624
- static readonly $typeName: string;
1625
- static readonly $numTypeParams = 0;
1626
- static readonly $isPhantom: readonly [];
1627
- readonly $typeName: string;
1628
- readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::WithdrawIncentiveEvent`;
1629
- readonly $typeArgs: [];
1630
- readonly $isPhantom: readonly [];
1631
- readonly sender: ToField<"address">;
1632
- readonly index: ToField<"u64">;
1633
- readonly incentiveTokenType: ToField<TypeName>;
1634
- readonly withdrawalAmount: ToField<"u64">;
1635
- readonly u64Padding: ToField<Vector<"u64">>;
1636
- private constructor();
1637
- static reified(): WithdrawIncentiveEventReified;
1638
- static get r(): reified.StructClassReified<WithdrawIncentiveEvent, WithdrawIncentiveEventFields>;
1639
- static phantom(): PhantomReified<ToTypeStr<WithdrawIncentiveEvent>>;
1640
- static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::WithdrawIncentiveEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::WithdrawIncentiveEvent">;
1641
- private static instantiateBcs;
1642
- private static cachedBcs;
1643
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1644
- sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
1645
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1646
- incentive_token_type: import("@mysten/sui/bcs").BcsStruct<{
1647
- name: import("@mysten/sui/bcs").BcsStruct<{
1648
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1649
- length: number;
1650
- }, string>;
1651
- }, string>;
1652
- }, string>;
1653
- withdrawal_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1654
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
1655
- length: number;
1656
- }, string>;
1657
- }, string>;
1658
- static fromFields(fields: Record<string, any>): WithdrawIncentiveEvent;
1659
- static fromFieldsWithTypes(item: FieldsWithTypes): WithdrawIncentiveEvent;
1660
- static fromBcs(data: Uint8Array): WithdrawIncentiveEvent;
1661
- toJSONField(): {
1662
- sender: string;
1663
- index: string;
1664
- incentiveTokenType: {
1665
- name: string;
1666
- };
1667
- withdrawalAmount: string;
1668
- u64Padding: string[];
1669
- };
1670
- toJSON(): {
1671
- sender: string;
1672
- index: string;
1673
- incentiveTokenType: {
1674
- name: string;
1675
- };
1676
- withdrawalAmount: string;
1677
- u64Padding: string[];
1678
- $typeName: string;
1679
- $typeArgs: [];
1680
- };
1681
- static fromJSONField(field: any): WithdrawIncentiveEvent;
1682
- static fromJSON(json: Record<string, any>): WithdrawIncentiveEvent;
1683
- static fromSuiParsedData(content: SuiParsedData): WithdrawIncentiveEvent;
1684
- static fromSuiObjectData(data: SuiObjectData): WithdrawIncentiveEvent;
1685
- static fetch(client: SuiClient, id: string): Promise<WithdrawIncentiveEvent>;
1686
- }
1687
- export declare function isStakeEvent(type: string): boolean;
1688
- export interface StakeEventFields {
1689
- sender: ToField<"address">;
1690
- index: ToField<"u64">;
1691
- lpTokenType: ToField<TypeName>;
1692
- stakeAmount: ToField<"u64">;
1693
- userShareId: ToField<"u64">;
1694
- stakeTsMs: ToField<"u64">;
1695
- lastIncentivePriceIndex: ToField<VecMap<TypeName, "u64">>;
1696
- u64Padding: ToField<Vector<"u64">>;
1697
- }
1698
- export type StakeEventReified = Reified<StakeEvent, StakeEventFields>;
1699
- export declare class StakeEvent implements StructClass {
1700
- __StructClass: true;
1701
- static readonly $typeName: string;
1702
- static readonly $numTypeParams = 0;
1703
- static readonly $isPhantom: readonly [];
1704
- readonly $typeName: string;
1705
- readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::StakeEvent`;
1706
- readonly $typeArgs: [];
1707
- readonly $isPhantom: readonly [];
1708
- readonly sender: ToField<"address">;
1709
- readonly index: ToField<"u64">;
1710
- readonly lpTokenType: ToField<TypeName>;
1711
- readonly stakeAmount: ToField<"u64">;
1712
- readonly userShareId: ToField<"u64">;
1713
- readonly stakeTsMs: ToField<"u64">;
1714
- readonly lastIncentivePriceIndex: ToField<VecMap<TypeName, "u64">>;
1715
- readonly u64Padding: ToField<Vector<"u64">>;
1716
- private constructor();
1717
- static reified(): StakeEventReified;
1718
- static get r(): reified.StructClassReified<StakeEvent, StakeEventFields>;
1719
- static phantom(): PhantomReified<ToTypeStr<StakeEvent>>;
1720
- static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::StakeEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::StakeEvent">;
1721
- private static instantiateBcs;
1722
- private static cachedBcs;
1723
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1724
- sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
1725
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1726
- lp_token_type: import("@mysten/sui/bcs").BcsStruct<{
1727
- name: import("@mysten/sui/bcs").BcsStruct<{
1728
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1729
- length: number;
1730
- }, string>;
1731
- }, string>;
1732
- }, string>;
1733
- stake_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1734
- user_share_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1735
- stake_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1736
- last_incentive_price_index: import("@mysten/sui/bcs").BcsStruct<{
1737
- contents: import("@mysten/sui/bcs").BcsType<{
1738
- key: {
1739
- name: {
1740
- bytes: number[];
1741
- };
1742
- };
1743
- value: string;
1744
- }[], Iterable<{
1745
- key: {
1746
- name: {
1747
- bytes: Iterable<number> & {
1748
- length: number;
1749
- };
1750
- };
1751
- };
1752
- value: string | number | bigint;
1753
- }> & {
1754
- length: number;
1755
- }, string>;
1756
- }, string>;
1757
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
1758
- length: number;
1759
- }, string>;
1760
- }, string>;
1761
- static fromFields(fields: Record<string, any>): StakeEvent;
1762
- static fromFieldsWithTypes(item: FieldsWithTypes): StakeEvent;
1763
- static fromBcs(data: Uint8Array): StakeEvent;
1764
- toJSONField(): {
1765
- sender: string;
1766
- index: string;
1767
- lpTokenType: {
1768
- name: string;
1769
- };
1770
- stakeAmount: string;
1771
- userShareId: string;
1772
- stakeTsMs: string;
1773
- lastIncentivePriceIndex: {
1774
- contents: {
1775
- key: {
1776
- name: string;
1777
- };
1778
- value: string;
1779
- }[];
1780
- };
1781
- u64Padding: string[];
1782
- };
1783
- toJSON(): {
1784
- sender: string;
1785
- index: string;
1786
- lpTokenType: {
1787
- name: string;
1788
- };
1789
- stakeAmount: string;
1790
- userShareId: string;
1791
- stakeTsMs: string;
1792
- lastIncentivePriceIndex: {
1793
- contents: {
1794
- key: {
1795
- name: string;
1796
- };
1797
- value: string;
1798
- }[];
1799
- };
1800
- u64Padding: string[];
1801
- $typeName: string;
1802
- $typeArgs: [];
1803
- };
1804
- static fromJSONField(field: any): StakeEvent;
1805
- static fromJSON(json: Record<string, any>): StakeEvent;
1806
- static fromSuiParsedData(content: SuiParsedData): StakeEvent;
1807
- static fromSuiObjectData(data: SuiObjectData): StakeEvent;
1808
- static fetch(client: SuiClient, id: string): Promise<StakeEvent>;
1809
- }
1810
- export declare function isUpdatePoolInfoU64PaddingEvent(type: string): boolean;
1811
- export interface UpdatePoolInfoU64PaddingEventFields {
1812
- sender: ToField<"address">;
1813
- index: ToField<"u64">;
1814
- u64Padding: ToField<Vector<"u64">>;
1815
- }
1816
- export type UpdatePoolInfoU64PaddingEventReified = Reified<UpdatePoolInfoU64PaddingEvent, UpdatePoolInfoU64PaddingEventFields>;
1817
- export declare class UpdatePoolInfoU64PaddingEvent implements StructClass {
1818
- __StructClass: true;
1819
- static readonly $typeName: string;
1820
- static readonly $numTypeParams = 0;
1821
- static readonly $isPhantom: readonly [];
1822
- readonly $typeName: string;
1823
- readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::UpdatePoolInfoU64PaddingEvent`;
1824
- readonly $typeArgs: [];
1825
- readonly $isPhantom: readonly [];
1826
- readonly sender: ToField<"address">;
1827
- readonly index: ToField<"u64">;
1828
- readonly u64Padding: ToField<Vector<"u64">>;
1829
- private constructor();
1830
- static reified(): UpdatePoolInfoU64PaddingEventReified;
1831
- static get r(): reified.StructClassReified<UpdatePoolInfoU64PaddingEvent, UpdatePoolInfoU64PaddingEventFields>;
1832
- static phantom(): PhantomReified<ToTypeStr<UpdatePoolInfoU64PaddingEvent>>;
1833
- static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::UpdatePoolInfoU64PaddingEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::UpdatePoolInfoU64PaddingEvent">;
1834
- private static instantiateBcs;
1835
- private static cachedBcs;
1836
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1837
- sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
1838
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1839
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
1840
- length: number;
1841
- }, string>;
1842
- }, string>;
1843
- static fromFields(fields: Record<string, any>): UpdatePoolInfoU64PaddingEvent;
1844
- static fromFieldsWithTypes(item: FieldsWithTypes): UpdatePoolInfoU64PaddingEvent;
1845
- static fromBcs(data: Uint8Array): UpdatePoolInfoU64PaddingEvent;
1846
- toJSONField(): {
1847
- sender: string;
1848
- index: string;
1849
- u64Padding: string[];
1850
- };
1851
- toJSON(): {
1852
- sender: string;
1853
- index: string;
1854
- u64Padding: string[];
1855
- $typeName: string;
1856
- $typeArgs: [];
1857
- };
1858
- static fromJSONField(field: any): UpdatePoolInfoU64PaddingEvent;
1859
- static fromJSON(json: Record<string, any>): UpdatePoolInfoU64PaddingEvent;
1860
- static fromSuiParsedData(content: SuiParsedData): UpdatePoolInfoU64PaddingEvent;
1861
- static fromSuiObjectData(data: SuiObjectData): UpdatePoolInfoU64PaddingEvent;
1862
- static fetch(client: SuiClient, id: string): Promise<UpdatePoolInfoU64PaddingEvent>;
1863
- }
1864
- export declare function isSnapshotEvent(type: string): boolean;
1865
- export interface SnapshotEventFields {
1866
- sender: ToField<"address">;
1867
- index: ToField<"u64">;
1868
- userShareId: ToField<"u64">;
1869
- shares: ToField<"u64">;
1870
- tlpPrice: ToField<"u64">;
1871
- lastTsMs: ToField<"u64">;
1872
- currentTsMs: ToField<"u64">;
1873
- exp: ToField<"u64">;
1874
- u64Padding: ToField<Vector<"u64">>;
1875
- }
1876
- export type SnapshotEventReified = Reified<SnapshotEvent, SnapshotEventFields>;
1877
- export declare class SnapshotEvent implements StructClass {
1878
- __StructClass: true;
1879
- static readonly $typeName: string;
1880
- static readonly $numTypeParams = 0;
1881
- static readonly $isPhantom: readonly [];
1882
- readonly $typeName: string;
1883
- readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::SnapshotEvent`;
1884
- readonly $typeArgs: [];
1885
- readonly $isPhantom: readonly [];
1886
- readonly sender: ToField<"address">;
1887
- readonly index: ToField<"u64">;
1888
- readonly userShareId: ToField<"u64">;
1889
- readonly shares: ToField<"u64">;
1890
- readonly tlpPrice: ToField<"u64">;
1891
- readonly lastTsMs: ToField<"u64">;
1892
- readonly currentTsMs: ToField<"u64">;
1893
- readonly exp: ToField<"u64">;
1894
- readonly u64Padding: ToField<Vector<"u64">>;
1895
- private constructor();
1896
- static reified(): SnapshotEventReified;
1897
- static get r(): reified.StructClassReified<SnapshotEvent, SnapshotEventFields>;
1898
- static phantom(): PhantomReified<ToTypeStr<SnapshotEvent>>;
1899
- static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::SnapshotEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::SnapshotEvent">;
1900
- private static instantiateBcs;
1901
- private static cachedBcs;
1902
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1903
- sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
1904
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1905
- user_share_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1906
- shares: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1907
- tlp_price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1908
- last_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1909
- current_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1910
- exp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1911
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
1912
- length: number;
1913
- }, string>;
1914
- }, string>;
1915
- static fromFields(fields: Record<string, any>): SnapshotEvent;
1916
- static fromFieldsWithTypes(item: FieldsWithTypes): SnapshotEvent;
1917
- static fromBcs(data: Uint8Array): SnapshotEvent;
1918
- toJSONField(): {
1919
- sender: string;
1920
- index: string;
1921
- userShareId: string;
1922
- shares: string;
1923
- tlpPrice: string;
1924
- lastTsMs: string;
1925
- currentTsMs: string;
1926
- exp: string;
1927
- u64Padding: string[];
1928
- };
1929
- toJSON(): {
1930
- sender: string;
1931
- index: string;
1932
- userShareId: string;
1933
- shares: string;
1934
- tlpPrice: string;
1935
- lastTsMs: string;
1936
- currentTsMs: string;
1937
- exp: string;
1938
- u64Padding: string[];
1939
- $typeName: string;
1940
- $typeArgs: [];
1941
- };
1942
- static fromJSONField(field: any): SnapshotEvent;
1943
- static fromJSON(json: Record<string, any>): SnapshotEvent;
1944
- static fromSuiParsedData(content: SuiParsedData): SnapshotEvent;
1945
- static fromSuiObjectData(data: SuiObjectData): SnapshotEvent;
1946
- static fetch(client: SuiClient, id: string): Promise<SnapshotEvent>;
1947
- }
1948
- export declare function isUnsubscribeEvent(type: string): boolean;
1949
- export interface UnsubscribeEventFields {
1950
- sender: ToField<"address">;
1951
- index: ToField<"u64">;
1952
- lpTokenType: ToField<TypeName>;
1953
- userShareId: ToField<"u64">;
1954
- unsubscribedShares: ToField<"u64">;
1955
- unsubscribeTsMs: ToField<"u64">;
1956
- unlockedTsMs: ToField<"u64">;
1957
- u64Padding: ToField<Vector<"u64">>;
1958
- }
1959
- export type UnsubscribeEventReified = Reified<UnsubscribeEvent, UnsubscribeEventFields>;
1960
- export declare class UnsubscribeEvent implements StructClass {
1961
- __StructClass: true;
1962
- static readonly $typeName: string;
1963
- static readonly $numTypeParams = 0;
1964
- static readonly $isPhantom: readonly [];
1965
- readonly $typeName: string;
1966
- readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::UnsubscribeEvent`;
1967
- readonly $typeArgs: [];
1968
- readonly $isPhantom: readonly [];
1969
- readonly sender: ToField<"address">;
1970
- readonly index: ToField<"u64">;
1971
- readonly lpTokenType: ToField<TypeName>;
1972
- readonly userShareId: ToField<"u64">;
1973
- readonly unsubscribedShares: ToField<"u64">;
1974
- readonly unsubscribeTsMs: ToField<"u64">;
1975
- readonly unlockedTsMs: ToField<"u64">;
1976
- readonly u64Padding: ToField<Vector<"u64">>;
1977
- private constructor();
1978
- static reified(): UnsubscribeEventReified;
1979
- static get r(): reified.StructClassReified<UnsubscribeEvent, UnsubscribeEventFields>;
1980
- static phantom(): PhantomReified<ToTypeStr<UnsubscribeEvent>>;
1981
- static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::UnsubscribeEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::UnsubscribeEvent">;
1982
- private static instantiateBcs;
1983
- private static cachedBcs;
1984
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1985
- sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
1986
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1987
- lp_token_type: import("@mysten/sui/bcs").BcsStruct<{
1988
- name: import("@mysten/sui/bcs").BcsStruct<{
1989
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1990
- length: number;
1991
- }, string>;
1992
- }, string>;
1993
- }, string>;
1994
- user_share_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1995
- unsubscribed_shares: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1996
- unsubscribe_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1997
- unlocked_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1998
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
1999
- length: number;
2000
- }, string>;
2001
- }, string>;
2002
- static fromFields(fields: Record<string, any>): UnsubscribeEvent;
2003
- static fromFieldsWithTypes(item: FieldsWithTypes): UnsubscribeEvent;
2004
- static fromBcs(data: Uint8Array): UnsubscribeEvent;
2005
- toJSONField(): {
2006
- sender: string;
2007
- index: string;
2008
- lpTokenType: {
2009
- name: string;
2010
- };
2011
- userShareId: string;
2012
- unsubscribedShares: string;
2013
- unsubscribeTsMs: string;
2014
- unlockedTsMs: string;
2015
- u64Padding: string[];
2016
- };
2017
- toJSON(): {
2018
- sender: string;
2019
- index: string;
2020
- lpTokenType: {
2021
- name: string;
2022
- };
2023
- userShareId: string;
2024
- unsubscribedShares: string;
2025
- unsubscribeTsMs: string;
2026
- unlockedTsMs: string;
2027
- u64Padding: string[];
2028
- $typeName: string;
2029
- $typeArgs: [];
2030
- };
2031
- static fromJSONField(field: any): UnsubscribeEvent;
2032
- static fromJSON(json: Record<string, any>): UnsubscribeEvent;
2033
- static fromSuiParsedData(content: SuiParsedData): UnsubscribeEvent;
2034
- static fromSuiObjectData(data: SuiObjectData): UnsubscribeEvent;
2035
- static fetch(client: SuiClient, id: string): Promise<UnsubscribeEvent>;
2036
- }
2037
- export declare function isUnstakeEvent(type: string): boolean;
2038
- export interface UnstakeEventFields {
2039
- sender: ToField<"address">;
2040
- index: ToField<"u64">;
2041
- lpTokenType: ToField<TypeName>;
2042
- userShareId: ToField<"u64">;
2043
- unstakeAmount: ToField<"u64">;
2044
- unstakeTsMs: ToField<"u64">;
2045
- u64Padding: ToField<Vector<"u64">>;
2046
- }
2047
- export type UnstakeEventReified = Reified<UnstakeEvent, UnstakeEventFields>;
2048
- export declare class UnstakeEvent implements StructClass {
2049
- __StructClass: true;
2050
- static readonly $typeName: string;
2051
- static readonly $numTypeParams = 0;
2052
- static readonly $isPhantom: readonly [];
2053
- readonly $typeName: string;
2054
- readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::UnstakeEvent`;
2055
- readonly $typeArgs: [];
2056
- readonly $isPhantom: readonly [];
2057
- readonly sender: ToField<"address">;
2058
- readonly index: ToField<"u64">;
2059
- readonly lpTokenType: ToField<TypeName>;
2060
- readonly userShareId: ToField<"u64">;
2061
- readonly unstakeAmount: ToField<"u64">;
2062
- readonly unstakeTsMs: ToField<"u64">;
2063
- readonly u64Padding: ToField<Vector<"u64">>;
2064
- private constructor();
2065
- static reified(): UnstakeEventReified;
2066
- static get r(): reified.StructClassReified<UnstakeEvent, UnstakeEventFields>;
2067
- static phantom(): PhantomReified<ToTypeStr<UnstakeEvent>>;
2068
- static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::UnstakeEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::UnstakeEvent">;
2069
- private static instantiateBcs;
2070
- private static cachedBcs;
2071
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
2072
- sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
2073
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2074
- lp_token_type: import("@mysten/sui/bcs").BcsStruct<{
2075
- name: import("@mysten/sui/bcs").BcsStruct<{
2076
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
2077
- length: number;
2078
- }, string>;
2079
- }, string>;
2080
- }, string>;
2081
- user_share_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2082
- unstake_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2083
- unstake_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2084
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
2085
- length: number;
2086
- }, string>;
2087
- }, string>;
2088
- static fromFields(fields: Record<string, any>): UnstakeEvent;
2089
- static fromFieldsWithTypes(item: FieldsWithTypes): UnstakeEvent;
2090
- static fromBcs(data: Uint8Array): UnstakeEvent;
2091
- toJSONField(): {
2092
- sender: string;
2093
- index: string;
2094
- lpTokenType: {
2095
- name: string;
2096
- };
2097
- userShareId: string;
2098
- unstakeAmount: string;
2099
- unstakeTsMs: string;
2100
- u64Padding: string[];
2101
- };
2102
- toJSON(): {
2103
- sender: string;
2104
- index: string;
2105
- lpTokenType: {
2106
- name: string;
2107
- };
2108
- userShareId: string;
2109
- unstakeAmount: string;
2110
- unstakeTsMs: string;
2111
- u64Padding: string[];
2112
- $typeName: string;
2113
- $typeArgs: [];
2114
- };
2115
- static fromJSONField(field: any): UnstakeEvent;
2116
- static fromJSON(json: Record<string, any>): UnstakeEvent;
2117
- static fromSuiParsedData(content: SuiParsedData): UnstakeEvent;
2118
- static fromSuiObjectData(data: SuiObjectData): UnstakeEvent;
2119
- static fetch(client: SuiClient, id: string): Promise<UnstakeEvent>;
2120
- }
2121
- export declare function isHarvestPerUserShareEvent(type: string): boolean;
2122
- export interface HarvestPerUserShareEventFields {
2123
- sender: ToField<"address">;
2124
- index: ToField<"u64">;
2125
- incentiveTokenType: ToField<TypeName>;
2126
- harvestAmount: ToField<"u64">;
2127
- userShareId: ToField<"u64">;
2128
- u64Padding: ToField<Vector<"u64">>;
2129
- }
2130
- export type HarvestPerUserShareEventReified = Reified<HarvestPerUserShareEvent, HarvestPerUserShareEventFields>;
2131
- export declare class HarvestPerUserShareEvent implements StructClass {
2132
- __StructClass: true;
2133
- static readonly $typeName: string;
2134
- static readonly $numTypeParams = 0;
2135
- static readonly $isPhantom: readonly [];
2136
- readonly $typeName: string;
2137
- readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::HarvestPerUserShareEvent`;
2138
- readonly $typeArgs: [];
2139
- readonly $isPhantom: readonly [];
2140
- readonly sender: ToField<"address">;
2141
- readonly index: ToField<"u64">;
2142
- readonly incentiveTokenType: ToField<TypeName>;
2143
- readonly harvestAmount: ToField<"u64">;
2144
- readonly userShareId: ToField<"u64">;
2145
- readonly u64Padding: ToField<Vector<"u64">>;
2146
- private constructor();
2147
- static reified(): HarvestPerUserShareEventReified;
2148
- static get r(): reified.StructClassReified<HarvestPerUserShareEvent, HarvestPerUserShareEventFields>;
2149
- static phantom(): PhantomReified<ToTypeStr<HarvestPerUserShareEvent>>;
2150
- static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::HarvestPerUserShareEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::HarvestPerUserShareEvent">;
2151
- private static instantiateBcs;
2152
- private static cachedBcs;
2153
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
2154
- sender: import("@mysten/sui/bcs").BcsType<string, string, string>;
2155
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2156
- incentive_token_type: import("@mysten/sui/bcs").BcsStruct<{
2157
- name: import("@mysten/sui/bcs").BcsStruct<{
2158
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
2159
- length: number;
2160
- }, string>;
2161
- }, string>;
2162
- }, string>;
2163
- harvest_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2164
- user_share_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2165
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
2166
- length: number;
2167
- }, string>;
2168
- }, string>;
2169
- static fromFields(fields: Record<string, any>): HarvestPerUserShareEvent;
2170
- static fromFieldsWithTypes(item: FieldsWithTypes): HarvestPerUserShareEvent;
2171
- static fromBcs(data: Uint8Array): HarvestPerUserShareEvent;
2172
- toJSONField(): {
2173
- sender: string;
2174
- index: string;
2175
- incentiveTokenType: {
2176
- name: string;
2177
- };
2178
- harvestAmount: string;
2179
- userShareId: string;
2180
- u64Padding: string[];
2181
- };
2182
- toJSON(): {
2183
- sender: string;
2184
- index: string;
2185
- incentiveTokenType: {
2186
- name: string;
2187
- };
2188
- harvestAmount: string;
2189
- userShareId: string;
2190
- u64Padding: string[];
2191
- $typeName: string;
2192
- $typeArgs: [];
2193
- };
2194
- static fromJSONField(field: any): HarvestPerUserShareEvent;
2195
- static fromJSON(json: Record<string, any>): HarvestPerUserShareEvent;
2196
- static fromSuiParsedData(content: SuiParsedData): HarvestPerUserShareEvent;
2197
- static fromSuiObjectData(data: SuiObjectData): HarvestPerUserShareEvent;
2198
- static fetch(client: SuiClient, id: string): Promise<HarvestPerUserShareEvent>;
2199
- }