@typus/typus-sdk 1.3.30-tails-staking → 1.4.0

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 (962) hide show
  1. package/lib/config.json +36 -15
  2. package/lib/src/_dependencies/source/0x1/ascii/structs.js +280 -0
  3. package/lib/src/_dependencies/source/0x1/bit-vector/structs.js +193 -0
  4. package/lib/src/_dependencies/source/0x1/fixed-point32/structs.js +167 -0
  5. package/lib/src/_dependencies/source/0x1/init.js +41 -0
  6. package/lib/src/_dependencies/source/0x1/option/structs.d.ts +46 -0
  7. package/lib/src/_dependencies/source/0x1/option/structs.js +198 -0
  8. package/lib/src/_dependencies/source/0x1/string/structs.js +191 -0
  9. package/lib/src/_dependencies/source/0x1/type-name/structs.js +168 -0
  10. package/lib/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/index.d.ts +2 -0
  11. package/lib/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/index.js +5 -0
  12. package/lib/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/init.js +39 -0
  13. package/lib/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/oracle/structs.d.ts +277 -0
  14. package/lib/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/oracle/structs.js +377 -0
  15. package/lib/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/pyth-parser/structs.d.ts +102 -0
  16. package/lib/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/pyth-parser/structs.js +353 -0
  17. package/lib/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/supra/structs.d.ts +65 -0
  18. package/lib/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/supra/structs.js +175 -0
  19. package/lib/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/switchboard-feed-parser/structs.d.ts +65 -0
  20. package/lib/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/switchboard-feed-parser/structs.js +175 -0
  21. package/lib/src/_dependencies/source/0x2/authenticator-state/structs.js +565 -0
  22. package/lib/src/_dependencies/source/0x2/bag/structs.js +170 -0
  23. package/lib/src/_dependencies/source/0x2/balance/structs.js +260 -0
  24. package/lib/src/_dependencies/source/0x2/bcs/structs.js +191 -0
  25. package/lib/src/_dependencies/source/0x2/bls12381/structs.js +434 -0
  26. package/lib/src/_dependencies/source/0x2/borrow/structs.d.ts +104 -0
  27. package/lib/src/_dependencies/source/0x2/borrow/structs.js +267 -0
  28. package/lib/src/_dependencies/source/0x2/clock/structs.js +170 -0
  29. package/lib/src/_dependencies/source/0x2/coin/structs.js +648 -0
  30. package/lib/src/_dependencies/source/0x2/deny-list/structs.js +290 -0
  31. package/lib/src/_dependencies/source/0x2/display/structs.js +362 -0
  32. package/lib/src/_dependencies/source/0x2/dynamic-field/structs.d.ts +63 -0
  33. package/lib/src/_dependencies/source/0x2/dynamic-field/structs.js +174 -0
  34. package/lib/src/_dependencies/source/0x2/dynamic-object-field/structs.d.ts +42 -0
  35. package/lib/src/_dependencies/source/0x2/dynamic-object-field/structs.js +172 -0
  36. package/lib/src/_dependencies/source/0x2/groth16/structs.js +464 -0
  37. package/lib/src/_dependencies/source/0x2/group-ops/structs.js +193 -0
  38. package/lib/src/_dependencies/source/0x2/init.js +150 -0
  39. package/lib/src/_dependencies/source/0x2/kiosk/structs.js +1033 -0
  40. package/lib/src/_dependencies/source/0x2/kiosk-extension/structs.js +263 -0
  41. package/lib/src/_dependencies/source/0x2/linked-table/structs.d.ts +144 -0
  42. package/lib/src/_dependencies/source/0x2/linked-table/structs.js +272 -0
  43. package/lib/src/_dependencies/source/0x2/object/structs.js +256 -0
  44. package/lib/src/_dependencies/source/0x2/object-bag/structs.js +170 -0
  45. package/lib/src/_dependencies/source/0x2/object-table/structs.js +172 -0
  46. package/lib/src/_dependencies/source/0x2/package/structs.js +478 -0
  47. package/lib/src/_dependencies/source/0x2/priority-queue/structs.d.ts +101 -0
  48. package/lib/src/_dependencies/source/0x2/priority-queue/structs.js +292 -0
  49. package/lib/src/_dependencies/source/0x2/random/structs.js +383 -0
  50. package/lib/src/_dependencies/source/0x2/sui/structs.js +167 -0
  51. package/lib/src/_dependencies/source/0x2/table/structs.js +172 -0
  52. package/lib/src/_dependencies/source/0x2/table-vec/structs.js +194 -0
  53. package/lib/src/_dependencies/source/0x2/token/structs.d.ts +424 -0
  54. package/lib/src/_dependencies/source/0x2/token/structs.js +651 -0
  55. package/lib/src/_dependencies/source/0x2/transfer/structs.js +172 -0
  56. package/lib/src/_dependencies/source/0x2/transfer-policy/structs.js +665 -0
  57. package/lib/src/_dependencies/source/0x2/tx-context/structs.js +199 -0
  58. package/lib/src/_dependencies/source/0x2/url/structs.js +168 -0
  59. package/lib/src/_dependencies/source/0x2/vec-map/structs.d.ts +101 -0
  60. package/lib/src/_dependencies/source/0x2/vec-map/structs.js +286 -0
  61. package/lib/src/_dependencies/source/0x2/vec-set/structs.d.ts +45 -0
  62. package/lib/src/_dependencies/source/0x2/vec-set/structs.js +196 -0
  63. package/lib/src/_dependencies/source/0x2/versioned/structs.js +261 -0
  64. package/lib/src/_dependencies/source/0x2/zklogin-verified-id/structs.js +179 -0
  65. package/lib/src/_dependencies/source/0x2/zklogin-verified-issuer/structs.js +173 -0
  66. package/lib/src/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/init.js +30 -0
  67. package/lib/src/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/validator/structs.js +168 -0
  68. package/lib/src/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/init.js +33 -0
  69. package/lib/src/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/price-data-pull/structs.d.ts +41 -0
  70. package/lib/src/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/price-data-pull/structs.js +167 -0
  71. package/lib/src/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/suprasvaluefeed/structs.js +265 -0
  72. package/lib/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/airdrop/structs.d.ts +463 -0
  73. package/lib/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/airdrop/structs.js +669 -0
  74. package/lib/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/big-vector/structs.d.ts +137 -0
  75. package/lib/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/big-vector/structs.js +401 -0
  76. package/lib/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/critbit/structs.d.ts +226 -0
  77. package/lib/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/critbit/structs.js +402 -0
  78. package/lib/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/ecosystem/structs.d.ts +383 -0
  79. package/lib/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/ecosystem/structs.js +566 -0
  80. package/lib/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/index.d.ts +2 -0
  81. package/lib/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/index.js +5 -0
  82. package/lib/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/init.js +73 -0
  83. package/lib/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/leaderboard/structs.d.ts +591 -0
  84. package/lib/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/leaderboard/structs.js +774 -0
  85. package/lib/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/linked-object-table/structs.d.ts +152 -0
  86. package/lib/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/linked-object-table/structs.js +272 -0
  87. package/lib/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/linked-set/structs.d.ts +138 -0
  88. package/lib/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/linked-set/structs.js +276 -0
  89. package/lib/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/tgld/structs.d.ts +261 -0
  90. package/lib/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/tgld/structs.js +471 -0
  91. package/lib/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/user/structs.d.ts +306 -0
  92. package/lib/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/user/structs.js +563 -0
  93. package/lib/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/discount-mint/structs.d.ts +598 -0
  94. package/lib/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/discount-mint/structs.js +789 -0
  95. package/lib/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/index.d.ts +2 -0
  96. package/lib/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/index.js +5 -0
  97. package/lib/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/init.js +61 -0
  98. package/lib/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/royalty-rule/structs.d.ts +85 -0
  99. package/lib/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/royalty-rule/structs.js +258 -0
  100. package/lib/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/staking/structs.d.ts +433 -0
  101. package/lib/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/staking/structs.js +562 -0
  102. package/lib/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/table-vec/structs.d.ts +63 -0
  103. package/lib/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/table-vec/structs.js +194 -0
  104. package/lib/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/typus-nft/structs.d.ts +1006 -0
  105. package/lib/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/typus-nft/structs.js +1331 -0
  106. package/lib/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/auto-bid/structs.d.ts +1458 -0
  107. package/lib/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/auto-bid/structs.js +1706 -0
  108. package/lib/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/index.d.ts +2 -0
  109. package/lib/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/index.js +5 -0
  110. package/lib/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/init.js +129 -0
  111. package/lib/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tails-staking/structs.d.ts +1201 -0
  112. package/lib/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tails-staking/structs.js +1643 -0
  113. package/lib/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-authorized-entry/structs.d.ts +1374 -0
  114. package/lib/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-authorized-entry/structs.js +971 -0
  115. package/lib/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-fee-pool-entry/structs.d.ts +395 -0
  116. package/lib/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-fee-pool-entry/structs.js +750 -0
  117. package/lib/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-registry-authorized-entry/structs.d.ts +994 -0
  118. package/lib/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-registry-authorized-entry/structs.js +933 -0
  119. package/lib/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-view-function/structs.d.ts +77 -0
  120. package/lib/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-view-function/structs.js +179 -0
  121. package/lib/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/typus-dov-single/structs.d.ts +4562 -0
  122. package/lib/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/typus-dov-single/structs.js +3796 -0
  123. package/lib/src/_dependencies/source/0x7237ec8436ef7e927c45470db6db3a834dd84cf903aedee3844e847fe4805399/init.js +4 -0
  124. package/lib/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/authority/structs.js +192 -0
  125. package/lib/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/balance-pool/structs.js +382 -0
  126. package/lib/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/big-vector/structs.js +176 -0
  127. package/lib/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/dutch/structs.js +959 -0
  128. package/lib/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/i64/structs.js +167 -0
  129. package/lib/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/index.d.ts +2 -0
  130. package/lib/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/index.js +5 -0
  131. package/lib/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/init.js +79 -0
  132. package/lib/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/linked-list/structs.d.ts +146 -0
  133. package/lib/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/linked-list/structs.js +274 -0
  134. package/lib/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/vault/structs.js +2830 -0
  135. package/lib/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/aggregator/structs.js +711 -0
  136. package/lib/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/init.js +43 -0
  137. package/lib/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/job/structs.js +200 -0
  138. package/lib/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/math/structs.js +171 -0
  139. package/lib/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/quote/structs.js +212 -0
  140. package/lib/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/switchboard/structs.js +168 -0
  141. package/lib/src/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/init.js +36 -0
  142. package/lib/src/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/kiosk-lock-rule/structs.d.ts +79 -0
  143. package/lib/src/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/kiosk-lock-rule/structs.js +256 -0
  144. package/lib/src/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/royalty-rule/structs.d.ts +85 -0
  145. package/lib/src/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/royalty-rule/structs.js +258 -0
  146. package/lib/src/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/witness-rule/structs.js +169 -0
  147. package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/bytes20/structs.js +191 -0
  148. package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/bytes32/structs.js +191 -0
  149. package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/consumed-vaas/structs.js +193 -0
  150. package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/cursor/structs.d.ts +45 -0
  151. package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/cursor/structs.js +196 -0
  152. package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/emitter/structs.js +348 -0
  153. package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/external-address/structs.js +168 -0
  154. package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/fee-collector/structs.js +195 -0
  155. package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/governance-message/structs.js +298 -0
  156. package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/guardian/structs.js +168 -0
  157. package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/guardian-set/structs.js +196 -0
  158. package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/guardian-signature/structs.js +174 -0
  159. package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/init.js +90 -0
  160. package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/migrate/structs.js +168 -0
  161. package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/package-utils/structs.d.ts +177 -0
  162. package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/package-utils/structs.js +438 -0
  163. package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/publish-message/structs.js +297 -0
  164. package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/set/structs.js +283 -0
  165. package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/set-fee/structs.js +256 -0
  166. package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/setup/structs.js +168 -0
  167. package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/state/structs.js +303 -0
  168. package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/transfer-fee/structs.js +258 -0
  169. package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/update-guardian-set/structs.js +372 -0
  170. package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/upgrade-contract/structs.js +349 -0
  171. package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/vaa/structs.js +209 -0
  172. package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/version-control/structs.js +256 -0
  173. package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/batch-price-attestation/structs.js +295 -0
  174. package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/contract-upgrade/structs.js +260 -0
  175. package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/data-source/structs.js +170 -0
  176. package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/event/structs.js +259 -0
  177. package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/governance/structs.js +196 -0
  178. package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/governance-action/structs.js +167 -0
  179. package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/governance-instruction/structs.js +198 -0
  180. package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/hot-potato-vector/structs.d.ts +45 -0
  181. package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/hot-potato-vector/structs.js +196 -0
  182. package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/i64/structs.js +169 -0
  183. package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/init.js +84 -0
  184. package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/migrate/structs.js +168 -0
  185. package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/price/structs.js +174 -0
  186. package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/price-feed/structs.js +173 -0
  187. package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/price-identifier/structs.js +191 -0
  188. package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/price-info/structs.js +264 -0
  189. package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/price-status/structs.js +167 -0
  190. package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set/structs.d.ts +110 -0
  191. package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set/structs.js +288 -0
  192. package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set-data-sources/structs.js +192 -0
  193. package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set-fee-recipient/structs.js +167 -0
  194. package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set-governance-data-source/structs.js +172 -0
  195. package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set-stale-price-threshold/structs.js +167 -0
  196. package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set-update-fee/structs.js +169 -0
  197. package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/setup/structs.js +168 -0
  198. package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/state/structs.js +363 -0
  199. package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/version-control/structs.js +256 -0
  200. package/lib/src/_framework/init-source.js +64 -0
  201. package/lib/src/_framework/reified.js +263 -0
  202. package/lib/src/_framework/util.js +251 -0
  203. package/lib/src/airdrop/authority-entry.js +137 -0
  204. package/lib/src/airdrop/index.d.ts +3 -0
  205. package/lib/src/airdrop/index.js +19 -0
  206. package/lib/src/airdrop/user-entry.js +16 -0
  207. package/lib/src/airdrop/view-function.d.ts +9 -0
  208. package/lib/src/airdrop/view-function.js +73 -0
  209. package/lib/src/auto-bid/index.d.ts +2 -0
  210. package/lib/src/auto-bid/index.js +18 -0
  211. package/lib/src/auto-bid/user-entry.js +203 -0
  212. package/lib/src/auto-bid/view-function.d.ts +43 -0
  213. package/lib/src/auto-bid/view-function.js +347 -0
  214. package/lib/src/constants/constant.d.ts +22 -0
  215. package/lib/src/constants/constant.js +29 -0
  216. package/lib/src/constants/index.d.ts +2 -0
  217. package/lib/src/constants/index.js +18 -0
  218. package/lib/src/constants/token.d.ts +51 -0
  219. package/lib/src/constants/token.js +178 -0
  220. package/lib/src/index.d.ts +11 -0
  221. package/lib/src/index.js +27 -0
  222. package/lib/src/leaderboard/authority-entry.js +90 -0
  223. package/lib/src/leaderboard/index.d.ts +2 -0
  224. package/lib/src/leaderboard/index.js +18 -0
  225. package/lib/src/leaderboard/view-function.d.ts +20 -0
  226. package/lib/src/leaderboard/view-function.js +93 -0
  227. package/lib/src/tails-exp-dice/api.js +76 -0
  228. package/lib/src/tails-exp-dice/fetch.js +346 -0
  229. package/lib/src/tails-exp-dice/index.d.ts +4 -0
  230. package/lib/src/tails-exp-dice/index.js +20 -0
  231. package/lib/src/tails-exp-dice/user-entry.js +249 -0
  232. package/lib/src/tails-exp-dice/view-function.js +130 -0
  233. package/lib/src/tails-staking/authority-entry.js +247 -0
  234. package/lib/src/tails-staking/index.d.ts +3 -0
  235. package/lib/src/tails-staking/index.js +19 -0
  236. package/lib/src/tails-staking/user-entry.d.ts +157 -0
  237. package/lib/src/tails-staking/user-entry.js +416 -0
  238. package/lib/src/tails-staking/view-function.d.ts +20 -0
  239. package/lib/src/tails-staking/view-function.js +122 -0
  240. package/lib/src/typus-dov-single-v2/entry/authority-entry.js +167 -0
  241. package/lib/src/typus-dov-single-v2/entry/index.d.ts +3 -0
  242. package/lib/src/typus-dov-single-v2/entry/index.js +19 -0
  243. package/lib/src/typus-dov-single-v2/entry/mfud-user-entry.d.ts +126 -0
  244. package/lib/src/typus-dov-single-v2/entry/mfud-user-entry.js +425 -0
  245. package/lib/src/typus-dov-single-v2/entry/user-entry.d.ts +212 -0
  246. package/lib/src/typus-dov-single-v2/entry/user-entry.js +448 -0
  247. package/lib/src/typus-dov-single-v2/function/bidding.d.ts +151 -0
  248. package/lib/src/typus-dov-single-v2/function/bidding.js +833 -0
  249. package/lib/src/typus-dov-single-v2/function/index.d.ts +3 -0
  250. package/lib/src/typus-dov-single-v2/function/index.js +19 -0
  251. package/lib/src/typus-dov-single-v2/function/token.d.ts +21 -0
  252. package/lib/src/typus-dov-single-v2/function/vault.js +23 -0
  253. package/lib/src/typus-dov-single-v2/history/index.d.ts +2 -0
  254. package/lib/src/typus-dov-single-v2/history/index.js +18 -0
  255. package/lib/src/typus-dov-single-v2/history/user-history.d.ts +36 -0
  256. package/lib/src/typus-dov-single-v2/history/user-history.js +999 -0
  257. package/lib/src/typus-dov-single-v2/history/vault-history.d.ts +123 -0
  258. package/lib/src/typus-dov-single-v2/history/vault-history.js +403 -0
  259. package/lib/src/typus-dov-single-v2/index.d.ts +4 -0
  260. package/lib/src/typus-dov-single-v2/index.js +20 -0
  261. package/lib/src/typus-dov-single-v2/view-function.d.ts +212 -0
  262. package/lib/src/typus-dov-single-v2/view-function.js +578 -0
  263. package/lib/src/typus-nft/fetch.d.ts +69 -0
  264. package/lib/src/typus-nft/fetch.js +565 -0
  265. package/lib/src/typus-nft/index.d.ts +2 -0
  266. package/lib/src/typus-nft/index.js +18 -0
  267. package/lib/src/typus-nft/user-entry.js +173 -0
  268. package/lib/src/typus-perp/admin/functions.d.ts +51 -0
  269. package/lib/src/typus-perp/admin/functions.js +100 -0
  270. package/lib/src/typus-perp/admin/structs.d.ts +425 -0
  271. package/lib/src/typus-perp/admin/structs.js +802 -0
  272. package/lib/src/typus-perp/fetch.d.ts +57 -0
  273. package/lib/src/typus-perp/fetch.js +400 -0
  274. package/lib/src/typus-perp/index.d.ts +3 -0
  275. package/lib/src/typus-perp/index.js +14 -0
  276. package/lib/src/typus-perp/init.js +120 -0
  277. package/lib/src/typus-perp/lp-pool/functions.d.ts +283 -0
  278. package/lib/src/typus-perp/lp-pool/functions.js +418 -0
  279. package/lib/src/typus-perp/lp-pool/structs.d.ts +2538 -0
  280. package/lib/src/typus-perp/lp-pool/structs.js +3515 -0
  281. package/lib/src/typus-perp/math/functions.d.ts +18 -0
  282. package/lib/src/typus-perp/math/functions.js +40 -0
  283. package/lib/src/typus-perp/oracle/functions.js +22 -0
  284. package/lib/src/typus-perp/oracle/structs.d.ts +102 -0
  285. package/lib/src/typus-perp/oracle/structs.js +353 -0
  286. package/lib/src/typus-perp/position/functions.d.ts +339 -0
  287. package/lib/src/typus-perp/position/functions.js +564 -0
  288. package/lib/src/typus-perp/position/structs.d.ts +1144 -0
  289. package/lib/src/typus-perp/position/structs.js +1485 -0
  290. package/lib/src/typus-perp/readVec.d.ts +3 -0
  291. package/lib/src/typus-perp/readVec.js +117 -0
  292. package/lib/src/typus-perp/stake-pool/functions.d.ts +169 -0
  293. package/lib/src/typus-perp/stake-pool/functions.js +258 -0
  294. package/lib/src/typus-perp/stake-pool/structs.d.ts +2071 -0
  295. package/lib/src/typus-perp/stake-pool/structs.js +3515 -0
  296. package/lib/src/typus-perp/symbol/functions.js +20 -0
  297. package/lib/src/typus-perp/symbol/structs.d.ts +76 -0
  298. package/lib/src/typus-perp/symbol/structs.js +216 -0
  299. package/lib/src/typus-perp/tlp/functions.js +35 -0
  300. package/lib/src/typus-perp/tlp/structs.d.ts +88 -0
  301. package/lib/src/typus-perp/tlp/structs.js +329 -0
  302. package/lib/src/typus-perp/token-interface/functions.js +20 -0
  303. package/lib/src/typus-perp/trading/functions.d.ts +427 -0
  304. package/lib/src/typus-perp/trading/functions.js +612 -0
  305. package/lib/src/typus-perp/trading/structs.d.ts +2631 -0
  306. package/lib/src/typus-perp/trading/structs.js +4067 -0
  307. package/lib/src/typus-perp/treasury-caps/functions.js +32 -0
  308. package/lib/src/typus-perp/treasury-caps/structs.d.ts +50 -0
  309. package/lib/src/typus-perp/treasury-caps/structs.js +204 -0
  310. package/lib/src/typus-perp/user/order.d.ts +70 -0
  311. package/lib/src/typus-perp/user/order.js +206 -0
  312. package/lib/src/typus-perp/user/orderWithBidReceipt.d.ts +62 -0
  313. package/lib/src/typus-perp/user/orderWithBidReceipt.js +149 -0
  314. package/lib/src/typus-perp/user/tlp.d.ts +93 -0
  315. package/lib/src/typus-perp/user/tlp.js +268 -0
  316. package/lib/src/user/index.d.ts +1 -0
  317. package/lib/src/user/index.js +17 -0
  318. package/lib/src/user/view-function.d.ts +8 -0
  319. package/lib/src/user/view-function.js +71 -0
  320. package/lib/src/utils/api/defillama/index.d.ts +1 -0
  321. package/lib/src/utils/api/defillama/index.js +17 -0
  322. package/lib/src/utils/api/defillama/tvl.js +58 -0
  323. package/lib/src/utils/api/index.d.ts +3 -0
  324. package/lib/src/utils/api/index.js +19 -0
  325. package/lib/src/utils/api/price.js +208 -0
  326. package/lib/src/utils/api/sentio/index.d.ts +2 -0
  327. package/lib/src/utils/api/sentio/index.js +18 -0
  328. package/lib/src/utils/api/sentio/leader-board.js +103 -0
  329. package/lib/src/utils/api/sentio/reward-generated.js +511 -0
  330. package/lib/src/utils/index.d.ts +5 -0
  331. package/lib/src/utils/index.js +21 -0
  332. package/lib/src/utils/mint.d.ts +2 -0
  333. package/lib/src/utils/mint.js +57 -0
  334. package/lib/src/utils/pyth/constant.d.ts +49 -0
  335. package/lib/src/utils/pyth/constant.js +70 -0
  336. package/lib/src/utils/pyth/index.d.ts +2 -0
  337. package/lib/src/utils/pyth/index.js +18 -0
  338. package/lib/src/utils/pyth/pythClient.d.ts +12 -0
  339. package/lib/src/utils/pyth/pythClient.js +80 -0
  340. package/lib/src/utils/tools.js +45 -0
  341. package/package.json +7 -3
  342. package/lib/constants.d.ts +0 -23
  343. package/lib/constants.js +0 -30
  344. package/lib/mainnet.json +0 -71
  345. package/lib/utils/_dependencies/source/0x1/ascii/structs.js +0 -352
  346. package/lib/utils/_dependencies/source/0x1/bit-vector/structs.js +0 -239
  347. package/lib/utils/_dependencies/source/0x1/fixed-point32/structs.js +0 -203
  348. package/lib/utils/_dependencies/source/0x1/init.js +0 -42
  349. package/lib/utils/_dependencies/source/0x1/option/structs.d.ts +0 -46
  350. package/lib/utils/_dependencies/source/0x1/option/structs.js +0 -233
  351. package/lib/utils/_dependencies/source/0x1/string/structs.js +0 -227
  352. package/lib/utils/_dependencies/source/0x1/type-name/structs.js +0 -204
  353. package/lib/utils/_dependencies/source/0x123/discount-mint/structs.d.ts +0 -552
  354. package/lib/utils/_dependencies/source/0x123/discount-mint/structs.js +0 -1068
  355. package/lib/utils/_dependencies/source/0x123/index.d.ts +0 -2
  356. package/lib/utils/_dependencies/source/0x123/index.js +0 -5
  357. package/lib/utils/_dependencies/source/0x123/init.js +0 -61
  358. package/lib/utils/_dependencies/source/0x123/royalty-rule/structs.d.ts +0 -85
  359. package/lib/utils/_dependencies/source/0x123/royalty-rule/structs.js +0 -340
  360. package/lib/utils/_dependencies/source/0x123/staking/structs.d.ts +0 -433
  361. package/lib/utils/_dependencies/source/0x123/staking/structs.js +0 -784
  362. package/lib/utils/_dependencies/source/0x123/table-vec/structs.d.ts +0 -63
  363. package/lib/utils/_dependencies/source/0x123/table-vec/structs.js +0 -236
  364. package/lib/utils/_dependencies/source/0x123/typus-nft/structs.d.ts +0 -1006
  365. package/lib/utils/_dependencies/source/0x123/typus-nft/structs.js +0 -1994
  366. package/lib/utils/_dependencies/source/0x1318fdc90319ec9c24df1456d960a447521b0a658316155895014a6e39b5482f/index.d.ts +0 -2
  367. package/lib/utils/_dependencies/source/0x1318fdc90319ec9c24df1456d960a447521b0a658316155895014a6e39b5482f/index.js +0 -5
  368. package/lib/utils/_dependencies/source/0x1318fdc90319ec9c24df1456d960a447521b0a658316155895014a6e39b5482f/init.js +0 -38
  369. package/lib/utils/_dependencies/source/0x1318fdc90319ec9c24df1456d960a447521b0a658316155895014a6e39b5482f/whitelist/structs.d.ts +0 -340
  370. package/lib/utils/_dependencies/source/0x1318fdc90319ec9c24df1456d960a447521b0a658316155895014a6e39b5482f/whitelist/structs.js +0 -1103
  371. package/lib/utils/_dependencies/source/0x1478a432123e4b3d61878b629f2c692969fdb375644f1251cd278a4b1e7d7cd6/index.d.ts +0 -2
  372. package/lib/utils/_dependencies/source/0x1478a432123e4b3d61878b629f2c692969fdb375644f1251cd278a4b1e7d7cd6/index.js +0 -5
  373. package/lib/utils/_dependencies/source/0x1478a432123e4b3d61878b629f2c692969fdb375644f1251cd278a4b1e7d7cd6/init.js +0 -40
  374. package/lib/utils/_dependencies/source/0x1478a432123e4b3d61878b629f2c692969fdb375644f1251cd278a4b1e7d7cd6/price-feed/structs.d.ts +0 -47
  375. package/lib/utils/_dependencies/source/0x1478a432123e4b3d61878b629f2c692969fdb375644f1251cd278a4b1e7d7cd6/price-feed/structs.js +0 -215
  376. package/lib/utils/_dependencies/source/0x1478a432123e4b3d61878b629f2c692969fdb375644f1251cd278a4b1e7d7cd6/price-update-policy/structs.d.ts +0 -212
  377. package/lib/utils/_dependencies/source/0x1478a432123e4b3d61878b629f2c692969fdb375644f1251cd278a4b1e7d7cd6/price-update-policy/structs.js +0 -525
  378. package/lib/utils/_dependencies/source/0x1478a432123e4b3d61878b629f2c692969fdb375644f1251cd278a4b1e7d7cd6/x-oracle/structs.d.ts +0 -471
  379. package/lib/utils/_dependencies/source/0x1478a432123e4b3d61878b629f2c692969fdb375644f1251cd278a4b1e7d7cd6/x-oracle/structs.js +0 -669
  380. package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/airdrop/structs.d.ts +0 -463
  381. package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/airdrop/structs.js +0 -961
  382. package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/big-vector/structs.d.ts +0 -137
  383. package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/big-vector/structs.js +0 -401
  384. package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/critbit/structs.d.ts +0 -226
  385. package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/critbit/structs.js +0 -572
  386. package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/ecosystem/structs.d.ts +0 -383
  387. package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/ecosystem/structs.js +0 -802
  388. package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/index.d.ts +0 -2
  389. package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/index.js +0 -5
  390. package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/init.js +0 -72
  391. package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/leaderboard/structs.d.ts +0 -591
  392. package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/leaderboard/structs.js +0 -1156
  393. package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/linked-object-table/structs.d.ts +0 -152
  394. package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/linked-object-table/structs.js +0 -380
  395. package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/linked-set/structs.d.ts +0 -138
  396. package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/linked-set/structs.js +0 -376
  397. package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/tgld/structs.d.ts +0 -261
  398. package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/tgld/structs.js +0 -653
  399. package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/user/structs.d.ts +0 -194
  400. package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/user/structs.js +0 -509
  401. package/lib/utils/_dependencies/source/0x2/authenticator-state/structs.js +0 -807
  402. package/lib/utils/_dependencies/source/0x2/bag/structs.js +0 -210
  403. package/lib/utils/_dependencies/source/0x2/balance/structs.js +0 -332
  404. package/lib/utils/_dependencies/source/0x2/bcs/structs.js +0 -227
  405. package/lib/utils/_dependencies/source/0x2/bls12381/structs.js +0 -578
  406. package/lib/utils/_dependencies/source/0x2/borrow/structs.d.ts +0 -104
  407. package/lib/utils/_dependencies/source/0x2/borrow/structs.js +0 -353
  408. package/lib/utils/_dependencies/source/0x2/clock/structs.js +0 -216
  409. package/lib/utils/_dependencies/source/0x2/coin/structs.js +0 -924
  410. package/lib/utils/_dependencies/source/0x2/deny-list/structs.js +0 -386
  411. package/lib/utils/_dependencies/source/0x2/display/structs.js +0 -498
  412. package/lib/utils/_dependencies/source/0x2/dynamic-field/structs.d.ts +0 -63
  413. package/lib/utils/_dependencies/source/0x2/dynamic-field/structs.js +0 -226
  414. package/lib/utils/_dependencies/source/0x2/dynamic-object-field/structs.d.ts +0 -42
  415. package/lib/utils/_dependencies/source/0x2/dynamic-object-field/structs.js +0 -208
  416. package/lib/utils/_dependencies/source/0x2/groth16/structs.js +0 -626
  417. package/lib/utils/_dependencies/source/0x2/group-ops/structs.js +0 -229
  418. package/lib/utils/_dependencies/source/0x2/init.js +0 -151
  419. package/lib/utils/_dependencies/source/0x2/kiosk/structs.js +0 -1501
  420. package/lib/utils/_dependencies/source/0x2/kiosk-extension/structs.js +0 -349
  421. package/lib/utils/_dependencies/source/0x2/linked-table/structs.d.ts +0 -144
  422. package/lib/utils/_dependencies/source/0x2/linked-table/structs.js +0 -380
  423. package/lib/utils/_dependencies/source/0x2/object/structs.js +0 -328
  424. package/lib/utils/_dependencies/source/0x2/object-bag/structs.js +0 -210
  425. package/lib/utils/_dependencies/source/0x2/object-table/structs.js +0 -218
  426. package/lib/utils/_dependencies/source/0x2/package/structs.js +0 -682
  427. package/lib/utils/_dependencies/source/0x2/priority-queue/structs.d.ts +0 -101
  428. package/lib/utils/_dependencies/source/0x2/priority-queue/structs.js +0 -376
  429. package/lib/utils/_dependencies/source/0x2/random/structs.js +0 -533
  430. package/lib/utils/_dependencies/source/0x2/sui/structs.js +0 -203
  431. package/lib/utils/_dependencies/source/0x2/table/structs.js +0 -218
  432. package/lib/utils/_dependencies/source/0x2/table-vec/structs.js +0 -236
  433. package/lib/utils/_dependencies/source/0x2/token/structs.d.ts +0 -424
  434. package/lib/utils/_dependencies/source/0x2/token/structs.js +0 -937
  435. package/lib/utils/_dependencies/source/0x2/transfer/structs.js +0 -218
  436. package/lib/utils/_dependencies/source/0x2/transfer-policy/structs.js +0 -923
  437. package/lib/utils/_dependencies/source/0x2/tx-context/structs.js +0 -257
  438. package/lib/utils/_dependencies/source/0x2/url/structs.js +0 -204
  439. package/lib/utils/_dependencies/source/0x2/vec-map/structs.d.ts +0 -101
  440. package/lib/utils/_dependencies/source/0x2/vec-map/structs.js +0 -378
  441. package/lib/utils/_dependencies/source/0x2/vec-set/structs.d.ts +0 -45
  442. package/lib/utils/_dependencies/source/0x2/vec-set/structs.js +0 -232
  443. package/lib/utils/_dependencies/source/0x2/versioned/structs.js +0 -353
  444. package/lib/utils/_dependencies/source/0x2/zklogin-verified-id/structs.js +0 -241
  445. package/lib/utils/_dependencies/source/0x2/zklogin-verified-issuer/structs.js +0 -223
  446. package/lib/utils/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/init.js +0 -31
  447. package/lib/utils/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/validator/structs.js +0 -204
  448. package/lib/utils/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/init.js +0 -34
  449. package/lib/utils/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/price-data-pull/structs.d.ts +0 -41
  450. package/lib/utils/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/price-data-pull/structs.js +0 -203
  451. package/lib/utils/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/suprasvaluefeed/structs.js +0 -359
  452. package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/auto-bid/structs.d.ts +0 -1404
  453. package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/auto-bid/structs.js +0 -2581
  454. package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/index.d.ts +0 -2
  455. package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/index.js +0 -5
  456. package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/init.js +0 -131
  457. package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/tails-staking/structs.d.ts +0 -1201
  458. package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/tails-staking/structs.js +0 -2527
  459. package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/tds-authorized-entry/structs.d.ts +0 -1622
  460. package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/tds-authorized-entry/structs.js +0 -2192
  461. package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/tds-fee-pool-entry/structs.d.ts +0 -395
  462. package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/tds-fee-pool-entry/structs.js +0 -1094
  463. package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/tds-registry-authorized-entry/structs.d.ts +0 -994
  464. package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/tds-registry-authorized-entry/structs.js +0 -1358
  465. package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/tds-view-function/structs.d.ts +0 -77
  466. package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/tds-view-function/structs.js +0 -245
  467. package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/typus-dov-single/structs.d.ts +0 -4338
  468. package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/typus-dov-single/structs.js +0 -5821
  469. package/lib/utils/_dependencies/source/0x7237ec8436ef7e927c45470db6db3a834dd84cf903aedee3844e847fe4805399/init.js +0 -5
  470. package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/ac-table/structs.d.ts +0 -218
  471. package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/ac-table/structs.js +0 -524
  472. package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/balance-bag/structs.d.ts +0 -77
  473. package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/balance-bag/structs.js +0 -217
  474. package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/index.d.ts +0 -2
  475. package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/index.js +0 -5
  476. package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/init.js +0 -46
  477. package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/one-time-lock-value/structs.d.ts +0 -69
  478. package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/one-time-lock-value/structs.js +0 -233
  479. package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/ownership/structs.d.ts +0 -60
  480. package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/ownership/structs.js +0 -218
  481. package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/supply-bag/structs.d.ts +0 -77
  482. package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/supply-bag/structs.js +0 -217
  483. package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/wit-table/structs.d.ts +0 -103
  484. package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/wit-table/structs.js +0 -259
  485. package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/witness/structs.d.ts +0 -79
  486. package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/witness/structs.js +0 -332
  487. package/lib/utils/_dependencies/source/0x855eb2d260ee42b898266e6df90bfd3c4ed821ccb253a352c159c223244a4b8a/index.d.ts +0 -2
  488. package/lib/utils/_dependencies/source/0x855eb2d260ee42b898266e6df90bfd3c4ed821ccb253a352c159c223244a4b8a/index.js +0 -5
  489. package/lib/utils/_dependencies/source/0x855eb2d260ee42b898266e6df90bfd3c4ed821ccb253a352c159c223244a4b8a/init.js +0 -40
  490. package/lib/utils/_dependencies/source/0x855eb2d260ee42b898266e6df90bfd3c4ed821ccb253a352c159c223244a4b8a/oracle/structs.d.ts +0 -277
  491. package/lib/utils/_dependencies/source/0x855eb2d260ee42b898266e6df90bfd3c4ed821ccb253a352c159c223244a4b8a/oracle/structs.js +0 -553
  492. package/lib/utils/_dependencies/source/0x855eb2d260ee42b898266e6df90bfd3c4ed821ccb253a352c159c223244a4b8a/pyth-parser/structs.d.ts +0 -102
  493. package/lib/utils/_dependencies/source/0x855eb2d260ee42b898266e6df90bfd3c4ed821ccb253a352c159c223244a4b8a/pyth-parser/structs.js +0 -353
  494. package/lib/utils/_dependencies/source/0x855eb2d260ee42b898266e6df90bfd3c4ed821ccb253a352c159c223244a4b8a/supra/structs.d.ts +0 -65
  495. package/lib/utils/_dependencies/source/0x855eb2d260ee42b898266e6df90bfd3c4ed821ccb253a352c159c223244a4b8a/supra/structs.js +0 -233
  496. package/lib/utils/_dependencies/source/0x855eb2d260ee42b898266e6df90bfd3c4ed821ccb253a352c159c223244a4b8a/switchboard-feed-parser/structs.d.ts +0 -65
  497. package/lib/utils/_dependencies/source/0x855eb2d260ee42b898266e6df90bfd3c4ed821ccb253a352c159c223244a4b8a/switchboard-feed-parser/structs.js +0 -233
  498. package/lib/utils/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/authority/structs.js +0 -192
  499. package/lib/utils/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/balance-pool/structs.js +0 -382
  500. package/lib/utils/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/big-vector/structs.js +0 -176
  501. package/lib/utils/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/dutch/structs.js +0 -959
  502. package/lib/utils/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/i64/structs.js +0 -167
  503. package/lib/utils/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/index.d.ts +0 -2
  504. package/lib/utils/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/index.js +0 -5
  505. package/lib/utils/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/init.js +0 -80
  506. package/lib/utils/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/linked-list/structs.d.ts +0 -146
  507. package/lib/utils/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/linked-list/structs.js +0 -274
  508. package/lib/utils/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/vault/structs.js +0 -4465
  509. package/lib/utils/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/aggregator/structs.js +0 -1107
  510. package/lib/utils/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/init.js +0 -44
  511. package/lib/utils/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/job/structs.js +0 -258
  512. package/lib/utils/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/math/structs.js +0 -221
  513. package/lib/utils/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/quote/structs.js +0 -294
  514. package/lib/utils/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/switchboard/structs.js +0 -204
  515. package/lib/utils/_dependencies/source/0x9c564002970ce40370b0c1a8328d2e91924dab43ca2cb483af67aaf0f7cbe44e/index.d.ts +0 -2
  516. package/lib/utils/_dependencies/source/0x9c564002970ce40370b0c1a8328d2e91924dab43ca2cb483af67aaf0f7cbe44e/index.js +0 -5
  517. package/lib/utils/_dependencies/source/0x9c564002970ce40370b0c1a8328d2e91924dab43ca2cb483af67aaf0f7cbe44e/init.d.ts +0 -2
  518. package/lib/utils/_dependencies/source/0x9c564002970ce40370b0c1a8328d2e91924dab43ca2cb483af67aaf0f7cbe44e/init.js +0 -5
  519. package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/authority/structs.d.ts +0 -83
  520. package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/authority/structs.js +0 -234
  521. package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/balance-pool/structs.d.ts +0 -333
  522. package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/balance-pool/structs.js +0 -528
  523. package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/big-vector/structs.d.ts +0 -68
  524. package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/big-vector/structs.js +0 -230
  525. package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/dutch/structs.d.ts +0 -843
  526. package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/dutch/structs.js +0 -1573
  527. package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/i64/structs.d.ts +0 -41
  528. package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/i64/structs.js +0 -203
  529. package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/index.d.ts +0 -2
  530. package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/index.js +0 -5
  531. package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/init.d.ts +0 -2
  532. package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/init.js +0 -80
  533. package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/linked-list/structs.d.ts +0 -146
  534. package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/linked-list/structs.js +0 -386
  535. package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/vault/structs.d.ts +0 -2272
  536. package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/vault/structs.js +0 -4465
  537. package/lib/utils/_dependencies/source/0xad013d5fde39e15eabda32b3dbdafd67dac32b798ce63237c27a8f73339b9b6f/index.d.ts +0 -2
  538. package/lib/utils/_dependencies/source/0xad013d5fde39e15eabda32b3dbdafd67dac32b798ce63237c27a8f73339b9b6f/index.js +0 -5
  539. package/lib/utils/_dependencies/source/0xad013d5fde39e15eabda32b3dbdafd67dac32b798ce63237c27a8f73339b9b6f/init.d.ts +0 -2
  540. package/lib/utils/_dependencies/source/0xad013d5fde39e15eabda32b3dbdafd67dac32b798ce63237c27a8f73339b9b6f/init.js +0 -5
  541. package/lib/utils/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/init.d.ts +0 -2
  542. package/lib/utils/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/init.js +0 -37
  543. package/lib/utils/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/kiosk-lock-rule/structs.d.ts +0 -79
  544. package/lib/utils/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/kiosk-lock-rule/structs.js +0 -328
  545. package/lib/utils/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/royalty-rule/structs.d.ts +0 -85
  546. package/lib/utils/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/royalty-rule/structs.js +0 -340
  547. package/lib/utils/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/witness-rule/structs.js +0 -205
  548. package/lib/utils/_dependencies/source/0xca5a5a62f01c79a104bf4d31669e29daa387f325c241de4edbe30986a9bc8b0d/coin-decimals-registry/structs.d.ts +0 -174
  549. package/lib/utils/_dependencies/source/0xca5a5a62f01c79a104bf4d31669e29daa387f325c241de4edbe30986a9bc8b0d/coin-decimals-registry/structs.js +0 -511
  550. package/lib/utils/_dependencies/source/0xca5a5a62f01c79a104bf4d31669e29daa387f325c241de4edbe30986a9bc8b0d/index.d.ts +0 -2
  551. package/lib/utils/_dependencies/source/0xca5a5a62f01c79a104bf4d31669e29daa387f325c241de4edbe30986a9bc8b0d/index.js +0 -5
  552. package/lib/utils/_dependencies/source/0xca5a5a62f01c79a104bf4d31669e29daa387f325c241de4edbe30986a9bc8b0d/init.d.ts +0 -2
  553. package/lib/utils/_dependencies/source/0xca5a5a62f01c79a104bf4d31669e29daa387f325c241de4edbe30986a9bc8b0d/init.js +0 -33
  554. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/bytes20/structs.js +0 -227
  555. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/bytes32/structs.js +0 -227
  556. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/consumed-vaas/structs.js +0 -231
  557. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/cursor/structs.d.ts +0 -45
  558. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/cursor/structs.js +0 -232
  559. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/emitter/structs.js +0 -466
  560. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/external-address/structs.js +0 -204
  561. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/fee-collector/structs.js +0 -241
  562. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/governance-message/structs.js +0 -406
  563. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/guardian/structs.js +0 -204
  564. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/guardian-set/structs.js +0 -246
  565. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/guardian-signature/structs.js +0 -228
  566. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/init.d.ts +0 -2
  567. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/init.js +0 -91
  568. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/migrate/structs.js +0 -204
  569. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/package-utils/structs.d.ts +0 -177
  570. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/package-utils/structs.js +0 -592
  571. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/publish-message/structs.js +0 -413
  572. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/set/structs.js +0 -361
  573. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/set-fee/structs.js +0 -328
  574. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/setup/structs.js +0 -204
  575. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/state/structs.js +0 -413
  576. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/transfer-fee/structs.js +0 -340
  577. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/update-guardian-set/structs.js +0 -490
  578. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/upgrade-contract/structs.js +0 -467
  579. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/vaa/structs.js +0 -283
  580. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/version-control/structs.js +0 -328
  581. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/batch-price-attestation/structs.js +0 -407
  582. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/contract-upgrade/structs.js +0 -342
  583. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/data-source/structs.js +0 -216
  584. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/event/structs.js +0 -341
  585. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/governance/structs.js +0 -246
  586. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/governance-action/structs.js +0 -203
  587. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/governance-instruction/structs.js +0 -252
  588. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/hot-potato-vector/structs.d.ts +0 -45
  589. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/hot-potato-vector/structs.js +0 -232
  590. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/i64/structs.js +0 -215
  591. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/init.d.ts +0 -2
  592. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/init.js +0 -85
  593. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/migrate/structs.js +0 -204
  594. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/price/structs.js +0 -228
  595. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/price-feed/structs.js +0 -223
  596. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/price-identifier/structs.js +0 -227
  597. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/price-info/structs.js +0 -360
  598. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/price-status/structs.js +0 -203
  599. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set/structs.d.ts +0 -110
  600. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set/structs.js +0 -370
  601. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set-data-sources/structs.js +0 -228
  602. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set-fee-recipient/structs.js +0 -203
  603. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set-governance-data-source/structs.js +0 -222
  604. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set-stale-price-threshold/structs.js +0 -203
  605. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set-update-fee/structs.js +0 -215
  606. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/setup/structs.js +0 -204
  607. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/state/structs.js +0 -507
  608. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/version-control/structs.js +0 -328
  609. package/lib/utils/_dependencies/source/0xe87f1b2d498106a2c61421cec75b7b5c5e348512b0dc263949a0e7a3c256571a/admin/structs.d.ts +0 -215
  610. package/lib/utils/_dependencies/source/0xe87f1b2d498106a2c61421cec75b7b5c5e348512b0dc263949a0e7a3c256571a/admin/structs.js +0 -533
  611. package/lib/utils/_dependencies/source/0xe87f1b2d498106a2c61421cec75b7b5c5e348512b0dc263949a0e7a3c256571a/index.d.ts +0 -2
  612. package/lib/utils/_dependencies/source/0xe87f1b2d498106a2c61421cec75b7b5c5e348512b0dc263949a0e7a3c256571a/index.js +0 -5
  613. package/lib/utils/_dependencies/source/0xe87f1b2d498106a2c61421cec75b7b5c5e348512b0dc263949a0e7a3c256571a/init.d.ts +0 -2
  614. package/lib/utils/_dependencies/source/0xe87f1b2d498106a2c61421cec75b7b5c5e348512b0dc263949a0e7a3c256571a/init.js +0 -44
  615. package/lib/utils/_dependencies/source/0xe87f1b2d498106a2c61421cec75b7b5c5e348512b0dc263949a0e7a3c256571a/rewards-pool/structs.d.ts +0 -93
  616. package/lib/utils/_dependencies/source/0xe87f1b2d498106a2c61421cec75b7b5c5e348512b0dc263949a0e7a3c256571a/rewards-pool/structs.js +0 -243
  617. package/lib/utils/_dependencies/source/0xe87f1b2d498106a2c61421cec75b7b5c5e348512b0dc263949a0e7a3c256571a/spool/structs.d.ts +0 -125
  618. package/lib/utils/_dependencies/source/0xe87f1b2d498106a2c61421cec75b7b5c5e348512b0dc263949a0e7a3c256571a/spool/structs.js +0 -271
  619. package/lib/utils/_dependencies/source/0xe87f1b2d498106a2c61421cec75b7b5c5e348512b0dc263949a0e7a3c256571a/spool-account/structs.d.ts +0 -114
  620. package/lib/utils/_dependencies/source/0xe87f1b2d498106a2c61421cec75b7b5c5e348512b0dc263949a0e7a3c256571a/spool-account/structs.js +0 -250
  621. package/lib/utils/_dependencies/source/0xe87f1b2d498106a2c61421cec75b7b5c5e348512b0dc263949a0e7a3c256571a/user/structs.d.ts +0 -413
  622. package/lib/utils/_dependencies/source/0xe87f1b2d498106a2c61421cec75b7b5c5e348512b0dc263949a0e7a3c256571a/user/structs.js +0 -754
  623. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/app/structs.d.ts +0 -210
  624. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/app/structs.js +0 -392
  625. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/asset-active-state/structs.d.ts +0 -250
  626. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/asset-active-state/structs.js +0 -491
  627. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/borrow/structs.d.ts +0 -85
  628. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/borrow/structs.js +0 -235
  629. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/borrow-dynamics/structs.d.ts +0 -106
  630. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/borrow-dynamics/structs.js +0 -353
  631. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/collateral-stats/structs.d.ts +0 -79
  632. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/collateral-stats/structs.js +0 -328
  633. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/deposit-collateral/structs.d.ts +0 -79
  634. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/deposit-collateral/structs.js +0 -229
  635. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/flash-loan/structs.d.ts +0 -132
  636. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/flash-loan/structs.js +0 -365
  637. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/incentive-rewards/structs.d.ts +0 -109
  638. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/incentive-rewards/structs.js +0 -342
  639. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/index.d.ts +0 -2
  640. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/index.js +0 -5
  641. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/init.d.ts +0 -2
  642. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/init.js +0 -114
  643. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/interest-model/structs.d.ts +0 -571
  644. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/interest-model/structs.js +0 -682
  645. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/limiter/structs.d.ts +0 -591
  646. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/limiter/structs.js +0 -1360
  647. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/liquidate/structs.d.ts +0 -111
  648. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/liquidate/structs.js +0 -247
  649. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/lock-obligation/structs.d.ts +0 -67
  650. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/lock-obligation/structs.js +0 -217
  651. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/market/structs.d.ts +0 -854
  652. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/market/structs.js +0 -293
  653. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/mint/structs.d.ts +0 -100
  654. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/mint/structs.js +0 -240
  655. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/obligation/structs.d.ts +0 -628
  656. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/obligation/structs.js +0 -1010
  657. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/obligation-access/structs.d.ts +0 -92
  658. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/obligation-access/structs.js +0 -224
  659. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/obligation-collaterals/structs.d.ts +0 -79
  660. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/obligation-collaterals/structs.js +0 -328
  661. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/obligation-debts/structs.d.ts +0 -85
  662. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/obligation-debts/structs.js +0 -340
  663. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/open-obligation/structs.d.ts +0 -104
  664. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/open-obligation/structs.js +0 -347
  665. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/redeem/structs.d.ts +0 -100
  666. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/redeem/structs.js +0 -240
  667. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/repay/structs.d.ts +0 -85
  668. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/repay/structs.js +0 -235
  669. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/reserve/structs.d.ts +0 -497
  670. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/reserve/structs.js +0 -927
  671. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/risk-model/structs.d.ts +0 -443
  672. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/risk-model/structs.js +0 -658
  673. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/version/structs.d.ts +0 -102
  674. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/version/structs.js +0 -335
  675. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/withdraw-collateral/structs.d.ts +0 -79
  676. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/withdraw-collateral/structs.js +0 -229
  677. package/lib/utils/_framework/init-source.js +0 -81
  678. package/lib/utils/_framework/reified.js +0 -263
  679. package/lib/utils/_framework/util.js +0 -252
  680. package/lib/utils/airdrop/authority-entry.js +0 -138
  681. package/lib/utils/airdrop/user-entry.js +0 -21
  682. package/lib/utils/airdrop/view-functions.d.ts +0 -10
  683. package/lib/utils/airdrop/view-functions.js +0 -72
  684. package/lib/utils/api/defillama/tvl.js +0 -59
  685. package/lib/utils/api/sentio/leader-board.js +0 -104
  686. package/lib/utils/api/sentio/reward-generated.js +0 -524
  687. package/lib/utils/auction/sealedAuction.d.ts +0 -33
  688. package/lib/utils/auction/sealedAuction.js +0 -64
  689. package/lib/utils/auto-bid/user-entry.js +0 -204
  690. package/lib/utils/auto-bid/view-function.d.ts +0 -43
  691. package/lib/utils/auto-bid/view-function.js +0 -348
  692. package/lib/utils/leaderboard/authority-entry.js +0 -91
  693. package/lib/utils/leaderboard/view-function.d.ts +0 -21
  694. package/lib/utils/leaderboard/view-function.js +0 -92
  695. package/lib/utils/locked-period-vault/index.d.ts +0 -3
  696. package/lib/utils/locked-period-vault/index.js +0 -6
  697. package/lib/utils/locked-period-vault/init.js +0 -44
  698. package/lib/utils/locked-period-vault/locked-period-vault/functions.d.ts +0 -137
  699. package/lib/utils/locked-period-vault/locked-period-vault/functions.js +0 -264
  700. package/lib/utils/locked-period-vault/locked-period-vault/structs.d.ts +0 -1236
  701. package/lib/utils/locked-period-vault/locked-period-vault/structs.js +0 -2400
  702. package/lib/utils/mint.d.ts +0 -2
  703. package/lib/utils/mint.js +0 -58
  704. package/lib/utils/nft-staking/authorized-entry.d.ts +0 -5
  705. package/lib/utils/nft-staking/authorized-entry.js +0 -136
  706. package/lib/utils/nft-staking/calculation.d.ts +0 -3
  707. package/lib/utils/nft-staking/calculation.js +0 -33
  708. package/lib/utils/nft-staking/fetch.d.ts +0 -5
  709. package/lib/utils/nft-staking/fetch.js +0 -115
  710. package/lib/utils/nft-staking/user-entry.d.ts +0 -3
  711. package/lib/utils/nft-staking/user-entry.js +0 -658
  712. package/lib/utils/price.js +0 -209
  713. package/lib/utils/recap2023.d.ts +0 -1
  714. package/lib/utils/recap2023.js +0 -164
  715. package/lib/utils/sponsorTransaction.d.ts +0 -26
  716. package/lib/utils/sponsorTransaction.js +0 -292
  717. package/lib/utils/tails-exp-dice/api.js +0 -77
  718. package/lib/utils/tails-exp-dice/fetch.js +0 -346
  719. package/lib/utils/tails-exp-dice/user-entry.js +0 -250
  720. package/lib/utils/tails-exp-dice/view-function.js +0 -131
  721. package/lib/utils/tails-staking/authorized-entry.js +0 -248
  722. package/lib/utils/tails-staking/user-entry.d.ts +0 -155
  723. package/lib/utils/tails-staking/user-entry.js +0 -388
  724. package/lib/utils/tails-staking/view-function.d.ts +0 -21
  725. package/lib/utils/tails-staking/view-function.js +0 -118
  726. package/lib/utils/token.d.ts +0 -3
  727. package/lib/utils/token.js +0 -101
  728. package/lib/utils/tools.js +0 -45
  729. package/lib/utils/typus-dice/api.d.ts +0 -1
  730. package/lib/utils/typus-dice/api.js +0 -77
  731. package/lib/utils/typus-dice/fetch.d.ts +0 -72
  732. package/lib/utils/typus-dice/fetch.js +0 -349
  733. package/lib/utils/typus-dice/user-entry.d.ts +0 -28
  734. package/lib/utils/typus-dice/user-entry.js +0 -164
  735. package/lib/utils/typus-dice/view-function.d.ts +0 -8
  736. package/lib/utils/typus-dice/view-function.js +0 -135
  737. package/lib/utils/typus-dov-single-v2/authorized-entry.js +0 -168
  738. package/lib/utils/typus-dov-single-v2/depositorPnl.d.ts +0 -11
  739. package/lib/utils/typus-dov-single-v2/depositorPnl.js +0 -192
  740. package/lib/utils/typus-dov-single-v2/function/bidding.d.ts +0 -151
  741. package/lib/utils/typus-dov-single-v2/function/bidding.js +0 -833
  742. package/lib/utils/typus-dov-single-v2/function/token.d.ts +0 -21
  743. package/lib/utils/typus-dov-single-v2/function/vault.js +0 -23
  744. package/lib/utils/typus-dov-single-v2/leaderboard.d.ts +0 -7
  745. package/lib/utils/typus-dov-single-v2/leaderboard.js +0 -307
  746. package/lib/utils/typus-dov-single-v2/mfud-user-entry.d.ts +0 -126
  747. package/lib/utils/typus-dov-single-v2/mfud-user-entry.js +0 -426
  748. package/lib/utils/typus-dov-single-v2/user-entry.d.ts +0 -202
  749. package/lib/utils/typus-dov-single-v2/user-entry.js +0 -421
  750. package/lib/utils/typus-dov-single-v2/user-history.d.ts +0 -26
  751. package/lib/utils/typus-dov-single-v2/user-history.js +0 -819
  752. package/lib/utils/typus-dov-single-v2/vault-history.d.ts +0 -123
  753. package/lib/utils/typus-dov-single-v2/vault-history.js +0 -404
  754. package/lib/utils/typus-dov-single-v2/view-function.d.ts +0 -213
  755. package/lib/utils/typus-dov-single-v2/view-function.js +0 -579
  756. package/lib/utils/typus-framework/dutch.d.ts +0 -25
  757. package/lib/utils/typus-framework/dutch.js +0 -84
  758. package/lib/utils/typus-framework/vault.d.ts +0 -32
  759. package/lib/utils/typus-framework/vault.js +0 -32
  760. package/lib/utils/typus-nft/fetch.d.ts +0 -68
  761. package/lib/utils/typus-nft/fetch.js +0 -564
  762. package/lib/utils/typus-nft/user-entry.js +0 -174
  763. package/lib/utils/typus_perp/admin/functions.d.ts +0 -18
  764. package/lib/utils/typus_perp/admin/functions.js +0 -43
  765. package/lib/utils/typus_perp/admin/structs.d.ts +0 -371
  766. package/lib/utils/typus_perp/admin/structs.js +0 -796
  767. package/lib/utils/typus_perp/critbit/functions.d.ts +0 -101
  768. package/lib/utils/typus_perp/critbit/functions.js +0 -186
  769. package/lib/utils/typus_perp/critbit/structs.d.ts +0 -226
  770. package/lib/utils/typus_perp/critbit/structs.js +0 -572
  771. package/lib/utils/typus_perp/index.d.ts +0 -2
  772. package/lib/utils/typus_perp/index.js +0 -5
  773. package/lib/utils/typus_perp/init.d.ts +0 -2
  774. package/lib/utils/typus_perp/init.js +0 -121
  775. package/lib/utils/typus_perp/lp-pool/functions.d.ts +0 -231
  776. package/lib/utils/typus_perp/lp-pool/functions.js +0 -346
  777. package/lib/utils/typus_perp/lp-pool/structs.d.ts +0 -2232
  778. package/lib/utils/typus_perp/lp-pool/structs.js +0 -3300
  779. package/lib/utils/typus_perp/math/functions.d.ts +0 -16
  780. package/lib/utils/typus_perp/math/functions.js +0 -33
  781. package/lib/utils/typus_perp/oracle/functions.js +0 -23
  782. package/lib/utils/typus_perp/oracle/structs.d.ts +0 -102
  783. package/lib/utils/typus_perp/oracle/structs.js +0 -353
  784. package/lib/utils/typus_perp/position/functions.d.ts +0 -189
  785. package/lib/utils/typus_perp/position/functions.js +0 -307
  786. package/lib/utils/typus_perp/position/structs.d.ts +0 -588
  787. package/lib/utils/typus_perp/position/structs.js +0 -763
  788. package/lib/utils/typus_perp/stake-pool/functions.d.ts +0 -180
  789. package/lib/utils/typus_perp/stake-pool/functions.js +0 -276
  790. package/lib/utils/typus_perp/stake-pool/structs.d.ts +0 -2089
  791. package/lib/utils/typus_perp/stake-pool/structs.js +0 -3539
  792. package/lib/utils/typus_perp/symbol/functions.js +0 -21
  793. package/lib/utils/typus_perp/symbol/structs.d.ts +0 -76
  794. package/lib/utils/typus_perp/symbol/structs.js +0 -216
  795. package/lib/utils/typus_perp/tlp/functions.js +0 -36
  796. package/lib/utils/typus_perp/tlp/structs.d.ts +0 -88
  797. package/lib/utils/typus_perp/tlp/structs.js +0 -329
  798. package/lib/utils/typus_perp/token-interface/functions.js +0 -21
  799. package/lib/utils/typus_perp/trading/functions.d.ts +0 -234
  800. package/lib/utils/typus_perp/trading/functions.js +0 -329
  801. package/lib/utils/typus_perp/trading/structs.d.ts +0 -2305
  802. package/lib/utils/typus_perp/trading/structs.js +0 -3792
  803. package/lib/utils/typus_perp/treasury-caps/functions.js +0 -33
  804. package/lib/utils/typus_perp/treasury-caps/structs.d.ts +0 -50
  805. package/lib/utils/typus_perp/treasury-caps/structs.js +0 -204
  806. package/lib/utils/typus_perp/utils/functions.d.ts +0 -24
  807. package/lib/utils/typus_perp/utils/functions.js +0 -41
  808. package/lib/utils/user/view-function.d.ts +0 -9
  809. package/lib/utils/user/view-function.js +0 -72
  810. /package/lib/{utils → src}/_dependencies/source/0x1/ascii/structs.d.ts +0 -0
  811. /package/lib/{utils → src}/_dependencies/source/0x1/bit-vector/structs.d.ts +0 -0
  812. /package/lib/{utils → src}/_dependencies/source/0x1/fixed-point32/structs.d.ts +0 -0
  813. /package/lib/{utils → src}/_dependencies/source/0x1/index.d.ts +0 -0
  814. /package/lib/{utils → src}/_dependencies/source/0x1/index.js +0 -0
  815. /package/lib/{utils → src}/_dependencies/source/0x1/init.d.ts +0 -0
  816. /package/lib/{utils → src}/_dependencies/source/0x1/string/structs.d.ts +0 -0
  817. /package/lib/{utils → src}/_dependencies/source/0x1/type-name/structs.d.ts +0 -0
  818. /package/lib/{utils/_dependencies/source/0x123 → src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73}/init.d.ts +0 -0
  819. /package/lib/{utils → src}/_dependencies/source/0x2/authenticator-state/structs.d.ts +0 -0
  820. /package/lib/{utils → src}/_dependencies/source/0x2/bag/structs.d.ts +0 -0
  821. /package/lib/{utils → src}/_dependencies/source/0x2/balance/structs.d.ts +0 -0
  822. /package/lib/{utils → src}/_dependencies/source/0x2/bcs/structs.d.ts +0 -0
  823. /package/lib/{utils → src}/_dependencies/source/0x2/bls12381/structs.d.ts +0 -0
  824. /package/lib/{utils → src}/_dependencies/source/0x2/clock/structs.d.ts +0 -0
  825. /package/lib/{utils → src}/_dependencies/source/0x2/coin/structs.d.ts +0 -0
  826. /package/lib/{utils → src}/_dependencies/source/0x2/deny-list/structs.d.ts +0 -0
  827. /package/lib/{utils → src}/_dependencies/source/0x2/display/structs.d.ts +0 -0
  828. /package/lib/{utils → src}/_dependencies/source/0x2/groth16/structs.d.ts +0 -0
  829. /package/lib/{utils → src}/_dependencies/source/0x2/group-ops/structs.d.ts +0 -0
  830. /package/lib/{utils → src}/_dependencies/source/0x2/index.d.ts +0 -0
  831. /package/lib/{utils → src}/_dependencies/source/0x2/index.js +0 -0
  832. /package/lib/{utils/_dependencies/source/0x1318fdc90319ec9c24df1456d960a447521b0a658316155895014a6e39b5482f → src/_dependencies/source/0x2}/init.d.ts +0 -0
  833. /package/lib/{utils → src}/_dependencies/source/0x2/kiosk/structs.d.ts +0 -0
  834. /package/lib/{utils → src}/_dependencies/source/0x2/kiosk-extension/structs.d.ts +0 -0
  835. /package/lib/{utils → src}/_dependencies/source/0x2/object/structs.d.ts +0 -0
  836. /package/lib/{utils → src}/_dependencies/source/0x2/object-bag/structs.d.ts +0 -0
  837. /package/lib/{utils → src}/_dependencies/source/0x2/object-table/structs.d.ts +0 -0
  838. /package/lib/{utils → src}/_dependencies/source/0x2/package/structs.d.ts +0 -0
  839. /package/lib/{utils → src}/_dependencies/source/0x2/random/structs.d.ts +0 -0
  840. /package/lib/{utils → src}/_dependencies/source/0x2/sui/structs.d.ts +0 -0
  841. /package/lib/{utils → src}/_dependencies/source/0x2/table/structs.d.ts +0 -0
  842. /package/lib/{utils → src}/_dependencies/source/0x2/table-vec/structs.d.ts +0 -0
  843. /package/lib/{utils → src}/_dependencies/source/0x2/transfer/structs.d.ts +0 -0
  844. /package/lib/{utils → src}/_dependencies/source/0x2/transfer-policy/structs.d.ts +0 -0
  845. /package/lib/{utils → src}/_dependencies/source/0x2/tx-context/structs.d.ts +0 -0
  846. /package/lib/{utils → src}/_dependencies/source/0x2/url/structs.d.ts +0 -0
  847. /package/lib/{utils → src}/_dependencies/source/0x2/versioned/structs.d.ts +0 -0
  848. /package/lib/{utils → src}/_dependencies/source/0x2/zklogin-verified-id/structs.d.ts +0 -0
  849. /package/lib/{utils → src}/_dependencies/source/0x2/zklogin-verified-issuer/structs.d.ts +0 -0
  850. /package/lib/{utils → src}/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/index.d.ts +0 -0
  851. /package/lib/{utils → src}/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/index.js +0 -0
  852. /package/lib/{utils/_dependencies/source/0x1478a432123e4b3d61878b629f2c692969fdb375644f1251cd278a4b1e7d7cd6 → src/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698}/init.d.ts +0 -0
  853. /package/lib/{utils → src}/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/validator/structs.d.ts +0 -0
  854. /package/lib/{utils → src}/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/index.d.ts +0 -0
  855. /package/lib/{utils → src}/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/index.js +0 -0
  856. /package/lib/{utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d → src/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a}/init.d.ts +0 -0
  857. /package/lib/{utils → src}/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/suprasvaluefeed/structs.d.ts +0 -0
  858. /package/lib/{utils/_dependencies/source/0x2 → src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277}/init.d.ts +0 -0
  859. /package/lib/{utils/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698 → src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828}/init.d.ts +0 -0
  860. /package/lib/{utils/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a → src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f}/init.d.ts +0 -0
  861. /package/lib/{utils → src}/_dependencies/source/0x7237ec8436ef7e927c45470db6db3a834dd84cf903aedee3844e847fe4805399/index.d.ts +0 -0
  862. /package/lib/{utils → src}/_dependencies/source/0x7237ec8436ef7e927c45470db6db3a834dd84cf903aedee3844e847fe4805399/index.js +0 -0
  863. /package/lib/{utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455 → src/_dependencies/source/0x7237ec8436ef7e927c45470db6db3a834dd84cf903aedee3844e847fe4805399}/init.d.ts +0 -0
  864. /package/lib/{utils → src}/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/authority/structs.d.ts +0 -0
  865. /package/lib/{utils → src}/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/balance-pool/structs.d.ts +0 -0
  866. /package/lib/{utils → src}/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/big-vector/structs.d.ts +0 -0
  867. /package/lib/{utils → src}/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/dutch/structs.d.ts +0 -0
  868. /package/lib/{utils → src}/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/i64/structs.d.ts +0 -0
  869. /package/lib/{utils/_dependencies/source/0x7237ec8436ef7e927c45470db6db3a834dd84cf903aedee3844e847fe4805399 → src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded}/init.d.ts +0 -0
  870. /package/lib/{utils → src}/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/vault/structs.d.ts +0 -0
  871. /package/lib/{utils → src}/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/aggregator/structs.d.ts +0 -0
  872. /package/lib/{utils → src}/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/index.d.ts +0 -0
  873. /package/lib/{utils → src}/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/index.js +0 -0
  874. /package/lib/{utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162 → src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e}/init.d.ts +0 -0
  875. /package/lib/{utils → src}/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/job/structs.d.ts +0 -0
  876. /package/lib/{utils → src}/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/math/structs.d.ts +0 -0
  877. /package/lib/{utils → src}/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/quote/structs.d.ts +0 -0
  878. /package/lib/{utils → src}/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/switchboard/structs.d.ts +0 -0
  879. /package/lib/{utils → src}/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/index.d.ts +0 -0
  880. /package/lib/{utils → src}/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/index.js +0 -0
  881. /package/lib/{utils/_dependencies/source/0x855eb2d260ee42b898266e6df90bfd3c4ed821ccb253a352c159c223244a4b8a → src/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585}/init.d.ts +0 -0
  882. /package/lib/{utils → src}/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/witness-rule/structs.d.ts +0 -0
  883. /package/lib/{utils → src}/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/bytes20/structs.d.ts +0 -0
  884. /package/lib/{utils → src}/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/bytes32/structs.d.ts +0 -0
  885. /package/lib/{utils → src}/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/consumed-vaas/structs.d.ts +0 -0
  886. /package/lib/{utils → src}/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/emitter/structs.d.ts +0 -0
  887. /package/lib/{utils → src}/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/external-address/structs.d.ts +0 -0
  888. /package/lib/{utils → src}/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/fee-collector/structs.d.ts +0 -0
  889. /package/lib/{utils → src}/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/governance-message/structs.d.ts +0 -0
  890. /package/lib/{utils → src}/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/guardian/structs.d.ts +0 -0
  891. /package/lib/{utils → src}/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/guardian-set/structs.d.ts +0 -0
  892. /package/lib/{utils → src}/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/guardian-signature/structs.d.ts +0 -0
  893. /package/lib/{utils → src}/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/index.d.ts +0 -0
  894. /package/lib/{utils → src}/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/index.js +0 -0
  895. /package/lib/{utils/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded → src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e}/init.d.ts +0 -0
  896. /package/lib/{utils → src}/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/migrate/structs.d.ts +0 -0
  897. /package/lib/{utils → src}/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/publish-message/structs.d.ts +0 -0
  898. /package/lib/{utils → src}/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/set/structs.d.ts +0 -0
  899. /package/lib/{utils → src}/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/set-fee/structs.d.ts +0 -0
  900. /package/lib/{utils → src}/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/setup/structs.d.ts +0 -0
  901. /package/lib/{utils → src}/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/state/structs.d.ts +0 -0
  902. /package/lib/{utils → src}/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/transfer-fee/structs.d.ts +0 -0
  903. /package/lib/{utils → src}/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/update-guardian-set/structs.d.ts +0 -0
  904. /package/lib/{utils → src}/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/upgrade-contract/structs.d.ts +0 -0
  905. /package/lib/{utils → src}/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/vaa/structs.d.ts +0 -0
  906. /package/lib/{utils → src}/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/version-control/structs.d.ts +0 -0
  907. /package/lib/{utils → src}/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/batch-price-attestation/structs.d.ts +0 -0
  908. /package/lib/{utils → src}/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/contract-upgrade/structs.d.ts +0 -0
  909. /package/lib/{utils → src}/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/data-source/structs.d.ts +0 -0
  910. /package/lib/{utils → src}/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/event/structs.d.ts +0 -0
  911. /package/lib/{utils → src}/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/governance/structs.d.ts +0 -0
  912. /package/lib/{utils → src}/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/governance-action/structs.d.ts +0 -0
  913. /package/lib/{utils → src}/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/governance-instruction/structs.d.ts +0 -0
  914. /package/lib/{utils → src}/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/i64/structs.d.ts +0 -0
  915. /package/lib/{utils → src}/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/index.d.ts +0 -0
  916. /package/lib/{utils → src}/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/index.js +0 -0
  917. /package/lib/{utils/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e → src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3}/init.d.ts +0 -0
  918. /package/lib/{utils → src}/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/migrate/structs.d.ts +0 -0
  919. /package/lib/{utils → src}/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/price/structs.d.ts +0 -0
  920. /package/lib/{utils → src}/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/price-feed/structs.d.ts +0 -0
  921. /package/lib/{utils → src}/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/price-identifier/structs.d.ts +0 -0
  922. /package/lib/{utils → src}/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/price-info/structs.d.ts +0 -0
  923. /package/lib/{utils → src}/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/price-status/structs.d.ts +0 -0
  924. /package/lib/{utils → src}/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set-data-sources/structs.d.ts +0 -0
  925. /package/lib/{utils → src}/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set-fee-recipient/structs.d.ts +0 -0
  926. /package/lib/{utils → src}/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set-governance-data-source/structs.d.ts +0 -0
  927. /package/lib/{utils → src}/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set-stale-price-threshold/structs.d.ts +0 -0
  928. /package/lib/{utils → src}/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set-update-fee/structs.d.ts +0 -0
  929. /package/lib/{utils → src}/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/setup/structs.d.ts +0 -0
  930. /package/lib/{utils → src}/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/state/structs.d.ts +0 -0
  931. /package/lib/{utils → src}/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/version-control/structs.d.ts +0 -0
  932. /package/lib/{utils → src}/_framework/init-source.d.ts +0 -0
  933. /package/lib/{utils → src}/_framework/loader.d.ts +0 -0
  934. /package/lib/{utils → src}/_framework/loader.js +0 -0
  935. /package/lib/{utils → src}/_framework/reified.d.ts +0 -0
  936. /package/lib/{utils → src}/_framework/util.d.ts +0 -0
  937. /package/lib/{utils → src}/airdrop/authority-entry.d.ts +0 -0
  938. /package/lib/{utils → src}/airdrop/user-entry.d.ts +0 -0
  939. /package/lib/{utils → src}/auto-bid/user-entry.d.ts +0 -0
  940. /package/lib/{utils → src}/leaderboard/authority-entry.d.ts +0 -0
  941. /package/lib/{utils → src}/tails-exp-dice/api.d.ts +0 -0
  942. /package/lib/{utils → src}/tails-exp-dice/fetch.d.ts +0 -0
  943. /package/lib/{utils → src}/tails-exp-dice/user-entry.d.ts +0 -0
  944. /package/lib/{utils → src}/tails-exp-dice/view-function.d.ts +0 -0
  945. /package/lib/{utils/tails-staking/authorized-entry.d.ts → src/tails-staking/authority-entry.d.ts} +0 -0
  946. /package/lib/{utils/typus-dov-single-v2/authorized-entry.d.ts → src/typus-dov-single-v2/entry/authority-entry.d.ts} +0 -0
  947. /package/lib/{utils → src}/typus-dov-single-v2/function/token.js +0 -0
  948. /package/lib/{utils → src}/typus-dov-single-v2/function/vault.d.ts +0 -0
  949. /package/lib/{utils → src}/typus-nft/user-entry.d.ts +0 -0
  950. /package/lib/{utils/locked-period-vault → src/typus-perp}/init.d.ts +0 -0
  951. /package/lib/{utils/typus_perp → src/typus-perp}/oracle/functions.d.ts +0 -0
  952. /package/lib/{utils/typus_perp → src/typus-perp}/symbol/functions.d.ts +0 -0
  953. /package/lib/{utils/typus_perp → src/typus-perp}/tlp/functions.d.ts +0 -0
  954. /package/lib/{utils/typus_perp → src/typus-perp}/token-interface/functions.d.ts +0 -0
  955. /package/lib/{utils/typus_perp → src/typus-perp}/treasury-caps/functions.d.ts +0 -0
  956. /package/lib/{utils → src/utils}/api/defillama/tvl.d.ts +0 -0
  957. /package/lib/{utils → src/utils/api}/price.d.ts +0 -0
  958. /package/lib/{utils → src/utils}/api/sentio/leader-board.d.ts +0 -0
  959. /package/lib/{utils → src/utils}/api/sentio/reward-generated.d.ts +0 -0
  960. /package/lib/{load_env.d.ts → src/utils/load_env.d.ts} +0 -0
  961. /package/lib/{load_env.js → src/utils/load_env.js} +0 -0
  962. /package/lib/{utils → src/utils}/tools.d.ts +0 -0
