@macalinao/clients-mpl-bubblegum 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 (333) hide show
  1. package/dist/generated/accounts/index.d.ts +2 -10
  2. package/dist/generated/accounts/treeConfig.d.ts +42 -38
  3. package/dist/generated/accounts/treeConfig.d.ts.map +1 -1
  4. package/dist/generated/accounts/treeConfig.js +70 -53
  5. package/dist/generated/accounts/treeConfig.js.map +1 -1
  6. package/dist/generated/accounts/voucher.d.ts +33 -30
  7. package/dist/generated/accounts/voucher.d.ts.map +1 -1
  8. package/dist/generated/accounts/voucher.js +61 -45
  9. package/dist/generated/accounts/voucher.js.map +1 -1
  10. package/dist/generated/errors/bubblegum.d.ts +71 -74
  11. package/dist/generated/errors/bubblegum.d.ts.map +1 -1
  12. package/dist/generated/errors/bubblegum.js +126 -133
  13. package/dist/generated/errors/bubblegum.js.map +1 -1
  14. package/dist/generated/errors/index.d.ts +1 -9
  15. package/dist/generated/index.d.ts +63 -13
  16. package/dist/generated/instructions/burn.d.ts +70 -65
  17. package/dist/generated/instructions/burn.d.ts.map +1 -1
  18. package/dist/generated/instructions/burn.js +168 -98
  19. package/dist/generated/instructions/burn.js.map +1 -1
  20. package/dist/generated/instructions/burnV2.d.ts +107 -96
  21. package/dist/generated/instructions/burnV2.d.ts.map +1 -1
  22. package/dist/generated/instructions/burnV2.js +239 -136
  23. package/dist/generated/instructions/burnV2.js.map +1 -1
  24. package/dist/generated/instructions/cancelRedeem.d.ts +54 -53
  25. package/dist/generated/instructions/cancelRedeem.d.ts.map +1 -1
  26. package/dist/generated/instructions/cancelRedeem.js +154 -90
  27. package/dist/generated/instructions/cancelRedeem.js.map +1 -1
  28. package/dist/generated/instructions/closeTreeV2.d.ts +64 -60
  29. package/dist/generated/instructions/closeTreeV2.d.ts.map +1 -1
  30. package/dist/generated/instructions/closeTreeV2.js +152 -84
  31. package/dist/generated/instructions/closeTreeV2.js.map +1 -1
  32. package/dist/generated/instructions/collectV2.d.ts +28 -35
  33. package/dist/generated/instructions/collectV2.d.ts.map +1 -1
  34. package/dist/generated/instructions/collectV2.js +63 -60
  35. package/dist/generated/instructions/collectV2.js.map +1 -1
  36. package/dist/generated/instructions/compress.d.ts +71 -71
  37. package/dist/generated/instructions/compress.d.ts.map +1 -1
  38. package/dist/generated/instructions/compress.js +233 -116
  39. package/dist/generated/instructions/compress.js.map +1 -1
  40. package/dist/generated/instructions/createTree.d.ts +62 -59
  41. package/dist/generated/instructions/createTree.d.ts.map +1 -1
  42. package/dist/generated/instructions/createTree.js +164 -94
  43. package/dist/generated/instructions/createTree.js.map +1 -1
  44. package/dist/generated/instructions/createTreeV2.d.ts +64 -61
  45. package/dist/generated/instructions/createTreeV2.d.ts.map +1 -1
  46. package/dist/generated/instructions/createTreeV2.js +168 -100
  47. package/dist/generated/instructions/createTreeV2.js.map +1 -1
  48. package/dist/generated/instructions/decompressV1.d.ts +73 -72
  49. package/dist/generated/instructions/decompressV1.d.ts.map +1 -1
  50. package/dist/generated/instructions/decompressV1.js +251 -128
  51. package/dist/generated/instructions/decompressV1.js.map +1 -1
  52. package/dist/generated/instructions/delegate.d.ts +73 -68
  53. package/dist/generated/instructions/delegate.d.ts.map +1 -1
  54. package/dist/generated/instructions/delegate.js +179 -107
  55. package/dist/generated/instructions/delegate.js.map +1 -1
  56. package/dist/generated/instructions/delegateAndFreezeV2.d.ts +92 -84
  57. package/dist/generated/instructions/delegateAndFreezeV2.d.ts.map +1 -1
  58. package/dist/generated/instructions/delegateAndFreezeV2.js +201 -136
  59. package/dist/generated/instructions/delegateAndFreezeV2.js.map +1 -1
  60. package/dist/generated/instructions/delegateV2.d.ts +92 -84
  61. package/dist/generated/instructions/delegateV2.d.ts.map +1 -1
  62. package/dist/generated/instructions/delegateV2.js +200 -134
  63. package/dist/generated/instructions/delegateV2.js.map +1 -1
  64. package/dist/generated/instructions/freezeV2.d.ts +99 -88
  65. package/dist/generated/instructions/freezeV2.d.ts.map +1 -1
  66. package/dist/generated/instructions/freezeV2.js +209 -123
  67. package/dist/generated/instructions/freezeV2.js.map +1 -1
  68. package/dist/generated/instructions/index.d.ts +36 -44
  69. package/dist/generated/instructions/mintToCollectionV1.d.ts +94 -89
  70. package/dist/generated/instructions/mintToCollectionV1.d.ts.map +1 -1
  71. package/dist/generated/instructions/mintToCollectionV1.js +277 -139
  72. package/dist/generated/instructions/mintToCollectionV1.js.map +1 -1
  73. package/dist/generated/instructions/mintV1.d.ts +61 -60
  74. package/dist/generated/instructions/mintV1.d.ts.map +1 -1
  75. package/dist/generated/instructions/mintV1.js +177 -97
  76. package/dist/generated/instructions/mintV1.js.map +1 -1
  77. package/dist/generated/instructions/mintV2.d.ts +86 -82
  78. package/dist/generated/instructions/mintV2.d.ts.map +1 -1
  79. package/dist/generated/instructions/mintV2.js +244 -135
  80. package/dist/generated/instructions/mintV2.js.map +1 -1
  81. package/dist/generated/instructions/redeem.d.ts +73 -68
  82. package/dist/generated/instructions/redeem.d.ts.map +1 -1
  83. package/dist/generated/instructions/redeem.js +179 -101
  84. package/dist/generated/instructions/redeem.js.map +1 -1
  85. package/dist/generated/instructions/setAndVerifyCollection.d.ts +133 -117
  86. package/dist/generated/instructions/setAndVerifyCollection.d.ts.map +1 -1
  87. package/dist/generated/instructions/setAndVerifyCollection.js +295 -151
  88. package/dist/generated/instructions/setAndVerifyCollection.js.map +1 -1
  89. package/dist/generated/instructions/setCollectionV2.d.ts +125 -110
  90. package/dist/generated/instructions/setCollectionV2.d.ts.map +1 -1
  91. package/dist/generated/instructions/setCollectionV2.js +257 -146
  92. package/dist/generated/instructions/setCollectionV2.js.map +1 -1
  93. package/dist/generated/instructions/setDecompressableState.d.ts +32 -39
  94. package/dist/generated/instructions/setDecompressableState.d.ts.map +1 -1
  95. package/dist/generated/instructions/setDecompressableState.js +66 -69
  96. package/dist/generated/instructions/setDecompressableState.js.map +1 -1
  97. package/dist/generated/instructions/setDecompressibleState.d.ts +32 -39
  98. package/dist/generated/instructions/setDecompressibleState.d.ts.map +1 -1
  99. package/dist/generated/instructions/setDecompressibleState.js +66 -69
  100. package/dist/generated/instructions/setDecompressibleState.js.map +1 -1
  101. package/dist/generated/instructions/setNonTransferableV2.d.ts +101 -90
  102. package/dist/generated/instructions/setNonTransferableV2.d.ts.map +1 -1
  103. package/dist/generated/instructions/setNonTransferableV2.js +210 -125
  104. package/dist/generated/instructions/setNonTransferableV2.js.map +1 -1
  105. package/dist/generated/instructions/setTreeDelegate.d.ts +44 -44
  106. package/dist/generated/instructions/setTreeDelegate.d.ts.map +1 -1
  107. package/dist/generated/instructions/setTreeDelegate.js +127 -77
  108. package/dist/generated/instructions/setTreeDelegate.js.map +1 -1
  109. package/dist/generated/instructions/thawAndRevokeV2.d.ts +87 -79
  110. package/dist/generated/instructions/thawAndRevokeV2.d.ts.map +1 -1
  111. package/dist/generated/instructions/thawAndRevokeV2.js +190 -124
  112. package/dist/generated/instructions/thawAndRevokeV2.js.map +1 -1
  113. package/dist/generated/instructions/thawV2.d.ts +99 -88
  114. package/dist/generated/instructions/thawV2.d.ts.map +1 -1
  115. package/dist/generated/instructions/thawV2.js +209 -123
  116. package/dist/generated/instructions/thawV2.js.map +1 -1
  117. package/dist/generated/instructions/transfer.d.ts +73 -68
  118. package/dist/generated/instructions/transfer.d.ts.map +1 -1
  119. package/dist/generated/instructions/transfer.js +179 -101
  120. package/dist/generated/instructions/transfer.js.map +1 -1
  121. package/dist/generated/instructions/transferV2.d.ts +104 -93
  122. package/dist/generated/instructions/transferV2.d.ts.map +1 -1
  123. package/dist/generated/instructions/transferV2.js +220 -126
  124. package/dist/generated/instructions/transferV2.js.map +1 -1
  125. package/dist/generated/instructions/unverifyCollection.d.ts +129 -114
  126. package/dist/generated/instructions/unverifyCollection.d.ts.map +1 -1
  127. package/dist/generated/instructions/unverifyCollection.js +293 -146
  128. package/dist/generated/instructions/unverifyCollection.js.map +1 -1
  129. package/dist/generated/instructions/unverifyCreator.d.ts +81 -75
  130. package/dist/generated/instructions/unverifyCreator.d.ts.map +1 -1
  131. package/dist/generated/instructions/unverifyCreator.js +194 -106
  132. package/dist/generated/instructions/unverifyCreator.js.map +1 -1
  133. package/dist/generated/instructions/unverifyCreatorV2.d.ts +85 -79
  134. package/dist/generated/instructions/unverifyCreatorV2.d.ts.map +1 -1
  135. package/dist/generated/instructions/unverifyCreatorV2.js +198 -118
  136. package/dist/generated/instructions/unverifyCreatorV2.js.map +1 -1
  137. package/dist/generated/instructions/updateAssetDataV2.d.ts +108 -95
  138. package/dist/generated/instructions/updateAssetDataV2.d.ts.map +1 -1
  139. package/dist/generated/instructions/updateAssetDataV2.js +215 -136
  140. package/dist/generated/instructions/updateAssetDataV2.js.map +1 -1
  141. package/dist/generated/instructions/updateMetadata.d.ts +106 -96
  142. package/dist/generated/instructions/updateMetadata.d.ts.map +1 -1
  143. package/dist/generated/instructions/updateMetadata.js +243 -135
  144. package/dist/generated/instructions/updateMetadata.js.map +1 -1
  145. package/dist/generated/instructions/updateMetadataV2.d.ts +103 -91
  146. package/dist/generated/instructions/updateMetadataV2.d.ts.map +1 -1
  147. package/dist/generated/instructions/updateMetadataV2.js +212 -123
  148. package/dist/generated/instructions/updateMetadataV2.js.map +1 -1
  149. package/dist/generated/instructions/verifyCollection.d.ts +129 -114
  150. package/dist/generated/instructions/verifyCollection.d.ts.map +1 -1
  151. package/dist/generated/instructions/verifyCollection.js +293 -146
  152. package/dist/generated/instructions/verifyCollection.js.map +1 -1
  153. package/dist/generated/instructions/verifyCreator.d.ts +81 -75
  154. package/dist/generated/instructions/verifyCreator.d.ts.map +1 -1
  155. package/dist/generated/instructions/verifyCreator.js +193 -107
  156. package/dist/generated/instructions/verifyCreator.js.map +1 -1
  157. package/dist/generated/instructions/verifyCreatorV2.d.ts +85 -79
  158. package/dist/generated/instructions/verifyCreatorV2.d.ts.map +1 -1
  159. package/dist/generated/instructions/verifyCreatorV2.js +198 -118
  160. package/dist/generated/instructions/verifyCreatorV2.js.map +1 -1
  161. package/dist/generated/pdas/assetId.d.ts +16 -0
  162. package/dist/generated/pdas/assetId.d.ts.map +1 -0
  163. package/dist/generated/pdas/assetId.js +18 -0
  164. package/dist/generated/pdas/assetId.js.map +1 -0
  165. package/dist/generated/pdas/bubblegumSigner.d.ts +10 -0
  166. package/dist/generated/pdas/bubblegumSigner.d.ts.map +1 -0
  167. package/dist/generated/pdas/bubblegumSigner.js +14 -0
  168. package/dist/generated/pdas/bubblegumSigner.js.map +1 -0
  169. package/dist/generated/pdas/index.d.ts +7 -0
  170. package/dist/generated/pdas/masterEdition.d.ts +14 -0
  171. package/dist/generated/pdas/masterEdition.d.ts.map +1 -0
  172. package/dist/generated/pdas/masterEdition.js +19 -0
  173. package/dist/generated/pdas/masterEdition.js.map +1 -0
  174. package/dist/generated/pdas/metadata.d.ts +14 -0
  175. package/dist/generated/pdas/metadata.d.ts.map +1 -0
  176. package/dist/generated/pdas/metadata.js +18 -0
  177. package/dist/generated/pdas/metadata.js.map +1 -0
  178. package/dist/generated/pdas/mintAuthority.d.ts +14 -0
  179. package/dist/generated/pdas/mintAuthority.d.ts.map +1 -0
  180. package/dist/generated/pdas/mintAuthority.js +14 -0
  181. package/dist/generated/pdas/mintAuthority.js.map +1 -0
  182. package/dist/generated/pdas/treeConfig.d.ts +14 -0
  183. package/dist/generated/pdas/treeConfig.d.ts.map +1 -0
  184. package/dist/generated/pdas/treeConfig.js +14 -0
  185. package/dist/generated/pdas/treeConfig.js.map +1 -0
  186. package/dist/generated/pdas/voucher.d.ts +16 -0
  187. package/dist/generated/pdas/voucher.d.ts.map +1 -0
  188. package/dist/generated/pdas/voucher.js +18 -0
  189. package/dist/generated/pdas/voucher.js.map +1 -0
  190. package/dist/generated/programs/bubblegum.d.ts +186 -143
  191. package/dist/generated/programs/bubblegum.d.ts.map +1 -1
  192. package/dist/generated/programs/bubblegum.js +839 -561
  193. package/dist/generated/programs/bubblegum.js.map +1 -1
  194. package/dist/generated/programs/index.d.ts +2 -9
  195. package/dist/generated/programs/mplTokenMetadata.d.ts +20 -0
  196. package/dist/generated/programs/mplTokenMetadata.d.ts.map +1 -0
  197. package/dist/generated/programs/mplTokenMetadata.js +17 -0
  198. package/dist/generated/programs/mplTokenMetadata.js.map +1 -0
  199. package/dist/generated/types/assetDataSchema.d.ts +13 -16
  200. package/dist/generated/types/assetDataSchema.d.ts.map +1 -1
  201. package/dist/generated/types/assetDataSchema.js +16 -19
  202. package/dist/generated/types/assetDataSchema.js.map +1 -1
  203. package/dist/generated/types/bubblegumEventType.d.ts +12 -15
  204. package/dist/generated/types/bubblegumEventType.d.ts.map +1 -1
  205. package/dist/generated/types/bubblegumEventType.js +15 -18
  206. package/dist/generated/types/bubblegumEventType.js.map +1 -1
  207. package/dist/generated/types/collection.d.ts +12 -15
  208. package/dist/generated/types/collection.d.ts.map +1 -1
  209. package/dist/generated/types/collection.js +11 -20
  210. package/dist/generated/types/collection.js.map +1 -1
  211. package/dist/generated/types/creator.d.ts +18 -21
  212. package/dist/generated/types/creator.d.ts.map +1 -1
  213. package/dist/generated/types/creator.js +19 -22
  214. package/dist/generated/types/creator.js.map +1 -1
  215. package/dist/generated/types/decompressibleState.d.ts +12 -15
  216. package/dist/generated/types/decompressibleState.d.ts.map +1 -1
  217. package/dist/generated/types/decompressibleState.js +15 -18
  218. package/dist/generated/types/decompressibleState.js.map +1 -1
  219. package/dist/generated/types/index.d.ts +15 -23
  220. package/dist/generated/types/instructionName.d.ts +45 -48
  221. package/dist/generated/types/instructionName.d.ts.map +1 -1
  222. package/dist/generated/types/instructionName.js +48 -51
  223. package/dist/generated/types/instructionName.js.map +1 -1
  224. package/dist/generated/types/leafSchema.d.ts +48 -51
  225. package/dist/generated/types/leafSchema.d.ts.map +1 -1
  226. package/dist/generated/types/leafSchema.js +55 -72
  227. package/dist/generated/types/leafSchema.js.map +1 -1
  228. package/dist/generated/types/metadataArgs.d.ts +59 -58
  229. package/dist/generated/types/metadataArgs.d.ts.map +1 -1
  230. package/dist/generated/types/metadataArgs.js +42 -41
  231. package/dist/generated/types/metadataArgs.js.map +1 -1
  232. package/dist/generated/types/metadataArgsV2.d.ts +48 -50
  233. package/dist/generated/types/metadataArgsV2.d.ts.map +1 -1
  234. package/dist/generated/types/metadataArgsV2.js +33 -35
  235. package/dist/generated/types/metadataArgsV2.js.map +1 -1
  236. package/dist/generated/types/tokenProgramVersion.d.ts +12 -15
  237. package/dist/generated/types/tokenProgramVersion.d.ts.map +1 -1
  238. package/dist/generated/types/tokenProgramVersion.js +15 -18
  239. package/dist/generated/types/tokenProgramVersion.js.map +1 -1
  240. package/dist/generated/types/tokenStandard.d.ts +14 -17
  241. package/dist/generated/types/tokenStandard.d.ts.map +1 -1
  242. package/dist/generated/types/tokenStandard.js +17 -20
  243. package/dist/generated/types/tokenStandard.js.map +1 -1
  244. package/dist/generated/types/updateArgs.d.ts +25 -28
  245. package/dist/generated/types/updateArgs.d.ts.map +1 -1
  246. package/dist/generated/types/updateArgs.js +28 -49
  247. package/dist/generated/types/updateArgs.js.map +1 -1
  248. package/dist/generated/types/useMethod.d.ts +13 -16
  249. package/dist/generated/types/useMethod.d.ts.map +1 -1
  250. package/dist/generated/types/useMethod.js +16 -19
  251. package/dist/generated/types/useMethod.js.map +1 -1
  252. package/dist/generated/types/uses.d.ts +17 -20
  253. package/dist/generated/types/uses.d.ts.map +1 -1
  254. package/dist/generated/types/uses.js +20 -23
  255. package/dist/generated/types/uses.js.map +1 -1
  256. package/dist/generated/types/version.d.ts +12 -15
  257. package/dist/generated/types/version.d.ts.map +1 -1
  258. package/dist/generated/types/version.js +15 -18
  259. package/dist/generated/types/version.js.map +1 -1
  260. package/dist/index.d.ts +64 -8
  261. package/dist/index.js +64 -8
  262. package/package.json +7 -5
  263. package/src/generated/accounts/treeConfig.ts +22 -0
  264. package/src/generated/accounts/voucher.ts +22 -0
  265. package/src/generated/errors/bubblegum.ts +1 -1
  266. package/src/generated/index.ts +1 -0
  267. package/src/generated/instructions/burn.ts +155 -11
  268. package/src/generated/instructions/burnV2.ts +226 -16
  269. package/src/generated/instructions/cancelRedeem.ts +151 -11
  270. package/src/generated/instructions/closeTreeV2.ts +150 -11
  271. package/src/generated/instructions/collectV2.ts +3 -3
  272. package/src/generated/instructions/compress.ts +219 -18
  273. package/src/generated/instructions/createTree.ts +153 -11
  274. package/src/generated/instructions/createTreeV2.ts +154 -11
  275. package/src/generated/instructions/decompressV1.ts +258 -16
  276. package/src/generated/instructions/delegate.ts +170 -12
  277. package/src/generated/instructions/delegateAndFreezeV2.ts +184 -13
  278. package/src/generated/instructions/delegateV2.ts +184 -13
  279. package/src/generated/instructions/freezeV2.ts +188 -14
  280. package/src/generated/instructions/mintToCollectionV1.ts +296 -21
  281. package/src/generated/instructions/mintV1.ts +169 -13
  282. package/src/generated/instructions/mintV2.ts +231 -17
  283. package/src/generated/instructions/redeem.ts +164 -12
  284. package/src/generated/instructions/setAndVerifyCollection.ts +307 -21
  285. package/src/generated/instructions/setCollectionV2.ts +253 -19
  286. package/src/generated/instructions/setDecompressableState.ts +3 -3
  287. package/src/generated/instructions/setDecompressibleState.ts +3 -3
  288. package/src/generated/instructions/setNonTransferableV2.ts +189 -14
  289. package/src/generated/instructions/setTreeDelegate.ts +105 -7
  290. package/src/generated/instructions/thawAndRevokeV2.ts +168 -12
  291. package/src/generated/instructions/thawV2.ts +188 -14
  292. package/src/generated/instructions/transfer.ts +164 -12
  293. package/src/generated/instructions/transferV2.ts +198 -15
  294. package/src/generated/instructions/unverifyCollection.ts +306 -21
  295. package/src/generated/instructions/unverifyCreator.ts +174 -13
  296. package/src/generated/instructions/unverifyCreatorV2.ts +176 -13
  297. package/src/generated/instructions/updateAssetDataV2.ts +190 -14
  298. package/src/generated/instructions/updateMetadata.ts +233 -17
  299. package/src/generated/instructions/updateMetadataV2.ts +189 -14
  300. package/src/generated/instructions/verifyCollection.ts +306 -21
  301. package/src/generated/instructions/verifyCreator.ts +174 -13
  302. package/src/generated/instructions/verifyCreatorV2.ts +176 -13
  303. package/src/generated/pdas/assetId.ts +40 -0
  304. package/src/generated/pdas/bubblegumSigner.ts +23 -0
  305. package/{dist/generated/accounts/index.js → src/generated/pdas/index.ts} +6 -1
  306. package/src/generated/pdas/masterEdition.ts +38 -0
  307. package/src/generated/pdas/metadata.ts +37 -0
  308. package/src/generated/pdas/mintAuthority.ts +29 -0
  309. package/src/generated/pdas/treeConfig.ts +29 -0
  310. package/src/generated/pdas/voucher.ts +40 -0
  311. package/src/generated/programs/bubblegum.ts +208 -165
  312. package/src/generated/programs/index.ts +1 -0
  313. package/src/generated/programs/mplTokenMetadata.ts +42 -0
  314. package/dist/.tsbuildinfo +0 -1
  315. package/dist/generated/accounts/index.d.ts.map +0 -1
  316. package/dist/generated/accounts/index.js.map +0 -1
  317. package/dist/generated/errors/index.d.ts.map +0 -1
  318. package/dist/generated/errors/index.js +0 -9
  319. package/dist/generated/errors/index.js.map +0 -1
  320. package/dist/generated/index.d.ts.map +0 -1
  321. package/dist/generated/index.js +0 -13
  322. package/dist/generated/index.js.map +0 -1
  323. package/dist/generated/instructions/index.d.ts.map +0 -1
  324. package/dist/generated/instructions/index.js +0 -44
  325. package/dist/generated/instructions/index.js.map +0 -1
  326. package/dist/generated/programs/index.d.ts.map +0 -1
  327. package/dist/generated/programs/index.js +0 -9
  328. package/dist/generated/programs/index.js.map +0 -1
  329. package/dist/generated/types/index.d.ts.map +0 -1
  330. package/dist/generated/types/index.js +0 -23
  331. package/dist/generated/types/index.js.map +0 -1
  332. package/dist/index.d.ts.map +0 -1
  333. package/dist/index.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mintAuthority.d.ts","names":[],"sources":["../../../src/generated/pdas/mintAuthority.ts"],"mappings":";;;UAWiB,kBAAA;EAMK;EAJpB,IAAA,EAAM,OAAA;AAAA;;iBAIc,oBAAA,CACpB,KAAA,EAAO,kBAAA,EACP,MAAA;EAAU,cAAA,GAAiB,OAAA;AAAA,IAC1B,OAAA,CAAQ,qBAAA"}
