@typus/typus-perp-sdk 1.1.30-testnet → 1.1.31-codegen

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (249) hide show
  1. package/dist/src/api/sentio.js +604 -538
  2. package/dist/src/client.d.ts +27 -0
  3. package/dist/src/client.js +108 -0
  4. package/dist/src/fetch.d.ts +160 -34
  5. package/dist/src/fetch.js +365 -665
  6. package/dist/src/generated/typus_perp/admin.d.ts +117 -0
  7. package/dist/src/generated/typus_perp/admin.js +110 -0
  8. package/dist/src/generated/typus_perp/competition.d.ts +22 -0
  9. package/dist/src/generated/typus_perp/competition.js +58 -0
  10. package/dist/src/generated/typus_perp/deps/std/type_name.d.ts +17 -0
  11. package/dist/src/generated/typus_perp/deps/std/type_name.js +25 -0
  12. package/dist/src/generated/typus_perp/deps/sui/balance.d.ts +12 -0
  13. package/dist/src/generated/typus_perp/deps/sui/balance.js +20 -0
  14. package/dist/src/generated/typus_perp/deps/sui/object.d.ts +8 -0
  15. package/dist/src/generated/typus_perp/deps/sui/object.js +16 -0
  16. package/dist/src/generated/typus_perp/deps/sui/object_table.d.ts +19 -0
  17. package/dist/src/generated/typus_perp/deps/sui/object_table.js +59 -0
  18. package/dist/src/generated/typus_perp/deps/sui/vec_set.d.ts +18 -0
  19. package/dist/src/generated/typus_perp/deps/sui/vec_set.js +25 -0
  20. package/dist/src/generated/typus_perp/deps/typus/keyed_big_vector.d.ts +30 -0
  21. package/dist/src/generated/typus_perp/deps/typus/keyed_big_vector.js +67 -0
  22. package/dist/src/generated/typus_perp/deps/typus/linked_object_table.d.ts +32 -0
  23. package/dist/src/generated/typus_perp/deps/typus/linked_object_table.js +71 -0
  24. package/dist/src/generated/typus_perp/deps/typus_framework/vault.d.ts +23 -0
  25. package/dist/src/generated/typus_perp/deps/typus_framework/vault.js +61 -0
  26. package/dist/src/generated/typus_perp/escrow.d.ts +59 -0
  27. package/dist/src/generated/typus_perp/escrow.js +76 -0
  28. package/dist/src/generated/typus_perp/lending.d.ts +47 -0
  29. package/dist/src/generated/typus_perp/lending.js +50 -0
  30. package/dist/src/generated/typus_perp/lp_pool.d.ts +2327 -0
  31. package/dist/src/generated/typus_perp/lp_pool.js +1956 -0
  32. package/dist/src/generated/typus_perp/math.d.ts +95 -0
  33. package/dist/src/generated/typus_perp/math.js +97 -0
  34. package/dist/src/generated/typus_perp/position.d.ts +234 -0
  35. package/dist/src/generated/typus_perp/position.js +204 -0
  36. package/dist/src/generated/typus_perp/symbol.d.ts +18 -0
  37. package/dist/src/generated/typus_perp/symbol.js +55 -0
  38. package/dist/src/generated/typus_perp/tlp.d.ts +13 -0
  39. package/dist/src/generated/typus_perp/tlp.js +56 -0
  40. package/dist/src/generated/typus_perp/trading.d.ts +2486 -0
  41. package/dist/src/generated/typus_perp/trading.js +2476 -0
  42. package/dist/src/generated/typus_perp/treasury_caps.d.ts +13 -0
  43. package/dist/src/{_framework/init-loader.js → generated/typus_perp/treasury_caps.js} +17 -10
  44. package/dist/src/generated/typus_perp/user_account.d.ts +40 -0
  45. package/dist/src/generated/typus_perp/user_account.js +72 -0
  46. package/dist/src/generated/typus_stake_pool/admin.d.ts +100 -0
  47. package/dist/src/generated/typus_stake_pool/admin.js +91 -0
  48. package/dist/src/generated/typus_stake_pool/deps/std/type_name.d.ts +17 -0
  49. package/dist/src/generated/typus_stake_pool/deps/std/type_name.js +25 -0
  50. package/dist/src/generated/typus_stake_pool/deps/sui/object.d.ts +8 -0
  51. package/dist/src/generated/typus_stake_pool/deps/sui/object.js +16 -0
  52. package/dist/src/generated/typus_stake_pool/deps/sui/vec_map.d.ts +30 -0
  53. package/dist/src/generated/typus_stake_pool/deps/sui/vec_map.js +37 -0
  54. package/dist/src/generated/typus_stake_pool/deps/sui/vec_set.d.ts +18 -0
  55. package/dist/src/generated/typus_stake_pool/deps/sui/vec_set.js +25 -0
  56. package/dist/src/generated/typus_stake_pool/stake_pool.d.ts +1023 -0
  57. package/dist/src/generated/typus_stake_pool/stake_pool.js +918 -0
  58. package/dist/src/generated/utils/index.d.ts +11 -0
  59. package/dist/src/generated/utils/index.js +135 -0
  60. package/dist/src/grpc/graphql.d.ts +26 -0
  61. package/dist/src/grpc/graphql.js +126 -0
  62. package/dist/src/grpc/grpc.d.ts +1 -0
  63. package/dist/src/grpc/grpc.js +38 -0
  64. package/dist/src/grpc/ledgerService.js +64 -0
  65. package/dist/src/grpc/liveDataService.d.ts +0 -0
  66. package/dist/src/grpc/liveDataService.js +49 -0
  67. package/dist/src/index.d.ts +0 -4
  68. package/dist/src/index.js +20 -39
  69. package/dist/src/user/history.js +611 -680
  70. package/dist/src/user/order.d.ts +11 -11
  71. package/dist/src/user/order.js +171 -302
  72. package/dist/src/user/orderWithBidReceipt.d.ts +8 -6
  73. package/dist/src/user/orderWithBidReceipt.js +127 -226
  74. package/dist/src/user/tlp.d.ts +32 -23
  75. package/dist/src/user/tlp.js +316 -468
  76. package/package.json +45 -37
  77. package/dist/src/_dependencies/source/0x1/ascii/structs.d.ts +0 -88
  78. package/dist/src/_dependencies/source/0x1/ascii/structs.js +0 -398
  79. package/dist/src/_dependencies/source/0x1/index.d.ts +0 -3
  80. package/dist/src/_dependencies/source/0x1/index.js +0 -6
  81. package/dist/src/_dependencies/source/0x1/option/structs.d.ts +0 -50
  82. package/dist/src/_dependencies/source/0x1/option/structs.js +0 -271
  83. package/dist/src/_dependencies/source/0x1/string/structs.d.ts +0 -48
  84. package/dist/src/_dependencies/source/0x1/string/structs.js +0 -256
  85. package/dist/src/_dependencies/source/0x1/type-name/structs.d.ts +0 -49
  86. package/dist/src/_dependencies/source/0x1/type-name/structs.js +0 -223
  87. package/dist/src/_dependencies/source/0x2/bag/structs.d.ts +0 -54
  88. package/dist/src/_dependencies/source/0x2/bag/structs.js +0 -229
  89. package/dist/src/_dependencies/source/0x2/balance/structs.d.ts +0 -84
  90. package/dist/src/_dependencies/source/0x2/balance/structs.js +0 -386
  91. package/dist/src/_dependencies/source/0x2/coin/structs.d.ts +0 -406
  92. package/dist/src/_dependencies/source/0x2/coin/structs.js +0 -1247
  93. package/dist/src/_dependencies/source/0x2/index.d.ts +0 -3
  94. package/dist/src/_dependencies/source/0x2/index.js +0 -6
  95. package/dist/src/_dependencies/source/0x2/linked-table/structs.d.ts +0 -132
  96. package/dist/src/_dependencies/source/0x2/linked-table/structs.js +0 -438
  97. package/dist/src/_dependencies/source/0x2/object/structs.d.ts +0 -86
  98. package/dist/src/_dependencies/source/0x2/object/structs.js +0 -364
  99. package/dist/src/_dependencies/source/0x2/object-table/structs.d.ts +0 -54
  100. package/dist/src/_dependencies/source/0x2/object-table/structs.js +0 -248
  101. package/dist/src/_dependencies/source/0x2/sui/structs.d.ts +0 -44
  102. package/dist/src/_dependencies/source/0x2/sui/structs.js +0 -222
  103. package/dist/src/_dependencies/source/0x2/table/structs.d.ts +0 -54
  104. package/dist/src/_dependencies/source/0x2/table/structs.js +0 -248
  105. package/dist/src/_dependencies/source/0x2/table-vec/structs.d.ts +0 -59
  106. package/dist/src/_dependencies/source/0x2/table-vec/structs.js +0 -274
  107. package/dist/src/_dependencies/source/0x2/token/structs.d.ts +0 -421
  108. package/dist/src/_dependencies/source/0x2/token/structs.js +0 -1095
  109. package/dist/src/_dependencies/source/0x2/transfer-policy/structs.d.ts +0 -348
  110. package/dist/src/_dependencies/source/0x2/transfer-policy/structs.js +0 -1091
  111. package/dist/src/_dependencies/source/0x2/url/structs.d.ts +0 -49
  112. package/dist/src/_dependencies/source/0x2/url/structs.js +0 -223
  113. package/dist/src/_dependencies/source/0x2/vec-map/structs.d.ts +0 -106
  114. package/dist/src/_dependencies/source/0x2/vec-map/structs.js +0 -446
  115. package/dist/src/_dependencies/source/0x2/vec-set/structs.d.ts +0 -49
  116. package/dist/src/_dependencies/source/0x2/vec-set/structs.js +0 -270
  117. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/airdrop/structs.d.ts +0 -422
  118. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/airdrop/structs.js +0 -1084
  119. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/big-vector/structs.d.ts +0 -130
  120. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/big-vector/structs.js +0 -456
  121. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/critbit/structs.d.ts +0 -208
  122. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/critbit/structs.js +0 -653
  123. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/ecosystem/structs.d.ts +0 -362
  124. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/ecosystem/structs.js +0 -899
  125. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/index.d.ts +0 -8
  126. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/index.js +0 -11
  127. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/init.d.ts +0 -2
  128. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/init.js +0 -102
  129. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/keyed-big-vector/structs.d.ts +0 -202
  130. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/keyed-big-vector/structs.js +0 -632
  131. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/leaderboard/structs.d.ts +0 -600
  132. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/leaderboard/structs.js +0 -1459
  133. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/linked-object-table/structs.d.ts +0 -136
  134. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/linked-object-table/structs.js +0 -438
  135. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/linked-set/structs.d.ts +0 -127
  136. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/linked-set/structs.js +0 -430
  137. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/tails-staking/structs.d.ts +0 -957
  138. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/tails-staking/structs.js +0 -2261
  139. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/tgld/structs.d.ts +0 -244
  140. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/tgld/structs.js +0 -733
  141. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/user/structs.d.ts +0 -294
  142. package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/user/structs.js +0 -892
  143. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/authority/structs.d.ts +0 -73
  144. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/authority/structs.js +0 -263
  145. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/balance-pool/structs.d.ts +0 -294
  146. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/balance-pool/structs.js +0 -591
  147. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/big-vector/structs.d.ts +0 -64
  148. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/big-vector/structs.js +0 -258
  149. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/dutch/structs.d.ts +0 -756
  150. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/dutch/structs.js +0 -1721
  151. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/i64/structs.d.ts +0 -44
  152. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/i64/structs.js +0 -222
  153. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/index.d.ts +0 -3
  154. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/index.js +0 -6
  155. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/init.d.ts +0 -2
  156. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/init.js +0 -89
  157. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/linked-list/structs.d.ts +0 -135
  158. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/linked-list/structs.js +0 -444
  159. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/vault/structs.d.ts +0 -2106
  160. package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/vault/structs.js +0 -4952
  161. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/discount-mint/structs.d.ts +0 -390
  162. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/discount-mint/structs.js +0 -844
  163. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/index.d.ts +0 -6
  164. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/index.js +0 -9
  165. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/init.d.ts +0 -2
  166. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/init.js +0 -69
  167. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/royalty-rule/structs.d.ts +0 -89
  168. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/royalty-rule/structs.js +0 -376
  169. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/staking/structs.d.ts +0 -386
  170. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/staking/structs.js +0 -881
  171. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/table-vec/structs.d.ts +0 -59
  172. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/table-vec/structs.js +0 -274
  173. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/typus-nft/structs.d.ts +0 -974
  174. package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/typus-nft/structs.js +0 -2387
  175. package/dist/src/_framework/init-loader.d.ts +0 -2
  176. package/dist/src/_framework/loader.d.ts +0 -17
  177. package/dist/src/_framework/loader.js +0 -108
  178. package/dist/src/_framework/reified.d.ts +0 -108
  179. package/dist/src/_framework/reified.js +0 -237
  180. package/dist/src/_framework/util.d.ts +0 -35
  181. package/dist/src/_framework/util.js +0 -396
  182. package/dist/src/_framework/vector.d.ts +0 -42
  183. package/dist/src/_framework/vector.js +0 -112
  184. package/dist/src/pyth.js +0 -1
  185. package/dist/src/typus_perp/admin/functions.d.ts +0 -59
  186. package/dist/src/typus_perp/admin/functions.js +0 -122
  187. package/dist/src/typus_perp/admin/structs.d.ts +0 -467
  188. package/dist/src/typus_perp/admin/structs.js +0 -1065
  189. package/dist/src/typus_perp/competition/functions.d.ts +0 -24
  190. package/dist/src/typus_perp/competition/functions.js +0 -38
  191. package/dist/src/typus_perp/competition/structs.d.ts +0 -80
  192. package/dist/src/typus_perp/competition/structs.js +0 -288
  193. package/dist/src/typus_perp/error/functions.d.ts +0 -73
  194. package/dist/src/typus_perp/error/functions.js +0 -363
  195. package/dist/src/typus_perp/escrow/functions.d.ts +0 -17
  196. package/dist/src/typus_perp/escrow/functions.js +0 -36
  197. package/dist/src/typus_perp/escrow/structs.d.ts +0 -160
  198. package/dist/src/typus_perp/escrow/structs.js +0 -324
  199. package/dist/src/typus_perp/index.d.ts +0 -1
  200. package/dist/src/typus_perp/index.js +0 -7
  201. package/dist/src/typus_perp/init.d.ts +0 -2
  202. package/dist/src/typus_perp/init.js +0 -118
  203. package/dist/src/typus_perp/lending/functions.d.ts +0 -15
  204. package/dist/src/typus_perp/lending/functions.js +0 -22
  205. package/dist/src/typus_perp/lp-pool/functions.d.ts +0 -460
  206. package/dist/src/typus_perp/lp-pool/functions.js +0 -732
  207. package/dist/src/typus_perp/lp-pool/structs.d.ts +0 -3705
  208. package/dist/src/typus_perp/lp-pool/structs.js +0 -6789
  209. package/dist/src/typus_perp/math/functions.d.ts +0 -29
  210. package/dist/src/typus_perp/math/functions.js +0 -61
  211. package/dist/src/typus_perp/position/functions.d.ts +0 -379
  212. package/dist/src/typus_perp/position/functions.js +0 -713
  213. package/dist/src/typus_perp/position/structs.d.ts +0 -905
  214. package/dist/src/typus_perp/position/structs.js +0 -1450
  215. package/dist/src/typus_perp/symbol/functions.d.ts +0 -9
  216. package/dist/src/typus_perp/symbol/functions.js +0 -24
  217. package/dist/src/typus_perp/symbol/structs.d.ts +0 -70
  218. package/dist/src/typus_perp/symbol/structs.js +0 -235
  219. package/dist/src/typus_perp/tlp/functions.d.ts +0 -19
  220. package/dist/src/typus_perp/tlp/functions.js +0 -40
  221. package/dist/src/typus_perp/tlp/structs.d.ts +0 -89
  222. package/dist/src/typus_perp/tlp/structs.js +0 -365
  223. package/dist/src/typus_perp/token-interface/functions.d.ts +0 -11
  224. package/dist/src/typus_perp/token-interface/functions.js +0 -22
  225. package/dist/src/typus_perp/trading/functions.d.ts +0 -812
  226. package/dist/src/typus_perp/trading/functions.js +0 -1218
  227. package/dist/src/typus_perp/trading/structs.d.ts +0 -3060
  228. package/dist/src/typus_perp/trading/structs.js +0 -5813
  229. package/dist/src/typus_perp/treasury-caps/functions.d.ts +0 -9
  230. package/dist/src/typus_perp/treasury-caps/functions.js +0 -36
  231. package/dist/src/typus_perp/treasury-caps/structs.d.ts +0 -49
  232. package/dist/src/typus_perp/treasury-caps/structs.js +0 -223
  233. package/dist/src/typus_perp/user-account/functions.d.ts +0 -36
  234. package/dist/src/typus_perp/user-account/functions.js +0 -70
  235. package/dist/src/typus_perp/user-account/structs.d.ts +0 -148
  236. package/dist/src/typus_perp/user-account/structs.js +0 -448
  237. package/dist/src/typus_stake_pool/admin/functions.d.ts +0 -49
  238. package/dist/src/typus_stake_pool/admin/functions.js +0 -105
  239. package/dist/src/typus_stake_pool/admin/structs.d.ts +0 -365
  240. package/dist/src/typus_stake_pool/admin/structs.js +0 -789
  241. package/dist/src/typus_stake_pool/index.d.ts +0 -1
  242. package/dist/src/typus_stake_pool/index.js +0 -7
  243. package/dist/src/typus_stake_pool/init.d.ts +0 -2
  244. package/dist/src/typus_stake_pool/init.js +0 -69
  245. package/dist/src/typus_stake_pool/stake-pool/functions.d.ts +0 -229
  246. package/dist/src/typus_stake_pool/stake-pool/functions.js +0 -380
  247. package/dist/src/typus_stake_pool/stake-pool/structs.d.ts +0 -2199
  248. package/dist/src/typus_stake_pool/stake-pool/structs.js +0 -4653
  249. /package/dist/src/{pyth.d.ts → grpc/ledgerService.d.ts} +0 -0
