@typus/typus-sdk 1.2.70 → 1.2.72

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 (527) hide show
  1. package/lib/config.json +4 -2
  2. package/lib/utils/_dependencies/source/0x1/ascii/structs.d.ts +82 -0
  3. package/lib/utils/_dependencies/source/0x1/ascii/structs.js +352 -0
  4. package/lib/utils/_dependencies/source/0x1/bit-vector/structs.d.ts +50 -0
  5. package/lib/utils/_dependencies/source/0x1/bit-vector/structs.js +239 -0
  6. package/lib/utils/_dependencies/source/0x1/fixed-point32/structs.d.ts +41 -0
  7. package/lib/utils/_dependencies/source/0x1/fixed-point32/structs.js +203 -0
  8. package/lib/utils/_dependencies/source/0x1/index.d.ts +2 -0
  9. package/lib/utils/_dependencies/source/0x1/index.js +5 -0
  10. package/lib/utils/_dependencies/source/0x1/init.d.ts +2 -0
  11. package/lib/utils/_dependencies/source/0x1/init.js +42 -0
  12. package/lib/utils/_dependencies/source/0x1/option/structs.d.ts +46 -0
  13. package/lib/utils/_dependencies/source/0x1/option/structs.js +233 -0
  14. package/lib/utils/_dependencies/source/0x1/string/structs.d.ts +44 -0
  15. package/lib/utils/_dependencies/source/0x1/string/structs.js +227 -0
  16. package/lib/utils/_dependencies/source/0x1/type-name/structs.d.ts +48 -0
  17. package/lib/utils/_dependencies/source/0x1/type-name/structs.js +204 -0
  18. package/lib/utils/_dependencies/source/0x123/discount-mint/structs.d.ts +552 -0
  19. package/lib/utils/_dependencies/source/0x123/discount-mint/structs.js +1068 -0
  20. package/lib/utils/_dependencies/source/0x123/index.d.ts +2 -0
  21. package/lib/utils/_dependencies/source/0x123/index.js +5 -0
  22. package/lib/utils/_dependencies/source/0x123/init.d.ts +2 -0
  23. package/lib/utils/_dependencies/source/0x123/init.js +61 -0
  24. package/lib/utils/_dependencies/source/0x123/royalty-rule/structs.d.ts +85 -0
  25. package/lib/utils/_dependencies/source/0x123/royalty-rule/structs.js +340 -0
  26. package/lib/utils/_dependencies/source/0x123/staking/structs.d.ts +433 -0
  27. package/lib/utils/_dependencies/source/0x123/staking/structs.js +784 -0
  28. package/lib/utils/_dependencies/source/0x123/table-vec/structs.d.ts +63 -0
  29. package/lib/utils/_dependencies/source/0x123/table-vec/structs.js +236 -0
  30. package/lib/utils/_dependencies/source/0x123/typus-nft/structs.d.ts +1006 -0
  31. package/lib/utils/_dependencies/source/0x123/typus-nft/structs.js +1994 -0
  32. package/lib/utils/_dependencies/source/0x1318fdc90319ec9c24df1456d960a447521b0a658316155895014a6e39b5482f/index.d.ts +2 -0
  33. package/lib/utils/_dependencies/source/0x1318fdc90319ec9c24df1456d960a447521b0a658316155895014a6e39b5482f/index.js +5 -0
  34. package/lib/utils/_dependencies/source/0x1318fdc90319ec9c24df1456d960a447521b0a658316155895014a6e39b5482f/init.d.ts +2 -0
  35. package/lib/utils/_dependencies/source/0x1318fdc90319ec9c24df1456d960a447521b0a658316155895014a6e39b5482f/init.js +38 -0
  36. package/lib/utils/_dependencies/source/0x1318fdc90319ec9c24df1456d960a447521b0a658316155895014a6e39b5482f/whitelist/structs.d.ts +340 -0
  37. package/lib/utils/_dependencies/source/0x1318fdc90319ec9c24df1456d960a447521b0a658316155895014a6e39b5482f/whitelist/structs.js +1103 -0
  38. package/lib/utils/_dependencies/source/0x1478a432123e4b3d61878b629f2c692969fdb375644f1251cd278a4b1e7d7cd6/index.d.ts +2 -0
  39. package/lib/utils/_dependencies/source/0x1478a432123e4b3d61878b629f2c692969fdb375644f1251cd278a4b1e7d7cd6/index.js +5 -0
  40. package/lib/utils/_dependencies/source/0x1478a432123e4b3d61878b629f2c692969fdb375644f1251cd278a4b1e7d7cd6/init.d.ts +2 -0
  41. package/lib/utils/_dependencies/source/0x1478a432123e4b3d61878b629f2c692969fdb375644f1251cd278a4b1e7d7cd6/init.js +40 -0
  42. package/lib/utils/_dependencies/source/0x1478a432123e4b3d61878b629f2c692969fdb375644f1251cd278a4b1e7d7cd6/price-feed/structs.d.ts +47 -0
  43. package/lib/utils/_dependencies/source/0x1478a432123e4b3d61878b629f2c692969fdb375644f1251cd278a4b1e7d7cd6/price-feed/structs.js +215 -0
  44. package/lib/utils/_dependencies/source/0x1478a432123e4b3d61878b629f2c692969fdb375644f1251cd278a4b1e7d7cd6/price-update-policy/structs.d.ts +212 -0
  45. package/lib/utils/_dependencies/source/0x1478a432123e4b3d61878b629f2c692969fdb375644f1251cd278a4b1e7d7cd6/price-update-policy/structs.js +525 -0
  46. package/lib/utils/_dependencies/source/0x1478a432123e4b3d61878b629f2c692969fdb375644f1251cd278a4b1e7d7cd6/x-oracle/structs.d.ts +471 -0
  47. package/lib/utils/_dependencies/source/0x1478a432123e4b3d61878b629f2c692969fdb375644f1251cd278a4b1e7d7cd6/x-oracle/structs.js +669 -0
  48. package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/airdrop/structs.d.ts +463 -0
  49. package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/airdrop/structs.js +961 -0
  50. package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/big-vector/structs.d.ts +137 -0
  51. package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/big-vector/structs.js +401 -0
  52. package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/critbit/structs.d.ts +226 -0
  53. package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/critbit/structs.js +572 -0
  54. package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/ecosystem/structs.d.ts +383 -0
  55. package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/ecosystem/structs.js +802 -0
  56. package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/index.d.ts +2 -0
  57. package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/index.js +5 -0
  58. package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/init.d.ts +2 -0
  59. package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/init.js +72 -0
  60. package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/leaderboard/structs.d.ts +591 -0
  61. package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/leaderboard/structs.js +1156 -0
  62. package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/linked-object-table/structs.d.ts +152 -0
  63. package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/linked-object-table/structs.js +380 -0
  64. package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/linked-set/structs.d.ts +138 -0
  65. package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/linked-set/structs.js +376 -0
  66. package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/tgld/structs.d.ts +261 -0
  67. package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/tgld/structs.js +653 -0
  68. package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/user/structs.d.ts +194 -0
  69. package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/user/structs.js +509 -0
  70. package/lib/utils/_dependencies/source/0x2/authenticator-state/structs.d.ts +442 -0
  71. package/lib/utils/_dependencies/source/0x2/authenticator-state/structs.js +807 -0
  72. package/lib/utils/_dependencies/source/0x2/bag/structs.d.ts +56 -0
  73. package/lib/utils/_dependencies/source/0x2/bag/structs.js +210 -0
  74. package/lib/utils/_dependencies/source/0x2/balance/structs.d.ts +79 -0
  75. package/lib/utils/_dependencies/source/0x2/balance/structs.js +332 -0
  76. package/lib/utils/_dependencies/source/0x2/bcs/structs.d.ts +44 -0
  77. package/lib/utils/_dependencies/source/0x2/bcs/structs.js +227 -0
  78. package/lib/utils/_dependencies/source/0x2/bls12381/structs.d.ts +155 -0
  79. package/lib/utils/_dependencies/source/0x2/bls12381/structs.js +578 -0
  80. package/lib/utils/_dependencies/source/0x2/borrow/structs.d.ts +104 -0
  81. package/lib/utils/_dependencies/source/0x2/borrow/structs.js +353 -0
  82. package/lib/utils/_dependencies/source/0x2/clock/structs.d.ts +56 -0
  83. package/lib/utils/_dependencies/source/0x2/clock/structs.js +216 -0
  84. package/lib/utils/_dependencies/source/0x2/coin/structs.d.ts +379 -0
  85. package/lib/utils/_dependencies/source/0x2/coin/structs.js +924 -0
  86. package/lib/utils/_dependencies/source/0x2/deny-list/structs.d.ts +178 -0
  87. package/lib/utils/_dependencies/source/0x2/deny-list/structs.js +386 -0
  88. package/lib/utils/_dependencies/source/0x2/display/structs.d.ts +228 -0
  89. package/lib/utils/_dependencies/source/0x2/display/structs.js +498 -0
  90. package/lib/utils/_dependencies/source/0x2/dynamic-field/structs.d.ts +63 -0
  91. package/lib/utils/_dependencies/source/0x2/dynamic-field/structs.js +226 -0
  92. package/lib/utils/_dependencies/source/0x2/dynamic-object-field/structs.d.ts +42 -0
  93. package/lib/utils/_dependencies/source/0x2/dynamic-object-field/structs.js +208 -0
  94. package/lib/utils/_dependencies/source/0x2/groth16/structs.d.ts +186 -0
  95. package/lib/utils/_dependencies/source/0x2/groth16/structs.js +626 -0
  96. package/lib/utils/_dependencies/source/0x2/group-ops/structs.d.ts +44 -0
  97. package/lib/utils/_dependencies/source/0x2/group-ops/structs.js +229 -0
  98. package/lib/utils/_dependencies/source/0x2/index.d.ts +2 -0
  99. package/lib/utils/_dependencies/source/0x2/index.js +5 -0
  100. package/lib/utils/_dependencies/source/0x2/init.d.ts +2 -0
  101. package/lib/utils/_dependencies/source/0x2/init.js +151 -0
  102. package/lib/utils/_dependencies/source/0x2/kiosk/structs.d.ts +565 -0
  103. package/lib/utils/_dependencies/source/0x2/kiosk/structs.js +1501 -0
  104. package/lib/utils/_dependencies/source/0x2/kiosk-extension/structs.d.ts +112 -0
  105. package/lib/utils/_dependencies/source/0x2/kiosk-extension/structs.js +349 -0
  106. package/lib/utils/_dependencies/source/0x2/linked-table/structs.d.ts +144 -0
  107. package/lib/utils/_dependencies/source/0x2/linked-table/structs.js +380 -0
  108. package/lib/utils/_dependencies/source/0x2/object/structs.d.ts +83 -0
  109. package/lib/utils/_dependencies/source/0x2/object/structs.js +328 -0
  110. package/lib/utils/_dependencies/source/0x2/object-bag/structs.d.ts +56 -0
  111. package/lib/utils/_dependencies/source/0x2/object-bag/structs.js +210 -0
  112. package/lib/utils/_dependencies/source/0x2/object-table/structs.d.ts +56 -0
  113. package/lib/utils/_dependencies/source/0x2/object-table/structs.js +218 -0
  114. package/lib/utils/_dependencies/source/0x2/package/structs.d.ts +262 -0
  115. package/lib/utils/_dependencies/source/0x2/package/structs.js +682 -0
  116. package/lib/utils/_dependencies/source/0x2/priority-queue/structs.d.ts +101 -0
  117. package/lib/utils/_dependencies/source/0x2/priority-queue/structs.js +376 -0
  118. package/lib/utils/_dependencies/source/0x2/random/structs.d.ts +190 -0
  119. package/lib/utils/_dependencies/source/0x2/random/structs.js +533 -0
  120. package/lib/utils/_dependencies/source/0x2/sui/structs.d.ts +41 -0
  121. package/lib/utils/_dependencies/source/0x2/sui/structs.js +203 -0
  122. package/lib/utils/_dependencies/source/0x2/table/structs.d.ts +56 -0
  123. package/lib/utils/_dependencies/source/0x2/table/structs.js +218 -0
  124. package/lib/utils/_dependencies/source/0x2/table-vec/structs.d.ts +63 -0
  125. package/lib/utils/_dependencies/source/0x2/table-vec/structs.js +236 -0
  126. package/lib/utils/_dependencies/source/0x2/token/structs.d.ts +424 -0
  127. package/lib/utils/_dependencies/source/0x2/token/structs.js +937 -0
  128. package/lib/utils/_dependencies/source/0x2/transfer/structs.d.ts +52 -0
  129. package/lib/utils/_dependencies/source/0x2/transfer/structs.js +218 -0
  130. package/lib/utils/_dependencies/source/0x2/transfer-policy/structs.d.ts +345 -0
  131. package/lib/utils/_dependencies/source/0x2/transfer-policy/structs.js +923 -0
  132. package/lib/utils/_dependencies/source/0x2/tx-context/structs.d.ts +68 -0
  133. package/lib/utils/_dependencies/source/0x2/tx-context/structs.js +257 -0
  134. package/lib/utils/_dependencies/source/0x2/url/structs.d.ts +48 -0
  135. package/lib/utils/_dependencies/source/0x2/url/structs.js +204 -0
  136. package/lib/utils/_dependencies/source/0x2/vec-map/structs.d.ts +101 -0
  137. package/lib/utils/_dependencies/source/0x2/vec-map/structs.js +378 -0
  138. package/lib/utils/_dependencies/source/0x2/vec-set/structs.d.ts +45 -0
  139. package/lib/utils/_dependencies/source/0x2/vec-set/structs.js +232 -0
  140. package/lib/utils/_dependencies/source/0x2/versioned/structs.d.ts +104 -0
  141. package/lib/utils/_dependencies/source/0x2/versioned/structs.js +353 -0
  142. package/lib/utils/_dependencies/source/0x2/zklogin-verified-id/structs.d.ts +105 -0
  143. package/lib/utils/_dependencies/source/0x2/zklogin-verified-id/structs.js +241 -0
  144. package/lib/utils/_dependencies/source/0x2/zklogin-verified-issuer/structs.d.ts +69 -0
  145. package/lib/utils/_dependencies/source/0x2/zklogin-verified-issuer/structs.js +223 -0
  146. package/lib/utils/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/index.d.ts +2 -0
  147. package/lib/utils/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/index.js +5 -0
  148. package/lib/utils/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/init.d.ts +2 -0
  149. package/lib/utils/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/init.js +31 -0
  150. package/lib/utils/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/validator/structs.d.ts +50 -0
  151. package/lib/utils/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/validator/structs.js +204 -0
  152. package/lib/utils/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/index.d.ts +2 -0
  153. package/lib/utils/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/index.js +5 -0
  154. package/lib/utils/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/init.d.ts +2 -0
  155. package/lib/utils/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/init.js +34 -0
  156. package/lib/utils/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/price-data-pull/structs.d.ts +41 -0
  157. package/lib/utils/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/price-data-pull/structs.js +203 -0
  158. package/lib/utils/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/suprasvaluefeed/structs.d.ts +112 -0
  159. package/lib/utils/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/suprasvaluefeed/structs.js +359 -0
  160. package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/auto-bid/structs.d.ts +1404 -0
  161. package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/auto-bid/structs.js +2581 -0
  162. package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/index.d.ts +2 -0
  163. package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/index.js +5 -0
  164. package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/init.d.ts +2 -0
  165. package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/init.js +131 -0
  166. package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/tails-staking/structs.d.ts +1201 -0
  167. package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/tails-staking/structs.js +2527 -0
  168. package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/tds-authorized-entry/structs.d.ts +1622 -0
  169. package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/tds-authorized-entry/structs.js +2192 -0
  170. package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/tds-fee-pool-entry/structs.d.ts +395 -0
  171. package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/tds-fee-pool-entry/structs.js +1094 -0
  172. package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/tds-registry-authorized-entry/structs.d.ts +994 -0
  173. package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/tds-registry-authorized-entry/structs.js +1358 -0
  174. package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/tds-view-function/structs.d.ts +77 -0
  175. package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/tds-view-function/structs.js +245 -0
  176. package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/typus-dov-single/structs.d.ts +4338 -0
  177. package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/typus-dov-single/structs.js +5821 -0
  178. package/lib/utils/_dependencies/source/0x7237ec8436ef7e927c45470db6db3a834dd84cf903aedee3844e847fe4805399/index.d.ts +2 -0
  179. package/lib/utils/_dependencies/source/0x7237ec8436ef7e927c45470db6db3a834dd84cf903aedee3844e847fe4805399/index.js +5 -0
  180. package/lib/utils/_dependencies/source/0x7237ec8436ef7e927c45470db6db3a834dd84cf903aedee3844e847fe4805399/init.d.ts +2 -0
  181. package/lib/utils/_dependencies/source/0x7237ec8436ef7e927c45470db6db3a834dd84cf903aedee3844e847fe4805399/init.js +5 -0
  182. package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/ac-table/structs.d.ts +218 -0
  183. package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/ac-table/structs.js +524 -0
  184. package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/balance-bag/structs.d.ts +77 -0
  185. package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/balance-bag/structs.js +217 -0
  186. package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/index.d.ts +2 -0
  187. package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/index.js +5 -0
  188. package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/init.d.ts +2 -0
  189. package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/init.js +46 -0
  190. package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/one-time-lock-value/structs.d.ts +69 -0
  191. package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/one-time-lock-value/structs.js +233 -0
  192. package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/ownership/structs.d.ts +60 -0
  193. package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/ownership/structs.js +218 -0
  194. package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/supply-bag/structs.d.ts +77 -0
  195. package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/supply-bag/structs.js +217 -0
  196. package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/wit-table/structs.d.ts +103 -0
  197. package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/wit-table/structs.js +259 -0
  198. package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/witness/structs.d.ts +79 -0
  199. package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/witness/structs.js +332 -0
  200. package/lib/utils/_dependencies/source/0x855eb2d260ee42b898266e6df90bfd3c4ed821ccb253a352c159c223244a4b8a/index.d.ts +2 -0
  201. package/lib/utils/_dependencies/source/0x855eb2d260ee42b898266e6df90bfd3c4ed821ccb253a352c159c223244a4b8a/index.js +5 -0
  202. package/lib/utils/_dependencies/source/0x855eb2d260ee42b898266e6df90bfd3c4ed821ccb253a352c159c223244a4b8a/init.d.ts +2 -0
  203. package/lib/utils/_dependencies/source/0x855eb2d260ee42b898266e6df90bfd3c4ed821ccb253a352c159c223244a4b8a/init.js +40 -0
  204. package/lib/utils/_dependencies/source/0x855eb2d260ee42b898266e6df90bfd3c4ed821ccb253a352c159c223244a4b8a/oracle/structs.d.ts +277 -0
  205. package/lib/utils/_dependencies/source/0x855eb2d260ee42b898266e6df90bfd3c4ed821ccb253a352c159c223244a4b8a/oracle/structs.js +553 -0
  206. package/lib/utils/_dependencies/source/0x855eb2d260ee42b898266e6df90bfd3c4ed821ccb253a352c159c223244a4b8a/pyth-parser/structs.d.ts +102 -0
  207. package/lib/utils/_dependencies/source/0x855eb2d260ee42b898266e6df90bfd3c4ed821ccb253a352c159c223244a4b8a/pyth-parser/structs.js +353 -0
  208. package/lib/utils/_dependencies/source/0x855eb2d260ee42b898266e6df90bfd3c4ed821ccb253a352c159c223244a4b8a/supra/structs.d.ts +65 -0
  209. package/lib/utils/_dependencies/source/0x855eb2d260ee42b898266e6df90bfd3c4ed821ccb253a352c159c223244a4b8a/supra/structs.js +233 -0
  210. package/lib/utils/_dependencies/source/0x855eb2d260ee42b898266e6df90bfd3c4ed821ccb253a352c159c223244a4b8a/switchboard-feed-parser/structs.d.ts +65 -0
  211. package/lib/utils/_dependencies/source/0x855eb2d260ee42b898266e6df90bfd3c4ed821ccb253a352c159c223244a4b8a/switchboard-feed-parser/structs.js +233 -0
  212. package/lib/utils/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/authority/structs.d.ts +83 -0
  213. package/lib/utils/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/authority/structs.js +192 -0
  214. package/lib/utils/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/balance-pool/structs.d.ts +333 -0
  215. package/lib/utils/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/balance-pool/structs.js +382 -0
  216. package/lib/utils/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/big-vector/structs.d.ts +68 -0
  217. package/lib/utils/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/big-vector/structs.js +176 -0
  218. package/lib/utils/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/dutch/structs.d.ts +843 -0
  219. package/lib/utils/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/dutch/structs.js +959 -0
  220. package/lib/utils/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/i64/structs.d.ts +41 -0
  221. package/lib/utils/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/i64/structs.js +167 -0
  222. package/lib/utils/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/index.d.ts +2 -0
  223. package/lib/utils/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/index.js +5 -0
  224. package/lib/utils/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/init.d.ts +2 -0
  225. package/lib/utils/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/init.js +80 -0
  226. package/lib/utils/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/linked-list/structs.d.ts +146 -0
  227. package/lib/utils/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/linked-list/structs.js +274 -0
  228. package/lib/utils/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/vault/structs.d.ts +2272 -0
  229. package/lib/utils/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/vault/structs.js +4465 -0
  230. package/lib/utils/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/aggregator/structs.d.ts +719 -0
  231. package/lib/utils/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/aggregator/structs.js +1107 -0
  232. package/lib/utils/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/index.d.ts +2 -0
  233. package/lib/utils/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/index.js +5 -0
  234. package/lib/utils/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/init.d.ts +2 -0
  235. package/lib/utils/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/init.js +44 -0
  236. package/lib/utils/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/job/structs.d.ts +81 -0
  237. package/lib/utils/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/job/structs.js +258 -0
  238. package/lib/utils/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/math/structs.d.ts +53 -0
  239. package/lib/utils/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/math/structs.js +221 -0
  240. package/lib/utils/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/quote/structs.d.ts +115 -0
  241. package/lib/utils/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/quote/structs.js +294 -0
  242. package/lib/utils/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/switchboard/structs.d.ts +50 -0
  243. package/lib/utils/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/switchboard/structs.js +204 -0
  244. package/lib/utils/_dependencies/source/0x9c564002970ce40370b0c1a8328d2e91924dab43ca2cb483af67aaf0f7cbe44e/index.d.ts +2 -0
  245. package/lib/utils/_dependencies/source/0x9c564002970ce40370b0c1a8328d2e91924dab43ca2cb483af67aaf0f7cbe44e/index.js +5 -0
  246. package/lib/utils/_dependencies/source/0x9c564002970ce40370b0c1a8328d2e91924dab43ca2cb483af67aaf0f7cbe44e/init.d.ts +2 -0
  247. package/lib/utils/_dependencies/source/0x9c564002970ce40370b0c1a8328d2e91924dab43ca2cb483af67aaf0f7cbe44e/init.js +5 -0
  248. package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/authority/structs.d.ts +83 -0
  249. package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/authority/structs.js +234 -0
  250. package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/balance-pool/structs.d.ts +333 -0
  251. package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/balance-pool/structs.js +528 -0
  252. package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/big-vector/structs.d.ts +68 -0
  253. package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/big-vector/structs.js +230 -0
  254. package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/dutch/structs.d.ts +843 -0
  255. package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/dutch/structs.js +1573 -0
  256. package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/i64/structs.d.ts +41 -0
  257. package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/i64/structs.js +203 -0
  258. package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/index.d.ts +2 -0
  259. package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/index.js +5 -0
  260. package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/init.d.ts +2 -0
  261. package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/init.js +80 -0
  262. package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/linked-list/structs.d.ts +146 -0
  263. package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/linked-list/structs.js +386 -0
  264. package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/vault/structs.d.ts +2272 -0
  265. package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/vault/structs.js +4465 -0
  266. package/lib/utils/_dependencies/source/0xad013d5fde39e15eabda32b3dbdafd67dac32b798ce63237c27a8f73339b9b6f/index.d.ts +2 -0
  267. package/lib/utils/_dependencies/source/0xad013d5fde39e15eabda32b3dbdafd67dac32b798ce63237c27a8f73339b9b6f/index.js +5 -0
  268. package/lib/utils/_dependencies/source/0xad013d5fde39e15eabda32b3dbdafd67dac32b798ce63237c27a8f73339b9b6f/init.d.ts +2 -0
  269. package/lib/utils/_dependencies/source/0xad013d5fde39e15eabda32b3dbdafd67dac32b798ce63237c27a8f73339b9b6f/init.js +5 -0
  270. package/lib/utils/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/index.d.ts +2 -0
  271. package/lib/utils/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/index.js +5 -0
  272. package/lib/utils/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/init.d.ts +2 -0
  273. package/lib/utils/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/init.js +37 -0
  274. package/lib/utils/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/kiosk-lock-rule/structs.d.ts +79 -0
  275. package/lib/utils/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/kiosk-lock-rule/structs.js +328 -0
  276. package/lib/utils/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/royalty-rule/structs.d.ts +85 -0
  277. package/lib/utils/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/royalty-rule/structs.js +340 -0
  278. package/lib/utils/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/witness-rule/structs.d.ts +41 -0
  279. package/lib/utils/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/witness-rule/structs.js +205 -0
  280. package/lib/utils/_dependencies/source/0xca5a5a62f01c79a104bf4d31669e29daa387f325c241de4edbe30986a9bc8b0d/coin-decimals-registry/structs.d.ts +174 -0
  281. package/lib/utils/_dependencies/source/0xca5a5a62f01c79a104bf4d31669e29daa387f325c241de4edbe30986a9bc8b0d/coin-decimals-registry/structs.js +511 -0
  282. package/lib/utils/_dependencies/source/0xca5a5a62f01c79a104bf4d31669e29daa387f325c241de4edbe30986a9bc8b0d/index.d.ts +2 -0
  283. package/lib/utils/_dependencies/source/0xca5a5a62f01c79a104bf4d31669e29daa387f325c241de4edbe30986a9bc8b0d/index.js +5 -0
  284. package/lib/utils/_dependencies/source/0xca5a5a62f01c79a104bf4d31669e29daa387f325c241de4edbe30986a9bc8b0d/init.d.ts +2 -0
  285. package/lib/utils/_dependencies/source/0xca5a5a62f01c79a104bf4d31669e29daa387f325c241de4edbe30986a9bc8b0d/init.js +33 -0
  286. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/bytes20/structs.d.ts +44 -0
  287. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/bytes20/structs.js +227 -0
  288. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/bytes32/structs.d.ts +44 -0
  289. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/bytes32/structs.js +227 -0
  290. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/consumed-vaas/structs.d.ts +72 -0
  291. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/consumed-vaas/structs.js +231 -0
  292. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/cursor/structs.d.ts +45 -0
  293. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/cursor/structs.js +232 -0
  294. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/emitter/structs.d.ts +140 -0
  295. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/emitter/structs.js +466 -0
  296. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/external-address/structs.d.ts +52 -0
  297. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/external-address/structs.js +204 -0
  298. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/fee-collector/structs.d.ts +58 -0
  299. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/fee-collector/structs.js +241 -0
  300. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/governance-message/structs.d.ts +158 -0
  301. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/governance-message/structs.js +406 -0
  302. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/guardian/structs.d.ts +52 -0
  303. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/guardian/structs.js +204 -0
  304. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/guardian-set/structs.d.ts +75 -0
  305. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/guardian-set/structs.js +246 -0
  306. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/guardian-signature/structs.d.ts +80 -0
  307. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/guardian-signature/structs.js +228 -0
  308. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/index.d.ts +2 -0
  309. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/index.js +5 -0
  310. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/init.d.ts +2 -0
  311. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/init.js +91 -0
  312. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/migrate/structs.d.ts +46 -0
  313. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/migrate/structs.js +204 -0
  314. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/package-utils/structs.d.ts +177 -0
  315. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/package-utils/structs.js +592 -0
  316. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/publish-message/structs.d.ts +141 -0
  317. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/publish-message/structs.js +413 -0
  318. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/set/structs.d.ts +101 -0
  319. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/set/structs.js +361 -0
  320. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/set-fee/structs.d.ts +79 -0
  321. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/set-fee/structs.js +328 -0
  322. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/setup/structs.d.ts +50 -0
  323. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/setup/structs.js +204 -0
  324. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/state/structs.d.ts +269 -0
  325. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/state/structs.js +413 -0
  326. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/transfer-fee/structs.d.ts +85 -0
  327. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/transfer-fee/structs.js +340 -0
  328. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/update-guardian-set/structs.d.ts +145 -0
  329. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/update-guardian-set/structs.js +490 -0
  330. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/upgrade-contract/structs.d.ts +143 -0
  331. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/upgrade-contract/structs.js +467 -0
  332. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/vaa/structs.d.ts +122 -0
  333. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/vaa/structs.js +283 -0
  334. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/version-control/structs.d.ts +79 -0
  335. package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/version-control/structs.js +328 -0
  336. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/batch-price-attestation/structs.d.ts +279 -0
  337. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/batch-price-attestation/structs.js +407 -0
  338. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/contract-upgrade/structs.d.ts +105 -0
  339. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/contract-upgrade/structs.js +342 -0
  340. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/data-source/structs.d.ts +66 -0
  341. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/data-source/structs.js +216 -0
  342. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/event/structs.d.ts +200 -0
  343. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/event/structs.js +341 -0
  344. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/governance/structs.d.ts +67 -0
  345. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/governance/structs.js +246 -0
  346. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/governance-action/structs.d.ts +41 -0
  347. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/governance-action/structs.js +203 -0
  348. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/governance-instruction/structs.d.ts +71 -0
  349. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/governance-instruction/structs.js +252 -0
  350. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/hot-potato-vector/structs.d.ts +45 -0
  351. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/hot-potato-vector/structs.js +232 -0
  352. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/i64/structs.d.ts +47 -0
  353. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/i64/structs.js +215 -0
  354. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/index.d.ts +2 -0
  355. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/index.js +5 -0
  356. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/init.d.ts +2 -0
  357. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/init.js +85 -0
  358. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/migrate/structs.d.ts +46 -0
  359. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/migrate/structs.js +204 -0
  360. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/price/structs.d.ts +84 -0
  361. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/price/structs.js +228 -0
  362. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/price-feed/structs.d.ts +153 -0
  363. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/price-feed/structs.js +223 -0
  364. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/price-identifier/structs.d.ts +44 -0
  365. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/price-identifier/structs.js +227 -0
  366. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/price-info/structs.d.ts +351 -0
  367. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/price-info/structs.js +360 -0
  368. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/price-status/structs.d.ts +41 -0
  369. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/price-status/structs.js +203 -0
  370. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set/structs.d.ts +110 -0
  371. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set/structs.js +370 -0
  372. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set-data-sources/structs.d.ts +75 -0
  373. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set-data-sources/structs.js +228 -0
  374. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set-fee-recipient/structs.d.ts +41 -0
  375. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set-fee-recipient/structs.js +203 -0
  376. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set-governance-data-source/structs.d.ts +72 -0
  377. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set-governance-data-source/structs.js +222 -0
  378. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set-stale-price-threshold/structs.d.ts +41 -0
  379. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set-stale-price-threshold/structs.js +203 -0
  380. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set-update-fee/structs.d.ts +47 -0
  381. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set-update-fee/structs.js +215 -0
  382. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/setup/structs.d.ts +50 -0
  383. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/setup/structs.js +204 -0
  384. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/state/structs.d.ts +269 -0
  385. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/state/structs.js +507 -0
  386. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/version-control/structs.d.ts +79 -0
  387. package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/version-control/structs.js +328 -0
  388. package/lib/utils/_dependencies/source/0xe87f1b2d498106a2c61421cec75b7b5c5e348512b0dc263949a0e7a3c256571a/admin/structs.d.ts +215 -0
  389. package/lib/utils/_dependencies/source/0xe87f1b2d498106a2c61421cec75b7b5c5e348512b0dc263949a0e7a3c256571a/admin/structs.js +533 -0
  390. package/lib/utils/_dependencies/source/0xe87f1b2d498106a2c61421cec75b7b5c5e348512b0dc263949a0e7a3c256571a/index.d.ts +2 -0
  391. package/lib/utils/_dependencies/source/0xe87f1b2d498106a2c61421cec75b7b5c5e348512b0dc263949a0e7a3c256571a/index.js +5 -0
  392. package/lib/utils/_dependencies/source/0xe87f1b2d498106a2c61421cec75b7b5c5e348512b0dc263949a0e7a3c256571a/init.d.ts +2 -0
  393. package/lib/utils/_dependencies/source/0xe87f1b2d498106a2c61421cec75b7b5c5e348512b0dc263949a0e7a3c256571a/init.js +44 -0
  394. package/lib/utils/_dependencies/source/0xe87f1b2d498106a2c61421cec75b7b5c5e348512b0dc263949a0e7a3c256571a/rewards-pool/structs.d.ts +93 -0
  395. package/lib/utils/_dependencies/source/0xe87f1b2d498106a2c61421cec75b7b5c5e348512b0dc263949a0e7a3c256571a/rewards-pool/structs.js +243 -0
  396. package/lib/utils/_dependencies/source/0xe87f1b2d498106a2c61421cec75b7b5c5e348512b0dc263949a0e7a3c256571a/spool/structs.d.ts +125 -0
  397. package/lib/utils/_dependencies/source/0xe87f1b2d498106a2c61421cec75b7b5c5e348512b0dc263949a0e7a3c256571a/spool/structs.js +271 -0
  398. package/lib/utils/_dependencies/source/0xe87f1b2d498106a2c61421cec75b7b5c5e348512b0dc263949a0e7a3c256571a/spool-account/structs.d.ts +114 -0
  399. package/lib/utils/_dependencies/source/0xe87f1b2d498106a2c61421cec75b7b5c5e348512b0dc263949a0e7a3c256571a/spool-account/structs.js +250 -0
  400. package/lib/utils/_dependencies/source/0xe87f1b2d498106a2c61421cec75b7b5c5e348512b0dc263949a0e7a3c256571a/user/structs.d.ts +413 -0
  401. package/lib/utils/_dependencies/source/0xe87f1b2d498106a2c61421cec75b7b5c5e348512b0dc263949a0e7a3c256571a/user/structs.js +754 -0
  402. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/app/structs.d.ts +210 -0
  403. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/app/structs.js +392 -0
  404. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/asset-active-state/structs.d.ts +250 -0
  405. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/asset-active-state/structs.js +491 -0
  406. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/borrow/structs.d.ts +85 -0
  407. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/borrow/structs.js +235 -0
  408. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/borrow-dynamics/structs.d.ts +106 -0
  409. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/borrow-dynamics/structs.js +353 -0
  410. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/collateral-stats/structs.d.ts +79 -0
  411. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/collateral-stats/structs.js +328 -0
  412. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/deposit-collateral/structs.d.ts +79 -0
  413. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/deposit-collateral/structs.js +229 -0
  414. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/flash-loan/structs.d.ts +132 -0
  415. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/flash-loan/structs.js +365 -0
  416. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/incentive-rewards/structs.d.ts +109 -0
  417. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/incentive-rewards/structs.js +342 -0
  418. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/index.d.ts +2 -0
  419. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/index.js +5 -0
  420. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/init.d.ts +2 -0
  421. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/init.js +114 -0
  422. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/interest-model/structs.d.ts +571 -0
  423. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/interest-model/structs.js +682 -0
  424. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/limiter/structs.d.ts +591 -0
  425. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/limiter/structs.js +1360 -0
  426. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/liquidate/structs.d.ts +111 -0
  427. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/liquidate/structs.js +247 -0
  428. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/lock-obligation/structs.d.ts +67 -0
  429. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/lock-obligation/structs.js +217 -0
  430. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/market/structs.d.ts +854 -0
  431. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/market/structs.js +293 -0
  432. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/mint/structs.d.ts +100 -0
  433. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/mint/structs.js +240 -0
  434. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/obligation/structs.d.ts +628 -0
  435. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/obligation/structs.js +1010 -0
  436. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/obligation-access/structs.d.ts +92 -0
  437. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/obligation-access/structs.js +224 -0
  438. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/obligation-collaterals/structs.d.ts +79 -0
  439. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/obligation-collaterals/structs.js +328 -0
  440. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/obligation-debts/structs.d.ts +85 -0
  441. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/obligation-debts/structs.js +340 -0
  442. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/open-obligation/structs.d.ts +104 -0
  443. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/open-obligation/structs.js +347 -0
  444. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/redeem/structs.d.ts +100 -0
  445. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/redeem/structs.js +240 -0
  446. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/repay/structs.d.ts +85 -0
  447. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/repay/structs.js +235 -0
  448. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/reserve/structs.d.ts +497 -0
  449. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/reserve/structs.js +927 -0
  450. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/risk-model/structs.d.ts +443 -0
  451. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/risk-model/structs.js +658 -0
  452. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/version/structs.d.ts +102 -0
  453. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/version/structs.js +335 -0
  454. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/withdraw-collateral/structs.d.ts +79 -0
  455. package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/withdraw-collateral/structs.js +229 -0
  456. package/lib/utils/_framework/init-source.d.ts +1 -0
  457. package/lib/utils/_framework/init-source.js +81 -0
  458. package/lib/utils/_framework/loader.d.ts +17 -0
  459. package/lib/utils/_framework/loader.js +99 -0
  460. package/lib/utils/_framework/reified.d.ts +100 -0
  461. package/lib/utils/_framework/reified.js +263 -0
  462. package/lib/utils/_framework/util.d.ts +53 -0
  463. package/lib/utils/_framework/util.js +252 -0
  464. package/lib/utils/api/sentio/reward-generated.d.ts +1 -0
  465. package/lib/utils/api/sentio/reward-generated.js +54 -1
  466. package/lib/utils/locked-period-vault/index.d.ts +3 -0
  467. package/lib/utils/locked-period-vault/index.js +6 -0
  468. package/lib/utils/locked-period-vault/init.d.ts +2 -0
  469. package/lib/utils/locked-period-vault/init.js +44 -0
  470. package/lib/utils/locked-period-vault/locked-period-vault/functions.d.ts +137 -0
  471. package/lib/utils/locked-period-vault/locked-period-vault/functions.js +264 -0
  472. package/lib/utils/locked-period-vault/locked-period-vault/structs.d.ts +1236 -0
  473. package/lib/utils/locked-period-vault/locked-period-vault/structs.js +2400 -0
  474. package/lib/utils/typus-dov-single-v2/user-history.js +15 -2
  475. package/lib/utils/typus_perp/admin/functions.d.ts +18 -0
  476. package/lib/utils/typus_perp/admin/functions.js +43 -0
  477. package/lib/utils/typus_perp/admin/structs.d.ts +371 -0
  478. package/lib/utils/typus_perp/admin/structs.js +796 -0
  479. package/lib/utils/typus_perp/critbit/functions.d.ts +101 -0
  480. package/lib/utils/typus_perp/critbit/functions.js +186 -0
  481. package/lib/utils/typus_perp/critbit/structs.d.ts +226 -0
  482. package/lib/utils/typus_perp/critbit/structs.js +572 -0
  483. package/lib/utils/typus_perp/index.d.ts +2 -0
  484. package/lib/utils/typus_perp/index.js +5 -0
  485. package/lib/utils/typus_perp/init.d.ts +2 -0
  486. package/lib/utils/typus_perp/init.js +121 -0
  487. package/lib/utils/typus_perp/lp-pool/functions.d.ts +231 -0
  488. package/lib/utils/typus_perp/lp-pool/functions.js +346 -0
  489. package/lib/utils/typus_perp/lp-pool/structs.d.ts +2232 -0
  490. package/lib/utils/typus_perp/lp-pool/structs.js +3300 -0
  491. package/lib/utils/typus_perp/math/functions.d.ts +16 -0
  492. package/lib/utils/typus_perp/math/functions.js +33 -0
  493. package/lib/utils/typus_perp/oracle/functions.d.ts +14 -0
  494. package/lib/utils/typus_perp/oracle/functions.js +23 -0
  495. package/lib/utils/typus_perp/oracle/structs.d.ts +102 -0
  496. package/lib/utils/typus_perp/oracle/structs.js +353 -0
  497. package/lib/utils/typus_perp/position/functions.d.ts +189 -0
  498. package/lib/utils/typus_perp/position/functions.js +307 -0
  499. package/lib/utils/typus_perp/position/structs.d.ts +588 -0
  500. package/lib/utils/typus_perp/position/structs.js +763 -0
  501. package/lib/utils/typus_perp/stake-pool/functions.d.ts +180 -0
  502. package/lib/utils/typus_perp/stake-pool/functions.js +276 -0
  503. package/lib/utils/typus_perp/stake-pool/structs.d.ts +2089 -0
  504. package/lib/utils/typus_perp/stake-pool/structs.js +3539 -0
  505. package/lib/utils/typus_perp/symbol/functions.d.ts +10 -0
  506. package/lib/utils/typus_perp/symbol/functions.js +21 -0
  507. package/lib/utils/typus_perp/symbol/structs.d.ts +76 -0
  508. package/lib/utils/typus_perp/symbol/structs.js +216 -0
  509. package/lib/utils/typus_perp/tlp/functions.d.ts +20 -0
  510. package/lib/utils/typus_perp/tlp/functions.js +36 -0
  511. package/lib/utils/typus_perp/tlp/structs.d.ts +88 -0
  512. package/lib/utils/typus_perp/tlp/structs.js +329 -0
  513. package/lib/utils/typus_perp/token-interface/functions.d.ts +12 -0
  514. package/lib/utils/typus_perp/token-interface/functions.js +21 -0
  515. package/lib/utils/typus_perp/trading/functions.d.ts +234 -0
  516. package/lib/utils/typus_perp/trading/functions.js +329 -0
  517. package/lib/utils/typus_perp/trading/structs.d.ts +2305 -0
  518. package/lib/utils/typus_perp/trading/structs.js +3792 -0
  519. package/lib/utils/typus_perp/treasury-caps/functions.d.ts +10 -0
  520. package/lib/utils/typus_perp/treasury-caps/functions.js +33 -0
  521. package/lib/utils/typus_perp/treasury-caps/structs.d.ts +50 -0
  522. package/lib/utils/typus_perp/treasury-caps/structs.js +204 -0
  523. package/lib/utils/typus_perp/utils/functions.d.ts +24 -0
  524. package/lib/utils/typus_perp/utils/functions.js +41 -0
  525. package/package.json +2 -2
  526. package/lib/utils/locked-period-vault/user-entry.d.ts +0 -81
  527. package/lib/utils/locked-period-vault/user-entry.js +0 -101
@@ -0,0 +1,2192 @@
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;