@typus/typus-perp-sdk 1.0.0 → 1.0.3

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 (335) hide show
  1. package/dist/src/_framework/init-loader.js +4 -32
  2. package/dist/src/fetch.d.ts +10 -4
  3. package/dist/src/fetch.js +122 -110
  4. package/dist/src/index.d.ts +0 -2
  5. package/dist/src/index.js +0 -2
  6. package/dist/src/typus_perp/admin/structs.d.ts +66 -4
  7. package/dist/src/typus_perp/admin/structs.js +155 -1
  8. package/dist/src/typus_perp/error/functions.d.ts +4 -0
  9. package/dist/src/typus_perp/error/functions.js +16 -0
  10. package/dist/src/typus_perp/escrow/structs.d.ts +1 -1
  11. package/dist/src/typus_perp/index.js +4 -4
  12. package/dist/src/typus_perp/init.js +2 -2
  13. package/dist/src/typus_perp/lp-pool/structs.d.ts +26 -26
  14. package/dist/src/typus_perp/oracle/structs.d.ts +2 -2
  15. package/dist/src/typus_perp/position/functions.d.ts +3 -0
  16. package/dist/src/typus_perp/position/functions.js +7 -1
  17. package/dist/src/typus_perp/position/structs.d.ts +42 -164
  18. package/dist/src/typus_perp/position/structs.js +31 -209
  19. package/dist/src/typus_perp/symbol/structs.d.ts +1 -1
  20. package/dist/src/typus_perp/tlp/structs.d.ts +2 -2
  21. package/dist/src/typus_perp/trading/structs.d.ts +179 -139
  22. package/dist/src/typus_perp/trading/structs.js +227 -173
  23. package/dist/src/typus_perp/treasury-caps/structs.d.ts +1 -1
  24. package/dist/src/typus_stake_pool/admin/structs.d.ts +4 -4
  25. package/dist/src/typus_stake_pool/index.js +4 -4
  26. package/dist/src/typus_stake_pool/init.js +2 -2
  27. package/dist/src/typus_stake_pool/stake-pool/functions.d.ts +16 -16
  28. package/dist/src/typus_stake_pool/stake-pool/functions.js +28 -28
  29. package/dist/src/typus_stake_pool/stake-pool/structs.d.ts +202 -202
  30. package/dist/src/typus_stake_pool/stake-pool/structs.js +404 -404
  31. package/dist/src/user/history.js +98 -18
  32. package/dist/src/user/order.js +6 -0
  33. package/dist/src/user/orderWithBidReceipt.d.ts +2 -4
  34. package/dist/src/user/orderWithBidReceipt.js +3 -14
  35. package/package.json +2 -1
  36. package/dist/src/_dependencies/source/0x1/bit-vector/structs.d.ts +0 -56
  37. package/dist/src/_dependencies/source/0x1/bit-vector/structs.js +0 -268
  38. package/dist/src/_dependencies/source/0x1/fixed-point32/structs.d.ts +0 -46
  39. package/dist/src/_dependencies/source/0x1/fixed-point32/structs.js +0 -222
  40. package/dist/src/_dependencies/source/0x1/init.d.ts +0 -2
  41. package/dist/src/_dependencies/source/0x1/init.js +0 -55
  42. package/dist/src/_dependencies/source/0x1/uq32-32/structs.d.ts +0 -46
  43. package/dist/src/_dependencies/source/0x1/uq32-32/structs.js +0 -222
  44. package/dist/src/_dependencies/source/0x1/uq64-64/structs.d.ts +0 -46
  45. package/dist/src/_dependencies/source/0x1/uq64-64/structs.js +0 -222
  46. package/dist/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/index.d.ts +0 -5
  47. package/dist/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/index.js +0 -8
  48. package/dist/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/init.d.ts +0 -2
  49. package/dist/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/init.js +0 -50
  50. package/dist/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/oracle/structs.d.ts +0 -350
  51. package/dist/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/oracle/structs.js +0 -794
  52. package/dist/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/pyth-parser/structs.d.ts +0 -111
  53. package/dist/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/pyth-parser/structs.js +0 -389
  54. package/dist/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/supra/structs.d.ts +0 -70
  55. package/dist/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/supra/structs.js +0 -252
  56. package/dist/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/switchboard-feed-parser/structs.d.ts +0 -70
  57. package/dist/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/switchboard-feed-parser/structs.js +0 -252
  58. package/dist/src/_dependencies/source/0x2/authenticator-state/structs.d.ts +0 -464
  59. package/dist/src/_dependencies/source/0x2/authenticator-state/structs.js +0 -904
  60. package/dist/src/_dependencies/source/0x2/bag/structs.d.ts +0 -61
  61. package/dist/src/_dependencies/source/0x2/bag/structs.js +0 -229
  62. package/dist/src/_dependencies/source/0x2/balance/structs.d.ts +0 -88
  63. package/dist/src/_dependencies/source/0x2/balance/structs.js +0 -386
  64. package/dist/src/_dependencies/source/0x2/bcs/structs.d.ts +0 -50
  65. package/dist/src/_dependencies/source/0x2/bcs/structs.js +0 -256
  66. package/dist/src/_dependencies/source/0x2/bls12381/structs.d.ts +0 -214
  67. package/dist/src/_dependencies/source/0x2/bls12381/structs.js +0 -790
  68. package/dist/src/_dependencies/source/0x2/borrow/structs.d.ts +0 -113
  69. package/dist/src/_dependencies/source/0x2/borrow/structs.js +0 -398
  70. package/dist/src/_dependencies/source/0x2/clock/structs.d.ts +0 -61
  71. package/dist/src/_dependencies/source/0x2/clock/structs.js +0 -235
  72. package/dist/src/_dependencies/source/0x2/coin/structs.d.ts +0 -460
  73. package/dist/src/_dependencies/source/0x2/coin/structs.js +0 -1247
  74. package/dist/src/_dependencies/source/0x2/config/structs.d.ts +0 -179
  75. package/dist/src/_dependencies/source/0x2/config/structs.js +0 -567
  76. package/dist/src/_dependencies/source/0x2/deny-list/structs.d.ts +0 -430
  77. package/dist/src/_dependencies/source/0x2/deny-list/structs.js +0 -1166
  78. package/dist/src/_dependencies/source/0x2/display/structs.d.ts +0 -241
  79. package/dist/src/_dependencies/source/0x2/display/structs.js +0 -578
  80. package/dist/src/_dependencies/source/0x2/dynamic-field/structs.d.ts +0 -68
  81. package/dist/src/_dependencies/source/0x2/dynamic-field/structs.js +0 -256
  82. package/dist/src/_dependencies/source/0x2/dynamic-object-field/structs.d.ts +0 -47
  83. package/dist/src/_dependencies/source/0x2/dynamic-object-field/structs.js +0 -236
  84. package/dist/src/_dependencies/source/0x2/groth16/structs.d.ts +0 -204
  85. package/dist/src/_dependencies/source/0x2/groth16/structs.js +0 -706
  86. package/dist/src/_dependencies/source/0x2/group-ops/structs.d.ts +0 -50
  87. package/dist/src/_dependencies/source/0x2/group-ops/structs.js +0 -267
  88. package/dist/src/_dependencies/source/0x2/init.d.ts +0 -2
  89. package/dist/src/_dependencies/source/0x2/init.js +0 -171
  90. package/dist/src/_dependencies/source/0x2/kiosk/structs.d.ts +0 -606
  91. package/dist/src/_dependencies/source/0x2/kiosk/structs.js +0 -1719
  92. package/dist/src/_dependencies/source/0x2/kiosk-extension/structs.d.ts +0 -121
  93. package/dist/src/_dependencies/source/0x2/kiosk-extension/structs.js +0 -394
  94. package/dist/src/_dependencies/source/0x2/linked-table/structs.d.ts +0 -153
  95. package/dist/src/_dependencies/source/0x2/linked-table/structs.js +0 -438
  96. package/dist/src/_dependencies/source/0x2/object-bag/structs.d.ts +0 -61
  97. package/dist/src/_dependencies/source/0x2/object-bag/structs.js +0 -229
  98. package/dist/src/_dependencies/source/0x2/package/structs.d.ts +0 -280
  99. package/dist/src/_dependencies/source/0x2/package/structs.js +0 -762
  100. package/dist/src/_dependencies/source/0x2/priority-queue/structs.d.ts +0 -111
  101. package/dist/src/_dependencies/source/0x2/priority-queue/structs.js +0 -440
  102. package/dist/src/_dependencies/source/0x2/random/structs.d.ts +0 -204
  103. package/dist/src/_dependencies/source/0x2/random/structs.js +0 -596
  104. package/dist/src/_dependencies/source/0x2/sui/structs.d.ts +0 -46
  105. package/dist/src/_dependencies/source/0x2/sui/structs.js +0 -222
  106. package/dist/src/_dependencies/source/0x2/table/structs.d.ts +0 -61
  107. package/dist/src/_dependencies/source/0x2/table/structs.js +0 -248
  108. package/dist/src/_dependencies/source/0x2/table-vec/structs.d.ts +0 -68
  109. package/dist/src/_dependencies/source/0x2/table-vec/structs.js +0 -274
  110. package/dist/src/_dependencies/source/0x2/token/structs.d.ts +0 -449
  111. package/dist/src/_dependencies/source/0x2/token/structs.js +0 -1095
  112. package/dist/src/_dependencies/source/0x2/transfer/structs.d.ts +0 -57
  113. package/dist/src/_dependencies/source/0x2/transfer/structs.js +0 -246
  114. package/dist/src/_dependencies/source/0x2/transfer-policy/structs.d.ts +0 -370
  115. package/dist/src/_dependencies/source/0x2/transfer-policy/structs.js +0 -1091
  116. package/dist/src/_dependencies/source/0x2/tx-context/structs.d.ts +0 -74
  117. package/dist/src/_dependencies/source/0x2/tx-context/structs.js +0 -286
  118. package/dist/src/_dependencies/source/0x2/url/structs.d.ts +0 -53
  119. package/dist/src/_dependencies/source/0x2/url/structs.js +0 -223
  120. package/dist/src/_dependencies/source/0x2/versioned/structs.d.ts +0 -113
  121. package/dist/src/_dependencies/source/0x2/versioned/structs.js +0 -389
  122. package/dist/src/_dependencies/source/0x2/zklogin-verified-id/structs.d.ts +0 -110
  123. package/dist/src/_dependencies/source/0x2/zklogin-verified-id/structs.js +0 -260
  124. package/dist/src/_dependencies/source/0x2/zklogin-verified-issuer/structs.d.ts +0 -74
  125. package/dist/src/_dependencies/source/0x2/zklogin-verified-issuer/structs.js +0 -242
  126. package/dist/src/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/index.d.ts +0 -3
  127. package/dist/src/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/index.js +0 -6
  128. package/dist/src/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/init.d.ts +0 -2
  129. package/dist/src/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/init.js +0 -40
  130. package/dist/src/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/validator/structs.d.ts +0 -55
  131. package/dist/src/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/validator/structs.js +0 -223
  132. package/dist/src/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/index.d.ts +0 -4
  133. package/dist/src/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/index.js +0 -7
  134. package/dist/src/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/init.d.ts +0 -2
  135. package/dist/src/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/init.js +0 -43
  136. package/dist/src/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/price-data-pull/structs.d.ts +0 -46
  137. package/dist/src/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/price-data-pull/structs.js +0 -222
  138. package/dist/src/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/suprasvaluefeed/structs.d.ts +0 -121
  139. package/dist/src/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/suprasvaluefeed/structs.js +0 -395
  140. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/airdrop/structs.d.ts +0 -489
  141. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/airdrop/structs.js +0 -1084
  142. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/big-vector/structs.d.ts +0 -147
  143. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/big-vector/structs.js +0 -456
  144. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/critbit/structs.d.ts +0 -239
  145. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/critbit/structs.js +0 -653
  146. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/ecosystem/structs.d.ts +0 -405
  147. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/ecosystem/structs.js +0 -899
  148. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/init.d.ts +0 -2
  149. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/init.js +0 -102
  150. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/leaderboard/structs.d.ts +0 -699
  151. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/leaderboard/structs.js +0 -1459
  152. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/linked-set/structs.d.ts +0 -147
  153. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/linked-set/structs.js +0 -430
  154. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/tails-staking/structs.d.ts +0 -1071
  155. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/tails-staking/structs.js +0 -2261
  156. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/tgld/structs.d.ts +0 -279
  157. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/tgld/structs.js +0 -733
  158. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/user/structs.d.ts +0 -328
  159. package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/user/structs.js +0 -892
  160. package/dist/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/discount-mint/structs.d.ts +0 -628
  161. package/dist/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/discount-mint/structs.js +0 -1324
  162. package/dist/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/index.d.ts +0 -9
  163. package/dist/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/index.js +0 -12
  164. package/dist/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/init.d.ts +0 -2
  165. package/dist/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/init.js +0 -72
  166. package/dist/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/royalty-rule/structs.d.ts +0 -94
  167. package/dist/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/royalty-rule/structs.js +0 -376
  168. package/dist/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/staking/structs.d.ts +0 -454
  169. package/dist/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/staking/structs.js +0 -881
  170. package/dist/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/table-vec/structs.d.ts +0 -68
  171. package/dist/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/table-vec/structs.js +0 -274
  172. package/dist/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/typus-nft/structs.d.ts +0 -1117
  173. package/dist/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/typus-nft/structs.js +0 -2387
  174. package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/auto-bid/structs.d.ts +0 -1524
  175. package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/auto-bid/structs.js +0 -3008
  176. package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/index.d.ts +0 -10
  177. package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/index.js +0 -13
  178. package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/init.d.ts +0 -2
  179. package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/init.js +0 -145
  180. package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tails-staking/structs.d.ts +0 -1267
  181. package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tails-staking/structs.js +0 -2820
  182. package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-authorized-entry/structs.d.ts +0 -1412
  183. package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-authorized-entry/structs.js +0 -1646
  184. package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-fee-pool-entry/structs.d.ts +0 -425
  185. package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-fee-pool-entry/structs.js +0 -1223
  186. package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-registry-authorized-entry/structs.d.ts +0 -1156
  187. package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-registry-authorized-entry/structs.js +0 -1828
  188. package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-view-function/structs.d.ts +0 -82
  189. package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-view-function/structs.js +0 -264
  190. package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/typus-dov-single/structs.d.ts +0 -5022
  191. package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/typus-dov-single/structs.js +0 -7585
  192. package/dist/src/_dependencies/source/0x7237ec8436ef7e927c45470db6db3a834dd84cf903aedee3844e847fe4805399/index.d.ts +0 -3
  193. package/dist/src/_dependencies/source/0x7237ec8436ef7e927c45470db6db3a834dd84cf903aedee3844e847fe4805399/index.js +0 -6
  194. package/dist/src/_dependencies/source/0x7237ec8436ef7e927c45470db6db3a834dd84cf903aedee3844e847fe4805399/init.d.ts +0 -2
  195. package/dist/src/_dependencies/source/0x7237ec8436ef7e927c45470db6db3a834dd84cf903aedee3844e847fe4805399/init.js +0 -4
  196. package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/authority/structs.d.ts +0 -88
  197. package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/authority/structs.js +0 -263
  198. package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/balance-pool/structs.d.ts +0 -347
  199. package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/balance-pool/structs.js +0 -591
  200. package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/big-vector/structs.d.ts +0 -73
  201. package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/big-vector/structs.js +0 -258
  202. package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/dutch/structs.d.ts +0 -876
  203. package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/dutch/structs.js +0 -1721
  204. package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/i64/structs.d.ts +0 -46
  205. package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/i64/structs.js +0 -222
  206. package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/init.d.ts +0 -2
  207. package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/init.js +0 -89
  208. package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/linked-list/structs.d.ts +0 -155
  209. package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/linked-list/structs.js +0 -444
  210. package/dist/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/aggregator/structs.d.ts +0 -745
  211. package/dist/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/aggregator/structs.js +0 -1221
  212. package/dist/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/init.d.ts +0 -2
  213. package/dist/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/init.js +0 -53
  214. package/dist/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/job/structs.d.ts +0 -87
  215. package/dist/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/job/structs.js +0 -287
  216. package/dist/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/math/structs.d.ts +0 -58
  217. package/dist/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/math/structs.js +0 -240
  218. package/dist/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/quote/structs.d.ts +0 -121
  219. package/dist/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/quote/structs.js +0 -323
  220. package/dist/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/switchboard/structs.d.ts +0 -55
  221. package/dist/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/switchboard/structs.js +0 -223
  222. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/batch-price-attestation/structs.d.ts +0 -289
  223. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/batch-price-attestation/structs.js +0 -453
  224. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/contract-upgrade/structs.d.ts +0 -114
  225. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/contract-upgrade/structs.js +0 -378
  226. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/data-source/structs.d.ts +0 -71
  227. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/data-source/structs.js +0 -235
  228. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/event/structs.d.ts +0 -209
  229. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/event/structs.js +0 -377
  230. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/governance/structs.d.ts +0 -73
  231. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/governance/structs.js +0 -275
  232. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/governance-action/structs.d.ts +0 -46
  233. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/governance-action/structs.js +0 -222
  234. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/governance-instruction/structs.d.ts +0 -77
  235. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/governance-instruction/structs.js +0 -281
  236. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/hot-potato-vector/structs.d.ts +0 -51
  237. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/hot-potato-vector/structs.js +0 -270
  238. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/i64/structs.d.ts +0 -52
  239. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/i64/structs.js +0 -234
  240. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/index.d.ts +0 -3
  241. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/index.js +0 -6
  242. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/init.d.ts +0 -2
  243. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/init.js +0 -95
  244. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/migrate/structs.d.ts +0 -51
  245. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/migrate/structs.js +0 -223
  246. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/price/structs.d.ts +0 -89
  247. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/price/structs.js +0 -247
  248. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/price-feed/structs.d.ts +0 -158
  249. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/price-feed/structs.js +0 -242
  250. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/price-identifier/structs.d.ts +0 -50
  251. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/price-identifier/structs.js +0 -256
  252. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/price-info/structs.d.ts +0 -360
  253. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/price-info/structs.js +0 -396
  254. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/price-status/structs.d.ts +0 -46
  255. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/price-status/structs.js +0 -222
  256. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/set/structs.d.ts +0 -120
  257. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/set/structs.js +0 -425
  258. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/set-data-sources/structs.d.ts +0 -81
  259. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/set-data-sources/structs.js +0 -257
  260. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/set-fee-recipient/structs.d.ts +0 -46
  261. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/set-fee-recipient/structs.js +0 -222
  262. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/set-governance-data-source/structs.d.ts +0 -77
  263. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/set-governance-data-source/structs.js +0 -241
  264. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/set-stale-price-threshold/structs.d.ts +0 -46
  265. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/set-stale-price-threshold/structs.js +0 -222
  266. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/set-update-fee/structs.d.ts +0 -52
  267. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/set-update-fee/structs.js +0 -234
  268. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/setup/structs.d.ts +0 -55
  269. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/setup/structs.js +0 -223
  270. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/state/structs.d.ts +0 -282
  271. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/state/structs.js +0 -560
  272. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/version-control/structs.d.ts +0 -130
  273. package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/version-control/structs.js +0 -506
  274. package/dist/src/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/index.d.ts +0 -3
  275. package/dist/src/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/index.js +0 -6
  276. package/dist/src/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/init.d.ts +0 -2
  277. package/dist/src/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/init.js +0 -46
  278. package/dist/src/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/kiosk-lock-rule/structs.d.ts +0 -88
  279. package/dist/src/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/kiosk-lock-rule/structs.js +0 -364
  280. package/dist/src/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/royalty-rule/structs.d.ts +0 -94
  281. package/dist/src/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/royalty-rule/structs.js +0 -376
  282. package/dist/src/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/witness-rule/structs.d.ts +0 -46
  283. package/dist/src/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/witness-rule/structs.js +0 -233
  284. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/bytes20/structs.d.ts +0 -50
  285. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/bytes20/structs.js +0 -256
  286. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/bytes32/structs.d.ts +0 -50
  287. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/bytes32/structs.js +0 -256
  288. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/consumed-vaas/structs.d.ts +0 -77
  289. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/consumed-vaas/structs.js +0 -260
  290. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/cursor/structs.d.ts +0 -51
  291. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/cursor/structs.js +0 -270
  292. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/emitter/structs.d.ts +0 -153
  293. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/emitter/structs.js +0 -519
  294. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/external-address/structs.d.ts +0 -57
  295. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/external-address/structs.js +0 -223
  296. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/fee-collector/structs.d.ts +0 -63
  297. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/fee-collector/structs.js +0 -270
  298. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/governance-message/structs.d.ts +0 -168
  299. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/governance-message/structs.js +0 -470
  300. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/guardian/structs.d.ts +0 -57
  301. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/guardian/structs.js +0 -223
  302. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/guardian-set/structs.d.ts +0 -81
  303. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/guardian-set/structs.js +0 -275
  304. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/guardian-signature/structs.d.ts +0 -85
  305. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/guardian-signature/structs.js +0 -247
  306. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/index.d.ts +0 -3
  307. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/index.js +0 -6
  308. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/init.d.ts +0 -2
  309. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/init.js +0 -100
  310. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/migrate/structs.d.ts +0 -51
  311. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/migrate/structs.js +0 -223
  312. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/package-utils/structs.d.ts +0 -194
  313. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/package-utils/structs.js +0 -662
  314. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/publish-message/structs.d.ts +0 -151
  315. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/publish-message/structs.js +0 -459
  316. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/set/structs.d.ts +0 -110
  317. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/set/structs.js +0 -416
  318. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/set-fee/structs.d.ts +0 -88
  319. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/set-fee/structs.js +0 -364
  320. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/setup/structs.d.ts +0 -55
  321. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/setup/structs.js +0 -223
  322. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/state/structs.d.ts +0 -278
  323. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/state/structs.js +0 -459
  324. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/transfer-fee/structs.d.ts +0 -94
  325. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/transfer-fee/structs.js +0 -376
  326. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/update-guardian-set/structs.d.ts +0 -159
  327. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/update-guardian-set/structs.js +0 -553
  328. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/upgrade-contract/structs.d.ts +0 -156
  329. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/upgrade-contract/structs.js +0 -520
  330. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/vaa/structs.d.ts +0 -128
  331. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/vaa/structs.js +0 -312
  332. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/version-control/structs.d.ts +0 -88
  333. package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/version-control/structs.js +0 -364
  334. package/dist/src/readVec.d.ts +0 -3
  335. package/dist/src/readVec.js +0 -118