@@ -1,2106 +0,0 @@
1
- import * as reified from "../../../../_framework/reified";
2
- import { PhantomReified, Reified, StructClass, ToField, ToTypeStr } from "../../../../_framework/reified";
3
- import { FieldsWithTypes } from "../../../../_framework/util";
4
- import { Vector } from "../../../../_framework/vector";
5
- import { Option } from "../../0x1/option/structs";
6
- import { String } from "../../0x1/string/structs";
7
- import { TypeName } from "../../0x1/type-name/structs";
8
- import { ID, UID } from "../../0x2/object/structs";
9
- import { PKG_V1 } from "../index";
10
- import { SuiClient, SuiObjectData, SuiParsedData } from "@mysten/sui/client";
11
- export declare function isActivate(type: string): boolean;
12
- export interface ActivateFields {
13
- signer: ToField<"address">;
14
- index: ToField<"u64">;
15
- token: ToField<TypeName>;
16
- amount: ToField<"u64">;
17
- hasNext: ToField<"bool">;
18
- }
19
- export type ActivateReified = Reified<Activate, ActivateFields>;
20
- export declare class Activate implements StructClass {
21
- __StructClass: true;
22
- static readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Activate";
23
- static readonly $numTypeParams = 0;
24
- static readonly $isPhantom: readonly [];
25
- readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Activate";
26
- readonly $fullTypeName: `${typeof PKG_V1}::vault::Activate`;
27
- readonly $typeArgs: [];
28
- readonly $isPhantom: readonly [];
29
- readonly signer: ToField<"address">;
30
- readonly index: ToField<"u64">;
31
- readonly token: ToField<TypeName>;
32
- readonly amount: ToField<"u64">;
33
- readonly hasNext: ToField<"bool">;
34
- private constructor();
35
- static reified(): ActivateReified;
36
- static get r(): reified.StructClassReified<Activate, ActivateFields>;
37
- static phantom(): PhantomReified<ToTypeStr<Activate>>;
38
- static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Activate">;
39
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
40
- signer: import("@mysten/sui/bcs").BcsType<string, string, string>;
41
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
42
- token: import("@mysten/sui/bcs").BcsStruct<{
43
- name: import("@mysten/sui/bcs").BcsStruct<{
44
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
45
- length: number;
46
- }, string>;
47
- }, string>;
48
- }, string>;
49
- amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
50
- has_next: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
51
- }, string>;
52
- static fromFields(fields: Record<string, any>): Activate;
53
- static fromFieldsWithTypes(item: FieldsWithTypes): Activate;
54
- static fromBcs(data: Uint8Array): Activate;
55
- toJSONField(): {
56
- signer: string;
57
- index: string;
58
- token: {
59
- name: string;
60
- };
61
- amount: string;
62
- hasNext: boolean;
63
- };
64
- toJSON(): {
65
- signer: string;
66
- index: string;
67
- token: {
68
- name: string;
69
- };
70
- amount: string;
71
- hasNext: boolean;
72
- $typeName: string;
73
- $typeArgs: [];
74
- };
75
- static fromJSONField(field: any): Activate;
76
- static fromJSON(json: Record<string, any>): Activate;
77
- static fromSuiParsedData(content: SuiParsedData): Activate;
78
- static fromSuiObjectData(data: SuiObjectData): Activate;
79
- static fetch(client: SuiClient, id: string): Promise<Activate>;
80
- }
81
- export declare function isBidShare(type: string): boolean;
82
- export interface BidShareFields {
83
- receipt: ToField<"address">;
84
- share: ToField<"u64">;
85
- u64Padding: ToField<Vector<"u64">>;
86
- }
87
- export type BidShareReified = Reified<BidShare, BidShareFields>;
88
- export declare class BidShare implements StructClass {
89
- __StructClass: true;
90
- static readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::BidShare";
91
- static readonly $numTypeParams = 0;
92
- static readonly $isPhantom: readonly [];
93
- readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::BidShare";
94
- readonly $fullTypeName: `${typeof PKG_V1}::vault::BidShare`;
95
- readonly $typeArgs: [];
96
- readonly $isPhantom: readonly [];
97
- readonly receipt: ToField<"address">;
98
- readonly share: ToField<"u64">;
99
- readonly u64Padding: ToField<Vector<"u64">>;
100
- private constructor();
101
- static reified(): BidShareReified;
102
- static get r(): reified.StructClassReified<BidShare, BidShareFields>;
103
- static phantom(): PhantomReified<ToTypeStr<BidShare>>;
104
- static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::BidShare">;
105
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
106
- receipt: import("@mysten/sui/bcs").BcsType<string, string, string>;
107
- share: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
108
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
109
- length: number;
110
- }, string>;
111
- }, string>;
112
- static fromFields(fields: Record<string, any>): BidShare;
113
- static fromFieldsWithTypes(item: FieldsWithTypes): BidShare;
114
- static fromBcs(data: Uint8Array): BidShare;
115
- toJSONField(): {
116
- receipt: string;
117
- share: string;
118
- u64Padding: string[];
119
- };
120
- toJSON(): {
121
- receipt: string;
122
- share: string;
123
- u64Padding: string[];
124
- $typeName: string;
125
- $typeArgs: [];
126
- };
127
- static fromJSONField(field: any): BidShare;
128
- static fromJSON(json: Record<string, any>): BidShare;
129
- static fromSuiParsedData(content: SuiParsedData): BidShare;
130
- static fromSuiObjectData(data: SuiObjectData): BidShare;
131
- static fetch(client: SuiClient, id: string): Promise<BidShare>;
132
- }
133
- export declare function isBidVault(type: string): boolean;
134
- export interface BidVaultFields {
135
- id: ToField<UID>;
136
- depositToken: ToField<TypeName>;
137
- bidToken: ToField<TypeName>;
138
- incentiveToken: ToField<Option<TypeName>>;
139
- index: ToField<"u64">;
140
- shareSupply: ToField<"u64">;
141
- metadata: ToField<String>;
142
- u64Padding: ToField<Vector<"u64">>;
143
- bcsPadding: ToField<Vector<"u8">>;
144
- }
145
- export type BidVaultReified = Reified<BidVault, BidVaultFields>;
146
- export declare class BidVault implements StructClass {
147
- __StructClass: true;
148
- static readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::BidVault";
149
- static readonly $numTypeParams = 0;
150
- static readonly $isPhantom: readonly [];
151
- readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::BidVault";
152
- readonly $fullTypeName: `${typeof PKG_V1}::vault::BidVault`;
153
- readonly $typeArgs: [];
154
- readonly $isPhantom: readonly [];
155
- readonly id: ToField<UID>;
156
- readonly depositToken: ToField<TypeName>;
157
- readonly bidToken: ToField<TypeName>;
158
- readonly incentiveToken: ToField<Option<TypeName>>;
159
- readonly index: ToField<"u64">;
160
- readonly shareSupply: ToField<"u64">;
161
- readonly metadata: ToField<String>;
162
- readonly u64Padding: ToField<Vector<"u64">>;
163
- readonly bcsPadding: ToField<Vector<"u8">>;
164
- private constructor();
165
- static reified(): BidVaultReified;
166
- static get r(): reified.StructClassReified<BidVault, BidVaultFields>;
167
- static phantom(): PhantomReified<ToTypeStr<BidVault>>;
168
- static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::BidVault">;
169
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
170
- id: import("@mysten/sui/bcs").BcsStruct<{
171
- id: import("@mysten/sui/bcs").BcsStruct<{
172
- bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
173
- }, string>;
174
- }, string>;
175
- deposit_token: import("@mysten/sui/bcs").BcsStruct<{
176
- name: import("@mysten/sui/bcs").BcsStruct<{
177
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
178
- length: number;
179
- }, string>;
180
- }, string>;
181
- }, string>;
182
- bid_token: import("@mysten/sui/bcs").BcsStruct<{
183
- name: import("@mysten/sui/bcs").BcsStruct<{
184
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
185
- length: number;
186
- }, string>;
187
- }, string>;
188
- }, string>;
189
- incentive_token: import("@mysten/sui/bcs").BcsStruct<{
190
- vec: import("@mysten/sui/bcs").BcsType<{
191
- name: {
192
- bytes: number[];
193
- };
194
- }[], Iterable<{
195
- name: {
196
- bytes: Iterable<number> & {
197
- length: number;
198
- };
199
- };
200
- }> & {
201
- length: number;
202
- }, string>;
203
- }, string>;
204
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
205
- share_supply: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
206
- metadata: import("@mysten/sui/bcs").BcsStruct<{
207
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
208
- length: number;
209
- }, string>;
210
- }, string>;
211
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
212
- length: number;
213
- }, string>;
214
- bcs_padding: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
215
- length: number;
216
- }, string>;
217
- }, string>;
218
- static fromFields(fields: Record<string, any>): BidVault;
219
- static fromFieldsWithTypes(item: FieldsWithTypes): BidVault;
220
- static fromBcs(data: Uint8Array): BidVault;
221
- toJSONField(): {
222
- id: string;
223
- depositToken: {
224
- name: string;
225
- };
226
- bidToken: {
227
- name: string;
228
- };
229
- incentiveToken: {
230
- name: string;
231
- } | null;
232
- index: string;
233
- shareSupply: string;
234
- metadata: string;
235
- u64Padding: string[];
236
- bcsPadding: number[];
237
- };
238
- toJSON(): {
239
- id: string;
240
- depositToken: {
241
- name: string;
242
- };
243
- bidToken: {
244
- name: string;
245
- };
246
- incentiveToken: {
247
- name: string;
248
- } | null;
249
- index: string;
250
- shareSupply: string;
251
- metadata: string;
252
- u64Padding: string[];
253
- bcsPadding: number[];
254
- $typeName: string;
255
- $typeArgs: [];
256
- };
257
- static fromJSONField(field: any): BidVault;
258
- static fromJSON(json: Record<string, any>): BidVault;
259
- static fromSuiParsedData(content: SuiParsedData): BidVault;
260
- static fromSuiObjectData(data: SuiObjectData): BidVault;
261
- static fetch(client: SuiClient, id: string): Promise<BidVault>;
262
- }
263
- export declare function isClaim(type: string): boolean;
264
- export interface ClaimFields {
265
- signer: ToField<"address">;
266
- index: ToField<"u64">;
267
- token: ToField<TypeName>;
268
- amount: ToField<"u64">;
269
- }
270
- export type ClaimReified = Reified<Claim, ClaimFields>;
271
- export declare class Claim implements StructClass {
272
- __StructClass: true;
273
- static readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Claim";
274
- static readonly $numTypeParams = 0;
275
- static readonly $isPhantom: readonly [];
276
- readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Claim";
277
- readonly $fullTypeName: `${typeof PKG_V1}::vault::Claim`;
278
- readonly $typeArgs: [];
279
- readonly $isPhantom: readonly [];
280
- readonly signer: ToField<"address">;
281
- readonly index: ToField<"u64">;
282
- readonly token: ToField<TypeName>;
283
- readonly amount: ToField<"u64">;
284
- private constructor();
285
- static reified(): ClaimReified;
286
- static get r(): reified.StructClassReified<Claim, ClaimFields>;
287
- static phantom(): PhantomReified<ToTypeStr<Claim>>;
288
- static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Claim">;
289
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
290
- signer: import("@mysten/sui/bcs").BcsType<string, string, string>;
291
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
292
- token: import("@mysten/sui/bcs").BcsStruct<{
293
- name: import("@mysten/sui/bcs").BcsStruct<{
294
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
295
- length: number;
296
- }, string>;
297
- }, string>;
298
- }, string>;
299
- amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
300
- }, string>;
301
- static fromFields(fields: Record<string, any>): Claim;
302
- static fromFieldsWithTypes(item: FieldsWithTypes): Claim;
303
- static fromBcs(data: Uint8Array): Claim;
304
- toJSONField(): {
305
- signer: string;
306
- index: string;
307
- token: {
308
- name: string;
309
- };
310
- amount: string;
311
- };
312
- toJSON(): {
313
- signer: string;
314
- index: string;
315
- token: {
316
- name: string;
317
- };
318
- amount: string;
319
- $typeName: string;
320
- $typeArgs: [];
321
- };
322
- static fromJSONField(field: any): Claim;
323
- static fromJSON(json: Record<string, any>): Claim;
324
- static fromSuiParsedData(content: SuiParsedData): Claim;
325
- static fromSuiObjectData(data: SuiObjectData): Claim;
326
- static fetch(client: SuiClient, id: string): Promise<Claim>;
327
- }
328
- export declare function isCompound(type: string): boolean;
329
- export interface CompoundFields {
330
- signer: ToField<"address">;
331
- index: ToField<"u64">;
332
- token: ToField<TypeName>;
333
- amount: ToField<"u64">;
334
- feeAmount: ToField<"u64">;
335
- feeShareAmount: ToField<"u64">;
336
- sharedFeePool: ToField<Option<Vector<"u8">>>;
337
- }
338
- export type CompoundReified = Reified<Compound, CompoundFields>;
339
- export declare class Compound implements StructClass {
340
- __StructClass: true;
341
- static readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Compound";
342
- static readonly $numTypeParams = 0;
343
- static readonly $isPhantom: readonly [];
344
- readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Compound";
345
- readonly $fullTypeName: `${typeof PKG_V1}::vault::Compound`;
346
- readonly $typeArgs: [];
347
- readonly $isPhantom: readonly [];
348
- readonly signer: ToField<"address">;
349
- readonly index: ToField<"u64">;
350
- readonly token: ToField<TypeName>;
351
- readonly amount: ToField<"u64">;
352
- readonly feeAmount: ToField<"u64">;
353
- readonly feeShareAmount: ToField<"u64">;
354
- readonly sharedFeePool: ToField<Option<Vector<"u8">>>;
355
- private constructor();
356
- static reified(): CompoundReified;
357
- static get r(): reified.StructClassReified<Compound, CompoundFields>;
358
- static phantom(): PhantomReified<ToTypeStr<Compound>>;
359
- static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Compound">;
360
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
361
- signer: import("@mysten/sui/bcs").BcsType<string, string, string>;
362
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
363
- token: import("@mysten/sui/bcs").BcsStruct<{
364
- name: import("@mysten/sui/bcs").BcsStruct<{
365
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
366
- length: number;
367
- }, string>;
368
- }, string>;
369
- }, string>;
370
- amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
371
- fee_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
372
- fee_share_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
373
- shared_fee_pool: import("@mysten/sui/bcs").BcsStruct<{
374
- vec: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
375
- length: number;
376
- }> & {
377
- length: number;
378
- }, string>;
379
- }, string>;
380
- }, string>;
381
- static fromFields(fields: Record<string, any>): Compound;
382
- static fromFieldsWithTypes(item: FieldsWithTypes): Compound;
383
- static fromBcs(data: Uint8Array): Compound;
384
- toJSONField(): {
385
- signer: string;
386
- index: string;
387
- token: {
388
- name: string;
389
- };
390
- amount: string;
391
- feeAmount: string;
392
- feeShareAmount: string;
393
- sharedFeePool: number[] | null;
394
- };
395
- toJSON(): {
396
- signer: string;
397
- index: string;
398
- token: {
399
- name: string;
400
- };
401
- amount: string;
402
- feeAmount: string;
403
- feeShareAmount: string;
404
- sharedFeePool: number[] | null;
405
- $typeName: string;
406
- $typeArgs: [];
407
- };
408
- static fromJSONField(field: any): Compound;
409
- static fromJSON(json: Record<string, any>): Compound;
410
- static fromSuiParsedData(content: SuiParsedData): Compound;
411
- static fromSuiObjectData(data: SuiObjectData): Compound;
412
- static fetch(client: SuiClient, id: string): Promise<Compound>;
413
- }
414
- export declare function isDelivery(type: string): boolean;
415
- export interface DeliveryFields {
416
- signer: ToField<"address">;
417
- index: ToField<"u64">;
418
- premiumToken: ToField<TypeName>;
419
- incentiveToken: ToField<TypeName>;
420
- premium: ToField<"u64">;
421
- incentive: ToField<"u64">;
422
- }
423
- export type DeliveryReified = Reified<Delivery, DeliveryFields>;
424
- export declare class Delivery implements StructClass {
425
- __StructClass: true;
426
- static readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Delivery";
427
- static readonly $numTypeParams = 0;
428
- static readonly $isPhantom: readonly [];
429
- readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Delivery";
430
- readonly $fullTypeName: `${typeof PKG_V1}::vault::Delivery`;
431
- readonly $typeArgs: [];
432
- readonly $isPhantom: readonly [];
433
- readonly signer: ToField<"address">;
434
- readonly index: ToField<"u64">;
435
- readonly premiumToken: ToField<TypeName>;
436
- readonly incentiveToken: ToField<TypeName>;
437
- readonly premium: ToField<"u64">;
438
- readonly incentive: ToField<"u64">;
439
- private constructor();
440
- static reified(): DeliveryReified;
441
- static get r(): reified.StructClassReified<Delivery, DeliveryFields>;
442
- static phantom(): PhantomReified<ToTypeStr<Delivery>>;
443
- static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Delivery">;
444
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
445
- signer: import("@mysten/sui/bcs").BcsType<string, string, string>;
446
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
447
- premium_token: import("@mysten/sui/bcs").BcsStruct<{
448
- name: import("@mysten/sui/bcs").BcsStruct<{
449
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
450
- length: number;
451
- }, string>;
452
- }, string>;
453
- }, string>;
454
- incentive_token: import("@mysten/sui/bcs").BcsStruct<{
455
- name: import("@mysten/sui/bcs").BcsStruct<{
456
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
457
- length: number;
458
- }, string>;
459
- }, string>;
460
- }, string>;
461
- premium: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
462
- incentive: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
463
- }, string>;
464
- static fromFields(fields: Record<string, any>): Delivery;
465
- static fromFieldsWithTypes(item: FieldsWithTypes): Delivery;
466
- static fromBcs(data: Uint8Array): Delivery;
467
- toJSONField(): {
468
- signer: string;
469
- index: string;
470
- premiumToken: {
471
- name: string;
472
- };
473
- incentiveToken: {
474
- name: string;
475
- };
476
- premium: string;
477
- incentive: string;
478
- };
479
- toJSON(): {
480
- signer: string;
481
- index: string;
482
- premiumToken: {
483
- name: string;
484
- };
485
- incentiveToken: {
486
- name: string;
487
- };
488
- premium: string;
489
- incentive: string;
490
- $typeName: string;
491
- $typeArgs: [];
492
- };
493
- static fromJSONField(field: any): Delivery;
494
- static fromJSON(json: Record<string, any>): Delivery;
495
- static fromSuiParsedData(content: SuiParsedData): Delivery;
496
- static fromSuiObjectData(data: SuiObjectData): Delivery;
497
- static fetch(client: SuiClient, id: string): Promise<Delivery>;
498
- }
499
- export declare function isDeposit(type: string): boolean;
500
- export interface DepositFields {
501
- signer: ToField<"address">;
502
- index: ToField<"u64">;
503
- token: ToField<TypeName>;
504
- amount: ToField<"u64">;
505
- }
506
- export type DepositReified = Reified<Deposit, DepositFields>;
507
- export declare class Deposit implements StructClass {
508
- __StructClass: true;
509
- static readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Deposit";
510
- static readonly $numTypeParams = 0;
511
- static readonly $isPhantom: readonly [];
512
- readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Deposit";
513
- readonly $fullTypeName: `${typeof PKG_V1}::vault::Deposit`;
514
- readonly $typeArgs: [];
515
- readonly $isPhantom: readonly [];
516
- readonly signer: ToField<"address">;
517
- readonly index: ToField<"u64">;
518
- readonly token: ToField<TypeName>;
519
- readonly amount: ToField<"u64">;
520
- private constructor();
521
- static reified(): DepositReified;
522
- static get r(): reified.StructClassReified<Deposit, DepositFields>;
523
- static phantom(): PhantomReified<ToTypeStr<Deposit>>;
524
- static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Deposit">;
525
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
526
- signer: import("@mysten/sui/bcs").BcsType<string, string, string>;
527
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
528
- token: import("@mysten/sui/bcs").BcsStruct<{
529
- name: import("@mysten/sui/bcs").BcsStruct<{
530
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
531
- length: number;
532
- }, string>;
533
- }, string>;
534
- }, string>;
535
- amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
536
- }, string>;
537
- static fromFields(fields: Record<string, any>): Deposit;
538
- static fromFieldsWithTypes(item: FieldsWithTypes): Deposit;
539
- static fromBcs(data: Uint8Array): Deposit;
540
- toJSONField(): {
541
- signer: string;
542
- index: string;
543
- token: {
544
- name: string;
545
- };
546
- amount: string;
547
- };
548
- toJSON(): {
549
- signer: string;
550
- index: string;
551
- token: {
552
- name: string;
553
- };
554
- amount: string;
555
- $typeName: string;
556
- $typeArgs: [];
557
- };
558
- static fromJSONField(field: any): Deposit;
559
- static fromJSON(json: Record<string, any>): Deposit;
560
- static fromSuiParsedData(content: SuiParsedData): Deposit;
561
- static fromSuiObjectData(data: SuiObjectData): Deposit;
562
- static fetch(client: SuiClient, id: string): Promise<Deposit>;
563
- }
564
- export declare function isDepositShare(type: string): boolean;
565
- export interface DepositShareFields {
566
- receipt: ToField<"address">;
567
- activeShare: ToField<"u64">;
568
- deactivatingShare: ToField<"u64">;
569
- inactiveShare: ToField<"u64">;
570
- warmupShare: ToField<"u64">;
571
- premiumShare: ToField<"u64">;
572
- incentiveShare: ToField<"u64">;
573
- u64Padding: ToField<Vector<"u64">>;
574
- }
575
- export type DepositShareReified = Reified<DepositShare, DepositShareFields>;
576
- export declare class DepositShare implements StructClass {
577
- __StructClass: true;
578
- static readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::DepositShare";
579
- static readonly $numTypeParams = 0;
580
- static readonly $isPhantom: readonly [];
581
- readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::DepositShare";
582
- readonly $fullTypeName: `${typeof PKG_V1}::vault::DepositShare`;
583
- readonly $typeArgs: [];
584
- readonly $isPhantom: readonly [];
585
- readonly receipt: ToField<"address">;
586
- readonly activeShare: ToField<"u64">;
587
- readonly deactivatingShare: ToField<"u64">;
588
- readonly inactiveShare: ToField<"u64">;
589
- readonly warmupShare: ToField<"u64">;
590
- readonly premiumShare: ToField<"u64">;
591
- readonly incentiveShare: ToField<"u64">;
592
- readonly u64Padding: ToField<Vector<"u64">>;
593
- private constructor();
594
- static reified(): DepositShareReified;
595
- static get r(): reified.StructClassReified<DepositShare, DepositShareFields>;
596
- static phantom(): PhantomReified<ToTypeStr<DepositShare>>;
597
- static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::DepositShare">;
598
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
599
- receipt: import("@mysten/sui/bcs").BcsType<string, string, string>;
600
- active_share: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
601
- deactivating_share: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
602
- inactive_share: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
603
- warmup_share: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
604
- premium_share: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
605
- incentive_share: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
606
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
607
- length: number;
608
- }, string>;
609
- }, string>;
610
- static fromFields(fields: Record<string, any>): DepositShare;
611
- static fromFieldsWithTypes(item: FieldsWithTypes): DepositShare;
612
- static fromBcs(data: Uint8Array): DepositShare;
613
- toJSONField(): {
614
- receipt: string;
615
- activeShare: string;
616
- deactivatingShare: string;
617
- inactiveShare: string;
618
- warmupShare: string;
619
- premiumShare: string;
620
- incentiveShare: string;
621
- u64Padding: string[];
622
- };
623
- toJSON(): {
624
- receipt: string;
625
- activeShare: string;
626
- deactivatingShare: string;
627
- inactiveShare: string;
628
- warmupShare: string;
629
- premiumShare: string;
630
- incentiveShare: string;
631
- u64Padding: string[];
632
- $typeName: string;
633
- $typeArgs: [];
634
- };
635
- static fromJSONField(field: any): DepositShare;
636
- static fromJSON(json: Record<string, any>): DepositShare;
637
- static fromSuiParsedData(content: SuiParsedData): DepositShare;
638
- static fromSuiObjectData(data: SuiObjectData): DepositShare;
639
- static fetch(client: SuiClient, id: string): Promise<DepositShare>;
640
- }
641
- export declare function isDepositVault(type: string): boolean;
642
- export interface DepositVaultFields {
643
- id: ToField<UID>;
644
- depositToken: ToField<TypeName>;
645
- bidToken: ToField<TypeName>;
646
- incentiveToken: ToField<Option<TypeName>>;
647
- index: ToField<"u64">;
648
- feeBp: ToField<"u64">;
649
- feeShareBp: ToField<"u64">;
650
- sharedFeePool: ToField<Option<Vector<"u8">>>;
651
- activeShareSupply: ToField<"u64">;
652
- deactivatingShareSupply: ToField<"u64">;
653
- inactiveShareSupply: ToField<"u64">;
654
- warmupShareSupply: ToField<"u64">;
655
- premiumShareSupply: ToField<"u64">;
656
- incentiveShareSupply: ToField<"u64">;
657
- hasNext: ToField<"bool">;
658
- metadata: ToField<String>;
659
- u64Padding: ToField<Vector<"u64">>;
660
- bcsPadding: ToField<Vector<"u8">>;
661
- }
662
- export type DepositVaultReified = Reified<DepositVault, DepositVaultFields>;
663
- export declare class DepositVault implements StructClass {
664
- __StructClass: true;
665
- static readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::DepositVault";
666
- static readonly $numTypeParams = 0;
667
- static readonly $isPhantom: readonly [];
668
- readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::DepositVault";
669
- readonly $fullTypeName: `${typeof PKG_V1}::vault::DepositVault`;
670
- readonly $typeArgs: [];
671
- readonly $isPhantom: readonly [];
672
- readonly id: ToField<UID>;
673
- readonly depositToken: ToField<TypeName>;
674
- readonly bidToken: ToField<TypeName>;
675
- readonly incentiveToken: ToField<Option<TypeName>>;
676
- readonly index: ToField<"u64">;
677
- readonly feeBp: ToField<"u64">;
678
- readonly feeShareBp: ToField<"u64">;
679
- readonly sharedFeePool: ToField<Option<Vector<"u8">>>;
680
- readonly activeShareSupply: ToField<"u64">;
681
- readonly deactivatingShareSupply: ToField<"u64">;
682
- readonly inactiveShareSupply: ToField<"u64">;
683
- readonly warmupShareSupply: ToField<"u64">;
684
- readonly premiumShareSupply: ToField<"u64">;
685
- readonly incentiveShareSupply: ToField<"u64">;
686
- readonly hasNext: ToField<"bool">;
687
- readonly metadata: ToField<String>;
688
- readonly u64Padding: ToField<Vector<"u64">>;
689
- readonly bcsPadding: ToField<Vector<"u8">>;
690
- private constructor();
691
- static reified(): DepositVaultReified;
692
- static get r(): reified.StructClassReified<DepositVault, DepositVaultFields>;
693
- static phantom(): PhantomReified<ToTypeStr<DepositVault>>;
694
- static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::DepositVault">;
695
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
696
- id: import("@mysten/sui/bcs").BcsStruct<{
697
- id: import("@mysten/sui/bcs").BcsStruct<{
698
- bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
699
- }, string>;
700
- }, string>;
701
- deposit_token: import("@mysten/sui/bcs").BcsStruct<{
702
- name: import("@mysten/sui/bcs").BcsStruct<{
703
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
704
- length: number;
705
- }, string>;
706
- }, string>;
707
- }, string>;
708
- bid_token: import("@mysten/sui/bcs").BcsStruct<{
709
- name: import("@mysten/sui/bcs").BcsStruct<{
710
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
711
- length: number;
712
- }, string>;
713
- }, string>;
714
- }, string>;
715
- incentive_token: import("@mysten/sui/bcs").BcsStruct<{
716
- vec: import("@mysten/sui/bcs").BcsType<{
717
- name: {
718
- bytes: number[];
719
- };
720
- }[], Iterable<{
721
- name: {
722
- bytes: Iterable<number> & {
723
- length: number;
724
- };
725
- };
726
- }> & {
727
- length: number;
728
- }, string>;
729
- }, string>;
730
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
731
- fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
732
- fee_share_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
733
- shared_fee_pool: import("@mysten/sui/bcs").BcsStruct<{
734
- vec: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
735
- length: number;
736
- }> & {
737
- length: number;
738
- }, string>;
739
- }, string>;
740
- active_share_supply: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
741
- deactivating_share_supply: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
742
- inactive_share_supply: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
743
- warmup_share_supply: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
744
- premium_share_supply: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
745
- incentive_share_supply: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
746
- has_next: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
747
- metadata: import("@mysten/sui/bcs").BcsStruct<{
748
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
749
- length: number;
750
- }, string>;
751
- }, string>;
752
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
753
- length: number;
754
- }, string>;
755
- bcs_padding: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
756
- length: number;
757
- }, string>;
758
- }, string>;
759
- static fromFields(fields: Record<string, any>): DepositVault;
760
- static fromFieldsWithTypes(item: FieldsWithTypes): DepositVault;
761
- static fromBcs(data: Uint8Array): DepositVault;
762
- toJSONField(): {
763
- id: string;
764
- depositToken: {
765
- name: string;
766
- };
767
- bidToken: {
768
- name: string;
769
- };
770
- incentiveToken: {
771
- name: string;
772
- } | null;
773
- index: string;
774
- feeBp: string;
775
- feeShareBp: string;
776
- sharedFeePool: number[] | null;
777
- activeShareSupply: string;
778
- deactivatingShareSupply: string;
779
- inactiveShareSupply: string;
780
- warmupShareSupply: string;
781
- premiumShareSupply: string;
782
- incentiveShareSupply: string;
783
- hasNext: boolean;
784
- metadata: string;
785
- u64Padding: string[];
786
- bcsPadding: number[];
787
- };
788
- toJSON(): {
789
- id: string;
790
- depositToken: {
791
- name: string;
792
- };
793
- bidToken: {
794
- name: string;
795
- };
796
- incentiveToken: {
797
- name: string;
798
- } | null;
799
- index: string;
800
- feeBp: string;
801
- feeShareBp: string;
802
- sharedFeePool: number[] | null;
803
- activeShareSupply: string;
804
- deactivatingShareSupply: string;
805
- inactiveShareSupply: string;
806
- warmupShareSupply: string;
807
- premiumShareSupply: string;
808
- incentiveShareSupply: string;
809
- hasNext: boolean;
810
- metadata: string;
811
- u64Padding: string[];
812
- bcsPadding: number[];
813
- $typeName: string;
814
- $typeArgs: [];
815
- };
816
- static fromJSONField(field: any): DepositVault;
817
- static fromJSON(json: Record<string, any>): DepositVault;
818
- static fromSuiParsedData(content: SuiParsedData): DepositVault;
819
- static fromSuiObjectData(data: SuiObjectData): DepositVault;
820
- static fetch(client: SuiClient, id: string): Promise<DepositVault>;
821
- }
822
- export declare function isExercise(type: string): boolean;
823
- export interface ExerciseFields {
824
- signer: ToField<"address">;
825
- index: ToField<"u64">;
826
- depositToken: ToField<TypeName>;
827
- incentiveToken: ToField<Option<TypeName>>;
828
- amount: ToField<"u64">;
829
- }
830
- export type ExerciseReified = Reified<Exercise, ExerciseFields>;
831
- export declare class Exercise implements StructClass {
832
- __StructClass: true;
833
- static readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Exercise";
834
- static readonly $numTypeParams = 0;
835
- static readonly $isPhantom: readonly [];
836
- readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Exercise";
837
- readonly $fullTypeName: `${typeof PKG_V1}::vault::Exercise`;
838
- readonly $typeArgs: [];
839
- readonly $isPhantom: readonly [];
840
- readonly signer: ToField<"address">;
841
- readonly index: ToField<"u64">;
842
- readonly depositToken: ToField<TypeName>;
843
- readonly incentiveToken: ToField<Option<TypeName>>;
844
- readonly amount: ToField<"u64">;
845
- private constructor();
846
- static reified(): ExerciseReified;
847
- static get r(): reified.StructClassReified<Exercise, ExerciseFields>;
848
- static phantom(): PhantomReified<ToTypeStr<Exercise>>;
849
- static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Exercise">;
850
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
851
- signer: import("@mysten/sui/bcs").BcsType<string, string, string>;
852
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
853
- deposit_token: import("@mysten/sui/bcs").BcsStruct<{
854
- name: import("@mysten/sui/bcs").BcsStruct<{
855
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
856
- length: number;
857
- }, string>;
858
- }, string>;
859
- }, string>;
860
- incentive_token: import("@mysten/sui/bcs").BcsStruct<{
861
- vec: import("@mysten/sui/bcs").BcsType<{
862
- name: {
863
- bytes: number[];
864
- };
865
- }[], Iterable<{
866
- name: {
867
- bytes: Iterable<number> & {
868
- length: number;
869
- };
870
- };
871
- }> & {
872
- length: number;
873
- }, string>;
874
- }, string>;
875
- amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
876
- }, string>;
877
- static fromFields(fields: Record<string, any>): Exercise;
878
- static fromFieldsWithTypes(item: FieldsWithTypes): Exercise;
879
- static fromBcs(data: Uint8Array): Exercise;
880
- toJSONField(): {
881
- signer: string;
882
- index: string;
883
- depositToken: {
884
- name: string;
885
- };
886
- incentiveToken: {
887
- name: string;
888
- } | null;
889
- amount: string;
890
- };
891
- toJSON(): {
892
- signer: string;
893
- index: string;
894
- depositToken: {
895
- name: string;
896
- };
897
- incentiveToken: {
898
- name: string;
899
- } | null;
900
- amount: string;
901
- $typeName: string;
902
- $typeArgs: [];
903
- };
904
- static fromJSONField(field: any): Exercise;
905
- static fromJSON(json: Record<string, any>): Exercise;
906
- static fromSuiParsedData(content: SuiParsedData): Exercise;
907
- static fromSuiObjectData(data: SuiObjectData): Exercise;
908
- static fetch(client: SuiClient, id: string): Promise<Exercise>;
909
- }
910
- export declare function isHarvest(type: string): boolean;
911
- export interface HarvestFields {
912
- signer: ToField<"address">;
913
- index: ToField<"u64">;
914
- token: ToField<TypeName>;
915
- amount: ToField<"u64">;
916
- feeAmount: ToField<"u64">;
917
- feeShareAmount: ToField<"u64">;
918
- sharedFeePool: ToField<Option<Vector<"u8">>>;
919
- }
920
- export type HarvestReified = Reified<Harvest, HarvestFields>;
921
- export declare class Harvest implements StructClass {
922
- __StructClass: true;
923
- static readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Harvest";
924
- static readonly $numTypeParams = 0;
925
- static readonly $isPhantom: readonly [];
926
- readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Harvest";
927
- readonly $fullTypeName: `${typeof PKG_V1}::vault::Harvest`;
928
- readonly $typeArgs: [];
929
- readonly $isPhantom: readonly [];
930
- readonly signer: ToField<"address">;
931
- readonly index: ToField<"u64">;
932
- readonly token: ToField<TypeName>;
933
- readonly amount: ToField<"u64">;
934
- readonly feeAmount: ToField<"u64">;
935
- readonly feeShareAmount: ToField<"u64">;
936
- readonly sharedFeePool: ToField<Option<Vector<"u8">>>;
937
- private constructor();
938
- static reified(): HarvestReified;
939
- static get r(): reified.StructClassReified<Harvest, HarvestFields>;
940
- static phantom(): PhantomReified<ToTypeStr<Harvest>>;
941
- static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Harvest">;
942
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
943
- signer: import("@mysten/sui/bcs").BcsType<string, string, string>;
944
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
945
- token: import("@mysten/sui/bcs").BcsStruct<{
946
- name: import("@mysten/sui/bcs").BcsStruct<{
947
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
948
- length: number;
949
- }, string>;
950
- }, string>;
951
- }, string>;
952
- amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
953
- fee_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
954
- fee_share_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
955
- shared_fee_pool: import("@mysten/sui/bcs").BcsStruct<{
956
- vec: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
957
- length: number;
958
- }> & {
959
- length: number;
960
- }, string>;
961
- }, string>;
962
- }, string>;
963
- static fromFields(fields: Record<string, any>): Harvest;
964
- static fromFieldsWithTypes(item: FieldsWithTypes): Harvest;
965
- static fromBcs(data: Uint8Array): Harvest;
966
- toJSONField(): {
967
- signer: string;
968
- index: string;
969
- token: {
970
- name: string;
971
- };
972
- amount: string;
973
- feeAmount: string;
974
- feeShareAmount: string;
975
- sharedFeePool: number[] | null;
976
- };
977
- toJSON(): {
978
- signer: string;
979
- index: string;
980
- token: {
981
- name: string;
982
- };
983
- amount: string;
984
- feeAmount: string;
985
- feeShareAmount: string;
986
- sharedFeePool: number[] | null;
987
- $typeName: string;
988
- $typeArgs: [];
989
- };
990
- static fromJSONField(field: any): Harvest;
991
- static fromJSON(json: Record<string, any>): Harvest;
992
- static fromSuiParsedData(content: SuiParsedData): Harvest;
993
- static fromSuiObjectData(data: SuiObjectData): Harvest;
994
- static fetch(client: SuiClient, id: string): Promise<Harvest>;
995
- }
996
- export declare function isIncentiviseBidder(type: string): boolean;
997
- export interface IncentiviseBidderFields {
998
- signer: ToField<"address">;
999
- index: ToField<"u64">;
1000
- token: ToField<TypeName>;
1001
- amount: ToField<"u64">;
1002
- }
1003
- export type IncentiviseBidderReified = Reified<IncentiviseBidder, IncentiviseBidderFields>;
1004
- export declare class IncentiviseBidder implements StructClass {
1005
- __StructClass: true;
1006
- static readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::IncentiviseBidder";
1007
- static readonly $numTypeParams = 0;
1008
- static readonly $isPhantom: readonly [];
1009
- readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::IncentiviseBidder";
1010
- readonly $fullTypeName: `${typeof PKG_V1}::vault::IncentiviseBidder`;
1011
- readonly $typeArgs: [];
1012
- readonly $isPhantom: readonly [];
1013
- readonly signer: ToField<"address">;
1014
- readonly index: ToField<"u64">;
1015
- readonly token: ToField<TypeName>;
1016
- readonly amount: ToField<"u64">;
1017
- private constructor();
1018
- static reified(): IncentiviseBidderReified;
1019
- static get r(): reified.StructClassReified<IncentiviseBidder, IncentiviseBidderFields>;
1020
- static phantom(): PhantomReified<ToTypeStr<IncentiviseBidder>>;
1021
- static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::IncentiviseBidder">;
1022
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1023
- signer: import("@mysten/sui/bcs").BcsType<string, string, string>;
1024
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1025
- token: import("@mysten/sui/bcs").BcsStruct<{
1026
- name: import("@mysten/sui/bcs").BcsStruct<{
1027
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1028
- length: number;
1029
- }, string>;
1030
- }, string>;
1031
- }, string>;
1032
- amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1033
- }, string>;
1034
- static fromFields(fields: Record<string, any>): IncentiviseBidder;
1035
- static fromFieldsWithTypes(item: FieldsWithTypes): IncentiviseBidder;
1036
- static fromBcs(data: Uint8Array): IncentiviseBidder;
1037
- toJSONField(): {
1038
- signer: string;
1039
- index: string;
1040
- token: {
1041
- name: string;
1042
- };
1043
- amount: string;
1044
- };
1045
- toJSON(): {
1046
- signer: string;
1047
- index: string;
1048
- token: {
1049
- name: string;
1050
- };
1051
- amount: string;
1052
- $typeName: string;
1053
- $typeArgs: [];
1054
- };
1055
- static fromJSONField(field: any): IncentiviseBidder;
1056
- static fromJSON(json: Record<string, any>): IncentiviseBidder;
1057
- static fromSuiParsedData(content: SuiParsedData): IncentiviseBidder;
1058
- static fromSuiObjectData(data: SuiObjectData): IncentiviseBidder;
1059
- static fetch(client: SuiClient, id: string): Promise<IncentiviseBidder>;
1060
- }
1061
- export declare function isNewBidVault(type: string): boolean;
1062
- export interface NewBidVaultFields {
1063
- signer: ToField<"address">;
1064
- index: ToField<"u64">;
1065
- bidToken: ToField<TypeName>;
1066
- }
1067
- export type NewBidVaultReified = Reified<NewBidVault, NewBidVaultFields>;
1068
- export declare class NewBidVault implements StructClass {
1069
- __StructClass: true;
1070
- static readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::NewBidVault";
1071
- static readonly $numTypeParams = 0;
1072
- static readonly $isPhantom: readonly [];
1073
- readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::NewBidVault";
1074
- readonly $fullTypeName: `${typeof PKG_V1}::vault::NewBidVault`;
1075
- readonly $typeArgs: [];
1076
- readonly $isPhantom: readonly [];
1077
- readonly signer: ToField<"address">;
1078
- readonly index: ToField<"u64">;
1079
- readonly bidToken: ToField<TypeName>;
1080
- private constructor();
1081
- static reified(): NewBidVaultReified;
1082
- static get r(): reified.StructClassReified<NewBidVault, NewBidVaultFields>;
1083
- static phantom(): PhantomReified<ToTypeStr<NewBidVault>>;
1084
- static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::NewBidVault">;
1085
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1086
- signer: import("@mysten/sui/bcs").BcsType<string, string, string>;
1087
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1088
- bid_token: import("@mysten/sui/bcs").BcsStruct<{
1089
- name: import("@mysten/sui/bcs").BcsStruct<{
1090
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1091
- length: number;
1092
- }, string>;
1093
- }, string>;
1094
- }, string>;
1095
- }, string>;
1096
- static fromFields(fields: Record<string, any>): NewBidVault;
1097
- static fromFieldsWithTypes(item: FieldsWithTypes): NewBidVault;
1098
- static fromBcs(data: Uint8Array): NewBidVault;
1099
- toJSONField(): {
1100
- signer: string;
1101
- index: string;
1102
- bidToken: {
1103
- name: string;
1104
- };
1105
- };
1106
- toJSON(): {
1107
- signer: string;
1108
- index: string;
1109
- bidToken: {
1110
- name: string;
1111
- };
1112
- $typeName: string;
1113
- $typeArgs: [];
1114
- };
1115
- static fromJSONField(field: any): NewBidVault;
1116
- static fromJSON(json: Record<string, any>): NewBidVault;
1117
- static fromSuiParsedData(content: SuiParsedData): NewBidVault;
1118
- static fromSuiObjectData(data: SuiObjectData): NewBidVault;
1119
- static fetch(client: SuiClient, id: string): Promise<NewBidVault>;
1120
- }
1121
- export declare function isNewDepositVault(type: string): boolean;
1122
- export interface NewDepositVaultFields {
1123
- signer: ToField<"address">;
1124
- index: ToField<"u64">;
1125
- depositToken: ToField<TypeName>;
1126
- bidToken: ToField<TypeName>;
1127
- }
1128
- export type NewDepositVaultReified = Reified<NewDepositVault, NewDepositVaultFields>;
1129
- export declare class NewDepositVault implements StructClass {
1130
- __StructClass: true;
1131
- static readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::NewDepositVault";
1132
- static readonly $numTypeParams = 0;
1133
- static readonly $isPhantom: readonly [];
1134
- readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::NewDepositVault";
1135
- readonly $fullTypeName: `${typeof PKG_V1}::vault::NewDepositVault`;
1136
- readonly $typeArgs: [];
1137
- readonly $isPhantom: readonly [];
1138
- readonly signer: ToField<"address">;
1139
- readonly index: ToField<"u64">;
1140
- readonly depositToken: ToField<TypeName>;
1141
- readonly bidToken: ToField<TypeName>;
1142
- private constructor();
1143
- static reified(): NewDepositVaultReified;
1144
- static get r(): reified.StructClassReified<NewDepositVault, NewDepositVaultFields>;
1145
- static phantom(): PhantomReified<ToTypeStr<NewDepositVault>>;
1146
- static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::NewDepositVault">;
1147
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1148
- signer: import("@mysten/sui/bcs").BcsType<string, string, string>;
1149
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1150
- deposit_token: import("@mysten/sui/bcs").BcsStruct<{
1151
- name: import("@mysten/sui/bcs").BcsStruct<{
1152
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1153
- length: number;
1154
- }, string>;
1155
- }, string>;
1156
- }, string>;
1157
- bid_token: import("@mysten/sui/bcs").BcsStruct<{
1158
- name: import("@mysten/sui/bcs").BcsStruct<{
1159
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1160
- length: number;
1161
- }, string>;
1162
- }, string>;
1163
- }, string>;
1164
- }, string>;
1165
- static fromFields(fields: Record<string, any>): NewDepositVault;
1166
- static fromFieldsWithTypes(item: FieldsWithTypes): NewDepositVault;
1167
- static fromBcs(data: Uint8Array): NewDepositVault;
1168
- toJSONField(): {
1169
- signer: string;
1170
- index: string;
1171
- depositToken: {
1172
- name: string;
1173
- };
1174
- bidToken: {
1175
- name: string;
1176
- };
1177
- };
1178
- toJSON(): {
1179
- signer: string;
1180
- index: string;
1181
- depositToken: {
1182
- name: string;
1183
- };
1184
- bidToken: {
1185
- name: string;
1186
- };
1187
- $typeName: string;
1188
- $typeArgs: [];
1189
- };
1190
- static fromJSONField(field: any): NewDepositVault;
1191
- static fromJSON(json: Record<string, any>): NewDepositVault;
1192
- static fromSuiParsedData(content: SuiParsedData): NewDepositVault;
1193
- static fromSuiObjectData(data: SuiObjectData): NewDepositVault;
1194
- static fetch(client: SuiClient, id: string): Promise<NewDepositVault>;
1195
- }
1196
- export declare function isNewRefundVault(type: string): boolean;
1197
- export interface NewRefundVaultFields {
1198
- signer: ToField<"address">;
1199
- token: ToField<TypeName>;
1200
- }
1201
- export type NewRefundVaultReified = Reified<NewRefundVault, NewRefundVaultFields>;
1202
- export declare class NewRefundVault implements StructClass {
1203
- __StructClass: true;
1204
- static readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::NewRefundVault";
1205
- static readonly $numTypeParams = 0;
1206
- static readonly $isPhantom: readonly [];
1207
- readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::NewRefundVault";
1208
- readonly $fullTypeName: `${typeof PKG_V1}::vault::NewRefundVault`;
1209
- readonly $typeArgs: [];
1210
- readonly $isPhantom: readonly [];
1211
- readonly signer: ToField<"address">;
1212
- readonly token: ToField<TypeName>;
1213
- private constructor();
1214
- static reified(): NewRefundVaultReified;
1215
- static get r(): reified.StructClassReified<NewRefundVault, NewRefundVaultFields>;
1216
- static phantom(): PhantomReified<ToTypeStr<NewRefundVault>>;
1217
- static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::NewRefundVault">;
1218
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1219
- signer: import("@mysten/sui/bcs").BcsType<string, string, string>;
1220
- token: import("@mysten/sui/bcs").BcsStruct<{
1221
- name: import("@mysten/sui/bcs").BcsStruct<{
1222
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1223
- length: number;
1224
- }, string>;
1225
- }, string>;
1226
- }, string>;
1227
- }, string>;
1228
- static fromFields(fields: Record<string, any>): NewRefundVault;
1229
- static fromFieldsWithTypes(item: FieldsWithTypes): NewRefundVault;
1230
- static fromBcs(data: Uint8Array): NewRefundVault;
1231
- toJSONField(): {
1232
- signer: string;
1233
- token: {
1234
- name: string;
1235
- };
1236
- };
1237
- toJSON(): {
1238
- signer: string;
1239
- token: {
1240
- name: string;
1241
- };
1242
- $typeName: string;
1243
- $typeArgs: [];
1244
- };
1245
- static fromJSONField(field: any): NewRefundVault;
1246
- static fromJSON(json: Record<string, any>): NewRefundVault;
1247
- static fromSuiParsedData(content: SuiParsedData): NewRefundVault;
1248
- static fromSuiObjectData(data: SuiObjectData): NewRefundVault;
1249
- static fetch(client: SuiClient, id: string): Promise<NewRefundVault>;
1250
- }
1251
- export declare function isRecoup(type: string): boolean;
1252
- export interface RecoupFields {
1253
- signer: ToField<"address">;
1254
- index: ToField<"u64">;
1255
- token: ToField<TypeName>;
1256
- active: ToField<"u64">;
1257
- deactivating: ToField<"u64">;
1258
- }
1259
- export type RecoupReified = Reified<Recoup, RecoupFields>;
1260
- export declare class Recoup implements StructClass {
1261
- __StructClass: true;
1262
- static readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Recoup";
1263
- static readonly $numTypeParams = 0;
1264
- static readonly $isPhantom: readonly [];
1265
- readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Recoup";
1266
- readonly $fullTypeName: `${typeof PKG_V1}::vault::Recoup`;
1267
- readonly $typeArgs: [];
1268
- readonly $isPhantom: readonly [];
1269
- readonly signer: ToField<"address">;
1270
- readonly index: ToField<"u64">;
1271
- readonly token: ToField<TypeName>;
1272
- readonly active: ToField<"u64">;
1273
- readonly deactivating: ToField<"u64">;
1274
- private constructor();
1275
- static reified(): RecoupReified;
1276
- static get r(): reified.StructClassReified<Recoup, RecoupFields>;
1277
- static phantom(): PhantomReified<ToTypeStr<Recoup>>;
1278
- static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Recoup">;
1279
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1280
- signer: import("@mysten/sui/bcs").BcsType<string, string, string>;
1281
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1282
- token: import("@mysten/sui/bcs").BcsStruct<{
1283
- name: import("@mysten/sui/bcs").BcsStruct<{
1284
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1285
- length: number;
1286
- }, string>;
1287
- }, string>;
1288
- }, string>;
1289
- active: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1290
- deactivating: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1291
- }, string>;
1292
- static fromFields(fields: Record<string, any>): Recoup;
1293
- static fromFieldsWithTypes(item: FieldsWithTypes): Recoup;
1294
- static fromBcs(data: Uint8Array): Recoup;
1295
- toJSONField(): {
1296
- signer: string;
1297
- index: string;
1298
- token: {
1299
- name: string;
1300
- };
1301
- active: string;
1302
- deactivating: string;
1303
- };
1304
- toJSON(): {
1305
- signer: string;
1306
- index: string;
1307
- token: {
1308
- name: string;
1309
- };
1310
- active: string;
1311
- deactivating: string;
1312
- $typeName: string;
1313
- $typeArgs: [];
1314
- };
1315
- static fromJSONField(field: any): Recoup;
1316
- static fromJSON(json: Record<string, any>): Recoup;
1317
- static fromSuiParsedData(content: SuiParsedData): Recoup;
1318
- static fromSuiObjectData(data: SuiObjectData): Recoup;
1319
- static fetch(client: SuiClient, id: string): Promise<Recoup>;
1320
- }
1321
- export declare function isRedeem(type: string): boolean;
1322
- export interface RedeemFields {
1323
- signer: ToField<"address">;
1324
- index: ToField<"u64">;
1325
- token: ToField<TypeName>;
1326
- amount: ToField<"u64">;
1327
- }
1328
- export type RedeemReified = Reified<Redeem, RedeemFields>;
1329
- export declare class Redeem implements StructClass {
1330
- __StructClass: true;
1331
- static readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Redeem";
1332
- static readonly $numTypeParams = 0;
1333
- static readonly $isPhantom: readonly [];
1334
- readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Redeem";
1335
- readonly $fullTypeName: `${typeof PKG_V1}::vault::Redeem`;
1336
- readonly $typeArgs: [];
1337
- readonly $isPhantom: readonly [];
1338
- readonly signer: ToField<"address">;
1339
- readonly index: ToField<"u64">;
1340
- readonly token: ToField<TypeName>;
1341
- readonly amount: ToField<"u64">;
1342
- private constructor();
1343
- static reified(): RedeemReified;
1344
- static get r(): reified.StructClassReified<Redeem, RedeemFields>;
1345
- static phantom(): PhantomReified<ToTypeStr<Redeem>>;
1346
- static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Redeem">;
1347
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1348
- signer: import("@mysten/sui/bcs").BcsType<string, string, string>;
1349
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1350
- token: import("@mysten/sui/bcs").BcsStruct<{
1351
- name: import("@mysten/sui/bcs").BcsStruct<{
1352
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1353
- length: number;
1354
- }, string>;
1355
- }, string>;
1356
- }, string>;
1357
- amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1358
- }, string>;
1359
- static fromFields(fields: Record<string, any>): Redeem;
1360
- static fromFieldsWithTypes(item: FieldsWithTypes): Redeem;
1361
- static fromBcs(data: Uint8Array): Redeem;
1362
- toJSONField(): {
1363
- signer: string;
1364
- index: string;
1365
- token: {
1366
- name: string;
1367
- };
1368
- amount: string;
1369
- };
1370
- toJSON(): {
1371
- signer: string;
1372
- index: string;
1373
- token: {
1374
- name: string;
1375
- };
1376
- amount: string;
1377
- $typeName: string;
1378
- $typeArgs: [];
1379
- };
1380
- static fromJSONField(field: any): Redeem;
1381
- static fromJSON(json: Record<string, any>): Redeem;
1382
- static fromSuiParsedData(content: SuiParsedData): Redeem;
1383
- static fromSuiObjectData(data: SuiObjectData): Redeem;
1384
- static fetch(client: SuiClient, id: string): Promise<Redeem>;
1385
- }
1386
- export declare function isRefundShare(type: string): boolean;
1387
- export interface RefundShareFields {
1388
- user: ToField<"address">;
1389
- share: ToField<"u64">;
1390
- u64Padding: ToField<Vector<"u64">>;
1391
- }
1392
- export type RefundShareReified = Reified<RefundShare, RefundShareFields>;
1393
- export declare class RefundShare implements StructClass {
1394
- __StructClass: true;
1395
- static readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::RefundShare";
1396
- static readonly $numTypeParams = 0;
1397
- static readonly $isPhantom: readonly [];
1398
- readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::RefundShare";
1399
- readonly $fullTypeName: `${typeof PKG_V1}::vault::RefundShare`;
1400
- readonly $typeArgs: [];
1401
- readonly $isPhantom: readonly [];
1402
- readonly user: ToField<"address">;
1403
- readonly share: ToField<"u64">;
1404
- readonly u64Padding: ToField<Vector<"u64">>;
1405
- private constructor();
1406
- static reified(): RefundShareReified;
1407
- static get r(): reified.StructClassReified<RefundShare, RefundShareFields>;
1408
- static phantom(): PhantomReified<ToTypeStr<RefundShare>>;
1409
- static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::RefundShare">;
1410
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1411
- user: import("@mysten/sui/bcs").BcsType<string, string, string>;
1412
- share: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1413
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
1414
- length: number;
1415
- }, string>;
1416
- }, string>;
1417
- static fromFields(fields: Record<string, any>): RefundShare;
1418
- static fromFieldsWithTypes(item: FieldsWithTypes): RefundShare;
1419
- static fromBcs(data: Uint8Array): RefundShare;
1420
- toJSONField(): {
1421
- user: string;
1422
- share: string;
1423
- u64Padding: string[];
1424
- };
1425
- toJSON(): {
1426
- user: string;
1427
- share: string;
1428
- u64Padding: string[];
1429
- $typeName: string;
1430
- $typeArgs: [];
1431
- };
1432
- static fromJSONField(field: any): RefundShare;
1433
- static fromJSON(json: Record<string, any>): RefundShare;
1434
- static fromSuiParsedData(content: SuiParsedData): RefundShare;
1435
- static fromSuiObjectData(data: SuiObjectData): RefundShare;
1436
- static fetch(client: SuiClient, id: string): Promise<RefundShare>;
1437
- }
1438
- export declare function isRefundVault(type: string): boolean;
1439
- export interface RefundVaultFields {
1440
- id: ToField<UID>;
1441
- token: ToField<TypeName>;
1442
- shareSupply: ToField<"u64">;
1443
- u64Padding: ToField<Vector<"u64">>;
1444
- bcsPadding: ToField<Vector<"u8">>;
1445
- }
1446
- export type RefundVaultReified = Reified<RefundVault, RefundVaultFields>;
1447
- export declare class RefundVault implements StructClass {
1448
- __StructClass: true;
1449
- static readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::RefundVault";
1450
- static readonly $numTypeParams = 0;
1451
- static readonly $isPhantom: readonly [];
1452
- readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::RefundVault";
1453
- readonly $fullTypeName: `${typeof PKG_V1}::vault::RefundVault`;
1454
- readonly $typeArgs: [];
1455
- readonly $isPhantom: readonly [];
1456
- readonly id: ToField<UID>;
1457
- readonly token: ToField<TypeName>;
1458
- readonly shareSupply: ToField<"u64">;
1459
- readonly u64Padding: ToField<Vector<"u64">>;
1460
- readonly bcsPadding: ToField<Vector<"u8">>;
1461
- private constructor();
1462
- static reified(): RefundVaultReified;
1463
- static get r(): reified.StructClassReified<RefundVault, RefundVaultFields>;
1464
- static phantom(): PhantomReified<ToTypeStr<RefundVault>>;
1465
- static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::RefundVault">;
1466
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1467
- id: import("@mysten/sui/bcs").BcsStruct<{
1468
- id: import("@mysten/sui/bcs").BcsStruct<{
1469
- bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
1470
- }, string>;
1471
- }, string>;
1472
- token: import("@mysten/sui/bcs").BcsStruct<{
1473
- name: import("@mysten/sui/bcs").BcsStruct<{
1474
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1475
- length: number;
1476
- }, string>;
1477
- }, string>;
1478
- }, string>;
1479
- share_supply: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1480
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
1481
- length: number;
1482
- }, string>;
1483
- bcs_padding: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1484
- length: number;
1485
- }, string>;
1486
- }, string>;
1487
- static fromFields(fields: Record<string, any>): RefundVault;
1488
- static fromFieldsWithTypes(item: FieldsWithTypes): RefundVault;
1489
- static fromBcs(data: Uint8Array): RefundVault;
1490
- toJSONField(): {
1491
- id: string;
1492
- token: {
1493
- name: string;
1494
- };
1495
- shareSupply: string;
1496
- u64Padding: string[];
1497
- bcsPadding: number[];
1498
- };
1499
- toJSON(): {
1500
- id: string;
1501
- token: {
1502
- name: string;
1503
- };
1504
- shareSupply: string;
1505
- u64Padding: string[];
1506
- bcsPadding: number[];
1507
- $typeName: string;
1508
- $typeArgs: [];
1509
- };
1510
- static fromJSONField(field: any): RefundVault;
1511
- static fromJSON(json: Record<string, any>): RefundVault;
1512
- static fromSuiParsedData(content: SuiParsedData): RefundVault;
1513
- static fromSuiObjectData(data: SuiObjectData): RefundVault;
1514
- static fetch(client: SuiClient, id: string): Promise<RefundVault>;
1515
- }
1516
- export declare function isSettle(type: string): boolean;
1517
- export interface SettleFields {
1518
- signer: ToField<"address">;
1519
- index: ToField<"u64">;
1520
- depositToken: ToField<TypeName>;
1521
- bidToken: ToField<TypeName>;
1522
- sharePrice: ToField<"u64">;
1523
- sharePriceDecimal: ToField<"u64">;
1524
- }
1525
- export type SettleReified = Reified<Settle, SettleFields>;
1526
- export declare class Settle implements StructClass {
1527
- __StructClass: true;
1528
- static readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Settle";
1529
- static readonly $numTypeParams = 0;
1530
- static readonly $isPhantom: readonly [];
1531
- readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Settle";
1532
- readonly $fullTypeName: `${typeof PKG_V1}::vault::Settle`;
1533
- readonly $typeArgs: [];
1534
- readonly $isPhantom: readonly [];
1535
- readonly signer: ToField<"address">;
1536
- readonly index: ToField<"u64">;
1537
- readonly depositToken: ToField<TypeName>;
1538
- readonly bidToken: ToField<TypeName>;
1539
- readonly sharePrice: ToField<"u64">;
1540
- readonly sharePriceDecimal: ToField<"u64">;
1541
- private constructor();
1542
- static reified(): SettleReified;
1543
- static get r(): reified.StructClassReified<Settle, SettleFields>;
1544
- static phantom(): PhantomReified<ToTypeStr<Settle>>;
1545
- static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Settle">;
1546
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1547
- signer: import("@mysten/sui/bcs").BcsType<string, string, string>;
1548
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1549
- deposit_token: import("@mysten/sui/bcs").BcsStruct<{
1550
- name: import("@mysten/sui/bcs").BcsStruct<{
1551
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1552
- length: number;
1553
- }, string>;
1554
- }, string>;
1555
- }, string>;
1556
- bid_token: import("@mysten/sui/bcs").BcsStruct<{
1557
- name: import("@mysten/sui/bcs").BcsStruct<{
1558
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1559
- length: number;
1560
- }, string>;
1561
- }, string>;
1562
- }, string>;
1563
- share_price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1564
- share_price_decimal: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1565
- }, string>;
1566
- static fromFields(fields: Record<string, any>): Settle;
1567
- static fromFieldsWithTypes(item: FieldsWithTypes): Settle;
1568
- static fromBcs(data: Uint8Array): Settle;
1569
- toJSONField(): {
1570
- signer: string;
1571
- index: string;
1572
- depositToken: {
1573
- name: string;
1574
- };
1575
- bidToken: {
1576
- name: string;
1577
- };
1578
- sharePrice: string;
1579
- sharePriceDecimal: string;
1580
- };
1581
- toJSON(): {
1582
- signer: string;
1583
- index: string;
1584
- depositToken: {
1585
- name: string;
1586
- };
1587
- bidToken: {
1588
- name: string;
1589
- };
1590
- sharePrice: string;
1591
- sharePriceDecimal: string;
1592
- $typeName: string;
1593
- $typeArgs: [];
1594
- };
1595
- static fromJSONField(field: any): Settle;
1596
- static fromJSON(json: Record<string, any>): Settle;
1597
- static fromSuiParsedData(content: SuiParsedData): Settle;
1598
- static fromSuiObjectData(data: SuiObjectData): Settle;
1599
- static fetch(client: SuiClient, id: string): Promise<Settle>;
1600
- }
1601
- export declare function isTerminate(type: string): boolean;
1602
- export interface TerminateFields {
1603
- signer: ToField<"address">;
1604
- index: ToField<"u64">;
1605
- token: ToField<TypeName>;
1606
- }
1607
- export type TerminateReified = Reified<Terminate, TerminateFields>;
1608
- export declare class Terminate implements StructClass {
1609
- __StructClass: true;
1610
- static readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Terminate";
1611
- static readonly $numTypeParams = 0;
1612
- static readonly $isPhantom: readonly [];
1613
- readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Terminate";
1614
- readonly $fullTypeName: `${typeof PKG_V1}::vault::Terminate`;
1615
- readonly $typeArgs: [];
1616
- readonly $isPhantom: readonly [];
1617
- readonly signer: ToField<"address">;
1618
- readonly index: ToField<"u64">;
1619
- readonly token: ToField<TypeName>;
1620
- private constructor();
1621
- static reified(): TerminateReified;
1622
- static get r(): reified.StructClassReified<Terminate, TerminateFields>;
1623
- static phantom(): PhantomReified<ToTypeStr<Terminate>>;
1624
- static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Terminate">;
1625
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1626
- signer: import("@mysten/sui/bcs").BcsType<string, string, string>;
1627
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1628
- token: import("@mysten/sui/bcs").BcsStruct<{
1629
- name: import("@mysten/sui/bcs").BcsStruct<{
1630
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1631
- length: number;
1632
- }, string>;
1633
- }, string>;
1634
- }, string>;
1635
- }, string>;
1636
- static fromFields(fields: Record<string, any>): Terminate;
1637
- static fromFieldsWithTypes(item: FieldsWithTypes): Terminate;
1638
- static fromBcs(data: Uint8Array): Terminate;
1639
- toJSONField(): {
1640
- signer: string;
1641
- index: string;
1642
- token: {
1643
- name: string;
1644
- };
1645
- };
1646
- toJSON(): {
1647
- signer: string;
1648
- index: string;
1649
- token: {
1650
- name: string;
1651
- };
1652
- $typeName: string;
1653
- $typeArgs: [];
1654
- };
1655
- static fromJSONField(field: any): Terminate;
1656
- static fromJSON(json: Record<string, any>): Terminate;
1657
- static fromSuiParsedData(content: SuiParsedData): Terminate;
1658
- static fromSuiObjectData(data: SuiObjectData): Terminate;
1659
- static fetch(client: SuiClient, id: string): Promise<Terminate>;
1660
- }
1661
- export declare function isTypusBidReceipt(type: string): boolean;
1662
- export interface TypusBidReceiptFields {
1663
- id: ToField<UID>;
1664
- vid: ToField<ID>;
1665
- index: ToField<"u64">;
1666
- metadata: ToField<String>;
1667
- u64Padding: ToField<Vector<"u64">>;
1668
- }
1669
- export type TypusBidReceiptReified = Reified<TypusBidReceipt, TypusBidReceiptFields>;
1670
- export declare class TypusBidReceipt implements StructClass {
1671
- __StructClass: true;
1672
- static readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::TypusBidReceipt";
1673
- static readonly $numTypeParams = 0;
1674
- static readonly $isPhantom: readonly [];
1675
- readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::TypusBidReceipt";
1676
- readonly $fullTypeName: `${typeof PKG_V1}::vault::TypusBidReceipt`;
1677
- readonly $typeArgs: [];
1678
- readonly $isPhantom: readonly [];
1679
- readonly id: ToField<UID>;
1680
- readonly vid: ToField<ID>;
1681
- readonly index: ToField<"u64">;
1682
- readonly metadata: ToField<String>;
1683
- readonly u64Padding: ToField<Vector<"u64">>;
1684
- private constructor();
1685
- static reified(): TypusBidReceiptReified;
1686
- static get r(): reified.StructClassReified<TypusBidReceipt, TypusBidReceiptFields>;
1687
- static phantom(): PhantomReified<ToTypeStr<TypusBidReceipt>>;
1688
- static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::TypusBidReceipt">;
1689
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1690
- id: import("@mysten/sui/bcs").BcsStruct<{
1691
- id: import("@mysten/sui/bcs").BcsStruct<{
1692
- bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
1693
- }, string>;
1694
- }, string>;
1695
- vid: import("@mysten/sui/bcs").BcsStruct<{
1696
- bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
1697
- }, string>;
1698
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1699
- metadata: import("@mysten/sui/bcs").BcsStruct<{
1700
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1701
- length: number;
1702
- }, string>;
1703
- }, string>;
1704
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
1705
- length: number;
1706
- }, string>;
1707
- }, string>;
1708
- static fromFields(fields: Record<string, any>): TypusBidReceipt;
1709
- static fromFieldsWithTypes(item: FieldsWithTypes): TypusBidReceipt;
1710
- static fromBcs(data: Uint8Array): TypusBidReceipt;
1711
- toJSONField(): {
1712
- id: string;
1713
- vid: string;
1714
- index: string;
1715
- metadata: string;
1716
- u64Padding: string[];
1717
- };
1718
- toJSON(): {
1719
- id: string;
1720
- vid: string;
1721
- index: string;
1722
- metadata: string;
1723
- u64Padding: string[];
1724
- $typeName: string;
1725
- $typeArgs: [];
1726
- };
1727
- static fromJSONField(field: any): TypusBidReceipt;
1728
- static fromJSON(json: Record<string, any>): TypusBidReceipt;
1729
- static fromSuiParsedData(content: SuiParsedData): TypusBidReceipt;
1730
- static fromSuiObjectData(data: SuiObjectData): TypusBidReceipt;
1731
- static fetch(client: SuiClient, id: string): Promise<TypusBidReceipt>;
1732
- }
1733
- export declare function isTypusDepositReceipt(type: string): boolean;
1734
- export interface TypusDepositReceiptFields {
1735
- id: ToField<UID>;
1736
- vid: ToField<ID>;
1737
- index: ToField<"u64">;
1738
- metadata: ToField<String>;
1739
- u64Padding: ToField<Vector<"u64">>;
1740
- }
1741
- export type TypusDepositReceiptReified = Reified<TypusDepositReceipt, TypusDepositReceiptFields>;
1742
- export declare class TypusDepositReceipt implements StructClass {
1743
- __StructClass: true;
1744
- static readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::TypusDepositReceipt";
1745
- static readonly $numTypeParams = 0;
1746
- static readonly $isPhantom: readonly [];
1747
- readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::TypusDepositReceipt";
1748
- readonly $fullTypeName: `${typeof PKG_V1}::vault::TypusDepositReceipt`;
1749
- readonly $typeArgs: [];
1750
- readonly $isPhantom: readonly [];
1751
- readonly id: ToField<UID>;
1752
- readonly vid: ToField<ID>;
1753
- readonly index: ToField<"u64">;
1754
- readonly metadata: ToField<String>;
1755
- readonly u64Padding: ToField<Vector<"u64">>;
1756
- private constructor();
1757
- static reified(): TypusDepositReceiptReified;
1758
- static get r(): reified.StructClassReified<TypusDepositReceipt, TypusDepositReceiptFields>;
1759
- static phantom(): PhantomReified<ToTypeStr<TypusDepositReceipt>>;
1760
- static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::TypusDepositReceipt">;
1761
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1762
- id: import("@mysten/sui/bcs").BcsStruct<{
1763
- id: import("@mysten/sui/bcs").BcsStruct<{
1764
- bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
1765
- }, string>;
1766
- }, string>;
1767
- vid: import("@mysten/sui/bcs").BcsStruct<{
1768
- bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
1769
- }, string>;
1770
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1771
- metadata: import("@mysten/sui/bcs").BcsStruct<{
1772
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1773
- length: number;
1774
- }, string>;
1775
- }, string>;
1776
- u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
1777
- length: number;
1778
- }, string>;
1779
- }, string>;
1780
- static fromFields(fields: Record<string, any>): TypusDepositReceipt;
1781
- static fromFieldsWithTypes(item: FieldsWithTypes): TypusDepositReceipt;
1782
- static fromBcs(data: Uint8Array): TypusDepositReceipt;
1783
- toJSONField(): {
1784
- id: string;
1785
- vid: string;
1786
- index: string;
1787
- metadata: string;
1788
- u64Padding: string[];
1789
- };
1790
- toJSON(): {
1791
- id: string;
1792
- vid: string;
1793
- index: string;
1794
- metadata: string;
1795
- u64Padding: string[];
1796
- $typeName: string;
1797
- $typeArgs: [];
1798
- };
1799
- static fromJSONField(field: any): TypusDepositReceipt;
1800
- static fromJSON(json: Record<string, any>): TypusDepositReceipt;
1801
- static fromSuiParsedData(content: SuiParsedData): TypusDepositReceipt;
1802
- static fromSuiObjectData(data: SuiObjectData): TypusDepositReceipt;
1803
- static fetch(client: SuiClient, id: string): Promise<TypusDepositReceipt>;
1804
- }
1805
- export declare function isUnsubscribe(type: string): boolean;
1806
- export interface UnsubscribeFields {
1807
- signer: ToField<"address">;
1808
- index: ToField<"u64">;
1809
- token: ToField<TypeName>;
1810
- amount: ToField<"u64">;
1811
- }
1812
- export type UnsubscribeReified = Reified<Unsubscribe, UnsubscribeFields>;
1813
- export declare class Unsubscribe implements StructClass {
1814
- __StructClass: true;
1815
- static readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Unsubscribe";
1816
- static readonly $numTypeParams = 0;
1817
- static readonly $isPhantom: readonly [];
1818
- readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Unsubscribe";
1819
- readonly $fullTypeName: `${typeof PKG_V1}::vault::Unsubscribe`;
1820
- readonly $typeArgs: [];
1821
- readonly $isPhantom: readonly [];
1822
- readonly signer: ToField<"address">;
1823
- readonly index: ToField<"u64">;
1824
- readonly token: ToField<TypeName>;
1825
- readonly amount: ToField<"u64">;
1826
- private constructor();
1827
- static reified(): UnsubscribeReified;
1828
- static get r(): reified.StructClassReified<Unsubscribe, UnsubscribeFields>;
1829
- static phantom(): PhantomReified<ToTypeStr<Unsubscribe>>;
1830
- static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Unsubscribe">;
1831
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1832
- signer: import("@mysten/sui/bcs").BcsType<string, string, string>;
1833
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1834
- token: import("@mysten/sui/bcs").BcsStruct<{
1835
- name: import("@mysten/sui/bcs").BcsStruct<{
1836
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
1837
- length: number;
1838
- }, string>;
1839
- }, string>;
1840
- }, string>;
1841
- amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1842
- }, string>;
1843
- static fromFields(fields: Record<string, any>): Unsubscribe;
1844
- static fromFieldsWithTypes(item: FieldsWithTypes): Unsubscribe;
1845
- static fromBcs(data: Uint8Array): Unsubscribe;
1846
- toJSONField(): {
1847
- signer: string;
1848
- index: string;
1849
- token: {
1850
- name: string;
1851
- };
1852
- amount: string;
1853
- };
1854
- toJSON(): {
1855
- signer: string;
1856
- index: string;
1857
- token: {
1858
- name: string;
1859
- };
1860
- amount: string;
1861
- $typeName: string;
1862
- $typeArgs: [];
1863
- };
1864
- static fromJSONField(field: any): Unsubscribe;
1865
- static fromJSON(json: Record<string, any>): Unsubscribe;
1866
- static fromSuiParsedData(content: SuiParsedData): Unsubscribe;
1867
- static fromSuiObjectData(data: SuiObjectData): Unsubscribe;
1868
- static fetch(client: SuiClient, id: string): Promise<Unsubscribe>;
1869
- }
1870
- export declare function isUpdateFeeConfig(type: string): boolean;
1871
- export interface UpdateFeeConfigFields {
1872
- signer: ToField<"address">;
1873
- index: ToField<"u64">;
1874
- prevFeeBp: ToField<"u64">;
1875
- feeBp: ToField<"u64">;
1876
- }
1877
- export type UpdateFeeConfigReified = Reified<UpdateFeeConfig, UpdateFeeConfigFields>;
1878
- export declare class UpdateFeeConfig implements StructClass {
1879
- __StructClass: true;
1880
- static readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::UpdateFeeConfig";
1881
- static readonly $numTypeParams = 0;
1882
- static readonly $isPhantom: readonly [];
1883
- readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::UpdateFeeConfig";
1884
- readonly $fullTypeName: `${typeof PKG_V1}::vault::UpdateFeeConfig`;
1885
- readonly $typeArgs: [];
1886
- readonly $isPhantom: readonly [];
1887
- readonly signer: ToField<"address">;
1888
- readonly index: ToField<"u64">;
1889
- readonly prevFeeBp: ToField<"u64">;
1890
- readonly feeBp: ToField<"u64">;
1891
- private constructor();
1892
- static reified(): UpdateFeeConfigReified;
1893
- static get r(): reified.StructClassReified<UpdateFeeConfig, UpdateFeeConfigFields>;
1894
- static phantom(): PhantomReified<ToTypeStr<UpdateFeeConfig>>;
1895
- static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::UpdateFeeConfig">;
1896
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1897
- signer: import("@mysten/sui/bcs").BcsType<string, string, string>;
1898
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1899
- prev_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1900
- fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1901
- }, string>;
1902
- static fromFields(fields: Record<string, any>): UpdateFeeConfig;
1903
- static fromFieldsWithTypes(item: FieldsWithTypes): UpdateFeeConfig;
1904
- static fromBcs(data: Uint8Array): UpdateFeeConfig;
1905
- toJSONField(): {
1906
- signer: string;
1907
- index: string;
1908
- prevFeeBp: string;
1909
- feeBp: string;
1910
- };
1911
- toJSON(): {
1912
- signer: string;
1913
- index: string;
1914
- prevFeeBp: string;
1915
- feeBp: string;
1916
- $typeName: string;
1917
- $typeArgs: [];
1918
- };
1919
- static fromJSONField(field: any): UpdateFeeConfig;
1920
- static fromJSON(json: Record<string, any>): UpdateFeeConfig;
1921
- static fromSuiParsedData(content: SuiParsedData): UpdateFeeConfig;
1922
- static fromSuiObjectData(data: SuiObjectData): UpdateFeeConfig;
1923
- static fetch(client: SuiClient, id: string): Promise<UpdateFeeConfig>;
1924
- }
1925
- export declare function isUpdateFeeShareConfig(type: string): boolean;
1926
- export interface UpdateFeeShareConfigFields {
1927
- signer: ToField<"address">;
1928
- index: ToField<"u64">;
1929
- prevFeeBp: ToField<"u64">;
1930
- prevSharedFeePool: ToField<Option<Vector<"u8">>>;
1931
- feeBp: ToField<"u64">;
1932
- sharedFeePool: ToField<Option<Vector<"u8">>>;
1933
- }
1934
- export type UpdateFeeShareConfigReified = Reified<UpdateFeeShareConfig, UpdateFeeShareConfigFields>;
1935
- export declare class UpdateFeeShareConfig implements StructClass {
1936
- __StructClass: true;
1937
- static readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::UpdateFeeShareConfig";
1938
- static readonly $numTypeParams = 0;
1939
- static readonly $isPhantom: readonly [];
1940
- readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::UpdateFeeShareConfig";
1941
- readonly $fullTypeName: `${typeof PKG_V1}::vault::UpdateFeeShareConfig`;
1942
- readonly $typeArgs: [];
1943
- readonly $isPhantom: readonly [];
1944
- readonly signer: ToField<"address">;
1945
- readonly index: ToField<"u64">;
1946
- readonly prevFeeBp: ToField<"u64">;
1947
- readonly prevSharedFeePool: ToField<Option<Vector<"u8">>>;
1948
- readonly feeBp: ToField<"u64">;
1949
- readonly sharedFeePool: ToField<Option<Vector<"u8">>>;
1950
- private constructor();
1951
- static reified(): UpdateFeeShareConfigReified;
1952
- static get r(): reified.StructClassReified<UpdateFeeShareConfig, UpdateFeeShareConfigFields>;
1953
- static phantom(): PhantomReified<ToTypeStr<UpdateFeeShareConfig>>;
1954
- static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::UpdateFeeShareConfig">;
1955
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
1956
- signer: import("@mysten/sui/bcs").BcsType<string, string, string>;
1957
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1958
- prev_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1959
- prev_shared_fee_pool: import("@mysten/sui/bcs").BcsStruct<{
1960
- vec: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
1961
- length: number;
1962
- }> & {
1963
- length: number;
1964
- }, string>;
1965
- }, string>;
1966
- fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
1967
- shared_fee_pool: import("@mysten/sui/bcs").BcsStruct<{
1968
- vec: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
1969
- length: number;
1970
- }> & {
1971
- length: number;
1972
- }, string>;
1973
- }, string>;
1974
- }, string>;
1975
- static fromFields(fields: Record<string, any>): UpdateFeeShareConfig;
1976
- static fromFieldsWithTypes(item: FieldsWithTypes): UpdateFeeShareConfig;
1977
- static fromBcs(data: Uint8Array): UpdateFeeShareConfig;
1978
- toJSONField(): {
1979
- signer: string;
1980
- index: string;
1981
- prevFeeBp: string;
1982
- prevSharedFeePool: number[] | null;
1983
- feeBp: string;
1984
- sharedFeePool: number[] | null;
1985
- };
1986
- toJSON(): {
1987
- signer: string;
1988
- index: string;
1989
- prevFeeBp: string;
1990
- prevSharedFeePool: number[] | null;
1991
- feeBp: string;
1992
- sharedFeePool: number[] | null;
1993
- $typeName: string;
1994
- $typeArgs: [];
1995
- };
1996
- static fromJSONField(field: any): UpdateFeeShareConfig;
1997
- static fromJSON(json: Record<string, any>): UpdateFeeShareConfig;
1998
- static fromSuiParsedData(content: SuiParsedData): UpdateFeeShareConfig;
1999
- static fromSuiObjectData(data: SuiObjectData): UpdateFeeShareConfig;
2000
- static fetch(client: SuiClient, id: string): Promise<UpdateFeeShareConfig>;
2001
- }
2002
- export declare function isVAULT(type: string): boolean;
2003
- export interface VAULTFields {
2004
- dummyField: ToField<"bool">;
2005
- }
2006
- export type VAULTReified = Reified<VAULT, VAULTFields>;
2007
- export declare class VAULT implements StructClass {
2008
- __StructClass: true;
2009
- static readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::VAULT";
2010
- static readonly $numTypeParams = 0;
2011
- static readonly $isPhantom: readonly [];
2012
- readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::VAULT";
2013
- readonly $fullTypeName: `${typeof PKG_V1}::vault::VAULT`;
2014
- readonly $typeArgs: [];
2015
- readonly $isPhantom: readonly [];
2016
- readonly dummyField: ToField<"bool">;
2017
- private constructor();
2018
- static reified(): VAULTReified;
2019
- static get r(): reified.StructClassReified<VAULT, VAULTFields>;
2020
- static phantom(): PhantomReified<ToTypeStr<VAULT>>;
2021
- static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::VAULT">;
2022
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
2023
- dummy_field: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
2024
- }, string>;
2025
- static fromFields(fields: Record<string, any>): VAULT;
2026
- static fromFieldsWithTypes(item: FieldsWithTypes): VAULT;
2027
- static fromBcs(data: Uint8Array): VAULT;
2028
- toJSONField(): {
2029
- dummyField: boolean;
2030
- };
2031
- toJSON(): {
2032
- dummyField: boolean;
2033
- $typeName: string;
2034
- $typeArgs: [];
2035
- };
2036
- static fromJSONField(field: any): VAULT;
2037
- static fromJSON(json: Record<string, any>): VAULT;
2038
- static fromSuiParsedData(content: SuiParsedData): VAULT;
2039
- static fromSuiObjectData(data: SuiObjectData): VAULT;
2040
- static fetch(client: SuiClient, id: string): Promise<VAULT>;
2041
- }
2042
- export declare function isWithdraw(type: string): boolean;
2043
- export interface WithdrawFields {
2044
- signer: ToField<"address">;
2045
- index: ToField<"u64">;
2046
- token: ToField<TypeName>;
2047
- amount: ToField<"u64">;
2048
- }
2049
- export type WithdrawReified = Reified<Withdraw, WithdrawFields>;
2050
- export declare class Withdraw implements StructClass {
2051
- __StructClass: true;
2052
- static readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Withdraw";
2053
- static readonly $numTypeParams = 0;
2054
- static readonly $isPhantom: readonly [];
2055
- readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Withdraw";
2056
- readonly $fullTypeName: `${typeof PKG_V1}::vault::Withdraw`;
2057
- readonly $typeArgs: [];
2058
- readonly $isPhantom: readonly [];
2059
- readonly signer: ToField<"address">;
2060
- readonly index: ToField<"u64">;
2061
- readonly token: ToField<TypeName>;
2062
- readonly amount: ToField<"u64">;
2063
- private constructor();
2064
- static reified(): WithdrawReified;
2065
- static get r(): reified.StructClassReified<Withdraw, WithdrawFields>;
2066
- static phantom(): PhantomReified<ToTypeStr<Withdraw>>;
2067
- static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::vault::Withdraw">;
2068
- static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
2069
- signer: import("@mysten/sui/bcs").BcsType<string, string, string>;
2070
- index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2071
- token: import("@mysten/sui/bcs").BcsStruct<{
2072
- name: import("@mysten/sui/bcs").BcsStruct<{
2073
- bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
2074
- length: number;
2075
- }, string>;
2076
- }, string>;
2077
- }, string>;
2078
- amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
2079
- }, string>;
2080
- static fromFields(fields: Record<string, any>): Withdraw;
2081
- static fromFieldsWithTypes(item: FieldsWithTypes): Withdraw;
2082
- static fromBcs(data: Uint8Array): Withdraw;
2083
- toJSONField(): {
2084
- signer: string;
2085
- index: string;
2086
- token: {
2087
- name: string;
2088
- };
2089
- amount: string;
2090
- };
2091
- toJSON(): {
2092
- signer: string;
2093
- index: string;
2094
- token: {
2095
- name: string;
2096
- };
2097
- amount: string;
2098
- $typeName: string;
2099
- $typeArgs: [];
2100
- };
2101
- static fromJSONField(field: any): Withdraw;
2102
- static fromJSON(json: Record<string, any>): Withdraw;
2103
- static fromSuiParsedData(content: SuiParsedData): Withdraw;
2104
- static fromSuiObjectData(data: SuiObjectData): Withdraw;
2105
- static fetch(client: SuiClient, id: string): Promise<Withdraw>;
2106
- }