@misofm/sdk 0.15.11 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (371) hide show
  1. package/README.md +210 -73
  2. package/dist/client.d.ts +224 -68
  3. package/dist/client.d.ts.map +1 -1
  4. package/dist/client.js +465 -79
  5. package/dist/client.js.map +1 -1
  6. package/dist/contracts/composition_credits/composition_credits.d.ts +10 -10
  7. package/dist/contracts/composition_credits/composition_credits.d.ts.map +1 -1
  8. package/dist/contracts/composition_credits/composition_credits.js.map +1 -1
  9. package/dist/contracts/composition_credits/composition_party_role.d.ts +1 -1
  10. package/dist/contracts/composition_credits/composition_party_role.d.ts.map +1 -1
  11. package/dist/contracts/composition_credits/composition_party_role.js.map +1 -1
  12. package/dist/contracts/composition_credits/deps/miso_credit/credit.d.ts.map +1 -1
  13. package/dist/contracts/composition_credits/deps/miso_credit/credit.js.map +1 -1
  14. package/dist/contracts/composition_credits/deps/sui/vec_map.d.ts.map +1 -1
  15. package/dist/contracts/composition_credits/deps/sui/vec_map.js.map +1 -1
  16. package/dist/contracts/composition_routed_stake/composition_routed_stake.d.ts +29 -93
  17. package/dist/contracts/composition_routed_stake/composition_routed_stake.d.ts.map +1 -1
  18. package/dist/contracts/composition_routed_stake/composition_routed_stake.js +19 -79
  19. package/dist/contracts/composition_routed_stake/composition_routed_stake.js.map +1 -1
  20. package/dist/contracts/composition_royalty_pool/composition_royalty_pool.d.ts +22 -106
  21. package/dist/contracts/composition_royalty_pool/composition_royalty_pool.d.ts.map +1 -1
  22. package/dist/contracts/composition_royalty_pool/composition_royalty_pool.js +16 -98
  23. package/dist/contracts/composition_royalty_pool/composition_royalty_pool.js.map +1 -1
  24. package/dist/contracts/composition_royalty_pool_plugin/composition_royalty_pool_plugin.d.ts +90 -0
  25. package/dist/contracts/composition_royalty_pool_plugin/composition_royalty_pool_plugin.d.ts.map +1 -0
  26. package/dist/contracts/composition_royalty_pool_plugin/composition_royalty_pool_plugin.js +85 -0
  27. package/dist/contracts/composition_royalty_pool_plugin/composition_royalty_pool_plugin.js.map +1 -0
  28. package/dist/contracts/{party_wallet → composition_royalty_pool_plugin}/witness.d.ts +1 -1
  29. package/dist/contracts/composition_royalty_pool_plugin/witness.d.ts.map +1 -0
  30. package/dist/contracts/{recording_royalty_pool → composition_royalty_pool_plugin}/witness.js +1 -1
  31. package/dist/contracts/composition_royalty_pool_plugin/witness.js.map +1 -0
  32. package/dist/contracts/cover_art/cover_art.d.ts +4 -4
  33. package/dist/contracts/cover_art/cover_art.d.ts.map +1 -1
  34. package/dist/contracts/cover_art/cover_art.js.map +1 -1
  35. package/dist/contracts/cover_art/deps/ori/walrus_data.d.ts +4 -4
  36. package/dist/contracts/cover_art/deps/ori/walrus_data.d.ts.map +1 -1
  37. package/dist/contracts/cover_art/deps/ori/walrus_data.js.map +1 -1
  38. package/dist/contracts/genre/genre.d.ts +6 -6
  39. package/dist/contracts/genre/genre.d.ts.map +1 -1
  40. package/dist/contracts/genre/genre.js.map +1 -1
  41. package/dist/contracts/{miso_pressing → miso_record}/deps/std/type_name.d.ts +1 -1
  42. package/dist/contracts/miso_record/deps/std/type_name.d.ts.map +1 -0
  43. package/dist/contracts/miso_record/deps/std/type_name.js.map +1 -0
  44. package/dist/contracts/miso_record/deps/sui/vec_set.d.ts +21 -0
  45. package/dist/contracts/miso_record/deps/sui/vec_set.d.ts.map +1 -0
  46. package/dist/contracts/miso_record/deps/sui/vec_set.js +20 -0
  47. package/dist/contracts/miso_record/deps/sui/vec_set.js.map +1 -0
  48. package/dist/contracts/miso_record/pressing.d.ts +327 -0
  49. package/dist/contracts/miso_record/pressing.d.ts.map +1 -0
  50. package/dist/contracts/miso_record/pressing.js +345 -0
  51. package/dist/contracts/miso_record/pressing.js.map +1 -0
  52. package/dist/contracts/miso_record/record.d.ts +190 -0
  53. package/dist/contracts/miso_record/record.d.ts.map +1 -0
  54. package/dist/contracts/miso_record/record.js +226 -0
  55. package/dist/contracts/miso_record/record.js.map +1 -0
  56. package/dist/contracts/miso_record_shop/deps/std/type_name.d.ts +18 -0
  57. package/dist/contracts/miso_record_shop/deps/std/type_name.d.ts.map +1 -0
  58. package/dist/contracts/miso_record_shop/deps/std/type_name.js +20 -0
  59. package/dist/contracts/miso_record_shop/deps/std/type_name.js.map +1 -0
  60. package/dist/contracts/miso_record_shop/listing.d.ts +387 -0
  61. package/dist/contracts/miso_record_shop/listing.d.ts.map +1 -0
  62. package/dist/contracts/miso_record_shop/listing.js +380 -0
  63. package/dist/contracts/miso_record_shop/listing.js.map +1 -0
  64. package/dist/contracts/{release_revenue_distributor → miso_record_shop}/witness.d.ts +2 -2
  65. package/dist/contracts/miso_record_shop/witness.d.ts.map +1 -0
  66. package/dist/contracts/{release_revenue_distributor → miso_record_shop}/witness.js +2 -2
  67. package/dist/contracts/miso_record_shop/witness.js.map +1 -0
  68. package/dist/contracts/party_wallet/party_wallet.d.ts +41 -168
  69. package/dist/contracts/party_wallet/party_wallet.d.ts.map +1 -1
  70. package/dist/contracts/party_wallet/party_wallet.js +27 -152
  71. package/dist/contracts/party_wallet/party_wallet.js.map +1 -1
  72. package/dist/contracts/recording_advisory/recording_advisory.d.ts +3 -3
  73. package/dist/contracts/recording_advisory/recording_advisory.d.ts.map +1 -1
  74. package/dist/contracts/recording_advisory/recording_advisory.js.map +1 -1
  75. package/dist/contracts/recording_credits/deps/miso_credit/credit.d.ts.map +1 -1
  76. package/dist/contracts/recording_credits/deps/miso_credit/credit.js.map +1 -1
  77. package/dist/contracts/recording_credits/deps/sui/vec_map.d.ts.map +1 -1
  78. package/dist/contracts/recording_credits/deps/sui/vec_map.js.map +1 -1
  79. package/dist/contracts/recording_credits/deps/sui/vec_set.d.ts.map +1 -1
  80. package/dist/contracts/recording_credits/deps/sui/vec_set.js.map +1 -1
  81. package/dist/contracts/recording_credits/recording_credits.d.ts +20 -20
  82. package/dist/contracts/recording_credits/recording_credits.d.ts.map +1 -1
  83. package/dist/contracts/recording_credits/recording_credits.js.map +1 -1
  84. package/dist/contracts/recording_credits/recording_party_role.d.ts +30 -30
  85. package/dist/contracts/recording_credits/recording_party_role.d.ts.map +1 -1
  86. package/dist/contracts/recording_credits/recording_party_role.js.map +1 -1
  87. package/dist/contracts/recording_language/deps/language_code/language_code.d.ts +1 -1
  88. package/dist/contracts/recording_language/deps/language_code/language_code.d.ts.map +1 -1
  89. package/dist/contracts/recording_language/deps/language_code/language_code.js.map +1 -1
  90. package/dist/contracts/recording_language/recording_language.d.ts +4 -4
  91. package/dist/contracts/recording_language/recording_language.d.ts.map +1 -1
  92. package/dist/contracts/recording_language/recording_language.js.map +1 -1
  93. package/dist/contracts/recording_master_reference/deps/ori/walrus_data.d.ts +4 -4
  94. package/dist/contracts/recording_master_reference/deps/ori/walrus_data.d.ts.map +1 -1
  95. package/dist/contracts/recording_master_reference/deps/ori/walrus_data.js.map +1 -1
  96. package/dist/contracts/recording_master_reference/recording_master_reference.d.ts +6 -6
  97. package/dist/contracts/recording_master_reference/recording_master_reference.d.ts.map +1 -1
  98. package/dist/contracts/recording_master_reference/recording_master_reference.js.map +1 -1
  99. package/dist/contracts/recording_preview/deps/ori/walrus_data.d.ts +4 -4
  100. package/dist/contracts/recording_preview/deps/ori/walrus_data.d.ts.map +1 -1
  101. package/dist/contracts/recording_preview/deps/ori/walrus_data.js.map +1 -1
  102. package/dist/contracts/recording_preview/recording_preview.d.ts +6 -6
  103. package/dist/contracts/recording_preview/recording_preview.d.ts.map +1 -1
  104. package/dist/contracts/recording_preview/recording_preview.js.map +1 -1
  105. package/dist/contracts/recording_royalty_pool/recording_royalty_pool.d.ts +21 -109
  106. package/dist/contracts/recording_royalty_pool/recording_royalty_pool.d.ts.map +1 -1
  107. package/dist/contracts/recording_royalty_pool/recording_royalty_pool.js +15 -100
  108. package/dist/contracts/recording_royalty_pool/recording_royalty_pool.js.map +1 -1
  109. package/dist/contracts/recording_royalty_pool_plugin/recording_royalty_pool_plugin.d.ts +92 -0
  110. package/dist/contracts/recording_royalty_pool_plugin/recording_royalty_pool_plugin.d.ts.map +1 -0
  111. package/dist/contracts/recording_royalty_pool_plugin/recording_royalty_pool_plugin.js +85 -0
  112. package/dist/contracts/recording_royalty_pool_plugin/recording_royalty_pool_plugin.js.map +1 -0
  113. package/dist/contracts/{composition_royalty_pool → recording_royalty_pool_plugin}/witness.d.ts +1 -1
  114. package/dist/contracts/recording_royalty_pool_plugin/witness.d.ts.map +1 -0
  115. package/dist/contracts/{party_wallet → recording_royalty_pool_plugin}/witness.js +1 -1
  116. package/dist/contracts/recording_royalty_pool_plugin/witness.js.map +1 -0
  117. package/dist/contracts/release_cover_art/deps/{0x340057f2174fb59e4626742dd2b46c662237837b6187450cb59e4976ce7eac78 → 0xf35cf353a62cef01084b51a9cf3da4c64c8724685ad1862f2f8284b71bd26c1a}/walrus_data.d.ts +7 -7
  118. package/dist/contracts/release_cover_art/deps/{0x340057f2174fb59e4626742dd2b46c662237837b6187450cb59e4976ce7eac78 → 0xf35cf353a62cef01084b51a9cf3da4c64c8724685ad1862f2f8284b71bd26c1a}/walrus_data.d.ts.map +1 -1
  119. package/dist/contracts/release_cover_art/deps/{0x340057f2174fb59e4626742dd2b46c662237837b6187450cb59e4976ce7eac78 → 0xf35cf353a62cef01084b51a9cf3da4c64c8724685ad1862f2f8284b71bd26c1a}/walrus_data.js +1 -1
  120. package/dist/contracts/release_cover_art/deps/{0x340057f2174fb59e4626742dd2b46c662237837b6187450cb59e4976ce7eac78 → 0xf35cf353a62cef01084b51a9cf3da4c64c8724685ad1862f2f8284b71bd26c1a}/walrus_data.js.map +1 -1
  121. package/dist/contracts/release_cover_art/deps/cover_art/cover_art.d.ts +7 -7
  122. package/dist/contracts/release_cover_art/deps/cover_art/cover_art.d.ts.map +1 -1
  123. package/dist/contracts/release_cover_art/deps/cover_art/cover_art.js +1 -1
  124. package/dist/contracts/release_cover_art/deps/cover_art/cover_art.js.map +1 -1
  125. package/dist/contracts/release_cover_art/deps/per_track/per_track.d.ts.map +1 -1
  126. package/dist/contracts/release_cover_art/deps/per_track/per_track.js.map +1 -1
  127. package/dist/contracts/release_cover_art/release_cover_art.d.ts +23 -23
  128. package/dist/contracts/release_cover_art/release_cover_art.d.ts.map +1 -1
  129. package/dist/contracts/release_cover_art/release_cover_art.js.map +1 -1
  130. package/dist/contracts/release_credits/deps/miso_credit/credit.d.ts.map +1 -1
  131. package/dist/contracts/release_credits/deps/miso_credit/credit.js.map +1 -1
  132. package/dist/contracts/release_credits/deps/sui/vec_map.d.ts.map +1 -1
  133. package/dist/contracts/release_credits/deps/sui/vec_map.js.map +1 -1
  134. package/dist/contracts/release_credits/release_credits.d.ts +10 -10
  135. package/dist/contracts/release_credits/release_credits.d.ts.map +1 -1
  136. package/dist/contracts/release_credits/release_credits.js.map +1 -1
  137. package/dist/contracts/release_description/release_description.d.ts +4 -4
  138. package/dist/contracts/release_description/release_description.d.ts.map +1 -1
  139. package/dist/contracts/release_description/release_description.js.map +1 -1
  140. package/dist/contracts/release_dsp_link/release_dsp_link.d.ts +41 -42
  141. package/dist/contracts/release_dsp_link/release_dsp_link.d.ts.map +1 -1
  142. package/dist/contracts/release_dsp_link/release_dsp_link.js +4 -5
  143. package/dist/contracts/release_dsp_link/release_dsp_link.js.map +1 -1
  144. package/dist/contracts/release_genre/deps/per_track/per_track.d.ts.map +1 -1
  145. package/dist/contracts/release_genre/deps/per_track/per_track.js.map +1 -1
  146. package/dist/contracts/release_genre/release_genre.d.ts +15 -15
  147. package/dist/contracts/release_genre/release_genre.d.ts.map +1 -1
  148. package/dist/contracts/release_genre/release_genre.js.map +1 -1
  149. package/dist/contracts/release_kind/release_kind.d.ts +4 -4
  150. package/dist/contracts/release_kind/release_kind.d.ts.map +1 -1
  151. package/dist/contracts/release_kind/release_kind.js.map +1 -1
  152. package/dist/contracts/release_revenue_distributor/release_revenue_distributor.d.ts +46 -59
  153. package/dist/contracts/release_revenue_distributor/release_revenue_distributor.d.ts.map +1 -1
  154. package/dist/contracts/release_revenue_distributor/release_revenue_distributor.js +27 -48
  155. package/dist/contracts/release_revenue_distributor/release_revenue_distributor.js.map +1 -1
  156. package/dist/contracts/release_revenue_distributor_plugin/release_revenue_distributor_plugin.d.ts +75 -0
  157. package/dist/contracts/release_revenue_distributor_plugin/release_revenue_distributor_plugin.d.ts.map +1 -0
  158. package/dist/contracts/release_revenue_distributor_plugin/release_revenue_distributor_plugin.js +80 -0
  159. package/dist/contracts/release_revenue_distributor_plugin/release_revenue_distributor_plugin.js.map +1 -0
  160. package/dist/contracts/{recording_royalty_pool → release_revenue_distributor_plugin}/witness.d.ts +1 -1
  161. package/dist/contracts/release_revenue_distributor_plugin/witness.d.ts.map +1 -0
  162. package/dist/contracts/{composition_royalty_pool → release_revenue_distributor_plugin}/witness.js +1 -1
  163. package/dist/contracts/release_revenue_distributor_plugin/witness.js.map +1 -0
  164. package/dist/contracts/routed_stake/deps/royalty_pool/stake.d.ts +5 -5
  165. package/dist/contracts/routed_stake/deps/royalty_pool/stake.d.ts.map +1 -1
  166. package/dist/contracts/routed_stake/deps/royalty_pool/stake.js.map +1 -1
  167. package/dist/contracts/routed_stake/deps/std/type_name.d.ts +1 -1
  168. package/dist/contracts/routed_stake/deps/std/type_name.d.ts.map +1 -1
  169. package/dist/contracts/routed_stake/deps/std/type_name.js.map +1 -1
  170. package/dist/contracts/routed_stake/deps/sui/balance.d.ts +1 -1
  171. package/dist/contracts/routed_stake/deps/sui/balance.d.ts.map +1 -1
  172. package/dist/contracts/routed_stake/deps/sui/balance.js.map +1 -1
  173. package/dist/contracts/routed_stake/deps/sui/vec_map.d.ts.map +1 -1
  174. package/dist/contracts/routed_stake/deps/sui/vec_map.js.map +1 -1
  175. package/dist/contracts/routed_stake/routed_stake.d.ts +15 -15
  176. package/dist/contracts/routed_stake/routed_stake.d.ts.map +1 -1
  177. package/dist/contracts/routed_stake/routed_stake.js.map +1 -1
  178. package/dist/contracts/royalty_pool/deps/std/type_name.d.ts +1 -1
  179. package/dist/contracts/royalty_pool/deps/std/type_name.d.ts.map +1 -1
  180. package/dist/contracts/royalty_pool/deps/std/type_name.js.map +1 -1
  181. package/dist/contracts/royalty_pool/deps/sui/balance.d.ts +1 -1
  182. package/dist/contracts/royalty_pool/deps/sui/balance.d.ts.map +1 -1
  183. package/dist/contracts/royalty_pool/deps/sui/balance.js.map +1 -1
  184. package/dist/contracts/royalty_pool/deps/sui/vec_map.d.ts.map +1 -1
  185. package/dist/contracts/royalty_pool/deps/sui/vec_map.js.map +1 -1
  186. package/dist/contracts/royalty_pool/pool.d.ts +19 -19
  187. package/dist/contracts/royalty_pool/pool.d.ts.map +1 -1
  188. package/dist/contracts/royalty_pool/pool.js.map +1 -1
  189. package/dist/contracts/royalty_pool/stake.d.ts +9 -9
  190. package/dist/contracts/royalty_pool/stake.d.ts.map +1 -1
  191. package/dist/contracts/royalty_pool/stake.js.map +1 -1
  192. package/dist/contracts/vault/deps/sui/bag.d.ts +2 -2
  193. package/dist/contracts/vault/deps/sui/bag.d.ts.map +1 -1
  194. package/dist/contracts/vault/deps/sui/bag.js.map +1 -1
  195. package/dist/contracts/vault/deps/sui/borrow.d.ts.map +1 -1
  196. package/dist/contracts/vault/deps/sui/borrow.js.map +1 -1
  197. package/dist/contracts/vault/vault.d.ts +19 -93
  198. package/dist/contracts/vault/vault.d.ts.map +1 -1
  199. package/dist/contracts/vault/vault.js +16 -95
  200. package/dist/contracts/vault/vault.js.map +1 -1
  201. package/dist/contracts.d.ts +6 -3
  202. package/dist/contracts.d.ts.map +1 -1
  203. package/dist/contracts.js +9 -5
  204. package/dist/contracts.js.map +1 -1
  205. package/dist/deployments.d.ts +156 -77
  206. package/dist/deployments.d.ts.map +1 -1
  207. package/dist/deployments.js +146 -32
  208. package/dist/deployments.js.map +1 -1
  209. package/dist/index.d.ts +3 -1
  210. package/dist/index.d.ts.map +1 -1
  211. package/dist/index.js +3 -1
  212. package/dist/index.js.map +1 -1
  213. package/dist/internal.d.ts +9 -0
  214. package/dist/internal.d.ts.map +1 -1
  215. package/dist/internal.js +23 -0
  216. package/dist/internal.js.map +1 -1
  217. package/dist/mix.d.ts +144 -0
  218. package/dist/mix.d.ts.map +1 -0
  219. package/dist/mix.js +656 -0
  220. package/dist/mix.js.map +1 -0
  221. package/dist/pressing.d.ts +72 -156
  222. package/dist/pressing.d.ts.map +1 -1
  223. package/dist/pressing.js +269 -261
  224. package/dist/pressing.js.map +1 -1
  225. package/dist/publication.d.ts +6 -6
  226. package/dist/publication.d.ts.map +1 -1
  227. package/dist/publication.js +134 -90
  228. package/dist/publication.js.map +1 -1
  229. package/dist/read/catalog.d.ts +8 -5
  230. package/dist/read/catalog.d.ts.map +1 -1
  231. package/dist/read/catalog.js +47 -35
  232. package/dist/read/catalog.js.map +1 -1
  233. package/dist/read/config.d.ts +6 -4
  234. package/dist/read/config.d.ts.map +1 -1
  235. package/dist/read/config.js +10 -3
  236. package/dist/read/config.js.map +1 -1
  237. package/dist/read/index.d.ts +1 -1
  238. package/dist/read/index.d.ts.map +1 -1
  239. package/dist/read/index.js +1 -1
  240. package/dist/read/index.js.map +1 -1
  241. package/dist/read/internal/scalars.d.ts.map +1 -1
  242. package/dist/read/internal/scalars.js +4 -3
  243. package/dist/read/internal/scalars.js.map +1 -1
  244. package/dist/read/internal/walrus.d.ts.map +1 -1
  245. package/dist/read/internal/walrus.js +2 -1
  246. package/dist/read/internal/walrus.js.map +1 -1
  247. package/dist/read/receipts.d.ts +21 -12
  248. package/dist/read/receipts.d.ts.map +1 -1
  249. package/dist/read/receipts.js +159 -56
  250. package/dist/read/receipts.js.map +1 -1
  251. package/dist/read/types.d.ts +34 -24
  252. package/dist/read/types.d.ts.map +1 -1
  253. package/dist/read/wallet.d.ts.map +1 -1
  254. package/dist/read/wallet.js +31 -46
  255. package/dist/read/wallet.js.map +1 -1
  256. package/dist/vault.d.ts +81 -48
  257. package/dist/vault.d.ts.map +1 -1
  258. package/dist/vault.js +173 -174
  259. package/dist/vault.js.map +1 -1
  260. package/package.json +17 -7
  261. package/src/client.ts +618 -120
  262. package/src/contracts/composition_credits/composition_credits.ts +3 -2
  263. package/src/contracts/composition_credits/composition_party_role.ts +5 -4
  264. package/src/contracts/composition_credits/deps/miso_credit/credit.ts +1 -0
  265. package/src/contracts/composition_credits/deps/sui/vec_map.ts +1 -0
  266. package/src/contracts/composition_routed_stake/composition_routed_stake.ts +36 -146
  267. package/src/contracts/composition_royalty_pool/composition_royalty_pool.ts +28 -169
  268. package/src/contracts/composition_royalty_pool_plugin/composition_royalty_pool_plugin.ts +165 -0
  269. package/src/contracts/{recording_royalty_pool → composition_royalty_pool_plugin}/witness.ts +2 -1
  270. package/src/contracts/cover_art/cover_art.ts +2 -1
  271. package/src/contracts/cover_art/deps/ori/walrus_data.ts +1 -0
  272. package/src/contracts/genre/genre.ts +3 -2
  273. package/src/contracts/{miso_pressing → miso_record}/deps/std/type_name.ts +1 -0
  274. package/src/contracts/miso_record/deps/sui/vec_set.ts +22 -0
  275. package/src/contracts/miso_record/pressing.ts +523 -0
  276. package/src/contracts/miso_record/record.ts +339 -0
  277. package/src/contracts/miso_record_shop/deps/std/type_name.ts +23 -0
  278. package/src/contracts/miso_record_shop/listing.ts +603 -0
  279. package/src/contracts/{release_revenue_distributor → miso_record_shop}/witness.ts +3 -2
  280. package/src/contracts/party_wallet/party_wallet.ts +41 -256
  281. package/src/contracts/recording_advisory/recording_advisory.ts +4 -3
  282. package/src/contracts/recording_credits/deps/miso_credit/credit.ts +1 -0
  283. package/src/contracts/recording_credits/deps/sui/vec_map.ts +1 -0
  284. package/src/contracts/recording_credits/deps/sui/vec_set.ts +1 -0
  285. package/src/contracts/recording_credits/recording_credits.ts +3 -2
  286. package/src/contracts/recording_credits/recording_party_role.ts +5 -4
  287. package/src/contracts/recording_language/deps/language_code/language_code.ts +1 -0
  288. package/src/contracts/recording_language/recording_language.ts +5 -4
  289. package/src/contracts/recording_master_reference/deps/ori/walrus_data.ts +1 -0
  290. package/src/contracts/recording_master_reference/recording_master_reference.ts +6 -5
  291. package/src/contracts/recording_preview/deps/ori/walrus_data.ts +1 -0
  292. package/src/contracts/recording_preview/recording_preview.ts +2 -1
  293. package/src/contracts/recording_royalty_pool/recording_royalty_pool.ts +27 -172
  294. package/src/contracts/recording_royalty_pool_plugin/recording_royalty_pool_plugin.ts +167 -0
  295. package/src/contracts/{party_wallet → recording_royalty_pool_plugin}/witness.ts +2 -1
  296. package/src/contracts/release_cover_art/deps/{0x340057f2174fb59e4626742dd2b46c662237837b6187450cb59e4976ce7eac78 → 0xf35cf353a62cef01084b51a9cf3da4c64c8724685ad1862f2f8284b71bd26c1a}/walrus_data.ts +2 -1
  297. package/src/contracts/release_cover_art/deps/cover_art/cover_art.ts +3 -2
  298. package/src/contracts/release_cover_art/deps/per_track/per_track.ts +3 -2
  299. package/src/contracts/release_cover_art/release_cover_art.ts +2 -1
  300. package/src/contracts/release_credits/deps/miso_credit/credit.ts +1 -0
  301. package/src/contracts/release_credits/deps/sui/vec_map.ts +1 -0
  302. package/src/contracts/release_credits/release_credits.ts +4 -3
  303. package/src/contracts/release_credits/release_party_role.ts +4 -4
  304. package/src/contracts/release_description/release_description.ts +6 -5
  305. package/src/contracts/release_dsp_link/release_dsp_link.ts +8 -8
  306. package/src/contracts/release_genre/deps/per_track/per_track.ts +3 -2
  307. package/src/contracts/release_genre/release_genre.ts +4 -3
  308. package/src/contracts/release_kind/release_kind.ts +5 -4
  309. package/src/contracts/release_revenue_distributor/release_revenue_distributor.ts +50 -85
  310. package/src/contracts/release_revenue_distributor_plugin/release_revenue_distributor_plugin.ts +145 -0
  311. package/src/contracts/{composition_royalty_pool → release_revenue_distributor_plugin}/witness.ts +2 -1
  312. package/src/contracts/routed_stake/deps/royalty_pool/stake.ts +1 -0
  313. package/src/contracts/routed_stake/deps/std/type_name.ts +1 -0
  314. package/src/contracts/routed_stake/deps/sui/balance.ts +1 -0
  315. package/src/contracts/routed_stake/deps/sui/vec_map.ts +1 -0
  316. package/src/contracts/routed_stake/routed_stake.ts +4 -3
  317. package/src/contracts/royalty_pool/deps/std/type_name.ts +1 -0
  318. package/src/contracts/royalty_pool/deps/sui/balance.ts +1 -0
  319. package/src/contracts/royalty_pool/deps/sui/vec_map.ts +1 -0
  320. package/src/contracts/royalty_pool/pool.ts +1 -0
  321. package/src/contracts/royalty_pool/stake.ts +1 -0
  322. package/src/contracts/vault/deps/sui/bag.ts +3 -2
  323. package/src/contracts/vault/deps/sui/borrow.ts +2 -1
  324. package/src/contracts/vault/vault.ts +27 -152
  325. package/src/contracts.ts +9 -5
  326. package/src/deployments.ts +273 -55
  327. package/src/index.ts +5 -0
  328. package/src/internal.ts +27 -0
  329. package/src/mix.ts +910 -0
  330. package/src/pressing.ts +428 -423
  331. package/src/publication.ts +148 -101
  332. package/src/read/catalog.ts +49 -34
  333. package/src/read/config.ts +19 -8
  334. package/src/read/index.ts +9 -1
  335. package/src/read/internal/scalars.ts +4 -2
  336. package/src/read/internal/walrus.ts +2 -1
  337. package/src/read/receipts.ts +181 -66
  338. package/src/read/types.ts +35 -22
  339. package/src/read/wallet.ts +29 -50
  340. package/src/vault.ts +275 -271
  341. package/dist/contracts/composition_routed_stake/witness.d.ts +0 -7
  342. package/dist/contracts/composition_routed_stake/witness.d.ts.map +0 -1
  343. package/dist/contracts/composition_routed_stake/witness.js +0 -9
  344. package/dist/contracts/composition_routed_stake/witness.js.map +0 -1
  345. package/dist/contracts/composition_royalty_pool/witness.d.ts.map +0 -1
  346. package/dist/contracts/composition_royalty_pool/witness.js.map +0 -1
  347. package/dist/contracts/miso_pressing/certificate.d.ts +0 -89
  348. package/dist/contracts/miso_pressing/certificate.d.ts.map +0 -1
  349. package/dist/contracts/miso_pressing/certificate.js +0 -108
  350. package/dist/contracts/miso_pressing/certificate.js.map +0 -1
  351. package/dist/contracts/miso_pressing/deps/std/type_name.d.ts.map +0 -1
  352. package/dist/contracts/miso_pressing/deps/std/type_name.js.map +0 -1
  353. package/dist/contracts/miso_pressing/listing.d.ts +0 -434
  354. package/dist/contracts/miso_pressing/listing.d.ts.map +0 -1
  355. package/dist/contracts/miso_pressing/listing.js +0 -401
  356. package/dist/contracts/miso_pressing/listing.js.map +0 -1
  357. package/dist/contracts/miso_pressing/pressing.d.ts +0 -334
  358. package/dist/contracts/miso_pressing/pressing.d.ts.map +0 -1
  359. package/dist/contracts/miso_pressing/pressing.js +0 -298
  360. package/dist/contracts/miso_pressing/pressing.js.map +0 -1
  361. package/dist/contracts/party_wallet/witness.d.ts.map +0 -1
  362. package/dist/contracts/party_wallet/witness.js.map +0 -1
  363. package/dist/contracts/recording_royalty_pool/witness.d.ts.map +0 -1
  364. package/dist/contracts/recording_royalty_pool/witness.js.map +0 -1
  365. package/dist/contracts/release_revenue_distributor/witness.d.ts.map +0 -1
  366. package/dist/contracts/release_revenue_distributor/witness.js.map +0 -1
  367. package/src/contracts/composition_routed_stake/witness.ts +0 -11
  368. package/src/contracts/miso_pressing/certificate.ts +0 -164
  369. package/src/contracts/miso_pressing/listing.ts +0 -592
  370. package/src/contracts/miso_pressing/pressing.ts +0 -399
  371. /package/dist/contracts/{miso_pressing → miso_record}/deps/std/type_name.js +0 -0