@@ -0,0 +1,14 @@
1
+ import { getAddressEncoder, getProgramDerivedAddress } from "@solana/kit";
2
+ //#region src/generated/pdas/mintAuthority.ts
3
+ /** Mint authority PDA for a decompressed NFT mint */
4
+ async function findMintAuthorityPda(seeds, config = {}) {
5
+ const { programAddress = "BGUMAp9Gq7iTEuizy4pqaxsTyUCBK68MDfK752saRPUY" } = config;
6
+ return await getProgramDerivedAddress({
7
+ programAddress,
8
+ seeds: [getAddressEncoder().encode(seeds.mint)]
9
+ });
10
+ }
11
+ //#endregion
12
+ export { findMintAuthorityPda };
13
+
14
+ //# sourceMappingURL=mintAuthority.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mintAuthority.js","names":[],"sources":["../../../src/generated/pdas/mintAuthority.ts"],"sourcesContent":["/**\n * This code was AUTOGENERATED using the Codama library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun Codama to update it.\n *\n * @see https://github.com/codama-idl/codama\n */\n\nimport type { Address, ProgramDerivedAddress } from \"@solana/kit\";\nimport { getAddressEncoder, getProgramDerivedAddress } from \"@solana/kit\";\n\nexport interface MintAuthoritySeeds {\n /** The address of the decompressed mint account */\n mint: Address;\n}\n\n/** Mint authority PDA for a decompressed NFT mint */\nexport async function findMintAuthorityPda(\n seeds: MintAuthoritySeeds,\n config: { programAddress?: Address | undefined } = {},\n): Promise<ProgramDerivedAddress> {\n const {\n programAddress = \"BGUMAp9Gq7iTEuizy4pqaxsTyUCBK68MDfK752saRPUY\" as Address<\"BGUMAp9Gq7iTEuizy4pqaxsTyUCBK68MDfK752saRPUY\">,\n } = config;\n return await getProgramDerivedAddress({\n programAddress,\n seeds: [getAddressEncoder().encode(seeds.mint)],\n });\n}\n"],"mappings":";;;AAiBA,eAAsB,qBACpB,OACA,SAAmD,CAAC,GACpB;CAChC,MAAM,EACJ,iBAAiB,mDACf;CACJ,OAAO,MAAM,yBAAyB;EACpC;EACA,OAAO,CAAC,kBAAkB,CAAC,CAAC,OAAO,MAAM,IAAI,CAAC;CAChD,CAAC;AACH"}
@@ -0,0 +1,14 @@
1
+ import { Address, ProgramDerivedAddress } from "@solana/kit";
2
+
3
+ //#region src/generated/pdas/treeConfig.d.ts
4
+ interface TreeConfigSeeds {
5
+ /** The address of the merkle tree account */
6
+ merkleTree: Address;
7
+ }
8
+ /** Tree authority / config PDA that manages a concurrent merkle tree */
9
+ declare function findTreeConfigPda(seeds: TreeConfigSeeds, config?: {
10
+ programAddress?: Address | undefined;
11
+ }): Promise<ProgramDerivedAddress>;
12
+ //#endregion
13
+ export { TreeConfigSeeds, findTreeConfigPda };
14
+ //# sourceMappingURL=treeConfig.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"treeConfig.d.ts","names":[],"sources":["../../../src/generated/pdas/treeConfig.ts"],"mappings":";;;UAWiB,eAAA;EAMK;EAJpB,UAAA,EAAY,OAAA;AAAA;;iBAIQ,iBAAA,CACpB,KAAA,EAAO,eAAA,EACP,MAAA;EAAU,cAAA,GAAiB,OAAA;AAAA,IAC1B,OAAA,CAAQ,qBAAA"}
@@ -0,0 +1,14 @@
1
+ import { getAddressEncoder, getProgramDerivedAddress } from "@solana/kit";
2
+ //#region src/generated/pdas/treeConfig.ts
3
+ /** Tree authority / config PDA that manages a concurrent merkle tree */
4
+ async function findTreeConfigPda(seeds, config = {}) {
5
+ const { programAddress = "BGUMAp9Gq7iTEuizy4pqaxsTyUCBK68MDfK752saRPUY" } = config;
6
+ return await getProgramDerivedAddress({
7
+ programAddress,
8
+ seeds: [getAddressEncoder().encode(seeds.merkleTree)]
9
+ });
10
+ }
11
+ //#endregion
12
+ export { findTreeConfigPda };
13
+
14
+ //# sourceMappingURL=treeConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"treeConfig.js","names":[],"sources":["../../../src/generated/pdas/treeConfig.ts"],"sourcesContent":["/**\n * This code was AUTOGENERATED using the Codama library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun Codama to update it.\n *\n * @see https://github.com/codama-idl/codama\n */\n\nimport type { Address, ProgramDerivedAddress } from \"@solana/kit\";\nimport { getAddressEncoder, getProgramDerivedAddress } from \"@solana/kit\";\n\nexport interface TreeConfigSeeds {\n /** The address of the merkle tree account */\n merkleTree: Address;\n}\n\n/** Tree authority / config PDA that manages a concurrent merkle tree */\nexport async function findTreeConfigPda(\n seeds: TreeConfigSeeds,\n config: { programAddress?: Address | undefined } = {},\n): Promise<ProgramDerivedAddress> {\n const {\n programAddress = \"BGUMAp9Gq7iTEuizy4pqaxsTyUCBK68MDfK752saRPUY\" as Address<\"BGUMAp9Gq7iTEuizy4pqaxsTyUCBK68MDfK752saRPUY\">,\n } = config;\n return await getProgramDerivedAddress({\n programAddress,\n seeds: [getAddressEncoder().encode(seeds.merkleTree)],\n });\n}\n"],"mappings":";;;AAiBA,eAAsB,kBACpB,OACA,SAAmD,CAAC,GACpB;CAChC,MAAM,EACJ,iBAAiB,mDACf;CACJ,OAAO,MAAM,yBAAyB;EACpC;EACA,OAAO,CAAC,kBAAkB,CAAC,CAAC,OAAO,MAAM,UAAU,CAAC;CACtD,CAAC;AACH"}
@@ -0,0 +1,16 @@
1
+ import { Address, ProgramDerivedAddress } from "@solana/kit";
2
+
3
+ //#region src/generated/pdas/voucher.d.ts
4
+ interface VoucherSeeds {
5
+ /** The address of the merkle tree account */
6
+ merkleTree: Address;
7
+ /** The nonce (leaf index) of the redeemed leaf */
8
+ nonce: number | bigint;
9
+ }
10
+ /** Redemption voucher PDA created when a leaf is redeemed */
11
+ declare function findVoucherPda(seeds: VoucherSeeds, config?: {
12
+ programAddress?: Address | undefined;
13
+ }): Promise<ProgramDerivedAddress>;
14
+ //#endregion
15
+ export { VoucherSeeds, findVoucherPda };
16
+ //# sourceMappingURL=voucher.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"voucher.d.ts","names":[],"sources":["../../../src/generated/pdas/voucher.ts"],"mappings":";;;UAgBiB,YAAA;;EAEf,UAAA,EAAY,OAAA;EAEZ;EAAA,KAAA;AAAA;;iBAIoB,cAAA,CACpB,KAAA,EAAO,YAAA,EACP,MAAA;EAAU,cAAA,GAAiB,OAAA;AAAA,IAC1B,OAAA,CAAQ,qBAAA"}
@@ -0,0 +1,18 @@
1
+ import { getAddressEncoder, getProgramDerivedAddress, getU64Encoder, getUtf8Encoder } from "@solana/kit";
2
+ //#region src/generated/pdas/voucher.ts
3
+ /** Redemption voucher PDA created when a leaf is redeemed */
4
+ async function findVoucherPda(seeds, config = {}) {
5
+ const { programAddress = "BGUMAp9Gq7iTEuizy4pqaxsTyUCBK68MDfK752saRPUY" } = config;
6
+ return await getProgramDerivedAddress({
7
+ programAddress,
8
+ seeds: [
9
+ getUtf8Encoder().encode("voucher"),
10
+ getAddressEncoder().encode(seeds.merkleTree),
11
+ getU64Encoder().encode(seeds.nonce)
12
+ ]
13
+ });
14
+ }
15
+ //#endregion
16
+ export { findVoucherPda };
17
+
18
+ //# sourceMappingURL=voucher.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"voucher.js","names":[],"sources":["../../../src/generated/pdas/voucher.ts"],"sourcesContent":["/**\n * This code was AUTOGENERATED using the Codama library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun Codama to update it.\n *\n * @see https://github.com/codama-idl/codama\n */\n\nimport type { Address, ProgramDerivedAddress } from \"@solana/kit\";\nimport {\n getAddressEncoder,\n getProgramDerivedAddress,\n getU64Encoder,\n getUtf8Encoder,\n} from \"@solana/kit\";\n\nexport interface VoucherSeeds {\n /** The address of the merkle tree account */\n merkleTree: Address;\n /** The nonce (leaf index) of the redeemed leaf */\n nonce: number | bigint;\n}\n\n/** Redemption voucher PDA created when a leaf is redeemed */\nexport async function findVoucherPda(\n seeds: VoucherSeeds,\n config: { programAddress?: Address | undefined } = {},\n): Promise<ProgramDerivedAddress> {\n const {\n programAddress = \"BGUMAp9Gq7iTEuizy4pqaxsTyUCBK68MDfK752saRPUY\" as Address<\"BGUMAp9Gq7iTEuizy4pqaxsTyUCBK68MDfK752saRPUY\">,\n } = config;\n return await getProgramDerivedAddress({\n programAddress,\n seeds: [\n getUtf8Encoder().encode(\"voucher\"),\n getAddressEncoder().encode(seeds.merkleTree),\n getU64Encoder().encode(seeds.nonce),\n ],\n });\n}\n"],"mappings":";;;AAwBA,eAAsB,eACpB,OACA,SAAmD,CAAC,GACpB;CAChC,MAAM,EACJ,iBAAiB,mDACf;CACJ,OAAO,MAAM,yBAAyB;EACpC;EACA,OAAO;GACL,eAAe,CAAC,CAAC,OAAO,SAAS;GACjC,kBAAkB,CAAC,CAAC,OAAO,MAAM,UAAU;GAC3C,cAAc,CAAC,CAAC,OAAO,MAAM,KAAK;EACpC;CACF,CAAC;AACH"}
@@ -1,189 +1,232 @@
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 { Address, ClientWithPayer, ClientWithRpc, ClientWithTransactionPlanning, ClientWithTransactionSending, GetAccountInfoApi, GetMultipleAccountsApi, Instruction, InstructionWithData, ReadonlyUint8Array } from "@solana/kit";
9
- import type { SelfFetchFunctions, SelfPlanAndSendFunctions } from "@solana/program-client-core";
10
- import type { TreeConfig, TreeConfigArgs, Voucher, VoucherArgs } from "../accounts/index.js";
11
- import type { BurnInput, BurnV2Input, CancelRedeemInput, CloseTreeV2Input, CollectV2Input, CompressInput, CreateTreeInput, CreateTreeV2Input, DecompressV1Input, DelegateAndFreezeV2Input, DelegateInput, DelegateV2Input, FreezeV2Input, MintToCollectionV1Input, MintV1Input, MintV2Input, ParsedBurnInstruction, ParsedBurnV2Instruction, ParsedCancelRedeemInstruction, ParsedCloseTreeV2Instruction, ParsedCollectV2Instruction, ParsedCompressInstruction, ParsedCreateTreeInstruction, ParsedCreateTreeV2Instruction, ParsedDecompressV1Instruction, ParsedDelegateAndFreezeV2Instruction, ParsedDelegateInstruction, ParsedDelegateV2Instruction, ParsedFreezeV2Instruction, ParsedMintToCollectionV1Instruction, ParsedMintV1Instruction, ParsedMintV2Instruction, ParsedRedeemInstruction, ParsedSetAndVerifyCollectionInstruction, ParsedSetCollectionV2Instruction, ParsedSetDecompressableStateInstruction, ParsedSetDecompressibleStateInstruction, ParsedSetNonTransferableV2Instruction, ParsedSetTreeDelegateInstruction, ParsedThawAndRevokeV2Instruction, ParsedThawV2Instruction, ParsedTransferInstruction, ParsedTransferV2Instruction, ParsedUnverifyCollectionInstruction, ParsedUnverifyCreatorInstruction, ParsedUnverifyCreatorV2Instruction, ParsedUpdateAssetDataV2Instruction, ParsedUpdateMetadataInstruction, ParsedUpdateMetadataV2Instruction, ParsedVerifyCollectionInstruction, ParsedVerifyCreatorInstruction, ParsedVerifyCreatorV2Instruction, RedeemInput, SetAndVerifyCollectionInput, SetCollectionV2Input, SetDecompressableStateInput, SetDecompressibleStateInput, SetNonTransferableV2Input, SetTreeDelegateInput, ThawAndRevokeV2Input, ThawV2Input, TransferInput, TransferV2Input, UnverifyCollectionInput, UnverifyCreatorInput, UnverifyCreatorV2Input, UpdateAssetDataV2Input, UpdateMetadataInput, UpdateMetadataV2Input, VerifyCollectionInput, VerifyCreatorInput, VerifyCreatorV2Input } from "../instructions/index.js";
12
- import { getTreeConfigCodec, getVoucherCodec } from "../accounts/index.js";
13
- import { getBurnInstruction, getBurnV2Instruction, getCancelRedeemInstruction, getCloseTreeV2Instruction, getCollectV2Instruction, getCompressInstruction, getCreateTreeInstruction, getCreateTreeV2Instruction, getDecompressV1Instruction, getDelegateAndFreezeV2Instruction, getDelegateInstruction, getDelegateV2Instruction, getFreezeV2Instruction, getMintToCollectionV1Instruction, getMintV1Instruction, getMintV2Instruction, getRedeemInstruction, getSetAndVerifyCollectionInstruction, getSetCollectionV2Instruction, getSetDecompressableStateInstruction, getSetDecompressibleStateInstruction, getSetNonTransferableV2Instruction, getSetTreeDelegateInstruction, getThawAndRevokeV2Instruction, getThawV2Instruction, getTransferInstruction, getTransferV2Instruction, getUnverifyCollectionInstruction, getUnverifyCreatorInstruction, getUnverifyCreatorV2Instruction, getUpdateAssetDataV2Instruction, getUpdateMetadataInstruction, getUpdateMetadataV2Instruction, getVerifyCollectionInstruction, getVerifyCreatorInstruction, getVerifyCreatorV2Instruction } from "../instructions/index.js";
14
- export declare const BUBBLEGUM_PROGRAM_ADDRESS: Address<"BGUMAp9Gq7iTEuizy4pqaxsTyUCBK68MDfK752saRPUY">;
15
- export declare enum BubblegumAccount {
16
- TreeConfig = 0,
17
- Voucher = 1
1
+ import { findAssetIdPda } from "../pdas/assetId.js";
2
+ import { findBubblegumSignerPda } from "../pdas/bubblegumSigner.js";
3
+ import { findMintAuthorityPda } from "../pdas/mintAuthority.js";
4
+ import { findTreeConfigPda } from "../pdas/treeConfig.js";
5
+ import { findVoucherPda } from "../pdas/voucher.js";
6
+ import { TreeConfig, TreeConfigArgs, getTreeConfigCodec } from "../accounts/treeConfig.js";
7
+ import { Voucher, VoucherArgs, getVoucherCodec } from "../accounts/voucher.js";
8
+ import { BurnAsyncInput, ParsedBurnInstruction, getBurnInstructionAsync } from "../instructions/burn.js";
9
+ import { BurnV2AsyncInput, ParsedBurnV2Instruction, getBurnV2InstructionAsync } from "../instructions/burnV2.js";
10
+ import { CancelRedeemAsyncInput, ParsedCancelRedeemInstruction, getCancelRedeemInstructionAsync } from "../instructions/cancelRedeem.js";
11
+ import { CloseTreeV2AsyncInput, ParsedCloseTreeV2Instruction, getCloseTreeV2InstructionAsync } from "../instructions/closeTreeV2.js";
12
+ import { CollectV2Input, ParsedCollectV2Instruction, getCollectV2Instruction } from "../instructions/collectV2.js";
13
+ import { CompressAsyncInput, ParsedCompressInstruction, getCompressInstructionAsync } from "../instructions/compress.js";
14
+ import { CreateTreeAsyncInput, ParsedCreateTreeInstruction, getCreateTreeInstructionAsync } from "../instructions/createTree.js";
15
+ import { CreateTreeV2AsyncInput, ParsedCreateTreeV2Instruction, getCreateTreeV2InstructionAsync } from "../instructions/createTreeV2.js";
16
+ import { DecompressV1AsyncInput, ParsedDecompressV1Instruction, getDecompressV1InstructionAsync } from "../instructions/decompressV1.js";
17
+ import { DelegateAsyncInput, ParsedDelegateInstruction, getDelegateInstructionAsync } from "../instructions/delegate.js";
18
+ import { DelegateAndFreezeV2AsyncInput, ParsedDelegateAndFreezeV2Instruction, getDelegateAndFreezeV2InstructionAsync } from "../instructions/delegateAndFreezeV2.js";
19
+ import { DelegateV2AsyncInput, ParsedDelegateV2Instruction, getDelegateV2InstructionAsync } from "../instructions/delegateV2.js";
20
+ import { FreezeV2AsyncInput, ParsedFreezeV2Instruction, getFreezeV2InstructionAsync } from "../instructions/freezeV2.js";
21
+ import { MintToCollectionV1AsyncInput, ParsedMintToCollectionV1Instruction, getMintToCollectionV1InstructionAsync } from "../instructions/mintToCollectionV1.js";
22
+ import { MintV1AsyncInput, ParsedMintV1Instruction, getMintV1InstructionAsync } from "../instructions/mintV1.js";
23
+ import { MintV2AsyncInput, ParsedMintV2Instruction, getMintV2InstructionAsync } from "../instructions/mintV2.js";
24
+ import { ParsedRedeemInstruction, RedeemAsyncInput, getRedeemInstructionAsync } from "../instructions/redeem.js";
25
+ import { ParsedSetAndVerifyCollectionInstruction, SetAndVerifyCollectionAsyncInput, getSetAndVerifyCollectionInstructionAsync } from "../instructions/setAndVerifyCollection.js";
26
+ import { ParsedSetCollectionV2Instruction, SetCollectionV2AsyncInput, getSetCollectionV2InstructionAsync } from "../instructions/setCollectionV2.js";
27
+ import { ParsedSetDecompressableStateInstruction, SetDecompressableStateInput, getSetDecompressableStateInstruction } from "../instructions/setDecompressableState.js";
28
+ import { ParsedSetDecompressibleStateInstruction, SetDecompressibleStateInput, getSetDecompressibleStateInstruction } from "../instructions/setDecompressibleState.js";
29
+ import { ParsedSetNonTransferableV2Instruction, SetNonTransferableV2AsyncInput, getSetNonTransferableV2InstructionAsync } from "../instructions/setNonTransferableV2.js";
30
+ import { ParsedSetTreeDelegateInstruction, SetTreeDelegateAsyncInput, getSetTreeDelegateInstructionAsync } from "../instructions/setTreeDelegate.js";
31
+ import { ParsedThawAndRevokeV2Instruction, ThawAndRevokeV2AsyncInput, getThawAndRevokeV2InstructionAsync } from "../instructions/thawAndRevokeV2.js";
32
+ import { ParsedThawV2Instruction, ThawV2AsyncInput, getThawV2InstructionAsync } from "../instructions/thawV2.js";
33
+ import { ParsedTransferInstruction, TransferAsyncInput, getTransferInstructionAsync } from "../instructions/transfer.js";
34
+ import { ParsedTransferV2Instruction, TransferV2AsyncInput, getTransferV2InstructionAsync } from "../instructions/transferV2.js";
35
+ import { ParsedUnverifyCollectionInstruction, UnverifyCollectionAsyncInput, getUnverifyCollectionInstructionAsync } from "../instructions/unverifyCollection.js";
36
+ import { ParsedUnverifyCreatorInstruction, UnverifyCreatorAsyncInput, getUnverifyCreatorInstructionAsync } from "../instructions/unverifyCreator.js";
37
+ import { ParsedUnverifyCreatorV2Instruction, UnverifyCreatorV2AsyncInput, getUnverifyCreatorV2InstructionAsync } from "../instructions/unverifyCreatorV2.js";
38
+ import { ParsedUpdateAssetDataV2Instruction, UpdateAssetDataV2AsyncInput, getUpdateAssetDataV2InstructionAsync } from "../instructions/updateAssetDataV2.js";
39
+ import { ParsedUpdateMetadataInstruction, UpdateMetadataAsyncInput, getUpdateMetadataInstructionAsync } from "../instructions/updateMetadata.js";
40
+ import { ParsedUpdateMetadataV2Instruction, UpdateMetadataV2AsyncInput, getUpdateMetadataV2InstructionAsync } from "../instructions/updateMetadataV2.js";
41
+ import { ParsedVerifyCollectionInstruction, VerifyCollectionAsyncInput, getVerifyCollectionInstructionAsync } from "../instructions/verifyCollection.js";
42
+ import { ParsedVerifyCreatorInstruction, VerifyCreatorAsyncInput, getVerifyCreatorInstructionAsync } from "../instructions/verifyCreator.js";
43
+ import { ParsedVerifyCreatorV2Instruction, VerifyCreatorV2AsyncInput, getVerifyCreatorV2InstructionAsync } from "../instructions/verifyCreatorV2.js";
44
+ import { Address, ClientWithPayer, ClientWithRpc, ClientWithTransactionPlanning, ClientWithTransactionSending, GetAccountInfoApi, GetMultipleAccountsApi, Instruction, InstructionWithData, ReadonlyUint8Array } from "@solana/kit";
45
+ import { SelfFetchFunctions, SelfPlanAndSendFunctions } from "@solana/program-client-core";
46
+
47
+ //#region src/generated/programs/bubblegum.d.ts
48
+ declare const BUBBLEGUM_PROGRAM_ADDRESS: Address<"BGUMAp9Gq7iTEuizy4pqaxsTyUCBK68MDfK752saRPUY">;
49
+ declare enum BubblegumAccount {
50
+ TreeConfig = 0,
51
+ Voucher = 1
18
52
  }
19
- export declare function identifyBubblegumAccount(account: {
20
- data: ReadonlyUint8Array;
53
+ declare function identifyBubblegumAccount(account: {
54
+ data: ReadonlyUint8Array;
21
55
  } | ReadonlyUint8Array): BubblegumAccount;
22
- export declare enum BubblegumInstruction {
23
- Burn = 0,
24
- BurnV2 = 1,
25
- CancelRedeem = 2,
26
- CloseTreeV2 = 3,
27
- CollectV2 = 4,
28
- Compress = 5,
29
- CreateTree = 6,
30
- CreateTreeV2 = 7,
31
- DecompressV1 = 8,
32
- Delegate = 9,
33
- DelegateAndFreezeV2 = 10,
34
- DelegateV2 = 11,
35
- FreezeV2 = 12,
36
- MintToCollectionV1 = 13,
37
- MintV1 = 14,
38
- MintV2 = 15,
39
- Redeem = 16,
40
- SetAndVerifyCollection = 17,
41
- SetCollectionV2 = 18,
42
- SetDecompressableState = 19,
43
- SetDecompressibleState = 20,
44
- SetNonTransferableV2 = 21,
45
- SetTreeDelegate = 22,
46
- ThawAndRevokeV2 = 23,
47
- ThawV2 = 24,
48
- Transfer = 25,
49
- TransferV2 = 26,
50
- UnverifyCollection = 27,
51
- UnverifyCreator = 28,
52
- UnverifyCreatorV2 = 29,
53
- UpdateAssetDataV2 = 30,
54
- UpdateMetadata = 31,
55
- UpdateMetadataV2 = 32,
56
- VerifyCollection = 33,
57
- VerifyCreator = 34,
58
- VerifyCreatorV2 = 35
56
+ declare enum BubblegumInstruction {
57
+ Burn = 0,
58
+ BurnV2 = 1,
59
+ CancelRedeem = 2,
60
+ CloseTreeV2 = 3,
61
+ CollectV2 = 4,
62
+ Compress = 5,
63
+ CreateTree = 6,
64
+ CreateTreeV2 = 7,
65
+ DecompressV1 = 8,
66
+ Delegate = 9,
67
+ DelegateAndFreezeV2 = 10,
68
+ DelegateV2 = 11,
69
+ FreezeV2 = 12,
70
+ MintToCollectionV1 = 13,
71
+ MintV1 = 14,
72
+ MintV2 = 15,
73
+ Redeem = 16,
74
+ SetAndVerifyCollection = 17,
75
+ SetCollectionV2 = 18,
76
+ SetDecompressableState = 19,
77
+ SetDecompressibleState = 20,
78
+ SetNonTransferableV2 = 21,
79
+ SetTreeDelegate = 22,
80
+ ThawAndRevokeV2 = 23,
81
+ ThawV2 = 24,
82
+ Transfer = 25,
83
+ TransferV2 = 26,
84
+ UnverifyCollection = 27,
85
+ UnverifyCreator = 28,
86
+ UnverifyCreatorV2 = 29,
87
+ UpdateAssetDataV2 = 30,
88
+ UpdateMetadata = 31,
89
+ UpdateMetadataV2 = 32,
90
+ VerifyCollection = 33,
91
+ VerifyCreator = 34,
92
+ VerifyCreatorV2 = 35
59
93
  }
60
- export declare function identifyBubblegumInstruction(instruction: {
61
- data: ReadonlyUint8Array;
94
+ declare function identifyBubblegumInstruction(instruction: {
95
+ data: ReadonlyUint8Array;
62
96
  } | ReadonlyUint8Array): BubblegumInstruction;
63
- export type ParsedBubblegumInstruction<TProgram extends string = "BGUMAp9Gq7iTEuizy4pqaxsTyUCBK68MDfK752saRPUY"> = ({
64
- instructionType: BubblegumInstruction.Burn;
97
+ type ParsedBubblegumInstruction<TProgram extends string = "BGUMAp9Gq7iTEuizy4pqaxsTyUCBK68MDfK752saRPUY"> = ({
98
+ instructionType: BubblegumInstruction.Burn;
65
99
  } & ParsedBurnInstruction<TProgram>) | ({
66
- instructionType: BubblegumInstruction.BurnV2;
100
+ instructionType: BubblegumInstruction.BurnV2;
67
101
  } & ParsedBurnV2Instruction<TProgram>) | ({
68
- instructionType: BubblegumInstruction.CancelRedeem;
102
+ instructionType: BubblegumInstruction.CancelRedeem;
69
103
  } & ParsedCancelRedeemInstruction<TProgram>) | ({
70
- instructionType: BubblegumInstruction.CloseTreeV2;
104
+ instructionType: BubblegumInstruction.CloseTreeV2;
71
105
  } & ParsedCloseTreeV2Instruction<TProgram>) | ({
72
- instructionType: BubblegumInstruction.CollectV2;
106
+ instructionType: BubblegumInstruction.CollectV2;
73
107
  } & ParsedCollectV2Instruction<TProgram>) | ({
74
- instructionType: BubblegumInstruction.Compress;
108
+ instructionType: BubblegumInstruction.Compress;
75
109
  } & ParsedCompressInstruction<TProgram>) | ({
76
- instructionType: BubblegumInstruction.CreateTree;
110
+ instructionType: BubblegumInstruction.CreateTree;
77
111
  } & ParsedCreateTreeInstruction<TProgram>) | ({
78
- instructionType: BubblegumInstruction.CreateTreeV2;
112
+ instructionType: BubblegumInstruction.CreateTreeV2;
79
113
  } & ParsedCreateTreeV2Instruction<TProgram>) | ({
80
- instructionType: BubblegumInstruction.DecompressV1;
114
+ instructionType: BubblegumInstruction.DecompressV1;
81
115
  } & ParsedDecompressV1Instruction<TProgram>) | ({
82
- instructionType: BubblegumInstruction.Delegate;
116
+ instructionType: BubblegumInstruction.Delegate;
83
117
  } & ParsedDelegateInstruction<TProgram>) | ({
84
- instructionType: BubblegumInstruction.DelegateAndFreezeV2;
118
+ instructionType: BubblegumInstruction.DelegateAndFreezeV2;
85
119
  } & ParsedDelegateAndFreezeV2Instruction<TProgram>) | ({
86
- instructionType: BubblegumInstruction.DelegateV2;
120
+ instructionType: BubblegumInstruction.DelegateV2;
87
121
  } & ParsedDelegateV2Instruction<TProgram>) | ({
88
- instructionType: BubblegumInstruction.FreezeV2;
122
+ instructionType: BubblegumInstruction.FreezeV2;
89
123
  } & ParsedFreezeV2Instruction<TProgram>) | ({
90
- instructionType: BubblegumInstruction.MintToCollectionV1;
124
+ instructionType: BubblegumInstruction.MintToCollectionV1;
91
125
  } & ParsedMintToCollectionV1Instruction<TProgram>) | ({
92
- instructionType: BubblegumInstruction.MintV1;
126
+ instructionType: BubblegumInstruction.MintV1;
93
127
  } & ParsedMintV1Instruction<TProgram>) | ({
94
- instructionType: BubblegumInstruction.MintV2;
128
+ instructionType: BubblegumInstruction.MintV2;
95
129
  } & ParsedMintV2Instruction<TProgram>) | ({
96
- instructionType: BubblegumInstruction.Redeem;
130
+ instructionType: BubblegumInstruction.Redeem;
97
131
  } & ParsedRedeemInstruction<TProgram>) | ({
98
- instructionType: BubblegumInstruction.SetAndVerifyCollection;
132
+ instructionType: BubblegumInstruction.SetAndVerifyCollection;
99
133
  } & ParsedSetAndVerifyCollectionInstruction<TProgram>) | ({
100
- instructionType: BubblegumInstruction.SetCollectionV2;
134
+ instructionType: BubblegumInstruction.SetCollectionV2;
101
135
  } & ParsedSetCollectionV2Instruction<TProgram>) | ({
102
- instructionType: BubblegumInstruction.SetDecompressableState;
136
+ instructionType: BubblegumInstruction.SetDecompressableState;
103
137
  } & ParsedSetDecompressableStateInstruction<TProgram>) | ({
104
- instructionType: BubblegumInstruction.SetDecompressibleState;
138
+ instructionType: BubblegumInstruction.SetDecompressibleState;
105
139
  } & ParsedSetDecompressibleStateInstruction<TProgram>) | ({
106
- instructionType: BubblegumInstruction.SetNonTransferableV2;
140
+ instructionType: BubblegumInstruction.SetNonTransferableV2;
107
141
  } & ParsedSetNonTransferableV2Instruction<TProgram>) | ({
108
- instructionType: BubblegumInstruction.SetTreeDelegate;
142
+ instructionType: BubblegumInstruction.SetTreeDelegate;
109
143
  } & ParsedSetTreeDelegateInstruction<TProgram>) | ({
110
- instructionType: BubblegumInstruction.ThawAndRevokeV2;
144
+ instructionType: BubblegumInstruction.ThawAndRevokeV2;
111
145
  } & ParsedThawAndRevokeV2Instruction<TProgram>) | ({
112
- instructionType: BubblegumInstruction.ThawV2;
146
+ instructionType: BubblegumInstruction.ThawV2;
113
147
  } & ParsedThawV2Instruction<TProgram>) | ({
114
- instructionType: BubblegumInstruction.Transfer;
148
+ instructionType: BubblegumInstruction.Transfer;
115
149
  } & ParsedTransferInstruction<TProgram>) | ({
116
- instructionType: BubblegumInstruction.TransferV2;
150
+ instructionType: BubblegumInstruction.TransferV2;
117
151
  } & ParsedTransferV2Instruction<TProgram>) | ({
118
- instructionType: BubblegumInstruction.UnverifyCollection;
152
+ instructionType: BubblegumInstruction.UnverifyCollection;
119
153
  } & ParsedUnverifyCollectionInstruction<TProgram>) | ({
120
- instructionType: BubblegumInstruction.UnverifyCreator;
154
+ instructionType: BubblegumInstruction.UnverifyCreator;
121
155
  } & ParsedUnverifyCreatorInstruction<TProgram>) | ({
122
- instructionType: BubblegumInstruction.UnverifyCreatorV2;
156
+ instructionType: BubblegumInstruction.UnverifyCreatorV2;
123
157
  } & ParsedUnverifyCreatorV2Instruction<TProgram>) | ({
124
- instructionType: BubblegumInstruction.UpdateAssetDataV2;
158
+ instructionType: BubblegumInstruction.UpdateAssetDataV2;
125
159
  } & ParsedUpdateAssetDataV2Instruction<TProgram>) | ({
126
- instructionType: BubblegumInstruction.UpdateMetadata;
160
+ instructionType: BubblegumInstruction.UpdateMetadata;
127
161
  } & ParsedUpdateMetadataInstruction<TProgram>) | ({
128
- instructionType: BubblegumInstruction.UpdateMetadataV2;
162
+ instructionType: BubblegumInstruction.UpdateMetadataV2;
129
163
  } & ParsedUpdateMetadataV2Instruction<TProgram>) | ({
130
- instructionType: BubblegumInstruction.VerifyCollection;
164
+ instructionType: BubblegumInstruction.VerifyCollection;
131
165
  } & ParsedVerifyCollectionInstruction<TProgram>) | ({
132
- instructionType: BubblegumInstruction.VerifyCreator;
166
+ instructionType: BubblegumInstruction.VerifyCreator;
133
167
  } & ParsedVerifyCreatorInstruction<TProgram>) | ({
134
- instructionType: BubblegumInstruction.VerifyCreatorV2;
168
+ instructionType: BubblegumInstruction.VerifyCreatorV2;
135
169
  } & ParsedVerifyCreatorV2Instruction<TProgram>);
136
- export declare function parseBubblegumInstruction<TProgram extends string>(instruction: Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array>): ParsedBubblegumInstruction<TProgram>;
137
- export interface BubblegumPlugin {
138
- accounts: BubblegumPluginAccounts;
139
- instructions: BubblegumPluginInstructions;
170
+ declare function parseBubblegumInstruction<TProgram extends string>(instruction: Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array>): ParsedBubblegumInstruction<TProgram>;
171
+ interface BubblegumPlugin {
172
+ accounts: BubblegumPluginAccounts;
173
+ instructions: BubblegumPluginInstructions;
174
+ pdas: BubblegumPluginPdas;
140
175
  }
141
- export interface BubblegumPluginAccounts {
142
- treeConfig: ReturnType<typeof getTreeConfigCodec> & SelfFetchFunctions<TreeConfigArgs, TreeConfig>;
143
- voucher: ReturnType<typeof getVoucherCodec> & SelfFetchFunctions<VoucherArgs, Voucher>;
176
+ interface BubblegumPluginAccounts {
177
+ treeConfig: ReturnType<typeof getTreeConfigCodec> & SelfFetchFunctions<TreeConfigArgs, TreeConfig>;
178
+ voucher: ReturnType<typeof getVoucherCodec> & SelfFetchFunctions<VoucherArgs, Voucher>;
144
179
  }
145
- export interface BubblegumPluginInstructions {
146
- burn: (input: BurnInput) => ReturnType<typeof getBurnInstruction> & SelfPlanAndSendFunctions;
147
- burnV2: (input: MakeOptional<BurnV2Input, "payer">) => ReturnType<typeof getBurnV2Instruction> & SelfPlanAndSendFunctions;
148
- cancelRedeem: (input: CancelRedeemInput) => ReturnType<typeof getCancelRedeemInstruction> & SelfPlanAndSendFunctions;
149
- closeTreeV2: (input: CloseTreeV2Input) => ReturnType<typeof getCloseTreeV2Instruction> & SelfPlanAndSendFunctions;
150
- collectV2: (input: CollectV2Input) => ReturnType<typeof getCollectV2Instruction> & SelfPlanAndSendFunctions;
151
- compress: (input: MakeOptional<CompressInput, "payer">) => ReturnType<typeof getCompressInstruction> & SelfPlanAndSendFunctions;
152
- createTree: (input: MakeOptional<CreateTreeInput, "payer">) => ReturnType<typeof getCreateTreeInstruction> & SelfPlanAndSendFunctions;
153
- createTreeV2: (input: MakeOptional<CreateTreeV2Input, "payer">) => ReturnType<typeof getCreateTreeV2Instruction> & SelfPlanAndSendFunctions;
154
- decompressV1: (input: DecompressV1Input) => ReturnType<typeof getDecompressV1Instruction> & SelfPlanAndSendFunctions;
155
- delegate: (input: DelegateInput) => ReturnType<typeof getDelegateInstruction> & SelfPlanAndSendFunctions;
156
- delegateAndFreezeV2: (input: MakeOptional<DelegateAndFreezeV2Input, "payer">) => ReturnType<typeof getDelegateAndFreezeV2Instruction> & SelfPlanAndSendFunctions;
157
- delegateV2: (input: MakeOptional<DelegateV2Input, "payer">) => ReturnType<typeof getDelegateV2Instruction> & SelfPlanAndSendFunctions;
158
- freezeV2: (input: MakeOptional<FreezeV2Input, "payer">) => ReturnType<typeof getFreezeV2Instruction> & SelfPlanAndSendFunctions;
159
- mintToCollectionV1: (input: MakeOptional<MintToCollectionV1Input, "payer">) => ReturnType<typeof getMintToCollectionV1Instruction> & SelfPlanAndSendFunctions;
160
- mintV1: (input: MakeOptional<MintV1Input, "payer">) => ReturnType<typeof getMintV1Instruction> & SelfPlanAndSendFunctions;
161
- mintV2: (input: MakeOptional<MintV2Input, "payer">) => ReturnType<typeof getMintV2Instruction> & SelfPlanAndSendFunctions;
162
- redeem: (input: RedeemInput) => ReturnType<typeof getRedeemInstruction> & SelfPlanAndSendFunctions;
163
- setAndVerifyCollection: (input: MakeOptional<SetAndVerifyCollectionInput, "payer">) => ReturnType<typeof getSetAndVerifyCollectionInstruction> & SelfPlanAndSendFunctions;
164
- setCollectionV2: (input: MakeOptional<SetCollectionV2Input, "payer">) => ReturnType<typeof getSetCollectionV2Instruction> & SelfPlanAndSendFunctions;
165
- setDecompressableState: (input: SetDecompressableStateInput) => ReturnType<typeof getSetDecompressableStateInstruction> & SelfPlanAndSendFunctions;
166
- setDecompressibleState: (input: SetDecompressibleStateInput) => ReturnType<typeof getSetDecompressibleStateInstruction> & SelfPlanAndSendFunctions;
167
- setNonTransferableV2: (input: MakeOptional<SetNonTransferableV2Input, "payer">) => ReturnType<typeof getSetNonTransferableV2Instruction> & SelfPlanAndSendFunctions;
168
- setTreeDelegate: (input: SetTreeDelegateInput) => ReturnType<typeof getSetTreeDelegateInstruction> & SelfPlanAndSendFunctions;
169
- thawAndRevokeV2: (input: MakeOptional<ThawAndRevokeV2Input, "payer">) => ReturnType<typeof getThawAndRevokeV2Instruction> & SelfPlanAndSendFunctions;
170
- thawV2: (input: MakeOptional<ThawV2Input, "payer">) => ReturnType<typeof getThawV2Instruction> & SelfPlanAndSendFunctions;
171
- transfer: (input: TransferInput) => ReturnType<typeof getTransferInstruction> & SelfPlanAndSendFunctions;
172
- transferV2: (input: MakeOptional<TransferV2Input, "payer">) => ReturnType<typeof getTransferV2Instruction> & SelfPlanAndSendFunctions;
173
- unverifyCollection: (input: MakeOptional<UnverifyCollectionInput, "payer">) => ReturnType<typeof getUnverifyCollectionInstruction> & SelfPlanAndSendFunctions;
174
- unverifyCreator: (input: MakeOptional<UnverifyCreatorInput, "payer">) => ReturnType<typeof getUnverifyCreatorInstruction> & SelfPlanAndSendFunctions;
175
- unverifyCreatorV2: (input: MakeOptional<UnverifyCreatorV2Input, "payer">) => ReturnType<typeof getUnverifyCreatorV2Instruction> & SelfPlanAndSendFunctions;
176
- updateAssetDataV2: (input: MakeOptional<UpdateAssetDataV2Input, "payer">) => ReturnType<typeof getUpdateAssetDataV2Instruction> & SelfPlanAndSendFunctions;
177
- updateMetadata: (input: MakeOptional<UpdateMetadataInput, "payer">) => ReturnType<typeof getUpdateMetadataInstruction> & SelfPlanAndSendFunctions;
178
- updateMetadataV2: (input: MakeOptional<UpdateMetadataV2Input, "payer">) => ReturnType<typeof getUpdateMetadataV2Instruction> & SelfPlanAndSendFunctions;
179
- verifyCollection: (input: MakeOptional<VerifyCollectionInput, "payer">) => ReturnType<typeof getVerifyCollectionInstruction> & SelfPlanAndSendFunctions;
180
- verifyCreator: (input: MakeOptional<VerifyCreatorInput, "payer">) => ReturnType<typeof getVerifyCreatorInstruction> & SelfPlanAndSendFunctions;
181
- verifyCreatorV2: (input: MakeOptional<VerifyCreatorV2Input, "payer">) => ReturnType<typeof getVerifyCreatorV2Instruction> & SelfPlanAndSendFunctions;
180
+ interface BubblegumPluginInstructions {
181
+ burn: (input: BurnAsyncInput) => ReturnType<typeof getBurnInstructionAsync> & SelfPlanAndSendFunctions;
182
+ burnV2: (input: MakeOptional<BurnV2AsyncInput, "payer">) => ReturnType<typeof getBurnV2InstructionAsync> & SelfPlanAndSendFunctions;
183
+ cancelRedeem: (input: CancelRedeemAsyncInput) => ReturnType<typeof getCancelRedeemInstructionAsync> & SelfPlanAndSendFunctions;
184
+ closeTreeV2: (input: CloseTreeV2AsyncInput) => ReturnType<typeof getCloseTreeV2InstructionAsync> & SelfPlanAndSendFunctions;
185
+ collectV2: (input: CollectV2Input) => ReturnType<typeof getCollectV2Instruction> & SelfPlanAndSendFunctions;
186
+ compress: (input: MakeOptional<CompressAsyncInput, "payer">) => ReturnType<typeof getCompressInstructionAsync> & SelfPlanAndSendFunctions;
187
+ createTree: (input: MakeOptional<CreateTreeAsyncInput, "payer">) => ReturnType<typeof getCreateTreeInstructionAsync> & SelfPlanAndSendFunctions;
188
+ createTreeV2: (input: MakeOptional<CreateTreeV2AsyncInput, "payer">) => ReturnType<typeof getCreateTreeV2InstructionAsync> & SelfPlanAndSendFunctions;
189
+ decompressV1: (input: DecompressV1AsyncInput) => ReturnType<typeof getDecompressV1InstructionAsync> & SelfPlanAndSendFunctions;
190
+ delegate: (input: DelegateAsyncInput) => ReturnType<typeof getDelegateInstructionAsync> & SelfPlanAndSendFunctions;
191
+ delegateAndFreezeV2: (input: MakeOptional<DelegateAndFreezeV2AsyncInput, "payer">) => ReturnType<typeof getDelegateAndFreezeV2InstructionAsync> & SelfPlanAndSendFunctions;
192
+ delegateV2: (input: MakeOptional<DelegateV2AsyncInput, "payer">) => ReturnType<typeof getDelegateV2InstructionAsync> & SelfPlanAndSendFunctions;
193
+ freezeV2: (input: MakeOptional<FreezeV2AsyncInput, "payer">) => ReturnType<typeof getFreezeV2InstructionAsync> & SelfPlanAndSendFunctions;
194
+ mintToCollectionV1: (input: MakeOptional<MintToCollectionV1AsyncInput, "payer">) => ReturnType<typeof getMintToCollectionV1InstructionAsync> & SelfPlanAndSendFunctions;
195
+ mintV1: (input: MakeOptional<MintV1AsyncInput, "payer">) => ReturnType<typeof getMintV1InstructionAsync> & SelfPlanAndSendFunctions;
196
+ mintV2: (input: MakeOptional<MintV2AsyncInput, "payer">) => ReturnType<typeof getMintV2InstructionAsync> & SelfPlanAndSendFunctions;
197
+ redeem: (input: RedeemAsyncInput) => ReturnType<typeof getRedeemInstructionAsync> & SelfPlanAndSendFunctions;
198
+ setAndVerifyCollection: (input: MakeOptional<SetAndVerifyCollectionAsyncInput, "payer">) => ReturnType<typeof getSetAndVerifyCollectionInstructionAsync> & SelfPlanAndSendFunctions;
199
+ setCollectionV2: (input: MakeOptional<SetCollectionV2AsyncInput, "payer">) => ReturnType<typeof getSetCollectionV2InstructionAsync> & SelfPlanAndSendFunctions;
200
+ setDecompressableState: (input: SetDecompressableStateInput) => ReturnType<typeof getSetDecompressableStateInstruction> & SelfPlanAndSendFunctions;
201
+ setDecompressibleState: (input: SetDecompressibleStateInput) => ReturnType<typeof getSetDecompressibleStateInstruction> & SelfPlanAndSendFunctions;
202
+ setNonTransferableV2: (input: MakeOptional<SetNonTransferableV2AsyncInput, "payer">) => ReturnType<typeof getSetNonTransferableV2InstructionAsync> & SelfPlanAndSendFunctions;
203
+ setTreeDelegate: (input: SetTreeDelegateAsyncInput) => ReturnType<typeof getSetTreeDelegateInstructionAsync> & SelfPlanAndSendFunctions;
204
+ thawAndRevokeV2: (input: MakeOptional<ThawAndRevokeV2AsyncInput, "payer">) => ReturnType<typeof getThawAndRevokeV2InstructionAsync> & SelfPlanAndSendFunctions;
205
+ thawV2: (input: MakeOptional<ThawV2AsyncInput, "payer">) => ReturnType<typeof getThawV2InstructionAsync> & SelfPlanAndSendFunctions;
206
+ transfer: (input: TransferAsyncInput) => ReturnType<typeof getTransferInstructionAsync> & SelfPlanAndSendFunctions;
207
+ transferV2: (input: MakeOptional<TransferV2AsyncInput, "payer">) => ReturnType<typeof getTransferV2InstructionAsync> & SelfPlanAndSendFunctions;
208
+ unverifyCollection: (input: MakeOptional<UnverifyCollectionAsyncInput, "payer">) => ReturnType<typeof getUnverifyCollectionInstructionAsync> & SelfPlanAndSendFunctions;
209
+ unverifyCreator: (input: MakeOptional<UnverifyCreatorAsyncInput, "payer">) => ReturnType<typeof getUnverifyCreatorInstructionAsync> & SelfPlanAndSendFunctions;
210
+ unverifyCreatorV2: (input: MakeOptional<UnverifyCreatorV2AsyncInput, "payer">) => ReturnType<typeof getUnverifyCreatorV2InstructionAsync> & SelfPlanAndSendFunctions;
211
+ updateAssetDataV2: (input: MakeOptional<UpdateAssetDataV2AsyncInput, "payer">) => ReturnType<typeof getUpdateAssetDataV2InstructionAsync> & SelfPlanAndSendFunctions;
212
+ updateMetadata: (input: MakeOptional<UpdateMetadataAsyncInput, "payer">) => ReturnType<typeof getUpdateMetadataInstructionAsync> & SelfPlanAndSendFunctions;
213
+ updateMetadataV2: (input: MakeOptional<UpdateMetadataV2AsyncInput, "payer">) => ReturnType<typeof getUpdateMetadataV2InstructionAsync> & SelfPlanAndSendFunctions;
214
+ verifyCollection: (input: MakeOptional<VerifyCollectionAsyncInput, "payer">) => ReturnType<typeof getVerifyCollectionInstructionAsync> & SelfPlanAndSendFunctions;
215
+ verifyCreator: (input: MakeOptional<VerifyCreatorAsyncInput, "payer">) => ReturnType<typeof getVerifyCreatorInstructionAsync> & SelfPlanAndSendFunctions;
216
+ verifyCreatorV2: (input: MakeOptional<VerifyCreatorV2AsyncInput, "payer">) => ReturnType<typeof getVerifyCreatorV2InstructionAsync> & SelfPlanAndSendFunctions;
182
217
  }
183
- export type BubblegumPluginRequirements = ClientWithRpc<GetAccountInfoApi & GetMultipleAccountsApi> & ClientWithPayer & ClientWithTransactionPlanning & ClientWithTransactionSending;
184
- export declare function bubblegumProgram(): <T extends BubblegumPluginRequirements>(client: T) => Omit<T, "bubblegum"> & {
185
- bubblegum: BubblegumPlugin;
218
+ interface BubblegumPluginPdas {
219
+ treeConfig: typeof findTreeConfigPda;
220
+ voucher: typeof findVoucherPda;
221
+ assetId: typeof findAssetIdPda;
222
+ bubblegumSigner: typeof findBubblegumSignerPda;
223
+ mintAuthority: typeof findMintAuthorityPda;
224
+ }
225
+ type BubblegumPluginRequirements = ClientWithRpc<GetAccountInfoApi & GetMultipleAccountsApi> & ClientWithPayer & ClientWithTransactionPlanning & ClientWithTransactionSending;
226
+ declare function bubblegumProgram(): <T extends BubblegumPluginRequirements>(client: T) => Omit<T, "bubblegum"> & {
227
+ bubblegum: BubblegumPlugin;
186
228
  };
187
229
  type MakeOptional<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
188
- export {};
230
+ //#endregion
231
+ export { BUBBLEGUM_PROGRAM_ADDRESS, BubblegumAccount, BubblegumInstruction, BubblegumPlugin, BubblegumPluginAccounts, BubblegumPluginInstructions, BubblegumPluginPdas, BubblegumPluginRequirements, ParsedBubblegumInstruction, bubblegumProgram, identifyBubblegumAccount, identifyBubblegumInstruction, parseBubblegumInstruction };
189
232
  //# sourceMappingURL=bubblegum.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bubblegum.d.ts","sourceRoot":"","sources":["../../../src/generated/programs/bubblegum.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EACV,OAAO,EACP,eAAe,EACf,aAAa,EACb,6BAA6B,EAC7B,4BAA4B,EAC5B,iBAAiB,EACjB,sBAAsB,EACtB,WAAW,EACX,mBAAmB,EACnB,kBAAkB,EACnB,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EACV,kBAAkB,EAClB,wBAAwB,EACzB,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EACV,UAAU,EACV,cAAc,EACd,OAAO,EACP,WAAW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