@@ -1,1223 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
- if (k2 === undefined) k2 = k;
15
- var desc = Object.getOwnPropertyDescriptor(m, k);
16
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
17
- desc = { enumerable: true, get: function() { return m[k]; } };
18
- }
19
- Object.defineProperty(o, k2, desc);
20
- }) : (function(o, m, k, k2) {
21
- if (k2 === undefined) k2 = k;
22
- o[k2] = m[k];
23
- }));
24
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
25
- Object.defineProperty(o, "default", { enumerable: true, value: v });
26
- }) : function(o, v) {
27
- o["default"] = v;
28
- });
29
- var __importStar = (this && this.__importStar) || (function () {
30
- var ownKeys = function(o) {
31
- ownKeys = Object.getOwnPropertyNames || function (o) {
32
- var ar = [];
33
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
34
- return ar;
35
- };
36
- return ownKeys(o);
37
- };
38
- return function (mod) {
39
- if (mod && mod.__esModule) return mod;
40
- var result = {};
41
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
42
- __setModuleDefault(result, mod);
43
- return result;
44
- };
45
- })();
46
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
47
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
48
- return new (P || (P = Promise))(function (resolve, reject) {
49
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
50
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
51
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
52
- step((generator = generator.apply(thisArg, _arguments || [])).next());
53
- });
54
- };
55
- var __generator = (this && this.__generator) || function (thisArg, body) {
56
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
57
- return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
58
- function verb(n) { return function (v) { return step([n, v]); }; }
59
- function step(op) {
60
- if (f) throw new TypeError("Generator is already executing.");
61
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
62
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
63
- if (y = 0, t) op = [op[0] & 2, t.value];
64
- switch (op[0]) {
65
- case 0: case 1: t = op; break;
66
- case 4: _.label++; return { value: op[1], done: false };
67
- case 5: _.label++; y = op[1]; op = [0]; continue;
68
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
69
- default:
70
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
71
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
72
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
73
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
74
- if (t[2]) _.ops.pop();
75
- _.trys.pop(); continue;
76
- }
77
- op = body.call(thisArg, _);
78
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
79
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
80
- }
81
- };
82
- var __read = (this && this.__read) || function (o, n) {
83
- var m = typeof Symbol === "function" && o[Symbol.iterator];
84
- if (!m) return o;
85
- var i = m.call(o), r, ar = [], e;
86
- try {
87
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
88
- }
89
- catch (error) { e = { error: error }; }
90
- finally {
91
- try {
92
- if (r && !r.done && (m = i["return"])) m.call(i);
93
- }
94
- finally { if (e) throw e.error; }
95
- }
96
- return ar;
97
- };
98
- var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
99
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
100
- if (ar || !(i in from)) {
101
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
102
- ar[i] = from[i];
103
- }
104
- }
105
- return to.concat(ar || Array.prototype.slice.call(from));
106
- };
107
- Object.defineProperty(exports, "__esModule", { value: true });
108
- exports.TakeSharedFeeEvent = exports.TakeFeeEvent = exports.RemoveSharedFeePoolAuthorizedUserEvent = exports.RemoveFeePoolAuthorizedUserEvent = exports.AddSharedFeePoolAuthorizedUserEvent = exports.AddFeePoolAuthorizedUserEvent = exports.SendFeeEvent = void 0;
109
- exports.isSendFeeEvent = isSendFeeEvent;
110
- exports.isAddFeePoolAuthorizedUserEvent = isAddFeePoolAuthorizedUserEvent;
111
- exports.isAddSharedFeePoolAuthorizedUserEvent = isAddSharedFeePoolAuthorizedUserEvent;
112
- exports.isRemoveFeePoolAuthorizedUserEvent = isRemoveFeePoolAuthorizedUserEvent;
113
- exports.isRemoveSharedFeePoolAuthorizedUserEvent = isRemoveSharedFeePoolAuthorizedUserEvent;
114
- exports.isTakeFeeEvent = isTakeFeeEvent;
115
- exports.isTakeSharedFeeEvent = isTakeSharedFeeEvent;
116
- var reified = __importStar(require("../../../../_framework/reified"));
117
- var reified_1 = require("../../../../_framework/reified");
118
- var util_1 = require("../../../../_framework/util");
119
- var structs_1 = require("../../0x1/type-name/structs");
120
- var index_1 = require("../index");
121
- var bcs_1 = require("@mysten/sui/bcs");
122
- var utils_1 = require("@mysten/sui/utils");
123
- /* ============================== SendFeeEvent =============================== */
124
- function isSendFeeEvent(type) {
125
- type = (0, util_1.compressSuiType)(type);
126
- return type === "".concat(index_1.PKG_V1, "::tds_fee_pool_entry::SendFeeEvent");
127
- }
128
- var SendFeeEvent = /** @class */ (function () {
129
- function SendFeeEvent(typeArgs, fields) {
130
- this.__StructClass = true;
131
- this.$typeName = SendFeeEvent.$typeName;
132
- this.$isPhantom = SendFeeEvent.$isPhantom;
133
- this.$fullTypeName = util_1.composeSuiType.apply(void 0, __spreadArray([SendFeeEvent.$typeName], __read(typeArgs), false));
134
- this.$typeArgs = typeArgs;
135
- this.signer = fields.signer;
136
- this.token = fields.token;
137
- this.amount = fields.amount;
138
- this.recipient = fields.recipient;
139
- }
140
- SendFeeEvent.reified = function () {
141
- var _this = this;
142
- return {
143
- typeName: SendFeeEvent.$typeName,
144
- fullTypeName: util_1.composeSuiType.apply(void 0, __spreadArray([SendFeeEvent.$typeName], [], false)),
145
- typeArgs: [],
146
- isPhantom: SendFeeEvent.$isPhantom,
147
- reifiedTypeArgs: [],
148
- fromFields: function (fields) { return SendFeeEvent.fromFields(fields); },
149
- fromFieldsWithTypes: function (item) { return SendFeeEvent.fromFieldsWithTypes(item); },
150
- fromBcs: function (data) { return SendFeeEvent.fromBcs(data); },
151
- bcs: SendFeeEvent.bcs,
152
- fromJSONField: function (field) { return SendFeeEvent.fromJSONField(field); },
153
- fromJSON: function (json) { return SendFeeEvent.fromJSON(json); },
154
- fromSuiParsedData: function (content) { return SendFeeEvent.fromSuiParsedData(content); },
155
- fromSuiObjectData: function (content) { return SendFeeEvent.fromSuiObjectData(content); },
156
- fetch: function (client, id) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
157
- return [2 /*return*/, SendFeeEvent.fetch(client, id)];
158
- }); }); },
159
- new: function (fields) {
160
- return new SendFeeEvent([], fields);
161
- },
162
- kind: "StructClassReified",
163
- };
164
- };
165
- Object.defineProperty(SendFeeEvent, "r", {
166
- get: function () {
167
- return SendFeeEvent.reified();
168
- },
169
- enumerable: false,
170
- configurable: true
171
- });
172
- SendFeeEvent.phantom = function () {
173
- return (0, reified_1.phantom)(SendFeeEvent.reified());
174
- };
175
- Object.defineProperty(SendFeeEvent, "p", {
176
- get: function () {
177
- return SendFeeEvent.phantom();
178
- },
179
- enumerable: false,
180
- configurable: true
181
- });
182
- Object.defineProperty(SendFeeEvent, "bcs", {
183
- get: function () {
184
- return bcs_1.bcs.struct("SendFeeEvent", {
185
- signer: bcs_1.bcs.bytes(32).transform({ input: function (val) { return (0, utils_1.fromHEX)(val); }, output: function (val) { return (0, utils_1.toHEX)(val); } }),
186
- token: structs_1.TypeName.bcs,
187
- amount: bcs_1.bcs.u64(),
188
- recipient: bcs_1.bcs.bytes(32).transform({ input: function (val) { return (0, utils_1.fromHEX)(val); }, output: function (val) { return (0, utils_1.toHEX)(val); } }),
189
- });
190
- },
191
- enumerable: false,
192
- configurable: true
193
- });
194
- SendFeeEvent.fromFields = function (fields) {
195
- return SendFeeEvent.reified().new({
196
- signer: (0, reified_1.decodeFromFields)("address", fields.signer),
197
- token: (0, reified_1.decodeFromFields)(structs_1.TypeName.reified(), fields.token),
198
- amount: (0, reified_1.decodeFromFields)("u64", fields.amount),
199
- recipient: (0, reified_1.decodeFromFields)("address", fields.recipient),
200
- });
201
- };
202
- SendFeeEvent.fromFieldsWithTypes = function (item) {
203
- if (!isSendFeeEvent(item.type)) {
204
- throw new Error("not a SendFeeEvent type");
205
- }
206
- return SendFeeEvent.reified().new({
207
- signer: (0, reified_1.decodeFromFieldsWithTypes)("address", item.fields.signer),
208
- token: (0, reified_1.decodeFromFieldsWithTypes)(structs_1.TypeName.reified(), item.fields.token),
209
- amount: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.amount),
210
- recipient: (0, reified_1.decodeFromFieldsWithTypes)("address", item.fields.recipient),
211
- });
212
- };
213
- SendFeeEvent.fromBcs = function (data) {
214
- return SendFeeEvent.fromFields(SendFeeEvent.bcs.parse(data));
215
- };
216
- SendFeeEvent.prototype.toJSONField = function () {
217
- return {
218
- signer: this.signer,
219
- token: this.token.toJSONField(),
220
- amount: this.amount.toString(),
221
- recipient: this.recipient,
222
- };
223
- };
224
- SendFeeEvent.prototype.toJSON = function () {
225
- return __assign({ $typeName: this.$typeName, $typeArgs: this.$typeArgs }, this.toJSONField());
226
- };
227
- SendFeeEvent.fromJSONField = function (field) {
228
- return SendFeeEvent.reified().new({
229
- signer: (0, reified_1.decodeFromJSONField)("address", field.signer),
230
- token: (0, reified_1.decodeFromJSONField)(structs_1.TypeName.reified(), field.token),
231
- amount: (0, reified_1.decodeFromJSONField)("u64", field.amount),
232
- recipient: (0, reified_1.decodeFromJSONField)("address", field.recipient),
233
- });
234
- };
235
- SendFeeEvent.fromJSON = function (json) {
236
- if (json.$typeName !== SendFeeEvent.$typeName) {
237
- throw new Error("not a WithTwoGenerics json object");
238
- }
239
- return SendFeeEvent.fromJSONField(json);
240
- };
241
- SendFeeEvent.fromSuiParsedData = function (content) {
242
- if (content.dataType !== "moveObject") {
243
- throw new Error("not an object");
244
- }
245
- if (!isSendFeeEvent(content.type)) {
246
- throw new Error("object at ".concat(content.fields.id, " is not a SendFeeEvent object"));
247
- }
248
- return SendFeeEvent.fromFieldsWithTypes(content);
249
- };
250
- SendFeeEvent.fromSuiObjectData = function (data) {
251
- if (data.bcs) {
252
- if (data.bcs.dataType !== "moveObject" || !isSendFeeEvent(data.bcs.type)) {
253
- throw new Error("object at is not a SendFeeEvent object");
254
- }
255
- return SendFeeEvent.fromBcs((0, utils_1.fromB64)(data.bcs.bcsBytes));
256
- }
257
- if (data.content) {
258
- return SendFeeEvent.fromSuiParsedData(data.content);
259
- }
260
- throw new Error("Both `bcs` and `content` fields are missing from the data. Include `showBcs` or `showContent` in the request.");
261
- };
262
- SendFeeEvent.fetch = function (client, id) {
263
- return __awaiter(this, void 0, void 0, function () {
264
- var res;
265
- var _a, _b;
266
- return __generator(this, function (_c) {
267
- switch (_c.label) {
268
- case 0: return [4 /*yield*/, client.getObject({ id: id, options: { showBcs: true } })];
269
- case 1:
270
- res = _c.sent();
271
- if (res.error) {
272
- throw new Error("error fetching SendFeeEvent object at id ".concat(id, ": ").concat(res.error.code));
273
- }
274
- if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.bcs) === null || _b === void 0 ? void 0 : _b.dataType) !== "moveObject" || !isSendFeeEvent(res.data.bcs.type)) {
275
- throw new Error("object at id ".concat(id, " is not a SendFeeEvent object"));
276
- }
277
- return [2 /*return*/, SendFeeEvent.fromSuiObjectData(res.data)];
278
- }
279
- });
280
- });
281
- };
282
- SendFeeEvent.$typeName = "".concat(index_1.PKG_V1, "::tds_fee_pool_entry::SendFeeEvent");
283
- SendFeeEvent.$numTypeParams = 0;
284
- SendFeeEvent.$isPhantom = [];
285
- return SendFeeEvent;
286
- }());
287
- exports.SendFeeEvent = SendFeeEvent;
288
- /* ============================== AddFeePoolAuthorizedUserEvent =============================== */
289
- function isAddFeePoolAuthorizedUserEvent(type) {
290
- type = (0, util_1.compressSuiType)(type);
291
- return type === "".concat(index_1.PKG_V1, "::tds_fee_pool_entry::AddFeePoolAuthorizedUserEvent");
292
- }
293
- var AddFeePoolAuthorizedUserEvent = /** @class */ (function () {
294
- function AddFeePoolAuthorizedUserEvent(typeArgs, fields) {
295
- this.__StructClass = true;
296
- this.$typeName = AddFeePoolAuthorizedUserEvent.$typeName;
297
- this.$isPhantom = AddFeePoolAuthorizedUserEvent.$isPhantom;
298
- this.$fullTypeName = util_1.composeSuiType.apply(void 0, __spreadArray([AddFeePoolAuthorizedUserEvent.$typeName], __read(typeArgs), false));
299
- this.$typeArgs = typeArgs;
300
- this.signer = fields.signer;
301
- this.users = fields.users;
302
- }
303
- AddFeePoolAuthorizedUserEvent.reified = function () {
304
- var _this = this;
305
- return {
306
- typeName: AddFeePoolAuthorizedUserEvent.$typeName,
307
- fullTypeName: util_1.composeSuiType.apply(void 0, __spreadArray([AddFeePoolAuthorizedUserEvent.$typeName], [], false)),
308
- typeArgs: [],
309
- isPhantom: AddFeePoolAuthorizedUserEvent.$isPhantom,
310
- reifiedTypeArgs: [],
311
- fromFields: function (fields) { return AddFeePoolAuthorizedUserEvent.fromFields(fields); },
312
- fromFieldsWithTypes: function (item) { return AddFeePoolAuthorizedUserEvent.fromFieldsWithTypes(item); },
313
- fromBcs: function (data) { return AddFeePoolAuthorizedUserEvent.fromBcs(data); },
314
- bcs: AddFeePoolAuthorizedUserEvent.bcs,
315
- fromJSONField: function (field) { return AddFeePoolAuthorizedUserEvent.fromJSONField(field); },
316
- fromJSON: function (json) { return AddFeePoolAuthorizedUserEvent.fromJSON(json); },
317
- fromSuiParsedData: function (content) { return AddFeePoolAuthorizedUserEvent.fromSuiParsedData(content); },
318
- fromSuiObjectData: function (content) { return AddFeePoolAuthorizedUserEvent.fromSuiObjectData(content); },
319
- fetch: function (client, id) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
320
- return [2 /*return*/, AddFeePoolAuthorizedUserEvent.fetch(client, id)];
321
- }); }); },
322
- new: function (fields) {
323
- return new AddFeePoolAuthorizedUserEvent([], fields);
324
- },
325
- kind: "StructClassReified",
326
- };
327
- };
328
- Object.defineProperty(AddFeePoolAuthorizedUserEvent, "r", {
329
- get: function () {
330
- return AddFeePoolAuthorizedUserEvent.reified();
331
- },
332
- enumerable: false,
333
- configurable: true
334
- });
335
- AddFeePoolAuthorizedUserEvent.phantom = function () {
336
- return (0, reified_1.phantom)(AddFeePoolAuthorizedUserEvent.reified());
337
- };
338
- Object.defineProperty(AddFeePoolAuthorizedUserEvent, "p", {
339
- get: function () {
340
- return AddFeePoolAuthorizedUserEvent.phantom();
341
- },
342
- enumerable: false,
343
- configurable: true
344
- });
345
- Object.defineProperty(AddFeePoolAuthorizedUserEvent, "bcs", {
346
- get: function () {
347
- return bcs_1.bcs.struct("AddFeePoolAuthorizedUserEvent", {
348
- signer: bcs_1.bcs.bytes(32).transform({ input: function (val) { return (0, utils_1.fromHEX)(val); }, output: function (val) { return (0, utils_1.toHEX)(val); } }),
349
- users: bcs_1.bcs.vector(bcs_1.bcs.bytes(32).transform({ input: function (val) { return (0, utils_1.fromHEX)(val); }, output: function (val) { return (0, utils_1.toHEX)(val); } })),
350
- });
351
- },
352
- enumerable: false,
353
- configurable: true
354
- });
355
- AddFeePoolAuthorizedUserEvent.fromFields = function (fields) {
356
- return AddFeePoolAuthorizedUserEvent.reified().new({
357
- signer: (0, reified_1.decodeFromFields)("address", fields.signer),
358
- users: (0, reified_1.decodeFromFields)(reified.vector("address"), fields.users),
359
- });
360
- };
361
- AddFeePoolAuthorizedUserEvent.fromFieldsWithTypes = function (item) {
362
- if (!isAddFeePoolAuthorizedUserEvent(item.type)) {
363
- throw new Error("not a AddFeePoolAuthorizedUserEvent type");
364
- }
365
- return AddFeePoolAuthorizedUserEvent.reified().new({
366
- signer: (0, reified_1.decodeFromFieldsWithTypes)("address", item.fields.signer),
367
- users: (0, reified_1.decodeFromFieldsWithTypes)(reified.vector("address"), item.fields.users),
368
- });
369
- };
370
- AddFeePoolAuthorizedUserEvent.fromBcs = function (data) {
371
- return AddFeePoolAuthorizedUserEvent.fromFields(AddFeePoolAuthorizedUserEvent.bcs.parse(data));
372
- };
373
- AddFeePoolAuthorizedUserEvent.prototype.toJSONField = function () {
374
- return {
375
- signer: this.signer,
376
- users: (0, reified_1.fieldToJSON)("vector<address>", this.users),
377
- };
378
- };
379
- AddFeePoolAuthorizedUserEvent.prototype.toJSON = function () {
380
- return __assign({ $typeName: this.$typeName, $typeArgs: this.$typeArgs }, this.toJSONField());
381
- };
382
- AddFeePoolAuthorizedUserEvent.fromJSONField = function (field) {
383
- return AddFeePoolAuthorizedUserEvent.reified().new({
384
- signer: (0, reified_1.decodeFromJSONField)("address", field.signer),
385
- users: (0, reified_1.decodeFromJSONField)(reified.vector("address"), field.users),
386
- });
387
- };
388
- AddFeePoolAuthorizedUserEvent.fromJSON = function (json) {
389
- if (json.$typeName !== AddFeePoolAuthorizedUserEvent.$typeName) {
390
- throw new Error("not a WithTwoGenerics json object");
391
- }
392
- return AddFeePoolAuthorizedUserEvent.fromJSONField(json);
393
- };
394
- AddFeePoolAuthorizedUserEvent.fromSuiParsedData = function (content) {
395
- if (content.dataType !== "moveObject") {
396
- throw new Error("not an object");
397
- }
398
- if (!isAddFeePoolAuthorizedUserEvent(content.type)) {
399
- throw new Error("object at ".concat(content.fields.id, " is not a AddFeePoolAuthorizedUserEvent object"));
400
- }
401
- return AddFeePoolAuthorizedUserEvent.fromFieldsWithTypes(content);
402
- };
403
- AddFeePoolAuthorizedUserEvent.fromSuiObjectData = function (data) {
404
- if (data.bcs) {
405
- if (data.bcs.dataType !== "moveObject" || !isAddFeePoolAuthorizedUserEvent(data.bcs.type)) {
406
- throw new Error("object at is not a AddFeePoolAuthorizedUserEvent object");
407
- }
408
- return AddFeePoolAuthorizedUserEvent.fromBcs((0, utils_1.fromB64)(data.bcs.bcsBytes));
409
- }
410
- if (data.content) {
411
- return AddFeePoolAuthorizedUserEvent.fromSuiParsedData(data.content);
412
- }
413
- throw new Error("Both `bcs` and `content` fields are missing from the data. Include `showBcs` or `showContent` in the request.");
414
- };
415
- AddFeePoolAuthorizedUserEvent.fetch = function (client, id) {
416
- return __awaiter(this, void 0, void 0, function () {
417
- var res;
418
- var _a, _b;
419
- return __generator(this, function (_c) {
420
- switch (_c.label) {
421
- case 0: return [4 /*yield*/, client.getObject({ id: id, options: { showBcs: true } })];
422
- case 1:
423
- res = _c.sent();
424
- if (res.error) {
425
- throw new Error("error fetching AddFeePoolAuthorizedUserEvent object at id ".concat(id, ": ").concat(res.error.code));
426
- }
427
- if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.bcs) === null || _b === void 0 ? void 0 : _b.dataType) !== "moveObject" || !isAddFeePoolAuthorizedUserEvent(res.data.bcs.type)) {
428
- throw new Error("object at id ".concat(id, " is not a AddFeePoolAuthorizedUserEvent object"));
429
- }
430
- return [2 /*return*/, AddFeePoolAuthorizedUserEvent.fromSuiObjectData(res.data)];
431
- }
432
- });
433
- });
434
- };
435
- AddFeePoolAuthorizedUserEvent.$typeName = "".concat(index_1.PKG_V1, "::tds_fee_pool_entry::AddFeePoolAuthorizedUserEvent");
436
- AddFeePoolAuthorizedUserEvent.$numTypeParams = 0;
437
- AddFeePoolAuthorizedUserEvent.$isPhantom = [];
438
- return AddFeePoolAuthorizedUserEvent;
439
- }());
440
- exports.AddFeePoolAuthorizedUserEvent = AddFeePoolAuthorizedUserEvent;
441
- /* ============================== AddSharedFeePoolAuthorizedUserEvent =============================== */
442
- function isAddSharedFeePoolAuthorizedUserEvent(type) {
443
- type = (0, util_1.compressSuiType)(type);
444
- return type === "".concat(index_1.PKG_V1, "::tds_fee_pool_entry::AddSharedFeePoolAuthorizedUserEvent");
445
- }
446
- var AddSharedFeePoolAuthorizedUserEvent = /** @class */ (function () {
447
- function AddSharedFeePoolAuthorizedUserEvent(typeArgs, fields) {
448
- this.__StructClass = true;
449
- this.$typeName = AddSharedFeePoolAuthorizedUserEvent.$typeName;
450
- this.$isPhantom = AddSharedFeePoolAuthorizedUserEvent.$isPhantom;
451
- this.$fullTypeName = util_1.composeSuiType.apply(void 0, __spreadArray([AddSharedFeePoolAuthorizedUserEvent.$typeName], __read(typeArgs), false));
452
- this.$typeArgs = typeArgs;
453
- this.signer = fields.signer;
454
- this.users = fields.users;
455
- }
456
- AddSharedFeePoolAuthorizedUserEvent.reified = function () {
457
- var _this = this;
458
- return {
459
- typeName: AddSharedFeePoolAuthorizedUserEvent.$typeName,
460
- fullTypeName: util_1.composeSuiType.apply(void 0, __spreadArray([AddSharedFeePoolAuthorizedUserEvent.$typeName], [], false)),
461
- typeArgs: [],
462
- isPhantom: AddSharedFeePoolAuthorizedUserEvent.$isPhantom,
463
- reifiedTypeArgs: [],
464
- fromFields: function (fields) { return AddSharedFeePoolAuthorizedUserEvent.fromFields(fields); },
465
- fromFieldsWithTypes: function (item) { return AddSharedFeePoolAuthorizedUserEvent.fromFieldsWithTypes(item); },
466
- fromBcs: function (data) { return AddSharedFeePoolAuthorizedUserEvent.fromBcs(data); },
467
- bcs: AddSharedFeePoolAuthorizedUserEvent.bcs,
468
- fromJSONField: function (field) { return AddSharedFeePoolAuthorizedUserEvent.fromJSONField(field); },
469
- fromJSON: function (json) { return AddSharedFeePoolAuthorizedUserEvent.fromJSON(json); },
470
- fromSuiParsedData: function (content) { return AddSharedFeePoolAuthorizedUserEvent.fromSuiParsedData(content); },
471
- fromSuiObjectData: function (content) { return AddSharedFeePoolAuthorizedUserEvent.fromSuiObjectData(content); },
472
- fetch: function (client, id) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
473
- return [2 /*return*/, AddSharedFeePoolAuthorizedUserEvent.fetch(client, id)];
474
- }); }); },
475
- new: function (fields) {
476
- return new AddSharedFeePoolAuthorizedUserEvent([], fields);
477
- },
478
- kind: "StructClassReified",
479
- };
480
- };
481
- Object.defineProperty(AddSharedFeePoolAuthorizedUserEvent, "r", {
482
- get: function () {
483
- return AddSharedFeePoolAuthorizedUserEvent.reified();
484
- },
485
- enumerable: false,
486
- configurable: true
487
- });
488
- AddSharedFeePoolAuthorizedUserEvent.phantom = function () {
489
- return (0, reified_1.phantom)(AddSharedFeePoolAuthorizedUserEvent.reified());
490
- };
491
- Object.defineProperty(AddSharedFeePoolAuthorizedUserEvent, "p", {
492
- get: function () {
493
- return AddSharedFeePoolAuthorizedUserEvent.phantom();
494
- },
495
- enumerable: false,
496
- configurable: true
497
- });
498
- Object.defineProperty(AddSharedFeePoolAuthorizedUserEvent, "bcs", {
499
- get: function () {
500
- return bcs_1.bcs.struct("AddSharedFeePoolAuthorizedUserEvent", {
501
- signer: bcs_1.bcs.bytes(32).transform({ input: function (val) { return (0, utils_1.fromHEX)(val); }, output: function (val) { return (0, utils_1.toHEX)(val); } }),
502
- users: bcs_1.bcs.vector(bcs_1.bcs.bytes(32).transform({ input: function (val) { return (0, utils_1.fromHEX)(val); }, output: function (val) { return (0, utils_1.toHEX)(val); } })),
503
- });
504
- },
505
- enumerable: false,
506
- configurable: true
507
- });
508
- AddSharedFeePoolAuthorizedUserEvent.fromFields = function (fields) {
509
- return AddSharedFeePoolAuthorizedUserEvent.reified().new({
510
- signer: (0, reified_1.decodeFromFields)("address", fields.signer),
511
- users: (0, reified_1.decodeFromFields)(reified.vector("address"), fields.users),
512
- });
513
- };
514
- AddSharedFeePoolAuthorizedUserEvent.fromFieldsWithTypes = function (item) {
515
- if (!isAddSharedFeePoolAuthorizedUserEvent(item.type)) {
516
- throw new Error("not a AddSharedFeePoolAuthorizedUserEvent type");
517
- }
518
- return AddSharedFeePoolAuthorizedUserEvent.reified().new({
519
- signer: (0, reified_1.decodeFromFieldsWithTypes)("address", item.fields.signer),
520
- users: (0, reified_1.decodeFromFieldsWithTypes)(reified.vector("address"), item.fields.users),
521
- });
522
- };
523
- AddSharedFeePoolAuthorizedUserEvent.fromBcs = function (data) {
524
- return AddSharedFeePoolAuthorizedUserEvent.fromFields(AddSharedFeePoolAuthorizedUserEvent.bcs.parse(data));
525
- };
526
- AddSharedFeePoolAuthorizedUserEvent.prototype.toJSONField = function () {
527
- return {
528
- signer: this.signer,
529
- users: (0, reified_1.fieldToJSON)("vector<address>", this.users),
530
- };
531
- };
532
- AddSharedFeePoolAuthorizedUserEvent.prototype.toJSON = function () {
533
- return __assign({ $typeName: this.$typeName, $typeArgs: this.$typeArgs }, this.toJSONField());
534
- };
535
- AddSharedFeePoolAuthorizedUserEvent.fromJSONField = function (field) {
536
- return AddSharedFeePoolAuthorizedUserEvent.reified().new({
537
- signer: (0, reified_1.decodeFromJSONField)("address", field.signer),
538
- users: (0, reified_1.decodeFromJSONField)(reified.vector("address"), field.users),
539
- });
540
- };
541
- AddSharedFeePoolAuthorizedUserEvent.fromJSON = function (json) {
542
- if (json.$typeName !== AddSharedFeePoolAuthorizedUserEvent.$typeName) {
543
- throw new Error("not a WithTwoGenerics json object");
544
- }
545
- return AddSharedFeePoolAuthorizedUserEvent.fromJSONField(json);
546
- };
547
- AddSharedFeePoolAuthorizedUserEvent.fromSuiParsedData = function (content) {
548
- if (content.dataType !== "moveObject") {
549
- throw new Error("not an object");
550
- }
551
- if (!isAddSharedFeePoolAuthorizedUserEvent(content.type)) {
552
- throw new Error("object at ".concat(content.fields.id, " is not a AddSharedFeePoolAuthorizedUserEvent object"));
553
- }
554
- return AddSharedFeePoolAuthorizedUserEvent.fromFieldsWithTypes(content);
555
- };
556
- AddSharedFeePoolAuthorizedUserEvent.fromSuiObjectData = function (data) {
557
- if (data.bcs) {
558
- if (data.bcs.dataType !== "moveObject" || !isAddSharedFeePoolAuthorizedUserEvent(data.bcs.type)) {
559
- throw new Error("object at is not a AddSharedFeePoolAuthorizedUserEvent object");
560
- }
561
- return AddSharedFeePoolAuthorizedUserEvent.fromBcs((0, utils_1.fromB64)(data.bcs.bcsBytes));
562
- }
563
- if (data.content) {
564
- return AddSharedFeePoolAuthorizedUserEvent.fromSuiParsedData(data.content);
565
- }
566
- throw new Error("Both `bcs` and `content` fields are missing from the data. Include `showBcs` or `showContent` in the request.");
567
- };
568
- AddSharedFeePoolAuthorizedUserEvent.fetch = function (client, id) {
569
- return __awaiter(this, void 0, void 0, function () {
570
- var res;
571
- var _a, _b;
572
- return __generator(this, function (_c) {
573
- switch (_c.label) {
574
- case 0: return [4 /*yield*/, client.getObject({ id: id, options: { showBcs: true } })];
575
- case 1:
576
- res = _c.sent();
577
- if (res.error) {
578
- throw new Error("error fetching AddSharedFeePoolAuthorizedUserEvent object at id ".concat(id, ": ").concat(res.error.code));
579
- }
580
- if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.bcs) === null || _b === void 0 ? void 0 : _b.dataType) !== "moveObject" || !isAddSharedFeePoolAuthorizedUserEvent(res.data.bcs.type)) {
581
- throw new Error("object at id ".concat(id, " is not a AddSharedFeePoolAuthorizedUserEvent object"));
582
- }
583
- return [2 /*return*/, AddSharedFeePoolAuthorizedUserEvent.fromSuiObjectData(res.data)];
584
- }
585
- });
586
- });
587
- };
588
- AddSharedFeePoolAuthorizedUserEvent.$typeName = "".concat(index_1.PKG_V1, "::tds_fee_pool_entry::AddSharedFeePoolAuthorizedUserEvent");
589
- AddSharedFeePoolAuthorizedUserEvent.$numTypeParams = 0;
590
- AddSharedFeePoolAuthorizedUserEvent.$isPhantom = [];
591
- return AddSharedFeePoolAuthorizedUserEvent;
592
- }());
593
- exports.AddSharedFeePoolAuthorizedUserEvent = AddSharedFeePoolAuthorizedUserEvent;
594
- /* ============================== RemoveFeePoolAuthorizedUserEvent =============================== */
595
- function isRemoveFeePoolAuthorizedUserEvent(type) {
596
- type = (0, util_1.compressSuiType)(type);
597
- return type === "".concat(index_1.PKG_V1, "::tds_fee_pool_entry::RemoveFeePoolAuthorizedUserEvent");
598
- }
599
- var RemoveFeePoolAuthorizedUserEvent = /** @class */ (function () {
600
- function RemoveFeePoolAuthorizedUserEvent(typeArgs, fields) {
601
- this.__StructClass = true;
602
- this.$typeName = RemoveFeePoolAuthorizedUserEvent.$typeName;
603
- this.$isPhantom = RemoveFeePoolAuthorizedUserEvent.$isPhantom;
604
- this.$fullTypeName = util_1.composeSuiType.apply(void 0, __spreadArray([RemoveFeePoolAuthorizedUserEvent.$typeName], __read(typeArgs), false));
605
- this.$typeArgs = typeArgs;
606
- this.signer = fields.signer;
607
- this.users = fields.users;
608
- }
609
- RemoveFeePoolAuthorizedUserEvent.reified = function () {
610
- var _this = this;
611
- return {
612
- typeName: RemoveFeePoolAuthorizedUserEvent.$typeName,
613
- fullTypeName: util_1.composeSuiType.apply(void 0, __spreadArray([RemoveFeePoolAuthorizedUserEvent.$typeName], [], false)),
614
- typeArgs: [],
615
- isPhantom: RemoveFeePoolAuthorizedUserEvent.$isPhantom,
616
- reifiedTypeArgs: [],
617
- fromFields: function (fields) { return RemoveFeePoolAuthorizedUserEvent.fromFields(fields); },
618
- fromFieldsWithTypes: function (item) { return RemoveFeePoolAuthorizedUserEvent.fromFieldsWithTypes(item); },
619
- fromBcs: function (data) { return RemoveFeePoolAuthorizedUserEvent.fromBcs(data); },
620
- bcs: RemoveFeePoolAuthorizedUserEvent.bcs,
621
- fromJSONField: function (field) { return RemoveFeePoolAuthorizedUserEvent.fromJSONField(field); },
622
- fromJSON: function (json) { return RemoveFeePoolAuthorizedUserEvent.fromJSON(json); },
623
- fromSuiParsedData: function (content) { return RemoveFeePoolAuthorizedUserEvent.fromSuiParsedData(content); },
624
- fromSuiObjectData: function (content) { return RemoveFeePoolAuthorizedUserEvent.fromSuiObjectData(content); },
625
- fetch: function (client, id) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
626
- return [2 /*return*/, RemoveFeePoolAuthorizedUserEvent.fetch(client, id)];
627
- }); }); },
628
- new: function (fields) {
629
- return new RemoveFeePoolAuthorizedUserEvent([], fields);
630
- },
631
- kind: "StructClassReified",
632
- };
633
- };
634
- Object.defineProperty(RemoveFeePoolAuthorizedUserEvent, "r", {
635
- get: function () {
636
- return RemoveFeePoolAuthorizedUserEvent.reified();
637
- },
638
- enumerable: false,
639
- configurable: true
640
- });
641
- RemoveFeePoolAuthorizedUserEvent.phantom = function () {
642
- return (0, reified_1.phantom)(RemoveFeePoolAuthorizedUserEvent.reified());
643
- };
644
- Object.defineProperty(RemoveFeePoolAuthorizedUserEvent, "p", {
645
- get: function () {
646
- return RemoveFeePoolAuthorizedUserEvent.phantom();
647
- },
648
- enumerable: false,
649
- configurable: true
650
- });
651
- Object.defineProperty(RemoveFeePoolAuthorizedUserEvent, "bcs", {
652
- get: function () {
653
- return bcs_1.bcs.struct("RemoveFeePoolAuthorizedUserEvent", {
654
- signer: bcs_1.bcs.bytes(32).transform({ input: function (val) { return (0, utils_1.fromHEX)(val); }, output: function (val) { return (0, utils_1.toHEX)(val); } }),
655
- users: bcs_1.bcs.vector(bcs_1.bcs.bytes(32).transform({ input: function (val) { return (0, utils_1.fromHEX)(val); }, output: function (val) { return (0, utils_1.toHEX)(val); } })),
656
- });
657
- },
658
- enumerable: false,
659
- configurable: true
660
- });
661
- RemoveFeePoolAuthorizedUserEvent.fromFields = function (fields) {
662
- return RemoveFeePoolAuthorizedUserEvent.reified().new({
663
- signer: (0, reified_1.decodeFromFields)("address", fields.signer),
664
- users: (0, reified_1.decodeFromFields)(reified.vector("address"), fields.users),
665
- });
666
- };
667
- RemoveFeePoolAuthorizedUserEvent.fromFieldsWithTypes = function (item) {
668
- if (!isRemoveFeePoolAuthorizedUserEvent(item.type)) {
669
- throw new Error("not a RemoveFeePoolAuthorizedUserEvent type");
670
- }
671
- return RemoveFeePoolAuthorizedUserEvent.reified().new({
672
- signer: (0, reified_1.decodeFromFieldsWithTypes)("address", item.fields.signer),
673
- users: (0, reified_1.decodeFromFieldsWithTypes)(reified.vector("address"), item.fields.users),
674
- });
675
- };
676
- RemoveFeePoolAuthorizedUserEvent.fromBcs = function (data) {
677
- return RemoveFeePoolAuthorizedUserEvent.fromFields(RemoveFeePoolAuthorizedUserEvent.bcs.parse(data));
678
- };
679
- RemoveFeePoolAuthorizedUserEvent.prototype.toJSONField = function () {
680
- return {
681
- signer: this.signer,
682
- users: (0, reified_1.fieldToJSON)("vector<address>", this.users),
683
- };
684
- };
685
- RemoveFeePoolAuthorizedUserEvent.prototype.toJSON = function () {
686
- return __assign({ $typeName: this.$typeName, $typeArgs: this.$typeArgs }, this.toJSONField());
687
- };
688
- RemoveFeePoolAuthorizedUserEvent.fromJSONField = function (field) {
689
- return RemoveFeePoolAuthorizedUserEvent.reified().new({
690
- signer: (0, reified_1.decodeFromJSONField)("address", field.signer),
691
- users: (0, reified_1.decodeFromJSONField)(reified.vector("address"), field.users),
692
- });
693
- };
694
- RemoveFeePoolAuthorizedUserEvent.fromJSON = function (json) {
695
- if (json.$typeName !== RemoveFeePoolAuthorizedUserEvent.$typeName) {
696
- throw new Error("not a WithTwoGenerics json object");
697
- }
698
- return RemoveFeePoolAuthorizedUserEvent.fromJSONField(json);
699
- };
700
- RemoveFeePoolAuthorizedUserEvent.fromSuiParsedData = function (content) {
701
- if (content.dataType !== "moveObject") {
702
- throw new Error("not an object");
703
- }
704
- if (!isRemoveFeePoolAuthorizedUserEvent(content.type)) {
705
- throw new Error("object at ".concat(content.fields.id, " is not a RemoveFeePoolAuthorizedUserEvent object"));
706
- }
707
- return RemoveFeePoolAuthorizedUserEvent.fromFieldsWithTypes(content);
708
- };
709
- RemoveFeePoolAuthorizedUserEvent.fromSuiObjectData = function (data) {
710
- if (data.bcs) {
711
- if (data.bcs.dataType !== "moveObject" || !isRemoveFeePoolAuthorizedUserEvent(data.bcs.type)) {
712
- throw new Error("object at is not a RemoveFeePoolAuthorizedUserEvent object");
713
- }
714
- return RemoveFeePoolAuthorizedUserEvent.fromBcs((0, utils_1.fromB64)(data.bcs.bcsBytes));
715
- }
716
- if (data.content) {
717
- return RemoveFeePoolAuthorizedUserEvent.fromSuiParsedData(data.content);
718
- }
719
- throw new Error("Both `bcs` and `content` fields are missing from the data. Include `showBcs` or `showContent` in the request.");
720
- };
721
- RemoveFeePoolAuthorizedUserEvent.fetch = function (client, id) {
722
- return __awaiter(this, void 0, void 0, function () {
723
- var res;
724
- var _a, _b;
725
- return __generator(this, function (_c) {
726
- switch (_c.label) {
727
- case 0: return [4 /*yield*/, client.getObject({ id: id, options: { showBcs: true } })];
728
- case 1:
729
- res = _c.sent();
730
- if (res.error) {
731
- throw new Error("error fetching RemoveFeePoolAuthorizedUserEvent object at id ".concat(id, ": ").concat(res.error.code));
732
- }
733
- if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.bcs) === null || _b === void 0 ? void 0 : _b.dataType) !== "moveObject" || !isRemoveFeePoolAuthorizedUserEvent(res.data.bcs.type)) {
734
- throw new Error("object at id ".concat(id, " is not a RemoveFeePoolAuthorizedUserEvent object"));
735
- }
736
- return [2 /*return*/, RemoveFeePoolAuthorizedUserEvent.fromSuiObjectData(res.data)];
737
- }
738
- });
739
- });
740
- };
741
- RemoveFeePoolAuthorizedUserEvent.$typeName = "".concat(index_1.PKG_V1, "::tds_fee_pool_entry::RemoveFeePoolAuthorizedUserEvent");
742
- RemoveFeePoolAuthorizedUserEvent.$numTypeParams = 0;
743
- RemoveFeePoolAuthorizedUserEvent.$isPhantom = [];
744
- return RemoveFeePoolAuthorizedUserEvent;
745
- }());
746
- exports.RemoveFeePoolAuthorizedUserEvent = RemoveFeePoolAuthorizedUserEvent;
747
- /* ============================== RemoveSharedFeePoolAuthorizedUserEvent =============================== */
748
- function isRemoveSharedFeePoolAuthorizedUserEvent(type) {
749
- type = (0, util_1.compressSuiType)(type);
750
- return type === "".concat(index_1.PKG_V1, "::tds_fee_pool_entry::RemoveSharedFeePoolAuthorizedUserEvent");
751
- }
752
- var RemoveSharedFeePoolAuthorizedUserEvent = /** @class */ (function () {
753
- function RemoveSharedFeePoolAuthorizedUserEvent(typeArgs, fields) {
754
- this.__StructClass = true;
755
- this.$typeName = RemoveSharedFeePoolAuthorizedUserEvent.$typeName;
756
- this.$isPhantom = RemoveSharedFeePoolAuthorizedUserEvent.$isPhantom;
757
- this.$fullTypeName = util_1.composeSuiType.apply(void 0, __spreadArray([RemoveSharedFeePoolAuthorizedUserEvent.$typeName], __read(typeArgs), false));
758
- this.$typeArgs = typeArgs;
759
- this.signer = fields.signer;
760
- this.users = fields.users;
761
- }
762
- RemoveSharedFeePoolAuthorizedUserEvent.reified = function () {
763
- var _this = this;
764
- return {
765
- typeName: RemoveSharedFeePoolAuthorizedUserEvent.$typeName,
766
- fullTypeName: util_1.composeSuiType.apply(void 0, __spreadArray([RemoveSharedFeePoolAuthorizedUserEvent.$typeName], [], false)),
767
- typeArgs: [],
768
- isPhantom: RemoveSharedFeePoolAuthorizedUserEvent.$isPhantom,
769
- reifiedTypeArgs: [],
770
- fromFields: function (fields) { return RemoveSharedFeePoolAuthorizedUserEvent.fromFields(fields); },
771
- fromFieldsWithTypes: function (item) { return RemoveSharedFeePoolAuthorizedUserEvent.fromFieldsWithTypes(item); },
772
- fromBcs: function (data) { return RemoveSharedFeePoolAuthorizedUserEvent.fromBcs(data); },
773
- bcs: RemoveSharedFeePoolAuthorizedUserEvent.bcs,
774
- fromJSONField: function (field) { return RemoveSharedFeePoolAuthorizedUserEvent.fromJSONField(field); },
775
- fromJSON: function (json) { return RemoveSharedFeePoolAuthorizedUserEvent.fromJSON(json); },
776
- fromSuiParsedData: function (content) { return RemoveSharedFeePoolAuthorizedUserEvent.fromSuiParsedData(content); },
777
- fromSuiObjectData: function (content) { return RemoveSharedFeePoolAuthorizedUserEvent.fromSuiObjectData(content); },
778
- fetch: function (client, id) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
779
- return [2 /*return*/, RemoveSharedFeePoolAuthorizedUserEvent.fetch(client, id)];
780
- }); }); },
781
- new: function (fields) {
782
- return new RemoveSharedFeePoolAuthorizedUserEvent([], fields);
783
- },
784
- kind: "StructClassReified",
785
- };
786
- };
787
- Object.defineProperty(RemoveSharedFeePoolAuthorizedUserEvent, "r", {
788
- get: function () {
789
- return RemoveSharedFeePoolAuthorizedUserEvent.reified();
790
- },
791
- enumerable: false,
792
- configurable: true
793
- });
794
- RemoveSharedFeePoolAuthorizedUserEvent.phantom = function () {
795
- return (0, reified_1.phantom)(RemoveSharedFeePoolAuthorizedUserEvent.reified());
796
- };
797
- Object.defineProperty(RemoveSharedFeePoolAuthorizedUserEvent, "p", {
798
- get: function () {
799
- return RemoveSharedFeePoolAuthorizedUserEvent.phantom();
800
- },
801
- enumerable: false,
802
- configurable: true
803
- });
804
- Object.defineProperty(RemoveSharedFeePoolAuthorizedUserEvent, "bcs", {
805
- get: function () {
806
- return bcs_1.bcs.struct("RemoveSharedFeePoolAuthorizedUserEvent", {
807
- signer: bcs_1.bcs.bytes(32).transform({ input: function (val) { return (0, utils_1.fromHEX)(val); }, output: function (val) { return (0, utils_1.toHEX)(val); } }),
808
- users: bcs_1.bcs.vector(bcs_1.bcs.bytes(32).transform({ input: function (val) { return (0, utils_1.fromHEX)(val); }, output: function (val) { return (0, utils_1.toHEX)(val); } })),
809
- });
810
- },
811
- enumerable: false,
812
- configurable: true
813
- });
814
- RemoveSharedFeePoolAuthorizedUserEvent.fromFields = function (fields) {
815
- return RemoveSharedFeePoolAuthorizedUserEvent.reified().new({
816
- signer: (0, reified_1.decodeFromFields)("address", fields.signer),
817
- users: (0, reified_1.decodeFromFields)(reified.vector("address"), fields.users),
818
- });
819
- };
820
- RemoveSharedFeePoolAuthorizedUserEvent.fromFieldsWithTypes = function (item) {
821
- if (!isRemoveSharedFeePoolAuthorizedUserEvent(item.type)) {
822
- throw new Error("not a RemoveSharedFeePoolAuthorizedUserEvent type");
823
- }
824
- return RemoveSharedFeePoolAuthorizedUserEvent.reified().new({
825
- signer: (0, reified_1.decodeFromFieldsWithTypes)("address", item.fields.signer),
826
- users: (0, reified_1.decodeFromFieldsWithTypes)(reified.vector("address"), item.fields.users),
827
- });
828
- };
829
- RemoveSharedFeePoolAuthorizedUserEvent.fromBcs = function (data) {
830
- return RemoveSharedFeePoolAuthorizedUserEvent.fromFields(RemoveSharedFeePoolAuthorizedUserEvent.bcs.parse(data));
831
- };
832
- RemoveSharedFeePoolAuthorizedUserEvent.prototype.toJSONField = function () {
833
- return {
834
- signer: this.signer,
835
- users: (0, reified_1.fieldToJSON)("vector<address>", this.users),
836
- };
837
- };
838
- RemoveSharedFeePoolAuthorizedUserEvent.prototype.toJSON = function () {
839
- return __assign({ $typeName: this.$typeName, $typeArgs: this.$typeArgs }, this.toJSONField());
840
- };
841
- RemoveSharedFeePoolAuthorizedUserEvent.fromJSONField = function (field) {
842
- return RemoveSharedFeePoolAuthorizedUserEvent.reified().new({
843
- signer: (0, reified_1.decodeFromJSONField)("address", field.signer),
844
- users: (0, reified_1.decodeFromJSONField)(reified.vector("address"), field.users),
845
- });
846
- };
847
- RemoveSharedFeePoolAuthorizedUserEvent.fromJSON = function (json) {
848
- if (json.$typeName !== RemoveSharedFeePoolAuthorizedUserEvent.$typeName) {
849
- throw new Error("not a WithTwoGenerics json object");
850
- }
851
- return RemoveSharedFeePoolAuthorizedUserEvent.fromJSONField(json);
852
- };
853
- RemoveSharedFeePoolAuthorizedUserEvent.fromSuiParsedData = function (content) {
854
- if (content.dataType !== "moveObject") {
855
- throw new Error("not an object");
856
- }
857
- if (!isRemoveSharedFeePoolAuthorizedUserEvent(content.type)) {
858
- throw new Error("object at ".concat(content.fields.id, " is not a RemoveSharedFeePoolAuthorizedUserEvent object"));
859
- }
860
- return RemoveSharedFeePoolAuthorizedUserEvent.fromFieldsWithTypes(content);
861
- };
862
- RemoveSharedFeePoolAuthorizedUserEvent.fromSuiObjectData = function (data) {
863
- if (data.bcs) {
864
- if (data.bcs.dataType !== "moveObject" || !isRemoveSharedFeePoolAuthorizedUserEvent(data.bcs.type)) {
865
- throw new Error("object at is not a RemoveSharedFeePoolAuthorizedUserEvent object");
866
- }
867
- return RemoveSharedFeePoolAuthorizedUserEvent.fromBcs((0, utils_1.fromB64)(data.bcs.bcsBytes));
868
- }
869
- if (data.content) {
870
- return RemoveSharedFeePoolAuthorizedUserEvent.fromSuiParsedData(data.content);
871
- }
872
- throw new Error("Both `bcs` and `content` fields are missing from the data. Include `showBcs` or `showContent` in the request.");
873
- };
874
- RemoveSharedFeePoolAuthorizedUserEvent.fetch = function (client, id) {
875
- return __awaiter(this, void 0, void 0, function () {
876
- var res;
877
- var _a, _b;
878
- return __generator(this, function (_c) {
879
- switch (_c.label) {
880
- case 0: return [4 /*yield*/, client.getObject({ id: id, options: { showBcs: true } })];
881
- case 1:
882
- res = _c.sent();
883
- if (res.error) {
884
- throw new Error("error fetching RemoveSharedFeePoolAuthorizedUserEvent object at id ".concat(id, ": ").concat(res.error.code));
885
- }
886
- if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.bcs) === null || _b === void 0 ? void 0 : _b.dataType) !== "moveObject" || !isRemoveSharedFeePoolAuthorizedUserEvent(res.data.bcs.type)) {
887
- throw new Error("object at id ".concat(id, " is not a RemoveSharedFeePoolAuthorizedUserEvent object"));
888
- }
889
- return [2 /*return*/, RemoveSharedFeePoolAuthorizedUserEvent.fromSuiObjectData(res.data)];
890
- }
891
- });
892
- });
893
- };
894
- RemoveSharedFeePoolAuthorizedUserEvent.$typeName = "".concat(index_1.PKG_V1, "::tds_fee_pool_entry::RemoveSharedFeePoolAuthorizedUserEvent");
895
- RemoveSharedFeePoolAuthorizedUserEvent.$numTypeParams = 0;
896
- RemoveSharedFeePoolAuthorizedUserEvent.$isPhantom = [];
897
- return RemoveSharedFeePoolAuthorizedUserEvent;
898
- }());
899
- exports.RemoveSharedFeePoolAuthorizedUserEvent = RemoveSharedFeePoolAuthorizedUserEvent;
900
- /* ============================== TakeFeeEvent =============================== */
901
- function isTakeFeeEvent(type) {
902
- type = (0, util_1.compressSuiType)(type);
903
- return type === "".concat(index_1.PKG_V1, "::tds_fee_pool_entry::TakeFeeEvent");
904
- }
905
- var TakeFeeEvent = /** @class */ (function () {
906
- function TakeFeeEvent(typeArgs, fields) {
907
- this.__StructClass = true;
908
- this.$typeName = TakeFeeEvent.$typeName;
909
- this.$isPhantom = TakeFeeEvent.$isPhantom;
910
- this.$fullTypeName = util_1.composeSuiType.apply(void 0, __spreadArray([TakeFeeEvent.$typeName], __read(typeArgs), false));
911
- this.$typeArgs = typeArgs;
912
- this.signer = fields.signer;
913
- this.token = fields.token;
914
- this.amount = fields.amount;
915
- }
916
- TakeFeeEvent.reified = function () {
917
- var _this = this;
918
- return {
919
- typeName: TakeFeeEvent.$typeName,
920
- fullTypeName: util_1.composeSuiType.apply(void 0, __spreadArray([TakeFeeEvent.$typeName], [], false)),
921
- typeArgs: [],
922
- isPhantom: TakeFeeEvent.$isPhantom,
923
- reifiedTypeArgs: [],
924
- fromFields: function (fields) { return TakeFeeEvent.fromFields(fields); },
925
- fromFieldsWithTypes: function (item) { return TakeFeeEvent.fromFieldsWithTypes(item); },
926
- fromBcs: function (data) { return TakeFeeEvent.fromBcs(data); },
927
- bcs: TakeFeeEvent.bcs,
928
- fromJSONField: function (field) { return TakeFeeEvent.fromJSONField(field); },
929
- fromJSON: function (json) { return TakeFeeEvent.fromJSON(json); },
930
- fromSuiParsedData: function (content) { return TakeFeeEvent.fromSuiParsedData(content); },
931
- fromSuiObjectData: function (content) { return TakeFeeEvent.fromSuiObjectData(content); },
932
- fetch: function (client, id) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
933
- return [2 /*return*/, TakeFeeEvent.fetch(client, id)];
934
- }); }); },
935
- new: function (fields) {
936
- return new TakeFeeEvent([], fields);
937
- },
938
- kind: "StructClassReified",
939
- };
940
- };
941
- Object.defineProperty(TakeFeeEvent, "r", {
942
- get: function () {
943
- return TakeFeeEvent.reified();
944
- },
945
- enumerable: false,
946
- configurable: true
947
- });
948
- TakeFeeEvent.phantom = function () {
949
- return (0, reified_1.phantom)(TakeFeeEvent.reified());
950
- };
951
- Object.defineProperty(TakeFeeEvent, "p", {
952
- get: function () {
953
- return TakeFeeEvent.phantom();
954
- },
955
- enumerable: false,
956
- configurable: true
957
- });
958
- Object.defineProperty(TakeFeeEvent, "bcs", {
959
- get: function () {
960
- return bcs_1.bcs.struct("TakeFeeEvent", {
961
- signer: bcs_1.bcs.bytes(32).transform({ input: function (val) { return (0, utils_1.fromHEX)(val); }, output: function (val) { return (0, utils_1.toHEX)(val); } }),
962
- token: structs_1.TypeName.bcs,
963
- amount: bcs_1.bcs.u64(),
964
- });
965
- },
966
- enumerable: false,
967
- configurable: true
968
- });
969
- TakeFeeEvent.fromFields = function (fields) {
970
- return TakeFeeEvent.reified().new({
971
- signer: (0, reified_1.decodeFromFields)("address", fields.signer),
972
- token: (0, reified_1.decodeFromFields)(structs_1.TypeName.reified(), fields.token),
973
- amount: (0, reified_1.decodeFromFields)("u64", fields.amount),
974
- });
975
- };
976
- TakeFeeEvent.fromFieldsWithTypes = function (item) {
977
- if (!isTakeFeeEvent(item.type)) {
978
- throw new Error("not a TakeFeeEvent type");
979
- }
980
- return TakeFeeEvent.reified().new({
981
- signer: (0, reified_1.decodeFromFieldsWithTypes)("address", item.fields.signer),
982
- token: (0, reified_1.decodeFromFieldsWithTypes)(structs_1.TypeName.reified(), item.fields.token),
983
- amount: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.amount),
984
- });
985
- };
986
- TakeFeeEvent.fromBcs = function (data) {
987
- return TakeFeeEvent.fromFields(TakeFeeEvent.bcs.parse(data));
988
- };
989
- TakeFeeEvent.prototype.toJSONField = function () {
990
- return {
991
- signer: this.signer,
992
- token: this.token.toJSONField(),
993
- amount: this.amount.toString(),
994
- };
995
- };
996
- TakeFeeEvent.prototype.toJSON = function () {
997
- return __assign({ $typeName: this.$typeName, $typeArgs: this.$typeArgs }, this.toJSONField());
998
- };
999
- TakeFeeEvent.fromJSONField = function (field) {
1000
- return TakeFeeEvent.reified().new({
1001
- signer: (0, reified_1.decodeFromJSONField)("address", field.signer),
1002
- token: (0, reified_1.decodeFromJSONField)(structs_1.TypeName.reified(), field.token),
1003
- amount: (0, reified_1.decodeFromJSONField)("u64", field.amount),
1004
- });
1005
- };
1006
- TakeFeeEvent.fromJSON = function (json) {
1007
- if (json.$typeName !== TakeFeeEvent.$typeName) {
1008
- throw new Error("not a WithTwoGenerics json object");
1009
- }
1010
- return TakeFeeEvent.fromJSONField(json);
1011
- };
1012
- TakeFeeEvent.fromSuiParsedData = function (content) {
1013
- if (content.dataType !== "moveObject") {
1014
- throw new Error("not an object");
1015
- }
1016
- if (!isTakeFeeEvent(content.type)) {
1017
- throw new Error("object at ".concat(content.fields.id, " is not a TakeFeeEvent object"));
1018
- }
1019
- return TakeFeeEvent.fromFieldsWithTypes(content);
1020
- };
1021
- TakeFeeEvent.fromSuiObjectData = function (data) {
1022
- if (data.bcs) {
1023
- if (data.bcs.dataType !== "moveObject" || !isTakeFeeEvent(data.bcs.type)) {
1024
- throw new Error("object at is not a TakeFeeEvent object");
1025
- }
1026
- return TakeFeeEvent.fromBcs((0, utils_1.fromB64)(data.bcs.bcsBytes));
1027
- }
1028
- if (data.content) {
1029
- return TakeFeeEvent.fromSuiParsedData(data.content);
1030
- }
1031
- throw new Error("Both `bcs` and `content` fields are missing from the data. Include `showBcs` or `showContent` in the request.");
1032
- };
1033
- TakeFeeEvent.fetch = function (client, id) {
1034
- return __awaiter(this, void 0, void 0, function () {
1035
- var res;
1036
- var _a, _b;
1037
- return __generator(this, function (_c) {
1038
- switch (_c.label) {
1039
- case 0: return [4 /*yield*/, client.getObject({ id: id, options: { showBcs: true } })];
1040
- case 1:
1041
- res = _c.sent();
1042
- if (res.error) {
1043
- throw new Error("error fetching TakeFeeEvent object at id ".concat(id, ": ").concat(res.error.code));
1044
- }
1045
- if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.bcs) === null || _b === void 0 ? void 0 : _b.dataType) !== "moveObject" || !isTakeFeeEvent(res.data.bcs.type)) {
1046
- throw new Error("object at id ".concat(id, " is not a TakeFeeEvent object"));
1047
- }
1048
- return [2 /*return*/, TakeFeeEvent.fromSuiObjectData(res.data)];
1049
- }
1050
- });
1051
- });
1052
- };
1053
- TakeFeeEvent.$typeName = "".concat(index_1.PKG_V1, "::tds_fee_pool_entry::TakeFeeEvent");
1054
- TakeFeeEvent.$numTypeParams = 0;
1055
- TakeFeeEvent.$isPhantom = [];
1056
- return TakeFeeEvent;
1057
- }());
1058
- exports.TakeFeeEvent = TakeFeeEvent;
1059
- /* ============================== TakeSharedFeeEvent =============================== */
1060
- function isTakeSharedFeeEvent(type) {
1061
- type = (0, util_1.compressSuiType)(type);
1062
- return type === "".concat(index_1.PKG_V1, "::tds_fee_pool_entry::TakeSharedFeeEvent");
1063
- }
1064
- var TakeSharedFeeEvent = /** @class */ (function () {
1065
- function TakeSharedFeeEvent(typeArgs, fields) {
1066
- this.__StructClass = true;
1067
- this.$typeName = TakeSharedFeeEvent.$typeName;
1068
- this.$isPhantom = TakeSharedFeeEvent.$isPhantom;
1069
- this.$fullTypeName = util_1.composeSuiType.apply(void 0, __spreadArray([TakeSharedFeeEvent.$typeName], __read(typeArgs), false));
1070
- this.$typeArgs = typeArgs;
1071
- this.signer = fields.signer;
1072
- this.key = fields.key;
1073
- this.token = fields.token;
1074
- this.amount = fields.amount;
1075
- }
1076
- TakeSharedFeeEvent.reified = function () {
1077
- var _this = this;
1078
- return {
1079
- typeName: TakeSharedFeeEvent.$typeName,
1080
- fullTypeName: util_1.composeSuiType.apply(void 0, __spreadArray([TakeSharedFeeEvent.$typeName], [], false)),
1081
- typeArgs: [],
1082
- isPhantom: TakeSharedFeeEvent.$isPhantom,
1083
- reifiedTypeArgs: [],
1084
- fromFields: function (fields) { return TakeSharedFeeEvent.fromFields(fields); },
1085
- fromFieldsWithTypes: function (item) { return TakeSharedFeeEvent.fromFieldsWithTypes(item); },
1086
- fromBcs: function (data) { return TakeSharedFeeEvent.fromBcs(data); },
1087
- bcs: TakeSharedFeeEvent.bcs,
1088
- fromJSONField: function (field) { return TakeSharedFeeEvent.fromJSONField(field); },
1089
- fromJSON: function (json) { return TakeSharedFeeEvent.fromJSON(json); },
1090
- fromSuiParsedData: function (content) { return TakeSharedFeeEvent.fromSuiParsedData(content); },
1091
- fromSuiObjectData: function (content) { return TakeSharedFeeEvent.fromSuiObjectData(content); },
1092
- fetch: function (client, id) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
1093
- return [2 /*return*/, TakeSharedFeeEvent.fetch(client, id)];
1094
- }); }); },
1095
- new: function (fields) {
1096
- return new TakeSharedFeeEvent([], fields);
1097
- },
1098
- kind: "StructClassReified",
1099
- };
1100
- };
1101
- Object.defineProperty(TakeSharedFeeEvent, "r", {
1102
- get: function () {
1103
- return TakeSharedFeeEvent.reified();
1104
- },
1105
- enumerable: false,
1106
- configurable: true
1107
- });
1108
- TakeSharedFeeEvent.phantom = function () {
1109
- return (0, reified_1.phantom)(TakeSharedFeeEvent.reified());
1110
- };
1111
- Object.defineProperty(TakeSharedFeeEvent, "p", {
1112
- get: function () {
1113
- return TakeSharedFeeEvent.phantom();
1114
- },
1115
- enumerable: false,
1116
- configurable: true
1117
- });
1118
- Object.defineProperty(TakeSharedFeeEvent, "bcs", {
1119
- get: function () {
1120
- return bcs_1.bcs.struct("TakeSharedFeeEvent", {
1121
- signer: bcs_1.bcs.bytes(32).transform({ input: function (val) { return (0, utils_1.fromHEX)(val); }, output: function (val) { return (0, utils_1.toHEX)(val); } }),
1122
- key: bcs_1.bcs.vector(bcs_1.bcs.u8()),
1123
- token: structs_1.TypeName.bcs,
1124
- amount: bcs_1.bcs.u64(),
1125
- });
1126
- },
1127
- enumerable: false,
1128
- configurable: true
1129
- });
1130
- TakeSharedFeeEvent.fromFields = function (fields) {
1131
- return TakeSharedFeeEvent.reified().new({
1132
- signer: (0, reified_1.decodeFromFields)("address", fields.signer),
1133
- key: (0, reified_1.decodeFromFields)(reified.vector("u8"), fields.key),
1134
- token: (0, reified_1.decodeFromFields)(structs_1.TypeName.reified(), fields.token),
1135
- amount: (0, reified_1.decodeFromFields)("u64", fields.amount),
1136
- });
1137
- };
1138
- TakeSharedFeeEvent.fromFieldsWithTypes = function (item) {
1139
- if (!isTakeSharedFeeEvent(item.type)) {
1140
- throw new Error("not a TakeSharedFeeEvent type");
1141
- }
1142
- return TakeSharedFeeEvent.reified().new({
1143
- signer: (0, reified_1.decodeFromFieldsWithTypes)("address", item.fields.signer),
1144
- key: (0, reified_1.decodeFromFieldsWithTypes)(reified.vector("u8"), item.fields.key),
1145
- token: (0, reified_1.decodeFromFieldsWithTypes)(structs_1.TypeName.reified(), item.fields.token),
1146
- amount: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.amount),
1147
- });
1148
- };
1149
- TakeSharedFeeEvent.fromBcs = function (data) {
1150
- return TakeSharedFeeEvent.fromFields(TakeSharedFeeEvent.bcs.parse(data));
1151
- };
1152
- TakeSharedFeeEvent.prototype.toJSONField = function () {
1153
- return {
1154
- signer: this.signer,
1155
- key: (0, reified_1.fieldToJSON)("vector<u8>", this.key),
1156
- token: this.token.toJSONField(),
1157
- amount: this.amount.toString(),
1158
- };
1159
- };
1160
- TakeSharedFeeEvent.prototype.toJSON = function () {
1161
- return __assign({ $typeName: this.$typeName, $typeArgs: this.$typeArgs }, this.toJSONField());
1162
- };
1163
- TakeSharedFeeEvent.fromJSONField = function (field) {
1164
- return TakeSharedFeeEvent.reified().new({
1165
- signer: (0, reified_1.decodeFromJSONField)("address", field.signer),
1166
- key: (0, reified_1.decodeFromJSONField)(reified.vector("u8"), field.key),
1167
- token: (0, reified_1.decodeFromJSONField)(structs_1.TypeName.reified(), field.token),
1168
- amount: (0, reified_1.decodeFromJSONField)("u64", field.amount),
1169
- });
1170
- };
1171
- TakeSharedFeeEvent.fromJSON = function (json) {
1172
- if (json.$typeName !== TakeSharedFeeEvent.$typeName) {
1173
- throw new Error("not a WithTwoGenerics json object");
1174
- }
1175
- return TakeSharedFeeEvent.fromJSONField(json);
1176
- };
1177
- TakeSharedFeeEvent.fromSuiParsedData = function (content) {
1178
- if (content.dataType !== "moveObject") {
1179
- throw new Error("not an object");
1180
- }
1181
- if (!isTakeSharedFeeEvent(content.type)) {
1182
- throw new Error("object at ".concat(content.fields.id, " is not a TakeSharedFeeEvent object"));
1183
- }
1184
- return TakeSharedFeeEvent.fromFieldsWithTypes(content);
1185
- };
1186
- TakeSharedFeeEvent.fromSuiObjectData = function (data) {
1187
- if (data.bcs) {
1188
- if (data.bcs.dataType !== "moveObject" || !isTakeSharedFeeEvent(data.bcs.type)) {
1189
- throw new Error("object at is not a TakeSharedFeeEvent object");
1190
- }
1191
- return TakeSharedFeeEvent.fromBcs((0, utils_1.fromB64)(data.bcs.bcsBytes));
1192
- }
1193
- if (data.content) {
1194
- return TakeSharedFeeEvent.fromSuiParsedData(data.content);
1195
- }
1196
- throw new Error("Both `bcs` and `content` fields are missing from the data. Include `showBcs` or `showContent` in the request.");
1197
- };
1198
- TakeSharedFeeEvent.fetch = function (client, id) {
1199
- return __awaiter(this, void 0, void 0, function () {
1200
- var res;
1201
- var _a, _b;
1202
- return __generator(this, function (_c) {
1203
- switch (_c.label) {
1204
- case 0: return [4 /*yield*/, client.getObject({ id: id, options: { showBcs: true } })];
1205
- case 1:
1206
- res = _c.sent();
1207
- if (res.error) {
1208
- throw new Error("error fetching TakeSharedFeeEvent object at id ".concat(id, ": ").concat(res.error.code));
1209
- }
1210
- if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.bcs) === null || _b === void 0 ? void 0 : _b.dataType) !== "moveObject" || !isTakeSharedFeeEvent(res.data.bcs.type)) {
1211
- throw new Error("object at id ".concat(id, " is not a TakeSharedFeeEvent object"));
1212
- }
1213
- return [2 /*return*/, TakeSharedFeeEvent.fromSuiObjectData(res.data)];
1214
- }
1215
- });
1216
- });
1217
- };
1218
- TakeSharedFeeEvent.$typeName = "".concat(index_1.PKG_V1, "::tds_fee_pool_entry::TakeSharedFeeEvent");
1219
- TakeSharedFeeEvent.$numTypeParams = 0;
1220
- TakeSharedFeeEvent.$isPhantom = [];
1221
- return TakeSharedFeeEvent;
1222
- }());
1223
- exports.TakeSharedFeeEvent = TakeSharedFeeEvent;