@macalinao/clients-mpl-core 0.0.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.
- package/README.md +15 -1
- package/dist/generated/accounts/assetV1.d.ts +36 -0
- package/dist/generated/accounts/assetV1.d.ts.map +1 -0
- package/dist/generated/accounts/assetV1.js +53 -0
- package/dist/generated/accounts/assetV1.js.map +1 -0
- package/dist/generated/accounts/collectionV1.d.ts +35 -0
- package/dist/generated/accounts/collectionV1.d.ts.map +1 -0
- package/dist/generated/accounts/collectionV1.js +52 -0
- package/dist/generated/accounts/collectionV1.js.map +1 -0
- package/dist/generated/accounts/groupV1.d.ts +39 -0
- package/dist/generated/accounts/groupV1.d.ts.map +1 -0
- package/dist/generated/accounts/groupV1.js +56 -0
- package/dist/generated/accounts/groupV1.js.map +1 -0
- package/dist/generated/accounts/hashedAssetV1.d.ts +27 -0
- package/dist/generated/accounts/hashedAssetV1.d.ts.map +1 -0
- package/dist/generated/accounts/hashedAssetV1.js +38 -0
- package/dist/generated/accounts/hashedAssetV1.js.map +1 -0
- package/dist/generated/accounts/index.d.ts +6 -0
- package/dist/generated/accounts/pluginHeaderV1.d.ts +27 -0
- package/dist/generated/accounts/pluginHeaderV1.d.ts.map +1 -0
- package/dist/generated/accounts/pluginHeaderV1.js +38 -0
- package/dist/generated/accounts/pluginHeaderV1.js.map +1 -0
- package/dist/generated/accounts/pluginRegistryV1.d.ts +31 -0
- package/dist/generated/accounts/pluginRegistryV1.d.ts.map +1 -0
- package/dist/generated/accounts/pluginRegistryV1.js +48 -0
- package/dist/generated/accounts/pluginRegistryV1.js.map +1 -0
- package/dist/generated/errors/index.d.ts +1 -0
- package/dist/generated/errors/mplCoreProgram.d.ts +131 -0
- package/dist/generated/errors/mplCoreProgram.d.ts.map +1 -0
- package/dist/generated/errors/mplCoreProgram.js +188 -0
- package/dist/generated/errors/mplCoreProgram.js.map +1 -0
- package/dist/generated/index.d.ts +167 -0
- package/dist/generated/instructions/addAssetsToGroupV1.d.ts +46 -0
- package/dist/generated/instructions/addAssetsToGroupV1.d.ts.map +1 -0
- package/dist/generated/instructions/addAssetsToGroupV1.js +85 -0
- package/dist/generated/instructions/addAssetsToGroupV1.js.map +1 -0
- package/dist/generated/instructions/addCollectionExternalPluginAdapterV1.d.ts +49 -0
- package/dist/generated/instructions/addCollectionExternalPluginAdapterV1.d.ts.map +1 -0
- package/dist/generated/instructions/addCollectionExternalPluginAdapterV1.js +91 -0
- package/dist/generated/instructions/addCollectionExternalPluginAdapterV1.js.map +1 -0
- package/dist/generated/instructions/addCollectionPluginV1.d.ts +49 -0
- package/dist/generated/instructions/addCollectionPluginV1.d.ts.map +1 -0
- package/dist/generated/instructions/addCollectionPluginV1.js +91 -0
- package/dist/generated/instructions/addCollectionPluginV1.js.map +1 -0
- package/dist/generated/instructions/addCollectionsToGroupV1.d.ts +46 -0
- package/dist/generated/instructions/addCollectionsToGroupV1.d.ts.map +1 -0
- package/dist/generated/instructions/addCollectionsToGroupV1.js +85 -0
- package/dist/generated/instructions/addCollectionsToGroupV1.js.map +1 -0
- package/dist/generated/instructions/addExternalPluginAdapterV1.d.ts +52 -0
- package/dist/generated/instructions/addExternalPluginAdapterV1.d.ts.map +1 -0
- package/dist/generated/instructions/addExternalPluginAdapterV1.js +97 -0
- package/dist/generated/instructions/addExternalPluginAdapterV1.js.map +1 -0
- package/dist/generated/instructions/addGroupsToGroupV1.d.ts +46 -0
- package/dist/generated/instructions/addGroupsToGroupV1.d.ts.map +1 -0
- package/dist/generated/instructions/addGroupsToGroupV1.js +85 -0
- package/dist/generated/instructions/addGroupsToGroupV1.js.map +1 -0
- package/dist/generated/instructions/addPluginV1.d.ts +52 -0
- package/dist/generated/instructions/addPluginV1.d.ts.map +1 -0
- package/dist/generated/instructions/addPluginV1.js +97 -0
- package/dist/generated/instructions/addPluginV1.js.map +1 -0
- package/dist/generated/instructions/approveCollectionPluginAuthorityV1.d.ts +49 -0
- package/dist/generated/instructions/approveCollectionPluginAuthorityV1.d.ts.map +1 -0
- package/dist/generated/instructions/approveCollectionPluginAuthorityV1.js +91 -0
- package/dist/generated/instructions/approveCollectionPluginAuthorityV1.js.map +1 -0
- package/dist/generated/instructions/approvePluginAuthorityV1.d.ts +52 -0
- package/dist/generated/instructions/approvePluginAuthorityV1.d.ts.map +1 -0
- package/dist/generated/instructions/approvePluginAuthorityV1.js +97 -0
- package/dist/generated/instructions/approvePluginAuthorityV1.js.map +1 -0
- package/dist/generated/instructions/burnCollectionV1.d.ts +46 -0
- package/dist/generated/instructions/burnCollectionV1.d.ts.map +1 -0
- package/dist/generated/instructions/burnCollectionV1.js +84 -0
- package/dist/generated/instructions/burnCollectionV1.js.map +1 -0
- package/dist/generated/instructions/burnV1.d.ts +52 -0
- package/dist/generated/instructions/burnV1.d.ts.map +1 -0
- package/dist/generated/instructions/burnV1.js +96 -0
- package/dist/generated/instructions/burnV1.js.map +1 -0
- package/dist/generated/instructions/closeGroupV1.d.ts +43 -0
- package/dist/generated/instructions/closeGroupV1.d.ts.map +1 -0
- package/dist/generated/instructions/closeGroupV1.js +78 -0
- package/dist/generated/instructions/closeGroupV1.js.map +1 -0
- package/dist/generated/instructions/collect.d.ts +35 -0
- package/dist/generated/instructions/collect.d.ts.map +1 -0
- package/dist/generated/instructions/collect.js +63 -0
- package/dist/generated/instructions/collect.js.map +1 -0
- package/dist/generated/instructions/compressV1.d.ts +52 -0
- package/dist/generated/instructions/compressV1.d.ts.map +1 -0
- package/dist/generated/instructions/compressV1.js +97 -0
- package/dist/generated/instructions/compressV1.js.map +1 -0
- package/dist/generated/instructions/createCollectionV1.d.ts +46 -0
- package/dist/generated/instructions/createCollectionV1.d.ts.map +1 -0
- package/dist/generated/instructions/createCollectionV1.js +85 -0
- package/dist/generated/instructions/createCollectionV1.js.map +1 -0
- package/dist/generated/instructions/createCollectionV2.d.ts +46 -0
- package/dist/generated/instructions/createCollectionV2.d.ts.map +1 -0
- package/dist/generated/instructions/createCollectionV2.js +85 -0
- package/dist/generated/instructions/createCollectionV2.js.map +1 -0
- package/dist/generated/instructions/createGroupV1.d.ts +46 -0
- package/dist/generated/instructions/createGroupV1.d.ts.map +1 -0
- package/dist/generated/instructions/createGroupV1.js +85 -0
- package/dist/generated/instructions/createGroupV1.js.map +1 -0
- package/dist/generated/instructions/createV1.d.ts +58 -0
- package/dist/generated/instructions/createV1.d.ts.map +1 -0
- package/dist/generated/instructions/createV1.js +109 -0
- package/dist/generated/instructions/createV1.js.map +1 -0
- package/dist/generated/instructions/createV2.d.ts +58 -0
- package/dist/generated/instructions/createV2.d.ts.map +1 -0
- package/dist/generated/instructions/createV2.js +109 -0
- package/dist/generated/instructions/createV2.js.map +1 -0
- package/dist/generated/instructions/decompressV1.d.ts +52 -0
- package/dist/generated/instructions/decompressV1.d.ts.map +1 -0
- package/dist/generated/instructions/decompressV1.js +97 -0
- package/dist/generated/instructions/decompressV1.js.map +1 -0
- package/dist/generated/instructions/executeV1.d.ts +75 -0
- package/dist/generated/instructions/executeV1.d.ts.map +1 -0
- package/dist/generated/instructions/executeV1.js +162 -0
- package/dist/generated/instructions/executeV1.js.map +1 -0
- package/dist/generated/instructions/index.d.ts +42 -0
- package/dist/generated/instructions/removeAssetsFromGroupV1.d.ts +46 -0
- package/dist/generated/instructions/removeAssetsFromGroupV1.d.ts.map +1 -0
- package/dist/generated/instructions/removeAssetsFromGroupV1.js +85 -0
- package/dist/generated/instructions/removeAssetsFromGroupV1.js.map +1 -0
- package/dist/generated/instructions/removeCollectionExternalPluginAdapterV1.d.ts +49 -0
- package/dist/generated/instructions/removeCollectionExternalPluginAdapterV1.d.ts.map +1 -0
- package/dist/generated/instructions/removeCollectionExternalPluginAdapterV1.js +91 -0
- package/dist/generated/instructions/removeCollectionExternalPluginAdapterV1.js.map +1 -0
- package/dist/generated/instructions/removeCollectionPluginV1.d.ts +49 -0
- package/dist/generated/instructions/removeCollectionPluginV1.d.ts.map +1 -0
- package/dist/generated/instructions/removeCollectionPluginV1.js +91 -0
- package/dist/generated/instructions/removeCollectionPluginV1.js.map +1 -0
- package/dist/generated/instructions/removeCollectionsFromGroupV1.d.ts +46 -0
- package/dist/generated/instructions/removeCollectionsFromGroupV1.d.ts.map +1 -0
- package/dist/generated/instructions/removeCollectionsFromGroupV1.js +85 -0
- package/dist/generated/instructions/removeCollectionsFromGroupV1.js.map +1 -0
- package/dist/generated/instructions/removeExternalPluginAdapterV1.d.ts +52 -0
- package/dist/generated/instructions/removeExternalPluginAdapterV1.d.ts.map +1 -0
- package/dist/generated/instructions/removeExternalPluginAdapterV1.js +97 -0
- package/dist/generated/instructions/removeExternalPluginAdapterV1.js.map +1 -0
- package/dist/generated/instructions/removeGroupsFromGroupV1.d.ts +46 -0
- package/dist/generated/instructions/removeGroupsFromGroupV1.d.ts.map +1 -0
- package/dist/generated/instructions/removeGroupsFromGroupV1.js +85 -0
- package/dist/generated/instructions/removeGroupsFromGroupV1.js.map +1 -0
- package/dist/generated/instructions/removePluginV1.d.ts +52 -0
- package/dist/generated/instructions/removePluginV1.d.ts.map +1 -0
- package/dist/generated/instructions/removePluginV1.js +97 -0
- package/dist/generated/instructions/removePluginV1.js.map +1 -0
- package/dist/generated/instructions/revokeCollectionPluginAuthorityV1.d.ts +49 -0
- package/dist/generated/instructions/revokeCollectionPluginAuthorityV1.d.ts.map +1 -0
- package/dist/generated/instructions/revokeCollectionPluginAuthorityV1.js +91 -0
- package/dist/generated/instructions/revokeCollectionPluginAuthorityV1.js.map +1 -0
- package/dist/generated/instructions/revokePluginAuthorityV1.d.ts +52 -0
- package/dist/generated/instructions/revokePluginAuthorityV1.d.ts.map +1 -0
- package/dist/generated/instructions/revokePluginAuthorityV1.js +97 -0
- package/dist/generated/instructions/revokePluginAuthorityV1.js.map +1 -0
- package/dist/generated/instructions/transferV1.d.ts +55 -0
- package/dist/generated/instructions/transferV1.d.ts.map +1 -0
- package/dist/generated/instructions/transferV1.js +102 -0
- package/dist/generated/instructions/transferV1.js.map +1 -0
- package/dist/generated/instructions/updateCollectionExternalPluginAdapterV1.d.ts +49 -0
- package/dist/generated/instructions/updateCollectionExternalPluginAdapterV1.d.ts.map +1 -0
- package/dist/generated/instructions/updateCollectionExternalPluginAdapterV1.js +91 -0
- package/dist/generated/instructions/updateCollectionExternalPluginAdapterV1.js.map +1 -0
- package/dist/generated/instructions/updateCollectionInfoV1.d.ts +40 -0
- package/dist/generated/instructions/updateCollectionInfoV1.d.ts.map +1 -0
- package/dist/generated/instructions/updateCollectionInfoV1.js +65 -0
- package/dist/generated/instructions/updateCollectionInfoV1.js.map +1 -0
- package/dist/generated/instructions/updateCollectionPluginV1.d.ts +49 -0
- package/dist/generated/instructions/updateCollectionPluginV1.d.ts.map +1 -0
- package/dist/generated/instructions/updateCollectionPluginV1.js +91 -0
- package/dist/generated/instructions/updateCollectionPluginV1.js.map +1 -0
- package/dist/generated/instructions/updateCollectionV1.d.ts +52 -0
- package/dist/generated/instructions/updateCollectionV1.d.ts.map +1 -0
- package/dist/generated/instructions/updateCollectionV1.js +97 -0
- package/dist/generated/instructions/updateCollectionV1.js.map +1 -0
- package/dist/generated/instructions/updateExternalPluginAdapterV1.d.ts +52 -0
- package/dist/generated/instructions/updateExternalPluginAdapterV1.d.ts.map +1 -0
- package/dist/generated/instructions/updateExternalPluginAdapterV1.js +97 -0
- package/dist/generated/instructions/updateExternalPluginAdapterV1.js.map +1 -0
- package/dist/generated/instructions/updateGroupV1.d.ts +49 -0
- package/dist/generated/instructions/updateGroupV1.d.ts.map +1 -0
- package/dist/generated/instructions/updateGroupV1.js +91 -0
- package/dist/generated/instructions/updateGroupV1.js.map +1 -0
- package/dist/generated/instructions/updatePluginV1.d.ts +52 -0
- package/dist/generated/instructions/updatePluginV1.d.ts.map +1 -0
- package/dist/generated/instructions/updatePluginV1.js +97 -0
- package/dist/generated/instructions/updatePluginV1.js.map +1 -0
- package/dist/generated/instructions/updateV1.d.ts +52 -0
- package/dist/generated/instructions/updateV1.d.ts.map +1 -0
- package/dist/generated/instructions/updateV1.js +97 -0
- package/dist/generated/instructions/updateV1.js.map +1 -0
- package/dist/generated/instructions/updateV2.d.ts +55 -0
- package/dist/generated/instructions/updateV2.d.ts.map +1 -0
- package/dist/generated/instructions/updateV2.js +103 -0
- package/dist/generated/instructions/updateV2.js.map +1 -0
- package/dist/generated/instructions/writeCollectionExternalPluginAdapterDataV1.d.ts +52 -0
- package/dist/generated/instructions/writeCollectionExternalPluginAdapterDataV1.d.ts.map +1 -0
- package/dist/generated/instructions/writeCollectionExternalPluginAdapterDataV1.js +97 -0
- package/dist/generated/instructions/writeCollectionExternalPluginAdapterDataV1.js.map +1 -0
- package/dist/generated/instructions/writeExternalPluginAdapterDataV1.d.ts +55 -0
- package/dist/generated/instructions/writeExternalPluginAdapterDataV1.d.ts.map +1 -0
- package/dist/generated/instructions/writeExternalPluginAdapterDataV1.js +103 -0
- package/dist/generated/instructions/writeExternalPluginAdapterDataV1.js.map +1 -0
- package/dist/generated/pdas/assetSigner.d.ts +14 -0
- package/dist/generated/pdas/assetSigner.d.ts.map +1 -0
- package/dist/generated/pdas/assetSigner.js +14 -0
- package/dist/generated/pdas/assetSigner.js.map +1 -0
- package/dist/generated/pdas/index.d.ts +1 -0
- package/dist/generated/programs/index.d.ts +1 -0
- package/dist/generated/programs/mplCoreProgram.d.ts +263 -0
- package/dist/generated/programs/mplCoreProgram.d.ts.map +1 -0
- package/dist/generated/programs/mplCoreProgram.js +600 -0
- package/dist/generated/programs/mplCoreProgram.js.map +1 -0
- package/dist/generated/types/addAssetsToGroupV1Args.d.ts +11 -0
- package/dist/generated/types/addAssetsToGroupV1Args.d.ts.map +1 -0
- package/dist/generated/types/addAssetsToGroupV1Args.js +15 -0
- package/dist/generated/types/addAssetsToGroupV1Args.js.map +1 -0
- package/dist/generated/types/addBlocker.d.ts +11 -0
- package/dist/generated/types/addBlocker.d.ts.map +1 -0
- package/dist/generated/types/addBlocker.js +15 -0
- package/dist/generated/types/addBlocker.js.map +1 -0
- package/dist/generated/types/addCollectionExternalPluginAdapterV1Args.d.ts +16 -0
- package/dist/generated/types/addCollectionExternalPluginAdapterV1Args.d.ts.map +1 -0
- package/dist/generated/types/addCollectionExternalPluginAdapterV1Args.js +16 -0
- package/dist/generated/types/addCollectionExternalPluginAdapterV1Args.js.map +1 -0
- package/dist/generated/types/addCollectionPluginV1Args.d.ts +19 -0
- package/dist/generated/types/addCollectionPluginV1Args.d.ts.map +1 -0
- package/dist/generated/types/addCollectionPluginV1Args.js +17 -0
- package/dist/generated/types/addCollectionPluginV1Args.js.map +1 -0
- package/dist/generated/types/addCollectionsToGroupV1Args.d.ts +11 -0
- package/dist/generated/types/addCollectionsToGroupV1Args.d.ts.map +1 -0
- package/dist/generated/types/addCollectionsToGroupV1Args.js +15 -0
- package/dist/generated/types/addCollectionsToGroupV1Args.js.map +1 -0
- package/dist/generated/types/addExternalPluginAdapterV1Args.d.ts +16 -0
- package/dist/generated/types/addExternalPluginAdapterV1Args.d.ts.map +1 -0
- package/dist/generated/types/addExternalPluginAdapterV1Args.js +16 -0
- package/dist/generated/types/addExternalPluginAdapterV1Args.js.map +1 -0
- package/dist/generated/types/addGroupsToGroupV1Args.d.ts +13 -0
- package/dist/generated/types/addGroupsToGroupV1Args.d.ts.map +1 -0
- package/dist/generated/types/addGroupsToGroupV1Args.js +15 -0
- package/dist/generated/types/addGroupsToGroupV1Args.js.map +1 -0
- package/dist/generated/types/addPluginV1Args.d.ts +19 -0
- package/dist/generated/types/addPluginV1Args.d.ts.map +1 -0
- package/dist/generated/types/addPluginV1Args.js +17 -0
- package/dist/generated/types/addPluginV1Args.js.map +1 -0
- package/dist/generated/types/agentIdentity.d.ts +13 -0
- package/dist/generated/types/agentIdentity.d.ts.map +1 -0
- package/dist/generated/types/agentIdentity.js +15 -0
- package/dist/generated/types/agentIdentity.js.map +1 -0
- package/dist/generated/types/agentIdentityInitInfo.d.ts +22 -0
- package/dist/generated/types/agentIdentityInitInfo.d.ts.map +1 -0
- package/dist/generated/types/agentIdentityInitInfo.js +26 -0
- package/dist/generated/types/agentIdentityInitInfo.js.map +1 -0
- package/dist/generated/types/agentIdentityUpdateInfo.d.ts +19 -0
- package/dist/generated/types/agentIdentityUpdateInfo.d.ts.map +1 -0
- package/dist/generated/types/agentIdentityUpdateInfo.js +17 -0
- package/dist/generated/types/agentIdentityUpdateInfo.js.map +1 -0
- package/dist/generated/types/appData.d.ts +19 -0
- package/dist/generated/types/appData.d.ts.map +1 -0
- package/dist/generated/types/appData.js +17 -0
- package/dist/generated/types/appData.js.map +1 -0
- package/dist/generated/types/appDataInitInfo.d.ts +21 -0
- package/dist/generated/types/appDataInitInfo.d.ts.map +1 -0
- package/dist/generated/types/appDataInitInfo.js +25 -0
- package/dist/generated/types/appDataInitInfo.js.map +1 -0
- package/dist/generated/types/appDataUpdateInfo.d.ts +16 -0
- package/dist/generated/types/appDataUpdateInfo.d.ts.map +1 -0
- package/dist/generated/types/appDataUpdateInfo.js +16 -0
- package/dist/generated/types/appDataUpdateInfo.js.map +1 -0
- package/dist/generated/types/approveCollectionPluginAuthorityV1Args.d.ts +19 -0
- package/dist/generated/types/approveCollectionPluginAuthorityV1Args.d.ts.map +1 -0
- package/dist/generated/types/approveCollectionPluginAuthorityV1Args.js +17 -0
- package/dist/generated/types/approveCollectionPluginAuthorityV1Args.js.map +1 -0
- package/dist/generated/types/approvePluginAuthorityV1Args.d.ts +19 -0
- package/dist/generated/types/approvePluginAuthorityV1Args.d.ts.map +1 -0
- package/dist/generated/types/approvePluginAuthorityV1Args.js +17 -0
- package/dist/generated/types/approvePluginAuthorityV1Args.js.map +1 -0
- package/dist/generated/types/attribute.d.ts +14 -0
- package/dist/generated/types/attribute.d.ts.map +1 -0
- package/dist/generated/types/attribute.js +15 -0
- package/dist/generated/types/attribute.js.map +1 -0
- package/dist/generated/types/attributes.d.ts +16 -0
- package/dist/generated/types/attributes.d.ts.map +1 -0
- package/dist/generated/types/attributes.js +16 -0
- package/dist/generated/types/attributes.js.map +1 -0
- package/dist/generated/types/authority.d.ts +27 -0
- package/dist/generated/types/authority.d.ts.map +1 -0
- package/dist/generated/types/authority.js +37 -0
- package/dist/generated/types/authority.js.map +1 -0
- package/dist/generated/types/autograph.d.ts +16 -0
- package/dist/generated/types/autograph.d.ts.map +1 -0
- package/dist/generated/types/autograph.js +16 -0
- package/dist/generated/types/autograph.js.map +1 -0
- package/dist/generated/types/autographSignature.d.ts +14 -0
- package/dist/generated/types/autographSignature.d.ts.map +1 -0
- package/dist/generated/types/autographSignature.js +15 -0
- package/dist/generated/types/autographSignature.js.map +1 -0
- package/dist/generated/types/bubblegumV2.d.ts +11 -0
- package/dist/generated/types/bubblegumV2.d.ts.map +1 -0
- package/dist/generated/types/bubblegumV2.js +15 -0
- package/dist/generated/types/bubblegumV2.js.map +1 -0
- package/dist/generated/types/burnCollectionV1Args.d.ts +16 -0
- package/dist/generated/types/burnCollectionV1Args.d.ts.map +1 -0
- package/dist/generated/types/burnCollectionV1Args.js +16 -0
- package/dist/generated/types/burnCollectionV1Args.js.map +1 -0
- package/dist/generated/types/burnDelegate.d.ts +11 -0
- package/dist/generated/types/burnDelegate.d.ts.map +1 -0
- package/dist/generated/types/burnDelegate.js +15 -0
- package/dist/generated/types/burnDelegate.js.map +1 -0
- package/dist/generated/types/burnV1Args.d.ts +16 -0
- package/dist/generated/types/burnV1Args.d.ts.map +1 -0
- package/dist/generated/types/burnV1Args.js +16 -0
- package/dist/generated/types/burnV1Args.js.map +1 -0
- package/dist/generated/types/closeGroupV1Args.d.ts +11 -0
- package/dist/generated/types/closeGroupV1Args.d.ts.map +1 -0
- package/dist/generated/types/closeGroupV1Args.js +15 -0
- package/dist/generated/types/closeGroupV1Args.js.map +1 -0
- package/dist/generated/types/compressV1Args.d.ts +11 -0
- package/dist/generated/types/compressV1Args.d.ts.map +1 -0
- package/dist/generated/types/compressV1Args.js +15 -0
- package/dist/generated/types/compressV1Args.js.map +1 -0
- package/dist/generated/types/compressionProof.d.ts +27 -0
- package/dist/generated/types/compressionProof.d.ts.map +1 -0
- package/dist/generated/types/compressionProof.js +31 -0
- package/dist/generated/types/compressionProof.js.map +1 -0
- package/dist/generated/types/createCollectionV1Args.d.ts +20 -0
- package/dist/generated/types/createCollectionV1Args.d.ts.map +1 -0
- package/dist/generated/types/createCollectionV1Args.js +24 -0
- package/dist/generated/types/createCollectionV1Args.js.map +1 -0
- package/dist/generated/types/createCollectionV2Args.d.ts +23 -0
- package/dist/generated/types/createCollectionV2Args.d.ts.map +1 -0
- package/dist/generated/types/createCollectionV2Args.js +27 -0
- package/dist/generated/types/createCollectionV2Args.js.map +1 -0
- package/dist/generated/types/createGroupV1Args.d.ts +20 -0
- package/dist/generated/types/createGroupV1Args.d.ts.map +1 -0
- package/dist/generated/types/createGroupV1Args.js +24 -0
- package/dist/generated/types/createGroupV1Args.js.map +1 -0
- package/dist/generated/types/createV1Args.d.ts +23 -0
- package/dist/generated/types/createV1Args.d.ts.map +1 -0
- package/dist/generated/types/createV1Args.js +27 -0
- package/dist/generated/types/createV1Args.js.map +1 -0
- package/dist/generated/types/createV2Args.d.ts +26 -0
- package/dist/generated/types/createV2Args.d.ts.map +1 -0
- package/dist/generated/types/createV2Args.js +30 -0
- package/dist/generated/types/createV2Args.js.map +1 -0
- package/dist/generated/types/creator.d.ts +14 -0
- package/dist/generated/types/creator.d.ts.map +1 -0
- package/dist/generated/types/creator.js +15 -0
- package/dist/generated/types/creator.js.map +1 -0
- package/dist/generated/types/dataSection.d.ts +19 -0
- package/dist/generated/types/dataSection.d.ts.map +1 -0
- package/dist/generated/types/dataSection.js +17 -0
- package/dist/generated/types/dataSection.js.map +1 -0
- package/dist/generated/types/dataSectionInitInfo.d.ts +19 -0
- package/dist/generated/types/dataSectionInitInfo.d.ts.map +1 -0
- package/dist/generated/types/dataSectionInitInfo.js +17 -0
- package/dist/generated/types/dataSectionInitInfo.js.map +1 -0
- package/dist/generated/types/dataSectionUpdateInfo.d.ts +11 -0
- package/dist/generated/types/dataSectionUpdateInfo.d.ts.map +1 -0
- package/dist/generated/types/dataSectionUpdateInfo.js +15 -0
- package/dist/generated/types/dataSectionUpdateInfo.js.map +1 -0
- package/dist/generated/types/dataState.d.ts +14 -0
- package/dist/generated/types/dataState.d.ts.map +1 -0
- package/dist/generated/types/dataState.js +20 -0
- package/dist/generated/types/dataState.js.map +1 -0
- package/dist/generated/types/decompressV1Args.d.ts +16 -0
- package/dist/generated/types/decompressV1Args.d.ts.map +1 -0
- package/dist/generated/types/decompressV1Args.js +16 -0
- package/dist/generated/types/decompressV1Args.js.map +1 -0
- package/dist/generated/types/edition.d.ts +13 -0
- package/dist/generated/types/edition.d.ts.map +1 -0
- package/dist/generated/types/edition.js +15 -0
- package/dist/generated/types/edition.js.map +1 -0
- package/dist/generated/types/executeV1Args.d.ts +13 -0
- package/dist/generated/types/executeV1Args.d.ts.map +1 -0
- package/dist/generated/types/executeV1Args.js +15 -0
- package/dist/generated/types/executeV1Args.js.map +1 -0
- package/dist/generated/types/externalCheckResult.d.ts +13 -0
- package/dist/generated/types/externalCheckResult.d.ts.map +1 -0
- package/dist/generated/types/externalCheckResult.js +15 -0
- package/dist/generated/types/externalCheckResult.js.map +1 -0
- package/dist/generated/types/externalPluginAdapter.d.ts +70 -0
- package/dist/generated/types/externalPluginAdapter.d.ts.map +1 -0
- package/dist/generated/types/externalPluginAdapter.js +50 -0
- package/dist/generated/types/externalPluginAdapter.js.map +1 -0
- package/dist/generated/types/externalPluginAdapterInitInfo.d.ts +70 -0
- package/dist/generated/types/externalPluginAdapterInitInfo.d.ts.map +1 -0
- package/dist/generated/types/externalPluginAdapterInitInfo.js +50 -0
- package/dist/generated/types/externalPluginAdapterInitInfo.js.map +1 -0
- package/dist/generated/types/externalPluginAdapterKey.d.ts +63 -0
- package/dist/generated/types/externalPluginAdapterKey.d.ts.map +1 -0
- package/dist/generated/types/externalPluginAdapterKey.js +45 -0
- package/dist/generated/types/externalPluginAdapterKey.js.map +1 -0
- package/dist/generated/types/externalPluginAdapterSchema.d.ts +15 -0
- package/dist/generated/types/externalPluginAdapterSchema.d.ts.map +1 -0
- package/dist/generated/types/externalPluginAdapterSchema.js +21 -0
- package/dist/generated/types/externalPluginAdapterSchema.js.map +1 -0
- package/dist/generated/types/externalPluginAdapterType.d.ts +19 -0
- package/dist/generated/types/externalPluginAdapterType.d.ts.map +1 -0
- package/dist/generated/types/externalPluginAdapterType.js +25 -0
- package/dist/generated/types/externalPluginAdapterType.js.map +1 -0
- package/dist/generated/types/externalPluginAdapterUpdateInfo.d.ts +62 -0
- package/dist/generated/types/externalPluginAdapterUpdateInfo.d.ts.map +1 -0
- package/dist/generated/types/externalPluginAdapterUpdateInfo.js +47 -0
- package/dist/generated/types/externalPluginAdapterUpdateInfo.js.map +1 -0
- package/dist/generated/types/externalRegistryRecord.d.ts +29 -0
- package/dist/generated/types/externalRegistryRecord.d.ts.map +1 -0
- package/dist/generated/types/externalRegistryRecord.js +33 -0
- package/dist/generated/types/externalRegistryRecord.js.map +1 -0
- package/dist/generated/types/externalValidationResult.d.ts +15 -0
- package/dist/generated/types/externalValidationResult.d.ts.map +1 -0
- package/dist/generated/types/externalValidationResult.js +21 -0
- package/dist/generated/types/externalValidationResult.js.map +1 -0
- package/dist/generated/types/extraAccount.d.ts +84 -0
- package/dist/generated/types/extraAccount.d.ts.map +1 -0
- package/dist/generated/types/extraAccount.js +62 -0
- package/dist/generated/types/extraAccount.js.map +1 -0
- package/dist/generated/types/freezeDelegate.d.ts +13 -0
- package/dist/generated/types/freezeDelegate.d.ts.map +1 -0
- package/dist/generated/types/freezeDelegate.js +15 -0
- package/dist/generated/types/freezeDelegate.js.map +1 -0
- package/dist/generated/types/freezeExecute.d.ts +13 -0
- package/dist/generated/types/freezeExecute.d.ts.map +1 -0
- package/dist/generated/types/freezeExecute.js +15 -0
- package/dist/generated/types/freezeExecute.js.map +1 -0
- package/dist/generated/types/groups.d.ts +13 -0
- package/dist/generated/types/groups.d.ts.map +1 -0
- package/dist/generated/types/groups.js +15 -0
- package/dist/generated/types/groups.js.map +1 -0
- package/dist/generated/types/hashablePluginSchema.d.ts +21 -0
- package/dist/generated/types/hashablePluginSchema.d.ts.map +1 -0
- package/dist/generated/types/hashablePluginSchema.js +25 -0
- package/dist/generated/types/hashablePluginSchema.js.map +1 -0
- package/dist/generated/types/hashedAssetSchema.d.ts +14 -0
- package/dist/generated/types/hashedAssetSchema.d.ts.map +1 -0
- package/dist/generated/types/hashedAssetSchema.js +15 -0
- package/dist/generated/types/hashedAssetSchema.js.map +1 -0
- package/dist/generated/types/hookableLifecycleEvent.d.ts +17 -0
- package/dist/generated/types/hookableLifecycleEvent.d.ts.map +1 -0
- package/dist/generated/types/hookableLifecycleEvent.js +23 -0
- package/dist/generated/types/hookableLifecycleEvent.js.map +1 -0
- package/dist/generated/types/immutableMetadata.d.ts +11 -0
- package/dist/generated/types/immutableMetadata.d.ts.map +1 -0
- package/dist/generated/types/immutableMetadata.js +15 -0
- package/dist/generated/types/immutableMetadata.js.map +1 -0
- package/dist/generated/types/index.d.ts +116 -0
- package/dist/generated/types/key.d.ts +19 -0
- package/dist/generated/types/key.d.ts.map +1 -0
- package/dist/generated/types/key.js +25 -0
- package/dist/generated/types/key.js.map +1 -0
- package/dist/generated/types/lifecycleHook.d.ts +24 -0
- package/dist/generated/types/lifecycleHook.d.ts.map +1 -0
- package/dist/generated/types/lifecycleHook.js +28 -0
- package/dist/generated/types/lifecycleHook.js.map +1 -0
- package/dist/generated/types/lifecycleHookInitInfo.d.ts +30 -0
- package/dist/generated/types/lifecycleHookInitInfo.d.ts.map +1 -0
- package/dist/generated/types/lifecycleHookInitInfo.js +34 -0
- package/dist/generated/types/lifecycleHookInitInfo.js.map +1 -0
- package/dist/generated/types/lifecycleHookUpdateInfo.d.ts +23 -0
- package/dist/generated/types/lifecycleHookUpdateInfo.d.ts.map +1 -0
- package/dist/generated/types/lifecycleHookUpdateInfo.js +27 -0
- package/dist/generated/types/lifecycleHookUpdateInfo.js.map +1 -0
- package/dist/generated/types/linkedAppData.d.ts +19 -0
- package/dist/generated/types/linkedAppData.d.ts.map +1 -0
- package/dist/generated/types/linkedAppData.js +17 -0
- package/dist/generated/types/linkedAppData.js.map +1 -0
- package/dist/generated/types/linkedAppDataInitInfo.d.ts +21 -0
- package/dist/generated/types/linkedAppDataInitInfo.d.ts.map +1 -0
- package/dist/generated/types/linkedAppDataInitInfo.js +25 -0
- package/dist/generated/types/linkedAppDataInitInfo.js.map +1 -0
- package/dist/generated/types/linkedAppDataUpdateInfo.d.ts +16 -0
- package/dist/generated/types/linkedAppDataUpdateInfo.d.ts.map +1 -0
- package/dist/generated/types/linkedAppDataUpdateInfo.js +16 -0
- package/dist/generated/types/linkedAppDataUpdateInfo.js.map +1 -0
- package/dist/generated/types/linkedDataKey.d.ts +29 -0
- package/dist/generated/types/linkedDataKey.d.ts.map +1 -0
- package/dist/generated/types/linkedDataKey.js +28 -0
- package/dist/generated/types/linkedDataKey.js.map +1 -0
- package/dist/generated/types/linkedLifecycleHook.d.ts +24 -0
- package/dist/generated/types/linkedLifecycleHook.d.ts.map +1 -0
- package/dist/generated/types/linkedLifecycleHook.js +28 -0
- package/dist/generated/types/linkedLifecycleHook.js.map +1 -0
- package/dist/generated/types/linkedLifecycleHookInitInfo.d.ts +30 -0
- package/dist/generated/types/linkedLifecycleHookInitInfo.d.ts.map +1 -0
- package/dist/generated/types/linkedLifecycleHookInitInfo.js +34 -0
- package/dist/generated/types/linkedLifecycleHookInitInfo.js.map +1 -0
- package/dist/generated/types/linkedLifecycleHookUpdateInfo.d.ts +23 -0
- package/dist/generated/types/linkedLifecycleHookUpdateInfo.d.ts.map +1 -0
- package/dist/generated/types/linkedLifecycleHookUpdateInfo.js +27 -0
- package/dist/generated/types/linkedLifecycleHookUpdateInfo.js.map +1 -0
- package/dist/generated/types/masterEdition.d.ts +19 -0
- package/dist/generated/types/masterEdition.d.ts.map +1 -0
- package/dist/generated/types/masterEdition.js +23 -0
- package/dist/generated/types/masterEdition.js.map +1 -0
- package/dist/generated/types/oracle.d.ts +21 -0
- package/dist/generated/types/oracle.d.ts.map +1 -0
- package/dist/generated/types/oracle.js +25 -0
- package/dist/generated/types/oracle.js.map +1 -0
- package/dist/generated/types/oracleInitInfo.d.ts +28 -0
- package/dist/generated/types/oracleInitInfo.d.ts.map +1 -0
- package/dist/generated/types/oracleInitInfo.js +32 -0
- package/dist/generated/types/oracleInitInfo.js.map +1 -0
- package/dist/generated/types/oracleUpdateInfo.d.ts +23 -0
- package/dist/generated/types/oracleUpdateInfo.d.ts.map +1 -0
- package/dist/generated/types/oracleUpdateInfo.js +27 -0
- package/dist/generated/types/oracleUpdateInfo.js.map +1 -0
- package/dist/generated/types/oracleValidation.d.ts +33 -0
- package/dist/generated/types/oracleValidation.d.ts.map +1 -0
- package/dist/generated/types/oracleValidation.js +38 -0
- package/dist/generated/types/oracleValidation.js.map +1 -0
- package/dist/generated/types/permanentBurnDelegate.d.ts +11 -0
- package/dist/generated/types/permanentBurnDelegate.d.ts.map +1 -0
- package/dist/generated/types/permanentBurnDelegate.js +15 -0
- package/dist/generated/types/permanentBurnDelegate.js.map +1 -0
- package/dist/generated/types/permanentFreezeDelegate.d.ts +13 -0
- package/dist/generated/types/permanentFreezeDelegate.d.ts.map +1 -0
- package/dist/generated/types/permanentFreezeDelegate.js +15 -0
- package/dist/generated/types/permanentFreezeDelegate.js.map +1 -0
- package/dist/generated/types/permanentFreezeExecute.d.ts +13 -0
- package/dist/generated/types/permanentFreezeExecute.d.ts.map +1 -0
- package/dist/generated/types/permanentFreezeExecute.js +15 -0
- package/dist/generated/types/permanentFreezeExecute.js.map +1 -0
- package/dist/generated/types/permanentTransferDelegate.d.ts +11 -0
- package/dist/generated/types/permanentTransferDelegate.d.ts.map +1 -0
- package/dist/generated/types/permanentTransferDelegate.js +15 -0
- package/dist/generated/types/permanentTransferDelegate.js.map +1 -0
- package/dist/generated/types/plugin.d.ts +166 -0
- package/dist/generated/types/plugin.d.ts.map +1 -0
- package/dist/generated/types/plugin.js +86 -0
- package/dist/generated/types/plugin.js.map +1 -0
- package/dist/generated/types/pluginAuthorityPair.d.ts +19 -0
- package/dist/generated/types/pluginAuthorityPair.d.ts.map +1 -0
- package/dist/generated/types/pluginAuthorityPair.js +17 -0
- package/dist/generated/types/pluginAuthorityPair.js.map +1 -0
- package/dist/generated/types/pluginType.d.ts +31 -0
- package/dist/generated/types/pluginType.d.ts.map +1 -0
- package/dist/generated/types/pluginType.js +37 -0
- package/dist/generated/types/pluginType.js.map +1 -0
- package/dist/generated/types/registryRecord.d.ts +21 -0
- package/dist/generated/types/registryRecord.d.ts.map +1 -0
- package/dist/generated/types/registryRecord.js +25 -0
- package/dist/generated/types/registryRecord.js.map +1 -0
- package/dist/generated/types/relationshipEntry.d.ts +18 -0
- package/dist/generated/types/relationshipEntry.d.ts.map +1 -0
- package/dist/generated/types/relationshipEntry.js +16 -0
- package/dist/generated/types/relationshipEntry.js.map +1 -0
- package/dist/generated/types/relationshipKind.d.ts +16 -0
- package/dist/generated/types/relationshipKind.d.ts.map +1 -0
- package/dist/generated/types/relationshipKind.js +22 -0
- package/dist/generated/types/relationshipKind.js.map +1 -0
- package/dist/generated/types/removeAssetsFromGroupV1Args.d.ts +13 -0
- package/dist/generated/types/removeAssetsFromGroupV1Args.d.ts.map +1 -0
- package/dist/generated/types/removeAssetsFromGroupV1Args.js +15 -0
- package/dist/generated/types/removeAssetsFromGroupV1Args.js.map +1 -0
- package/dist/generated/types/removeCollectionExternalPluginAdapterV1Args.d.ts +16 -0
- package/dist/generated/types/removeCollectionExternalPluginAdapterV1Args.d.ts.map +1 -0
- package/dist/generated/types/removeCollectionExternalPluginAdapterV1Args.js +16 -0
- package/dist/generated/types/removeCollectionExternalPluginAdapterV1Args.js.map +1 -0
- package/dist/generated/types/removeCollectionPluginV1Args.d.ts +16 -0
- package/dist/generated/types/removeCollectionPluginV1Args.d.ts.map +1 -0
- package/dist/generated/types/removeCollectionPluginV1Args.js +16 -0
- package/dist/generated/types/removeCollectionPluginV1Args.js.map +1 -0
- package/dist/generated/types/removeCollectionsFromGroupV1Args.d.ts +13 -0
- package/dist/generated/types/removeCollectionsFromGroupV1Args.d.ts.map +1 -0
- package/dist/generated/types/removeCollectionsFromGroupV1Args.js +15 -0
- package/dist/generated/types/removeCollectionsFromGroupV1Args.js.map +1 -0
- package/dist/generated/types/removeExternalPluginAdapterV1Args.d.ts +16 -0
- package/dist/generated/types/removeExternalPluginAdapterV1Args.d.ts.map +1 -0
- package/dist/generated/types/removeExternalPluginAdapterV1Args.js +16 -0
- package/dist/generated/types/removeExternalPluginAdapterV1Args.js.map +1 -0
- package/dist/generated/types/removeGroupsFromGroupV1Args.d.ts +13 -0
- package/dist/generated/types/removeGroupsFromGroupV1Args.d.ts.map +1 -0
- package/dist/generated/types/removeGroupsFromGroupV1Args.js +15 -0
- package/dist/generated/types/removeGroupsFromGroupV1Args.js.map +1 -0
- package/dist/generated/types/removePluginV1Args.d.ts +16 -0
- package/dist/generated/types/removePluginV1Args.d.ts.map +1 -0
- package/dist/generated/types/removePluginV1Args.js +16 -0
- package/dist/generated/types/removePluginV1Args.js.map +1 -0
- package/dist/generated/types/revokeCollectionPluginAuthorityV1Args.d.ts +16 -0
- package/dist/generated/types/revokeCollectionPluginAuthorityV1Args.d.ts.map +1 -0
- package/dist/generated/types/revokeCollectionPluginAuthorityV1Args.js +16 -0
- package/dist/generated/types/revokeCollectionPluginAuthorityV1Args.js.map +1 -0
- package/dist/generated/types/revokePluginAuthorityV1Args.d.ts +16 -0
- package/dist/generated/types/revokePluginAuthorityV1Args.d.ts.map +1 -0
- package/dist/generated/types/revokePluginAuthorityV1Args.js +16 -0
- package/dist/generated/types/revokePluginAuthorityV1Args.js.map +1 -0
- package/dist/generated/types/royalties.d.ts +21 -0
- package/dist/generated/types/royalties.d.ts.map +1 -0
- package/dist/generated/types/royalties.js +25 -0
- package/dist/generated/types/royalties.js.map +1 -0
- package/dist/generated/types/ruleSet.d.ts +25 -0
- package/dist/generated/types/ruleSet.d.ts.map +1 -0
- package/dist/generated/types/ruleSet.js +35 -0
- package/dist/generated/types/ruleSet.js.map +1 -0
- package/dist/generated/types/seed.d.ts +34 -0
- package/dist/generated/types/seed.d.ts.map +1 -0
- package/dist/generated/types/seed.js +41 -0
- package/dist/generated/types/seed.js.map +1 -0
- package/dist/generated/types/transferDelegate.d.ts +11 -0
- package/dist/generated/types/transferDelegate.d.ts.map +1 -0
- package/dist/generated/types/transferDelegate.js +15 -0
- package/dist/generated/types/transferDelegate.js.map +1 -0
- package/dist/generated/types/transferV1Args.d.ts +16 -0
- package/dist/generated/types/transferV1Args.d.ts.map +1 -0
- package/dist/generated/types/transferV1Args.js +16 -0
- package/dist/generated/types/transferV1Args.js.map +1 -0
- package/dist/generated/types/updateAuthority.d.ts +25 -0
- package/dist/generated/types/updateAuthority.d.ts.map +1 -0
- package/dist/generated/types/updateAuthority.js +35 -0
- package/dist/generated/types/updateAuthority.js.map +1 -0
- package/dist/generated/types/updateCollectionExternalPluginAdapterV1Args.d.ts +19 -0
- package/dist/generated/types/updateCollectionExternalPluginAdapterV1Args.d.ts.map +1 -0
- package/dist/generated/types/updateCollectionExternalPluginAdapterV1Args.js +17 -0
- package/dist/generated/types/updateCollectionExternalPluginAdapterV1Args.js.map +1 -0
- package/dist/generated/types/updateCollectionInfoV1Args.d.ts +18 -0
- package/dist/generated/types/updateCollectionInfoV1Args.d.ts.map +1 -0
- package/dist/generated/types/updateCollectionInfoV1Args.js +16 -0
- package/dist/generated/types/updateCollectionInfoV1Args.js.map +1 -0
- package/dist/generated/types/updateCollectionPluginV1Args.d.ts +16 -0
- package/dist/generated/types/updateCollectionPluginV1Args.d.ts.map +1 -0
- package/dist/generated/types/updateCollectionPluginV1Args.js +16 -0
- package/dist/generated/types/updateCollectionPluginV1Args.js.map +1 -0
- package/dist/generated/types/updateCollectionV1Args.d.ts +17 -0
- package/dist/generated/types/updateCollectionV1Args.d.ts.map +1 -0
- package/dist/generated/types/updateCollectionV1Args.js +15 -0
- package/dist/generated/types/updateCollectionV1Args.js.map +1 -0
- package/dist/generated/types/updateDelegate.d.ts +13 -0
- package/dist/generated/types/updateDelegate.d.ts.map +1 -0
- package/dist/generated/types/updateDelegate.js +15 -0
- package/dist/generated/types/updateDelegate.js.map +1 -0
- package/dist/generated/types/updateExternalPluginAdapterV1Args.d.ts +19 -0
- package/dist/generated/types/updateExternalPluginAdapterV1Args.d.ts.map +1 -0
- package/dist/generated/types/updateExternalPluginAdapterV1Args.js +17 -0
- package/dist/generated/types/updateExternalPluginAdapterV1Args.js.map +1 -0
- package/dist/generated/types/updateGroupV1Args.d.ts +17 -0
- package/dist/generated/types/updateGroupV1Args.d.ts.map +1 -0
- package/dist/generated/types/updateGroupV1Args.js +15 -0
- package/dist/generated/types/updateGroupV1Args.js.map +1 -0
- package/dist/generated/types/updatePluginV1Args.d.ts +16 -0
- package/dist/generated/types/updatePluginV1Args.d.ts.map +1 -0
- package/dist/generated/types/updatePluginV1Args.js +16 -0
- package/dist/generated/types/updatePluginV1Args.js.map +1 -0
- package/dist/generated/types/updateType.d.ts +15 -0
- package/dist/generated/types/updateType.d.ts.map +1 -0
- package/dist/generated/types/updateType.js +21 -0
- package/dist/generated/types/updateType.js.map +1 -0
- package/dist/generated/types/updateV1Args.d.ts +20 -0
- package/dist/generated/types/updateV1Args.d.ts.map +1 -0
- package/dist/generated/types/updateV1Args.js +24 -0
- package/dist/generated/types/updateV1Args.js.map +1 -0
- package/dist/generated/types/updateV2Args.d.ts +20 -0
- package/dist/generated/types/updateV2Args.d.ts.map +1 -0
- package/dist/generated/types/updateV2Args.js +24 -0
- package/dist/generated/types/updateV2Args.js.map +1 -0
- package/dist/generated/types/validationResult.d.ts +16 -0
- package/dist/generated/types/validationResult.d.ts.map +1 -0
- package/dist/generated/types/validationResult.js +22 -0
- package/dist/generated/types/validationResult.js.map +1 -0
- package/dist/generated/types/validationResultsOffset.d.ts +31 -0
- package/dist/generated/types/validationResultsOffset.d.ts.map +1 -0
- package/dist/generated/types/validationResultsOffset.js +35 -0
- package/dist/generated/types/validationResultsOffset.js.map +1 -0
- package/dist/generated/types/verifiedCreators.d.ts +16 -0
- package/dist/generated/types/verifiedCreators.d.ts.map +1 -0
- package/dist/generated/types/verifiedCreators.js +16 -0
- package/dist/generated/types/verifiedCreators.js.map +1 -0
- package/dist/generated/types/verifiedCreatorsSignature.d.ts +14 -0
- package/dist/generated/types/verifiedCreatorsSignature.d.ts.map +1 -0
- package/dist/generated/types/verifiedCreatorsSignature.js +15 -0
- package/dist/generated/types/verifiedCreatorsSignature.js.map +1 -0
- package/dist/generated/types/writeCollectionExternalPluginAdapterDataV1Args.d.ts +18 -0
- package/dist/generated/types/writeCollectionExternalPluginAdapterDataV1Args.d.ts.map +1 -0
- package/dist/generated/types/writeCollectionExternalPluginAdapterDataV1Args.js +16 -0
- package/dist/generated/types/writeCollectionExternalPluginAdapterDataV1Args.js.map +1 -0
- package/dist/generated/types/writeExternalPluginAdapterDataV1Args.d.ts +18 -0
- package/dist/generated/types/writeExternalPluginAdapterDataV1Args.d.ts.map +1 -0
- package/dist/generated/types/writeExternalPluginAdapterDataV1Args.js +16 -0
- package/dist/generated/types/writeExternalPluginAdapterDataV1Args.js.map +1 -0
- package/dist/index.d.ts +168 -0
- package/dist/index.js +168 -0
- package/package.json +52 -5
- package/src/generated/accounts/assetV1.ts +156 -0
- package/src/generated/accounts/collectionV1.ts +140 -0
- package/src/generated/accounts/groupV1.ts +150 -0
- package/src/generated/accounts/hashedAssetV1.ts +127 -0
- package/src/generated/accounts/index.ts +14 -0
- package/src/generated/accounts/pluginHeaderV1.ts +129 -0
- package/src/generated/accounts/pluginRegistryV1.ts +152 -0
- package/src/generated/errors/index.ts +9 -0
- package/src/generated/errors/mplCoreProgram.ts +324 -0
- package/src/generated/index.ts +14 -0
- package/src/generated/instructions/addAssetsToGroupV1.ts +267 -0
- package/src/generated/instructions/addCollectionExternalPluginAdapterV1.ts +294 -0
- package/src/generated/instructions/addCollectionPluginV1.ts +283 -0
- package/src/generated/instructions/addCollectionsToGroupV1.ts +267 -0
- package/src/generated/instructions/addExternalPluginAdapterV1.ts +305 -0
- package/src/generated/instructions/addGroupsToGroupV1.ts +267 -0
- package/src/generated/instructions/addPluginV1.ts +291 -0
- package/src/generated/instructions/approveCollectionPluginAuthorityV1.ts +294 -0
- package/src/generated/instructions/approvePluginAuthorityV1.ts +302 -0
- package/src/generated/instructions/burnCollectionV1.ts +253 -0
- package/src/generated/instructions/burnV1.ts +280 -0
- package/src/generated/instructions/closeGroupV1.ts +230 -0
- package/src/generated/instructions/collect.ts +176 -0
- package/src/generated/instructions/compressV1.ts +291 -0
- package/src/generated/instructions/createCollectionV1.ts +268 -0
- package/src/generated/instructions/createCollectionV2.ts +268 -0
- package/src/generated/instructions/createGroupV1.ts +265 -0
- package/src/generated/instructions/createV1.ts +327 -0
- package/src/generated/instructions/createV2.ts +327 -0
- package/src/generated/instructions/decompressV1.ts +291 -0
- package/src/generated/instructions/executeV1.ts +449 -0
- package/src/generated/instructions/index.ts +50 -0
- package/src/generated/instructions/removeAssetsFromGroupV1.ts +267 -0
- package/src/generated/instructions/removeCollectionExternalPluginAdapterV1.ts +294 -0
- package/src/generated/instructions/removeCollectionPluginV1.ts +286 -0
- package/src/generated/instructions/removeCollectionsFromGroupV1.ts +273 -0
- package/src/generated/instructions/removeExternalPluginAdapterV1.ts +305 -0
- package/src/generated/instructions/removeGroupsFromGroupV1.ts +267 -0
- package/src/generated/instructions/removePluginV1.ts +294 -0
- package/src/generated/instructions/revokeCollectionPluginAuthorityV1.ts +291 -0
- package/src/generated/instructions/revokePluginAuthorityV1.ts +299 -0
- package/src/generated/instructions/transferV1.ts +299 -0
- package/src/generated/instructions/updateCollectionExternalPluginAdapterV1.ts +294 -0
- package/src/generated/instructions/updateCollectionInfoV1.ts +221 -0
- package/src/generated/instructions/updateCollectionPluginV1.ts +286 -0
- package/src/generated/instructions/updateCollectionV1.ts +302 -0
- package/src/generated/instructions/updateExternalPluginAdapterV1.ts +305 -0
- package/src/generated/instructions/updateGroupV1.ts +281 -0
- package/src/generated/instructions/updatePluginV1.ts +294 -0
- package/src/generated/instructions/updateV1.ts +291 -0
- package/src/generated/instructions/updateV2.ts +307 -0
- package/src/generated/instructions/writeCollectionExternalPluginAdapterDataV1.ts +311 -0
- package/src/generated/instructions/writeExternalPluginAdapterDataV1.ts +323 -0
- package/src/generated/pdas/assetSigner.ts +36 -0
- package/src/generated/pdas/index.ts +9 -0
- package/src/generated/programs/index.ts +9 -0
- package/src/generated/programs/mplCoreProgram.ts +1434 -0
- package/src/generated/types/addAssetsToGroupV1Args.ts +36 -0
- package/src/generated/types/addBlocker.ts +33 -0
- package/src/generated/types/addCollectionExternalPluginAdapterV1Args.ts +48 -0
- package/src/generated/types/addCollectionPluginV1Args.ts +63 -0
- package/src/generated/types/addCollectionsToGroupV1Args.ts +36 -0
- package/src/generated/types/addExternalPluginAdapterV1Args.ts +48 -0
- package/src/generated/types/addGroupsToGroupV1Args.ts +42 -0
- package/src/generated/types/addPluginV1Args.ts +60 -0
- package/src/generated/types/agentIdentity.ts +45 -0
- package/src/generated/types/agentIdentityInitInfo.ts +106 -0
- package/src/generated/types/agentIdentityUpdateInfo.ts +108 -0
- package/src/generated/types/appData.ts +50 -0
- package/src/generated/types/appDataInitInfo.ts +69 -0
- package/src/generated/types/appDataUpdateInfo.ts +60 -0
- package/src/generated/types/approveCollectionPluginAuthorityV1Args.ts +56 -0
- package/src/generated/types/approvePluginAuthorityV1Args.ts +56 -0
- package/src/generated/types/attribute.ts +45 -0
- package/src/generated/types/attributes.ts +42 -0
- package/src/generated/types/authority.ts +87 -0
- package/src/generated/types/autograph.ts +45 -0
- package/src/generated/types/autographSignature.ts +53 -0
- package/src/generated/types/bubblegumV2.ts +33 -0
- package/src/generated/types/burnCollectionV1Args.ts +57 -0
- package/src/generated/types/burnDelegate.ts +33 -0
- package/src/generated/types/burnV1Args.ts +51 -0
- package/src/generated/types/closeGroupV1Args.ts +36 -0
- package/src/generated/types/compressV1Args.ts +33 -0
- package/src/generated/types/compressionProof.ts +88 -0
- package/src/generated/types/createCollectionV1Args.ts +79 -0
- package/src/generated/types/createCollectionV2Args.ts +100 -0
- package/src/generated/types/createGroupV1Args.ts +65 -0
- package/src/generated/types/createV1Args.ts +84 -0
- package/src/generated/types/createV2Args.ts +102 -0
- package/src/generated/types/creator.ts +48 -0
- package/src/generated/types/dataSection.ts +50 -0
- package/src/generated/types/dataSectionInitInfo.ts +56 -0
- package/src/generated/types/dataSectionUpdateInfo.ts +36 -0
- package/src/generated/types/dataState.ts +33 -0
- package/src/generated/types/decompressV1Args.ts +41 -0
- package/src/generated/types/edition.ts +38 -0
- package/src/generated/types/executeV1Args.ts +51 -0
- package/src/generated/types/externalCheckResult.ts +44 -0
- package/src/generated/types/externalPluginAdapter.ts +268 -0
- package/src/generated/types/externalPluginAdapterInitInfo.ts +287 -0
- package/src/generated/types/externalPluginAdapterKey.ts +231 -0
- package/src/generated/types/externalPluginAdapterSchema.ts +40 -0
- package/src/generated/types/externalPluginAdapterType.ts +44 -0
- package/src/generated/types/externalPluginAdapterUpdateInfo.ts +263 -0
- package/src/generated/types/externalRegistryRecord.ts +122 -0
- package/src/generated/types/externalValidationResult.ts +40 -0
- package/src/generated/types/extraAccount.ts +294 -0
- package/src/generated/types/freezeDelegate.ts +41 -0
- package/src/generated/types/freezeExecute.ts +41 -0
- package/src/generated/types/groups.ts +36 -0
- package/src/generated/types/hashablePluginSchema.ts +61 -0
- package/src/generated/types/hashedAssetSchema.ts +55 -0
- package/src/generated/types/hookableLifecycleEvent.ts +42 -0
- package/src/generated/types/immutableMetadata.ts +36 -0
- package/src/generated/types/index.ts +125 -0
- package/src/generated/types/key.ts +38 -0
- package/src/generated/types/lifecycleHook.ts +88 -0
- package/src/generated/types/lifecycleHookInitInfo.ts +129 -0
- package/src/generated/types/lifecycleHookUpdateInfo.ts +114 -0
- package/src/generated/types/linkedAppData.ts +53 -0
- package/src/generated/types/linkedAppDataInitInfo.ts +72 -0
- package/src/generated/types/linkedAppDataUpdateInfo.ts +60 -0
- package/src/generated/types/linkedDataKey.ts +107 -0
- package/src/generated/types/linkedLifecycleHook.ts +91 -0
- package/src/generated/types/linkedLifecycleHookInitInfo.ts +129 -0
- package/src/generated/types/linkedLifecycleHookUpdateInfo.ts +114 -0
- package/src/generated/types/masterEdition.ts +75 -0
- package/src/generated/types/oracle.ts +69 -0
- package/src/generated/types/oracleInitInfo.ts +116 -0
- package/src/generated/types/oracleUpdateInfo.ts +108 -0
- package/src/generated/types/oracleValidation.ts +124 -0
- package/src/generated/types/permanentBurnDelegate.ts +36 -0
- package/src/generated/types/permanentFreezeDelegate.ts +44 -0
- package/src/generated/types/permanentFreezeExecute.ts +44 -0
- package/src/generated/types/permanentTransferDelegate.ts +36 -0
- package/src/generated/types/plugin.ts +565 -0
- package/src/generated/types/pluginAuthorityPair.ts +63 -0
- package/src/generated/types/pluginType.ts +53 -0
- package/src/generated/types/registryRecord.ts +63 -0
- package/src/generated/types/relationshipEntry.ts +60 -0
- package/src/generated/types/relationshipKind.ts +41 -0
- package/src/generated/types/removeAssetsFromGroupV1Args.ts +42 -0
- package/src/generated/types/removeCollectionExternalPluginAdapterV1Args.ts +44 -0
- package/src/generated/types/removeCollectionPluginV1Args.ts +42 -0
- package/src/generated/types/removeCollectionsFromGroupV1Args.ts +47 -0
- package/src/generated/types/removeExternalPluginAdapterV1Args.ts +44 -0
- package/src/generated/types/removeGroupsFromGroupV1Args.ts +42 -0
- package/src/generated/types/removePluginV1Args.ts +42 -0
- package/src/generated/types/revokeCollectionPluginAuthorityV1Args.ts +42 -0
- package/src/generated/types/revokePluginAuthorityV1Args.ts +42 -0
- package/src/generated/types/royalties.ts +57 -0
- package/src/generated/types/ruleSet.ts +114 -0
- package/src/generated/types/seed.ts +140 -0
- package/src/generated/types/transferDelegate.ts +36 -0
- package/src/generated/types/transferV1Args.ts +54 -0
- package/src/generated/types/updateAuthority.ts +107 -0
- package/src/generated/types/updateCollectionExternalPluginAdapterV1Args.ts +56 -0
- package/src/generated/types/updateCollectionInfoV1Args.ts +56 -0
- package/src/generated/types/updateCollectionPluginV1Args.ts +38 -0
- package/src/generated/types/updateCollectionV1Args.ts +74 -0
- package/src/generated/types/updateDelegate.ts +43 -0
- package/src/generated/types/updateExternalPluginAdapterV1Args.ts +56 -0
- package/src/generated/types/updateGroupV1Args.ts +74 -0
- package/src/generated/types/updatePluginV1Args.ts +38 -0
- package/src/generated/types/updateType.ts +37 -0
- package/src/generated/types/updateV1Args.ts +77 -0
- package/src/generated/types/updateV2Args.ts +77 -0
- package/src/generated/types/validationResult.ts +41 -0
- package/src/generated/types/validationResultsOffset.ts +115 -0
- package/src/generated/types/verifiedCreators.ts +54 -0
- package/src/generated/types/verifiedCreatorsSignature.ts +54 -0
- package/src/generated/types/writeCollectionExternalPluginAdapterDataV1Args.ts +81 -0
- package/src/generated/types/writeExternalPluginAdapterDataV1Args.ts +81 -0
- package/src/index.ts +8 -0
|
@@ -0,0 +1,167 @@
|
|
|
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";
|
|
@@ -0,0 +1,46 @@
|
|
|
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;
|
|
12
|
+
}
|
|
13
|
+
interface AddAssetsToGroupV1InstructionDataArgs {
|
|
14
|
+
addAssetsToGroupV1Args: AddAssetsToGroupV1ArgsArgs;
|
|
15
|
+
}
|
|
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"];
|
|
29
|
+
}
|
|
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;
|
|
32
|
+
}): AddAssetsToGroupV1Instruction<TProgramAddress, TAccountGroup, TAccountPayer, TAccountAuthority, TAccountSystemProgram>;
|
|
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;
|
|
42
|
+
}
|
|
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 };
|
|
46
|
+
//# sourceMappingURL=addAssetsToGroupV1.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,85 @@
|
|
|
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";
|
|
4
|
+
import { getAccountMetaFactory } from "@solana/program-client-core";
|
|
5
|
+
//#region src/generated/instructions/addAssetsToGroupV1.ts
|
|
6
|
+
const ADD_ASSETS_TO_GROUP_V1_DISCRIMINATOR = 35;
|
|
7
|
+
function getAddAssetsToGroupV1DiscriminatorBytes() {
|
|
8
|
+
return getU8Encoder().encode(35);
|
|
9
|
+
}
|
|
10
|
+
function getAddAssetsToGroupV1InstructionDataEncoder() {
|
|
11
|
+
return transformEncoder(getStructEncoder([["discriminator", getU8Encoder()], ["addAssetsToGroupV1Args", getAddAssetsToGroupV1ArgsEncoder()]]), (value) => ({
|
|
12
|
+
...value,
|
|
13
|
+
discriminator: 35
|
|
14
|
+
}));
|
|
15
|
+
}
|
|
16
|
+
function getAddAssetsToGroupV1InstructionDataDecoder() {
|
|
17
|
+
return getStructDecoder([["discriminator", getU8Decoder()], ["addAssetsToGroupV1Args", getAddAssetsToGroupV1ArgsDecoder()]]);
|
|
18
|
+
}
|
|
19
|
+
function getAddAssetsToGroupV1InstructionDataCodec() {
|
|
20
|
+
return combineCodec(getAddAssetsToGroupV1InstructionDataEncoder(), getAddAssetsToGroupV1InstructionDataDecoder());
|
|
21
|
+
}
|
|
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
|
+
});
|
|
55
|
+
}
|
|
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
|
+
};
|
|
81
|
+
}
|
|
82
|
+
//#endregion
|
|
83
|
+
export { ADD_ASSETS_TO_GROUP_V1_DISCRIMINATOR, getAddAssetsToGroupV1DiscriminatorBytes, getAddAssetsToGroupV1Instruction, getAddAssetsToGroupV1InstructionDataCodec, getAddAssetsToGroupV1InstructionDataDecoder, getAddAssetsToGroupV1InstructionDataEncoder, parseAddAssetsToGroupV1Instruction };
|
|
84
|
+
|
|
85
|
+
//# sourceMappingURL=addAssetsToGroupV1.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"addAssetsToGroupV1.js","names":[],"sources":["../../../src/generated/instructions/addAssetsToGroupV1.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 {\n AccountMeta,\n AccountSignerMeta,\n Address,\n FixedSizeCodec,\n FixedSizeDecoder,\n FixedSizeEncoder,\n Instruction,\n InstructionWithAccounts,\n InstructionWithData,\n ReadonlyAccount,\n ReadonlySignerAccount,\n ReadonlyUint8Array,\n TransactionSigner,\n WritableAccount,\n WritableSignerAccount,\n} from \"@solana/kit\";\nimport type { ResolvedInstructionAccount } from \"@solana/program-client-core\";\nimport type {\n AddAssetsToGroupV1Args,\n AddAssetsToGroupV1ArgsArgs,\n} from \"../types/index.js\";\nimport {\n combineCodec,\n getStructDecoder,\n getStructEncoder,\n getU8Decoder,\n getU8Encoder,\n SOLANA_ERROR__PROGRAM_CLIENTS__INSUFFICIENT_ACCOUNT_METAS,\n SolanaError,\n transformEncoder,\n} from \"@solana/kit\";\nimport { getAccountMetaFactory } from \"@solana/program-client-core\";\nimport { MPL_CORE_PROGRAM_PROGRAM_ADDRESS } from \"../programs/index.js\";\nimport {\n getAddAssetsToGroupV1ArgsDecoder,\n getAddAssetsToGroupV1ArgsEncoder,\n} from \"../types/index.js\";\n\nexport const ADD_ASSETS_TO_GROUP_V1_DISCRIMINATOR = 35;\n\nexport function getAddAssetsToGroupV1DiscriminatorBytes(): ReadonlyUint8Array {\n return getU8Encoder().encode(ADD_ASSETS_TO_GROUP_V1_DISCRIMINATOR);\n}\n\nexport type AddAssetsToGroupV1Instruction<\n TProgram extends string = typeof MPL_CORE_PROGRAM_PROGRAM_ADDRESS,\n TAccountGroup extends string | AccountMeta<string> = string,\n TAccountPayer extends string | AccountMeta<string> = string,\n TAccountAuthority extends string | AccountMeta<string> = string,\n TAccountSystemProgram extends\n | string\n | AccountMeta<string> = \"11111111111111111111111111111111\",\n TRemainingAccounts extends readonly AccountMeta<string>[] = [],\n> = Instruction<TProgram> &\n InstructionWithData<ReadonlyUint8Array> &\n InstructionWithAccounts<\n [\n TAccountGroup extends string\n ? WritableAccount<TAccountGroup>\n : TAccountGroup,\n TAccountPayer extends string\n ? WritableSignerAccount<TAccountPayer> &\n AccountSignerMeta<TAccountPayer>\n : TAccountPayer,\n TAccountAuthority extends string\n ? ReadonlySignerAccount<TAccountAuthority> &\n AccountSignerMeta<TAccountAuthority>\n : TAccountAuthority,\n TAccountSystemProgram extends string\n ? ReadonlyAccount<TAccountSystemProgram>\n : TAccountSystemProgram,\n ...TRemainingAccounts,\n ]\n >;\n\nexport interface AddAssetsToGroupV1InstructionData {\n discriminator: number;\n addAssetsToGroupV1Args: AddAssetsToGroupV1Args;\n}\n\nexport interface AddAssetsToGroupV1InstructionDataArgs {\n addAssetsToGroupV1Args: AddAssetsToGroupV1ArgsArgs;\n}\n\nexport function getAddAssetsToGroupV1InstructionDataEncoder(): FixedSizeEncoder<AddAssetsToGroupV1InstructionDataArgs> {\n return transformEncoder(\n getStructEncoder([\n [\"discriminator\", getU8Encoder()],\n [\"addAssetsToGroupV1Args\", getAddAssetsToGroupV1ArgsEncoder()],\n ]),\n (value) => ({\n ...value,\n discriminator: ADD_ASSETS_TO_GROUP_V1_DISCRIMINATOR,\n }),\n );\n}\n\nexport function getAddAssetsToGroupV1InstructionDataDecoder(): FixedSizeDecoder<AddAssetsToGroupV1InstructionData> {\n return getStructDecoder([\n [\"discriminator\", getU8Decoder()],\n [\"addAssetsToGroupV1Args\", getAddAssetsToGroupV1ArgsDecoder()],\n ]);\n}\n\nexport function getAddAssetsToGroupV1InstructionDataCodec(): FixedSizeCodec<\n AddAssetsToGroupV1InstructionDataArgs,\n AddAssetsToGroupV1InstructionData\n> {\n return combineCodec(\n getAddAssetsToGroupV1InstructionDataEncoder(),\n getAddAssetsToGroupV1InstructionDataDecoder(),\n );\n}\n\nexport interface AddAssetsToGroupV1Input<\n TAccountGroup extends string = string,\n TAccountPayer extends string = string,\n TAccountAuthority extends string = string,\n TAccountSystemProgram extends string = string,\n> {\n /** The address of the group to modify */\n group: Address<TAccountGroup>;\n /** The account paying for storage fees */\n payer: TransactionSigner<TAccountPayer>;\n /** The group update authority and asset update authority or delegate */\n authority?: TransactionSigner<TAccountAuthority>;\n /** The system program */\n systemProgram?: Address<TAccountSystemProgram>;\n addAssetsToGroupV1Args: AddAssetsToGroupV1InstructionDataArgs[\"addAssetsToGroupV1Args\"];\n}\n\nexport function getAddAssetsToGroupV1Instruction<\n TAccountGroup extends string,\n TAccountPayer extends string,\n TAccountAuthority extends string,\n TAccountSystemProgram extends string,\n TProgramAddress extends Address = typeof MPL_CORE_PROGRAM_PROGRAM_ADDRESS,\n>(\n input: AddAssetsToGroupV1Input<\n TAccountGroup,\n TAccountPayer,\n TAccountAuthority,\n TAccountSystemProgram\n >,\n config?: { programAddress?: TProgramAddress },\n): AddAssetsToGroupV1Instruction<\n TProgramAddress,\n TAccountGroup,\n TAccountPayer,\n TAccountAuthority,\n TAccountSystemProgram\n> {\n // Program address.\n const programAddress =\n config?.programAddress ?? MPL_CORE_PROGRAM_PROGRAM_ADDRESS;\n\n // Original accounts.\n const originalAccounts = {\n group: { value: input.group ?? null, isWritable: true },\n payer: { value: input.payer ?? null, isWritable: true },\n authority: { value: input.authority ?? null, isWritable: false },\n systemProgram: { value: input.systemProgram ?? null, isWritable: false },\n };\n const accounts = originalAccounts as Record<\n keyof typeof originalAccounts,\n ResolvedInstructionAccount\n >;\n\n // Original args.\n const args = { ...input };\n\n // Resolve default values.\n if (!accounts.systemProgram.value) {\n accounts.systemProgram.value =\n \"11111111111111111111111111111111\" as Address<\"11111111111111111111111111111111\">;\n }\n\n const getAccountMeta = getAccountMetaFactory(programAddress, \"programId\");\n return Object.freeze({\n accounts: [\n getAccountMeta(\"group\", accounts.group),\n getAccountMeta(\"payer\", accounts.payer),\n getAccountMeta(\"authority\", accounts.authority),\n getAccountMeta(\"systemProgram\", accounts.systemProgram),\n ],\n data: getAddAssetsToGroupV1InstructionDataEncoder().encode(\n args as AddAssetsToGroupV1InstructionDataArgs,\n ),\n programAddress,\n } as AddAssetsToGroupV1Instruction<\n TProgramAddress,\n TAccountGroup,\n TAccountPayer,\n TAccountAuthority,\n TAccountSystemProgram\n >);\n}\n\nexport interface ParsedAddAssetsToGroupV1Instruction<\n TProgram extends string = typeof MPL_CORE_PROGRAM_PROGRAM_ADDRESS,\n TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[],\n> {\n programAddress: Address<TProgram>;\n accounts: {\n /** The address of the group to modify */\n group: TAccountMetas[0];\n /** The account paying for storage fees */\n payer: TAccountMetas[1];\n /** The group update authority and asset update authority or delegate */\n authority?: TAccountMetas[2] | undefined;\n /** The system program */\n systemProgram: TAccountMetas[3];\n };\n data: AddAssetsToGroupV1InstructionData;\n}\n\nexport function parseAddAssetsToGroupV1Instruction<\n TProgram extends string,\n TAccountMetas extends readonly AccountMeta[],\n>(\n instruction: Instruction<TProgram> &\n InstructionWithAccounts<TAccountMetas> &\n InstructionWithData<ReadonlyUint8Array>,\n): ParsedAddAssetsToGroupV1Instruction<TProgram, TAccountMetas> {\n if (instruction.accounts.length < 4) {\n throw new SolanaError(\n SOLANA_ERROR__PROGRAM_CLIENTS__INSUFFICIENT_ACCOUNT_METAS,\n {\n actualAccountMetas: instruction.accounts.length,\n expectedAccountMetas: 4,\n },\n );\n }\n let accountIndex = 0;\n const getNextAccount = () => {\n const accountMeta = (instruction.accounts as TAccountMetas)[accountIndex]!;\n accountIndex += 1;\n return accountMeta;\n };\n const getNextOptionalAccount = () => {\n const accountMeta = getNextAccount();\n return accountMeta.address === MPL_CORE_PROGRAM_PROGRAM_ADDRESS\n ? undefined\n : accountMeta;\n };\n return {\n programAddress: instruction.programAddress,\n accounts: {\n group: getNextAccount(),\n payer: getNextAccount(),\n authority: getNextOptionalAccount(),\n systemProgram: getNextAccount(),\n },\n data: getAddAssetsToGroupV1InstructionDataDecoder().decode(\n instruction.data,\n ),\n };\n}\n"],"mappings":";;;;;AA+CA,MAAa,uCAAuC;AAEpD,SAAgB,0CAA8D;CAC5E,OAAO,aAAa,CAAC,CAAC,OAAA,EAA2C;AACnE;AA0CA,SAAgB,8CAAuG;CACrH,OAAO,iBACL,iBAAiB,CACf,CAAC,iBAAiB,aAAa,CAAC,GAChC,CAAC,0BAA0B,iCAAiC,CAAC,CAC/D,CAAC,IACA,WAAW;EACV,GAAG;EACH,eAAA;CACF,EACF;AACF;AAEA,SAAgB,8CAAmG;CACjH,OAAO,iBAAiB,CACtB,CAAC,iBAAiB,aAAa,CAAC,GAChC,CAAC,0BAA0B,iCAAiC,CAAC,CAC/D,CAAC;AACH;AAEA,SAAgB,4CAGd;CACA,OAAO,aACL,4CAA4C,GAC5C,4CAA4C,CAC9C;AACF;AAmBA,SAAgB,iCAOd,OAMA,QAOA;CAEA,MAAM,iBACJ,QAAQ,kBAAA;CASV,MAAM,WAAW;EALf,OAAO;GAAE,OAAO,MAAM,SAAS;GAAM,YAAY;EAAK;EACtD,OAAO;GAAE,OAAO,MAAM,SAAS;GAAM,YAAY;EAAK;EACtD,WAAW;GAAE,OAAO,MAAM,aAAa;GAAM,YAAY;EAAM;EAC/D,eAAe;GAAE,OAAO,MAAM,iBAAiB;GAAM,YAAY;EAAM;CAEzC;CAMhC,MAAM,OAAO,EAAE,GAAG,MAAM;CAGxB,IAAI,CAAC,SAAS,cAAc,OAC1B,SAAS,cAAc,QACrB;CAGJ,MAAM,iBAAiB,sBAAsB,gBAAgB,WAAW;CACxE,OAAO,OAAO,OAAO;EACnB,UAAU;GACR,eAAe,SAAS,SAAS,KAAK;GACtC,eAAe,SAAS,SAAS,KAAK;GACtC,eAAe,aAAa,SAAS,SAAS;GAC9C,eAAe,iBAAiB,SAAS,aAAa;EACxD;EACA,MAAM,4CAA4C,CAAC,CAAC,OAClD,IACF;EACA;CACF,CAMC;AACH;AAoBA,SAAgB,mCAId,aAG8D;CAC9D,IAAI,YAAY,SAAS,SAAS,GAChC,MAAM,IAAI,YACR,2DACA;EACE,oBAAoB,YAAY,SAAS;EACzC,sBAAsB;CACxB,CACF;CAEF,IAAI,eAAe;CACnB,MAAM,uBAAuB;EAC3B,MAAM,cAAe,YAAY,SAA2B;EAC5D,gBAAgB;EAChB,OAAO;CACT;CACA,MAAM,+BAA+B;EACnC,MAAM,cAAc,eAAe;EACnC,OAAO,YAAY,YAAA,iDACf,KAAA,IACA;CACN;CACA,OAAO;EACL,gBAAgB,YAAY;EAC5B,UAAU;GACR,OAAO,eAAe;GACtB,OAAO,eAAe;GACtB,WAAW,uBAAuB;GAClC,eAAe,eAAe;EAChC;EACA,MAAM,4CAA4C,CAAC,CAAC,OAClD,YAAY,IACd;CACF;AACF"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { AddCollectionExternalPluginAdapterV1Args, AddCollectionExternalPluginAdapterV1ArgsArgs } from "../types/addCollectionExternalPluginAdapterV1Args.js";
|
|
2
|
+
import { MPL_CORE_PROGRAM_PROGRAM_ADDRESS } from "../programs/mplCoreProgram.js";
|
|
3
|
+
import { AccountMeta, AccountSignerMeta, Address, Codec, Decoder, Encoder, Instruction, InstructionWithAccounts, InstructionWithData, ReadonlyAccount, ReadonlySignerAccount, ReadonlyUint8Array, TransactionSigner, WritableAccount, WritableSignerAccount } from "@solana/kit";
|
|
4
|
+
|
|
5
|
+
//#region src/generated/instructions/addCollectionExternalPluginAdapterV1.d.ts
|
|
6
|
+
declare const ADD_COLLECTION_EXTERNAL_PLUGIN_ADAPTER_V1_DISCRIMINATOR = 23;
|
|
7
|
+
declare function getAddCollectionExternalPluginAdapterV1DiscriminatorBytes(): ReadonlyUint8Array;
|
|
8
|
+
type AddCollectionExternalPluginAdapterV1Instruction<TProgram extends string = typeof MPL_CORE_PROGRAM_PROGRAM_ADDRESS, TAccountCollection extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TAccountLogWrapper extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountCollection extends string ? WritableAccount<TAccountCollection> : TAccountCollection, TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer, TAccountAuthority extends string ? ReadonlySignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority, TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram, TAccountLogWrapper extends string ? ReadonlyAccount<TAccountLogWrapper> : TAccountLogWrapper, ...TRemainingAccounts]>;
|
|
9
|
+
interface AddCollectionExternalPluginAdapterV1InstructionData {
|
|
10
|
+
discriminator: number;
|
|
11
|
+
addCollectionExternalPluginAdapterV1Args: AddCollectionExternalPluginAdapterV1Args;
|
|
12
|
+
}
|
|
13
|
+
interface AddCollectionExternalPluginAdapterV1InstructionDataArgs {
|
|
14
|
+
addCollectionExternalPluginAdapterV1Args: AddCollectionExternalPluginAdapterV1ArgsArgs;
|
|
15
|
+
}
|
|
16
|
+
declare function getAddCollectionExternalPluginAdapterV1InstructionDataEncoder(): Encoder<AddCollectionExternalPluginAdapterV1InstructionDataArgs>;
|
|
17
|
+
declare function getAddCollectionExternalPluginAdapterV1InstructionDataDecoder(): Decoder<AddCollectionExternalPluginAdapterV1InstructionData>;
|
|
18
|
+
declare function getAddCollectionExternalPluginAdapterV1InstructionDataCodec(): Codec<AddCollectionExternalPluginAdapterV1InstructionDataArgs, AddCollectionExternalPluginAdapterV1InstructionData>;
|
|
19
|
+
interface AddCollectionExternalPluginAdapterV1Input<TAccountCollection extends string = string, TAccountPayer extends string = string, TAccountAuthority extends string = string, TAccountSystemProgram extends string = string, TAccountLogWrapper extends string = string> {
|
|
20
|
+
/** The address of the asset */
|
|
21
|
+
collection: Address<TAccountCollection>;
|
|
22
|
+
/** The account paying for the storage fees */
|
|
23
|
+
payer: TransactionSigner<TAccountPayer>;
|
|
24
|
+
/** The owner or delegate of the asset */
|
|
25
|
+
authority?: TransactionSigner<TAccountAuthority>;
|
|
26
|
+
/** The system program */
|
|
27
|
+
systemProgram?: Address<TAccountSystemProgram>;
|
|
28
|
+
/** The SPL Noop Program */
|
|
29
|
+
logWrapper?: Address<TAccountLogWrapper>;
|
|
30
|
+
addCollectionExternalPluginAdapterV1Args: AddCollectionExternalPluginAdapterV1InstructionDataArgs["addCollectionExternalPluginAdapterV1Args"];
|
|
31
|
+
}
|
|
32
|
+
declare function getAddCollectionExternalPluginAdapterV1Instruction<TAccountCollection extends string, TAccountPayer extends string, TAccountAuthority extends string, TAccountSystemProgram extends string, TAccountLogWrapper extends string, TProgramAddress extends Address = typeof MPL_CORE_PROGRAM_PROGRAM_ADDRESS>(input: AddCollectionExternalPluginAdapterV1Input<TAccountCollection, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountLogWrapper>, config?: {
|
|
33
|
+
programAddress?: TProgramAddress;
|
|
34
|
+
}): AddCollectionExternalPluginAdapterV1Instruction<TProgramAddress, TAccountCollection, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountLogWrapper>;
|
|
35
|
+
interface ParsedAddCollectionExternalPluginAdapterV1Instruction<TProgram extends string = typeof MPL_CORE_PROGRAM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> {
|
|
36
|
+
programAddress: Address<TProgram>;
|
|
37
|
+
accounts: {
|
|
38
|
+
/** The address of the asset */collection: TAccountMetas[0]; /** The account paying for the storage fees */
|
|
39
|
+
payer: TAccountMetas[1]; /** The owner or delegate of the asset */
|
|
40
|
+
authority?: TAccountMetas[2] | undefined; /** The system program */
|
|
41
|
+
systemProgram: TAccountMetas[3]; /** The SPL Noop Program */
|
|
42
|
+
logWrapper?: TAccountMetas[4] | undefined;
|
|
43
|
+
};
|
|
44
|
+
data: AddCollectionExternalPluginAdapterV1InstructionData;
|
|
45
|
+
}
|
|
46
|
+
declare function parseAddCollectionExternalPluginAdapterV1Instruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedAddCollectionExternalPluginAdapterV1Instruction<TProgram, TAccountMetas>;
|
|
47
|
+
//#endregion
|
|
48
|
+
export { ADD_COLLECTION_EXTERNAL_PLUGIN_ADAPTER_V1_DISCRIMINATOR, AddCollectionExternalPluginAdapterV1Input, AddCollectionExternalPluginAdapterV1Instruction, AddCollectionExternalPluginAdapterV1InstructionData, AddCollectionExternalPluginAdapterV1InstructionDataArgs, ParsedAddCollectionExternalPluginAdapterV1Instruction, getAddCollectionExternalPluginAdapterV1DiscriminatorBytes, getAddCollectionExternalPluginAdapterV1Instruction, getAddCollectionExternalPluginAdapterV1InstructionDataCodec, getAddCollectionExternalPluginAdapterV1InstructionDataDecoder, getAddCollectionExternalPluginAdapterV1InstructionDataEncoder, parseAddCollectionExternalPluginAdapterV1Instruction };
|
|
49
|
+
//# sourceMappingURL=addCollectionExternalPluginAdapterV1.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"addCollectionExternalPluginAdapterV1.d.ts","names":[],"sources":["../../../src/generated/instructions/addCollectionExternalPluginAdapterV1.ts"],"mappings":";;;;;cA+Ca,uDAAA;AAAA,iBAEG,yDAAA,IAA6D,kBAAA;AAAA,KAMjE,+CAAA,kCACuB,gCAAA,sCACG,WAAA,kDACL,WAAA,sDACI,WAAA,0DAG/B,WAAA,mFACgC,WAAA,uDACA,WAAA,mBAClC,WAAA,CAAY,QAAA,IACd,mBAAA,CAAoB,kBAAA,IACpB,uBAAA,EAEI,kBAAA,kBACI,eAAA,CAAgB,kBAAA,IAChB,kBAAA,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,EACJ,kBAAA,kBACI,eAAA,CAAgB,kBAAA,IAChB,kBAAA,KACD,kBAAA;AAAA,UAIQ,mDAAA;EACf,aAAA;EACA,wCAAA,EAA0C,wCAAA;AAAA;AAAA,UAG3B,uDAAA;EACf,wCAAA,EAA0C,4CAAA;AAAA;AAAA,iBAG5B,6DAAA,IAAiE,OAAA,CAAQ,uDAAA;AAAA,iBAgBzE,6DAAA,IAAiE,OAAA,CAAQ,mDAAA;AAAA,iBAUzE,2DAAA,IAA+D,KAAA,CAC7E,uDAAA,EACA,mDAAA;AAAA,UAQe,yCAAA;;EAQf,UAAA,EAAY,OAAA,CAAQ,kBAAA;;EAEpB,KAAA,EAAO,iBAAA,CAAkB,aAAA;;EAEzB,SAAA,GAAY,iBAAA,CAAkB,iBAAA;;EAE9B,aAAA,GAAgB,OAAA,CAAQ,qBAAA;;EAExB,UAAA,GAAa,OAAA,CAAQ,kBAAA;EACrB,wCAAA,EAA0C,uDAAA;AAAA;AAAA,iBAG5B,kDAAA,qMAMU,OAAA,UAAiB,gCAAA,EAEzC,KAAA,EAAO,yCAAA,CACL,kBAAA,EACA,aAAA,EACA,iBAAA,EACA,qBAAA,EACA,kBAAA,GAEF,MAAA;EAAW,cAAA,GAAiB,eAAA;AAAA,IAC3B,+CAAA,CACD,eAAA,EACA,kBAAA,EACA,aAAA,EACA,iBAAA,EACA,qBAAA,EACA,kBAAA;AAAA,UAmDe,qDAAA,kCACkB,gCAAA,iCACF,WAAA,cAAyB,WAAA;EAExD,cAAA,EAAgB,OAAA,CAAQ,QAAA;EACxB,QAAA;IA9KmC,+BAgLjC,UAAA,EAAY,aAAA,KA7KV;IA+KF,KAAA,EAAO,aAAA,KA9K2B;IAgLlC,SAAA,GAAY,aAAA,iBA/KsB;IAiLlC,aAAA,EAAe,aAAA,KAhLH;IAkLZ,UAAA,GAAa,aAAA;EAAA;EAEf,IAAA,EAAM,mDAAA;AAAA;AAAA,iBAGQ,oDAAA,yDAEiB,WAAA,IAE/B,WAAA,EAAa,WAAA,CAAY,QAAA,IACvB,uBAAA,CAAwB,aAAA,IACxB,mBAAA,CAAoB,kBAAA,IACrB,qDAAA,CACD,QAAA,EACA,aAAA"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { getAddCollectionExternalPluginAdapterV1ArgsDecoder, getAddCollectionExternalPluginAdapterV1ArgsEncoder } from "../types/addCollectionExternalPluginAdapterV1Args.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";
|
|
4
|
+
import { getAccountMetaFactory } from "@solana/program-client-core";
|
|
5
|
+
//#region src/generated/instructions/addCollectionExternalPluginAdapterV1.ts
|
|
6
|
+
const ADD_COLLECTION_EXTERNAL_PLUGIN_ADAPTER_V1_DISCRIMINATOR = 23;
|
|
7
|
+
function getAddCollectionExternalPluginAdapterV1DiscriminatorBytes() {
|
|
8
|
+
return getU8Encoder().encode(23);
|
|
9
|
+
}
|
|
10
|
+
function getAddCollectionExternalPluginAdapterV1InstructionDataEncoder() {
|
|
11
|
+
return transformEncoder(getStructEncoder([["discriminator", getU8Encoder()], ["addCollectionExternalPluginAdapterV1Args", getAddCollectionExternalPluginAdapterV1ArgsEncoder()]]), (value) => ({
|
|
12
|
+
...value,
|
|
13
|
+
discriminator: 23
|
|
14
|
+
}));
|
|
15
|
+
}
|
|
16
|
+
function getAddCollectionExternalPluginAdapterV1InstructionDataDecoder() {
|
|
17
|
+
return getStructDecoder([["discriminator", getU8Decoder()], ["addCollectionExternalPluginAdapterV1Args", getAddCollectionExternalPluginAdapterV1ArgsDecoder()]]);
|
|
18
|
+
}
|
|
19
|
+
function getAddCollectionExternalPluginAdapterV1InstructionDataCodec() {
|
|
20
|
+
return combineCodec(getAddCollectionExternalPluginAdapterV1InstructionDataEncoder(), getAddCollectionExternalPluginAdapterV1InstructionDataDecoder());
|
|
21
|
+
}
|
|
22
|
+
function getAddCollectionExternalPluginAdapterV1Instruction(input, config) {
|
|
23
|
+
const programAddress = config?.programAddress ?? "CoREENxT6tW1HoK8ypY1SxRMZTcVPm7R94rH4PZNhX7d";
|
|
24
|
+
const accounts = {
|
|
25
|
+
collection: {
|
|
26
|
+
value: input.collection ?? 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
|
+
logWrapper: {
|
|
42
|
+
value: input.logWrapper ?? null,
|
|
43
|
+
isWritable: false
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
const args = { ...input };
|
|
47
|
+
if (!accounts.systemProgram.value) accounts.systemProgram.value = "11111111111111111111111111111111";
|
|
48
|
+
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
49
|
+
return Object.freeze({
|
|
50
|
+
accounts: [
|
|
51
|
+
getAccountMeta("collection", accounts.collection),
|
|
52
|
+
getAccountMeta("payer", accounts.payer),
|
|
53
|
+
getAccountMeta("authority", accounts.authority),
|
|
54
|
+
getAccountMeta("systemProgram", accounts.systemProgram),
|
|
55
|
+
getAccountMeta("logWrapper", accounts.logWrapper)
|
|
56
|
+
],
|
|
57
|
+
data: getAddCollectionExternalPluginAdapterV1InstructionDataEncoder().encode(args),
|
|
58
|
+
programAddress
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
function parseAddCollectionExternalPluginAdapterV1Instruction(instruction) {
|
|
62
|
+
if (instruction.accounts.length < 5) throw new SolanaError(SOLANA_ERROR__PROGRAM_CLIENTS__INSUFFICIENT_ACCOUNT_METAS, {
|
|
63
|
+
actualAccountMetas: instruction.accounts.length,
|
|
64
|
+
expectedAccountMetas: 5
|
|
65
|
+
});
|
|
66
|
+
let accountIndex = 0;
|
|
67
|
+
const getNextAccount = () => {
|
|
68
|
+
const accountMeta = instruction.accounts[accountIndex];
|
|
69
|
+
accountIndex += 1;
|
|
70
|
+
return accountMeta;
|
|
71
|
+
};
|
|
72
|
+
const getNextOptionalAccount = () => {
|
|
73
|
+
const accountMeta = getNextAccount();
|
|
74
|
+
return accountMeta.address === "CoREENxT6tW1HoK8ypY1SxRMZTcVPm7R94rH4PZNhX7d" ? void 0 : accountMeta;
|
|
75
|
+
};
|
|
76
|
+
return {
|
|
77
|
+
programAddress: instruction.programAddress,
|
|
78
|
+
accounts: {
|
|
79
|
+
collection: getNextAccount(),
|
|
80
|
+
payer: getNextAccount(),
|
|
81
|
+
authority: getNextOptionalAccount(),
|
|
82
|
+
systemProgram: getNextAccount(),
|
|
83
|
+
logWrapper: getNextOptionalAccount()
|
|
84
|
+
},
|
|
85
|
+
data: getAddCollectionExternalPluginAdapterV1InstructionDataDecoder().decode(instruction.data)
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
//#endregion
|
|
89
|
+
export { ADD_COLLECTION_EXTERNAL_PLUGIN_ADAPTER_V1_DISCRIMINATOR, getAddCollectionExternalPluginAdapterV1DiscriminatorBytes, getAddCollectionExternalPluginAdapterV1Instruction, getAddCollectionExternalPluginAdapterV1InstructionDataCodec, getAddCollectionExternalPluginAdapterV1InstructionDataDecoder, getAddCollectionExternalPluginAdapterV1InstructionDataEncoder, parseAddCollectionExternalPluginAdapterV1Instruction };
|
|
90
|
+
|
|
91
|
+
//# sourceMappingURL=addCollectionExternalPluginAdapterV1.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"addCollectionExternalPluginAdapterV1.js","names":[],"sources":["../../../src/generated/instructions/addCollectionExternalPluginAdapterV1.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 {\n AccountMeta,\n AccountSignerMeta,\n Address,\n Codec,\n Decoder,\n Encoder,\n Instruction,\n InstructionWithAccounts,\n InstructionWithData,\n ReadonlyAccount,\n ReadonlySignerAccount,\n ReadonlyUint8Array,\n TransactionSigner,\n WritableAccount,\n WritableSignerAccount,\n} from \"@solana/kit\";\nimport type { ResolvedInstructionAccount } from \"@solana/program-client-core\";\nimport type {\n AddCollectionExternalPluginAdapterV1Args,\n AddCollectionExternalPluginAdapterV1ArgsArgs,\n} from \"../types/index.js\";\nimport {\n combineCodec,\n getStructDecoder,\n getStructEncoder,\n getU8Decoder,\n getU8Encoder,\n SOLANA_ERROR__PROGRAM_CLIENTS__INSUFFICIENT_ACCOUNT_METAS,\n SolanaError,\n transformEncoder,\n} from \"@solana/kit\";\nimport { getAccountMetaFactory } from \"@solana/program-client-core\";\nimport { MPL_CORE_PROGRAM_PROGRAM_ADDRESS } from \"../programs/index.js\";\nimport {\n getAddCollectionExternalPluginAdapterV1ArgsDecoder,\n getAddCollectionExternalPluginAdapterV1ArgsEncoder,\n} from \"../types/index.js\";\n\nexport const ADD_COLLECTION_EXTERNAL_PLUGIN_ADAPTER_V1_DISCRIMINATOR = 23;\n\nexport function getAddCollectionExternalPluginAdapterV1DiscriminatorBytes(): ReadonlyUint8Array {\n return getU8Encoder().encode(\n ADD_COLLECTION_EXTERNAL_PLUGIN_ADAPTER_V1_DISCRIMINATOR,\n );\n}\n\nexport type AddCollectionExternalPluginAdapterV1Instruction<\n TProgram extends string = typeof MPL_CORE_PROGRAM_PROGRAM_ADDRESS,\n TAccountCollection extends string | AccountMeta<string> = string,\n TAccountPayer extends string | AccountMeta<string> = string,\n TAccountAuthority extends string | AccountMeta<string> = string,\n TAccountSystemProgram extends\n | string\n | AccountMeta<string> = \"11111111111111111111111111111111\",\n TAccountLogWrapper extends string | AccountMeta<string> = string,\n TRemainingAccounts extends readonly AccountMeta<string>[] = [],\n> = Instruction<TProgram> &\n InstructionWithData<ReadonlyUint8Array> &\n InstructionWithAccounts<\n [\n TAccountCollection extends string\n ? WritableAccount<TAccountCollection>\n : TAccountCollection,\n TAccountPayer extends string\n ? WritableSignerAccount<TAccountPayer> &\n AccountSignerMeta<TAccountPayer>\n : TAccountPayer,\n TAccountAuthority extends string\n ? ReadonlySignerAccount<TAccountAuthority> &\n AccountSignerMeta<TAccountAuthority>\n : TAccountAuthority,\n TAccountSystemProgram extends string\n ? ReadonlyAccount<TAccountSystemProgram>\n : TAccountSystemProgram,\n TAccountLogWrapper extends string\n ? ReadonlyAccount<TAccountLogWrapper>\n : TAccountLogWrapper,\n ...TRemainingAccounts,\n ]\n >;\n\nexport interface AddCollectionExternalPluginAdapterV1InstructionData {\n discriminator: number;\n addCollectionExternalPluginAdapterV1Args: AddCollectionExternalPluginAdapterV1Args;\n}\n\nexport interface AddCollectionExternalPluginAdapterV1InstructionDataArgs {\n addCollectionExternalPluginAdapterV1Args: AddCollectionExternalPluginAdapterV1ArgsArgs;\n}\n\nexport function getAddCollectionExternalPluginAdapterV1InstructionDataEncoder(): Encoder<AddCollectionExternalPluginAdapterV1InstructionDataArgs> {\n return transformEncoder(\n getStructEncoder([\n [\"discriminator\", getU8Encoder()],\n [\n \"addCollectionExternalPluginAdapterV1Args\",\n getAddCollectionExternalPluginAdapterV1ArgsEncoder(),\n ],\n ]),\n (value) => ({\n ...value,\n discriminator: ADD_COLLECTION_EXTERNAL_PLUGIN_ADAPTER_V1_DISCRIMINATOR,\n }),\n );\n}\n\nexport function getAddCollectionExternalPluginAdapterV1InstructionDataDecoder(): Decoder<AddCollectionExternalPluginAdapterV1InstructionData> {\n return getStructDecoder([\n [\"discriminator\", getU8Decoder()],\n [\n \"addCollectionExternalPluginAdapterV1Args\",\n getAddCollectionExternalPluginAdapterV1ArgsDecoder(),\n ],\n ]);\n}\n\nexport function getAddCollectionExternalPluginAdapterV1InstructionDataCodec(): Codec<\n AddCollectionExternalPluginAdapterV1InstructionDataArgs,\n AddCollectionExternalPluginAdapterV1InstructionData\n> {\n return combineCodec(\n getAddCollectionExternalPluginAdapterV1InstructionDataEncoder(),\n getAddCollectionExternalPluginAdapterV1InstructionDataDecoder(),\n );\n}\n\nexport interface AddCollectionExternalPluginAdapterV1Input<\n TAccountCollection extends string = string,\n TAccountPayer extends string = string,\n TAccountAuthority extends string = string,\n TAccountSystemProgram extends string = string,\n TAccountLogWrapper extends string = string,\n> {\n /** The address of the asset */\n collection: Address<TAccountCollection>;\n /** The account paying for the storage fees */\n payer: TransactionSigner<TAccountPayer>;\n /** The owner or delegate of the asset */\n authority?: TransactionSigner<TAccountAuthority>;\n /** The system program */\n systemProgram?: Address<TAccountSystemProgram>;\n /** The SPL Noop Program */\n logWrapper?: Address<TAccountLogWrapper>;\n addCollectionExternalPluginAdapterV1Args: AddCollectionExternalPluginAdapterV1InstructionDataArgs[\"addCollectionExternalPluginAdapterV1Args\"];\n}\n\nexport function getAddCollectionExternalPluginAdapterV1Instruction<\n TAccountCollection extends string,\n TAccountPayer extends string,\n TAccountAuthority extends string,\n TAccountSystemProgram extends string,\n TAccountLogWrapper extends string,\n TProgramAddress extends Address = typeof MPL_CORE_PROGRAM_PROGRAM_ADDRESS,\n>(\n input: AddCollectionExternalPluginAdapterV1Input<\n TAccountCollection,\n TAccountPayer,\n TAccountAuthority,\n TAccountSystemProgram,\n TAccountLogWrapper\n >,\n config?: { programAddress?: TProgramAddress },\n): AddCollectionExternalPluginAdapterV1Instruction<\n TProgramAddress,\n TAccountCollection,\n TAccountPayer,\n TAccountAuthority,\n TAccountSystemProgram,\n TAccountLogWrapper\n> {\n // Program address.\n const programAddress =\n config?.programAddress ?? MPL_CORE_PROGRAM_PROGRAM_ADDRESS;\n\n // Original accounts.\n const originalAccounts = {\n collection: { value: input.collection ?? null, isWritable: true },\n payer: { value: input.payer ?? null, isWritable: true },\n authority: { value: input.authority ?? null, isWritable: false },\n systemProgram: { value: input.systemProgram ?? null, isWritable: false },\n logWrapper: { value: input.logWrapper ?? null, isWritable: false },\n };\n const accounts = originalAccounts as Record<\n keyof typeof originalAccounts,\n ResolvedInstructionAccount\n >;\n\n // Original args.\n const args = { ...input };\n\n // Resolve default values.\n if (!accounts.systemProgram.value) {\n accounts.systemProgram.value =\n \"11111111111111111111111111111111\" as Address<\"11111111111111111111111111111111\">;\n }\n\n const getAccountMeta = getAccountMetaFactory(programAddress, \"programId\");\n return Object.freeze({\n accounts: [\n getAccountMeta(\"collection\", accounts.collection),\n getAccountMeta(\"payer\", accounts.payer),\n getAccountMeta(\"authority\", accounts.authority),\n getAccountMeta(\"systemProgram\", accounts.systemProgram),\n getAccountMeta(\"logWrapper\", accounts.logWrapper),\n ],\n data: getAddCollectionExternalPluginAdapterV1InstructionDataEncoder().encode(\n args as AddCollectionExternalPluginAdapterV1InstructionDataArgs,\n ),\n programAddress,\n } as AddCollectionExternalPluginAdapterV1Instruction<\n TProgramAddress,\n TAccountCollection,\n TAccountPayer,\n TAccountAuthority,\n TAccountSystemProgram,\n TAccountLogWrapper\n >);\n}\n\nexport interface ParsedAddCollectionExternalPluginAdapterV1Instruction<\n TProgram extends string = typeof MPL_CORE_PROGRAM_PROGRAM_ADDRESS,\n TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[],\n> {\n programAddress: Address<TProgram>;\n accounts: {\n /** The address of the asset */\n collection: TAccountMetas[0];\n /** The account paying for the storage fees */\n payer: TAccountMetas[1];\n /** The owner or delegate of the asset */\n authority?: TAccountMetas[2] | undefined;\n /** The system program */\n systemProgram: TAccountMetas[3];\n /** The SPL Noop Program */\n logWrapper?: TAccountMetas[4] | undefined;\n };\n data: AddCollectionExternalPluginAdapterV1InstructionData;\n}\n\nexport function parseAddCollectionExternalPluginAdapterV1Instruction<\n TProgram extends string,\n TAccountMetas extends readonly AccountMeta[],\n>(\n instruction: Instruction<TProgram> &\n InstructionWithAccounts<TAccountMetas> &\n InstructionWithData<ReadonlyUint8Array>,\n): ParsedAddCollectionExternalPluginAdapterV1Instruction<\n TProgram,\n TAccountMetas\n> {\n if (instruction.accounts.length < 5) {\n throw new SolanaError(\n SOLANA_ERROR__PROGRAM_CLIENTS__INSUFFICIENT_ACCOUNT_METAS,\n {\n actualAccountMetas: instruction.accounts.length,\n expectedAccountMetas: 5,\n },\n );\n }\n let accountIndex = 0;\n const getNextAccount = () => {\n const accountMeta = (instruction.accounts as TAccountMetas)[accountIndex]!;\n accountIndex += 1;\n return accountMeta;\n };\n const getNextOptionalAccount = () => {\n const accountMeta = getNextAccount();\n return accountMeta.address === MPL_CORE_PROGRAM_PROGRAM_ADDRESS\n ? undefined\n : accountMeta;\n };\n return {\n programAddress: instruction.programAddress,\n accounts: {\n collection: getNextAccount(),\n payer: getNextAccount(),\n authority: getNextOptionalAccount(),\n systemProgram: getNextAccount(),\n logWrapper: getNextOptionalAccount(),\n },\n data: getAddCollectionExternalPluginAdapterV1InstructionDataDecoder().decode(\n instruction.data,\n ),\n };\n}\n"],"mappings":";;;;;AA+CA,MAAa,0DAA0D;AAEvE,SAAgB,4DAAgF;CAC9F,OAAO,aAAa,CAAC,CAAC,OAAA,EAEtB;AACF;AA8CA,SAAgB,gEAAkI;CAChJ,OAAO,iBACL,iBAAiB,CACf,CAAC,iBAAiB,aAAa,CAAC,GAChC,CACE,4CACA,mDAAmD,CACrD,CACF,CAAC,IACA,WAAW;EACV,GAAG;EACH,eAAA;CACF,EACF;AACF;AAEA,SAAgB,gEAA8H;CAC5I,OAAO,iBAAiB,CACtB,CAAC,iBAAiB,aAAa,CAAC,GAChC,CACE,4CACA,mDAAmD,CACrD,CACF,CAAC;AACH;AAEA,SAAgB,8DAGd;CACA,OAAO,aACL,8DAA8D,GAC9D,8DAA8D,CAChE;AACF;AAsBA,SAAgB,mDAQd,OAOA,QAQA;CAEA,MAAM,iBACJ,QAAQ,kBAAA;CAUV,MAAM,WAAW;EANf,YAAY;GAAE,OAAO,MAAM,cAAc;GAAM,YAAY;EAAK;EAChE,OAAO;GAAE,OAAO,MAAM,SAAS;GAAM,YAAY;EAAK;EACtD,WAAW;GAAE,OAAO,MAAM,aAAa;GAAM,YAAY;EAAM;EAC/D,eAAe;GAAE,OAAO,MAAM,iBAAiB;GAAM,YAAY;EAAM;EACvE,YAAY;GAAE,OAAO,MAAM,cAAc;GAAM,YAAY;EAAM;CAEnC;CAMhC,MAAM,OAAO,EAAE,GAAG,MAAM;CAGxB,IAAI,CAAC,SAAS,cAAc,OAC1B,SAAS,cAAc,QACrB;CAGJ,MAAM,iBAAiB,sBAAsB,gBAAgB,WAAW;CACxE,OAAO,OAAO,OAAO;EACnB,UAAU;GACR,eAAe,cAAc,SAAS,UAAU;GAChD,eAAe,SAAS,SAAS,KAAK;GACtC,eAAe,aAAa,SAAS,SAAS;GAC9C,eAAe,iBAAiB,SAAS,aAAa;GACtD,eAAe,cAAc,SAAS,UAAU;EAClD;EACA,MAAM,8DAA8D,CAAC,CAAC,OACpE,IACF;EACA;CACF,CAOC;AACH;AAsBA,SAAgB,qDAId,aAMA;CACA,IAAI,YAAY,SAAS,SAAS,GAChC,MAAM,IAAI,YACR,2DACA;EACE,oBAAoB,YAAY,SAAS;EACzC,sBAAsB;CACxB,CACF;CAEF,IAAI,eAAe;CACnB,MAAM,uBAAuB;EAC3B,MAAM,cAAe,YAAY,SAA2B;EAC5D,gBAAgB;EAChB,OAAO;CACT;CACA,MAAM,+BAA+B;EACnC,MAAM,cAAc,eAAe;EACnC,OAAO,YAAY,YAAA,iDACf,KAAA,IACA;CACN;CACA,OAAO;EACL,gBAAgB,YAAY;EAC5B,UAAU;GACR,YAAY,eAAe;GAC3B,OAAO,eAAe;GACtB,WAAW,uBAAuB;GAClC,eAAe,eAAe;GAC9B,YAAY,uBAAuB;EACrC;EACA,MAAM,8DAA8D,CAAC,CAAC,OACpE,YAAY,IACd;CACF;AACF"}
|