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