@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,64 @@
1
+ import { Transaction } from "@mysten/sui/transactions";
2
+ export declare function invalidVersion(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
3
+ export declare function activeTradingSymbol(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
4
+ export declare function addSizeNotAllowed(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
5
+ export declare function authorityAlreadyExisted(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
6
+ export declare function authorityDoestNotExist(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
7
+ export declare function authorityEmpty(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
8
+ export declare function balanceNotEnoughForPayingFee(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
9
+ export declare function baseTokenMismatched(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
10
+ export declare function bidReceiptHasBeenExpired(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
11
+ export declare function bidReceiptNotExpired(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
12
+ export declare function bidReceiptNotItm(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
13
+ export declare function collateralTokenTypeMismatched(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
14
+ export declare function depositAmountInsufficient(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
15
+ export declare function depositTokenMismatched(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
16
+ export declare function exceedMaxLeverage(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
17
+ export declare function frictionTooLarge(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
18
+ export declare function insufficientAmountForMintFee(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
19
+ export declare function invalidBidReceiptsInput(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
20
+ export declare function invalidOrderSide(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
21
+ export declare function invalidOrderSize(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
22
+ export declare function invalidTradingFeeConfig(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
23
+ export declare function linkedOrderIdNotExisted(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
24
+ export declare function liquidityNotEnough(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
25
+ export declare function liquidityTokenNotExisted(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
26
+ export declare function lpPoolReserveNotEnough(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
27
+ export declare function lpTokenTypeMismatched(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
28
+ export declare function marketsInactive(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
29
+ export declare function notOptionCollateralOrder(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
30
+ export declare function notOptionCollateralPosition(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
31
+ export declare function notReduceOnlyExecution(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
32
+ export declare function notTokenCollateralPosition(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
33
+ export declare function optionCollateralNotEnough(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
34
+ export declare function optionCollateralOrderNotFilled(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
35
+ export declare function oracleMismatched(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
36
+ export declare function orderNotFilledImmediately(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
37
+ export declare function orderNotFound(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
38
+ export declare function orderOrPositionSizeNotZero(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
39
+ export declare function perpPositionLosses(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
40
+ export declare function poolAlreadyActive(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
41
+ export declare function poolInactive(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
42
+ export declare function portfolioIndexMismatched(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
43
+ export declare function processShouldRemoveOrder(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
44
+ export declare function processShouldRemovePosition(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
45
+ export declare function processShouldRepayLiquidity(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
46
+ export declare function processShouldSwap(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
47
+ export declare function reachMaxCapacity(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
48
+ export declare function reachMaxSingleOrderReserveUsage(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
49
+ export declare function reachSlippageThreshold(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
50
+ export declare function remainingCollateralNotEnough(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
51
+ export declare function tokenCollateralNotEnough(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
52
+ export declare function tokenPoolAlreadyActive(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
53
+ export declare function tokenPoolInactive(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
54
+ export declare function tradingSymbolExisted(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
55
+ export declare function tradingSymbolInactive(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
56
+ export declare function tradingSymbolNotExisted(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
57
+ export declare function tvlNotYetUpdated(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
58
+ export declare function unauthorized(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
59
+ export declare function unsupportedOrderTypeTag(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
60
+ export declare function unsupportedProcessStatusCode(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
61
+ export declare function userMismatched(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
62
+ export declare function wrongCollateralType(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
63
+ export declare function zeroPrice(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
64
+ export declare function zeroTotalSupply(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
@@ -0,0 +1,255 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.invalidVersion = invalidVersion;
4
+ exports.activeTradingSymbol = activeTradingSymbol;
5
+ exports.addSizeNotAllowed = addSizeNotAllowed;
6
+ exports.authorityAlreadyExisted = authorityAlreadyExisted;
7
+ exports.authorityDoestNotExist = authorityDoestNotExist;
8
+ exports.authorityEmpty = authorityEmpty;
9
+ exports.balanceNotEnoughForPayingFee = balanceNotEnoughForPayingFee;
10
+ exports.baseTokenMismatched = baseTokenMismatched;
11
+ exports.bidReceiptHasBeenExpired = bidReceiptHasBeenExpired;
12
+ exports.bidReceiptNotExpired = bidReceiptNotExpired;
13
+ exports.bidReceiptNotItm = bidReceiptNotItm;
14
+ exports.collateralTokenTypeMismatched = collateralTokenTypeMismatched;
15
+ exports.depositAmountInsufficient = depositAmountInsufficient;
16
+ exports.depositTokenMismatched = depositTokenMismatched;
17
+ exports.exceedMaxLeverage = exceedMaxLeverage;
18
+ exports.frictionTooLarge = frictionTooLarge;
19
+ exports.insufficientAmountForMintFee = insufficientAmountForMintFee;
20
+ exports.invalidBidReceiptsInput = invalidBidReceiptsInput;
21
+ exports.invalidOrderSide = invalidOrderSide;
22
+ exports.invalidOrderSize = invalidOrderSize;
23
+ exports.invalidTradingFeeConfig = invalidTradingFeeConfig;
24
+ exports.linkedOrderIdNotExisted = linkedOrderIdNotExisted;
25
+ exports.liquidityNotEnough = liquidityNotEnough;
26
+ exports.liquidityTokenNotExisted = liquidityTokenNotExisted;
27
+ exports.lpPoolReserveNotEnough = lpPoolReserveNotEnough;
28
+ exports.lpTokenTypeMismatched = lpTokenTypeMismatched;
29
+ exports.marketsInactive = marketsInactive;
30
+ exports.notOptionCollateralOrder = notOptionCollateralOrder;
31
+ exports.notOptionCollateralPosition = notOptionCollateralPosition;
32
+ exports.notReduceOnlyExecution = notReduceOnlyExecution;
33
+ exports.notTokenCollateralPosition = notTokenCollateralPosition;
34
+ exports.optionCollateralNotEnough = optionCollateralNotEnough;
35
+ exports.optionCollateralOrderNotFilled = optionCollateralOrderNotFilled;
36
+ exports.oracleMismatched = oracleMismatched;
37
+ exports.orderNotFilledImmediately = orderNotFilledImmediately;
38
+ exports.orderNotFound = orderNotFound;
39
+ exports.orderOrPositionSizeNotZero = orderOrPositionSizeNotZero;
40
+ exports.perpPositionLosses = perpPositionLosses;
41
+ exports.poolAlreadyActive = poolAlreadyActive;
42
+ exports.poolInactive = poolInactive;
43
+ exports.portfolioIndexMismatched = portfolioIndexMismatched;
44
+ exports.processShouldRemoveOrder = processShouldRemoveOrder;
45
+ exports.processShouldRemovePosition = processShouldRemovePosition;
46
+ exports.processShouldRepayLiquidity = processShouldRepayLiquidity;
47
+ exports.processShouldSwap = processShouldSwap;
48
+ exports.reachMaxCapacity = reachMaxCapacity;
49
+ exports.reachMaxSingleOrderReserveUsage = reachMaxSingleOrderReserveUsage;
50
+ exports.reachSlippageThreshold = reachSlippageThreshold;
51
+ exports.remainingCollateralNotEnough = remainingCollateralNotEnough;
52
+ exports.tokenCollateralNotEnough = tokenCollateralNotEnough;
53
+ exports.tokenPoolAlreadyActive = tokenPoolAlreadyActive;
54
+ exports.tokenPoolInactive = tokenPoolInactive;
55
+ exports.tradingSymbolExisted = tradingSymbolExisted;
56
+ exports.tradingSymbolInactive = tradingSymbolInactive;
57
+ exports.tradingSymbolNotExisted = tradingSymbolNotExisted;
58
+ exports.tvlNotYetUpdated = tvlNotYetUpdated;
59
+ exports.unauthorized = unauthorized;
60
+ exports.unsupportedOrderTypeTag = unsupportedOrderTypeTag;
61
+ exports.unsupportedProcessStatusCode = unsupportedProcessStatusCode;
62
+ exports.userMismatched = userMismatched;
63
+ exports.wrongCollateralType = wrongCollateralType;
64
+ exports.zeroPrice = zeroPrice;
65
+ exports.zeroTotalSupply = zeroTotalSupply;
66
+ var __1 = require("..");
67
+ function invalidVersion(tx) {
68
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::invalid_version"), arguments: [] });
69
+ }
70
+ function activeTradingSymbol(tx) {
71
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::active_trading_symbol"), arguments: [] });
72
+ }
73
+ function addSizeNotAllowed(tx) {
74
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::add_size_not_allowed"), arguments: [] });
75
+ }
76
+ function authorityAlreadyExisted(tx) {
77
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::authority_already_existed"), arguments: [] });
78
+ }
79
+ function authorityDoestNotExist(tx) {
80
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::authority_doest_not_exist"), arguments: [] });
81
+ }
82
+ function authorityEmpty(tx) {
83
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::authority_empty"), arguments: [] });
84
+ }
85
+ function balanceNotEnoughForPayingFee(tx) {
86
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::balance_not_enough_for_paying_fee"), arguments: [] });
87
+ }
88
+ function baseTokenMismatched(tx) {
89
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::base_token_mismatched"), arguments: [] });
90
+ }
91
+ function bidReceiptHasBeenExpired(tx) {
92
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::bid_receipt_has_been_expired"), arguments: [] });
93
+ }
94
+ function bidReceiptNotExpired(tx) {
95
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::bid_receipt_not_expired"), arguments: [] });
96
+ }
97
+ function bidReceiptNotItm(tx) {
98
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::bid_receipt_not_itm"), arguments: [] });
99
+ }
100
+ function collateralTokenTypeMismatched(tx) {
101
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::collateral_token_type_mismatched"), arguments: [] });
102
+ }
103
+ function depositAmountInsufficient(tx) {
104
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::deposit_amount_insufficient"), arguments: [] });
105
+ }
106
+ function depositTokenMismatched(tx) {
107
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::deposit_token_mismatched"), arguments: [] });
108
+ }
109
+ function exceedMaxLeverage(tx) {
110
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::exceed_max_leverage"), arguments: [] });
111
+ }
112
+ function frictionTooLarge(tx) {
113
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::friction_too_large"), arguments: [] });
114
+ }
115
+ function insufficientAmountForMintFee(tx) {
116
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::insufficient_amount_for_mint_fee"), arguments: [] });
117
+ }
118
+ function invalidBidReceiptsInput(tx) {
119
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::invalid_bid_receipts_input"), arguments: [] });
120
+ }
121
+ function invalidOrderSide(tx) {
122
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::invalid_order_side"), arguments: [] });
123
+ }
124
+ function invalidOrderSize(tx) {
125
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::invalid_order_size"), arguments: [] });
126
+ }
127
+ function invalidTradingFeeConfig(tx) {
128
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::invalid_trading_fee_config"), arguments: [] });
129
+ }
130
+ function linkedOrderIdNotExisted(tx) {
131
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::linked_order_id_not_existed"), arguments: [] });
132
+ }
133
+ function liquidityNotEnough(tx) {
134
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::liquidity_not_enough"), arguments: [] });
135
+ }
136
+ function liquidityTokenNotExisted(tx) {
137
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::liquidity_token_not_existed"), arguments: [] });
138
+ }
139
+ function lpPoolReserveNotEnough(tx) {
140
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::lp_pool_reserve_not_enough"), arguments: [] });
141
+ }
142
+ function lpTokenTypeMismatched(tx) {
143
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::lp_token_type_mismatched"), arguments: [] });
144
+ }
145
+ function marketsInactive(tx) {
146
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::markets_inactive"), arguments: [] });
147
+ }
148
+ function notOptionCollateralOrder(tx) {
149
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::not_option_collateral_order"), arguments: [] });
150
+ }
151
+ function notOptionCollateralPosition(tx) {
152
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::not_option_collateral_position"), arguments: [] });
153
+ }
154
+ function notReduceOnlyExecution(tx) {
155
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::not_reduce_only_execution"), arguments: [] });
156
+ }
157
+ function notTokenCollateralPosition(tx) {
158
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::not_token_collateral_position"), arguments: [] });
159
+ }
160
+ function optionCollateralNotEnough(tx) {
161
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::option_collateral_not_enough"), arguments: [] });
162
+ }
163
+ function optionCollateralOrderNotFilled(tx) {
164
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::option_collateral_order_not_filled"), arguments: [] });
165
+ }
166
+ function oracleMismatched(tx) {
167
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::oracle_mismatched"), arguments: [] });
168
+ }
169
+ function orderNotFilledImmediately(tx) {
170
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::order_not_filled_immediately"), arguments: [] });
171
+ }
172
+ function orderNotFound(tx) {
173
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::order_not_found"), arguments: [] });
174
+ }
175
+ function orderOrPositionSizeNotZero(tx) {
176
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::order_or_position_size_not_zero"), arguments: [] });
177
+ }
178
+ function perpPositionLosses(tx) {
179
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::perp_position_losses"), arguments: [] });
180
+ }
181
+ function poolAlreadyActive(tx) {
182
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::pool_already_active"), arguments: [] });
183
+ }
184
+ function poolInactive(tx) {
185
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::pool_inactive"), arguments: [] });
186
+ }
187
+ function portfolioIndexMismatched(tx) {
188
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::portfolio_index_mismatched"), arguments: [] });
189
+ }
190
+ function processShouldRemoveOrder(tx) {
191
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::process_should_remove_order"), arguments: [] });
192
+ }
193
+ function processShouldRemovePosition(tx) {
194
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::process_should_remove_position"), arguments: [] });
195
+ }
196
+ function processShouldRepayLiquidity(tx) {
197
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::process_should_repay_liquidity"), arguments: [] });
198
+ }
199
+ function processShouldSwap(tx) {
200
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::process_should_swap"), arguments: [] });
201
+ }
202
+ function reachMaxCapacity(tx) {
203
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::reach_max_capacity"), arguments: [] });
204
+ }
205
+ function reachMaxSingleOrderReserveUsage(tx) {
206
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::reach_max_single_order_reserve_usage"), arguments: [] });
207
+ }
208
+ function reachSlippageThreshold(tx) {
209
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::reach_slippage_threshold"), arguments: [] });
210
+ }
211
+ function remainingCollateralNotEnough(tx) {
212
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::remaining_collateral_not_enough"), arguments: [] });
213
+ }
214
+ function tokenCollateralNotEnough(tx) {
215
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::token_collateral_not_enough"), arguments: [] });
216
+ }
217
+ function tokenPoolAlreadyActive(tx) {
218
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::token_pool_already_active"), arguments: [] });
219
+ }
220
+ function tokenPoolInactive(tx) {
221
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::token_pool_inactive"), arguments: [] });
222
+ }
223
+ function tradingSymbolExisted(tx) {
224
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::trading_symbol_existed"), arguments: [] });
225
+ }
226
+ function tradingSymbolInactive(tx) {
227
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::trading_symbol_inactive"), arguments: [] });
228
+ }
229
+ function tradingSymbolNotExisted(tx) {
230
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::trading_symbol_not_existed"), arguments: [] });
231
+ }
232
+ function tvlNotYetUpdated(tx) {
233
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::tvl_not_yet_updated"), arguments: [] });
234
+ }
235
+ function unauthorized(tx) {
236
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::unauthorized"), arguments: [] });
237
+ }
238
+ function unsupportedOrderTypeTag(tx) {
239
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::unsupported_order_type_tag"), arguments: [] });
240
+ }
241
+ function unsupportedProcessStatusCode(tx) {
242
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::unsupported_process_status_code"), arguments: [] });
243
+ }
244
+ function userMismatched(tx) {
245
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::user_mismatched"), arguments: [] });
246
+ }
247
+ function wrongCollateralType(tx) {
248
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::wrong_collateral_type"), arguments: [] });
249
+ }
250
+ function zeroPrice(tx) {
251
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::zero_price"), arguments: [] });
252
+ }
253
+ function zeroTotalSupply(tx) {
254
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::zero_total_supply"), arguments: [] });
255
+ }
@@ -0,0 +1,17 @@
1
+ import { Transaction, TransactionArgument, TransactionObjectInput } from "@mysten/sui/transactions";
2
+ export interface CreateUnsettledBidReceiptArgs {
3
+ receipt: Array<TransactionObjectInput> | TransactionArgument;
4
+ positionId: bigint | TransactionArgument;
5
+ user: string | TransactionArgument;
6
+ tokenTypes: Array<TransactionObjectInput> | TransactionArgument;
7
+ unrealizedPnlSign: boolean | TransactionArgument;
8
+ unrealizedPnl: bigint | TransactionArgument;
9
+ unrealizedTradingFee: bigint | TransactionArgument;
10
+ unrealizedBorrowFee: bigint | TransactionArgument;
11
+ unrealizedFundingFeeSign: boolean | TransactionArgument;
12
+ unrealizedFundingFee: bigint | TransactionArgument;
13
+ unrealizedLiquidatorFee: bigint | TransactionArgument;
14
+ }
15
+ export declare function createUnsettledBidReceipt(tx: Transaction, args: CreateUnsettledBidReceiptArgs): import("@mysten/sui/transactions").TransactionResult;
16
+ export declare function destructUnsettledBidReceipt(tx: Transaction, unsettledBidReceipt: TransactionObjectInput): import("@mysten/sui/transactions").TransactionResult;
17
+ export declare function getBidReceipts(tx: Transaction, unsettledBidReceipt: TransactionObjectInput): import("@mysten/sui/transactions").TransactionResult;
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.createUnsettledBidReceipt = createUnsettledBidReceipt;
4
+ exports.destructUnsettledBidReceipt = destructUnsettledBidReceipt;
5
+ exports.getBidReceipts = getBidReceipts;
6
+ var __1 = require("..");
7
+ var structs_1 = require("../../_dependencies/source/0x1/type-name/structs");
8
+ var structs_2 = require("../../_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/vault/structs");
9
+ var util_1 = require("../../_framework/util");
10
+ function createUnsettledBidReceipt(tx, args) {
11
+ return tx.moveCall({
12
+ target: "".concat(__1.PUBLISHED_AT, "::escrow::create_unsettled_bid_receipt"),
13
+ arguments: [
14
+ (0, util_1.vector)(tx, "".concat(structs_2.TypusBidReceipt.$typeName), args.receipt),
15
+ (0, util_1.pure)(tx, args.positionId, "u64"),
16
+ (0, util_1.pure)(tx, args.user, "address"),
17
+ (0, util_1.vector)(tx, "".concat(structs_1.TypeName.$typeName), args.tokenTypes),
18
+ (0, util_1.pure)(tx, args.unrealizedPnlSign, "bool"),
19
+ (0, util_1.pure)(tx, args.unrealizedPnl, "u64"),
20
+ (0, util_1.pure)(tx, args.unrealizedTradingFee, "u64"),
21
+ (0, util_1.pure)(tx, args.unrealizedBorrowFee, "u64"),
22
+ (0, util_1.pure)(tx, args.unrealizedFundingFeeSign, "bool"),
23
+ (0, util_1.pure)(tx, args.unrealizedFundingFee, "u64"),
24
+ (0, util_1.pure)(tx, args.unrealizedLiquidatorFee, "u64"),
25
+ ],
26
+ });
27
+ }
28
+ function destructUnsettledBidReceipt(tx, unsettledBidReceipt) {
29
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::escrow::destruct_unsettled_bid_receipt"), arguments: [(0, util_1.obj)(tx, unsettledBidReceipt)] });
30
+ }
31
+ function getBidReceipts(tx, unsettledBidReceipt) {
32
+ return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::escrow::get_bid_receipts"), arguments: [(0, util_1.obj)(tx, unsettledBidReceipt)] });
33
+ }
@@ -0,0 +1,172 @@
1
+ import * as reified from "../../_framework/reified";
2
+ import { TypeName } from "../../_dependencies/source/0x1/type-name/structs";
3
+ import { TypusBidReceipt } from "../../_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/vault/structs";
4
+ import { PhantomReified, Reified, StructClass, ToField, ToTypeStr } from "../../_framework/reified";
5
+ import { FieldsWithTypes } from "../../_framework/util";
6
+ import { Vector } from "../../_framework/vector";
7
+ import { PKG_V1 } from "../index";
8
+ import { SuiClient, SuiObjectData, SuiParsedData } from "@mysten/sui/client";
9
+ export declare function isUnsettledBidReceipt(type: string): boolean;
10
+ export interface UnsettledBidReceiptFields {
11
+ receipt: ToField<Vector<TypusBidReceipt>>;
12
+ positionId: ToField<"u64">;
13
+ user: ToField<"address">;
14
+ tokenTypes: ToField<Vector<TypeName>>;
15
+ unrealizedPnlSign: ToField<"bool">;
16
+ unrealizedPnl: ToField<"u64">;
17
+ unrealizedTradingFee: ToField<"u64">;
18
+ unrealizedBorrowFee: ToField<"u64">;
19
+ unrealizedFundingFeeSign: ToField<"bool">;
20
+ unrealizedFundingFee: ToField<"u64">;
21
+ unrealizedLiquidatorFee: ToField<"u64">;
22
+ }
23
+ export type UnsettledBidReceiptReified = Reified<UnsettledBidReceipt, UnsettledBidReceiptFields>;
24
+ export declare class UnsettledBidReceipt implements StructClass {
25
+ __StructClass: true;
26
+ static readonly $typeName: string;
27
+ static readonly $numTypeParams = 0;
28
+ static readonly $isPhantom: readonly [];
29
+ readonly $typeName: string;
30
+ readonly $fullTypeName: `${typeof PKG_V1}::escrow::UnsettledBidReceipt`;
31
+ readonly $typeArgs: [];
32
+ readonly $isPhantom: readonly [];
33
+ readonly receipt: ToField<Vector<TypusBidReceipt>>;
34
+ readonly positionId: ToField<"u64">;
35
+ readonly user: ToField<"address">;
36
+ readonly tokenTypes: ToField<Vector<TypeName>>;
37
+ readonly unrealizedPnlSign: ToField<"bool">;
38
+ readonly unrealizedPnl: ToField<"u64">;
39
+ readonly unrealizedTradingFee: ToField<"u64">;
40
+ readonly unrealizedBorrowFee: ToField<"u64">;
41
+ readonly unrealizedFundingFeeSign: ToField<"bool">;
42
+ readonly unrealizedFundingFee: ToField<"u64">;
43
+ readonly unrealizedLiquidatorFee: ToField<"u64">;
44
+ private constructor();
45
+ static reified(): UnsettledBidReceiptReified;
46
+ static get r(): reified.StructClassReified<UnsettledBidReceipt, UnsettledBidReceiptFields>;
47
+ static phantom(): PhantomReified<ToTypeStr<UnsettledBidReceipt>>;
48
+ static get p(): reified.PhantomReified<"::escrow::UnsettledBidReceipt" | "0x89c20927846e2b4b41249d4400d31362e925a2f327acf83f535e51134f611617::escrow::UnsettledBidReceipt">;
49
+ static get bcs(): import("@mysten/sui/bcs").BcsType<{
50
+ receipt: {
51
+ id: {
52
+ id: {
53
+ bytes: string;
54
+ };
55
+ };
56
+ vid: {
57
+ bytes: string;
58
+ };
59
+ index: string;
60
+ metadata: {
61
+ bytes: number[];
62
+ };
63
+ u64_padding: string[];
64
+ }[];
65
+ position_id: string;
66
+ user: string;
67
+ token_types: {
68
+ name: {
69
+ bytes: number[];
70
+ };
71
+ }[];
72
+ unrealized_pnl_sign: boolean;
73
+ unrealized_pnl: string;
74
+ unrealized_trading_fee: string;
75
+ unrealized_borrow_fee: string;
76
+ unrealized_funding_fee_sign: boolean;
77
+ unrealized_funding_fee: string;
78
+ unrealized_liquidator_fee: string;
79
+ }, {
80
+ receipt: Iterable<{
81
+ id: {
82
+ id: {
83
+ bytes: string;
84
+ };
85
+ };
86
+ vid: {
87
+ bytes: string;
88
+ };
89
+ index: string | number | bigint;
90
+ metadata: {
91
+ bytes: Iterable<number> & {
92
+ length: number;
93
+ };
94
+ };
95
+ u64_padding: Iterable<string | number | bigint> & {
96
+ length: number;
97
+ };
98
+ }> & {
99
+ length: number;
100
+ };
101
+ position_id: string | number | bigint;
102
+ user: string;
103
+ token_types: Iterable<{
104
+ name: {
105
+ bytes: Iterable<number> & {
106
+ length: number;
107
+ };
108
+ };
109
+ }> & {
110
+ length: number;
111
+ };
112
+ unrealized_pnl_sign: boolean;
113
+ unrealized_pnl: string | number | bigint;
114
+ unrealized_trading_fee: string | number | bigint;
115
+ unrealized_borrow_fee: string | number | bigint;
116
+ unrealized_funding_fee_sign: boolean;
117
+ unrealized_funding_fee: string | number | bigint;
118
+ unrealized_liquidator_fee: string | number | bigint;
119
+ }>;
120
+ static fromFields(fields: Record<string, any>): UnsettledBidReceipt;
121
+ static fromFieldsWithTypes(item: FieldsWithTypes): UnsettledBidReceipt;
122
+ static fromBcs(data: Uint8Array): UnsettledBidReceipt;
123
+ toJSONField(): {
124
+ receipt: {
125
+ id: string;
126
+ vid: string;
127
+ index: string;
128
+ metadata: string;
129
+ u64Padding: string[];
130
+ }[];
131
+ positionId: string;
132
+ user: string;
133
+ tokenTypes: {
134
+ name: string;
135
+ }[];
136
+ unrealizedPnlSign: boolean;
137
+ unrealizedPnl: string;
138
+ unrealizedTradingFee: string;
139
+ unrealizedBorrowFee: string;
140
+ unrealizedFundingFeeSign: boolean;
141
+ unrealizedFundingFee: string;
142
+ unrealizedLiquidatorFee: string;
143
+ };
144
+ toJSON(): {
145
+ receipt: {
146
+ id: string;
147
+ vid: string;
148
+ index: string;
149
+ metadata: string;
150
+ u64Padding: string[];
151
+ }[];
152
+ positionId: string;
153
+ user: string;
154
+ tokenTypes: {
155
+ name: string;
156
+ }[];
157
+ unrealizedPnlSign: boolean;
158
+ unrealizedPnl: string;
159
+ unrealizedTradingFee: string;
160
+ unrealizedBorrowFee: string;
161
+ unrealizedFundingFeeSign: boolean;
162
+ unrealizedFundingFee: string;
163
+ unrealizedLiquidatorFee: string;
164
+ $typeName: string;
165
+ $typeArgs: [];
166
+ };
167
+ static fromJSONField(field: any): UnsettledBidReceipt;
168
+ static fromJSON(json: Record<string, any>): UnsettledBidReceipt;
169
+ static fromSuiParsedData(content: SuiParsedData): UnsettledBidReceipt;
170
+ static fromSuiObjectData(data: SuiObjectData): UnsettledBidReceipt;
171
+ static fetch(client: SuiClient, id: string): Promise<UnsettledBidReceipt>;
172
+ }