@macalinao/clients-mpl-core 0.2.0 → 0.3.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 (745) hide show
  1. package/dist/generated/accounts/assetV1.d.ts +30 -33
  2. package/dist/generated/accounts/assetV1.d.ts.map +1 -1
  3. package/dist/generated/accounts/assetV1.js +41 -45
  4. package/dist/generated/accounts/assetV1.js.map +1 -1
  5. package/dist/generated/accounts/collectionV1.d.ts +29 -33
  6. package/dist/generated/accounts/collectionV1.d.ts.map +1 -1
  7. package/dist/generated/accounts/collectionV1.js +40 -45
  8. package/dist/generated/accounts/collectionV1.js.map +1 -1
  9. package/dist/generated/accounts/groupV1.d.ts +33 -37
  10. package/dist/generated/accounts/groupV1.d.ts.map +1 -1
  11. package/dist/generated/accounts/groupV1.js +44 -49
  12. package/dist/generated/accounts/groupV1.js.map +1 -1
  13. package/dist/generated/accounts/hashedAssetV1.d.ts +21 -25
  14. package/dist/generated/accounts/hashedAssetV1.d.ts.map +1 -1
  15. package/dist/generated/accounts/hashedAssetV1.js +26 -37
  16. package/dist/generated/accounts/hashedAssetV1.js.map +1 -1
  17. package/dist/generated/accounts/index.d.ts +6 -14
  18. package/dist/generated/accounts/pluginHeaderV1.d.ts +21 -25
  19. package/dist/generated/accounts/pluginHeaderV1.d.ts.map +1 -1
  20. package/dist/generated/accounts/pluginHeaderV1.js +26 -37
  21. package/dist/generated/accounts/pluginHeaderV1.js.map +1 -1
  22. package/dist/generated/accounts/pluginRegistryV1.d.ts +25 -27
  23. package/dist/generated/accounts/pluginRegistryV1.d.ts.map +1 -1
  24. package/dist/generated/accounts/pluginRegistryV1.js +36 -39
  25. package/dist/generated/accounts/pluginRegistryV1.js.map +1 -1
  26. package/dist/generated/errors/index.d.ts +1 -9
  27. package/dist/generated/errors/mplCoreProgram.d.ts +71 -74
  28. package/dist/generated/errors/mplCoreProgram.d.ts.map +1 -1
  29. package/dist/generated/errors/mplCoreProgram.js +126 -133
  30. package/dist/generated/errors/mplCoreProgram.js.map +1 -1
  31. package/dist/generated/index.d.ts +167 -13
  32. package/dist/generated/instructions/addAssetsToGroupV1.d.ts +40 -53
  33. package/dist/generated/instructions/addAssetsToGroupV1.d.ts.map +1 -1
  34. package/dist/generated/instructions/addAssetsToGroupV1.js +77 -86
  35. package/dist/generated/instructions/addAssetsToGroupV1.js.map +1 -1
  36. package/dist/generated/instructions/addCollectionExternalPluginAdapterV1.d.ts +43 -58
  37. package/dist/generated/instructions/addCollectionExternalPluginAdapterV1.d.ts.map +1 -1
  38. package/dist/generated/instructions/addCollectionExternalPluginAdapterV1.js +83 -95
  39. package/dist/generated/instructions/addCollectionExternalPluginAdapterV1.js.map +1 -1
  40. package/dist/generated/instructions/addCollectionPluginV1.d.ts +43 -58
  41. package/dist/generated/instructions/addCollectionPluginV1.d.ts.map +1 -1
  42. package/dist/generated/instructions/addCollectionPluginV1.js +83 -89
  43. package/dist/generated/instructions/addCollectionPluginV1.js.map +1 -1
  44. package/dist/generated/instructions/addCollectionsToGroupV1.d.ts +40 -53
  45. package/dist/generated/instructions/addCollectionsToGroupV1.d.ts.map +1 -1
  46. package/dist/generated/instructions/addCollectionsToGroupV1.js +77 -86
  47. package/dist/generated/instructions/addCollectionsToGroupV1.js.map +1 -1
  48. package/dist/generated/instructions/addExternalPluginAdapterV1.d.ts +46 -63
  49. package/dist/generated/instructions/addExternalPluginAdapterV1.d.ts.map +1 -1
  50. package/dist/generated/instructions/addExternalPluginAdapterV1.js +89 -98
  51. package/dist/generated/instructions/addExternalPluginAdapterV1.js.map +1 -1
  52. package/dist/generated/instructions/addGroupsToGroupV1.d.ts +40 -53
  53. package/dist/generated/instructions/addGroupsToGroupV1.d.ts.map +1 -1
  54. package/dist/generated/instructions/addGroupsToGroupV1.js +77 -86
  55. package/dist/generated/instructions/addGroupsToGroupV1.js.map +1 -1
  56. package/dist/generated/instructions/addPluginV1.d.ts +46 -63
  57. package/dist/generated/instructions/addPluginV1.d.ts.map +1 -1
  58. package/dist/generated/instructions/addPluginV1.js +89 -89
  59. package/dist/generated/instructions/addPluginV1.js.map +1 -1
  60. package/dist/generated/instructions/approveCollectionPluginAuthorityV1.d.ts +43 -58
  61. package/dist/generated/instructions/approveCollectionPluginAuthorityV1.d.ts.map +1 -1
  62. package/dist/generated/instructions/approveCollectionPluginAuthorityV1.js +83 -95
  63. package/dist/generated/instructions/approveCollectionPluginAuthorityV1.js.map +1 -1
  64. package/dist/generated/instructions/approvePluginAuthorityV1.d.ts +46 -63
  65. package/dist/generated/instructions/approvePluginAuthorityV1.d.ts.map +1 -1
  66. package/dist/generated/instructions/approvePluginAuthorityV1.js +89 -95
  67. package/dist/generated/instructions/approvePluginAuthorityV1.js.map +1 -1
  68. package/dist/generated/instructions/burnCollectionV1.d.ts +40 -53
  69. package/dist/generated/instructions/burnCollectionV1.d.ts.map +1 -1
  70. package/dist/generated/instructions/burnCollectionV1.js +76 -78
  71. package/dist/generated/instructions/burnCollectionV1.js.map +1 -1
  72. package/dist/generated/instructions/burnV1.d.ts +46 -63
  73. package/dist/generated/instructions/burnV1.d.ts.map +1 -1
  74. package/dist/generated/instructions/burnV1.js +88 -84
  75. package/dist/generated/instructions/burnV1.js.map +1 -1
  76. package/dist/generated/instructions/closeGroupV1.d.ts +37 -48
  77. package/dist/generated/instructions/closeGroupV1.d.ts.map +1 -1
  78. package/dist/generated/instructions/closeGroupV1.js +70 -75
  79. package/dist/generated/instructions/closeGroupV1.js.map +1 -1
  80. package/dist/generated/instructions/collect.d.ts +30 -39
  81. package/dist/generated/instructions/collect.d.ts.map +1 -1
  82. package/dist/generated/instructions/collect.js +55 -54
  83. package/dist/generated/instructions/collect.js.map +1 -1
  84. package/dist/generated/instructions/compressV1.d.ts +46 -63
  85. package/dist/generated/instructions/compressV1.d.ts.map +1 -1
  86. package/dist/generated/instructions/compressV1.js +89 -89
  87. package/dist/generated/instructions/compressV1.js.map +1 -1
  88. package/dist/generated/instructions/createCollectionV1.d.ts +40 -53
  89. package/dist/generated/instructions/createCollectionV1.d.ts.map +1 -1
  90. package/dist/generated/instructions/createCollectionV1.js +77 -89
  91. package/dist/generated/instructions/createCollectionV1.js.map +1 -1
  92. package/dist/generated/instructions/createCollectionV2.d.ts +40 -53
  93. package/dist/generated/instructions/createCollectionV2.d.ts.map +1 -1
  94. package/dist/generated/instructions/createCollectionV2.js +77 -89
  95. package/dist/generated/instructions/createCollectionV2.js.map +1 -1
  96. package/dist/generated/instructions/createGroupV1.d.ts +40 -53
  97. package/dist/generated/instructions/createGroupV1.d.ts.map +1 -1
  98. package/dist/generated/instructions/createGroupV1.js +77 -86
  99. package/dist/generated/instructions/createGroupV1.js.map +1 -1
  100. package/dist/generated/instructions/createV1.d.ts +52 -73
  101. package/dist/generated/instructions/createV1.d.ts.map +1 -1
  102. package/dist/generated/instructions/createV1.js +101 -98
  103. package/dist/generated/instructions/createV1.js.map +1 -1
  104. package/dist/generated/instructions/createV2.d.ts +52 -73
  105. package/dist/generated/instructions/createV2.d.ts.map +1 -1
  106. package/dist/generated/instructions/createV2.js +101 -98
  107. package/dist/generated/instructions/createV2.js.map +1 -1
  108. package/dist/generated/instructions/decompressV1.d.ts +46 -63
  109. package/dist/generated/instructions/decompressV1.d.ts.map +1 -1
  110. package/dist/generated/instructions/decompressV1.js +89 -89
  111. package/dist/generated/instructions/decompressV1.js.map +1 -1
  112. package/dist/generated/instructions/executeV1.d.ts +69 -68
  113. package/dist/generated/instructions/executeV1.d.ts.map +1 -1
  114. package/dist/generated/instructions/executeV1.js +155 -97
  115. package/dist/generated/instructions/executeV1.js.map +1 -1
  116. package/dist/generated/instructions/index.d.ts +42 -50
  117. package/dist/generated/instructions/removeAssetsFromGroupV1.d.ts +40 -53
  118. package/dist/generated/instructions/removeAssetsFromGroupV1.d.ts.map +1 -1
  119. package/dist/generated/instructions/removeAssetsFromGroupV1.js +77 -86
  120. package/dist/generated/instructions/removeAssetsFromGroupV1.js.map +1 -1
  121. package/dist/generated/instructions/removeCollectionExternalPluginAdapterV1.d.ts +43 -58
  122. package/dist/generated/instructions/removeCollectionExternalPluginAdapterV1.d.ts.map +1 -1
  123. package/dist/generated/instructions/removeCollectionExternalPluginAdapterV1.js +83 -95
  124. package/dist/generated/instructions/removeCollectionExternalPluginAdapterV1.js.map +1 -1
  125. package/dist/generated/instructions/removeCollectionPluginV1.d.ts +43 -58
  126. package/dist/generated/instructions/removeCollectionPluginV1.d.ts.map +1 -1
  127. package/dist/generated/instructions/removeCollectionPluginV1.js +83 -92
  128. package/dist/generated/instructions/removeCollectionPluginV1.js.map +1 -1
  129. package/dist/generated/instructions/removeCollectionsFromGroupV1.d.ts +40 -53
  130. package/dist/generated/instructions/removeCollectionsFromGroupV1.d.ts.map +1 -1
  131. package/dist/generated/instructions/removeCollectionsFromGroupV1.js +77 -92
  132. package/dist/generated/instructions/removeCollectionsFromGroupV1.js.map +1 -1
  133. package/dist/generated/instructions/removeExternalPluginAdapterV1.d.ts +46 -63
  134. package/dist/generated/instructions/removeExternalPluginAdapterV1.d.ts.map +1 -1
  135. package/dist/generated/instructions/removeExternalPluginAdapterV1.js +89 -98
  136. package/dist/generated/instructions/removeExternalPluginAdapterV1.js.map +1 -1
  137. package/dist/generated/instructions/removeGroupsFromGroupV1.d.ts +40 -53
  138. package/dist/generated/instructions/removeGroupsFromGroupV1.d.ts.map +1 -1
  139. package/dist/generated/instructions/removeGroupsFromGroupV1.js +77 -86
  140. package/dist/generated/instructions/removeGroupsFromGroupV1.js.map +1 -1
  141. package/dist/generated/instructions/removePluginV1.d.ts +46 -63
  142. package/dist/generated/instructions/removePluginV1.d.ts.map +1 -1
  143. package/dist/generated/instructions/removePluginV1.js +89 -89
  144. package/dist/generated/instructions/removePluginV1.js.map +1 -1
  145. package/dist/generated/instructions/revokeCollectionPluginAuthorityV1.d.ts +43 -58
  146. package/dist/generated/instructions/revokeCollectionPluginAuthorityV1.d.ts.map +1 -1
  147. package/dist/generated/instructions/revokeCollectionPluginAuthorityV1.js +83 -95
  148. package/dist/generated/instructions/revokeCollectionPluginAuthorityV1.js.map +1 -1
  149. package/dist/generated/instructions/revokePluginAuthorityV1.d.ts +46 -63
  150. package/dist/generated/instructions/revokePluginAuthorityV1.d.ts.map +1 -1
  151. package/dist/generated/instructions/revokePluginAuthorityV1.js +89 -92
  152. package/dist/generated/instructions/revokePluginAuthorityV1.js.map +1 -1
  153. package/dist/generated/instructions/transferV1.d.ts +49 -68
  154. package/dist/generated/instructions/transferV1.d.ts.map +1 -1
  155. package/dist/generated/instructions/transferV1.js +94 -87
  156. package/dist/generated/instructions/transferV1.js.map +1 -1
  157. package/dist/generated/instructions/updateCollectionExternalPluginAdapterV1.d.ts +43 -58
  158. package/dist/generated/instructions/updateCollectionExternalPluginAdapterV1.d.ts.map +1 -1
  159. package/dist/generated/instructions/updateCollectionExternalPluginAdapterV1.js +83 -95
  160. package/dist/generated/instructions/updateCollectionExternalPluginAdapterV1.js.map +1 -1
  161. package/dist/generated/instructions/updateCollectionInfoV1.d.ts +34 -43
  162. package/dist/generated/instructions/updateCollectionInfoV1.d.ts.map +1 -1
  163. package/dist/generated/instructions/updateCollectionInfoV1.js +57 -72
  164. package/dist/generated/instructions/updateCollectionInfoV1.js.map +1 -1
  165. package/dist/generated/instructions/updateCollectionPluginV1.d.ts +43 -58
  166. package/dist/generated/instructions/updateCollectionPluginV1.d.ts.map +1 -1
  167. package/dist/generated/instructions/updateCollectionPluginV1.js +83 -92
  168. package/dist/generated/instructions/updateCollectionPluginV1.js.map +1 -1
  169. package/dist/generated/instructions/updateCollectionV1.d.ts +46 -63
  170. package/dist/generated/instructions/updateCollectionV1.d.ts.map +1 -1
  171. package/dist/generated/instructions/updateCollectionV1.js +89 -95
  172. package/dist/generated/instructions/updateCollectionV1.js.map +1 -1
  173. package/dist/generated/instructions/updateExternalPluginAdapterV1.d.ts +46 -63
  174. package/dist/generated/instructions/updateExternalPluginAdapterV1.d.ts.map +1 -1
  175. package/dist/generated/instructions/updateExternalPluginAdapterV1.js +89 -98
  176. package/dist/generated/instructions/updateExternalPluginAdapterV1.js.map +1 -1
  177. package/dist/generated/instructions/updateGroupV1.d.ts +43 -58
  178. package/dist/generated/instructions/updateGroupV1.d.ts.map +1 -1
  179. package/dist/generated/instructions/updateGroupV1.js +83 -89
  180. package/dist/generated/instructions/updateGroupV1.js.map +1 -1
  181. package/dist/generated/instructions/updatePluginV1.d.ts +46 -63
  182. package/dist/generated/instructions/updatePluginV1.d.ts.map +1 -1
  183. package/dist/generated/instructions/updatePluginV1.js +89 -89
  184. package/dist/generated/instructions/updatePluginV1.js.map +1 -1
  185. package/dist/generated/instructions/updateV1.d.ts +46 -63
  186. package/dist/generated/instructions/updateV1.d.ts.map +1 -1
  187. package/dist/generated/instructions/updateV1.js +89 -89
  188. package/dist/generated/instructions/updateV1.js.map +1 -1
  189. package/dist/generated/instructions/updateV2.d.ts +49 -68
  190. package/dist/generated/instructions/updateV2.d.ts.map +1 -1
  191. package/dist/generated/instructions/updateV2.js +95 -92
  192. package/dist/generated/instructions/updateV2.js.map +1 -1
  193. package/dist/generated/instructions/writeCollectionExternalPluginAdapterDataV1.d.ts +46 -63
  194. package/dist/generated/instructions/writeCollectionExternalPluginAdapterDataV1.d.ts.map +1 -1
  195. package/dist/generated/instructions/writeCollectionExternalPluginAdapterDataV1.js +89 -98
  196. package/dist/generated/instructions/writeCollectionExternalPluginAdapterDataV1.js.map +1 -1
  197. package/dist/generated/instructions/writeExternalPluginAdapterDataV1.d.ts +49 -68
  198. package/dist/generated/instructions/writeExternalPluginAdapterDataV1.d.ts.map +1 -1
  199. package/dist/generated/instructions/writeExternalPluginAdapterDataV1.js +95 -101
  200. package/dist/generated/instructions/writeExternalPluginAdapterDataV1.js.map +1 -1
  201. package/dist/generated/pdas/assetSigner.d.ts +14 -0
  202. package/dist/generated/pdas/assetSigner.d.ts.map +1 -0
  203. package/dist/generated/pdas/assetSigner.js +14 -0
  204. package/dist/generated/pdas/assetSigner.js.map +1 -0
  205. package/dist/generated/pdas/index.d.ts +1 -0
  206. package/dist/generated/programs/index.d.ts +1 -9
  207. package/dist/generated/programs/mplCoreProgram.d.ts +212 -167
  208. package/dist/generated/programs/mplCoreProgram.d.ts.map +1 -1
  209. package/dist/generated/programs/mplCoreProgram.js +596 -677
  210. package/dist/generated/programs/mplCoreProgram.js.map +1 -1
  211. package/dist/generated/types/addAssetsToGroupV1Args.d.ts +10 -13
  212. package/dist/generated/types/addAssetsToGroupV1Args.d.ts.map +1 -1
  213. package/dist/generated/types/addAssetsToGroupV1Args.js +10 -13
  214. package/dist/generated/types/addAssetsToGroupV1Args.js.map +1 -1
  215. package/dist/generated/types/addBlocker.d.ts +10 -13
  216. package/dist/generated/types/addBlocker.d.ts.map +1 -1
  217. package/dist/generated/types/addBlocker.js +10 -13
  218. package/dist/generated/types/addBlocker.js.map +1 -1
  219. package/dist/generated/types/addCollectionExternalPluginAdapterV1Args.d.ts +13 -16
  220. package/dist/generated/types/addCollectionExternalPluginAdapterV1Args.d.ts.map +1 -1
  221. package/dist/generated/types/addCollectionExternalPluginAdapterV1Args.js +11 -18
  222. package/dist/generated/types/addCollectionExternalPluginAdapterV1Args.js.map +1 -1
  223. package/dist/generated/types/addCollectionPluginV1Args.d.ts +16 -18
  224. package/dist/generated/types/addCollectionPluginV1Args.d.ts.map +1 -1
  225. package/dist/generated/types/addCollectionPluginV1Args.js +13 -21
  226. package/dist/generated/types/addCollectionPluginV1Args.js.map +1 -1
  227. package/dist/generated/types/addCollectionsToGroupV1Args.d.ts +10 -13
  228. package/dist/generated/types/addCollectionsToGroupV1Args.d.ts.map +1 -1
  229. package/dist/generated/types/addCollectionsToGroupV1Args.js +10 -13
  230. package/dist/generated/types/addCollectionsToGroupV1Args.js.map +1 -1
  231. package/dist/generated/types/addExternalPluginAdapterV1Args.d.ts +13 -16
  232. package/dist/generated/types/addExternalPluginAdapterV1Args.d.ts.map +1 -1
  233. package/dist/generated/types/addExternalPluginAdapterV1Args.js +11 -18
  234. package/dist/generated/types/addExternalPluginAdapterV1Args.js.map +1 -1
  235. package/dist/generated/types/addGroupsToGroupV1Args.d.ts +11 -14
  236. package/dist/generated/types/addGroupsToGroupV1Args.d.ts.map +1 -1
  237. package/dist/generated/types/addGroupsToGroupV1Args.js +11 -14
  238. package/dist/generated/types/addGroupsToGroupV1Args.js.map +1 -1
  239. package/dist/generated/types/addPluginV1Args.d.ts +16 -18
  240. package/dist/generated/types/addPluginV1Args.d.ts.map +1 -1
  241. package/dist/generated/types/addPluginV1Args.js +13 -21
  242. package/dist/generated/types/addPluginV1Args.js.map +1 -1
  243. package/dist/generated/types/agentIdentity.d.ts +11 -14
  244. package/dist/generated/types/agentIdentity.d.ts.map +1 -1
  245. package/dist/generated/types/agentIdentity.js +11 -18
  246. package/dist/generated/types/agentIdentity.js.map +1 -1
  247. package/dist/generated/types/agentIdentityInitInfo.d.ts +19 -20
  248. package/dist/generated/types/agentIdentityInitInfo.d.ts.map +1 -1
  249. package/dist/generated/types/agentIdentityInitInfo.js +22 -35
  250. package/dist/generated/types/agentIdentityInitInfo.js.map +1 -1
  251. package/dist/generated/types/agentIdentityUpdateInfo.d.ts +16 -18
  252. package/dist/generated/types/agentIdentityUpdateInfo.d.ts.map +1 -1
  253. package/dist/generated/types/agentIdentityUpdateInfo.js +13 -39
  254. package/dist/generated/types/agentIdentityUpdateInfo.js.map +1 -1
  255. package/dist/generated/types/appData.d.ts +16 -18
  256. package/dist/generated/types/appData.d.ts.map +1 -1
  257. package/dist/generated/types/appData.js +12 -20
  258. package/dist/generated/types/appData.js.map +1 -1
  259. package/dist/generated/types/appDataInitInfo.d.ts +18 -20
  260. package/dist/generated/types/appDataInitInfo.d.ts.map +1 -1
  261. package/dist/generated/types/appDataInitInfo.js +21 -23
  262. package/dist/generated/types/appDataInitInfo.js.map +1 -1
  263. package/dist/generated/types/appDataUpdateInfo.d.ts +13 -16
  264. package/dist/generated/types/appDataUpdateInfo.d.ts.map +1 -1
  265. package/dist/generated/types/appDataUpdateInfo.js +12 -19
  266. package/dist/generated/types/appDataUpdateInfo.js.map +1 -1
  267. package/dist/generated/types/approveCollectionPluginAuthorityV1Args.d.ts +16 -18
  268. package/dist/generated/types/approveCollectionPluginAuthorityV1Args.d.ts.map +1 -1
  269. package/dist/generated/types/approveCollectionPluginAuthorityV1Args.js +12 -20
  270. package/dist/generated/types/approveCollectionPluginAuthorityV1Args.js.map +1 -1
  271. package/dist/generated/types/approvePluginAuthorityV1Args.d.ts +16 -18
  272. package/dist/generated/types/approvePluginAuthorityV1Args.d.ts.map +1 -1
  273. package/dist/generated/types/approvePluginAuthorityV1Args.js +12 -20
  274. package/dist/generated/types/approvePluginAuthorityV1Args.js.map +1 -1
  275. package/dist/generated/types/attribute.d.ts +12 -15
  276. package/dist/generated/types/attribute.d.ts.map +1 -1
  277. package/dist/generated/types/attribute.js +11 -20
  278. package/dist/generated/types/attribute.js.map +1 -1
  279. package/dist/generated/types/attributes.d.ts +13 -16
  280. package/dist/generated/types/attributes.d.ts.map +1 -1
  281. package/dist/generated/types/attributes.js +12 -19
  282. package/dist/generated/types/attributes.js.map +1 -1
  283. package/dist/generated/types/authority.d.ts +21 -24
  284. package/dist/generated/types/authority.d.ts.map +1 -1
  285. package/dist/generated/types/authority.js +31 -30
  286. package/dist/generated/types/authority.js.map +1 -1
  287. package/dist/generated/types/autograph.d.ts +13 -16
  288. package/dist/generated/types/autograph.d.ts.map +1 -1
  289. package/dist/generated/types/autograph.js +12 -19
  290. package/dist/generated/types/autograph.js.map +1 -1
  291. package/dist/generated/types/autographSignature.d.ts +12 -15
  292. package/dist/generated/types/autographSignature.d.ts.map +1 -1
  293. package/dist/generated/types/autographSignature.js +11 -20
  294. package/dist/generated/types/autographSignature.js.map +1 -1
  295. package/dist/generated/types/bubblegumV2.d.ts +10 -13
  296. package/dist/generated/types/bubblegumV2.d.ts.map +1 -1
  297. package/dist/generated/types/bubblegumV2.js +10 -13
  298. package/dist/generated/types/bubblegumV2.js.map +1 -1
  299. package/dist/generated/types/burnCollectionV1Args.d.ts +13 -16
  300. package/dist/generated/types/burnCollectionV1Args.d.ts.map +1 -1
  301. package/dist/generated/types/burnCollectionV1Args.js +12 -19
  302. package/dist/generated/types/burnCollectionV1Args.js.map +1 -1
  303. package/dist/generated/types/burnDelegate.d.ts +10 -13
  304. package/dist/generated/types/burnDelegate.d.ts.map +1 -1
  305. package/dist/generated/types/burnDelegate.js +10 -13
  306. package/dist/generated/types/burnDelegate.js.map +1 -1
  307. package/dist/generated/types/burnV1Args.d.ts +13 -16
  308. package/dist/generated/types/burnV1Args.d.ts.map +1 -1
  309. package/dist/generated/types/burnV1Args.js +12 -19
  310. package/dist/generated/types/burnV1Args.js.map +1 -1
  311. package/dist/generated/types/closeGroupV1Args.d.ts +10 -13
  312. package/dist/generated/types/closeGroupV1Args.d.ts.map +1 -1
  313. package/dist/generated/types/closeGroupV1Args.js +10 -13
  314. package/dist/generated/types/closeGroupV1Args.js.map +1 -1
  315. package/dist/generated/types/compressV1Args.d.ts +10 -13
  316. package/dist/generated/types/compressV1Args.d.ts.map +1 -1
  317. package/dist/generated/types/compressV1Args.js +10 -13
  318. package/dist/generated/types/compressV1Args.js.map +1 -1
  319. package/dist/generated/types/compressionProof.d.ts +24 -26
  320. package/dist/generated/types/compressionProof.d.ts.map +1 -1
  321. package/dist/generated/types/compressionProof.js +27 -29
  322. package/dist/generated/types/compressionProof.js.map +1 -1
  323. package/dist/generated/types/createCollectionV1Args.d.ts +17 -20
  324. package/dist/generated/types/createCollectionV1Args.d.ts.map +1 -1
  325. package/dist/generated/types/createCollectionV1Args.js +20 -29
  326. package/dist/generated/types/createCollectionV1Args.js.map +1 -1
  327. package/dist/generated/types/createCollectionV2Args.d.ts +20 -22
  328. package/dist/generated/types/createCollectionV2Args.d.ts.map +1 -1
  329. package/dist/generated/types/createCollectionV2Args.js +23 -37
  330. package/dist/generated/types/createCollectionV2Args.js.map +1 -1
  331. package/dist/generated/types/createGroupV1Args.d.ts +17 -20
  332. package/dist/generated/types/createGroupV1Args.d.ts.map +1 -1
  333. package/dist/generated/types/createGroupV1Args.js +20 -23
  334. package/dist/generated/types/createGroupV1Args.js.map +1 -1
  335. package/dist/generated/types/createV1Args.d.ts +20 -22
  336. package/dist/generated/types/createV1Args.d.ts.map +1 -1
  337. package/dist/generated/types/createV1Args.js +23 -31
  338. package/dist/generated/types/createV1Args.js.map +1 -1
  339. package/dist/generated/types/createV2Args.d.ts +23 -24
  340. package/dist/generated/types/createV2Args.d.ts.map +1 -1
  341. package/dist/generated/types/createV2Args.js +26 -39
  342. package/dist/generated/types/createV2Args.js.map +1 -1
  343. package/dist/generated/types/creator.d.ts +12 -15
  344. package/dist/generated/types/creator.d.ts.map +1 -1
  345. package/dist/generated/types/creator.js +11 -20
  346. package/dist/generated/types/creator.js.map +1 -1
  347. package/dist/generated/types/dataSection.d.ts +16 -18
  348. package/dist/generated/types/dataSection.d.ts.map +1 -1
  349. package/dist/generated/types/dataSection.js +12 -20
  350. package/dist/generated/types/dataSection.js.map +1 -1
  351. package/dist/generated/types/dataSectionInitInfo.d.ts +16 -18
  352. package/dist/generated/types/dataSectionInitInfo.d.ts.map +1 -1
  353. package/dist/generated/types/dataSectionInitInfo.js +12 -20
  354. package/dist/generated/types/dataSectionInitInfo.js.map +1 -1
  355. package/dist/generated/types/dataSectionUpdateInfo.d.ts +10 -13
  356. package/dist/generated/types/dataSectionUpdateInfo.d.ts.map +1 -1
  357. package/dist/generated/types/dataSectionUpdateInfo.js +10 -13
  358. package/dist/generated/types/dataSectionUpdateInfo.js.map +1 -1
  359. package/dist/generated/types/dataState.d.ts +12 -15
  360. package/dist/generated/types/dataState.d.ts.map +1 -1
  361. package/dist/generated/types/dataState.js +15 -18
  362. package/dist/generated/types/dataState.js.map +1 -1
  363. package/dist/generated/types/decompressV1Args.d.ts +13 -16
  364. package/dist/generated/types/decompressV1Args.d.ts.map +1 -1
  365. package/dist/generated/types/decompressV1Args.js +11 -14
  366. package/dist/generated/types/decompressV1Args.js.map +1 -1
  367. package/dist/generated/types/edition.d.ts +11 -14
  368. package/dist/generated/types/edition.d.ts.map +1 -1
  369. package/dist/generated/types/edition.js +11 -14
  370. package/dist/generated/types/edition.js.map +1 -1
  371. package/dist/generated/types/executeV1Args.d.ts +11 -14
  372. package/dist/generated/types/executeV1Args.d.ts.map +1 -1
  373. package/dist/generated/types/executeV1Args.js +11 -24
  374. package/dist/generated/types/executeV1Args.js.map +1 -1
  375. package/dist/generated/types/externalCheckResult.d.ts +11 -14
  376. package/dist/generated/types/externalCheckResult.d.ts.map +1 -1
  377. package/dist/generated/types/externalCheckResult.js +11 -14
  378. package/dist/generated/types/externalCheckResult.js.map +1 -1
  379. package/dist/generated/types/externalPluginAdapter.d.ts +54 -51
  380. package/dist/generated/types/externalPluginAdapter.d.ts.map +1 -1
  381. package/dist/generated/types/externalPluginAdapter.js +44 -99
  382. package/dist/generated/types/externalPluginAdapter.js.map +1 -1
  383. package/dist/generated/types/externalPluginAdapterInitInfo.d.ts +54 -51
  384. package/dist/generated/types/externalPluginAdapterInitInfo.d.ts.map +1 -1
  385. package/dist/generated/types/externalPluginAdapterInitInfo.js +44 -107
  386. package/dist/generated/types/externalPluginAdapterInitInfo.js.map +1 -1
  387. package/dist/generated/types/externalPluginAdapterKey.d.ts +47 -49
  388. package/dist/generated/types/externalPluginAdapterKey.d.ts.map +1 -1
  389. package/dist/generated/types/externalPluginAdapterKey.js +39 -77
  390. package/dist/generated/types/externalPluginAdapterKey.js.map +1 -1
  391. package/dist/generated/types/externalPluginAdapterSchema.d.ts +13 -16
  392. package/dist/generated/types/externalPluginAdapterSchema.d.ts.map +1 -1
  393. package/dist/generated/types/externalPluginAdapterSchema.js +16 -19
  394. package/dist/generated/types/externalPluginAdapterSchema.js.map +1 -1
  395. package/dist/generated/types/externalPluginAdapterType.d.ts +17 -20
  396. package/dist/generated/types/externalPluginAdapterType.d.ts.map +1 -1
  397. package/dist/generated/types/externalPluginAdapterType.js +20 -23
  398. package/dist/generated/types/externalPluginAdapterType.js.map +1 -1
  399. package/dist/generated/types/externalPluginAdapterUpdateInfo.d.ts +53 -51
  400. package/dist/generated/types/externalPluginAdapterUpdateInfo.d.ts.map +1 -1
  401. package/dist/generated/types/externalPluginAdapterUpdateInfo.js +41 -101
  402. package/dist/generated/types/externalPluginAdapterUpdateInfo.js.map +1 -1
  403. package/dist/generated/types/externalRegistryRecord.d.ts +26 -26
  404. package/dist/generated/types/externalRegistryRecord.d.ts.map +1 -1
  405. package/dist/generated/types/externalRegistryRecord.js +29 -41
  406. package/dist/generated/types/externalRegistryRecord.js.map +1 -1
  407. package/dist/generated/types/externalValidationResult.d.ts +13 -16
  408. package/dist/generated/types/externalValidationResult.d.ts.map +1 -1
  409. package/dist/generated/types/externalValidationResult.js +16 -19
  410. package/dist/generated/types/externalValidationResult.js.map +1 -1
  411. package/dist/generated/types/extraAccount.d.ts +68 -71
  412. package/dist/generated/types/extraAccount.d.ts.map +1 -1
  413. package/dist/generated/types/extraAccount.js +56 -127
  414. package/dist/generated/types/extraAccount.js.map +1 -1
  415. package/dist/generated/types/freezeDelegate.d.ts +11 -14
  416. package/dist/generated/types/freezeDelegate.d.ts.map +1 -1
  417. package/dist/generated/types/freezeDelegate.js +11 -14
  418. package/dist/generated/types/freezeDelegate.js.map +1 -1
  419. package/dist/generated/types/freezeExecute.d.ts +11 -14
  420. package/dist/generated/types/freezeExecute.d.ts.map +1 -1
  421. package/dist/generated/types/freezeExecute.js +11 -14
  422. package/dist/generated/types/freezeExecute.js.map +1 -1
  423. package/dist/generated/types/groups.d.ts +11 -14
  424. package/dist/generated/types/groups.d.ts.map +1 -1
  425. package/dist/generated/types/groups.js +11 -14
  426. package/dist/generated/types/groups.js.map +1 -1
  427. package/dist/generated/types/hashablePluginSchema.d.ts +18 -20
  428. package/dist/generated/types/hashablePluginSchema.d.ts.map +1 -1
  429. package/dist/generated/types/hashablePluginSchema.js +21 -23
  430. package/dist/generated/types/hashablePluginSchema.js.map +1 -1
  431. package/dist/generated/types/hashedAssetSchema.d.ts +12 -15
  432. package/dist/generated/types/hashedAssetSchema.d.ts.map +1 -1
  433. package/dist/generated/types/hashedAssetSchema.js +11 -26
  434. package/dist/generated/types/hashedAssetSchema.js.map +1 -1
  435. package/dist/generated/types/hookableLifecycleEvent.d.ts +15 -18
  436. package/dist/generated/types/hookableLifecycleEvent.d.ts.map +1 -1
  437. package/dist/generated/types/hookableLifecycleEvent.js +18 -21
  438. package/dist/generated/types/hookableLifecycleEvent.js.map +1 -1
  439. package/dist/generated/types/immutableMetadata.d.ts +10 -13
  440. package/dist/generated/types/immutableMetadata.d.ts.map +1 -1
  441. package/dist/generated/types/immutableMetadata.js +10 -13
  442. package/dist/generated/types/immutableMetadata.js.map +1 -1
  443. package/dist/generated/types/index.d.ts +116 -125
  444. package/dist/generated/types/key.d.ts +17 -20
  445. package/dist/generated/types/key.d.ts.map +1 -1
  446. package/dist/generated/types/key.js +20 -23
  447. package/dist/generated/types/key.js.map +1 -1
  448. package/dist/generated/types/lifecycleHook.d.ts +21 -22
  449. package/dist/generated/types/lifecycleHook.d.ts.map +1 -1
  450. package/dist/generated/types/lifecycleHook.js +24 -31
  451. package/dist/generated/types/lifecycleHook.js.map +1 -1
  452. package/dist/generated/types/lifecycleHookInitInfo.d.ts +27 -26
  453. package/dist/generated/types/lifecycleHookInitInfo.d.ts.map +1 -1
  454. package/dist/generated/types/lifecycleHookInitInfo.js +30 -47
  455. package/dist/generated/types/lifecycleHookInitInfo.js.map +1 -1
  456. package/dist/generated/types/lifecycleHookUpdateInfo.d.ts +20 -20
  457. package/dist/generated/types/lifecycleHookUpdateInfo.d.ts.map +1 -1
  458. package/dist/generated/types/lifecycleHookUpdateInfo.js +23 -41
  459. package/dist/generated/types/lifecycleHookUpdateInfo.js.map +1 -1
  460. package/dist/generated/types/linkedAppData.d.ts +16 -18
  461. package/dist/generated/types/linkedAppData.d.ts.map +1 -1
  462. package/dist/generated/types/linkedAppData.js +12 -20
  463. package/dist/generated/types/linkedAppData.js.map +1 -1
  464. package/dist/generated/types/linkedAppDataInitInfo.d.ts +18 -20
  465. package/dist/generated/types/linkedAppDataInitInfo.d.ts.map +1 -1
  466. package/dist/generated/types/linkedAppDataInitInfo.js +21 -23
  467. package/dist/generated/types/linkedAppDataInitInfo.js.map +1 -1
  468. package/dist/generated/types/linkedAppDataUpdateInfo.d.ts +13 -16
  469. package/dist/generated/types/linkedAppDataUpdateInfo.d.ts.map +1 -1
  470. package/dist/generated/types/linkedAppDataUpdateInfo.js +12 -19
  471. package/dist/generated/types/linkedAppDataUpdateInfo.js.map +1 -1
  472. package/dist/generated/types/linkedDataKey.d.ts +23 -26
  473. package/dist/generated/types/linkedDataKey.d.ts.map +1 -1
  474. package/dist/generated/types/linkedDataKey.js +22 -39
  475. package/dist/generated/types/linkedDataKey.js.map +1 -1
  476. package/dist/generated/types/linkedLifecycleHook.d.ts +21 -22
  477. package/dist/generated/types/linkedLifecycleHook.d.ts.map +1 -1
  478. package/dist/generated/types/linkedLifecycleHook.js +24 -31
  479. package/dist/generated/types/linkedLifecycleHook.js.map +1 -1
  480. package/dist/generated/types/linkedLifecycleHookInitInfo.d.ts +27 -26
  481. package/dist/generated/types/linkedLifecycleHookInitInfo.d.ts.map +1 -1
  482. package/dist/generated/types/linkedLifecycleHookInitInfo.js +30 -47
  483. package/dist/generated/types/linkedLifecycleHookInitInfo.js.map +1 -1
  484. package/dist/generated/types/linkedLifecycleHookUpdateInfo.d.ts +20 -20
  485. package/dist/generated/types/linkedLifecycleHookUpdateInfo.d.ts.map +1 -1
  486. package/dist/generated/types/linkedLifecycleHookUpdateInfo.js +23 -41
  487. package/dist/generated/types/linkedLifecycleHookUpdateInfo.js.map +1 -1
  488. package/dist/generated/types/masterEdition.d.ts +16 -19
  489. package/dist/generated/types/masterEdition.d.ts.map +1 -1
  490. package/dist/generated/types/masterEdition.js +19 -34
  491. package/dist/generated/types/masterEdition.js.map +1 -1
  492. package/dist/generated/types/oracle.d.ts +18 -20
  493. package/dist/generated/types/oracle.d.ts.map +1 -1
  494. package/dist/generated/types/oracle.js +21 -23
  495. package/dist/generated/types/oracle.js.map +1 -1
  496. package/dist/generated/types/oracleInitInfo.d.ts +25 -24
  497. package/dist/generated/types/oracleInitInfo.d.ts.map +1 -1
  498. package/dist/generated/types/oracleInitInfo.js +28 -39
  499. package/dist/generated/types/oracleInitInfo.js.map +1 -1
  500. package/dist/generated/types/oracleUpdateInfo.d.ts +20 -20
  501. package/dist/generated/types/oracleUpdateInfo.d.ts.map +1 -1
  502. package/dist/generated/types/oracleUpdateInfo.js +23 -35
  503. package/dist/generated/types/oracleUpdateInfo.js.map +1 -1
  504. package/dist/generated/types/oracleValidation.d.ts +27 -30
  505. package/dist/generated/types/oracleValidation.d.ts.map +1 -1
  506. package/dist/generated/types/oracleValidation.js +32 -43
  507. package/dist/generated/types/oracleValidation.js.map +1 -1
  508. package/dist/generated/types/permanentBurnDelegate.d.ts +10 -13
  509. package/dist/generated/types/permanentBurnDelegate.d.ts.map +1 -1
  510. package/dist/generated/types/permanentBurnDelegate.js +10 -13
  511. package/dist/generated/types/permanentBurnDelegate.js.map +1 -1
  512. package/dist/generated/types/permanentFreezeDelegate.d.ts +11 -14
  513. package/dist/generated/types/permanentFreezeDelegate.d.ts.map +1 -1
  514. package/dist/generated/types/permanentFreezeDelegate.js +11 -14
  515. package/dist/generated/types/permanentFreezeDelegate.js.map +1 -1
  516. package/dist/generated/types/permanentFreezeExecute.d.ts +11 -14
  517. package/dist/generated/types/permanentFreezeExecute.d.ts.map +1 -1
  518. package/dist/generated/types/permanentFreezeExecute.js +11 -14
  519. package/dist/generated/types/permanentFreezeExecute.js.map +1 -1
  520. package/dist/generated/types/permanentTransferDelegate.d.ts +10 -13
  521. package/dist/generated/types/permanentTransferDelegate.d.ts.map +1 -1
  522. package/dist/generated/types/permanentTransferDelegate.js +10 -13
  523. package/dist/generated/types/permanentTransferDelegate.js.map +1 -1
  524. package/dist/generated/types/plugin.d.ts +144 -129
  525. package/dist/generated/types/plugin.d.ts.map +1 -1
  526. package/dist/generated/types/plugin.js +80 -227
  527. package/dist/generated/types/plugin.js.map +1 -1
  528. package/dist/generated/types/pluginAuthorityPair.d.ts +16 -18
  529. package/dist/generated/types/pluginAuthorityPair.d.ts.map +1 -1
  530. package/dist/generated/types/pluginAuthorityPair.js +13 -21
  531. package/dist/generated/types/pluginAuthorityPair.js.map +1 -1
  532. package/dist/generated/types/pluginType.d.ts +29 -32
  533. package/dist/generated/types/pluginType.d.ts.map +1 -1
  534. package/dist/generated/types/pluginType.js +32 -35
  535. package/dist/generated/types/pluginType.js.map +1 -1
  536. package/dist/generated/types/registryRecord.d.ts +18 -20
  537. package/dist/generated/types/registryRecord.d.ts.map +1 -1
  538. package/dist/generated/types/registryRecord.js +21 -23
  539. package/dist/generated/types/registryRecord.js.map +1 -1
  540. package/dist/generated/types/relationshipEntry.d.ts +15 -18
  541. package/dist/generated/types/relationshipEntry.d.ts.map +1 -1
  542. package/dist/generated/types/relationshipEntry.js +12 -21
  543. package/dist/generated/types/relationshipEntry.js.map +1 -1
  544. package/dist/generated/types/relationshipKind.d.ts +14 -17
  545. package/dist/generated/types/relationshipKind.d.ts.map +1 -1
  546. package/dist/generated/types/relationshipKind.js +17 -20
  547. package/dist/generated/types/relationshipKind.js.map +1 -1
  548. package/dist/generated/types/removeAssetsFromGroupV1Args.d.ts +11 -14
  549. package/dist/generated/types/removeAssetsFromGroupV1Args.d.ts.map +1 -1
  550. package/dist/generated/types/removeAssetsFromGroupV1Args.js +11 -14
  551. package/dist/generated/types/removeAssetsFromGroupV1Args.js.map +1 -1
  552. package/dist/generated/types/removeCollectionExternalPluginAdapterV1Args.d.ts +13 -16
  553. package/dist/generated/types/removeCollectionExternalPluginAdapterV1Args.d.ts.map +1 -1
  554. package/dist/generated/types/removeCollectionExternalPluginAdapterV1Args.js +11 -14
  555. package/dist/generated/types/removeCollectionExternalPluginAdapterV1Args.js.map +1 -1
  556. package/dist/generated/types/removeCollectionPluginV1Args.d.ts +13 -16
  557. package/dist/generated/types/removeCollectionPluginV1Args.d.ts.map +1 -1
  558. package/dist/generated/types/removeCollectionPluginV1Args.js +11 -14
  559. package/dist/generated/types/removeCollectionPluginV1Args.js.map +1 -1
  560. package/dist/generated/types/removeCollectionsFromGroupV1Args.d.ts +11 -14
  561. package/dist/generated/types/removeCollectionsFromGroupV1Args.d.ts.map +1 -1
  562. package/dist/generated/types/removeCollectionsFromGroupV1Args.js +11 -18
  563. package/dist/generated/types/removeCollectionsFromGroupV1Args.js.map +1 -1
  564. package/dist/generated/types/removeExternalPluginAdapterV1Args.d.ts +13 -16
  565. package/dist/generated/types/removeExternalPluginAdapterV1Args.d.ts.map +1 -1
  566. package/dist/generated/types/removeExternalPluginAdapterV1Args.js +11 -14
  567. package/dist/generated/types/removeExternalPluginAdapterV1Args.js.map +1 -1
  568. package/dist/generated/types/removeGroupsFromGroupV1Args.d.ts +11 -14
  569. package/dist/generated/types/removeGroupsFromGroupV1Args.d.ts.map +1 -1
  570. package/dist/generated/types/removeGroupsFromGroupV1Args.js +11 -14
  571. package/dist/generated/types/removeGroupsFromGroupV1Args.js.map +1 -1
  572. package/dist/generated/types/removePluginV1Args.d.ts +13 -16
  573. package/dist/generated/types/removePluginV1Args.d.ts.map +1 -1
  574. package/dist/generated/types/removePluginV1Args.js +11 -14
  575. package/dist/generated/types/removePluginV1Args.js.map +1 -1
  576. package/dist/generated/types/revokeCollectionPluginAuthorityV1Args.d.ts +13 -16
  577. package/dist/generated/types/revokeCollectionPluginAuthorityV1Args.d.ts.map +1 -1
  578. package/dist/generated/types/revokeCollectionPluginAuthorityV1Args.js +11 -14
  579. package/dist/generated/types/revokeCollectionPluginAuthorityV1Args.js.map +1 -1
  580. package/dist/generated/types/revokePluginAuthorityV1Args.d.ts +13 -16
  581. package/dist/generated/types/revokePluginAuthorityV1Args.d.ts.map +1 -1
  582. package/dist/generated/types/revokePluginAuthorityV1Args.js +11 -14
  583. package/dist/generated/types/revokePluginAuthorityV1Args.js.map +1 -1
  584. package/dist/generated/types/royalties.d.ts +18 -20
  585. package/dist/generated/types/royalties.d.ts.map +1 -1
  586. package/dist/generated/types/royalties.js +21 -23
  587. package/dist/generated/types/royalties.js.map +1 -1
  588. package/dist/generated/types/ruleSet.d.ts +20 -23
  589. package/dist/generated/types/ruleSet.d.ts.map +1 -1
  590. package/dist/generated/types/ruleSet.js +29 -48
  591. package/dist/generated/types/ruleSet.js.map +1 -1
  592. package/dist/generated/types/seed.d.ts +26 -29
  593. package/dist/generated/types/seed.d.ts.map +1 -1
  594. package/dist/generated/types/seed.js +35 -60
  595. package/dist/generated/types/seed.js.map +1 -1
  596. package/dist/generated/types/transferDelegate.d.ts +10 -13
  597. package/dist/generated/types/transferDelegate.d.ts.map +1 -1
  598. package/dist/generated/types/transferDelegate.js +10 -13
  599. package/dist/generated/types/transferDelegate.js.map +1 -1
  600. package/dist/generated/types/transferV1Args.d.ts +13 -16
  601. package/dist/generated/types/transferV1Args.d.ts.map +1 -1
  602. package/dist/generated/types/transferV1Args.js +12 -19
  603. package/dist/generated/types/transferV1Args.js.map +1 -1
  604. package/dist/generated/types/updateAuthority.d.ts +20 -23
  605. package/dist/generated/types/updateAuthority.d.ts.map +1 -1
  606. package/dist/generated/types/updateAuthority.js +29 -40
  607. package/dist/generated/types/updateAuthority.js.map +1 -1
  608. package/dist/generated/types/updateCollectionExternalPluginAdapterV1Args.d.ts +16 -18
  609. package/dist/generated/types/updateCollectionExternalPluginAdapterV1Args.d.ts.map +1 -1
  610. package/dist/generated/types/updateCollectionExternalPluginAdapterV1Args.js +12 -20
  611. package/dist/generated/types/updateCollectionExternalPluginAdapterV1Args.js.map +1 -1
  612. package/dist/generated/types/updateCollectionInfoV1Args.d.ts +15 -18
  613. package/dist/generated/types/updateCollectionInfoV1Args.d.ts.map +1 -1
  614. package/dist/generated/types/updateCollectionInfoV1Args.js +12 -21
  615. package/dist/generated/types/updateCollectionInfoV1Args.js.map +1 -1
  616. package/dist/generated/types/updateCollectionPluginV1Args.d.ts +13 -16
  617. package/dist/generated/types/updateCollectionPluginV1Args.d.ts.map +1 -1
  618. package/dist/generated/types/updateCollectionPluginV1Args.js +11 -14
  619. package/dist/generated/types/updateCollectionPluginV1Args.js.map +1 -1
  620. package/dist/generated/types/updateCollectionV1Args.d.ts +14 -17
  621. package/dist/generated/types/updateCollectionV1Args.d.ts.map +1 -1
  622. package/dist/generated/types/updateCollectionV1Args.js +11 -32
  623. package/dist/generated/types/updateCollectionV1Args.js.map +1 -1
  624. package/dist/generated/types/updateDelegate.d.ts +11 -14
  625. package/dist/generated/types/updateDelegate.d.ts.map +1 -1
  626. package/dist/generated/types/updateDelegate.js +11 -18
  627. package/dist/generated/types/updateDelegate.js.map +1 -1
  628. package/dist/generated/types/updateExternalPluginAdapterV1Args.d.ts +16 -18
  629. package/dist/generated/types/updateExternalPluginAdapterV1Args.d.ts.map +1 -1
  630. package/dist/generated/types/updateExternalPluginAdapterV1Args.js +12 -20
  631. package/dist/generated/types/updateExternalPluginAdapterV1Args.js.map +1 -1
  632. package/dist/generated/types/updateGroupV1Args.d.ts +14 -17
  633. package/dist/generated/types/updateGroupV1Args.d.ts.map +1 -1
  634. package/dist/generated/types/updateGroupV1Args.js +11 -32
  635. package/dist/generated/types/updateGroupV1Args.js.map +1 -1
  636. package/dist/generated/types/updatePluginV1Args.d.ts +13 -16
  637. package/dist/generated/types/updatePluginV1Args.d.ts.map +1 -1
  638. package/dist/generated/types/updatePluginV1Args.js +11 -14
  639. package/dist/generated/types/updatePluginV1Args.js.map +1 -1
  640. package/dist/generated/types/updateType.d.ts +13 -16
  641. package/dist/generated/types/updateType.d.ts.map +1 -1
  642. package/dist/generated/types/updateType.js +16 -19
  643. package/dist/generated/types/updateType.js.map +1 -1
  644. package/dist/generated/types/updateV1Args.d.ts +17 -20
  645. package/dist/generated/types/updateV1Args.d.ts.map +1 -1
  646. package/dist/generated/types/updateV1Args.js +20 -35
  647. package/dist/generated/types/updateV1Args.js.map +1 -1
  648. package/dist/generated/types/updateV2Args.d.ts +17 -20
  649. package/dist/generated/types/updateV2Args.d.ts.map +1 -1
  650. package/dist/generated/types/updateV2Args.js +20 -35
  651. package/dist/generated/types/updateV2Args.js.map +1 -1
  652. package/dist/generated/types/validationResult.d.ts +14 -17
  653. package/dist/generated/types/validationResult.d.ts.map +1 -1
  654. package/dist/generated/types/validationResult.js +17 -20
  655. package/dist/generated/types/validationResult.js.map +1 -1
  656. package/dist/generated/types/validationResultsOffset.d.ts +23 -26
  657. package/dist/generated/types/validationResultsOffset.d.ts.map +1 -1
  658. package/dist/generated/types/validationResultsOffset.js +29 -34
  659. package/dist/generated/types/validationResultsOffset.js.map +1 -1
  660. package/dist/generated/types/verifiedCreators.d.ts +13 -16
  661. package/dist/generated/types/verifiedCreators.d.ts.map +1 -1
  662. package/dist/generated/types/verifiedCreators.js +12 -19
  663. package/dist/generated/types/verifiedCreators.js.map +1 -1
  664. package/dist/generated/types/verifiedCreatorsSignature.d.ts +12 -15
  665. package/dist/generated/types/verifiedCreatorsSignature.d.ts.map +1 -1
  666. package/dist/generated/types/verifiedCreatorsSignature.js +11 -20
  667. package/dist/generated/types/verifiedCreatorsSignature.js.map +1 -1
  668. package/dist/generated/types/writeCollectionExternalPluginAdapterDataV1Args.d.ts +15 -18
  669. package/dist/generated/types/writeCollectionExternalPluginAdapterDataV1Args.d.ts.map +1 -1
  670. package/dist/generated/types/writeCollectionExternalPluginAdapterDataV1Args.js +12 -27
  671. package/dist/generated/types/writeCollectionExternalPluginAdapterDataV1Args.js.map +1 -1
  672. package/dist/generated/types/writeExternalPluginAdapterDataV1Args.d.ts +15 -18
  673. package/dist/generated/types/writeExternalPluginAdapterDataV1Args.d.ts.map +1 -1
  674. package/dist/generated/types/writeExternalPluginAdapterDataV1Args.js +12 -27
  675. package/dist/generated/types/writeExternalPluginAdapterDataV1Args.js.map +1 -1
  676. package/dist/index.d.ts +168 -8
  677. package/dist/index.js +168 -8
  678. package/package.json +7 -5
  679. package/src/generated/errors/mplCoreProgram.ts +3 -1
  680. package/src/generated/index.ts +1 -0
  681. package/src/generated/instructions/addAssetsToGroupV1.ts +5 -5
  682. package/src/generated/instructions/addCollectionExternalPluginAdapterV1.ts +6 -6
  683. package/src/generated/instructions/addCollectionPluginV1.ts +6 -6
  684. package/src/generated/instructions/addCollectionsToGroupV1.ts +5 -5
  685. package/src/generated/instructions/addExternalPluginAdapterV1.ts +7 -7
  686. package/src/generated/instructions/addGroupsToGroupV1.ts +5 -5
  687. package/src/generated/instructions/addPluginV1.ts +7 -7
  688. package/src/generated/instructions/approveCollectionPluginAuthorityV1.ts +6 -6
  689. package/src/generated/instructions/approvePluginAuthorityV1.ts +7 -7
  690. package/src/generated/instructions/burnCollectionV1.ts +5 -5
  691. package/src/generated/instructions/burnV1.ts +7 -7
  692. package/src/generated/instructions/closeGroupV1.ts +4 -4
  693. package/src/generated/instructions/collect.ts +3 -3
  694. package/src/generated/instructions/compressV1.ts +7 -7
  695. package/src/generated/instructions/createCollectionV1.ts +5 -5
  696. package/src/generated/instructions/createCollectionV2.ts +5 -5
  697. package/src/generated/instructions/createGroupV1.ts +5 -5
  698. package/src/generated/instructions/createV1.ts +9 -9
  699. package/src/generated/instructions/createV2.ts +9 -9
  700. package/src/generated/instructions/decompressV1.ts +7 -7
  701. package/src/generated/instructions/executeV1.ts +142 -9
  702. package/src/generated/instructions/removeAssetsFromGroupV1.ts +5 -5
  703. package/src/generated/instructions/removeCollectionExternalPluginAdapterV1.ts +6 -6
  704. package/src/generated/instructions/removeCollectionPluginV1.ts +6 -6
  705. package/src/generated/instructions/removeCollectionsFromGroupV1.ts +5 -5
  706. package/src/generated/instructions/removeExternalPluginAdapterV1.ts +7 -7
  707. package/src/generated/instructions/removeGroupsFromGroupV1.ts +5 -5
  708. package/src/generated/instructions/removePluginV1.ts +7 -7
  709. package/src/generated/instructions/revokeCollectionPluginAuthorityV1.ts +6 -6
  710. package/src/generated/instructions/revokePluginAuthorityV1.ts +7 -7
  711. package/src/generated/instructions/transferV1.ts +8 -8
  712. package/src/generated/instructions/updateCollectionExternalPluginAdapterV1.ts +6 -6
  713. package/src/generated/instructions/updateCollectionInfoV1.ts +3 -3
  714. package/src/generated/instructions/updateCollectionPluginV1.ts +6 -6
  715. package/src/generated/instructions/updateCollectionV1.ts +7 -7
  716. package/src/generated/instructions/updateExternalPluginAdapterV1.ts +7 -7
  717. package/src/generated/instructions/updateGroupV1.ts +6 -6
  718. package/src/generated/instructions/updatePluginV1.ts +7 -7
  719. package/src/generated/instructions/updateV1.ts +7 -7
  720. package/src/generated/instructions/updateV2.ts +8 -8
  721. package/src/generated/instructions/writeCollectionExternalPluginAdapterDataV1.ts +7 -7
  722. package/src/generated/instructions/writeExternalPluginAdapterDataV1.ts +8 -8
  723. package/src/generated/pdas/assetSigner.ts +36 -0
  724. package/{dist/generated/errors/index.js → src/generated/pdas/index.ts} +2 -2
  725. package/src/generated/programs/mplCoreProgram.ts +13 -5
  726. package/dist/.tsbuildinfo +0 -1
  727. package/dist/generated/accounts/index.d.ts.map +0 -1
  728. package/dist/generated/accounts/index.js +0 -14
  729. package/dist/generated/accounts/index.js.map +0 -1
  730. package/dist/generated/errors/index.d.ts.map +0 -1
  731. package/dist/generated/errors/index.js.map +0 -1
  732. package/dist/generated/index.d.ts.map +0 -1
  733. package/dist/generated/index.js +0 -13
  734. package/dist/generated/index.js.map +0 -1
  735. package/dist/generated/instructions/index.d.ts.map +0 -1
  736. package/dist/generated/instructions/index.js +0 -50
  737. package/dist/generated/instructions/index.js.map +0 -1
  738. package/dist/generated/programs/index.d.ts.map +0 -1
  739. package/dist/generated/programs/index.js +0 -9
  740. package/dist/generated/programs/index.js.map +0 -1
  741. package/dist/generated/types/index.d.ts.map +0 -1
  742. package/dist/generated/types/index.js +0 -125
  743. package/dist/generated/types/index.js.map +0 -1
  744. package/dist/index.d.ts.map +0 -1
  745. package/dist/index.js.map +0 -1
