@typus/typus-sdk 1.4.84-ts → 1.4.85

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 (573) hide show
  1. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x1/ascii/structs.d.ts +6 -16
  2. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x1/ascii/structs.js +45 -161
  3. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x1/bit-vector/structs.d.ts +4 -10
  4. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x1/bit-vector/structs.js +25 -90
  5. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x1/fixed-point32/structs.d.ts +3 -8
  6. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x1/fixed-point32/structs.js +23 -84
  7. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x1/index.d.ts +0 -1
  8. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x1/index.js +1 -2
  9. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x1/init.js +0 -4
  10. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x1/option/structs.d.ts +4 -10
  11. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x1/option/structs.js +25 -94
  12. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x1/string/structs.d.ts +4 -10
  13. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x1/string/structs.js +23 -84
  14. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x1/type-name/structs.d.ts +3 -8
  15. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x1/type-name/structs.js +23 -84
  16. package/dist/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/index.d.ts +2 -0
  17. package/dist/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/index.js +5 -0
  18. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/init.js +0 -1
  19. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/oracle/structs.d.ts +13 -86
  20. package/dist/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/oracle/structs.js +377 -0
  21. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/pyth-parser/structs.d.ts +5 -14
  22. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/pyth-parser/structs.js +10 -52
  23. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/supra/structs.d.ts +3 -8
  24. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/supra/structs.js +28 -105
  25. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/switchboard-feed-parser/structs.d.ts +3 -8
  26. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/switchboard-feed-parser/structs.js +28 -108
  27. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/authenticator-state/structs.d.ts +12 -34
  28. package/dist/src/_dependencies/source/0x2/authenticator-state/structs.js +565 -0
  29. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/bag/structs.d.ts +3 -8
  30. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/bag/structs.js +25 -90
  31. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/balance/structs.d.ts +5 -14
  32. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/balance/structs.js +45 -183
  33. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/bcs/structs.d.ts +4 -10
  34. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/bcs/structs.js +23 -84
  35. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/bls12381/structs.d.ts +9 -68
  36. package/dist/src/_dependencies/source/0x2/bls12381/structs.js +434 -0
  37. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/borrow/structs.d.ts +4 -13
  38. package/dist/src/_dependencies/source/0x2/borrow/structs.js +267 -0
  39. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/clock/structs.d.ts +3 -8
  40. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/clock/structs.js +25 -90
  41. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/coin/structs.d.ts +13 -94
  42. package/dist/src/_dependencies/source/0x2/coin/structs.js +648 -0
  43. package/dist/src/_dependencies/source/0x2/deny-list/structs.d.ts +178 -0
  44. package/dist/src/_dependencies/source/0x2/deny-list/structs.js +290 -0
  45. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/display/structs.d.ts +7 -20
  46. package/dist/src/_dependencies/source/0x2/display/structs.js +362 -0
  47. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/dynamic-field/structs.d.ts +7 -12
  48. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/dynamic-field/structs.js +28 -110
  49. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/dynamic-object-field/structs.d.ts +5 -10
  50. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/dynamic-object-field/structs.js +24 -94
  51. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/groth16/structs.d.ts +10 -28
  52. package/dist/src/_dependencies/source/0x2/groth16/structs.js +464 -0
  53. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/group-ops/structs.d.ts +4 -10
  54. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/group-ops/structs.js +23 -93
  55. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/index.d.ts +0 -1
  56. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/index.js +1 -2
  57. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/init.js +5 -16
  58. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/kiosk/structs.d.ts +21 -62
  59. package/dist/src/_dependencies/source/0x2/kiosk/structs.js +1033 -0
  60. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/kiosk-extension/structs.d.ts +5 -14
  61. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/kiosk-extension/structs.js +48 -185
  62. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/linked-table/structs.d.ts +6 -15
  63. package/dist/src/_dependencies/source/0x2/linked-table/structs.js +272 -0
  64. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/object/structs.d.ts +5 -14
  65. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/object/structs.js +45 -166
  66. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/object-bag/structs.d.ts +3 -8
  67. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/object-bag/structs.js +25 -90
  68. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/object-table/structs.d.ts +3 -8
  69. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/object-table/structs.js +25 -101
  70. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/package/structs.d.ts +10 -28
  71. package/dist/src/_dependencies/source/0x2/package/structs.js +478 -0
  72. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/priority-queue/structs.d.ts +9 -19
  73. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/priority-queue/structs.js +50 -192
  74. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/random/structs.d.ts +8 -22
  75. package/dist/src/_dependencies/source/0x2/random/structs.js +383 -0
  76. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/sui/structs.d.ts +3 -8
  77. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/sui/structs.js +23 -84
  78. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/table/structs.d.ts +3 -8
  79. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/table/structs.js +25 -101
  80. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/table-vec/structs.d.ts +3 -8
  81. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/table-vec/structs.js +23 -93
  82. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/token/structs.d.ts +13 -38
  83. package/dist/src/_dependencies/source/0x2/token/structs.js +651 -0
  84. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/transfer/structs.d.ts +3 -8
  85. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/transfer/structs.js +25 -99
  86. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/transfer-policy/structs.d.ts +13 -38
  87. package/dist/src/_dependencies/source/0x2/transfer-policy/structs.js +665 -0
  88. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/tx-context/structs.d.ts +4 -10
  89. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/tx-context/structs.js +28 -108
  90. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/url/structs.d.ts +3 -8
  91. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/url/structs.js +23 -84
  92. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/vec-map/structs.d.ts +13 -23
  93. package/dist/src/_dependencies/source/0x2/vec-map/structs.js +286 -0
  94. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/vec-set/structs.d.ts +4 -10
  95. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/vec-set/structs.js +24 -94
  96. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/versioned/structs.d.ts +5 -14
  97. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/versioned/structs.js +49 -177
  98. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/zklogin-verified-id/structs.d.ts +3 -8
  99. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/zklogin-verified-id/structs.js +29 -113
  100. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/zklogin-verified-issuer/structs.d.ts +3 -8
  101. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/zklogin-verified-issuer/structs.js +26 -98
  102. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/index.d.ts +0 -1
  103. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/index.js +1 -2
  104. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/validator/structs.d.ts +3 -8
  105. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/validator/structs.js +23 -84
  106. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/index.d.ts +0 -2
  107. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/index.js +1 -3
  108. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/price-data-pull/structs.d.ts +3 -8
  109. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/price-data-pull/structs.js +23 -84
  110. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/suprasvaluefeed/structs.d.ts +5 -14
  111. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/suprasvaluefeed/structs.js +50 -186
  112. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/airdrop/structs.d.ts +14 -40
  113. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/airdrop/structs.js +669 -0
  114. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/big-vector/structs.d.ts +5 -15
  115. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/big-vector/structs.js +7 -52
  116. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/critbit/structs.d.ts +7 -20
  117. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/critbit/structs.js +402 -0
  118. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/ecosystem/structs.d.ts +12 -34
  119. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/ecosystem/structs.js +566 -0
  120. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/index.d.ts +2 -0
  121. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/index.js +5 -0
  122. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/init.js +1 -20
  123. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/leaderboard/structs.d.ts +16 -124
  124. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/leaderboard/structs.js +774 -0
  125. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/linked-object-table/structs.d.ts +4 -13
  126. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/linked-object-table/structs.js +272 -0
  127. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/linked-set/structs.d.ts +4 -13
  128. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/linked-set/structs.js +276 -0
  129. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/tgld/structs.d.ts +50 -68
  130. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/tgld/structs.js +471 -0
  131. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/user/structs.d.ts +12 -34
  132. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/user/structs.js +563 -0
  133. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/discount-mint/structs.d.ts +16 -46
  134. package/dist/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/discount-mint/structs.js +789 -0
  135. package/dist/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/index.d.ts +2 -0
  136. package/dist/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/index.js +5 -0
  137. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/init.js +3 -4
  138. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/royalty-rule/structs.d.ts +41 -50
  139. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/royalty-rule/structs.js +103 -227
  140. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/staking/structs.d.ts +55 -76
  141. package/dist/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/staking/structs.js +562 -0
  142. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/table-vec/structs.d.ts +3 -8
  143. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/table-vec/structs.js +23 -93
  144. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/typus-nft/structs.d.ts +136 -247
  145. package/dist/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/typus-nft/structs.js +1331 -0
  146. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/auto-bid/structs.d.ts +34 -100
  147. package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/auto-bid/structs.js +1706 -0
  148. package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/index.d.ts +2 -0
  149. package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/index.js +5 -0
  150. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/init.js +17 -23
  151. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tails-staking/structs.d.ts +147 -213
  152. package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tails-staking/structs.js +1643 -0
  153. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-authorized-entry/structs.d.ts +20 -58
  154. package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-authorized-entry/structs.js +971 -0
  155. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-fee-pool-entry/structs.d.ts +16 -46
  156. package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-fee-pool-entry/structs.js +750 -0
  157. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-registry-authorized-entry/structs.d.ts +82 -244
  158. package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-registry-authorized-entry/structs.js +933 -0
  159. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-view-function/structs.d.ts +3 -8
  160. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-view-function/structs.js +30 -115
  161. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/typus-dov-single/structs.d.ts +74 -534
  162. package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/typus-dov-single/structs.js +3796 -0
  163. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x7237ec8436ef7e927c45470db6db3a834dd84cf903aedee3844e847fe4805399/index.d.ts +0 -1
  164. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x7237ec8436ef7e927c45470db6db3a834dd84cf903aedee3844e847fe4805399/index.js +1 -2
  165. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/authority/structs.d.ts +3 -8
  166. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/authority/structs.js +23 -87
  167. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/balance-pool/structs.d.ts +8 -22
  168. package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/balance-pool/structs.js +382 -0
  169. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/big-vector/structs.d.ts +3 -8
  170. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/big-vector/structs.js +27 -109
  171. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/dutch/structs.d.ts +17 -50
  172. package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/dutch/structs.js +959 -0
  173. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/i64/structs.d.ts +3 -8
  174. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/i64/structs.js +23 -80
  175. package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/index.d.ts +2 -0
  176. package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/index.js +5 -0
  177. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/linked-list/structs.d.ts +6 -15
  178. package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/linked-list/structs.js +274 -0
  179. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/vault/structs.d.ts +58 -172
  180. package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/vault/structs.js +2830 -0
  181. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/aggregator/structs.d.ts +14 -40
  182. package/dist/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/aggregator/structs.js +711 -0
  183. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/index.d.ts +0 -1
  184. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/index.js +1 -2
  185. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/job/structs.d.ts +4 -10
  186. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/job/structs.js +28 -105
  187. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/math/structs.d.ts +3 -8
  188. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/math/structs.js +26 -95
  189. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/quote/structs.d.ts +4 -10
  190. package/dist/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/quote/structs.js +212 -0
  191. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/switchboard/structs.d.ts +3 -8
  192. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/switchboard/structs.js +23 -84
  193. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/index.d.ts +0 -1
  194. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/index.js +1 -2
  195. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/kiosk-lock-rule/structs.d.ts +39 -48
  196. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/kiosk-lock-rule/structs.js +97 -217
  197. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/royalty-rule/structs.d.ts +41 -50
  198. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/royalty-rule/structs.js +103 -227
  199. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/witness-rule/structs.d.ts +3 -8
  200. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/witness-rule/structs.js +23 -93
  201. package/dist/src/{typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94 → _dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e}/bytes20/structs.d.ts +7 -13
  202. package/dist/src/{typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94 → _dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e}/bytes20/structs.js +23 -84
  203. package/dist/src/{typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94 → _dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e}/bytes32/structs.d.ts +7 -13
  204. package/dist/src/{typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94 → _dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e}/bytes32/structs.js +23 -84
  205. package/dist/src/{typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94 → _dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e}/consumed-vaas/structs.d.ts +6 -11
  206. package/dist/src/{typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94 → _dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e}/consumed-vaas/structs.js +23 -84
  207. package/dist/src/{typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94 → _dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e}/cursor/structs.d.ts +6 -12
  208. package/dist/src/{typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94 → _dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e}/cursor/structs.js +24 -94
  209. package/dist/src/{typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94 → _dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e}/emitter/structs.d.ts +16 -29
  210. package/dist/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/emitter/structs.js +348 -0
  211. package/dist/src/{typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94 → _dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e}/external-address/structs.d.ts +6 -11
  212. package/dist/src/{typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94 → _dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e}/external-address/structs.js +23 -84
  213. package/dist/src/{typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94 → _dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e}/fee-collector/structs.d.ts +6 -11
  214. package/dist/src/{typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94 → _dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e}/fee-collector/structs.js +25 -90
  215. package/dist/src/{typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94 → _dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e}/governance-message/structs.d.ts +10 -20
  216. package/dist/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/governance-message/structs.js +298 -0
  217. package/dist/src/{typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94 → _dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e}/guardian/structs.d.ts +6 -11
  218. package/dist/src/{typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94 → _dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e}/guardian/structs.js +23 -84
  219. package/dist/src/{typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94 → _dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e}/guardian-set/structs.d.ts +7 -13
  220. package/dist/src/{typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94 → _dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e}/guardian-set/structs.js +26 -95
  221. package/dist/src/{typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94 → _dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e}/guardian-signature/structs.d.ts +6 -11
  222. package/dist/src/{typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94 → _dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e}/guardian-signature/structs.js +27 -100
  223. package/dist/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/index.d.ts +2 -0
  224. package/dist/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/index.js +5 -0
  225. package/dist/src/{typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94 → _dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e}/migrate/structs.d.ts +6 -11
  226. package/dist/src/{typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94 → _dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e}/migrate/structs.js +23 -84
  227. package/dist/src/{typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94 → _dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e}/package-utils/structs.d.ts +21 -38
  228. package/dist/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/package-utils/structs.js +438 -0
  229. package/dist/src/{typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94 → _dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e}/publish-message/structs.d.ts +12 -22
  230. package/dist/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/publish-message/structs.js +297 -0
  231. package/dist/src/{typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94 → _dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e}/set/structs.d.ts +43 -52
  232. package/dist/src/{typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94 → _dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e}/set/structs.js +103 -232
  233. package/dist/src/{typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94 → _dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e}/set-fee/structs.d.ts +11 -20
  234. package/dist/src/{typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94 → _dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e}/set-fee/structs.js +45 -165
  235. package/dist/src/{typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94 → _dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e}/setup/structs.d.ts +6 -11
  236. package/dist/src/{typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837 → _dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e}/setup/structs.js +23 -84
  237. package/dist/src/{typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94 → _dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e}/state/structs.d.ts +11 -20
  238. package/dist/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/state/structs.js +303 -0
  239. package/dist/src/{typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94 → _dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e}/transfer-fee/structs.d.ts +11 -20
  240. package/dist/src/{typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94 → _dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e}/transfer-fee/structs.js +47 -174
  241. package/dist/src/{typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94 → _dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e}/update-guardian-set/structs.d.ts +17 -31
  242. package/dist/src/{typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94 → _dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e}/update-guardian-set/structs.js +69 -252
  243. package/dist/src/{typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94 → _dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e}/upgrade-contract/structs.d.ts +49 -62
  244. package/dist/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/upgrade-contract/structs.js +349 -0
  245. package/dist/src/{typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94 → _dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e}/vaa/structs.d.ts +7 -13
  246. package/dist/src/{typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94 → _dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e}/vaa/structs.js +32 -125
  247. package/dist/src/{typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94 → _dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e}/version-control/structs.d.ts +11 -20
  248. package/dist/src/{typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94 → _dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e}/version-control/structs.js +45 -165
  249. package/dist/src/{typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837 → _dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3}/batch-price-attestation/structs.d.ts +12 -22
  250. package/dist/src/{typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837 → _dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3}/batch-price-attestation/structs.js +54 -202
  251. package/dist/src/{typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837 → _dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3}/contract-upgrade/structs.d.ts +12 -21
  252. package/dist/src/{typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837 → _dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3}/contract-upgrade/structs.js +48 -172
  253. package/dist/src/{typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837 → _dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3}/data-source/structs.d.ts +7 -12
  254. package/dist/src/{typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837 → _dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3}/data-source/structs.js +26 -91
  255. package/dist/src/{typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837 → _dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3}/event/structs.d.ts +11 -20
  256. package/dist/src/{typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837 → _dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3}/event/structs.js +47 -171
  257. package/dist/src/{typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837 → _dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3}/governance/structs.d.ts +8 -14
  258. package/dist/src/{typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837 → _dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3}/governance/structs.js +27 -96
  259. package/dist/src/{typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837 → _dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3}/governance-action/structs.d.ts +6 -11
  260. package/dist/src/{typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837 → _dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3}/governance-action/structs.js +23 -84
  261. package/dist/src/{typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837 → _dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3}/governance-instruction/structs.d.ts +7 -13
  262. package/dist/src/{typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837 → _dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3}/governance-instruction/structs.js +27 -100
  263. package/dist/src/{typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837 → _dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3}/hot-potato-vector/structs.d.ts +6 -12
  264. package/dist/src/{typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837 → _dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3}/hot-potato-vector/structs.js +24 -94
  265. package/dist/src/{typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837 → _dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3}/i64/structs.d.ts +6 -11
  266. package/dist/src/{typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837 → _dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3}/i64/structs.js +25 -90
  267. package/dist/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/index.d.ts +2 -0
  268. package/dist/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/index.js +5 -0
  269. package/dist/src/{typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837 → _dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3}/init.js +0 -1
  270. package/dist/src/{typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837 → _dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3}/migrate/structs.d.ts +6 -11
  271. package/dist/src/{typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837 → _dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3}/migrate/structs.js +23 -84
  272. package/dist/src/{typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837 → _dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3}/price/structs.d.ts +6 -11
  273. package/dist/src/{typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837 → _dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3}/price/structs.js +27 -100
  274. package/dist/src/{typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837 → _dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3}/price-feed/structs.d.ts +6 -11
  275. package/dist/src/{typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837 → _dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3}/price-feed/structs.js +26 -95
  276. package/dist/src/{typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837 → _dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3}/price-identifier/structs.d.ts +7 -13
  277. package/dist/src/{typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837 → _dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3}/price-identifier/structs.js +23 -84
  278. package/dist/src/{typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837 → _dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3}/price-info/structs.d.ts +11 -20
  279. package/dist/src/{typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837 → _dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3}/price-info/structs.js +50 -182
  280. package/dist/src/{typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837 → _dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3}/price-status/structs.d.ts +6 -11
  281. package/dist/src/{typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837 → _dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3}/price-status/structs.js +23 -84
  282. package/dist/src/{typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837 → _dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3}/set/structs.d.ts +10 -20
  283. package/dist/src/{typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837 → _dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3}/set/structs.js +48 -181
  284. package/dist/src/{typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837 → _dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3}/set-data-sources/structs.d.ts +7 -13
  285. package/dist/src/{typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837 → _dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3}/set-data-sources/structs.js +24 -85
  286. package/dist/src/{typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837 → _dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3}/set-fee-recipient/structs.d.ts +6 -11
  287. package/dist/src/{typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837 → _dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3}/set-fee-recipient/structs.js +23 -87
  288. package/dist/src/{typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837 → _dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3}/set-governance-data-source/structs.d.ts +7 -12
  289. package/dist/src/{typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837 → _dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3}/set-governance-data-source/structs.js +27 -96
  290. package/dist/src/{typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837 → _dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3}/set-stale-price-threshold/structs.d.ts +6 -11
  291. package/dist/src/{typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837 → _dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3}/set-stale-price-threshold/structs.js +23 -84
  292. package/dist/src/{typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837 → _dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3}/set-update-fee/structs.d.ts +6 -11
  293. package/dist/src/{typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837 → _dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3}/set-update-fee/structs.js +25 -90
  294. package/dist/src/{typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837 → _dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3}/setup/structs.d.ts +6 -11
  295. package/dist/src/{typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94 → _dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3}/setup/structs.js +23 -84
  296. package/dist/src/{typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837 → _dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3}/state/structs.d.ts +17 -30
  297. package/dist/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/state/structs.js +363 -0
  298. package/dist/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/version-control/structs.d.ts +79 -0
  299. package/dist/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/version-control/structs.js +256 -0
  300. package/dist/src/_framework/init-source.d.ts +1 -0
  301. package/dist/src/_framework/init-source.js +64 -0
  302. package/dist/src/{typus-perp/_framework → _framework}/loader.d.ts +3 -3
  303. package/dist/src/{typus-perp/_framework → _framework}/loader.js +5 -14
  304. package/dist/src/{typus-perp/_framework → _framework}/reified.d.ts +20 -28
  305. package/dist/src/{typus-perp/_framework → _framework}/reified.js +37 -11
  306. package/dist/src/_framework/util.d.ts +53 -0
  307. package/dist/src/_framework/util.js +251 -0
  308. package/dist/src/auto-bid/token-user-entry.d.ts +9 -9
  309. package/dist/src/auto-bid/token-user-entry.js +24 -24
  310. package/dist/src/auto-bid/user-entry.d.ts +9 -9
  311. package/dist/src/auto-bid/user-entry.js +46 -46
  312. package/dist/src/auto-bid/view-function.js +14 -14
  313. package/dist/src/constants/constant.d.ts +1 -1
  314. package/dist/src/constants/constant.js +1 -1
  315. package/dist/src/constants/token.d.ts +1 -4
  316. package/dist/src/constants/token.js +4 -4
  317. package/dist/src/dice/fetch.js +1 -1
  318. package/dist/src/dice/user-entry.d.ts +11 -11
  319. package/dist/src/dice/user-entry.js +34 -34
  320. package/dist/src/typus/airdrop/authority-entry.d.ts +5 -5
  321. package/dist/src/typus/airdrop/authority-entry.js +10 -10
  322. package/dist/src/typus/airdrop/user-entry.d.ts +3 -3
  323. package/dist/src/typus/airdrop/user-entry.js +2 -2
  324. package/dist/src/typus/airdrop/view-function.js +10 -10
  325. package/dist/src/typus/leaderboard/authority-entry.d.ts +5 -5
  326. package/dist/src/typus/leaderboard/authority-entry.js +4 -9
  327. package/dist/src/typus/leaderboard/view-function.js +13 -13
  328. package/dist/src/typus/tails-staking/authority-entry.d.ts +29 -27
  329. package/dist/src/typus/tails-staking/authority-entry.js +22 -20
  330. package/dist/src/typus/tails-staking/user-entry.d.ts +23 -23
  331. package/dist/src/typus/tails-staking/user-entry.js +30 -30
  332. package/dist/src/typus/tails-staking/view-function.js +14 -14
  333. package/dist/src/typus/user/view-function.js +9 -9
  334. package/dist/src/typus-dov-single-v2/authority-entry.d.ts +4 -4
  335. package/dist/src/typus-dov-single-v2/authority-entry.js +21 -21
  336. package/dist/src/typus-dov-single-v2/function/bidding.d.ts +83 -1
  337. package/dist/src/typus-dov-single-v2/function/bidding.js +182 -9
  338. package/dist/src/typus-dov-single-v2/function/index.d.ts +1 -0
  339. package/dist/src/typus-dov-single-v2/function/index.js +1 -1
  340. package/dist/src/typus-dov-single-v2/function/token.js +1 -3
  341. package/dist/src/typus-dov-single-v2/history/user-history.d.ts +1 -1
  342. package/dist/src/typus-dov-single-v2/history/vault-history.d.ts +1 -1
  343. package/dist/src/typus-dov-single-v2/history/vault-history.js +1 -1
  344. package/dist/src/typus-dov-single-v2/token-user-entry.d.ts +13 -13
  345. package/dist/src/typus-dov-single-v2/token-user-entry.js +29 -29
  346. package/dist/src/typus-dov-single-v2/user-entry.d.ts +20 -20
  347. package/dist/src/typus-dov-single-v2/user-entry.js +59 -61
  348. package/dist/src/typus-dov-single-v2/view-function.js +55 -55
  349. package/dist/src/typus-launch/airdrop/authority-entry.d.ts +3 -3
  350. package/dist/src/typus-launch/airdrop/authority-entry.js +7 -7
  351. package/dist/src/typus-launch/airdrop/user-entry.d.ts +2 -2
  352. package/dist/src/typus-launch/airdrop/user-entry.js +2 -2
  353. package/dist/src/typus-launch/airdrop/view-function.d.ts +1 -0
  354. package/dist/src/typus-launch/airdrop/view-function.js +10 -9
  355. package/dist/src/typus-launch/auction/entry.d.ts +5 -5
  356. package/dist/src/typus-launch/auction/entry.js +4 -4
  357. package/dist/src/typus-launch/auction/view-function.js +17 -17
  358. package/dist/src/typus-launch/funding-vault/authority-entry.d.ts +11 -11
  359. package/dist/src/typus-launch/funding-vault/authority-entry.js +24 -32
  360. package/dist/src/typus-launch/funding-vault/user-entry.d.ts +3 -3
  361. package/dist/src/typus-launch/funding-vault/user-entry.js +6 -6
  362. package/dist/src/typus-launch/funding-vault/view-function.js +29 -29
  363. package/dist/src/typus-launch/improvement-proposal/authority-entry.d.ts +11 -9
  364. package/dist/src/typus-launch/improvement-proposal/authority-entry.js +23 -21
  365. package/dist/src/typus-launch/improvement-proposal/user-entry.d.ts +3 -3
  366. package/dist/src/typus-launch/improvement-proposal/user-entry.js +2 -2
  367. package/dist/src/typus-launch/improvement-proposal/view-function.d.ts +16 -1
  368. package/dist/src/typus-launch/improvement-proposal/view-function.js +82 -35
  369. package/dist/src/typus-launch/option-airdrop/authority-entry.d.ts +5 -5
  370. package/dist/src/typus-launch/option-airdrop/authority-entry.js +6 -6
  371. package/dist/src/typus-launch/ve-typus/authority-entry.d.ts +5 -5
  372. package/dist/src/typus-launch/ve-typus/authority-entry.js +10 -10
  373. package/dist/src/typus-launch/ve-typus/user-entry.d.ts +4 -4
  374. package/dist/src/typus-launch/ve-typus/user-entry.js +9 -6
  375. package/dist/src/typus-launch/ve-typus/view-function.js +18 -18
  376. package/dist/src/typus-nft/fetch.d.ts +2 -2
  377. package/dist/src/typus-nft/user-entry.d.ts +11 -11
  378. package/dist/src/typus-nft/user-entry.js +3 -3
  379. package/dist/src/typus-perp/admin/functions.d.ts +51 -0
  380. package/dist/src/typus-perp/admin/functions.js +100 -0
  381. package/dist/src/typus-perp/{typus_stake_pool/admin → admin}/structs.d.ts +27 -49
  382. package/dist/src/typus-perp/{typus_stake_pool/admin → admin}/structs.js +21 -117
  383. package/dist/src/typus-perp/fetch.d.ts +5 -5
  384. package/dist/src/typus-perp/fetch.js +13 -13
  385. package/dist/src/typus-perp/index.d.ts +18 -2
  386. package/dist/src/typus-perp/index.js +83 -5
  387. package/dist/src/typus-perp/{typus_perp/init.js → init.js} +26 -13
  388. package/dist/src/typus-perp/lp-pool/functions.d.ts +283 -0
  389. package/dist/src/typus-perp/lp-pool/functions.js +418 -0
  390. package/dist/src/typus-perp/{typus_perp/lp-pool → lp-pool}/structs.d.ts +148 -698
  391. package/dist/src/typus-perp/{typus_perp/lp-pool → lp-pool}/structs.js +172 -1457
  392. package/dist/src/typus-perp/math/functions.d.ts +18 -0
  393. package/dist/src/typus-perp/math/functions.js +40 -0
  394. package/dist/src/typus-perp/oracle/functions.d.ts +14 -0
  395. package/dist/src/typus-perp/oracle/functions.js +22 -0
  396. package/dist/src/typus-perp/{typus_perp/oracle → oracle}/structs.d.ts +11 -20
  397. package/dist/src/typus-perp/{typus_perp/oracle → oracle}/structs.js +10 -52
  398. package/dist/src/typus-perp/position/functions.d.ts +339 -0
  399. package/dist/src/typus-perp/position/functions.js +564 -0
  400. package/dist/src/typus-perp/{typus_perp/position → position}/structs.d.ts +43 -73
  401. package/dist/src/typus-perp/{typus_perp/position → position}/structs.js +38 -177
  402. package/dist/src/typus-perp/readVec.js +9 -9
  403. package/dist/src/typus-perp/stake-pool/functions.d.ts +169 -0
  404. package/dist/src/typus-perp/stake-pool/functions.js +258 -0
  405. package/dist/src/typus-perp/{typus_stake_pool/stake-pool → stake-pool}/structs.d.ts +185 -293
  406. package/dist/src/typus-perp/{typus_stake_pool/stake-pool → stake-pool}/structs.js +235 -659
  407. package/dist/src/typus-perp/symbol/functions.d.ts +10 -0
  408. package/dist/src/typus-perp/symbol/functions.js +20 -0
  409. package/dist/src/typus-perp/{typus_perp/symbol → symbol}/structs.d.ts +6 -11
  410. package/dist/src/typus-perp/{typus_perp/symbol → symbol}/structs.js +4 -23
  411. package/dist/src/typus-perp/tlp/functions.d.ts +20 -0
  412. package/dist/src/typus-perp/tlp/functions.js +35 -0
  413. package/dist/src/typus-perp/{typus_perp/tlp → tlp}/structs.d.ts +11 -20
  414. package/dist/src/typus-perp/{typus_perp/tlp → tlp}/structs.js +13 -61
  415. package/dist/src/typus-perp/token-interface/functions.d.ts +12 -0
  416. package/dist/src/typus-perp/{typus_perp/token-interface → token-interface}/functions.js +6 -6
  417. package/dist/src/typus-perp/trading/functions.d.ts +427 -0
  418. package/dist/src/typus-perp/trading/functions.js +612 -0
  419. package/dist/src/typus-perp/{typus_perp/trading → trading}/structs.d.ts +161 -523
  420. package/dist/src/typus-perp/{typus_perp/trading → trading}/structs.js +107 -1042
  421. package/dist/src/typus-perp/treasury-caps/functions.d.ts +10 -0
  422. package/dist/src/typus-perp/{typus_perp/treasury-caps → treasury-caps}/functions.js +11 -14
  423. package/dist/src/typus-perp/{typus_perp/treasury-caps → treasury-caps}/structs.d.ts +6 -11
  424. package/dist/src/typus-perp/{typus_perp/treasury-caps → treasury-caps}/structs.js +7 -32
  425. package/dist/src/typus-perp/user/order.d.ts +10 -10
  426. package/dist/src/typus-perp/user/order.js +1 -2
  427. package/dist/src/typus-perp/user/orderWithBidReceipt.d.ts +5 -5
  428. package/dist/src/typus-perp/user/orderWithBidReceipt.js +1 -1
  429. package/dist/src/typus-perp/user/tlp.d.ts +12 -12
  430. package/dist/src/typus-perp/user/tlp.js +6 -8
  431. package/dist/src/typus-safu/user-entry.d.ts +9 -9
  432. package/dist/src/typus-safu/user-entry.js +18 -18
  433. package/dist/src/typus-safu/user-history.d.ts +1 -1
  434. package/dist/src/typus-safu/user-history.js +1 -1
  435. package/dist/src/typus-safu/view-function.js +17 -17
  436. package/dist/src/utils/api/price.js +2 -18
  437. package/dist/src/utils/api/sentio/reward-generated.d.ts +1 -1
  438. package/dist/src/utils/mint.d.ts +2 -2
  439. package/dist/src/utils/mint.js +3 -3
  440. package/dist/src/utils/pyth/constant.d.ts +0 -2
  441. package/dist/src/utils/pyth/constant.js +0 -2
  442. package/dist/src/utils/pyth/pythClient.d.ts +3 -3
  443. package/package.json +5 -4
  444. package/dist/src/typus-perp/_dependencies/source/0x1/uq32-32/structs.d.ts +0 -46
  445. package/dist/src/typus-perp/_dependencies/source/0x1/uq32-32/structs.js +0 -228
  446. package/dist/src/typus-perp/_dependencies/source/0x1/uq64-64/structs.d.ts +0 -46
  447. package/dist/src/typus-perp/_dependencies/source/0x1/uq64-64/structs.js +0 -228
  448. package/dist/src/typus-perp/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/index.d.ts +0 -5
  449. package/dist/src/typus-perp/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/index.js +0 -8
  450. package/dist/src/typus-perp/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/oracle/structs.js +0 -793
  451. package/dist/src/typus-perp/_dependencies/source/0x2/authenticator-state/structs.js +0 -894
  452. package/dist/src/typus-perp/_dependencies/source/0x2/bls12381/structs.js +0 -820
  453. package/dist/src/typus-perp/_dependencies/source/0x2/borrow/structs.js +0 -410
  454. package/dist/src/typus-perp/_dependencies/source/0x2/coin/structs.js +0 -1259
  455. package/dist/src/typus-perp/_dependencies/source/0x2/config/structs.d.ts +0 -179
  456. package/dist/src/typus-perp/_dependencies/source/0x2/config/structs.js +0 -577
  457. package/dist/src/typus-perp/_dependencies/source/0x2/deny-list/structs.d.ts +0 -430
  458. package/dist/src/typus-perp/_dependencies/source/0x2/deny-list/structs.js +0 -1177
  459. package/dist/src/typus-perp/_dependencies/source/0x2/display/structs.js +0 -584
  460. package/dist/src/typus-perp/_dependencies/source/0x2/groth16/structs.js +0 -710
  461. package/dist/src/typus-perp/_dependencies/source/0x2/kiosk/structs.js +0 -1724
  462. package/dist/src/typus-perp/_dependencies/source/0x2/linked-table/structs.js +0 -438
  463. package/dist/src/typus-perp/_dependencies/source/0x2/package/structs.js +0 -752
  464. package/dist/src/typus-perp/_dependencies/source/0x2/random/structs.js +0 -586
  465. package/dist/src/typus-perp/_dependencies/source/0x2/token/structs.js +0 -1107
  466. package/dist/src/typus-perp/_dependencies/source/0x2/transfer-policy/structs.js +0 -1099
  467. package/dist/src/typus-perp/_dependencies/source/0x2/vec-map/structs.js +0 -436
  468. package/dist/src/typus-perp/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/airdrop/structs.js +0 -1092
  469. package/dist/src/typus-perp/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/critbit/structs.js +0 -643
  470. package/dist/src/typus-perp/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/ecosystem/structs.js +0 -898
  471. package/dist/src/typus-perp/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/index.d.ts +0 -8
  472. package/dist/src/typus-perp/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/index.js +0 -11
  473. package/dist/src/typus-perp/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/keyed-big-vector/structs.d.ts +0 -227
  474. package/dist/src/typus-perp/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/keyed-big-vector/structs.js +0 -622
  475. package/dist/src/typus-perp/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/leaderboard/structs.js +0 -1476
  476. package/dist/src/typus-perp/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/linked-object-table/structs.js +0 -438
  477. package/dist/src/typus-perp/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/linked-set/structs.js +0 -430
  478. package/dist/src/typus-perp/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/tails-staking/structs.d.ts +0 -1071
  479. package/dist/src/typus-perp/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/tails-staking/structs.js +0 -2275
  480. package/dist/src/typus-perp/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/tgld/structs.js +0 -732
  481. package/dist/src/typus-perp/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/user/structs.js +0 -900
  482. package/dist/src/typus-perp/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/discount-mint/structs.js +0 -1335
  483. package/dist/src/typus-perp/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/index.d.ts +0 -9
  484. package/dist/src/typus-perp/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/index.js +0 -12
  485. package/dist/src/typus-perp/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/staking/structs.js +0 -886
  486. package/dist/src/typus-perp/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/typus-nft/structs.js +0 -2407
  487. package/dist/src/typus-perp/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/auto-bid/structs.js +0 -3052
  488. package/dist/src/typus-perp/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/index.d.ts +0 -10
  489. package/dist/src/typus-perp/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/index.js +0 -13
  490. package/dist/src/typus-perp/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tails-staking/structs.js +0 -2846
  491. package/dist/src/typus-perp/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-authorized-entry/structs.js +0 -1669
  492. package/dist/src/typus-perp/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-fee-pool-entry/structs.js +0 -1249
  493. package/dist/src/typus-perp/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-registry-authorized-entry/structs.js +0 -1869
  494. package/dist/src/typus-perp/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/typus-dov-single/structs.js +0 -7680
  495. package/dist/src/typus-perp/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/balance-pool/structs.js +0 -581
  496. package/dist/src/typus-perp/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/dutch/structs.js +0 -1735
  497. package/dist/src/typus-perp/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/index.d.ts +0 -3
  498. package/dist/src/typus-perp/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/index.js +0 -6
  499. package/dist/src/typus-perp/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/linked-list/structs.js +0 -444
  500. package/dist/src/typus-perp/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/vault/structs.js +0 -5014
  501. package/dist/src/typus-perp/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/aggregator/structs.js +0 -1229
  502. package/dist/src/typus-perp/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/quote/structs.js +0 -322
  503. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/index.d.ts +0 -3
  504. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/index.js +0 -6
  505. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/state/structs.js +0 -573
  506. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/version-control/structs.d.ts +0 -130
  507. package/dist/src/typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/version-control/structs.js +0 -524
  508. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/emitter/structs.js +0 -531
  509. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/governance-message/structs.js +0 -460
  510. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/index.d.ts +0 -3
  511. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/index.js +0 -6
  512. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/package-utils/structs.js +0 -680
  513. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/publish-message/structs.js +0 -449
  514. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/state/structs.js +0 -455
  515. package/dist/src/typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/upgrade-contract/structs.js +0 -532
  516. package/dist/src/typus-perp/_framework/init-loader.d.ts +0 -2
  517. package/dist/src/typus-perp/_framework/init-loader.js +0 -63
  518. package/dist/src/typus-perp/_framework/util.d.ts +0 -35
  519. package/dist/src/typus-perp/_framework/util.js +0 -396
  520. package/dist/src/typus-perp/_framework/vector.d.ts +0 -35
  521. package/dist/src/typus-perp/_framework/vector.js +0 -112
  522. package/dist/src/typus-perp/typus_perp/admin/functions.d.ts +0 -50
  523. package/dist/src/typus-perp/typus_perp/admin/functions.js +0 -116
  524. package/dist/src/typus-perp/typus_perp/admin/structs.d.ts +0 -447
  525. package/dist/src/typus-perp/typus_perp/admin/structs.js +0 -898
  526. package/dist/src/typus-perp/typus_perp/index.d.ts +0 -3
  527. package/dist/src/typus-perp/typus_perp/index.js +0 -6
  528. package/dist/src/typus-perp/typus_perp/lp-pool/functions.d.ts +0 -342
  529. package/dist/src/typus-perp/typus_perp/lp-pool/functions.js +0 -517
  530. package/dist/src/typus-perp/typus_perp/math/functions.d.ts +0 -18
  531. package/dist/src/typus-perp/typus_perp/math/functions.js +0 -49
  532. package/dist/src/typus-perp/typus_perp/oracle/functions.d.ts +0 -13
  533. package/dist/src/typus-perp/typus_perp/oracle/functions.js +0 -25
  534. package/dist/src/typus-perp/typus_perp/position/functions.d.ts +0 -343
  535. package/dist/src/typus-perp/typus_perp/position/functions.js +0 -659
  536. package/dist/src/typus-perp/typus_perp/symbol/functions.d.ts +0 -9
  537. package/dist/src/typus-perp/typus_perp/symbol/functions.js +0 -33
  538. package/dist/src/typus-perp/typus_perp/tlp/functions.d.ts +0 -19
  539. package/dist/src/typus-perp/typus_perp/tlp/functions.js +0 -41
  540. package/dist/src/typus-perp/typus_perp/token-interface/functions.d.ts +0 -11
  541. package/dist/src/typus-perp/typus_perp/trading/functions.d.ts +0 -493
  542. package/dist/src/typus-perp/typus_perp/trading/functions.js +0 -711
  543. package/dist/src/typus-perp/typus_perp/treasury-caps/functions.d.ts +0 -9
  544. package/dist/src/typus-perp/typus_stake_pool/admin/functions.d.ts +0 -50
  545. package/dist/src/typus-perp/typus_stake_pool/admin/functions.js +0 -116
  546. package/dist/src/typus-perp/typus_stake_pool/index.d.ts +0 -3
  547. package/dist/src/typus-perp/typus_stake_pool/index.js +0 -6
  548. package/dist/src/typus-perp/typus_stake_pool/init.d.ts +0 -2
  549. package/dist/src/typus-perp/typus_stake_pool/init.js +0 -57
  550. package/dist/src/typus-perp/typus_stake_pool/stake-pool/functions.d.ts +0 -175
  551. package/dist/src/typus-perp/typus_stake_pool/stake-pool/functions.js +0 -275
  552. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x1/init.d.ts +0 -0
  553. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/init.d.ts +0 -0
  554. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2/init.d.ts +0 -0
  555. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/init.d.ts +0 -0
  556. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/init.js +0 -0
  557. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/init.d.ts +0 -0
  558. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/init.js +0 -0
  559. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/init.d.ts +0 -0
  560. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/init.d.ts +0 -0
  561. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/init.d.ts +0 -0
  562. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x7237ec8436ef7e927c45470db6db3a834dd84cf903aedee3844e847fe4805399/init.d.ts +0 -0
  563. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x7237ec8436ef7e927c45470db6db3a834dd84cf903aedee3844e847fe4805399/init.js +0 -0
  564. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/init.d.ts +0 -0
  565. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/init.js +0 -0
  566. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/init.d.ts +0 -0
  567. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/init.js +0 -0
  568. package/dist/src/{typus-perp/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837 → _dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585}/init.d.ts +0 -0
  569. package/dist/src/{typus-perp/_dependencies → _dependencies}/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/init.js +2 -2
  570. package/dist/src/{typus-perp/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585 → _dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e}/init.d.ts +0 -0
  571. package/dist/src/{typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94 → _dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e}/init.js +4 -4
  572. /package/dist/src/{typus-perp/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94 → _dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3}/init.d.ts +0 -0
  573. /package/dist/src/typus-perp/{typus_perp/init.d.ts → init.d.ts} +0 -0
