@macalinao/clients-mpl-core 0.0.0 → 0.2.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/.tsbuildinfo +1 -0
- package/dist/generated/accounts/assetV1.d.ts +39 -0
- package/dist/generated/accounts/assetV1.d.ts.map +1 -0
- package/dist/generated/accounts/assetV1.js +57 -0
- package/dist/generated/accounts/assetV1.js.map +1 -0
- package/dist/generated/accounts/collectionV1.d.ts +39 -0
- package/dist/generated/accounts/collectionV1.d.ts.map +1 -0
- package/dist/generated/accounts/collectionV1.js +57 -0
- package/dist/generated/accounts/collectionV1.js.map +1 -0
- package/dist/generated/accounts/groupV1.d.ts +43 -0
- package/dist/generated/accounts/groupV1.d.ts.map +1 -0
- package/dist/generated/accounts/groupV1.js +61 -0
- package/dist/generated/accounts/groupV1.js.map +1 -0
- package/dist/generated/accounts/hashedAssetV1.d.ts +31 -0
- package/dist/generated/accounts/hashedAssetV1.d.ts.map +1 -0
- package/dist/generated/accounts/hashedAssetV1.js +49 -0
- package/dist/generated/accounts/hashedAssetV1.js.map +1 -0
- package/dist/generated/accounts/index.d.ts +14 -0
- package/dist/generated/accounts/index.d.ts.map +1 -0
- package/dist/generated/accounts/index.js +14 -0
- package/dist/generated/accounts/index.js.map +1 -0
- package/dist/generated/accounts/pluginHeaderV1.d.ts +31 -0
- package/dist/generated/accounts/pluginHeaderV1.d.ts.map +1 -0
- package/dist/generated/accounts/pluginHeaderV1.js +49 -0
- package/dist/generated/accounts/pluginHeaderV1.js.map +1 -0
- package/dist/generated/accounts/pluginRegistryV1.d.ts +33 -0
- package/dist/generated/accounts/pluginRegistryV1.d.ts.map +1 -0
- package/dist/generated/accounts/pluginRegistryV1.js +51 -0
- package/dist/generated/accounts/pluginRegistryV1.js.map +1 -0
- package/dist/generated/errors/index.d.ts +9 -0
- package/dist/generated/errors/index.d.ts.map +1 -0
- package/dist/generated/errors/index.js +9 -0
- package/dist/generated/errors/index.js.map +1 -0
- package/dist/generated/errors/mplCoreProgram.d.ts +134 -0
- package/dist/generated/errors/mplCoreProgram.d.ts.map +1 -0
- package/dist/generated/errors/mplCoreProgram.js +195 -0
- package/dist/generated/errors/mplCoreProgram.js.map +1 -0
- package/dist/generated/index.d.ts +13 -0
- package/dist/generated/index.d.ts.map +1 -0
- package/dist/generated/index.js +13 -0
- package/dist/generated/index.js.map +1 -0
- package/dist/generated/instructions/addAssetsToGroupV1.d.ts +59 -0
- package/dist/generated/instructions/addAssetsToGroupV1.d.ts.map +1 -0
- package/dist/generated/instructions/addAssetsToGroupV1.js +94 -0
- package/dist/generated/instructions/addAssetsToGroupV1.js.map +1 -0
- package/dist/generated/instructions/addCollectionExternalPluginAdapterV1.d.ts +64 -0
- package/dist/generated/instructions/addCollectionExternalPluginAdapterV1.d.ts.map +1 -0
- package/dist/generated/instructions/addCollectionExternalPluginAdapterV1.js +103 -0
- package/dist/generated/instructions/addCollectionExternalPluginAdapterV1.js.map +1 -0
- package/dist/generated/instructions/addCollectionPluginV1.d.ts +64 -0
- package/dist/generated/instructions/addCollectionPluginV1.d.ts.map +1 -0
- package/dist/generated/instructions/addCollectionPluginV1.js +97 -0
- package/dist/generated/instructions/addCollectionPluginV1.js.map +1 -0
- package/dist/generated/instructions/addCollectionsToGroupV1.d.ts +59 -0
- package/dist/generated/instructions/addCollectionsToGroupV1.d.ts.map +1 -0
- package/dist/generated/instructions/addCollectionsToGroupV1.js +94 -0
- package/dist/generated/instructions/addCollectionsToGroupV1.js.map +1 -0
- package/dist/generated/instructions/addExternalPluginAdapterV1.d.ts +69 -0
- package/dist/generated/instructions/addExternalPluginAdapterV1.d.ts.map +1 -0
- package/dist/generated/instructions/addExternalPluginAdapterV1.js +106 -0
- package/dist/generated/instructions/addExternalPluginAdapterV1.js.map +1 -0
- package/dist/generated/instructions/addGroupsToGroupV1.d.ts +59 -0
- package/dist/generated/instructions/addGroupsToGroupV1.d.ts.map +1 -0
- package/dist/generated/instructions/addGroupsToGroupV1.js +94 -0
- package/dist/generated/instructions/addGroupsToGroupV1.js.map +1 -0
- package/dist/generated/instructions/addPluginV1.d.ts +69 -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 +64 -0
- package/dist/generated/instructions/approveCollectionPluginAuthorityV1.d.ts.map +1 -0
- package/dist/generated/instructions/approveCollectionPluginAuthorityV1.js +103 -0
- package/dist/generated/instructions/approveCollectionPluginAuthorityV1.js.map +1 -0
- package/dist/generated/instructions/approvePluginAuthorityV1.d.ts +69 -0
- package/dist/generated/instructions/approvePluginAuthorityV1.d.ts.map +1 -0
- package/dist/generated/instructions/approvePluginAuthorityV1.js +103 -0
- package/dist/generated/instructions/approvePluginAuthorityV1.js.map +1 -0
- package/dist/generated/instructions/burnCollectionV1.d.ts +59 -0
- package/dist/generated/instructions/burnCollectionV1.d.ts.map +1 -0
- package/dist/generated/instructions/burnCollectionV1.js +86 -0
- package/dist/generated/instructions/burnCollectionV1.js.map +1 -0
- package/dist/generated/instructions/burnV1.d.ts +69 -0
- package/dist/generated/instructions/burnV1.d.ts.map +1 -0
- package/dist/generated/instructions/burnV1.js +92 -0
- package/dist/generated/instructions/burnV1.js.map +1 -0
- package/dist/generated/instructions/closeGroupV1.d.ts +54 -0
- package/dist/generated/instructions/closeGroupV1.d.ts.map +1 -0
- package/dist/generated/instructions/closeGroupV1.js +83 -0
- package/dist/generated/instructions/closeGroupV1.js.map +1 -0
- package/dist/generated/instructions/collect.d.ts +44 -0
- package/dist/generated/instructions/collect.d.ts.map +1 -0
- package/dist/generated/instructions/collect.js +62 -0
- package/dist/generated/instructions/collect.js.map +1 -0
- package/dist/generated/instructions/compressV1.d.ts +69 -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 +59 -0
- package/dist/generated/instructions/createCollectionV1.d.ts.map +1 -0
- package/dist/generated/instructions/createCollectionV1.js +97 -0
- package/dist/generated/instructions/createCollectionV1.js.map +1 -0
- package/dist/generated/instructions/createCollectionV2.d.ts +59 -0
- package/dist/generated/instructions/createCollectionV2.d.ts.map +1 -0
- package/dist/generated/instructions/createCollectionV2.js +97 -0
- package/dist/generated/instructions/createCollectionV2.js.map +1 -0
- package/dist/generated/instructions/createGroupV1.d.ts +59 -0
- package/dist/generated/instructions/createGroupV1.d.ts.map +1 -0
- package/dist/generated/instructions/createGroupV1.js +94 -0
- package/dist/generated/instructions/createGroupV1.js.map +1 -0
- package/dist/generated/instructions/createV1.d.ts +79 -0
- package/dist/generated/instructions/createV1.d.ts.map +1 -0
- package/dist/generated/instructions/createV1.js +106 -0
- package/dist/generated/instructions/createV1.js.map +1 -0
- package/dist/generated/instructions/createV2.d.ts +79 -0
- package/dist/generated/instructions/createV2.d.ts.map +1 -0
- package/dist/generated/instructions/createV2.js +106 -0
- package/dist/generated/instructions/createV2.js.map +1 -0
- package/dist/generated/instructions/decompressV1.d.ts +69 -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 +74 -0
- package/dist/generated/instructions/executeV1.d.ts.map +1 -0
- package/dist/generated/instructions/executeV1.js +104 -0
- package/dist/generated/instructions/executeV1.js.map +1 -0
- package/dist/generated/instructions/index.d.ts +50 -0
- package/dist/generated/instructions/index.d.ts.map +1 -0
- package/dist/generated/instructions/index.js +50 -0
- package/dist/generated/instructions/index.js.map +1 -0
- package/dist/generated/instructions/removeAssetsFromGroupV1.d.ts +59 -0
- package/dist/generated/instructions/removeAssetsFromGroupV1.d.ts.map +1 -0
- package/dist/generated/instructions/removeAssetsFromGroupV1.js +94 -0
- package/dist/generated/instructions/removeAssetsFromGroupV1.js.map +1 -0
- package/dist/generated/instructions/removeCollectionExternalPluginAdapterV1.d.ts +64 -0
- package/dist/generated/instructions/removeCollectionExternalPluginAdapterV1.d.ts.map +1 -0
- package/dist/generated/instructions/removeCollectionExternalPluginAdapterV1.js +103 -0
- package/dist/generated/instructions/removeCollectionExternalPluginAdapterV1.js.map +1 -0
- package/dist/generated/instructions/removeCollectionPluginV1.d.ts +64 -0
- package/dist/generated/instructions/removeCollectionPluginV1.d.ts.map +1 -0
- package/dist/generated/instructions/removeCollectionPluginV1.js +100 -0
- package/dist/generated/instructions/removeCollectionPluginV1.js.map +1 -0
- package/dist/generated/instructions/removeCollectionsFromGroupV1.d.ts +59 -0
- package/dist/generated/instructions/removeCollectionsFromGroupV1.d.ts.map +1 -0
- package/dist/generated/instructions/removeCollectionsFromGroupV1.js +100 -0
- package/dist/generated/instructions/removeCollectionsFromGroupV1.js.map +1 -0
- package/dist/generated/instructions/removeExternalPluginAdapterV1.d.ts +69 -0
- package/dist/generated/instructions/removeExternalPluginAdapterV1.d.ts.map +1 -0
- package/dist/generated/instructions/removeExternalPluginAdapterV1.js +106 -0
- package/dist/generated/instructions/removeExternalPluginAdapterV1.js.map +1 -0
- package/dist/generated/instructions/removeGroupsFromGroupV1.d.ts +59 -0
- package/dist/generated/instructions/removeGroupsFromGroupV1.d.ts.map +1 -0
- package/dist/generated/instructions/removeGroupsFromGroupV1.js +94 -0
- package/dist/generated/instructions/removeGroupsFromGroupV1.js.map +1 -0
- package/dist/generated/instructions/removePluginV1.d.ts +69 -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 +64 -0
- package/dist/generated/instructions/revokeCollectionPluginAuthorityV1.d.ts.map +1 -0
- package/dist/generated/instructions/revokeCollectionPluginAuthorityV1.js +103 -0
- package/dist/generated/instructions/revokeCollectionPluginAuthorityV1.js.map +1 -0
- package/dist/generated/instructions/revokePluginAuthorityV1.d.ts +69 -0
- package/dist/generated/instructions/revokePluginAuthorityV1.d.ts.map +1 -0
- package/dist/generated/instructions/revokePluginAuthorityV1.js +100 -0
- package/dist/generated/instructions/revokePluginAuthorityV1.js.map +1 -0
- package/dist/generated/instructions/transferV1.d.ts +74 -0
- package/dist/generated/instructions/transferV1.d.ts.map +1 -0
- package/dist/generated/instructions/transferV1.js +95 -0
- package/dist/generated/instructions/transferV1.js.map +1 -0
- package/dist/generated/instructions/updateCollectionExternalPluginAdapterV1.d.ts +64 -0
- package/dist/generated/instructions/updateCollectionExternalPluginAdapterV1.d.ts.map +1 -0
- package/dist/generated/instructions/updateCollectionExternalPluginAdapterV1.js +103 -0
- package/dist/generated/instructions/updateCollectionExternalPluginAdapterV1.js.map +1 -0
- package/dist/generated/instructions/updateCollectionInfoV1.d.ts +49 -0
- package/dist/generated/instructions/updateCollectionInfoV1.d.ts.map +1 -0
- package/dist/generated/instructions/updateCollectionInfoV1.js +80 -0
- package/dist/generated/instructions/updateCollectionInfoV1.js.map +1 -0
- package/dist/generated/instructions/updateCollectionPluginV1.d.ts +64 -0
- package/dist/generated/instructions/updateCollectionPluginV1.d.ts.map +1 -0
- package/dist/generated/instructions/updateCollectionPluginV1.js +100 -0
- package/dist/generated/instructions/updateCollectionPluginV1.js.map +1 -0
- package/dist/generated/instructions/updateCollectionV1.d.ts +69 -0
- package/dist/generated/instructions/updateCollectionV1.d.ts.map +1 -0
- package/dist/generated/instructions/updateCollectionV1.js +103 -0
- package/dist/generated/instructions/updateCollectionV1.js.map +1 -0
- package/dist/generated/instructions/updateExternalPluginAdapterV1.d.ts +69 -0
- package/dist/generated/instructions/updateExternalPluginAdapterV1.d.ts.map +1 -0
- package/dist/generated/instructions/updateExternalPluginAdapterV1.js +106 -0
- package/dist/generated/instructions/updateExternalPluginAdapterV1.js.map +1 -0
- package/dist/generated/instructions/updateGroupV1.d.ts +64 -0
- package/dist/generated/instructions/updateGroupV1.d.ts.map +1 -0
- package/dist/generated/instructions/updateGroupV1.js +97 -0
- package/dist/generated/instructions/updateGroupV1.js.map +1 -0
- package/dist/generated/instructions/updatePluginV1.d.ts +69 -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 +69 -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 +74 -0
- package/dist/generated/instructions/updateV2.d.ts.map +1 -0
- package/dist/generated/instructions/updateV2.js +100 -0
- package/dist/generated/instructions/updateV2.js.map +1 -0
- package/dist/generated/instructions/writeCollectionExternalPluginAdapterDataV1.d.ts +69 -0
- package/dist/generated/instructions/writeCollectionExternalPluginAdapterDataV1.d.ts.map +1 -0
- package/dist/generated/instructions/writeCollectionExternalPluginAdapterDataV1.js +106 -0
- package/dist/generated/instructions/writeCollectionExternalPluginAdapterDataV1.js.map +1 -0
- package/dist/generated/instructions/writeExternalPluginAdapterDataV1.d.ts +74 -0
- package/dist/generated/instructions/writeExternalPluginAdapterDataV1.d.ts.map +1 -0
- package/dist/generated/instructions/writeExternalPluginAdapterDataV1.js +109 -0
- package/dist/generated/instructions/writeExternalPluginAdapterDataV1.js.map +1 -0
- package/dist/generated/programs/index.d.ts +9 -0
- package/dist/generated/programs/index.d.ts.map +1 -0
- package/dist/generated/programs/index.js +9 -0
- package/dist/generated/programs/index.js.map +1 -0
- package/dist/generated/programs/mplCoreProgram.d.ts +218 -0
- package/dist/generated/programs/mplCoreProgram.d.ts.map +1 -0
- package/dist/generated/programs/mplCoreProgram.js +681 -0
- package/dist/generated/programs/mplCoreProgram.js.map +1 -0
- package/dist/generated/types/addAssetsToGroupV1Args.d.ts +14 -0
- package/dist/generated/types/addAssetsToGroupV1Args.d.ts.map +1 -0
- package/dist/generated/types/addAssetsToGroupV1Args.js +18 -0
- package/dist/generated/types/addAssetsToGroupV1Args.js.map +1 -0
- package/dist/generated/types/addBlocker.d.ts +14 -0
- package/dist/generated/types/addBlocker.d.ts.map +1 -0
- package/dist/generated/types/addBlocker.js +18 -0
- package/dist/generated/types/addBlocker.js.map +1 -0
- package/dist/generated/types/addCollectionExternalPluginAdapterV1Args.d.ts +19 -0
- package/dist/generated/types/addCollectionExternalPluginAdapterV1Args.d.ts.map +1 -0
- package/dist/generated/types/addCollectionExternalPluginAdapterV1Args.js +23 -0
- package/dist/generated/types/addCollectionExternalPluginAdapterV1Args.js.map +1 -0
- package/dist/generated/types/addCollectionPluginV1Args.d.ts +21 -0
- package/dist/generated/types/addCollectionPluginV1Args.d.ts.map +1 -0
- package/dist/generated/types/addCollectionPluginV1Args.js +25 -0
- package/dist/generated/types/addCollectionPluginV1Args.js.map +1 -0
- package/dist/generated/types/addCollectionsToGroupV1Args.d.ts +14 -0
- package/dist/generated/types/addCollectionsToGroupV1Args.d.ts.map +1 -0
- package/dist/generated/types/addCollectionsToGroupV1Args.js +18 -0
- package/dist/generated/types/addCollectionsToGroupV1Args.js.map +1 -0
- package/dist/generated/types/addExternalPluginAdapterV1Args.d.ts +19 -0
- package/dist/generated/types/addExternalPluginAdapterV1Args.d.ts.map +1 -0
- package/dist/generated/types/addExternalPluginAdapterV1Args.js +23 -0
- package/dist/generated/types/addExternalPluginAdapterV1Args.js.map +1 -0
- package/dist/generated/types/addGroupsToGroupV1Args.d.ts +16 -0
- package/dist/generated/types/addGroupsToGroupV1Args.d.ts.map +1 -0
- package/dist/generated/types/addGroupsToGroupV1Args.js +18 -0
- package/dist/generated/types/addGroupsToGroupV1Args.js.map +1 -0
- package/dist/generated/types/addPluginV1Args.d.ts +21 -0
- package/dist/generated/types/addPluginV1Args.d.ts.map +1 -0
- package/dist/generated/types/addPluginV1Args.js +25 -0
- package/dist/generated/types/addPluginV1Args.js.map +1 -0
- package/dist/generated/types/agentIdentity.d.ts +16 -0
- package/dist/generated/types/agentIdentity.d.ts.map +1 -0
- package/dist/generated/types/agentIdentity.js +22 -0
- package/dist/generated/types/agentIdentity.js.map +1 -0
- package/dist/generated/types/agentIdentityInitInfo.d.ts +23 -0
- package/dist/generated/types/agentIdentityInitInfo.d.ts.map +1 -0
- package/dist/generated/types/agentIdentityInitInfo.js +39 -0
- package/dist/generated/types/agentIdentityInitInfo.js.map +1 -0
- package/dist/generated/types/agentIdentityUpdateInfo.d.ts +21 -0
- package/dist/generated/types/agentIdentityUpdateInfo.d.ts.map +1 -0
- package/dist/generated/types/agentIdentityUpdateInfo.js +43 -0
- package/dist/generated/types/agentIdentityUpdateInfo.js.map +1 -0
- package/dist/generated/types/appData.d.ts +21 -0
- package/dist/generated/types/appData.d.ts.map +1 -0
- package/dist/generated/types/appData.js +25 -0
- package/dist/generated/types/appData.js.map +1 -0
- package/dist/generated/types/appDataInitInfo.d.ts +23 -0
- package/dist/generated/types/appDataInitInfo.d.ts.map +1 -0
- package/dist/generated/types/appDataInitInfo.js +27 -0
- package/dist/generated/types/appDataInitInfo.js.map +1 -0
- package/dist/generated/types/appDataUpdateInfo.d.ts +19 -0
- package/dist/generated/types/appDataUpdateInfo.d.ts.map +1 -0
- package/dist/generated/types/appDataUpdateInfo.js +23 -0
- package/dist/generated/types/appDataUpdateInfo.js.map +1 -0
- package/dist/generated/types/approveCollectionPluginAuthorityV1Args.d.ts +21 -0
- package/dist/generated/types/approveCollectionPluginAuthorityV1Args.d.ts.map +1 -0
- package/dist/generated/types/approveCollectionPluginAuthorityV1Args.js +25 -0
- package/dist/generated/types/approveCollectionPluginAuthorityV1Args.js.map +1 -0
- package/dist/generated/types/approvePluginAuthorityV1Args.d.ts +21 -0
- package/dist/generated/types/approvePluginAuthorityV1Args.d.ts.map +1 -0
- package/dist/generated/types/approvePluginAuthorityV1Args.js +25 -0
- package/dist/generated/types/approvePluginAuthorityV1Args.js.map +1 -0
- package/dist/generated/types/attribute.d.ts +17 -0
- package/dist/generated/types/attribute.d.ts.map +1 -0
- package/dist/generated/types/attribute.js +24 -0
- package/dist/generated/types/attribute.js.map +1 -0
- package/dist/generated/types/attributes.d.ts +19 -0
- package/dist/generated/types/attributes.d.ts.map +1 -0
- package/dist/generated/types/attributes.js +23 -0
- package/dist/generated/types/attributes.js.map +1 -0
- package/dist/generated/types/authority.d.ts +30 -0
- package/dist/generated/types/authority.d.ts.map +1 -0
- package/dist/generated/types/authority.js +36 -0
- package/dist/generated/types/authority.js.map +1 -0
- package/dist/generated/types/autograph.d.ts +19 -0
- package/dist/generated/types/autograph.d.ts.map +1 -0
- package/dist/generated/types/autograph.js +23 -0
- package/dist/generated/types/autograph.js.map +1 -0
- package/dist/generated/types/autographSignature.d.ts +17 -0
- package/dist/generated/types/autographSignature.d.ts.map +1 -0
- package/dist/generated/types/autographSignature.js +24 -0
- package/dist/generated/types/autographSignature.js.map +1 -0
- package/dist/generated/types/bubblegumV2.d.ts +14 -0
- package/dist/generated/types/bubblegumV2.d.ts.map +1 -0
- package/dist/generated/types/bubblegumV2.js +18 -0
- package/dist/generated/types/bubblegumV2.js.map +1 -0
- package/dist/generated/types/burnCollectionV1Args.d.ts +19 -0
- package/dist/generated/types/burnCollectionV1Args.d.ts.map +1 -0
- package/dist/generated/types/burnCollectionV1Args.js +23 -0
- package/dist/generated/types/burnCollectionV1Args.js.map +1 -0
- package/dist/generated/types/burnDelegate.d.ts +14 -0
- package/dist/generated/types/burnDelegate.d.ts.map +1 -0
- package/dist/generated/types/burnDelegate.js +18 -0
- package/dist/generated/types/burnDelegate.js.map +1 -0
- package/dist/generated/types/burnV1Args.d.ts +19 -0
- package/dist/generated/types/burnV1Args.d.ts.map +1 -0
- package/dist/generated/types/burnV1Args.js +23 -0
- package/dist/generated/types/burnV1Args.js.map +1 -0
- package/dist/generated/types/closeGroupV1Args.d.ts +14 -0
- package/dist/generated/types/closeGroupV1Args.d.ts.map +1 -0
- package/dist/generated/types/closeGroupV1Args.js +18 -0
- package/dist/generated/types/closeGroupV1Args.js.map +1 -0
- package/dist/generated/types/compressV1Args.d.ts +14 -0
- package/dist/generated/types/compressV1Args.d.ts.map +1 -0
- package/dist/generated/types/compressV1Args.js +18 -0
- package/dist/generated/types/compressV1Args.js.map +1 -0
- package/dist/generated/types/compressionProof.d.ts +29 -0
- package/dist/generated/types/compressionProof.d.ts.map +1 -0
- package/dist/generated/types/compressionProof.js +33 -0
- package/dist/generated/types/compressionProof.js.map +1 -0
- package/dist/generated/types/createCollectionV1Args.d.ts +23 -0
- package/dist/generated/types/createCollectionV1Args.d.ts.map +1 -0
- package/dist/generated/types/createCollectionV1Args.js +33 -0
- package/dist/generated/types/createCollectionV1Args.js.map +1 -0
- package/dist/generated/types/createCollectionV2Args.d.ts +25 -0
- package/dist/generated/types/createCollectionV2Args.d.ts.map +1 -0
- package/dist/generated/types/createCollectionV2Args.js +41 -0
- package/dist/generated/types/createCollectionV2Args.js.map +1 -0
- package/dist/generated/types/createGroupV1Args.d.ts +23 -0
- package/dist/generated/types/createGroupV1Args.d.ts.map +1 -0
- package/dist/generated/types/createGroupV1Args.js +27 -0
- package/dist/generated/types/createGroupV1Args.js.map +1 -0
- package/dist/generated/types/createV1Args.d.ts +25 -0
- package/dist/generated/types/createV1Args.d.ts.map +1 -0
- package/dist/generated/types/createV1Args.js +35 -0
- package/dist/generated/types/createV1Args.js.map +1 -0
- package/dist/generated/types/createV2Args.d.ts +27 -0
- package/dist/generated/types/createV2Args.d.ts.map +1 -0
- package/dist/generated/types/createV2Args.js +43 -0
- package/dist/generated/types/createV2Args.js.map +1 -0
- package/dist/generated/types/creator.d.ts +17 -0
- package/dist/generated/types/creator.d.ts.map +1 -0
- package/dist/generated/types/creator.js +24 -0
- package/dist/generated/types/creator.js.map +1 -0
- package/dist/generated/types/dataSection.d.ts +21 -0
- package/dist/generated/types/dataSection.d.ts.map +1 -0
- package/dist/generated/types/dataSection.js +25 -0
- package/dist/generated/types/dataSection.js.map +1 -0
- package/dist/generated/types/dataSectionInitInfo.d.ts +21 -0
- package/dist/generated/types/dataSectionInitInfo.d.ts.map +1 -0
- package/dist/generated/types/dataSectionInitInfo.js +25 -0
- package/dist/generated/types/dataSectionInitInfo.js.map +1 -0
- package/dist/generated/types/dataSectionUpdateInfo.d.ts +14 -0
- package/dist/generated/types/dataSectionUpdateInfo.d.ts.map +1 -0
- package/dist/generated/types/dataSectionUpdateInfo.js +18 -0
- package/dist/generated/types/dataSectionUpdateInfo.js.map +1 -0
- package/dist/generated/types/dataState.d.ts +17 -0
- package/dist/generated/types/dataState.d.ts.map +1 -0
- package/dist/generated/types/dataState.js +23 -0
- package/dist/generated/types/dataState.js.map +1 -0
- package/dist/generated/types/decompressV1Args.d.ts +19 -0
- package/dist/generated/types/decompressV1Args.d.ts.map +1 -0
- package/dist/generated/types/decompressV1Args.js +19 -0
- package/dist/generated/types/decompressV1Args.js.map +1 -0
- package/dist/generated/types/edition.d.ts +16 -0
- package/dist/generated/types/edition.d.ts.map +1 -0
- package/dist/generated/types/edition.js +18 -0
- package/dist/generated/types/edition.js.map +1 -0
- package/dist/generated/types/executeV1Args.d.ts +16 -0
- package/dist/generated/types/executeV1Args.d.ts.map +1 -0
- package/dist/generated/types/executeV1Args.js +28 -0
- package/dist/generated/types/executeV1Args.js.map +1 -0
- package/dist/generated/types/externalCheckResult.d.ts +16 -0
- package/dist/generated/types/externalCheckResult.d.ts.map +1 -0
- package/dist/generated/types/externalCheckResult.js +18 -0
- package/dist/generated/types/externalCheckResult.js.map +1 -0
- package/dist/generated/types/externalPluginAdapter.d.ts +67 -0
- package/dist/generated/types/externalPluginAdapter.d.ts.map +1 -0
- package/dist/generated/types/externalPluginAdapter.js +105 -0
- package/dist/generated/types/externalPluginAdapter.js.map +1 -0
- package/dist/generated/types/externalPluginAdapterInitInfo.d.ts +67 -0
- package/dist/generated/types/externalPluginAdapterInitInfo.d.ts.map +1 -0
- package/dist/generated/types/externalPluginAdapterInitInfo.js +113 -0
- package/dist/generated/types/externalPluginAdapterInitInfo.js.map +1 -0
- package/dist/generated/types/externalPluginAdapterKey.d.ts +65 -0
- package/dist/generated/types/externalPluginAdapterKey.d.ts.map +1 -0
- package/dist/generated/types/externalPluginAdapterKey.js +83 -0
- package/dist/generated/types/externalPluginAdapterKey.js.map +1 -0
- package/dist/generated/types/externalPluginAdapterSchema.d.ts +18 -0
- package/dist/generated/types/externalPluginAdapterSchema.d.ts.map +1 -0
- package/dist/generated/types/externalPluginAdapterSchema.js +24 -0
- package/dist/generated/types/externalPluginAdapterSchema.js.map +1 -0
- package/dist/generated/types/externalPluginAdapterType.d.ts +22 -0
- package/dist/generated/types/externalPluginAdapterType.d.ts.map +1 -0
- package/dist/generated/types/externalPluginAdapterType.js +28 -0
- package/dist/generated/types/externalPluginAdapterType.js.map +1 -0
- package/dist/generated/types/externalPluginAdapterUpdateInfo.d.ts +60 -0
- package/dist/generated/types/externalPluginAdapterUpdateInfo.d.ts.map +1 -0
- package/dist/generated/types/externalPluginAdapterUpdateInfo.js +107 -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 +45 -0
- package/dist/generated/types/externalRegistryRecord.js.map +1 -0
- package/dist/generated/types/externalValidationResult.d.ts +18 -0
- package/dist/generated/types/externalValidationResult.d.ts.map +1 -0
- package/dist/generated/types/externalValidationResult.js +24 -0
- package/dist/generated/types/externalValidationResult.js.map +1 -0
- package/dist/generated/types/extraAccount.d.ts +87 -0
- package/dist/generated/types/extraAccount.d.ts.map +1 -0
- package/dist/generated/types/extraAccount.js +133 -0
- package/dist/generated/types/extraAccount.js.map +1 -0
- package/dist/generated/types/freezeDelegate.d.ts +16 -0
- package/dist/generated/types/freezeDelegate.d.ts.map +1 -0
- package/dist/generated/types/freezeDelegate.js +18 -0
- package/dist/generated/types/freezeDelegate.js.map +1 -0
- package/dist/generated/types/freezeExecute.d.ts +16 -0
- package/dist/generated/types/freezeExecute.d.ts.map +1 -0
- package/dist/generated/types/freezeExecute.js +18 -0
- package/dist/generated/types/freezeExecute.js.map +1 -0
- package/dist/generated/types/groups.d.ts +16 -0
- package/dist/generated/types/groups.d.ts.map +1 -0
- package/dist/generated/types/groups.js +18 -0
- package/dist/generated/types/groups.js.map +1 -0
- package/dist/generated/types/hashablePluginSchema.d.ts +23 -0
- package/dist/generated/types/hashablePluginSchema.d.ts.map +1 -0
- package/dist/generated/types/hashablePluginSchema.js +27 -0
- package/dist/generated/types/hashablePluginSchema.js.map +1 -0
- package/dist/generated/types/hashedAssetSchema.d.ts +17 -0
- package/dist/generated/types/hashedAssetSchema.d.ts.map +1 -0
- package/dist/generated/types/hashedAssetSchema.js +30 -0
- package/dist/generated/types/hashedAssetSchema.js.map +1 -0
- package/dist/generated/types/hookableLifecycleEvent.d.ts +20 -0
- package/dist/generated/types/hookableLifecycleEvent.d.ts.map +1 -0
- package/dist/generated/types/hookableLifecycleEvent.js +26 -0
- package/dist/generated/types/hookableLifecycleEvent.js.map +1 -0
- package/dist/generated/types/immutableMetadata.d.ts +14 -0
- package/dist/generated/types/immutableMetadata.d.ts.map +1 -0
- package/dist/generated/types/immutableMetadata.js +18 -0
- package/dist/generated/types/immutableMetadata.js.map +1 -0
- package/dist/generated/types/index.d.ts +125 -0
- package/dist/generated/types/index.d.ts.map +1 -0
- package/dist/generated/types/index.js +125 -0
- package/dist/generated/types/index.js.map +1 -0
- package/dist/generated/types/key.d.ts +22 -0
- package/dist/generated/types/key.d.ts.map +1 -0
- package/dist/generated/types/key.js +28 -0
- package/dist/generated/types/key.js.map +1 -0
- package/dist/generated/types/lifecycleHook.d.ts +25 -0
- package/dist/generated/types/lifecycleHook.d.ts.map +1 -0
- package/dist/generated/types/lifecycleHook.js +35 -0
- package/dist/generated/types/lifecycleHook.js.map +1 -0
- package/dist/generated/types/lifecycleHookInitInfo.d.ts +29 -0
- package/dist/generated/types/lifecycleHookInitInfo.d.ts.map +1 -0
- package/dist/generated/types/lifecycleHookInitInfo.js +51 -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 +45 -0
- package/dist/generated/types/lifecycleHookUpdateInfo.js.map +1 -0
- package/dist/generated/types/linkedAppData.d.ts +21 -0
- package/dist/generated/types/linkedAppData.d.ts.map +1 -0
- package/dist/generated/types/linkedAppData.js +25 -0
- package/dist/generated/types/linkedAppData.js.map +1 -0
- package/dist/generated/types/linkedAppDataInitInfo.d.ts +23 -0
- package/dist/generated/types/linkedAppDataInitInfo.d.ts.map +1 -0
- package/dist/generated/types/linkedAppDataInitInfo.js +27 -0
- package/dist/generated/types/linkedAppDataInitInfo.js.map +1 -0
- package/dist/generated/types/linkedAppDataUpdateInfo.d.ts +19 -0
- package/dist/generated/types/linkedAppDataUpdateInfo.d.ts.map +1 -0
- package/dist/generated/types/linkedAppDataUpdateInfo.js +23 -0
- package/dist/generated/types/linkedAppDataUpdateInfo.js.map +1 -0
- package/dist/generated/types/linkedDataKey.d.ts +32 -0
- package/dist/generated/types/linkedDataKey.d.ts.map +1 -0
- package/dist/generated/types/linkedDataKey.js +45 -0
- package/dist/generated/types/linkedDataKey.js.map +1 -0
- package/dist/generated/types/linkedLifecycleHook.d.ts +25 -0
- package/dist/generated/types/linkedLifecycleHook.d.ts.map +1 -0
- package/dist/generated/types/linkedLifecycleHook.js +35 -0
- package/dist/generated/types/linkedLifecycleHook.js.map +1 -0
- package/dist/generated/types/linkedLifecycleHookInitInfo.d.ts +29 -0
- package/dist/generated/types/linkedLifecycleHookInitInfo.d.ts.map +1 -0
- package/dist/generated/types/linkedLifecycleHookInitInfo.js +51 -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 +45 -0
- package/dist/generated/types/linkedLifecycleHookUpdateInfo.js.map +1 -0
- package/dist/generated/types/masterEdition.d.ts +22 -0
- package/dist/generated/types/masterEdition.d.ts.map +1 -0
- package/dist/generated/types/masterEdition.js +38 -0
- package/dist/generated/types/masterEdition.js.map +1 -0
- package/dist/generated/types/oracle.d.ts +23 -0
- package/dist/generated/types/oracle.d.ts.map +1 -0
- package/dist/generated/types/oracle.js +27 -0
- package/dist/generated/types/oracle.js.map +1 -0
- package/dist/generated/types/oracleInitInfo.d.ts +27 -0
- package/dist/generated/types/oracleInitInfo.d.ts.map +1 -0
- package/dist/generated/types/oracleInitInfo.js +43 -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 +39 -0
- package/dist/generated/types/oracleUpdateInfo.js.map +1 -0
- package/dist/generated/types/oracleValidation.d.ts +36 -0
- package/dist/generated/types/oracleValidation.d.ts.map +1 -0
- package/dist/generated/types/oracleValidation.js +49 -0
- package/dist/generated/types/oracleValidation.js.map +1 -0
- package/dist/generated/types/permanentBurnDelegate.d.ts +14 -0
- package/dist/generated/types/permanentBurnDelegate.d.ts.map +1 -0
- package/dist/generated/types/permanentBurnDelegate.js +18 -0
- package/dist/generated/types/permanentBurnDelegate.js.map +1 -0
- package/dist/generated/types/permanentFreezeDelegate.d.ts +16 -0
- package/dist/generated/types/permanentFreezeDelegate.d.ts.map +1 -0
- package/dist/generated/types/permanentFreezeDelegate.js +18 -0
- package/dist/generated/types/permanentFreezeDelegate.js.map +1 -0
- package/dist/generated/types/permanentFreezeExecute.d.ts +16 -0
- package/dist/generated/types/permanentFreezeExecute.d.ts.map +1 -0
- package/dist/generated/types/permanentFreezeExecute.js +18 -0
- package/dist/generated/types/permanentFreezeExecute.js.map +1 -0
- package/dist/generated/types/permanentTransferDelegate.d.ts +14 -0
- package/dist/generated/types/permanentTransferDelegate.d.ts.map +1 -0
- package/dist/generated/types/permanentTransferDelegate.js +18 -0
- package/dist/generated/types/permanentTransferDelegate.js.map +1 -0
- package/dist/generated/types/plugin.d.ts +151 -0
- package/dist/generated/types/plugin.d.ts.map +1 -0
- package/dist/generated/types/plugin.js +233 -0
- package/dist/generated/types/plugin.js.map +1 -0
- package/dist/generated/types/pluginAuthorityPair.d.ts +21 -0
- package/dist/generated/types/pluginAuthorityPair.d.ts.map +1 -0
- package/dist/generated/types/pluginAuthorityPair.js +25 -0
- package/dist/generated/types/pluginAuthorityPair.js.map +1 -0
- package/dist/generated/types/pluginType.d.ts +34 -0
- package/dist/generated/types/pluginType.d.ts.map +1 -0
- package/dist/generated/types/pluginType.js +40 -0
- package/dist/generated/types/pluginType.js.map +1 -0
- package/dist/generated/types/registryRecord.d.ts +23 -0
- package/dist/generated/types/registryRecord.d.ts.map +1 -0
- package/dist/generated/types/registryRecord.js +27 -0
- package/dist/generated/types/registryRecord.js.map +1 -0
- package/dist/generated/types/relationshipEntry.d.ts +21 -0
- package/dist/generated/types/relationshipEntry.d.ts.map +1 -0
- package/dist/generated/types/relationshipEntry.js +25 -0
- package/dist/generated/types/relationshipEntry.js.map +1 -0
- package/dist/generated/types/relationshipKind.d.ts +19 -0
- package/dist/generated/types/relationshipKind.d.ts.map +1 -0
- package/dist/generated/types/relationshipKind.js +25 -0
- package/dist/generated/types/relationshipKind.js.map +1 -0
- package/dist/generated/types/removeAssetsFromGroupV1Args.d.ts +16 -0
- package/dist/generated/types/removeAssetsFromGroupV1Args.d.ts.map +1 -0
- package/dist/generated/types/removeAssetsFromGroupV1Args.js +18 -0
- package/dist/generated/types/removeAssetsFromGroupV1Args.js.map +1 -0
- package/dist/generated/types/removeCollectionExternalPluginAdapterV1Args.d.ts +19 -0
- package/dist/generated/types/removeCollectionExternalPluginAdapterV1Args.d.ts.map +1 -0
- package/dist/generated/types/removeCollectionExternalPluginAdapterV1Args.js +19 -0
- package/dist/generated/types/removeCollectionExternalPluginAdapterV1Args.js.map +1 -0
- package/dist/generated/types/removeCollectionPluginV1Args.d.ts +19 -0
- package/dist/generated/types/removeCollectionPluginV1Args.d.ts.map +1 -0
- package/dist/generated/types/removeCollectionPluginV1Args.js +19 -0
- package/dist/generated/types/removeCollectionPluginV1Args.js.map +1 -0
- package/dist/generated/types/removeCollectionsFromGroupV1Args.d.ts +16 -0
- package/dist/generated/types/removeCollectionsFromGroupV1Args.d.ts.map +1 -0
- package/dist/generated/types/removeCollectionsFromGroupV1Args.js +22 -0
- package/dist/generated/types/removeCollectionsFromGroupV1Args.js.map +1 -0
- package/dist/generated/types/removeExternalPluginAdapterV1Args.d.ts +19 -0
- package/dist/generated/types/removeExternalPluginAdapterV1Args.d.ts.map +1 -0
- package/dist/generated/types/removeExternalPluginAdapterV1Args.js +19 -0
- package/dist/generated/types/removeExternalPluginAdapterV1Args.js.map +1 -0
- package/dist/generated/types/removeGroupsFromGroupV1Args.d.ts +16 -0
- package/dist/generated/types/removeGroupsFromGroupV1Args.d.ts.map +1 -0
- package/dist/generated/types/removeGroupsFromGroupV1Args.js +18 -0
- package/dist/generated/types/removeGroupsFromGroupV1Args.js.map +1 -0
- package/dist/generated/types/removePluginV1Args.d.ts +19 -0
- package/dist/generated/types/removePluginV1Args.d.ts.map +1 -0
- package/dist/generated/types/removePluginV1Args.js +19 -0
- package/dist/generated/types/removePluginV1Args.js.map +1 -0
- package/dist/generated/types/revokeCollectionPluginAuthorityV1Args.d.ts +19 -0
- package/dist/generated/types/revokeCollectionPluginAuthorityV1Args.d.ts.map +1 -0
- package/dist/generated/types/revokeCollectionPluginAuthorityV1Args.js +19 -0
- package/dist/generated/types/revokeCollectionPluginAuthorityV1Args.js.map +1 -0
- package/dist/generated/types/revokePluginAuthorityV1Args.d.ts +19 -0
- package/dist/generated/types/revokePluginAuthorityV1Args.d.ts.map +1 -0
- package/dist/generated/types/revokePluginAuthorityV1Args.js +19 -0
- package/dist/generated/types/revokePluginAuthorityV1Args.js.map +1 -0
- package/dist/generated/types/royalties.d.ts +23 -0
- package/dist/generated/types/royalties.d.ts.map +1 -0
- package/dist/generated/types/royalties.js +27 -0
- package/dist/generated/types/royalties.js.map +1 -0
- package/dist/generated/types/ruleSet.d.ts +28 -0
- package/dist/generated/types/ruleSet.d.ts.map +1 -0
- package/dist/generated/types/ruleSet.js +54 -0
- package/dist/generated/types/ruleSet.js.map +1 -0
- package/dist/generated/types/seed.d.ts +37 -0
- package/dist/generated/types/seed.d.ts.map +1 -0
- package/dist/generated/types/seed.js +66 -0
- package/dist/generated/types/seed.js.map +1 -0
- package/dist/generated/types/transferDelegate.d.ts +14 -0
- package/dist/generated/types/transferDelegate.d.ts.map +1 -0
- package/dist/generated/types/transferDelegate.js +18 -0
- package/dist/generated/types/transferDelegate.js.map +1 -0
- package/dist/generated/types/transferV1Args.d.ts +19 -0
- package/dist/generated/types/transferV1Args.d.ts.map +1 -0
- package/dist/generated/types/transferV1Args.js +23 -0
- package/dist/generated/types/transferV1Args.js.map +1 -0
- package/dist/generated/types/updateAuthority.d.ts +28 -0
- package/dist/generated/types/updateAuthority.d.ts.map +1 -0
- package/dist/generated/types/updateAuthority.js +46 -0
- package/dist/generated/types/updateAuthority.js.map +1 -0
- package/dist/generated/types/updateCollectionExternalPluginAdapterV1Args.d.ts +21 -0
- package/dist/generated/types/updateCollectionExternalPluginAdapterV1Args.d.ts.map +1 -0
- package/dist/generated/types/updateCollectionExternalPluginAdapterV1Args.js +25 -0
- package/dist/generated/types/updateCollectionExternalPluginAdapterV1Args.js.map +1 -0
- package/dist/generated/types/updateCollectionInfoV1Args.d.ts +21 -0
- package/dist/generated/types/updateCollectionInfoV1Args.d.ts.map +1 -0
- package/dist/generated/types/updateCollectionInfoV1Args.js +25 -0
- package/dist/generated/types/updateCollectionInfoV1Args.js.map +1 -0
- package/dist/generated/types/updateCollectionPluginV1Args.d.ts +19 -0
- package/dist/generated/types/updateCollectionPluginV1Args.d.ts.map +1 -0
- package/dist/generated/types/updateCollectionPluginV1Args.js +19 -0
- package/dist/generated/types/updateCollectionPluginV1Args.js.map +1 -0
- package/dist/generated/types/updateCollectionV1Args.d.ts +20 -0
- package/dist/generated/types/updateCollectionV1Args.d.ts.map +1 -0
- package/dist/generated/types/updateCollectionV1Args.js +36 -0
- package/dist/generated/types/updateCollectionV1Args.js.map +1 -0
- package/dist/generated/types/updateDelegate.d.ts +16 -0
- package/dist/generated/types/updateDelegate.d.ts.map +1 -0
- package/dist/generated/types/updateDelegate.js +22 -0
- package/dist/generated/types/updateDelegate.js.map +1 -0
- package/dist/generated/types/updateExternalPluginAdapterV1Args.d.ts +21 -0
- package/dist/generated/types/updateExternalPluginAdapterV1Args.d.ts.map +1 -0
- package/dist/generated/types/updateExternalPluginAdapterV1Args.js +25 -0
- package/dist/generated/types/updateExternalPluginAdapterV1Args.js.map +1 -0
- package/dist/generated/types/updateGroupV1Args.d.ts +20 -0
- package/dist/generated/types/updateGroupV1Args.d.ts.map +1 -0
- package/dist/generated/types/updateGroupV1Args.js +36 -0
- package/dist/generated/types/updateGroupV1Args.js.map +1 -0
- package/dist/generated/types/updatePluginV1Args.d.ts +19 -0
- package/dist/generated/types/updatePluginV1Args.d.ts.map +1 -0
- package/dist/generated/types/updatePluginV1Args.js +19 -0
- package/dist/generated/types/updatePluginV1Args.js.map +1 -0
- package/dist/generated/types/updateType.d.ts +18 -0
- package/dist/generated/types/updateType.d.ts.map +1 -0
- package/dist/generated/types/updateType.js +24 -0
- package/dist/generated/types/updateType.js.map +1 -0
- package/dist/generated/types/updateV1Args.d.ts +23 -0
- package/dist/generated/types/updateV1Args.d.ts.map +1 -0
- package/dist/generated/types/updateV1Args.js +39 -0
- package/dist/generated/types/updateV1Args.js.map +1 -0
- package/dist/generated/types/updateV2Args.d.ts +23 -0
- package/dist/generated/types/updateV2Args.d.ts.map +1 -0
- package/dist/generated/types/updateV2Args.js +39 -0
- package/dist/generated/types/updateV2Args.js.map +1 -0
- package/dist/generated/types/validationResult.d.ts +19 -0
- package/dist/generated/types/validationResult.d.ts.map +1 -0
- package/dist/generated/types/validationResult.js +25 -0
- package/dist/generated/types/validationResult.js.map +1 -0
- package/dist/generated/types/validationResultsOffset.d.ts +34 -0
- package/dist/generated/types/validationResultsOffset.d.ts.map +1 -0
- package/dist/generated/types/validationResultsOffset.js +40 -0
- package/dist/generated/types/validationResultsOffset.js.map +1 -0
- package/dist/generated/types/verifiedCreators.d.ts +19 -0
- package/dist/generated/types/verifiedCreators.d.ts.map +1 -0
- package/dist/generated/types/verifiedCreators.js +23 -0
- package/dist/generated/types/verifiedCreators.js.map +1 -0
- package/dist/generated/types/verifiedCreatorsSignature.d.ts +17 -0
- package/dist/generated/types/verifiedCreatorsSignature.d.ts.map +1 -0
- package/dist/generated/types/verifiedCreatorsSignature.js +24 -0
- package/dist/generated/types/verifiedCreatorsSignature.js.map +1 -0
- package/dist/generated/types/writeCollectionExternalPluginAdapterDataV1Args.d.ts +21 -0
- package/dist/generated/types/writeCollectionExternalPluginAdapterDataV1Args.d.ts.map +1 -0
- package/dist/generated/types/writeCollectionExternalPluginAdapterDataV1Args.js +31 -0
- package/dist/generated/types/writeCollectionExternalPluginAdapterDataV1Args.js.map +1 -0
- package/dist/generated/types/writeExternalPluginAdapterDataV1Args.d.ts +21 -0
- package/dist/generated/types/writeExternalPluginAdapterDataV1Args.d.ts.map +1 -0
- package/dist/generated/types/writeExternalPluginAdapterDataV1Args.js +31 -0
- package/dist/generated/types/writeExternalPluginAdapterDataV1Args.js.map +1 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -0
- package/package.json +50 -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 +322 -0
- package/src/generated/index.ts +13 -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 +316 -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/programs/index.ts +9 -0
- package/src/generated/programs/mplCoreProgram.ts +1426 -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 @@
|
|
|
1
|
+
{"version":3,"file":"pluginHeaderV1.js","sourceRoot":"","sources":["../../../src/generated/accounts/pluginHeaderV1.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAeH,OAAO,EACL,mBAAmB,EACnB,mBAAmB,EACnB,YAAY,EACZ,aAAa,EACb,mBAAmB,EACnB,oBAAoB,EACpB,gBAAgB,EAChB,gBAAgB,EAChB,aAAa,EACb,a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AAoB,EACpB,MAA4B;IAE5B,MAAM,aAAa,GAAG,MAAM,2BAA2B,CACrD,GAAG,EACH,SAAS,EACT,MAAM,CACP,CAAC;IACF,mBAAmB,CAAC,aAAa,CAAC,CAAC;IACnC,OAAO,aAAa,CAAC;AACvB,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,2BAA2B,CAC/C,GAA+C,EAC/C,SAAoB,EACpB,MAA4B;IAE5B,MAAM,aAAa,GAAG,MAAM,oBAAoB,CAAC,GAAG,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC;IACzE,OAAO,aAAa,CAAC,GAAG,CAAC,CAAC,YAAY,EAAE,EAAE,CACxC,oBAAoB,CAAC,YAAY,CAAC,CACnC,CAAC;AACJ,CAAC","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 Account,\n Address,\n EncodedAccount,\n FetchAccountConfig,\n FetchAccountsConfig,\n FixedSizeCodec,\n FixedSizeDecoder,\n FixedSizeEncoder,\n MaybeAccount,\n MaybeEncodedAccount,\n} from \"@solana/kit\";\nimport type { Key, KeyArgs } from \"../types/index.js\";\nimport {\n assertAccountExists,\n assertAccountsExist,\n combineCodec,\n decodeAccount,\n fetchEncodedAccount,\n fetchEncodedAccounts,\n getStructDecoder,\n getStructEncoder,\n getU64Decoder,\n getU64Encoder,\n} from \"@solana/kit\";\nimport { getKeyDecoder, getKeyEncoder } from \"../types/index.js\";\n\nexport interface PluginHeaderV1 {\n key: Key;\n pluginRegistryOffset: bigint;\n}\n\nexport interface PluginHeaderV1Args {\n key: KeyArgs;\n pluginRegistryOffset: number | bigint;\n}\n\n/** Gets the encoder for {@link PluginHeaderV1Args} account data. */\nexport function getPluginHeaderV1Encoder(): FixedSizeEncoder<PluginHeaderV1Args> {\n return getStructEncoder([\n [\"key\", getKeyEncoder()],\n [\"pluginRegistryOffset\", getU64Encoder()],\n ]);\n}\n\n/** Gets the decoder for {@link PluginHeaderV1} account data. */\nexport function getPluginHeaderV1Decoder(): FixedSizeDecoder<PluginHeaderV1> {\n return getStructDecoder([\n [\"key\", getKeyDecoder()],\n [\"pluginRegistryOffset\", getU64Decoder()],\n ]);\n}\n\n/** Gets the codec for {@link PluginHeaderV1} account data. */\nexport function getPluginHeaderV1Codec(): FixedSizeCodec<\n PluginHeaderV1Args,\n PluginHeaderV1\n> {\n return combineCodec(getPluginHeaderV1Encoder(), getPluginHeaderV1Decoder());\n}\n\nexport function decodePluginHeaderV1<TAddress extends string = string>(\n encodedAccount: EncodedAccount<TAddress>,\n): Account<PluginHeaderV1, TAddress>;\nexport function decodePluginHeaderV1<TAddress extends string = string>(\n encodedAccount: MaybeEncodedAccount<TAddress>,\n): MaybeAccount<PluginHeaderV1, TAddress>;\nexport function decodePluginHeaderV1<TAddress extends string = string>(\n encodedAccount: EncodedAccount<TAddress> | MaybeEncodedAccount<TAddress>,\n): Account<PluginHeaderV1, TAddress> | MaybeAccount<PluginHeaderV1, TAddress> {\n return decodeAccount(\n encodedAccount as MaybeEncodedAccount<TAddress>,\n getPluginHeaderV1Decoder(),\n );\n}\n\nexport async function fetchPluginHeaderV1<TAddress extends string = string>(\n rpc: Parameters<typeof fetchEncodedAccount>[0],\n address: Address<TAddress>,\n config?: FetchAccountConfig,\n): Promise<Account<PluginHeaderV1, TAddress>> {\n const maybeAccount = await fetchMaybePluginHeaderV1(rpc, address, config);\n assertAccountExists(maybeAccount);\n return maybeAccount;\n}\n\nexport async function fetchMaybePluginHeaderV1<\n TAddress extends string = string,\n>(\n rpc: Parameters<typeof fetchEncodedAccount>[0],\n address: Address<TAddress>,\n config?: FetchAccountConfig,\n): Promise<MaybeAccount<PluginHeaderV1, TAddress>> {\n const maybeAccount = await fetchEncodedAccount(rpc, address, config);\n return decodePluginHeaderV1(maybeAccount);\n}\n\nexport async function fetchAllPluginHeaderV1(\n rpc: Parameters<typeof fetchEncodedAccounts>[0],\n addresses: Address[],\n config?: FetchAccountsConfig,\n): Promise<Account<PluginHeaderV1>[]> {\n const maybeAccounts = await fetchAllMaybePluginHeaderV1(\n rpc,\n addresses,\n config,\n );\n assertAccountsExist(maybeAccounts);\n return maybeAccounts;\n}\n\nexport async function fetchAllMaybePluginHeaderV1(\n rpc: Parameters<typeof fetchEncodedAccounts>[0],\n addresses: Address[],\n config?: FetchAccountsConfig,\n): Promise<MaybeAccount<PluginHeaderV1>[]> {\n const maybeAccounts = await fetchEncodedAccounts(rpc, addresses, config);\n return maybeAccounts.map((maybeAccount) =>\n decodePluginHeaderV1(maybeAccount),\n );\n}\n"]}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
3
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
+
* to add features, then rerun Codama to update it.
|
|
5
|
+
*
|
|
6
|
+
* @see https://github.com/codama-idl/codama
|
|
7
|
+
*/
|
|
8
|
+
import type { Account, Address, Codec, Decoder, EncodedAccount, Encoder, FetchAccountConfig, FetchAccountsConfig, MaybeAccount, MaybeEncodedAccount } from "@solana/kit";
|
|
9
|
+
import type { ExternalRegistryRecord, ExternalRegistryRecordArgs, Key, KeyArgs, RegistryRecord, RegistryRecordArgs } from "../types/index.js";
|
|
10
|
+
import { fetchEncodedAccount, fetchEncodedAccounts } from "@solana/kit";
|
|
11
|
+
export interface PluginRegistryV1 {
|
|
12
|
+
key: Key;
|
|
13
|
+
registry: RegistryRecord[];
|
|
14
|
+
externalRegistry: ExternalRegistryRecord[];
|
|
15
|
+
}
|
|
16
|
+
export interface PluginRegistryV1Args {
|
|
17
|
+
key: KeyArgs;
|
|
18
|
+
registry: RegistryRecordArgs[];
|
|
19
|
+
externalRegistry: ExternalRegistryRecordArgs[];
|
|
20
|
+
}
|
|
21
|
+
/** Gets the encoder for {@link PluginRegistryV1Args} account data. */
|
|
22
|
+
export declare function getPluginRegistryV1Encoder(): Encoder<PluginRegistryV1Args>;
|
|
23
|
+
/** Gets the decoder for {@link PluginRegistryV1} account data. */
|
|
24
|
+
export declare function getPluginRegistryV1Decoder(): Decoder<PluginRegistryV1>;
|
|
25
|
+
/** Gets the codec for {@link PluginRegistryV1} account data. */
|
|
26
|
+
export declare function getPluginRegistryV1Codec(): Codec<PluginRegistryV1Args, PluginRegistryV1>;
|
|
27
|
+
export declare function decodePluginRegistryV1<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress>): Account<PluginRegistryV1, TAddress>;
|
|
28
|
+
export declare function decodePluginRegistryV1<TAddress extends string = string>(encodedAccount: MaybeEncodedAccount<TAddress>): MaybeAccount<PluginRegistryV1, TAddress>;
|
|
29
|
+
export declare function fetchPluginRegistryV1<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<Account<PluginRegistryV1, TAddress>>;
|
|
30
|
+
export declare function fetchMaybePluginRegistryV1<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<MaybeAccount<PluginRegistryV1, TAddress>>;
|
|
31
|
+
export declare function fetchAllPluginRegistryV1(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Address[], config?: FetchAccountsConfig): Promise<Account<PluginRegistryV1>[]>;
|
|
32
|
+
export declare function fetchAllMaybePluginRegistryV1(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Address[], config?: FetchAccountsConfig): Promise<MaybeAccount<PluginRegistryV1>[]>;
|
|
33
|
+
//# sourceMappingURL=pluginRegistryV1.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pluginRegistryV1.d.ts","sourceRoot":"","sources":["../../../src/generated/accounts/pluginRegistryV1.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EACV,OAAO,EACP,OAAO,EACP,KAAK,EACL,OAAO,EAC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,CAAC,CAAC,CAAC,CAAC,EAC9C,OAAO,EAAE,OAAO,CAAC,QAAQ,CAAC,EAC1B,MAAM,CAAC,EAAE,kBAAkB,GAC1B,OAAO,CAAC,OAAO,CAAC,gBAAgB,EAAE,QAAQ,CAAC,CAAC,CAI9C;AAED,wBAAsB,0BAA0B,CAC9C,QAAQ,SAAS,MAAM,GAAG,MAAM,EAEhC,GAAG,EAAE,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC,CAAC,CAAC,EAC9C,OAAO,EAAE,OAAO,CAAC,QAAQ,CAAC,EAC1B,MAAM,CAAC,EAAE,kBAAkB,GAC1B,OAAO,CAAC,YAAY,CAAC,gBAAgB,EAAE,QAAQ,CAAC,CAAC,CAGnD;AAED,wBAAsB,wBAAwB,CAC5C,GAAG,EAAE,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC,CAAC,CAAC,EAC/C,SAAS,EAAE,OAAO,EAAE,EACpB,MAAM,CAAC,EAAE,mBAAmB,GAC3B,OAAO,CAAC,OAAO,CAAC,gBAAgB,CAAC,EAAE,CAAC,CAQtC;AAED,wBAAsB,6BAA6B,CACjD,GAAG,EAAE,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC,CAAC,CAAC,EAC/C,SAAS,EAAE,OAAO,EAAE,EACpB,MAAM,CAAC,EAAE,mBAAmB,GAC3B,OAAO,CAAC,YAAY,CAAC,gBAAgB,CAAC,EAAE,CAAC,CAK3C"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
3
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
+
* to add features, then rerun Codama to update it.
|
|
5
|
+
*
|
|
6
|
+
* @see https://github.com/codama-idl/codama
|
|
7
|
+
*/
|
|
8
|
+
import { assertAccountExists, assertAccountsExist, combineCodec, decodeAccount, fetchEncodedAccount, fetchEncodedAccounts, getArrayDecoder, getArrayEncoder, getStructDecoder, getStructEncoder, } from "@solana/kit";
|
|
9
|
+
import { getExternalRegistryRecordDecoder, getExternalRegistryRecordEncoder, getKeyDecoder, getKeyEncoder, getRegistryRecordDecoder, getRegistryRecordEncoder, } from "../types/index.js";
|
|
10
|
+
/** Gets the encoder for {@link PluginRegistryV1Args} account data. */
|
|
11
|
+
export function getPluginRegistryV1Encoder() {
|
|
12
|
+
return getStructEncoder([
|
|
13
|
+
["key", getKeyEncoder()],
|
|
14
|
+
["registry", getArrayEncoder(getRegistryRecordEncoder())],
|
|
15
|
+
["externalRegistry", getArrayEncoder(getExternalRegistryRecordEncoder())],
|
|
16
|
+
]);
|
|
17
|
+
}
|
|
18
|
+
/** Gets the decoder for {@link PluginRegistryV1} account data. */
|
|
19
|
+
export function getPluginRegistryV1Decoder() {
|
|
20
|
+
return getStructDecoder([
|
|
21
|
+
["key", getKeyDecoder()],
|
|
22
|
+
["registry", getArrayDecoder(getRegistryRecordDecoder())],
|
|
23
|
+
["externalRegistry", getArrayDecoder(getExternalRegistryRecordDecoder())],
|
|
24
|
+
]);
|
|
25
|
+
}
|
|
26
|
+
/** Gets the codec for {@link PluginRegistryV1} account data. */
|
|
27
|
+
export function getPluginRegistryV1Codec() {
|
|
28
|
+
return combineCodec(getPluginRegistryV1Encoder(), getPluginRegistryV1Decoder());
|
|
29
|
+
}
|
|
30
|
+
export function decodePluginRegistryV1(encodedAccount) {
|
|
31
|
+
return decodeAccount(encodedAccount, getPluginRegistryV1Decoder());
|
|
32
|
+
}
|
|
33
|
+
export async function fetchPluginRegistryV1(rpc, address, config) {
|
|
34
|
+
const maybeAccount = await fetchMaybePluginRegistryV1(rpc, address, config);
|
|
35
|
+
assertAccountExists(maybeAccount);
|
|
36
|
+
return maybeAccount;
|
|
37
|
+
}
|
|
38
|
+
export async function fetchMaybePluginRegistryV1(rpc, address, config) {
|
|
39
|
+
const maybeAccount = await fetchEncodedAccount(rpc, address, config);
|
|
40
|
+
return decodePluginRegistryV1(maybeAccount);
|
|
41
|
+
}
|
|
42
|
+
export async function fetchAllPluginRegistryV1(rpc, addresses, config) {
|
|
43
|
+
const maybeAccounts = await fetchAllMaybePluginRegistryV1(rpc, addresses, config);
|
|
44
|
+
assertAccountsExist(maybeAccounts);
|
|
45
|
+
return maybeAccounts;
|
|
46
|
+
}
|
|
47
|
+
export async function fetchAllMaybePluginRegistryV1(rpc, addresses, config) {
|
|
48
|
+
const maybeAccounts = await fetchEncodedAccounts(rpc, addresses, config);
|
|
49
|
+
return maybeAccounts.map((maybeAccount) => decodePluginRegistryV1(maybeAccount));
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=pluginRegistryV1.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pluginRegistryV1.js","sourceRoot":"","sources":["../../../src/generated/accounts/pluginRegistryV1.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAsBH,OAAO,EACL,mBAAmB,EACnB,mBAAmB,EACnB,YAAY,EACZ,aAAa,EACb,mBAAmB,EACnB,oBAAoB,EACpB,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,gBAAgB,GACjB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,gCAAgC,EAChC,gCAAgC,EAChC,aAAa,EACb,aAAa,EACb,wBAAwB,EACxB,wBAAwB,GACzB,MAAM,mBAAmB,CAAC;AAc3B,sEAAsE;AACtE,MAAM,UAAU,0BAA0B;IACxC,OAAO,gBAAgB,CAAC;QACtB,CAAC,KAAK,EAAE,aAAa,EAAE,CAAC;QACxB,CAAC,UAAU,EAAE,eAAe,CAAC,wBAAwB,EAAE,CAAC,CAAC;QACzD,CAAC,kBAAkB,EAAE,eAAe,CAAC,gCAAgC,EAAE,CAAC,CAAC;KAC1E,CAAC,CAAC;AACL,CAAC;AAED,kEAAkE;AAClE,MAAM,UAAU,0BAA0B;IACxC,OAAO,gBAAgB,CAAC;QACtB,CAAC,KAAK,EAAE,aAAa,EAAE,CAAC;QACxB,CAAC,UAAU,EAAE,eAAe,CAA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C,CAAC;IACzE,OAAO,aAAa,CAAC,GAAG,CAAC,CAAC,YAAY,EAAE,EAAE,CACxC,sBAAsB,CAAC,YAAY,CAAC,CACrC,CAAC;AACJ,CAAC","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 Account,\n Address,\n Codec,\n Decoder,\n EncodedAccount,\n Encoder,\n FetchAccountConfig,\n FetchAccountsConfig,\n MaybeAccount,\n MaybeEncodedAccount,\n} from \"@solana/kit\";\nimport type {\n ExternalRegistryRecord,\n ExternalRegistryRecordArgs,\n Key,\n KeyArgs,\n RegistryRecord,\n RegistryRecordArgs,\n} from \"../types/index.js\";\nimport {\n assertAccountExists,\n assertAccountsExist,\n combineCodec,\n decodeAccount,\n fetchEncodedAccount,\n fetchEncodedAccounts,\n getArrayDecoder,\n getArrayEncoder,\n getStructDecoder,\n getStructEncoder,\n} from \"@solana/kit\";\nimport {\n getExternalRegistryRecordDecoder,\n getExternalRegistryRecordEncoder,\n getKeyDecoder,\n getKeyEncoder,\n getRegistryRecordDecoder,\n getRegistryRecordEncoder,\n} from \"../types/index.js\";\n\nexport interface PluginRegistryV1 {\n key: Key;\n registry: RegistryRecord[];\n externalRegistry: ExternalRegistryRecord[];\n}\n\nexport interface PluginRegistryV1Args {\n key: KeyArgs;\n registry: RegistryRecordArgs[];\n externalRegistry: ExternalRegistryRecordArgs[];\n}\n\n/** Gets the encoder for {@link PluginRegistryV1Args} account data. */\nexport function getPluginRegistryV1Encoder(): Encoder<PluginRegistryV1Args> {\n return getStructEncoder([\n [\"key\", getKeyEncoder()],\n [\"registry\", getArrayEncoder(getRegistryRecordEncoder())],\n [\"externalRegistry\", getArrayEncoder(getExternalRegistryRecordEncoder())],\n ]);\n}\n\n/** Gets the decoder for {@link PluginRegistryV1} account data. */\nexport function getPluginRegistryV1Decoder(): Decoder<PluginRegistryV1> {\n return getStructDecoder([\n [\"key\", getKeyDecoder()],\n [\"registry\", getArrayDecoder(getRegistryRecordDecoder())],\n [\"externalRegistry\", getArrayDecoder(getExternalRegistryRecordDecoder())],\n ]);\n}\n\n/** Gets the codec for {@link PluginRegistryV1} account data. */\nexport function getPluginRegistryV1Codec(): Codec<\n PluginRegistryV1Args,\n PluginRegistryV1\n> {\n return combineCodec(\n getPluginRegistryV1Encoder(),\n getPluginRegistryV1Decoder(),\n );\n}\n\nexport function decodePluginRegistryV1<TAddress extends string = string>(\n encodedAccount: EncodedAccount<TAddress>,\n): Account<PluginRegistryV1, TAddress>;\nexport function decodePluginRegistryV1<TAddress extends string = string>(\n encodedAccount: MaybeEncodedAccount<TAddress>,\n): MaybeAccount<PluginRegistryV1, TAddress>;\nexport function decodePluginRegistryV1<TAddress extends string = string>(\n encodedAccount: EncodedAccount<TAddress> | MaybeEncodedAccount<TAddress>,\n):\n | Account<PluginRegistryV1, TAddress>\n | MaybeAccount<PluginRegistryV1, TAddress> {\n return decodeAccount(\n encodedAccount as MaybeEncodedAccount<TAddress>,\n getPluginRegistryV1Decoder(),\n );\n}\n\nexport async function fetchPluginRegistryV1<TAddress extends string = string>(\n rpc: Parameters<typeof fetchEncodedAccount>[0],\n address: Address<TAddress>,\n config?: FetchAccountConfig,\n): Promise<Account<PluginRegistryV1, TAddress>> {\n const maybeAccount = await fetchMaybePluginRegistryV1(rpc, address, config);\n assertAccountExists(maybeAccount);\n return maybeAccount;\n}\n\nexport async function fetchMaybePluginRegistryV1<\n TAddress extends string = string,\n>(\n rpc: Parameters<typeof fetchEncodedAccount>[0],\n address: Address<TAddress>,\n config?: FetchAccountConfig,\n): Promise<MaybeAccount<PluginRegistryV1, TAddress>> {\n const maybeAccount = await fetchEncodedAccount(rpc, address, config);\n return decodePluginRegistryV1(maybeAccount);\n}\n\nexport async function fetchAllPluginRegistryV1(\n rpc: Parameters<typeof fetchEncodedAccounts>[0],\n addresses: Address[],\n config?: FetchAccountsConfig,\n): Promise<Account<PluginRegistryV1>[]> {\n const maybeAccounts = await fetchAllMaybePluginRegistryV1(\n rpc,\n addresses,\n config,\n );\n assertAccountsExist(maybeAccounts);\n return maybeAccounts;\n}\n\nexport async function fetchAllMaybePluginRegistryV1(\n rpc: Parameters<typeof fetchEncodedAccounts>[0],\n addresses: Address[],\n config?: FetchAccountsConfig,\n): Promise<MaybeAccount<PluginRegistryV1>[]> {\n const maybeAccounts = await fetchEncodedAccounts(rpc, addresses, config);\n return maybeAccounts.map((maybeAccount) =>\n decodePluginRegistryV1(maybeAccount),\n );\n}\n"]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
3
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
+
* to add features, then rerun Codama to update it.
|
|
5
|
+
*
|
|
6
|
+
* @see https://github.com/codama-idl/codama
|
|
7
|
+
*/
|
|
8
|
+
export * from "./mplCoreProgram.js";
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/generated/errors/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
3
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
+
* to add features, then rerun Codama to update it.
|
|
5
|
+
*
|
|
6
|
+
* @see https://github.com/codama-idl/codama
|
|
7
|
+
*/
|
|
8
|
+
export * from "./mplCoreProgram.js";
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/generated/errors/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,qBAAqB,CAAC","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\nexport * from \"./mplCoreProgram.js\";\n"]}
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
3
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
+
* to add features, then rerun Codama to update it.
|
|
5
|
+
*
|
|
6
|
+
* @see https://github.com/codama-idl/codama
|
|
7
|
+
*/
|
|
8
|
+
import type { Address, SOLANA_ERROR__INSTRUCTION_ERROR__CUSTOM, SolanaError } from "@solana/kit";
|
|
9
|
+
/** InvalidSystemProgram: Invalid System Program */
|
|
10
|
+
export declare const MPL_CORE_PROGRAM_ERROR__INVALID_SYSTEM_PROGRAM = 0;
|
|
11
|
+
/** DeserializationError: Error deserializing account */
|
|
12
|
+
export declare const MPL_CORE_PROGRAM_ERROR__DESERIALIZATION_ERROR = 1;
|
|
13
|
+
/** SerializationError: Error serializing account */
|
|
14
|
+
export declare const MPL_CORE_PROGRAM_ERROR__SERIALIZATION_ERROR = 2;
|
|
15
|
+
/** PluginsNotInitialized: Plugins not initialized */
|
|
16
|
+
export declare const MPL_CORE_PROGRAM_ERROR__PLUGINS_NOT_INITIALIZED = 3;
|
|
17
|
+
/** PluginNotFound: Plugin not found */
|
|
18
|
+
export declare const MPL_CORE_PROGRAM_ERROR__PLUGIN_NOT_FOUND = 4;
|
|
19
|
+
/** NumericalOverflow: Numerical Overflow */
|
|
20
|
+
export declare const MPL_CORE_PROGRAM_ERROR__NUMERICAL_OVERFLOW = 5;
|
|
21
|
+
/** IncorrectAccount: Incorrect account */
|
|
22
|
+
export declare const MPL_CORE_PROGRAM_ERROR__INCORRECT_ACCOUNT = 6;
|
|
23
|
+
/** IncorrectAssetHash: Incorrect asset hash */
|
|
24
|
+
export declare const MPL_CORE_PROGRAM_ERROR__INCORRECT_ASSET_HASH = 7;
|
|
25
|
+
/** InvalidPlugin: Invalid Plugin */
|
|
26
|
+
export declare const MPL_CORE_PROGRAM_ERROR__INVALID_PLUGIN = 8;
|
|
27
|
+
/** InvalidAuthority: Invalid Authority */
|
|
28
|
+
export declare const MPL_CORE_PROGRAM_ERROR__INVALID_AUTHORITY = 9;
|
|
29
|
+
/** AssetIsFrozen: Cannot transfer a frozen asset */
|
|
30
|
+
export declare const MPL_CORE_PROGRAM_ERROR__ASSET_IS_FROZEN = 10;
|
|
31
|
+
/** MissingCompressionProof: Missing compression proof */
|
|
32
|
+
export declare const MPL_CORE_PROGRAM_ERROR__MISSING_COMPRESSION_PROOF = 11;
|
|
33
|
+
/** CannotMigrateMasterWithSupply: Cannot migrate a master edition used for prints */
|
|
34
|
+
export declare const MPL_CORE_PROGRAM_ERROR__CANNOT_MIGRATE_MASTER_WITH_SUPPLY = 12;
|
|
35
|
+
/** CannotMigratePrints: Cannot migrate a print edition */
|
|
36
|
+
export declare const MPL_CORE_PROGRAM_ERROR__CANNOT_MIGRATE_PRINTS = 13;
|
|
37
|
+
/** CannotBurnCollection: Cannot burn a collection NFT */
|
|
38
|
+
export declare const MPL_CORE_PROGRAM_ERROR__CANNOT_BURN_COLLECTION = 14;
|
|
39
|
+
/** PluginAlreadyExists: Plugin already exists */
|
|
40
|
+
export declare const MPL_CORE_PROGRAM_ERROR__PLUGIN_ALREADY_EXISTS = 15;
|
|
41
|
+
/** NumericalOverflowError: Numerical overflow */
|
|
42
|
+
export declare const MPL_CORE_PROGRAM_ERROR__NUMERICAL_OVERFLOW_ERROR = 16;
|
|
43
|
+
/** AlreadyCompressed: Already compressed account */
|
|
44
|
+
export declare const MPL_CORE_PROGRAM_ERROR__ALREADY_COMPRESSED = 17;
|
|
45
|
+
/** AlreadyDecompressed: Already decompressed account */
|
|
46
|
+
export declare const MPL_CORE_PROGRAM_ERROR__ALREADY_DECOMPRESSED = 18;
|
|
47
|
+
/** InvalidCollection: Invalid Collection passed in */
|
|
48
|
+
export declare const MPL_CORE_PROGRAM_ERROR__INVALID_COLLECTION = 19;
|
|
49
|
+
/** MissingUpdateAuthority: Missing update authority */
|
|
50
|
+
export declare const MPL_CORE_PROGRAM_ERROR__MISSING_UPDATE_AUTHORITY = 20;
|
|
51
|
+
/** MissingNewOwner: Missing new owner */
|
|
52
|
+
export declare const MPL_CORE_PROGRAM_ERROR__MISSING_NEW_OWNER = 21;
|
|
53
|
+
/** MissingSystemProgram: Missing system program */
|
|
54
|
+
export declare const MPL_CORE_PROGRAM_ERROR__MISSING_SYSTEM_PROGRAM = 22;
|
|
55
|
+
/** NotAvailable: Feature not available */
|
|
56
|
+
export declare const MPL_CORE_PROGRAM_ERROR__NOT_AVAILABLE = 23;
|
|
57
|
+
/** InvalidAsset: Invalid Asset passed in */
|
|
58
|
+
export declare const MPL_CORE_PROGRAM_ERROR__INVALID_ASSET = 24;
|
|
59
|
+
/** MissingCollection: Missing collection */
|
|
60
|
+
export declare const MPL_CORE_PROGRAM_ERROR__MISSING_COLLECTION = 25;
|
|
61
|
+
/** NoApprovals: Neither the asset or any plugins have approved this operation */
|
|
62
|
+
export declare const MPL_CORE_PROGRAM_ERROR__NO_APPROVALS = 26;
|
|
63
|
+
/** CannotRedelegate: Plugin Manager cannot redelegate a delegated plugin without revoking first */
|
|
64
|
+
export declare const MPL_CORE_PROGRAM_ERROR__CANNOT_REDELEGATE = 27;
|
|
65
|
+
/** InvalidPluginSetting: Invalid setting for plugin */
|
|
66
|
+
export declare const MPL_CORE_PROGRAM_ERROR__INVALID_PLUGIN_SETTING = 28;
|
|
67
|
+
/** ConflictingAuthority: Cannot specify both an update authority and collection on an asset */
|
|
68
|
+
export declare const MPL_CORE_PROGRAM_ERROR__CONFLICTING_AUTHORITY = 29;
|
|
69
|
+
/** InvalidLogWrapperProgram: Invalid Log Wrapper Program */
|
|
70
|
+
export declare const MPL_CORE_PROGRAM_ERROR__INVALID_LOG_WRAPPER_PROGRAM = 30;
|
|
71
|
+
/** ExternalPluginAdapterNotFound: External Plugin Adapter not found */
|
|
72
|
+
export declare const MPL_CORE_PROGRAM_ERROR__EXTERNAL_PLUGIN_ADAPTER_NOT_FOUND = 31;
|
|
73
|
+
/** ExternalPluginAdapterAlreadyExists: External Plugin Adapter already exists */
|
|
74
|
+
export declare const MPL_CORE_PROGRAM_ERROR__EXTERNAL_PLUGIN_ADAPTER_ALREADY_EXISTS = 32;
|
|
75
|
+
/** MissingAsset: Missing asset needed for extra account PDA derivation */
|
|
76
|
+
export declare const MPL_CORE_PROGRAM_ERROR__MISSING_ASSET = 33;
|
|
77
|
+
/** MissingExternalPluginAdapterAccount: Missing account needed for external plugin adapter */
|
|
78
|
+
export declare const MPL_CORE_PROGRAM_ERROR__MISSING_EXTERNAL_PLUGIN_ADAPTER_ACCOUNT = 34;
|
|
79
|
+
/** OracleCanRejectOnly: Oracle external plugin adapter can only be configured to reject */
|
|
80
|
+
export declare const MPL_CORE_PROGRAM_ERROR__ORACLE_CAN_REJECT_ONLY = 35;
|
|
81
|
+
/** RequiresLifecycleCheck: External plugin adapter must have at least one lifecycle check */
|
|
82
|
+
export declare const MPL_CORE_PROGRAM_ERROR__REQUIRES_LIFECYCLE_CHECK = 36;
|
|
83
|
+
/** DuplicateLifecycleChecks: Duplicate lifecycle checks were provided for external plugin adapter */
|
|
84
|
+
export declare const MPL_CORE_PROGRAM_ERROR__DUPLICATE_LIFECYCLE_CHECKS = 37;
|
|
85
|
+
/** InvalidOracleAccountData: Could not read from oracle account */
|
|
86
|
+
export declare const MPL_CORE_PROGRAM_ERROR__INVALID_ORACLE_ACCOUNT_DATA = 38;
|
|
87
|
+
/** UninitializedOracleAccount: Oracle account is uninitialized */
|
|
88
|
+
export declare const MPL_CORE_PROGRAM_ERROR__UNINITIALIZED_ORACLE_ACCOUNT = 39;
|
|
89
|
+
/** MissingSigner: Missing required signer for operation */
|
|
90
|
+
export declare const MPL_CORE_PROGRAM_ERROR__MISSING_SIGNER = 40;
|
|
91
|
+
/** InvalidPluginOperation: Invalid plugin operation */
|
|
92
|
+
export declare const MPL_CORE_PROGRAM_ERROR__INVALID_PLUGIN_OPERATION = 41;
|
|
93
|
+
/** CollectionMustBeEmpty: Collection must be empty to be burned */
|
|
94
|
+
export declare const MPL_CORE_PROGRAM_ERROR__COLLECTION_MUST_BE_EMPTY = 42;
|
|
95
|
+
/** TwoDataSources: Two data sources provided, only one is allowed */
|
|
96
|
+
export declare const MPL_CORE_PROGRAM_ERROR__TWO_DATA_SOURCES = 43;
|
|
97
|
+
/** UnsupportedOperation: External Plugin does not support this operation */
|
|
98
|
+
export declare const MPL_CORE_PROGRAM_ERROR__UNSUPPORTED_OPERATION = 44;
|
|
99
|
+
/** NoDataSources: No data sources provided, one is required */
|
|
100
|
+
export declare const MPL_CORE_PROGRAM_ERROR__NO_DATA_SOURCES = 45;
|
|
101
|
+
/** InvalidPluginAdapterTarget: This plugin adapter cannot be added to an Asset */
|
|
102
|
+
export declare const MPL_CORE_PROGRAM_ERROR__INVALID_PLUGIN_ADAPTER_TARGET = 46;
|
|
103
|
+
/** CannotAddDataSection: Cannot add a Data Section without a linked external plugin */
|
|
104
|
+
export declare const MPL_CORE_PROGRAM_ERROR__CANNOT_ADD_DATA_SECTION = 47;
|
|
105
|
+
/** PermanentDelegatesPreventMove: Cannot move asset to collection with permanent delegates */
|
|
106
|
+
export declare const MPL_CORE_PROGRAM_ERROR__PERMANENT_DELEGATES_PREVENT_MOVE = 48;
|
|
107
|
+
/** InvalidExecutePda: Invalid Signing PDA for Asset or Collection Execute */
|
|
108
|
+
export declare const MPL_CORE_PROGRAM_ERROR__INVALID_EXECUTE_PDA = 49;
|
|
109
|
+
/** BlockedByBubblegumV2: Bubblegum V2 Plugin limits other plugins */
|
|
110
|
+
export declare const MPL_CORE_PROGRAM_ERROR__BLOCKED_BY_BUBBLEGUM_V2 = 50;
|
|
111
|
+
/** AgentIdentityMustSign: Agent Identity Program must sign */
|
|
112
|
+
export declare const MPL_CORE_PROGRAM_ERROR__AGENT_IDENTITY_MUST_SIGN = 51;
|
|
113
|
+
/** GroupMustBeEmpty: Group must be empty to be closed */
|
|
114
|
+
export declare const MPL_CORE_PROGRAM_ERROR__GROUP_MUST_BE_EMPTY = 52;
|
|
115
|
+
/** DuplicateEntry: Duplicate entry provided when adding relationships to a group */
|
|
116
|
+
export declare const MPL_CORE_PROGRAM_ERROR__DUPLICATE_ENTRY = 53;
|
|
117
|
+
/** GroupVectorFull: Group vector is at maximum capacity */
|
|
118
|
+
export declare const MPL_CORE_PROGRAM_ERROR__GROUP_VECTOR_FULL = 54;
|
|
119
|
+
/** GroupNestingDepthExceeded: Group nesting depth exceeded */
|
|
120
|
+
export declare const MPL_CORE_PROGRAM_ERROR__GROUP_NESTING_DEPTH_EXCEEDED = 55;
|
|
121
|
+
/** InconsistentGroupRelationship: Bidirectional group relationship is inconsistent */
|
|
122
|
+
export declare const MPL_CORE_PROGRAM_ERROR__INCONSISTENT_GROUP_RELATIONSHIP = 56;
|
|
123
|
+
export type MplCoreProgramError = typeof MPL_CORE_PROGRAM_ERROR__AGENT_IDENTITY_MUST_SIGN | typeof MPL_CORE_PROGRAM_ERROR__ALREADY_COMPRESSED | typeof MPL_CORE_PROGRAM_ERROR__ALREADY_DECOMPRESSED | typeof MPL_CORE_PROGRAM_ERROR__ASSET_IS_FROZEN | typeof MPL_CORE_PROGRAM_ERROR__BLOCKED_BY_BUBBLEGUM_V2 | typeof MPL_CORE_PROGRAM_ERROR__CANNOT_ADD_DATA_SECTION | typeof MPL_CORE_PROGRAM_ERROR__CANNOT_BURN_COLLECTION | typeof MPL_CORE_PROGRAM_ERROR__CANNOT_MIGRATE_MASTER_WITH_SUPPLY | typeof MPL_CORE_PROGRAM_ERROR__CANNOT_MIGRATE_PRINTS | typeof MPL_CORE_PROGRAM_ERROR__CANNOT_REDELEGATE | typeof MPL_CORE_PROGRAM_ERROR__COLLECTION_MUST_BE_EMPTY | typeof MPL_CORE_PROGRAM_ERROR__CONFLICTING_AUTHORITY | typeof MPL_CORE_PROGRAM_ERROR__DESERIALIZATION_ERROR | typeof MPL_CORE_PROGRAM_ERROR__DUPLICATE_ENTRY | typeof MPL_CORE_PROGRAM_ERROR__DUPLICATE_LIFECYCLE_CHECKS | typeof MPL_CORE_PROGRAM_ERROR__EXTERNAL_PLUGIN_ADAPTER_ALREADY_EXISTS | typeof MPL_CORE_PROGRAM_ERROR__EXTERNAL_PLUGIN_ADAPTER_NOT_FOUND | typeof MPL_CORE_PROGRAM_ERROR__GROUP_MUST_BE_EMPTY | typeof MPL_CORE_PROGRAM_ERROR__GROUP_NESTING_DEPTH_EXCEEDED | typeof MPL_CORE_PROGRAM_ERROR__GROUP_VECTOR_FULL | typeof MPL_CORE_PROGRAM_ERROR__INCONSISTENT_GROUP_RELATIONSHIP | typeof MPL_CORE_PROGRAM_ERROR__INCORRECT_ACCOUNT | typeof MPL_CORE_PROGRAM_ERROR__INCORRECT_ASSET_HASH | typeof MPL_CORE_PROGRAM_ERROR__INVALID_ASSET | typeof MPL_CORE_PROGRAM_ERROR__INVALID_AUTHORITY | typeof MPL_CORE_PROGRAM_ERROR__INVALID_COLLECTION | typeof MPL_CORE_PROGRAM_ERROR__INVALID_EXECUTE_PDA | typeof MPL_CORE_PROGRAM_ERROR__INVALID_LOG_WRAPPER_PROGRAM | typeof MPL_CORE_PROGRAM_ERROR__INVALID_ORACLE_ACCOUNT_DATA | typeof MPL_CORE_PROGRAM_ERROR__INVALID_PLUGIN | typeof MPL_CORE_PROGRAM_ERROR__INVALID_PLUGIN_ADAPTER_TARGET | typeof MPL_CORE_PROGRAM_ERROR__INVALID_PLUGIN_OPERATION | typeof MPL_CORE_PROGRAM_ERROR__INVALID_PLUGIN_SETTING | typeof MPL_CORE_PROGRAM_ERROR__INVALID_SYSTEM_PROGRAM | typeof MPL_CORE_PROGRAM_ERROR__MISSING_ASSET | typeof MPL_CORE_PROGRAM_ERROR__MISSING_COLLECTION | typeof MPL_CORE_PROGRAM_ERROR__MISSING_COMPRESSION_PROOF | typeof MPL_CORE_PROGRAM_ERROR__MISSING_EXTERNAL_PLUGIN_ADAPTER_ACCOUNT | typeof MPL_CORE_PROGRAM_ERROR__MISSING_NEW_OWNER | typeof MPL_CORE_PROGRAM_ERROR__MISSING_SIGNER | typeof MPL_CORE_PROGRAM_ERROR__MISSING_SYSTEM_PROGRAM | typeof MPL_CORE_PROGRAM_ERROR__MISSING_UPDATE_AUTHORITY | typeof MPL_CORE_PROGRAM_ERROR__NO_APPROVALS | typeof MPL_CORE_PROGRAM_ERROR__NO_DATA_SOURCES | typeof MPL_CORE_PROGRAM_ERROR__NOT_AVAILABLE | typeof MPL_CORE_PROGRAM_ERROR__NUMERICAL_OVERFLOW | typeof MPL_CORE_PROGRAM_ERROR__NUMERICAL_OVERFLOW_ERROR | typeof MPL_CORE_PROGRAM_ERROR__ORACLE_CAN_REJECT_ONLY | typeof MPL_CORE_PROGRAM_ERROR__PERMANENT_DELEGATES_PREVENT_MOVE | typeof MPL_CORE_PROGRAM_ERROR__PLUGIN_ALREADY_EXISTS | typeof MPL_CORE_PROGRAM_ERROR__PLUGIN_NOT_FOUND | typeof MPL_CORE_PROGRAM_ERROR__PLUGINS_NOT_INITIALIZED | typeof MPL_CORE_PROGRAM_ERROR__REQUIRES_LIFECYCLE_CHECK | typeof MPL_CORE_PROGRAM_ERROR__SERIALIZATION_ERROR | typeof MPL_CORE_PROGRAM_ERROR__TWO_DATA_SOURCES | typeof MPL_CORE_PROGRAM_ERROR__UNINITIALIZED_ORACLE_ACCOUNT | typeof MPL_CORE_PROGRAM_ERROR__UNSUPPORTED_OPERATION;
|
|
124
|
+
export declare function getMplCoreProgramErrorMessage(code: MplCoreProgramError): string;
|
|
125
|
+
export declare function isMplCoreProgramError<TProgramErrorCode extends MplCoreProgramError>(error: unknown, transactionMessage: {
|
|
126
|
+
instructions: Record<number, {
|
|
127
|
+
programAddress: Address;
|
|
128
|
+
}>;
|
|
129
|
+
}, code?: TProgramErrorCode): error is SolanaError<typeof SOLANA_ERROR__INSTRUCTION_ERROR__CUSTOM> & Readonly<{
|
|
130
|
+
context: Readonly<{
|
|
131
|
+
code: TProgramErrorCode;
|
|
132
|
+
}>;
|
|
133
|
+
}>;
|
|
134
|
+
//# sourceMappingURL=mplCoreProgram.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mplCoreProgram.d.ts","sourceRoot":"","sources":["../../../src/generated/errors/mplCoreProgram.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EACV,OAAO,EACP,uCAAuC,EACvC,WAAW,EACZ,MAAM,aAAa,CAAC;AAIrB,mDAAmD;AACnD,eAAO,MAAM,8CAA8C,IAAM,CAAC;AAClE,wDAAwD;AACxD,eAAO,MAAM,6CAA6C,IAAM,CAAC;AACjE,oDAAoD;AACpD,eAAO,MAAM,2CAA2C,IAAM,CAAC;AAC/D,qDAAqD;AACrD,eAAO,MAAM,+CAA+C,IAAM,CAAC;AACnE,uCAAuC;AACvC,eAAO,MAAM,wCAAwC,IAAM,CAAC;AAC5D,4CAA4C;AAC5C,eAAO,MAAM,0CAA0C,IAAM,CAAC;AAC9D,0CAA0C;AAC1C,eAAO,MAAM,yCAAyC,IAAM,CAAC;AAC7D,+CAA+C;AAC/C,eAAO,MAAM,4CAA4C,IAAM,CAAC;AAChE,oCAAoC;AACpC,eAAO,MAAM,sCAAsC,IAAM,CAAC;AAC1D,0CAA0C;AAC1C,eAAO,MAAM,yCAAyC,IAAM,CAAC;AAC7D,oDAAoD;AACpD,eAAO,MAAM,uCAAuC,KAAM,CAAC;AAC3D,yDAAyD;AACzD,eAAO,MAAM,iDAAiD,KAAM,CAAC;AACrE,qFAAqF;AACrF,eAAO,MAAM,yDAAyD,KAAM,CAAC;AAC7E,0DAA0D;AAC1D,eAAO,MAAM,6CAA6C,KAAM,CAAC;AACjE,yDAAyD;AACzD,eAAO,MAAM,8CAA8C,KAAM,C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E;QAAE,cAAc,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;CAC3D,EACD,IAAI,CAAC,EAAE,iBAAiB,GACvB,KAAK,IAAI,WAAW,CAAC,OAAO,uCAAuC,CAAC,GACrE,QAAQ,CAAC;IAAE,OAAO,EAAE,QAAQ,CAAC;QAAE,IAAI,EAAE,iBAAiB,CAAA;KAAE,CAAC,CAAA;CAAE,CAAC,CAO7D"}
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
3
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
+
* to add features, then rerun Codama to update it.
|
|
5
|
+
*
|
|
6
|
+
* @see https://github.com/codama-idl/codama
|
|
7
|
+
*/
|
|
8
|
+
import { isProgramError } from "@solana/kit";
|
|
9
|
+
import { MPL_CORE_PROGRAM_PROGRAM_ADDRESS } from "../programs/index.js";
|
|
10
|
+
/** InvalidSystemProgram: Invalid System Program */
|
|
11
|
+
export const MPL_CORE_PROGRAM_ERROR__INVALID_SYSTEM_PROGRAM = 0x0; // 0
|
|
12
|
+
/** DeserializationError: Error deserializing account */
|
|
13
|
+
export const MPL_CORE_PROGRAM_ERROR__DESERIALIZATION_ERROR = 0x1; // 1
|
|
14
|
+
/** SerializationError: Error serializing account */
|
|
15
|
+
export const MPL_CORE_PROGRAM_ERROR__SERIALIZATION_ERROR = 0x2; // 2
|
|
16
|
+
/** PluginsNotInitialized: Plugins not initialized */
|
|
17
|
+
export const MPL_CORE_PROGRAM_ERROR__PLUGINS_NOT_INITIALIZED = 0x3; // 3
|
|
18
|
+
/** PluginNotFound: Plugin not found */
|
|
19
|
+
export const MPL_CORE_PROGRAM_ERROR__PLUGIN_NOT_FOUND = 0x4; // 4
|
|
20
|
+
/** NumericalOverflow: Numerical Overflow */
|
|
21
|
+
export const MPL_CORE_PROGRAM_ERROR__NUMERICAL_OVERFLOW = 0x5; // 5
|
|
22
|
+
/** IncorrectAccount: Incorrect account */
|
|
23
|
+
export const MPL_CORE_PROGRAM_ERROR__INCORRECT_ACCOUNT = 0x6; // 6
|
|
24
|
+
/** IncorrectAssetHash: Incorrect asset hash */
|
|
25
|
+
export const MPL_CORE_PROGRAM_ERROR__INCORRECT_ASSET_HASH = 0x7; // 7
|
|
26
|
+
/** InvalidPlugin: Invalid Plugin */
|
|
27
|
+
export const MPL_CORE_PROGRAM_ERROR__INVALID_PLUGIN = 0x8; // 8
|
|
28
|
+
/** InvalidAuthority: Invalid Authority */
|
|
29
|
+
export const MPL_CORE_PROGRAM_ERROR__INVALID_AUTHORITY = 0x9; // 9
|
|
30
|
+
/** AssetIsFrozen: Cannot transfer a frozen asset */
|
|
31
|
+
export const MPL_CORE_PROGRAM_ERROR__ASSET_IS_FROZEN = 0xa; // 10
|
|
32
|
+
/** MissingCompressionProof: Missing compression proof */
|
|
33
|
+
export const MPL_CORE_PROGRAM_ERROR__MISSING_COMPRESSION_PROOF = 0xb; // 11
|
|
34
|
+
/** CannotMigrateMasterWithSupply: Cannot migrate a master edition used for prints */
|
|
35
|
+
export const MPL_CORE_PROGRAM_ERROR__CANNOT_MIGRATE_MASTER_WITH_SUPPLY = 0xc; // 12
|
|
36
|
+
/** CannotMigratePrints: Cannot migrate a print edition */
|
|
37
|
+
export const MPL_CORE_PROGRAM_ERROR__CANNOT_MIGRATE_PRINTS = 0xd; // 13
|
|
38
|
+
/** CannotBurnCollection: Cannot burn a collection NFT */
|
|
39
|
+
export const MPL_CORE_PROGRAM_ERROR__CANNOT_BURN_COLLECTION = 0xe; // 14
|
|
40
|
+
/** PluginAlreadyExists: Plugin already exists */
|
|
41
|
+
export const MPL_CORE_PROGRAM_ERROR__PLUGIN_ALREADY_EXISTS = 0xf; // 15
|
|
42
|
+
/** NumericalOverflowError: Numerical overflow */
|
|
43
|
+
export const MPL_CORE_PROGRAM_ERROR__NUMERICAL_OVERFLOW_ERROR = 0x10; // 16
|
|
44
|
+
/** AlreadyCompressed: Already compressed account */
|
|
45
|
+
export const MPL_CORE_PROGRAM_ERROR__ALREADY_COMPRESSED = 0x11; // 17
|
|
46
|
+
/** AlreadyDecompressed: Already decompressed account */
|
|
47
|
+
export const MPL_CORE_PROGRAM_ERROR__ALREADY_DECOMPRESSED = 0x12; // 18
|
|
48
|
+
/** InvalidCollection: Invalid Collection passed in */
|
|
49
|
+
export const MPL_CORE_PROGRAM_ERROR__INVALID_COLLECTION = 0x13; // 19
|
|
50
|
+
/** MissingUpdateAuthority: Missing update authority */
|
|
51
|
+
export const MPL_CORE_PROGRAM_ERROR__MISSING_UPDATE_AUTHORITY = 0x14; // 20
|
|
52
|
+
/** MissingNewOwner: Missing new owner */
|
|
53
|
+
export const MPL_CORE_PROGRAM_ERROR__MISSING_NEW_OWNER = 0x15; // 21
|
|
54
|
+
/** MissingSystemProgram: Missing system program */
|
|
55
|
+
export const MPL_CORE_PROGRAM_ERROR__MISSING_SYSTEM_PROGRAM = 0x16; // 22
|
|
56
|
+
/** NotAvailable: Feature not available */
|
|
57
|
+
export const MPL_CORE_PROGRAM_ERROR__NOT_AVAILABLE = 0x17; // 23
|
|
58
|
+
/** InvalidAsset: Invalid Asset passed in */
|
|
59
|
+
export const MPL_CORE_PROGRAM_ERROR__INVALID_ASSET = 0x18; // 24
|
|
60
|
+
/** MissingCollection: Missing collection */
|
|
61
|
+
export const MPL_CORE_PROGRAM_ERROR__MISSING_COLLECTION = 0x19; // 25
|
|
62
|
+
/** NoApprovals: Neither the asset or any plugins have approved this operation */
|
|
63
|
+
export const MPL_CORE_PROGRAM_ERROR__NO_APPROVALS = 0x1a; // 26
|
|
64
|
+
/** CannotRedelegate: Plugin Manager cannot redelegate a delegated plugin without revoking first */
|
|
65
|
+
export const MPL_CORE_PROGRAM_ERROR__CANNOT_REDELEGATE = 0x1b; // 27
|
|
66
|
+
/** InvalidPluginSetting: Invalid setting for plugin */
|
|
67
|
+
export const MPL_CORE_PROGRAM_ERROR__INVALID_PLUGIN_SETTING = 0x1c; // 28
|
|
68
|
+
/** ConflictingAuthority: Cannot specify both an update authority and collection on an asset */
|
|
69
|
+
export const MPL_CORE_PROGRAM_ERROR__CONFLICTING_AUTHORITY = 0x1d; // 29
|
|
70
|
+
/** InvalidLogWrapperProgram: Invalid Log Wrapper Program */
|
|
71
|
+
export const MPL_CORE_PROGRAM_ERROR__INVALID_LOG_WRAPPER_PROGRAM = 0x1e; // 30
|
|
72
|
+
/** ExternalPluginAdapterNotFound: External Plugin Adapter not found */
|
|
73
|
+
export const MPL_CORE_PROGRAM_ERROR__EXTERNAL_PLUGIN_ADAPTER_NOT_FOUND = 0x1f; // 31
|
|
74
|
+
/** ExternalPluginAdapterAlreadyExists: External Plugin Adapter already exists */
|
|
75
|
+
export const MPL_CORE_PROGRAM_ERROR__EXTERNAL_PLUGIN_ADAPTER_ALREADY_EXISTS = 0x20; // 32
|
|
76
|
+
/** MissingAsset: Missing asset needed for extra account PDA derivation */
|
|
77
|
+
export const MPL_CORE_PROGRAM_ERROR__MISSING_ASSET = 0x21; // 33
|
|
78
|
+
/** MissingExternalPluginAdapterAccount: Missing account needed for external plugin adapter */
|
|
79
|
+
export const MPL_CORE_PROGRAM_ERROR__MISSING_EXTERNAL_PLUGIN_ADAPTER_ACCOUNT = 0x22; // 34
|
|
80
|
+
/** OracleCanRejectOnly: Oracle external plugin adapter can only be configured to reject */
|
|
81
|
+
export const MPL_CORE_PROGRAM_ERROR__ORACLE_CAN_REJECT_ONLY = 0x23; // 35
|
|
82
|
+
/** RequiresLifecycleCheck: External plugin adapter must have at least one lifecycle check */
|
|
83
|
+
export const MPL_CORE_PROGRAM_ERROR__REQUIRES_LIFECYCLE_CHECK = 0x24; // 36
|
|
84
|
+
/** DuplicateLifecycleChecks: Duplicate lifecycle checks were provided for external plugin adapter */
|
|
85
|
+
export const MPL_CORE_PROGRAM_ERROR__DUPLICATE_LIFECYCLE_CHECKS = 0x25; // 37
|
|
86
|
+
/** InvalidOracleAccountData: Could not read from oracle account */
|
|
87
|
+
export const MPL_CORE_PROGRAM_ERROR__INVALID_ORACLE_ACCOUNT_DATA = 0x26; // 38
|
|
88
|
+
/** UninitializedOracleAccount: Oracle account is uninitialized */
|
|
89
|
+
export const MPL_CORE_PROGRAM_ERROR__UNINITIALIZED_ORACLE_ACCOUNT = 0x27; // 39
|
|
90
|
+
/** MissingSigner: Missing required signer for operation */
|
|
91
|
+
export const MPL_CORE_PROGRAM_ERROR__MISSING_SIGNER = 0x28; // 40
|
|
92
|
+
/** InvalidPluginOperation: Invalid plugin operation */
|
|
93
|
+
export const MPL_CORE_PROGRAM_ERROR__INVALID_PLUGIN_OPERATION = 0x29; // 41
|
|
94
|
+
/** CollectionMustBeEmpty: Collection must be empty to be burned */
|
|
95
|
+
export const MPL_CORE_PROGRAM_ERROR__COLLECTION_MUST_BE_EMPTY = 0x2a; // 42
|
|
96
|
+
/** TwoDataSources: Two data sources provided, only one is allowed */
|
|
97
|
+
export const MPL_CORE_PROGRAM_ERROR__TWO_DATA_SOURCES = 0x2b; // 43
|
|
98
|
+
/** UnsupportedOperation: External Plugin does not support this operation */
|
|
99
|
+
export const MPL_CORE_PROGRAM_ERROR__UNSUPPORTED_OPERATION = 0x2c; // 44
|
|
100
|
+
/** NoDataSources: No data sources provided, one is required */
|
|
101
|
+
export const MPL_CORE_PROGRAM_ERROR__NO_DATA_SOURCES = 0x2d; // 45
|
|
102
|
+
/** InvalidPluginAdapterTarget: This plugin adapter cannot be added to an Asset */
|
|
103
|
+
export const MPL_CORE_PROGRAM_ERROR__INVALID_PLUGIN_ADAPTER_TARGET = 0x2e; // 46
|
|
104
|
+
/** CannotAddDataSection: Cannot add a Data Section without a linked external plugin */
|
|
105
|
+
export const MPL_CORE_PROGRAM_ERROR__CANNOT_ADD_DATA_SECTION = 0x2f; // 47
|
|
106
|
+
/** PermanentDelegatesPreventMove: Cannot move asset to collection with permanent delegates */
|
|
107
|
+
export const MPL_CORE_PROGRAM_ERROR__PERMANENT_DELEGATES_PREVENT_MOVE = 0x30; // 48
|
|
108
|
+
/** InvalidExecutePda: Invalid Signing PDA for Asset or Collection Execute */
|
|
109
|
+
export const MPL_CORE_PROGRAM_ERROR__INVALID_EXECUTE_PDA = 0x31; // 49
|
|
110
|
+
/** BlockedByBubblegumV2: Bubblegum V2 Plugin limits other plugins */
|
|
111
|
+
export const MPL_CORE_PROGRAM_ERROR__BLOCKED_BY_BUBBLEGUM_V2 = 0x32; // 50
|
|
112
|
+
/** AgentIdentityMustSign: Agent Identity Program must sign */
|
|
113
|
+
export const MPL_CORE_PROGRAM_ERROR__AGENT_IDENTITY_MUST_SIGN = 0x33; // 51
|
|
114
|
+
/** GroupMustBeEmpty: Group must be empty to be closed */
|
|
115
|
+
export const MPL_CORE_PROGRAM_ERROR__GROUP_MUST_BE_EMPTY = 0x34; // 52
|
|
116
|
+
/** DuplicateEntry: Duplicate entry provided when adding relationships to a group */
|
|
117
|
+
export const MPL_CORE_PROGRAM_ERROR__DUPLICATE_ENTRY = 0x35; // 53
|
|
118
|
+
/** GroupVectorFull: Group vector is at maximum capacity */
|
|
119
|
+
export const MPL_CORE_PROGRAM_ERROR__GROUP_VECTOR_FULL = 0x36; // 54
|
|
120
|
+
/** GroupNestingDepthExceeded: Group nesting depth exceeded */
|
|
121
|
+
export const MPL_CORE_PROGRAM_ERROR__GROUP_NESTING_DEPTH_EXCEEDED = 0x37; // 55
|
|
122
|
+
/** InconsistentGroupRelationship: Bidirectional group relationship is inconsistent */
|
|
123
|
+
export const MPL_CORE_PROGRAM_ERROR__INCONSISTENT_GROUP_RELATIONSHIP = 0x38; // 56
|
|
124
|
+
let mplCoreProgramErrorMessages;
|
|
125
|
+
if (process.env.NODE_ENV !== "production") {
|
|
126
|
+
mplCoreProgramErrorMessages = {
|
|
127
|
+
[MPL_CORE_PROGRAM_ERROR__AGENT_IDENTITY_MUST_SIGN]: "Agent Identity Program must sign",
|
|
128
|
+
[MPL_CORE_PROGRAM_ERROR__ALREADY_COMPRESSED]: "Already compressed account",
|
|
129
|
+
[MPL_CORE_PROGRAM_ERROR__ALREADY_DECOMPRESSED]: "Already decompressed account",
|
|
130
|
+
[MPL_CORE_PROGRAM_ERROR__ASSET_IS_FROZEN]: "Cannot transfer a frozen asset",
|
|
131
|
+
[MPL_CORE_PROGRAM_ERROR__BLOCKED_BY_BUBBLEGUM_V2]: "Bubblegum V2 Plugin limits other plugins",
|
|
132
|
+
[MPL_CORE_PROGRAM_ERROR__CANNOT_ADD_DATA_SECTION]: "Cannot add a Data Section without a linked external plugin",
|
|
133
|
+
[MPL_CORE_PROGRAM_ERROR__CANNOT_BURN_COLLECTION]: "Cannot burn a collection NFT",
|
|
134
|
+
[MPL_CORE_PROGRAM_ERROR__CANNOT_MIGRATE_MASTER_WITH_SUPPLY]: "Cannot migrate a master edition used for prints",
|
|
135
|
+
[MPL_CORE_PROGRAM_ERROR__CANNOT_MIGRATE_PRINTS]: "Cannot migrate a print edition",
|
|
136
|
+
[MPL_CORE_PROGRAM_ERROR__CANNOT_REDELEGATE]: "Plugin Manager cannot redelegate a delegated plugin without revoking first",
|
|
137
|
+
[MPL_CORE_PROGRAM_ERROR__COLLECTION_MUST_BE_EMPTY]: "Collection must be empty to be burned",
|
|
138
|
+
[MPL_CORE_PROGRAM_ERROR__CONFLICTING_AUTHORITY]: "Cannot specify both an update authority and collection on an asset",
|
|
139
|
+
[MPL_CORE_PROGRAM_ERROR__DESERIALIZATION_ERROR]: "Error deserializing account",
|
|
140
|
+
[MPL_CORE_PROGRAM_ERROR__DUPLICATE_ENTRY]: "Duplicate entry provided when adding relationships to a group",
|
|
141
|
+
[MPL_CORE_PROGRAM_ERROR__DUPLICATE_LIFECYCLE_CHECKS]: "Duplicate lifecycle checks were provided for external plugin adapter ",
|
|
142
|
+
[MPL_CORE_PROGRAM_ERROR__EXTERNAL_PLUGIN_ADAPTER_ALREADY_EXISTS]: "External Plugin Adapter already exists",
|
|
143
|
+
[MPL_CORE_PROGRAM_ERROR__EXTERNAL_PLUGIN_ADAPTER_NOT_FOUND]: "External Plugin Adapter not found",
|
|
144
|
+
[MPL_CORE_PROGRAM_ERROR__GROUP_MUST_BE_EMPTY]: "Group must be empty to be closed",
|
|
145
|
+
[MPL_CORE_PROGRAM_ERROR__GROUP_NESTING_DEPTH_EXCEEDED]: "Group nesting depth exceeded",
|
|
146
|
+
[MPL_CORE_PROGRAM_ERROR__GROUP_VECTOR_FULL]: "Group vector is at maximum capacity",
|
|
147
|
+
[MPL_CORE_PROGRAM_ERROR__INCONSISTENT_GROUP_RELATIONSHIP]: "Bidirectional group relationship is inconsistent",
|
|
148
|
+
[MPL_CORE_PROGRAM_ERROR__INCORRECT_ACCOUNT]: "Incorrect account",
|
|
149
|
+
[MPL_CORE_PROGRAM_ERROR__INCORRECT_ASSET_HASH]: "Incorrect asset hash",
|
|
150
|
+
[MPL_CORE_PROGRAM_ERROR__INVALID_ASSET]: "Invalid Asset passed in",
|
|
151
|
+
[MPL_CORE_PROGRAM_ERROR__INVALID_AUTHORITY]: "Invalid Authority",
|
|
152
|
+
[MPL_CORE_PROGRAM_ERROR__INVALID_COLLECTION]: "Invalid Collection passed in",
|
|
153
|
+
[MPL_CORE_PROGRAM_ERROR__INVALID_EXECUTE_PDA]: "Invalid Signing PDA for Asset or Collection Execute",
|
|
154
|
+
[MPL_CORE_PROGRAM_ERROR__INVALID_LOG_WRAPPER_PROGRAM]: "Invalid Log Wrapper Program",
|
|
155
|
+
[MPL_CORE_PROGRAM_ERROR__INVALID_ORACLE_ACCOUNT_DATA]: "Could not read from oracle account",
|
|
156
|
+
[MPL_CORE_PROGRAM_ERROR__INVALID_PLUGIN]: "Invalid Plugin",
|
|
157
|
+
[MPL_CORE_PROGRAM_ERROR__INVALID_PLUGIN_ADAPTER_TARGET]: "This plugin adapter cannot be added to an Asset",
|
|
158
|
+
[MPL_CORE_PROGRAM_ERROR__INVALID_PLUGIN_OPERATION]: "Invalid plugin operation",
|
|
159
|
+
[MPL_CORE_PROGRAM_ERROR__INVALID_PLUGIN_SETTING]: "Invalid setting for plugin",
|
|
160
|
+
[MPL_CORE_PROGRAM_ERROR__INVALID_SYSTEM_PROGRAM]: "Invalid System Program",
|
|
161
|
+
[MPL_CORE_PROGRAM_ERROR__MISSING_ASSET]: "Missing asset needed for extra account PDA derivation",
|
|
162
|
+
[MPL_CORE_PROGRAM_ERROR__MISSING_COLLECTION]: "Missing collection",
|
|
163
|
+
[MPL_CORE_PROGRAM_ERROR__MISSING_COMPRESSION_PROOF]: "Missing compression proof",
|
|
164
|
+
[MPL_CORE_PROGRAM_ERROR__MISSING_EXTERNAL_PLUGIN_ADAPTER_ACCOUNT]: "Missing account needed for external plugin adapter",
|
|
165
|
+
[MPL_CORE_PROGRAM_ERROR__MISSING_NEW_OWNER]: "Missing new owner",
|
|
166
|
+
[MPL_CORE_PROGRAM_ERROR__MISSING_SIGNER]: "Missing required signer for operation",
|
|
167
|
+
[MPL_CORE_PROGRAM_ERROR__MISSING_SYSTEM_PROGRAM]: "Missing system program",
|
|
168
|
+
[MPL_CORE_PROGRAM_ERROR__MISSING_UPDATE_AUTHORITY]: "Missing update authority",
|
|
169
|
+
[MPL_CORE_PROGRAM_ERROR__NO_APPROVALS]: "Neither the asset or any plugins have approved this operation",
|
|
170
|
+
[MPL_CORE_PROGRAM_ERROR__NO_DATA_SOURCES]: "No data sources provided, one is required",
|
|
171
|
+
[MPL_CORE_PROGRAM_ERROR__NOT_AVAILABLE]: "Feature not available",
|
|
172
|
+
[MPL_CORE_PROGRAM_ERROR__NUMERICAL_OVERFLOW]: "Numerical Overflow",
|
|
173
|
+
[MPL_CORE_PROGRAM_ERROR__NUMERICAL_OVERFLOW_ERROR]: "Numerical overflow",
|
|
174
|
+
[MPL_CORE_PROGRAM_ERROR__ORACLE_CAN_REJECT_ONLY]: "Oracle external plugin adapter can only be configured to reject",
|
|
175
|
+
[MPL_CORE_PROGRAM_ERROR__PERMANENT_DELEGATES_PREVENT_MOVE]: "Cannot move asset to collection with permanent delegates",
|
|
176
|
+
[MPL_CORE_PROGRAM_ERROR__PLUGIN_ALREADY_EXISTS]: "Plugin already exists",
|
|
177
|
+
[MPL_CORE_PROGRAM_ERROR__PLUGIN_NOT_FOUND]: "Plugin not found",
|
|
178
|
+
[MPL_CORE_PROGRAM_ERROR__PLUGINS_NOT_INITIALIZED]: "Plugins not initialized",
|
|
179
|
+
[MPL_CORE_PROGRAM_ERROR__REQUIRES_LIFECYCLE_CHECK]: "External plugin adapter must have at least one lifecycle check",
|
|
180
|
+
[MPL_CORE_PROGRAM_ERROR__SERIALIZATION_ERROR]: "Error serializing account",
|
|
181
|
+
[MPL_CORE_PROGRAM_ERROR__TWO_DATA_SOURCES]: "Two data sources provided, only one is allowed",
|
|
182
|
+
[MPL_CORE_PROGRAM_ERROR__UNINITIALIZED_ORACLE_ACCOUNT]: "Oracle account is uninitialized",
|
|
183
|
+
[MPL_CORE_PROGRAM_ERROR__UNSUPPORTED_OPERATION]: "External Plugin does not support this operation",
|
|
184
|
+
};
|
|
185
|
+
}
|
|
186
|
+
export function getMplCoreProgramErrorMessage(code) {
|
|
187
|
+
if (process.env.NODE_ENV !== "production") {
|
|
188
|
+
return mplCoreProgramErrorMessages[code];
|
|
189
|
+
}
|
|
190
|
+
return "Error message not available in production bundles.";
|
|
191
|
+
}
|
|
192
|
+
export function isMplCoreProgramError(error, transactionMessage, code) {
|
|
193
|
+
return isProgramError(error, transactionMessage, MPL_CORE_PROGRAM_PROGRAM_ADDRESS, code);
|
|
194
|
+
}
|
|
195
|
+
//# sourceMappingURL=mplCoreProgram.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mplCoreProgram.js","sourceRoot":"","sources":["../../../src/generated/errors/mplCoreProgram.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,gCAAgC,EAAE,MAAM,sBAAsB,CAAC;AAExE,mDAAmD;AACnD,MAAM,CAAC,MAAM,8CA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C,EACtC,uCAAuC;QACzC,CAAC,8CAA8C,CAAC,EAAE,wBAAwB;QAC1E,CAAC,gDAAgD,CAAC,EAChD,0BAA0B;QAC5B,CAAC,oCAAoC,CAAC,EACpC,+DAA+D;QACjE,CAAC,uCAAuC,CAAC,EACvC,2CAA2C;QAC7C,CAAC,qCAAqC,CAAC,EAAE,uBAAuB;QAChE,CAAC,0CAA0C,CAAC,EAAE,oBAAoB;QAClE,CAAC,gDAAgD,CAAC,EAAE,oBAAoB;QACxE,CAAC,8CAA8C,CAAC,EAC9C,iEAAiE;QACnE,CAAC,wDAAwD,CAAC,EACxD,0DAA0D;QAC5D,CAAC,6CAA6C,CAAC,EAAE,uBAAuB;QACxE,CAAC,wCAAwC,CAAC,EAAE,kBAAkB;QAC9D,CAAC,+CAA+C,CAAC,EAC/C,yBAAyB;QAC3B,CAAC,gDAAgD,CAAC,EAChD,gEAAgE;QAClE,CAAC,2CAA2C,CAAC,EAAE,2BAA2B;QAC1E,CAAC,wCAAwC,CAAC,EACxC,gDAAgD;QAClD,CAAC,oDAAoD,CAAC,EACpD,iCAAiC;QACnC,CAAC,6CAA6C,CAAC,EAC7C,iDAAiD;KACpD,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,6BAA6B,CAC3C,IAAyB;IAEzB,IAAI,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,YAAY,EAAE,CAAC;QAC1C,OAAO,2BAA4B,CAAC,IAAI,CAAC,CAAC;IAC5C,CAAC;IAED,OAAO,oDAAoD,CAAC;AAC9D,CAAC;AAED,MAAM,UAAU,qBAAqB,CAGnC,KAAc,EACd,kBAEC,EACD,IAAwB;IAGxB,OAAO,cAAc,CACnB,KAAK,EACL,kBAAkB,EAClB,gCAAgC,EAChC,IAAI,CACL,CAAC;AACJ,CAAC","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 Address,\n SOLANA_ERROR__INSTRUCTION_ERROR__CUSTOM,\n SolanaError,\n} from \"@solana/kit\";\nimport { isProgramError } from \"@solana/kit\";\nimport { MPL_CORE_PROGRAM_PROGRAM_ADDRESS } from \"../programs/index.js\";\n\n/** InvalidSystemProgram: Invalid System Program */\nexport const MPL_CORE_PROGRAM_ERROR__INVALID_SYSTEM_PROGRAM = 0x0; // 0\n/** DeserializationError: Error deserializing account */\nexport const MPL_CORE_PROGRAM_ERROR__DESERIALIZATION_ERROR = 0x1; // 1\n/** SerializationError: Error serializing account */\nexport const MPL_CORE_PROGRAM_ERROR__SERIALIZATION_ERROR = 0x2; // 2\n/** PluginsNotInitialized: Plugins not initialized */\nexport const MPL_CORE_PROGRAM_ERROR__PLUGINS_NOT_INITIALIZED = 0x3; // 3\n/** PluginNotFound: Plugin not found */\nexport const MPL_CORE_PROGRAM_ERROR__PLUGIN_NOT_FOUND = 0x4; // 4\n/** NumericalOverflow: Numerical Overflow */\nexport const MPL_CORE_PROGRAM_ERROR__NUMERICAL_OVERFLOW = 0x5; // 5\n/** IncorrectAccount: Incorrect account */\nexport const MPL_CORE_PROGRAM_ERROR__INCORRECT_ACCOUNT = 0x6; // 6\n/** IncorrectAssetHash: Incorrect asset hash */\nexport const MPL_CORE_PROGRAM_ERROR__INCORRECT_ASSET_HASH = 0x7; // 7\n/** InvalidPlugin: Invalid Plugin */\nexport const MPL_CORE_PROGRAM_ERROR__INVALID_PLUGIN = 0x8; // 8\n/** InvalidAuthority: Invalid Authority */\nexport const MPL_CORE_PROGRAM_ERROR__INVALID_AUTHORITY = 0x9; // 9\n/** AssetIsFrozen: Cannot transfer a frozen asset */\nexport const MPL_CORE_PROGRAM_ERROR__ASSET_IS_FROZEN = 0xa; // 10\n/** MissingCompressionProof: Missing compression proof */\nexport const MPL_CORE_PROGRAM_ERROR__MISSING_COMPRESSION_PROOF = 0xb; // 11\n/** CannotMigrateMasterWithSupply: Cannot migrate a master edition used for prints */\nexport const MPL_CORE_PROGRAM_ERROR__CANNOT_MIGRATE_MASTER_WITH_SUPPLY = 0xc; // 12\n/** CannotMigratePrints: Cannot migrate a print edition */\nexport const MPL_CORE_PROGRAM_ERROR__CANNOT_MIGRATE_PRINTS = 0xd; // 13\n/** CannotBurnCollection: Cannot burn a collection NFT */\nexport const MPL_CORE_PROGRAM_ERROR__CANNOT_BURN_COLLECTION = 0xe; // 14\n/** PluginAlreadyExists: Plugin already exists */\nexport const MPL_CORE_PROGRAM_ERROR__PLUGIN_ALREADY_EXISTS = 0xf; // 15\n/** NumericalOverflowError: Numerical overflow */\nexport const MPL_CORE_PROGRAM_ERROR__NUMERICAL_OVERFLOW_ERROR = 0x10; // 16\n/** AlreadyCompressed: Already compressed account */\nexport const MPL_CORE_PROGRAM_ERROR__ALREADY_COMPRESSED = 0x11; // 17\n/** AlreadyDecompressed: Already decompressed account */\nexport const MPL_CORE_PROGRAM_ERROR__ALREADY_DECOMPRESSED = 0x12; // 18\n/** InvalidCollection: Invalid Collection passed in */\nexport const MPL_CORE_PROGRAM_ERROR__INVALID_COLLECTION = 0x13; // 19\n/** MissingUpdateAuthority: Missing update authority */\nexport const MPL_CORE_PROGRAM_ERROR__MISSING_UPDATE_AUTHORITY = 0x14; // 20\n/** MissingNewOwner: Missing new owner */\nexport const MPL_CORE_PROGRAM_ERROR__MISSING_NEW_OWNER = 0x15; // 21\n/** MissingSystemProgram: Missing system program */\nexport const MPL_CORE_PROGRAM_ERROR__MISSING_SYSTEM_PROGRAM = 0x16; // 22\n/** NotAvailable: Feature not available */\nexport const MPL_CORE_PROGRAM_ERROR__NOT_AVAILABLE = 0x17; // 23\n/** InvalidAsset: Invalid Asset passed in */\nexport const MPL_CORE_PROGRAM_ERROR__INVALID_ASSET = 0x18; // 24\n/** MissingCollection: Missing collection */\nexport const MPL_CORE_PROGRAM_ERROR__MISSING_COLLECTION = 0x19; // 25\n/** NoApprovals: Neither the asset or any plugins have approved this operation */\nexport const MPL_CORE_PROGRAM_ERROR__NO_APPROVALS = 0x1a; // 26\n/** CannotRedelegate: Plugin Manager cannot redelegate a delegated plugin without revoking first */\nexport const MPL_CORE_PROGRAM_ERROR__CANNOT_REDELEGATE = 0x1b; // 27\n/** InvalidPluginSetting: Invalid setting for plugin */\nexport const MPL_CORE_PROGRAM_ERROR__INVALID_PLUGIN_SETTING = 0x1c; // 28\n/** ConflictingAuthority: Cannot specify both an update authority and collection on an asset */\nexport const MPL_CORE_PROGRAM_ERROR__CONFLICTING_AUTHORITY = 0x1d; // 29\n/** InvalidLogWrapperProgram: Invalid Log Wrapper Program */\nexport const MPL_CORE_PROGRAM_ERROR__INVALID_LOG_WRAPPER_PROGRAM = 0x1e; // 30\n/** ExternalPluginAdapterNotFound: External Plugin Adapter not found */\nexport const MPL_CORE_PROGRAM_ERROR__EXTERNAL_PLUGIN_ADAPTER_NOT_FOUND = 0x1f; // 31\n/** ExternalPluginAdapterAlreadyExists: External Plugin Adapter already exists */\nexport const MPL_CORE_PROGRAM_ERROR__EXTERNAL_PLUGIN_ADAPTER_ALREADY_EXISTS = 0x20; // 32\n/** MissingAsset: Missing asset needed for extra account PDA derivation */\nexport const MPL_CORE_PROGRAM_ERROR__MISSING_ASSET = 0x21; // 33\n/** MissingExternalPluginAdapterAccount: Missing account needed for external plugin adapter */\nexport const MPL_CORE_PROGRAM_ERROR__MISSING_EXTERNAL_PLUGIN_ADAPTER_ACCOUNT = 0x22; // 34\n/** OracleCanRejectOnly: Oracle external plugin adapter can only be configured to reject */\nexport const MPL_CORE_PROGRAM_ERROR__ORACLE_CAN_REJECT_ONLY = 0x23; // 35\n/** RequiresLifecycleCheck: External plugin adapter must have at least one lifecycle check */\nexport const MPL_CORE_PROGRAM_ERROR__REQUIRES_LIFECYCLE_CHECK = 0x24; // 36\n/** DuplicateLifecycleChecks: Duplicate lifecycle checks were provided for external plugin adapter */\nexport const MPL_CORE_PROGRAM_ERROR__DUPLICATE_LIFECYCLE_CHECKS = 0x25; // 37\n/** InvalidOracleAccountData: Could not read from oracle account */\nexport const MPL_CORE_PROGRAM_ERROR__INVALID_ORACLE_ACCOUNT_DATA = 0x26; // 38\n/** UninitializedOracleAccount: Oracle account is uninitialized */\nexport const MPL_CORE_PROGRAM_ERROR__UNINITIALIZED_ORACLE_ACCOUNT = 0x27; // 39\n/** MissingSigner: Missing required signer for operation */\nexport const MPL_CORE_PROGRAM_ERROR__MISSING_SIGNER = 0x28; // 40\n/** InvalidPluginOperation: Invalid plugin operation */\nexport const MPL_CORE_PROGRAM_ERROR__INVALID_PLUGIN_OPERATION = 0x29; // 41\n/** CollectionMustBeEmpty: Collection must be empty to be burned */\nexport const MPL_CORE_PROGRAM_ERROR__COLLECTION_MUST_BE_EMPTY = 0x2a; // 42\n/** TwoDataSources: Two data sources provided, only one is allowed */\nexport const MPL_CORE_PROGRAM_ERROR__TWO_DATA_SOURCES = 0x2b; // 43\n/** UnsupportedOperation: External Plugin does not support this operation */\nexport const MPL_CORE_PROGRAM_ERROR__UNSUPPORTED_OPERATION = 0x2c; // 44\n/** NoDataSources: No data sources provided, one is required */\nexport const MPL_CORE_PROGRAM_ERROR__NO_DATA_SOURCES = 0x2d; // 45\n/** InvalidPluginAdapterTarget: This plugin adapter cannot be added to an Asset */\nexport const MPL_CORE_PROGRAM_ERROR__INVALID_PLUGIN_ADAPTER_TARGET = 0x2e; // 46\n/** CannotAddDataSection: Cannot add a Data Section without a linked external plugin */\nexport const MPL_CORE_PROGRAM_ERROR__CANNOT_ADD_DATA_SECTION = 0x2f; // 47\n/** PermanentDelegatesPreventMove: Cannot move asset to collection with permanent delegates */\nexport const MPL_CORE_PROGRAM_ERROR__PERMANENT_DELEGATES_PREVENT_MOVE = 0x30; // 48\n/** InvalidExecutePda: Invalid Signing PDA for Asset or Collection Execute */\nexport const MPL_CORE_PROGRAM_ERROR__INVALID_EXECUTE_PDA = 0x31; // 49\n/** BlockedByBubblegumV2: Bubblegum V2 Plugin limits other plugins */\nexport const MPL_CORE_PROGRAM_ERROR__BLOCKED_BY_BUBBLEGUM_V2 = 0x32; // 50\n/** AgentIdentityMustSign: Agent Identity Program must sign */\nexport const MPL_CORE_PROGRAM_ERROR__AGENT_IDENTITY_MUST_SIGN = 0x33; // 51\n/** GroupMustBeEmpty: Group must be empty to be closed */\nexport const MPL_CORE_PROGRAM_ERROR__GROUP_MUST_BE_EMPTY = 0x34; // 52\n/** DuplicateEntry: Duplicate entry provided when adding relationships to a group */\nexport const MPL_CORE_PROGRAM_ERROR__DUPLICATE_ENTRY = 0x35; // 53\n/** GroupVectorFull: Group vector is at maximum capacity */\nexport const MPL_CORE_PROGRAM_ERROR__GROUP_VECTOR_FULL = 0x36; // 54\n/** GroupNestingDepthExceeded: Group nesting depth exceeded */\nexport const MPL_CORE_PROGRAM_ERROR__GROUP_NESTING_DEPTH_EXCEEDED = 0x37; // 55\n/** InconsistentGroupRelationship: Bidirectional group relationship is inconsistent */\nexport const MPL_CORE_PROGRAM_ERROR__INCONSISTENT_GROUP_RELATIONSHIP = 0x38; // 56\n\nexport type MplCoreProgramError =\n | typeof MPL_CORE_PROGRAM_ERROR__AGENT_IDENTITY_MUST_SIGN\n | typeof MPL_CORE_PROGRAM_ERROR__ALREADY_COMPRESSED\n | typeof MPL_CORE_PROGRAM_ERROR__ALREADY_DECOMPRESSED\n | typeof MPL_CORE_PROGRAM_ERROR__ASSET_IS_FROZEN\n | typeof MPL_CORE_PROGRAM_ERROR__BLOCKED_BY_BUBBLEGUM_V2\n | typeof MPL_CORE_PROGRAM_ERROR__CANNOT_ADD_DATA_SECTION\n | typeof MPL_CORE_PROGRAM_ERROR__CANNOT_BURN_COLLECTION\n | typeof MPL_CORE_PROGRAM_ERROR__CANNOT_MIGRATE_MASTER_WITH_SUPPLY\n | typeof MPL_CORE_PROGRAM_ERROR__CANNOT_MIGRATE_PRINTS\n | typeof MPL_CORE_PROGRAM_ERROR__CANNOT_REDELEGATE\n | typeof MPL_CORE_PROGRAM_ERROR__COLLECTION_MUST_BE_EMPTY\n | typeof MPL_CORE_PROGRAM_ERROR__CONFLICTING_AUTHORITY\n | typeof MPL_CORE_PROGRAM_ERROR__DESERIALIZATION_ERROR\n | typeof MPL_CORE_PROGRAM_ERROR__DUPLICATE_ENTRY\n | typeof MPL_CORE_PROGRAM_ERROR__DUPLICATE_LIFECYCLE_CHECKS\n | typeof MPL_CORE_PROGRAM_ERROR__EXTERNAL_PLUGIN_ADAPTER_ALREADY_EXISTS\n | typeof MPL_CORE_PROGRAM_ERROR__EXTERNAL_PLUGIN_ADAPTER_NOT_FOUND\n | typeof MPL_CORE_PROGRAM_ERROR__GROUP_MUST_BE_EMPTY\n | typeof MPL_CORE_PROGRAM_ERROR__GROUP_NESTING_DEPTH_EXCEEDED\n | typeof MPL_CORE_PROGRAM_ERROR__GROUP_VECTOR_FULL\n | typeof MPL_CORE_PROGRAM_ERROR__INCONSISTENT_GROUP_RELATIONSHIP\n | typeof MPL_CORE_PROGRAM_ERROR__INCORRECT_ACCOUNT\n | typeof MPL_CORE_PROGRAM_ERROR__INCORRECT_ASSET_HASH\n | typeof MPL_CORE_PROGRAM_ERROR__INVALID_ASSET\n | typeof MPL_CORE_PROGRAM_ERROR__INVALID_AUTHORITY\n | typeof MPL_CORE_PROGRAM_ERROR__INVALID_COLLECTION\n | typeof MPL_CORE_PROGRAM_ERROR__INVALID_EXECUTE_PDA\n | typeof MPL_CORE_PROGRAM_ERROR__INVALID_LOG_WRAPPER_PROGRAM\n | typeof MPL_CORE_PROGRAM_ERROR__INVALID_ORACLE_ACCOUNT_DATA\n | typeof MPL_CORE_PROGRAM_ERROR__INVALID_PLUGIN\n | typeof MPL_CORE_PROGRAM_ERROR__INVALID_PLUGIN_ADAPTER_TARGET\n | typeof MPL_CORE_PROGRAM_ERROR__INVALID_PLUGIN_OPERATION\n | typeof MPL_CORE_PROGRAM_ERROR__INVALID_PLUGIN_SETTING\n | typeof MPL_CORE_PROGRAM_ERROR__INVALID_SYSTEM_PROGRAM\n | typeof MPL_CORE_PROGRAM_ERROR__MISSING_ASSET\n | typeof MPL_CORE_PROGRAM_ERROR__MISSING_COLLECTION\n | typeof MPL_CORE_PROGRAM_ERROR__MISSING_COMPRESSION_PROOF\n | typeof MPL_CORE_PROGRAM_ERROR__MISSING_EXTERNAL_PLUGIN_ADAPTER_ACCOUNT\n | typeof MPL_CORE_PROGRAM_ERROR__MISSING_NEW_OWNER\n | typeof MPL_CORE_PROGRAM_ERROR__MISSING_SIGNER\n | typeof MPL_CORE_PROGRAM_ERROR__MISSING_SYSTEM_PROGRAM\n | typeof MPL_CORE_PROGRAM_ERROR__MISSING_UPDATE_AUTHORITY\n | typeof MPL_CORE_PROGRAM_ERROR__NO_APPROVALS\n | typeof MPL_CORE_PROGRAM_ERROR__NO_DATA_SOURCES\n | typeof MPL_CORE_PROGRAM_ERROR__NOT_AVAILABLE\n | typeof MPL_CORE_PROGRAM_ERROR__NUMERICAL_OVERFLOW\n | typeof MPL_CORE_PROGRAM_ERROR__NUMERICAL_OVERFLOW_ERROR\n | typeof MPL_CORE_PROGRAM_ERROR__ORACLE_CAN_REJECT_ONLY\n | typeof MPL_CORE_PROGRAM_ERROR__PERMANENT_DELEGATES_PREVENT_MOVE\n | typeof MPL_CORE_PROGRAM_ERROR__PLUGIN_ALREADY_EXISTS\n | typeof MPL_CORE_PROGRAM_ERROR__PLUGIN_NOT_FOUND\n | typeof MPL_CORE_PROGRAM_ERROR__PLUGINS_NOT_INITIALIZED\n | typeof MPL_CORE_PROGRAM_ERROR__REQUIRES_LIFECYCLE_CHECK\n | typeof MPL_CORE_PROGRAM_ERROR__SERIALIZATION_ERROR\n | typeof MPL_CORE_PROGRAM_ERROR__TWO_DATA_SOURCES\n | typeof MPL_CORE_PROGRAM_ERROR__UNINITIALIZED_ORACLE_ACCOUNT\n | typeof MPL_CORE_PROGRAM_ERROR__UNSUPPORTED_OPERATION;\n\nlet mplCoreProgramErrorMessages:\n | Record<MplCoreProgramError, string>\n | undefined;\nif (process.env.NODE_ENV !== \"production\") {\n mplCoreProgramErrorMessages = {\n [MPL_CORE_PROGRAM_ERROR__AGENT_IDENTITY_MUST_SIGN]:\n \"Agent Identity Program must sign\",\n [MPL_CORE_PROGRAM_ERROR__ALREADY_COMPRESSED]: \"Already compressed account\",\n [MPL_CORE_PROGRAM_ERROR__ALREADY_DECOMPRESSED]:\n \"Already decompressed account\",\n [MPL_CORE_PROGRAM_ERROR__ASSET_IS_FROZEN]: \"Cannot transfer a frozen asset\",\n [MPL_CORE_PROGRAM_ERROR__BLOCKED_BY_BUBBLEGUM_V2]:\n \"Bubblegum V2 Plugin limits other plugins\",\n [MPL_CORE_PROGRAM_ERROR__CANNOT_ADD_DATA_SECTION]:\n \"Cannot add a Data Section without a linked external plugin\",\n [MPL_CORE_PROGRAM_ERROR__CANNOT_BURN_COLLECTION]:\n \"Cannot burn a collection NFT\",\n [MPL_CORE_PROGRAM_ERROR__CANNOT_MIGRATE_MASTER_WITH_SUPPLY]:\n \"Cannot migrate a master edition used for prints\",\n [MPL_CORE_PROGRAM_ERROR__CANNOT_MIGRATE_PRINTS]:\n \"Cannot migrate a print edition\",\n [MPL_CORE_PROGRAM_ERROR__CANNOT_REDELEGATE]:\n \"Plugin Manager cannot redelegate a delegated plugin without revoking first\",\n [MPL_CORE_PROGRAM_ERROR__COLLECTION_MUST_BE_EMPTY]:\n \"Collection must be empty to be burned\",\n [MPL_CORE_PROGRAM_ERROR__CONFLICTING_AUTHORITY]:\n \"Cannot specify both an update authority and collection on an asset\",\n [MPL_CORE_PROGRAM_ERROR__DESERIALIZATION_ERROR]:\n \"Error deserializing account\",\n [MPL_CORE_PROGRAM_ERROR__DUPLICATE_ENTRY]:\n \"Duplicate entry provided when adding relationships to a group\",\n [MPL_CORE_PROGRAM_ERROR__DUPLICATE_LIFECYCLE_CHECKS]:\n \"Duplicate lifecycle checks were provided for external plugin adapter \",\n [MPL_CORE_PROGRAM_ERROR__EXTERNAL_PLUGIN_ADAPTER_ALREADY_EXISTS]:\n \"External Plugin Adapter already exists\",\n [MPL_CORE_PROGRAM_ERROR__EXTERNAL_PLUGIN_ADAPTER_NOT_FOUND]:\n \"External Plugin Adapter not found\",\n [MPL_CORE_PROGRAM_ERROR__GROUP_MUST_BE_EMPTY]:\n \"Group must be empty to be closed\",\n [MPL_CORE_PROGRAM_ERROR__GROUP_NESTING_DEPTH_EXCEEDED]:\n \"Group nesting depth exceeded\",\n [MPL_CORE_PROGRAM_ERROR__GROUP_VECTOR_FULL]:\n \"Group vector is at maximum capacity\",\n [MPL_CORE_PROGRAM_ERROR__INCONSISTENT_GROUP_RELATIONSHIP]:\n \"Bidirectional group relationship is inconsistent\",\n [MPL_CORE_PROGRAM_ERROR__INCORRECT_ACCOUNT]: \"Incorrect account\",\n [MPL_CORE_PROGRAM_ERROR__INCORRECT_ASSET_HASH]: \"Incorrect asset hash\",\n [MPL_CORE_PROGRAM_ERROR__INVALID_ASSET]: \"Invalid Asset passed in\",\n [MPL_CORE_PROGRAM_ERROR__INVALID_AUTHORITY]: \"Invalid Authority\",\n [MPL_CORE_PROGRAM_ERROR__INVALID_COLLECTION]:\n \"Invalid Collection passed in\",\n [MPL_CORE_PROGRAM_ERROR__INVALID_EXECUTE_PDA]:\n \"Invalid Signing PDA for Asset or Collection Execute\",\n [MPL_CORE_PROGRAM_ERROR__INVALID_LOG_WRAPPER_PROGRAM]:\n \"Invalid Log Wrapper Program\",\n [MPL_CORE_PROGRAM_ERROR__INVALID_ORACLE_ACCOUNT_DATA]:\n \"Could not read from oracle account\",\n [MPL_CORE_PROGRAM_ERROR__INVALID_PLUGIN]: \"Invalid Plugin\",\n [MPL_CORE_PROGRAM_ERROR__INVALID_PLUGIN_ADAPTER_TARGET]:\n \"This plugin adapter cannot be added to an Asset\",\n [MPL_CORE_PROGRAM_ERROR__INVALID_PLUGIN_OPERATION]:\n \"Invalid plugin operation\",\n [MPL_CORE_PROGRAM_ERROR__INVALID_PLUGIN_SETTING]:\n \"Invalid setting for plugin\",\n [MPL_CORE_PROGRAM_ERROR__INVALID_SYSTEM_PROGRAM]: \"Invalid System Program\",\n [MPL_CORE_PROGRAM_ERROR__MISSING_ASSET]:\n \"Missing asset needed for extra account PDA derivation\",\n [MPL_CORE_PROGRAM_ERROR__MISSING_COLLECTION]: \"Missing collection\",\n [MPL_CORE_PROGRAM_ERROR__MISSING_COMPRESSION_PROOF]:\n \"Missing compression proof\",\n [MPL_CORE_PROGRAM_ERROR__MISSING_EXTERNAL_PLUGIN_ADAPTER_ACCOUNT]:\n \"Missing account needed for external plugin adapter\",\n [MPL_CORE_PROGRAM_ERROR__MISSING_NEW_OWNER]: \"Missing new owner\",\n [MPL_CORE_PROGRAM_ERROR__MISSING_SIGNER]:\n \"Missing required signer for operation\",\n [MPL_CORE_PROGRAM_ERROR__MISSING_SYSTEM_PROGRAM]: \"Missing system program\",\n [MPL_CORE_PROGRAM_ERROR__MISSING_UPDATE_AUTHORITY]:\n \"Missing update authority\",\n [MPL_CORE_PROGRAM_ERROR__NO_APPROVALS]:\n \"Neither the asset or any plugins have approved this operation\",\n [MPL_CORE_PROGRAM_ERROR__NO_DATA_SOURCES]:\n \"No data sources provided, one is required\",\n [MPL_CORE_PROGRAM_ERROR__NOT_AVAILABLE]: \"Feature not available\",\n [MPL_CORE_PROGRAM_ERROR__NUMERICAL_OVERFLOW]: \"Numerical Overflow\",\n [MPL_CORE_PROGRAM_ERROR__NUMERICAL_OVERFLOW_ERROR]: \"Numerical overflow\",\n [MPL_CORE_PROGRAM_ERROR__ORACLE_CAN_REJECT_ONLY]:\n \"Oracle external plugin adapter can only be configured to reject\",\n [MPL_CORE_PROGRAM_ERROR__PERMANENT_DELEGATES_PREVENT_MOVE]:\n \"Cannot move asset to collection with permanent delegates\",\n [MPL_CORE_PROGRAM_ERROR__PLUGIN_ALREADY_EXISTS]: \"Plugin already exists\",\n [MPL_CORE_PROGRAM_ERROR__PLUGIN_NOT_FOUND]: \"Plugin not found\",\n [MPL_CORE_PROGRAM_ERROR__PLUGINS_NOT_INITIALIZED]:\n \"Plugins not initialized\",\n [MPL_CORE_PROGRAM_ERROR__REQUIRES_LIFECYCLE_CHECK]:\n \"External plugin adapter must have at least one lifecycle check\",\n [MPL_CORE_PROGRAM_ERROR__SERIALIZATION_ERROR]: \"Error serializing account\",\n [MPL_CORE_PROGRAM_ERROR__TWO_DATA_SOURCES]:\n \"Two data sources provided, only one is allowed\",\n [MPL_CORE_PROGRAM_ERROR__UNINITIALIZED_ORACLE_ACCOUNT]:\n \"Oracle account is uninitialized\",\n [MPL_CORE_PROGRAM_ERROR__UNSUPPORTED_OPERATION]:\n \"External Plugin does not support this operation\",\n };\n}\n\nexport function getMplCoreProgramErrorMessage(\n code: MplCoreProgramError,\n): string {\n if (process.env.NODE_ENV !== \"production\") {\n return mplCoreProgramErrorMessages![code];\n }\n\n return \"Error message not available in production bundles.\";\n}\n\nexport function isMplCoreProgramError<\n TProgramErrorCode extends MplCoreProgramError,\n>(\n error: unknown,\n transactionMessage: {\n instructions: Record<number, { programAddress: Address }>;\n },\n code?: TProgramErrorCode,\n): error is SolanaError<typeof SOLANA_ERROR__INSTRUCTION_ERROR__CUSTOM> &\n Readonly<{ context: Readonly<{ code: TProgramErrorCode }> }> {\n return isProgramError<TProgramErrorCode>(\n error,\n transactionMessage,\n MPL_CORE_PROGRAM_PROGRAM_ADDRESS,\n code,\n );\n}\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
3
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
+
* to add features, then rerun Codama to update it.
|
|
5
|
+
*
|
|
6
|
+
* @see https://github.com/codama-idl/codama
|
|
7
|
+
*/
|
|
8
|
+
export * from "./accounts/index.js";
|
|
9
|
+
export * from "./errors/index.js";
|
|
10
|
+
export * from "./instructions/index.js";
|
|
11
|
+
export * from "./programs/index.js";
|
|
12
|
+
export * from "./types/index.js";
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/generated/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This code was AUTOGENERATED using the Codama library.
|
|
3
|
+
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
+
* to add features, then rerun Codama to update it.
|
|
5
|
+
*
|
|
6
|
+
* @see https://github.com/codama-idl/codama
|
|
7
|
+
*/
|
|
8
|
+
export * from "./accounts/index.js";
|
|
9
|
+
export * from "./errors/index.js";
|
|
10
|
+
export * from "./instructions/index.js";
|
|
11
|
+
export * from "./programs/index.js";
|
|
12
|
+
export * from "./types/index.js";
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/generated/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC","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\nexport * from \"./accounts/index.js\";\nexport * from \"./errors/index.js\";\nexport * from \"./instructions/index.js\";\nexport * from \"./programs/index.js\";\nexport * from \"./types/index.js\";\n"]}
|