@@ -1,2400 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
- if (k2 === undefined) k2 = k;
15
- var desc = Object.getOwnPropertyDescriptor(m, k);
16
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
17
- desc = { enumerable: true, get: function() { return m[k]; } };
18
- }
19
- Object.defineProperty(o, k2, desc);
20
- }) : (function(o, m, k, k2) {
21
- if (k2 === undefined) k2 = k;
22
- o[k2] = m[k];
23
- }));
24
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
25
- Object.defineProperty(o, "default", { enumerable: true, value: v });
26
- }) : function(o, v) {
27
- o["default"] = v;
28
- });
29
- var __importStar = (this && this.__importStar) || function (mod) {
30
- if (mod && mod.__esModule) return mod;
31
- var result = {};
32
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
- __setModuleDefault(result, mod);
34
- return result;
35
- };
36
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
37
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
38
- return new (P || (P = Promise))(function (resolve, reject) {
39
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
40
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
41
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
42
- step((generator = generator.apply(thisArg, _arguments || [])).next());
43
- });
44
- };
45
- var __generator = (this && this.__generator) || function (thisArg, body) {
46
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
47
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
48
- function verb(n) { return function (v) { return step([n, v]); }; }
49
- function step(op) {
50
- if (f) throw new TypeError("Generator is already executing.");
51
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
52
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
53
- if (y = 0, t) op = [op[0] & 2, t.value];
54
- switch (op[0]) {
55
- case 0: case 1: t = op; break;
56
- case 4: _.label++; return { value: op[1], done: false };
57
- case 5: _.label++; y = op[1]; op = [0]; continue;
58
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
59
- default:
60
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
61
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
62
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
63
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
64
- if (t[2]) _.ops.pop();
65
- _.trys.pop(); continue;
66
- }
67
- op = body.call(thisArg, _);
68
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
69
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
70
- }
71
- };
72
- var __read = (this && this.__read) || function (o, n) {
73
- var m = typeof Symbol === "function" && o[Symbol.iterator];
74
- if (!m) return o;
75
- var i = m.call(o), r, ar = [], e;
76
- try {
77
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
78
- }
79
- catch (error) { e = { error: error }; }
80
- finally {
81
- try {
82
- if (r && !r.done && (m = i["return"])) m.call(i);
83
- }
84
- finally { if (e) throw e.error; }
85
- }
86
- return ar;
87
- };
88
- var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
89
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
90
- if (ar || !(i in from)) {
91
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
92
- ar[i] = from[i];
93
- }
94
- }
95
- return to.concat(ar || Array.prototype.slice.call(from));
96
- };
97
- Object.defineProperty(exports, "__esModule", { value: true });
98
- exports.WithdrawPremiumEvent = exports.isWithdrawPremiumEvent = exports.WithdrawIncentiveEvent = exports.isWithdrawIncentiveEvent = exports.UnlockReceiptEvent = exports.isUnlockReceiptEvent = exports.RemoveIncentiveEvent = exports.isRemoveIncentiveEvent = exports.NewLockedVaultEvent = exports.isNewLockedVaultEvent = exports.LockedVaultRegistry = exports.isLockedVaultRegistry = exports.LockedVault = exports.isLockedVault = exports.LockedReceipt = exports.readVecLockedReceipt = exports.isLockedReceipt = exports.LockReceiptEvent = exports.isLockReceiptEvent = exports.LeaveEvent = exports.isLeaveEvent = exports.IncentiviseEvent = exports.isIncentiviseEvent = exports.HotPotato = exports.isHotPotato = exports.CrankLeaveEvent = exports.isCrankLeaveEvent = exports.AddIncentiveEvent = exports.isAddIncentiveEvent = void 0;
99
- var reified = __importStar(require("../../_framework/reified"));
100
- var structs_1 = require("../../_dependencies/source/0x1/type-name/structs");
101
- var structs_2 = require("../../_dependencies/source/0x2/object/structs");
102
- var structs_3 = require("../../_dependencies/source/0x2/vec-map/structs");
103
- var structs_4 = require("../../_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/big-vector/structs");
104
- var structs_5 = require("../../_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/vault/structs");
105
- var reified_1 = require("../../_framework/reified");
106
- var util_1 = require("../../_framework/util");
107
- var bcs_1 = require("@mysten/bcs");
108
- var tools_1 = require("../../tools");
109
- /* ============================== AddIncentiveEvent =============================== */
110
- function isAddIncentiveEvent(type) {
111
- type = (0, util_1.compressSuiType)(type);
112
- return type === "0x0::locked_period_vault::AddIncentiveEvent";
113
- }
114
- exports.isAddIncentiveEvent = isAddIncentiveEvent;
115
- var AddIncentiveEvent = /** @class */ (function () {
116
- function AddIncentiveEvent(typeArgs, fields) {
117
- this.$typeName = AddIncentiveEvent.$typeName;
118
- this.$fullTypeName = util_1.composeSuiType.apply(void 0, __spreadArray([AddIncentiveEvent.$typeName], __read(typeArgs), false));
119
- this.$typeArgs = typeArgs;
120
- this.index = fields.index;
121
- this.value = fields.value;
122
- this.u64Padding = fields.u64Padding;
123
- }
124
- AddIncentiveEvent.reified = function () {
125
- var _this = this;
126
- return {
127
- typeName: AddIncentiveEvent.$typeName,
128
- fullTypeName: util_1.composeSuiType.apply(void 0, __spreadArray([AddIncentiveEvent.$typeName], [], false)),
129
- typeArgs: [],
130
- reifiedTypeArgs: [],
131
- fromFields: function (fields) { return AddIncentiveEvent.fromFields(fields); },
132
- fromFieldsWithTypes: function (item) { return AddIncentiveEvent.fromFieldsWithTypes(item); },
133
- fromBcs: function (data) { return AddIncentiveEvent.fromBcs(data); },
134
- bcs: AddIncentiveEvent.bcs,
135
- fromJSONField: function (field) { return AddIncentiveEvent.fromJSONField(field); },
136
- fromJSON: function (json) { return AddIncentiveEvent.fromJSON(json); },
137
- fromSuiParsedData: function (content) { return AddIncentiveEvent.fromSuiParsedData(content); },
138
- fetch: function (client, id) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
139
- return [2 /*return*/, AddIncentiveEvent.fetch(client, id)];
140
- }); }); },
141
- new: function (fields) {
142
- return new AddIncentiveEvent([], fields);
143
- },
144
- kind: "StructClassReified",
145
- };
146
- };
147
- Object.defineProperty(AddIncentiveEvent, "r", {
148
- get: function () {
149
- return AddIncentiveEvent.reified();
150
- },
151
- enumerable: false,
152
- configurable: true
153
- });
154
- AddIncentiveEvent.phantom = function () {
155
- return (0, reified_1.phantom)(AddIncentiveEvent.reified());
156
- };
157
- Object.defineProperty(AddIncentiveEvent, "p", {
158
- get: function () {
159
- return AddIncentiveEvent.phantom();
160
- },
161
- enumerable: false,
162
- configurable: true
163
- });
164
- Object.defineProperty(AddIncentiveEvent, "bcs", {
165
- get: function () {
166
- return bcs_1.bcs.struct("AddIncentiveEvent", {
167
- index: bcs_1.bcs.u64(),
168
- value: bcs_1.bcs.u64(),
169
- u64_padding: bcs_1.bcs.vector(bcs_1.bcs.u64()),
170
- });
171
- },
172
- enumerable: false,
173
- configurable: true
174
- });
175
- AddIncentiveEvent.fromFields = function (fields) {
176
- return AddIncentiveEvent.reified().new({
177
- index: (0, reified_1.decodeFromFields)("u64", fields.index),
178
- value: (0, reified_1.decodeFromFields)("u64", fields.value),
179
- u64Padding: (0, reified_1.decodeFromFields)(reified.vector("u64"), fields.u64_padding),
180
- });
181
- };
182
- AddIncentiveEvent.fromFieldsWithTypes = function (item) {
183
- if (!isAddIncentiveEvent(item.type)) {
184
- throw new Error("not a AddIncentiveEvent type");
185
- }
186
- return AddIncentiveEvent.reified().new({
187
- index: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.index),
188
- value: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.value),
189
- u64Padding: (0, reified_1.decodeFromFieldsWithTypes)(reified.vector("u64"), item.fields.u64_padding),
190
- });
191
- };
192
- AddIncentiveEvent.fromBcs = function (data) {
193
- return AddIncentiveEvent.fromFields(AddIncentiveEvent.bcs.parse(data));
194
- };
195
- AddIncentiveEvent.prototype.toJSONField = function () {
196
- return {
197
- index: this.index.toString(),
198
- value: this.value.toString(),
199
- u64Padding: (0, reified_1.fieldToJSON)("vector<u64>", this.u64Padding),
200
- };
201
- };
202
- AddIncentiveEvent.prototype.toJSON = function () {
203
- return __assign({ $typeName: this.$typeName, $typeArgs: this.$typeArgs }, this.toJSONField());
204
- };
205
- AddIncentiveEvent.fromJSONField = function (field) {
206
- return AddIncentiveEvent.reified().new({
207
- index: (0, reified_1.decodeFromJSONField)("u64", field.index),
208
- value: (0, reified_1.decodeFromJSONField)("u64", field.value),
209
- u64Padding: (0, reified_1.decodeFromJSONField)(reified.vector("u64"), field.u64Padding),
210
- });
211
- };
212
- AddIncentiveEvent.fromJSON = function (json) {
213
- if (json.$typeName !== AddIncentiveEvent.$typeName) {
214
- throw new Error("not a WithTwoGenerics json object");
215
- }
216
- return AddIncentiveEvent.fromJSONField(json);
217
- };
218
- AddIncentiveEvent.fromSuiParsedData = function (content) {
219
- if (content.dataType !== "moveObject") {
220
- throw new Error("not an object");
221
- }
222
- if (!isAddIncentiveEvent(content.type)) {
223
- throw new Error("object at ".concat(content.fields.id, " is not a AddIncentiveEvent object"));
224
- }
225
- return AddIncentiveEvent.fromFieldsWithTypes(content);
226
- };
227
- AddIncentiveEvent.fetch = function (client, id) {
228
- return __awaiter(this, void 0, void 0, function () {
229
- var res;
230
- var _a, _b;
231
- return __generator(this, function (_c) {
232
- switch (_c.label) {
233
- case 0: return [4 /*yield*/, client.getObject({ id: id, options: { showBcs: true } })];
234
- case 1:
235
- res = _c.sent();
236
- if (res.error) {
237
- throw new Error("error fetching AddIncentiveEvent object at id ".concat(id, ": ").concat(res.error.code));
238
- }
239
- if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.bcs) === null || _b === void 0 ? void 0 : _b.dataType) !== "moveObject" || !isAddIncentiveEvent(res.data.bcs.type)) {
240
- throw new Error("object at id ".concat(id, " is not a AddIncentiveEvent object"));
241
- }
242
- return [2 /*return*/, AddIncentiveEvent.fromBcs((0, bcs_1.fromB64)(res.data.bcs.bcsBytes))];
243
- }
244
- });
245
- });
246
- };
247
- AddIncentiveEvent.$typeName = "0x0::locked_period_vault::AddIncentiveEvent";
248
- AddIncentiveEvent.$numTypeParams = 0;
249
- return AddIncentiveEvent;
250
- }());
251
- exports.AddIncentiveEvent = AddIncentiveEvent;
252
- /* ============================== CrankLeaveEvent =============================== */
253
- function isCrankLeaveEvent(type) {
254
- type = (0, util_1.compressSuiType)(type);
255
- return type === "0x0::locked_period_vault::CrankLeaveEvent";
256
- }
257
- exports.isCrankLeaveEvent = isCrankLeaveEvent;
258
- var CrankLeaveEvent = /** @class */ (function () {
259
- function CrankLeaveEvent(typeArgs, fields) {
260
- this.$typeName = CrankLeaveEvent.$typeName;
261
- this.$fullTypeName = util_1.composeSuiType.apply(void 0, __spreadArray([CrankLeaveEvent.$typeName], __read(typeArgs), false));
262
- this.$typeArgs = typeArgs;
263
- this.index = fields.index;
264
- this.unlockTsMs = fields.unlockTsMs;
265
- this.tsMs = fields.tsMs;
266
- this.u64Padding = fields.u64Padding;
267
- }
268
- CrankLeaveEvent.reified = function () {
269
- var _this = this;
270
- return {
271
- typeName: CrankLeaveEvent.$typeName,
272
- fullTypeName: util_1.composeSuiType.apply(void 0, __spreadArray([CrankLeaveEvent.$typeName], [], false)),
273
- typeArgs: [],
274
- reifiedTypeArgs: [],
275
- fromFields: function (fields) { return CrankLeaveEvent.fromFields(fields); },
276
- fromFieldsWithTypes: function (item) { return CrankLeaveEvent.fromFieldsWithTypes(item); },
277
- fromBcs: function (data) { return CrankLeaveEvent.fromBcs(data); },
278
- bcs: CrankLeaveEvent.bcs,
279
- fromJSONField: function (field) { return CrankLeaveEvent.fromJSONField(field); },
280
- fromJSON: function (json) { return CrankLeaveEvent.fromJSON(json); },
281
- fromSuiParsedData: function (content) { return CrankLeaveEvent.fromSuiParsedData(content); },
282
- fetch: function (client, id) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
283
- return [2 /*return*/, CrankLeaveEvent.fetch(client, id)];
284
- }); }); },
285
- new: function (fields) {
286
- return new CrankLeaveEvent([], fields);
287
- },
288
- kind: "StructClassReified",
289
- };
290
- };
291
- Object.defineProperty(CrankLeaveEvent, "r", {
292
- get: function () {
293
- return CrankLeaveEvent.reified();
294
- },
295
- enumerable: false,
296
- configurable: true
297
- });
298
- CrankLeaveEvent.phantom = function () {
299
- return (0, reified_1.phantom)(CrankLeaveEvent.reified());
300
- };
301
- Object.defineProperty(CrankLeaveEvent, "p", {
302
- get: function () {
303
- return CrankLeaveEvent.phantom();
304
- },
305
- enumerable: false,
306
- configurable: true
307
- });
308
- Object.defineProperty(CrankLeaveEvent, "bcs", {
309
- get: function () {
310
- return bcs_1.bcs.struct("CrankLeaveEvent", {
311
- index: bcs_1.bcs.u64(),
312
- unlock_ts_ms: bcs_1.bcs.u64(),
313
- ts_ms: bcs_1.bcs.u64(),
314
- u64_padding: bcs_1.bcs.vector(bcs_1.bcs.u64()),
315
- });
316
- },
317
- enumerable: false,
318
- configurable: true
319
- });
320
- CrankLeaveEvent.fromFields = function (fields) {
321
- return CrankLeaveEvent.reified().new({
322
- index: (0, reified_1.decodeFromFields)("u64", fields.index),
323
- unlockTsMs: (0, reified_1.decodeFromFields)("u64", fields.unlock_ts_ms),
324
- tsMs: (0, reified_1.decodeFromFields)("u64", fields.ts_ms),
325
- u64Padding: (0, reified_1.decodeFromFields)(reified.vector("u64"), fields.u64_padding),
326
- });
327
- };
328
- CrankLeaveEvent.fromFieldsWithTypes = function (item) {
329
- if (!isCrankLeaveEvent(item.type)) {
330
- throw new Error("not a CrankLeaveEvent type");
331
- }
332
- return CrankLeaveEvent.reified().new({
333
- index: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.index),
334
- unlockTsMs: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.unlock_ts_ms),
335
- tsMs: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.ts_ms),
336
- u64Padding: (0, reified_1.decodeFromFieldsWithTypes)(reified.vector("u64"), item.fields.u64_padding),
337
- });
338
- };
339
- CrankLeaveEvent.fromBcs = function (data) {
340
- return CrankLeaveEvent.fromFields(CrankLeaveEvent.bcs.parse(data));
341
- };
342
- CrankLeaveEvent.prototype.toJSONField = function () {
343
- return {
344
- index: this.index.toString(),
345
- unlockTsMs: this.unlockTsMs.toString(),
346
- tsMs: this.tsMs.toString(),
347
- u64Padding: (0, reified_1.fieldToJSON)("vector<u64>", this.u64Padding),
348
- };
349
- };
350
- CrankLeaveEvent.prototype.toJSON = function () {
351
- return __assign({ $typeName: this.$typeName, $typeArgs: this.$typeArgs }, this.toJSONField());
352
- };
353
- CrankLeaveEvent.fromJSONField = function (field) {
354
- return CrankLeaveEvent.reified().new({
355
- index: (0, reified_1.decodeFromJSONField)("u64", field.index),
356
- unlockTsMs: (0, reified_1.decodeFromJSONField)("u64", field.unlockTsMs),
357
- tsMs: (0, reified_1.decodeFromJSONField)("u64", field.tsMs),
358
- u64Padding: (0, reified_1.decodeFromJSONField)(reified.vector("u64"), field.u64Padding),
359
- });
360
- };
361
- CrankLeaveEvent.fromJSON = function (json) {
362
- if (json.$typeName !== CrankLeaveEvent.$typeName) {
363
- throw new Error("not a WithTwoGenerics json object");
364
- }
365
- return CrankLeaveEvent.fromJSONField(json);
366
- };
367
- CrankLeaveEvent.fromSuiParsedData = function (content) {
368
- if (content.dataType !== "moveObject") {
369
- throw new Error("not an object");
370
- }
371
- if (!isCrankLeaveEvent(content.type)) {
372
- throw new Error("object at ".concat(content.fields.id, " is not a CrankLeaveEvent object"));
373
- }
374
- return CrankLeaveEvent.fromFieldsWithTypes(content);
375
- };
376
- CrankLeaveEvent.fetch = function (client, id) {
377
- return __awaiter(this, void 0, void 0, function () {
378
- var res;
379
- var _a, _b;
380
- return __generator(this, function (_c) {
381
- switch (_c.label) {
382
- case 0: return [4 /*yield*/, client.getObject({ id: id, options: { showBcs: true } })];
383
- case 1:
384
- res = _c.sent();
385
- if (res.error) {
386
- throw new Error("error fetching CrankLeaveEvent object at id ".concat(id, ": ").concat(res.error.code));
387
- }
388
- if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.bcs) === null || _b === void 0 ? void 0 : _b.dataType) !== "moveObject" || !isCrankLeaveEvent(res.data.bcs.type)) {
389
- throw new Error("object at id ".concat(id, " is not a CrankLeaveEvent object"));
390
- }
391
- return [2 /*return*/, CrankLeaveEvent.fromBcs((0, bcs_1.fromB64)(res.data.bcs.bcsBytes))];
392
- }
393
- });
394
- });
395
- };
396
- CrankLeaveEvent.$typeName = "0x0::locked_period_vault::CrankLeaveEvent";
397
- CrankLeaveEvent.$numTypeParams = 0;
398
- return CrankLeaveEvent;
399
- }());
400
- exports.CrankLeaveEvent = CrankLeaveEvent;
401
- /* ============================== HotPotato =============================== */
402
- function isHotPotato(type) {
403
- type = (0, util_1.compressSuiType)(type);
404
- return type === "0xc1feadc8cfc768915b9871037d31b5b03f0dceb4418423a128edd12a134b6d22::locked_period_vault::HotPotato";
405
- }
406
- exports.isHotPotato = isHotPotato;
407
- var HotPotato = /** @class */ (function () {
408
- function HotPotato(typeArgs, fields) {
409
- this.$typeName = HotPotato.$typeName;
410
- this.$fullTypeName = util_1.composeSuiType.apply(void 0, __spreadArray([HotPotato.$typeName], __read(typeArgs), false));
411
- this.$typeArgs = typeArgs;
412
- this.dummyField = fields.dummyField;
413
- }
414
- HotPotato.reified = function () {
415
- var _this = this;
416
- return {
417
- typeName: HotPotato.$typeName,
418
- fullTypeName: util_1.composeSuiType.apply(void 0, __spreadArray([HotPotato.$typeName], [], false)),
419
- typeArgs: [],
420
- reifiedTypeArgs: [],
421
- fromFields: function (fields) { return HotPotato.fromFields(fields); },
422
- fromFieldsWithTypes: function (item) { return HotPotato.fromFieldsWithTypes(item); },
423
- fromBcs: function (data) { return HotPotato.fromBcs(data); },
424
- bcs: HotPotato.bcs,
425
- fromJSONField: function (field) { return HotPotato.fromJSONField(field); },
426
- fromJSON: function (json) { return HotPotato.fromJSON(json); },
427
- fromSuiParsedData: function (content) { return HotPotato.fromSuiParsedData(content); },
428
- fetch: function (client, id) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
429
- return [2 /*return*/, HotPotato.fetch(client, id)];
430
- }); }); },
431
- new: function (fields) {
432
- return new HotPotato([], fields);
433
- },
434
- kind: "StructClassReified",
435
- };
436
- };
437
- Object.defineProperty(HotPotato, "r", {
438
- get: function () {
439
- return HotPotato.reified();
440
- },
441
- enumerable: false,
442
- configurable: true
443
- });
444
- HotPotato.phantom = function () {
445
- return (0, reified_1.phantom)(HotPotato.reified());
446
- };
447
- Object.defineProperty(HotPotato, "p", {
448
- get: function () {
449
- return HotPotato.phantom();
450
- },
451
- enumerable: false,
452
- configurable: true
453
- });
454
- Object.defineProperty(HotPotato, "bcs", {
455
- get: function () {
456
- return bcs_1.bcs.struct("HotPotato", {
457
- dummy_field: bcs_1.bcs.bool(),
458
- });
459
- },
460
- enumerable: false,
461
- configurable: true
462
- });
463
- HotPotato.fromFields = function (fields) {
464
- return HotPotato.reified().new({ dummyField: (0, reified_1.decodeFromFields)("bool", fields.dummy_field) });
465
- };
466
- HotPotato.fromFieldsWithTypes = function (item) {
467
- if (!isHotPotato(item.type)) {
468
- throw new Error("not a HotPotato type");
469
- }
470
- return HotPotato.reified().new({ dummyField: (0, reified_1.decodeFromFieldsWithTypes)("bool", item.fields.dummy_field) });
471
- };
472
- HotPotato.fromBcs = function (data) {
473
- return HotPotato.fromFields(HotPotato.bcs.parse(data));
474
- };
475
- HotPotato.prototype.toJSONField = function () {
476
- return {
477
- dummyField: this.dummyField,
478
- };
479
- };
480
- HotPotato.prototype.toJSON = function () {
481
- return __assign({ $typeName: this.$typeName, $typeArgs: this.$typeArgs }, this.toJSONField());
482
- };
483
- HotPotato.fromJSONField = function (field) {
484
- return HotPotato.reified().new({ dummyField: (0, reified_1.decodeFromJSONField)("bool", field.dummyField) });
485
- };
486
- HotPotato.fromJSON = function (json) {
487
- if (json.$typeName !== HotPotato.$typeName) {
488
- throw new Error("not a WithTwoGenerics json object");
489
- }
490
- return HotPotato.fromJSONField(json);
491
- };
492
- HotPotato.fromSuiParsedData = function (content) {
493
- if (content.dataType !== "moveObject") {
494
- throw new Error("not an object");
495
- }
496
- if (!isHotPotato(content.type)) {
497
- throw new Error("object at ".concat(content.fields.id, " is not a HotPotato object"));
498
- }
499
- return HotPotato.fromFieldsWithTypes(content);
500
- };
501
- HotPotato.fetch = function (client, id) {
502
- return __awaiter(this, void 0, void 0, function () {
503
- var res;
504
- var _a, _b;
505
- return __generator(this, function (_c) {
506
- switch (_c.label) {
507
- case 0: return [4 /*yield*/, client.getObject({ id: id, options: { showBcs: true } })];
508
- case 1:
509
- res = _c.sent();
510
- if (res.error) {
511
- throw new Error("error fetching HotPotato object at id ".concat(id, ": ").concat(res.error.code));
512
- }
513
- if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.bcs) === null || _b === void 0 ? void 0 : _b.dataType) !== "moveObject" || !isHotPotato(res.data.bcs.type)) {
514
- throw new Error("object at id ".concat(id, " is not a HotPotato object"));
515
- }
516
- return [2 /*return*/, HotPotato.fromBcs((0, bcs_1.fromB64)(res.data.bcs.bcsBytes))];
517
- }
518
- });
519
- });
520
- };
521
- HotPotato.$typeName = "0xc1feadc8cfc768915b9871037d31b5b03f0dceb4418423a128edd12a134b6d22::locked_period_vault::HotPotato";
522
- HotPotato.$numTypeParams = 0;
523
- return HotPotato;
524
- }());
525
- exports.HotPotato = HotPotato;
526
- /* ============================== IncentiviseEvent =============================== */
527
- function isIncentiviseEvent(type) {
528
- type = (0, util_1.compressSuiType)(type);
529
- return type === "0x0::locked_period_vault::IncentiviseEvent";
530
- }
531
- exports.isIncentiviseEvent = isIncentiviseEvent;
532
- var IncentiviseEvent = /** @class */ (function () {
533
- function IncentiviseEvent(typeArgs, fields) {
534
- this.$typeName = IncentiviseEvent.$typeName;
535
- this.$fullTypeName = util_1.composeSuiType.apply(void 0, __spreadArray([IncentiviseEvent.$typeName], __read(typeArgs), false));
536
- this.$typeArgs = typeArgs;
537
- this.index = fields.index;
538
- this.incentiveTsMs = fields.incentiveTsMs;
539
- this.tsMs = fields.tsMs;
540
- this.incentivePpm = fields.incentivePpm;
541
- this.ppmAdjustment = fields.ppmAdjustment;
542
- this.totalLocked = fields.totalLocked;
543
- this.totalIncentive = fields.totalIncentive;
544
- this.u64Padding = fields.u64Padding;
545
- }
546
- IncentiviseEvent.reified = function () {
547
- var _this = this;
548
- return {
549
- typeName: IncentiviseEvent.$typeName,
550
- fullTypeName: util_1.composeSuiType.apply(void 0, __spreadArray([IncentiviseEvent.$typeName], [], false)),
551
- typeArgs: [],
552
- reifiedTypeArgs: [],
553
- fromFields: function (fields) { return IncentiviseEvent.fromFields(fields); },
554
- fromFieldsWithTypes: function (item) { return IncentiviseEvent.fromFieldsWithTypes(item); },
555
- fromBcs: function (data) { return IncentiviseEvent.fromBcs(data); },
556
- bcs: IncentiviseEvent.bcs,
557
- fromJSONField: function (field) { return IncentiviseEvent.fromJSONField(field); },
558
- fromJSON: function (json) { return IncentiviseEvent.fromJSON(json); },
559
- fromSuiParsedData: function (content) { return IncentiviseEvent.fromSuiParsedData(content); },
560
- fetch: function (client, id) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
561
- return [2 /*return*/, IncentiviseEvent.fetch(client, id)];
562
- }); }); },
563
- new: function (fields) {
564
- return new IncentiviseEvent([], fields);
565
- },
566
- kind: "StructClassReified",
567
- };
568
- };
569
- Object.defineProperty(IncentiviseEvent, "r", {
570
- get: function () {
571
- return IncentiviseEvent.reified();
572
- },
573
- enumerable: false,
574
- configurable: true
575
- });
576
- IncentiviseEvent.phantom = function () {
577
- return (0, reified_1.phantom)(IncentiviseEvent.reified());
578
- };
579
- Object.defineProperty(IncentiviseEvent, "p", {
580
- get: function () {
581
- return IncentiviseEvent.phantom();
582
- },
583
- enumerable: false,
584
- configurable: true
585
- });
586
- Object.defineProperty(IncentiviseEvent, "bcs", {
587
- get: function () {
588
- return bcs_1.bcs.struct("IncentiviseEvent", {
589
- index: bcs_1.bcs.u64(),
590
- incentive_ts_ms: bcs_1.bcs.u64(),
591
- ts_ms: bcs_1.bcs.u64(),
592
- incentive_ppm: bcs_1.bcs.u64(),
593
- ppm_adjustment: bcs_1.bcs.u64(),
594
- total_locked: bcs_1.bcs.u64(),
595
- total_incentive: bcs_1.bcs.u64(),
596
- u64_padding: bcs_1.bcs.vector(bcs_1.bcs.u64()),
597
- });
598
- },
599
- enumerable: false,
600
- configurable: true
601
- });
602
- IncentiviseEvent.fromFields = function (fields) {
603
- return IncentiviseEvent.reified().new({
604
- index: (0, reified_1.decodeFromFields)("u64", fields.index),
605
- incentiveTsMs: (0, reified_1.decodeFromFields)("u64", fields.incentive_ts_ms),
606
- tsMs: (0, reified_1.decodeFromFields)("u64", fields.ts_ms),
607
- incentivePpm: (0, reified_1.decodeFromFields)("u64", fields.incentive_ppm),
608
- ppmAdjustment: (0, reified_1.decodeFromFields)("u64", fields.ppm_adjustment),
609
- totalLocked: (0, reified_1.decodeFromFields)("u64", fields.total_locked),
610
- totalIncentive: (0, reified_1.decodeFromFields)("u64", fields.total_incentive),
611
- u64Padding: (0, reified_1.decodeFromFields)(reified.vector("u64"), fields.u64_padding),
612
- });
613
- };
614
- IncentiviseEvent.fromFieldsWithTypes = function (item) {
615
- if (!isIncentiviseEvent(item.type)) {
616
- throw new Error("not a IncentiviseEvent type");
617
- }
618
- return IncentiviseEvent.reified().new({
619
- index: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.index),
620
- incentiveTsMs: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.incentive_ts_ms),
621
- tsMs: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.ts_ms),
622
- incentivePpm: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.incentive_ppm),
623
- ppmAdjustment: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.ppm_adjustment),
624
- totalLocked: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.total_locked),
625
- totalIncentive: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.total_incentive),
626
- u64Padding: (0, reified_1.decodeFromFieldsWithTypes)(reified.vector("u64"), item.fields.u64_padding),
627
- });
628
- };
629
- IncentiviseEvent.fromBcs = function (data) {
630
- return IncentiviseEvent.fromFields(IncentiviseEvent.bcs.parse(data));
631
- };
632
- IncentiviseEvent.prototype.toJSONField = function () {
633
- return {
634
- index: this.index.toString(),
635
- incentiveTsMs: this.incentiveTsMs.toString(),
636
- tsMs: this.tsMs.toString(),
637
- incentivePpm: this.incentivePpm.toString(),
638
- ppmAdjustment: this.ppmAdjustment.toString(),
639
- totalLocked: this.totalLocked.toString(),
640
- totalIncentive: this.totalIncentive.toString(),
641
- u64Padding: (0, reified_1.fieldToJSON)("vector<u64>", this.u64Padding),
642
- };
643
- };
644
- IncentiviseEvent.prototype.toJSON = function () {
645
- return __assign({ $typeName: this.$typeName, $typeArgs: this.$typeArgs }, this.toJSONField());
646
- };
647
- IncentiviseEvent.fromJSONField = function (field) {
648
- return IncentiviseEvent.reified().new({
649
- index: (0, reified_1.decodeFromJSONField)("u64", field.index),
650
- incentiveTsMs: (0, reified_1.decodeFromJSONField)("u64", field.incentiveTsMs),
651
- tsMs: (0, reified_1.decodeFromJSONField)("u64", field.tsMs),
652
- incentivePpm: (0, reified_1.decodeFromJSONField)("u64", field.incentivePpm),
653
- ppmAdjustment: (0, reified_1.decodeFromJSONField)("u64", field.ppmAdjustment),
654
- totalLocked: (0, reified_1.decodeFromJSONField)("u64", field.totalLocked),
655
- totalIncentive: (0, reified_1.decodeFromJSONField)("u64", field.totalIncentive),
656
- u64Padding: (0, reified_1.decodeFromJSONField)(reified.vector("u64"), field.u64Padding),
657
- });
658
- };
659
- IncentiviseEvent.fromJSON = function (json) {
660
- if (json.$typeName !== IncentiviseEvent.$typeName) {
661
- throw new Error("not a WithTwoGenerics json object");
662
- }
663
- return IncentiviseEvent.fromJSONField(json);
664
- };
665
- IncentiviseEvent.fromSuiParsedData = function (content) {
666
- if (content.dataType !== "moveObject") {
667
- throw new Error("not an object");
668
- }
669
- if (!isIncentiviseEvent(content.type)) {
670
- throw new Error("object at ".concat(content.fields.id, " is not a IncentiviseEvent object"));
671
- }
672
- return IncentiviseEvent.fromFieldsWithTypes(content);
673
- };
674
- IncentiviseEvent.fetch = function (client, id) {
675
- return __awaiter(this, void 0, void 0, function () {
676
- var res;
677
- var _a, _b;
678
- return __generator(this, function (_c) {
679
- switch (_c.label) {
680
- case 0: return [4 /*yield*/, client.getObject({ id: id, options: { showBcs: true } })];
681
- case 1:
682
- res = _c.sent();
683
- if (res.error) {
684
- throw new Error("error fetching IncentiviseEvent object at id ".concat(id, ": ").concat(res.error.code));
685
- }
686
- if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.bcs) === null || _b === void 0 ? void 0 : _b.dataType) !== "moveObject" || !isIncentiviseEvent(res.data.bcs.type)) {
687
- throw new Error("object at id ".concat(id, " is not a IncentiviseEvent object"));
688
- }
689
- return [2 /*return*/, IncentiviseEvent.fromBcs((0, bcs_1.fromB64)(res.data.bcs.bcsBytes))];
690
- }
691
- });
692
- });
693
- };
694
- IncentiviseEvent.$typeName = "0x0::locked_period_vault::IncentiviseEvent";
695
- IncentiviseEvent.$numTypeParams = 0;
696
- return IncentiviseEvent;
697
- }());
698
- exports.IncentiviseEvent = IncentiviseEvent;
699
- /* ============================== LeaveEvent =============================== */
700
- function isLeaveEvent(type) {
701
- type = (0, util_1.compressSuiType)(type);
702
- return type === "0xc1feadc8cfc768915b9871037d31b5b03f0dceb4418423a128edd12a134b6d22::locked_period_vault::LeaveEvent";
703
- }
704
- exports.isLeaveEvent = isLeaveEvent;
705
- var LeaveEvent = /** @class */ (function () {
706
- function LeaveEvent(typeArgs, fields) {
707
- this.$typeName = LeaveEvent.$typeName;
708
- this.$fullTypeName = util_1.composeSuiType.apply(void 0, __spreadArray([LeaveEvent.$typeName], __read(typeArgs), false));
709
- this.$typeArgs = typeArgs;
710
- this.index = fields.index;
711
- this.user = fields.user;
712
- this.u64Padding = fields.u64Padding;
713
- }
714
- LeaveEvent.reified = function () {
715
- var _this = this;
716
- return {
717
- typeName: LeaveEvent.$typeName,
718
- fullTypeName: util_1.composeSuiType.apply(void 0, __spreadArray([LeaveEvent.$typeName], [], false)),
719
- typeArgs: [],
720
- reifiedTypeArgs: [],
721
- fromFields: function (fields) { return LeaveEvent.fromFields(fields); },
722
- fromFieldsWithTypes: function (item) { return LeaveEvent.fromFieldsWithTypes(item); },
723
- fromBcs: function (data) { return LeaveEvent.fromBcs(data); },
724
- bcs: LeaveEvent.bcs,
725
- fromJSONField: function (field) { return LeaveEvent.fromJSONField(field); },
726
- fromJSON: function (json) { return LeaveEvent.fromJSON(json); },
727
- fromSuiParsedData: function (content) { return LeaveEvent.fromSuiParsedData(content); },
728
- fetch: function (client, id) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
729
- return [2 /*return*/, LeaveEvent.fetch(client, id)];
730
- }); }); },
731
- new: function (fields) {
732
- return new LeaveEvent([], fields);
733
- },
734
- kind: "StructClassReified",
735
- };
736
- };
737
- Object.defineProperty(LeaveEvent, "r", {
738
- get: function () {
739
- return LeaveEvent.reified();
740
- },
741
- enumerable: false,
742
- configurable: true
743
- });
744
- LeaveEvent.phantom = function () {
745
- return (0, reified_1.phantom)(LeaveEvent.reified());
746
- };
747
- Object.defineProperty(LeaveEvent, "p", {
748
- get: function () {
749
- return LeaveEvent.phantom();
750
- },
751
- enumerable: false,
752
- configurable: true
753
- });
754
- Object.defineProperty(LeaveEvent, "bcs", {
755
- get: function () {
756
- return bcs_1.bcs.struct("LeaveEvent", {
757
- index: bcs_1.bcs.u64(),
758
- user: bcs_1.bcs.bytes(32).transform({ input: function (val) { return (0, bcs_1.fromHEX)(val); }, output: function (val) { return (0, bcs_1.toHEX)(val); } }),
759
- u64_padding: bcs_1.bcs.vector(bcs_1.bcs.u64()),
760
- });
761
- },
762
- enumerable: false,
763
- configurable: true
764
- });
765
- LeaveEvent.fromFields = function (fields) {
766
- return LeaveEvent.reified().new({
767
- index: (0, reified_1.decodeFromFields)("u64", fields.index),
768
- user: (0, reified_1.decodeFromFields)("address", fields.user),
769
- u64Padding: (0, reified_1.decodeFromFields)(reified.vector("u64"), fields.u64_padding),
770
- });
771
- };
772
- LeaveEvent.fromFieldsWithTypes = function (item) {
773
- if (!isLeaveEvent(item.type)) {
774
- throw new Error("not a LeaveEvent type");
775
- }
776
- return LeaveEvent.reified().new({
777
- index: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.index),
778
- user: (0, reified_1.decodeFromFieldsWithTypes)("address", item.fields.user),
779
- u64Padding: (0, reified_1.decodeFromFieldsWithTypes)(reified.vector("u64"), item.fields.u64_padding),
780
- });
781
- };
782
- LeaveEvent.fromBcs = function (data) {
783
- return LeaveEvent.fromFields(LeaveEvent.bcs.parse(data));
784
- };
785
- LeaveEvent.prototype.toJSONField = function () {
786
- return {
787
- index: this.index.toString(),
788
- user: this.user,
789
- u64Padding: (0, reified_1.fieldToJSON)("vector<u64>", this.u64Padding),
790
- };
791
- };
792
- LeaveEvent.prototype.toJSON = function () {
793
- return __assign({ $typeName: this.$typeName, $typeArgs: this.$typeArgs }, this.toJSONField());
794
- };
795
- LeaveEvent.fromJSONField = function (field) {
796
- return LeaveEvent.reified().new({
797
- index: (0, reified_1.decodeFromJSONField)("u64", field.index),
798
- user: (0, reified_1.decodeFromJSONField)("address", field.user),
799
- u64Padding: (0, reified_1.decodeFromJSONField)(reified.vector("u64"), field.u64Padding),
800
- });
801
- };
802
- LeaveEvent.fromJSON = function (json) {
803
- if (json.$typeName !== LeaveEvent.$typeName) {
804
- throw new Error("not a WithTwoGenerics json object");
805
- }
806
- return LeaveEvent.fromJSONField(json);
807
- };
808
- LeaveEvent.fromSuiParsedData = function (content) {
809
- if (content.dataType !== "moveObject") {
810
- throw new Error("not an object");
811
- }
812
- if (!isLeaveEvent(content.type)) {
813
- throw new Error("object at ".concat(content.fields.id, " is not a LeaveEvent object"));
814
- }
815
- return LeaveEvent.fromFieldsWithTypes(content);
816
- };
817
- LeaveEvent.fetch = function (client, id) {
818
- return __awaiter(this, void 0, void 0, function () {
819
- var res;
820
- var _a, _b;
821
- return __generator(this, function (_c) {
822
- switch (_c.label) {
823
- case 0: return [4 /*yield*/, client.getObject({ id: id, options: { showBcs: true } })];
824
- case 1:
825
- res = _c.sent();
826
- if (res.error) {
827
- throw new Error("error fetching LeaveEvent object at id ".concat(id, ": ").concat(res.error.code));
828
- }
829
- if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.bcs) === null || _b === void 0 ? void 0 : _b.dataType) !== "moveObject" || !isLeaveEvent(res.data.bcs.type)) {
830
- throw new Error("object at id ".concat(id, " is not a LeaveEvent object"));
831
- }
832
- return [2 /*return*/, LeaveEvent.fromBcs((0, bcs_1.fromB64)(res.data.bcs.bcsBytes))];
833
- }
834
- });
835
- });
836
- };
837
- LeaveEvent.$typeName = "0xc1feadc8cfc768915b9871037d31b5b03f0dceb4418423a128edd12a134b6d22::locked_period_vault::LeaveEvent";
838
- LeaveEvent.$numTypeParams = 0;
839
- return LeaveEvent;
840
- }());
841
- exports.LeaveEvent = LeaveEvent;
842
- /* ============================== LockReceiptEvent =============================== */
843
- function isLockReceiptEvent(type) {
844
- type = (0, util_1.compressSuiType)(type);
845
- return type === "0xc1feadc8cfc768915b9871037d31b5b03f0dceb4418423a128edd12a134b6d22::locked_period_vault::LockReceiptEvent";
846
- }
847
- exports.isLockReceiptEvent = isLockReceiptEvent;
848
- var LockReceiptEvent = /** @class */ (function () {
849
- function LockReceiptEvent(typeArgs, fields) {
850
- this.$typeName = LockReceiptEvent.$typeName;
851
- this.$fullTypeName = util_1.composeSuiType.apply(void 0, __spreadArray([LockReceiptEvent.$typeName], __read(typeArgs), false));
852
- this.$typeArgs = typeArgs;
853
- this.index = fields.index;
854
- this.splitActiveShare = fields.splitActiveShare;
855
- this.splitWarmupShare = fields.splitWarmupShare;
856
- this.netDeposit = fields.netDeposit;
857
- this.user = fields.user;
858
- this.u64Padding = fields.u64Padding;
859
- }
860
- LockReceiptEvent.reified = function () {
861
- var _this = this;
862
- return {
863
- typeName: LockReceiptEvent.$typeName,
864
- fullTypeName: util_1.composeSuiType.apply(void 0, __spreadArray([LockReceiptEvent.$typeName], [], false)),
865
- typeArgs: [],
866
- reifiedTypeArgs: [],
867
- fromFields: function (fields) { return LockReceiptEvent.fromFields(fields); },
868
- fromFieldsWithTypes: function (item) { return LockReceiptEvent.fromFieldsWithTypes(item); },
869
- fromBcs: function (data) { return LockReceiptEvent.fromBcs(data); },
870
- bcs: LockReceiptEvent.bcs,
871
- fromJSONField: function (field) { return LockReceiptEvent.fromJSONField(field); },
872
- fromJSON: function (json) { return LockReceiptEvent.fromJSON(json); },
873
- fromSuiParsedData: function (content) { return LockReceiptEvent.fromSuiParsedData(content); },
874
- fetch: function (client, id) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
875
- return [2 /*return*/, LockReceiptEvent.fetch(client, id)];
876
- }); }); },
877
- new: function (fields) {
878
- return new LockReceiptEvent([], fields);
879
- },
880
- kind: "StructClassReified",
881
- };
882
- };
883
- Object.defineProperty(LockReceiptEvent, "r", {
884
- get: function () {
885
- return LockReceiptEvent.reified();
886
- },
887
- enumerable: false,
888
- configurable: true
889
- });
890
- LockReceiptEvent.phantom = function () {
891
- return (0, reified_1.phantom)(LockReceiptEvent.reified());
892
- };
893
- Object.defineProperty(LockReceiptEvent, "p", {
894
- get: function () {
895
- return LockReceiptEvent.phantom();
896
- },
897
- enumerable: false,
898
- configurable: true
899
- });
900
- Object.defineProperty(LockReceiptEvent, "bcs", {
901
- get: function () {
902
- return bcs_1.bcs.struct("LockReceiptEvent", {
903
- index: bcs_1.bcs.u64(),
904
- split_active_share: bcs_1.bcs.u64(),
905
- split_warmup_share: bcs_1.bcs.u64(),
906
- net_deposit: bcs_1.bcs.u64(),
907
- user: bcs_1.bcs.bytes(32).transform({ input: function (val) { return (0, bcs_1.fromHEX)(val); }, output: function (val) { return (0, bcs_1.toHEX)(val); } }),
908
- u64_padding: bcs_1.bcs.vector(bcs_1.bcs.u64()),
909
- });
910
- },
911
- enumerable: false,
912
- configurable: true
913
- });
914
- LockReceiptEvent.fromFields = function (fields) {
915
- return LockReceiptEvent.reified().new({
916
- index: (0, reified_1.decodeFromFields)("u64", fields.index),
917
- splitActiveShare: (0, reified_1.decodeFromFields)("u64", fields.split_active_share),
918
- splitWarmupShare: (0, reified_1.decodeFromFields)("u64", fields.split_warmup_share),
919
- netDeposit: (0, reified_1.decodeFromFields)("u64", fields.net_deposit),
920
- user: (0, reified_1.decodeFromFields)("address", fields.user),
921
- u64Padding: (0, reified_1.decodeFromFields)(reified.vector("u64"), fields.u64_padding),
922
- });
923
- };
924
- LockReceiptEvent.fromFieldsWithTypes = function (item) {
925
- if (!isLockReceiptEvent(item.type)) {
926
- throw new Error("not a LockReceiptEvent type");
927
- }
928
- return LockReceiptEvent.reified().new({
929
- index: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.index),
930
- splitActiveShare: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.split_active_share),
931
- splitWarmupShare: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.split_warmup_share),
932
- netDeposit: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.net_deposit),
933
- user: (0, reified_1.decodeFromFieldsWithTypes)("address", item.fields.user),
934
- u64Padding: (0, reified_1.decodeFromFieldsWithTypes)(reified.vector("u64"), item.fields.u64_padding),
935
- });
936
- };
937
- LockReceiptEvent.fromBcs = function (data) {
938
- return LockReceiptEvent.fromFields(LockReceiptEvent.bcs.parse(data));
939
- };
940
- LockReceiptEvent.prototype.toJSONField = function () {
941
- return {
942
- index: this.index.toString(),
943
- splitActiveShare: this.splitActiveShare.toString(),
944
- splitWarmupShare: this.splitWarmupShare.toString(),
945
- netDeposit: this.netDeposit.toString(),
946
- user: this.user,
947
- u64Padding: (0, reified_1.fieldToJSON)("vector<u64>", this.u64Padding),
948
- };
949
- };
950
- LockReceiptEvent.prototype.toJSON = function () {
951
- return __assign({ $typeName: this.$typeName, $typeArgs: this.$typeArgs }, this.toJSONField());
952
- };
953
- LockReceiptEvent.fromJSONField = function (field) {
954
- return LockReceiptEvent.reified().new({
955
- index: (0, reified_1.decodeFromJSONField)("u64", field.index),
956
- splitActiveShare: (0, reified_1.decodeFromJSONField)("u64", field.splitActiveShare),
957
- splitWarmupShare: (0, reified_1.decodeFromJSONField)("u64", field.splitWarmupShare),
958
- netDeposit: (0, reified_1.decodeFromJSONField)("u64", field.netDeposit),
959
- user: (0, reified_1.decodeFromJSONField)("address", field.user),
960
- u64Padding: (0, reified_1.decodeFromJSONField)(reified.vector("u64"), field.u64Padding),
961
- });
962
- };
963
- LockReceiptEvent.fromJSON = function (json) {
964
- if (json.$typeName !== LockReceiptEvent.$typeName) {
965
- throw new Error("not a WithTwoGenerics json object");
966
- }
967
- return LockReceiptEvent.fromJSONField(json);
968
- };
969
- LockReceiptEvent.fromSuiParsedData = function (content) {
970
- if (content.dataType !== "moveObject") {
971
- throw new Error("not an object");
972
- }
973
- if (!isLockReceiptEvent(content.type)) {
974
- throw new Error("object at ".concat(content.fields.id, " is not a LockReceiptEvent object"));
975
- }
976
- return LockReceiptEvent.fromFieldsWithTypes(content);
977
- };
978
- LockReceiptEvent.fetch = function (client, id) {
979
- return __awaiter(this, void 0, void 0, function () {
980
- var res;
981
- var _a, _b;
982
- return __generator(this, function (_c) {
983
- switch (_c.label) {
984
- case 0: return [4 /*yield*/, client.getObject({ id: id, options: { showBcs: true } })];
985
- case 1:
986
- res = _c.sent();
987
- if (res.error) {
988
- throw new Error("error fetching LockReceiptEvent object at id ".concat(id, ": ").concat(res.error.code));
989
- }
990
- if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.bcs) === null || _b === void 0 ? void 0 : _b.dataType) !== "moveObject" || !isLockReceiptEvent(res.data.bcs.type)) {
991
- throw new Error("object at id ".concat(id, " is not a LockReceiptEvent object"));
992
- }
993
- return [2 /*return*/, LockReceiptEvent.fromBcs((0, bcs_1.fromB64)(res.data.bcs.bcsBytes))];
994
- }
995
- });
996
- });
997
- };
998
- LockReceiptEvent.$typeName = "0xc1feadc8cfc768915b9871037d31b5b03f0dceb4418423a128edd12a134b6d22::locked_period_vault::LockReceiptEvent";
999
- LockReceiptEvent.$numTypeParams = 0;
1000
- return LockReceiptEvent;
1001
- }());
1002
- exports.LockReceiptEvent = LockReceiptEvent;
1003
- /* ============================== LockedReceipt =============================== */
1004
- function isLockedReceipt(type) {
1005
- type = (0, util_1.compressSuiType)(type);
1006
- return type === "0xc1feadc8cfc768915b9871037d31b5b03f0dceb4418423a128edd12a134b6d22::locked_period_vault::LockedReceipt";
1007
- }
1008
- exports.isLockedReceipt = isLockedReceipt;
1009
- function readVecLockedReceipt(bytes) {
1010
- var reader = new bcs_1.BcsReader(bytes);
1011
- return reader.readVec(function (reader) {
1012
- reader.read16();
1013
- var locked_receipt = {
1014
- id: (0, tools_1.AddressFromBytes)(reader.readBytes(32)),
1015
- index: reader.read64(),
1016
- user: (0, tools_1.AddressFromBytes)(reader.readBytes(32)),
1017
- receipts: reader.readVec(function (reader) {
1018
- var receipt = {
1019
- id: (0, tools_1.AddressFromBytes)(reader.readBytes(32)),
1020
- vid: (0, tools_1.AddressFromBytes)(reader.readBytes(32)),
1021
- index: reader.read64(),
1022
- metadata: String.fromCharCode.apply(null, Array.from(reader.readBytes(reader.read8()))),
1023
- u64_padding: reader.readVec(function (reader) { return reader.read64(); }),
1024
- };
1025
- return receipt;
1026
- }),
1027
- leave: reader.read8(),
1028
- unsubscribe: reader.read8(),
1029
- ts_ms: reader.read64(),
1030
- incentive_balance: reader.read64(),
1031
- net_deposit: reader.read64(),
1032
- total_incentive: reader.read64(),
1033
- total_premium: reader.read64(),
1034
- u64_padding: reader.readVec(function (reader) { return reader.read64(); }),
1035
- activeSubVaultUserShare: 0,
1036
- deactivatingSubVaultUserShare: 0,
1037
- inactiveSubVaultUserShare: 0,
1038
- warmupSubVaultUserShare: 0,
1039
- premiumSubVaultUserShare: 0,
1040
- incentiveShare: 0,
1041
- };
1042
- // console.log(locked_receipt);
1043
- locked_receipt.activeSubVaultUserShare = locked_receipt.u64_padding.shift();
1044
- locked_receipt.deactivatingSubVaultUserShare = locked_receipt.u64_padding.shift();
1045
- locked_receipt.inactiveSubVaultUserShare = locked_receipt.u64_padding.shift();
1046
- locked_receipt.warmupSubVaultUserShare = locked_receipt.u64_padding.shift();
1047
- locked_receipt.premiumSubVaultUserShare = locked_receipt.u64_padding.shift();
1048
- locked_receipt.incentiveShare = locked_receipt.u64_padding.shift();
1049
- return locked_receipt;
1050
- });
1051
- }
1052
- exports.readVecLockedReceipt = readVecLockedReceipt;
1053
- var LockedReceipt = /** @class */ (function () {
1054
- function LockedReceipt(typeArgs, fields) {
1055
- this.$typeName = LockedReceipt.$typeName;
1056
- this.$fullTypeName = util_1.composeSuiType.apply(void 0, __spreadArray([LockedReceipt.$typeName], __read(typeArgs), false));
1057
- this.$typeArgs = typeArgs;
1058
- this.id = fields.id;
1059
- this.index = fields.index;
1060
- this.user = fields.user;
1061
- this.receipts = fields.receipts;
1062
- this.leave = fields.leave;
1063
- this.unsubscribe = fields.unsubscribe;
1064
- this.tsMs = fields.tsMs;
1065
- this.incentiveBalance = fields.incentiveBalance;
1066
- this.netDeposit = fields.netDeposit;
1067
- this.totalIncentive = fields.totalIncentive;
1068
- this.totalPremium = fields.totalPremium;
1069
- this.u64Padding = fields.u64Padding;
1070
- }
1071
- LockedReceipt.reified = function () {
1072
- var _this = this;
1073
- return {
1074
- typeName: LockedReceipt.$typeName,
1075
- fullTypeName: util_1.composeSuiType.apply(void 0, __spreadArray([LockedReceipt.$typeName], [], false)),
1076
- typeArgs: [],
1077
- reifiedTypeArgs: [],
1078
- fromFields: function (fields) { return LockedReceipt.fromFields(fields); },
1079
- fromFieldsWithTypes: function (item) { return LockedReceipt.fromFieldsWithTypes(item); },
1080
- fromBcs: function (data) { return LockedReceipt.fromBcs(data); },
1081
- bcs: LockedReceipt.bcs,
1082
- fromJSONField: function (field) { return LockedReceipt.fromJSONField(field); },
1083
- fromJSON: function (json) { return LockedReceipt.fromJSON(json); },
1084
- fromSuiParsedData: function (content) { return LockedReceipt.fromSuiParsedData(content); },
1085
- fetch: function (client, id) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
1086
- return [2 /*return*/, LockedReceipt.fetch(client, id)];
1087
- }); }); },
1088
- new: function (fields) {
1089
- return new LockedReceipt([], fields);
1090
- },
1091
- kind: "StructClassReified",
1092
- };
1093
- };
1094
- Object.defineProperty(LockedReceipt, "r", {
1095
- get: function () {
1096
- return LockedReceipt.reified();
1097
- },
1098
- enumerable: false,
1099
- configurable: true
1100
- });
1101
- LockedReceipt.phantom = function () {
1102
- return (0, reified_1.phantom)(LockedReceipt.reified());
1103
- };
1104
- Object.defineProperty(LockedReceipt, "p", {
1105
- get: function () {
1106
- return LockedReceipt.phantom();
1107
- },
1108
- enumerable: false,
1109
- configurable: true
1110
- });
1111
- Object.defineProperty(LockedReceipt, "bcs", {
1112
- get: function () {
1113
- return bcs_1.bcs.struct("LockedReceipt", {
1114
- id: structs_2.UID.bcs,
1115
- index: bcs_1.bcs.u64(),
1116
- user: bcs_1.bcs.bytes(32).transform({ input: function (val) { return (0, bcs_1.fromHEX)(val); }, output: function (val) { return (0, bcs_1.toHEX)(val); } }),
1117
- receipts: bcs_1.bcs.vector(structs_5.TypusDepositReceipt.bcs),
1118
- leave: bcs_1.bcs.bool(),
1119
- unsubscribe: bcs_1.bcs.bool(),
1120
- ts_ms: bcs_1.bcs.u64(),
1121
- incentive_balance: bcs_1.bcs.u64(),
1122
- net_deposit: bcs_1.bcs.u64(),
1123
- total_incentive: bcs_1.bcs.u64(),
1124
- total_premium: bcs_1.bcs.u64(),
1125
- u64_padding: bcs_1.bcs.vector(bcs_1.bcs.u64()),
1126
- });
1127
- },
1128
- enumerable: false,
1129
- configurable: true
1130
- });
1131
- LockedReceipt.fromFields = function (fields) {
1132
- return LockedReceipt.reified().new({
1133
- id: (0, reified_1.decodeFromFields)(structs_2.UID.reified(), fields.id),
1134
- index: (0, reified_1.decodeFromFields)("u64", fields.index),
1135
- user: (0, reified_1.decodeFromFields)("address", fields.user),
1136
- receipts: (0, reified_1.decodeFromFields)(reified.vector(structs_5.TypusDepositReceipt.reified()), fields.receipts),
1137
- leave: (0, reified_1.decodeFromFields)("bool", fields.leave),
1138
- unsubscribe: (0, reified_1.decodeFromFields)("bool", fields.unsubscribe),
1139
- tsMs: (0, reified_1.decodeFromFields)("u64", fields.ts_ms),
1140
- incentiveBalance: (0, reified_1.decodeFromFields)("u64", fields.incentive_balance),
1141
- netDeposit: (0, reified_1.decodeFromFields)("u64", fields.net_deposit),
1142
- totalIncentive: (0, reified_1.decodeFromFields)("u64", fields.total_incentive),
1143
- totalPremium: (0, reified_1.decodeFromFields)("u64", fields.total_premium),
1144
- u64Padding: (0, reified_1.decodeFromFields)(reified.vector("u64"), fields.u64_padding),
1145
- });
1146
- };
1147
- LockedReceipt.fromFieldsWithTypes = function (item) {
1148
- if (!isLockedReceipt(item.type)) {
1149
- throw new Error("not a LockedReceipt type");
1150
- }
1151
- return LockedReceipt.reified().new({
1152
- id: (0, reified_1.decodeFromFieldsWithTypes)(structs_2.UID.reified(), item.fields.id),
1153
- index: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.index),
1154
- user: (0, reified_1.decodeFromFieldsWithTypes)("address", item.fields.user),
1155
- receipts: (0, reified_1.decodeFromFieldsWithTypes)(reified.vector(structs_5.TypusDepositReceipt.reified()), item.fields.receipts),
1156
- leave: (0, reified_1.decodeFromFieldsWithTypes)("bool", item.fields.leave),
1157
- unsubscribe: (0, reified_1.decodeFromFieldsWithTypes)("bool", item.fields.unsubscribe),
1158
- tsMs: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.ts_ms),
1159
- incentiveBalance: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.incentive_balance),
1160
- netDeposit: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.net_deposit),
1161
- totalIncentive: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.total_incentive),
1162
- totalPremium: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.total_premium),
1163
- u64Padding: (0, reified_1.decodeFromFieldsWithTypes)(reified.vector("u64"), item.fields.u64_padding),
1164
- });
1165
- };
1166
- LockedReceipt.fromBcs = function (data) {
1167
- return LockedReceipt.fromFields(LockedReceipt.bcs.parse(data));
1168
- };
1169
- LockedReceipt.prototype.toJSONField = function () {
1170
- return {
1171
- id: this.id,
1172
- index: this.index.toString(),
1173
- user: this.user,
1174
- receipts: (0, reified_1.fieldToJSON)("vector<0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded::vault::TypusDepositReceipt>", this.receipts),
1175
- leave: this.leave,
1176
- unsubscribe: this.unsubscribe,
1177
- tsMs: this.tsMs.toString(),
1178
- incentiveBalance: this.incentiveBalance.toString(),
1179
- netDeposit: this.netDeposit.toString(),
1180
- totalIncentive: this.totalIncentive.toString(),
1181
- totalPremium: this.totalPremium.toString(),
1182
- u64Padding: (0, reified_1.fieldToJSON)("vector<u64>", this.u64Padding),
1183
- };
1184
- };
1185
- LockedReceipt.prototype.toJSON = function () {
1186
- return __assign({ $typeName: this.$typeName, $typeArgs: this.$typeArgs }, this.toJSONField());
1187
- };
1188
- LockedReceipt.fromJSONField = function (field) {
1189
- return LockedReceipt.reified().new({
1190
- id: (0, reified_1.decodeFromJSONField)(structs_2.UID.reified(), field.id),
1191
- index: (0, reified_1.decodeFromJSONField)("u64", field.index),
1192
- user: (0, reified_1.decodeFromJSONField)("address", field.user),
1193
- receipts: (0, reified_1.decodeFromJSONField)(reified.vector(structs_5.TypusDepositReceipt.reified()), field.receipts),
1194
- leave: (0, reified_1.decodeFromJSONField)("bool", field.leave),
1195
- unsubscribe: (0, reified_1.decodeFromJSONField)("bool", field.unsubscribe),
1196
- tsMs: (0, reified_1.decodeFromJSONField)("u64", field.tsMs),
1197
- incentiveBalance: (0, reified_1.decodeFromJSONField)("u64", field.incentiveBalance),
1198
- netDeposit: (0, reified_1.decodeFromJSONField)("u64", field.netDeposit),
1199
- totalIncentive: (0, reified_1.decodeFromJSONField)("u64", field.totalIncentive),
1200
- totalPremium: (0, reified_1.decodeFromJSONField)("u64", field.totalPremium),
1201
- u64Padding: (0, reified_1.decodeFromJSONField)(reified.vector("u64"), field.u64Padding),
1202
- });
1203
- };
1204
- LockedReceipt.fromJSON = function (json) {
1205
- if (json.$typeName !== LockedReceipt.$typeName) {
1206
- throw new Error("not a WithTwoGenerics json object");
1207
- }
1208
- return LockedReceipt.fromJSONField(json);
1209
- };
1210
- LockedReceipt.fromSuiParsedData = function (content) {
1211
- if (content.dataType !== "moveObject") {
1212
- throw new Error("not an object");
1213
- }
1214
- if (!isLockedReceipt(content.type)) {
1215
- throw new Error("object at ".concat(content.fields.id, " is not a LockedReceipt object"));
1216
- }
1217
- return LockedReceipt.fromFieldsWithTypes(content);
1218
- };
1219
- LockedReceipt.fetch = function (client, id) {
1220
- return __awaiter(this, void 0, void 0, function () {
1221
- var res;
1222
- var _a, _b;
1223
- return __generator(this, function (_c) {
1224
- switch (_c.label) {
1225
- case 0: return [4 /*yield*/, client.getObject({ id: id, options: { showBcs: true } })];
1226
- case 1:
1227
- res = _c.sent();
1228
- if (res.error) {
1229
- throw new Error("error fetching LockedReceipt object at id ".concat(id, ": ").concat(res.error.code));
1230
- }
1231
- if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.bcs) === null || _b === void 0 ? void 0 : _b.dataType) !== "moveObject" || !isLockedReceipt(res.data.bcs.type)) {
1232
- throw new Error("object at id ".concat(id, " is not a LockedReceipt object"));
1233
- }
1234
- return [2 /*return*/, LockedReceipt.fromBcs((0, bcs_1.fromB64)(res.data.bcs.bcsBytes))];
1235
- }
1236
- });
1237
- });
1238
- };
1239
- LockedReceipt.$typeName = "0xc1feadc8cfc768915b9871037d31b5b03f0dceb4418423a128edd12a134b6d22::locked_period_vault::LockedReceipt";
1240
- LockedReceipt.$numTypeParams = 0;
1241
- return LockedReceipt;
1242
- }());
1243
- exports.LockedReceipt = LockedReceipt;
1244
- /* ============================== LockedVault =============================== */
1245
- function isLockedVault(type) {
1246
- type = (0, util_1.compressSuiType)(type);
1247
- return type === "0xc1feadc8cfc768915b9871037d31b5b03f0dceb4418423a128edd12a134b6d22::locked_period_vault::LockedVault";
1248
- }
1249
- exports.isLockedVault = isLockedVault;
1250
- var LockedVault = /** @class */ (function () {
1251
- function LockedVault(typeArgs, fields) {
1252
- this.$typeName = LockedVault.$typeName;
1253
- this.$fullTypeName = util_1.composeSuiType.apply(void 0, __spreadArray([LockedVault.$typeName], __read(typeArgs), false));
1254
- this.$typeArgs = typeArgs;
1255
- this.id = fields.id;
1256
- this.index = fields.index;
1257
- this.lockedReceipts = fields.lockedReceipts;
1258
- this.unlockTsMs = fields.unlockTsMs;
1259
- this.lockPeriodMs = fields.lockPeriodMs;
1260
- this.incentiveToken = fields.incentiveToken;
1261
- this.incentiveBalance = fields.incentiveBalance;
1262
- this.distributedBalance = fields.distributedBalance;
1263
- this.incentivePpm = fields.incentivePpm;
1264
- this.incentivePeriodMs = fields.incentivePeriodMs;
1265
- this.tsMs = fields.tsMs;
1266
- this.capacity = fields.capacity;
1267
- this.totalLocked = fields.totalLocked;
1268
- this.u64Padding = fields.u64Padding;
1269
- }
1270
- LockedVault.reified = function () {
1271
- var _this = this;
1272
- return {
1273
- typeName: LockedVault.$typeName,
1274
- fullTypeName: util_1.composeSuiType.apply(void 0, __spreadArray([LockedVault.$typeName], [], false)),
1275
- typeArgs: [],
1276
- reifiedTypeArgs: [],
1277
- fromFields: function (fields) { return LockedVault.fromFields(fields); },
1278
- fromFieldsWithTypes: function (item) { return LockedVault.fromFieldsWithTypes(item); },
1279
- fromBcs: function (data) { return LockedVault.fromBcs(data); },
1280
- bcs: LockedVault.bcs,
1281
- fromJSONField: function (field) { return LockedVault.fromJSONField(field); },
1282
- fromJSON: function (json) { return LockedVault.fromJSON(json); },
1283
- fromSuiParsedData: function (content) { return LockedVault.fromSuiParsedData(content); },
1284
- fetch: function (client, id) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
1285
- return [2 /*return*/, LockedVault.fetch(client, id)];
1286
- }); }); },
1287
- new: function (fields) {
1288
- return new LockedVault([], fields);
1289
- },
1290
- kind: "StructClassReified",
1291
- };
1292
- };
1293
- Object.defineProperty(LockedVault, "r", {
1294
- get: function () {
1295
- return LockedVault.reified();
1296
- },
1297
- enumerable: false,
1298
- configurable: true
1299
- });
1300
- LockedVault.phantom = function () {
1301
- return (0, reified_1.phantom)(LockedVault.reified());
1302
- };
1303
- Object.defineProperty(LockedVault, "p", {
1304
- get: function () {
1305
- return LockedVault.phantom();
1306
- },
1307
- enumerable: false,
1308
- configurable: true
1309
- });
1310
- Object.defineProperty(LockedVault, "bcs", {
1311
- get: function () {
1312
- return bcs_1.bcs.struct("LockedVault", {
1313
- id: structs_2.UID.bcs,
1314
- index: bcs_1.bcs.u64(),
1315
- locked_receipts: structs_4.BigVector.bcs,
1316
- unlock_ts_ms: bcs_1.bcs.u64(),
1317
- lock_period_ms: bcs_1.bcs.u64(),
1318
- incentive_token: structs_1.TypeName.bcs,
1319
- incentive_balance: bcs_1.bcs.u64(),
1320
- distributed_balance: bcs_1.bcs.u64(),
1321
- incentive_ppm: bcs_1.bcs.u64(),
1322
- incentive_period_ms: bcs_1.bcs.u64(),
1323
- ts_ms: bcs_1.bcs.u64(),
1324
- capacity: bcs_1.bcs.u64(),
1325
- total_locked: bcs_1.bcs.u64(),
1326
- u64_padding: bcs_1.bcs.vector(bcs_1.bcs.u64()),
1327
- });
1328
- },
1329
- enumerable: false,
1330
- configurable: true
1331
- });
1332
- LockedVault.fromFields = function (fields) {
1333
- return LockedVault.reified().new({
1334
- id: (0, reified_1.decodeFromFields)(structs_2.UID.reified(), fields.id),
1335
- index: (0, reified_1.decodeFromFields)("u64", fields.index),
1336
- lockedReceipts: (0, reified_1.decodeFromFields)(structs_4.BigVector.reified(reified.phantom(LockedReceipt.reified())), fields.locked_receipts),
1337
- unlockTsMs: (0, reified_1.decodeFromFields)("u64", fields.unlock_ts_ms),
1338
- lockPeriodMs: (0, reified_1.decodeFromFields)("u64", fields.lock_period_ms),
1339
- incentiveToken: (0, reified_1.decodeFromFields)(structs_1.TypeName.reified(), fields.incentive_token),
1340
- incentiveBalance: (0, reified_1.decodeFromFields)("u64", fields.incentive_balance),
1341
- distributedBalance: (0, reified_1.decodeFromFields)("u64", fields.distributed_balance),
1342
- incentivePpm: (0, reified_1.decodeFromFields)("u64", fields.incentive_ppm),
1343
- incentivePeriodMs: (0, reified_1.decodeFromFields)("u64", fields.incentive_period_ms),
1344
- tsMs: (0, reified_1.decodeFromFields)("u64", fields.ts_ms),
1345
- capacity: (0, reified_1.decodeFromFields)("u64", fields.capacity),
1346
- totalLocked: (0, reified_1.decodeFromFields)("u64", fields.total_locked),
1347
- u64Padding: (0, reified_1.decodeFromFields)(reified.vector("u64"), fields.u64_padding),
1348
- });
1349
- };
1350
- LockedVault.fromFieldsWithTypes = function (item) {
1351
- if (!isLockedVault(item.type)) {
1352
- throw new Error("not a LockedVault type");
1353
- }
1354
- return LockedVault.reified().new({
1355
- id: (0, reified_1.decodeFromFieldsWithTypes)(structs_2.UID.reified(), item.fields.id),
1356
- index: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.index),
1357
- lockedReceipts: (0, reified_1.decodeFromFieldsWithTypes)(structs_4.BigVector.reified(reified.phantom(LockedReceipt.reified())), item.fields.locked_receipts),
1358
- unlockTsMs: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.unlock_ts_ms),
1359
- lockPeriodMs: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.lock_period_ms),
1360
- incentiveToken: (0, reified_1.decodeFromFieldsWithTypes)(structs_1.TypeName.reified(), item.fields.incentive_token),
1361
- incentiveBalance: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.incentive_balance),
1362
- distributedBalance: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.distributed_balance),
1363
- incentivePpm: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.incentive_ppm),
1364
- incentivePeriodMs: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.incentive_period_ms),
1365
- tsMs: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.ts_ms),
1366
- capacity: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.capacity),
1367
- totalLocked: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.total_locked),
1368
- u64Padding: (0, reified_1.decodeFromFieldsWithTypes)(reified.vector("u64"), item.fields.u64_padding),
1369
- });
1370
- };
1371
- LockedVault.fromBcs = function (data) {
1372
- return LockedVault.fromFields(LockedVault.bcs.parse(data));
1373
- };
1374
- LockedVault.prototype.toJSONField = function () {
1375
- return {
1376
- id: this.id,
1377
- index: this.index.toString(),
1378
- lockedReceipts: this.lockedReceipts.toJSONField(),
1379
- unlockTsMs: this.unlockTsMs.toString(),
1380
- lockPeriodMs: this.lockPeriodMs.toString(),
1381
- incentiveToken: this.incentiveToken.toJSONField(),
1382
- incentiveBalance: this.incentiveBalance.toString(),
1383
- distributedBalance: this.distributedBalance.toString(),
1384
- incentivePpm: this.incentivePpm.toString(),
1385
- incentivePeriodMs: this.incentivePeriodMs.toString(),
1386
- tsMs: this.tsMs.toString(),
1387
- capacity: this.capacity.toString(),
1388
- totalLocked: this.totalLocked.toString(),
1389
- u64Padding: (0, reified_1.fieldToJSON)("vector<u64>", this.u64Padding),
1390
- };
1391
- };
1392
- LockedVault.prototype.toJSON = function () {
1393
- return __assign({ $typeName: this.$typeName, $typeArgs: this.$typeArgs }, this.toJSONField());
1394
- };
1395
- LockedVault.fromJSONField = function (field) {
1396
- return LockedVault.reified().new({
1397
- id: (0, reified_1.decodeFromJSONField)(structs_2.UID.reified(), field.id),
1398
- index: (0, reified_1.decodeFromJSONField)("u64", field.index),
1399
- lockedReceipts: (0, reified_1.decodeFromJSONField)(structs_4.BigVector.reified(reified.phantom(LockedReceipt.reified())), field.lockedReceipts),
1400
- unlockTsMs: (0, reified_1.decodeFromJSONField)("u64", field.unlockTsMs),
1401
- lockPeriodMs: (0, reified_1.decodeFromJSONField)("u64", field.lockPeriodMs),
1402
- incentiveToken: (0, reified_1.decodeFromJSONField)(structs_1.TypeName.reified(), field.incentiveToken),
1403
- incentiveBalance: (0, reified_1.decodeFromJSONField)("u64", field.incentiveBalance),
1404
- distributedBalance: (0, reified_1.decodeFromJSONField)("u64", field.distributedBalance),
1405
- incentivePpm: (0, reified_1.decodeFromJSONField)("u64", field.incentivePpm),
1406
- incentivePeriodMs: (0, reified_1.decodeFromJSONField)("u64", field.incentivePeriodMs),
1407
- tsMs: (0, reified_1.decodeFromJSONField)("u64", field.tsMs),
1408
- capacity: (0, reified_1.decodeFromJSONField)("u64", field.capacity),
1409
- totalLocked: (0, reified_1.decodeFromJSONField)("u64", field.totalLocked),
1410
- u64Padding: (0, reified_1.decodeFromJSONField)(reified.vector("u64"), field.u64Padding),
1411
- });
1412
- };
1413
- LockedVault.fromJSON = function (json) {
1414
- if (json.$typeName !== LockedVault.$typeName) {
1415
- throw new Error("not a WithTwoGenerics json object");
1416
- }
1417
- return LockedVault.fromJSONField(json);
1418
- };
1419
- LockedVault.fromSuiParsedData = function (content) {
1420
- if (content.dataType !== "moveObject") {
1421
- throw new Error("not an object");
1422
- }
1423
- if (!isLockedVault(content.type)) {
1424
- throw new Error("object at ".concat(content.fields.id, " is not a LockedVault object"));
1425
- }
1426
- return LockedVault.fromFieldsWithTypes(content);
1427
- };
1428
- LockedVault.fetch = function (client, id) {
1429
- return __awaiter(this, void 0, void 0, function () {
1430
- var res;
1431
- var _a, _b;
1432
- return __generator(this, function (_c) {
1433
- switch (_c.label) {
1434
- case 0: return [4 /*yield*/, client.getObject({ id: id, options: { showBcs: true } })];
1435
- case 1:
1436
- res = _c.sent();
1437
- if (res.error) {
1438
- throw new Error("error fetching LockedVault object at id ".concat(id, ": ").concat(res.error.code));
1439
- }
1440
- if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.bcs) === null || _b === void 0 ? void 0 : _b.dataType) !== "moveObject" || !isLockedVault(res.data.bcs.type)) {
1441
- throw new Error("object at id ".concat(id, " is not a LockedVault object"));
1442
- }
1443
- return [2 /*return*/, LockedVault.fromBcs((0, bcs_1.fromB64)(res.data.bcs.bcsBytes))];
1444
- }
1445
- });
1446
- });
1447
- };
1448
- LockedVault.$typeName = "0xc1feadc8cfc768915b9871037d31b5b03f0dceb4418423a128edd12a134b6d22::locked_period_vault::LockedVault";
1449
- LockedVault.$numTypeParams = 0;
1450
- return LockedVault;
1451
- }());
1452
- exports.LockedVault = LockedVault;
1453
- /* ============================== LockedVaultRegistry =============================== */
1454
- function isLockedVaultRegistry(type) {
1455
- type = (0, util_1.compressSuiType)(type);
1456
- return type.endsWith("locked_period_vault::LockedVaultRegistry");
1457
- }
1458
- exports.isLockedVaultRegistry = isLockedVaultRegistry;
1459
- var LockedVaultRegistry = /** @class */ (function () {
1460
- function LockedVaultRegistry(typeArgs, fields) {
1461
- this.$typeName = LockedVaultRegistry.$typeName;
1462
- this.$fullTypeName = util_1.composeSuiType.apply(void 0, __spreadArray([LockedVaultRegistry.$typeName], __read(typeArgs), false));
1463
- this.$typeArgs = typeArgs;
1464
- this.id = fields.id;
1465
- this.vaults = fields.vaults;
1466
- this.authority = fields.authority;
1467
- this.version = fields.version;
1468
- this.u64Padding = fields.u64Padding;
1469
- }
1470
- LockedVaultRegistry.reified = function () {
1471
- var _this = this;
1472
- return {
1473
- typeName: LockedVaultRegistry.$typeName,
1474
- fullTypeName: util_1.composeSuiType.apply(void 0, __spreadArray([LockedVaultRegistry.$typeName], [], false)),
1475
- typeArgs: [],
1476
- reifiedTypeArgs: [],
1477
- fromFields: function (fields) { return LockedVaultRegistry.fromFields(fields); },
1478
- fromFieldsWithTypes: function (item) { return LockedVaultRegistry.fromFieldsWithTypes(item); },
1479
- fromBcs: function (data) { return LockedVaultRegistry.fromBcs(data); },
1480
- bcs: LockedVaultRegistry.bcs,
1481
- fromJSONField: function (field) { return LockedVaultRegistry.fromJSONField(field); },
1482
- fromJSON: function (json) { return LockedVaultRegistry.fromJSON(json); },
1483
- fromSuiParsedData: function (content) { return LockedVaultRegistry.fromSuiParsedData(content); },
1484
- fetch: function (client, id) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
1485
- return [2 /*return*/, LockedVaultRegistry.fetch(client, id)];
1486
- }); }); },
1487
- new: function (fields) {
1488
- return new LockedVaultRegistry([], fields);
1489
- },
1490
- kind: "StructClassReified",
1491
- };
1492
- };
1493
- Object.defineProperty(LockedVaultRegistry, "r", {
1494
- get: function () {
1495
- return LockedVaultRegistry.reified();
1496
- },
1497
- enumerable: false,
1498
- configurable: true
1499
- });
1500
- LockedVaultRegistry.phantom = function () {
1501
- return (0, reified_1.phantom)(LockedVaultRegistry.reified());
1502
- };
1503
- Object.defineProperty(LockedVaultRegistry, "p", {
1504
- get: function () {
1505
- return LockedVaultRegistry.phantom();
1506
- },
1507
- enumerable: false,
1508
- configurable: true
1509
- });
1510
- Object.defineProperty(LockedVaultRegistry, "bcs", {
1511
- get: function () {
1512
- return bcs_1.bcs.struct("LockedVaultRegistry", {
1513
- id: structs_2.UID.bcs,
1514
- vaults: structs_3.VecMap.bcs(bcs_1.bcs.u64(), LockedVault.bcs),
1515
- authority: bcs_1.bcs.vector(bcs_1.bcs.bytes(32).transform({ input: function (val) { return (0, bcs_1.fromHEX)(val); }, output: function (val) { return (0, bcs_1.toHEX)(val); } })),
1516
- version: bcs_1.bcs.u64(),
1517
- u64_padding: bcs_1.bcs.vector(bcs_1.bcs.u64()),
1518
- });
1519
- },
1520
- enumerable: false,
1521
- configurable: true
1522
- });
1523
- LockedVaultRegistry.fromFields = function (fields) {
1524
- return LockedVaultRegistry.reified().new({
1525
- id: (0, reified_1.decodeFromFields)(structs_2.UID.reified(), fields.id),
1526
- vaults: (0, reified_1.decodeFromFields)(structs_3.VecMap.reified("u64", LockedVault.reified()), fields.vaults),
1527
- authority: (0, reified_1.decodeFromFields)(reified.vector("address"), fields.authority),
1528
- version: (0, reified_1.decodeFromFields)("u64", fields.version),
1529
- u64Padding: (0, reified_1.decodeFromFields)(reified.vector("u64"), fields.u64_padding),
1530
- });
1531
- };
1532
- LockedVaultRegistry.fromFieldsWithTypes = function (item) {
1533
- if (!isLockedVaultRegistry(item.type)) {
1534
- throw new Error("not a LockedVaultRegistry type");
1535
- }
1536
- return LockedVaultRegistry.reified().new({
1537
- id: (0, reified_1.decodeFromFieldsWithTypes)(structs_2.UID.reified(), item.fields.id),
1538
- vaults: (0, reified_1.decodeFromFieldsWithTypes)(structs_3.VecMap.reified("u64", LockedVault.reified()), item.fields.vaults),
1539
- authority: (0, reified_1.decodeFromFieldsWithTypes)(reified.vector("address"), item.fields.authority),
1540
- version: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.version),
1541
- u64Padding: (0, reified_1.decodeFromFieldsWithTypes)(reified.vector("u64"), item.fields.u64_padding),
1542
- });
1543
- };
1544
- LockedVaultRegistry.fromBcs = function (data) {
1545
- return LockedVaultRegistry.fromFields(LockedVaultRegistry.bcs.parse(data));
1546
- };
1547
- LockedVaultRegistry.prototype.toJSONField = function () {
1548
- return {
1549
- id: this.id,
1550
- vaults: this.vaults.toJSONField(),
1551
- authority: (0, reified_1.fieldToJSON)("vector<address>", this.authority),
1552
- version: this.version.toString(),
1553
- u64Padding: (0, reified_1.fieldToJSON)("vector<u64>", this.u64Padding),
1554
- };
1555
- };
1556
- LockedVaultRegistry.prototype.toJSON = function () {
1557
- return __assign({ $typeName: this.$typeName, $typeArgs: this.$typeArgs }, this.toJSONField());
1558
- };
1559
- LockedVaultRegistry.fromJSONField = function (field) {
1560
- return LockedVaultRegistry.reified().new({
1561
- id: (0, reified_1.decodeFromJSONField)(structs_2.UID.reified(), field.id),
1562
- vaults: (0, reified_1.decodeFromJSONField)(structs_3.VecMap.reified("u64", LockedVault.reified()), field.vaults),
1563
- authority: (0, reified_1.decodeFromJSONField)(reified.vector("address"), field.authority),
1564
- version: (0, reified_1.decodeFromJSONField)("u64", field.version),
1565
- u64Padding: (0, reified_1.decodeFromJSONField)(reified.vector("u64"), field.u64Padding),
1566
- });
1567
- };
1568
- LockedVaultRegistry.fromJSON = function (json) {
1569
- if (json.$typeName !== LockedVaultRegistry.$typeName) {
1570
- throw new Error("not a WithTwoGenerics json object");
1571
- }
1572
- return LockedVaultRegistry.fromJSONField(json);
1573
- };
1574
- LockedVaultRegistry.fromSuiParsedData = function (content) {
1575
- if (content.dataType !== "moveObject") {
1576
- throw new Error("not an object");
1577
- }
1578
- if (!isLockedVaultRegistry(content.type)) {
1579
- throw new Error("object at ".concat(content.fields.id, " is not a LockedVaultRegistry object"));
1580
- }
1581
- return LockedVaultRegistry.fromFieldsWithTypes(content);
1582
- };
1583
- LockedVaultRegistry.fetch = function (client, id) {
1584
- return __awaiter(this, void 0, void 0, function () {
1585
- var res;
1586
- var _a, _b;
1587
- return __generator(this, function (_c) {
1588
- switch (_c.label) {
1589
- case 0: return [4 /*yield*/, client.getObject({ id: id, options: { showBcs: true } })];
1590
- case 1:
1591
- res = _c.sent();
1592
- if (res.error) {
1593
- throw new Error("error fetching LockedVaultRegistry object at id ".concat(id, ": ").concat(res.error.code));
1594
- }
1595
- if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.bcs) === null || _b === void 0 ? void 0 : _b.dataType) !== "moveObject" || !isLockedVaultRegistry(res.data.bcs.type)) {
1596
- throw new Error("object at id ".concat(id, " is not a LockedVaultRegistry object"));
1597
- }
1598
- return [2 /*return*/, LockedVaultRegistry.fromBcs((0, bcs_1.fromB64)(res.data.bcs.bcsBytes))];
1599
- }
1600
- });
1601
- });
1602
- };
1603
- LockedVaultRegistry.$typeName = "0xc1feadc8cfc768915b9871037d31b5b03f0dceb4418423a128edd12a134b6d22::locked_period_vault::LockedVaultRegistry";
1604
- LockedVaultRegistry.$numTypeParams = 0;
1605
- return LockedVaultRegistry;
1606
- }());
1607
- exports.LockedVaultRegistry = LockedVaultRegistry;
1608
- /* ============================== NewLockedVaultEvent =============================== */
1609
- function isNewLockedVaultEvent(type) {
1610
- type = (0, util_1.compressSuiType)(type);
1611
- return type === "0x0::locked_period_vault::NewLockedVaultEvent";
1612
- }
1613
- exports.isNewLockedVaultEvent = isNewLockedVaultEvent;
1614
- var NewLockedVaultEvent = /** @class */ (function () {
1615
- function NewLockedVaultEvent(typeArgs, fields) {
1616
- this.$typeName = NewLockedVaultEvent.$typeName;
1617
- this.$fullTypeName = util_1.composeSuiType.apply(void 0, __spreadArray([NewLockedVaultEvent.$typeName], __read(typeArgs), false));
1618
- this.$typeArgs = typeArgs;
1619
- this.index = fields.index;
1620
- this.unlockTsMs = fields.unlockTsMs;
1621
- this.lockPeriodMs = fields.lockPeriodMs;
1622
- this.incentivePpm = fields.incentivePpm;
1623
- this.incentivePeriodMs = fields.incentivePeriodMs;
1624
- this.tsMs = fields.tsMs;
1625
- this.capacity = fields.capacity;
1626
- this.u64Padding = fields.u64Padding;
1627
- }
1628
- NewLockedVaultEvent.reified = function () {
1629
- var _this = this;
1630
- return {
1631
- typeName: NewLockedVaultEvent.$typeName,
1632
- fullTypeName: util_1.composeSuiType.apply(void 0, __spreadArray([NewLockedVaultEvent.$typeName], [], false)),
1633
- typeArgs: [],
1634
- reifiedTypeArgs: [],
1635
- fromFields: function (fields) { return NewLockedVaultEvent.fromFields(fields); },
1636
- fromFieldsWithTypes: function (item) { return NewLockedVaultEvent.fromFieldsWithTypes(item); },
1637
- fromBcs: function (data) { return NewLockedVaultEvent.fromBcs(data); },
1638
- bcs: NewLockedVaultEvent.bcs,
1639
- fromJSONField: function (field) { return NewLockedVaultEvent.fromJSONField(field); },
1640
- fromJSON: function (json) { return NewLockedVaultEvent.fromJSON(json); },
1641
- fromSuiParsedData: function (content) { return NewLockedVaultEvent.fromSuiParsedData(content); },
1642
- fetch: function (client, id) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
1643
- return [2 /*return*/, NewLockedVaultEvent.fetch(client, id)];
1644
- }); }); },
1645
- new: function (fields) {
1646
- return new NewLockedVaultEvent([], fields);
1647
- },
1648
- kind: "StructClassReified",
1649
- };
1650
- };
1651
- Object.defineProperty(NewLockedVaultEvent, "r", {
1652
- get: function () {
1653
- return NewLockedVaultEvent.reified();
1654
- },
1655
- enumerable: false,
1656
- configurable: true
1657
- });
1658
- NewLockedVaultEvent.phantom = function () {
1659
- return (0, reified_1.phantom)(NewLockedVaultEvent.reified());
1660
- };
1661
- Object.defineProperty(NewLockedVaultEvent, "p", {
1662
- get: function () {
1663
- return NewLockedVaultEvent.phantom();
1664
- },
1665
- enumerable: false,
1666
- configurable: true
1667
- });
1668
- Object.defineProperty(NewLockedVaultEvent, "bcs", {
1669
- get: function () {
1670
- return bcs_1.bcs.struct("NewLockedVaultEvent", {
1671
- index: bcs_1.bcs.u64(),
1672
- unlock_ts_ms: bcs_1.bcs.u64(),
1673
- lock_period_ms: bcs_1.bcs.u64(),
1674
- incentive_ppm: bcs_1.bcs.u64(),
1675
- incentive_period_ms: bcs_1.bcs.u64(),
1676
- ts_ms: bcs_1.bcs.u64(),
1677
- capacity: bcs_1.bcs.u64(),
1678
- u64_padding: bcs_1.bcs.vector(bcs_1.bcs.u64()),
1679
- });
1680
- },
1681
- enumerable: false,
1682
- configurable: true
1683
- });
1684
- NewLockedVaultEvent.fromFields = function (fields) {
1685
- return NewLockedVaultEvent.reified().new({
1686
- index: (0, reified_1.decodeFromFields)("u64", fields.index),
1687
- unlockTsMs: (0, reified_1.decodeFromFields)("u64", fields.unlock_ts_ms),
1688
- lockPeriodMs: (0, reified_1.decodeFromFields)("u64", fields.lock_period_ms),
1689
- incentivePpm: (0, reified_1.decodeFromFields)("u64", fields.incentive_ppm),
1690
- incentivePeriodMs: (0, reified_1.decodeFromFields)("u64", fields.incentive_period_ms),
1691
- tsMs: (0, reified_1.decodeFromFields)("u64", fields.ts_ms),
1692
- capacity: (0, reified_1.decodeFromFields)("u64", fields.capacity),
1693
- u64Padding: (0, reified_1.decodeFromFields)(reified.vector("u64"), fields.u64_padding),
1694
- });
1695
- };
1696
- NewLockedVaultEvent.fromFieldsWithTypes = function (item) {
1697
- if (!isNewLockedVaultEvent(item.type)) {
1698
- throw new Error("not a NewLockedVaultEvent type");
1699
- }
1700
- return NewLockedVaultEvent.reified().new({
1701
- index: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.index),
1702
- unlockTsMs: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.unlock_ts_ms),
1703
- lockPeriodMs: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.lock_period_ms),
1704
- incentivePpm: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.incentive_ppm),
1705
- incentivePeriodMs: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.incentive_period_ms),
1706
- tsMs: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.ts_ms),
1707
- capacity: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.capacity),
1708
- u64Padding: (0, reified_1.decodeFromFieldsWithTypes)(reified.vector("u64"), item.fields.u64_padding),
1709
- });
1710
- };
1711
- NewLockedVaultEvent.fromBcs = function (data) {
1712
- return NewLockedVaultEvent.fromFields(NewLockedVaultEvent.bcs.parse(data));
1713
- };
1714
- NewLockedVaultEvent.prototype.toJSONField = function () {
1715
- return {
1716
- index: this.index.toString(),
1717
- unlockTsMs: this.unlockTsMs.toString(),
1718
- lockPeriodMs: this.lockPeriodMs.toString(),
1719
- incentivePpm: this.incentivePpm.toString(),
1720
- incentivePeriodMs: this.incentivePeriodMs.toString(),
1721
- tsMs: this.tsMs.toString(),
1722
- capacity: this.capacity.toString(),
1723
- u64Padding: (0, reified_1.fieldToJSON)("vector<u64>", this.u64Padding),
1724
- };
1725
- };
1726
- NewLockedVaultEvent.prototype.toJSON = function () {
1727
- return __assign({ $typeName: this.$typeName, $typeArgs: this.$typeArgs }, this.toJSONField());
1728
- };
1729
- NewLockedVaultEvent.fromJSONField = function (field) {
1730
- return NewLockedVaultEvent.reified().new({
1731
- index: (0, reified_1.decodeFromJSONField)("u64", field.index),
1732
- unlockTsMs: (0, reified_1.decodeFromJSONField)("u64", field.unlockTsMs),
1733
- lockPeriodMs: (0, reified_1.decodeFromJSONField)("u64", field.lockPeriodMs),
1734
- incentivePpm: (0, reified_1.decodeFromJSONField)("u64", field.incentivePpm),
1735
- incentivePeriodMs: (0, reified_1.decodeFromJSONField)("u64", field.incentivePeriodMs),
1736
- tsMs: (0, reified_1.decodeFromJSONField)("u64", field.tsMs),
1737
- capacity: (0, reified_1.decodeFromJSONField)("u64", field.capacity),
1738
- u64Padding: (0, reified_1.decodeFromJSONField)(reified.vector("u64"), field.u64Padding),
1739
- });
1740
- };
1741
- NewLockedVaultEvent.fromJSON = function (json) {
1742
- if (json.$typeName !== NewLockedVaultEvent.$typeName) {
1743
- throw new Error("not a WithTwoGenerics json object");
1744
- }
1745
- return NewLockedVaultEvent.fromJSONField(json);
1746
- };
1747
- NewLockedVaultEvent.fromSuiParsedData = function (content) {
1748
- if (content.dataType !== "moveObject") {
1749
- throw new Error("not an object");
1750
- }
1751
- if (!isNewLockedVaultEvent(content.type)) {
1752
- throw new Error("object at ".concat(content.fields.id, " is not a NewLockedVaultEvent object"));
1753
- }
1754
- return NewLockedVaultEvent.fromFieldsWithTypes(content);
1755
- };
1756
- NewLockedVaultEvent.fetch = function (client, id) {
1757
- return __awaiter(this, void 0, void 0, function () {
1758
- var res;
1759
- var _a, _b;
1760
- return __generator(this, function (_c) {
1761
- switch (_c.label) {
1762
- case 0: return [4 /*yield*/, client.getObject({ id: id, options: { showBcs: true } })];
1763
- case 1:
1764
- res = _c.sent();
1765
- if (res.error) {
1766
- throw new Error("error fetching NewLockedVaultEvent object at id ".concat(id, ": ").concat(res.error.code));
1767
- }
1768
- if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.bcs) === null || _b === void 0 ? void 0 : _b.dataType) !== "moveObject" || !isNewLockedVaultEvent(res.data.bcs.type)) {
1769
- throw new Error("object at id ".concat(id, " is not a NewLockedVaultEvent object"));
1770
- }
1771
- return [2 /*return*/, NewLockedVaultEvent.fromBcs((0, bcs_1.fromB64)(res.data.bcs.bcsBytes))];
1772
- }
1773
- });
1774
- });
1775
- };
1776
- NewLockedVaultEvent.$typeName = "0x0::locked_period_vault::NewLockedVaultEvent";
1777
- NewLockedVaultEvent.$numTypeParams = 0;
1778
- return NewLockedVaultEvent;
1779
- }());
1780
- exports.NewLockedVaultEvent = NewLockedVaultEvent;
1781
- /* ============================== RemoveIncentiveEvent =============================== */
1782
- function isRemoveIncentiveEvent(type) {
1783
- type = (0, util_1.compressSuiType)(type);
1784
- return type === "0x0::locked_period_vault::RemoveIncentiveEvent";
1785
- }
1786
- exports.isRemoveIncentiveEvent = isRemoveIncentiveEvent;
1787
- var RemoveIncentiveEvent = /** @class */ (function () {
1788
- function RemoveIncentiveEvent(typeArgs, fields) {
1789
- this.$typeName = RemoveIncentiveEvent.$typeName;
1790
- this.$fullTypeName = util_1.composeSuiType.apply(void 0, __spreadArray([RemoveIncentiveEvent.$typeName], __read(typeArgs), false));
1791
- this.$typeArgs = typeArgs;
1792
- this.index = fields.index;
1793
- this.value = fields.value;
1794
- this.u64Padding = fields.u64Padding;
1795
- }
1796
- RemoveIncentiveEvent.reified = function () {
1797
- var _this = this;
1798
- return {
1799
- typeName: RemoveIncentiveEvent.$typeName,
1800
- fullTypeName: util_1.composeSuiType.apply(void 0, __spreadArray([RemoveIncentiveEvent.$typeName], [], false)),
1801
- typeArgs: [],
1802
- reifiedTypeArgs: [],
1803
- fromFields: function (fields) { return RemoveIncentiveEvent.fromFields(fields); },
1804
- fromFieldsWithTypes: function (item) { return RemoveIncentiveEvent.fromFieldsWithTypes(item); },
1805
- fromBcs: function (data) { return RemoveIncentiveEvent.fromBcs(data); },
1806
- bcs: RemoveIncentiveEvent.bcs,
1807
- fromJSONField: function (field) { return RemoveIncentiveEvent.fromJSONField(field); },
1808
- fromJSON: function (json) { return RemoveIncentiveEvent.fromJSON(json); },
1809
- fromSuiParsedData: function (content) { return RemoveIncentiveEvent.fromSuiParsedData(content); },
1810
- fetch: function (client, id) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
1811
- return [2 /*return*/, RemoveIncentiveEvent.fetch(client, id)];
1812
- }); }); },
1813
- new: function (fields) {
1814
- return new RemoveIncentiveEvent([], fields);
1815
- },
1816
- kind: "StructClassReified",
1817
- };
1818
- };
1819
- Object.defineProperty(RemoveIncentiveEvent, "r", {
1820
- get: function () {
1821
- return RemoveIncentiveEvent.reified();
1822
- },
1823
- enumerable: false,
1824
- configurable: true
1825
- });
1826
- RemoveIncentiveEvent.phantom = function () {
1827
- return (0, reified_1.phantom)(RemoveIncentiveEvent.reified());
1828
- };
1829
- Object.defineProperty(RemoveIncentiveEvent, "p", {
1830
- get: function () {
1831
- return RemoveIncentiveEvent.phantom();
1832
- },
1833
- enumerable: false,
1834
- configurable: true
1835
- });
1836
- Object.defineProperty(RemoveIncentiveEvent, "bcs", {
1837
- get: function () {
1838
- return bcs_1.bcs.struct("RemoveIncentiveEvent", {
1839
- index: bcs_1.bcs.u64(),
1840
- value: bcs_1.bcs.u64(),
1841
- u64_padding: bcs_1.bcs.vector(bcs_1.bcs.u64()),
1842
- });
1843
- },
1844
- enumerable: false,
1845
- configurable: true
1846
- });
1847
- RemoveIncentiveEvent.fromFields = function (fields) {
1848
- return RemoveIncentiveEvent.reified().new({
1849
- index: (0, reified_1.decodeFromFields)("u64", fields.index),
1850
- value: (0, reified_1.decodeFromFields)("u64", fields.value),
1851
- u64Padding: (0, reified_1.decodeFromFields)(reified.vector("u64"), fields.u64_padding),
1852
- });
1853
- };
1854
- RemoveIncentiveEvent.fromFieldsWithTypes = function (item) {
1855
- if (!isRemoveIncentiveEvent(item.type)) {
1856
- throw new Error("not a RemoveIncentiveEvent type");
1857
- }
1858
- return RemoveIncentiveEvent.reified().new({
1859
- index: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.index),
1860
- value: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.value),
1861
- u64Padding: (0, reified_1.decodeFromFieldsWithTypes)(reified.vector("u64"), item.fields.u64_padding),
1862
- });
1863
- };
1864
- RemoveIncentiveEvent.fromBcs = function (data) {
1865
- return RemoveIncentiveEvent.fromFields(RemoveIncentiveEvent.bcs.parse(data));
1866
- };
1867
- RemoveIncentiveEvent.prototype.toJSONField = function () {
1868
- return {
1869
- index: this.index.toString(),
1870
- value: this.value.toString(),
1871
- u64Padding: (0, reified_1.fieldToJSON)("vector<u64>", this.u64Padding),
1872
- };
1873
- };
1874
- RemoveIncentiveEvent.prototype.toJSON = function () {
1875
- return __assign({ $typeName: this.$typeName, $typeArgs: this.$typeArgs }, this.toJSONField());
1876
- };
1877
- RemoveIncentiveEvent.fromJSONField = function (field) {
1878
- return RemoveIncentiveEvent.reified().new({
1879
- index: (0, reified_1.decodeFromJSONField)("u64", field.index),
1880
- value: (0, reified_1.decodeFromJSONField)("u64", field.value),
1881
- u64Padding: (0, reified_1.decodeFromJSONField)(reified.vector("u64"), field.u64Padding),
1882
- });
1883
- };
1884
- RemoveIncentiveEvent.fromJSON = function (json) {
1885
- if (json.$typeName !== RemoveIncentiveEvent.$typeName) {
1886
- throw new Error("not a WithTwoGenerics json object");
1887
- }
1888
- return RemoveIncentiveEvent.fromJSONField(json);
1889
- };
1890
- RemoveIncentiveEvent.fromSuiParsedData = function (content) {
1891
- if (content.dataType !== "moveObject") {
1892
- throw new Error("not an object");
1893
- }
1894
- if (!isRemoveIncentiveEvent(content.type)) {
1895
- throw new Error("object at ".concat(content.fields.id, " is not a RemoveIncentiveEvent object"));
1896
- }
1897
- return RemoveIncentiveEvent.fromFieldsWithTypes(content);
1898
- };
1899
- RemoveIncentiveEvent.fetch = function (client, id) {
1900
- return __awaiter(this, void 0, void 0, function () {
1901
- var res;
1902
- var _a, _b;
1903
- return __generator(this, function (_c) {
1904
- switch (_c.label) {
1905
- case 0: return [4 /*yield*/, client.getObject({ id: id, options: { showBcs: true } })];
1906
- case 1:
1907
- res = _c.sent();
1908
- if (res.error) {
1909
- throw new Error("error fetching RemoveIncentiveEvent object at id ".concat(id, ": ").concat(res.error.code));
1910
- }
1911
- if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.bcs) === null || _b === void 0 ? void 0 : _b.dataType) !== "moveObject" || !isRemoveIncentiveEvent(res.data.bcs.type)) {
1912
- throw new Error("object at id ".concat(id, " is not a RemoveIncentiveEvent object"));
1913
- }
1914
- return [2 /*return*/, RemoveIncentiveEvent.fromBcs((0, bcs_1.fromB64)(res.data.bcs.bcsBytes))];
1915
- }
1916
- });
1917
- });
1918
- };
1919
- RemoveIncentiveEvent.$typeName = "0x0::locked_period_vault::RemoveIncentiveEvent";
1920
- RemoveIncentiveEvent.$numTypeParams = 0;
1921
- return RemoveIncentiveEvent;
1922
- }());
1923
- exports.RemoveIncentiveEvent = RemoveIncentiveEvent;
1924
- /* ============================== UnlockReceiptEvent =============================== */
1925
- function isUnlockReceiptEvent(type) {
1926
- type = (0, util_1.compressSuiType)(type);
1927
- return type === "0xc1feadc8cfc768915b9871037d31b5b03f0dceb4418423a128edd12a134b6d22::locked_period_vault::UnlockReceiptEvent";
1928
- }
1929
- exports.isUnlockReceiptEvent = isUnlockReceiptEvent;
1930
- var UnlockReceiptEvent = /** @class */ (function () {
1931
- function UnlockReceiptEvent(typeArgs, fields) {
1932
- this.$typeName = UnlockReceiptEvent.$typeName;
1933
- this.$fullTypeName = util_1.composeSuiType.apply(void 0, __spreadArray([UnlockReceiptEvent.$typeName], __read(typeArgs), false));
1934
- this.$typeArgs = typeArgs;
1935
- this.index = fields.index;
1936
- this.user = fields.user;
1937
- this.leave = fields.leave;
1938
- this.unsubscribe = fields.unsubscribe;
1939
- this.tsMs = fields.tsMs;
1940
- this.incentiveBalance = fields.incentiveBalance;
1941
- this.netDeposit = fields.netDeposit;
1942
- this.totalIncentive = fields.totalIncentive;
1943
- this.totalPremium = fields.totalPremium;
1944
- this.u64Padding = fields.u64Padding;
1945
- }
1946
- UnlockReceiptEvent.reified = function () {
1947
- var _this = this;
1948
- return {
1949
- typeName: UnlockReceiptEvent.$typeName,
1950
- fullTypeName: util_1.composeSuiType.apply(void 0, __spreadArray([UnlockReceiptEvent.$typeName], [], false)),
1951
- typeArgs: [],
1952
- reifiedTypeArgs: [],
1953
- fromFields: function (fields) { return UnlockReceiptEvent.fromFields(fields); },
1954
- fromFieldsWithTypes: function (item) { return UnlockReceiptEvent.fromFieldsWithTypes(item); },
1955
- fromBcs: function (data) { return UnlockReceiptEvent.fromBcs(data); },
1956
- bcs: UnlockReceiptEvent.bcs,
1957
- fromJSONField: function (field) { return UnlockReceiptEvent.fromJSONField(field); },
1958
- fromJSON: function (json) { return UnlockReceiptEvent.fromJSON(json); },
1959
- fromSuiParsedData: function (content) { return UnlockReceiptEvent.fromSuiParsedData(content); },
1960
- fetch: function (client, id) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
1961
- return [2 /*return*/, UnlockReceiptEvent.fetch(client, id)];
1962
- }); }); },
1963
- new: function (fields) {
1964
- return new UnlockReceiptEvent([], fields);
1965
- },
1966
- kind: "StructClassReified",
1967
- };
1968
- };
1969
- Object.defineProperty(UnlockReceiptEvent, "r", {
1970
- get: function () {
1971
- return UnlockReceiptEvent.reified();
1972
- },
1973
- enumerable: false,
1974
- configurable: true
1975
- });
1976
- UnlockReceiptEvent.phantom = function () {
1977
- return (0, reified_1.phantom)(UnlockReceiptEvent.reified());
1978
- };
1979
- Object.defineProperty(UnlockReceiptEvent, "p", {
1980
- get: function () {
1981
- return UnlockReceiptEvent.phantom();
1982
- },
1983
- enumerable: false,
1984
- configurable: true
1985
- });
1986
- Object.defineProperty(UnlockReceiptEvent, "bcs", {
1987
- get: function () {
1988
- return bcs_1.bcs.struct("UnlockReceiptEvent", {
1989
- index: bcs_1.bcs.u64(),
1990
- user: bcs_1.bcs.bytes(32).transform({ input: function (val) { return (0, bcs_1.fromHEX)(val); }, output: function (val) { return (0, bcs_1.toHEX)(val); } }),
1991
- leave: bcs_1.bcs.bool(),
1992
- unsubscribe: bcs_1.bcs.bool(),
1993
- ts_ms: bcs_1.bcs.u64(),
1994
- incentive_balance: bcs_1.bcs.u64(),
1995
- net_deposit: bcs_1.bcs.u64(),
1996
- total_incentive: bcs_1.bcs.u64(),
1997
- total_premium: bcs_1.bcs.u64(),
1998
- u64_padding: bcs_1.bcs.vector(bcs_1.bcs.u64()),
1999
- });
2000
- },
2001
- enumerable: false,
2002
- configurable: true
2003
- });
2004
- UnlockReceiptEvent.fromFields = function (fields) {
2005
- return UnlockReceiptEvent.reified().new({
2006
- index: (0, reified_1.decodeFromFields)("u64", fields.index),
2007
- user: (0, reified_1.decodeFromFields)("address", fields.user),
2008
- leave: (0, reified_1.decodeFromFields)("bool", fields.leave),
2009
- unsubscribe: (0, reified_1.decodeFromFields)("bool", fields.unsubscribe),
2010
- tsMs: (0, reified_1.decodeFromFields)("u64", fields.ts_ms),
2011
- incentiveBalance: (0, reified_1.decodeFromFields)("u64", fields.incentive_balance),
2012
- netDeposit: (0, reified_1.decodeFromFields)("u64", fields.net_deposit),
2013
- totalIncentive: (0, reified_1.decodeFromFields)("u64", fields.total_incentive),
2014
- totalPremium: (0, reified_1.decodeFromFields)("u64", fields.total_premium),
2015
- u64Padding: (0, reified_1.decodeFromFields)(reified.vector("u64"), fields.u64_padding),
2016
- });
2017
- };
2018
- UnlockReceiptEvent.fromFieldsWithTypes = function (item) {
2019
- if (!isUnlockReceiptEvent(item.type)) {
2020
- throw new Error("not a UnlockReceiptEvent type");
2021
- }
2022
- return UnlockReceiptEvent.reified().new({
2023
- index: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.index),
2024
- user: (0, reified_1.decodeFromFieldsWithTypes)("address", item.fields.user),
2025
- leave: (0, reified_1.decodeFromFieldsWithTypes)("bool", item.fields.leave),
2026
- unsubscribe: (0, reified_1.decodeFromFieldsWithTypes)("bool", item.fields.unsubscribe),
2027
- tsMs: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.ts_ms),
2028
- incentiveBalance: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.incentive_balance),
2029
- netDeposit: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.net_deposit),
2030
- totalIncentive: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.total_incentive),
2031
- totalPremium: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.total_premium),
2032
- u64Padding: (0, reified_1.decodeFromFieldsWithTypes)(reified.vector("u64"), item.fields.u64_padding),
2033
- });
2034
- };
2035
- UnlockReceiptEvent.fromBcs = function (data) {
2036
- return UnlockReceiptEvent.fromFields(UnlockReceiptEvent.bcs.parse(data));
2037
- };
2038
- UnlockReceiptEvent.prototype.toJSONField = function () {
2039
- return {
2040
- index: this.index.toString(),
2041
- user: this.user,
2042
- leave: this.leave,
2043
- unsubscribe: this.unsubscribe,
2044
- tsMs: this.tsMs.toString(),
2045
- incentiveBalance: this.incentiveBalance.toString(),
2046
- netDeposit: this.netDeposit.toString(),
2047
- totalIncentive: this.totalIncentive.toString(),
2048
- totalPremium: this.totalPremium.toString(),
2049
- u64Padding: (0, reified_1.fieldToJSON)("vector<u64>", this.u64Padding),
2050
- };
2051
- };
2052
- UnlockReceiptEvent.prototype.toJSON = function () {
2053
- return __assign({ $typeName: this.$typeName, $typeArgs: this.$typeArgs }, this.toJSONField());
2054
- };
2055
- UnlockReceiptEvent.fromJSONField = function (field) {
2056
- return UnlockReceiptEvent.reified().new({
2057
- index: (0, reified_1.decodeFromJSONField)("u64", field.index),
2058
- user: (0, reified_1.decodeFromJSONField)("address", field.user),
2059
- leave: (0, reified_1.decodeFromJSONField)("bool", field.leave),
2060
- unsubscribe: (0, reified_1.decodeFromJSONField)("bool", field.unsubscribe),
2061
- tsMs: (0, reified_1.decodeFromJSONField)("u64", field.tsMs),
2062
- incentiveBalance: (0, reified_1.decodeFromJSONField)("u64", field.incentiveBalance),
2063
- netDeposit: (0, reified_1.decodeFromJSONField)("u64", field.netDeposit),
2064
- totalIncentive: (0, reified_1.decodeFromJSONField)("u64", field.totalIncentive),
2065
- totalPremium: (0, reified_1.decodeFromJSONField)("u64", field.totalPremium),
2066
- u64Padding: (0, reified_1.decodeFromJSONField)(reified.vector("u64"), field.u64Padding),
2067
- });
2068
- };
2069
- UnlockReceiptEvent.fromJSON = function (json) {
2070
- if (json.$typeName !== UnlockReceiptEvent.$typeName) {
2071
- throw new Error("not a WithTwoGenerics json object");
2072
- }
2073
- return UnlockReceiptEvent.fromJSONField(json);
2074
- };
2075
- UnlockReceiptEvent.fromSuiParsedData = function (content) {
2076
- if (content.dataType !== "moveObject") {
2077
- throw new Error("not an object");
2078
- }
2079
- if (!isUnlockReceiptEvent(content.type)) {
2080
- throw new Error("object at ".concat(content.fields.id, " is not a UnlockReceiptEvent object"));
2081
- }
2082
- return UnlockReceiptEvent.fromFieldsWithTypes(content);
2083
- };
2084
- UnlockReceiptEvent.fetch = function (client, id) {
2085
- return __awaiter(this, void 0, void 0, function () {
2086
- var res;
2087
- var _a, _b;
2088
- return __generator(this, function (_c) {
2089
- switch (_c.label) {
2090
- case 0: return [4 /*yield*/, client.getObject({ id: id, options: { showBcs: true } })];
2091
- case 1:
2092
- res = _c.sent();
2093
- if (res.error) {
2094
- throw new Error("error fetching UnlockReceiptEvent object at id ".concat(id, ": ").concat(res.error.code));
2095
- }
2096
- if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.bcs) === null || _b === void 0 ? void 0 : _b.dataType) !== "moveObject" || !isUnlockReceiptEvent(res.data.bcs.type)) {
2097
- throw new Error("object at id ".concat(id, " is not a UnlockReceiptEvent object"));
2098
- }
2099
- return [2 /*return*/, UnlockReceiptEvent.fromBcs((0, bcs_1.fromB64)(res.data.bcs.bcsBytes))];
2100
- }
2101
- });
2102
- });
2103
- };
2104
- UnlockReceiptEvent.$typeName = "0xc1feadc8cfc768915b9871037d31b5b03f0dceb4418423a128edd12a134b6d22::locked_period_vault::UnlockReceiptEvent";
2105
- UnlockReceiptEvent.$numTypeParams = 0;
2106
- return UnlockReceiptEvent;
2107
- }());
2108
- exports.UnlockReceiptEvent = UnlockReceiptEvent;
2109
- /* ============================== WithdrawIncentiveEvent =============================== */
2110
- function isWithdrawIncentiveEvent(type) {
2111
- type = (0, util_1.compressSuiType)(type);
2112
- return type === "0xc1feadc8cfc768915b9871037d31b5b03f0dceb4418423a128edd12a134b6d22::locked_period_vault::WithdrawIncentiveEvent";
2113
- }
2114
- exports.isWithdrawIncentiveEvent = isWithdrawIncentiveEvent;
2115
- var WithdrawIncentiveEvent = /** @class */ (function () {
2116
- function WithdrawIncentiveEvent(typeArgs, fields) {
2117
- this.$typeName = WithdrawIncentiveEvent.$typeName;
2118
- this.$fullTypeName = util_1.composeSuiType.apply(void 0, __spreadArray([WithdrawIncentiveEvent.$typeName], __read(typeArgs), false));
2119
- this.$typeArgs = typeArgs;
2120
- this.index = fields.index;
2121
- this.user = fields.user;
2122
- this.incentiveValue = fields.incentiveValue;
2123
- this.u64Padding = fields.u64Padding;
2124
- }
2125
- WithdrawIncentiveEvent.reified = function () {
2126
- var _this = this;
2127
- return {
2128
- typeName: WithdrawIncentiveEvent.$typeName,
2129
- fullTypeName: util_1.composeSuiType.apply(void 0, __spreadArray([WithdrawIncentiveEvent.$typeName], [], false)),
2130
- typeArgs: [],
2131
- reifiedTypeArgs: [],
2132
- fromFields: function (fields) { return WithdrawIncentiveEvent.fromFields(fields); },
2133
- fromFieldsWithTypes: function (item) { return WithdrawIncentiveEvent.fromFieldsWithTypes(item); },
2134
- fromBcs: function (data) { return WithdrawIncentiveEvent.fromBcs(data); },
2135
- bcs: WithdrawIncentiveEvent.bcs,
2136
- fromJSONField: function (field) { return WithdrawIncentiveEvent.fromJSONField(field); },
2137
- fromJSON: function (json) { return WithdrawIncentiveEvent.fromJSON(json); },
2138
- fromSuiParsedData: function (content) { return WithdrawIncentiveEvent.fromSuiParsedData(content); },
2139
- fetch: function (client, id) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
2140
- return [2 /*return*/, WithdrawIncentiveEvent.fetch(client, id)];
2141
- }); }); },
2142
- new: function (fields) {
2143
- return new WithdrawIncentiveEvent([], fields);
2144
- },
2145
- kind: "StructClassReified",
2146
- };
2147
- };
2148
- Object.defineProperty(WithdrawIncentiveEvent, "r", {
2149
- get: function () {
2150
- return WithdrawIncentiveEvent.reified();
2151
- },
2152
- enumerable: false,
2153
- configurable: true
2154
- });
2155
- WithdrawIncentiveEvent.phantom = function () {
2156
- return (0, reified_1.phantom)(WithdrawIncentiveEvent.reified());
2157
- };
2158
- Object.defineProperty(WithdrawIncentiveEvent, "p", {
2159
- get: function () {
2160
- return WithdrawIncentiveEvent.phantom();
2161
- },
2162
- enumerable: false,
2163
- configurable: true
2164
- });
2165
- Object.defineProperty(WithdrawIncentiveEvent, "bcs", {
2166
- get: function () {
2167
- return bcs_1.bcs.struct("WithdrawIncentiveEvent", {
2168
- index: bcs_1.bcs.u64(),
2169
- user: bcs_1.bcs.bytes(32).transform({ input: function (val) { return (0, bcs_1.fromHEX)(val); }, output: function (val) { return (0, bcs_1.toHEX)(val); } }),
2170
- incentive_value: bcs_1.bcs.u64(),
2171
- u64_padding: bcs_1.bcs.vector(bcs_1.bcs.u64()),
2172
- });
2173
- },
2174
- enumerable: false,
2175
- configurable: true
2176
- });
2177
- WithdrawIncentiveEvent.fromFields = function (fields) {
2178
- return WithdrawIncentiveEvent.reified().new({
2179
- index: (0, reified_1.decodeFromFields)("u64", fields.index),
2180
- user: (0, reified_1.decodeFromFields)("address", fields.user),
2181
- incentiveValue: (0, reified_1.decodeFromFields)("u64", fields.incentive_value),
2182
- u64Padding: (0, reified_1.decodeFromFields)(reified.vector("u64"), fields.u64_padding),
2183
- });
2184
- };
2185
- WithdrawIncentiveEvent.fromFieldsWithTypes = function (item) {
2186
- if (!isWithdrawIncentiveEvent(item.type)) {
2187
- throw new Error("not a WithdrawIncentiveEvent type");
2188
- }
2189
- return WithdrawIncentiveEvent.reified().new({
2190
- index: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.index),
2191
- user: (0, reified_1.decodeFromFieldsWithTypes)("address", item.fields.user),
2192
- incentiveValue: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.incentive_value),
2193
- u64Padding: (0, reified_1.decodeFromFieldsWithTypes)(reified.vector("u64"), item.fields.u64_padding),
2194
- });
2195
- };
2196
- WithdrawIncentiveEvent.fromBcs = function (data) {
2197
- return WithdrawIncentiveEvent.fromFields(WithdrawIncentiveEvent.bcs.parse(data));
2198
- };
2199
- WithdrawIncentiveEvent.prototype.toJSONField = function () {
2200
- return {
2201
- index: this.index.toString(),
2202
- user: this.user,
2203
- incentiveValue: this.incentiveValue.toString(),
2204
- u64Padding: (0, reified_1.fieldToJSON)("vector<u64>", this.u64Padding),
2205
- };
2206
- };
2207
- WithdrawIncentiveEvent.prototype.toJSON = function () {
2208
- return __assign({ $typeName: this.$typeName, $typeArgs: this.$typeArgs }, this.toJSONField());
2209
- };
2210
- WithdrawIncentiveEvent.fromJSONField = function (field) {
2211
- return WithdrawIncentiveEvent.reified().new({
2212
- index: (0, reified_1.decodeFromJSONField)("u64", field.index),
2213
- user: (0, reified_1.decodeFromJSONField)("address", field.user),
2214
- incentiveValue: (0, reified_1.decodeFromJSONField)("u64", field.incentiveValue),
2215
- u64Padding: (0, reified_1.decodeFromJSONField)(reified.vector("u64"), field.u64Padding),
2216
- });
2217
- };
2218
- WithdrawIncentiveEvent.fromJSON = function (json) {
2219
- if (json.$typeName !== WithdrawIncentiveEvent.$typeName) {
2220
- throw new Error("not a WithTwoGenerics json object");
2221
- }
2222
- return WithdrawIncentiveEvent.fromJSONField(json);
2223
- };
2224
- WithdrawIncentiveEvent.fromSuiParsedData = function (content) {
2225
- if (content.dataType !== "moveObject") {
2226
- throw new Error("not an object");
2227
- }
2228
- if (!isWithdrawIncentiveEvent(content.type)) {
2229
- throw new Error("object at ".concat(content.fields.id, " is not a WithdrawIncentiveEvent object"));
2230
- }
2231
- return WithdrawIncentiveEvent.fromFieldsWithTypes(content);
2232
- };
2233
- WithdrawIncentiveEvent.fetch = function (client, id) {
2234
- return __awaiter(this, void 0, void 0, function () {
2235
- var res;
2236
- var _a, _b;
2237
- return __generator(this, function (_c) {
2238
- switch (_c.label) {
2239
- case 0: return [4 /*yield*/, client.getObject({ id: id, options: { showBcs: true } })];
2240
- case 1:
2241
- res = _c.sent();
2242
- if (res.error) {
2243
- throw new Error("error fetching WithdrawIncentiveEvent object at id ".concat(id, ": ").concat(res.error.code));
2244
- }
2245
- if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.bcs) === null || _b === void 0 ? void 0 : _b.dataType) !== "moveObject" || !isWithdrawIncentiveEvent(res.data.bcs.type)) {
2246
- throw new Error("object at id ".concat(id, " is not a WithdrawIncentiveEvent object"));
2247
- }
2248
- return [2 /*return*/, WithdrawIncentiveEvent.fromBcs((0, bcs_1.fromB64)(res.data.bcs.bcsBytes))];
2249
- }
2250
- });
2251
- });
2252
- };
2253
- WithdrawIncentiveEvent.$typeName = "0xc1feadc8cfc768915b9871037d31b5b03f0dceb4418423a128edd12a134b6d22::locked_period_vault::WithdrawIncentiveEvent";
2254
- WithdrawIncentiveEvent.$numTypeParams = 0;
2255
- return WithdrawIncentiveEvent;
2256
- }());
2257
- exports.WithdrawIncentiveEvent = WithdrawIncentiveEvent;
2258
- /* ============================== WithdrawPremiumEvent =============================== */
2259
- function isWithdrawPremiumEvent(type) {
2260
- type = (0, util_1.compressSuiType)(type);
2261
- return type === "0xc1feadc8cfc768915b9871037d31b5b03f0dceb4418423a128edd12a134b6d22::locked_period_vault::WithdrawPremiumEvent";
2262
- }
2263
- exports.isWithdrawPremiumEvent = isWithdrawPremiumEvent;
2264
- var WithdrawPremiumEvent = /** @class */ (function () {
2265
- function WithdrawPremiumEvent(typeArgs, fields) {
2266
- this.$typeName = WithdrawPremiumEvent.$typeName;
2267
- this.$fullTypeName = util_1.composeSuiType.apply(void 0, __spreadArray([WithdrawPremiumEvent.$typeName], __read(typeArgs), false));
2268
- this.$typeArgs = typeArgs;
2269
- this.index = fields.index;
2270
- this.user = fields.user;
2271
- this.u64Padding = fields.u64Padding;
2272
- }
2273
- WithdrawPremiumEvent.reified = function () {
2274
- var _this = this;
2275
- return {
2276
- typeName: WithdrawPremiumEvent.$typeName,
2277
- fullTypeName: util_1.composeSuiType.apply(void 0, __spreadArray([WithdrawPremiumEvent.$typeName], [], false)),
2278
- typeArgs: [],
2279
- reifiedTypeArgs: [],
2280
- fromFields: function (fields) { return WithdrawPremiumEvent.fromFields(fields); },
2281
- fromFieldsWithTypes: function (item) { return WithdrawPremiumEvent.fromFieldsWithTypes(item); },
2282
- fromBcs: function (data) { return WithdrawPremiumEvent.fromBcs(data); },
2283
- bcs: WithdrawPremiumEvent.bcs,
2284
- fromJSONField: function (field) { return WithdrawPremiumEvent.fromJSONField(field); },
2285
- fromJSON: function (json) { return WithdrawPremiumEvent.fromJSON(json); },
2286
- fromSuiParsedData: function (content) { return WithdrawPremiumEvent.fromSuiParsedData(content); },
2287
- fetch: function (client, id) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
2288
- return [2 /*return*/, WithdrawPremiumEvent.fetch(client, id)];
2289
- }); }); },
2290
- new: function (fields) {
2291
- return new WithdrawPremiumEvent([], fields);
2292
- },
2293
- kind: "StructClassReified",
2294
- };
2295
- };
2296
- Object.defineProperty(WithdrawPremiumEvent, "r", {
2297
- get: function () {
2298
- return WithdrawPremiumEvent.reified();
2299
- },
2300
- enumerable: false,
2301
- configurable: true
2302
- });
2303
- WithdrawPremiumEvent.phantom = function () {
2304
- return (0, reified_1.phantom)(WithdrawPremiumEvent.reified());
2305
- };
2306
- Object.defineProperty(WithdrawPremiumEvent, "p", {
2307
- get: function () {
2308
- return WithdrawPremiumEvent.phantom();
2309
- },
2310
- enumerable: false,
2311
- configurable: true
2312
- });
2313
- Object.defineProperty(WithdrawPremiumEvent, "bcs", {
2314
- get: function () {
2315
- return bcs_1.bcs.struct("WithdrawPremiumEvent", {
2316
- index: bcs_1.bcs.u64(),
2317
- user: bcs_1.bcs.bytes(32).transform({ input: function (val) { return (0, bcs_1.fromHEX)(val); }, output: function (val) { return (0, bcs_1.toHEX)(val); } }),
2318
- u64_padding: bcs_1.bcs.vector(bcs_1.bcs.u64()),
2319
- });
2320
- },
2321
- enumerable: false,
2322
- configurable: true
2323
- });
2324
- WithdrawPremiumEvent.fromFields = function (fields) {
2325
- return WithdrawPremiumEvent.reified().new({
2326
- index: (0, reified_1.decodeFromFields)("u64", fields.index),
2327
- user: (0, reified_1.decodeFromFields)("address", fields.user),
2328
- u64Padding: (0, reified_1.decodeFromFields)(reified.vector("u64"), fields.u64_padding),
2329
- });
2330
- };
2331
- WithdrawPremiumEvent.fromFieldsWithTypes = function (item) {
2332
- if (!isWithdrawPremiumEvent(item.type)) {
2333
- throw new Error("not a WithdrawPremiumEvent type");
2334
- }
2335
- return WithdrawPremiumEvent.reified().new({
2336
- index: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.index),
2337
- user: (0, reified_1.decodeFromFieldsWithTypes)("address", item.fields.user),
2338
- u64Padding: (0, reified_1.decodeFromFieldsWithTypes)(reified.vector("u64"), item.fields.u64_padding),
2339
- });
2340
- };
2341
- WithdrawPremiumEvent.fromBcs = function (data) {
2342
- return WithdrawPremiumEvent.fromFields(WithdrawPremiumEvent.bcs.parse(data));
2343
- };
2344
- WithdrawPremiumEvent.prototype.toJSONField = function () {
2345
- return {
2346
- index: this.index.toString(),
2347
- user: this.user,
2348
- u64Padding: (0, reified_1.fieldToJSON)("vector<u64>", this.u64Padding),
2349
- };
2350
- };
2351
- WithdrawPremiumEvent.prototype.toJSON = function () {
2352
- return __assign({ $typeName: this.$typeName, $typeArgs: this.$typeArgs }, this.toJSONField());
2353
- };
2354
- WithdrawPremiumEvent.fromJSONField = function (field) {
2355
- return WithdrawPremiumEvent.reified().new({
2356
- index: (0, reified_1.decodeFromJSONField)("u64", field.index),
2357
- user: (0, reified_1.decodeFromJSONField)("address", field.user),
2358
- u64Padding: (0, reified_1.decodeFromJSONField)(reified.vector("u64"), field.u64Padding),
2359
- });
2360
- };
2361
- WithdrawPremiumEvent.fromJSON = function (json) {
2362
- if (json.$typeName !== WithdrawPremiumEvent.$typeName) {
2363
- throw new Error("not a WithTwoGenerics json object");
2364
- }
2365
- return WithdrawPremiumEvent.fromJSONField(json);
2366
- };
2367
- WithdrawPremiumEvent.fromSuiParsedData = function (content) {
2368
- if (content.dataType !== "moveObject") {
2369
- throw new Error("not an object");
2370
- }
2371
- if (!isWithdrawPremiumEvent(content.type)) {
2372
- throw new Error("object at ".concat(content.fields.id, " is not a WithdrawPremiumEvent object"));
2373
- }
2374
- return WithdrawPremiumEvent.fromFieldsWithTypes(content);
2375
- };
2376
- WithdrawPremiumEvent.fetch = function (client, id) {
2377
- return __awaiter(this, void 0, void 0, function () {
2378
- var res;
2379
- var _a, _b;
2380
- return __generator(this, function (_c) {
2381
- switch (_c.label) {
2382
- case 0: return [4 /*yield*/, client.getObject({ id: id, options: { showBcs: true } })];
2383
- case 1:
2384
- res = _c.sent();
2385
- if (res.error) {
2386
- throw new Error("error fetching WithdrawPremiumEvent object at id ".concat(id, ": ").concat(res.error.code));
2387
- }
2388
- if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.bcs) === null || _b === void 0 ? void 0 : _b.dataType) !== "moveObject" || !isWithdrawPremiumEvent(res.data.bcs.type)) {
2389
- throw new Error("object at id ".concat(id, " is not a WithdrawPremiumEvent object"));
2390
- }
2391
- return [2 /*return*/, WithdrawPremiumEvent.fromBcs((0, bcs_1.fromB64)(res.data.bcs.bcsBytes))];
2392
- }
2393
- });
2394
- });
2395
- };
2396
- WithdrawPremiumEvent.$typeName = "0xc1feadc8cfc768915b9871037d31b5b03f0dceb4418423a128edd12a134b6d22::locked_period_vault::WithdrawPremiumEvent";
2397
- WithdrawPremiumEvent.$numTypeParams = 0;
2398
- return WithdrawPremiumEvent;
2399
- }());
2400
- exports.WithdrawPremiumEvent = WithdrawPremiumEvent;