@typus/typus-sdk 1.5.4 → 1.5.5-a

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 (411) hide show
  1. package/dist/src/constants/token.d.ts +5 -53
  2. package/dist/src/constants/token.js +174 -104
  3. package/dist/src/typus-dov-single-v2/history/user-history.d.ts +2 -1
  4. package/dist/src/typus-launch/airdrop/authority-entry.js +2 -2
  5. package/package.json +2 -1
  6. package/dist/src/typus-perp/_dependencies/source/0x1/ascii/structs.d.ts +0 -92
  7. package/dist/src/typus-perp/_dependencies/source/0x1/ascii/structs.js +0 -406
  8. package/dist/src/typus-perp/_dependencies/source/0x1/bit-vector/structs.d.ts +0 -56
  9. package/dist/src/typus-perp/_dependencies/source/0x1/bit-vector/structs.js +0 -268
  10. package/dist/src/typus-perp/_dependencies/source/0x1/fixed-point32/structs.d.ts +0 -46
  11. package/dist/src/typus-perp/_dependencies/source/0x1/fixed-point32/structs.js +0 -228
  12. package/dist/src/typus-perp/_dependencies/source/0x1/index.d.ts +0 -3
  13. package/dist/src/typus-perp/_dependencies/source/0x1/index.js +0 -6
  14. package/dist/src/typus-perp/_dependencies/source/0x1/init.d.ts +0 -2
  15. package/dist/src/typus-perp/_dependencies/source/0x1/init.js +0 -55
  16. package/dist/src/typus-perp/_dependencies/source/0x1/option/structs.d.ts +0 -52
  17. package/dist/src/typus-perp/_dependencies/source/0x1/option/structs.js +0 -277
  18. package/dist/src/typus-perp/_dependencies/source/0x1/string/structs.d.ts +0 -50
  19. package/dist/src/typus-perp/_dependencies/source/0x1/string/structs.js +0 -262
  20. package/dist/src/typus-perp/_dependencies/source/0x1/type-name/structs.d.ts +0 -53
  21. package/dist/src/typus-perp/_dependencies/source/0x1/type-name/structs.js +0 -229
  22. package/dist/src/typus-perp/_dependencies/source/0x1/uq32-32/structs.d.ts +0 -46
  23. package/dist/src/typus-perp/_dependencies/source/0x1/uq32-32/structs.js +0 -228
  24. package/dist/src/typus-perp/_dependencies/source/0x1/uq64-64/structs.d.ts +0 -46
  25. package/dist/src/typus-perp/_dependencies/source/0x1/uq64-64/structs.js +0 -228
  26. package/dist/src/typus-perp/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/index.d.ts +0 -5
  27. package/dist/src/typus-perp/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/index.js +0 -8
  28. package/dist/src/typus-perp/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/init.d.ts +0 -2
  29. package/dist/src/typus-perp/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/init.js +0 -50
  30. package/dist/src/typus-perp/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/oracle/structs.d.ts +0 -350
  31. package/dist/src/typus-perp/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/oracle/structs.js +0 -803
  32. package/dist/src/typus-perp/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/pyth-parser/structs.d.ts +0 -111
  33. package/dist/src/typus-perp/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/pyth-parser/structs.js +0 -395
  34. package/dist/src/typus-perp/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/supra/structs.d.ts +0 -70
  35. package/dist/src/typus-perp/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/supra/structs.js +0 -252
  36. package/dist/src/typus-perp/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/switchboard-feed-parser/structs.d.ts +0 -70
  37. package/dist/src/typus-perp/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/switchboard-feed-parser/structs.js +0 -255
  38. package/dist/src/typus-perp/_dependencies/source/0x2/authenticator-state/structs.d.ts +0 -464
  39. package/dist/src/typus-perp/_dependencies/source/0x2/authenticator-state/structs.js +0 -904
  40. package/dist/src/typus-perp/_dependencies/source/0x2/bag/structs.d.ts +0 -61
  41. package/dist/src/typus-perp/_dependencies/source/0x2/bag/structs.js +0 -235
  42. package/dist/src/typus-perp/_dependencies/source/0x2/balance/structs.d.ts +0 -88
  43. package/dist/src/typus-perp/_dependencies/source/0x2/balance/structs.js +0 -398
  44. package/dist/src/typus-perp/_dependencies/source/0x2/bcs/structs.d.ts +0 -50
  45. package/dist/src/typus-perp/_dependencies/source/0x2/bcs/structs.js +0 -262
  46. package/dist/src/typus-perp/_dependencies/source/0x2/bls12381/structs.d.ts +0 -214
  47. package/dist/src/typus-perp/_dependencies/source/0x2/bls12381/structs.js +0 -820
  48. package/dist/src/typus-perp/_dependencies/source/0x2/borrow/structs.d.ts +0 -113
  49. package/dist/src/typus-perp/_dependencies/source/0x2/borrow/structs.js +0 -410
  50. package/dist/src/typus-perp/_dependencies/source/0x2/clock/structs.d.ts +0 -61
  51. package/dist/src/typus-perp/_dependencies/source/0x2/clock/structs.js +0 -235
  52. package/dist/src/typus-perp/_dependencies/source/0x2/coin/structs.d.ts +0 -460
  53. package/dist/src/typus-perp/_dependencies/source/0x2/coin/structs.js +0 -1259
  54. package/dist/src/typus-perp/_dependencies/source/0x2/config/structs.d.ts +0 -179
  55. package/dist/src/typus-perp/_dependencies/source/0x2/config/structs.js +0 -577
  56. package/dist/src/typus-perp/_dependencies/source/0x2/deny-list/structs.d.ts +0 -430
  57. package/dist/src/typus-perp/_dependencies/source/0x2/deny-list/structs.js +0 -1187
  58. package/dist/src/typus-perp/_dependencies/source/0x2/display/structs.d.ts +0 -241
  59. package/dist/src/typus-perp/_dependencies/source/0x2/display/structs.js +0 -584
  60. package/dist/src/typus-perp/_dependencies/source/0x2/dynamic-field/structs.d.ts +0 -68
  61. package/dist/src/typus-perp/_dependencies/source/0x2/dynamic-field/structs.js +0 -256
  62. package/dist/src/typus-perp/_dependencies/source/0x2/dynamic-object-field/structs.d.ts +0 -47
  63. package/dist/src/typus-perp/_dependencies/source/0x2/dynamic-object-field/structs.js +0 -242
  64. package/dist/src/typus-perp/_dependencies/source/0x2/groth16/structs.d.ts +0 -204
  65. package/dist/src/typus-perp/_dependencies/source/0x2/groth16/structs.js +0 -720
  66. package/dist/src/typus-perp/_dependencies/source/0x2/group-ops/structs.d.ts +0 -50
  67. package/dist/src/typus-perp/_dependencies/source/0x2/group-ops/structs.js +0 -273
  68. package/dist/src/typus-perp/_dependencies/source/0x2/index.d.ts +0 -3
  69. package/dist/src/typus-perp/_dependencies/source/0x2/index.js +0 -6
  70. package/dist/src/typus-perp/_dependencies/source/0x2/init.d.ts +0 -2
  71. package/dist/src/typus-perp/_dependencies/source/0x2/init.js +0 -171
  72. package/dist/src/typus-perp/_dependencies/source/0x2/kiosk/structs.d.ts +0 -606
  73. package/dist/src/typus-perp/_dependencies/source/0x2/kiosk/structs.js +0 -1734
  74. package/dist/src/typus-perp/_dependencies/source/0x2/kiosk-extension/structs.d.ts +0 -121
  75. package/dist/src/typus-perp/_dependencies/source/0x2/kiosk-extension/structs.js +0 -400
  76. package/dist/src/typus-perp/_dependencies/source/0x2/linked-table/structs.d.ts +0 -153
  77. package/dist/src/typus-perp/_dependencies/source/0x2/linked-table/structs.js +0 -438
  78. package/dist/src/typus-perp/_dependencies/source/0x2/object/structs.d.ts +0 -92
  79. package/dist/src/typus-perp/_dependencies/source/0x2/object/structs.js +0 -377
  80. package/dist/src/typus-perp/_dependencies/source/0x2/object-bag/structs.d.ts +0 -61
  81. package/dist/src/typus-perp/_dependencies/source/0x2/object-bag/structs.js +0 -235
  82. package/dist/src/typus-perp/_dependencies/source/0x2/object-table/structs.d.ts +0 -61
  83. package/dist/src/typus-perp/_dependencies/source/0x2/object-table/structs.js +0 -248
  84. package/dist/src/typus-perp/_dependencies/source/0x2/package/structs.d.ts +0 -280
  85. package/dist/src/typus-perp/_dependencies/source/0x2/package/structs.js +0 -762
  86. package/dist/src/typus-perp/_dependencies/source/0x2/priority-queue/structs.d.ts +0 -111
  87. package/dist/src/typus-perp/_dependencies/source/0x2/priority-queue/structs.js +0 -444
  88. package/dist/src/typus-perp/_dependencies/source/0x2/random/structs.d.ts +0 -204
  89. package/dist/src/typus-perp/_dependencies/source/0x2/random/structs.js +0 -596
  90. package/dist/src/typus-perp/_dependencies/source/0x2/sui/structs.d.ts +0 -46
  91. package/dist/src/typus-perp/_dependencies/source/0x2/sui/structs.js +0 -228
  92. package/dist/src/typus-perp/_dependencies/source/0x2/table/structs.d.ts +0 -61
  93. package/dist/src/typus-perp/_dependencies/source/0x2/table/structs.js +0 -248
  94. package/dist/src/typus-perp/_dependencies/source/0x2/table-vec/structs.d.ts +0 -68
  95. package/dist/src/typus-perp/_dependencies/source/0x2/table-vec/structs.js +0 -274
  96. package/dist/src/typus-perp/_dependencies/source/0x2/token/structs.d.ts +0 -449
  97. package/dist/src/typus-perp/_dependencies/source/0x2/token/structs.js +0 -1107
  98. package/dist/src/typus-perp/_dependencies/source/0x2/transfer/structs.d.ts +0 -57
  99. package/dist/src/typus-perp/_dependencies/source/0x2/transfer/structs.js +0 -246
  100. package/dist/src/typus-perp/_dependencies/source/0x2/transfer-policy/structs.d.ts +0 -370
  101. package/dist/src/typus-perp/_dependencies/source/0x2/transfer-policy/structs.js +0 -1109
  102. package/dist/src/typus-perp/_dependencies/source/0x2/tx-context/structs.d.ts +0 -74
  103. package/dist/src/typus-perp/_dependencies/source/0x2/tx-context/structs.js +0 -289
  104. package/dist/src/typus-perp/_dependencies/source/0x2/url/structs.d.ts +0 -53
  105. package/dist/src/typus-perp/_dependencies/source/0x2/url/structs.js +0 -229
  106. package/dist/src/typus-perp/_dependencies/source/0x2/vec-map/structs.d.ts +0 -111
  107. package/dist/src/typus-perp/_dependencies/source/0x2/vec-map/structs.js +0 -446
  108. package/dist/src/typus-perp/_dependencies/source/0x2/vec-set/structs.d.ts +0 -51
  109. package/dist/src/typus-perp/_dependencies/source/0x2/vec-set/structs.js +0 -276
  110. package/dist/src/typus-perp/_dependencies/source/0x2/versioned/structs.d.ts +0 -113
  111. package/dist/src/typus-perp/_dependencies/source/0x2/versioned/structs.js +0 -389
  112. package/dist/src/typus-perp/_dependencies/source/0x2/zklogin-verified-id/structs.d.ts +0 -110
  113. package/dist/src/typus-perp/_dependencies/source/0x2/zklogin-verified-id/structs.js +0 -263
  114. package/dist/src/typus-perp/_dependencies/source/0x2/zklogin-verified-issuer/structs.d.ts +0 -74
  115. package/dist/src/typus-perp/_dependencies/source/0x2/zklogin-verified-issuer/structs.js +0 -245
  116. package/dist/src/typus-perp/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/index.d.ts +0 -3
  117. package/dist/src/typus-perp/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/index.js +0 -6
  118. package/dist/src/typus-perp/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/init.d.ts +0 -2
  119. package/dist/src/typus-perp/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/init.js +0 -40
  120. package/dist/src/typus-perp/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/validator/structs.d.ts +0 -55
  121. package/dist/src/typus-perp/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/validator/structs.js +0 -229
  122. package/dist/src/typus-perp/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/index.d.ts +0 -4
  123. package/dist/src/typus-perp/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/index.js +0 -7
  124. package/dist/src/typus-perp/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/init.d.ts +0 -2
  125. package/dist/src/typus-perp/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/init.js +0 -43
  126. package/dist/src/typus-perp/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/price-data-pull/structs.d.ts +0 -46
  127. package/dist/src/typus-perp/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/price-data-pull/structs.js +0 -228
  128. package/dist/src/typus-perp/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/suprasvaluefeed/structs.d.ts +0 -121
  129. package/dist/src/typus-perp/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/suprasvaluefeed/structs.js +0 -401
  130. package/dist/src/typus-perp/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/airdrop/structs.d.ts +0 -489
  131. package/dist/src/typus-perp/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/airdrop/structs.js +0 -1102
  132. package/dist/src/typus-perp/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/big-vector/structs.d.ts +0 -147
  133. package/dist/src/typus-perp/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/big-vector/structs.js +0 -456
  134. package/dist/src/typus-perp/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/critbit/structs.d.ts +0 -239
  135. package/dist/src/typus-perp/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/critbit/structs.js +0 -653
  136. package/dist/src/typus-perp/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/ecosystem/structs.d.ts +0 -405
  137. package/dist/src/typus-perp/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/ecosystem/structs.js +0 -908
  138. package/dist/src/typus-perp/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/index.d.ts +0 -8
  139. package/dist/src/typus-perp/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/index.js +0 -11
  140. package/dist/src/typus-perp/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/init.d.ts +0 -2
  141. package/dist/src/typus-perp/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/init.js +0 -102
  142. package/dist/src/typus-perp/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/keyed-big-vector/structs.d.ts +0 -227
  143. package/dist/src/typus-perp/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/keyed-big-vector/structs.js +0 -632
  144. package/dist/src/typus-perp/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/leaderboard/structs.d.ts +0 -699
  145. package/dist/src/typus-perp/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/leaderboard/structs.js +0 -1486
  146. package/dist/src/typus-perp/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/linked-object-table/structs.d.ts +0 -161
  147. package/dist/src/typus-perp/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/linked-object-table/structs.js +0 -438
  148. package/dist/src/typus-perp/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/linked-set/structs.d.ts +0 -147
  149. package/dist/src/typus-perp/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/linked-set/structs.js +0 -430
  150. package/dist/src/typus-perp/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/tails-staking/structs.d.ts +0 -1071
  151. package/dist/src/typus-perp/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/tails-staking/structs.js +0 -2285
  152. package/dist/src/typus-perp/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/tgld/structs.d.ts +0 -279
  153. package/dist/src/typus-perp/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/tgld/structs.js +0 -742
  154. package/dist/src/typus-perp/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/user/structs.d.ts +0 -328
  155. package/dist/src/typus-perp/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/user/structs.js +0 -910
  156. package/dist/src/typus-perp/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/discount-mint/structs.d.ts +0 -628
  157. package/dist/src/typus-perp/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/discount-mint/structs.js +0 -1345
  158. package/dist/src/typus-perp/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/index.d.ts +0 -9
  159. package/dist/src/typus-perp/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/index.js +0 -12
  160. package/dist/src/typus-perp/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/init.d.ts +0 -2
  161. package/dist/src/typus-perp/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/init.js +0 -72
  162. package/dist/src/typus-perp/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/royalty-rule/structs.d.ts +0 -94
  163. package/dist/src/typus-perp/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/royalty-rule/structs.js +0 -382
  164. package/dist/src/typus-perp/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/staking/structs.d.ts +0 -454
  165. package/dist/src/typus-perp/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/staking/structs.js +0 -896
  166. package/dist/src/typus-perp/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/table-vec/structs.d.ts +0 -68
  167. package/dist/src/typus-perp/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/table-vec/structs.js +0 -274
  168. package/dist/src/typus-perp/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/typus-nft/structs.d.ts +0 -1117
  169. package/dist/src/typus-perp/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/typus-nft/structs.js +0 -2417
  170. package/dist/src/typus-perp/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/auto-bid/structs.d.ts +0 -1524
  171. package/dist/src/typus-perp/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/auto-bid/structs.js +0 -3062
  172. package/dist/src/typus-perp/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/index.d.ts +0 -10
  173. package/dist/src/typus-perp/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/index.js +0 -13
  174. package/dist/src/typus-perp/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/init.d.ts +0 -2
  175. package/dist/src/typus-perp/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/init.js +0 -145
  176. package/dist/src/typus-perp/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tails-staking/structs.d.ts +0 -1267
  177. package/dist/src/typus-perp/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tails-staking/structs.js +0 -2856
  178. package/dist/src/typus-perp/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-authorized-entry/structs.d.ts +0 -1412
  179. package/dist/src/typus-perp/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-authorized-entry/structs.js +0 -1679
  180. package/dist/src/typus-perp/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-fee-pool-entry/structs.d.ts +0 -425
  181. package/dist/src/typus-perp/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-fee-pool-entry/structs.js +0 -1259
  182. package/dist/src/typus-perp/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-registry-authorized-entry/structs.d.ts +0 -1156
  183. package/dist/src/typus-perp/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-registry-authorized-entry/structs.js +0 -1879
  184. package/dist/src/typus-perp/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-view-function/structs.d.ts +0 -82
  185. package/dist/src/typus-perp/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-view-function/structs.js +0 -264
  186. package/dist/src/typus-perp/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/typus-dov-single/structs.d.ts +0 -5022
  187. package/dist/src/typus-perp/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/typus-dov-single/structs.js +0 -7690
  188. package/dist/src/typus-perp/_dependencies/source/0x7237ec8436ef7e927c45470db6db3a834dd84cf903aedee3844e847fe4805399/index.d.ts +0 -3
  189. package/dist/src/typus-perp/_dependencies/source/0x7237ec8436ef7e927c45470db6db3a834dd84cf903aedee3844e847fe4805399/index.js +0 -6
  190. package/dist/src/typus-perp/_dependencies/source/0x7237ec8436ef7e927c45470db6db3a834dd84cf903aedee3844e847fe4805399/init.d.ts +0 -2
  191. package/dist/src/typus-perp/_dependencies/source/0x7237ec8436ef7e927c45470db6db3a834dd84cf903aedee3844e847fe4805399/init.js +0 -4
  192. package/dist/src/typus-perp/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/authority/structs.d.ts +0 -88
  193. package/dist/src/typus-perp/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/authority/structs.js +0 -266
  194. package/dist/src/typus-perp/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/balance-pool/structs.d.ts +0 -347
  195. package/dist/src/typus-perp/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/balance-pool/structs.js +0 -591
  196. package/dist/src/typus-perp/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/big-vector/structs.d.ts +0 -73
  197. package/dist/src/typus-perp/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/big-vector/structs.js +0 -258
  198. package/dist/src/typus-perp/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/dutch/structs.d.ts +0 -876
  199. package/dist/src/typus-perp/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/dutch/structs.js +0 -1745
  200. package/dist/src/typus-perp/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/i64/structs.d.ts +0 -46
  201. package/dist/src/typus-perp/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/i64/structs.js +0 -224
  202. package/dist/src/typus-perp/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/index.d.ts +0 -3
  203. package/dist/src/typus-perp/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/index.js +0 -6
  204. package/dist/src/typus-perp/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/init.d.ts +0 -2
  205. package/dist/src/typus-perp/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/init.js +0 -89
  206. package/dist/src/typus-perp/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/linked-list/structs.d.ts +0 -155
  207. package/dist/src/typus-perp/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/linked-list/structs.js +0 -444
  208. package/dist/src/typus-perp/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/vault/structs.d.ts +0 -2386
  209. package/dist/src/typus-perp/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/vault/structs.js +0 -5024
  210. package/dist/src/typus-perp/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/aggregator/structs.d.ts +0 -745
  211. package/dist/src/typus-perp/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/aggregator/structs.js +0 -1239
  212. package/dist/src/typus-perp/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/index.d.ts +0 -3
  213. package/dist/src/typus-perp/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/index.js +0 -6
  214. package/dist/src/typus-perp/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/init.d.ts +0 -2
  215. package/dist/src/typus-perp/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/init.js +0 -53
  216. package/dist/src/typus-perp/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/job/structs.d.ts +0 -87
  217. package/dist/src/typus-perp/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/job/structs.js +0 -287
  218. package/dist/src/typus-perp/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/math/structs.d.ts +0 -58
  219. package/dist/src/typus-perp/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/math/structs.js +0 -240
  220. package/dist/src/typus-perp/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/quote/structs.d.ts +0 -121
  221. package/dist/src/typus-perp/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/quote/structs.js +0 -332
  222. package/dist/src/typus-perp/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/switchboard/structs.d.ts +0 -55
  223. package/dist/src/typus-perp/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/switchboard/structs.js +0 -229
  224. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/batch-price-attestation/structs.d.ts +0 -289
  225. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/batch-price-attestation/structs.js +0 -453
  226. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/contract-upgrade/structs.d.ts +0 -114
  227. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/contract-upgrade/structs.js +0 -384
  228. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/data-source/structs.d.ts +0 -71
  229. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/data-source/structs.js +0 -235
  230. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/event/structs.d.ts +0 -209
  231. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/event/structs.js +0 -383
  232. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/governance/structs.d.ts +0 -73
  233. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/governance/structs.js +0 -275
  234. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/governance-action/structs.d.ts +0 -46
  235. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/governance-action/structs.js +0 -228
  236. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/governance-instruction/structs.d.ts +0 -77
  237. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/governance-instruction/structs.js +0 -281
  238. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/hot-potato-vector/structs.d.ts +0 -51
  239. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/hot-potato-vector/structs.js +0 -276
  240. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/i64/structs.d.ts +0 -52
  241. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/i64/structs.js +0 -234
  242. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/index.d.ts +0 -3
  243. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/index.js +0 -6
  244. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/init.d.ts +0 -2
  245. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/init.js +0 -95
  246. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/migrate/structs.d.ts +0 -51
  247. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/migrate/structs.js +0 -229
  248. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/price/structs.d.ts +0 -89
  249. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/price/structs.js +0 -247
  250. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/price-feed/structs.d.ts +0 -158
  251. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/price-feed/structs.js +0 -242
  252. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/price-identifier/structs.d.ts +0 -50
  253. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/price-identifier/structs.js +0 -262
  254. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/price-info/structs.d.ts +0 -360
  255. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/price-info/structs.js +0 -396
  256. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/price-status/structs.d.ts +0 -46
  257. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/price-status/structs.js +0 -228
  258. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/set/structs.d.ts +0 -120
  259. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/set/structs.js +0 -431
  260. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/set-data-sources/structs.d.ts +0 -81
  261. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/set-data-sources/structs.js +0 -263
  262. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/set-fee-recipient/structs.d.ts +0 -46
  263. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/set-fee-recipient/structs.js +0 -231
  264. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/set-governance-data-source/structs.d.ts +0 -77
  265. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/set-governance-data-source/structs.js +0 -241
  266. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/set-stale-price-threshold/structs.d.ts +0 -46
  267. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/set-stale-price-threshold/structs.js +0 -228
  268. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/set-update-fee/structs.d.ts +0 -52
  269. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/set-update-fee/structs.js +0 -234
  270. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/setup/structs.d.ts +0 -55
  271. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/setup/structs.js +0 -229
  272. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/state/structs.d.ts +0 -282
  273. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/state/structs.js +0 -573
  274. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/version-control/structs.d.ts +0 -130
  275. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/version-control/structs.js +0 -524
  276. package/dist/src/typus-perp/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/index.d.ts +0 -3
  277. package/dist/src/typus-perp/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/index.js +0 -6
  278. package/dist/src/typus-perp/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/init.d.ts +0 -2
  279. package/dist/src/typus-perp/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/init.js +0 -46
  280. package/dist/src/typus-perp/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/kiosk-lock-rule/structs.d.ts +0 -88
  281. package/dist/src/typus-perp/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/kiosk-lock-rule/structs.js +0 -376
  282. package/dist/src/typus-perp/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/royalty-rule/structs.d.ts +0 -94
  283. package/dist/src/typus-perp/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/royalty-rule/structs.js +0 -382
  284. package/dist/src/typus-perp/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/witness-rule/structs.d.ts +0 -46
  285. package/dist/src/typus-perp/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/witness-rule/structs.js +0 -239
  286. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/bytes20/structs.d.ts +0 -50
  287. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/bytes20/structs.js +0 -262
  288. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/bytes32/structs.d.ts +0 -50
  289. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/bytes32/structs.js +0 -262
  290. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/consumed-vaas/structs.d.ts +0 -77
  291. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/consumed-vaas/structs.js +0 -264
  292. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/cursor/structs.d.ts +0 -51
  293. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/cursor/structs.js +0 -276
  294. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/emitter/structs.d.ts +0 -153
  295. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/emitter/structs.js +0 -531
  296. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/external-address/structs.d.ts +0 -57
  297. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/external-address/structs.js +0 -229
  298. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/fee-collector/structs.d.ts +0 -63
  299. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/fee-collector/structs.js +0 -270
  300. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/governance-message/structs.d.ts +0 -168
  301. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/governance-message/structs.js +0 -470
  302. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/guardian/structs.d.ts +0 -57
  303. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/guardian/structs.js +0 -229
  304. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/guardian-set/structs.d.ts +0 -81
  305. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/guardian-set/structs.js +0 -275
  306. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/guardian-signature/structs.d.ts +0 -85
  307. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/guardian-signature/structs.js +0 -247
  308. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/index.d.ts +0 -3
  309. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/index.js +0 -6
  310. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/init.d.ts +0 -2
  311. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/init.js +0 -100
  312. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/migrate/structs.d.ts +0 -51
  313. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/migrate/structs.js +0 -229
  314. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/package-utils/structs.d.ts +0 -194
  315. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/package-utils/structs.js +0 -680
  316. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/publish-message/structs.d.ts +0 -151
  317. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/publish-message/structs.js +0 -459
  318. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/set/structs.d.ts +0 -110
  319. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/set/structs.js +0 -422
  320. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/set-fee/structs.d.ts +0 -88
  321. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/set-fee/structs.js +0 -376
  322. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/setup/structs.d.ts +0 -55
  323. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/setup/structs.js +0 -229
  324. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/state/structs.d.ts +0 -278
  325. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/state/structs.js +0 -465
  326. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/transfer-fee/structs.d.ts +0 -94
  327. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/transfer-fee/structs.js +0 -385
  328. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/update-guardian-set/structs.d.ts +0 -159
  329. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/update-guardian-set/structs.js +0 -565
  330. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/upgrade-contract/structs.d.ts +0 -156
  331. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/upgrade-contract/structs.js +0 -532
  332. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/vaa/structs.d.ts +0 -128
  333. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/vaa/structs.js +0 -312
  334. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/version-control/structs.d.ts +0 -88
  335. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/version-control/structs.js +0 -376
  336. package/dist/src/typus-perp/_framework/init-loader.d.ts +0 -2
  337. package/dist/src/typus-perp/_framework/init-loader.js +0 -73
  338. package/dist/src/typus-perp/_framework/loader.d.ts +0 -17
  339. package/dist/src/typus-perp/_framework/loader.js +0 -108
  340. package/dist/src/typus-perp/_framework/reified.d.ts +0 -108
  341. package/dist/src/typus-perp/_framework/reified.js +0 -237
  342. package/dist/src/typus-perp/_framework/util.d.ts +0 -35
  343. package/dist/src/typus-perp/_framework/util.js +0 -396
  344. package/dist/src/typus-perp/_framework/vector.d.ts +0 -35
  345. package/dist/src/typus-perp/_framework/vector.js +0 -112
  346. package/dist/src/typus-perp/fetch.d.ts +0 -17
  347. package/dist/src/typus-perp/fetch.js +0 -410
  348. package/dist/src/typus-perp/index.d.ts +0 -5
  349. package/dist/src/typus-perp/index.js +0 -29
  350. package/dist/src/typus-perp/readVec.d.ts +0 -3
  351. package/dist/src/typus-perp/readVec.js +0 -117
  352. package/dist/src/typus-perp/typus_perp/admin/functions.d.ts +0 -50
  353. package/dist/src/typus-perp/typus_perp/admin/functions.js +0 -116
  354. package/dist/src/typus-perp/typus_perp/admin/structs.d.ts +0 -447
  355. package/dist/src/typus-perp/typus_perp/admin/structs.js +0 -908
  356. package/dist/src/typus-perp/typus_perp/index.d.ts +0 -3
  357. package/dist/src/typus-perp/typus_perp/index.js +0 -6
  358. package/dist/src/typus-perp/typus_perp/init.d.ts +0 -2
  359. package/dist/src/typus-perp/typus_perp/init.js +0 -117
  360. package/dist/src/typus-perp/typus_perp/lp-pool/functions.d.ts +0 -342
  361. package/dist/src/typus-perp/typus_perp/lp-pool/functions.js +0 -517
  362. package/dist/src/typus-perp/typus_perp/lp-pool/structs.d.ts +0 -3088
  363. package/dist/src/typus-perp/typus_perp/lp-pool/structs.js +0 -4810
  364. package/dist/src/typus-perp/typus_perp/math/functions.d.ts +0 -18
  365. package/dist/src/typus-perp/typus_perp/math/functions.js +0 -49
  366. package/dist/src/typus-perp/typus_perp/oracle/functions.d.ts +0 -13
  367. package/dist/src/typus-perp/typus_perp/oracle/functions.js +0 -25
  368. package/dist/src/typus-perp/typus_perp/oracle/structs.d.ts +0 -111
  369. package/dist/src/typus-perp/typus_perp/oracle/structs.js +0 -395
  370. package/dist/src/typus-perp/typus_perp/position/functions.d.ts +0 -343
  371. package/dist/src/typus-perp/typus_perp/position/functions.js +0 -659
  372. package/dist/src/typus-perp/typus_perp/position/structs.d.ts +0 -1174
  373. package/dist/src/typus-perp/typus_perp/position/structs.js +0 -1634
  374. package/dist/src/typus-perp/typus_perp/symbol/functions.d.ts +0 -9
  375. package/dist/src/typus-perp/typus_perp/symbol/functions.js +0 -33
  376. package/dist/src/typus-perp/typus_perp/symbol/structs.d.ts +0 -81
  377. package/dist/src/typus-perp/typus_perp/symbol/structs.js +0 -235
  378. package/dist/src/typus-perp/typus_perp/tlp/functions.d.ts +0 -19
  379. package/dist/src/typus-perp/typus_perp/tlp/functions.js +0 -41
  380. package/dist/src/typus-perp/typus_perp/tlp/structs.d.ts +0 -97
  381. package/dist/src/typus-perp/typus_perp/tlp/structs.js +0 -377
  382. package/dist/src/typus-perp/typus_perp/token-interface/functions.d.ts +0 -11
  383. package/dist/src/typus-perp/typus_perp/token-interface/functions.js +0 -20
  384. package/dist/src/typus-perp/typus_perp/trading/functions.d.ts +0 -493
  385. package/dist/src/typus-perp/typus_perp/trading/functions.js +0 -711
  386. package/dist/src/typus-perp/typus_perp/trading/structs.d.ts +0 -2993
  387. package/dist/src/typus-perp/typus_perp/trading/structs.js +0 -5012
  388. package/dist/src/typus-perp/typus_perp/treasury-caps/functions.d.ts +0 -9
  389. package/dist/src/typus-perp/typus_perp/treasury-caps/functions.js +0 -35
  390. package/dist/src/typus-perp/typus_perp/treasury-caps/structs.d.ts +0 -55
  391. package/dist/src/typus-perp/typus_perp/treasury-caps/structs.js +0 -229
  392. package/dist/src/typus-perp/typus_stake_pool/admin/functions.d.ts +0 -50
  393. package/dist/src/typus-perp/typus_stake_pool/admin/functions.js +0 -116
  394. package/dist/src/typus-perp/typus_stake_pool/admin/structs.d.ts +0 -447
  395. package/dist/src/typus-perp/typus_stake_pool/admin/structs.js +0 -908
  396. package/dist/src/typus-perp/typus_stake_pool/index.d.ts +0 -3
  397. package/dist/src/typus-perp/typus_stake_pool/index.js +0 -6
  398. package/dist/src/typus-perp/typus_stake_pool/init.d.ts +0 -2
  399. package/dist/src/typus-perp/typus_stake_pool/init.js +0 -67
  400. package/dist/src/typus-perp/typus_stake_pool/stake-pool/functions.d.ts +0 -175
  401. package/dist/src/typus-perp/typus_stake_pool/stake-pool/functions.js +0 -275
  402. package/dist/src/typus-perp/typus_stake_pool/stake-pool/structs.d.ts +0 -2179
  403. package/dist/src/typus-perp/typus_stake_pool/stake-pool/structs.js +0 -3949
  404. package/dist/src/typus-perp/user/index.d.ts +0 -3
  405. package/dist/src/typus-perp/user/index.js +0 -19
  406. package/dist/src/typus-perp/user/order.d.ts +0 -29
  407. package/dist/src/typus-perp/user/order.js +0 -206
  408. package/dist/src/typus-perp/user/orderWithBidReceipt.d.ts +0 -22
  409. package/dist/src/typus-perp/user/orderWithBidReceipt.js +0 -144
  410. package/dist/src/typus-perp/user/tlp.d.ts +0 -32
  411. package/dist/src/typus-perp/user/tlp.js +0 -267