@@ -1,13 +1,167 @@
1
- /**
2
- * This code was AUTOGENERATED using the Codama library.
3
- * Please DO NOT EDIT THIS FILE, instead use visitors
4
- * to add features, then rerun Codama to update it.
5
- *
6
- * @see https://github.com/codama-idl/codama
7
- */
8
- export * from "./accounts/index.js";
9
- export * from "./errors/index.js";
10
- export * from "./instructions/index.js";
11
- export * from "./programs/index.js";
12
- export * from "./types/index.js";
13
- //# sourceMappingURL=index.d.ts.map
1
+ import { AddAssetsToGroupV1Args, AddAssetsToGroupV1ArgsArgs, getAddAssetsToGroupV1ArgsCodec, getAddAssetsToGroupV1ArgsDecoder, getAddAssetsToGroupV1ArgsEncoder } from "./types/addAssetsToGroupV1Args.js";
2
+ import { AddBlocker, AddBlockerArgs, getAddBlockerCodec, getAddBlockerDecoder, getAddBlockerEncoder } from "./types/addBlocker.js";
3
+ import { AddCollectionExternalPluginAdapterV1Args, AddCollectionExternalPluginAdapterV1ArgsArgs, getAddCollectionExternalPluginAdapterV1ArgsCodec, getAddCollectionExternalPluginAdapterV1ArgsDecoder, getAddCollectionExternalPluginAdapterV1ArgsEncoder } from "./types/addCollectionExternalPluginAdapterV1Args.js";
4
+ import { AddCollectionPluginV1Args, AddCollectionPluginV1ArgsArgs, getAddCollectionPluginV1ArgsCodec, getAddCollectionPluginV1ArgsDecoder, getAddCollectionPluginV1ArgsEncoder } from "./types/addCollectionPluginV1Args.js";
5
+ import { AddCollectionsToGroupV1Args, AddCollectionsToGroupV1ArgsArgs, getAddCollectionsToGroupV1ArgsCodec, getAddCollectionsToGroupV1ArgsDecoder, getAddCollectionsToGroupV1ArgsEncoder } from "./types/addCollectionsToGroupV1Args.js";
6
+ import { AddExternalPluginAdapterV1Args, AddExternalPluginAdapterV1ArgsArgs, getAddExternalPluginAdapterV1ArgsCodec, getAddExternalPluginAdapterV1ArgsDecoder, getAddExternalPluginAdapterV1ArgsEncoder } from "./types/addExternalPluginAdapterV1Args.js";
7
+ import { AddGroupsToGroupV1Args, AddGroupsToGroupV1ArgsArgs, getAddGroupsToGroupV1ArgsCodec, getAddGroupsToGroupV1ArgsDecoder, getAddGroupsToGroupV1ArgsEncoder } from "./types/addGroupsToGroupV1Args.js";
8
+ import { AddPluginV1Args, AddPluginV1ArgsArgs, getAddPluginV1ArgsCodec, getAddPluginV1ArgsDecoder, getAddPluginV1ArgsEncoder } from "./types/addPluginV1Args.js";
9
+ import { AgentIdentity, AgentIdentityArgs, getAgentIdentityCodec, getAgentIdentityDecoder, getAgentIdentityEncoder } from "./types/agentIdentity.js";
10
+ import { AgentIdentityInitInfo, AgentIdentityInitInfoArgs, getAgentIdentityInitInfoCodec, getAgentIdentityInitInfoDecoder, getAgentIdentityInitInfoEncoder } from "./types/agentIdentityInitInfo.js";
11
+ import { AgentIdentityUpdateInfo, AgentIdentityUpdateInfoArgs, getAgentIdentityUpdateInfoCodec, getAgentIdentityUpdateInfoDecoder, getAgentIdentityUpdateInfoEncoder } from "./types/agentIdentityUpdateInfo.js";
12
+ import { AppData, AppDataArgs, getAppDataCodec, getAppDataDecoder, getAppDataEncoder } from "./types/appData.js";
13
+ import { AppDataInitInfo, AppDataInitInfoArgs, getAppDataInitInfoCodec, getAppDataInitInfoDecoder, getAppDataInitInfoEncoder } from "./types/appDataInitInfo.js";
14
+ import { AppDataUpdateInfo, AppDataUpdateInfoArgs, getAppDataUpdateInfoCodec, getAppDataUpdateInfoDecoder, getAppDataUpdateInfoEncoder } from "./types/appDataUpdateInfo.js";
15
+ import { ApproveCollectionPluginAuthorityV1Args, ApproveCollectionPluginAuthorityV1ArgsArgs, getApproveCollectionPluginAuthorityV1ArgsCodec, getApproveCollectionPluginAuthorityV1ArgsDecoder, getApproveCollectionPluginAuthorityV1ArgsEncoder } from "./types/approveCollectionPluginAuthorityV1Args.js";
16
+ import { ApprovePluginAuthorityV1Args, ApprovePluginAuthorityV1ArgsArgs, getApprovePluginAuthorityV1ArgsCodec, getApprovePluginAuthorityV1ArgsDecoder, getApprovePluginAuthorityV1ArgsEncoder } from "./types/approvePluginAuthorityV1Args.js";
17
+ import { Attribute, AttributeArgs, getAttributeCodec, getAttributeDecoder, getAttributeEncoder } from "./types/attribute.js";
18
+ import { Attributes, AttributesArgs, getAttributesCodec, getAttributesDecoder, getAttributesEncoder } from "./types/attributes.js";
19
+ import { Authority, AuthorityArgs, authority, getAuthorityCodec, getAuthorityDecoder, getAuthorityEncoder, isAuthority } from "./types/authority.js";
20
+ import { Autograph, AutographArgs, getAutographCodec, getAutographDecoder, getAutographEncoder } from "./types/autograph.js";
21
+ import { AutographSignature, AutographSignatureArgs, getAutographSignatureCodec, getAutographSignatureDecoder, getAutographSignatureEncoder } from "./types/autographSignature.js";
22
+ import { BubblegumV2, BubblegumV2Args, getBubblegumV2Codec, getBubblegumV2Decoder, getBubblegumV2Encoder } from "./types/bubblegumV2.js";
23
+ import { BurnCollectionV1Args, BurnCollectionV1ArgsArgs, getBurnCollectionV1ArgsCodec, getBurnCollectionV1ArgsDecoder, getBurnCollectionV1ArgsEncoder } from "./types/burnCollectionV1Args.js";
24
+ import { BurnDelegate, BurnDelegateArgs, getBurnDelegateCodec, getBurnDelegateDecoder, getBurnDelegateEncoder } from "./types/burnDelegate.js";
25
+ import { BurnV1Args, BurnV1ArgsArgs, getBurnV1ArgsCodec, getBurnV1ArgsDecoder, getBurnV1ArgsEncoder } from "./types/burnV1Args.js";
26
+ import { CloseGroupV1Args, CloseGroupV1ArgsArgs, getCloseGroupV1ArgsCodec, getCloseGroupV1ArgsDecoder, getCloseGroupV1ArgsEncoder } from "./types/closeGroupV1Args.js";
27
+ import { CompressionProof, CompressionProofArgs, getCompressionProofCodec, getCompressionProofDecoder, getCompressionProofEncoder } from "./types/compressionProof.js";
28
+ import { CompressV1Args, CompressV1ArgsArgs, getCompressV1ArgsCodec, getCompressV1ArgsDecoder, getCompressV1ArgsEncoder } from "./types/compressV1Args.js";
29
+ import { CreateCollectionV1Args, CreateCollectionV1ArgsArgs, getCreateCollectionV1ArgsCodec, getCreateCollectionV1ArgsDecoder, getCreateCollectionV1ArgsEncoder } from "./types/createCollectionV1Args.js";
30
+ import { CreateCollectionV2Args, CreateCollectionV2ArgsArgs, getCreateCollectionV2ArgsCodec, getCreateCollectionV2ArgsDecoder, getCreateCollectionV2ArgsEncoder } from "./types/createCollectionV2Args.js";
31
+ import { CreateGroupV1Args, CreateGroupV1ArgsArgs, getCreateGroupV1ArgsCodec, getCreateGroupV1ArgsDecoder, getCreateGroupV1ArgsEncoder } from "./types/createGroupV1Args.js";
32
+ import { CreateV1Args, CreateV1ArgsArgs, getCreateV1ArgsCodec, getCreateV1ArgsDecoder, getCreateV1ArgsEncoder } from "./types/createV1Args.js";
33
+ import { CreateV2Args, CreateV2ArgsArgs, getCreateV2ArgsCodec, getCreateV2ArgsDecoder, getCreateV2ArgsEncoder } from "./types/createV2Args.js";
34
+ import { Creator, CreatorArgs, getCreatorCodec, getCreatorDecoder, getCreatorEncoder } from "./types/creator.js";
35
+ import { DataSection, DataSectionArgs, getDataSectionCodec, getDataSectionDecoder, getDataSectionEncoder } from "./types/dataSection.js";
36
+ import { DataSectionInitInfo, DataSectionInitInfoArgs, getDataSectionInitInfoCodec, getDataSectionInitInfoDecoder, getDataSectionInitInfoEncoder } from "./types/dataSectionInitInfo.js";
37
+ import { DataSectionUpdateInfo, DataSectionUpdateInfoArgs, getDataSectionUpdateInfoCodec, getDataSectionUpdateInfoDecoder, getDataSectionUpdateInfoEncoder } from "./types/dataSectionUpdateInfo.js";
38
+ import { DataState, DataStateArgs, getDataStateCodec, getDataStateDecoder, getDataStateEncoder } from "./types/dataState.js";
39
+ import { DecompressV1Args, DecompressV1ArgsArgs, getDecompressV1ArgsCodec, getDecompressV1ArgsDecoder, getDecompressV1ArgsEncoder } from "./types/decompressV1Args.js";
40
+ import { Edition, EditionArgs, getEditionCodec, getEditionDecoder, getEditionEncoder } from "./types/edition.js";
41
+ import { ExecuteV1Args, ExecuteV1ArgsArgs, getExecuteV1ArgsCodec, getExecuteV1ArgsDecoder, getExecuteV1ArgsEncoder } from "./types/executeV1Args.js";
42
+ import { ExternalCheckResult, ExternalCheckResultArgs, getExternalCheckResultCodec, getExternalCheckResultDecoder, getExternalCheckResultEncoder } from "./types/externalCheckResult.js";
43
+ import { ExternalPluginAdapter, ExternalPluginAdapterArgs, externalPluginAdapter, getExternalPluginAdapterCodec, getExternalPluginAdapterDecoder, getExternalPluginAdapterEncoder, isExternalPluginAdapter } from "./types/externalPluginAdapter.js";
44
+ import { ExternalPluginAdapterInitInfo, ExternalPluginAdapterInitInfoArgs, externalPluginAdapterInitInfo, getExternalPluginAdapterInitInfoCodec, getExternalPluginAdapterInitInfoDecoder, getExternalPluginAdapterInitInfoEncoder, isExternalPluginAdapterInitInfo } from "./types/externalPluginAdapterInitInfo.js";
45
+ import { ExternalPluginAdapterKey, ExternalPluginAdapterKeyArgs, externalPluginAdapterKey, getExternalPluginAdapterKeyCodec, getExternalPluginAdapterKeyDecoder, getExternalPluginAdapterKeyEncoder, isExternalPluginAdapterKey } from "./types/externalPluginAdapterKey.js";
46
+ import { ExternalPluginAdapterSchema, ExternalPluginAdapterSchemaArgs, getExternalPluginAdapterSchemaCodec, getExternalPluginAdapterSchemaDecoder, getExternalPluginAdapterSchemaEncoder } from "./types/externalPluginAdapterSchema.js";
47
+ import { ExternalPluginAdapterType, ExternalPluginAdapterTypeArgs, getExternalPluginAdapterTypeCodec, getExternalPluginAdapterTypeDecoder, getExternalPluginAdapterTypeEncoder } from "./types/externalPluginAdapterType.js";
48
+ import { ExternalPluginAdapterUpdateInfo, ExternalPluginAdapterUpdateInfoArgs, externalPluginAdapterUpdateInfo, getExternalPluginAdapterUpdateInfoCodec, getExternalPluginAdapterUpdateInfoDecoder, getExternalPluginAdapterUpdateInfoEncoder, isExternalPluginAdapterUpdateInfo } from "./types/externalPluginAdapterUpdateInfo.js";
49
+ import { ExternalRegistryRecord, ExternalRegistryRecordArgs, getExternalRegistryRecordCodec, getExternalRegistryRecordDecoder, getExternalRegistryRecordEncoder } from "./types/externalRegistryRecord.js";
50
+ import { ExternalValidationResult, ExternalValidationResultArgs, getExternalValidationResultCodec, getExternalValidationResultDecoder, getExternalValidationResultEncoder } from "./types/externalValidationResult.js";
51
+ import { ExtraAccount, ExtraAccountArgs, extraAccount, getExtraAccountCodec, getExtraAccountDecoder, getExtraAccountEncoder, isExtraAccount } from "./types/extraAccount.js";
52
+ import { FreezeDelegate, FreezeDelegateArgs, getFreezeDelegateCodec, getFreezeDelegateDecoder, getFreezeDelegateEncoder } from "./types/freezeDelegate.js";
53
+ import { FreezeExecute, FreezeExecuteArgs, getFreezeExecuteCodec, getFreezeExecuteDecoder, getFreezeExecuteEncoder } from "./types/freezeExecute.js";
54
+ import { Groups, GroupsArgs, getGroupsCodec, getGroupsDecoder, getGroupsEncoder } from "./types/groups.js";
55
+ import { HashablePluginSchema, HashablePluginSchemaArgs, getHashablePluginSchemaCodec, getHashablePluginSchemaDecoder, getHashablePluginSchemaEncoder } from "./types/hashablePluginSchema.js";
56
+ import { HashedAssetSchema, HashedAssetSchemaArgs, getHashedAssetSchemaCodec, getHashedAssetSchemaDecoder, getHashedAssetSchemaEncoder } from "./types/hashedAssetSchema.js";
57
+ import { HookableLifecycleEvent, HookableLifecycleEventArgs, getHookableLifecycleEventCodec, getHookableLifecycleEventDecoder, getHookableLifecycleEventEncoder } from "./types/hookableLifecycleEvent.js";
58
+ import { ImmutableMetadata, ImmutableMetadataArgs, getImmutableMetadataCodec, getImmutableMetadataDecoder, getImmutableMetadataEncoder } from "./types/immutableMetadata.js";
59
+ import { Key, KeyArgs, getKeyCodec, getKeyDecoder, getKeyEncoder } from "./types/key.js";
60
+ import { LifecycleHook, LifecycleHookArgs, getLifecycleHookCodec, getLifecycleHookDecoder, getLifecycleHookEncoder } from "./types/lifecycleHook.js";
61
+ import { LifecycleHookInitInfo, LifecycleHookInitInfoArgs, getLifecycleHookInitInfoCodec, getLifecycleHookInitInfoDecoder, getLifecycleHookInitInfoEncoder } from "./types/lifecycleHookInitInfo.js";
62
+ import { LifecycleHookUpdateInfo, LifecycleHookUpdateInfoArgs, getLifecycleHookUpdateInfoCodec, getLifecycleHookUpdateInfoDecoder, getLifecycleHookUpdateInfoEncoder } from "./types/lifecycleHookUpdateInfo.js";
63
+ import { LinkedAppData, LinkedAppDataArgs, getLinkedAppDataCodec, getLinkedAppDataDecoder, getLinkedAppDataEncoder } from "./types/linkedAppData.js";
64
+ import { LinkedAppDataInitInfo, LinkedAppDataInitInfoArgs, getLinkedAppDataInitInfoCodec, getLinkedAppDataInitInfoDecoder, getLinkedAppDataInitInfoEncoder } from "./types/linkedAppDataInitInfo.js";
65
+ import { LinkedAppDataUpdateInfo, LinkedAppDataUpdateInfoArgs, getLinkedAppDataUpdateInfoCodec, getLinkedAppDataUpdateInfoDecoder, getLinkedAppDataUpdateInfoEncoder } from "./types/linkedAppDataUpdateInfo.js";
66
+ import { LinkedDataKey, LinkedDataKeyArgs, getLinkedDataKeyCodec, getLinkedDataKeyDecoder, getLinkedDataKeyEncoder, isLinkedDataKey, linkedDataKey } from "./types/linkedDataKey.js";
67
+ import { LinkedLifecycleHook, LinkedLifecycleHookArgs, getLinkedLifecycleHookCodec, getLinkedLifecycleHookDecoder, getLinkedLifecycleHookEncoder } from "./types/linkedLifecycleHook.js";
68
+ import { LinkedLifecycleHookInitInfo, LinkedLifecycleHookInitInfoArgs, getLinkedLifecycleHookInitInfoCodec, getLinkedLifecycleHookInitInfoDecoder, getLinkedLifecycleHookInitInfoEncoder } from "./types/linkedLifecycleHookInitInfo.js";
69
+ import { LinkedLifecycleHookUpdateInfo, LinkedLifecycleHookUpdateInfoArgs, getLinkedLifecycleHookUpdateInfoCodec, getLinkedLifecycleHookUpdateInfoDecoder, getLinkedLifecycleHookUpdateInfoEncoder } from "./types/linkedLifecycleHookUpdateInfo.js";
70
+ import { MasterEdition, MasterEditionArgs, getMasterEditionCodec, getMasterEditionDecoder, getMasterEditionEncoder } from "./types/masterEdition.js";
71
+ import { Oracle, OracleArgs, getOracleCodec, getOracleDecoder, getOracleEncoder } from "./types/oracle.js";
72
+ import { OracleInitInfo, OracleInitInfoArgs, getOracleInitInfoCodec, getOracleInitInfoDecoder, getOracleInitInfoEncoder } from "./types/oracleInitInfo.js";
73
+ import { OracleUpdateInfo, OracleUpdateInfoArgs, getOracleUpdateInfoCodec, getOracleUpdateInfoDecoder, getOracleUpdateInfoEncoder } from "./types/oracleUpdateInfo.js";
74
+ import { OracleValidation, OracleValidationArgs, getOracleValidationCodec, getOracleValidationDecoder, getOracleValidationEncoder, isOracleValidation, oracleValidation } from "./types/oracleValidation.js";
75
+ import { PermanentBurnDelegate, PermanentBurnDelegateArgs, getPermanentBurnDelegateCodec, getPermanentBurnDelegateDecoder, getPermanentBurnDelegateEncoder } from "./types/permanentBurnDelegate.js";
76
+ import { PermanentFreezeDelegate, PermanentFreezeDelegateArgs, getPermanentFreezeDelegateCodec, getPermanentFreezeDelegateDecoder, getPermanentFreezeDelegateEncoder } from "./types/permanentFreezeDelegate.js";
77
+ import { PermanentFreezeExecute, PermanentFreezeExecuteArgs, getPermanentFreezeExecuteCodec, getPermanentFreezeExecuteDecoder, getPermanentFreezeExecuteEncoder } from "./types/permanentFreezeExecute.js";
78
+ import { PermanentTransferDelegate, PermanentTransferDelegateArgs, getPermanentTransferDelegateCodec, getPermanentTransferDelegateDecoder, getPermanentTransferDelegateEncoder } from "./types/permanentTransferDelegate.js";
79
+ import { Plugin, PluginArgs, getPluginCodec, getPluginDecoder, getPluginEncoder, isPlugin, plugin } from "./types/plugin.js";
80
+ import { PluginAuthorityPair, PluginAuthorityPairArgs, getPluginAuthorityPairCodec, getPluginAuthorityPairDecoder, getPluginAuthorityPairEncoder } from "./types/pluginAuthorityPair.js";
81
+ import { PluginType, PluginTypeArgs, getPluginTypeCodec, getPluginTypeDecoder, getPluginTypeEncoder } from "./types/pluginType.js";
82
+ import { RegistryRecord, RegistryRecordArgs, getRegistryRecordCodec, getRegistryRecordDecoder, getRegistryRecordEncoder } from "./types/registryRecord.js";
83
+ import { RelationshipEntry, RelationshipEntryArgs, getRelationshipEntryCodec, getRelationshipEntryDecoder, getRelationshipEntryEncoder } from "./types/relationshipEntry.js";
84
+ import { RelationshipKind, RelationshipKindArgs, getRelationshipKindCodec, getRelationshipKindDecoder, getRelationshipKindEncoder } from "./types/relationshipKind.js";
85
+ import { RemoveAssetsFromGroupV1Args, RemoveAssetsFromGroupV1ArgsArgs, getRemoveAssetsFromGroupV1ArgsCodec, getRemoveAssetsFromGroupV1ArgsDecoder, getRemoveAssetsFromGroupV1ArgsEncoder } from "./types/removeAssetsFromGroupV1Args.js";
86
+ import { RemoveCollectionExternalPluginAdapterV1Args, RemoveCollectionExternalPluginAdapterV1ArgsArgs, getRemoveCollectionExternalPluginAdapterV1ArgsCodec, getRemoveCollectionExternalPluginAdapterV1ArgsDecoder, getRemoveCollectionExternalPluginAdapterV1ArgsEncoder } from "./types/removeCollectionExternalPluginAdapterV1Args.js";
87
+ import { RemoveCollectionPluginV1Args, RemoveCollectionPluginV1ArgsArgs, getRemoveCollectionPluginV1ArgsCodec, getRemoveCollectionPluginV1ArgsDecoder, getRemoveCollectionPluginV1ArgsEncoder } from "./types/removeCollectionPluginV1Args.js";
88
+ import { RemoveCollectionsFromGroupV1Args, RemoveCollectionsFromGroupV1ArgsArgs, getRemoveCollectionsFromGroupV1ArgsCodec, getRemoveCollectionsFromGroupV1ArgsDecoder, getRemoveCollectionsFromGroupV1ArgsEncoder } from "./types/removeCollectionsFromGroupV1Args.js";
89
+ import { RemoveExternalPluginAdapterV1Args, RemoveExternalPluginAdapterV1ArgsArgs, getRemoveExternalPluginAdapterV1ArgsCodec, getRemoveExternalPluginAdapterV1ArgsDecoder, getRemoveExternalPluginAdapterV1ArgsEncoder } from "./types/removeExternalPluginAdapterV1Args.js";
90
+ import { RemoveGroupsFromGroupV1Args, RemoveGroupsFromGroupV1ArgsArgs, getRemoveGroupsFromGroupV1ArgsCodec, getRemoveGroupsFromGroupV1ArgsDecoder, getRemoveGroupsFromGroupV1ArgsEncoder } from "./types/removeGroupsFromGroupV1Args.js";
91
+ import { RemovePluginV1Args, RemovePluginV1ArgsArgs, getRemovePluginV1ArgsCodec, getRemovePluginV1ArgsDecoder, getRemovePluginV1ArgsEncoder } from "./types/removePluginV1Args.js";
92
+ import { RevokeCollectionPluginAuthorityV1Args, RevokeCollectionPluginAuthorityV1ArgsArgs, getRevokeCollectionPluginAuthorityV1ArgsCodec, getRevokeCollectionPluginAuthorityV1ArgsDecoder, getRevokeCollectionPluginAuthorityV1ArgsEncoder } from "./types/revokeCollectionPluginAuthorityV1Args.js";
93
+ import { RevokePluginAuthorityV1Args, RevokePluginAuthorityV1ArgsArgs, getRevokePluginAuthorityV1ArgsCodec, getRevokePluginAuthorityV1ArgsDecoder, getRevokePluginAuthorityV1ArgsEncoder } from "./types/revokePluginAuthorityV1Args.js";
94
+ import { Royalties, RoyaltiesArgs, getRoyaltiesCodec, getRoyaltiesDecoder, getRoyaltiesEncoder } from "./types/royalties.js";
95
+ import { RuleSet, RuleSetArgs, getRuleSetCodec, getRuleSetDecoder, getRuleSetEncoder, isRuleSet, ruleSet } from "./types/ruleSet.js";
96
+ import { Seed, SeedArgs, getSeedCodec, getSeedDecoder, getSeedEncoder, isSeed, seed } from "./types/seed.js";
97
+ import { TransferDelegate, TransferDelegateArgs, getTransferDelegateCodec, getTransferDelegateDecoder, getTransferDelegateEncoder } from "./types/transferDelegate.js";
98
+ import { TransferV1Args, TransferV1ArgsArgs, getTransferV1ArgsCodec, getTransferV1ArgsDecoder, getTransferV1ArgsEncoder } from "./types/transferV1Args.js";
99
+ import { UpdateAuthority, UpdateAuthorityArgs, getUpdateAuthorityCodec, getUpdateAuthorityDecoder, getUpdateAuthorityEncoder, isUpdateAuthority, updateAuthority } from "./types/updateAuthority.js";
100
+ import { UpdateCollectionExternalPluginAdapterV1Args, UpdateCollectionExternalPluginAdapterV1ArgsArgs, getUpdateCollectionExternalPluginAdapterV1ArgsCodec, getUpdateCollectionExternalPluginAdapterV1ArgsDecoder, getUpdateCollectionExternalPluginAdapterV1ArgsEncoder } from "./types/updateCollectionExternalPluginAdapterV1Args.js";
101
+ import { UpdateCollectionInfoV1Args, UpdateCollectionInfoV1ArgsArgs, getUpdateCollectionInfoV1ArgsCodec, getUpdateCollectionInfoV1ArgsDecoder, getUpdateCollectionInfoV1ArgsEncoder } from "./types/updateCollectionInfoV1Args.js";
102
+ import { UpdateCollectionPluginV1Args, UpdateCollectionPluginV1ArgsArgs, getUpdateCollectionPluginV1ArgsCodec, getUpdateCollectionPluginV1ArgsDecoder, getUpdateCollectionPluginV1ArgsEncoder } from "./types/updateCollectionPluginV1Args.js";
103
+ import { UpdateCollectionV1Args, UpdateCollectionV1ArgsArgs, getUpdateCollectionV1ArgsCodec, getUpdateCollectionV1ArgsDecoder, getUpdateCollectionV1ArgsEncoder } from "./types/updateCollectionV1Args.js";
104
+ import { UpdateDelegate, UpdateDelegateArgs, getUpdateDelegateCodec, getUpdateDelegateDecoder, getUpdateDelegateEncoder } from "./types/updateDelegate.js";
105
+ import { UpdateExternalPluginAdapterV1Args, UpdateExternalPluginAdapterV1ArgsArgs, getUpdateExternalPluginAdapterV1ArgsCodec, getUpdateExternalPluginAdapterV1ArgsDecoder, getUpdateExternalPluginAdapterV1ArgsEncoder } from "./types/updateExternalPluginAdapterV1Args.js";
106
+ import { UpdateGroupV1Args, UpdateGroupV1ArgsArgs, getUpdateGroupV1ArgsCodec, getUpdateGroupV1ArgsDecoder, getUpdateGroupV1ArgsEncoder } from "./types/updateGroupV1Args.js";
107
+ import { UpdatePluginV1Args, UpdatePluginV1ArgsArgs, getUpdatePluginV1ArgsCodec, getUpdatePluginV1ArgsDecoder, getUpdatePluginV1ArgsEncoder } from "./types/updatePluginV1Args.js";
108
+ import { UpdateType, UpdateTypeArgs, getUpdateTypeCodec, getUpdateTypeDecoder, getUpdateTypeEncoder } from "./types/updateType.js";
109
+ import { UpdateV1Args, UpdateV1ArgsArgs, getUpdateV1ArgsCodec, getUpdateV1ArgsDecoder, getUpdateV1ArgsEncoder } from "./types/updateV1Args.js";
110
+ import { UpdateV2Args, UpdateV2ArgsArgs, getUpdateV2ArgsCodec, getUpdateV2ArgsDecoder, getUpdateV2ArgsEncoder } from "./types/updateV2Args.js";
111
+ import { ValidationResult, ValidationResultArgs, getValidationResultCodec, getValidationResultDecoder, getValidationResultEncoder } from "./types/validationResult.js";
112
+ import { ValidationResultsOffset, ValidationResultsOffsetArgs, getValidationResultsOffsetCodec, getValidationResultsOffsetDecoder, getValidationResultsOffsetEncoder, isValidationResultsOffset, validationResultsOffset } from "./types/validationResultsOffset.js";
113
+ import { VerifiedCreators, VerifiedCreatorsArgs, getVerifiedCreatorsCodec, getVerifiedCreatorsDecoder, getVerifiedCreatorsEncoder } from "./types/verifiedCreators.js";
114
+ import { VerifiedCreatorsSignature, VerifiedCreatorsSignatureArgs, getVerifiedCreatorsSignatureCodec, getVerifiedCreatorsSignatureDecoder, getVerifiedCreatorsSignatureEncoder } from "./types/verifiedCreatorsSignature.js";
115
+ import { WriteCollectionExternalPluginAdapterDataV1Args, WriteCollectionExternalPluginAdapterDataV1ArgsArgs, getWriteCollectionExternalPluginAdapterDataV1ArgsCodec, getWriteCollectionExternalPluginAdapterDataV1ArgsDecoder, getWriteCollectionExternalPluginAdapterDataV1ArgsEncoder } from "./types/writeCollectionExternalPluginAdapterDataV1Args.js";
116
+ import { WriteExternalPluginAdapterDataV1Args, WriteExternalPluginAdapterDataV1ArgsArgs, getWriteExternalPluginAdapterDataV1ArgsCodec, getWriteExternalPluginAdapterDataV1ArgsDecoder, getWriteExternalPluginAdapterDataV1ArgsEncoder } from "./types/writeExternalPluginAdapterDataV1Args.js";
117
+ import { AssetV1, AssetV1Args, decodeAssetV1, fetchAllAssetV1, fetchAllMaybeAssetV1, fetchAssetV1, fetchMaybeAssetV1, getAssetV1Codec, getAssetV1Decoder, getAssetV1Encoder } from "./accounts/assetV1.js";
118
+ import { CollectionV1, CollectionV1Args, decodeCollectionV1, fetchAllCollectionV1, fetchAllMaybeCollectionV1, fetchCollectionV1, fetchMaybeCollectionV1, getCollectionV1Codec, getCollectionV1Decoder, getCollectionV1Encoder } from "./accounts/collectionV1.js";
119
+ import { GroupV1, GroupV1Args, decodeGroupV1, fetchAllGroupV1, fetchAllMaybeGroupV1, fetchGroupV1, fetchMaybeGroupV1, getGroupV1Codec, getGroupV1Decoder, getGroupV1Encoder } from "./accounts/groupV1.js";
120
+ import { HashedAssetV1, HashedAssetV1Args, decodeHashedAssetV1, fetchAllHashedAssetV1, fetchAllMaybeHashedAssetV1, fetchHashedAssetV1, fetchMaybeHashedAssetV1, getHashedAssetV1Codec, getHashedAssetV1Decoder, getHashedAssetV1Encoder } from "./accounts/hashedAssetV1.js";
121
+ import { PluginHeaderV1, PluginHeaderV1Args, decodePluginHeaderV1, fetchAllMaybePluginHeaderV1, fetchAllPluginHeaderV1, fetchMaybePluginHeaderV1, fetchPluginHeaderV1, getPluginHeaderV1Codec, getPluginHeaderV1Decoder, getPluginHeaderV1Encoder } from "./accounts/pluginHeaderV1.js";
122
+ import { PluginRegistryV1, PluginRegistryV1Args, decodePluginRegistryV1, fetchAllMaybePluginRegistryV1, fetchAllPluginRegistryV1, fetchMaybePluginRegistryV1, fetchPluginRegistryV1, getPluginRegistryV1Codec, getPluginRegistryV1Decoder, getPluginRegistryV1Encoder } from "./accounts/pluginRegistryV1.js";
123
+ import { MPL_CORE_PROGRAM_ERROR__AGENT_IDENTITY_MUST_SIGN, MPL_CORE_PROGRAM_ERROR__ALREADY_COMPRESSED, MPL_CORE_PROGRAM_ERROR__ALREADY_DECOMPRESSED, MPL_CORE_PROGRAM_ERROR__ASSET_IS_FROZEN, MPL_CORE_PROGRAM_ERROR__BLOCKED_BY_BUBBLEGUM_V2, MPL_CORE_PROGRAM_ERROR__CANNOT_ADD_DATA_SECTION, MPL_CORE_PROGRAM_ERROR__CANNOT_BURN_COLLECTION, MPL_CORE_PROGRAM_ERROR__CANNOT_MIGRATE_MASTER_WITH_SUPPLY, MPL_CORE_PROGRAM_ERROR__CANNOT_MIGRATE_PRINTS, MPL_CORE_PROGRAM_ERROR__CANNOT_REDELEGATE, MPL_CORE_PROGRAM_ERROR__COLLECTION_MUST_BE_EMPTY, MPL_CORE_PROGRAM_ERROR__CONFLICTING_AUTHORITY, MPL_CORE_PROGRAM_ERROR__DESERIALIZATION_ERROR, MPL_CORE_PROGRAM_ERROR__DUPLICATE_ENTRY, MPL_CORE_PROGRAM_ERROR__DUPLICATE_LIFECYCLE_CHECKS, MPL_CORE_PROGRAM_ERROR__EXTERNAL_PLUGIN_ADAPTER_ALREADY_EXISTS, MPL_CORE_PROGRAM_ERROR__EXTERNAL_PLUGIN_ADAPTER_NOT_FOUND, MPL_CORE_PROGRAM_ERROR__GROUP_MUST_BE_EMPTY, MPL_CORE_PROGRAM_ERROR__GROUP_NESTING_DEPTH_EXCEEDED, MPL_CORE_PROGRAM_ERROR__GROUP_VECTOR_FULL, MPL_CORE_PROGRAM_ERROR__INCONSISTENT_GROUP_RELATIONSHIP, MPL_CORE_PROGRAM_ERROR__INCORRECT_ACCOUNT, MPL_CORE_PROGRAM_ERROR__INCORRECT_ASSET_HASH, MPL_CORE_PROGRAM_ERROR__INVALID_ASSET, MPL_CORE_PROGRAM_ERROR__INVALID_AUTHORITY, MPL_CORE_PROGRAM_ERROR__INVALID_COLLECTION, MPL_CORE_PROGRAM_ERROR__INVALID_EXECUTE_PDA, MPL_CORE_PROGRAM_ERROR__INVALID_LOG_WRAPPER_PROGRAM, MPL_CORE_PROGRAM_ERROR__INVALID_ORACLE_ACCOUNT_DATA, MPL_CORE_PROGRAM_ERROR__INVALID_PLUGIN, MPL_CORE_PROGRAM_ERROR__INVALID_PLUGIN_ADAPTER_TARGET, MPL_CORE_PROGRAM_ERROR__INVALID_PLUGIN_OPERATION, MPL_CORE_PROGRAM_ERROR__INVALID_PLUGIN_SETTING, MPL_CORE_PROGRAM_ERROR__INVALID_SYSTEM_PROGRAM, MPL_CORE_PROGRAM_ERROR__MISSING_ASSET, MPL_CORE_PROGRAM_ERROR__MISSING_COLLECTION, MPL_CORE_PROGRAM_ERROR__MISSING_COMPRESSION_PROOF, MPL_CORE_PROGRAM_ERROR__MISSING_EXTERNAL_PLUGIN_ADAPTER_ACCOUNT, MPL_CORE_PROGRAM_ERROR__MISSING_NEW_OWNER, MPL_CORE_PROGRAM_ERROR__MISSING_SIGNER, MPL_CORE_PROGRAM_ERROR__MISSING_SYSTEM_PROGRAM, MPL_CORE_PROGRAM_ERROR__MISSING_UPDATE_AUTHORITY, MPL_CORE_PROGRAM_ERROR__NOT_AVAILABLE, MPL_CORE_PROGRAM_ERROR__NO_APPROVALS, MPL_CORE_PROGRAM_ERROR__NO_DATA_SOURCES, MPL_CORE_PROGRAM_ERROR__NUMERICAL_OVERFLOW, MPL_CORE_PROGRAM_ERROR__NUMERICAL_OVERFLOW_ERROR, MPL_CORE_PROGRAM_ERROR__ORACLE_CAN_REJECT_ONLY, MPL_CORE_PROGRAM_ERROR__PERMANENT_DELEGATES_PREVENT_MOVE, MPL_CORE_PROGRAM_ERROR__PLUGINS_NOT_INITIALIZED, MPL_CORE_PROGRAM_ERROR__PLUGIN_ALREADY_EXISTS, MPL_CORE_PROGRAM_ERROR__PLUGIN_NOT_FOUND, MPL_CORE_PROGRAM_ERROR__REQUIRES_LIFECYCLE_CHECK, MPL_CORE_PROGRAM_ERROR__SERIALIZATION_ERROR, MPL_CORE_PROGRAM_ERROR__TWO_DATA_SOURCES, MPL_CORE_PROGRAM_ERROR__UNINITIALIZED_ORACLE_ACCOUNT, MPL_CORE_PROGRAM_ERROR__UNSUPPORTED_OPERATION, MplCoreProgramError, getMplCoreProgramErrorMessage, isMplCoreProgramError } from "./errors/mplCoreProgram.js";
124
+ import { AssetSignerSeeds, findAssetSignerPda } from "./pdas/assetSigner.js";
125
+ import { MPL_CORE_PROGRAM_PROGRAM_ADDRESS, MplCoreProgramAccount, MplCoreProgramInstruction, MplCoreProgramPlugin, MplCoreProgramPluginAccounts, MplCoreProgramPluginInstructions, MplCoreProgramPluginPdas, MplCoreProgramPluginRequirements, ParsedMplCoreProgramInstruction, identifyMplCoreProgramInstruction, mplCoreProgramProgram, parseMplCoreProgramInstruction } from "./programs/mplCoreProgram.js";
126
+ import { ADD_ASSETS_TO_GROUP_V1_DISCRIMINATOR, AddAssetsToGroupV1Input, AddAssetsToGroupV1Instruction, AddAssetsToGroupV1InstructionData, AddAssetsToGroupV1InstructionDataArgs, ParsedAddAssetsToGroupV1Instruction, getAddAssetsToGroupV1DiscriminatorBytes, getAddAssetsToGroupV1Instruction, getAddAssetsToGroupV1InstructionDataCodec, getAddAssetsToGroupV1InstructionDataDecoder, getAddAssetsToGroupV1InstructionDataEncoder, parseAddAssetsToGroupV1Instruction } from "./instructions/addAssetsToGroupV1.js";
127
+ import { ADD_COLLECTION_EXTERNAL_PLUGIN_ADAPTER_V1_DISCRIMINATOR, AddCollectionExternalPluginAdapterV1Input, AddCollectionExternalPluginAdapterV1Instruction, AddCollectionExternalPluginAdapterV1InstructionData, AddCollectionExternalPluginAdapterV1InstructionDataArgs, ParsedAddCollectionExternalPluginAdapterV1Instruction, getAddCollectionExternalPluginAdapterV1DiscriminatorBytes, getAddCollectionExternalPluginAdapterV1Instruction, getAddCollectionExternalPluginAdapterV1InstructionDataCodec, getAddCollectionExternalPluginAdapterV1InstructionDataDecoder, getAddCollectionExternalPluginAdapterV1InstructionDataEncoder, parseAddCollectionExternalPluginAdapterV1Instruction } from "./instructions/addCollectionExternalPluginAdapterV1.js";
128
+ import { ADD_COLLECTION_PLUGIN_V1_DISCRIMINATOR, AddCollectionPluginV1Input, AddCollectionPluginV1Instruction, AddCollectionPluginV1InstructionData, AddCollectionPluginV1InstructionDataArgs, ParsedAddCollectionPluginV1Instruction, getAddCollectionPluginV1DiscriminatorBytes, getAddCollectionPluginV1Instruction, getAddCollectionPluginV1InstructionDataCodec, getAddCollectionPluginV1InstructionDataDecoder, getAddCollectionPluginV1InstructionDataEncoder, parseAddCollectionPluginV1Instruction } from "./instructions/addCollectionPluginV1.js";
129
+ import { ADD_COLLECTIONS_TO_GROUP_V1_DISCRIMINATOR, AddCollectionsToGroupV1Input, AddCollectionsToGroupV1Instruction, AddCollectionsToGroupV1InstructionData, AddCollectionsToGroupV1InstructionDataArgs, ParsedAddCollectionsToGroupV1Instruction, getAddCollectionsToGroupV1DiscriminatorBytes, getAddCollectionsToGroupV1Instruction, getAddCollectionsToGroupV1InstructionDataCodec, getAddCollectionsToGroupV1InstructionDataDecoder, getAddCollectionsToGroupV1InstructionDataEncoder, parseAddCollectionsToGroupV1Instruction } from "./instructions/addCollectionsToGroupV1.js";
130
+ import { ADD_EXTERNAL_PLUGIN_ADAPTER_V1_DISCRIMINATOR, AddExternalPluginAdapterV1Input, AddExternalPluginAdapterV1Instruction, AddExternalPluginAdapterV1InstructionData, AddExternalPluginAdapterV1InstructionDataArgs, ParsedAddExternalPluginAdapterV1Instruction, getAddExternalPluginAdapterV1DiscriminatorBytes, getAddExternalPluginAdapterV1Instruction, getAddExternalPluginAdapterV1InstructionDataCodec, getAddExternalPluginAdapterV1InstructionDataDecoder, getAddExternalPluginAdapterV1InstructionDataEncoder, parseAddExternalPluginAdapterV1Instruction } from "./instructions/addExternalPluginAdapterV1.js";
131
+ import { ADD_GROUPS_TO_GROUP_V1_DISCRIMINATOR, AddGroupsToGroupV1Input, AddGroupsToGroupV1Instruction, AddGroupsToGroupV1InstructionData, AddGroupsToGroupV1InstructionDataArgs, ParsedAddGroupsToGroupV1Instruction, getAddGroupsToGroupV1DiscriminatorBytes, getAddGroupsToGroupV1Instruction, getAddGroupsToGroupV1InstructionDataCodec, getAddGroupsToGroupV1InstructionDataDecoder, getAddGroupsToGroupV1InstructionDataEncoder, parseAddGroupsToGroupV1Instruction } from "./instructions/addGroupsToGroupV1.js";
132
+ import { ADD_PLUGIN_V1_DISCRIMINATOR, AddPluginV1Input, AddPluginV1Instruction, AddPluginV1InstructionData, AddPluginV1InstructionDataArgs, ParsedAddPluginV1Instruction, getAddPluginV1DiscriminatorBytes, getAddPluginV1Instruction, getAddPluginV1InstructionDataCodec, getAddPluginV1InstructionDataDecoder, getAddPluginV1InstructionDataEncoder, parseAddPluginV1Instruction } from "./instructions/addPluginV1.js";
133
+ import { APPROVE_COLLECTION_PLUGIN_AUTHORITY_V1_DISCRIMINATOR, ApproveCollectionPluginAuthorityV1Input, ApproveCollectionPluginAuthorityV1Instruction, ApproveCollectionPluginAuthorityV1InstructionData, ApproveCollectionPluginAuthorityV1InstructionDataArgs, ParsedApproveCollectionPluginAuthorityV1Instruction, getApproveCollectionPluginAuthorityV1DiscriminatorBytes, getApproveCollectionPluginAuthorityV1Instruction, getApproveCollectionPluginAuthorityV1InstructionDataCodec, getApproveCollectionPluginAuthorityV1InstructionDataDecoder, getApproveCollectionPluginAuthorityV1InstructionDataEncoder, parseApproveCollectionPluginAuthorityV1Instruction } from "./instructions/approveCollectionPluginAuthorityV1.js";
134
+ import { APPROVE_PLUGIN_AUTHORITY_V1_DISCRIMINATOR, ApprovePluginAuthorityV1Input, ApprovePluginAuthorityV1Instruction, ApprovePluginAuthorityV1InstructionData, ApprovePluginAuthorityV1InstructionDataArgs, ParsedApprovePluginAuthorityV1Instruction, getApprovePluginAuthorityV1DiscriminatorBytes, getApprovePluginAuthorityV1Instruction, getApprovePluginAuthorityV1InstructionDataCodec, getApprovePluginAuthorityV1InstructionDataDecoder, getApprovePluginAuthorityV1InstructionDataEncoder, parseApprovePluginAuthorityV1Instruction } from "./instructions/approvePluginAuthorityV1.js";
135
+ import { BURN_COLLECTION_V1_DISCRIMINATOR, BurnCollectionV1Input, BurnCollectionV1Instruction, BurnCollectionV1InstructionData, BurnCollectionV1InstructionDataArgs, ParsedBurnCollectionV1Instruction, getBurnCollectionV1DiscriminatorBytes, getBurnCollectionV1Instruction, getBurnCollectionV1InstructionDataCodec, getBurnCollectionV1InstructionDataDecoder, getBurnCollectionV1InstructionDataEncoder, parseBurnCollectionV1Instruction } from "./instructions/burnCollectionV1.js";
136
+ import { BURN_V1_DISCRIMINATOR, BurnV1Input, BurnV1Instruction, BurnV1InstructionData, BurnV1InstructionDataArgs, ParsedBurnV1Instruction, getBurnV1DiscriminatorBytes, getBurnV1Instruction, getBurnV1InstructionDataCodec, getBurnV1InstructionDataDecoder, getBurnV1InstructionDataEncoder, parseBurnV1Instruction } from "./instructions/burnV1.js";
137
+ import { CLOSE_GROUP_V1_DISCRIMINATOR, CloseGroupV1Input, CloseGroupV1Instruction, CloseGroupV1InstructionData, CloseGroupV1InstructionDataArgs, ParsedCloseGroupV1Instruction, getCloseGroupV1DiscriminatorBytes, getCloseGroupV1Instruction, getCloseGroupV1InstructionDataCodec, getCloseGroupV1InstructionDataDecoder, getCloseGroupV1InstructionDataEncoder, parseCloseGroupV1Instruction } from "./instructions/closeGroupV1.js";
138
+ import { COLLECT_DISCRIMINATOR, CollectInput, CollectInstruction, CollectInstructionData, CollectInstructionDataArgs, ParsedCollectInstruction, getCollectDiscriminatorBytes, getCollectInstruction, getCollectInstructionDataCodec, getCollectInstructionDataDecoder, getCollectInstructionDataEncoder, parseCollectInstruction } from "./instructions/collect.js";
139
+ import { COMPRESS_V1_DISCRIMINATOR, CompressV1Input, CompressV1Instruction, CompressV1InstructionData, CompressV1InstructionDataArgs, ParsedCompressV1Instruction, getCompressV1DiscriminatorBytes, getCompressV1Instruction, getCompressV1InstructionDataCodec, getCompressV1InstructionDataDecoder, getCompressV1InstructionDataEncoder, parseCompressV1Instruction } from "./instructions/compressV1.js";
140
+ import { CREATE_COLLECTION_V1_DISCRIMINATOR, CreateCollectionV1Input, CreateCollectionV1Instruction, CreateCollectionV1InstructionData, CreateCollectionV1InstructionDataArgs, ParsedCreateCollectionV1Instruction, getCreateCollectionV1DiscriminatorBytes, getCreateCollectionV1Instruction, getCreateCollectionV1InstructionDataCodec, getCreateCollectionV1InstructionDataDecoder, getCreateCollectionV1InstructionDataEncoder, parseCreateCollectionV1Instruction } from "./instructions/createCollectionV1.js";
141
+ import { CREATE_COLLECTION_V2_DISCRIMINATOR, CreateCollectionV2Input, CreateCollectionV2Instruction, CreateCollectionV2InstructionData, CreateCollectionV2InstructionDataArgs, ParsedCreateCollectionV2Instruction, getCreateCollectionV2DiscriminatorBytes, getCreateCollectionV2Instruction, getCreateCollectionV2InstructionDataCodec, getCreateCollectionV2InstructionDataDecoder, getCreateCollectionV2InstructionDataEncoder, parseCreateCollectionV2Instruction } from "./instructions/createCollectionV2.js";
142
+ import { CREATE_GROUP_V1_DISCRIMINATOR, CreateGroupV1Input, CreateGroupV1Instruction, CreateGroupV1InstructionData, CreateGroupV1InstructionDataArgs, ParsedCreateGroupV1Instruction, getCreateGroupV1DiscriminatorBytes, getCreateGroupV1Instruction, getCreateGroupV1InstructionDataCodec, getCreateGroupV1InstructionDataDecoder, getCreateGroupV1InstructionDataEncoder, parseCreateGroupV1Instruction } from "./instructions/createGroupV1.js";
143
+ import { CREATE_V1_DISCRIMINATOR, CreateV1Input, CreateV1Instruction, CreateV1InstructionData, CreateV1InstructionDataArgs, ParsedCreateV1Instruction, getCreateV1DiscriminatorBytes, getCreateV1Instruction, getCreateV1InstructionDataCodec, getCreateV1InstructionDataDecoder, getCreateV1InstructionDataEncoder, parseCreateV1Instruction } from "./instructions/createV1.js";
144
+ import { CREATE_V2_DISCRIMINATOR, CreateV2Input, CreateV2Instruction, CreateV2InstructionData, CreateV2InstructionDataArgs, ParsedCreateV2Instruction, getCreateV2DiscriminatorBytes, getCreateV2Instruction, getCreateV2InstructionDataCodec, getCreateV2InstructionDataDecoder, getCreateV2InstructionDataEncoder, parseCreateV2Instruction } from "./instructions/createV2.js";
145
+ import { DECOMPRESS_V1_DISCRIMINATOR, DecompressV1Input, DecompressV1Instruction, DecompressV1InstructionData, DecompressV1InstructionDataArgs, ParsedDecompressV1Instruction, getDecompressV1DiscriminatorBytes, getDecompressV1Instruction, getDecompressV1InstructionDataCodec, getDecompressV1InstructionDataDecoder, getDecompressV1InstructionDataEncoder, parseDecompressV1Instruction } from "./instructions/decompressV1.js";
146
+ import { EXECUTE_V1_DISCRIMINATOR, ExecuteV1AsyncInput, ExecuteV1Input, ExecuteV1Instruction, ExecuteV1InstructionData, ExecuteV1InstructionDataArgs, ParsedExecuteV1Instruction, getExecuteV1DiscriminatorBytes, getExecuteV1Instruction, getExecuteV1InstructionAsync, getExecuteV1InstructionDataCodec, getExecuteV1InstructionDataDecoder, getExecuteV1InstructionDataEncoder, parseExecuteV1Instruction } from "./instructions/executeV1.js";
147
+ import { ParsedRemoveAssetsFromGroupV1Instruction, REMOVE_ASSETS_FROM_GROUP_V1_DISCRIMINATOR, RemoveAssetsFromGroupV1Input, RemoveAssetsFromGroupV1Instruction, RemoveAssetsFromGroupV1InstructionData, RemoveAssetsFromGroupV1InstructionDataArgs, getRemoveAssetsFromGroupV1DiscriminatorBytes, getRemoveAssetsFromGroupV1Instruction, getRemoveAssetsFromGroupV1InstructionDataCodec, getRemoveAssetsFromGroupV1InstructionDataDecoder, getRemoveAssetsFromGroupV1InstructionDataEncoder, parseRemoveAssetsFromGroupV1Instruction } from "./instructions/removeAssetsFromGroupV1.js";
148
+ import { ParsedRemoveCollectionExternalPluginAdapterV1Instruction, REMOVE_COLLECTION_EXTERNAL_PLUGIN_ADAPTER_V1_DISCRIMINATOR, RemoveCollectionExternalPluginAdapterV1Input, RemoveCollectionExternalPluginAdapterV1Instruction, RemoveCollectionExternalPluginAdapterV1InstructionData, RemoveCollectionExternalPluginAdapterV1InstructionDataArgs, getRemoveCollectionExternalPluginAdapterV1DiscriminatorBytes, getRemoveCollectionExternalPluginAdapterV1Instruction, getRemoveCollectionExternalPluginAdapterV1InstructionDataCodec, getRemoveCollectionExternalPluginAdapterV1InstructionDataDecoder, getRemoveCollectionExternalPluginAdapterV1InstructionDataEncoder, parseRemoveCollectionExternalPluginAdapterV1Instruction } from "./instructions/removeCollectionExternalPluginAdapterV1.js";
149
+ import { ParsedRemoveCollectionPluginV1Instruction, REMOVE_COLLECTION_PLUGIN_V1_DISCRIMINATOR, RemoveCollectionPluginV1Input, RemoveCollectionPluginV1Instruction, RemoveCollectionPluginV1InstructionData, RemoveCollectionPluginV1InstructionDataArgs, getRemoveCollectionPluginV1DiscriminatorBytes, getRemoveCollectionPluginV1Instruction, getRemoveCollectionPluginV1InstructionDataCodec, getRemoveCollectionPluginV1InstructionDataDecoder, getRemoveCollectionPluginV1InstructionDataEncoder, parseRemoveCollectionPluginV1Instruction } from "./instructions/removeCollectionPluginV1.js";
150
+ import { ParsedRemoveCollectionsFromGroupV1Instruction, REMOVE_COLLECTIONS_FROM_GROUP_V1_DISCRIMINATOR, RemoveCollectionsFromGroupV1Input, RemoveCollectionsFromGroupV1Instruction, RemoveCollectionsFromGroupV1InstructionData, RemoveCollectionsFromGroupV1InstructionDataArgs, getRemoveCollectionsFromGroupV1DiscriminatorBytes, getRemoveCollectionsFromGroupV1Instruction, getRemoveCollectionsFromGroupV1InstructionDataCodec, getRemoveCollectionsFromGroupV1InstructionDataDecoder, getRemoveCollectionsFromGroupV1InstructionDataEncoder, parseRemoveCollectionsFromGroupV1Instruction } from "./instructions/removeCollectionsFromGroupV1.js";
151
+ import { ParsedRemoveExternalPluginAdapterV1Instruction, REMOVE_EXTERNAL_PLUGIN_ADAPTER_V1_DISCRIMINATOR, RemoveExternalPluginAdapterV1Input, RemoveExternalPluginAdapterV1Instruction, RemoveExternalPluginAdapterV1InstructionData, RemoveExternalPluginAdapterV1InstructionDataArgs, getRemoveExternalPluginAdapterV1DiscriminatorBytes, getRemoveExternalPluginAdapterV1Instruction, getRemoveExternalPluginAdapterV1InstructionDataCodec, getRemoveExternalPluginAdapterV1InstructionDataDecoder, getRemoveExternalPluginAdapterV1InstructionDataEncoder, parseRemoveExternalPluginAdapterV1Instruction } from "./instructions/removeExternalPluginAdapterV1.js";
152
+ import { ParsedRemoveGroupsFromGroupV1Instruction, REMOVE_GROUPS_FROM_GROUP_V1_DISCRIMINATOR, RemoveGroupsFromGroupV1Input, RemoveGroupsFromGroupV1Instruction, RemoveGroupsFromGroupV1InstructionData, RemoveGroupsFromGroupV1InstructionDataArgs, getRemoveGroupsFromGroupV1DiscriminatorBytes, getRemoveGroupsFromGroupV1Instruction, getRemoveGroupsFromGroupV1InstructionDataCodec, getRemoveGroupsFromGroupV1InstructionDataDecoder, getRemoveGroupsFromGroupV1InstructionDataEncoder, parseRemoveGroupsFromGroupV1Instruction } from "./instructions/removeGroupsFromGroupV1.js";
153
+ import { ParsedRemovePluginV1Instruction, REMOVE_PLUGIN_V1_DISCRIMINATOR, RemovePluginV1Input, RemovePluginV1Instruction, RemovePluginV1InstructionData, RemovePluginV1InstructionDataArgs, getRemovePluginV1DiscriminatorBytes, getRemovePluginV1Instruction, getRemovePluginV1InstructionDataCodec, getRemovePluginV1InstructionDataDecoder, getRemovePluginV1InstructionDataEncoder, parseRemovePluginV1Instruction } from "./instructions/removePluginV1.js";
154
+ import { ParsedRevokeCollectionPluginAuthorityV1Instruction, REVOKE_COLLECTION_PLUGIN_AUTHORITY_V1_DISCRIMINATOR, RevokeCollectionPluginAuthorityV1Input, RevokeCollectionPluginAuthorityV1Instruction, RevokeCollectionPluginAuthorityV1InstructionData, RevokeCollectionPluginAuthorityV1InstructionDataArgs, getRevokeCollectionPluginAuthorityV1DiscriminatorBytes, getRevokeCollectionPluginAuthorityV1Instruction, getRevokeCollectionPluginAuthorityV1InstructionDataCodec, getRevokeCollectionPluginAuthorityV1InstructionDataDecoder, getRevokeCollectionPluginAuthorityV1InstructionDataEncoder, parseRevokeCollectionPluginAuthorityV1Instruction } from "./instructions/revokeCollectionPluginAuthorityV1.js";
155
+ import { ParsedRevokePluginAuthorityV1Instruction, REVOKE_PLUGIN_AUTHORITY_V1_DISCRIMINATOR, RevokePluginAuthorityV1Input, RevokePluginAuthorityV1Instruction, RevokePluginAuthorityV1InstructionData, RevokePluginAuthorityV1InstructionDataArgs, getRevokePluginAuthorityV1DiscriminatorBytes, getRevokePluginAuthorityV1Instruction, getRevokePluginAuthorityV1InstructionDataCodec, getRevokePluginAuthorityV1InstructionDataDecoder, getRevokePluginAuthorityV1InstructionDataEncoder, parseRevokePluginAuthorityV1Instruction } from "./instructions/revokePluginAuthorityV1.js";
156
+ import { ParsedTransferV1Instruction, TRANSFER_V1_DISCRIMINATOR, TransferV1Input, TransferV1Instruction, TransferV1InstructionData, TransferV1InstructionDataArgs, getTransferV1DiscriminatorBytes, getTransferV1Instruction, getTransferV1InstructionDataCodec, getTransferV1InstructionDataDecoder, getTransferV1InstructionDataEncoder, parseTransferV1Instruction } from "./instructions/transferV1.js";
157
+ import { ParsedUpdateCollectionExternalPluginAdapterV1Instruction, UPDATE_COLLECTION_EXTERNAL_PLUGIN_ADAPTER_V1_DISCRIMINATOR, UpdateCollectionExternalPluginAdapterV1Input, UpdateCollectionExternalPluginAdapterV1Instruction, UpdateCollectionExternalPluginAdapterV1InstructionData, UpdateCollectionExternalPluginAdapterV1InstructionDataArgs, getUpdateCollectionExternalPluginAdapterV1DiscriminatorBytes, getUpdateCollectionExternalPluginAdapterV1Instruction, getUpdateCollectionExternalPluginAdapterV1InstructionDataCodec, getUpdateCollectionExternalPluginAdapterV1InstructionDataDecoder, getUpdateCollectionExternalPluginAdapterV1InstructionDataEncoder, parseUpdateCollectionExternalPluginAdapterV1Instruction } from "./instructions/updateCollectionExternalPluginAdapterV1.js";
158
+ import { ParsedUpdateCollectionInfoV1Instruction, UPDATE_COLLECTION_INFO_V1_DISCRIMINATOR, UpdateCollectionInfoV1Input, UpdateCollectionInfoV1Instruction, UpdateCollectionInfoV1InstructionData, UpdateCollectionInfoV1InstructionDataArgs, getUpdateCollectionInfoV1DiscriminatorBytes, getUpdateCollectionInfoV1Instruction, getUpdateCollectionInfoV1InstructionDataCodec, getUpdateCollectionInfoV1InstructionDataDecoder, getUpdateCollectionInfoV1InstructionDataEncoder, parseUpdateCollectionInfoV1Instruction } from "./instructions/updateCollectionInfoV1.js";
159
+ import { ParsedUpdateCollectionPluginV1Instruction, UPDATE_COLLECTION_PLUGIN_V1_DISCRIMINATOR, UpdateCollectionPluginV1Input, UpdateCollectionPluginV1Instruction, UpdateCollectionPluginV1InstructionData, UpdateCollectionPluginV1InstructionDataArgs, getUpdateCollectionPluginV1DiscriminatorBytes, getUpdateCollectionPluginV1Instruction, getUpdateCollectionPluginV1InstructionDataCodec, getUpdateCollectionPluginV1InstructionDataDecoder, getUpdateCollectionPluginV1InstructionDataEncoder, parseUpdateCollectionPluginV1Instruction } from "./instructions/updateCollectionPluginV1.js";
160
+ import { ParsedUpdateCollectionV1Instruction, UPDATE_COLLECTION_V1_DISCRIMINATOR, UpdateCollectionV1Input, UpdateCollectionV1Instruction, UpdateCollectionV1InstructionData, UpdateCollectionV1InstructionDataArgs, getUpdateCollectionV1DiscriminatorBytes, getUpdateCollectionV1Instruction, getUpdateCollectionV1InstructionDataCodec, getUpdateCollectionV1InstructionDataDecoder, getUpdateCollectionV1InstructionDataEncoder, parseUpdateCollectionV1Instruction } from "./instructions/updateCollectionV1.js";
161
+ import { ParsedUpdateExternalPluginAdapterV1Instruction, UPDATE_EXTERNAL_PLUGIN_ADAPTER_V1_DISCRIMINATOR, UpdateExternalPluginAdapterV1Input, UpdateExternalPluginAdapterV1Instruction, UpdateExternalPluginAdapterV1InstructionData, UpdateExternalPluginAdapterV1InstructionDataArgs, getUpdateExternalPluginAdapterV1DiscriminatorBytes, getUpdateExternalPluginAdapterV1Instruction, getUpdateExternalPluginAdapterV1InstructionDataCodec, getUpdateExternalPluginAdapterV1InstructionDataDecoder, getUpdateExternalPluginAdapterV1InstructionDataEncoder, parseUpdateExternalPluginAdapterV1Instruction } from "./instructions/updateExternalPluginAdapterV1.js";
162
+ import { ParsedUpdateGroupV1Instruction, UPDATE_GROUP_V1_DISCRIMINATOR, UpdateGroupV1Input, UpdateGroupV1Instruction, UpdateGroupV1InstructionData, UpdateGroupV1InstructionDataArgs, getUpdateGroupV1DiscriminatorBytes, getUpdateGroupV1Instruction, getUpdateGroupV1InstructionDataCodec, getUpdateGroupV1InstructionDataDecoder, getUpdateGroupV1InstructionDataEncoder, parseUpdateGroupV1Instruction } from "./instructions/updateGroupV1.js";
163
+ import { ParsedUpdatePluginV1Instruction, UPDATE_PLUGIN_V1_DISCRIMINATOR, UpdatePluginV1Input, UpdatePluginV1Instruction, UpdatePluginV1InstructionData, UpdatePluginV1InstructionDataArgs, getUpdatePluginV1DiscriminatorBytes, getUpdatePluginV1Instruction, getUpdatePluginV1InstructionDataCodec, getUpdatePluginV1InstructionDataDecoder, getUpdatePluginV1InstructionDataEncoder, parseUpdatePluginV1Instruction } from "./instructions/updatePluginV1.js";
164
+ import { ParsedUpdateV1Instruction, UPDATE_V1_DISCRIMINATOR, UpdateV1Input, UpdateV1Instruction, UpdateV1InstructionData, UpdateV1InstructionDataArgs, getUpdateV1DiscriminatorBytes, getUpdateV1Instruction, getUpdateV1InstructionDataCodec, getUpdateV1InstructionDataDecoder, getUpdateV1InstructionDataEncoder, parseUpdateV1Instruction } from "./instructions/updateV1.js";
165
+ import { ParsedUpdateV2Instruction, UPDATE_V2_DISCRIMINATOR, UpdateV2Input, UpdateV2Instruction, UpdateV2InstructionData, UpdateV2InstructionDataArgs, getUpdateV2DiscriminatorBytes, getUpdateV2Instruction, getUpdateV2InstructionDataCodec, getUpdateV2InstructionDataDecoder, getUpdateV2InstructionDataEncoder, parseUpdateV2Instruction } from "./instructions/updateV2.js";
166
+ import { ParsedWriteCollectionExternalPluginAdapterDataV1Instruction, WRITE_COLLECTION_EXTERNAL_PLUGIN_ADAPTER_DATA_V1_DISCRIMINATOR, WriteCollectionExternalPluginAdapterDataV1Input, WriteCollectionExternalPluginAdapterDataV1Instruction, WriteCollectionExternalPluginAdapterDataV1InstructionData, WriteCollectionExternalPluginAdapterDataV1InstructionDataArgs, getWriteCollectionExternalPluginAdapterDataV1DiscriminatorBytes, getWriteCollectionExternalPluginAdapterDataV1Instruction, getWriteCollectionExternalPluginAdapterDataV1InstructionDataCodec, getWriteCollectionExternalPluginAdapterDataV1InstructionDataDecoder, getWriteCollectionExternalPluginAdapterDataV1InstructionDataEncoder, parseWriteCollectionExternalPluginAdapterDataV1Instruction } from "./instructions/writeCollectionExternalPluginAdapterDataV1.js";
167
+ import { ParsedWriteExternalPluginAdapterDataV1Instruction, WRITE_EXTERNAL_PLUGIN_ADAPTER_DATA_V1_DISCRIMINATOR, WriteExternalPluginAdapterDataV1Input, WriteExternalPluginAdapterDataV1Instruction, WriteExternalPluginAdapterDataV1InstructionData, WriteExternalPluginAdapterDataV1InstructionDataArgs, getWriteExternalPluginAdapterDataV1DiscriminatorBytes, getWriteExternalPluginAdapterDataV1Instruction, getWriteExternalPluginAdapterDataV1InstructionDataCodec, getWriteExternalPluginAdapterDataV1InstructionDataDecoder, getWriteExternalPluginAdapterDataV1InstructionDataEncoder, parseWriteExternalPluginAdapterDataV1Instruction } from "./instructions/writeExternalPluginAdapterDataV1.js";
@@ -1,59 +1,46 @@
1
- /**
2
- * This code was AUTOGENERATED using the Codama library.
3
- * Please DO NOT EDIT THIS FILE, instead use visitors
4
- * to add features, then rerun Codama to update it.
5
- *
6
- * @see https://github.com/codama-idl/codama
7
- */
8
- import type { AccountMeta, AccountSignerMeta, Address, FixedSizeCodec, FixedSizeDecoder, FixedSizeEncoder, Instruction, InstructionWithAccounts, InstructionWithData, ReadonlyAccount, ReadonlySignerAccount, ReadonlyUint8Array, TransactionSigner, WritableAccount, WritableSignerAccount } from "@solana/kit";
9
- import type { AddAssetsToGroupV1Args, AddAssetsToGroupV1ArgsArgs } from "../types/index.js";
10
- import { MPL_CORE_PROGRAM_PROGRAM_ADDRESS } from "../programs/index.js";
11
- export declare const ADD_ASSETS_TO_GROUP_V1_DISCRIMINATOR = 35;
12
- export declare function getAddAssetsToGroupV1DiscriminatorBytes(): ReadonlyUint8Array;
13
- export type AddAssetsToGroupV1Instruction<TProgram extends string = typeof MPL_CORE_PROGRAM_PROGRAM_ADDRESS, TAccountGroup extends string | AccountMeta = string, TAccountPayer extends string | AccountMeta = string, TAccountAuthority extends string | AccountMeta = string, TAccountSystemProgram extends string | AccountMeta = "11111111111111111111111111111111", TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
14
- TAccountGroup extends string ? WritableAccount<TAccountGroup> : TAccountGroup,
15
- TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
16
- TAccountAuthority extends string ? ReadonlySignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority,
17
- TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
18
- ...TRemainingAccounts
19
- ]>;
20
- export interface AddAssetsToGroupV1InstructionData {
21
- discriminator: number;
22
- addAssetsToGroupV1Args: AddAssetsToGroupV1Args;
1
+ import { AddAssetsToGroupV1Args, AddAssetsToGroupV1ArgsArgs } from "../types/addAssetsToGroupV1Args.js";
2
+ import { MPL_CORE_PROGRAM_PROGRAM_ADDRESS } from "../programs/mplCoreProgram.js";
3
+ import { AccountMeta, AccountSignerMeta, Address, FixedSizeCodec, FixedSizeDecoder, FixedSizeEncoder, Instruction, InstructionWithAccounts, InstructionWithData, ReadonlyAccount, ReadonlySignerAccount, ReadonlyUint8Array, TransactionSigner, WritableAccount, WritableSignerAccount } from "@solana/kit";
4
+
5
+ //#region src/generated/instructions/addAssetsToGroupV1.d.ts
6
+ declare const ADD_ASSETS_TO_GROUP_V1_DISCRIMINATOR = 35;
7
+ declare function getAddAssetsToGroupV1DiscriminatorBytes(): ReadonlyUint8Array;
8
+ type AddAssetsToGroupV1Instruction<TProgram extends string = typeof MPL_CORE_PROGRAM_PROGRAM_ADDRESS, TAccountGroup extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountGroup extends string ? WritableAccount<TAccountGroup> : TAccountGroup, TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer, TAccountAuthority extends string ? ReadonlySignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority, TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram, ...TRemainingAccounts]>;
9
+ interface AddAssetsToGroupV1InstructionData {
10
+ discriminator: number;
11
+ addAssetsToGroupV1Args: AddAssetsToGroupV1Args;
23
12
  }
