@typus/typus-sdk 1.2.70 → 1.2.71

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 +2 -1
  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,1358 @@
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.UpgradeRegistryEvent = exports.isUpgradeRegistryEvent = exports.SuspendTransactionEvent = exports.isSuspendTransactionEvent = exports.SetAvailableIncentiveAmountEvent = exports.isSetAvailableIncentiveAmountEvent = exports.ResumeTransactionEvent = exports.isResumeTransactionEvent = exports.RemoveAuthorizedUserEvent = exports.isRemoveAuthorizedUserEvent = exports.NewPortfolioVaultEvent = exports.isNewPortfolioVaultEvent = exports.IncentiviseEvent = exports.isIncentiviseEvent = exports.AddAuthorizedUserEvent = exports.isAddAuthorizedUserEvent = exports.WithdrawIncentiveEvent = exports.isWithdrawIncentiveEvent = 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
+ /* ============================== WithdrawIncentiveEvent =============================== */
106
+ function isWithdrawIncentiveEvent(type) {
107
+ type = (0, util_1.compressSuiType)(type);
108
+ return (type === "0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455::tds_registry_authorized_entry::WithdrawIncentiveEvent");
109
+ }
110
+ exports.isWithdrawIncentiveEvent = isWithdrawIncentiveEvent;
111
+ var WithdrawIncentiveEvent = /** @class */ (function () {
112
+ function WithdrawIncentiveEvent(typeArgs, fields) {
113
+ this.$typeName = WithdrawIncentiveEvent.$typeName;
114
+ this.$fullTypeName = util_1.composeSuiType.apply(void 0, __spreadArray([WithdrawIncentiveEvent.$typeName], __read(typeArgs), false));
115
+ this.$typeArgs = typeArgs;
116
+ this.signer = fields.signer;
117
+ this.token = fields.token;
118
+ this.amount = fields.amount;
119
+ }
120
+ WithdrawIncentiveEvent.reified = function () {
121
+ var _this = this;
122
+ return {
123
+ typeName: WithdrawIncentiveEvent.$typeName,
124
+ fullTypeName: util_1.composeSuiType.apply(void 0, __spreadArray([WithdrawIncentiveEvent.$typeName], [], false)),
125
+ typeArgs: [],
126
+ reifiedTypeArgs: [],
127
+ fromFields: function (fields) { return WithdrawIncentiveEvent.fromFields(fields); },
128
+ fromFieldsWithTypes: function (item) { return WithdrawIncentiveEvent.fromFieldsWithTypes(item); },
129
+ fromBcs: function (data) { return WithdrawIncentiveEvent.fromBcs(data); },
130
+ bcs: WithdrawIncentiveEvent.bcs,
131
+ fromJSONField: function (field) { return WithdrawIncentiveEvent.fromJSONField(field); },
132
+ fromJSON: function (json) { return WithdrawIncentiveEvent.fromJSON(json); },
133
+ fromSuiParsedData: function (content) { return WithdrawIncentiveEvent.fromSuiParsedData(content); },
134
+ fetch: function (client, id) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
135
+ return [2 /*return*/, WithdrawIncentiveEvent.fetch(client, id)];
136
+ }); }); },
137
+ new: function (fields) {
138
+ return new WithdrawIncentiveEvent([], fields);
139
+ },
140
+ kind: "StructClassReified",
141
+ };
142
+ };
143
+ Object.defineProperty(WithdrawIncentiveEvent, "r", {
144
+ get: function () {
145
+ return WithdrawIncentiveEvent.reified();
146
+ },
147
+ enumerable: false,
148
+ configurable: true
149
+ });
150
+ WithdrawIncentiveEvent.phantom = function () {
151
+ return (0, reified_1.phantom)(WithdrawIncentiveEvent.reified());
152
+ };
153
+ Object.defineProperty(WithdrawIncentiveEvent, "p", {
154
+ get: function () {
155
+ return WithdrawIncentiveEvent.phantom();
156
+ },
157
+ enumerable: false,
158
+ configurable: true
159
+ });
160
+ Object.defineProperty(WithdrawIncentiveEvent, "bcs", {
161
+ get: function () {
162
+ return bcs_1.bcs.struct("WithdrawIncentiveEvent", {
163
+ 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); } }),
164
+ token: structs_1.TypeName.bcs,
165
+ amount: bcs_1.bcs.u64(),
166
+ });
167
+ },
168
+ enumerable: false,
169
+ configurable: true
170
+ });
171
+ WithdrawIncentiveEvent.fromFields = function (fields) {
172
+ return WithdrawIncentiveEvent.reified().new({
173
+ signer: (0, reified_1.decodeFromFields)("address", fields.signer),
174
+ token: (0, reified_1.decodeFromFields)(structs_1.TypeName.reified(), fields.token),
175
+ amount: (0, reified_1.decodeFromFields)("u64", fields.amount),
176
+ });
177
+ };
178
+ WithdrawIncentiveEvent.fromFieldsWithTypes = function (item) {
179
+ if (!isWithdrawIncentiveEvent(item.type)) {
180
+ throw new Error("not a WithdrawIncentiveEvent type");
181
+ }
182
+ return WithdrawIncentiveEvent.reified().new({
183
+ signer: (0, reified_1.decodeFromFieldsWithTypes)("address", item.fields.signer),
184
+ token: (0, reified_1.decodeFromFieldsWithTypes)(structs_1.TypeName.reified(), item.fields.token),
185
+ amount: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.amount),
186
+ });
187
+ };
188
+ WithdrawIncentiveEvent.fromBcs = function (data) {
189
+ return WithdrawIncentiveEvent.fromFields(WithdrawIncentiveEvent.bcs.parse(data));
190
+ };
191
+ WithdrawIncentiveEvent.prototype.toJSONField = function () {
192
+ return {
193
+ signer: this.signer,
194
+ token: this.token.toJSONField(),
195
+ amount: this.amount.toString(),
196
+ };
197
+ };
198
+ WithdrawIncentiveEvent.prototype.toJSON = function () {
199
+ return __assign({ $typeName: this.$typeName, $typeArgs: this.$typeArgs }, this.toJSONField());
200
+ };
201
+ WithdrawIncentiveEvent.fromJSONField = function (field) {
202
+ return WithdrawIncentiveEvent.reified().new({
203
+ signer: (0, reified_1.decodeFromJSONField)("address", field.signer),
204
+ token: (0, reified_1.decodeFromJSONField)(structs_1.TypeName.reified(), field.token),
205
+ amount: (0, reified_1.decodeFromJSONField)("u64", field.amount),
206
+ });
207
+ };
208
+ WithdrawIncentiveEvent.fromJSON = function (json) {
209
+ if (json.$typeName !== WithdrawIncentiveEvent.$typeName) {
210
+ throw new Error("not a WithTwoGenerics json object");
211
+ }
212
+ return WithdrawIncentiveEvent.fromJSONField(json);
213
+ };
214
+ WithdrawIncentiveEvent.fromSuiParsedData = function (content) {
215
+ if (content.dataType !== "moveObject") {
216
+ throw new Error("not an object");
217
+ }
218
+ if (!isWithdrawIncentiveEvent(content.type)) {
219
+ throw new Error("object at ".concat(content.fields.id, " is not a WithdrawIncentiveEvent object"));
220
+ }
221
+ return WithdrawIncentiveEvent.fromFieldsWithTypes(content);
222
+ };
223
+ WithdrawIncentiveEvent.fetch = function (client, id) {
224
+ return __awaiter(this, void 0, void 0, function () {
225
+ var res;
226
+ var _a, _b;
227
+ return __generator(this, function (_c) {
228
+ switch (_c.label) {
229
+ case 0: return [4 /*yield*/, client.getObject({ id: id, options: { showBcs: true } })];
230
+ case 1:
231
+ res = _c.sent();
232
+ if (res.error) {
233
+ throw new Error("error fetching WithdrawIncentiveEvent object at id ".concat(id, ": ").concat(res.error.code));
234
+ }
235
+ if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.bcs) === null || _b === void 0 ? void 0 : _b.dataType) !== "moveObject" || !isWithdrawIncentiveEvent(res.data.bcs.type)) {
236
+ throw new Error("object at id ".concat(id, " is not a WithdrawIncentiveEvent object"));
237
+ }
238
+ return [2 /*return*/, WithdrawIncentiveEvent.fromBcs((0, bcs_1.fromB64)(res.data.bcs.bcsBytes))];
239
+ }
240
+ });
241
+ });
242
+ };
243
+ WithdrawIncentiveEvent.$typeName = "0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455::tds_registry_authorized_entry::WithdrawIncentiveEvent";
244
+ WithdrawIncentiveEvent.$numTypeParams = 0;
245
+ return WithdrawIncentiveEvent;
246
+ }());
247
+ exports.WithdrawIncentiveEvent = WithdrawIncentiveEvent;
248
+ /* ============================== AddAuthorizedUserEvent =============================== */
249
+ function isAddAuthorizedUserEvent(type) {
250
+ type = (0, util_1.compressSuiType)(type);
251
+ return (type === "0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455::tds_registry_authorized_entry::AddAuthorizedUserEvent");
252
+ }
253
+ exports.isAddAuthorizedUserEvent = isAddAuthorizedUserEvent;
254
+ var AddAuthorizedUserEvent = /** @class */ (function () {
255
+ function AddAuthorizedUserEvent(typeArgs, fields) {
256
+ this.$typeName = AddAuthorizedUserEvent.$typeName;
257
+ this.$fullTypeName = util_1.composeSuiType.apply(void 0, __spreadArray([AddAuthorizedUserEvent.$typeName], __read(typeArgs), false));
258
+ this.$typeArgs = typeArgs;
259
+ this.signer = fields.signer;
260
+ this.users = fields.users;
261
+ }
262
+ AddAuthorizedUserEvent.reified = function () {
263
+ var _this = this;
264
+ return {
265
+ typeName: AddAuthorizedUserEvent.$typeName,
266
+ fullTypeName: util_1.composeSuiType.apply(void 0, __spreadArray([AddAuthorizedUserEvent.$typeName], [], false)),
267
+ typeArgs: [],
268
+ reifiedTypeArgs: [],
269
+ fromFields: function (fields) { return AddAuthorizedUserEvent.fromFields(fields); },
270
+ fromFieldsWithTypes: function (item) { return AddAuthorizedUserEvent.fromFieldsWithTypes(item); },
271
+ fromBcs: function (data) { return AddAuthorizedUserEvent.fromBcs(data); },
272
+ bcs: AddAuthorizedUserEvent.bcs,
273
+ fromJSONField: function (field) { return AddAuthorizedUserEvent.fromJSONField(field); },
274
+ fromJSON: function (json) { return AddAuthorizedUserEvent.fromJSON(json); },
275
+ fromSuiParsedData: function (content) { return AddAuthorizedUserEvent.fromSuiParsedData(content); },
276
+ fetch: function (client, id) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
277
+ return [2 /*return*/, AddAuthorizedUserEvent.fetch(client, id)];
278
+ }); }); },
279
+ new: function (fields) {
280
+ return new AddAuthorizedUserEvent([], fields);
281
+ },
282
+ kind: "StructClassReified",
283
+ };
284
+ };
285
+ Object.defineProperty(AddAuthorizedUserEvent, "r", {
286
+ get: function () {
287
+ return AddAuthorizedUserEvent.reified();
288
+ },
289
+ enumerable: false,
290
+ configurable: true
291
+ });
292
+ AddAuthorizedUserEvent.phantom = function () {
293
+ return (0, reified_1.phantom)(AddAuthorizedUserEvent.reified());
294
+ };
295
+ Object.defineProperty(AddAuthorizedUserEvent, "p", {
296
+ get: function () {
297
+ return AddAuthorizedUserEvent.phantom();
298
+ },
299
+ enumerable: false,
300
+ configurable: true
301
+ });
302
+ Object.defineProperty(AddAuthorizedUserEvent, "bcs", {
303
+ get: function () {
304
+ return bcs_1.bcs.struct("AddAuthorizedUserEvent", {
305
+ 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); } }),
306
+ 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); } })),
307
+ });
308
+ },
309
+ enumerable: false,
310
+ configurable: true
311
+ });
312
+ AddAuthorizedUserEvent.fromFields = function (fields) {
313
+ return AddAuthorizedUserEvent.reified().new({
314
+ signer: (0, reified_1.decodeFromFields)("address", fields.signer),
315
+ users: (0, reified_1.decodeFromFields)(reified.vector("address"), fields.users),
316
+ });
317
+ };
318
+ AddAuthorizedUserEvent.fromFieldsWithTypes = function (item) {
319
+ if (!isAddAuthorizedUserEvent(item.type)) {
320
+ throw new Error("not a AddAuthorizedUserEvent type");
321
+ }
322
+ return AddAuthorizedUserEvent.reified().new({
323
+ signer: (0, reified_1.decodeFromFieldsWithTypes)("address", item.fields.signer),
324
+ users: (0, reified_1.decodeFromFieldsWithTypes)(reified.vector("address"), item.fields.users),
325
+ });
326
+ };
327
+ AddAuthorizedUserEvent.fromBcs = function (data) {
328
+ return AddAuthorizedUserEvent.fromFields(AddAuthorizedUserEvent.bcs.parse(data));
329
+ };
330
+ AddAuthorizedUserEvent.prototype.toJSONField = function () {
331
+ return {
332
+ signer: this.signer,
333
+ users: (0, reified_1.fieldToJSON)("vector<address>", this.users),
334
+ };
335
+ };
336
+ AddAuthorizedUserEvent.prototype.toJSON = function () {
337
+ return __assign({ $typeName: this.$typeName, $typeArgs: this.$typeArgs }, this.toJSONField());
338
+ };
339
+ AddAuthorizedUserEvent.fromJSONField = function (field) {
340
+ return AddAuthorizedUserEvent.reified().new({
341
+ signer: (0, reified_1.decodeFromJSONField)("address", field.signer),
342
+ users: (0, reified_1.decodeFromJSONField)(reified.vector("address"), field.users),
343
+ });
344
+ };
345
+ AddAuthorizedUserEvent.fromJSON = function (json) {
346
+ if (json.$typeName !== AddAuthorizedUserEvent.$typeName) {
347
+ throw new Error("not a WithTwoGenerics json object");
348
+ }
349
+ return AddAuthorizedUserEvent.fromJSONField(json);
350
+ };
351
+ AddAuthorizedUserEvent.fromSuiParsedData = function (content) {
352
+ if (content.dataType !== "moveObject") {
353
+ throw new Error("not an object");
354
+ }
355
+ if (!isAddAuthorizedUserEvent(content.type)) {
356
+ throw new Error("object at ".concat(content.fields.id, " is not a AddAuthorizedUserEvent object"));
357
+ }
358
+ return AddAuthorizedUserEvent.fromFieldsWithTypes(content);
359
+ };
360
+ AddAuthorizedUserEvent.fetch = function (client, id) {
361
+ return __awaiter(this, void 0, void 0, function () {
362
+ var res;
363
+ var _a, _b;
364
+ return __generator(this, function (_c) {
365
+ switch (_c.label) {
366
+ case 0: return [4 /*yield*/, client.getObject({ id: id, options: { showBcs: true } })];
367
+ case 1:
368
+ res = _c.sent();
369
+ if (res.error) {
370
+ throw new Error("error fetching AddAuthorizedUserEvent object at id ".concat(id, ": ").concat(res.error.code));
371
+ }
372
+ if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.bcs) === null || _b === void 0 ? void 0 : _b.dataType) !== "moveObject" || !isAddAuthorizedUserEvent(res.data.bcs.type)) {
373
+ throw new Error("object at id ".concat(id, " is not a AddAuthorizedUserEvent object"));
374
+ }
375
+ return [2 /*return*/, AddAuthorizedUserEvent.fromBcs((0, bcs_1.fromB64)(res.data.bcs.bcsBytes))];
376
+ }
377
+ });
378
+ });
379
+ };
380
+ AddAuthorizedUserEvent.$typeName = "0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455::tds_registry_authorized_entry::AddAuthorizedUserEvent";
381
+ AddAuthorizedUserEvent.$numTypeParams = 0;
382
+ return AddAuthorizedUserEvent;
383
+ }());
384
+ exports.AddAuthorizedUserEvent = AddAuthorizedUserEvent;
385
+ /* ============================== IncentiviseEvent =============================== */
386
+ function isIncentiviseEvent(type) {
387
+ type = (0, util_1.compressSuiType)(type);
388
+ return type === "0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455::tds_registry_authorized_entry::IncentiviseEvent";
389
+ }
390
+ exports.isIncentiviseEvent = isIncentiviseEvent;
391
+ var IncentiviseEvent = /** @class */ (function () {
392
+ function IncentiviseEvent(typeArgs, fields) {
393
+ this.$typeName = IncentiviseEvent.$typeName;
394
+ this.$fullTypeName = util_1.composeSuiType.apply(void 0, __spreadArray([IncentiviseEvent.$typeName], __read(typeArgs), false));
395
+ this.$typeArgs = typeArgs;
396
+ this.signer = fields.signer;
397
+ this.token = fields.token;
398
+ this.amount = fields.amount;
399
+ }
400
+ IncentiviseEvent.reified = function () {
401
+ var _this = this;
402
+ return {
403
+ typeName: IncentiviseEvent.$typeName,
404
+ fullTypeName: util_1.composeSuiType.apply(void 0, __spreadArray([IncentiviseEvent.$typeName], [], false)),
405
+ typeArgs: [],
406
+ reifiedTypeArgs: [],
407
+ fromFields: function (fields) { return IncentiviseEvent.fromFields(fields); },
408
+ fromFieldsWithTypes: function (item) { return IncentiviseEvent.fromFieldsWithTypes(item); },
409
+ fromBcs: function (data) { return IncentiviseEvent.fromBcs(data); },
410
+ bcs: IncentiviseEvent.bcs,
411
+ fromJSONField: function (field) { return IncentiviseEvent.fromJSONField(field); },
412
+ fromJSON: function (json) { return IncentiviseEvent.fromJSON(json); },
413
+ fromSuiParsedData: function (content) { return IncentiviseEvent.fromSuiParsedData(content); },
414
+ fetch: function (client, id) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
415
+ return [2 /*return*/, IncentiviseEvent.fetch(client, id)];
416
+ }); }); },
417
+ new: function (fields) {
418
+ return new IncentiviseEvent([], fields);
419
+ },
420
+ kind: "StructClassReified",
421
+ };
422
+ };
423
+ Object.defineProperty(IncentiviseEvent, "r", {
424
+ get: function () {
425
+ return IncentiviseEvent.reified();
426
+ },
427
+ enumerable: false,
428
+ configurable: true
429
+ });
430
+ IncentiviseEvent.phantom = function () {
431
+ return (0, reified_1.phantom)(IncentiviseEvent.reified());
432
+ };
433
+ Object.defineProperty(IncentiviseEvent, "p", {
434
+ get: function () {
435
+ return IncentiviseEvent.phantom();
436
+ },
437
+ enumerable: false,
438
+ configurable: true
439
+ });
440
+ Object.defineProperty(IncentiviseEvent, "bcs", {
441
+ get: function () {
442
+ return bcs_1.bcs.struct("IncentiviseEvent", {
443
+ 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); } }),
444
+ token: structs_1.TypeName.bcs,
445
+ amount: bcs_1.bcs.u64(),
446
+ });
447
+ },
448
+ enumerable: false,
449
+ configurable: true
450
+ });
451
+ IncentiviseEvent.fromFields = function (fields) {
452
+ return IncentiviseEvent.reified().new({
453
+ signer: (0, reified_1.decodeFromFields)("address", fields.signer),
454
+ token: (0, reified_1.decodeFromFields)(structs_1.TypeName.reified(), fields.token),
455
+ amount: (0, reified_1.decodeFromFields)("u64", fields.amount),
456
+ });
457
+ };
458
+ IncentiviseEvent.fromFieldsWithTypes = function (item) {
459
+ if (!isIncentiviseEvent(item.type)) {
460
+ throw new Error("not a IncentiviseEvent type");
461
+ }
462
+ return IncentiviseEvent.reified().new({
463
+ signer: (0, reified_1.decodeFromFieldsWithTypes)("address", item.fields.signer),
464
+ token: (0, reified_1.decodeFromFieldsWithTypes)(structs_1.TypeName.reified(), item.fields.token),
465
+ amount: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.amount),
466
+ });
467
+ };
468
+ IncentiviseEvent.fromBcs = function (data) {
469
+ return IncentiviseEvent.fromFields(IncentiviseEvent.bcs.parse(data));
470
+ };
471
+ IncentiviseEvent.prototype.toJSONField = function () {
472
+ return {
473
+ signer: this.signer,
474
+ token: this.token.toJSONField(),
475
+ amount: this.amount.toString(),
476
+ };
477
+ };
478
+ IncentiviseEvent.prototype.toJSON = function () {
479
+ return __assign({ $typeName: this.$typeName, $typeArgs: this.$typeArgs }, this.toJSONField());
480
+ };
481
+ IncentiviseEvent.fromJSONField = function (field) {
482
+ return IncentiviseEvent.reified().new({
483
+ signer: (0, reified_1.decodeFromJSONField)("address", field.signer),
484
+ token: (0, reified_1.decodeFromJSONField)(structs_1.TypeName.reified(), field.token),
485
+ amount: (0, reified_1.decodeFromJSONField)("u64", field.amount),
486
+ });
487
+ };
488
+ IncentiviseEvent.fromJSON = function (json) {
489
+ if (json.$typeName !== IncentiviseEvent.$typeName) {
490
+ throw new Error("not a WithTwoGenerics json object");
491
+ }
492
+ return IncentiviseEvent.fromJSONField(json);
493
+ };
494
+ IncentiviseEvent.fromSuiParsedData = function (content) {
495
+ if (content.dataType !== "moveObject") {
496
+ throw new Error("not an object");
497
+ }
498
+ if (!isIncentiviseEvent(content.type)) {
499
+ throw new Error("object at ".concat(content.fields.id, " is not a IncentiviseEvent object"));
500
+ }
501
+ return IncentiviseEvent.fromFieldsWithTypes(content);
502
+ };
503
+ IncentiviseEvent.fetch = function (client, id) {
504
+ return __awaiter(this, void 0, void 0, function () {
505
+ var res;
506
+ var _a, _b;
507
+ return __generator(this, function (_c) {
508
+ switch (_c.label) {
509
+ case 0: return [4 /*yield*/, client.getObject({ id: id, options: { showBcs: true } })];
510
+ case 1:
511
+ res = _c.sent();
512
+ if (res.error) {
513
+ throw new Error("error fetching IncentiviseEvent object at id ".concat(id, ": ").concat(res.error.code));
514
+ }
515
+ if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.bcs) === null || _b === void 0 ? void 0 : _b.dataType) !== "moveObject" || !isIncentiviseEvent(res.data.bcs.type)) {
516
+ throw new Error("object at id ".concat(id, " is not a IncentiviseEvent object"));
517
+ }
518
+ return [2 /*return*/, IncentiviseEvent.fromBcs((0, bcs_1.fromB64)(res.data.bcs.bcsBytes))];
519
+ }
520
+ });
521
+ });
522
+ };
523
+ IncentiviseEvent.$typeName = "0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455::tds_registry_authorized_entry::IncentiviseEvent";
524
+ IncentiviseEvent.$numTypeParams = 0;
525
+ return IncentiviseEvent;
526
+ }());
527
+ exports.IncentiviseEvent = IncentiviseEvent;
528
+ /* ============================== NewPortfolioVaultEvent =============================== */
529
+ function isNewPortfolioVaultEvent(type) {
530
+ type = (0, util_1.compressSuiType)(type);
531
+ return (type === "0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455::tds_registry_authorized_entry::NewPortfolioVaultEvent");
532
+ }
533
+ exports.isNewPortfolioVaultEvent = isNewPortfolioVaultEvent;
534
+ var NewPortfolioVaultEvent = /** @class */ (function () {
535
+ function NewPortfolioVaultEvent(typeArgs, fields) {
536
+ this.$typeName = NewPortfolioVaultEvent.$typeName;
537
+ this.$fullTypeName = util_1.composeSuiType.apply(void 0, __spreadArray([NewPortfolioVaultEvent.$typeName], __read(typeArgs), false));
538
+ this.$typeArgs = typeArgs;
539
+ this.signer = fields.signer;
540
+ this.index = fields.index;
541
+ this.info = fields.info;
542
+ this.config = fields.config;
543
+ }
544
+ NewPortfolioVaultEvent.reified = function () {
545
+ var _this = this;
546
+ return {
547
+ typeName: NewPortfolioVaultEvent.$typeName,
548
+ fullTypeName: util_1.composeSuiType.apply(void 0, __spreadArray([NewPortfolioVaultEvent.$typeName], [], false)),
549
+ typeArgs: [],
550
+ reifiedTypeArgs: [],
551
+ fromFields: function (fields) { return NewPortfolioVaultEvent.fromFields(fields); },
552
+ fromFieldsWithTypes: function (item) { return NewPortfolioVaultEvent.fromFieldsWithTypes(item); },
553
+ fromBcs: function (data) { return NewPortfolioVaultEvent.fromBcs(data); },
554
+ bcs: NewPortfolioVaultEvent.bcs,
555
+ fromJSONField: function (field) { return NewPortfolioVaultEvent.fromJSONField(field); },
556
+ fromJSON: function (json) { return NewPortfolioVaultEvent.fromJSON(json); },
557
+ fromSuiParsedData: function (content) { return NewPortfolioVaultEvent.fromSuiParsedData(content); },
558
+ fetch: function (client, id) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
559
+ return [2 /*return*/, NewPortfolioVaultEvent.fetch(client, id)];
560
+ }); }); },
561
+ new: function (fields) {
562
+ return new NewPortfolioVaultEvent([], fields);
563
+ },
564
+ kind: "StructClassReified",
565
+ };
566
+ };
567
+ Object.defineProperty(NewPortfolioVaultEvent, "r", {
568
+ get: function () {
569
+ return NewPortfolioVaultEvent.reified();
570
+ },
571
+ enumerable: false,
572
+ configurable: true
573
+ });
574
+ NewPortfolioVaultEvent.phantom = function () {
575
+ return (0, reified_1.phantom)(NewPortfolioVaultEvent.reified());
576
+ };
577
+ Object.defineProperty(NewPortfolioVaultEvent, "p", {
578
+ get: function () {
579
+ return NewPortfolioVaultEvent.phantom();
580
+ },
581
+ enumerable: false,
582
+ configurable: true
583
+ });
584
+ Object.defineProperty(NewPortfolioVaultEvent, "bcs", {
585
+ get: function () {
586
+ return bcs_1.bcs.struct("NewPortfolioVaultEvent", {
587
+ 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); } }),
588
+ index: bcs_1.bcs.u64(),
589
+ info: structs_2.Info.bcs,
590
+ config: structs_2.Config.bcs,
591
+ });
592
+ },
593
+ enumerable: false,
594
+ configurable: true
595
+ });
596
+ NewPortfolioVaultEvent.fromFields = function (fields) {
597
+ return NewPortfolioVaultEvent.reified().new({
598
+ signer: (0, reified_1.decodeFromFields)("address", fields.signer),
599
+ index: (0, reified_1.decodeFromFields)("u64", fields.index),
600
+ info: (0, reified_1.decodeFromFields)(structs_2.Info.reified(), fields.info),
601
+ config: (0, reified_1.decodeFromFields)(structs_2.Config.reified(), fields.config),
602
+ });
603
+ };
604
+ NewPortfolioVaultEvent.fromFieldsWithTypes = function (item) {
605
+ if (!isNewPortfolioVaultEvent(item.type)) {
606
+ throw new Error("not a NewPortfolioVaultEvent type");
607
+ }
608
+ return NewPortfolioVaultEvent.reified().new({
609
+ signer: (0, reified_1.decodeFromFieldsWithTypes)("address", item.fields.signer),
610
+ index: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.index),
611
+ info: (0, reified_1.decodeFromFieldsWithTypes)(structs_2.Info.reified(), item.fields.info),
612
+ config: (0, reified_1.decodeFromFieldsWithTypes)(structs_2.Config.reified(), item.fields.config),
613
+ });
614
+ };
615
+ NewPortfolioVaultEvent.fromBcs = function (data) {
616
+ return NewPortfolioVaultEvent.fromFields(NewPortfolioVaultEvent.bcs.parse(data));
617
+ };
618
+ NewPortfolioVaultEvent.prototype.toJSONField = function () {
619
+ return {
620
+ signer: this.signer,
621
+ index: this.index.toString(),
622
+ info: this.info.toJSONField(),
623
+ config: this.config.toJSONField(),
624
+ };
625
+ };
626
+ NewPortfolioVaultEvent.prototype.toJSON = function () {
627
+ return __assign({ $typeName: this.$typeName, $typeArgs: this.$typeArgs }, this.toJSONField());
628
+ };
629
+ NewPortfolioVaultEvent.fromJSONField = function (field) {
630
+ return NewPortfolioVaultEvent.reified().new({
631
+ signer: (0, reified_1.decodeFromJSONField)("address", field.signer),
632
+ index: (0, reified_1.decodeFromJSONField)("u64", field.index),
633
+ info: (0, reified_1.decodeFromJSONField)(structs_2.Info.reified(), field.info),
634
+ config: (0, reified_1.decodeFromJSONField)(structs_2.Config.reified(), field.config),
635
+ });
636
+ };
637
+ NewPortfolioVaultEvent.fromJSON = function (json) {
638
+ if (json.$typeName !== NewPortfolioVaultEvent.$typeName) {
639
+ throw new Error("not a WithTwoGenerics json object");
640
+ }
641
+ return NewPortfolioVaultEvent.fromJSONField(json);
642
+ };
643
+ NewPortfolioVaultEvent.fromSuiParsedData = function (content) {
644
+ if (content.dataType !== "moveObject") {
645
+ throw new Error("not an object");
646
+ }
647
+ if (!isNewPortfolioVaultEvent(content.type)) {
648
+ throw new Error("object at ".concat(content.fields.id, " is not a NewPortfolioVaultEvent object"));
649
+ }
650
+ return NewPortfolioVaultEvent.fromFieldsWithTypes(content);
651
+ };
652
+ NewPortfolioVaultEvent.fetch = function (client, id) {
653
+ return __awaiter(this, void 0, void 0, function () {
654
+ var res;
655
+ var _a, _b;
656
+ return __generator(this, function (_c) {
657
+ switch (_c.label) {
658
+ case 0: return [4 /*yield*/, client.getObject({ id: id, options: { showBcs: true } })];
659
+ case 1:
660
+ res = _c.sent();
661
+ if (res.error) {
662
+ throw new Error("error fetching NewPortfolioVaultEvent object at id ".concat(id, ": ").concat(res.error.code));
663
+ }
664
+ if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.bcs) === null || _b === void 0 ? void 0 : _b.dataType) !== "moveObject" || !isNewPortfolioVaultEvent(res.data.bcs.type)) {
665
+ throw new Error("object at id ".concat(id, " is not a NewPortfolioVaultEvent object"));
666
+ }
667
+ return [2 /*return*/, NewPortfolioVaultEvent.fromBcs((0, bcs_1.fromB64)(res.data.bcs.bcsBytes))];
668
+ }
669
+ });
670
+ });
671
+ };
672
+ NewPortfolioVaultEvent.$typeName = "0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455::tds_registry_authorized_entry::NewPortfolioVaultEvent";
673
+ NewPortfolioVaultEvent.$numTypeParams = 0;
674
+ return NewPortfolioVaultEvent;
675
+ }());
676
+ exports.NewPortfolioVaultEvent = NewPortfolioVaultEvent;
677
+ /* ============================== RemoveAuthorizedUserEvent =============================== */
678
+ function isRemoveAuthorizedUserEvent(type) {
679
+ type = (0, util_1.compressSuiType)(type);
680
+ return (type ===
681
+ "0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455::tds_registry_authorized_entry::RemoveAuthorizedUserEvent");
682
+ }
683
+ exports.isRemoveAuthorizedUserEvent = isRemoveAuthorizedUserEvent;
684
+ var RemoveAuthorizedUserEvent = /** @class */ (function () {
685
+ function RemoveAuthorizedUserEvent(typeArgs, fields) {
686
+ this.$typeName = RemoveAuthorizedUserEvent.$typeName;
687
+ this.$fullTypeName = util_1.composeSuiType.apply(void 0, __spreadArray([RemoveAuthorizedUserEvent.$typeName], __read(typeArgs), false));
688
+ this.$typeArgs = typeArgs;
689
+ this.signer = fields.signer;
690
+ this.users = fields.users;
691
+ }
692
+ RemoveAuthorizedUserEvent.reified = function () {
693
+ var _this = this;
694
+ return {
695
+ typeName: RemoveAuthorizedUserEvent.$typeName,
696
+ fullTypeName: util_1.composeSuiType.apply(void 0, __spreadArray([RemoveAuthorizedUserEvent.$typeName], [], false)),
697
+ typeArgs: [],
698
+ reifiedTypeArgs: [],
699
+ fromFields: function (fields) { return RemoveAuthorizedUserEvent.fromFields(fields); },
700
+ fromFieldsWithTypes: function (item) { return RemoveAuthorizedUserEvent.fromFieldsWithTypes(item); },
701
+ fromBcs: function (data) { return RemoveAuthorizedUserEvent.fromBcs(data); },
702
+ bcs: RemoveAuthorizedUserEvent.bcs,
703
+ fromJSONField: function (field) { return RemoveAuthorizedUserEvent.fromJSONField(field); },
704
+ fromJSON: function (json) { return RemoveAuthorizedUserEvent.fromJSON(json); },
705
+ fromSuiParsedData: function (content) { return RemoveAuthorizedUserEvent.fromSuiParsedData(content); },
706
+ fetch: function (client, id) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
707
+ return [2 /*return*/, RemoveAuthorizedUserEvent.fetch(client, id)];
708
+ }); }); },
709
+ new: function (fields) {
710
+ return new RemoveAuthorizedUserEvent([], fields);
711
+ },
712
+ kind: "StructClassReified",
713
+ };
714
+ };
715
+ Object.defineProperty(RemoveAuthorizedUserEvent, "r", {
716
+ get: function () {
717
+ return RemoveAuthorizedUserEvent.reified();
718
+ },
719
+ enumerable: false,
720
+ configurable: true
721
+ });
722
+ RemoveAuthorizedUserEvent.phantom = function () {
723
+ return (0, reified_1.phantom)(RemoveAuthorizedUserEvent.reified());
724
+ };
725
+ Object.defineProperty(RemoveAuthorizedUserEvent, "p", {
726
+ get: function () {
727
+ return RemoveAuthorizedUserEvent.phantom();
728
+ },
729
+ enumerable: false,
730
+ configurable: true
731
+ });
732
+ Object.defineProperty(RemoveAuthorizedUserEvent, "bcs", {
733
+ get: function () {
734
+ return bcs_1.bcs.struct("RemoveAuthorizedUserEvent", {
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
+ 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); } })),
737
+ });
738
+ },
739
+ enumerable: false,
740
+ configurable: true
741
+ });
742
+ RemoveAuthorizedUserEvent.fromFields = function (fields) {
743
+ return RemoveAuthorizedUserEvent.reified().new({
744
+ signer: (0, reified_1.decodeFromFields)("address", fields.signer),
745
+ users: (0, reified_1.decodeFromFields)(reified.vector("address"), fields.users),
746
+ });
747
+ };
748
+ RemoveAuthorizedUserEvent.fromFieldsWithTypes = function (item) {
749
+ if (!isRemoveAuthorizedUserEvent(item.type)) {
750
+ throw new Error("not a RemoveAuthorizedUserEvent type");
751
+ }
752
+ return RemoveAuthorizedUserEvent.reified().new({
753
+ signer: (0, reified_1.decodeFromFieldsWithTypes)("address", item.fields.signer),
754
+ users: (0, reified_1.decodeFromFieldsWithTypes)(reified.vector("address"), item.fields.users),
755
+ });
756
+ };
757
+ RemoveAuthorizedUserEvent.fromBcs = function (data) {
758
+ return RemoveAuthorizedUserEvent.fromFields(RemoveAuthorizedUserEvent.bcs.parse(data));
759
+ };
760
+ RemoveAuthorizedUserEvent.prototype.toJSONField = function () {
761
+ return {
762
+ signer: this.signer,
763
+ users: (0, reified_1.fieldToJSON)("vector<address>", this.users),
764
+ };
765
+ };
766
+ RemoveAuthorizedUserEvent.prototype.toJSON = function () {
767
+ return __assign({ $typeName: this.$typeName, $typeArgs: this.$typeArgs }, this.toJSONField());
768
+ };
769
+ RemoveAuthorizedUserEvent.fromJSONField = function (field) {
770
+ return RemoveAuthorizedUserEvent.reified().new({
771
+ signer: (0, reified_1.decodeFromJSONField)("address", field.signer),
772
+ users: (0, reified_1.decodeFromJSONField)(reified.vector("address"), field.users),
773
+ });
774
+ };
775
+ RemoveAuthorizedUserEvent.fromJSON = function (json) {
776
+ if (json.$typeName !== RemoveAuthorizedUserEvent.$typeName) {
777
+ throw new Error("not a WithTwoGenerics json object");
778
+ }
779
+ return RemoveAuthorizedUserEvent.fromJSONField(json);
780
+ };
781
+ RemoveAuthorizedUserEvent.fromSuiParsedData = function (content) {
782
+ if (content.dataType !== "moveObject") {
783
+ throw new Error("not an object");
784
+ }
785
+ if (!isRemoveAuthorizedUserEvent(content.type)) {
786
+ throw new Error("object at ".concat(content.fields.id, " is not a RemoveAuthorizedUserEvent object"));
787
+ }
788
+ return RemoveAuthorizedUserEvent.fromFieldsWithTypes(content);
789
+ };
790
+ RemoveAuthorizedUserEvent.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 RemoveAuthorizedUserEvent 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" || !isRemoveAuthorizedUserEvent(res.data.bcs.type)) {
803
+ throw new Error("object at id ".concat(id, " is not a RemoveAuthorizedUserEvent object"));
804
+ }
805
+ return [2 /*return*/, RemoveAuthorizedUserEvent.fromBcs((0, bcs_1.fromB64)(res.data.bcs.bcsBytes))];
806
+ }
807
+ });
808
+ });
809
+ };
810
+ RemoveAuthorizedUserEvent.$typeName = "0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455::tds_registry_authorized_entry::RemoveAuthorizedUserEvent";
811
+ RemoveAuthorizedUserEvent.$numTypeParams = 0;
812
+ return RemoveAuthorizedUserEvent;
813
+ }());
814
+ exports.RemoveAuthorizedUserEvent = RemoveAuthorizedUserEvent;
815
+ /* ============================== ResumeTransactionEvent =============================== */
816
+ function isResumeTransactionEvent(type) {
817
+ type = (0, util_1.compressSuiType)(type);
818
+ return (type === "0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455::tds_registry_authorized_entry::ResumeTransactionEvent");
819
+ }
820
+ exports.isResumeTransactionEvent = isResumeTransactionEvent;
821
+ var ResumeTransactionEvent = /** @class */ (function () {
822
+ function ResumeTransactionEvent(typeArgs, fields) {
823
+ this.$typeName = ResumeTransactionEvent.$typeName;
824
+ this.$fullTypeName = util_1.composeSuiType.apply(void 0, __spreadArray([ResumeTransactionEvent.$typeName], __read(typeArgs), false));
825
+ this.$typeArgs = typeArgs;
826
+ this.signer = fields.signer;
827
+ }
828
+ ResumeTransactionEvent.reified = function () {
829
+ var _this = this;
830
+ return {
831
+ typeName: ResumeTransactionEvent.$typeName,
832
+ fullTypeName: util_1.composeSuiType.apply(void 0, __spreadArray([ResumeTransactionEvent.$typeName], [], false)),
833
+ typeArgs: [],
834
+ reifiedTypeArgs: [],
835
+ fromFields: function (fields) { return ResumeTransactionEvent.fromFields(fields); },
836
+ fromFieldsWithTypes: function (item) { return ResumeTransactionEvent.fromFieldsWithTypes(item); },
837
+ fromBcs: function (data) { return ResumeTransactionEvent.fromBcs(data); },
838
+ bcs: ResumeTransactionEvent.bcs,
839
+ fromJSONField: function (field) { return ResumeTransactionEvent.fromJSONField(field); },
840
+ fromJSON: function (json) { return ResumeTransactionEvent.fromJSON(json); },
841
+ fromSuiParsedData: function (content) { return ResumeTransactionEvent.fromSuiParsedData(content); },
842
+ fetch: function (client, id) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
843
+ return [2 /*return*/, ResumeTransactionEvent.fetch(client, id)];
844
+ }); }); },
845
+ new: function (fields) {
846
+ return new ResumeTransactionEvent([], fields);
847
+ },
848
+ kind: "StructClassReified",
849
+ };
850
+ };
851
+ Object.defineProperty(ResumeTransactionEvent, "r", {
852
+ get: function () {
853
+ return ResumeTransactionEvent.reified();
854
+ },
855
+ enumerable: false,
856
+ configurable: true
857
+ });
858
+ ResumeTransactionEvent.phantom = function () {
859
+ return (0, reified_1.phantom)(ResumeTransactionEvent.reified());
860
+ };
861
+ Object.defineProperty(ResumeTransactionEvent, "p", {
862
+ get: function () {
863
+ return ResumeTransactionEvent.phantom();
864
+ },
865
+ enumerable: false,
866
+ configurable: true
867
+ });
868
+ Object.defineProperty(ResumeTransactionEvent, "bcs", {
869
+ get: function () {
870
+ return bcs_1.bcs.struct("ResumeTransactionEvent", {
871
+ 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); } }),
872
+ });
873
+ },
874
+ enumerable: false,
875
+ configurable: true
876
+ });
877
+ ResumeTransactionEvent.fromFields = function (fields) {
878
+ return ResumeTransactionEvent.reified().new({ signer: (0, reified_1.decodeFromFields)("address", fields.signer) });
879
+ };
880
+ ResumeTransactionEvent.fromFieldsWithTypes = function (item) {
881
+ if (!isResumeTransactionEvent(item.type)) {
882
+ throw new Error("not a ResumeTransactionEvent type");
883
+ }
884
+ return ResumeTransactionEvent.reified().new({ signer: (0, reified_1.decodeFromFieldsWithTypes)("address", item.fields.signer) });
885
+ };
886
+ ResumeTransactionEvent.fromBcs = function (data) {
887
+ return ResumeTransactionEvent.fromFields(ResumeTransactionEvent.bcs.parse(data));
888
+ };
889
+ ResumeTransactionEvent.prototype.toJSONField = function () {
890
+ return {
891
+ signer: this.signer,
892
+ };
893
+ };
894
+ ResumeTransactionEvent.prototype.toJSON = function () {
895
+ return __assign({ $typeName: this.$typeName, $typeArgs: this.$typeArgs }, this.toJSONField());
896
+ };
897
+ ResumeTransactionEvent.fromJSONField = function (field) {
898
+ return ResumeTransactionEvent.reified().new({ signer: (0, reified_1.decodeFromJSONField)("address", field.signer) });
899
+ };
900
+ ResumeTransactionEvent.fromJSON = function (json) {
901
+ if (json.$typeName !== ResumeTransactionEvent.$typeName) {
902
+ throw new Error("not a WithTwoGenerics json object");
903
+ }
904
+ return ResumeTransactionEvent.fromJSONField(json);
905
+ };
906
+ ResumeTransactionEvent.fromSuiParsedData = function (content) {
907
+ if (content.dataType !== "moveObject") {
908
+ throw new Error("not an object");
909
+ }
910
+ if (!isResumeTransactionEvent(content.type)) {
911
+ throw new Error("object at ".concat(content.fields.id, " is not a ResumeTransactionEvent object"));
912
+ }
913
+ return ResumeTransactionEvent.fromFieldsWithTypes(content);
914
+ };
915
+ ResumeTransactionEvent.fetch = function (client, id) {
916
+ return __awaiter(this, void 0, void 0, function () {
917
+ var res;
918
+ var _a, _b;
919
+ return __generator(this, function (_c) {
920
+ switch (_c.label) {
921
+ case 0: return [4 /*yield*/, client.getObject({ id: id, options: { showBcs: true } })];
922
+ case 1:
923
+ res = _c.sent();
924
+ if (res.error) {
925
+ throw new Error("error fetching ResumeTransactionEvent object at id ".concat(id, ": ").concat(res.error.code));
926
+ }
927
+ if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.bcs) === null || _b === void 0 ? void 0 : _b.dataType) !== "moveObject" || !isResumeTransactionEvent(res.data.bcs.type)) {
928
+ throw new Error("object at id ".concat(id, " is not a ResumeTransactionEvent object"));
929
+ }
930
+ return [2 /*return*/, ResumeTransactionEvent.fromBcs((0, bcs_1.fromB64)(res.data.bcs.bcsBytes))];
931
+ }
932
+ });
933
+ });
934
+ };
935
+ ResumeTransactionEvent.$typeName = "0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455::tds_registry_authorized_entry::ResumeTransactionEvent";
936
+ ResumeTransactionEvent.$numTypeParams = 0;
937
+ return ResumeTransactionEvent;
938
+ }());
939
+ exports.ResumeTransactionEvent = ResumeTransactionEvent;
940
+ /* ============================== SetAvailableIncentiveAmountEvent =============================== */
941
+ function isSetAvailableIncentiveAmountEvent(type) {
942
+ type = (0, util_1.compressSuiType)(type);
943
+ return (type ===
944
+ "0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455::tds_registry_authorized_entry::SetAvailableIncentiveAmountEvent");
945
+ }
946
+ exports.isSetAvailableIncentiveAmountEvent = isSetAvailableIncentiveAmountEvent;
947
+ var SetAvailableIncentiveAmountEvent = /** @class */ (function () {
948
+ function SetAvailableIncentiveAmountEvent(typeArgs, fields) {
949
+ this.$typeName = SetAvailableIncentiveAmountEvent.$typeName;
950
+ this.$fullTypeName = util_1.composeSuiType.apply(void 0, __spreadArray([SetAvailableIncentiveAmountEvent.$typeName], __read(typeArgs), false));
951
+ this.$typeArgs = typeArgs;
952
+ this.signer = fields.signer;
953
+ this.index = fields.index;
954
+ this.prevAmount = fields.prevAmount;
955
+ this.amount = fields.amount;
956
+ }
957
+ SetAvailableIncentiveAmountEvent.reified = function () {
958
+ var _this = this;
959
+ return {
960
+ typeName: SetAvailableIncentiveAmountEvent.$typeName,
961
+ fullTypeName: util_1.composeSuiType.apply(void 0, __spreadArray([SetAvailableIncentiveAmountEvent.$typeName], [], false)),
962
+ typeArgs: [],
963
+ reifiedTypeArgs: [],
964
+ fromFields: function (fields) { return SetAvailableIncentiveAmountEvent.fromFields(fields); },
965
+ fromFieldsWithTypes: function (item) { return SetAvailableIncentiveAmountEvent.fromFieldsWithTypes(item); },
966
+ fromBcs: function (data) { return SetAvailableIncentiveAmountEvent.fromBcs(data); },
967
+ bcs: SetAvailableIncentiveAmountEvent.bcs,
968
+ fromJSONField: function (field) { return SetAvailableIncentiveAmountEvent.fromJSONField(field); },
969
+ fromJSON: function (json) { return SetAvailableIncentiveAmountEvent.fromJSON(json); },
970
+ fromSuiParsedData: function (content) { return SetAvailableIncentiveAmountEvent.fromSuiParsedData(content); },
971
+ fetch: function (client, id) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
972
+ return [2 /*return*/, SetAvailableIncentiveAmountEvent.fetch(client, id)];
973
+ }); }); },
974
+ new: function (fields) {
975
+ return new SetAvailableIncentiveAmountEvent([], fields);
976
+ },
977
+ kind: "StructClassReified",
978
+ };
979
+ };
980
+ Object.defineProperty(SetAvailableIncentiveAmountEvent, "r", {
981
+ get: function () {
982
+ return SetAvailableIncentiveAmountEvent.reified();
983
+ },
984
+ enumerable: false,
985
+ configurable: true
986
+ });
987
+ SetAvailableIncentiveAmountEvent.phantom = function () {
988
+ return (0, reified_1.phantom)(SetAvailableIncentiveAmountEvent.reified());
989
+ };
990
+ Object.defineProperty(SetAvailableIncentiveAmountEvent, "p", {
991
+ get: function () {
992
+ return SetAvailableIncentiveAmountEvent.phantom();
993
+ },
994
+ enumerable: false,
995
+ configurable: true
996
+ });
997
+ Object.defineProperty(SetAvailableIncentiveAmountEvent, "bcs", {
998
+ get: function () {
999
+ return bcs_1.bcs.struct("SetAvailableIncentiveAmountEvent", {
1000
+ 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); } }),
1001
+ index: bcs_1.bcs.u64(),
1002
+ prev_amount: bcs_1.bcs.u64(),
1003
+ amount: bcs_1.bcs.u64(),
1004
+ });
1005
+ },
1006
+ enumerable: false,
1007
+ configurable: true
1008
+ });
1009
+ SetAvailableIncentiveAmountEvent.fromFields = function (fields) {
1010
+ return SetAvailableIncentiveAmountEvent.reified().new({
1011
+ signer: (0, reified_1.decodeFromFields)("address", fields.signer),
1012
+ index: (0, reified_1.decodeFromFields)("u64", fields.index),
1013
+ prevAmount: (0, reified_1.decodeFromFields)("u64", fields.prev_amount),
1014
+ amount: (0, reified_1.decodeFromFields)("u64", fields.amount),
1015
+ });
1016
+ };
1017
+ SetAvailableIncentiveAmountEvent.fromFieldsWithTypes = function (item) {
1018
+ if (!isSetAvailableIncentiveAmountEvent(item.type)) {
1019
+ throw new Error("not a SetAvailableIncentiveAmountEvent type");
1020
+ }
1021
+ return SetAvailableIncentiveAmountEvent.reified().new({
1022
+ signer: (0, reified_1.decodeFromFieldsWithTypes)("address", item.fields.signer),
1023
+ index: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.index),
1024
+ prevAmount: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.prev_amount),
1025
+ amount: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.amount),
1026
+ });
1027
+ };
1028
+ SetAvailableIncentiveAmountEvent.fromBcs = function (data) {
1029
+ return SetAvailableIncentiveAmountEvent.fromFields(SetAvailableIncentiveAmountEvent.bcs.parse(data));
1030
+ };
1031
+ SetAvailableIncentiveAmountEvent.prototype.toJSONField = function () {
1032
+ return {
1033
+ signer: this.signer,
1034
+ index: this.index.toString(),
1035
+ prevAmount: this.prevAmount.toString(),
1036
+ amount: this.amount.toString(),
1037
+ };
1038
+ };
1039
+ SetAvailableIncentiveAmountEvent.prototype.toJSON = function () {
1040
+ return __assign({ $typeName: this.$typeName, $typeArgs: this.$typeArgs }, this.toJSONField());
1041
+ };
1042
+ SetAvailableIncentiveAmountEvent.fromJSONField = function (field) {
1043
+ return SetAvailableIncentiveAmountEvent.reified().new({
1044
+ signer: (0, reified_1.decodeFromJSONField)("address", field.signer),
1045
+ index: (0, reified_1.decodeFromJSONField)("u64", field.index),
1046
+ prevAmount: (0, reified_1.decodeFromJSONField)("u64", field.prevAmount),
1047
+ amount: (0, reified_1.decodeFromJSONField)("u64", field.amount),
1048
+ });
1049
+ };
1050
+ SetAvailableIncentiveAmountEvent.fromJSON = function (json) {
1051
+ if (json.$typeName !== SetAvailableIncentiveAmountEvent.$typeName) {
1052
+ throw new Error("not a WithTwoGenerics json object");
1053
+ }
1054
+ return SetAvailableIncentiveAmountEvent.fromJSONField(json);
1055
+ };
1056
+ SetAvailableIncentiveAmountEvent.fromSuiParsedData = function (content) {
1057
+ if (content.dataType !== "moveObject") {
1058
+ throw new Error("not an object");
1059
+ }
1060
+ if (!isSetAvailableIncentiveAmountEvent(content.type)) {
1061
+ throw new Error("object at ".concat(content.fields.id, " is not a SetAvailableIncentiveAmountEvent object"));
1062
+ }
1063
+ return SetAvailableIncentiveAmountEvent.fromFieldsWithTypes(content);
1064
+ };
1065
+ SetAvailableIncentiveAmountEvent.fetch = function (client, id) {
1066
+ return __awaiter(this, void 0, void 0, function () {
1067
+ var res;
1068
+ var _a, _b;
1069
+ return __generator(this, function (_c) {
1070
+ switch (_c.label) {
1071
+ case 0: return [4 /*yield*/, client.getObject({ id: id, options: { showBcs: true } })];
1072
+ case 1:
1073
+ res = _c.sent();
1074
+ if (res.error) {
1075
+ throw new Error("error fetching SetAvailableIncentiveAmountEvent object at id ".concat(id, ": ").concat(res.error.code));
1076
+ }
1077
+ if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.bcs) === null || _b === void 0 ? void 0 : _b.dataType) !== "moveObject" || !isSetAvailableIncentiveAmountEvent(res.data.bcs.type)) {
1078
+ throw new Error("object at id ".concat(id, " is not a SetAvailableIncentiveAmountEvent object"));
1079
+ }
1080
+ return [2 /*return*/, SetAvailableIncentiveAmountEvent.fromBcs((0, bcs_1.fromB64)(res.data.bcs.bcsBytes))];
1081
+ }
1082
+ });
1083
+ });
1084
+ };
1085
+ SetAvailableIncentiveAmountEvent.$typeName = "0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455::tds_registry_authorized_entry::SetAvailableIncentiveAmountEvent";
1086
+ SetAvailableIncentiveAmountEvent.$numTypeParams = 0;
1087
+ return SetAvailableIncentiveAmountEvent;
1088
+ }());
1089
+ exports.SetAvailableIncentiveAmountEvent = SetAvailableIncentiveAmountEvent;
1090
+ /* ============================== SuspendTransactionEvent =============================== */
1091
+ function isSuspendTransactionEvent(type) {
1092
+ type = (0, util_1.compressSuiType)(type);
1093
+ return (type ===
1094
+ "0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455::tds_registry_authorized_entry::SuspendTransactionEvent");
1095
+ }
1096
+ exports.isSuspendTransactionEvent = isSuspendTransactionEvent;
1097
+ var SuspendTransactionEvent = /** @class */ (function () {
1098
+ function SuspendTransactionEvent(typeArgs, fields) {
1099
+ this.$typeName = SuspendTransactionEvent.$typeName;
1100
+ this.$fullTypeName = util_1.composeSuiType.apply(void 0, __spreadArray([SuspendTransactionEvent.$typeName], __read(typeArgs), false));
1101
+ this.$typeArgs = typeArgs;
1102
+ this.signer = fields.signer;
1103
+ }
1104
+ SuspendTransactionEvent.reified = function () {
1105
+ var _this = this;
1106
+ return {
1107
+ typeName: SuspendTransactionEvent.$typeName,
1108
+ fullTypeName: util_1.composeSuiType.apply(void 0, __spreadArray([SuspendTransactionEvent.$typeName], [], false)),
1109
+ typeArgs: [],
1110
+ reifiedTypeArgs: [],
1111
+ fromFields: function (fields) { return SuspendTransactionEvent.fromFields(fields); },
1112
+ fromFieldsWithTypes: function (item) { return SuspendTransactionEvent.fromFieldsWithTypes(item); },
1113
+ fromBcs: function (data) { return SuspendTransactionEvent.fromBcs(data); },
1114
+ bcs: SuspendTransactionEvent.bcs,
1115
+ fromJSONField: function (field) { return SuspendTransactionEvent.fromJSONField(field); },
1116
+ fromJSON: function (json) { return SuspendTransactionEvent.fromJSON(json); },
1117
+ fromSuiParsedData: function (content) { return SuspendTransactionEvent.fromSuiParsedData(content); },
1118
+ fetch: function (client, id) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
1119
+ return [2 /*return*/, SuspendTransactionEvent.fetch(client, id)];
1120
+ }); }); },
1121
+ new: function (fields) {
1122
+ return new SuspendTransactionEvent([], fields);
1123
+ },
1124
+ kind: "StructClassReified",
1125
+ };
1126
+ };
1127
+ Object.defineProperty(SuspendTransactionEvent, "r", {
1128
+ get: function () {
1129
+ return SuspendTransactionEvent.reified();
1130
+ },
1131
+ enumerable: false,
1132
+ configurable: true
1133
+ });
1134
+ SuspendTransactionEvent.phantom = function () {
1135
+ return (0, reified_1.phantom)(SuspendTransactionEvent.reified());
1136
+ };
1137
+ Object.defineProperty(SuspendTransactionEvent, "p", {
1138
+ get: function () {
1139
+ return SuspendTransactionEvent.phantom();
1140
+ },
1141
+ enumerable: false,
1142
+ configurable: true
1143
+ });
1144
+ Object.defineProperty(SuspendTransactionEvent, "bcs", {
1145
+ get: function () {
1146
+ return bcs_1.bcs.struct("SuspendTransactionEvent", {
1147
+ 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); } }),
1148
+ });
1149
+ },
1150
+ enumerable: false,
1151
+ configurable: true
1152
+ });
1153
+ SuspendTransactionEvent.fromFields = function (fields) {
1154
+ return SuspendTransactionEvent.reified().new({ signer: (0, reified_1.decodeFromFields)("address", fields.signer) });
1155
+ };
1156
+ SuspendTransactionEvent.fromFieldsWithTypes = function (item) {
1157
+ if (!isSuspendTransactionEvent(item.type)) {
1158
+ throw new Error("not a SuspendTransactionEvent type");
1159
+ }
1160
+ return SuspendTransactionEvent.reified().new({ signer: (0, reified_1.decodeFromFieldsWithTypes)("address", item.fields.signer) });
1161
+ };
1162
+ SuspendTransactionEvent.fromBcs = function (data) {
1163
+ return SuspendTransactionEvent.fromFields(SuspendTransactionEvent.bcs.parse(data));
1164
+ };
1165
+ SuspendTransactionEvent.prototype.toJSONField = function () {
1166
+ return {
1167
+ signer: this.signer,
1168
+ };
1169
+ };
1170
+ SuspendTransactionEvent.prototype.toJSON = function () {
1171
+ return __assign({ $typeName: this.$typeName, $typeArgs: this.$typeArgs }, this.toJSONField());
1172
+ };
1173
+ SuspendTransactionEvent.fromJSONField = function (field) {
1174
+ return SuspendTransactionEvent.reified().new({ signer: (0, reified_1.decodeFromJSONField)("address", field.signer) });
1175
+ };
1176
+ SuspendTransactionEvent.fromJSON = function (json) {
1177
+ if (json.$typeName !== SuspendTransactionEvent.$typeName) {
1178
+ throw new Error("not a WithTwoGenerics json object");
1179
+ }
1180
+ return SuspendTransactionEvent.fromJSONField(json);
1181
+ };
1182
+ SuspendTransactionEvent.fromSuiParsedData = function (content) {
1183
+ if (content.dataType !== "moveObject") {
1184
+ throw new Error("not an object");
1185
+ }
1186
+ if (!isSuspendTransactionEvent(content.type)) {
1187
+ throw new Error("object at ".concat(content.fields.id, " is not a SuspendTransactionEvent object"));
1188
+ }
1189
+ return SuspendTransactionEvent.fromFieldsWithTypes(content);
1190
+ };
1191
+ SuspendTransactionEvent.fetch = function (client, id) {
1192
+ return __awaiter(this, void 0, void 0, function () {
1193
+ var res;
1194
+ var _a, _b;
1195
+ return __generator(this, function (_c) {
1196
+ switch (_c.label) {
1197
+ case 0: return [4 /*yield*/, client.getObject({ id: id, options: { showBcs: true } })];
1198
+ case 1:
1199
+ res = _c.sent();
1200
+ if (res.error) {
1201
+ throw new Error("error fetching SuspendTransactionEvent object at id ".concat(id, ": ").concat(res.error.code));
1202
+ }
1203
+ if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.bcs) === null || _b === void 0 ? void 0 : _b.dataType) !== "moveObject" || !isSuspendTransactionEvent(res.data.bcs.type)) {
1204
+ throw new Error("object at id ".concat(id, " is not a SuspendTransactionEvent object"));
1205
+ }
1206
+ return [2 /*return*/, SuspendTransactionEvent.fromBcs((0, bcs_1.fromB64)(res.data.bcs.bcsBytes))];
1207
+ }
1208
+ });
1209
+ });
1210
+ };
1211
+ SuspendTransactionEvent.$typeName = "0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455::tds_registry_authorized_entry::SuspendTransactionEvent";
1212
+ SuspendTransactionEvent.$numTypeParams = 0;
1213
+ return SuspendTransactionEvent;
1214
+ }());
1215
+ exports.SuspendTransactionEvent = SuspendTransactionEvent;
1216
+ /* ============================== UpgradeRegistryEvent =============================== */
1217
+ function isUpgradeRegistryEvent(type) {
1218
+ type = (0, util_1.compressSuiType)(type);
1219
+ return (type === "0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455::tds_registry_authorized_entry::UpgradeRegistryEvent");
1220
+ }
1221
+ exports.isUpgradeRegistryEvent = isUpgradeRegistryEvent;
1222
+ var UpgradeRegistryEvent = /** @class */ (function () {
1223
+ function UpgradeRegistryEvent(typeArgs, fields) {
1224
+ this.$typeName = UpgradeRegistryEvent.$typeName;
1225
+ this.$fullTypeName = util_1.composeSuiType.apply(void 0, __spreadArray([UpgradeRegistryEvent.$typeName], __read(typeArgs), false));
1226
+ this.$typeArgs = typeArgs;
1227
+ this.signer = fields.signer;
1228
+ this.prevVersion = fields.prevVersion;
1229
+ this.version = fields.version;
1230
+ }
1231
+ UpgradeRegistryEvent.reified = function () {
1232
+ var _this = this;
1233
+ return {
1234
+ typeName: UpgradeRegistryEvent.$typeName,
1235
+ fullTypeName: util_1.composeSuiType.apply(void 0, __spreadArray([UpgradeRegistryEvent.$typeName], [], false)),
1236
+ typeArgs: [],
1237
+ reifiedTypeArgs: [],
1238
+ fromFields: function (fields) { return UpgradeRegistryEvent.fromFields(fields); },
1239
+ fromFieldsWithTypes: function (item) { return UpgradeRegistryEvent.fromFieldsWithTypes(item); },
1240
+ fromBcs: function (data) { return UpgradeRegistryEvent.fromBcs(data); },
1241
+ bcs: UpgradeRegistryEvent.bcs,
1242
+ fromJSONField: function (field) { return UpgradeRegistryEvent.fromJSONField(field); },
1243
+ fromJSON: function (json) { return UpgradeRegistryEvent.fromJSON(json); },
1244
+ fromSuiParsedData: function (content) { return UpgradeRegistryEvent.fromSuiParsedData(content); },
1245
+ fetch: function (client, id) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
1246
+ return [2 /*return*/, UpgradeRegistryEvent.fetch(client, id)];
1247
+ }); }); },
1248
+ new: function (fields) {
1249
+ return new UpgradeRegistryEvent([], fields);
1250
+ },
1251
+ kind: "StructClassReified",
1252
+ };
1253
+ };
1254
+ Object.defineProperty(UpgradeRegistryEvent, "r", {
1255
+ get: function () {
1256
+ return UpgradeRegistryEvent.reified();
1257
+ },
1258
+ enumerable: false,
1259
+ configurable: true
1260
+ });
1261
+ UpgradeRegistryEvent.phantom = function () {
1262
+ return (0, reified_1.phantom)(UpgradeRegistryEvent.reified());
1263
+ };
1264
+ Object.defineProperty(UpgradeRegistryEvent, "p", {
1265
+ get: function () {
1266
+ return UpgradeRegistryEvent.phantom();
1267
+ },
1268
+ enumerable: false,
1269
+ configurable: true
1270
+ });
1271
+ Object.defineProperty(UpgradeRegistryEvent, "bcs", {
1272
+ get: function () {
1273
+ return bcs_1.bcs.struct("UpgradeRegistryEvent", {
1274
+ 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); } }),
1275
+ prev_version: bcs_1.bcs.u64(),
1276
+ version: bcs_1.bcs.u64(),
1277
+ });
1278
+ },
1279
+ enumerable: false,
1280
+ configurable: true
1281
+ });
1282
+ UpgradeRegistryEvent.fromFields = function (fields) {
1283
+ return UpgradeRegistryEvent.reified().new({
1284
+ signer: (0, reified_1.decodeFromFields)("address", fields.signer),
1285
+ prevVersion: (0, reified_1.decodeFromFields)("u64", fields.prev_version),
1286
+ version: (0, reified_1.decodeFromFields)("u64", fields.version),
1287
+ });
1288
+ };
1289
+ UpgradeRegistryEvent.fromFieldsWithTypes = function (item) {
1290
+ if (!isUpgradeRegistryEvent(item.type)) {
1291
+ throw new Error("not a UpgradeRegistryEvent type");
1292
+ }
1293
+ return UpgradeRegistryEvent.reified().new({
1294
+ signer: (0, reified_1.decodeFromFieldsWithTypes)("address", item.fields.signer),
1295
+ prevVersion: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.prev_version),
1296
+ version: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.version),
1297
+ });
1298
+ };
1299
+ UpgradeRegistryEvent.fromBcs = function (data) {
1300
+ return UpgradeRegistryEvent.fromFields(UpgradeRegistryEvent.bcs.parse(data));
1301
+ };
1302
+ UpgradeRegistryEvent.prototype.toJSONField = function () {
1303
+ return {
1304
+ signer: this.signer,
1305
+ prevVersion: this.prevVersion.toString(),
1306
+ version: this.version.toString(),
1307
+ };
1308
+ };
1309
+ UpgradeRegistryEvent.prototype.toJSON = function () {
1310
+ return __assign({ $typeName: this.$typeName, $typeArgs: this.$typeArgs }, this.toJSONField());
1311
+ };
1312
+ UpgradeRegistryEvent.fromJSONField = function (field) {
1313
+ return UpgradeRegistryEvent.reified().new({
1314
+ signer: (0, reified_1.decodeFromJSONField)("address", field.signer),
1315
+ prevVersion: (0, reified_1.decodeFromJSONField)("u64", field.prevVersion),
1316
+ version: (0, reified_1.decodeFromJSONField)("u64", field.version),
1317
+ });
1318
+ };
1319
+ UpgradeRegistryEvent.fromJSON = function (json) {
1320
+ if (json.$typeName !== UpgradeRegistryEvent.$typeName) {
1321
+ throw new Error("not a WithTwoGenerics json object");
1322
+ }
1323
+ return UpgradeRegistryEvent.fromJSONField(json);
1324
+ };
1325
+ UpgradeRegistryEvent.fromSuiParsedData = function (content) {
1326
+ if (content.dataType !== "moveObject") {
1327
+ throw new Error("not an object");
1328
+ }
1329
+ if (!isUpgradeRegistryEvent(content.type)) {
1330
+ throw new Error("object at ".concat(content.fields.id, " is not a UpgradeRegistryEvent object"));
1331
+ }
1332
+ return UpgradeRegistryEvent.fromFieldsWithTypes(content);
1333
+ };
1334
+ UpgradeRegistryEvent.fetch = function (client, id) {
1335
+ return __awaiter(this, void 0, void 0, function () {
1336
+ var res;
1337
+ var _a, _b;
1338
+ return __generator(this, function (_c) {
1339
+ switch (_c.label) {
1340
+ case 0: return [4 /*yield*/, client.getObject({ id: id, options: { showBcs: true } })];
1341
+ case 1:
1342
+ res = _c.sent();
1343
+ if (res.error) {
1344
+ throw new Error("error fetching UpgradeRegistryEvent object at id ".concat(id, ": ").concat(res.error.code));
1345
+ }
1346
+ if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.bcs) === null || _b === void 0 ? void 0 : _b.dataType) !== "moveObject" || !isUpgradeRegistryEvent(res.data.bcs.type)) {
1347
+ throw new Error("object at id ".concat(id, " is not a UpgradeRegistryEvent object"));
1348
+ }
1349
+ return [2 /*return*/, UpgradeRegistryEvent.fromBcs((0, bcs_1.fromB64)(res.data.bcs.bcsBytes))];
1350
+ }
1351
+ });
1352
+ });
1353
+ };
1354
+ UpgradeRegistryEvent.$typeName = "0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455::tds_registry_authorized_entry::UpgradeRegistryEvent";
1355
+ UpgradeRegistryEvent.$numTypeParams = 0;
1356
+ return UpgradeRegistryEvent;
1357
+ }());
1358
+ exports.UpgradeRegistryEvent = UpgradeRegistryEvent;