@@ -0,0 +1,933 @@
1
+ "use strict";
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
13
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
+ if (k2 === undefined) k2 = k;
15
+ var desc = Object.getOwnPropertyDescriptor(m, k);
16
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
17
+ desc = { enumerable: true, get: function() { return m[k]; } };
18
+ }
19
+ Object.defineProperty(o, k2, desc);
20
+ }) : (function(o, m, k, k2) {
21
+ if (k2 === undefined) k2 = k;
22
+ o[k2] = m[k];
23
+ }));
24
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
25
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
26
+ }) : function(o, v) {
27
+ o["default"] = v;
28
+ });
29
+ var __importStar = (this && this.__importStar) || function (mod) {
30
+ if (mod && mod.__esModule) return mod;
31
+ var result = {};
32
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
+ __setModuleDefault(result, mod);
34
+ return result;
35
+ };
36
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
37
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
38
+ return new (P || (P = Promise))(function (resolve, reject) {
39
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
40
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
41
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
42
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
43
+ });
44
+ };
45
+ var __generator = (this && this.__generator) || function (thisArg, body) {
46
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
47
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
48
+ function verb(n) { return function (v) { return step([n, v]); }; }
49
+ function step(op) {
50
+ if (f) throw new TypeError("Generator is already executing.");
51
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
52
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
53
+ if (y = 0, t) op = [op[0] & 2, t.value];
54
+ switch (op[0]) {
55
+ case 0: case 1: t = op; break;
56
+ case 4: _.label++; return { value: op[1], done: false };
57
+ case 5: _.label++; y = op[1]; op = [0]; continue;
58
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
59
+ default:
60
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
61
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
62
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
63
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
64
+ if (t[2]) _.ops.pop();
65
+ _.trys.pop(); continue;
66
+ }
67
+ op = body.call(thisArg, _);
68
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
69
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
70
+ }
71
+ };
72
+ var __read = (this && this.__read) || function (o, n) {
73
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
74
+ if (!m) return o;
75
+ var i = m.call(o), r, ar = [], e;
76
+ try {
77
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
78
+ }
79
+ catch (error) { e = { error: error }; }
80
+ finally {
81
+ try {
82
+ if (r && !r.done && (m = i["return"])) m.call(i);
83
+ }
84
+ finally { if (e) throw e.error; }
85
+ }
86
+ return ar;
87
+ };
88
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
89
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
90
+ if (ar || !(i in from)) {
91
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
92
+ ar[i] = from[i];
93
+ }
94
+ }
95
+ return to.concat(ar || Array.prototype.slice.call(from));
96
+ };
97
+ Object.defineProperty(exports, "__esModule", { value: true });
98
+ exports.UpgradeRegistryEvent = exports.SuspendTransactionEvent = exports.SetAvailableIncentiveAmountEvent = exports.ResumeTransactionEvent = exports.RemoveAuthorizedUserEvent = exports.NewPortfolioVaultEvent = exports.IncentiviseEvent = exports.AddAuthorizedUserEvent = exports.WithdrawIncentiveEvent = void 0;
99
+ exports.isWithdrawIncentiveEvent = isWithdrawIncentiveEvent;
100
+ exports.isAddAuthorizedUserEvent = isAddAuthorizedUserEvent;
101
+ exports.isIncentiviseEvent = isIncentiviseEvent;
102
+ exports.isNewPortfolioVaultEvent = isNewPortfolioVaultEvent;
103
+ exports.isRemoveAuthorizedUserEvent = isRemoveAuthorizedUserEvent;
104
+ exports.isResumeTransactionEvent = isResumeTransactionEvent;
105
+ exports.isSetAvailableIncentiveAmountEvent = isSetAvailableIncentiveAmountEvent;
106
+ exports.isSuspendTransactionEvent = isSuspendTransactionEvent;
107
+ exports.isUpgradeRegistryEvent = isUpgradeRegistryEvent;
108
+ var reified = __importStar(require("../../../../_framework/reified"));
109
+ var reified_1 = require("../../../../_framework/reified");
110
+ var util_1 = require("../../../../_framework/util");
111
+ var structs_1 = require("../../0x1/type-name/structs");
112
+ var structs_2 = require("../typus-dov-single/structs");
113
+ var bcs_1 = require("@mysten/bcs");
114
+ /* ============================== WithdrawIncentiveEvent =============================== */
115
+ function isWithdrawIncentiveEvent(type) { type = (0, util_1.compressSuiType)(type); return type === "0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f::tds_registry_authorized_entry::WithdrawIncentiveEvent"; }
116
+ var WithdrawIncentiveEvent = /** @class */ (function () {
117
+ function WithdrawIncentiveEvent(typeArgs, fields) {
118
+ this.$typeName = WithdrawIncentiveEvent.$typeName;
119
+ this.$fullTypeName = util_1.composeSuiType.apply(void 0, __spreadArray([WithdrawIncentiveEvent.$typeName], __read(typeArgs), false));
120
+ this.$typeArgs = typeArgs;
121
+ this.signer = fields.signer;
122
+ ;
123
+ this.token = fields.token;
124
+ ;
125
+ this.amount = fields.amount;
126
+ }
127
+ WithdrawIncentiveEvent.reified = function () {
128
+ var _this = this;
129
+ return { typeName: WithdrawIncentiveEvent.$typeName, fullTypeName: util_1.composeSuiType.apply(void 0, __spreadArray([WithdrawIncentiveEvent.$typeName], [], false)), typeArgs: [], reifiedTypeArgs: [], fromFields: function (fields) { return WithdrawIncentiveEvent.fromFields(fields); }, fromFieldsWithTypes: function (item) { return WithdrawIncentiveEvent.fromFieldsWithTypes(item); }, fromBcs: function (data) { return WithdrawIncentiveEvent.fromBcs(data); }, bcs: WithdrawIncentiveEvent.bcs, fromJSONField: function (field) { return WithdrawIncentiveEvent.fromJSONField(field); }, fromJSON: function (json) { return WithdrawIncentiveEvent.fromJSON(json); }, fromSuiParsedData: function (content) { return WithdrawIncentiveEvent.fromSuiParsedData(content); }, fetch: function (client, id) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
130
+ return [2 /*return*/, WithdrawIncentiveEvent.fetch(client, id)];
131
+ }); }); }, new: function (fields) { return new WithdrawIncentiveEvent([], fields); }, kind: "StructClassReified", };
132
+ };
133
+ Object.defineProperty(WithdrawIncentiveEvent, "r", {
134
+ get: function () { return WithdrawIncentiveEvent.reified(); },
135
+ enumerable: false,
136
+ configurable: true
137
+ });
138
+ WithdrawIncentiveEvent.phantom = function () { return (0, reified_1.phantom)(WithdrawIncentiveEvent.reified()); };
139
+ Object.defineProperty(WithdrawIncentiveEvent, "p", {
140
+ get: function () { return WithdrawIncentiveEvent.phantom(); },
141
+ enumerable: false,
142
+ configurable: true
143
+ });
144
+ Object.defineProperty(WithdrawIncentiveEvent, "bcs", {
145
+ get: function () {
146
+ return bcs_1.bcs.struct("WithdrawIncentiveEvent", {
147
+ signer: bcs_1.bcs.bytes(32).transform({ input: function (val) { return (0, bcs_1.fromHEX)(val); }, output: function (val) { return (0, bcs_1.toHEX)(val); }, }), token: structs_1.TypeName.bcs, amount: bcs_1.bcs.u64()
148
+ });
149
+ },
150
+ enumerable: false,
151
+ configurable: true
152
+ });
153
+ ;
154
+ WithdrawIncentiveEvent.fromFields = function (fields) { return WithdrawIncentiveEvent.reified().new({ signer: (0, reified_1.decodeFromFields)("address", fields.signer), token: (0, reified_1.decodeFromFields)(structs_1.TypeName.reified(), fields.token), amount: (0, reified_1.decodeFromFields)("u64", fields.amount) }); };
155
+ WithdrawIncentiveEvent.fromFieldsWithTypes = function (item) {
156
+ if (!isWithdrawIncentiveEvent(item.type)) {
157
+ throw new Error("not a WithdrawIncentiveEvent type");
158
+ }
159
+ return WithdrawIncentiveEvent.reified().new({ signer: (0, reified_1.decodeFromFieldsWithTypes)("address", item.fields.signer), token: (0, reified_1.decodeFromFieldsWithTypes)(structs_1.TypeName.reified(), item.fields.token), amount: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.amount) });
160
+ };
161
+ WithdrawIncentiveEvent.fromBcs = function (data) { return WithdrawIncentiveEvent.fromFields(WithdrawIncentiveEvent.bcs.parse(data)); };
162
+ WithdrawIncentiveEvent.prototype.toJSONField = function () {
163
+ return {
164
+ signer: this.signer, token: this.token.toJSONField(), amount: this.amount.toString(),
165
+ };
166
+ };
167
+ WithdrawIncentiveEvent.prototype.toJSON = function () { return __assign({ $typeName: this.$typeName, $typeArgs: this.$typeArgs }, this.toJSONField()); };
168
+ WithdrawIncentiveEvent.fromJSONField = function (field) { return WithdrawIncentiveEvent.reified().new({ signer: (0, reified_1.decodeFromJSONField)("address", field.signer), token: (0, reified_1.decodeFromJSONField)(structs_1.TypeName.reified(), field.token), amount: (0, reified_1.decodeFromJSONField)("u64", field.amount) }); };
169
+ WithdrawIncentiveEvent.fromJSON = function (json) {
170
+ if (json.$typeName !== WithdrawIncentiveEvent.$typeName) {
171
+ throw new Error("not a WithTwoGenerics json object");
172
+ }
173
+ ;
174
+ return WithdrawIncentiveEvent.fromJSONField(json);
175
+ };
176
+ WithdrawIncentiveEvent.fromSuiParsedData = function (content) { if (content.dataType !== "moveObject") {
177
+ throw new Error("not an object");
178
+ } if (!isWithdrawIncentiveEvent(content.type)) {
179
+ throw new Error("object at ".concat(content.fields.id, " is not a WithdrawIncentiveEvent object"));
180
+ } return WithdrawIncentiveEvent.fromFieldsWithTypes(content); };
181
+ WithdrawIncentiveEvent.fetch = function (client, id) {
182
+ return __awaiter(this, void 0, void 0, function () {
183
+ var res;
184
+ var _a, _b;
185
+ return __generator(this, function (_c) {
186
+ switch (_c.label) {
187
+ case 0: return [4 /*yield*/, client.getObject({ id: id, options: { showBcs: true, }, })];
188
+ case 1:
189
+ res = _c.sent();
190
+ if (res.error) {
191
+ throw new Error("error fetching WithdrawIncentiveEvent object at id ".concat(id, ": ").concat(res.error.code));
192
+ }
193
+ if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.bcs) === null || _b === void 0 ? void 0 : _b.dataType) !== "moveObject" || !isWithdrawIncentiveEvent(res.data.bcs.type)) {
194
+ throw new Error("object at id ".concat(id, " is not a WithdrawIncentiveEvent object"));
195
+ }
196
+ return [2 /*return*/, WithdrawIncentiveEvent.fromBcs((0, bcs_1.fromB64)(res.data.bcs.bcsBytes))];
197
+ }
198
+ });
199
+ });
200
+ };
201
+ WithdrawIncentiveEvent.$typeName = "0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f::tds_registry_authorized_entry::WithdrawIncentiveEvent";
202
+ WithdrawIncentiveEvent.$numTypeParams = 0;
203
+ return WithdrawIncentiveEvent;
204
+ }());
205
+ exports.WithdrawIncentiveEvent = WithdrawIncentiveEvent;
206
+ /* ============================== AddAuthorizedUserEvent =============================== */
207
+ function isAddAuthorizedUserEvent(type) { type = (0, util_1.compressSuiType)(type); return type === "0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f::tds_registry_authorized_entry::AddAuthorizedUserEvent"; }
208
+ var AddAuthorizedUserEvent = /** @class */ (function () {
209
+ function AddAuthorizedUserEvent(typeArgs, fields) {
210
+ this.$typeName = AddAuthorizedUserEvent.$typeName;
211
+ this.$fullTypeName = util_1.composeSuiType.apply(void 0, __spreadArray([AddAuthorizedUserEvent.$typeName], __read(typeArgs), false));
212
+ this.$typeArgs = typeArgs;
213
+ this.signer = fields.signer;
214
+ ;
215
+ this.users = fields.users;
216
+ }
217
+ AddAuthorizedUserEvent.reified = function () {
218
+ var _this = this;
219
+ return { typeName: AddAuthorizedUserEvent.$typeName, fullTypeName: util_1.composeSuiType.apply(void 0, __spreadArray([AddAuthorizedUserEvent.$typeName], [], false)), typeArgs: [], reifiedTypeArgs: [], fromFields: function (fields) { return AddAuthorizedUserEvent.fromFields(fields); }, fromFieldsWithTypes: function (item) { return AddAuthorizedUserEvent.fromFieldsWithTypes(item); }, fromBcs: function (data) { return AddAuthorizedUserEvent.fromBcs(data); }, bcs: AddAuthorizedUserEvent.bcs, fromJSONField: function (field) { return AddAuthorizedUserEvent.fromJSONField(field); }, fromJSON: function (json) { return AddAuthorizedUserEvent.fromJSON(json); }, fromSuiParsedData: function (content) { return AddAuthorizedUserEvent.fromSuiParsedData(content); }, fetch: function (client, id) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
220
+ return [2 /*return*/, AddAuthorizedUserEvent.fetch(client, id)];
221
+ }); }); }, new: function (fields) { return new AddAuthorizedUserEvent([], fields); }, kind: "StructClassReified", };
222
+ };
223
+ Object.defineProperty(AddAuthorizedUserEvent, "r", {
224
+ get: function () { return AddAuthorizedUserEvent.reified(); },
225
+ enumerable: false,
226
+ configurable: true
227
+ });
228
+ AddAuthorizedUserEvent.phantom = function () { return (0, reified_1.phantom)(AddAuthorizedUserEvent.reified()); };
229
+ Object.defineProperty(AddAuthorizedUserEvent, "p", {
230
+ get: function () { return AddAuthorizedUserEvent.phantom(); },
231
+ enumerable: false,
232
+ configurable: true
233
+ });
234
+ Object.defineProperty(AddAuthorizedUserEvent, "bcs", {
235
+ get: function () {
236
+ return bcs_1.bcs.struct("AddAuthorizedUserEvent", {
237
+ signer: bcs_1.bcs.bytes(32).transform({ input: function (val) { return (0, bcs_1.fromHEX)(val); }, output: function (val) { return (0, bcs_1.toHEX)(val); }, }), users: bcs_1.bcs.vector(bcs_1.bcs.bytes(32).transform({ input: function (val) { return (0, bcs_1.fromHEX)(val); }, output: function (val) { return (0, bcs_1.toHEX)(val); }, }))
238
+ });
239
+ },
240
+ enumerable: false,
241
+ configurable: true
242
+ });
243
+ ;
244
+ AddAuthorizedUserEvent.fromFields = function (fields) { return AddAuthorizedUserEvent.reified().new({ signer: (0, reified_1.decodeFromFields)("address", fields.signer), users: (0, reified_1.decodeFromFields)(reified.vector("address"), fields.users) }); };
245
+ AddAuthorizedUserEvent.fromFieldsWithTypes = function (item) {
246
+ if (!isAddAuthorizedUserEvent(item.type)) {
247
+ throw new Error("not a AddAuthorizedUserEvent type");
248
+ }
249
+ return AddAuthorizedUserEvent.reified().new({ signer: (0, reified_1.decodeFromFieldsWithTypes)("address", item.fields.signer), users: (0, reified_1.decodeFromFieldsWithTypes)(reified.vector("address"), item.fields.users) });
250
+ };
251
+ AddAuthorizedUserEvent.fromBcs = function (data) { return AddAuthorizedUserEvent.fromFields(AddAuthorizedUserEvent.bcs.parse(data)); };
252
+ AddAuthorizedUserEvent.prototype.toJSONField = function () {
253
+ return {
254
+ signer: this.signer, users: (0, reified_1.fieldToJSON)("vector<address>", this.users),
255
+ };
256
+ };
257
+ AddAuthorizedUserEvent.prototype.toJSON = function () { return __assign({ $typeName: this.$typeName, $typeArgs: this.$typeArgs }, this.toJSONField()); };
258
+ AddAuthorizedUserEvent.fromJSONField = function (field) { return AddAuthorizedUserEvent.reified().new({ signer: (0, reified_1.decodeFromJSONField)("address", field.signer), users: (0, reified_1.decodeFromJSONField)(reified.vector("address"), field.users) }); };
259
+ AddAuthorizedUserEvent.fromJSON = function (json) {
260
+ if (json.$typeName !== AddAuthorizedUserEvent.$typeName) {
261
+ throw new Error("not a WithTwoGenerics json object");
262
+ }
263
+ ;
264
+ return AddAuthorizedUserEvent.fromJSONField(json);
265
+ };
266
+ AddAuthorizedUserEvent.fromSuiParsedData = function (content) { if (content.dataType !== "moveObject") {
267
+ throw new Error("not an object");
268
+ } if (!isAddAuthorizedUserEvent(content.type)) {
269
+ throw new Error("object at ".concat(content.fields.id, " is not a AddAuthorizedUserEvent object"));
270
+ } return AddAuthorizedUserEvent.fromFieldsWithTypes(content); };
271
+ AddAuthorizedUserEvent.fetch = function (client, id) {
272
+ return __awaiter(this, void 0, void 0, function () {
273
+ var res;
274
+ var _a, _b;
275
+ return __generator(this, function (_c) {
276
+ switch (_c.label) {
277
+ case 0: return [4 /*yield*/, client.getObject({ id: id, options: { showBcs: true, }, })];
278
+ case 1:
279
+ res = _c.sent();
280
+ if (res.error) {
281
+ throw new Error("error fetching AddAuthorizedUserEvent object at id ".concat(id, ": ").concat(res.error.code));
282
+ }
283
+ if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.bcs) === null || _b === void 0 ? void 0 : _b.dataType) !== "moveObject" || !isAddAuthorizedUserEvent(res.data.bcs.type)) {
284
+ throw new Error("object at id ".concat(id, " is not a AddAuthorizedUserEvent object"));
285
+ }
286
+ return [2 /*return*/, AddAuthorizedUserEvent.fromBcs((0, bcs_1.fromB64)(res.data.bcs.bcsBytes))];
287
+ }
288
+ });
289
+ });
290
+ };
291
+ AddAuthorizedUserEvent.$typeName = "0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f::tds_registry_authorized_entry::AddAuthorizedUserEvent";
292
+ AddAuthorizedUserEvent.$numTypeParams = 0;
293
+ return AddAuthorizedUserEvent;
294
+ }());
295
+ exports.AddAuthorizedUserEvent = AddAuthorizedUserEvent;
296
+ /* ============================== IncentiviseEvent =============================== */
297
+ function isIncentiviseEvent(type) { type = (0, util_1.compressSuiType)(type); return type === "0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f::tds_registry_authorized_entry::IncentiviseEvent"; }
298
+ var IncentiviseEvent = /** @class */ (function () {
299
+ function IncentiviseEvent(typeArgs, fields) {
300
+ this.$typeName = IncentiviseEvent.$typeName;
301
+ this.$fullTypeName = util_1.composeSuiType.apply(void 0, __spreadArray([IncentiviseEvent.$typeName], __read(typeArgs), false));
302
+ this.$typeArgs = typeArgs;
303
+ this.signer = fields.signer;
304
+ ;
305
+ this.token = fields.token;
306
+ ;
307
+ this.amount = fields.amount;
308
+ }
309
+ IncentiviseEvent.reified = function () {
310
+ var _this = this;
311
+ return { typeName: IncentiviseEvent.$typeName, fullTypeName: util_1.composeSuiType.apply(void 0, __spreadArray([IncentiviseEvent.$typeName], [], false)), typeArgs: [], reifiedTypeArgs: [], fromFields: function (fields) { return IncentiviseEvent.fromFields(fields); }, fromFieldsWithTypes: function (item) { return IncentiviseEvent.fromFieldsWithTypes(item); }, fromBcs: function (data) { return IncentiviseEvent.fromBcs(data); }, bcs: IncentiviseEvent.bcs, fromJSONField: function (field) { return IncentiviseEvent.fromJSONField(field); }, fromJSON: function (json) { return IncentiviseEvent.fromJSON(json); }, fromSuiParsedData: function (content) { return IncentiviseEvent.fromSuiParsedData(content); }, fetch: function (client, id) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
312
+ return [2 /*return*/, IncentiviseEvent.fetch(client, id)];
313
+ }); }); }, new: function (fields) { return new IncentiviseEvent([], fields); }, kind: "StructClassReified", };
314
+ };
315
+ Object.defineProperty(IncentiviseEvent, "r", {
316
+ get: function () { return IncentiviseEvent.reified(); },
317
+ enumerable: false,
318
+ configurable: true
319
+ });
320
+ IncentiviseEvent.phantom = function () { return (0, reified_1.phantom)(IncentiviseEvent.reified()); };
321
+ Object.defineProperty(IncentiviseEvent, "p", {
322
+ get: function () { return IncentiviseEvent.phantom(); },
323
+ enumerable: false,
324
+ configurable: true
325
+ });
326
+ Object.defineProperty(IncentiviseEvent, "bcs", {
327
+ get: function () {
328
+ return bcs_1.bcs.struct("IncentiviseEvent", {
329
+ signer: bcs_1.bcs.bytes(32).transform({ input: function (val) { return (0, bcs_1.fromHEX)(val); }, output: function (val) { return (0, bcs_1.toHEX)(val); }, }), token: structs_1.TypeName.bcs, amount: bcs_1.bcs.u64()
330
+ });
331
+ },
332
+ enumerable: false,
333
+ configurable: true
334
+ });
335
+ ;
336
+ IncentiviseEvent.fromFields = function (fields) { return IncentiviseEvent.reified().new({ signer: (0, reified_1.decodeFromFields)("address", fields.signer), token: (0, reified_1.decodeFromFields)(structs_1.TypeName.reified(), fields.token), amount: (0, reified_1.decodeFromFields)("u64", fields.amount) }); };
337
+ IncentiviseEvent.fromFieldsWithTypes = function (item) {
338
+ if (!isIncentiviseEvent(item.type)) {
339
+ throw new Error("not a IncentiviseEvent type");
340
+ }
341
+ return IncentiviseEvent.reified().new({ signer: (0, reified_1.decodeFromFieldsWithTypes)("address", item.fields.signer), token: (0, reified_1.decodeFromFieldsWithTypes)(structs_1.TypeName.reified(), item.fields.token), amount: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.amount) });
342
+ };
343
+ IncentiviseEvent.fromBcs = function (data) { return IncentiviseEvent.fromFields(IncentiviseEvent.bcs.parse(data)); };
344
+ IncentiviseEvent.prototype.toJSONField = function () {
345
+ return {
346
+ signer: this.signer, token: this.token.toJSONField(), amount: this.amount.toString(),
347
+ };
348
+ };
349
+ IncentiviseEvent.prototype.toJSON = function () { return __assign({ $typeName: this.$typeName, $typeArgs: this.$typeArgs }, this.toJSONField()); };
350
+ IncentiviseEvent.fromJSONField = function (field) { return IncentiviseEvent.reified().new({ signer: (0, reified_1.decodeFromJSONField)("address", field.signer), token: (0, reified_1.decodeFromJSONField)(structs_1.TypeName.reified(), field.token), amount: (0, reified_1.decodeFromJSONField)("u64", field.amount) }); };
351
+ IncentiviseEvent.fromJSON = function (json) {
352
+ if (json.$typeName !== IncentiviseEvent.$typeName) {
353
+ throw new Error("not a WithTwoGenerics json object");
354
+ }
355
+ ;
356
+ return IncentiviseEvent.fromJSONField(json);
357
+ };
358
+ IncentiviseEvent.fromSuiParsedData = function (content) { if (content.dataType !== "moveObject") {
359
+ throw new Error("not an object");
360
+ } if (!isIncentiviseEvent(content.type)) {
361
+ throw new Error("object at ".concat(content.fields.id, " is not a IncentiviseEvent object"));
362
+ } return IncentiviseEvent.fromFieldsWithTypes(content); };
363
+ IncentiviseEvent.fetch = function (client, id) {
364
+ return __awaiter(this, void 0, void 0, function () {
365
+ var res;
366
+ var _a, _b;
367
+ return __generator(this, function (_c) {
368
+ switch (_c.label) {
369
+ case 0: return [4 /*yield*/, client.getObject({ id: id, options: { showBcs: true, }, })];
370
+ case 1:
371
+ res = _c.sent();
372
+ if (res.error) {
373
+ throw new Error("error fetching IncentiviseEvent object at id ".concat(id, ": ").concat(res.error.code));
374
+ }
375
+ if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.bcs) === null || _b === void 0 ? void 0 : _b.dataType) !== "moveObject" || !isIncentiviseEvent(res.data.bcs.type)) {
376
+ throw new Error("object at id ".concat(id, " is not a IncentiviseEvent object"));
377
+ }
378
+ return [2 /*return*/, IncentiviseEvent.fromBcs((0, bcs_1.fromB64)(res.data.bcs.bcsBytes))];
379
+ }
380
+ });
381
+ });
382
+ };
383
+ IncentiviseEvent.$typeName = "0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f::tds_registry_authorized_entry::IncentiviseEvent";
384
+ IncentiviseEvent.$numTypeParams = 0;
385
+ return IncentiviseEvent;
386
+ }());
387
+ exports.IncentiviseEvent = IncentiviseEvent;
388
+ /* ============================== NewPortfolioVaultEvent =============================== */
389
+ function isNewPortfolioVaultEvent(type) { type = (0, util_1.compressSuiType)(type); return type === "0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f::tds_registry_authorized_entry::NewPortfolioVaultEvent"; }
390
+ var NewPortfolioVaultEvent = /** @class */ (function () {
391
+ function NewPortfolioVaultEvent(typeArgs, fields) {
392
+ this.$typeName = NewPortfolioVaultEvent.$typeName;
393
+ this.$fullTypeName = util_1.composeSuiType.apply(void 0, __spreadArray([NewPortfolioVaultEvent.$typeName], __read(typeArgs), false));
394
+ this.$typeArgs = typeArgs;
395
+ this.signer = fields.signer;
396
+ ;
397
+ this.index = fields.index;
398
+ ;
399
+ this.info = fields.info;
400
+ ;
401
+ this.config = fields.config;
402
+ }
403
+ NewPortfolioVaultEvent.reified = function () {
404
+ var _this = this;
405
+ return { typeName: NewPortfolioVaultEvent.$typeName, fullTypeName: util_1.composeSuiType.apply(void 0, __spreadArray([NewPortfolioVaultEvent.$typeName], [], false)), typeArgs: [], reifiedTypeArgs: [], fromFields: function (fields) { return NewPortfolioVaultEvent.fromFields(fields); }, fromFieldsWithTypes: function (item) { return NewPortfolioVaultEvent.fromFieldsWithTypes(item); }, fromBcs: function (data) { return NewPortfolioVaultEvent.fromBcs(data); }, bcs: NewPortfolioVaultEvent.bcs, fromJSONField: function (field) { return NewPortfolioVaultEvent.fromJSONField(field); }, fromJSON: function (json) { return NewPortfolioVaultEvent.fromJSON(json); }, fromSuiParsedData: function (content) { return NewPortfolioVaultEvent.fromSuiParsedData(content); }, fetch: function (client, id) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
406
+ return [2 /*return*/, NewPortfolioVaultEvent.fetch(client, id)];
407
+ }); }); }, new: function (fields) { return new NewPortfolioVaultEvent([], fields); }, kind: "StructClassReified", };
408
+ };
409
+ Object.defineProperty(NewPortfolioVaultEvent, "r", {
410
+ get: function () { return NewPortfolioVaultEvent.reified(); },
411
+ enumerable: false,
412
+ configurable: true
413
+ });
414
+ NewPortfolioVaultEvent.phantom = function () { return (0, reified_1.phantom)(NewPortfolioVaultEvent.reified()); };
415
+ Object.defineProperty(NewPortfolioVaultEvent, "p", {
416
+ get: function () { return NewPortfolioVaultEvent.phantom(); },
417
+ enumerable: false,
418
+ configurable: true
419
+ });
420
+ Object.defineProperty(NewPortfolioVaultEvent, "bcs", {
421
+ get: function () {
422
+ return bcs_1.bcs.struct("NewPortfolioVaultEvent", {
423
+ signer: bcs_1.bcs.bytes(32).transform({ input: function (val) { return (0, bcs_1.fromHEX)(val); }, output: function (val) { return (0, bcs_1.toHEX)(val); }, }), index: bcs_1.bcs.u64(), info: structs_2.Info.bcs, config: structs_2.Config.bcs
424
+ });
425
+ },
426
+ enumerable: false,
427
+ configurable: true
428
+ });
429
+ ;
430
+ NewPortfolioVaultEvent.fromFields = function (fields) { return NewPortfolioVaultEvent.reified().new({ signer: (0, reified_1.decodeFromFields)("address", fields.signer), index: (0, reified_1.decodeFromFields)("u64", fields.index), info: (0, reified_1.decodeFromFields)(structs_2.Info.reified(), fields.info), config: (0, reified_1.decodeFromFields)(structs_2.Config.reified(), fields.config) }); };
431
+ NewPortfolioVaultEvent.fromFieldsWithTypes = function (item) {
432
+ if (!isNewPortfolioVaultEvent(item.type)) {
433
+ throw new Error("not a NewPortfolioVaultEvent type");
434
+ }
435
+ return NewPortfolioVaultEvent.reified().new({ signer: (0, reified_1.decodeFromFieldsWithTypes)("address", item.fields.signer), index: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.index), info: (0, reified_1.decodeFromFieldsWithTypes)(structs_2.Info.reified(), item.fields.info), config: (0, reified_1.decodeFromFieldsWithTypes)(structs_2.Config.reified(), item.fields.config) });
436
+ };
437
+ NewPortfolioVaultEvent.fromBcs = function (data) { return NewPortfolioVaultEvent.fromFields(NewPortfolioVaultEvent.bcs.parse(data)); };
438
+ NewPortfolioVaultEvent.prototype.toJSONField = function () {
439
+ return {
440
+ signer: this.signer, index: this.index.toString(), info: this.info.toJSONField(), config: this.config.toJSONField(),
441
+ };
442
+ };
443
+ NewPortfolioVaultEvent.prototype.toJSON = function () { return __assign({ $typeName: this.$typeName, $typeArgs: this.$typeArgs }, this.toJSONField()); };
444
+ NewPortfolioVaultEvent.fromJSONField = function (field) { return NewPortfolioVaultEvent.reified().new({ signer: (0, reified_1.decodeFromJSONField)("address", field.signer), index: (0, reified_1.decodeFromJSONField)("u64", field.index), info: (0, reified_1.decodeFromJSONField)(structs_2.Info.reified(), field.info), config: (0, reified_1.decodeFromJSONField)(structs_2.Config.reified(), field.config) }); };
445
+ NewPortfolioVaultEvent.fromJSON = function (json) {
446
+ if (json.$typeName !== NewPortfolioVaultEvent.$typeName) {
447
+ throw new Error("not a WithTwoGenerics json object");
448
+ }
449
+ ;
450
+ return NewPortfolioVaultEvent.fromJSONField(json);
451
+ };
452
+ NewPortfolioVaultEvent.fromSuiParsedData = function (content) { if (content.dataType !== "moveObject") {
453
+ throw new Error("not an object");
454
+ } if (!isNewPortfolioVaultEvent(content.type)) {
455
+ throw new Error("object at ".concat(content.fields.id, " is not a NewPortfolioVaultEvent object"));
456
+ } return NewPortfolioVaultEvent.fromFieldsWithTypes(content); };
457
+ NewPortfolioVaultEvent.fetch = function (client, id) {
458
+ return __awaiter(this, void 0, void 0, function () {
459
+ var res;
460
+ var _a, _b;
461
+ return __generator(this, function (_c) {
462
+ switch (_c.label) {
463
+ case 0: return [4 /*yield*/, client.getObject({ id: id, options: { showBcs: true, }, })];
464
+ case 1:
465
+ res = _c.sent();
466
+ if (res.error) {
467
+ throw new Error("error fetching NewPortfolioVaultEvent object at id ".concat(id, ": ").concat(res.error.code));
468
+ }
469
+ if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.bcs) === null || _b === void 0 ? void 0 : _b.dataType) !== "moveObject" || !isNewPortfolioVaultEvent(res.data.bcs.type)) {
470
+ throw new Error("object at id ".concat(id, " is not a NewPortfolioVaultEvent object"));
471
+ }
472
+ return [2 /*return*/, NewPortfolioVaultEvent.fromBcs((0, bcs_1.fromB64)(res.data.bcs.bcsBytes))];
473
+ }
474
+ });
475
+ });
476
+ };
477
+ NewPortfolioVaultEvent.$typeName = "0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f::tds_registry_authorized_entry::NewPortfolioVaultEvent";
478
+ NewPortfolioVaultEvent.$numTypeParams = 0;
479
+ return NewPortfolioVaultEvent;
480
+ }());
481
+ exports.NewPortfolioVaultEvent = NewPortfolioVaultEvent;
482
+ /* ============================== RemoveAuthorizedUserEvent =============================== */
483
+ function isRemoveAuthorizedUserEvent(type) { type = (0, util_1.compressSuiType)(type); return type === "0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f::tds_registry_authorized_entry::RemoveAuthorizedUserEvent"; }
484
+ var RemoveAuthorizedUserEvent = /** @class */ (function () {
485
+ function RemoveAuthorizedUserEvent(typeArgs, fields) {
486
+ this.$typeName = RemoveAuthorizedUserEvent.$typeName;
487
+ this.$fullTypeName = util_1.composeSuiType.apply(void 0, __spreadArray([RemoveAuthorizedUserEvent.$typeName], __read(typeArgs), false));
488
+ this.$typeArgs = typeArgs;
489
+ this.signer = fields.signer;
490
+ ;
491
+ this.users = fields.users;
492
+ }
493
+ RemoveAuthorizedUserEvent.reified = function () {
494
+ var _this = this;
495
+ return { typeName: RemoveAuthorizedUserEvent.$typeName, fullTypeName: util_1.composeSuiType.apply(void 0, __spreadArray([RemoveAuthorizedUserEvent.$typeName], [], false)), typeArgs: [], reifiedTypeArgs: [], fromFields: function (fields) { return RemoveAuthorizedUserEvent.fromFields(fields); }, fromFieldsWithTypes: function (item) { return RemoveAuthorizedUserEvent.fromFieldsWithTypes(item); }, fromBcs: function (data) { return RemoveAuthorizedUserEvent.fromBcs(data); }, bcs: RemoveAuthorizedUserEvent.bcs, fromJSONField: function (field) { return RemoveAuthorizedUserEvent.fromJSONField(field); }, fromJSON: function (json) { return RemoveAuthorizedUserEvent.fromJSON(json); }, fromSuiParsedData: function (content) { return RemoveAuthorizedUserEvent.fromSuiParsedData(content); }, fetch: function (client, id) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
496
+ return [2 /*return*/, RemoveAuthorizedUserEvent.fetch(client, id)];
497
+ }); }); }, new: function (fields) { return new RemoveAuthorizedUserEvent([], fields); }, kind: "StructClassReified", };
498
+ };
499
+ Object.defineProperty(RemoveAuthorizedUserEvent, "r", {
500
+ get: function () { return RemoveAuthorizedUserEvent.reified(); },
501
+ enumerable: false,
502
+ configurable: true
503
+ });
504
+ RemoveAuthorizedUserEvent.phantom = function () { return (0, reified_1.phantom)(RemoveAuthorizedUserEvent.reified()); };
505
+ Object.defineProperty(RemoveAuthorizedUserEvent, "p", {
506
+ get: function () { return RemoveAuthorizedUserEvent.phantom(); },
507
+ enumerable: false,
508
+ configurable: true
509
+ });
510
+ Object.defineProperty(RemoveAuthorizedUserEvent, "bcs", {
511
+ get: function () {
512
+ return bcs_1.bcs.struct("RemoveAuthorizedUserEvent", {
513
+ signer: bcs_1.bcs.bytes(32).transform({ input: function (val) { return (0, bcs_1.fromHEX)(val); }, output: function (val) { return (0, bcs_1.toHEX)(val); }, }), users: bcs_1.bcs.vector(bcs_1.bcs.bytes(32).transform({ input: function (val) { return (0, bcs_1.fromHEX)(val); }, output: function (val) { return (0, bcs_1.toHEX)(val); }, }))
514
+ });
515
+ },
516
+ enumerable: false,
517
+ configurable: true
518
+ });
519
+ ;
520
+ RemoveAuthorizedUserEvent.fromFields = function (fields) { return RemoveAuthorizedUserEvent.reified().new({ signer: (0, reified_1.decodeFromFields)("address", fields.signer), users: (0, reified_1.decodeFromFields)(reified.vector("address"), fields.users) }); };
521
+ RemoveAuthorizedUserEvent.fromFieldsWithTypes = function (item) {
522
+ if (!isRemoveAuthorizedUserEvent(item.type)) {
523
+ throw new Error("not a RemoveAuthorizedUserEvent type");
524
+ }
525
+ return RemoveAuthorizedUserEvent.reified().new({ signer: (0, reified_1.decodeFromFieldsWithTypes)("address", item.fields.signer), users: (0, reified_1.decodeFromFieldsWithTypes)(reified.vector("address"), item.fields.users) });
526
+ };
527
+ RemoveAuthorizedUserEvent.fromBcs = function (data) { return RemoveAuthorizedUserEvent.fromFields(RemoveAuthorizedUserEvent.bcs.parse(data)); };
528
+ RemoveAuthorizedUserEvent.prototype.toJSONField = function () {
529
+ return {
530
+ signer: this.signer, users: (0, reified_1.fieldToJSON)("vector<address>", this.users),
531
+ };
532
+ };
533
+ RemoveAuthorizedUserEvent.prototype.toJSON = function () { return __assign({ $typeName: this.$typeName, $typeArgs: this.$typeArgs }, this.toJSONField()); };
534
+ RemoveAuthorizedUserEvent.fromJSONField = function (field) { return RemoveAuthorizedUserEvent.reified().new({ signer: (0, reified_1.decodeFromJSONField)("address", field.signer), users: (0, reified_1.decodeFromJSONField)(reified.vector("address"), field.users) }); };
535
+ RemoveAuthorizedUserEvent.fromJSON = function (json) {
536
+ if (json.$typeName !== RemoveAuthorizedUserEvent.$typeName) {
537
+ throw new Error("not a WithTwoGenerics json object");
538
+ }
539
+ ;
540
+ return RemoveAuthorizedUserEvent.fromJSONField(json);
541
+ };
542
+ RemoveAuthorizedUserEvent.fromSuiParsedData = function (content) { if (content.dataType !== "moveObject") {
543
+ throw new Error("not an object");
544
+ } if (!isRemoveAuthorizedUserEvent(content.type)) {
545
+ throw new Error("object at ".concat(content.fields.id, " is not a RemoveAuthorizedUserEvent object"));
546
+ } return RemoveAuthorizedUserEvent.fromFieldsWithTypes(content); };
547
+ RemoveAuthorizedUserEvent.fetch = function (client, id) {
548
+ return __awaiter(this, void 0, void 0, function () {
549
+ var res;
550
+ var _a, _b;
551
+ return __generator(this, function (_c) {
552
+ switch (_c.label) {
553
+ case 0: return [4 /*yield*/, client.getObject({ id: id, options: { showBcs: true, }, })];
554
+ case 1:
555
+ res = _c.sent();
556
+ if (res.error) {
557
+ throw new Error("error fetching RemoveAuthorizedUserEvent object at id ".concat(id, ": ").concat(res.error.code));
558
+ }
559
+ if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.bcs) === null || _b === void 0 ? void 0 : _b.dataType) !== "moveObject" || !isRemoveAuthorizedUserEvent(res.data.bcs.type)) {
560
+ throw new Error("object at id ".concat(id, " is not a RemoveAuthorizedUserEvent object"));
561
+ }
562
+ return [2 /*return*/, RemoveAuthorizedUserEvent.fromBcs((0, bcs_1.fromB64)(res.data.bcs.bcsBytes))];
563
+ }
564
+ });
565
+ });
566
+ };
567
+ RemoveAuthorizedUserEvent.$typeName = "0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f::tds_registry_authorized_entry::RemoveAuthorizedUserEvent";
568
+ RemoveAuthorizedUserEvent.$numTypeParams = 0;
569
+ return RemoveAuthorizedUserEvent;
570
+ }());
571
+ exports.RemoveAuthorizedUserEvent = RemoveAuthorizedUserEvent;
572
+ /* ============================== ResumeTransactionEvent =============================== */
573
+ function isResumeTransactionEvent(type) { type = (0, util_1.compressSuiType)(type); return type === "0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f::tds_registry_authorized_entry::ResumeTransactionEvent"; }
574
+ var ResumeTransactionEvent = /** @class */ (function () {
575
+ function ResumeTransactionEvent(typeArgs, fields) {
576
+ this.$typeName = ResumeTransactionEvent.$typeName;
577
+ this.$fullTypeName = util_1.composeSuiType.apply(void 0, __spreadArray([ResumeTransactionEvent.$typeName], __read(typeArgs), false));
578
+ this.$typeArgs = typeArgs;
579
+ this.signer = fields.signer;
580
+ }
581
+ ResumeTransactionEvent.reified = function () {
582
+ var _this = this;
583
+ return { typeName: ResumeTransactionEvent.$typeName, fullTypeName: util_1.composeSuiType.apply(void 0, __spreadArray([ResumeTransactionEvent.$typeName], [], false)), typeArgs: [], reifiedTypeArgs: [], fromFields: function (fields) { return ResumeTransactionEvent.fromFields(fields); }, fromFieldsWithTypes: function (item) { return ResumeTransactionEvent.fromFieldsWithTypes(item); }, fromBcs: function (data) { return ResumeTransactionEvent.fromBcs(data); }, bcs: ResumeTransactionEvent.bcs, fromJSONField: function (field) { return ResumeTransactionEvent.fromJSONField(field); }, fromJSON: function (json) { return ResumeTransactionEvent.fromJSON(json); }, fromSuiParsedData: function (content) { return ResumeTransactionEvent.fromSuiParsedData(content); }, fetch: function (client, id) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
584
+ return [2 /*return*/, ResumeTransactionEvent.fetch(client, id)];
585
+ }); }); }, new: function (fields) { return new ResumeTransactionEvent([], fields); }, kind: "StructClassReified", };
586
+ };
587
+ Object.defineProperty(ResumeTransactionEvent, "r", {
588
+ get: function () { return ResumeTransactionEvent.reified(); },
589
+ enumerable: false,
590
+ configurable: true
591
+ });
592
+ ResumeTransactionEvent.phantom = function () { return (0, reified_1.phantom)(ResumeTransactionEvent.reified()); };
593
+ Object.defineProperty(ResumeTransactionEvent, "p", {
594
+ get: function () { return ResumeTransactionEvent.phantom(); },
595
+ enumerable: false,
596
+ configurable: true
597
+ });
598
+ Object.defineProperty(ResumeTransactionEvent, "bcs", {
599
+ get: function () {
600
+ return bcs_1.bcs.struct("ResumeTransactionEvent", {
601
+ signer: bcs_1.bcs.bytes(32).transform({ input: function (val) { return (0, bcs_1.fromHEX)(val); }, output: function (val) { return (0, bcs_1.toHEX)(val); }, })
602
+ });
603
+ },
604
+ enumerable: false,
605
+ configurable: true
606
+ });
607
+ ;
608
+ ResumeTransactionEvent.fromFields = function (fields) { return ResumeTransactionEvent.reified().new({ signer: (0, reified_1.decodeFromFields)("address", fields.signer) }); };
609
+ ResumeTransactionEvent.fromFieldsWithTypes = function (item) {
610
+ if (!isResumeTransactionEvent(item.type)) {
611
+ throw new Error("not a ResumeTransactionEvent type");
612
+ }
613
+ return ResumeTransactionEvent.reified().new({ signer: (0, reified_1.decodeFromFieldsWithTypes)("address", item.fields.signer) });
614
+ };
615
+ ResumeTransactionEvent.fromBcs = function (data) { return ResumeTransactionEvent.fromFields(ResumeTransactionEvent.bcs.parse(data)); };
616
+ ResumeTransactionEvent.prototype.toJSONField = function () {
617
+ return {
618
+ signer: this.signer,
619
+ };
620
+ };
621
+ ResumeTransactionEvent.prototype.toJSON = function () { return __assign({ $typeName: this.$typeName, $typeArgs: this.$typeArgs }, this.toJSONField()); };
622
+ ResumeTransactionEvent.fromJSONField = function (field) { return ResumeTransactionEvent.reified().new({ signer: (0, reified_1.decodeFromJSONField)("address", field.signer) }); };
623
+ ResumeTransactionEvent.fromJSON = function (json) {
624
+ if (json.$typeName !== ResumeTransactionEvent.$typeName) {
625
+ throw new Error("not a WithTwoGenerics json object");
626
+ }
627
+ ;
628
+ return ResumeTransactionEvent.fromJSONField(json);
629
+ };
630
+ ResumeTransactionEvent.fromSuiParsedData = function (content) { if (content.dataType !== "moveObject") {
631
+ throw new Error("not an object");
632
+ } if (!isResumeTransactionEvent(content.type)) {
633
+ throw new Error("object at ".concat(content.fields.id, " is not a ResumeTransactionEvent object"));
634
+ } return ResumeTransactionEvent.fromFieldsWithTypes(content); };
635
+ ResumeTransactionEvent.fetch = function (client, id) {
636
+ return __awaiter(this, void 0, void 0, function () {
637
+ var res;
638
+ var _a, _b;
639
+ return __generator(this, function (_c) {
640
+ switch (_c.label) {
641
+ case 0: return [4 /*yield*/, client.getObject({ id: id, options: { showBcs: true, }, })];
642
+ case 1:
643
+ res = _c.sent();
644
+ if (res.error) {
645
+ throw new Error("error fetching ResumeTransactionEvent object at id ".concat(id, ": ").concat(res.error.code));
646
+ }
647
+ if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.bcs) === null || _b === void 0 ? void 0 : _b.dataType) !== "moveObject" || !isResumeTransactionEvent(res.data.bcs.type)) {
648
+ throw new Error("object at id ".concat(id, " is not a ResumeTransactionEvent object"));
649
+ }
650
+ return [2 /*return*/, ResumeTransactionEvent.fromBcs((0, bcs_1.fromB64)(res.data.bcs.bcsBytes))];
651
+ }
652
+ });
653
+ });
654
+ };
655
+ ResumeTransactionEvent.$typeName = "0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f::tds_registry_authorized_entry::ResumeTransactionEvent";
656
+ ResumeTransactionEvent.$numTypeParams = 0;
657
+ return ResumeTransactionEvent;
658
+ }());
659
+ exports.ResumeTransactionEvent = ResumeTransactionEvent;
660
+ /* ============================== SetAvailableIncentiveAmountEvent =============================== */
661
+ function isSetAvailableIncentiveAmountEvent(type) { type = (0, util_1.compressSuiType)(type); return type === "0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f::tds_registry_authorized_entry::SetAvailableIncentiveAmountEvent"; }
662
+ var SetAvailableIncentiveAmountEvent = /** @class */ (function () {
663
+ function SetAvailableIncentiveAmountEvent(typeArgs, fields) {
664
+ this.$typeName = SetAvailableIncentiveAmountEvent.$typeName;
665
+ this.$fullTypeName = util_1.composeSuiType.apply(void 0, __spreadArray([SetAvailableIncentiveAmountEvent.$typeName], __read(typeArgs), false));
666
+ this.$typeArgs = typeArgs;
667
+ this.signer = fields.signer;
668
+ ;
669
+ this.index = fields.index;
670
+ ;
671
+ this.prevAmount = fields.prevAmount;
672
+ ;
673
+ this.amount = fields.amount;
674
+ }
675
+ SetAvailableIncentiveAmountEvent.reified = function () {
676
+ var _this = this;
677
+ return { typeName: SetAvailableIncentiveAmountEvent.$typeName, fullTypeName: util_1.composeSuiType.apply(void 0, __spreadArray([SetAvailableIncentiveAmountEvent.$typeName], [], false)), typeArgs: [], reifiedTypeArgs: [], fromFields: function (fields) { return SetAvailableIncentiveAmountEvent.fromFields(fields); }, fromFieldsWithTypes: function (item) { return SetAvailableIncentiveAmountEvent.fromFieldsWithTypes(item); }, fromBcs: function (data) { return SetAvailableIncentiveAmountEvent.fromBcs(data); }, bcs: SetAvailableIncentiveAmountEvent.bcs, fromJSONField: function (field) { return SetAvailableIncentiveAmountEvent.fromJSONField(field); }, fromJSON: function (json) { return SetAvailableIncentiveAmountEvent.fromJSON(json); }, fromSuiParsedData: function (content) { return SetAvailableIncentiveAmountEvent.fromSuiParsedData(content); }, fetch: function (client, id) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
678
+ return [2 /*return*/, SetAvailableIncentiveAmountEvent.fetch(client, id)];
679
+ }); }); }, new: function (fields) { return new SetAvailableIncentiveAmountEvent([], fields); }, kind: "StructClassReified", };
680
+ };
681
+ Object.defineProperty(SetAvailableIncentiveAmountEvent, "r", {
682
+ get: function () { return SetAvailableIncentiveAmountEvent.reified(); },
683
+ enumerable: false,
684
+ configurable: true
685
+ });
686
+ SetAvailableIncentiveAmountEvent.phantom = function () { return (0, reified_1.phantom)(SetAvailableIncentiveAmountEvent.reified()); };
687
+ Object.defineProperty(SetAvailableIncentiveAmountEvent, "p", {
688
+ get: function () { return SetAvailableIncentiveAmountEvent.phantom(); },
689
+ enumerable: false,
690
+ configurable: true
691
+ });
692
+ Object.defineProperty(SetAvailableIncentiveAmountEvent, "bcs", {
693
+ get: function () {
694
+ return bcs_1.bcs.struct("SetAvailableIncentiveAmountEvent", {
695
+ signer: bcs_1.bcs.bytes(32).transform({ input: function (val) { return (0, bcs_1.fromHEX)(val); }, output: function (val) { return (0, bcs_1.toHEX)(val); }, }), index: bcs_1.bcs.u64(), prev_amount: bcs_1.bcs.u64(), amount: bcs_1.bcs.u64()
696
+ });
697
+ },
698
+ enumerable: false,
699
+ configurable: true
700
+ });
701
+ ;
702
+ SetAvailableIncentiveAmountEvent.fromFields = function (fields) { return SetAvailableIncentiveAmountEvent.reified().new({ signer: (0, reified_1.decodeFromFields)("address", fields.signer), index: (0, reified_1.decodeFromFields)("u64", fields.index), prevAmount: (0, reified_1.decodeFromFields)("u64", fields.prev_amount), amount: (0, reified_1.decodeFromFields)("u64", fields.amount) }); };
703
+ SetAvailableIncentiveAmountEvent.fromFieldsWithTypes = function (item) {
704
+ if (!isSetAvailableIncentiveAmountEvent(item.type)) {
705
+ throw new Error("not a SetAvailableIncentiveAmountEvent type");
706
+ }
707
+ return SetAvailableIncentiveAmountEvent.reified().new({ signer: (0, reified_1.decodeFromFieldsWithTypes)("address", item.fields.signer), index: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.index), prevAmount: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.prev_amount), amount: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.amount) });
708
+ };
709
+ SetAvailableIncentiveAmountEvent.fromBcs = function (data) { return SetAvailableIncentiveAmountEvent.fromFields(SetAvailableIncentiveAmountEvent.bcs.parse(data)); };
710
+ SetAvailableIncentiveAmountEvent.prototype.toJSONField = function () {
711
+ return {
712
+ signer: this.signer, index: this.index.toString(), prevAmount: this.prevAmount.toString(), amount: this.amount.toString(),
713
+ };
714
+ };
715
+ SetAvailableIncentiveAmountEvent.prototype.toJSON = function () { return __assign({ $typeName: this.$typeName, $typeArgs: this.$typeArgs }, this.toJSONField()); };
716
+ SetAvailableIncentiveAmountEvent.fromJSONField = function (field) { return SetAvailableIncentiveAmountEvent.reified().new({ signer: (0, reified_1.decodeFromJSONField)("address", field.signer), index: (0, reified_1.decodeFromJSONField)("u64", field.index), prevAmount: (0, reified_1.decodeFromJSONField)("u64", field.prevAmount), amount: (0, reified_1.decodeFromJSONField)("u64", field.amount) }); };
717
+ SetAvailableIncentiveAmountEvent.fromJSON = function (json) {
718
+ if (json.$typeName !== SetAvailableIncentiveAmountEvent.$typeName) {
719
+ throw new Error("not a WithTwoGenerics json object");
720
+ }
721
+ ;
722
+ return SetAvailableIncentiveAmountEvent.fromJSONField(json);
723
+ };
724
+ SetAvailableIncentiveAmountEvent.fromSuiParsedData = function (content) { if (content.dataType !== "moveObject") {
725
+ throw new Error("not an object");
726
+ } if (!isSetAvailableIncentiveAmountEvent(content.type)) {
727
+ throw new Error("object at ".concat(content.fields.id, " is not a SetAvailableIncentiveAmountEvent object"));
728
+ } return SetAvailableIncentiveAmountEvent.fromFieldsWithTypes(content); };
729
+ SetAvailableIncentiveAmountEvent.fetch = function (client, id) {
730
+ return __awaiter(this, void 0, void 0, function () {
731
+ var res;
732
+ var _a, _b;
733
+ return __generator(this, function (_c) {
734
+ switch (_c.label) {
735
+ case 0: return [4 /*yield*/, client.getObject({ id: id, options: { showBcs: true, }, })];
736
+ case 1:
737
+ res = _c.sent();
738
+ if (res.error) {
739
+ throw new Error("error fetching SetAvailableIncentiveAmountEvent object at id ".concat(id, ": ").concat(res.error.code));
740
+ }
741
+ if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.bcs) === null || _b === void 0 ? void 0 : _b.dataType) !== "moveObject" || !isSetAvailableIncentiveAmountEvent(res.data.bcs.type)) {
742
+ throw new Error("object at id ".concat(id, " is not a SetAvailableIncentiveAmountEvent object"));
743
+ }
744
+ return [2 /*return*/, SetAvailableIncentiveAmountEvent.fromBcs((0, bcs_1.fromB64)(res.data.bcs.bcsBytes))];
745
+ }
746
+ });
747
+ });
748
+ };
749
+ SetAvailableIncentiveAmountEvent.$typeName = "0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f::tds_registry_authorized_entry::SetAvailableIncentiveAmountEvent";
750
+ SetAvailableIncentiveAmountEvent.$numTypeParams = 0;
751
+ return SetAvailableIncentiveAmountEvent;
752
+ }());
753
+ exports.SetAvailableIncentiveAmountEvent = SetAvailableIncentiveAmountEvent;
754
+ /* ============================== SuspendTransactionEvent =============================== */
755
+ function isSuspendTransactionEvent(type) { type = (0, util_1.compressSuiType)(type); return type === "0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f::tds_registry_authorized_entry::SuspendTransactionEvent"; }
756
+ var SuspendTransactionEvent = /** @class */ (function () {
757
+ function SuspendTransactionEvent(typeArgs, fields) {
758
+ this.$typeName = SuspendTransactionEvent.$typeName;
759
+ this.$fullTypeName = util_1.composeSuiType.apply(void 0, __spreadArray([SuspendTransactionEvent.$typeName], __read(typeArgs), false));
760
+ this.$typeArgs = typeArgs;
761
+ this.signer = fields.signer;
762
+ }
763
+ SuspendTransactionEvent.reified = function () {
764
+ var _this = this;
765
+ return { typeName: SuspendTransactionEvent.$typeName, fullTypeName: util_1.composeSuiType.apply(void 0, __spreadArray([SuspendTransactionEvent.$typeName], [], false)), typeArgs: [], reifiedTypeArgs: [], fromFields: function (fields) { return SuspendTransactionEvent.fromFields(fields); }, fromFieldsWithTypes: function (item) { return SuspendTransactionEvent.fromFieldsWithTypes(item); }, fromBcs: function (data) { return SuspendTransactionEvent.fromBcs(data); }, bcs: SuspendTransactionEvent.bcs, fromJSONField: function (field) { return SuspendTransactionEvent.fromJSONField(field); }, fromJSON: function (json) { return SuspendTransactionEvent.fromJSON(json); }, fromSuiParsedData: function (content) { return SuspendTransactionEvent.fromSuiParsedData(content); }, fetch: function (client, id) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
766
+ return [2 /*return*/, SuspendTransactionEvent.fetch(client, id)];
767
+ }); }); }, new: function (fields) { return new SuspendTransactionEvent([], fields); }, kind: "StructClassReified", };
768
+ };
769
+ Object.defineProperty(SuspendTransactionEvent, "r", {
770
+ get: function () { return SuspendTransactionEvent.reified(); },
771
+ enumerable: false,
772
+ configurable: true
773
+ });
774
+ SuspendTransactionEvent.phantom = function () { return (0, reified_1.phantom)(SuspendTransactionEvent.reified()); };
775
+ Object.defineProperty(SuspendTransactionEvent, "p", {
776
+ get: function () { return SuspendTransactionEvent.phantom(); },
777
+ enumerable: false,
778
+ configurable: true
779
+ });
780
+ Object.defineProperty(SuspendTransactionEvent, "bcs", {
781
+ get: function () {
782
+ return bcs_1.bcs.struct("SuspendTransactionEvent", {
783
+ signer: bcs_1.bcs.bytes(32).transform({ input: function (val) { return (0, bcs_1.fromHEX)(val); }, output: function (val) { return (0, bcs_1.toHEX)(val); }, })
784
+ });
785
+ },
786
+ enumerable: false,
787
+ configurable: true
788
+ });
789
+ ;
790
+ SuspendTransactionEvent.fromFields = function (fields) { return SuspendTransactionEvent.reified().new({ signer: (0, reified_1.decodeFromFields)("address", fields.signer) }); };
791
+ SuspendTransactionEvent.fromFieldsWithTypes = function (item) {
792
+ if (!isSuspendTransactionEvent(item.type)) {
793
+ throw new Error("not a SuspendTransactionEvent type");
794
+ }
795
+ return SuspendTransactionEvent.reified().new({ signer: (0, reified_1.decodeFromFieldsWithTypes)("address", item.fields.signer) });
796
+ };
797
+ SuspendTransactionEvent.fromBcs = function (data) { return SuspendTransactionEvent.fromFields(SuspendTransactionEvent.bcs.parse(data)); };
798
+ SuspendTransactionEvent.prototype.toJSONField = function () {
799
+ return {
800
+ signer: this.signer,
801
+ };
802
+ };
803
+ SuspendTransactionEvent.prototype.toJSON = function () { return __assign({ $typeName: this.$typeName, $typeArgs: this.$typeArgs }, this.toJSONField()); };
804
+ SuspendTransactionEvent.fromJSONField = function (field) { return SuspendTransactionEvent.reified().new({ signer: (0, reified_1.decodeFromJSONField)("address", field.signer) }); };
805
+ SuspendTransactionEvent.fromJSON = function (json) {
806
+ if (json.$typeName !== SuspendTransactionEvent.$typeName) {
807
+ throw new Error("not a WithTwoGenerics json object");
808
+ }
809
+ ;
810
+ return SuspendTransactionEvent.fromJSONField(json);
811
+ };
812
+ SuspendTransactionEvent.fromSuiParsedData = function (content) { if (content.dataType !== "moveObject") {
813
+ throw new Error("not an object");
814
+ } if (!isSuspendTransactionEvent(content.type)) {
815
+ throw new Error("object at ".concat(content.fields.id, " is not a SuspendTransactionEvent object"));
816
+ } return SuspendTransactionEvent.fromFieldsWithTypes(content); };
817
+ SuspendTransactionEvent.fetch = function (client, id) {
818
+ return __awaiter(this, void 0, void 0, function () {
819
+ var res;
820
+ var _a, _b;
821
+ return __generator(this, function (_c) {
822
+ switch (_c.label) {
823
+ case 0: return [4 /*yield*/, client.getObject({ id: id, options: { showBcs: true, }, })];
824
+ case 1:
825
+ res = _c.sent();
826
+ if (res.error) {
827
+ throw new Error("error fetching SuspendTransactionEvent object at id ".concat(id, ": ").concat(res.error.code));
828
+ }
829
+ if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.bcs) === null || _b === void 0 ? void 0 : _b.dataType) !== "moveObject" || !isSuspendTransactionEvent(res.data.bcs.type)) {
830
+ throw new Error("object at id ".concat(id, " is not a SuspendTransactionEvent object"));
831
+ }
832
+ return [2 /*return*/, SuspendTransactionEvent.fromBcs((0, bcs_1.fromB64)(res.data.bcs.bcsBytes))];
833
+ }
834
+ });
835
+ });
836
+ };
837
+ SuspendTransactionEvent.$typeName = "0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f::tds_registry_authorized_entry::SuspendTransactionEvent";
838
+ SuspendTransactionEvent.$numTypeParams = 0;
839
+ return SuspendTransactionEvent;
840
+ }());
841
+ exports.SuspendTransactionEvent = SuspendTransactionEvent;
842
+ /* ============================== UpgradeRegistryEvent =============================== */
843
+ function isUpgradeRegistryEvent(type) { type = (0, util_1.compressSuiType)(type); return type === "0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f::tds_registry_authorized_entry::UpgradeRegistryEvent"; }
844
+ var UpgradeRegistryEvent = /** @class */ (function () {
845
+ function UpgradeRegistryEvent(typeArgs, fields) {
846
+ this.$typeName = UpgradeRegistryEvent.$typeName;
847
+ this.$fullTypeName = util_1.composeSuiType.apply(void 0, __spreadArray([UpgradeRegistryEvent.$typeName], __read(typeArgs), false));
848
+ this.$typeArgs = typeArgs;
849
+ this.signer = fields.signer;
850
+ ;
851
+ this.prevVersion = fields.prevVersion;
852
+ ;
853
+ this.version = fields.version;
854
+ }
855
+ UpgradeRegistryEvent.reified = function () {
856
+ var _this = this;
857
+ return { typeName: UpgradeRegistryEvent.$typeName, fullTypeName: util_1.composeSuiType.apply(void 0, __spreadArray([UpgradeRegistryEvent.$typeName], [], false)), typeArgs: [], reifiedTypeArgs: [], fromFields: function (fields) { return UpgradeRegistryEvent.fromFields(fields); }, fromFieldsWithTypes: function (item) { return UpgradeRegistryEvent.fromFieldsWithTypes(item); }, fromBcs: function (data) { return UpgradeRegistryEvent.fromBcs(data); }, bcs: UpgradeRegistryEvent.bcs, fromJSONField: function (field) { return UpgradeRegistryEvent.fromJSONField(field); }, fromJSON: function (json) { return UpgradeRegistryEvent.fromJSON(json); }, fromSuiParsedData: function (content) { return UpgradeRegistryEvent.fromSuiParsedData(content); }, fetch: function (client, id) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
858
+ return [2 /*return*/, UpgradeRegistryEvent.fetch(client, id)];
859
+ }); }); }, new: function (fields) { return new UpgradeRegistryEvent([], fields); }, kind: "StructClassReified", };
860
+ };
861
+ Object.defineProperty(UpgradeRegistryEvent, "r", {
862
+ get: function () { return UpgradeRegistryEvent.reified(); },
863
+ enumerable: false,
864
+ configurable: true
865
+ });
866
+ UpgradeRegistryEvent.phantom = function () { return (0, reified_1.phantom)(UpgradeRegistryEvent.reified()); };
867
+ Object.defineProperty(UpgradeRegistryEvent, "p", {
868
+ get: function () { return UpgradeRegistryEvent.phantom(); },
869
+ enumerable: false,
870
+ configurable: true
871
+ });
872
+ Object.defineProperty(UpgradeRegistryEvent, "bcs", {
873
+ get: function () {
874
+ return bcs_1.bcs.struct("UpgradeRegistryEvent", {
875
+ signer: bcs_1.bcs.bytes(32).transform({ input: function (val) { return (0, bcs_1.fromHEX)(val); }, output: function (val) { return (0, bcs_1.toHEX)(val); }, }), prev_version: bcs_1.bcs.u64(), version: bcs_1.bcs.u64()
876
+ });
877
+ },
878
+ enumerable: false,
879
+ configurable: true
880
+ });
881
+ ;
882
+ UpgradeRegistryEvent.fromFields = function (fields) { return UpgradeRegistryEvent.reified().new({ signer: (0, reified_1.decodeFromFields)("address", fields.signer), prevVersion: (0, reified_1.decodeFromFields)("u64", fields.prev_version), version: (0, reified_1.decodeFromFields)("u64", fields.version) }); };
883
+ UpgradeRegistryEvent.fromFieldsWithTypes = function (item) {
884
+ if (!isUpgradeRegistryEvent(item.type)) {
885
+ throw new Error("not a UpgradeRegistryEvent type");
886
+ }
887
+ return UpgradeRegistryEvent.reified().new({ signer: (0, reified_1.decodeFromFieldsWithTypes)("address", item.fields.signer), prevVersion: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.prev_version), version: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.version) });
888
+ };
889
+ UpgradeRegistryEvent.fromBcs = function (data) { return UpgradeRegistryEvent.fromFields(UpgradeRegistryEvent.bcs.parse(data)); };
890
+ UpgradeRegistryEvent.prototype.toJSONField = function () {
891
+ return {
892
+ signer: this.signer, prevVersion: this.prevVersion.toString(), version: this.version.toString(),
893
+ };
894
+ };
895
+ UpgradeRegistryEvent.prototype.toJSON = function () { return __assign({ $typeName: this.$typeName, $typeArgs: this.$typeArgs }, this.toJSONField()); };
896
+ UpgradeRegistryEvent.fromJSONField = function (field) { return UpgradeRegistryEvent.reified().new({ signer: (0, reified_1.decodeFromJSONField)("address", field.signer), prevVersion: (0, reified_1.decodeFromJSONField)("u64", field.prevVersion), version: (0, reified_1.decodeFromJSONField)("u64", field.version) }); };
897
+ UpgradeRegistryEvent.fromJSON = function (json) {
898
+ if (json.$typeName !== UpgradeRegistryEvent.$typeName) {
899
+ throw new Error("not a WithTwoGenerics json object");
900
+ }
901
+ ;
902
+ return UpgradeRegistryEvent.fromJSONField(json);
903
+ };
904
+ UpgradeRegistryEvent.fromSuiParsedData = function (content) { if (content.dataType !== "moveObject") {
905
+ throw new Error("not an object");
906
+ } if (!isUpgradeRegistryEvent(content.type)) {
907
+ throw new Error("object at ".concat(content.fields.id, " is not a UpgradeRegistryEvent object"));
908
+ } return UpgradeRegistryEvent.fromFieldsWithTypes(content); };
909
+ UpgradeRegistryEvent.fetch = function (client, id) {
910
+ return __awaiter(this, void 0, void 0, function () {
911
+ var res;
912
+ var _a, _b;
913
+ return __generator(this, function (_c) {
914
+ switch (_c.label) {
915
+ case 0: return [4 /*yield*/, client.getObject({ id: id, options: { showBcs: true, }, })];
916
+ case 1:
917
+ res = _c.sent();
918
+ if (res.error) {
919
+ throw new Error("error fetching UpgradeRegistryEvent object at id ".concat(id, ": ").concat(res.error.code));
920
+ }
921
+ if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.bcs) === null || _b === void 0 ? void 0 : _b.dataType) !== "moveObject" || !isUpgradeRegistryEvent(res.data.bcs.type)) {
922
+ throw new Error("object at id ".concat(id, " is not a UpgradeRegistryEvent object"));
923
+ }
924
+ return [2 /*return*/, UpgradeRegistryEvent.fromBcs((0, bcs_1.fromB64)(res.data.bcs.bcsBytes))];
925
+ }
926
+ });
927
+ });
928
+ };
929
+ UpgradeRegistryEvent.$typeName = "0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f::tds_registry_authorized_entry::UpgradeRegistryEvent";
930
+ UpgradeRegistryEvent.$numTypeParams = 0;
931
+ return UpgradeRegistryEvent;
932
+ }());
933
+ exports.UpgradeRegistryEvent = UpgradeRegistryEvent;