@@ -1,334 +0,0 @@
1
- /**************************************************************
2
- * THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED *
3
- **************************************************************/
4
- /**
5
- * A release's record production — its _Pressing_.
6
- *
7
- * A release has exactly one pressing, and the pressing is one uncapped run of
8
- * records: every copy ever made draws its number from this single counter,
9
- * forever. There are no editions, no supply caps, and no sold-out state — scarcity
10
- * on Miso is what a record _accrues_ (playtime above all), not how few of it were
11
- * printed. The pressing owns two things and only two things: the **run** the
12
- * records number against, and the **switch** that stops it.
13
- *
14
- * ```text
15
- * Release
16
- * └─ Pressing the run, and when it sells at all PressingKey()
17
- * ├─ PressingAdminCap authority over price and state PressingAdminCapKey()
18
- * ├─ Listing<SUI> what it costs in one currency ListingKey<SUI>()
19
- * └─ Listing<USDC>
20
- * ```
21
- *
22
- * # Everything is address math
23
- *
24
- * A pressing's UID is derived off its release's UID at a singleton key, its admin
25
- * cap's and each listing's off the pressing's, and records off the pressing's at
26
- * their number. So every object in the tree is reachable from the release id
27
- * alone, by pure computation — no registry, no pointer that has to be maintained,
28
- * and no stored set of listings: a listing either exists at its derived address or
29
- * it does not (`listing::has_listing`), and `ListingOpenedEvent<Currency>`
30
- * enumerates them for an indexer. It also makes the number sequence gap-free for
31
- * free, and every record verifiable against its pressing from chain state alone by
32
- * comparing the certificate and derived address.
33
- *
34
- * # Starting and stopping is state, never teardown
35
- *
36
- * Nothing here is ever destroyed, sealed, or wound down — deleting a pressing
37
- * would strand its whole derived subtree, so there is no destructor at all. The
38
- * run's lifecycle is `Scheduled → Active → Paused → Active`: it opens itself at
39
- * its drop moment (no artist transaction, and nobody can buy early), and after
40
- * that the artist stops and starts it at will. The first transition is real, not
41
- * computed — the first sale past the start rewrites `Scheduled` to `Active` inside
42
- * `mint_next`, which is why `Scheduled` only ever describes a run still waiting.
43
- * Below it, each listing's `Enabled | Disabled` governs one currency. A run that
44
- * is paused or not yet open sells in no currency, whatever the listings say.
45
- *
46
- * There is no end state and no expiry: an uncapped, permanent run has nothing to
47
- * count down to, and a time-limited sale is scarcity theater this design rejects.
48
- * An artist ending a campaign pauses it.
49
- *
50
- * # Authority
51
- *
52
- * Opening a pressing needs the release's `ReleaseAdminCap`, enforced by the
53
- * protocol's `release::uid_mut`, and hands back a `PressingAdminCap`. Everything
54
- * after that — pricing, pausing, opening listings — authorizes against the
55
- * pressing cap alone.
56
- *
57
- * The split is deliberate and it is about money, not tidiness. `ReleaseAdminCap`
58
- * yields `release::uid_mut`, and `balance::withdraw_funds_from_object` is gated on
59
- * `&mut UID` alone — so the release cap can withdraw the sales revenue that `buy`
60
- * forwards to the release's address. Under one cap, "may reprice a listing" and
61
- * "may take the money" would be the same grant. The caps may be held together. If
62
- * separated, the pressing cap remains issuance authority: it controls listing
63
- * creation, price, and availability, but cannot withdraw revenue.
64
- */
65
- import { MoveTuple, MoveEnum, MoveStruct, type RawTransactionArgument } from '../utils/index.js';
66
- import { type Transaction, type TransactionArgument } from '@mysten/sui/transactions';
67
- export declare const PressingKey: MoveTuple<readonly [import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">], "@local-pkg/miso_pressing::pressing::PressingKey">;
68
- export declare const PressingAdminCapKey: MoveTuple<readonly [import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">], "@local-pkg/miso_pressing::pressing::PressingAdminCapKey">;
69
- /**
70
- * Whether the run sells, over every currency at once. The lifecycle runs
71
- * `Scheduled → Active → Paused → Active`: a pressing opens itself at its drop
72
- * moment, then the artist stops and starts it at will.
73
- */
74
- export declare const PressingState: MoveEnum<{
75
- /**
76
- * Opens the moment the clock passes `start_timestamp_ms` (Unix ms), with no
77
- * further action from anyone. A start already in the past sells now.
78
- *
79
- * This is a _transitional_ state: the first sale past the start rewrites it to
80
- * `Active` (in `mint_next`, before any sales logic), so a run reads `Scheduled`
81
- * only while it is still waiting. Between the start and that first sale the run
82
- * already sells — `is_selling` answers against the clock — so nobody has to go
83
- * first for the drop to be open.
84
- *
85
- * Consequence worth knowing: once the transition fires the start time is gone from
86
- * the object. `PressingOpenedEvent` and `PressingStateChangedEvent` carry it, so
87
- * "when was this run scheduled for" is an event-log question, not an object read.
88
- */
89
- Scheduled: MoveStruct<{
90
- start_timestamp_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
91
- }, "PressingState.Scheduled">;
92
- /** Selling, subject to each listing's own state. */
93
- Active: null;
94
- /** Selling in no currency, whatever the listings say. */
95
- Paused: null;
96
- }, "@local-pkg/miso_pressing::pressing::PressingState">;
97
- export declare const Pressing: MoveStruct<{
98
- id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
99
- /** The release these records are copies of. */
100
- release_id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
101
- /** Whether the run sells at all, in any currency. */
102
- state: MoveEnum<{
103
- /**
104
- * Opens the moment the clock passes `start_timestamp_ms` (Unix ms), with no
105
- * further action from anyone. A start already in the past sells now.
106
- *
107
- * This is a _transitional_ state: the first sale past the start rewrites it to
108
- * `Active` (in `mint_next`, before any sales logic), so a run reads `Scheduled`
109
- * only while it is still waiting. Between the start and that first sale the run
110
- * already sells — `is_selling` answers against the clock — so nobody has to go
111
- * first for the drop to be open.
112
- *
113
- * Consequence worth knowing: once the transition fires the start time is gone from
114
- * the object. `PressingOpenedEvent` and `PressingStateChangedEvent` carry it, so
115
- * "when was this run scheduled for" is an event-log question, not an object read.
116
- */
117
- Scheduled: MoveStruct<{
118
- start_timestamp_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
119
- }, "PressingState.Scheduled">;
120
- /** Selling, subject to each listing's own state. */
121
- Active: null;
122
- /** Selling in no currency, whatever the listings say. */
123
- Paused: null;
124
- }, "@local-pkg/miso_pressing::pressing::PressingState">;
125
- /**
126
- * Records pressed so far; also the most recent number. Read on every mint — this
127
- * is the sequence itself, not a statistic.
128
- */
129
- supply: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
130
- }, "@local-pkg/miso_pressing::pressing::Pressing">;
131
- export declare const PressingAdminCap: MoveStruct<{
132
- id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
133
- /** The pressing this cap controls. Every mutator asserts against it. */
134
- pressing_id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
135
- }, "@local-pkg/miso_pressing::pressing::PressingAdminCap">;
136
- export declare const PressingOpenedEvent: MoveStruct<{
137
- pressing_id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
138
- release_id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
139
- state: MoveEnum<{
140
- /**
141
- * Opens the moment the clock passes `start_timestamp_ms` (Unix ms), with no
142
- * further action from anyone. A start already in the past sells now.
143
- *
144
- * This is a _transitional_ state: the first sale past the start rewrites it to
145
- * `Active` (in `mint_next`, before any sales logic), so a run reads `Scheduled`
146
- * only while it is still waiting. Between the start and that first sale the run
147
- * already sells — `is_selling` answers against the clock — so nobody has to go
148
- * first for the drop to be open.
149
- *
150
- * Consequence worth knowing: once the transition fires the start time is gone from
151
- * the object. `PressingOpenedEvent` and `PressingStateChangedEvent` carry it, so
152
- * "when was this run scheduled for" is an event-log question, not an object read.
153
- */
154
- Scheduled: MoveStruct<{
155
- start_timestamp_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
156
- }, "PressingState.Scheduled">;
157
- /** Selling, subject to each listing's own state. */
158
- Active: null;
159
- /** Selling in no currency, whatever the listings say. */
160
- Paused: null;
161
- }, "@local-pkg/miso_pressing::pressing::PressingState">;
162
- }, "@local-pkg/miso_pressing::pressing::PressingOpenedEvent">;
163
- export declare const PressingStateChangedEvent: MoveStruct<{
164
- pressing_id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
165
- state: MoveEnum<{
166
- /**
167
- * Opens the moment the clock passes `start_timestamp_ms` (Unix ms), with no
168
- * further action from anyone. A start already in the past sells now.
169
- *
170
- * This is a _transitional_ state: the first sale past the start rewrites it to
171
- * `Active` (in `mint_next`, before any sales logic), so a run reads `Scheduled`
172
- * only while it is still waiting. Between the start and that first sale the run
173
- * already sells — `is_selling` answers against the clock — so nobody has to go
174
- * first for the drop to be open.
175
- *
176
- * Consequence worth knowing: once the transition fires the start time is gone from
177
- * the object. `PressingOpenedEvent` and `PressingStateChangedEvent` carry it, so
178
- * "when was this run scheduled for" is an event-log question, not an object read.
179
- */
180
- Scheduled: MoveStruct<{
181
- start_timestamp_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
182
- }, "PressingState.Scheduled">;
183
- /** Selling, subject to each listing's own state. */
184
- Active: null;
185
- /** Selling in no currency, whatever the listings say. */
186
- Paused: null;
187
- }, "@local-pkg/miso_pressing::pressing::PressingState">;
188
- }, "@local-pkg/miso_pressing::pressing::PressingStateChangedEvent">;
189
- export interface NewScheduledStateArguments {
190
- startTimestampMs: RawTransactionArgument<number | bigint>;
191
- }
192
- export interface NewScheduledStateOptions {
193
- package?: string;
194
- arguments: NewScheduledStateArguments | [
195
- startTimestampMs: RawTransactionArgument<number | bigint>
196
- ];
197
- }
198
- /** The scheduled state: the run opens itself at `start_timestamp_ms` (Unix ms). */
199
- export declare function newScheduledState(options: NewScheduledStateOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
200
- export interface NewActiveStateOptions {
201
- package?: string;
202
- arguments?: [
203
- ];
204
- }
205
- /** The active state: the run sells, subject to each listing's own state. */
206
- export declare function newActiveState(options?: NewActiveStateOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
207
- export interface NewPausedStateOptions {
208
- package?: string;
209
- arguments?: [
210
- ];
211
- }
212
- /** The paused state: the run sells in no currency. */
213
- export declare function newPausedState(options?: NewPausedStateOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
214
- export interface NewArguments {
215
- release: RawTransactionArgument<string>;
216
- cap: RawTransactionArgument<string>;
217
- state: TransactionArgument;
218
- }
219
- export interface NewOptions {
220
- package?: string;
221
- arguments: NewArguments | [
222
- release: RawTransactionArgument<string>,
223
- cap: RawTransactionArgument<string>,
224
- state: TransactionArgument
225
- ];
226
- }
227
- /**
228
- * Open a release's pressing in `state` — `Scheduled` for a drop moment, `Active`
229
- * to sell immediately, `Paused` to set it up quietly. Returns it unshared, so the
230
- * same transaction can list it (`listing::new`) before `share` puts it on chain,
231
- * plus the cap that governs it from here on. Neither value has `drop`, so neither
232
- * can be lost by forgetting.
233
- *
234
- * Claim-once on `PressingKey()` means a release's pressing can only ever be opened
235
- * here, exactly once; calling this twice for the same release aborts.
236
- */
237
- export declare function _new(options: NewOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
238
- export interface ShareArguments {
239
- self: RawTransactionArgument<string>;
240
- }
241
- export interface ShareOptions {
242
- package?: string;
243
- arguments: ShareArguments | [
244
- self: RawTransactionArgument<string>
245
- ];
246
- }
247
- /**
248
- * Put the pressing on chain. `new` hands back an unshared `Pressing` so the same
249
- * transaction can list it first; this is the last call in that sequence.
250
- */
251
- export declare function share(options: ShareOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
252
- export interface SetStateArguments {
253
- self: RawTransactionArgument<string>;
254
- cap: RawTransactionArgument<string>;
255
- state: TransactionArgument;
256
- }
257
- export interface SetStateOptions {
258
- package?: string;
259
- arguments: SetStateArguments | [
260
- self: RawTransactionArgument<string>,
261
- cap: RawTransactionArgument<string>,
262
- state: TransactionArgument
263
- ];
264
- }
265
- /**
266
- * Move the run between its three modes — schedule it, open it, stop it. Takes
267
- * effect across every currency at once, regardless of any listing's own state.
268
- */
269
- export declare function setState(options: SetStateOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
270
- export interface DeriveIdArguments {
271
- releaseId: RawTransactionArgument<string>;
272
- }
273
- export interface DeriveIdOptions {
274
- package?: string;
275
- arguments: DeriveIdArguments | [
276
- releaseId: RawTransactionArgument<string>
277
- ];
278
- }
279
- /**
280
- * The address `release_id`'s pressing occupies — pure address math, computable
281
- * before the pressing has been opened.
282
- */
283
- export declare function deriveId(options: DeriveIdOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
284
- export interface ReleaseIdArguments {
285
- self: RawTransactionArgument<string>;
286
- }
287
- export interface ReleaseIdOptions {
288
- package?: string;
289
- arguments: ReleaseIdArguments | [
290
- self: RawTransactionArgument<string>
291
- ];
292
- }
293
- export declare function releaseId(options: ReleaseIdOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
294
- export interface SupplyArguments {
295
- self: RawTransactionArgument<string>;
296
- }
297
- export interface SupplyOptions {
298
- package?: string;
299
- arguments: SupplyArguments | [
300
- self: RawTransactionArgument<string>
301
- ];
302
- }
303
- /** Records pressed so far; also the most recent number. */
304
- export declare function supply(options: SupplyOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
305
- export interface IsSellingArguments {
306
- self: RawTransactionArgument<string>;
307
- }
308
- export interface IsSellingOptions {
309
- package?: string;
310
- arguments: IsSellingArguments | [
311
- self: RawTransactionArgument<string>
312
- ];
313
- }
314
- /**
315
- * Whether the run sells _right now_ — the question `buy` actually asks.
316
- * `Scheduled` answers it against the clock, so a run past its start that has not
317
- * yet had a sale to settle it reads as selling, which it is.
318
- */
319
- export declare function isSelling(options: IsSellingOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
320
- export interface PressingAdminCapPressingIdArguments {
321
- cap: RawTransactionArgument<string>;
322
- }
323
- export interface PressingAdminCapPressingIdOptions {
324
- package?: string;
325
- arguments: PressingAdminCapPressingIdArguments | [
326
- cap: RawTransactionArgument<string>
327
- ];
328
- }
329
- /**
330
- * The pressing this cap controls. Public so a custody layer holding the cap can
331
- * tell what it governs without the `Pressing` object.
332
- */
333
- export declare function pressingAdminCapPressingId(options: PressingAdminCapPressingIdOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
334
- //# sourceMappingURL=pressing.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pressing.d.ts","sourceRoot":"","sources":["../../../src/contracts/miso_pressing/pressing.ts"],"names":[],"mappings":"AAAA;;gEAEgE;AAGhE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;AAEH,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,EAA0B,KAAK,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAEzH,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAEtF,eAAO,MAAM,WAAW,sIAA+E,CAAC;AACxG,eAAO,MAAM,mBAAmB,8IAAuF,CAAC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;QAC5B,IAAI,EAAE,sBAAsB,CAAC,MAAM,CAAC;KACvC,CAAC;CACL;AACD;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,OAAO,EAAE,gBAAgB,IAOvC,IAAI,WAAW,0DAM1B;AACD,MAAM,WAAW,mCAAmC;IAChD,GAAG,EAAE,sBAAsB,CAAC,MAAM,CAAC,CAAC;CACvC;AACD,MAAM,WAAW,iCAAiC;IAC9C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,mCAAmC,GAAG;QAC7C,GAAG,EAAE,sBAAsB,CAAC,MAAM,CAAC;KACtC,CAAC;CACL;AACD;;;GAGG;AACH,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,iCAAiC,IAMzE,IAAI,WAAW,0DAM1B"}
@@ -1,298 +0,0 @@
1
- /**************************************************************
2
- * THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED *
3
- **************************************************************/
4
- /**
5
- * A release's record production — its _Pressing_.
6
- *
7
- * A release has exactly one pressing, and the pressing is one uncapped run of
8
- * records: every copy ever made draws its number from this single counter,
9
- * forever. There are no editions, no supply caps, and no sold-out state — scarcity
10
- * on Miso is what a record _accrues_ (playtime above all), not how few of it were
11
- * printed. The pressing owns two things and only two things: the **run** the
12
- * records number against, and the **switch** that stops it.
13
- *
14
- * ```text
15
- * Release
16
- * └─ Pressing the run, and when it sells at all PressingKey()
17
- * ├─ PressingAdminCap authority over price and state PressingAdminCapKey()
18
- * ├─ Listing<SUI> what it costs in one currency ListingKey<SUI>()
19
- * └─ Listing<USDC>
20
- * ```
21
- *
22
- * # Everything is address math
23
- *
24
- * A pressing's UID is derived off its release's UID at a singleton key, its admin
25
- * cap's and each listing's off the pressing's, and records off the pressing's at
26
- * their number. So every object in the tree is reachable from the release id
27
- * alone, by pure computation — no registry, no pointer that has to be maintained,
28
- * and no stored set of listings: a listing either exists at its derived address or
29
- * it does not (`listing::has_listing`), and `ListingOpenedEvent<Currency>`
30
- * enumerates them for an indexer. It also makes the number sequence gap-free for
31
- * free, and every record verifiable against its pressing from chain state alone by
32
- * comparing the certificate and derived address.
33
- *
34
- * # Starting and stopping is state, never teardown
35
- *
36
- * Nothing here is ever destroyed, sealed, or wound down — deleting a pressing
37
- * would strand its whole derived subtree, so there is no destructor at all. The
38
- * run's lifecycle is `Scheduled → Active → Paused → Active`: it opens itself at
39
- * its drop moment (no artist transaction, and nobody can buy early), and after
40
- * that the artist stops and starts it at will. The first transition is real, not
41
- * computed — the first sale past the start rewrites `Scheduled` to `Active` inside
42
- * `mint_next`, which is why `Scheduled` only ever describes a run still waiting.
43
- * Below it, each listing's `Enabled | Disabled` governs one currency. A run that
44
- * is paused or not yet open sells in no currency, whatever the listings say.
45
- *
46
- * There is no end state and no expiry: an uncapped, permanent run has nothing to
47
- * count down to, and a time-limited sale is scarcity theater this design rejects.
48
- * An artist ending a campaign pauses it.
49
- *
50
- * # Authority
51
- *
52
- * Opening a pressing needs the release's `ReleaseAdminCap`, enforced by the
53
- * protocol's `release::uid_mut`, and hands back a `PressingAdminCap`. Everything
54
- * after that — pricing, pausing, opening listings — authorizes against the
55
- * pressing cap alone.
56
- *
57
- * The split is deliberate and it is about money, not tidiness. `ReleaseAdminCap`
58
- * yields `release::uid_mut`, and `balance::withdraw_funds_from_object` is gated on
59
- * `&mut UID` alone — so the release cap can withdraw the sales revenue that `buy`
60
- * forwards to the release's address. Under one cap, "may reprice a listing" and
61
- * "may take the money" would be the same grant. The caps may be held together. If
62
- * separated, the pressing cap remains issuance authority: it controls listing
63
- * creation, price, and availability, but cannot withdraw revenue.
64
- */
65
- import { MoveTuple, MoveEnum, MoveStruct, normalizeMoveArguments } from '../utils/index.js';
66
- import { bcs } from '@mysten/sui/bcs';
67
- import {} from '@mysten/sui/transactions';
68
- const $moduleName = '@local-pkg/miso_pressing::pressing';
69
- export const PressingKey = new MoveTuple({ name: `${$moduleName}::PressingKey`, fields: [bcs.bool()] });
70
- export const PressingAdminCapKey = new MoveTuple({ name: `${$moduleName}::PressingAdminCapKey`, fields: [bcs.bool()] });
71
- /**
72
- * Whether the run sells, over every currency at once. The lifecycle runs
73
- * `Scheduled → Active → Paused → Active`: a pressing opens itself at its drop
74
- * moment, then the artist stops and starts it at will.
75
- */
76
- export const PressingState = new MoveEnum({ name: `${$moduleName}::PressingState`, fields: {
77
- /**
78
- * Opens the moment the clock passes `start_timestamp_ms` (Unix ms), with no
79
- * further action from anyone. A start already in the past sells now.
80
- *
81
- * This is a _transitional_ state: the first sale past the start rewrites it to
82
- * `Active` (in `mint_next`, before any sales logic), so a run reads `Scheduled`
83
- * only while it is still waiting. Between the start and that first sale the run
84
- * already sells — `is_selling` answers against the clock — so nobody has to go
85
- * first for the drop to be open.
86
- *
87
- * Consequence worth knowing: once the transition fires the start time is gone from
88
- * the object. `PressingOpenedEvent` and `PressingStateChangedEvent` carry it, so
89
- * "when was this run scheduled for" is an event-log question, not an object read.
90
- */
91
- Scheduled: new MoveStruct({ name: `PressingState.Scheduled`, fields: {
92
- start_timestamp_ms: bcs.u64()
93
- } }),
94
- /** Selling, subject to each listing's own state. */
95
- Active: null,
96
- /** Selling in no currency, whatever the listings say. */
97
- Paused: null
98
- } });
99
- export const Pressing = new MoveStruct({ name: `${$moduleName}::Pressing`, fields: {
100
- id: bcs.Address,
101
- /** The release these records are copies of. */
102
- release_id: bcs.Address,
103
- /** Whether the run sells at all, in any currency. */
104
- state: PressingState,
105
- /**
106
- * Records pressed so far; also the most recent number. Read on every mint — this
107
- * is the sequence itself, not a statistic.
108
- */
109
- supply: bcs.u64()
110
- } });
111
- export const PressingAdminCap = new MoveStruct({ name: `${$moduleName}::PressingAdminCap`, fields: {
112
- id: bcs.Address,
113
- /** The pressing this cap controls. Every mutator asserts against it. */
114
- pressing_id: bcs.Address
115
- } });
116
- export const PressingOpenedEvent = new MoveStruct({ name: `${$moduleName}::PressingOpenedEvent`, fields: {
117
- pressing_id: bcs.Address,
118
- release_id: bcs.Address,
119
- state: PressingState
120
- } });
121
- export const PressingStateChangedEvent = new MoveStruct({ name: `${$moduleName}::PressingStateChangedEvent`, fields: {
122
- pressing_id: bcs.Address,
123
- state: PressingState
124
- } });
125
- /** The scheduled state: the run opens itself at `start_timestamp_ms` (Unix ms). */
126
- export function newScheduledState(options) {
127
- const packageAddress = options.package ?? '@local-pkg/miso_pressing';
128
- const argumentsTypes = [
129
- 'u64'
130
- ];
131
- const parameterNames = ["startTimestampMs"];
132
- return (tx) => tx.moveCall({
133
- package: packageAddress,
134
- module: 'pressing',
135
- function: 'new_scheduled_state',
136
- arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
137
- });
138
- }
139
- /** The active state: the run sells, subject to each listing's own state. */
140
- export function newActiveState(options = {}) {
141
- const packageAddress = options.package ?? '@local-pkg/miso_pressing';
142
- return (tx) => tx.moveCall({
143
- package: packageAddress,
144
- module: 'pressing',
145
- function: 'new_active_state',
146
- });
147
- }
148
- /** The paused state: the run sells in no currency. */
149
- export function newPausedState(options = {}) {
150
- const packageAddress = options.package ?? '@local-pkg/miso_pressing';
151
- return (tx) => tx.moveCall({
152
- package: packageAddress,
153
- module: 'pressing',
154
- function: 'new_paused_state',
155
- });
156
- }
157
- /**
158
- * Open a release's pressing in `state` — `Scheduled` for a drop moment, `Active`
159
- * to sell immediately, `Paused` to set it up quietly. Returns it unshared, so the
160
- * same transaction can list it (`listing::new`) before `share` puts it on chain,
161
- * plus the cap that governs it from here on. Neither value has `drop`, so neither
162
- * can be lost by forgetting.
163
- *
164
- * Claim-once on `PressingKey()` means a release's pressing can only ever be opened
165
- * here, exactly once; calling this twice for the same release aborts.
166
- */
167
- export function _new(options) {
168
- const packageAddress = options.package ?? '@local-pkg/miso_pressing';
169
- const argumentsTypes = [
170
- null,
171
- null,
172
- null
173
- ];
174
- const parameterNames = ["release", "cap", "state"];
175
- return (tx) => tx.moveCall({
176
- package: packageAddress,
177
- module: 'pressing',
178
- function: 'new',
179
- arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
180
- });
181
- }
182
- /**
183
- * Put the pressing on chain. `new` hands back an unshared `Pressing` so the same
184
- * transaction can list it first; this is the last call in that sequence.
185
- */
186
- export function share(options) {
187
- const packageAddress = options.package ?? '@local-pkg/miso_pressing';
188
- const argumentsTypes = [
189
- null
190
- ];
191
- const parameterNames = ["self"];
192
- return (tx) => tx.moveCall({
193
- package: packageAddress,
194
- module: 'pressing',
195
- function: 'share',
196
- arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
197
- });
198
- }
199
- /**
200
- * Move the run between its three modes — schedule it, open it, stop it. Takes
201
- * effect across every currency at once, regardless of any listing's own state.
202
- */
203
- export function setState(options) {
204
- const packageAddress = options.package ?? '@local-pkg/miso_pressing';
205
- const argumentsTypes = [
206
- null,
207
- null,
208
- null
209
- ];
210
- const parameterNames = ["self", "cap", "state"];
211
- return (tx) => tx.moveCall({
212
- package: packageAddress,
213
- module: 'pressing',
214
- function: 'set_state',
215
- arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
216
- });
217
- }
218
- /**
219
- * The address `release_id`'s pressing occupies — pure address math, computable
220
- * before the pressing has been opened.
221
- */
222
- export function deriveId(options) {
223
- const packageAddress = options.package ?? '@local-pkg/miso_pressing';
224
- const argumentsTypes = [
225
- '0x2::object::ID'
226
- ];
227
- const parameterNames = ["releaseId"];
228
- return (tx) => tx.moveCall({
229
- package: packageAddress,
230
- module: 'pressing',
231
- function: 'derive_id',
232
- arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
233
- });
234
- }
235
- export function releaseId(options) {
236
- const packageAddress = options.package ?? '@local-pkg/miso_pressing';
237
- const argumentsTypes = [
238
- null
239
- ];
240
- const parameterNames = ["self"];
241
- return (tx) => tx.moveCall({
242
- package: packageAddress,
243
- module: 'pressing',
244
- function: 'release_id',
245
- arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
246
- });
247
- }
248
- /** Records pressed so far; also the most recent number. */
249
- export function supply(options) {
250
- const packageAddress = options.package ?? '@local-pkg/miso_pressing';
251
- const argumentsTypes = [
252
- null
253
- ];
254
- const parameterNames = ["self"];
255
- return (tx) => tx.moveCall({
256
- package: packageAddress,
257
- module: 'pressing',
258
- function: 'supply',
259
- arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
260
- });
261
- }
262
- /**
263
- * Whether the run sells _right now_ — the question `buy` actually asks.
264
- * `Scheduled` answers it against the clock, so a run past its start that has not
265
- * yet had a sale to settle it reads as selling, which it is.
266
- */
267
- export function isSelling(options) {
268
- const packageAddress = options.package ?? '@local-pkg/miso_pressing';
269
- const argumentsTypes = [
270
- null,
271
- '0x2::clock::Clock'
272
- ];
273
- const parameterNames = ["self"];
274
- return (tx) => tx.moveCall({
275
- package: packageAddress,
276
- module: 'pressing',
277
- function: 'is_selling',
278
- arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
279
- });
280
- }
281
- /**
282
- * The pressing this cap controls. Public so a custody layer holding the cap can
283
- * tell what it governs without the `Pressing` object.
284
- */
285
- export function pressingAdminCapPressingId(options) {
286
- const packageAddress = options.package ?? '@local-pkg/miso_pressing';
287
- const argumentsTypes = [
288
- null
289
- ];
290
- const parameterNames = ["cap"];
291
- return (tx) => tx.moveCall({
292
- package: packageAddress,
293
- module: 'pressing',
294
- function: 'pressing_admin_cap_pressing_id',
295
- arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
296
- });
297
- }
298
- //# sourceMappingURL=pressing.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pressing.js","sourceRoot":"","sources":["../../../src/contracts/miso_pressing/pressing.ts"],"names":[],"mappings":"AAAA;;gEAEgE;AAGhE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;AAEH,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,sBAAsB,EAA+B,MAAM,mBAAmB,CAAC;AACzH,OAAO,EAAE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Ac,EAAE,cAAc,CAAC;KACvF,CAAC,CAAC;AACP,CAAC;AAUD;;;GAGG;AACH,MAAM,UAAU,0BAA0B,CAAC,OAA0C;IACjF,MAAM,cAAc,GAAG,OAAO,CAAC,OAAO,IAAI,0BAA0B,CAAC;IACrE,MAAM,cAAc,GAAG;QACnB,IAAI;KACqB,CAAC;IAC9B,MAAM,cAAc,GAAG,CAAC,KAAK,CAAC,CAAC;IAC/B,OAAO,CAAC,EAAe,EAAE,EAAE,CAAC,EAAE,CAAC,QAAQ,CAAC;QACpC,OAAO,EAAE,cAAc;QACvB,MAAM,EAAE,UAAU;QAClB,QAAQ,EAAE,gCAAgC;QAC1C,SAAS,EAAE,sBAAsB,CAAC,OAAO,CAAC,SAAS,EAAE,cAAc,EAAE,cAAc,CAAC;KACvF,CAAC,CAAC;AACP,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"witness.d.ts","sourceRoot":"","sources":["../../../src/contracts/party_wallet/witness.ts"],"names":[],"mappings":"AAAA;;gEAEgE;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAG9C,eAAO,MAAM,OAAO,gIAA2E,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"witness.js","sourceRoot":"","sources":["../../../src/contracts/party_wallet/witness.ts"],"names":[],"mappings":"AAAA;;gEAEgE;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AACtC,MAAM,WAAW,GAAG,kCAAkC,CAAC;AACvD,MAAM,CAAC,MAAM,OAAO,GAAG,IAAI,SAAS,CAAC,EAAE,IAAI,EAAE,GAAG,WAAW,WAAW,EAAE,MAAM,EAAE,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC,EAAE,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"witness.d.ts","sourceRoot":"","sources":["../../../src/contracts/recording_royalty_pool/witness.ts"],"names":[],"mappings":"AAAA;;gEAEgE;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAG9C,eAAO,MAAM,OAAO,0IAA2E,CAAC"}