@typus/typus-perp-sdk 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (415) hide show
  1. package/dist/src/_dependencies/source/0x1/ascii/structs.d.ts +92 -0
  2. package/dist/src/_dependencies/source/0x1/ascii/structs.js +398 -0
  3. package/dist/src/_dependencies/source/0x1/bit-vector/structs.d.ts +56 -0
  4. package/dist/src/_dependencies/source/0x1/bit-vector/structs.js +268 -0
  5. package/dist/src/_dependencies/source/0x1/fixed-point32/structs.d.ts +46 -0
  6. package/dist/src/_dependencies/source/0x1/fixed-point32/structs.js +222 -0
  7. package/dist/src/_dependencies/source/0x1/index.d.ts +3 -0
  8. package/dist/src/_dependencies/source/0x1/index.js +6 -0
  9. package/dist/src/_dependencies/source/0x1/init.d.ts +2 -0
  10. package/dist/src/_dependencies/source/0x1/init.js +55 -0
  11. package/dist/src/_dependencies/source/0x1/option/structs.d.ts +52 -0
  12. package/dist/src/_dependencies/source/0x1/option/structs.js +271 -0
  13. package/dist/src/_dependencies/source/0x1/string/structs.d.ts +50 -0
  14. package/dist/src/_dependencies/source/0x1/string/structs.js +256 -0
  15. package/dist/src/_dependencies/source/0x1/type-name/structs.d.ts +53 -0
  16. package/dist/src/_dependencies/source/0x1/type-name/structs.js +223 -0
  17. package/dist/src/_dependencies/source/0x1/uq32-32/structs.d.ts +46 -0
  18. package/dist/src/_dependencies/source/0x1/uq32-32/structs.js +222 -0
  19. package/dist/src/_dependencies/source/0x1/uq64-64/structs.d.ts +46 -0
  20. package/dist/src/_dependencies/source/0x1/uq64-64/structs.js +222 -0
  21. package/dist/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/index.d.ts +5 -0
  22. package/dist/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/index.js +8 -0
  23. package/dist/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/init.d.ts +2 -0
  24. package/dist/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/init.js +50 -0
  25. package/dist/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/oracle/structs.d.ts +350 -0
  26. package/dist/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/oracle/structs.js +794 -0
  27. package/dist/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/pyth-parser/structs.d.ts +111 -0
  28. package/dist/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/pyth-parser/structs.js +389 -0
  29. package/dist/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/supra/structs.d.ts +70 -0
  30. package/dist/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/supra/structs.js +252 -0
  31. package/dist/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/switchboard-feed-parser/structs.d.ts +70 -0
  32. package/dist/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/switchboard-feed-parser/structs.js +252 -0
  33. package/dist/src/_dependencies/source/0x2/authenticator-state/structs.d.ts +464 -0
  34. package/dist/src/_dependencies/source/0x2/authenticator-state/structs.js +904 -0
  35. package/dist/src/_dependencies/source/0x2/bag/structs.d.ts +61 -0
  36. package/dist/src/_dependencies/source/0x2/bag/structs.js +229 -0
  37. package/dist/src/_dependencies/source/0x2/balance/structs.d.ts +88 -0
  38. package/dist/src/_dependencies/source/0x2/balance/structs.js +386 -0
  39. package/dist/src/_dependencies/source/0x2/bcs/structs.d.ts +50 -0
  40. package/dist/src/_dependencies/source/0x2/bcs/structs.js +256 -0
  41. package/dist/src/_dependencies/source/0x2/bls12381/structs.d.ts +214 -0
  42. package/dist/src/_dependencies/source/0x2/bls12381/structs.js +790 -0
  43. package/dist/src/_dependencies/source/0x2/borrow/structs.d.ts +113 -0
  44. package/dist/src/_dependencies/source/0x2/borrow/structs.js +398 -0
  45. package/dist/src/_dependencies/source/0x2/clock/structs.d.ts +61 -0
  46. package/dist/src/_dependencies/source/0x2/clock/structs.js +235 -0
  47. package/dist/src/_dependencies/source/0x2/coin/structs.d.ts +460 -0
  48. package/dist/src/_dependencies/source/0x2/coin/structs.js +1247 -0
  49. package/dist/src/_dependencies/source/0x2/config/structs.d.ts +179 -0
  50. package/dist/src/_dependencies/source/0x2/config/structs.js +567 -0
  51. package/dist/src/_dependencies/source/0x2/deny-list/structs.d.ts +430 -0
  52. package/dist/src/_dependencies/source/0x2/deny-list/structs.js +1166 -0
  53. package/dist/src/_dependencies/source/0x2/display/structs.d.ts +241 -0
  54. package/dist/src/_dependencies/source/0x2/display/structs.js +578 -0
  55. package/dist/src/_dependencies/source/0x2/dynamic-field/structs.d.ts +68 -0
  56. package/dist/src/_dependencies/source/0x2/dynamic-field/structs.js +256 -0
  57. package/dist/src/_dependencies/source/0x2/dynamic-object-field/structs.d.ts +47 -0
  58. package/dist/src/_dependencies/source/0x2/dynamic-object-field/structs.js +236 -0
  59. package/dist/src/_dependencies/source/0x2/groth16/structs.d.ts +204 -0
  60. package/dist/src/_dependencies/source/0x2/groth16/structs.js +706 -0
  61. package/dist/src/_dependencies/source/0x2/group-ops/structs.d.ts +50 -0
  62. package/dist/src/_dependencies/source/0x2/group-ops/structs.js +267 -0
  63. package/dist/src/_dependencies/source/0x2/index.d.ts +3 -0
  64. package/dist/src/_dependencies/source/0x2/index.js +6 -0
  65. package/dist/src/_dependencies/source/0x2/init.d.ts +2 -0
  66. package/dist/src/_dependencies/source/0x2/init.js +171 -0
  67. package/dist/src/_dependencies/source/0x2/kiosk/structs.d.ts +606 -0
  68. package/dist/src/_dependencies/source/0x2/kiosk/structs.js +1719 -0
  69. package/dist/src/_dependencies/source/0x2/kiosk-extension/structs.d.ts +121 -0
  70. package/dist/src/_dependencies/source/0x2/kiosk-extension/structs.js +394 -0
  71. package/dist/src/_dependencies/source/0x2/linked-table/structs.d.ts +153 -0
  72. package/dist/src/_dependencies/source/0x2/linked-table/structs.js +438 -0
  73. package/dist/src/_dependencies/source/0x2/object/structs.d.ts +92 -0
  74. package/dist/src/_dependencies/source/0x2/object/structs.js +364 -0
  75. package/dist/src/_dependencies/source/0x2/object-bag/structs.d.ts +61 -0
  76. package/dist/src/_dependencies/source/0x2/object-bag/structs.js +229 -0
  77. package/dist/src/_dependencies/source/0x2/object-table/structs.d.ts +61 -0
  78. package/dist/src/_dependencies/source/0x2/object-table/structs.js +248 -0
  79. package/dist/src/_dependencies/source/0x2/package/structs.d.ts +280 -0
  80. package/dist/src/_dependencies/source/0x2/package/structs.js +762 -0
  81. package/dist/src/_dependencies/source/0x2/priority-queue/structs.d.ts +111 -0
  82. package/dist/src/_dependencies/source/0x2/priority-queue/structs.js +440 -0
  83. package/dist/src/_dependencies/source/0x2/random/structs.d.ts +204 -0
  84. package/dist/src/_dependencies/source/0x2/random/structs.js +596 -0
  85. package/dist/src/_dependencies/source/0x2/sui/structs.d.ts +46 -0
  86. package/dist/src/_dependencies/source/0x2/sui/structs.js +222 -0
  87. package/dist/src/_dependencies/source/0x2/table/structs.d.ts +61 -0
  88. package/dist/src/_dependencies/source/0x2/table/structs.js +248 -0
  89. package/dist/src/_dependencies/source/0x2/table-vec/structs.d.ts +68 -0
  90. package/dist/src/_dependencies/source/0x2/table-vec/structs.js +274 -0
  91. package/dist/src/_dependencies/source/0x2/token/structs.d.ts +449 -0
  92. package/dist/src/_dependencies/source/0x2/token/structs.js +1095 -0
  93. package/dist/src/_dependencies/source/0x2/transfer/structs.d.ts +57 -0
  94. package/dist/src/_dependencies/source/0x2/transfer/structs.js +246 -0
  95. package/dist/src/_dependencies/source/0x2/transfer-policy/structs.d.ts +370 -0
  96. package/dist/src/_dependencies/source/0x2/transfer-policy/structs.js +1091 -0
  97. package/dist/src/_dependencies/source/0x2/tx-context/structs.d.ts +74 -0
  98. package/dist/src/_dependencies/source/0x2/tx-context/structs.js +286 -0
  99. package/dist/src/_dependencies/source/0x2/url/structs.d.ts +53 -0
  100. package/dist/src/_dependencies/source/0x2/url/structs.js +223 -0
  101. package/dist/src/_dependencies/source/0x2/vec-map/structs.d.ts +111 -0
  102. package/dist/src/_dependencies/source/0x2/vec-map/structs.js +446 -0
  103. package/dist/src/_dependencies/source/0x2/vec-set/structs.d.ts +51 -0
  104. package/dist/src/_dependencies/source/0x2/vec-set/structs.js +270 -0
  105. package/dist/src/_dependencies/source/0x2/versioned/structs.d.ts +113 -0
  106. package/dist/src/_dependencies/source/0x2/versioned/structs.js +389 -0
  107. package/dist/src/_dependencies/source/0x2/zklogin-verified-id/structs.d.ts +110 -0
  108. package/dist/src/_dependencies/source/0x2/zklogin-verified-id/structs.js +260 -0
  109. package/dist/src/_dependencies/source/0x2/zklogin-verified-issuer/structs.d.ts +74 -0
  110. package/dist/src/_dependencies/source/0x2/zklogin-verified-issuer/structs.js +242 -0
  111. package/dist/src/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/index.d.ts +3 -0
  112. package/dist/src/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/index.js +6 -0
  113. package/dist/src/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/init.d.ts +2 -0
  114. package/dist/src/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/init.js +40 -0
  115. package/dist/src/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/validator/structs.d.ts +55 -0
  116. package/dist/src/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/validator/structs.js +223 -0
  117. package/dist/src/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/index.d.ts +4 -0
  118. package/dist/src/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/index.js +7 -0
  119. package/dist/src/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/init.d.ts +2 -0
  120. package/dist/src/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/init.js +43 -0
  121. package/dist/src/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/price-data-pull/structs.d.ts +46 -0
  122. package/dist/src/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/price-data-pull/structs.js +222 -0
  123. package/dist/src/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/suprasvaluefeed/structs.d.ts +121 -0
  124. package/dist/src/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/suprasvaluefeed/structs.js +395 -0
  125. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/airdrop/structs.d.ts +489 -0
  126. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/airdrop/structs.js +1084 -0
  127. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/big-vector/structs.d.ts +147 -0
  128. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/big-vector/structs.js +456 -0
  129. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/critbit/structs.d.ts +239 -0
  130. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/critbit/structs.js +653 -0
  131. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/ecosystem/structs.d.ts +405 -0
  132. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/ecosystem/structs.js +899 -0
  133. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/index.d.ts +8 -0
  134. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/index.js +11 -0
  135. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/init.d.ts +2 -0
  136. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/init.js +102 -0
  137. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/keyed-big-vector/structs.d.ts +227 -0
  138. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/keyed-big-vector/structs.js +632 -0
  139. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/leaderboard/structs.d.ts +699 -0
  140. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/leaderboard/structs.js +1459 -0
  141. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/linked-object-table/structs.d.ts +161 -0
  142. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/linked-object-table/structs.js +438 -0
  143. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/linked-set/structs.d.ts +147 -0
  144. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/linked-set/structs.js +430 -0
  145. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/tails-staking/structs.d.ts +1071 -0
  146. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/tails-staking/structs.js +2261 -0
  147. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/tgld/structs.d.ts +279 -0
  148. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/tgld/structs.js +733 -0
  149. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/user/structs.d.ts +328 -0
  150. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/user/structs.js +892 -0
  151. package/dist/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/discount-mint/structs.d.ts +628 -0
  152. package/dist/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/discount-mint/structs.js +1324 -0
  153. package/dist/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/index.d.ts +9 -0
  154. package/dist/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/index.js +12 -0
  155. package/dist/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/init.d.ts +2 -0
  156. package/dist/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/init.js +72 -0
  157. package/dist/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/royalty-rule/structs.d.ts +94 -0
  158. package/dist/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/royalty-rule/structs.js +376 -0
  159. package/dist/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/staking/structs.d.ts +454 -0
  160. package/dist/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/staking/structs.js +881 -0
  161. package/dist/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/table-vec/structs.d.ts +68 -0
  162. package/dist/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/table-vec/structs.js +274 -0
  163. package/dist/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/typus-nft/structs.d.ts +1117 -0
  164. package/dist/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/typus-nft/structs.js +2387 -0
  165. package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/auto-bid/structs.d.ts +1524 -0
  166. package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/auto-bid/structs.js +3008 -0
  167. package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/index.d.ts +10 -0
  168. package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/index.js +13 -0
  169. package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/init.d.ts +2 -0
  170. package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/init.js +145 -0
  171. package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tails-staking/structs.d.ts +1267 -0
  172. package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tails-staking/structs.js +2820 -0
  173. package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-authorized-entry/structs.d.ts +1412 -0
  174. package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-authorized-entry/structs.js +1646 -0
  175. package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-fee-pool-entry/structs.d.ts +425 -0
  176. package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-fee-pool-entry/structs.js +1223 -0
  177. package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-registry-authorized-entry/structs.d.ts +1156 -0
  178. package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-registry-authorized-entry/structs.js +1828 -0
  179. package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-view-function/structs.d.ts +82 -0
  180. package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-view-function/structs.js +264 -0
  181. package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/typus-dov-single/structs.d.ts +5022 -0
  182. package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/typus-dov-single/structs.js +7585 -0
  183. package/dist/src/_dependencies/source/0x7237ec8436ef7e927c45470db6db3a834dd84cf903aedee3844e847fe4805399/index.d.ts +3 -0
  184. package/dist/src/_dependencies/source/0x7237ec8436ef7e927c45470db6db3a834dd84cf903aedee3844e847fe4805399/index.js +6 -0
  185. package/dist/src/_dependencies/source/0x7237ec8436ef7e927c45470db6db3a834dd84cf903aedee3844e847fe4805399/init.d.ts +2 -0
  186. package/dist/src/_dependencies/source/0x7237ec8436ef7e927c45470db6db3a834dd84cf903aedee3844e847fe4805399/init.js +4 -0
  187. package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/authority/structs.d.ts +88 -0
  188. package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/authority/structs.js +263 -0
  189. package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/balance-pool/structs.d.ts +347 -0
  190. package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/balance-pool/structs.js +591 -0
  191. package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/big-vector/structs.d.ts +73 -0
  192. package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/big-vector/structs.js +258 -0
  193. package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/dutch/structs.d.ts +876 -0
  194. package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/dutch/structs.js +1721 -0
  195. package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/i64/structs.d.ts +46 -0
  196. package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/i64/structs.js +222 -0
  197. package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/index.d.ts +3 -0
  198. package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/index.js +6 -0
  199. package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/init.d.ts +2 -0
  200. package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/init.js +89 -0
  201. package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/linked-list/structs.d.ts +155 -0
  202. package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/linked-list/structs.js +444 -0
  203. package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/vault/structs.d.ts +2386 -0
  204. package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/vault/structs.js +4952 -0
  205. package/dist/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/aggregator/structs.d.ts +745 -0
  206. package/dist/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/aggregator/structs.js +1221 -0
  207. package/dist/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/index.d.ts +3 -0
  208. package/dist/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/index.js +6 -0
  209. package/dist/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/init.d.ts +2 -0
  210. package/dist/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/init.js +53 -0
  211. package/dist/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/job/structs.d.ts +87 -0
  212. package/dist/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/job/structs.js +287 -0
  213. package/dist/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/math/structs.d.ts +58 -0
  214. package/dist/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/math/structs.js +240 -0
  215. package/dist/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/quote/structs.d.ts +121 -0
  216. package/dist/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/quote/structs.js +323 -0
  217. package/dist/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/switchboard/structs.d.ts +55 -0
  218. package/dist/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/switchboard/structs.js +223 -0
  219. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/batch-price-attestation/structs.d.ts +289 -0
  220. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/batch-price-attestation/structs.js +453 -0
  221. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/contract-upgrade/structs.d.ts +114 -0
  222. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/contract-upgrade/structs.js +378 -0
  223. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/data-source/structs.d.ts +71 -0
  224. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/data-source/structs.js +235 -0
  225. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/event/structs.d.ts +209 -0
  226. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/event/structs.js +377 -0
  227. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/governance/structs.d.ts +73 -0
  228. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/governance/structs.js +275 -0
  229. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/governance-action/structs.d.ts +46 -0
  230. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/governance-action/structs.js +222 -0
  231. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/governance-instruction/structs.d.ts +77 -0
  232. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/governance-instruction/structs.js +281 -0
  233. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/hot-potato-vector/structs.d.ts +51 -0
  234. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/hot-potato-vector/structs.js +270 -0
  235. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/i64/structs.d.ts +52 -0
  236. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/i64/structs.js +234 -0
  237. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/index.d.ts +3 -0
  238. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/index.js +6 -0
  239. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/init.d.ts +2 -0
  240. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/init.js +95 -0
  241. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/migrate/structs.d.ts +51 -0
  242. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/migrate/structs.js +223 -0
  243. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/price/structs.d.ts +89 -0
  244. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/price/structs.js +247 -0
  245. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/price-feed/structs.d.ts +158 -0
  246. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/price-feed/structs.js +242 -0
  247. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/price-identifier/structs.d.ts +50 -0
  248. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/price-identifier/structs.js +256 -0
  249. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/price-info/structs.d.ts +360 -0
  250. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/price-info/structs.js +396 -0
  251. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/price-status/structs.d.ts +46 -0
  252. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/price-status/structs.js +222 -0
  253. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/set/structs.d.ts +120 -0
  254. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/set/structs.js +425 -0
  255. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/set-data-sources/structs.d.ts +81 -0
  256. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/set-data-sources/structs.js +257 -0
  257. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/set-fee-recipient/structs.d.ts +46 -0
  258. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/set-fee-recipient/structs.js +222 -0
  259. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/set-governance-data-source/structs.d.ts +77 -0
  260. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/set-governance-data-source/structs.js +241 -0
  261. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/set-stale-price-threshold/structs.d.ts +46 -0
  262. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/set-stale-price-threshold/structs.js +222 -0
  263. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/set-update-fee/structs.d.ts +52 -0
  264. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/set-update-fee/structs.js +234 -0
  265. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/setup/structs.d.ts +55 -0
  266. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/setup/structs.js +223 -0
  267. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/state/structs.d.ts +282 -0
  268. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/state/structs.js +560 -0
  269. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/version-control/structs.d.ts +130 -0
  270. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/version-control/structs.js +506 -0
  271. package/dist/src/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/index.d.ts +3 -0
  272. package/dist/src/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/index.js +6 -0
  273. package/dist/src/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/init.d.ts +2 -0
  274. package/dist/src/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/init.js +46 -0
  275. package/dist/src/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/kiosk-lock-rule/structs.d.ts +88 -0
  276. package/dist/src/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/kiosk-lock-rule/structs.js +364 -0
  277. package/dist/src/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/royalty-rule/structs.d.ts +94 -0
  278. package/dist/src/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/royalty-rule/structs.js +376 -0
  279. package/dist/src/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/witness-rule/structs.d.ts +46 -0
  280. package/dist/src/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/witness-rule/structs.js +233 -0
  281. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/bytes20/structs.d.ts +50 -0
  282. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/bytes20/structs.js +256 -0
  283. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/bytes32/structs.d.ts +50 -0
  284. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/bytes32/structs.js +256 -0
  285. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/consumed-vaas/structs.d.ts +77 -0
  286. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/consumed-vaas/structs.js +260 -0
  287. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/cursor/structs.d.ts +51 -0
  288. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/cursor/structs.js +270 -0
  289. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/emitter/structs.d.ts +153 -0
  290. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/emitter/structs.js +519 -0
  291. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/external-address/structs.d.ts +57 -0
  292. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/external-address/structs.js +223 -0
  293. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/fee-collector/structs.d.ts +63 -0
  294. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/fee-collector/structs.js +270 -0
  295. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/governance-message/structs.d.ts +168 -0
  296. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/governance-message/structs.js +470 -0
  297. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/guardian/structs.d.ts +57 -0
  298. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/guardian/structs.js +223 -0
  299. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/guardian-set/structs.d.ts +81 -0
  300. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/guardian-set/structs.js +275 -0
  301. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/guardian-signature/structs.d.ts +85 -0
  302. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/guardian-signature/structs.js +247 -0
  303. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/index.d.ts +3 -0
  304. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/index.js +6 -0
  305. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/init.d.ts +2 -0
  306. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/init.js +100 -0
  307. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/migrate/structs.d.ts +51 -0
  308. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/migrate/structs.js +223 -0
  309. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/package-utils/structs.d.ts +194 -0
  310. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/package-utils/structs.js +662 -0
  311. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/publish-message/structs.d.ts +151 -0
  312. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/publish-message/structs.js +459 -0
  313. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/set/structs.d.ts +110 -0
  314. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/set/structs.js +416 -0
  315. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/set-fee/structs.d.ts +88 -0
  316. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/set-fee/structs.js +364 -0
  317. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/setup/structs.d.ts +55 -0
  318. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/setup/structs.js +223 -0
  319. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/state/structs.d.ts +278 -0
  320. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/state/structs.js +459 -0
  321. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/transfer-fee/structs.d.ts +94 -0
  322. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/transfer-fee/structs.js +376 -0
  323. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/update-guardian-set/structs.d.ts +159 -0
  324. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/update-guardian-set/structs.js +553 -0
  325. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/upgrade-contract/structs.d.ts +156 -0
  326. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/upgrade-contract/structs.js +520 -0
  327. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/vaa/structs.d.ts +128 -0
  328. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/vaa/structs.js +312 -0
  329. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/version-control/structs.d.ts +88 -0
  330. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/version-control/structs.js +364 -0
  331. package/dist/src/_framework/init-loader.d.ts +2 -0
  332. package/dist/src/_framework/init-loader.js +73 -0
  333. package/dist/src/_framework/loader.d.ts +17 -0
  334. package/dist/src/_framework/loader.js +108 -0
  335. package/dist/src/_framework/reified.d.ts +108 -0
  336. package/dist/src/_framework/reified.js +237 -0
  337. package/dist/src/_framework/util.d.ts +35 -0
  338. package/dist/src/_framework/util.js +396 -0
  339. package/dist/src/_framework/vector.d.ts +35 -0
  340. package/dist/src/_framework/vector.js +112 -0
  341. package/dist/src/fetch.d.ts +17 -0
  342. package/dist/src/fetch.js +408 -0
  343. package/dist/src/index.d.ts +5 -0
  344. package/dist/src/index.js +29 -0
  345. package/dist/src/readVec.d.ts +3 -0
  346. package/dist/src/readVec.js +118 -0
  347. package/dist/src/typus_perp/admin/functions.d.ts +49 -0
  348. package/dist/src/typus_perp/admin/functions.js +92 -0
  349. package/dist/src/typus_perp/admin/structs.d.ts +405 -0
  350. package/dist/src/typus_perp/admin/structs.js +757 -0
  351. package/dist/src/typus_perp/error/functions.d.ts +64 -0
  352. package/dist/src/typus_perp/error/functions.js +255 -0
  353. package/dist/src/typus_perp/escrow/functions.d.ts +17 -0
  354. package/dist/src/typus_perp/escrow/functions.js +33 -0
  355. package/dist/src/typus_perp/escrow/structs.d.ts +172 -0
  356. package/dist/src/typus_perp/escrow/structs.js +324 -0
  357. package/dist/src/typus_perp/index.d.ts +3 -0
  358. package/dist/src/typus_perp/index.js +7 -0
  359. package/dist/src/typus_perp/init.d.ts +2 -0
  360. package/dist/src/typus_perp/init.js +121 -0
  361. package/dist/src/typus_perp/lp-pool/functions.d.ts +356 -0
  362. package/dist/src/typus_perp/lp-pool/functions.js +528 -0
  363. package/dist/src/typus_perp/lp-pool/structs.d.ts +3219 -0
  364. package/dist/src/typus_perp/lp-pool/structs.js +4789 -0
  365. package/dist/src/typus_perp/math/functions.d.ts +18 -0
  366. package/dist/src/typus_perp/math/functions.js +40 -0
  367. package/dist/src/typus_perp/oracle/functions.d.ts +13 -0
  368. package/dist/src/typus_perp/oracle/functions.js +22 -0
  369. package/dist/src/typus_perp/oracle/structs.d.ts +111 -0
  370. package/dist/src/typus_perp/oracle/structs.js +389 -0
  371. package/dist/src/typus_perp/position/functions.d.ts +339 -0
  372. package/dist/src/typus_perp/position/functions.js +576 -0
  373. package/dist/src/typus_perp/position/structs.d.ts +1186 -0
  374. package/dist/src/typus_perp/position/structs.js +1628 -0
  375. package/dist/src/typus_perp/symbol/functions.d.ts +9 -0
  376. package/dist/src/typus_perp/symbol/functions.js +20 -0
  377. package/dist/src/typus_perp/symbol/structs.d.ts +81 -0
  378. package/dist/src/typus_perp/symbol/structs.js +235 -0
  379. package/dist/src/typus_perp/tlp/functions.d.ts +19 -0
  380. package/dist/src/typus_perp/tlp/functions.js +35 -0
  381. package/dist/src/typus_perp/tlp/structs.d.ts +97 -0
  382. package/dist/src/typus_perp/tlp/structs.js +365 -0
  383. package/dist/src/typus_perp/token-interface/functions.d.ts +11 -0
  384. package/dist/src/typus_perp/token-interface/functions.js +20 -0
  385. package/dist/src/typus_perp/trading/functions.d.ts +549 -0
  386. package/dist/src/typus_perp/trading/functions.js +786 -0
  387. package/dist/src/typus_perp/trading/structs.d.ts +3418 -0
  388. package/dist/src/typus_perp/trading/structs.js +5556 -0
  389. package/dist/src/typus_perp/treasury-caps/functions.d.ts +9 -0
  390. package/dist/src/typus_perp/treasury-caps/functions.js +32 -0
  391. package/dist/src/typus_perp/treasury-caps/structs.d.ts +55 -0
  392. package/dist/src/typus_perp/treasury-caps/structs.js +223 -0
  393. package/dist/src/typus_stake_pool/admin/functions.d.ts +49 -0
  394. package/dist/src/typus_stake_pool/admin/functions.js +92 -0
  395. package/dist/src/typus_stake_pool/admin/structs.d.ts +405 -0
  396. package/dist/src/typus_stake_pool/admin/structs.js +757 -0
  397. package/dist/src/typus_stake_pool/index.d.ts +3 -0
  398. package/dist/src/typus_stake_pool/index.js +7 -0
  399. package/dist/src/typus_stake_pool/init.d.ts +2 -0
  400. package/dist/src/typus_stake_pool/init.js +66 -0
  401. package/dist/src/typus_stake_pool/stake-pool/functions.d.ts +175 -0
  402. package/dist/src/typus_stake_pool/stake-pool/functions.js +263 -0
  403. package/dist/src/typus_stake_pool/stake-pool/structs.d.ts +2179 -0
  404. package/dist/src/typus_stake_pool/stake-pool/structs.js +3907 -0
  405. package/dist/src/user/history.d.ts +2 -0
  406. package/dist/src/user/history.js +194 -0
  407. package/dist/src/user/index.d.ts +4 -0
  408. package/dist/src/user/index.js +20 -0
  409. package/dist/src/user/order.d.ts +29 -0
  410. package/dist/src/user/order.js +205 -0
  411. package/dist/src/user/orderWithBidReceipt.d.ts +22 -0
  412. package/dist/src/user/orderWithBidReceipt.js +144 -0
  413. package/dist/src/user/tlp.d.ts +32 -0
  414. package/dist/src/user/tlp.js +266 -0
  415. package/package.json +36 -0