@@ -1,3088 +0,0 @@
1
- import * as reified from "../../_framework/reified";
2
- import { TypeName } from "../../_dependencies/source/0x1/type-name/structs";
3
- import { UID } from "../../_dependencies/source/0x2/object/structs";
4
- import { PhantomReified, Reified, StructClass, ToField, ToTypeStr } from "../../_framework/reified";
5
- import { FieldsWithTypes } from "../../_framework/util";
6
- import { Vector } from "../../_framework/vector";
7
- import { PKG_V1 } from "../index";
8
- import { SuiClient, SuiObjectData, SuiParsedData } from "@mysten/sui/client";
9
- export declare function isConfig(type: string): boolean;
10
- export interface ConfigFields {
11
- oracleId: ToField<"address">;
12
- liquidityTokenDecimal: ToField<"u64">;
13
- spotConfig: ToField<SpotConfig>;
14
- marginConfig: ToField<MarginConfig>;
15
- u64Padding: ToField<Vector<"u64">>;
16
- }
17
- export type ConfigReified = Reified<Config, ConfigFields>;
18
- export declare class Config implements StructClass {
19
- __StructClass: true;
20
- static readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::Config";
21
- static readonly $numTypeParams = 0;
22
- static readonly $isPhantom: readonly [];
23
- readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::Config";
24
- readonly $fullTypeName: `${typeof PKG_V1}::lp_pool::Config`;
25
- readonly $typeArgs: [];
26
- readonly $isPhantom: readonly [];
27
- readonly oracleId: ToField<"address">;
28
- readonly liquidityTokenDecimal: ToField<"u64">;
29
- readonly spotConfig: ToField<SpotConfig>;
30
- readonly marginConfig: ToField<MarginConfig>;
31
- readonly u64Padding: ToField<Vector<"u64">>;
32
- private constructor();
33
- static reified(): ConfigReified;
34
- static get r(): reified.StructClassReified<Config, ConfigFields>;
35
- static phantom(): PhantomReified<ToTypeStr<Config>>;
36
- static get p(): reified.PhantomReified<"0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::Config">;
37
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
38
- oracle_id: string;
39
- liquidity_token_decimal: string;
40
- spot_config: {
41
- min_deposit: string;
42
- max_capacity: string;
43
- target_weight_bp: string;
44
- basic_mint_fee_bp: string;
45
- additional_mint_fee_bp: string;
46
- basic_burn_fee_bp: string;
47
- additional_burn_fee_bp: string;
48
- swap_fee_bp: string;
49
- swap_fee_protocol_share_bp: string;
50
- u64_padding: string[];
51
- };
52
- margin_config: {
53
- basic_borrow_rate_0: string;
54
- basic_borrow_rate_1: string;
55
- basic_borrow_rate_2: string;
56
- utilization_threshold_bp_0: string;
57
- utilization_threshold_bp_1: string;
58
- borrow_interval_ts_ms: string;
59
- max_order_reserve_ratio_bp: string;
60
- u64_padding: string[];
61
- };
62
- u64_padding: string[];
63
- }, {
64
- oracle_id: string;
65
- liquidity_token_decimal: string | number | bigint;
66
- spot_config: {
67
- min_deposit: string | number | bigint;
68
- max_capacity: string | number | bigint;
69
- target_weight_bp: string | number | bigint;
70
- basic_mint_fee_bp: string | number | bigint;
71
- additional_mint_fee_bp: string | number | bigint;
72
- basic_burn_fee_bp: string | number | bigint;
73
- additional_burn_fee_bp: string | number | bigint;
74
- swap_fee_bp: string | number | bigint;
75
- swap_fee_protocol_share_bp: string | number | bigint;
76
- u64_padding: Iterable<string | number | bigint> & {
77
- length: number;
78
- };
79
- };
80
- margin_config: {
81
- basic_borrow_rate_0: string | number | bigint;
82
- basic_borrow_rate_1: string | number | bigint;
83
- basic_borrow_rate_2: string | number | bigint;
84
- utilization_threshold_bp_0: string | number | bigint;
85
- utilization_threshold_bp_1: string | number | bigint;
86
- borrow_interval_ts_ms: string | number | bigint;
87
- max_order_reserve_ratio_bp: string | number | bigint;
88
- u64_padding: Iterable<string | number | bigint> & {
89
- length: number;
90
- };
91
- };
92
- u64_padding: Iterable<string | number | bigint> & {
93
- length: number;
94
- };
95
- }>;
96
- static fromFields(fields: Record<string, any>): Config;
97
- static fromFieldsWithTypes(item: FieldsWithTypes): Config;
98
- static fromBcs(data: Uint8Array): Config;
99
- toJSONField(): {
100
- oracleId: string;
101
- liquidityTokenDecimal: string;
102
- spotConfig: {
103
- minDeposit: string;
104
- maxCapacity: string;
105
- targetWeightBp: string;
106
- basicMintFeeBp: string;
107
- additionalMintFeeBp: string;
108
- basicBurnFeeBp: string;
109
- additionalBurnFeeBp: string;
110
- swapFeeBp: string;
111
- swapFeeProtocolShareBp: string;
112
- u64Padding: string[];
113
- };
114
- marginConfig: {
115
- basicBorrowRate0: string;
116
- basicBorrowRate1: string;
117
- basicBorrowRate2: string;
118
- utilizationThresholdBp0: string;
119
- utilizationThresholdBp1: string;
120
- borrowIntervalTsMs: string;
121
- maxOrderReserveRatioBp: string;
122
- u64Padding: string[];
123
- };
124
- u64Padding: string[];
125
- };
126
- toJSON(): {
127
- oracleId: string;
128
- liquidityTokenDecimal: string;
129
- spotConfig: {
130
- minDeposit: string;
131
- maxCapacity: string;
132
- targetWeightBp: string;
133
- basicMintFeeBp: string;
134
- additionalMintFeeBp: string;
135
- basicBurnFeeBp: string;
136
- additionalBurnFeeBp: string;
137
- swapFeeBp: string;
138
- swapFeeProtocolShareBp: string;
139
- u64Padding: string[];
140
- };
141
- marginConfig: {
142
- basicBorrowRate0: string;
143
- basicBorrowRate1: string;
144
- basicBorrowRate2: string;
145
- utilizationThresholdBp0: string;
146
- utilizationThresholdBp1: string;
147
- borrowIntervalTsMs: string;
148
- maxOrderReserveRatioBp: string;
149
- u64Padding: string[];
150
- };
151
- u64Padding: string[];
152
- $typeName: string;
153
- $typeArgs: [];
154
- };
155
- static fromJSONField(field: any): Config;
156
- static fromJSON(json: Record<string, any>): Config;
157
- static fromSuiParsedData(content: SuiParsedData): Config;
158
- static fromSuiObjectData(data: SuiObjectData): Config;
159
- static fetch(client: SuiClient, id: string): Promise<Config>;
160
- }
161
- export declare function isState(type: string): boolean;
162
- export interface StateFields {
163
- liquidityAmount: ToField<"u64">;
164
- valueInUsd: ToField<"u64">;
165
- reservedAmount: ToField<"u64">;
166
- updateTsMs: ToField<"u64">;
167
- isActive: ToField<"bool">;
168
- lastBorrowRateTsMs: ToField<"u64">;
169
- cumulativeBorrowRate: ToField<"u64">;
170
- previousLastBorrowRateTsMs: ToField<"u64">;
171
- previousCumulativeBorrowRate: ToField<"u64">;
172
- u64Padding: ToField<Vector<"u64">>;
173
- }
174
- export type StateReified = Reified<State, StateFields>;
175
- export declare class State implements StructClass {
176
- __StructClass: true;
177
- static readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::State";
178
- static readonly $numTypeParams = 0;
179
- static readonly $isPhantom: readonly [];
180
- readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::State";
181
- readonly $fullTypeName: `${typeof PKG_V1}::lp_pool::State`;
182
- readonly $typeArgs: [];
183
- readonly $isPhantom: readonly [];
184
- readonly liquidityAmount: ToField<"u64">;
185
- readonly valueInUsd: ToField<"u64">;
186
- readonly reservedAmount: ToField<"u64">;
187
- readonly updateTsMs: ToField<"u64">;
188
- readonly isActive: ToField<"bool">;
189
- readonly lastBorrowRateTsMs: ToField<"u64">;
190
- readonly cumulativeBorrowRate: ToField<"u64">;
191
- readonly previousLastBorrowRateTsMs: ToField<"u64">;
192
- readonly previousCumulativeBorrowRate: ToField<"u64">;
193
- readonly u64Padding: ToField<Vector<"u64">>;
194
- private constructor();
195
- static reified(): StateReified;
196
- static get r(): reified.StructClassReified<State, StateFields>;
197
- static phantom(): PhantomReified<ToTypeStr<State>>;
198
- static get p(): reified.PhantomReified<"0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::State">;
199
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
200
- liquidity_amount: string;
201
- value_in_usd: string;
202
- reserved_amount: string;
203
- update_ts_ms: string;
204
- is_active: boolean;
205
- last_borrow_rate_ts_ms: string;
206
- cumulative_borrow_rate: string;
207
- previous_last_borrow_rate_ts_ms: string;
208
- previous_cumulative_borrow_rate: string;
209
- u64_padding: string[];
210
- }, {
211
- liquidity_amount: string | number | bigint;
212
- value_in_usd: string | number | bigint;
213
- reserved_amount: string | number | bigint;
214
- update_ts_ms: string | number | bigint;
215
- is_active: boolean;
216
- last_borrow_rate_ts_ms: string | number | bigint;
217
- cumulative_borrow_rate: string | number | bigint;
218
- previous_last_borrow_rate_ts_ms: string | number | bigint;
219
- previous_cumulative_borrow_rate: string | number | bigint;
220
- u64_padding: Iterable<string | number | bigint> & {
221
- length: number;
222
- };
223
- }>;
224
- static fromFields(fields: Record<string, any>): State;
225
- static fromFieldsWithTypes(item: FieldsWithTypes): State;
226
- static fromBcs(data: Uint8Array): State;
227
- toJSONField(): {
228
- liquidityAmount: string;
229
- valueInUsd: string;
230
- reservedAmount: string;
231
- updateTsMs: string;
232
- isActive: boolean;
233
- lastBorrowRateTsMs: string;
234
- cumulativeBorrowRate: string;
235
- previousLastBorrowRateTsMs: string;
236
- previousCumulativeBorrowRate: string;
237
- u64Padding: string[];
238
- };
239
- toJSON(): {
240
- liquidityAmount: string;
241
- valueInUsd: string;
242
- reservedAmount: string;
243
- updateTsMs: string;
244
- isActive: boolean;
245
- lastBorrowRateTsMs: string;
246
- cumulativeBorrowRate: string;
247
- previousLastBorrowRateTsMs: string;
248
- previousCumulativeBorrowRate: string;
249
- u64Padding: string[];
250
- $typeName: string;
251
- $typeArgs: [];
252
- };
253
- static fromJSONField(field: any): State;
254
- static fromJSON(json: Record<string, any>): State;
255
- static fromSuiParsedData(content: SuiParsedData): State;
256
- static fromSuiObjectData(data: SuiObjectData): State;
257
- static fetch(client: SuiClient, id: string): Promise<State>;
258
- }
259
- export declare function isRegistry(type: string): boolean;
260
- export interface RegistryFields {
261
- id: ToField<UID>;
262
- numPool: ToField<"u64">;
263
- liquidityPoolRegistry: ToField<UID>;
264
- }
265
- export type RegistryReified = Reified<Registry, RegistryFields>;
266
- export declare class Registry implements StructClass {
267
- __StructClass: true;
268
- static readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::Registry";
269
- static readonly $numTypeParams = 0;
270
- static readonly $isPhantom: readonly [];
271
- readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::Registry";
272
- readonly $fullTypeName: `${typeof PKG_V1}::lp_pool::Registry`;
273
- readonly $typeArgs: [];
274
- readonly $isPhantom: readonly [];
275
- readonly id: ToField<UID>;
276
- readonly numPool: ToField<"u64">;
277
- readonly liquidityPoolRegistry: ToField<UID>;
278
- private constructor();
279
- static reified(): RegistryReified;
280
- static get r(): reified.StructClassReified<Registry, RegistryFields>;
281
- static phantom(): PhantomReified<ToTypeStr<Registry>>;
282
- static get p(): reified.PhantomReified<"0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::Registry">;
283
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
284
- id: {
285
- id: {
286
- bytes: string;
287
- };
288
- };
289
- num_pool: string;
290
- liquidity_pool_registry: {
291
- id: {
292
- bytes: string;
293
- };
294
- };
295
- }, {
296
- id: {
297
- id: {
298
- bytes: string;
299
- };
300
- };
301
- num_pool: string | number | bigint;
302
- liquidity_pool_registry: {
303
- id: {
304
- bytes: string;
305
- };
306
- };
307
- }>;
308
- static fromFields(fields: Record<string, any>): Registry;
309
- static fromFieldsWithTypes(item: FieldsWithTypes): Registry;
310
- static fromBcs(data: Uint8Array): Registry;
311
- toJSONField(): {
312
- id: string;
313
- numPool: string;
314
- liquidityPoolRegistry: string;
315
- };
316
- toJSON(): {
317
- id: string;
318
- numPool: string;
319
- liquidityPoolRegistry: string;
320
- $typeName: string;
321
- $typeArgs: [];
322
- };
323
- static fromJSONField(field: any): Registry;
324
- static fromJSON(json: Record<string, any>): Registry;
325
- static fromSuiParsedData(content: SuiParsedData): Registry;
326
- static fromSuiObjectData(data: SuiObjectData): Registry;
327
- static fetch(client: SuiClient, id: string): Promise<Registry>;
328
- }
329
- export declare function isAddLiquidityTokenEvent(type: string): boolean;
330
- export interface AddLiquidityTokenEventFields {
331
- sender: ToField<"address">;
332
- index: ToField<"u64">;
333
- tokenType: ToField<TypeName>;
334
- config: ToField<Config>;
335
- state: ToField<State>;
336
- u64Padding: ToField<Vector<"u64">>;
337
- }
338
- export type AddLiquidityTokenEventReified = Reified<AddLiquidityTokenEvent, AddLiquidityTokenEventFields>;
339
- export declare class AddLiquidityTokenEvent implements StructClass {
340
- __StructClass: true;
341
- static readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::AddLiquidityTokenEvent";
342
- static readonly $numTypeParams = 0;
343
- static readonly $isPhantom: readonly [];
344
- readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::AddLiquidityTokenEvent";
345
- readonly $fullTypeName: `${typeof PKG_V1}::lp_pool::AddLiquidityTokenEvent`;
346
- readonly $typeArgs: [];
347
- readonly $isPhantom: readonly [];
348
- readonly sender: ToField<"address">;
349
- readonly index: ToField<"u64">;
350
- readonly tokenType: ToField<TypeName>;
351
- readonly config: ToField<Config>;
352
- readonly state: ToField<State>;
353
- readonly u64Padding: ToField<Vector<"u64">>;
354
- private constructor();
355
- static reified(): AddLiquidityTokenEventReified;
356
- static get r(): reified.StructClassReified<AddLiquidityTokenEvent, AddLiquidityTokenEventFields>;
357
- static phantom(): PhantomReified<ToTypeStr<AddLiquidityTokenEvent>>;
358
- static get p(): reified.PhantomReified<"0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::AddLiquidityTokenEvent">;
359
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
360
- sender: string;
361
- index: string;
362
- token_type: {
363
- name: {
364
- bytes: number[];
365
- };
366
- };
367
- config: {
368
- oracle_id: string;
369
- liquidity_token_decimal: string;
370
- spot_config: {
371
- min_deposit: string;
372
- max_capacity: string;
373
- target_weight_bp: string;
374
- basic_mint_fee_bp: string;
375
- additional_mint_fee_bp: string;
376
- basic_burn_fee_bp: string;
377
- additional_burn_fee_bp: string;
378
- swap_fee_bp: string;
379
- swap_fee_protocol_share_bp: string;
380
- u64_padding: string[];
381
- };
382
- margin_config: {
383
- basic_borrow_rate_0: string;
384
- basic_borrow_rate_1: string;
385
- basic_borrow_rate_2: string;
386
- utilization_threshold_bp_0: string;
387
- utilization_threshold_bp_1: string;
388
- borrow_interval_ts_ms: string;
389
- max_order_reserve_ratio_bp: string;
390
- u64_padding: string[];
391
- };
392
- u64_padding: string[];
393
- };
394
- state: {
395
- liquidity_amount: string;
396
- value_in_usd: string;
397
- reserved_amount: string;
398
- update_ts_ms: string;
399
- is_active: boolean;
400
- last_borrow_rate_ts_ms: string;
401
- cumulative_borrow_rate: string;
402
- previous_last_borrow_rate_ts_ms: string;
403
- previous_cumulative_borrow_rate: string;
404
- u64_padding: string[];
405
- };
406
- u64_padding: string[];
407
- }, {
408
- sender: string;
409
- index: string | number | bigint;
410
- token_type: {
411
- name: {
412
- bytes: Iterable<number> & {
413
- length: number;
414
- };
415
- };
416
- };
417
- config: {
418
- oracle_id: string;
419
- liquidity_token_decimal: string | number | bigint;
420
- spot_config: {
421
- min_deposit: string | number | bigint;
422
- max_capacity: string | number | bigint;
423
- target_weight_bp: string | number | bigint;
424
- basic_mint_fee_bp: string | number | bigint;
425
- additional_mint_fee_bp: string | number | bigint;
426
- basic_burn_fee_bp: string | number | bigint;
427
- additional_burn_fee_bp: string | number | bigint;
428
- swap_fee_bp: string | number | bigint;
429
- swap_fee_protocol_share_bp: string | number | bigint;
430
- u64_padding: Iterable<string | number | bigint> & {
431
- length: number;
432
- };
433
- };
434
- margin_config: {
435
- basic_borrow_rate_0: string | number | bigint;
436
- basic_borrow_rate_1: string | number | bigint;
437
- basic_borrow_rate_2: string | number | bigint;
438
- utilization_threshold_bp_0: string | number | bigint;
439
- utilization_threshold_bp_1: string | number | bigint;
440
- borrow_interval_ts_ms: string | number | bigint;
441
- max_order_reserve_ratio_bp: string | number | bigint;
442
- u64_padding: Iterable<string | number | bigint> & {
443
- length: number;
444
- };
445
- };
446
- u64_padding: Iterable<string | number | bigint> & {
447
- length: number;
448
- };
449
- };
450
- state: {
451
- liquidity_amount: string | number | bigint;
452
- value_in_usd: string | number | bigint;
453
- reserved_amount: string | number | bigint;
454
- update_ts_ms: string | number | bigint;
455
- is_active: boolean;
456
- last_borrow_rate_ts_ms: string | number | bigint;
457
- cumulative_borrow_rate: string | number | bigint;
458
- previous_last_borrow_rate_ts_ms: string | number | bigint;
459
- previous_cumulative_borrow_rate: string | number | bigint;
460
- u64_padding: Iterable<string | number | bigint> & {
461
- length: number;
462
- };
463
- };
464
- u64_padding: Iterable<string | number | bigint> & {
465
- length: number;
466
- };
467
- }>;
468
- static fromFields(fields: Record<string, any>): AddLiquidityTokenEvent;
469
- static fromFieldsWithTypes(item: FieldsWithTypes): AddLiquidityTokenEvent;
470
- static fromBcs(data: Uint8Array): AddLiquidityTokenEvent;
471
- toJSONField(): {
472
- sender: string;
473
- index: string;
474
- tokenType: {
475
- name: string;
476
- };
477
- config: {
478
- oracleId: string;
479
- liquidityTokenDecimal: string;
480
- spotConfig: {
481
- minDeposit: string;
482
- maxCapacity: string;
483
- targetWeightBp: string;
484
- basicMintFeeBp: string;
485
- additionalMintFeeBp: string;
486
- basicBurnFeeBp: string;
487
- additionalBurnFeeBp: string;
488
- swapFeeBp: string;
489
- swapFeeProtocolShareBp: string;
490
- u64Padding: string[];
491
- };
492
- marginConfig: {
493
- basicBorrowRate0: string;
494
- basicBorrowRate1: string;
495
- basicBorrowRate2: string;
496
- utilizationThresholdBp0: string;
497
- utilizationThresholdBp1: string;
498
- borrowIntervalTsMs: string;
499
- maxOrderReserveRatioBp: string;
500
- u64Padding: string[];
501
- };
502
- u64Padding: string[];
503
- };
504
- state: {
505
- liquidityAmount: string;
506
- valueInUsd: string;
507
- reservedAmount: string;
508
- updateTsMs: string;
509
- isActive: boolean;
510
- lastBorrowRateTsMs: string;
511
- cumulativeBorrowRate: string;
512
- previousLastBorrowRateTsMs: string;
513
- previousCumulativeBorrowRate: string;
514
- u64Padding: string[];
515
- };
516
- u64Padding: string[];
517
- };
518
- toJSON(): {
519
- sender: string;
520
- index: string;
521
- tokenType: {
522
- name: string;
523
- };
524
- config: {
525
- oracleId: string;
526
- liquidityTokenDecimal: string;
527
- spotConfig: {
528
- minDeposit: string;
529
- maxCapacity: string;
530
- targetWeightBp: string;
531
- basicMintFeeBp: string;
532
- additionalMintFeeBp: string;
533
- basicBurnFeeBp: string;
534
- additionalBurnFeeBp: string;
535
- swapFeeBp: string;
536
- swapFeeProtocolShareBp: string;
537
- u64Padding: string[];
538
- };
539
- marginConfig: {
540
- basicBorrowRate0: string;
541
- basicBorrowRate1: string;
542
- basicBorrowRate2: string;
543
- utilizationThresholdBp0: string;
544
- utilizationThresholdBp1: string;
545
- borrowIntervalTsMs: string;
546
- maxOrderReserveRatioBp: string;
547
- u64Padding: string[];
548
- };
549
- u64Padding: string[];
550
- };
551
- state: {
552
- liquidityAmount: string;
553
- valueInUsd: string;
554
- reservedAmount: string;
555
- updateTsMs: string;
556
- isActive: boolean;
557
- lastBorrowRateTsMs: string;
558
- cumulativeBorrowRate: string;
559
- previousLastBorrowRateTsMs: string;
560
- previousCumulativeBorrowRate: string;
561
- u64Padding: string[];
562
- };
563
- u64Padding: string[];
564
- $typeName: string;
565
- $typeArgs: [];
566
- };
567
- static fromJSONField(field: any): AddLiquidityTokenEvent;
568
- static fromJSON(json: Record<string, any>): AddLiquidityTokenEvent;
569
- static fromSuiParsedData(content: SuiParsedData): AddLiquidityTokenEvent;
570
- static fromSuiObjectData(data: SuiObjectData): AddLiquidityTokenEvent;
571
- static fetch(client: SuiClient, id: string): Promise<AddLiquidityTokenEvent>;
572
- }
573
- export declare function isBurnLpEvent(type: string): boolean;
574
- export interface BurnLpEventFields {
575
- sender: ToField<"address">;
576
- index: ToField<"u64">;
577
- lpTokenType: ToField<TypeName>;
578
- burnLpAmount: ToField<"u64">;
579
- burnAmountUsd: ToField<"u64">;
580
- burnFeeUsd: ToField<"u64">;
581
- liquidityTokenType: ToField<TypeName>;
582
- withdrawTokenAmount: ToField<"u64">;
583
- u64Padding: ToField<Vector<"u64">>;
584
- }
585
- export type BurnLpEventReified = Reified<BurnLpEvent, BurnLpEventFields>;
586
- export declare class BurnLpEvent implements StructClass {
587
- __StructClass: true;
588
- static readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::BurnLpEvent";
589
- static readonly $numTypeParams = 0;
590
- static readonly $isPhantom: readonly [];
591
- readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::BurnLpEvent";
592
- readonly $fullTypeName: `${typeof PKG_V1}::lp_pool::BurnLpEvent`;
593
- readonly $typeArgs: [];
594
- readonly $isPhantom: readonly [];
595
- readonly sender: ToField<"address">;
596
- readonly index: ToField<"u64">;
597
- readonly lpTokenType: ToField<TypeName>;
598
- readonly burnLpAmount: ToField<"u64">;
599
- readonly burnAmountUsd: ToField<"u64">;
600
- readonly burnFeeUsd: ToField<"u64">;
601
- readonly liquidityTokenType: ToField<TypeName>;
602
- readonly withdrawTokenAmount: ToField<"u64">;
603
- readonly u64Padding: ToField<Vector<"u64">>;
604
- private constructor();
605
- static reified(): BurnLpEventReified;
606
- static get r(): reified.StructClassReified<BurnLpEvent, BurnLpEventFields>;
607
- static phantom(): PhantomReified<ToTypeStr<BurnLpEvent>>;
608
- static get p(): reified.PhantomReified<"0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::BurnLpEvent">;
609
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
610
- sender: string;
611
- index: string;
612
- lp_token_type: {
613
- name: {
614
- bytes: number[];
615
- };
616
- };
617
- burn_lp_amount: string;
618
- burn_amount_usd: string;
619
- burn_fee_usd: string;
620
- liquidity_token_type: {
621
- name: {
622
- bytes: number[];
623
- };
624
- };
625
- withdraw_token_amount: string;
626
- u64_padding: string[];
627
- }, {
628
- sender: string;
629
- index: string | number | bigint;
630
- lp_token_type: {
631
- name: {
632
- bytes: Iterable<number> & {
633
- length: number;
634
- };
635
- };
636
- };
637
- burn_lp_amount: string | number | bigint;
638
- burn_amount_usd: string | number | bigint;
639
- burn_fee_usd: string | number | bigint;
640
- liquidity_token_type: {
641
- name: {
642
- bytes: Iterable<number> & {
643
- length: number;
644
- };
645
- };
646
- };
647
- withdraw_token_amount: string | number | bigint;
648
- u64_padding: Iterable<string | number | bigint> & {
649
- length: number;
650
- };
651
- }>;
652
- static fromFields(fields: Record<string, any>): BurnLpEvent;
653
- static fromFieldsWithTypes(item: FieldsWithTypes): BurnLpEvent;
654
- static fromBcs(data: Uint8Array): BurnLpEvent;
655
- toJSONField(): {
656
- sender: string;
657
- index: string;
658
- lpTokenType: {
659
- name: string;
660
- };
661
- burnLpAmount: string;
662
- burnAmountUsd: string;
663
- burnFeeUsd: string;
664
- liquidityTokenType: {
665
- name: string;
666
- };
667
- withdrawTokenAmount: string;
668
- u64Padding: string[];
669
- };
670
- toJSON(): {
671
- sender: string;
672
- index: string;
673
- lpTokenType: {
674
- name: string;
675
- };
676
- burnLpAmount: string;
677
- burnAmountUsd: string;
678
- burnFeeUsd: string;
679
- liquidityTokenType: {
680
- name: string;
681
- };
682
- withdrawTokenAmount: string;
683
- u64Padding: string[];
684
- $typeName: string;
685
- $typeArgs: [];
686
- };
687
- static fromJSONField(field: any): BurnLpEvent;
688
- static fromJSON(json: Record<string, any>): BurnLpEvent;
689
- static fromSuiParsedData(content: SuiParsedData): BurnLpEvent;
690
- static fromSuiObjectData(data: SuiObjectData): BurnLpEvent;
691
- static fetch(client: SuiClient, id: string): Promise<BurnLpEvent>;
692
- }
693
- export declare function isCompleteRemoveLiquidityTokenProcessEvent(type: string): boolean;
694
- export interface CompleteRemoveLiquidityTokenProcessEventFields {
695
- index: ToField<"u64">;
696
- liquidityToken: ToField<TypeName>;
697
- removedUsd: ToField<"u64">;
698
- repaidUsd: ToField<"u64">;
699
- u64Padding: ToField<Vector<"u64">>;
700
- }
701
- export type CompleteRemoveLiquidityTokenProcessEventReified = Reified<CompleteRemoveLiquidityTokenProcessEvent, CompleteRemoveLiquidityTokenProcessEventFields>;
702
- export declare class CompleteRemoveLiquidityTokenProcessEvent implements StructClass {
703
- __StructClass: true;
704
- static readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::CompleteRemoveLiquidityTokenProcessEvent";
705
- static readonly $numTypeParams = 0;
706
- static readonly $isPhantom: readonly [];
707
- readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::CompleteRemoveLiquidityTokenProcessEvent";
708
- readonly $fullTypeName: `${typeof PKG_V1}::lp_pool::CompleteRemoveLiquidityTokenProcessEvent`;
709
- readonly $typeArgs: [];
710
- readonly $isPhantom: readonly [];
711
- readonly index: ToField<"u64">;
712
- readonly liquidityToken: ToField<TypeName>;
713
- readonly removedUsd: ToField<"u64">;
714
- readonly repaidUsd: ToField<"u64">;
715
- readonly u64Padding: ToField<Vector<"u64">>;
716
- private constructor();
717
- static reified(): CompleteRemoveLiquidityTokenProcessEventReified;
718
- static get r(): reified.StructClassReified<CompleteRemoveLiquidityTokenProcessEvent, CompleteRemoveLiquidityTokenProcessEventFields>;
719
- static phantom(): PhantomReified<ToTypeStr<CompleteRemoveLiquidityTokenProcessEvent>>;
720
- static get p(): reified.PhantomReified<"0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::CompleteRemoveLiquidityTokenProcessEvent">;
721
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
722
- index: string;
723
- liquidity_token: {
724
- name: {
725
- bytes: number[];
726
- };
727
- };
728
- removed_usd: string;
729
- repaid_usd: string;
730
- u64_padding: string[];
731
- }, {
732
- index: string | number | bigint;
733
- liquidity_token: {
734
- name: {
735
- bytes: Iterable<number> & {
736
- length: number;
737
- };
738
- };
739
- };
740
- removed_usd: string | number | bigint;
741
- repaid_usd: string | number | bigint;
742
- u64_padding: Iterable<string | number | bigint> & {
743
- length: number;
744
- };
745
- }>;
746
- static fromFields(fields: Record<string, any>): CompleteRemoveLiquidityTokenProcessEvent;
747
- static fromFieldsWithTypes(item: FieldsWithTypes): CompleteRemoveLiquidityTokenProcessEvent;
748
- static fromBcs(data: Uint8Array): CompleteRemoveLiquidityTokenProcessEvent;
749
- toJSONField(): {
750
- index: string;
751
- liquidityToken: {
752
- name: string;
753
- };
754
- removedUsd: string;
755
- repaidUsd: string;
756
- u64Padding: string[];
757
- };
758
- toJSON(): {
759
- index: string;
760
- liquidityToken: {
761
- name: string;
762
- };
763
- removedUsd: string;
764
- repaidUsd: string;
765
- u64Padding: string[];
766
- $typeName: string;
767
- $typeArgs: [];
768
- };
769
- static fromJSONField(field: any): CompleteRemoveLiquidityTokenProcessEvent;
770
- static fromJSON(json: Record<string, any>): CompleteRemoveLiquidityTokenProcessEvent;
771
- static fromSuiParsedData(content: SuiParsedData): CompleteRemoveLiquidityTokenProcessEvent;
772
- static fromSuiObjectData(data: SuiObjectData): CompleteRemoveLiquidityTokenProcessEvent;
773
- static fetch(client: SuiClient, id: string): Promise<CompleteRemoveLiquidityTokenProcessEvent>;
774
- }
775
- export declare function isLiquidityPool(type: string): boolean;
776
- export interface LiquidityPoolFields {
777
- id: ToField<UID>;
778
- index: ToField<"u64">;
779
- lpTokenType: ToField<TypeName>;
780
- liquidityTokens: ToField<Vector<TypeName>>;
781
- tokenPools: ToField<Vector<TokenPool>>;
782
- poolInfo: ToField<LiquidityPoolInfo>;
783
- u64Padding: ToField<Vector<"u64">>;
784
- bcsPadding: ToField<Vector<"u8">>;
785
- }
786
- export type LiquidityPoolReified = Reified<LiquidityPool, LiquidityPoolFields>;
787
- export declare class LiquidityPool implements StructClass {
788
- __StructClass: true;
789
- static readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::LiquidityPool";
790
- static readonly $numTypeParams = 0;
791
- static readonly $isPhantom: readonly [];
792
- readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::LiquidityPool";
793
- readonly $fullTypeName: `${typeof PKG_V1}::lp_pool::LiquidityPool`;
794
- readonly $typeArgs: [];
795
- readonly $isPhantom: readonly [];
796
- readonly id: ToField<UID>;
797
- readonly index: ToField<"u64">;
798
- readonly lpTokenType: ToField<TypeName>;
799
- readonly liquidityTokens: ToField<Vector<TypeName>>;
800
- readonly tokenPools: ToField<Vector<TokenPool>>;
801
- readonly poolInfo: ToField<LiquidityPoolInfo>;
802
- readonly u64Padding: ToField<Vector<"u64">>;
803
- readonly bcsPadding: ToField<Vector<"u8">>;
804
- private constructor();
805
- static reified(): LiquidityPoolReified;
806
- static get r(): reified.StructClassReified<LiquidityPool, LiquidityPoolFields>;
807
- static phantom(): PhantomReified<ToTypeStr<LiquidityPool>>;
808
- static get p(): reified.PhantomReified<"0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::LiquidityPool">;
809
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
810
- id: {
811
- id: {
812
- bytes: string;
813
- };
814
- };
815
- index: string;
816
- lp_token_type: {
817
- name: {
818
- bytes: number[];
819
- };
820
- };
821
- liquidity_tokens: {
822
- name: {
823
- bytes: number[];
824
- };
825
- }[];
826
- token_pools: {
827
- token_type: {
828
- name: {
829
- bytes: number[];
830
- };
831
- };
832
- config: {
833
- oracle_id: string;
834
- liquidity_token_decimal: string;
835
- spot_config: {
836
- min_deposit: string;
837
- max_capacity: string;
838
- target_weight_bp: string;
839
- basic_mint_fee_bp: string;
840
- additional_mint_fee_bp: string;
841
- basic_burn_fee_bp: string;
842
- additional_burn_fee_bp: string;
843
- swap_fee_bp: string;
844
- swap_fee_protocol_share_bp: string;
845
- u64_padding: string[];
846
- };
847
- margin_config: {
848
- basic_borrow_rate_0: string;
849
- basic_borrow_rate_1: string;
850
- basic_borrow_rate_2: string;
851
- utilization_threshold_bp_0: string;
852
- utilization_threshold_bp_1: string;
853
- borrow_interval_ts_ms: string;
854
- max_order_reserve_ratio_bp: string;
855
- u64_padding: string[];
856
- };
857
- u64_padding: string[];
858
- };
859
- state: {
860
- liquidity_amount: string;
861
- value_in_usd: string;
862
- reserved_amount: string;
863
- update_ts_ms: string;
864
- is_active: boolean;
865
- last_borrow_rate_ts_ms: string;
866
- cumulative_borrow_rate: string;
867
- previous_last_borrow_rate_ts_ms: string;
868
- previous_cumulative_borrow_rate: string;
869
- u64_padding: string[];
870
- };
871
- }[];
872
- pool_info: {
873
- lp_token_decimal: string;
874
- total_share_supply: string;
875
- tvl_usd: string;
876
- is_active: boolean;
877
- };
878
- u64_padding: string[];
879
- bcs_padding: number[];
880
- }, {
881
- id: {
882
- id: {
883
- bytes: string;
884
- };
885
- };
886
- index: string | number | bigint;
887
- lp_token_type: {
888
- name: {
889
- bytes: Iterable<number> & {
890
- length: number;
891
- };
892
- };
893
- };
894
- liquidity_tokens: Iterable<{
895
- name: {
896
- bytes: Iterable<number> & {
897
- length: number;
898
- };
899
- };
900
- }> & {
901
- length: number;
902
- };
903
- token_pools: Iterable<{
904
- token_type: {
905
- name: {
906
- bytes: Iterable<number> & {
907
- length: number;
908
- };
909
- };
910
- };
911
- config: {
912
- oracle_id: string;
913
- liquidity_token_decimal: string | number | bigint;
914
- spot_config: {
915
- min_deposit: string | number | bigint;
916
- max_capacity: string | number | bigint;
917
- target_weight_bp: string | number | bigint;
918
- basic_mint_fee_bp: string | number | bigint;
919
- additional_mint_fee_bp: string | number | bigint;
920
- basic_burn_fee_bp: string | number | bigint;
921
- additional_burn_fee_bp: string | number | bigint;
922
- swap_fee_bp: string | number | bigint;
923
- swap_fee_protocol_share_bp: string | number | bigint;
924
- u64_padding: Iterable<string | number | bigint> & {
925
- length: number;
926
- };
927
- };
928
- margin_config: {
929
- basic_borrow_rate_0: string | number | bigint;
930
- basic_borrow_rate_1: string | number | bigint;
931
- basic_borrow_rate_2: string | number | bigint;
932
- utilization_threshold_bp_0: string | number | bigint;
933
- utilization_threshold_bp_1: string | number | bigint;
934
- borrow_interval_ts_ms: string | number | bigint;
935
- max_order_reserve_ratio_bp: string | number | bigint;
936
- u64_padding: Iterable<string | number | bigint> & {
937
- length: number;
938
- };
939
- };
940
- u64_padding: Iterable<string | number | bigint> & {
941
- length: number;
942
- };
943
- };
944
- state: {
945
- liquidity_amount: string | number | bigint;
946
- value_in_usd: string | number | bigint;
947
- reserved_amount: string | number | bigint;
948
- update_ts_ms: string | number | bigint;
949
- is_active: boolean;
950
- last_borrow_rate_ts_ms: string | number | bigint;
951
- cumulative_borrow_rate: string | number | bigint;
952
- previous_last_borrow_rate_ts_ms: string | number | bigint;
953
- previous_cumulative_borrow_rate: string | number | bigint;
954
- u64_padding: Iterable<string | number | bigint> & {
955
- length: number;
956
- };
957
- };
958
- }> & {
959
- length: number;
960
- };
961
- pool_info: {
962
- lp_token_decimal: string | number | bigint;
963
- total_share_supply: string | number | bigint;
964
- tvl_usd: string | number | bigint;
965
- is_active: boolean;
966
- };
967
- u64_padding: Iterable<string | number | bigint> & {
968
- length: number;
969
- };
970
- bcs_padding: Iterable<number> & {
971
- length: number;
972
- };
973
- }>;
974
- static fromFields(fields: Record<string, any>): LiquidityPool;
975
- static fromFieldsWithTypes(item: FieldsWithTypes): LiquidityPool;
976
- static fromBcs(data: Uint8Array): LiquidityPool;
977
- toJSONField(): {
978
- id: string;
979
- index: string;
980
- lpTokenType: {
981
- name: string;
982
- };
983
- liquidityTokens: {
984
- name: string;
985
- }[];
986
- tokenPools: {
987
- tokenType: {
988
- name: string;
989
- };
990
- config: {
991
- oracleId: string;
992
- liquidityTokenDecimal: string;
993
- spotConfig: {
994
- minDeposit: string;
995
- maxCapacity: string;
996
- targetWeightBp: string;
997
- basicMintFeeBp: string;
998
- additionalMintFeeBp: string;
999
- basicBurnFeeBp: string;
1000
- additionalBurnFeeBp: string;
1001
- swapFeeBp: string;
1002
- swapFeeProtocolShareBp: string;
1003
- u64Padding: string[];
1004
- };
1005
- marginConfig: {
1006
- basicBorrowRate0: string;
1007
- basicBorrowRate1: string;
1008
- basicBorrowRate2: string;
1009
- utilizationThresholdBp0: string;
1010
- utilizationThresholdBp1: string;
1011
- borrowIntervalTsMs: string;
1012
- maxOrderReserveRatioBp: string;
1013
- u64Padding: string[];
1014
- };
1015
- u64Padding: string[];
1016
- };
1017
- state: {
1018
- liquidityAmount: string;
1019
- valueInUsd: string;
1020
- reservedAmount: string;
1021
- updateTsMs: string;
1022
- isActive: boolean;
1023
- lastBorrowRateTsMs: string;
1024
- cumulativeBorrowRate: string;
1025
- previousLastBorrowRateTsMs: string;
1026
- previousCumulativeBorrowRate: string;
1027
- u64Padding: string[];
1028
- };
1029
- }[];
1030
- poolInfo: {
1031
- lpTokenDecimal: string;
1032
- totalShareSupply: string;
1033
- tvlUsd: string;
1034
- isActive: boolean;
1035
- };
1036
- u64Padding: string[];
1037
- bcsPadding: number[];
1038
- };
1039
- toJSON(): {
1040
- id: string;
1041
- index: string;
1042
- lpTokenType: {
1043
- name: string;
1044
- };
1045
- liquidityTokens: {
1046
- name: string;
1047
- }[];
1048
- tokenPools: {
1049
- tokenType: {
1050
- name: string;
1051
- };
1052
- config: {
1053
- oracleId: string;
1054
- liquidityTokenDecimal: string;
1055
- spotConfig: {
1056
- minDeposit: string;
1057
- maxCapacity: string;
1058
- targetWeightBp: string;
1059
- basicMintFeeBp: string;
1060
- additionalMintFeeBp: string;
1061
- basicBurnFeeBp: string;
1062
- additionalBurnFeeBp: string;
1063
- swapFeeBp: string;
1064
- swapFeeProtocolShareBp: string;
1065
- u64Padding: string[];
1066
- };
1067
- marginConfig: {
1068
- basicBorrowRate0: string;
1069
- basicBorrowRate1: string;
1070
- basicBorrowRate2: string;
1071
- utilizationThresholdBp0: string;
1072
- utilizationThresholdBp1: string;
1073
- borrowIntervalTsMs: string;
1074
- maxOrderReserveRatioBp: string;
1075
- u64Padding: string[];
1076
- };
1077
- u64Padding: string[];
1078
- };
1079
- state: {
1080
- liquidityAmount: string;
1081
- valueInUsd: string;
1082
- reservedAmount: string;
1083
- updateTsMs: string;
1084
- isActive: boolean;
1085
- lastBorrowRateTsMs: string;
1086
- cumulativeBorrowRate: string;
1087
- previousLastBorrowRateTsMs: string;
1088
- previousCumulativeBorrowRate: string;
1089
- u64Padding: string[];
1090
- };
1091
- }[];
1092
- poolInfo: {
1093
- lpTokenDecimal: string;
1094
- totalShareSupply: string;
1095
- tvlUsd: string;
1096
- isActive: boolean;
1097
- };
1098
- u64Padding: string[];
1099
- bcsPadding: number[];
1100
- $typeName: string;
1101
- $typeArgs: [];
1102
- };
1103
- static fromJSONField(field: any): LiquidityPool;
1104
- static fromJSON(json: Record<string, any>): LiquidityPool;
1105
- static fromSuiParsedData(content: SuiParsedData): LiquidityPool;
1106
- static fromSuiObjectData(data: SuiObjectData): LiquidityPool;
1107
- static fetch(client: SuiClient, id: string): Promise<LiquidityPool>;
1108
- }
1109
- export declare function isLiquidityPoolInfo(type: string): boolean;
1110
- export interface LiquidityPoolInfoFields {
1111
- lpTokenDecimal: ToField<"u64">;
1112
- totalShareSupply: ToField<"u64">;
1113
- tvlUsd: ToField<"u64">;
1114
- isActive: ToField<"bool">;
1115
- }
1116
- export type LiquidityPoolInfoReified = Reified<LiquidityPoolInfo, LiquidityPoolInfoFields>;
1117
- export declare class LiquidityPoolInfo implements StructClass {
1118
- __StructClass: true;
1119
- static readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::LiquidityPoolInfo";
1120
- static readonly $numTypeParams = 0;
1121
- static readonly $isPhantom: readonly [];
1122
- readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::LiquidityPoolInfo";
1123
- readonly $fullTypeName: `${typeof PKG_V1}::lp_pool::LiquidityPoolInfo`;
1124
- readonly $typeArgs: [];
1125
- readonly $isPhantom: readonly [];
1126
- readonly lpTokenDecimal: ToField<"u64">;
1127
- readonly totalShareSupply: ToField<"u64">;
1128
- readonly tvlUsd: ToField<"u64">;
1129
- readonly isActive: ToField<"bool">;
1130
- private constructor();
1131
- static reified(): LiquidityPoolInfoReified;
1132
- static get r(): reified.StructClassReified<LiquidityPoolInfo, LiquidityPoolInfoFields>;
1133
- static phantom(): PhantomReified<ToTypeStr<LiquidityPoolInfo>>;
1134
- static get p(): reified.PhantomReified<"0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::LiquidityPoolInfo">;
1135
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
1136
- lp_token_decimal: string;
1137
- total_share_supply: string;
1138
- tvl_usd: string;
1139
- is_active: boolean;
1140
- }, {
1141
- lp_token_decimal: string | number | bigint;
1142
- total_share_supply: string | number | bigint;
1143
- tvl_usd: string | number | bigint;
1144
- is_active: boolean;
1145
- }>;
1146
- static fromFields(fields: Record<string, any>): LiquidityPoolInfo;
1147
- static fromFieldsWithTypes(item: FieldsWithTypes): LiquidityPoolInfo;
1148
- static fromBcs(data: Uint8Array): LiquidityPoolInfo;
1149
- toJSONField(): {
1150
- lpTokenDecimal: string;
1151
- totalShareSupply: string;
1152
- tvlUsd: string;
1153
- isActive: boolean;
1154
- };
1155
- toJSON(): {
1156
- lpTokenDecimal: string;
1157
- totalShareSupply: string;
1158
- tvlUsd: string;
1159
- isActive: boolean;
1160
- $typeName: string;
1161
- $typeArgs: [];
1162
- };
1163
- static fromJSONField(field: any): LiquidityPoolInfo;
1164
- static fromJSON(json: Record<string, any>): LiquidityPoolInfo;
1165
- static fromSuiParsedData(content: SuiParsedData): LiquidityPoolInfo;
1166
- static fromSuiObjectData(data: SuiObjectData): LiquidityPoolInfo;
1167
- static fetch(client: SuiClient, id: string): Promise<LiquidityPoolInfo>;
1168
- }
1169
- export declare function isManagerFlashRemoveLiquidityEvent(type: string): boolean;
1170
- export interface ManagerFlashRemoveLiquidityEventFields {
1171
- index: ToField<"u64">;
1172
- liquidityToken: ToField<TypeName>;
1173
- price: ToField<"u64">;
1174
- priceDecimal: ToField<"u64">;
1175
- removeAmount: ToField<"u64">;
1176
- removedUsd: ToField<"u64">;
1177
- u64Padding: ToField<Vector<"u64">>;
1178
- }
1179
- export type ManagerFlashRemoveLiquidityEventReified = Reified<ManagerFlashRemoveLiquidityEvent, ManagerFlashRemoveLiquidityEventFields>;
1180
- export declare class ManagerFlashRemoveLiquidityEvent implements StructClass {
1181
- __StructClass: true;
1182
- static readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::ManagerFlashRemoveLiquidityEvent";
1183
- static readonly $numTypeParams = 0;
1184
- static readonly $isPhantom: readonly [];
1185
- readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::ManagerFlashRemoveLiquidityEvent";
1186
- readonly $fullTypeName: `${typeof PKG_V1}::lp_pool::ManagerFlashRemoveLiquidityEvent`;
1187
- readonly $typeArgs: [];
1188
- readonly $isPhantom: readonly [];
1189
- readonly index: ToField<"u64">;
1190
- readonly liquidityToken: ToField<TypeName>;
1191
- readonly price: ToField<"u64">;
1192
- readonly priceDecimal: ToField<"u64">;
1193
- readonly removeAmount: ToField<"u64">;
1194
- readonly removedUsd: ToField<"u64">;
1195
- readonly u64Padding: ToField<Vector<"u64">>;
1196
- private constructor();
1197
- static reified(): ManagerFlashRemoveLiquidityEventReified;
1198
- static get r(): reified.StructClassReified<ManagerFlashRemoveLiquidityEvent, ManagerFlashRemoveLiquidityEventFields>;
1199
- static phantom(): PhantomReified<ToTypeStr<ManagerFlashRemoveLiquidityEvent>>;
1200
- static get p(): reified.PhantomReified<"0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::ManagerFlashRemoveLiquidityEvent">;
1201
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
1202
- index: string;
1203
- liquidity_token: {
1204
- name: {
1205
- bytes: number[];
1206
- };
1207
- };
1208
- price: string;
1209
- price_decimal: string;
1210
- remove_amount: string;
1211
- removed_usd: string;
1212
- u64_padding: string[];
1213
- }, {
1214
- index: string | number | bigint;
1215
- liquidity_token: {
1216
- name: {
1217
- bytes: Iterable<number> & {
1218
- length: number;
1219
- };
1220
- };
1221
- };
1222
- price: string | number | bigint;
1223
- price_decimal: string | number | bigint;
1224
- remove_amount: string | number | bigint;
1225
- removed_usd: string | number | bigint;
1226
- u64_padding: Iterable<string | number | bigint> & {
1227
- length: number;
1228
- };
1229
- }>;
1230
- static fromFields(fields: Record<string, any>): ManagerFlashRemoveLiquidityEvent;
1231
- static fromFieldsWithTypes(item: FieldsWithTypes): ManagerFlashRemoveLiquidityEvent;
1232
- static fromBcs(data: Uint8Array): ManagerFlashRemoveLiquidityEvent;
1233
- toJSONField(): {
1234
- index: string;
1235
- liquidityToken: {
1236
- name: string;
1237
- };
1238
- price: string;
1239
- priceDecimal: string;
1240
- removeAmount: string;
1241
- removedUsd: string;
1242
- u64Padding: string[];
1243
- };
1244
- toJSON(): {
1245
- index: string;
1246
- liquidityToken: {
1247
- name: string;
1248
- };
1249
- price: string;
1250
- priceDecimal: string;
1251
- removeAmount: string;
1252
- removedUsd: string;
1253
- u64Padding: string[];
1254
- $typeName: string;
1255
- $typeArgs: [];
1256
- };
1257
- static fromJSONField(field: any): ManagerFlashRemoveLiquidityEvent;
1258
- static fromJSON(json: Record<string, any>): ManagerFlashRemoveLiquidityEvent;
1259
- static fromSuiParsedData(content: SuiParsedData): ManagerFlashRemoveLiquidityEvent;
1260
- static fromSuiObjectData(data: SuiObjectData): ManagerFlashRemoveLiquidityEvent;
1261
- static fetch(client: SuiClient, id: string): Promise<ManagerFlashRemoveLiquidityEvent>;
1262
- }
1263
- export declare function isManagerFlashRepayLiquidityEvent(type: string): boolean;
1264
- export interface ManagerFlashRepayLiquidityEventFields {
1265
- index: ToField<"u64">;
1266
- liquidityToken: ToField<TypeName>;
1267
- price: ToField<"u64">;
1268
- priceDecimal: ToField<"u64">;
1269
- repaidAmount: ToField<"u64">;
1270
- repaidUsd: ToField<"u64">;
1271
- u64Padding: ToField<Vector<"u64">>;
1272
- }
1273
- export type ManagerFlashRepayLiquidityEventReified = Reified<ManagerFlashRepayLiquidityEvent, ManagerFlashRepayLiquidityEventFields>;
1274
- export declare class ManagerFlashRepayLiquidityEvent implements StructClass {
1275
- __StructClass: true;
1276
- static readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::ManagerFlashRepayLiquidityEvent";
1277
- static readonly $numTypeParams = 0;
1278
- static readonly $isPhantom: readonly [];
1279
- readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::ManagerFlashRepayLiquidityEvent";
1280
- readonly $fullTypeName: `${typeof PKG_V1}::lp_pool::ManagerFlashRepayLiquidityEvent`;
1281
- readonly $typeArgs: [];
1282
- readonly $isPhantom: readonly [];
1283
- readonly index: ToField<"u64">;
1284
- readonly liquidityToken: ToField<TypeName>;
1285
- readonly price: ToField<"u64">;
1286
- readonly priceDecimal: ToField<"u64">;
1287
- readonly repaidAmount: ToField<"u64">;
1288
- readonly repaidUsd: ToField<"u64">;
1289
- readonly u64Padding: ToField<Vector<"u64">>;
1290
- private constructor();
1291
- static reified(): ManagerFlashRepayLiquidityEventReified;
1292
- static get r(): reified.StructClassReified<ManagerFlashRepayLiquidityEvent, ManagerFlashRepayLiquidityEventFields>;
1293
- static phantom(): PhantomReified<ToTypeStr<ManagerFlashRepayLiquidityEvent>>;
1294
- static get p(): reified.PhantomReified<"0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::ManagerFlashRepayLiquidityEvent">;
1295
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
1296
- index: string;
1297
- liquidity_token: {
1298
- name: {
1299
- bytes: number[];
1300
- };
1301
- };
1302
- price: string;
1303
- price_decimal: string;
1304
- repaid_amount: string;
1305
- repaid_usd: string;
1306
- u64_padding: string[];
1307
- }, {
1308
- index: string | number | bigint;
1309
- liquidity_token: {
1310
- name: {
1311
- bytes: Iterable<number> & {
1312
- length: number;
1313
- };
1314
- };
1315
- };
1316
- price: string | number | bigint;
1317
- price_decimal: string | number | bigint;
1318
- repaid_amount: string | number | bigint;
1319
- repaid_usd: string | number | bigint;
1320
- u64_padding: Iterable<string | number | bigint> & {
1321
- length: number;
1322
- };
1323
- }>;
1324
- static fromFields(fields: Record<string, any>): ManagerFlashRepayLiquidityEvent;
1325
- static fromFieldsWithTypes(item: FieldsWithTypes): ManagerFlashRepayLiquidityEvent;
1326
- static fromBcs(data: Uint8Array): ManagerFlashRepayLiquidityEvent;
1327
- toJSONField(): {
1328
- index: string;
1329
- liquidityToken: {
1330
- name: string;
1331
- };
1332
- price: string;
1333
- priceDecimal: string;
1334
- repaidAmount: string;
1335
- repaidUsd: string;
1336
- u64Padding: string[];
1337
- };
1338
- toJSON(): {
1339
- index: string;
1340
- liquidityToken: {
1341
- name: string;
1342
- };
1343
- price: string;
1344
- priceDecimal: string;
1345
- repaidAmount: string;
1346
- repaidUsd: string;
1347
- u64Padding: string[];
1348
- $typeName: string;
1349
- $typeArgs: [];
1350
- };
1351
- static fromJSONField(field: any): ManagerFlashRepayLiquidityEvent;
1352
- static fromJSON(json: Record<string, any>): ManagerFlashRepayLiquidityEvent;
1353
- static fromSuiParsedData(content: SuiParsedData): ManagerFlashRepayLiquidityEvent;
1354
- static fromSuiObjectData(data: SuiObjectData): ManagerFlashRepayLiquidityEvent;
1355
- static fetch(client: SuiClient, id: string): Promise<ManagerFlashRepayLiquidityEvent>;
1356
- }
1357
- export declare function isMarginConfig(type: string): boolean;
1358
- export interface MarginConfigFields {
1359
- basicBorrowRate0: ToField<"u64">;
1360
- basicBorrowRate1: ToField<"u64">;
1361
- basicBorrowRate2: ToField<"u64">;
1362
- utilizationThresholdBp0: ToField<"u64">;
1363
- utilizationThresholdBp1: ToField<"u64">;
1364
- borrowIntervalTsMs: ToField<"u64">;
1365
- maxOrderReserveRatioBp: ToField<"u64">;
1366
- u64Padding: ToField<Vector<"u64">>;
1367
- }
1368
- export type MarginConfigReified = Reified<MarginConfig, MarginConfigFields>;
1369
- export declare class MarginConfig implements StructClass {
1370
- __StructClass: true;
1371
- static readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::MarginConfig";
1372
- static readonly $numTypeParams = 0;
1373
- static readonly $isPhantom: readonly [];
1374
- readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::MarginConfig";
1375
- readonly $fullTypeName: `${typeof PKG_V1}::lp_pool::MarginConfig`;
1376
- readonly $typeArgs: [];
1377
- readonly $isPhantom: readonly [];
1378
- readonly basicBorrowRate0: ToField<"u64">;
1379
- readonly basicBorrowRate1: ToField<"u64">;
1380
- readonly basicBorrowRate2: ToField<"u64">;
1381
- readonly utilizationThresholdBp0: ToField<"u64">;
1382
- readonly utilizationThresholdBp1: ToField<"u64">;
1383
- readonly borrowIntervalTsMs: ToField<"u64">;
1384
- readonly maxOrderReserveRatioBp: ToField<"u64">;
1385
- readonly u64Padding: ToField<Vector<"u64">>;
1386
- private constructor();
1387
- static reified(): MarginConfigReified;
1388
- static get r(): reified.StructClassReified<MarginConfig, MarginConfigFields>;
1389
- static phantom(): PhantomReified<ToTypeStr<MarginConfig>>;
1390
- static get p(): reified.PhantomReified<"0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::MarginConfig">;
1391
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
1392
- basic_borrow_rate_0: string;
1393
- basic_borrow_rate_1: string;
1394
- basic_borrow_rate_2: string;
1395
- utilization_threshold_bp_0: string;
1396
- utilization_threshold_bp_1: string;
1397
- borrow_interval_ts_ms: string;
1398
- max_order_reserve_ratio_bp: string;
1399
- u64_padding: string[];
1400
- }, {
1401
- basic_borrow_rate_0: string | number | bigint;
1402
- basic_borrow_rate_1: string | number | bigint;
1403
- basic_borrow_rate_2: string | number | bigint;
1404
- utilization_threshold_bp_0: string | number | bigint;
1405
- utilization_threshold_bp_1: string | number | bigint;
1406
- borrow_interval_ts_ms: string | number | bigint;
1407
- max_order_reserve_ratio_bp: string | number | bigint;
1408
- u64_padding: Iterable<string | number | bigint> & {
1409
- length: number;
1410
- };
1411
- }>;
1412
- static fromFields(fields: Record<string, any>): MarginConfig;
1413
- static fromFieldsWithTypes(item: FieldsWithTypes): MarginConfig;
1414
- static fromBcs(data: Uint8Array): MarginConfig;
1415
- toJSONField(): {
1416
- basicBorrowRate0: string;
1417
- basicBorrowRate1: string;
1418
- basicBorrowRate2: string;
1419
- utilizationThresholdBp0: string;
1420
- utilizationThresholdBp1: string;
1421
- borrowIntervalTsMs: string;
1422
- maxOrderReserveRatioBp: string;
1423
- u64Padding: string[];
1424
- };
1425
- toJSON(): {
1426
- basicBorrowRate0: string;
1427
- basicBorrowRate1: string;
1428
- basicBorrowRate2: string;
1429
- utilizationThresholdBp0: string;
1430
- utilizationThresholdBp1: string;
1431
- borrowIntervalTsMs: string;
1432
- maxOrderReserveRatioBp: string;
1433
- u64Padding: string[];
1434
- $typeName: string;
1435
- $typeArgs: [];
1436
- };
1437
- static fromJSONField(field: any): MarginConfig;
1438
- static fromJSON(json: Record<string, any>): MarginConfig;
1439
- static fromSuiParsedData(content: SuiParsedData): MarginConfig;
1440
- static fromSuiObjectData(data: SuiObjectData): MarginConfig;
1441
- static fetch(client: SuiClient, id: string): Promise<MarginConfig>;
1442
- }
1443
- export declare function isMintLpEvent(type: string): boolean;
1444
- export interface MintLpEventFields {
1445
- sender: ToField<"address">;
1446
- index: ToField<"u64">;
1447
- liquidityTokenType: ToField<TypeName>;
1448
- depositAmount: ToField<"u64">;
1449
- depositAmountUsd: ToField<"u64">;
1450
- mintFeeUsd: ToField<"u64">;
1451
- lpTokenType: ToField<TypeName>;
1452
- mintedLpAmount: ToField<"u64">;
1453
- u64Padding: ToField<Vector<"u64">>;
1454
- }
1455
- export type MintLpEventReified = Reified<MintLpEvent, MintLpEventFields>;
1456
- export declare class MintLpEvent implements StructClass {
1457
- __StructClass: true;
1458
- static readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::MintLpEvent";
1459
- static readonly $numTypeParams = 0;
1460
- static readonly $isPhantom: readonly [];
1461
- readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::MintLpEvent";
1462
- readonly $fullTypeName: `${typeof PKG_V1}::lp_pool::MintLpEvent`;
1463
- readonly $typeArgs: [];
1464
- readonly $isPhantom: readonly [];
1465
- readonly sender: ToField<"address">;
1466
- readonly index: ToField<"u64">;
1467
- readonly liquidityTokenType: ToField<TypeName>;
1468
- readonly depositAmount: ToField<"u64">;
1469
- readonly depositAmountUsd: ToField<"u64">;
1470
- readonly mintFeeUsd: ToField<"u64">;
1471
- readonly lpTokenType: ToField<TypeName>;
1472
- readonly mintedLpAmount: ToField<"u64">;
1473
- readonly u64Padding: ToField<Vector<"u64">>;
1474
- private constructor();
1475
- static reified(): MintLpEventReified;
1476
- static get r(): reified.StructClassReified<MintLpEvent, MintLpEventFields>;
1477
- static phantom(): PhantomReified<ToTypeStr<MintLpEvent>>;
1478
- static get p(): reified.PhantomReified<"0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::MintLpEvent">;
1479
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
1480
- sender: string;
1481
- index: string;
1482
- liquidity_token_type: {
1483
- name: {
1484
- bytes: number[];
1485
- };
1486
- };
1487
- deposit_amount: string;
1488
- deposit_amount_usd: string;
1489
- mint_fee_usd: string;
1490
- lp_token_type: {
1491
- name: {
1492
- bytes: number[];
1493
- };
1494
- };
1495
- minted_lp_amount: string;
1496
- u64_padding: string[];
1497
- }, {
1498
- sender: string;
1499
- index: string | number | bigint;
1500
- liquidity_token_type: {
1501
- name: {
1502
- bytes: Iterable<number> & {
1503
- length: number;
1504
- };
1505
- };
1506
- };
1507
- deposit_amount: string | number | bigint;
1508
- deposit_amount_usd: string | number | bigint;
1509
- mint_fee_usd: string | number | bigint;
1510
- lp_token_type: {
1511
- name: {
1512
- bytes: Iterable<number> & {
1513
- length: number;
1514
- };
1515
- };
1516
- };
1517
- minted_lp_amount: string | number | bigint;
1518
- u64_padding: Iterable<string | number | bigint> & {
1519
- length: number;
1520
- };
1521
- }>;
1522
- static fromFields(fields: Record<string, any>): MintLpEvent;
1523
- static fromFieldsWithTypes(item: FieldsWithTypes): MintLpEvent;
1524
- static fromBcs(data: Uint8Array): MintLpEvent;
1525
- toJSONField(): {
1526
- sender: string;
1527
- index: string;
1528
- liquidityTokenType: {
1529
- name: string;
1530
- };
1531
- depositAmount: string;
1532
- depositAmountUsd: string;
1533
- mintFeeUsd: string;
1534
- lpTokenType: {
1535
- name: string;
1536
- };
1537
- mintedLpAmount: string;
1538
- u64Padding: string[];
1539
- };
1540
- toJSON(): {
1541
- sender: string;
1542
- index: string;
1543
- liquidityTokenType: {
1544
- name: string;
1545
- };
1546
- depositAmount: string;
1547
- depositAmountUsd: string;
1548
- mintFeeUsd: string;
1549
- lpTokenType: {
1550
- name: string;
1551
- };
1552
- mintedLpAmount: string;
1553
- u64Padding: string[];
1554
- $typeName: string;
1555
- $typeArgs: [];
1556
- };
1557
- static fromJSONField(field: any): MintLpEvent;
1558
- static fromJSON(json: Record<string, any>): MintLpEvent;
1559
- static fromSuiParsedData(content: SuiParsedData): MintLpEvent;
1560
- static fromSuiObjectData(data: SuiObjectData): MintLpEvent;
1561
- static fetch(client: SuiClient, id: string): Promise<MintLpEvent>;
1562
- }
1563
- export declare function isNewLiquidityPoolEvent(type: string): boolean;
1564
- export interface NewLiquidityPoolEventFields {
1565
- sender: ToField<"address">;
1566
- index: ToField<"u64">;
1567
- lpTokenType: ToField<TypeName>;
1568
- lpTokenDecimal: ToField<"u64">;
1569
- u64Padding: ToField<Vector<"u64">>;
1570
- }
1571
- export type NewLiquidityPoolEventReified = Reified<NewLiquidityPoolEvent, NewLiquidityPoolEventFields>;
1572
- export declare class NewLiquidityPoolEvent implements StructClass {
1573
- __StructClass: true;
1574
- static readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::NewLiquidityPoolEvent";
1575
- static readonly $numTypeParams = 0;
1576
- static readonly $isPhantom: readonly [];
1577
- readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::NewLiquidityPoolEvent";
1578
- readonly $fullTypeName: `${typeof PKG_V1}::lp_pool::NewLiquidityPoolEvent`;
1579
- readonly $typeArgs: [];
1580
- readonly $isPhantom: readonly [];
1581
- readonly sender: ToField<"address">;
1582
- readonly index: ToField<"u64">;
1583
- readonly lpTokenType: ToField<TypeName>;
1584
- readonly lpTokenDecimal: ToField<"u64">;
1585
- readonly u64Padding: ToField<Vector<"u64">>;
1586
- private constructor();
1587
- static reified(): NewLiquidityPoolEventReified;
1588
- static get r(): reified.StructClassReified<NewLiquidityPoolEvent, NewLiquidityPoolEventFields>;
1589
- static phantom(): PhantomReified<ToTypeStr<NewLiquidityPoolEvent>>;
1590
- static get p(): reified.PhantomReified<"0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::NewLiquidityPoolEvent">;
1591
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
1592
- sender: string;
1593
- index: string;
1594
- lp_token_type: {
1595
- name: {
1596
- bytes: number[];
1597
- };
1598
- };
1599
- lp_token_decimal: string;
1600
- u64_padding: string[];
1601
- }, {
1602
- sender: string;
1603
- index: string | number | bigint;
1604
- lp_token_type: {
1605
- name: {
1606
- bytes: Iterable<number> & {
1607
- length: number;
1608
- };
1609
- };
1610
- };
1611
- lp_token_decimal: string | number | bigint;
1612
- u64_padding: Iterable<string | number | bigint> & {
1613
- length: number;
1614
- };
1615
- }>;
1616
- static fromFields(fields: Record<string, any>): NewLiquidityPoolEvent;
1617
- static fromFieldsWithTypes(item: FieldsWithTypes): NewLiquidityPoolEvent;
1618
- static fromBcs(data: Uint8Array): NewLiquidityPoolEvent;
1619
- toJSONField(): {
1620
- sender: string;
1621
- index: string;
1622
- lpTokenType: {
1623
- name: string;
1624
- };
1625
- lpTokenDecimal: string;
1626
- u64Padding: string[];
1627
- };
1628
- toJSON(): {
1629
- sender: string;
1630
- index: string;
1631
- lpTokenType: {
1632
- name: string;
1633
- };
1634
- lpTokenDecimal: string;
1635
- u64Padding: string[];
1636
- $typeName: string;
1637
- $typeArgs: [];
1638
- };
1639
- static fromJSONField(field: any): NewLiquidityPoolEvent;
1640
- static fromJSON(json: Record<string, any>): NewLiquidityPoolEvent;
1641
- static fromSuiParsedData(content: SuiParsedData): NewLiquidityPoolEvent;
1642
- static fromSuiObjectData(data: SuiObjectData): NewLiquidityPoolEvent;
1643
- static fetch(client: SuiClient, id: string): Promise<NewLiquidityPoolEvent>;
1644
- }
1645
- export declare function isRemoveLiquidityTokenProcess(type: string): boolean;
1646
- export interface RemoveLiquidityTokenProcessFields {
1647
- liquidityToken: ToField<TypeName>;
1648
- removedPositionsBaseToken: ToField<Vector<TypeName>>;
1649
- removedOrdersBaseToken: ToField<Vector<TypeName>>;
1650
- removedTokenOracleId: ToField<"address">;
1651
- removedUsd: ToField<"u64">;
1652
- repaidUsd: ToField<"u64">;
1653
- status: ToField<"u64">;
1654
- }
1655
- export type RemoveLiquidityTokenProcessReified = Reified<RemoveLiquidityTokenProcess, RemoveLiquidityTokenProcessFields>;
1656
- export declare class RemoveLiquidityTokenProcess implements StructClass {
1657
- __StructClass: true;
1658
- static readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::RemoveLiquidityTokenProcess";
1659
- static readonly $numTypeParams = 0;
1660
- static readonly $isPhantom: readonly [];
1661
- readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::RemoveLiquidityTokenProcess";
1662
- readonly $fullTypeName: `${typeof PKG_V1}::lp_pool::RemoveLiquidityTokenProcess`;
1663
- readonly $typeArgs: [];
1664
- readonly $isPhantom: readonly [];
1665
- readonly liquidityToken: ToField<TypeName>;
1666
- readonly removedPositionsBaseToken: ToField<Vector<TypeName>>;
1667
- readonly removedOrdersBaseToken: ToField<Vector<TypeName>>;
1668
- readonly removedTokenOracleId: ToField<"address">;
1669
- readonly removedUsd: ToField<"u64">;
1670
- readonly repaidUsd: ToField<"u64">;
1671
- readonly status: ToField<"u64">;
1672
- private constructor();
1673
- static reified(): RemoveLiquidityTokenProcessReified;
1674
- static get r(): reified.StructClassReified<RemoveLiquidityTokenProcess, RemoveLiquidityTokenProcessFields>;
1675
- static phantom(): PhantomReified<ToTypeStr<RemoveLiquidityTokenProcess>>;
1676
- static get p(): reified.PhantomReified<"0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::RemoveLiquidityTokenProcess">;
1677
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
1678
- liquidity_token: {
1679
- name: {
1680
- bytes: number[];
1681
- };
1682
- };
1683
- removed_positions_base_token: {
1684
- name: {
1685
- bytes: number[];
1686
- };
1687
- }[];
1688
- removed_orders_base_token: {
1689
- name: {
1690
- bytes: number[];
1691
- };
1692
- }[];
1693
- removed_token_oracle_id: string;
1694
- removed_usd: string;
1695
- repaid_usd: string;
1696
- status: string;
1697
- }, {
1698
- liquidity_token: {
1699
- name: {
1700
- bytes: Iterable<number> & {
1701
- length: number;
1702
- };
1703
- };
1704
- };
1705
- removed_positions_base_token: Iterable<{
1706
- name: {
1707
- bytes: Iterable<number> & {
1708
- length: number;
1709
- };
1710
- };
1711
- }> & {
1712
- length: number;
1713
- };
1714
- removed_orders_base_token: Iterable<{
1715
- name: {
1716
- bytes: Iterable<number> & {
1717
- length: number;
1718
- };
1719
- };
1720
- }> & {
1721
- length: number;
1722
- };
1723
- removed_token_oracle_id: string;
1724
- removed_usd: string | number | bigint;
1725
- repaid_usd: string | number | bigint;
1726
- status: string | number | bigint;
1727
- }>;
1728
- static fromFields(fields: Record<string, any>): RemoveLiquidityTokenProcess;
1729
- static fromFieldsWithTypes(item: FieldsWithTypes): RemoveLiquidityTokenProcess;
1730
- static fromBcs(data: Uint8Array): RemoveLiquidityTokenProcess;
1731
- toJSONField(): {
1732
- liquidityToken: {
1733
- name: string;
1734
- };
1735
- removedPositionsBaseToken: {
1736
- name: string;
1737
- }[];
1738
- removedOrdersBaseToken: {
1739
- name: string;
1740
- }[];
1741
- removedTokenOracleId: string;
1742
- removedUsd: string;
1743
- repaidUsd: string;
1744
- status: string;
1745
- };
1746
- toJSON(): {
1747
- liquidityToken: {
1748
- name: string;
1749
- };
1750
- removedPositionsBaseToken: {
1751
- name: string;
1752
- }[];
1753
- removedOrdersBaseToken: {
1754
- name: string;
1755
- }[];
1756
- removedTokenOracleId: string;
1757
- removedUsd: string;
1758
- repaidUsd: string;
1759
- status: string;
1760
- $typeName: string;
1761
- $typeArgs: [];
1762
- };
1763
- static fromJSONField(field: any): RemoveLiquidityTokenProcess;
1764
- static fromJSON(json: Record<string, any>): RemoveLiquidityTokenProcess;
1765
- static fromSuiParsedData(content: SuiParsedData): RemoveLiquidityTokenProcess;
1766
- static fromSuiObjectData(data: SuiObjectData): RemoveLiquidityTokenProcess;
1767
- static fetch(client: SuiClient, id: string): Promise<RemoveLiquidityTokenProcess>;
1768
- }
1769
- export declare function isResumePoolEvent(type: string): boolean;
1770
- export interface ResumePoolEventFields {
1771
- sender: ToField<"address">;
1772
- index: ToField<"u64">;
1773
- u64Padding: ToField<Vector<"u64">>;
1774
- }
1775
- export type ResumePoolEventReified = Reified<ResumePoolEvent, ResumePoolEventFields>;
1776
- export declare class ResumePoolEvent implements StructClass {
1777
- __StructClass: true;
1778
- static readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::ResumePoolEvent";
1779
- static readonly $numTypeParams = 0;
1780
- static readonly $isPhantom: readonly [];
1781
- readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::ResumePoolEvent";
1782
- readonly $fullTypeName: `${typeof PKG_V1}::lp_pool::ResumePoolEvent`;
1783
- readonly $typeArgs: [];
1784
- readonly $isPhantom: readonly [];
1785
- readonly sender: ToField<"address">;
1786
- readonly index: ToField<"u64">;
1787
- readonly u64Padding: ToField<Vector<"u64">>;
1788
- private constructor();
1789
- static reified(): ResumePoolEventReified;
1790
- static get r(): reified.StructClassReified<ResumePoolEvent, ResumePoolEventFields>;
1791
- static phantom(): PhantomReified<ToTypeStr<ResumePoolEvent>>;
1792
- static get p(): reified.PhantomReified<"0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::ResumePoolEvent">;
1793
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
1794
- sender: string;
1795
- index: string;
1796
- u64_padding: string[];
1797
- }, {
1798
- sender: string;
1799
- index: string | number | bigint;
1800
- u64_padding: Iterable<string | number | bigint> & {
1801
- length: number;
1802
- };
1803
- }>;
1804
- static fromFields(fields: Record<string, any>): ResumePoolEvent;
1805
- static fromFieldsWithTypes(item: FieldsWithTypes): ResumePoolEvent;
1806
- static fromBcs(data: Uint8Array): ResumePoolEvent;
1807
- toJSONField(): {
1808
- sender: string;
1809
- index: string;
1810
- u64Padding: string[];
1811
- };
1812
- toJSON(): {
1813
- sender: string;
1814
- index: string;
1815
- u64Padding: string[];
1816
- $typeName: string;
1817
- $typeArgs: [];
1818
- };
1819
- static fromJSONField(field: any): ResumePoolEvent;
1820
- static fromJSON(json: Record<string, any>): ResumePoolEvent;
1821
- static fromSuiParsedData(content: SuiParsedData): ResumePoolEvent;
1822
- static fromSuiObjectData(data: SuiObjectData): ResumePoolEvent;
1823
- static fetch(client: SuiClient, id: string): Promise<ResumePoolEvent>;
1824
- }
1825
- export declare function isResumeTokenPoolEvent(type: string): boolean;
1826
- export interface ResumeTokenPoolEventFields {
1827
- sender: ToField<"address">;
1828
- index: ToField<"u64">;
1829
- liquidityToken: ToField<TypeName>;
1830
- u64Padding: ToField<Vector<"u64">>;
1831
- }
1832
- export type ResumeTokenPoolEventReified = Reified<ResumeTokenPoolEvent, ResumeTokenPoolEventFields>;
1833
- export declare class ResumeTokenPoolEvent implements StructClass {
1834
- __StructClass: true;
1835
- static readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::ResumeTokenPoolEvent";
1836
- static readonly $numTypeParams = 0;
1837
- static readonly $isPhantom: readonly [];
1838
- readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::ResumeTokenPoolEvent";
1839
- readonly $fullTypeName: `${typeof PKG_V1}::lp_pool::ResumeTokenPoolEvent`;
1840
- readonly $typeArgs: [];
1841
- readonly $isPhantom: readonly [];
1842
- readonly sender: ToField<"address">;
1843
- readonly index: ToField<"u64">;
1844
- readonly liquidityToken: ToField<TypeName>;
1845
- readonly u64Padding: ToField<Vector<"u64">>;
1846
- private constructor();
1847
- static reified(): ResumeTokenPoolEventReified;
1848
- static get r(): reified.StructClassReified<ResumeTokenPoolEvent, ResumeTokenPoolEventFields>;
1849
- static phantom(): PhantomReified<ToTypeStr<ResumeTokenPoolEvent>>;
1850
- static get p(): reified.PhantomReified<"0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::ResumeTokenPoolEvent">;
1851
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
1852
- sender: string;
1853
- index: string;
1854
- liquidity_token: {
1855
- name: {
1856
- bytes: number[];
1857
- };
1858
- };
1859
- u64_padding: string[];
1860
- }, {
1861
- sender: string;
1862
- index: string | number | bigint;
1863
- liquidity_token: {
1864
- name: {
1865
- bytes: Iterable<number> & {
1866
- length: number;
1867
- };
1868
- };
1869
- };
1870
- u64_padding: Iterable<string | number | bigint> & {
1871
- length: number;
1872
- };
1873
- }>;
1874
- static fromFields(fields: Record<string, any>): ResumeTokenPoolEvent;
1875
- static fromFieldsWithTypes(item: FieldsWithTypes): ResumeTokenPoolEvent;
1876
- static fromBcs(data: Uint8Array): ResumeTokenPoolEvent;
1877
- toJSONField(): {
1878
- sender: string;
1879
- index: string;
1880
- liquidityToken: {
1881
- name: string;
1882
- };
1883
- u64Padding: string[];
1884
- };
1885
- toJSON(): {
1886
- sender: string;
1887
- index: string;
1888
- liquidityToken: {
1889
- name: string;
1890
- };
1891
- u64Padding: string[];
1892
- $typeName: string;
1893
- $typeArgs: [];
1894
- };
1895
- static fromJSONField(field: any): ResumeTokenPoolEvent;
1896
- static fromJSON(json: Record<string, any>): ResumeTokenPoolEvent;
1897
- static fromSuiParsedData(content: SuiParsedData): ResumeTokenPoolEvent;
1898
- static fromSuiObjectData(data: SuiObjectData): ResumeTokenPoolEvent;
1899
- static fetch(client: SuiClient, id: string): Promise<ResumeTokenPoolEvent>;
1900
- }
1901
- export declare function isSpotConfig(type: string): boolean;
1902
- export interface SpotConfigFields {
1903
- minDeposit: ToField<"u64">;
1904
- maxCapacity: ToField<"u64">;
1905
- targetWeightBp: ToField<"u64">;
1906
- basicMintFeeBp: ToField<"u64">;
1907
- additionalMintFeeBp: ToField<"u64">;
1908
- basicBurnFeeBp: ToField<"u64">;
1909
- additionalBurnFeeBp: ToField<"u64">;
1910
- swapFeeBp: ToField<"u64">;
1911
- swapFeeProtocolShareBp: ToField<"u64">;
1912
- u64Padding: ToField<Vector<"u64">>;
1913
- }
1914
- export type SpotConfigReified = Reified<SpotConfig, SpotConfigFields>;
1915
- export declare class SpotConfig implements StructClass {
1916
- __StructClass: true;
1917
- static readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::SpotConfig";
1918
- static readonly $numTypeParams = 0;
1919
- static readonly $isPhantom: readonly [];
1920
- readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::SpotConfig";
1921
- readonly $fullTypeName: `${typeof PKG_V1}::lp_pool::SpotConfig`;
1922
- readonly $typeArgs: [];
1923
- readonly $isPhantom: readonly [];
1924
- readonly minDeposit: ToField<"u64">;
1925
- readonly maxCapacity: ToField<"u64">;
1926
- readonly targetWeightBp: ToField<"u64">;
1927
- readonly basicMintFeeBp: ToField<"u64">;
1928
- readonly additionalMintFeeBp: ToField<"u64">;
1929
- readonly basicBurnFeeBp: ToField<"u64">;
1930
- readonly additionalBurnFeeBp: ToField<"u64">;
1931
- readonly swapFeeBp: ToField<"u64">;
1932
- readonly swapFeeProtocolShareBp: ToField<"u64">;
1933
- readonly u64Padding: ToField<Vector<"u64">>;
1934
- private constructor();
1935
- static reified(): SpotConfigReified;
1936
- static get r(): reified.StructClassReified<SpotConfig, SpotConfigFields>;
1937
- static phantom(): PhantomReified<ToTypeStr<SpotConfig>>;
1938
- static get p(): reified.PhantomReified<"0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::SpotConfig">;
1939
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
1940
- min_deposit: string;
1941
- max_capacity: string;
1942
- target_weight_bp: string;
1943
- basic_mint_fee_bp: string;
1944
- additional_mint_fee_bp: string;
1945
- basic_burn_fee_bp: string;
1946
- additional_burn_fee_bp: string;
1947
- swap_fee_bp: string;
1948
- swap_fee_protocol_share_bp: string;
1949
- u64_padding: string[];
1950
- }, {
1951
- min_deposit: string | number | bigint;
1952
- max_capacity: string | number | bigint;
1953
- target_weight_bp: string | number | bigint;
1954
- basic_mint_fee_bp: string | number | bigint;
1955
- additional_mint_fee_bp: string | number | bigint;
1956
- basic_burn_fee_bp: string | number | bigint;
1957
- additional_burn_fee_bp: string | number | bigint;
1958
- swap_fee_bp: string | number | bigint;
1959
- swap_fee_protocol_share_bp: string | number | bigint;
1960
- u64_padding: Iterable<string | number | bigint> & {
1961
- length: number;
1962
- };
1963
- }>;
1964
- static fromFields(fields: Record<string, any>): SpotConfig;
1965
- static fromFieldsWithTypes(item: FieldsWithTypes): SpotConfig;
1966
- static fromBcs(data: Uint8Array): SpotConfig;
1967
- toJSONField(): {
1968
- minDeposit: string;
1969
- maxCapacity: string;
1970
- targetWeightBp: string;
1971
- basicMintFeeBp: string;
1972
- additionalMintFeeBp: string;
1973
- basicBurnFeeBp: string;
1974
- additionalBurnFeeBp: string;
1975
- swapFeeBp: string;
1976
- swapFeeProtocolShareBp: string;
1977
- u64Padding: string[];
1978
- };
1979
- toJSON(): {
1980
- minDeposit: string;
1981
- maxCapacity: string;
1982
- targetWeightBp: string;
1983
- basicMintFeeBp: string;
1984
- additionalMintFeeBp: string;
1985
- basicBurnFeeBp: string;
1986
- additionalBurnFeeBp: string;
1987
- swapFeeBp: string;
1988
- swapFeeProtocolShareBp: string;
1989
- u64Padding: string[];
1990
- $typeName: string;
1991
- $typeArgs: [];
1992
- };
1993
- static fromJSONField(field: any): SpotConfig;
1994
- static fromJSON(json: Record<string, any>): SpotConfig;
1995
- static fromSuiParsedData(content: SuiParsedData): SpotConfig;
1996
- static fromSuiObjectData(data: SuiObjectData): SpotConfig;
1997
- static fetch(client: SuiClient, id: string): Promise<SpotConfig>;
1998
- }
1999
- export declare function isStartRemoveLiquidityTokenProcessEvent(type: string): boolean;
2000
- export interface StartRemoveLiquidityTokenProcessEventFields {
2001
- index: ToField<"u64">;
2002
- liquidityToken: ToField<TypeName>;
2003
- u64Padding: ToField<Vector<"u64">>;
2004
- }
2005
- export type StartRemoveLiquidityTokenProcessEventReified = Reified<StartRemoveLiquidityTokenProcessEvent, StartRemoveLiquidityTokenProcessEventFields>;
2006
- export declare class StartRemoveLiquidityTokenProcessEvent implements StructClass {
2007
- __StructClass: true;
2008
- static readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::StartRemoveLiquidityTokenProcessEvent";
2009
- static readonly $numTypeParams = 0;
2010
- static readonly $isPhantom: readonly [];
2011
- readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::StartRemoveLiquidityTokenProcessEvent";
2012
- readonly $fullTypeName: `${typeof PKG_V1}::lp_pool::StartRemoveLiquidityTokenProcessEvent`;
2013
- readonly $typeArgs: [];
2014
- readonly $isPhantom: readonly [];
2015
- readonly index: ToField<"u64">;
2016
- readonly liquidityToken: ToField<TypeName>;
2017
- readonly u64Padding: ToField<Vector<"u64">>;
2018
- private constructor();
2019
- static reified(): StartRemoveLiquidityTokenProcessEventReified;
2020
- static get r(): reified.StructClassReified<StartRemoveLiquidityTokenProcessEvent, StartRemoveLiquidityTokenProcessEventFields>;
2021
- static phantom(): PhantomReified<ToTypeStr<StartRemoveLiquidityTokenProcessEvent>>;
2022
- static get p(): reified.PhantomReified<"0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::StartRemoveLiquidityTokenProcessEvent">;
2023
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
2024
- index: string;
2025
- liquidity_token: {
2026
- name: {
2027
- bytes: number[];
2028
- };
2029
- };
2030
- u64_padding: string[];
2031
- }, {
2032
- index: string | number | bigint;
2033
- liquidity_token: {
2034
- name: {
2035
- bytes: Iterable<number> & {
2036
- length: number;
2037
- };
2038
- };
2039
- };
2040
- u64_padding: Iterable<string | number | bigint> & {
2041
- length: number;
2042
- };
2043
- }>;
2044
- static fromFields(fields: Record<string, any>): StartRemoveLiquidityTokenProcessEvent;
2045
- static fromFieldsWithTypes(item: FieldsWithTypes): StartRemoveLiquidityTokenProcessEvent;
2046
- static fromBcs(data: Uint8Array): StartRemoveLiquidityTokenProcessEvent;
2047
- toJSONField(): {
2048
- index: string;
2049
- liquidityToken: {
2050
- name: string;
2051
- };
2052
- u64Padding: string[];
2053
- };
2054
- toJSON(): {
2055
- index: string;
2056
- liquidityToken: {
2057
- name: string;
2058
- };
2059
- u64Padding: string[];
2060
- $typeName: string;
2061
- $typeArgs: [];
2062
- };
2063
- static fromJSONField(field: any): StartRemoveLiquidityTokenProcessEvent;
2064
- static fromJSON(json: Record<string, any>): StartRemoveLiquidityTokenProcessEvent;
2065
- static fromSuiParsedData(content: SuiParsedData): StartRemoveLiquidityTokenProcessEvent;
2066
- static fromSuiObjectData(data: SuiObjectData): StartRemoveLiquidityTokenProcessEvent;
2067
- static fetch(client: SuiClient, id: string): Promise<StartRemoveLiquidityTokenProcessEvent>;
2068
- }
2069
- export declare function isSuspendPoolEvent(type: string): boolean;
2070
- export interface SuspendPoolEventFields {
2071
- sender: ToField<"address">;
2072
- index: ToField<"u64">;
2073
- u64Padding: ToField<Vector<"u64">>;
2074
- }
2075
- export type SuspendPoolEventReified = Reified<SuspendPoolEvent, SuspendPoolEventFields>;
2076
- export declare class SuspendPoolEvent implements StructClass {
2077
- __StructClass: true;
2078
- static readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::SuspendPoolEvent";
2079
- static readonly $numTypeParams = 0;
2080
- static readonly $isPhantom: readonly [];
2081
- readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::SuspendPoolEvent";
2082
- readonly $fullTypeName: `${typeof PKG_V1}::lp_pool::SuspendPoolEvent`;
2083
- readonly $typeArgs: [];
2084
- readonly $isPhantom: readonly [];
2085
- readonly sender: ToField<"address">;
2086
- readonly index: ToField<"u64">;
2087
- readonly u64Padding: ToField<Vector<"u64">>;
2088
- private constructor();
2089
- static reified(): SuspendPoolEventReified;
2090
- static get r(): reified.StructClassReified<SuspendPoolEvent, SuspendPoolEventFields>;
2091
- static phantom(): PhantomReified<ToTypeStr<SuspendPoolEvent>>;
2092
- static get p(): reified.PhantomReified<"0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::SuspendPoolEvent">;
2093
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
2094
- sender: string;
2095
- index: string;
2096
- u64_padding: string[];
2097
- }, {
2098
- sender: string;
2099
- index: string | number | bigint;
2100
- u64_padding: Iterable<string | number | bigint> & {
2101
- length: number;
2102
- };
2103
- }>;
2104
- static fromFields(fields: Record<string, any>): SuspendPoolEvent;
2105
- static fromFieldsWithTypes(item: FieldsWithTypes): SuspendPoolEvent;
2106
- static fromBcs(data: Uint8Array): SuspendPoolEvent;
2107
- toJSONField(): {
2108
- sender: string;
2109
- index: string;
2110
- u64Padding: string[];
2111
- };
2112
- toJSON(): {
2113
- sender: string;
2114
- index: string;
2115
- u64Padding: string[];
2116
- $typeName: string;
2117
- $typeArgs: [];
2118
- };
2119
- static fromJSONField(field: any): SuspendPoolEvent;
2120
- static fromJSON(json: Record<string, any>): SuspendPoolEvent;
2121
- static fromSuiParsedData(content: SuiParsedData): SuspendPoolEvent;
2122
- static fromSuiObjectData(data: SuiObjectData): SuspendPoolEvent;
2123
- static fetch(client: SuiClient, id: string): Promise<SuspendPoolEvent>;
2124
- }
2125
- export declare function isSuspendTokenPoolEvent(type: string): boolean;
2126
- export interface SuspendTokenPoolEventFields {
2127
- sender: ToField<"address">;
2128
- index: ToField<"u64">;
2129
- liquidityToken: ToField<TypeName>;
2130
- u64Padding: ToField<Vector<"u64">>;
2131
- }
2132
- export type SuspendTokenPoolEventReified = Reified<SuspendTokenPoolEvent, SuspendTokenPoolEventFields>;
2133
- export declare class SuspendTokenPoolEvent implements StructClass {
2134
- __StructClass: true;
2135
- static readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::SuspendTokenPoolEvent";
2136
- static readonly $numTypeParams = 0;
2137
- static readonly $isPhantom: readonly [];
2138
- readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::SuspendTokenPoolEvent";
2139
- readonly $fullTypeName: `${typeof PKG_V1}::lp_pool::SuspendTokenPoolEvent`;
2140
- readonly $typeArgs: [];
2141
- readonly $isPhantom: readonly [];
2142
- readonly sender: ToField<"address">;
2143
- readonly index: ToField<"u64">;
2144
- readonly liquidityToken: ToField<TypeName>;
2145
- readonly u64Padding: ToField<Vector<"u64">>;
2146
- private constructor();
2147
- static reified(): SuspendTokenPoolEventReified;
2148
- static get r(): reified.StructClassReified<SuspendTokenPoolEvent, SuspendTokenPoolEventFields>;
2149
- static phantom(): PhantomReified<ToTypeStr<SuspendTokenPoolEvent>>;
2150
- static get p(): reified.PhantomReified<"0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::SuspendTokenPoolEvent">;
2151
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
2152
- sender: string;
2153
- index: string;
2154
- liquidity_token: {
2155
- name: {
2156
- bytes: number[];
2157
- };
2158
- };
2159
- u64_padding: string[];
2160
- }, {
2161
- sender: string;
2162
- index: string | number | bigint;
2163
- liquidity_token: {
2164
- name: {
2165
- bytes: Iterable<number> & {
2166
- length: number;
2167
- };
2168
- };
2169
- };
2170
- u64_padding: Iterable<string | number | bigint> & {
2171
- length: number;
2172
- };
2173
- }>;
2174
- static fromFields(fields: Record<string, any>): SuspendTokenPoolEvent;
2175
- static fromFieldsWithTypes(item: FieldsWithTypes): SuspendTokenPoolEvent;
2176
- static fromBcs(data: Uint8Array): SuspendTokenPoolEvent;
2177
- toJSONField(): {
2178
- sender: string;
2179
- index: string;
2180
- liquidityToken: {
2181
- name: string;
2182
- };
2183
- u64Padding: string[];
2184
- };
2185
- toJSON(): {
2186
- sender: string;
2187
- index: string;
2188
- liquidityToken: {
2189
- name: string;
2190
- };
2191
- u64Padding: string[];
2192
- $typeName: string;
2193
- $typeArgs: [];
2194
- };
2195
- static fromJSONField(field: any): SuspendTokenPoolEvent;
2196
- static fromJSON(json: Record<string, any>): SuspendTokenPoolEvent;
2197
- static fromSuiParsedData(content: SuiParsedData): SuspendTokenPoolEvent;
2198
- static fromSuiObjectData(data: SuiObjectData): SuspendTokenPoolEvent;
2199
- static fetch(client: SuiClient, id: string): Promise<SuspendTokenPoolEvent>;
2200
- }
2201
- export declare function isSwapEvent(type: string): boolean;
2202
- export interface SwapEventFields {
2203
- sender: ToField<"address">;
2204
- index: ToField<"u64">;
2205
- fromTokenType: ToField<TypeName>;
2206
- fromAmount: ToField<"u64">;
2207
- toTokenType: ToField<TypeName>;
2208
- minToAmount: ToField<"u64">;
2209
- actualToAmount: ToField<"u64">;
2210
- feeAmount: ToField<"u64">;
2211
- feeAmountUsd: ToField<"u64">;
2212
- u64Padding: ToField<Vector<"u64">>;
2213
- }
2214
- export type SwapEventReified = Reified<SwapEvent, SwapEventFields>;
2215
- export declare class SwapEvent implements StructClass {
2216
- __StructClass: true;
2217
- static readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::SwapEvent";
2218
- static readonly $numTypeParams = 0;
2219
- static readonly $isPhantom: readonly [];
2220
- readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::SwapEvent";
2221
- readonly $fullTypeName: `${typeof PKG_V1}::lp_pool::SwapEvent`;
2222
- readonly $typeArgs: [];
2223
- readonly $isPhantom: readonly [];
2224
- readonly sender: ToField<"address">;
2225
- readonly index: ToField<"u64">;
2226
- readonly fromTokenType: ToField<TypeName>;
2227
- readonly fromAmount: ToField<"u64">;
2228
- readonly toTokenType: ToField<TypeName>;
2229
- readonly minToAmount: ToField<"u64">;
2230
- readonly actualToAmount: ToField<"u64">;
2231
- readonly feeAmount: ToField<"u64">;
2232
- readonly feeAmountUsd: ToField<"u64">;
2233
- readonly u64Padding: ToField<Vector<"u64">>;
2234
- private constructor();
2235
- static reified(): SwapEventReified;
2236
- static get r(): reified.StructClassReified<SwapEvent, SwapEventFields>;
2237
- static phantom(): PhantomReified<ToTypeStr<SwapEvent>>;
2238
- static get p(): reified.PhantomReified<"0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::SwapEvent">;
2239
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
2240
- sender: string;
2241
- index: string;
2242
- from_token_type: {
2243
- name: {
2244
- bytes: number[];
2245
- };
2246
- };
2247
- from_amount: string;
2248
- to_token_type: {
2249
- name: {
2250
- bytes: number[];
2251
- };
2252
- };
2253
- min_to_amount: string;
2254
- actual_to_amount: string;
2255
- fee_amount: string;
2256
- fee_amount_usd: string;
2257
- u64_padding: string[];
2258
- }, {
2259
- sender: string;
2260
- index: string | number | bigint;
2261
- from_token_type: {
2262
- name: {
2263
- bytes: Iterable<number> & {
2264
- length: number;
2265
- };
2266
- };
2267
- };
2268
- from_amount: string | number | bigint;
2269
- to_token_type: {
2270
- name: {
2271
- bytes: Iterable<number> & {
2272
- length: number;
2273
- };
2274
- };
2275
- };
2276
- min_to_amount: string | number | bigint;
2277
- actual_to_amount: string | number | bigint;
2278
- fee_amount: string | number | bigint;
2279
- fee_amount_usd: string | number | bigint;
2280
- u64_padding: Iterable<string | number | bigint> & {
2281
- length: number;
2282
- };
2283
- }>;
2284
- static fromFields(fields: Record<string, any>): SwapEvent;
2285
- static fromFieldsWithTypes(item: FieldsWithTypes): SwapEvent;
2286
- static fromBcs(data: Uint8Array): SwapEvent;
2287
- toJSONField(): {
2288
- sender: string;
2289
- index: string;
2290
- fromTokenType: {
2291
- name: string;
2292
- };
2293
- fromAmount: string;
2294
- toTokenType: {
2295
- name: string;
2296
- };
2297
- minToAmount: string;
2298
- actualToAmount: string;
2299
- feeAmount: string;
2300
- feeAmountUsd: string;
2301
- u64Padding: string[];
2302
- };
2303
- toJSON(): {
2304
- sender: string;
2305
- index: string;
2306
- fromTokenType: {
2307
- name: string;
2308
- };
2309
- fromAmount: string;
2310
- toTokenType: {
2311
- name: string;
2312
- };
2313
- minToAmount: string;
2314
- actualToAmount: string;
2315
- feeAmount: string;
2316
- feeAmountUsd: string;
2317
- u64Padding: string[];
2318
- $typeName: string;
2319
- $typeArgs: [];
2320
- };
2321
- static fromJSONField(field: any): SwapEvent;
2322
- static fromJSON(json: Record<string, any>): SwapEvent;
2323
- static fromSuiParsedData(content: SuiParsedData): SwapEvent;
2324
- static fromSuiObjectData(data: SuiObjectData): SwapEvent;
2325
- static fetch(client: SuiClient, id: string): Promise<SwapEvent>;
2326
- }
2327
- export declare function isTokenPool(type: string): boolean;
2328
- export interface TokenPoolFields {
2329
- tokenType: ToField<TypeName>;
2330
- config: ToField<Config>;
2331
- state: ToField<State>;
2332
- }
2333
- export type TokenPoolReified = Reified<TokenPool, TokenPoolFields>;
2334
- export declare class TokenPool implements StructClass {
2335
- __StructClass: true;
2336
- static readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::TokenPool";
2337
- static readonly $numTypeParams = 0;
2338
- static readonly $isPhantom: readonly [];
2339
- readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::TokenPool";
2340
- readonly $fullTypeName: `${typeof PKG_V1}::lp_pool::TokenPool`;
2341
- readonly $typeArgs: [];
2342
- readonly $isPhantom: readonly [];
2343
- readonly tokenType: ToField<TypeName>;
2344
- readonly config: ToField<Config>;
2345
- readonly state: ToField<State>;
2346
- private constructor();
2347
- static reified(): TokenPoolReified;
2348
- static get r(): reified.StructClassReified<TokenPool, TokenPoolFields>;
2349
- static phantom(): PhantomReified<ToTypeStr<TokenPool>>;
2350
- static get p(): reified.PhantomReified<"0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::TokenPool">;
2351
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
2352
- token_type: {
2353
- name: {
2354
- bytes: number[];
2355
- };
2356
- };
2357
- config: {
2358
- oracle_id: string;
2359
- liquidity_token_decimal: string;
2360
- spot_config: {
2361
- min_deposit: string;
2362
- max_capacity: string;
2363
- target_weight_bp: string;
2364
- basic_mint_fee_bp: string;
2365
- additional_mint_fee_bp: string;
2366
- basic_burn_fee_bp: string;
2367
- additional_burn_fee_bp: string;
2368
- swap_fee_bp: string;
2369
- swap_fee_protocol_share_bp: string;
2370
- u64_padding: string[];
2371
- };
2372
- margin_config: {
2373
- basic_borrow_rate_0: string;
2374
- basic_borrow_rate_1: string;
2375
- basic_borrow_rate_2: string;
2376
- utilization_threshold_bp_0: string;
2377
- utilization_threshold_bp_1: string;
2378
- borrow_interval_ts_ms: string;
2379
- max_order_reserve_ratio_bp: string;
2380
- u64_padding: string[];
2381
- };
2382
- u64_padding: string[];
2383
- };
2384
- state: {
2385
- liquidity_amount: string;
2386
- value_in_usd: string;
2387
- reserved_amount: string;
2388
- update_ts_ms: string;
2389
- is_active: boolean;
2390
- last_borrow_rate_ts_ms: string;
2391
- cumulative_borrow_rate: string;
2392
- previous_last_borrow_rate_ts_ms: string;
2393
- previous_cumulative_borrow_rate: string;
2394
- u64_padding: string[];
2395
- };
2396
- }, {
2397
- token_type: {
2398
- name: {
2399
- bytes: Iterable<number> & {
2400
- length: number;
2401
- };
2402
- };
2403
- };
2404
- config: {
2405
- oracle_id: string;
2406
- liquidity_token_decimal: string | number | bigint;
2407
- spot_config: {
2408
- min_deposit: string | number | bigint;
2409
- max_capacity: string | number | bigint;
2410
- target_weight_bp: string | number | bigint;
2411
- basic_mint_fee_bp: string | number | bigint;
2412
- additional_mint_fee_bp: string | number | bigint;
2413
- basic_burn_fee_bp: string | number | bigint;
2414
- additional_burn_fee_bp: string | number | bigint;
2415
- swap_fee_bp: string | number | bigint;
2416
- swap_fee_protocol_share_bp: string | number | bigint;
2417
- u64_padding: Iterable<string | number | bigint> & {
2418
- length: number;
2419
- };
2420
- };
2421
- margin_config: {
2422
- basic_borrow_rate_0: string | number | bigint;
2423
- basic_borrow_rate_1: string | number | bigint;
2424
- basic_borrow_rate_2: string | number | bigint;
2425
- utilization_threshold_bp_0: string | number | bigint;
2426
- utilization_threshold_bp_1: string | number | bigint;
2427
- borrow_interval_ts_ms: string | number | bigint;
2428
- max_order_reserve_ratio_bp: string | number | bigint;
2429
- u64_padding: Iterable<string | number | bigint> & {
2430
- length: number;
2431
- };
2432
- };
2433
- u64_padding: Iterable<string | number | bigint> & {
2434
- length: number;
2435
- };
2436
- };
2437
- state: {
2438
- liquidity_amount: string | number | bigint;
2439
- value_in_usd: string | number | bigint;
2440
- reserved_amount: string | number | bigint;
2441
- update_ts_ms: string | number | bigint;
2442
- is_active: boolean;
2443
- last_borrow_rate_ts_ms: string | number | bigint;
2444
- cumulative_borrow_rate: string | number | bigint;
2445
- previous_last_borrow_rate_ts_ms: string | number | bigint;
2446
- previous_cumulative_borrow_rate: string | number | bigint;
2447
- u64_padding: Iterable<string | number | bigint> & {
2448
- length: number;
2449
- };
2450
- };
2451
- }>;
2452
- static fromFields(fields: Record<string, any>): TokenPool;
2453
- static fromFieldsWithTypes(item: FieldsWithTypes): TokenPool;
2454
- static fromBcs(data: Uint8Array): TokenPool;
2455
- toJSONField(): {
2456
- tokenType: {
2457
- name: string;
2458
- };
2459
- config: {
2460
- oracleId: string;
2461
- liquidityTokenDecimal: string;
2462
- spotConfig: {
2463
- minDeposit: string;
2464
- maxCapacity: string;
2465
- targetWeightBp: string;
2466
- basicMintFeeBp: string;
2467
- additionalMintFeeBp: string;
2468
- basicBurnFeeBp: string;
2469
- additionalBurnFeeBp: string;
2470
- swapFeeBp: string;
2471
- swapFeeProtocolShareBp: string;
2472
- u64Padding: string[];
2473
- };
2474
- marginConfig: {
2475
- basicBorrowRate0: string;
2476
- basicBorrowRate1: string;
2477
- basicBorrowRate2: string;
2478
- utilizationThresholdBp0: string;
2479
- utilizationThresholdBp1: string;
2480
- borrowIntervalTsMs: string;
2481
- maxOrderReserveRatioBp: string;
2482
- u64Padding: string[];
2483
- };
2484
- u64Padding: string[];
2485
- };
2486
- state: {
2487
- liquidityAmount: string;
2488
- valueInUsd: string;
2489
- reservedAmount: string;
2490
- updateTsMs: string;
2491
- isActive: boolean;
2492
- lastBorrowRateTsMs: string;
2493
- cumulativeBorrowRate: string;
2494
- previousLastBorrowRateTsMs: string;
2495
- previousCumulativeBorrowRate: string;
2496
- u64Padding: string[];
2497
- };
2498
- };
2499
- toJSON(): {
2500
- tokenType: {
2501
- name: string;
2502
- };
2503
- config: {
2504
- oracleId: string;
2505
- liquidityTokenDecimal: string;
2506
- spotConfig: {
2507
- minDeposit: string;
2508
- maxCapacity: string;
2509
- targetWeightBp: string;
2510
- basicMintFeeBp: string;
2511
- additionalMintFeeBp: string;
2512
- basicBurnFeeBp: string;
2513
- additionalBurnFeeBp: string;
2514
- swapFeeBp: string;
2515
- swapFeeProtocolShareBp: string;
2516
- u64Padding: string[];
2517
- };
2518
- marginConfig: {
2519
- basicBorrowRate0: string;
2520
- basicBorrowRate1: string;
2521
- basicBorrowRate2: string;
2522
- utilizationThresholdBp0: string;
2523
- utilizationThresholdBp1: string;
2524
- borrowIntervalTsMs: string;
2525
- maxOrderReserveRatioBp: string;
2526
- u64Padding: string[];
2527
- };
2528
- u64Padding: string[];
2529
- };
2530
- state: {
2531
- liquidityAmount: string;
2532
- valueInUsd: string;
2533
- reservedAmount: string;
2534
- updateTsMs: string;
2535
- isActive: boolean;
2536
- lastBorrowRateTsMs: string;
2537
- cumulativeBorrowRate: string;
2538
- previousLastBorrowRateTsMs: string;
2539
- previousCumulativeBorrowRate: string;
2540
- u64Padding: string[];
2541
- };
2542
- $typeName: string;
2543
- $typeArgs: [];
2544
- };
2545
- static fromJSONField(field: any): TokenPool;
2546
- static fromJSON(json: Record<string, any>): TokenPool;
2547
- static fromSuiParsedData(content: SuiParsedData): TokenPool;
2548
- static fromSuiObjectData(data: SuiObjectData): TokenPool;
2549
- static fetch(client: SuiClient, id: string): Promise<TokenPool>;
2550
- }
2551
- export declare function isUpdateBorrowInfoEvent(type: string): boolean;
2552
- export interface UpdateBorrowInfoEventFields {
2553
- index: ToField<"u64">;
2554
- liquidityTokenType: ToField<TypeName>;
2555
- previousBorrowTsMs: ToField<"u64">;
2556
- previousCumulativeBorrowRate: ToField<"u64">;
2557
- borrowIntervalTsMs: ToField<"u64">;
2558
- lastBorrowRateTsMs: ToField<"u64">;
2559
- lastCumulativeBorrowRate: ToField<"u64">;
2560
- u64Padding: ToField<Vector<"u64">>;
2561
- }
2562
- export type UpdateBorrowInfoEventReified = Reified<UpdateBorrowInfoEvent, UpdateBorrowInfoEventFields>;
2563
- export declare class UpdateBorrowInfoEvent implements StructClass {
2564
- __StructClass: true;
2565
- static readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::UpdateBorrowInfoEvent";
2566
- static readonly $numTypeParams = 0;
2567
- static readonly $isPhantom: readonly [];
2568
- readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::UpdateBorrowInfoEvent";
2569
- readonly $fullTypeName: `${typeof PKG_V1}::lp_pool::UpdateBorrowInfoEvent`;
2570
- readonly $typeArgs: [];
2571
- readonly $isPhantom: readonly [];
2572
- readonly index: ToField<"u64">;
2573
- readonly liquidityTokenType: ToField<TypeName>;
2574
- readonly previousBorrowTsMs: ToField<"u64">;
2575
- readonly previousCumulativeBorrowRate: ToField<"u64">;
2576
- readonly borrowIntervalTsMs: ToField<"u64">;
2577
- readonly lastBorrowRateTsMs: ToField<"u64">;
2578
- readonly lastCumulativeBorrowRate: ToField<"u64">;
2579
- readonly u64Padding: ToField<Vector<"u64">>;
2580
- private constructor();
2581
- static reified(): UpdateBorrowInfoEventReified;
2582
- static get r(): reified.StructClassReified<UpdateBorrowInfoEvent, UpdateBorrowInfoEventFields>;
2583
- static phantom(): PhantomReified<ToTypeStr<UpdateBorrowInfoEvent>>;
2584
- static get p(): reified.PhantomReified<"0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::UpdateBorrowInfoEvent">;
2585
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
2586
- index: string;
2587
- liquidity_token_type: {
2588
- name: {
2589
- bytes: number[];
2590
- };
2591
- };
2592
- previous_borrow_ts_ms: string;
2593
- previous_cumulative_borrow_rate: string;
2594
- borrow_interval_ts_ms: string;
2595
- last_borrow_rate_ts_ms: string;
2596
- last_cumulative_borrow_rate: string;
2597
- u64_padding: string[];
2598
- }, {
2599
- index: string | number | bigint;
2600
- liquidity_token_type: {
2601
- name: {
2602
- bytes: Iterable<number> & {
2603
- length: number;
2604
- };
2605
- };
2606
- };
2607
- previous_borrow_ts_ms: string | number | bigint;
2608
- previous_cumulative_borrow_rate: string | number | bigint;
2609
- borrow_interval_ts_ms: string | number | bigint;
2610
- last_borrow_rate_ts_ms: string | number | bigint;
2611
- last_cumulative_borrow_rate: string | number | bigint;
2612
- u64_padding: Iterable<string | number | bigint> & {
2613
- length: number;
2614
- };
2615
- }>;
2616
- static fromFields(fields: Record<string, any>): UpdateBorrowInfoEvent;
2617
- static fromFieldsWithTypes(item: FieldsWithTypes): UpdateBorrowInfoEvent;
2618
- static fromBcs(data: Uint8Array): UpdateBorrowInfoEvent;
2619
- toJSONField(): {
2620
- index: string;
2621
- liquidityTokenType: {
2622
- name: string;
2623
- };
2624
- previousBorrowTsMs: string;
2625
- previousCumulativeBorrowRate: string;
2626
- borrowIntervalTsMs: string;
2627
- lastBorrowRateTsMs: string;
2628
- lastCumulativeBorrowRate: string;
2629
- u64Padding: string[];
2630
- };
2631
- toJSON(): {
2632
- index: string;
2633
- liquidityTokenType: {
2634
- name: string;
2635
- };
2636
- previousBorrowTsMs: string;
2637
- previousCumulativeBorrowRate: string;
2638
- borrowIntervalTsMs: string;
2639
- lastBorrowRateTsMs: string;
2640
- lastCumulativeBorrowRate: string;
2641
- u64Padding: string[];
2642
- $typeName: string;
2643
- $typeArgs: [];
2644
- };
2645
- static fromJSONField(field: any): UpdateBorrowInfoEvent;
2646
- static fromJSON(json: Record<string, any>): UpdateBorrowInfoEvent;
2647
- static fromSuiParsedData(content: SuiParsedData): UpdateBorrowInfoEvent;
2648
- static fromSuiObjectData(data: SuiObjectData): UpdateBorrowInfoEvent;
2649
- static fetch(client: SuiClient, id: string): Promise<UpdateBorrowInfoEvent>;
2650
- }
2651
- export declare function isUpdateLiquidityValueEvent(type: string): boolean;
2652
- export interface UpdateLiquidityValueEventFields {
2653
- sender: ToField<"address">;
2654
- index: ToField<"u64">;
2655
- liquidityToken: ToField<TypeName>;
2656
- price: ToField<"u64">;
2657
- valueInUsd: ToField<"u64">;
2658
- lpPoolTvlUsd: ToField<"u64">;
2659
- u64Padding: ToField<Vector<"u64">>;
2660
- }
2661
- export type UpdateLiquidityValueEventReified = Reified<UpdateLiquidityValueEvent, UpdateLiquidityValueEventFields>;
2662
- export declare class UpdateLiquidityValueEvent implements StructClass {
2663
- __StructClass: true;
2664
- static readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::UpdateLiquidityValueEvent";
2665
- static readonly $numTypeParams = 0;
2666
- static readonly $isPhantom: readonly [];
2667
- readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::UpdateLiquidityValueEvent";
2668
- readonly $fullTypeName: `${typeof PKG_V1}::lp_pool::UpdateLiquidityValueEvent`;
2669
- readonly $typeArgs: [];
2670
- readonly $isPhantom: readonly [];
2671
- readonly sender: ToField<"address">;
2672
- readonly index: ToField<"u64">;
2673
- readonly liquidityToken: ToField<TypeName>;
2674
- readonly price: ToField<"u64">;
2675
- readonly valueInUsd: ToField<"u64">;
2676
- readonly lpPoolTvlUsd: ToField<"u64">;
2677
- readonly u64Padding: ToField<Vector<"u64">>;
2678
- private constructor();
2679
- static reified(): UpdateLiquidityValueEventReified;
2680
- static get r(): reified.StructClassReified<UpdateLiquidityValueEvent, UpdateLiquidityValueEventFields>;
2681
- static phantom(): PhantomReified<ToTypeStr<UpdateLiquidityValueEvent>>;
2682
- static get p(): reified.PhantomReified<"0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::UpdateLiquidityValueEvent">;
2683
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
2684
- sender: string;
2685
- index: string;
2686
- liquidity_token: {
2687
- name: {
2688
- bytes: number[];
2689
- };
2690
- };
2691
- price: string;
2692
- value_in_usd: string;
2693
- lp_pool_tvl_usd: string;
2694
- u64_padding: string[];
2695
- }, {
2696
- sender: string;
2697
- index: string | number | bigint;
2698
- liquidity_token: {
2699
- name: {
2700
- bytes: Iterable<number> & {
2701
- length: number;
2702
- };
2703
- };
2704
- };
2705
- price: string | number | bigint;
2706
- value_in_usd: string | number | bigint;
2707
- lp_pool_tvl_usd: string | number | bigint;
2708
- u64_padding: Iterable<string | number | bigint> & {
2709
- length: number;
2710
- };
2711
- }>;
2712
- static fromFields(fields: Record<string, any>): UpdateLiquidityValueEvent;
2713
- static fromFieldsWithTypes(item: FieldsWithTypes): UpdateLiquidityValueEvent;
2714
- static fromBcs(data: Uint8Array): UpdateLiquidityValueEvent;
2715
- toJSONField(): {
2716
- sender: string;
2717
- index: string;
2718
- liquidityToken: {
2719
- name: string;
2720
- };
2721
- price: string;
2722
- valueInUsd: string;
2723
- lpPoolTvlUsd: string;
2724
- u64Padding: string[];
2725
- };
2726
- toJSON(): {
2727
- sender: string;
2728
- index: string;
2729
- liquidityToken: {
2730
- name: string;
2731
- };
2732
- price: string;
2733
- valueInUsd: string;
2734
- lpPoolTvlUsd: string;
2735
- u64Padding: string[];
2736
- $typeName: string;
2737
- $typeArgs: [];
2738
- };
2739
- static fromJSONField(field: any): UpdateLiquidityValueEvent;
2740
- static fromJSON(json: Record<string, any>): UpdateLiquidityValueEvent;
2741
- static fromSuiParsedData(content: SuiParsedData): UpdateLiquidityValueEvent;
2742
- static fromSuiObjectData(data: SuiObjectData): UpdateLiquidityValueEvent;
2743
- static fetch(client: SuiClient, id: string): Promise<UpdateLiquidityValueEvent>;
2744
- }
2745
- export declare function isUpdateMarginConfigEvent(type: string): boolean;
2746
- export interface UpdateMarginConfigEventFields {
2747
- sender: ToField<"address">;
2748
- index: ToField<"u64">;
2749
- liquidityTokenType: ToField<TypeName>;
2750
- previousMarginConfig: ToField<MarginConfig>;
2751
- newMarginConfig: ToField<MarginConfig>;
2752
- u64Padding: ToField<Vector<"u64">>;
2753
- }
2754
- export type UpdateMarginConfigEventReified = Reified<UpdateMarginConfigEvent, UpdateMarginConfigEventFields>;
2755
- export declare class UpdateMarginConfigEvent implements StructClass {
2756
- __StructClass: true;
2757
- static readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::UpdateMarginConfigEvent";
2758
- static readonly $numTypeParams = 0;
2759
- static readonly $isPhantom: readonly [];
2760
- readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::UpdateMarginConfigEvent";
2761
- readonly $fullTypeName: `${typeof PKG_V1}::lp_pool::UpdateMarginConfigEvent`;
2762
- readonly $typeArgs: [];
2763
- readonly $isPhantom: readonly [];
2764
- readonly sender: ToField<"address">;
2765
- readonly index: ToField<"u64">;
2766
- readonly liquidityTokenType: ToField<TypeName>;
2767
- readonly previousMarginConfig: ToField<MarginConfig>;
2768
- readonly newMarginConfig: ToField<MarginConfig>;
2769
- readonly u64Padding: ToField<Vector<"u64">>;
2770
- private constructor();
2771
- static reified(): UpdateMarginConfigEventReified;
2772
- static get r(): reified.StructClassReified<UpdateMarginConfigEvent, UpdateMarginConfigEventFields>;
2773
- static phantom(): PhantomReified<ToTypeStr<UpdateMarginConfigEvent>>;
2774
- static get p(): reified.PhantomReified<"0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::UpdateMarginConfigEvent">;
2775
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
2776
- sender: string;
2777
- index: string;
2778
- liquidity_token_type: {
2779
- name: {
2780
- bytes: number[];
2781
- };
2782
- };
2783
- previous_margin_config: {
2784
- basic_borrow_rate_0: string;
2785
- basic_borrow_rate_1: string;
2786
- basic_borrow_rate_2: string;
2787
- utilization_threshold_bp_0: string;
2788
- utilization_threshold_bp_1: string;
2789
- borrow_interval_ts_ms: string;
2790
- max_order_reserve_ratio_bp: string;
2791
- u64_padding: string[];
2792
- };
2793
- new_margin_config: {
2794
- basic_borrow_rate_0: string;
2795
- basic_borrow_rate_1: string;
2796
- basic_borrow_rate_2: string;
2797
- utilization_threshold_bp_0: string;
2798
- utilization_threshold_bp_1: string;
2799
- borrow_interval_ts_ms: string;
2800
- max_order_reserve_ratio_bp: string;
2801
- u64_padding: string[];
2802
- };
2803
- u64_padding: string[];
2804
- }, {
2805
- sender: string;
2806
- index: string | number | bigint;
2807
- liquidity_token_type: {
2808
- name: {
2809
- bytes: Iterable<number> & {
2810
- length: number;
2811
- };
2812
- };
2813
- };
2814
- previous_margin_config: {
2815
- basic_borrow_rate_0: string | number | bigint;
2816
- basic_borrow_rate_1: string | number | bigint;
2817
- basic_borrow_rate_2: string | number | bigint;
2818
- utilization_threshold_bp_0: string | number | bigint;
2819
- utilization_threshold_bp_1: string | number | bigint;
2820
- borrow_interval_ts_ms: string | number | bigint;
2821
- max_order_reserve_ratio_bp: string | number | bigint;
2822
- u64_padding: Iterable<string | number | bigint> & {
2823
- length: number;
2824
- };
2825
- };
2826
- new_margin_config: {
2827
- basic_borrow_rate_0: string | number | bigint;
2828
- basic_borrow_rate_1: string | number | bigint;
2829
- basic_borrow_rate_2: string | number | bigint;
2830
- utilization_threshold_bp_0: string | number | bigint;
2831
- utilization_threshold_bp_1: string | number | bigint;
2832
- borrow_interval_ts_ms: string | number | bigint;
2833
- max_order_reserve_ratio_bp: string | number | bigint;
2834
- u64_padding: Iterable<string | number | bigint> & {
2835
- length: number;
2836
- };
2837
- };
2838
- u64_padding: Iterable<string | number | bigint> & {
2839
- length: number;
2840
- };
2841
- }>;
2842
- static fromFields(fields: Record<string, any>): UpdateMarginConfigEvent;
2843
- static fromFieldsWithTypes(item: FieldsWithTypes): UpdateMarginConfigEvent;
2844
- static fromBcs(data: Uint8Array): UpdateMarginConfigEvent;
2845
- toJSONField(): {
2846
- sender: string;
2847
- index: string;
2848
- liquidityTokenType: {
2849
- name: string;
2850
- };
2851
- previousMarginConfig: {
2852
- basicBorrowRate0: string;
2853
- basicBorrowRate1: string;
2854
- basicBorrowRate2: string;
2855
- utilizationThresholdBp0: string;
2856
- utilizationThresholdBp1: string;
2857
- borrowIntervalTsMs: string;
2858
- maxOrderReserveRatioBp: string;
2859
- u64Padding: string[];
2860
- };
2861
- newMarginConfig: {
2862
- basicBorrowRate0: string;
2863
- basicBorrowRate1: string;
2864
- basicBorrowRate2: string;
2865
- utilizationThresholdBp0: string;
2866
- utilizationThresholdBp1: string;
2867
- borrowIntervalTsMs: string;
2868
- maxOrderReserveRatioBp: string;
2869
- u64Padding: string[];
2870
- };
2871
- u64Padding: string[];
2872
- };
2873
- toJSON(): {
2874
- sender: string;
2875
- index: string;
2876
- liquidityTokenType: {
2877
- name: string;
2878
- };
2879
- previousMarginConfig: {
2880
- basicBorrowRate0: string;
2881
- basicBorrowRate1: string;
2882
- basicBorrowRate2: string;
2883
- utilizationThresholdBp0: string;
2884
- utilizationThresholdBp1: string;
2885
- borrowIntervalTsMs: string;
2886
- maxOrderReserveRatioBp: string;
2887
- u64Padding: string[];
2888
- };
2889
- newMarginConfig: {
2890
- basicBorrowRate0: string;
2891
- basicBorrowRate1: string;
2892
- basicBorrowRate2: string;
2893
- utilizationThresholdBp0: string;
2894
- utilizationThresholdBp1: string;
2895
- borrowIntervalTsMs: string;
2896
- maxOrderReserveRatioBp: string;
2897
- u64Padding: string[];
2898
- };
2899
- u64Padding: string[];
2900
- $typeName: string;
2901
- $typeArgs: [];
2902
- };
2903
- static fromJSONField(field: any): UpdateMarginConfigEvent;
2904
- static fromJSON(json: Record<string, any>): UpdateMarginConfigEvent;
2905
- static fromSuiParsedData(content: SuiParsedData): UpdateMarginConfigEvent;
2906
- static fromSuiObjectData(data: SuiObjectData): UpdateMarginConfigEvent;
2907
- static fetch(client: SuiClient, id: string): Promise<UpdateMarginConfigEvent>;
2908
- }
2909
- export declare function isUpdateSpotConfigEvent(type: string): boolean;
2910
- export interface UpdateSpotConfigEventFields {
2911
- sender: ToField<"address">;
2912
- index: ToField<"u64">;
2913
- liquidityTokenType: ToField<TypeName>;
2914
- previousSpotConfig: ToField<SpotConfig>;
2915
- newSpotConfig: ToField<SpotConfig>;
2916
- u64Padding: ToField<Vector<"u64">>;
2917
- }
2918
- export type UpdateSpotConfigEventReified = Reified<UpdateSpotConfigEvent, UpdateSpotConfigEventFields>;
2919
- export declare class UpdateSpotConfigEvent implements StructClass {
2920
- __StructClass: true;
2921
- static readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::UpdateSpotConfigEvent";
2922
- static readonly $numTypeParams = 0;
2923
- static readonly $isPhantom: readonly [];
2924
- readonly $typeName = "0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::UpdateSpotConfigEvent";
2925
- readonly $fullTypeName: `${typeof PKG_V1}::lp_pool::UpdateSpotConfigEvent`;
2926
- readonly $typeArgs: [];
2927
- readonly $isPhantom: readonly [];
2928
- readonly sender: ToField<"address">;
2929
- readonly index: ToField<"u64">;
2930
- readonly liquidityTokenType: ToField<TypeName>;
2931
- readonly previousSpotConfig: ToField<SpotConfig>;
2932
- readonly newSpotConfig: ToField<SpotConfig>;
2933
- readonly u64Padding: ToField<Vector<"u64">>;
2934
- private constructor();
2935
- static reified(): UpdateSpotConfigEventReified;
2936
- static get r(): reified.StructClassReified<UpdateSpotConfigEvent, UpdateSpotConfigEventFields>;
2937
- static phantom(): PhantomReified<ToTypeStr<UpdateSpotConfigEvent>>;
2938
- static get p(): reified.PhantomReified<"0x4badc51caf7c223fe754e76f740a95522f02ef167db98f3fbbf1f3d8dfffaceb::lp_pool::UpdateSpotConfigEvent">;
2939
- static get bcs(): import("@mysten/sui/bcs").BcsType<{
2940
- sender: string;
2941
- index: string;
2942
- liquidity_token_type: {
2943
- name: {
2944
- bytes: number[];
2945
- };
2946
- };
2947
- previous_spot_config: {
2948
- min_deposit: string;
2949
- max_capacity: string;
2950
- target_weight_bp: string;
2951
- basic_mint_fee_bp: string;
2952
- additional_mint_fee_bp: string;
2953
- basic_burn_fee_bp: string;
2954
- additional_burn_fee_bp: string;
2955
- swap_fee_bp: string;
2956
- swap_fee_protocol_share_bp: string;
2957
- u64_padding: string[];
2958
- };
2959
- new_spot_config: {
2960
- min_deposit: string;
2961
- max_capacity: string;
2962
- target_weight_bp: string;
2963
- basic_mint_fee_bp: string;
2964
- additional_mint_fee_bp: string;
2965
- basic_burn_fee_bp: string;
2966
- additional_burn_fee_bp: string;
2967
- swap_fee_bp: string;
2968
- swap_fee_protocol_share_bp: string;
2969
- u64_padding: string[];
2970
- };
2971
- u64_padding: string[];
2972
- }, {
2973
- sender: string;
2974
- index: string | number | bigint;
2975
- liquidity_token_type: {
2976
- name: {
2977
- bytes: Iterable<number> & {
2978
- length: number;
2979
- };
2980
- };
2981
- };
2982
- previous_spot_config: {
2983
- min_deposit: string | number | bigint;
2984
- max_capacity: string | number | bigint;
2985
- target_weight_bp: string | number | bigint;
2986
- basic_mint_fee_bp: string | number | bigint;
2987
- additional_mint_fee_bp: string | number | bigint;
2988
- basic_burn_fee_bp: string | number | bigint;
2989
- additional_burn_fee_bp: string | number | bigint;
2990
- swap_fee_bp: string | number | bigint;
2991
- swap_fee_protocol_share_bp: string | number | bigint;
2992
- u64_padding: Iterable<string | number | bigint> & {
2993
- length: number;
2994
- };
2995
- };
2996
- new_spot_config: {
2997
- min_deposit: string | number | bigint;
2998
- max_capacity: string | number | bigint;
2999
- target_weight_bp: string | number | bigint;
3000
- basic_mint_fee_bp: string | number | bigint;
3001
- additional_mint_fee_bp: string | number | bigint;
3002
- basic_burn_fee_bp: string | number | bigint;
3003
- additional_burn_fee_bp: string | number | bigint;
3004
- swap_fee_bp: string | number | bigint;
3005
- swap_fee_protocol_share_bp: string | number | bigint;
3006
- u64_padding: Iterable<string | number | bigint> & {
3007
- length: number;
3008
- };
3009
- };
3010
- u64_padding: Iterable<string | number | bigint> & {
3011
- length: number;
3012
- };
3013
- }>;
3014
- static fromFields(fields: Record<string, any>): UpdateSpotConfigEvent;
3015
- static fromFieldsWithTypes(item: FieldsWithTypes): UpdateSpotConfigEvent;
3016
- static fromBcs(data: Uint8Array): UpdateSpotConfigEvent;
3017
- toJSONField(): {
3018
- sender: string;
3019
- index: string;
3020
- liquidityTokenType: {
3021
- name: string;
3022
- };
3023
- previousSpotConfig: {
3024
- minDeposit: string;
3025
- maxCapacity: string;
3026
- targetWeightBp: string;
3027
- basicMintFeeBp: string;
3028
- additionalMintFeeBp: string;
3029
- basicBurnFeeBp: string;
3030
- additionalBurnFeeBp: string;
3031
- swapFeeBp: string;
3032
- swapFeeProtocolShareBp: string;
3033
- u64Padding: string[];
3034
- };
3035
- newSpotConfig: {
3036
- minDeposit: string;
3037
- maxCapacity: string;
3038
- targetWeightBp: string;
3039
- basicMintFeeBp: string;
3040
- additionalMintFeeBp: string;
3041
- basicBurnFeeBp: string;
3042
- additionalBurnFeeBp: string;
3043
- swapFeeBp: string;
3044
- swapFeeProtocolShareBp: string;
3045
- u64Padding: string[];
3046
- };
3047
- u64Padding: string[];
3048
- };
3049
- toJSON(): {
3050
- sender: string;
3051
- index: string;
3052
- liquidityTokenType: {
3053
- name: string;
3054
- };
3055
- previousSpotConfig: {
3056
- minDeposit: string;
3057
- maxCapacity: string;
3058
- targetWeightBp: string;
3059
- basicMintFeeBp: string;
3060
- additionalMintFeeBp: string;
3061
- basicBurnFeeBp: string;
3062
- additionalBurnFeeBp: string;
3063
- swapFeeBp: string;
3064
- swapFeeProtocolShareBp: string;
3065
- u64Padding: string[];
3066
- };
3067
- newSpotConfig: {
3068
- minDeposit: string;
3069
- maxCapacity: string;
3070
- targetWeightBp: string;
3071
- basicMintFeeBp: string;
3072
- additionalMintFeeBp: string;
3073
- basicBurnFeeBp: string;
3074
- additionalBurnFeeBp: string;
3075
- swapFeeBp: string;
3076
- swapFeeProtocolShareBp: string;
3077
- u64Padding: string[];
3078
- };
3079
- u64Padding: string[];
3080
- $typeName: string;
3081
- $typeArgs: [];
3082
- };
3083
- static fromJSONField(field: any): UpdateSpotConfigEvent;
3084
- static fromJSON(json: Record<string, any>): UpdateSpotConfigEvent;
3085
- static fromSuiParsedData(content: SuiParsedData): UpdateSpotConfigEvent;
3086
- static fromSuiObjectData(data: SuiObjectData): UpdateSpotConfigEvent;
3087
- static fetch(client: SuiClient, id: string): Promise<UpdateSpotConfigEvent>;
3088
- }