24
- export interface AddAssetsToGroupV1InstructionDataArgs {
25
- addAssetsToGroupV1Args: AddAssetsToGroupV1ArgsArgs;
13
+ interface AddAssetsToGroupV1InstructionDataArgs {
14
+ addAssetsToGroupV1Args: AddAssetsToGroupV1ArgsArgs;
26
15
  }
27
- export declare function getAddAssetsToGroupV1InstructionDataEncoder(): FixedSizeEncoder<AddAssetsToGroupV1InstructionDataArgs>;
28
- export declare function getAddAssetsToGroupV1InstructionDataDecoder(): FixedSizeDecoder<AddAssetsToGroupV1InstructionData>;
29
- export declare function getAddAssetsToGroupV1InstructionDataCodec(): FixedSizeCodec<AddAssetsToGroupV1InstructionDataArgs, AddAssetsToGroupV1InstructionData>;
30
- export interface AddAssetsToGroupV1Input<TAccountGroup extends string = string, TAccountPayer extends string = string, TAccountAuthority extends string = string, TAccountSystemProgram extends string = string> {
31
- /** The address of the group to modify */
32
- group: Address<TAccountGroup>;
33
- /** The account paying for storage fees */
34
- payer: TransactionSigner<TAccountPayer>;
35
- /** The group update authority and asset update authority or delegate */
36
- authority?: TransactionSigner<TAccountAuthority>;
37
- /** The system program */
38
- systemProgram?: Address<TAccountSystemProgram>;
39
- addAssetsToGroupV1Args: AddAssetsToGroupV1InstructionDataArgs["addAssetsToGroupV1Args"];
16
+ declare function getAddAssetsToGroupV1InstructionDataEncoder(): FixedSizeEncoder<AddAssetsToGroupV1InstructionDataArgs>;
17
+ declare function getAddAssetsToGroupV1InstructionDataDecoder(): FixedSizeDecoder<AddAssetsToGroupV1InstructionData>;
18
+ declare function getAddAssetsToGroupV1InstructionDataCodec(): FixedSizeCodec<AddAssetsToGroupV1InstructionDataArgs, AddAssetsToGroupV1InstructionData>;
19
+ interface AddAssetsToGroupV1Input<TAccountGroup extends string = string, TAccountPayer extends string = string, TAccountAuthority extends string = string, TAccountSystemProgram extends string = string> {
20
+ /** The address of the group to modify */
21
+ group: Address<TAccountGroup>;
22
+ /** The account paying for storage fees */
23
+ payer: TransactionSigner<TAccountPayer>;
24
+ /** The group update authority and asset update authority or delegate */
25
+ authority?: TransactionSigner<TAccountAuthority>;
26
+ /** The system program */
27
+ systemProgram?: Address<TAccountSystemProgram>;
28
+ addAssetsToGroupV1Args: AddAssetsToGroupV1InstructionDataArgs["addAssetsToGroupV1Args"];
40
29
  }
41
- export declare function getAddAssetsToGroupV1Instruction<TAccountGroup extends string, TAccountPayer extends string, TAccountAuthority extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof MPL_CORE_PROGRAM_PROGRAM_ADDRESS>(input: AddAssetsToGroupV1Input<TAccountGroup, TAccountPayer, TAccountAuthority, TAccountSystemProgram>, config?: {
42
- programAddress?: TProgramAddress;
30
+ declare function getAddAssetsToGroupV1Instruction<TAccountGroup extends string, TAccountPayer extends string, TAccountAuthority extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof MPL_CORE_PROGRAM_PROGRAM_ADDRESS>(input: AddAssetsToGroupV1Input<TAccountGroup, TAccountPayer, TAccountAuthority, TAccountSystemProgram>, config?: {
31
+ programAddress?: TProgramAddress;
43
32
  }): AddAssetsToGroupV1Instruction<TProgramAddress, TAccountGroup, TAccountPayer, TAccountAuthority, TAccountSystemProgram>;
44
- export interface ParsedAddAssetsToGroupV1Instruction<TProgram extends string = typeof MPL_CORE_PROGRAM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> {
45
- programAddress: Address<TProgram>;
46
- accounts: {
47
- /** The address of the group to modify */
48
- group: TAccountMetas[0];
49
- /** The account paying for storage fees */
50
- payer: TAccountMetas[1];
51
- /** The group update authority and asset update authority or delegate */
52
- authority?: TAccountMetas[2] | undefined;
53
- /** The system program */
54
- systemProgram: TAccountMetas[3];
55
- };
56
- data: AddAssetsToGroupV1InstructionData;
33
+ interface ParsedAddAssetsToGroupV1Instruction<TProgram extends string = typeof MPL_CORE_PROGRAM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> {
34
+ programAddress: Address<TProgram>;
35
+ accounts: {
36
+ /** The address of the group to modify */group: TAccountMetas[0]; /** The account paying for storage fees */
37
+ payer: TAccountMetas[1]; /** The group update authority and asset update authority or delegate */
38
+ authority?: TAccountMetas[2] | undefined; /** The system program */
39
+ systemProgram: TAccountMetas[3];
40
+ };
41
+ data: AddAssetsToGroupV1InstructionData;
57
42
  }
58
- export declare function parseAddAssetsToGroupV1Instruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedAddAssetsToGroupV1Instruction<TProgram, TAccountMetas>;
43
+ declare function parseAddAssetsToGroupV1Instruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedAddAssetsToGroupV1Instruction<TProgram, TAccountMetas>;
44
+ //#endregion
45
+ export { ADD_ASSETS_TO_GROUP_V1_DISCRIMINATOR, AddAssetsToGroupV1Input, AddAssetsToGroupV1Instruction, AddAssetsToGroupV1InstructionData, AddAssetsToGroupV1InstructionDataArgs, ParsedAddAssetsToGroupV1Instruction, getAddAssetsToGroupV1DiscriminatorBytes, getAddAssetsToGroupV1Instruction, getAddAssetsToGroupV1InstructionDataCodec, getAddAssetsToGroupV1InstructionDataDecoder, getAddAssetsToGroupV1InstructionDataEncoder, parseAddAssetsToGroupV1Instruction };
59
46
  //# sourceMappingURL=addAssetsToGroupV1.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"addAssetsToGroupV1.d.ts","sourceRoot":"","sources":["../../../src/generated/instructions/addAssetsToGroupV1.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EACV,WAAW,EACX,iBAAiB,EACjB,OAAO,EACP,cAAc,EACd,gBAAgB,EAChB,gBAAgB,EAChB,WAAW,EACX,uBAAuB,EACvB,mBAAmB,EACnB,eAAe,EACf,qBAAqB,EACrB,kBAAkB,EAClB,iBAAiB,EACjB,eAAe,EACf,qBAAqB,EACtB,MAAM,aAAa,CAAC;AAErB,OAAO,KAAK,EACV,sBAAsB,EACtB,0BAA0B,EAC3B,MAAM,mBAAmB,CAAC;AAY3B,OAAO,EAAE,gCAAgC,EAAE,MAAM,sBAAsB,CAAC;AAMxE,eAAO,MAAM,oCAAoC,KAAK,CAAC;AAEvD,wBAAgB,uCAAuC,IAAI,kBAAkB,CAE5E;AAED,MAAM,MAAM,6BAA6B,CACvC,QAAQ,SAAS,MAAM,GAAG,OAAO,gCAAgC,EACjE,aAAa,SAAS,MAAM,GAAG,WAAW,GAAG,MAAM,EACnD,aAAa,SAAS,MAAM,GAAG,WAAW,GAAG,MAAM,EACnD,iBAAiB,SAAS,MAAM,GAAG,WAAW,GAAG,MAAM,EACvD,qBAAqB,SACjB,MAAM,GACN,WAAW,GAAG,kCAAkC,EACpD,kBAAkB,SAAS,SAAS,WAAW,EAAE,GAAG,EAAE,IACpD,WAAW,CAAC,QAAQ,CAAC,GACvB,mBAAmB,CAAC,kBAAkB,CAAC,GACvC,uBAAuB,CACrB;IACE,aAAa,SAAS,MAAM,GACxB,eAAe,CAAC,aAAa,CAAC,GAC9B,aAAa;IACjB,aAAa,SAAS,MAAM,GACxB,qBAAqB,CAAC,aAAa,CAAC,GAClC,iBAAiB,CAAC,aAAa,CAAC,GAClC,aAAa;IACjB,iBAAiB,SAAS,MAAM,GAC5B,qBAAqB,CAAC,iBAAiB,CAAC,GACtC,iBAAiB,CAAC,iBAAiB,CAAC,GACtC,iBAAiB;IACrB,qBAAqB,SAAS,MAAM,GAChC,eAAe,CAAC,qBAAqB,CAAC,GACtC,qBAAqB;IACzB,GAAG,kBAAkB;CACtB,CACF,CAAC;AAEJ,MAAM,WAAW,iCAAiC;IAChD,aAAa,EAAE,MAAM,CAAC;IACtB,sBAAsB,EAAE,sBAAsB,CAAC;CAChD;AAED,MAAM,WAAW,qCAAqC;IACpD,sBAAsB,EAAE,0BAA0B,CAAC;CACpD;AAED,wBAAgB,2CAA2C,IAAI,gBAAgB,CAAC,qCAAqC,CAAC,CAWrH;AAED,wBAAgB,2CAA2C,IAAI,gBAAgB,CAAC,iCAAiC,CAAC,CAKjH;AAED,wBAAgB,yCAAyC,IAAI,cAAc,CACzE,qCAAqC,EACrC,iCAAiC,CAClC,CAKA;AAED,MAAM,WAAW,uBAAuB,CACtC,aAAa,SAAS,MAAM,GAAG,MAAM,EACrC,aAAa,SAAS,MAAM,GAAG,MAAM,EACrC,iBAAiB,SAAS,MAAM,GAAG,MAAM,EACzC,qBAAqB,SAAS,MAAM,GAAG,MAAM;IAE7C,yCAAyC;IACzC,KAAK,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC;IAC9B,0CAA0C;IAC1C,KAAK,EAAE,iBAAiB,CAAC,aAAa,CAAC,CAAC;IACxC,wEAAwE;IACxE,SAAS,CAAC,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;IACjD,yBAAyB;IACzB,aAAa,CAAC,EAAE,OAAO,CAAC,qBAAqB,CAAC,CAAC;IAC/C,sBAAsB,EAAE,qCAAqC,CAAC,wBAAwB,CAAC,CAAC;CACzF;AAED,wBAAgB,gCAAgC,CAC9C,aAAa,SAAS,MAAM,EAC5B,aAAa,SAAS,MAAM,EAC5B,iBAAiB,SAAS,MAAM,EAChC,qBAAqB,SAAS,MAAM,EACpC,eAAe,SAAS,OAAO,GAAG,OAAO,gCAAgC,EAEzE,KAAK,EAAE,uBAAuB,CAC5B,aAAa,EACb,aAAa,EACb,iBAAiB,EACjB,qBAAqB,CACtB,EACD,MAAM,CAAC,EAAE;IAAE,cAAc,CAAC,EAAE,eAAe,CAAA;CAAE,GAC5C,6BAA6B,CAC9B,eAAe,EACf,aAAa,EACb,aAAa,EACb,iBAAiB,EACjB,qBAAqB,CACtB,CA6CA;AAED,MAAM,WAAW,mCAAmC,CAClD,QAAQ,SAAS,MAAM,GAAG,OAAO,gCAAgC,EACjE,aAAa,SAAS,SAAS,WAAW,EAAE,GAAG,SAAS,WAAW,EAAE;IAErE,cAAc,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAClC,QAAQ,EAAE;QACR,yCAAyC;QACzC,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QACxB,0CAA0C;QAC1C,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QACxB,wEAAwE;QACxE,SAAS,CAAC,EAAE,aAAa,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC;QACzC,yBAAyB;QACzB,aAAa,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;KACjC,CAAC;IACF,IAAI,EAAE,iCAAiC,CAAC;CACzC;AAED,wBAAgB,kCAAkC,CAChD,QAAQ,SAAS,MAAM,EACvB,aAAa,SAAS,SAAS,WAAW,EAAE,EAE5C,WAAW,EAAE,WAAW,CAAC,QAAQ,CAAC,GAChC,uBAAuB,CAAC,aAAa,CAAC,GACtC,mBAAmB,CAAC,kBAAkB,CAAC,GACxC,mCAAmC,CAAC,QAAQ,EAAE,aAAa,CAAC,CAkC9D"}
1
+ {"version":3,"file":"addAssetsToGroupV1.d.ts","names":[],"sources":["../../../src/generated/instructions/addAssetsToGroupV1.ts"],"mappings":";;;;;cA+Ca,oCAAA;AAAA,iBAEG,uCAAA,IAA2C,kBAAA;AAAA,KAI/C,6BAAA,kCACuB,gCAAA,iCACF,WAAA,kDACA,WAAA,sDACI,WAAA,0DAG/B,WAAA,mFACgC,WAAA,mBAClC,WAAA,CAAY,QAAA,IACd,mBAAA,CAAoB,kBAAA,IACpB,uBAAA,EAEI,aAAA,kBACI,eAAA,CAAgB,aAAA,IAChB,aAAA,EACJ,aAAA,kBACI,qBAAA,CAAsB,aAAA,IACpB,iBAAA,CAAkB,aAAA,IACpB,aAAA,EACJ,iBAAA,kBACI,qBAAA,CAAsB,iBAAA,IACpB,iBAAA,CAAkB,iBAAA,IACpB,iBAAA,EACJ,qBAAA,kBACI,eAAA,CAAgB,qBAAA,IAChB,qBAAA,KACD,kBAAA;AAAA,UAIQ,iCAAA;EACf,aAAA;EACA,sBAAA,EAAwB,sBAAA;AAAA;AAAA,UAGT,qCAAA;EACf,sBAAA,EAAwB,0BAAA;AAAA;AAAA,iBAGV,2CAAA,IAA+C,gBAAA,CAAiB,qCAAA;AAAA,iBAahE,2CAAA,IAA+C,gBAAA,CAAiB,iCAAA;AAAA,iBAOhE,yCAAA,IAA6C,cAAA,CAC3D,qCAAA,EACA,iCAAA;AAAA,UAQe,uBAAA;;EAOf,KAAA,EAAO,OAAA,CAAQ,aAAA;;EAEf,KAAA,EAAO,iBAAA,CAAkB,aAAA;;EAEzB,SAAA,GAAY,iBAAA,CAAkB,iBAAA;;EAE9B,aAAA,GAAgB,OAAA,CAAQ,qBAAA;EACxB,sBAAA,EAAwB,qCAAA;AAAA;AAAA,iBAGV,gCAAA,6JAKU,OAAA,UAAiB,gCAAA,EAEzC,KAAA,EAAO,uBAAA,CACL,aAAA,EACA,aAAA,EACA,iBAAA,EACA,qBAAA,GAEF,MAAA;EAAW,cAAA,GAAiB,eAAA;AAAA,IAC3B,6BAAA,CACD,eAAA,EACA,aAAA,EACA,aAAA,EACA,iBAAA,EACA,qBAAA;AAAA,UAgDe,mCAAA,kCACkB,gCAAA,iCACF,WAAA,cAAyB,WAAA;EAExD,cAAA,EAAgB,OAAA,CAAQ,QAAA;EACxB,QAAA;IA3JmC,yCA6JjC,KAAA,EAAO,aAAA,KA1JL;IA4JF,KAAA,EAAO,aAAA,KA3J2B;IA6JlC,SAAA,GAAY,aAAA,iBA5JA;IA8JZ,aAAA,EAAe,aAAA;EAAA;EAEjB,IAAA,EAAM,iCAAA;AAAA;AAAA,iBAGQ,kCAAA,yDAEiB,WAAA,IAE/B,WAAA,EAAa,WAAA,CAAY,QAAA,IACvB,uBAAA,CAAwB,aAAA,IACxB,mBAAA,CAAoB,kBAAA,IACrB,mCAAA,CAAoC,QAAA,EAAU,aAAA"}
@@ -1,94 +1,85 @@
1
- /**
2
- * This code was AUTOGENERATED using the Codama library.
3
- * Please DO NOT EDIT THIS FILE, instead use visitors
4
- * to add features, then rerun Codama to update it.
5
- *
6
- * @see https://github.com/codama-idl/codama
7
- */
8
- import { combineCodec, getStructDecoder, getStructEncoder, getU8Decoder, getU8Encoder, SOLANA_ERROR__PROGRAM_CLIENTS__INSUFFICIENT_ACCOUNT_METAS, SolanaError, transformEncoder, } from "@solana/kit";
1
+ import { getAddAssetsToGroupV1ArgsDecoder, getAddAssetsToGroupV1ArgsEncoder } from "../types/addAssetsToGroupV1Args.js";
2
+ import "../programs/mplCoreProgram.js";
3
+ import { SOLANA_ERROR__PROGRAM_CLIENTS__INSUFFICIENT_ACCOUNT_METAS, SolanaError, combineCodec, getStructDecoder, getStructEncoder, getU8Decoder, getU8Encoder, transformEncoder } from "@solana/kit";
9
4
  import { getAccountMetaFactory } from "@solana/program-client-core";
10
- import { MPL_CORE_PROGRAM_PROGRAM_ADDRESS } from "../programs/index.js";
11
- import { getAddAssetsToGroupV1ArgsDecoder, getAddAssetsToGroupV1ArgsEncoder, } from "../types/index.js";
12
- export const ADD_ASSETS_TO_GROUP_V1_DISCRIMINATOR = 35;
13
- export function getAddAssetsToGroupV1DiscriminatorBytes() {
14
- return getU8Encoder().encode(ADD_ASSETS_TO_GROUP_V1_DISCRIMINATOR);
5
+ //#region src/generated/instructions/addAssetsToGroupV1.ts
6
+ const ADD_ASSETS_TO_GROUP_V1_DISCRIMINATOR = 35;
7
+ function getAddAssetsToGroupV1DiscriminatorBytes() {
8
+ return getU8Encoder().encode(35);
15
9
  }
16
- export function getAddAssetsToGroupV1InstructionDataEncoder() {
17
- return transformEncoder(getStructEncoder([
18
- ["discriminator", getU8Encoder()],
19
- ["addAssetsToGroupV1Args", getAddAssetsToGroupV1ArgsEncoder()],
20
- ]), (value) => ({
21
- ...value,
22
- discriminator: ADD_ASSETS_TO_GROUP_V1_DISCRIMINATOR,
23
- }));
10
+ function getAddAssetsToGroupV1InstructionDataEncoder() {
11
+ return transformEncoder(getStructEncoder([["discriminator", getU8Encoder()], ["addAssetsToGroupV1Args", getAddAssetsToGroupV1ArgsEncoder()]]), (value) => ({
12
+ ...value,
13
+ discriminator: 35
14
+ }));
24
15
  }
25
- export function getAddAssetsToGroupV1InstructionDataDecoder() {
26
- return getStructDecoder([
27
- ["discriminator", getU8Decoder()],
28
- ["addAssetsToGroupV1Args", getAddAssetsToGroupV1ArgsDecoder()],
29
- ]);
16
+ function getAddAssetsToGroupV1InstructionDataDecoder() {
17
+ return getStructDecoder([["discriminator", getU8Decoder()], ["addAssetsToGroupV1Args", getAddAssetsToGroupV1ArgsDecoder()]]);
30
18
  }
31
- export function getAddAssetsToGroupV1InstructionDataCodec() {
32
- return combineCodec(getAddAssetsToGroupV1InstructionDataEncoder(), getAddAssetsToGroupV1InstructionDataDecoder());
19
+ function getAddAssetsToGroupV1InstructionDataCodec() {
20
+ return combineCodec(getAddAssetsToGroupV1InstructionDataEncoder(), getAddAssetsToGroupV1InstructionDataDecoder());
33
21
  }
34
- export function getAddAssetsToGroupV1Instruction(input, config) {
35
- // Program address.
36
- const programAddress = config?.programAddress ?? MPL_CORE_PROGRAM_PROGRAM_ADDRESS;
37
- // Original accounts.
38
- const originalAccounts = {
39
- group: { value: input.group ?? null, isWritable: true },
40
- payer: { value: input.payer ?? null, isWritable: true },
41
- authority: { value: input.authority ?? null, isWritable: false },
42
- systemProgram: { value: input.systemProgram ?? null, isWritable: false },
43
- };
44
- const accounts = originalAccounts;
45
- // Original args.
46
- const args = { ...input };
47
- // Resolve default values.
48
- if (!accounts.systemProgram.value) {
49
- accounts.systemProgram.value =
50
- "11111111111111111111111111111111";
51
- }
52
- const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
53
- return Object.freeze({
54
- accounts: [
55
- getAccountMeta("group", accounts.group),
56
- getAccountMeta("payer", accounts.payer),
57
- getAccountMeta("authority", accounts.authority),
58
- getAccountMeta("systemProgram", accounts.systemProgram),
59
- ],
60
- data: getAddAssetsToGroupV1InstructionDataEncoder().encode(args),
61
- programAddress,
62
- });
22
+ function getAddAssetsToGroupV1Instruction(input, config) {
23
+ const programAddress = config?.programAddress ?? "CoREENxT6tW1HoK8ypY1SxRMZTcVPm7R94rH4PZNhX7d";
24
+ const accounts = {
25
+ group: {
26
+ value: input.group ?? null,
27
+ isWritable: true
28
+ },
29
+ payer: {
30
+ value: input.payer ?? null,
31
+ isWritable: true
32
+ },
33
+ authority: {
34
+ value: input.authority ?? null,
35
+ isWritable: false
36
+ },
37
+ systemProgram: {
38
+ value: input.systemProgram ?? null,
39
+ isWritable: false
40
+ }
41
+ };
42
+ const args = { ...input };
43
+ if (!accounts.systemProgram.value) accounts.systemProgram.value = "11111111111111111111111111111111";
44
+ const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
45
+ return Object.freeze({
46
+ accounts: [
47
+ getAccountMeta("group", accounts.group),
48
+ getAccountMeta("payer", accounts.payer),
49
+ getAccountMeta("authority", accounts.authority),
50
+ getAccountMeta("systemProgram", accounts.systemProgram)
51
+ ],
52
+ data: getAddAssetsToGroupV1InstructionDataEncoder().encode(args),
53
+ programAddress
54
+ });
63
55
  }
64
- export function parseAddAssetsToGroupV1Instruction(instruction) {
65
- if (instruction.accounts.length < 4) {
66
- throw new SolanaError(SOLANA_ERROR__PROGRAM_CLIENTS__INSUFFICIENT_ACCOUNT_METAS, {
67
- actualAccountMetas: instruction.accounts.length,
68
- expectedAccountMetas: 4,
69
- });
70
- }
71
- let accountIndex = 0;
72
- const getNextAccount = () => {
73
- const accountMeta = instruction.accounts[accountIndex];
74
- accountIndex += 1;
75
- return accountMeta;
76
- };
77
- const getNextOptionalAccount = () => {
78
- const accountMeta = getNextAccount();
79
- return accountMeta.address === MPL_CORE_PROGRAM_PROGRAM_ADDRESS
80
- ? undefined
81
- : accountMeta;
82
- };
83
- return {
84
- programAddress: instruction.programAddress,
85
- accounts: {
86
- group: getNextAccount(),
87
- payer: getNextAccount(),
88
- authority: getNextOptionalAccount(),
89
- systemProgram: getNextAccount(),
90
- },
91
- data: getAddAssetsToGroupV1InstructionDataDecoder().decode(instruction.data),
92
- };
56
+ function parseAddAssetsToGroupV1Instruction(instruction) {
57
+ if (instruction.accounts.length < 4) throw new SolanaError(SOLANA_ERROR__PROGRAM_CLIENTS__INSUFFICIENT_ACCOUNT_METAS, {
58
+ actualAccountMetas: instruction.accounts.length,
59
+ expectedAccountMetas: 4
60
+ });
61
+ let accountIndex = 0;
62
+ const getNextAccount = () => {
63
+ const accountMeta = instruction.accounts[accountIndex];
64
+ accountIndex += 1;
65
+ return accountMeta;
66
+ };
67
+ const getNextOptionalAccount = () => {
68
+ const accountMeta = getNextAccount();
69
+ return accountMeta.address === "CoREENxT6tW1HoK8ypY1SxRMZTcVPm7R94rH4PZNhX7d" ? void 0 : accountMeta;
70
+ };
71
+ return {
72
+ programAddress: instruction.programAddress,
73
+ accounts: {
74
+ group: getNextAccount(),
75
+ payer: getNextAccount(),
76
+ authority: getNextOptionalAccount(),
77
+ systemProgram: getNextAccount()
78
+ },
79
+ data: getAddAssetsToGroupV1InstructionDataDecoder().decode(instruction.data)
80
+ };
93
81
  }
82
+ //#endregion
83
+ export { ADD_ASSETS_TO_GROUP_V1_DISCRIMINATOR, getAddAssetsToGroupV1DiscriminatorBytes, getAddAssetsToGroupV1Instruction, getAddAssetsToGroupV1InstructionDataCodec, getAddAssetsToGroupV1InstructionDataDecoder, getAddAssetsToGroupV1InstructionDataEncoder, parseAddAssetsToGroupV1Instruction };
84
+
94
85
  //# sourceMappingURL=addAssetsToGroupV1.js.map