@@ -0,0 +1,706 @@
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 () {
30
+ var ownKeys = function(o) {
31
+ ownKeys = Object.getOwnPropertyNames || function (o) {
32
+ var ar = [];
33
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
34
+ return ar;
35
+ };
36
+ return ownKeys(o);
37
+ };
38
+ return function (mod) {
39
+ if (mod && mod.__esModule) return mod;
40
+ var result = {};
41
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
42
+ __setModuleDefault(result, mod);
43
+ return result;
44
+ };
45
+ })();
46
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
47
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
48
+ return new (P || (P = Promise))(function (resolve, reject) {
49
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
50
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
51
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
52
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
53
+ });
54
+ };
55
+ var __generator = (this && this.__generator) || function (thisArg, body) {
56
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
57
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
58
+ function verb(n) { return function (v) { return step([n, v]); }; }
59
+ function step(op) {
60
+ if (f) throw new TypeError("Generator is already executing.");
61
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
62
+ 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;
63
+ if (y = 0, t) op = [op[0] & 2, t.value];
64
+ switch (op[0]) {
65
+ case 0: case 1: t = op; break;
66
+ case 4: _.label++; return { value: op[1], done: false };
67
+ case 5: _.label++; y = op[1]; op = [0]; continue;
68
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
69
+ default:
70
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
71
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
72
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
73
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
74
+ if (t[2]) _.ops.pop();
75
+ _.trys.pop(); continue;
76
+ }
77
+ op = body.call(thisArg, _);
78
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
79
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
80
+ }
81
+ };
82
+ var __read = (this && this.__read) || function (o, n) {
83
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
84
+ if (!m) return o;
85
+ var i = m.call(o), r, ar = [], e;
86
+ try {
87
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
88
+ }
89
+ catch (error) { e = { error: error }; }
90
+ finally {
91
+ try {
92
+ if (r && !r.done && (m = i["return"])) m.call(i);
93
+ }
94
+ finally { if (e) throw e.error; }
95
+ }
96
+ return ar;
97
+ };
98
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
99
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
100
+ if (ar || !(i in from)) {
101
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
102
+ ar[i] = from[i];
103
+ }
104
+ }
105
+ return to.concat(ar || Array.prototype.slice.call(from));
106
+ };
107
+ Object.defineProperty(exports, "__esModule", { value: true });
108
+ exports.PublicProofInputs = exports.ProofPoints = exports.PreparedVerifyingKey = exports.Curve = void 0;
109
+ exports.isCurve = isCurve;
110
+ exports.isPreparedVerifyingKey = isPreparedVerifyingKey;
111
+ exports.isProofPoints = isProofPoints;
112
+ exports.isPublicProofInputs = isPublicProofInputs;
113
+ var reified = __importStar(require("../../../../_framework/reified"));
114
+ var reified_1 = require("../../../../_framework/reified");
115
+ var util_1 = require("../../../../_framework/util");
116
+ var index_1 = require("../index");
117
+ var bcs_1 = require("@mysten/sui/bcs");
118
+ var utils_1 = require("@mysten/sui/utils");
119
+ /* ============================== Curve =============================== */
120
+ function isCurve(type) {
121
+ type = (0, util_1.compressSuiType)(type);
122
+ return type === "".concat(index_1.PKG_V26, "::groth16::Curve");
123
+ }
124
+ var Curve = /** @class */ (function () {
125
+ function Curve(typeArgs, fields) {
126
+ this.__StructClass = true;
127
+ this.$typeName = Curve.$typeName;
128
+ this.$isPhantom = Curve.$isPhantom;
129
+ this.$fullTypeName = util_1.composeSuiType.apply(void 0, __spreadArray([Curve.$typeName], __read(typeArgs), false));
130
+ this.$typeArgs = typeArgs;
131
+ this.id = fields.id;
132
+ }
133
+ Curve.reified = function () {
134
+ var _this = this;
135
+ return {
136
+ typeName: Curve.$typeName,
137
+ fullTypeName: util_1.composeSuiType.apply(void 0, __spreadArray([Curve.$typeName], [], false)),
138
+ typeArgs: [],
139
+ isPhantom: Curve.$isPhantom,
140
+ reifiedTypeArgs: [],
141
+ fromFields: function (fields) { return Curve.fromFields(fields); },
142
+ fromFieldsWithTypes: function (item) { return Curve.fromFieldsWithTypes(item); },
143
+ fromBcs: function (data) { return Curve.fromBcs(data); },
144
+ bcs: Curve.bcs,
145
+ fromJSONField: function (field) { return Curve.fromJSONField(field); },
146
+ fromJSON: function (json) { return Curve.fromJSON(json); },
147
+ fromSuiParsedData: function (content) { return Curve.fromSuiParsedData(content); },
148
+ fromSuiObjectData: function (content) { return Curve.fromSuiObjectData(content); },
149
+ fetch: function (client, id) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
150
+ return [2 /*return*/, Curve.fetch(client, id)];
151
+ }); }); },
152
+ new: function (fields) {
153
+ return new Curve([], fields);
154
+ },
155
+ kind: "StructClassReified",
156
+ };
157
+ };
158
+ Object.defineProperty(Curve, "r", {
159
+ get: function () {
160
+ return Curve.reified();
161
+ },
162
+ enumerable: false,
163
+ configurable: true
164
+ });
165
+ Curve.phantom = function () {
166
+ return (0, reified_1.phantom)(Curve.reified());
167
+ };
168
+ Object.defineProperty(Curve, "p", {
169
+ get: function () {
170
+ return Curve.phantom();
171
+ },
172
+ enumerable: false,
173
+ configurable: true
174
+ });
175
+ Object.defineProperty(Curve, "bcs", {
176
+ get: function () {
177
+ return bcs_1.bcs.struct("Curve", {
178
+ id: bcs_1.bcs.u8(),
179
+ });
180
+ },
181
+ enumerable: false,
182
+ configurable: true
183
+ });
184
+ Curve.fromFields = function (fields) {
185
+ return Curve.reified().new({ id: (0, reified_1.decodeFromFields)("u8", fields.id) });
186
+ };
187
+ Curve.fromFieldsWithTypes = function (item) {
188
+ if (!isCurve(item.type)) {
189
+ throw new Error("not a Curve type");
190
+ }
191
+ return Curve.reified().new({ id: (0, reified_1.decodeFromFieldsWithTypes)("u8", item.fields.id) });
192
+ };
193
+ Curve.fromBcs = function (data) {
194
+ return Curve.fromFields(Curve.bcs.parse(data));
195
+ };
196
+ Curve.prototype.toJSONField = function () {
197
+ return {
198
+ id: this.id,
199
+ };
200
+ };
201
+ Curve.prototype.toJSON = function () {
202
+ return __assign({ $typeName: this.$typeName, $typeArgs: this.$typeArgs }, this.toJSONField());
203
+ };
204
+ Curve.fromJSONField = function (field) {
205
+ return Curve.reified().new({ id: (0, reified_1.decodeFromJSONField)("u8", field.id) });
206
+ };
207
+ Curve.fromJSON = function (json) {
208
+ if (json.$typeName !== Curve.$typeName) {
209
+ throw new Error("not a WithTwoGenerics json object");
210
+ }
211
+ return Curve.fromJSONField(json);
212
+ };
213
+ Curve.fromSuiParsedData = function (content) {
214
+ if (content.dataType !== "moveObject") {
215
+ throw new Error("not an object");
216
+ }
217
+ if (!isCurve(content.type)) {
218
+ throw new Error("object at ".concat(content.fields.id, " is not a Curve object"));
219
+ }
220
+ return Curve.fromFieldsWithTypes(content);
221
+ };
222
+ Curve.fromSuiObjectData = function (data) {
223
+ if (data.bcs) {
224
+ if (data.bcs.dataType !== "moveObject" || !isCurve(data.bcs.type)) {
225
+ throw new Error("object at is not a Curve object");
226
+ }
227
+ return Curve.fromBcs((0, utils_1.fromB64)(data.bcs.bcsBytes));
228
+ }
229
+ if (data.content) {
230
+ return Curve.fromSuiParsedData(data.content);
231
+ }
232
+ throw new Error("Both `bcs` and `content` fields are missing from the data. Include `showBcs` or `showContent` in the request.");
233
+ };
234
+ Curve.fetch = function (client, id) {
235
+ return __awaiter(this, void 0, void 0, function () {
236
+ var res;
237
+ var _a, _b;
238
+ return __generator(this, function (_c) {
239
+ switch (_c.label) {
240
+ case 0: return [4 /*yield*/, client.getObject({ id: id, options: { showBcs: true } })];
241
+ case 1:
242
+ res = _c.sent();
243
+ if (res.error) {
244
+ throw new Error("error fetching Curve object at id ".concat(id, ": ").concat(res.error.code));
245
+ }
246
+ if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.bcs) === null || _b === void 0 ? void 0 : _b.dataType) !== "moveObject" || !isCurve(res.data.bcs.type)) {
247
+ throw new Error("object at id ".concat(id, " is not a Curve object"));
248
+ }
249
+ return [2 /*return*/, Curve.fromSuiObjectData(res.data)];
250
+ }
251
+ });
252
+ });
253
+ };
254
+ Curve.$typeName = "".concat(index_1.PKG_V26, "::groth16::Curve");
255
+ Curve.$numTypeParams = 0;
256
+ Curve.$isPhantom = [];
257
+ return Curve;
258
+ }());
259
+ exports.Curve = Curve;
260
+ /* ============================== PreparedVerifyingKey =============================== */
261
+ function isPreparedVerifyingKey(type) {
262
+ type = (0, util_1.compressSuiType)(type);
263
+ return type === "".concat(index_1.PKG_V26, "::groth16::PreparedVerifyingKey");
264
+ }
265
+ var PreparedVerifyingKey = /** @class */ (function () {
266
+ function PreparedVerifyingKey(typeArgs, fields) {
267
+ this.__StructClass = true;
268
+ this.$typeName = PreparedVerifyingKey.$typeName;
269
+ this.$isPhantom = PreparedVerifyingKey.$isPhantom;
270
+ this.$fullTypeName = util_1.composeSuiType.apply(void 0, __spreadArray([PreparedVerifyingKey.$typeName], __read(typeArgs), false));
271
+ this.$typeArgs = typeArgs;
272
+ this.vkGammaAbcG1Bytes = fields.vkGammaAbcG1Bytes;
273
+ this.alphaG1BetaG2Bytes = fields.alphaG1BetaG2Bytes;
274
+ this.gammaG2NegPcBytes = fields.gammaG2NegPcBytes;
275
+ this.deltaG2NegPcBytes = fields.deltaG2NegPcBytes;
276
+ }
277
+ PreparedVerifyingKey.reified = function () {
278
+ var _this = this;
279
+ return {
280
+ typeName: PreparedVerifyingKey.$typeName,
281
+ fullTypeName: util_1.composeSuiType.apply(void 0, __spreadArray([PreparedVerifyingKey.$typeName], [], false)),
282
+ typeArgs: [],
283
+ isPhantom: PreparedVerifyingKey.$isPhantom,
284
+ reifiedTypeArgs: [],
285
+ fromFields: function (fields) { return PreparedVerifyingKey.fromFields(fields); },
286
+ fromFieldsWithTypes: function (item) { return PreparedVerifyingKey.fromFieldsWithTypes(item); },
287
+ fromBcs: function (data) { return PreparedVerifyingKey.fromBcs(data); },
288
+ bcs: PreparedVerifyingKey.bcs,
289
+ fromJSONField: function (field) { return PreparedVerifyingKey.fromJSONField(field); },
290
+ fromJSON: function (json) { return PreparedVerifyingKey.fromJSON(json); },
291
+ fromSuiParsedData: function (content) { return PreparedVerifyingKey.fromSuiParsedData(content); },
292
+ fromSuiObjectData: function (content) { return PreparedVerifyingKey.fromSuiObjectData(content); },
293
+ fetch: function (client, id) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
294
+ return [2 /*return*/, PreparedVerifyingKey.fetch(client, id)];
295
+ }); }); },
296
+ new: function (fields) {
297
+ return new PreparedVerifyingKey([], fields);
298
+ },
299
+ kind: "StructClassReified",
300
+ };
301
+ };
302
+ Object.defineProperty(PreparedVerifyingKey, "r", {
303
+ get: function () {
304
+ return PreparedVerifyingKey.reified();
305
+ },
306
+ enumerable: false,
307
+ configurable: true
308
+ });
309
+ PreparedVerifyingKey.phantom = function () {
310
+ return (0, reified_1.phantom)(PreparedVerifyingKey.reified());
311
+ };
312
+ Object.defineProperty(PreparedVerifyingKey, "p", {
313
+ get: function () {
314
+ return PreparedVerifyingKey.phantom();
315
+ },
316
+ enumerable: false,
317
+ configurable: true
318
+ });
319
+ Object.defineProperty(PreparedVerifyingKey, "bcs", {
320
+ get: function () {
321
+ return bcs_1.bcs.struct("PreparedVerifyingKey", {
322
+ vk_gamma_abc_g1_bytes: bcs_1.bcs.vector(bcs_1.bcs.u8()),
323
+ alpha_g1_beta_g2_bytes: bcs_1.bcs.vector(bcs_1.bcs.u8()),
324
+ gamma_g2_neg_pc_bytes: bcs_1.bcs.vector(bcs_1.bcs.u8()),
325
+ delta_g2_neg_pc_bytes: bcs_1.bcs.vector(bcs_1.bcs.u8()),
326
+ });
327
+ },
328
+ enumerable: false,
329
+ configurable: true
330
+ });
331
+ PreparedVerifyingKey.fromFields = function (fields) {
332
+ return PreparedVerifyingKey.reified().new({
333
+ vkGammaAbcG1Bytes: (0, reified_1.decodeFromFields)(reified.vector("u8"), fields.vk_gamma_abc_g1_bytes),
334
+ alphaG1BetaG2Bytes: (0, reified_1.decodeFromFields)(reified.vector("u8"), fields.alpha_g1_beta_g2_bytes),
335
+ gammaG2NegPcBytes: (0, reified_1.decodeFromFields)(reified.vector("u8"), fields.gamma_g2_neg_pc_bytes),
336
+ deltaG2NegPcBytes: (0, reified_1.decodeFromFields)(reified.vector("u8"), fields.delta_g2_neg_pc_bytes),
337
+ });
338
+ };
339
+ PreparedVerifyingKey.fromFieldsWithTypes = function (item) {
340
+ if (!isPreparedVerifyingKey(item.type)) {
341
+ throw new Error("not a PreparedVerifyingKey type");
342
+ }
343
+ return PreparedVerifyingKey.reified().new({
344
+ vkGammaAbcG1Bytes: (0, reified_1.decodeFromFieldsWithTypes)(reified.vector("u8"), item.fields.vk_gamma_abc_g1_bytes),
345
+ alphaG1BetaG2Bytes: (0, reified_1.decodeFromFieldsWithTypes)(reified.vector("u8"), item.fields.alpha_g1_beta_g2_bytes),
346
+ gammaG2NegPcBytes: (0, reified_1.decodeFromFieldsWithTypes)(reified.vector("u8"), item.fields.gamma_g2_neg_pc_bytes),
347
+ deltaG2NegPcBytes: (0, reified_1.decodeFromFieldsWithTypes)(reified.vector("u8"), item.fields.delta_g2_neg_pc_bytes),
348
+ });
349
+ };
350
+ PreparedVerifyingKey.fromBcs = function (data) {
351
+ return PreparedVerifyingKey.fromFields(PreparedVerifyingKey.bcs.parse(data));
352
+ };
353
+ PreparedVerifyingKey.prototype.toJSONField = function () {
354
+ return {
355
+ vkGammaAbcG1Bytes: (0, reified_1.fieldToJSON)("vector<u8>", this.vkGammaAbcG1Bytes),
356
+ alphaG1BetaG2Bytes: (0, reified_1.fieldToJSON)("vector<u8>", this.alphaG1BetaG2Bytes),
357
+ gammaG2NegPcBytes: (0, reified_1.fieldToJSON)("vector<u8>", this.gammaG2NegPcBytes),
358
+ deltaG2NegPcBytes: (0, reified_1.fieldToJSON)("vector<u8>", this.deltaG2NegPcBytes),
359
+ };
360
+ };
361
+ PreparedVerifyingKey.prototype.toJSON = function () {
362
+ return __assign({ $typeName: this.$typeName, $typeArgs: this.$typeArgs }, this.toJSONField());
363
+ };
364
+ PreparedVerifyingKey.fromJSONField = function (field) {
365
+ return PreparedVerifyingKey.reified().new({
366
+ vkGammaAbcG1Bytes: (0, reified_1.decodeFromJSONField)(reified.vector("u8"), field.vkGammaAbcG1Bytes),
367
+ alphaG1BetaG2Bytes: (0, reified_1.decodeFromJSONField)(reified.vector("u8"), field.alphaG1BetaG2Bytes),
368
+ gammaG2NegPcBytes: (0, reified_1.decodeFromJSONField)(reified.vector("u8"), field.gammaG2NegPcBytes),
369
+ deltaG2NegPcBytes: (0, reified_1.decodeFromJSONField)(reified.vector("u8"), field.deltaG2NegPcBytes),
370
+ });
371
+ };
372
+ PreparedVerifyingKey.fromJSON = function (json) {
373
+ if (json.$typeName !== PreparedVerifyingKey.$typeName) {
374
+ throw new Error("not a WithTwoGenerics json object");
375
+ }
376
+ return PreparedVerifyingKey.fromJSONField(json);
377
+ };
378
+ PreparedVerifyingKey.fromSuiParsedData = function (content) {
379
+ if (content.dataType !== "moveObject") {
380
+ throw new Error("not an object");
381
+ }
382
+ if (!isPreparedVerifyingKey(content.type)) {
383
+ throw new Error("object at ".concat(content.fields.id, " is not a PreparedVerifyingKey object"));
384
+ }
385
+ return PreparedVerifyingKey.fromFieldsWithTypes(content);
386
+ };
387
+ PreparedVerifyingKey.fromSuiObjectData = function (data) {
388
+ if (data.bcs) {
389
+ if (data.bcs.dataType !== "moveObject" || !isPreparedVerifyingKey(data.bcs.type)) {
390
+ throw new Error("object at is not a PreparedVerifyingKey object");
391
+ }
392
+ return PreparedVerifyingKey.fromBcs((0, utils_1.fromB64)(data.bcs.bcsBytes));
393
+ }
394
+ if (data.content) {
395
+ return PreparedVerifyingKey.fromSuiParsedData(data.content);
396
+ }
397
+ throw new Error("Both `bcs` and `content` fields are missing from the data. Include `showBcs` or `showContent` in the request.");
398
+ };
399
+ PreparedVerifyingKey.fetch = function (client, id) {
400
+ return __awaiter(this, void 0, void 0, function () {
401
+ var res;
402
+ var _a, _b;
403
+ return __generator(this, function (_c) {
404
+ switch (_c.label) {
405
+ case 0: return [4 /*yield*/, client.getObject({ id: id, options: { showBcs: true } })];
406
+ case 1:
407
+ res = _c.sent();
408
+ if (res.error) {
409
+ throw new Error("error fetching PreparedVerifyingKey object at id ".concat(id, ": ").concat(res.error.code));
410
+ }
411
+ if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.bcs) === null || _b === void 0 ? void 0 : _b.dataType) !== "moveObject" || !isPreparedVerifyingKey(res.data.bcs.type)) {
412
+ throw new Error("object at id ".concat(id, " is not a PreparedVerifyingKey object"));
413
+ }
414
+ return [2 /*return*/, PreparedVerifyingKey.fromSuiObjectData(res.data)];
415
+ }
416
+ });
417
+ });
418
+ };
419
+ PreparedVerifyingKey.$typeName = "".concat(index_1.PKG_V26, "::groth16::PreparedVerifyingKey");
420
+ PreparedVerifyingKey.$numTypeParams = 0;
421
+ PreparedVerifyingKey.$isPhantom = [];
422
+ return PreparedVerifyingKey;
423
+ }());
424
+ exports.PreparedVerifyingKey = PreparedVerifyingKey;
425
+ /* ============================== ProofPoints =============================== */
426
+ function isProofPoints(type) {
427
+ type = (0, util_1.compressSuiType)(type);
428
+ return type === "".concat(index_1.PKG_V26, "::groth16::ProofPoints");
429
+ }
430
+ var ProofPoints = /** @class */ (function () {
431
+ function ProofPoints(typeArgs, fields) {
432
+ this.__StructClass = true;
433
+ this.$typeName = ProofPoints.$typeName;
434
+ this.$isPhantom = ProofPoints.$isPhantom;
435
+ this.$fullTypeName = util_1.composeSuiType.apply(void 0, __spreadArray([ProofPoints.$typeName], __read(typeArgs), false));
436
+ this.$typeArgs = typeArgs;
437
+ this.bytes = fields.bytes;
438
+ }
439
+ ProofPoints.reified = function () {
440
+ var _this = this;
441
+ return {
442
+ typeName: ProofPoints.$typeName,
443
+ fullTypeName: util_1.composeSuiType.apply(void 0, __spreadArray([ProofPoints.$typeName], [], false)),
444
+ typeArgs: [],
445
+ isPhantom: ProofPoints.$isPhantom,
446
+ reifiedTypeArgs: [],
447
+ fromFields: function (fields) { return ProofPoints.fromFields(fields); },
448
+ fromFieldsWithTypes: function (item) { return ProofPoints.fromFieldsWithTypes(item); },
449
+ fromBcs: function (data) { return ProofPoints.fromBcs(data); },
450
+ bcs: ProofPoints.bcs,
451
+ fromJSONField: function (field) { return ProofPoints.fromJSONField(field); },
452
+ fromJSON: function (json) { return ProofPoints.fromJSON(json); },
453
+ fromSuiParsedData: function (content) { return ProofPoints.fromSuiParsedData(content); },
454
+ fromSuiObjectData: function (content) { return ProofPoints.fromSuiObjectData(content); },
455
+ fetch: function (client, id) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
456
+ return [2 /*return*/, ProofPoints.fetch(client, id)];
457
+ }); }); },
458
+ new: function (fields) {
459
+ return new ProofPoints([], fields);
460
+ },
461
+ kind: "StructClassReified",
462
+ };
463
+ };
464
+ Object.defineProperty(ProofPoints, "r", {
465
+ get: function () {
466
+ return ProofPoints.reified();
467
+ },
468
+ enumerable: false,
469
+ configurable: true
470
+ });
471
+ ProofPoints.phantom = function () {
472
+ return (0, reified_1.phantom)(ProofPoints.reified());
473
+ };
474
+ Object.defineProperty(ProofPoints, "p", {
475
+ get: function () {
476
+ return ProofPoints.phantom();
477
+ },
478
+ enumerable: false,
479
+ configurable: true
480
+ });
481
+ Object.defineProperty(ProofPoints, "bcs", {
482
+ get: function () {
483
+ return bcs_1.bcs.struct("ProofPoints", {
484
+ bytes: bcs_1.bcs.vector(bcs_1.bcs.u8()),
485
+ });
486
+ },
487
+ enumerable: false,
488
+ configurable: true
489
+ });
490
+ ProofPoints.fromFields = function (fields) {
491
+ return ProofPoints.reified().new({ bytes: (0, reified_1.decodeFromFields)(reified.vector("u8"), fields.bytes) });
492
+ };
493
+ ProofPoints.fromFieldsWithTypes = function (item) {
494
+ if (!isProofPoints(item.type)) {
495
+ throw new Error("not a ProofPoints type");
496
+ }
497
+ return ProofPoints.reified().new({ bytes: (0, reified_1.decodeFromFieldsWithTypes)(reified.vector("u8"), item.fields.bytes) });
498
+ };
499
+ ProofPoints.fromBcs = function (data) {
500
+ return ProofPoints.fromFields(ProofPoints.bcs.parse(data));
501
+ };
502
+ ProofPoints.prototype.toJSONField = function () {
503
+ return {
504
+ bytes: (0, reified_1.fieldToJSON)("vector<u8>", this.bytes),
505
+ };
506
+ };
507
+ ProofPoints.prototype.toJSON = function () {
508
+ return __assign({ $typeName: this.$typeName, $typeArgs: this.$typeArgs }, this.toJSONField());
509
+ };
510
+ ProofPoints.fromJSONField = function (field) {
511
+ return ProofPoints.reified().new({ bytes: (0, reified_1.decodeFromJSONField)(reified.vector("u8"), field.bytes) });
512
+ };
513
+ ProofPoints.fromJSON = function (json) {
514
+ if (json.$typeName !== ProofPoints.$typeName) {
515
+ throw new Error("not a WithTwoGenerics json object");
516
+ }
517
+ return ProofPoints.fromJSONField(json);
518
+ };
519
+ ProofPoints.fromSuiParsedData = function (content) {
520
+ if (content.dataType !== "moveObject") {
521
+ throw new Error("not an object");
522
+ }
523
+ if (!isProofPoints(content.type)) {
524
+ throw new Error("object at ".concat(content.fields.id, " is not a ProofPoints object"));
525
+ }
526
+ return ProofPoints.fromFieldsWithTypes(content);
527
+ };
528
+ ProofPoints.fromSuiObjectData = function (data) {
529
+ if (data.bcs) {
530
+ if (data.bcs.dataType !== "moveObject" || !isProofPoints(data.bcs.type)) {
531
+ throw new Error("object at is not a ProofPoints object");
532
+ }
533
+ return ProofPoints.fromBcs((0, utils_1.fromB64)(data.bcs.bcsBytes));
534
+ }
535
+ if (data.content) {
536
+ return ProofPoints.fromSuiParsedData(data.content);
537
+ }
538
+ throw new Error("Both `bcs` and `content` fields are missing from the data. Include `showBcs` or `showContent` in the request.");
539
+ };
540
+ ProofPoints.fetch = function (client, id) {
541
+ return __awaiter(this, void 0, void 0, function () {
542
+ var res;
543
+ var _a, _b;
544
+ return __generator(this, function (_c) {
545
+ switch (_c.label) {
546
+ case 0: return [4 /*yield*/, client.getObject({ id: id, options: { showBcs: true } })];
547
+ case 1:
548
+ res = _c.sent();
549
+ if (res.error) {
550
+ throw new Error("error fetching ProofPoints object at id ".concat(id, ": ").concat(res.error.code));
551
+ }
552
+ if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.bcs) === null || _b === void 0 ? void 0 : _b.dataType) !== "moveObject" || !isProofPoints(res.data.bcs.type)) {
553
+ throw new Error("object at id ".concat(id, " is not a ProofPoints object"));
554
+ }
555
+ return [2 /*return*/, ProofPoints.fromSuiObjectData(res.data)];
556
+ }
557
+ });
558
+ });
559
+ };
560
+ ProofPoints.$typeName = "".concat(index_1.PKG_V26, "::groth16::ProofPoints");
561
+ ProofPoints.$numTypeParams = 0;
562
+ ProofPoints.$isPhantom = [];
563
+ return ProofPoints;
564
+ }());
565
+ exports.ProofPoints = ProofPoints;
566
+ /* ============================== PublicProofInputs =============================== */
567
+ function isPublicProofInputs(type) {
568
+ type = (0, util_1.compressSuiType)(type);
569
+ return type === "".concat(index_1.PKG_V26, "::groth16::PublicProofInputs");
570
+ }
571
+ var PublicProofInputs = /** @class */ (function () {
572
+ function PublicProofInputs(typeArgs, fields) {
573
+ this.__StructClass = true;
574
+ this.$typeName = PublicProofInputs.$typeName;
575
+ this.$isPhantom = PublicProofInputs.$isPhantom;
576
+ this.$fullTypeName = util_1.composeSuiType.apply(void 0, __spreadArray([PublicProofInputs.$typeName], __read(typeArgs), false));
577
+ this.$typeArgs = typeArgs;
578
+ this.bytes = fields.bytes;
579
+ }
580
+ PublicProofInputs.reified = function () {
581
+ var _this = this;
582
+ return {
583
+ typeName: PublicProofInputs.$typeName,
584
+ fullTypeName: util_1.composeSuiType.apply(void 0, __spreadArray([PublicProofInputs.$typeName], [], false)),
585
+ typeArgs: [],
586
+ isPhantom: PublicProofInputs.$isPhantom,
587
+ reifiedTypeArgs: [],
588
+ fromFields: function (fields) { return PublicProofInputs.fromFields(fields); },
589
+ fromFieldsWithTypes: function (item) { return PublicProofInputs.fromFieldsWithTypes(item); },
590
+ fromBcs: function (data) { return PublicProofInputs.fromBcs(data); },
591
+ bcs: PublicProofInputs.bcs,
592
+ fromJSONField: function (field) { return PublicProofInputs.fromJSONField(field); },
593
+ fromJSON: function (json) { return PublicProofInputs.fromJSON(json); },
594
+ fromSuiParsedData: function (content) { return PublicProofInputs.fromSuiParsedData(content); },
595
+ fromSuiObjectData: function (content) { return PublicProofInputs.fromSuiObjectData(content); },
596
+ fetch: function (client, id) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
597
+ return [2 /*return*/, PublicProofInputs.fetch(client, id)];
598
+ }); }); },
599
+ new: function (fields) {
600
+ return new PublicProofInputs([], fields);
601
+ },
602
+ kind: "StructClassReified",
603
+ };
604
+ };
605
+ Object.defineProperty(PublicProofInputs, "r", {
606
+ get: function () {
607
+ return PublicProofInputs.reified();
608
+ },
609
+ enumerable: false,
610
+ configurable: true
611
+ });
612
+ PublicProofInputs.phantom = function () {
613
+ return (0, reified_1.phantom)(PublicProofInputs.reified());
614
+ };
615
+ Object.defineProperty(PublicProofInputs, "p", {
616
+ get: function () {
617
+ return PublicProofInputs.phantom();
618
+ },
619
+ enumerable: false,
620
+ configurable: true
621
+ });
622
+ Object.defineProperty(PublicProofInputs, "bcs", {
623
+ get: function () {
624
+ return bcs_1.bcs.struct("PublicProofInputs", {
625
+ bytes: bcs_1.bcs.vector(bcs_1.bcs.u8()),
626
+ });
627
+ },
628
+ enumerable: false,
629
+ configurable: true
630
+ });
631
+ PublicProofInputs.fromFields = function (fields) {
632
+ return PublicProofInputs.reified().new({ bytes: (0, reified_1.decodeFromFields)(reified.vector("u8"), fields.bytes) });
633
+ };
634
+ PublicProofInputs.fromFieldsWithTypes = function (item) {
635
+ if (!isPublicProofInputs(item.type)) {
636
+ throw new Error("not a PublicProofInputs type");
637
+ }
638
+ return PublicProofInputs.reified().new({ bytes: (0, reified_1.decodeFromFieldsWithTypes)(reified.vector("u8"), item.fields.bytes) });
639
+ };
640
+ PublicProofInputs.fromBcs = function (data) {
641
+ return PublicProofInputs.fromFields(PublicProofInputs.bcs.parse(data));
642
+ };
643
+ PublicProofInputs.prototype.toJSONField = function () {
644
+ return {
645
+ bytes: (0, reified_1.fieldToJSON)("vector<u8>", this.bytes),
646
+ };
647
+ };
648
+ PublicProofInputs.prototype.toJSON = function () {
649
+ return __assign({ $typeName: this.$typeName, $typeArgs: this.$typeArgs }, this.toJSONField());
650
+ };
651
+ PublicProofInputs.fromJSONField = function (field) {
652
+ return PublicProofInputs.reified().new({ bytes: (0, reified_1.decodeFromJSONField)(reified.vector("u8"), field.bytes) });
653
+ };
654
+ PublicProofInputs.fromJSON = function (json) {
655
+ if (json.$typeName !== PublicProofInputs.$typeName) {
656
+ throw new Error("not a WithTwoGenerics json object");
657
+ }
658
+ return PublicProofInputs.fromJSONField(json);
659
+ };
660
+ PublicProofInputs.fromSuiParsedData = function (content) {
661
+ if (content.dataType !== "moveObject") {
662
+ throw new Error("not an object");
663
+ }
664
+ if (!isPublicProofInputs(content.type)) {
665
+ throw new Error("object at ".concat(content.fields.id, " is not a PublicProofInputs object"));
666
+ }
667
+ return PublicProofInputs.fromFieldsWithTypes(content);
668
+ };
669
+ PublicProofInputs.fromSuiObjectData = function (data) {
670
+ if (data.bcs) {
671
+ if (data.bcs.dataType !== "moveObject" || !isPublicProofInputs(data.bcs.type)) {
672
+ throw new Error("object at is not a PublicProofInputs object");
673
+ }
674
+ return PublicProofInputs.fromBcs((0, utils_1.fromB64)(data.bcs.bcsBytes));
675
+ }
676
+ if (data.content) {
677
+ return PublicProofInputs.fromSuiParsedData(data.content);
678
+ }
679
+ throw new Error("Both `bcs` and `content` fields are missing from the data. Include `showBcs` or `showContent` in the request.");
680
+ };
681
+ PublicProofInputs.fetch = function (client, id) {
682
+ return __awaiter(this, void 0, void 0, function () {
683
+ var res;
684
+ var _a, _b;
685
+ return __generator(this, function (_c) {
686
+ switch (_c.label) {
687
+ case 0: return [4 /*yield*/, client.getObject({ id: id, options: { showBcs: true } })];
688
+ case 1:
689
+ res = _c.sent();
690
+ if (res.error) {
691
+ throw new Error("error fetching PublicProofInputs object at id ".concat(id, ": ").concat(res.error.code));
692
+ }
693
+ if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.bcs) === null || _b === void 0 ? void 0 : _b.dataType) !== "moveObject" || !isPublicProofInputs(res.data.bcs.type)) {
694
+ throw new Error("object at id ".concat(id, " is not a PublicProofInputs object"));
695
+ }
696
+ return [2 /*return*/, PublicProofInputs.fromSuiObjectData(res.data)];
697
+ }
698
+ });
699
+ });
700
+ };
701
+ PublicProofInputs.$typeName = "".concat(index_1.PKG_V26, "::groth16::PublicProofInputs");
702
+ PublicProofInputs.$numTypeParams = 0;
703
+ PublicProofInputs.$isPhantom = [];
704
+ return PublicProofInputs;
705
+ }());
706
+ exports.PublicProofInputs = PublicProofInputs;