@macalinao/clients-mpl-core 0.0.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -1
- package/dist/generated/accounts/assetV1.d.ts +36 -0
- package/dist/generated/accounts/assetV1.d.ts.map +1 -0
- package/dist/generated/accounts/assetV1.js +53 -0
- package/dist/generated/accounts/assetV1.js.map +1 -0
- package/dist/generated/accounts/collectionV1.d.ts +35 -0
- package/dist/generated/accounts/collectionV1.d.ts.map +1 -0
- package/dist/generated/accounts/collectionV1.js +52 -0
- package/dist/generated/accounts/collectionV1.js.map +1 -0
- package/dist/generated/accounts/groupV1.d.ts +39 -0
- package/dist/generated/accounts/groupV1.d.ts.map +1 -0
- package/dist/generated/accounts/groupV1.js +56 -0
- package/dist/generated/accounts/groupV1.js.map +1 -0
- package/dist/generated/accounts/hashedAssetV1.d.ts +27 -0
- package/dist/generated/accounts/hashedAssetV1.d.ts.map +1 -0
- package/dist/generated/accounts/hashedAssetV1.js +38 -0
- package/dist/generated/accounts/hashedAssetV1.js.map +1 -0
- package/dist/generated/accounts/index.d.ts +6 -0
- package/dist/generated/accounts/pluginHeaderV1.d.ts +27 -0
- package/dist/generated/accounts/pluginHeaderV1.d.ts.map +1 -0
- package/dist/generated/accounts/pluginHeaderV1.js +38 -0
- package/dist/generated/accounts/pluginHeaderV1.js.map +1 -0
- package/dist/generated/accounts/pluginRegistryV1.d.ts +31 -0
- package/dist/generated/accounts/pluginRegistryV1.d.ts.map +1 -0
- package/dist/generated/accounts/pluginRegistryV1.js +48 -0
- package/dist/generated/accounts/pluginRegistryV1.js.map +1 -0
- package/dist/generated/errors/index.d.ts +1 -0
- package/dist/generated/errors/mplCoreProgram.d.ts +131 -0
- package/dist/generated/errors/mplCoreProgram.d.ts.map +1 -0
- package/dist/generated/errors/mplCoreProgram.js +188 -0
- package/dist/generated/errors/mplCoreProgram.js.map +1 -0
- package/dist/generated/index.d.ts +167 -0
- package/dist/generated/instructions/addAssetsToGroupV1.d.ts +46 -0
- package/dist/generated/instructions/addAssetsToGroupV1.d.ts.map +1 -0
- package/dist/generated/instructions/addAssetsToGroupV1.js +85 -0
- package/dist/generated/instructions/addAssetsToGroupV1.js.map +1 -0
- package/dist/generated/instructions/addCollectionExternalPluginAdapterV1.d.ts +49 -0
- package/dist/generated/instructions/addCollectionExternalPluginAdapterV1.d.ts.map +1 -0
- package/dist/generated/instructions/addCollectionExternalPluginAdapterV1.js +91 -0
- package/dist/generated/instructions/addCollectionExternalPluginAdapterV1.js.map +1 -0
- package/dist/generated/instructions/addCollectionPluginV1.d.ts +49 -0
- package/dist/generated/instructions/addCollectionPluginV1.d.ts.map +1 -0
- package/dist/generated/instructions/addCollectionPluginV1.js +91 -0
- package/dist/generated/instructions/addCollectionPluginV1.js.map +1 -0
- package/dist/generated/instructions/addCollectionsToGroupV1.d.ts +46 -0
- package/dist/generated/instructions/addCollectionsToGroupV1.d.ts.map +1 -0
- package/dist/generated/instructions/addCollectionsToGroupV1.js +85 -0
- package/dist/generated/instructions/addCollectionsToGroupV1.js.map +1 -0
- package/dist/generated/instructions/addExternalPluginAdapterV1.d.ts +52 -0
- package/dist/generated/instructions/addExternalPluginAdapterV1.d.ts.map +1 -0
- package/dist/generated/instructions/addExternalPluginAdapterV1.js +97 -0
- package/dist/generated/instructions/addExternalPluginAdapterV1.js.map +1 -0
- package/dist/generated/instructions/addGroupsToGroupV1.d.ts +46 -0
- package/dist/generated/instructions/addGroupsToGroupV1.d.ts.map +1 -0
- package/dist/generated/instructions/addGroupsToGroupV1.js +85 -0
- package/dist/generated/instructions/addGroupsToGroupV1.js.map +1 -0
- package/dist/generated/instructions/addPluginV1.d.ts +52 -0
- package/dist/generated/instructions/addPluginV1.d.ts.map +1 -0
- package/dist/generated/instructions/addPluginV1.js +97 -0
- package/dist/generated/instructions/addPluginV1.js.map +1 -0
- package/dist/generated/instructions/approveCollectionPluginAuthorityV1.d.ts +49 -0
- package/dist/generated/instructions/approveCollectionPluginAuthorityV1.d.ts.map +1 -0
- package/dist/generated/instructions/approveCollectionPluginAuthorityV1.js +91 -0
- package/dist/generated/instructions/approveCollectionPluginAuthorityV1.js.map +1 -0
- package/dist/generated/instructions/approvePluginAuthorityV1.d.ts +52 -0
- package/dist/generated/instructions/approvePluginAuthorityV1.d.ts.map +1 -0
- package/dist/generated/instructions/approvePluginAuthorityV1.js +97 -0
- package/dist/generated/instructions/approvePluginAuthorityV1.js.map +1 -0
- package/dist/generated/instructions/burnCollectionV1.d.ts +46 -0
- package/dist/generated/instructions/burnCollectionV1.d.ts.map +1 -0
- package/dist/generated/instructions/burnCollectionV1.js +84 -0
- package/dist/generated/instructions/burnCollectionV1.js.map +1 -0
- package/dist/generated/instructions/burnV1.d.ts +52 -0
- package/dist/generated/instructions/burnV1.d.ts.map +1 -0
- package/dist/generated/instructions/burnV1.js +96 -0
- package/dist/generated/instructions/burnV1.js.map +1 -0
- package/dist/generated/instructions/closeGroupV1.d.ts +43 -0
- package/dist/generated/instructions/closeGroupV1.d.ts.map +1 -0
- package/dist/generated/instructions/closeGroupV1.js +78 -0
- package/dist/generated/instructions/closeGroupV1.js.map +1 -0
- package/dist/generated/instructions/collect.d.ts +35 -0
- package/dist/generated/instructions/collect.d.ts.map +1 -0
- package/dist/generated/instructions/collect.js +63 -0
- package/dist/generated/instructions/collect.js.map +1 -0
- package/dist/generated/instructions/compressV1.d.ts +52 -0
- package/dist/generated/instructions/compressV1.d.ts.map +1 -0
- package/dist/generated/instructions/compressV1.js +97 -0
- package/dist/generated/instructions/compressV1.js.map +1 -0
- package/dist/generated/instructions/createCollectionV1.d.ts +46 -0
- package/dist/generated/instructions/createCollectionV1.d.ts.map +1 -0
- package/dist/generated/instructions/createCollectionV1.js +85 -0
- package/dist/generated/instructions/createCollectionV1.js.map +1 -0
- package/dist/generated/instructions/createCollectionV2.d.ts +46 -0
- package/dist/generated/instructions/createCollectionV2.d.ts.map +1 -0
- package/dist/generated/instructions/createCollectionV2.js +85 -0
- package/dist/generated/instructions/createCollectionV2.js.map +1 -0
- package/dist/generated/instructions/createGroupV1.d.ts +46 -0
- package/dist/generated/instructions/createGroupV1.d.ts.map +1 -0
- package/dist/generated/instructions/createGroupV1.js +85 -0
- package/dist/generated/instructions/createGroupV1.js.map +1 -0
- package/dist/generated/instructions/createV1.d.ts +58 -0
- package/dist/generated/instructions/createV1.d.ts.map +1 -0
- package/dist/generated/instructions/createV1.js +109 -0
- package/dist/generated/instructions/createV1.js.map +1 -0
- package/dist/generated/instructions/createV2.d.ts +58 -0
- package/dist/generated/instructions/createV2.d.ts.map +1 -0
- package/dist/generated/instructions/createV2.js +109 -0
- package/dist/generated/instructions/createV2.js.map +1 -0
- package/dist/generated/instructions/decompressV1.d.ts +52 -0
- package/dist/generated/instructions/decompressV1.d.ts.map +1 -0
- package/dist/generated/instructions/decompressV1.js +97 -0
- package/dist/generated/instructions/decompressV1.js.map +1 -0
- package/dist/generated/instructions/executeV1.d.ts +75 -0
- package/dist/generated/instructions/executeV1.d.ts.map +1 -0
- package/dist/generated/instructions/executeV1.js +162 -0
- package/dist/generated/instructions/executeV1.js.map +1 -0
- package/dist/generated/instructions/index.d.ts +42 -0
- package/dist/generated/instructions/removeAssetsFromGroupV1.d.ts +46 -0
- package/dist/generated/instructions/removeAssetsFromGroupV1.d.ts.map +1 -0
- package/dist/generated/instructions/removeAssetsFromGroupV1.js +85 -0
- package/dist/generated/instructions/removeAssetsFromGroupV1.js.map +1 -0
- package/dist/generated/instructions/removeCollectionExternalPluginAdapterV1.d.ts +49 -0
- package/dist/generated/instructions/removeCollectionExternalPluginAdapterV1.d.ts.map +1 -0
- package/dist/generated/instructions/removeCollectionExternalPluginAdapterV1.js +91 -0
- package/dist/generated/instructions/removeCollectionExternalPluginAdapterV1.js.map +1 -0
- package/dist/generated/instructions/removeCollectionPluginV1.d.ts +49 -0
- package/dist/generated/instructions/removeCollectionPluginV1.d.ts.map +1 -0
- package/dist/generated/instructions/removeCollectionPluginV1.js +91 -0
- package/dist/generated/instructions/removeCollectionPluginV1.js.map +1 -0
- package/dist/generated/instructions/removeCollectionsFromGroupV1.d.ts +46 -0
- package/dist/generated/instructions/removeCollectionsFromGroupV1.d.ts.map +1 -0
- package/dist/generated/instructions/removeCollectionsFromGroupV1.js +85 -0
- package/dist/generated/instructions/removeCollectionsFromGroupV1.js.map +1 -0
- package/dist/generated/instructions/removeExternalPluginAdapterV1.d.ts +52 -0
- package/dist/generated/instructions/removeExternalPluginAdapterV1.d.ts.map +1 -0
- package/dist/generated/instructions/removeExternalPluginAdapterV1.js +97 -0
- package/dist/generated/instructions/removeExternalPluginAdapterV1.js.map +1 -0
- package/dist/generated/instructions/removeGroupsFromGroupV1.d.ts +46 -0
- package/dist/generated/instructions/removeGroupsFromGroupV1.d.ts.map +1 -0
- package/dist/generated/instructions/removeGroupsFromGroupV1.js +85 -0
- package/dist/generated/instructions/removeGroupsFromGroupV1.js.map +1 -0
- package/dist/generated/instructions/removePluginV1.d.ts +52 -0
- package/dist/generated/instructions/removePluginV1.d.ts.map +1 -0
- package/dist/generated/instructions/removePluginV1.js +97 -0
- package/dist/generated/instructions/removePluginV1.js.map +1 -0
- package/dist/generated/instructions/revokeCollectionPluginAuthorityV1.d.ts +49 -0
- package/dist/generated/instructions/revokeCollectionPluginAuthorityV1.d.ts.map +1 -0
- package/dist/generated/instructions/revokeCollectionPluginAuthorityV1.js +91 -0
- package/dist/generated/instructions/revokeCollectionPluginAuthorityV1.js.map +1 -0
- package/dist/generated/instructions/revokePluginAuthorityV1.d.ts +52 -0
- package/dist/generated/instructions/revokePluginAuthorityV1.d.ts.map +1 -0
- package/dist/generated/instructions/revokePluginAuthorityV1.js +97 -0
- package/dist/generated/instructions/revokePluginAuthorityV1.js.map +1 -0
- package/dist/generated/instructions/transferV1.d.ts +55 -0
- package/dist/generated/instructions/transferV1.d.ts.map +1 -0
- package/dist/generated/instructions/transferV1.js +102 -0
- package/dist/generated/instructions/transferV1.js.map +1 -0
- package/dist/generated/instructions/updateCollectionExternalPluginAdapterV1.d.ts +49 -0
- package/dist/generated/instructions/updateCollectionExternalPluginAdapterV1.d.ts.map +1 -0
- package/dist/generated/instructions/updateCollectionExternalPluginAdapterV1.js +91 -0
- package/dist/generated/instructions/updateCollectionExternalPluginAdapterV1.js.map +1 -0
- package/dist/generated/instructions/updateCollectionInfoV1.d.ts +40 -0
- package/dist/generated/instructions/updateCollectionInfoV1.d.ts.map +1 -0
- package/dist/generated/instructions/updateCollectionInfoV1.js +65 -0
- package/dist/generated/instructions/updateCollectionInfoV1.js.map +1 -0
- package/dist/generated/instructions/updateCollectionPluginV1.d.ts +49 -0
- package/dist/generated/instructions/updateCollectionPluginV1.d.ts.map +1 -0
- package/dist/generated/instructions/updateCollectionPluginV1.js +91 -0
- package/dist/generated/instructions/updateCollectionPluginV1.js.map +1 -0
- package/dist/generated/instructions/updateCollectionV1.d.ts +52 -0
- package/dist/generated/instructions/updateCollectionV1.d.ts.map +1 -0
- package/dist/generated/instructions/updateCollectionV1.js +97 -0
- package/dist/generated/instructions/updateCollectionV1.js.map +1 -0
- package/dist/generated/instructions/updateExternalPluginAdapterV1.d.ts +52 -0
- package/dist/generated/instructions/updateExternalPluginAdapterV1.d.ts.map +1 -0
- package/dist/generated/instructions/updateExternalPluginAdapterV1.js +97 -0
- package/dist/generated/instructions/updateExternalPluginAdapterV1.js.map +1 -0
- package/dist/generated/instructions/updateGroupV1.d.ts +49 -0
- package/dist/generated/instructions/updateGroupV1.d.ts.map +1 -0
- package/dist/generated/instructions/updateGroupV1.js +91 -0
- package/dist/generated/instructions/updateGroupV1.js.map +1 -0
- package/dist/generated/instructions/updatePluginV1.d.ts +52 -0
- package/dist/generated/instructions/updatePluginV1.d.ts.map +1 -0
- package/dist/generated/instructions/updatePluginV1.js +97 -0
- package/dist/generated/instructions/updatePluginV1.js.map +1 -0
- package/dist/generated/instructions/updateV1.d.ts +52 -0
- package/dist/generated/instructions/updateV1.d.ts.map +1 -0
- package/dist/generated/instructions/updateV1.js +97 -0
- package/dist/generated/instructions/updateV1.js.map +1 -0
- package/dist/generated/instructions/updateV2.d.ts +55 -0
- package/dist/generated/instructions/updateV2.d.ts.map +1 -0
- package/dist/generated/instructions/updateV2.js +103 -0
- package/dist/generated/instructions/updateV2.js.map +1 -0
- package/dist/generated/instructions/writeCollectionExternalPluginAdapterDataV1.d.ts +52 -0
- package/dist/generated/instructions/writeCollectionExternalPluginAdapterDataV1.d.ts.map +1 -0
- package/dist/generated/instructions/writeCollectionExternalPluginAdapterDataV1.js +97 -0
- package/dist/generated/instructions/writeCollectionExternalPluginAdapterDataV1.js.map +1 -0
- package/dist/generated/instructions/writeExternalPluginAdapterDataV1.d.ts +55 -0
- package/dist/generated/instructions/writeExternalPluginAdapterDataV1.d.ts.map +1 -0
- package/dist/generated/instructions/writeExternalPluginAdapterDataV1.js +103 -0
- package/dist/generated/instructions/writeExternalPluginAdapterDataV1.js.map +1 -0
- package/dist/generated/pdas/assetSigner.d.ts +14 -0
- package/dist/generated/pdas/assetSigner.d.ts.map +1 -0
- package/dist/generated/pdas/assetSigner.js +14 -0
- package/dist/generated/pdas/assetSigner.js.map +1 -0
- package/dist/generated/pdas/index.d.ts +1 -0
- package/dist/generated/programs/index.d.ts +1 -0
- package/dist/generated/programs/mplCoreProgram.d.ts +263 -0
- package/dist/generated/programs/mplCoreProgram.d.ts.map +1 -0
- package/dist/generated/programs/mplCoreProgram.js +600 -0
- package/dist/generated/programs/mplCoreProgram.js.map +1 -0
- package/dist/generated/types/addAssetsToGroupV1Args.d.ts +11 -0
- package/dist/generated/types/addAssetsToGroupV1Args.d.ts.map +1 -0
- package/dist/generated/types/addAssetsToGroupV1Args.js +15 -0
- package/dist/generated/types/addAssetsToGroupV1Args.js.map +1 -0
- package/dist/generated/types/addBlocker.d.ts +11 -0
- package/dist/generated/types/addBlocker.d.ts.map +1 -0
- package/dist/generated/types/addBlocker.js +15 -0
- package/dist/generated/types/addBlocker.js.map +1 -0
- package/dist/generated/types/addCollectionExternalPluginAdapterV1Args.d.ts +16 -0
- package/dist/generated/types/addCollectionExternalPluginAdapterV1Args.d.ts.map +1 -0
- package/dist/generated/types/addCollectionExternalPluginAdapterV1Args.js +16 -0
- package/dist/generated/types/addCollectionExternalPluginAdapterV1Args.js.map +1 -0
- package/dist/generated/types/addCollectionPluginV1Args.d.ts +19 -0
- package/dist/generated/types/addCollectionPluginV1Args.d.ts.map +1 -0
- package/dist/generated/types/addCollectionPluginV1Args.js +17 -0
- package/dist/generated/types/addCollectionPluginV1Args.js.map +1 -0
- package/dist/generated/types/addCollectionsToGroupV1Args.d.ts +11 -0
- package/dist/generated/types/addCollectionsToGroupV1Args.d.ts.map +1 -0
- package/dist/generated/types/addCollectionsToGroupV1Args.js +15 -0
- package/dist/generated/types/addCollectionsToGroupV1Args.js.map +1 -0
- package/dist/generated/types/addExternalPluginAdapterV1Args.d.ts +16 -0
- package/dist/generated/types/addExternalPluginAdapterV1Args.d.ts.map +1 -0
- package/dist/generated/types/addExternalPluginAdapterV1Args.js +16 -0
- package/dist/generated/types/addExternalPluginAdapterV1Args.js.map +1 -0
- package/dist/generated/types/addGroupsToGroupV1Args.d.ts +13 -0
- package/dist/generated/types/addGroupsToGroupV1Args.d.ts.map +1 -0
- package/dist/generated/types/addGroupsToGroupV1Args.js +15 -0
- package/dist/generated/types/addGroupsToGroupV1Args.js.map +1 -0
- package/dist/generated/types/addPluginV1Args.d.ts +19 -0
- package/dist/generated/types/addPluginV1Args.d.ts.map +1 -0
- package/dist/generated/types/addPluginV1Args.js +17 -0
- package/dist/generated/types/addPluginV1Args.js.map +1 -0
- package/dist/generated/types/agentIdentity.d.ts +13 -0
- package/dist/generated/types/agentIdentity.d.ts.map +1 -0
- package/dist/generated/types/agentIdentity.js +15 -0
- package/dist/generated/types/agentIdentity.js.map +1 -0
- package/dist/generated/types/agentIdentityInitInfo.d.ts +22 -0
- package/dist/generated/types/agentIdentityInitInfo.d.ts.map +1 -0
- package/dist/generated/types/agentIdentityInitInfo.js +26 -0
- package/dist/generated/types/agentIdentityInitInfo.js.map +1 -0
- package/dist/generated/types/agentIdentityUpdateInfo.d.ts +19 -0
- package/dist/generated/types/agentIdentityUpdateInfo.d.ts.map +1 -0
- package/dist/generated/types/agentIdentityUpdateInfo.js +17 -0
- package/dist/generated/types/agentIdentityUpdateInfo.js.map +1 -0
- package/dist/generated/types/appData.d.ts +19 -0
- package/dist/generated/types/appData.d.ts.map +1 -0
- package/dist/generated/types/appData.js +17 -0
- package/dist/generated/types/appData.js.map +1 -0
- package/dist/generated/types/appDataInitInfo.d.ts +21 -0
- package/dist/generated/types/appDataInitInfo.d.ts.map +1 -0
- package/dist/generated/types/appDataInitInfo.js +25 -0
- package/dist/generated/types/appDataInitInfo.js.map +1 -0
- package/dist/generated/types/appDataUpdateInfo.d.ts +16 -0
- package/dist/generated/types/appDataUpdateInfo.d.ts.map +1 -0
- package/dist/generated/types/appDataUpdateInfo.js +16 -0
- package/dist/generated/types/appDataUpdateInfo.js.map +1 -0
- package/dist/generated/types/approveCollectionPluginAuthorityV1Args.d.ts +19 -0
- package/dist/generated/types/approveCollectionPluginAuthorityV1Args.d.ts.map +1 -0
- package/dist/generated/types/approveCollectionPluginAuthorityV1Args.js +17 -0
- package/dist/generated/types/approveCollectionPluginAuthorityV1Args.js.map +1 -0
- package/dist/generated/types/approvePluginAuthorityV1Args.d.ts +19 -0
- package/dist/generated/types/approvePluginAuthorityV1Args.d.ts.map +1 -0
- package/dist/generated/types/approvePluginAuthorityV1Args.js +17 -0
- package/dist/generated/types/approvePluginAuthorityV1Args.js.map +1 -0
- package/dist/generated/types/attribute.d.ts +14 -0
- package/dist/generated/types/attribute.d.ts.map +1 -0
- package/dist/generated/types/attribute.js +15 -0
- package/dist/generated/types/attribute.js.map +1 -0
- package/dist/generated/types/attributes.d.ts +16 -0
- package/dist/generated/types/attributes.d.ts.map +1 -0
- package/dist/generated/types/attributes.js +16 -0
- package/dist/generated/types/attributes.js.map +1 -0
- package/dist/generated/types/authority.d.ts +27 -0
- package/dist/generated/types/authority.d.ts.map +1 -0
- package/dist/generated/types/authority.js +37 -0
- package/dist/generated/types/authority.js.map +1 -0
- package/dist/generated/types/autograph.d.ts +16 -0
- package/dist/generated/types/autograph.d.ts.map +1 -0
- package/dist/generated/types/autograph.js +16 -0
- package/dist/generated/types/autograph.js.map +1 -0
- package/dist/generated/types/autographSignature.d.ts +14 -0
- package/dist/generated/types/autographSignature.d.ts.map +1 -0
- package/dist/generated/types/autographSignature.js +15 -0
- package/dist/generated/types/autographSignature.js.map +1 -0
- package/dist/generated/types/bubblegumV2.d.ts +11 -0
- package/dist/generated/types/bubblegumV2.d.ts.map +1 -0
- package/dist/generated/types/bubblegumV2.js +15 -0
- package/dist/generated/types/bubblegumV2.js.map +1 -0
- package/dist/generated/types/burnCollectionV1Args.d.ts +16 -0
- package/dist/generated/types/burnCollectionV1Args.d.ts.map +1 -0
- package/dist/generated/types/burnCollectionV1Args.js +16 -0
- package/dist/generated/types/burnCollectionV1Args.js.map +1 -0
- package/dist/generated/types/burnDelegate.d.ts +11 -0
- package/dist/generated/types/burnDelegate.d.ts.map +1 -0
- package/dist/generated/types/burnDelegate.js +15 -0
- package/dist/generated/types/burnDelegate.js.map +1 -0
- package/dist/generated/types/burnV1Args.d.ts +16 -0
- package/dist/generated/types/burnV1Args.d.ts.map +1 -0
- package/dist/generated/types/burnV1Args.js +16 -0
- package/dist/generated/types/burnV1Args.js.map +1 -0
- package/dist/generated/types/closeGroupV1Args.d.ts +11 -0
- package/dist/generated/types/closeGroupV1Args.d.ts.map +1 -0
- package/dist/generated/types/closeGroupV1Args.js +15 -0
- package/dist/generated/types/closeGroupV1Args.js.map +1 -0
- package/dist/generated/types/compressV1Args.d.ts +11 -0
- package/dist/generated/types/compressV1Args.d.ts.map +1 -0
- package/dist/generated/types/compressV1Args.js +15 -0
- package/dist/generated/types/compressV1Args.js.map +1 -0
- package/dist/generated/types/compressionProof.d.ts +27 -0
- package/dist/generated/types/compressionProof.d.ts.map +1 -0
- package/dist/generated/types/compressionProof.js +31 -0
- package/dist/generated/types/compressionProof.js.map +1 -0
- package/dist/generated/types/createCollectionV1Args.d.ts +20 -0
- package/dist/generated/types/createCollectionV1Args.d.ts.map +1 -0
- package/dist/generated/types/createCollectionV1Args.js +24 -0
- package/dist/generated/types/createCollectionV1Args.js.map +1 -0
- package/dist/generated/types/createCollectionV2Args.d.ts +23 -0
- package/dist/generated/types/createCollectionV2Args.d.ts.map +1 -0
- package/dist/generated/types/createCollectionV2Args.js +27 -0
- package/dist/generated/types/createCollectionV2Args.js.map +1 -0
- package/dist/generated/types/createGroupV1Args.d.ts +20 -0
- package/dist/generated/types/createGroupV1Args.d.ts.map +1 -0
- package/dist/generated/types/createGroupV1Args.js +24 -0
- package/dist/generated/types/createGroupV1Args.js.map +1 -0
- package/dist/generated/types/createV1Args.d.ts +23 -0
- package/dist/generated/types/createV1Args.d.ts.map +1 -0
- package/dist/generated/types/createV1Args.js +27 -0
- package/dist/generated/types/createV1Args.js.map +1 -0
- package/dist/generated/types/createV2Args.d.ts +26 -0
- package/dist/generated/types/createV2Args.d.ts.map +1 -0
- package/dist/generated/types/createV2Args.js +30 -0
- package/dist/generated/types/createV2Args.js.map +1 -0
- package/dist/generated/types/creator.d.ts +14 -0
- package/dist/generated/types/creator.d.ts.map +1 -0
- package/dist/generated/types/creator.js +15 -0
- package/dist/generated/types/creator.js.map +1 -0
- package/dist/generated/types/dataSection.d.ts +19 -0
- package/dist/generated/types/dataSection.d.ts.map +1 -0
- package/dist/generated/types/dataSection.js +17 -0
- package/dist/generated/types/dataSection.js.map +1 -0
- package/dist/generated/types/dataSectionInitInfo.d.ts +19 -0
- package/dist/generated/types/dataSectionInitInfo.d.ts.map +1 -0
- package/dist/generated/types/dataSectionInitInfo.js +17 -0
- package/dist/generated/types/dataSectionInitInfo.js.map +1 -0
- package/dist/generated/types/dataSectionUpdateInfo.d.ts +11 -0
- package/dist/generated/types/dataSectionUpdateInfo.d.ts.map +1 -0
- package/dist/generated/types/dataSectionUpdateInfo.js +15 -0
- package/dist/generated/types/dataSectionUpdateInfo.js.map +1 -0
- package/dist/generated/types/dataState.d.ts +14 -0
- package/dist/generated/types/dataState.d.ts.map +1 -0
- package/dist/generated/types/dataState.js +20 -0
- package/dist/generated/types/dataState.js.map +1 -0
- package/dist/generated/types/decompressV1Args.d.ts +16 -0
- package/dist/generated/types/decompressV1Args.d.ts.map +1 -0
- package/dist/generated/types/decompressV1Args.js +16 -0
- package/dist/generated/types/decompressV1Args.js.map +1 -0
- package/dist/generated/types/edition.d.ts +13 -0
- package/dist/generated/types/edition.d.ts.map +1 -0
- package/dist/generated/types/edition.js +15 -0
- package/dist/generated/types/edition.js.map +1 -0
- package/dist/generated/types/executeV1Args.d.ts +13 -0
- package/dist/generated/types/executeV1Args.d.ts.map +1 -0
- package/dist/generated/types/executeV1Args.js +15 -0
- package/dist/generated/types/executeV1Args.js.map +1 -0
- package/dist/generated/types/externalCheckResult.d.ts +13 -0
- package/dist/generated/types/externalCheckResult.d.ts.map +1 -0
- package/dist/generated/types/externalCheckResult.js +15 -0
- package/dist/generated/types/externalCheckResult.js.map +1 -0
- package/dist/generated/types/externalPluginAdapter.d.ts +70 -0
- package/dist/generated/types/externalPluginAdapter.d.ts.map +1 -0
- package/dist/generated/types/externalPluginAdapter.js +50 -0
- package/dist/generated/types/externalPluginAdapter.js.map +1 -0
- package/dist/generated/types/externalPluginAdapterInitInfo.d.ts +70 -0
- package/dist/generated/types/externalPluginAdapterInitInfo.d.ts.map +1 -0
- package/dist/generated/types/externalPluginAdapterInitInfo.js +50 -0
- package/dist/generated/types/externalPluginAdapterInitInfo.js.map +1 -0
- package/dist/generated/types/externalPluginAdapterKey.d.ts +63 -0
- package/dist/generated/types/externalPluginAdapterKey.d.ts.map +1 -0
- package/dist/generated/types/externalPluginAdapterKey.js +45 -0
- package/dist/generated/types/externalPluginAdapterKey.js.map +1 -0
- package/dist/generated/types/externalPluginAdapterSchema.d.ts +15 -0
- package/dist/generated/types/externalPluginAdapterSchema.d.ts.map +1 -0
- package/dist/generated/types/externalPluginAdapterSchema.js +21 -0
- package/dist/generated/types/externalPluginAdapterSchema.js.map +1 -0
- package/dist/generated/types/externalPluginAdapterType.d.ts +19 -0
- package/dist/generated/types/externalPluginAdapterType.d.ts.map +1 -0
- package/dist/generated/types/externalPluginAdapterType.js +25 -0
- package/dist/generated/types/externalPluginAdapterType.js.map +1 -0
- package/dist/generated/types/externalPluginAdapterUpdateInfo.d.ts +62 -0
- package/dist/generated/types/externalPluginAdapterUpdateInfo.d.ts.map +1 -0
- package/dist/generated/types/externalPluginAdapterUpdateInfo.js +47 -0
- package/dist/generated/types/externalPluginAdapterUpdateInfo.js.map +1 -0
- package/dist/generated/types/externalRegistryRecord.d.ts +29 -0
- package/dist/generated/types/externalRegistryRecord.d.ts.map +1 -0
- package/dist/generated/types/externalRegistryRecord.js +33 -0
- package/dist/generated/types/externalRegistryRecord.js.map +1 -0
- package/dist/generated/types/externalValidationResult.d.ts +15 -0
- package/dist/generated/types/externalValidationResult.d.ts.map +1 -0
- package/dist/generated/types/externalValidationResult.js +21 -0
- package/dist/generated/types/externalValidationResult.js.map +1 -0
- package/dist/generated/types/extraAccount.d.ts +84 -0
- package/dist/generated/types/extraAccount.d.ts.map +1 -0
- package/dist/generated/types/extraAccount.js +62 -0
- package/dist/generated/types/extraAccount.js.map +1 -0
- package/dist/generated/types/freezeDelegate.d.ts +13 -0
- package/dist/generated/types/freezeDelegate.d.ts.map +1 -0
- package/dist/generated/types/freezeDelegate.js +15 -0
- package/dist/generated/types/freezeDelegate.js.map +1 -0
- package/dist/generated/types/freezeExecute.d.ts +13 -0
- package/dist/generated/types/freezeExecute.d.ts.map +1 -0
- package/dist/generated/types/freezeExecute.js +15 -0
- package/dist/generated/types/freezeExecute.js.map +1 -0
- package/dist/generated/types/groups.d.ts +13 -0
- package/dist/generated/types/groups.d.ts.map +1 -0
- package/dist/generated/types/groups.js +15 -0
- package/dist/generated/types/groups.js.map +1 -0
- package/dist/generated/types/hashablePluginSchema.d.ts +21 -0
- package/dist/generated/types/hashablePluginSchema.d.ts.map +1 -0
- package/dist/generated/types/hashablePluginSchema.js +25 -0
- package/dist/generated/types/hashablePluginSchema.js.map +1 -0
- package/dist/generated/types/hashedAssetSchema.d.ts +14 -0
- package/dist/generated/types/hashedAssetSchema.d.ts.map +1 -0
- package/dist/generated/types/hashedAssetSchema.js +15 -0
- package/dist/generated/types/hashedAssetSchema.js.map +1 -0
- package/dist/generated/types/hookableLifecycleEvent.d.ts +17 -0
- package/dist/generated/types/hookableLifecycleEvent.d.ts.map +1 -0
- package/dist/generated/types/hookableLifecycleEvent.js +23 -0
- package/dist/generated/types/hookableLifecycleEvent.js.map +1 -0
- package/dist/generated/types/immutableMetadata.d.ts +11 -0
- package/dist/generated/types/immutableMetadata.d.ts.map +1 -0
- package/dist/generated/types/immutableMetadata.js +15 -0
- package/dist/generated/types/immutableMetadata.js.map +1 -0
- package/dist/generated/types/index.d.ts +116 -0
- package/dist/generated/types/key.d.ts +19 -0
- package/dist/generated/types/key.d.ts.map +1 -0
- package/dist/generated/types/key.js +25 -0
- package/dist/generated/types/key.js.map +1 -0
- package/dist/generated/types/lifecycleHook.d.ts +24 -0
- package/dist/generated/types/lifecycleHook.d.ts.map +1 -0
- package/dist/generated/types/lifecycleHook.js +28 -0
- package/dist/generated/types/lifecycleHook.js.map +1 -0
- package/dist/generated/types/lifecycleHookInitInfo.d.ts +30 -0
- package/dist/generated/types/lifecycleHookInitInfo.d.ts.map +1 -0
- package/dist/generated/types/lifecycleHookInitInfo.js +34 -0
- package/dist/generated/types/lifecycleHookInitInfo.js.map +1 -0
- package/dist/generated/types/lifecycleHookUpdateInfo.d.ts +23 -0
- package/dist/generated/types/lifecycleHookUpdateInfo.d.ts.map +1 -0
- package/dist/generated/types/lifecycleHookUpdateInfo.js +27 -0
- package/dist/generated/types/lifecycleHookUpdateInfo.js.map +1 -0
- package/dist/generated/types/linkedAppData.d.ts +19 -0
- package/dist/generated/types/linkedAppData.d.ts.map +1 -0
- package/dist/generated/types/linkedAppData.js +17 -0
- package/dist/generated/types/linkedAppData.js.map +1 -0
- package/dist/generated/types/linkedAppDataInitInfo.d.ts +21 -0
- package/dist/generated/types/linkedAppDataInitInfo.d.ts.map +1 -0
- package/dist/generated/types/linkedAppDataInitInfo.js +25 -0
- package/dist/generated/types/linkedAppDataInitInfo.js.map +1 -0
- package/dist/generated/types/linkedAppDataUpdateInfo.d.ts +16 -0
- package/dist/generated/types/linkedAppDataUpdateInfo.d.ts.map +1 -0
- package/dist/generated/types/linkedAppDataUpdateInfo.js +16 -0
- package/dist/generated/types/linkedAppDataUpdateInfo.js.map +1 -0
- package/dist/generated/types/linkedDataKey.d.ts +29 -0
- package/dist/generated/types/linkedDataKey.d.ts.map +1 -0
- package/dist/generated/types/linkedDataKey.js +28 -0
- package/dist/generated/types/linkedDataKey.js.map +1 -0
- package/dist/generated/types/linkedLifecycleHook.d.ts +24 -0
- package/dist/generated/types/linkedLifecycleHook.d.ts.map +1 -0
- package/dist/generated/types/linkedLifecycleHook.js +28 -0
- package/dist/generated/types/linkedLifecycleHook.js.map +1 -0
- package/dist/generated/types/linkedLifecycleHookInitInfo.d.ts +30 -0
- package/dist/generated/types/linkedLifecycleHookInitInfo.d.ts.map +1 -0
- package/dist/generated/types/linkedLifecycleHookInitInfo.js +34 -0
- package/dist/generated/types/linkedLifecycleHookInitInfo.js.map +1 -0
- package/dist/generated/types/linkedLifecycleHookUpdateInfo.d.ts +23 -0
- package/dist/generated/types/linkedLifecycleHookUpdateInfo.d.ts.map +1 -0
- package/dist/generated/types/linkedLifecycleHookUpdateInfo.js +27 -0
- package/dist/generated/types/linkedLifecycleHookUpdateInfo.js.map +1 -0
- package/dist/generated/types/masterEdition.d.ts +19 -0
- package/dist/generated/types/masterEdition.d.ts.map +1 -0
- package/dist/generated/types/masterEdition.js +23 -0
- package/dist/generated/types/masterEdition.js.map +1 -0
- package/dist/generated/types/oracle.d.ts +21 -0
- package/dist/generated/types/oracle.d.ts.map +1 -0
- package/dist/generated/types/oracle.js +25 -0
- package/dist/generated/types/oracle.js.map +1 -0
- package/dist/generated/types/oracleInitInfo.d.ts +28 -0
- package/dist/generated/types/oracleInitInfo.d.ts.map +1 -0
- package/dist/generated/types/oracleInitInfo.js +32 -0
- package/dist/generated/types/oracleInitInfo.js.map +1 -0
- package/dist/generated/types/oracleUpdateInfo.d.ts +23 -0
- package/dist/generated/types/oracleUpdateInfo.d.ts.map +1 -0
- package/dist/generated/types/oracleUpdateInfo.js +27 -0
- package/dist/generated/types/oracleUpdateInfo.js.map +1 -0
- package/dist/generated/types/oracleValidation.d.ts +33 -0
- package/dist/generated/types/oracleValidation.d.ts.map +1 -0
- package/dist/generated/types/oracleValidation.js +38 -0
- package/dist/generated/types/oracleValidation.js.map +1 -0
- package/dist/generated/types/permanentBurnDelegate.d.ts +11 -0
- package/dist/generated/types/permanentBurnDelegate.d.ts.map +1 -0
- package/dist/generated/types/permanentBurnDelegate.js +15 -0
- package/dist/generated/types/permanentBurnDelegate.js.map +1 -0
- package/dist/generated/types/permanentFreezeDelegate.d.ts +13 -0
- package/dist/generated/types/permanentFreezeDelegate.d.ts.map +1 -0
- package/dist/generated/types/permanentFreezeDelegate.js +15 -0
- package/dist/generated/types/permanentFreezeDelegate.js.map +1 -0
- package/dist/generated/types/permanentFreezeExecute.d.ts +13 -0
- package/dist/generated/types/permanentFreezeExecute.d.ts.map +1 -0
- package/dist/generated/types/permanentFreezeExecute.js +15 -0
- package/dist/generated/types/permanentFreezeExecute.js.map +1 -0
- package/dist/generated/types/permanentTransferDelegate.d.ts +11 -0
- package/dist/generated/types/permanentTransferDelegate.d.ts.map +1 -0
- package/dist/generated/types/permanentTransferDelegate.js +15 -0
- package/dist/generated/types/permanentTransferDelegate.js.map +1 -0
- package/dist/generated/types/plugin.d.ts +166 -0
- package/dist/generated/types/plugin.d.ts.map +1 -0
- package/dist/generated/types/plugin.js +86 -0
- package/dist/generated/types/plugin.js.map +1 -0
- package/dist/generated/types/pluginAuthorityPair.d.ts +19 -0
- package/dist/generated/types/pluginAuthorityPair.d.ts.map +1 -0
- package/dist/generated/types/pluginAuthorityPair.js +17 -0
- package/dist/generated/types/pluginAuthorityPair.js.map +1 -0
- package/dist/generated/types/pluginType.d.ts +31 -0
- package/dist/generated/types/pluginType.d.ts.map +1 -0
- package/dist/generated/types/pluginType.js +37 -0
- package/dist/generated/types/pluginType.js.map +1 -0
- package/dist/generated/types/registryRecord.d.ts +21 -0
- package/dist/generated/types/registryRecord.d.ts.map +1 -0
- package/dist/generated/types/registryRecord.js +25 -0
- package/dist/generated/types/registryRecord.js.map +1 -0
- package/dist/generated/types/relationshipEntry.d.ts +18 -0
- package/dist/generated/types/relationshipEntry.d.ts.map +1 -0
- package/dist/generated/types/relationshipEntry.js +16 -0
- package/dist/generated/types/relationshipEntry.js.map +1 -0
- package/dist/generated/types/relationshipKind.d.ts +16 -0
- package/dist/generated/types/relationshipKind.d.ts.map +1 -0
- package/dist/generated/types/relationshipKind.js +22 -0
- package/dist/generated/types/relationshipKind.js.map +1 -0
- package/dist/generated/types/removeAssetsFromGroupV1Args.d.ts +13 -0
- package/dist/generated/types/removeAssetsFromGroupV1Args.d.ts.map +1 -0
- package/dist/generated/types/removeAssetsFromGroupV1Args.js +15 -0
- package/dist/generated/types/removeAssetsFromGroupV1Args.js.map +1 -0
- package/dist/generated/types/removeCollectionExternalPluginAdapterV1Args.d.ts +16 -0
- package/dist/generated/types/removeCollectionExternalPluginAdapterV1Args.d.ts.map +1 -0
- package/dist/generated/types/removeCollectionExternalPluginAdapterV1Args.js +16 -0
- package/dist/generated/types/removeCollectionExternalPluginAdapterV1Args.js.map +1 -0
- package/dist/generated/types/removeCollectionPluginV1Args.d.ts +16 -0
- package/dist/generated/types/removeCollectionPluginV1Args.d.ts.map +1 -0
- package/dist/generated/types/removeCollectionPluginV1Args.js +16 -0
- package/dist/generated/types/removeCollectionPluginV1Args.js.map +1 -0
- package/dist/generated/types/removeCollectionsFromGroupV1Args.d.ts +13 -0
- package/dist/generated/types/removeCollectionsFromGroupV1Args.d.ts.map +1 -0
- package/dist/generated/types/removeCollectionsFromGroupV1Args.js +15 -0
- package/dist/generated/types/removeCollectionsFromGroupV1Args.js.map +1 -0
- package/dist/generated/types/removeExternalPluginAdapterV1Args.d.ts +16 -0
- package/dist/generated/types/removeExternalPluginAdapterV1Args.d.ts.map +1 -0
- package/dist/generated/types/removeExternalPluginAdapterV1Args.js +16 -0
- package/dist/generated/types/removeExternalPluginAdapterV1Args.js.map +1 -0
- package/dist/generated/types/removeGroupsFromGroupV1Args.d.ts +13 -0
- package/dist/generated/types/removeGroupsFromGroupV1Args.d.ts.map +1 -0
- package/dist/generated/types/removeGroupsFromGroupV1Args.js +15 -0
- package/dist/generated/types/removeGroupsFromGroupV1Args.js.map +1 -0
- package/dist/generated/types/removePluginV1Args.d.ts +16 -0
- package/dist/generated/types/removePluginV1Args.d.ts.map +1 -0
- package/dist/generated/types/removePluginV1Args.js +16 -0
- package/dist/generated/types/removePluginV1Args.js.map +1 -0
- package/dist/generated/types/revokeCollectionPluginAuthorityV1Args.d.ts +16 -0
- package/dist/generated/types/revokeCollectionPluginAuthorityV1Args.d.ts.map +1 -0
- package/dist/generated/types/revokeCollectionPluginAuthorityV1Args.js +16 -0
- package/dist/generated/types/revokeCollectionPluginAuthorityV1Args.js.map +1 -0
- package/dist/generated/types/revokePluginAuthorityV1Args.d.ts +16 -0
- package/dist/generated/types/revokePluginAuthorityV1Args.d.ts.map +1 -0
- package/dist/generated/types/revokePluginAuthorityV1Args.js +16 -0
- package/dist/generated/types/revokePluginAuthorityV1Args.js.map +1 -0
- package/dist/generated/types/royalties.d.ts +21 -0
- package/dist/generated/types/royalties.d.ts.map +1 -0
- package/dist/generated/types/royalties.js +25 -0
- package/dist/generated/types/royalties.js.map +1 -0
- package/dist/generated/types/ruleSet.d.ts +25 -0
- package/dist/generated/types/ruleSet.d.ts.map +1 -0
- package/dist/generated/types/ruleSet.js +35 -0
- package/dist/generated/types/ruleSet.js.map +1 -0
- package/dist/generated/types/seed.d.ts +34 -0
- package/dist/generated/types/seed.d.ts.map +1 -0
- package/dist/generated/types/seed.js +41 -0
- package/dist/generated/types/seed.js.map +1 -0
- package/dist/generated/types/transferDelegate.d.ts +11 -0
- package/dist/generated/types/transferDelegate.d.ts.map +1 -0
- package/dist/generated/types/transferDelegate.js +15 -0
- package/dist/generated/types/transferDelegate.js.map +1 -0
- package/dist/generated/types/transferV1Args.d.ts +16 -0
- package/dist/generated/types/transferV1Args.d.ts.map +1 -0
- package/dist/generated/types/transferV1Args.js +16 -0
- package/dist/generated/types/transferV1Args.js.map +1 -0
- package/dist/generated/types/updateAuthority.d.ts +25 -0
- package/dist/generated/types/updateAuthority.d.ts.map +1 -0
- package/dist/generated/types/updateAuthority.js +35 -0
- package/dist/generated/types/updateAuthority.js.map +1 -0
- package/dist/generated/types/updateCollectionExternalPluginAdapterV1Args.d.ts +19 -0
- package/dist/generated/types/updateCollectionExternalPluginAdapterV1Args.d.ts.map +1 -0
- package/dist/generated/types/updateCollectionExternalPluginAdapterV1Args.js +17 -0
- package/dist/generated/types/updateCollectionExternalPluginAdapterV1Args.js.map +1 -0
- package/dist/generated/types/updateCollectionInfoV1Args.d.ts +18 -0
- package/dist/generated/types/updateCollectionInfoV1Args.d.ts.map +1 -0
- package/dist/generated/types/updateCollectionInfoV1Args.js +16 -0
- package/dist/generated/types/updateCollectionInfoV1Args.js.map +1 -0
- package/dist/generated/types/updateCollectionPluginV1Args.d.ts +16 -0
- package/dist/generated/types/updateCollectionPluginV1Args.d.ts.map +1 -0
- package/dist/generated/types/updateCollectionPluginV1Args.js +16 -0
- package/dist/generated/types/updateCollectionPluginV1Args.js.map +1 -0
- package/dist/generated/types/updateCollectionV1Args.d.ts +17 -0
- package/dist/generated/types/updateCollectionV1Args.d.ts.map +1 -0
- package/dist/generated/types/updateCollectionV1Args.js +15 -0
- package/dist/generated/types/updateCollectionV1Args.js.map +1 -0
- package/dist/generated/types/updateDelegate.d.ts +13 -0
- package/dist/generated/types/updateDelegate.d.ts.map +1 -0
- package/dist/generated/types/updateDelegate.js +15 -0
- package/dist/generated/types/updateDelegate.js.map +1 -0
- package/dist/generated/types/updateExternalPluginAdapterV1Args.d.ts +19 -0
- package/dist/generated/types/updateExternalPluginAdapterV1Args.d.ts.map +1 -0
- package/dist/generated/types/updateExternalPluginAdapterV1Args.js +17 -0
- package/dist/generated/types/updateExternalPluginAdapterV1Args.js.map +1 -0
- package/dist/generated/types/updateGroupV1Args.d.ts +17 -0
- package/dist/generated/types/updateGroupV1Args.d.ts.map +1 -0
- package/dist/generated/types/updateGroupV1Args.js +15 -0
- package/dist/generated/types/updateGroupV1Args.js.map +1 -0
- package/dist/generated/types/updatePluginV1Args.d.ts +16 -0
- package/dist/generated/types/updatePluginV1Args.d.ts.map +1 -0
- package/dist/generated/types/updatePluginV1Args.js +16 -0
- package/dist/generated/types/updatePluginV1Args.js.map +1 -0
- package/dist/generated/types/updateType.d.ts +15 -0
- package/dist/generated/types/updateType.d.ts.map +1 -0
- package/dist/generated/types/updateType.js +21 -0
- package/dist/generated/types/updateType.js.map +1 -0
- package/dist/generated/types/updateV1Args.d.ts +20 -0
- package/dist/generated/types/updateV1Args.d.ts.map +1 -0
- package/dist/generated/types/updateV1Args.js +24 -0
- package/dist/generated/types/updateV1Args.js.map +1 -0
- package/dist/generated/types/updateV2Args.d.ts +20 -0
- package/dist/generated/types/updateV2Args.d.ts.map +1 -0
- package/dist/generated/types/updateV2Args.js +24 -0
- package/dist/generated/types/updateV2Args.js.map +1 -0
- package/dist/generated/types/validationResult.d.ts +16 -0
- package/dist/generated/types/validationResult.d.ts.map +1 -0
- package/dist/generated/types/validationResult.js +22 -0
- package/dist/generated/types/validationResult.js.map +1 -0
- package/dist/generated/types/validationResultsOffset.d.ts +31 -0
- package/dist/generated/types/validationResultsOffset.d.ts.map +1 -0
- package/dist/generated/types/validationResultsOffset.js +35 -0
- package/dist/generated/types/validationResultsOffset.js.map +1 -0
- package/dist/generated/types/verifiedCreators.d.ts +16 -0
- package/dist/generated/types/verifiedCreators.d.ts.map +1 -0
- package/dist/generated/types/verifiedCreators.js +16 -0
- package/dist/generated/types/verifiedCreators.js.map +1 -0
- package/dist/generated/types/verifiedCreatorsSignature.d.ts +14 -0
- package/dist/generated/types/verifiedCreatorsSignature.d.ts.map +1 -0
- package/dist/generated/types/verifiedCreatorsSignature.js +15 -0
- package/dist/generated/types/verifiedCreatorsSignature.js.map +1 -0
- package/dist/generated/types/writeCollectionExternalPluginAdapterDataV1Args.d.ts +18 -0
- package/dist/generated/types/writeCollectionExternalPluginAdapterDataV1Args.d.ts.map +1 -0
- package/dist/generated/types/writeCollectionExternalPluginAdapterDataV1Args.js +16 -0
- package/dist/generated/types/writeCollectionExternalPluginAdapterDataV1Args.js.map +1 -0
- package/dist/generated/types/writeExternalPluginAdapterDataV1Args.d.ts +18 -0
- package/dist/generated/types/writeExternalPluginAdapterDataV1Args.d.ts.map +1 -0
- package/dist/generated/types/writeExternalPluginAdapterDataV1Args.js +16 -0
- package/dist/generated/types/writeExternalPluginAdapterDataV1Args.js.map +1 -0
- package/dist/index.d.ts +168 -0
- package/dist/index.js +168 -0
- package/package.json +52 -5
- package/src/generated/accounts/assetV1.ts +156 -0
- package/src/generated/accounts/collectionV1.ts +140 -0
- package/src/generated/accounts/groupV1.ts +150 -0
- package/src/generated/accounts/hashedAssetV1.ts +127 -0
- package/src/generated/accounts/index.ts +14 -0
- package/src/generated/accounts/pluginHeaderV1.ts +129 -0
- package/src/generated/accounts/pluginRegistryV1.ts +152 -0
- package/src/generated/errors/index.ts +9 -0
- package/src/generated/errors/mplCoreProgram.ts +324 -0
- package/src/generated/index.ts +14 -0
- package/src/generated/instructions/addAssetsToGroupV1.ts +267 -0
- package/src/generated/instructions/addCollectionExternalPluginAdapterV1.ts +294 -0
- package/src/generated/instructions/addCollectionPluginV1.ts +283 -0
- package/src/generated/instructions/addCollectionsToGroupV1.ts +267 -0
- package/src/generated/instructions/addExternalPluginAdapterV1.ts +305 -0
- package/src/generated/instructions/addGroupsToGroupV1.ts +267 -0
- package/src/generated/instructions/addPluginV1.ts +291 -0
- package/src/generated/instructions/approveCollectionPluginAuthorityV1.ts +294 -0
- package/src/generated/instructions/approvePluginAuthorityV1.ts +302 -0
- package/src/generated/instructions/burnCollectionV1.ts +253 -0
- package/src/generated/instructions/burnV1.ts +280 -0
- package/src/generated/instructions/closeGroupV1.ts +230 -0
- package/src/generated/instructions/collect.ts +176 -0
- package/src/generated/instructions/compressV1.ts +291 -0
- package/src/generated/instructions/createCollectionV1.ts +268 -0
- package/src/generated/instructions/createCollectionV2.ts +268 -0
- package/src/generated/instructions/createGroupV1.ts +265 -0
- package/src/generated/instructions/createV1.ts +327 -0
- package/src/generated/instructions/createV2.ts +327 -0
- package/src/generated/instructions/decompressV1.ts +291 -0
- package/src/generated/instructions/executeV1.ts +449 -0
- package/src/generated/instructions/index.ts +50 -0
- package/src/generated/instructions/removeAssetsFromGroupV1.ts +267 -0
- package/src/generated/instructions/removeCollectionExternalPluginAdapterV1.ts +294 -0
- package/src/generated/instructions/removeCollectionPluginV1.ts +286 -0
- package/src/generated/instructions/removeCollectionsFromGroupV1.ts +273 -0
- package/src/generated/instructions/removeExternalPluginAdapterV1.ts +305 -0
- package/src/generated/instructions/removeGroupsFromGroupV1.ts +267 -0
- package/src/generated/instructions/removePluginV1.ts +294 -0
- package/src/generated/instructions/revokeCollectionPluginAuthorityV1.ts +291 -0
- package/src/generated/instructions/revokePluginAuthorityV1.ts +299 -0
- package/src/generated/instructions/transferV1.ts +299 -0
- package/src/generated/instructions/updateCollectionExternalPluginAdapterV1.ts +294 -0
- package/src/generated/instructions/updateCollectionInfoV1.ts +221 -0
- package/src/generated/instructions/updateCollectionPluginV1.ts +286 -0
- package/src/generated/instructions/updateCollectionV1.ts +302 -0
- package/src/generated/instructions/updateExternalPluginAdapterV1.ts +305 -0
- package/src/generated/instructions/updateGroupV1.ts +281 -0
- package/src/generated/instructions/updatePluginV1.ts +294 -0
- package/src/generated/instructions/updateV1.ts +291 -0
- package/src/generated/instructions/updateV2.ts +307 -0
- package/src/generated/instructions/writeCollectionExternalPluginAdapterDataV1.ts +311 -0
- package/src/generated/instructions/writeExternalPluginAdapterDataV1.ts +323 -0
- package/src/generated/pdas/assetSigner.ts +36 -0
- package/src/generated/pdas/index.ts +9 -0
- package/src/generated/programs/index.ts +9 -0
- package/src/generated/programs/mplCoreProgram.ts +1434 -0
- package/src/generated/types/addAssetsToGroupV1Args.ts +36 -0
- package/src/generated/types/addBlocker.ts +33 -0
- package/src/generated/types/addCollectionExternalPluginAdapterV1Args.ts +48 -0
- package/src/generated/types/addCollectionPluginV1Args.ts +63 -0
- package/src/generated/types/addCollectionsToGroupV1Args.ts +36 -0
- package/src/generated/types/addExternalPluginAdapterV1Args.ts +48 -0
- package/src/generated/types/addGroupsToGroupV1Args.ts +42 -0
- package/src/generated/types/addPluginV1Args.ts +60 -0
- package/src/generated/types/agentIdentity.ts +45 -0
- package/src/generated/types/agentIdentityInitInfo.ts +106 -0
- package/src/generated/types/agentIdentityUpdateInfo.ts +108 -0
- package/src/generated/types/appData.ts +50 -0
- package/src/generated/types/appDataInitInfo.ts +69 -0
- package/src/generated/types/appDataUpdateInfo.ts +60 -0
- package/src/generated/types/approveCollectionPluginAuthorityV1Args.ts +56 -0
- package/src/generated/types/approvePluginAuthorityV1Args.ts +56 -0
- package/src/generated/types/attribute.ts +45 -0
- package/src/generated/types/attributes.ts +42 -0
- package/src/generated/types/authority.ts +87 -0
- package/src/generated/types/autograph.ts +45 -0
- package/src/generated/types/autographSignature.ts +53 -0
- package/src/generated/types/bubblegumV2.ts +33 -0
- package/src/generated/types/burnCollectionV1Args.ts +57 -0
- package/src/generated/types/burnDelegate.ts +33 -0
- package/src/generated/types/burnV1Args.ts +51 -0
- package/src/generated/types/closeGroupV1Args.ts +36 -0
- package/src/generated/types/compressV1Args.ts +33 -0
- package/src/generated/types/compressionProof.ts +88 -0
- package/src/generated/types/createCollectionV1Args.ts +79 -0
- package/src/generated/types/createCollectionV2Args.ts +100 -0
- package/src/generated/types/createGroupV1Args.ts +65 -0
- package/src/generated/types/createV1Args.ts +84 -0
- package/src/generated/types/createV2Args.ts +102 -0
- package/src/generated/types/creator.ts +48 -0
- package/src/generated/types/dataSection.ts +50 -0
- package/src/generated/types/dataSectionInitInfo.ts +56 -0
- package/src/generated/types/dataSectionUpdateInfo.ts +36 -0
- package/src/generated/types/dataState.ts +33 -0
- package/src/generated/types/decompressV1Args.ts +41 -0
- package/src/generated/types/edition.ts +38 -0
- package/src/generated/types/executeV1Args.ts +51 -0
- package/src/generated/types/externalCheckResult.ts +44 -0
- package/src/generated/types/externalPluginAdapter.ts +268 -0
- package/src/generated/types/externalPluginAdapterInitInfo.ts +287 -0
- package/src/generated/types/externalPluginAdapterKey.ts +231 -0
- package/src/generated/types/externalPluginAdapterSchema.ts +40 -0
- package/src/generated/types/externalPluginAdapterType.ts +44 -0
- package/src/generated/types/externalPluginAdapterUpdateInfo.ts +263 -0
- package/src/generated/types/externalRegistryRecord.ts +122 -0
- package/src/generated/types/externalValidationResult.ts +40 -0
- package/src/generated/types/extraAccount.ts +294 -0
- package/src/generated/types/freezeDelegate.ts +41 -0
- package/src/generated/types/freezeExecute.ts +41 -0
- package/src/generated/types/groups.ts +36 -0
- package/src/generated/types/hashablePluginSchema.ts +61 -0
- package/src/generated/types/hashedAssetSchema.ts +55 -0
- package/src/generated/types/hookableLifecycleEvent.ts +42 -0
- package/src/generated/types/immutableMetadata.ts +36 -0
- package/src/generated/types/index.ts +125 -0
- package/src/generated/types/key.ts +38 -0
- package/src/generated/types/lifecycleHook.ts +88 -0
- package/src/generated/types/lifecycleHookInitInfo.ts +129 -0
- package/src/generated/types/lifecycleHookUpdateInfo.ts +114 -0
- package/src/generated/types/linkedAppData.ts +53 -0
- package/src/generated/types/linkedAppDataInitInfo.ts +72 -0
- package/src/generated/types/linkedAppDataUpdateInfo.ts +60 -0
- package/src/generated/types/linkedDataKey.ts +107 -0
- package/src/generated/types/linkedLifecycleHook.ts +91 -0
- package/src/generated/types/linkedLifecycleHookInitInfo.ts +129 -0
- package/src/generated/types/linkedLifecycleHookUpdateInfo.ts +114 -0
- package/src/generated/types/masterEdition.ts +75 -0
- package/src/generated/types/oracle.ts +69 -0
- package/src/generated/types/oracleInitInfo.ts +116 -0
- package/src/generated/types/oracleUpdateInfo.ts +108 -0
- package/src/generated/types/oracleValidation.ts +124 -0
- package/src/generated/types/permanentBurnDelegate.ts +36 -0
- package/src/generated/types/permanentFreezeDelegate.ts +44 -0
- package/src/generated/types/permanentFreezeExecute.ts +44 -0
- package/src/generated/types/permanentTransferDelegate.ts +36 -0
- package/src/generated/types/plugin.ts +565 -0
- package/src/generated/types/pluginAuthorityPair.ts +63 -0
- package/src/generated/types/pluginType.ts +53 -0
- package/src/generated/types/registryRecord.ts +63 -0
- package/src/generated/types/relationshipEntry.ts +60 -0
- package/src/generated/types/relationshipKind.ts +41 -0
- package/src/generated/types/removeAssetsFromGroupV1Args.ts +42 -0
- package/src/generated/types/removeCollectionExternalPluginAdapterV1Args.ts +44 -0
- package/src/generated/types/removeCollectionPluginV1Args.ts +42 -0
- package/src/generated/types/removeCollectionsFromGroupV1Args.ts +47 -0
- package/src/generated/types/removeExternalPluginAdapterV1Args.ts +44 -0
- package/src/generated/types/removeGroupsFromGroupV1Args.ts +42 -0
- package/src/generated/types/removePluginV1Args.ts +42 -0
- package/src/generated/types/revokeCollectionPluginAuthorityV1Args.ts +42 -0
- package/src/generated/types/revokePluginAuthorityV1Args.ts +42 -0
- package/src/generated/types/royalties.ts +57 -0
- package/src/generated/types/ruleSet.ts +114 -0
- package/src/generated/types/seed.ts +140 -0
- package/src/generated/types/transferDelegate.ts +36 -0
- package/src/generated/types/transferV1Args.ts +54 -0
- package/src/generated/types/updateAuthority.ts +107 -0
- package/src/generated/types/updateCollectionExternalPluginAdapterV1Args.ts +56 -0
- package/src/generated/types/updateCollectionInfoV1Args.ts +56 -0
- package/src/generated/types/updateCollectionPluginV1Args.ts +38 -0
- package/src/generated/types/updateCollectionV1Args.ts +74 -0
- package/src/generated/types/updateDelegate.ts +43 -0
- package/src/generated/types/updateExternalPluginAdapterV1Args.ts +56 -0
- package/src/generated/types/updateGroupV1Args.ts +74 -0
- package/src/generated/types/updatePluginV1Args.ts +38 -0
- package/src/generated/types/updateType.ts +37 -0
- package/src/generated/types/updateV1Args.ts +77 -0
- package/src/generated/types/updateV2Args.ts +77 -0
- package/src/generated/types/validationResult.ts +41 -0
- package/src/generated/types/validationResultsOffset.ts +115 -0
- package/src/generated/types/verifiedCreators.ts +54 -0
- package/src/generated/types/verifiedCreatorsSignature.ts +54 -0
- package/src/generated/types/writeCollectionExternalPluginAdapterDataV1Args.ts +81 -0
- package/src/generated/types/writeExternalPluginAdapterDataV1Args.ts +81 -0
- package/src/index.ts +8 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"removeCollectionsFromGroupV1.js","names":[],"sources":["../../../src/generated/instructions/removeCollectionsFromGroupV1.ts"],"sourcesContent":["/**\n * This code was AUTOGENERATED using the Codama library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun Codama to update it.\n *\n * @see https://github.com/codama-idl/codama\n */\n\nimport type {\n AccountMeta,\n AccountSignerMeta,\n Address,\n Codec,\n Decoder,\n Encoder,\n Instruction,\n InstructionWithAccounts,\n InstructionWithData,\n ReadonlyAccount,\n ReadonlySignerAccount,\n ReadonlyUint8Array,\n TransactionSigner,\n WritableAccount,\n WritableSignerAccount,\n} from \"@solana/kit\";\nimport type { ResolvedInstructionAccount } from \"@solana/program-client-core\";\nimport type {\n RemoveCollectionsFromGroupV1Args,\n RemoveCollectionsFromGroupV1ArgsArgs,\n} from \"../types/index.js\";\nimport {\n combineCodec,\n getStructDecoder,\n getStructEncoder,\n getU8Decoder,\n getU8Encoder,\n SOLANA_ERROR__PROGRAM_CLIENTS__INSUFFICIENT_ACCOUNT_METAS,\n SolanaError,\n transformEncoder,\n} from \"@solana/kit\";\nimport { getAccountMetaFactory } from \"@solana/program-client-core\";\nimport { MPL_CORE_PROGRAM_PROGRAM_ADDRESS } from \"../programs/index.js\";\nimport {\n getRemoveCollectionsFromGroupV1ArgsDecoder,\n getRemoveCollectionsFromGroupV1ArgsEncoder,\n} from \"../types/index.js\";\n\nexport const REMOVE_COLLECTIONS_FROM_GROUP_V1_DISCRIMINATOR = 34;\n\nexport function getRemoveCollectionsFromGroupV1DiscriminatorBytes(): ReadonlyUint8Array {\n return getU8Encoder().encode(REMOVE_COLLECTIONS_FROM_GROUP_V1_DISCRIMINATOR);\n}\n\nexport type RemoveCollectionsFromGroupV1Instruction<\n TProgram extends string = typeof MPL_CORE_PROGRAM_PROGRAM_ADDRESS,\n TAccountGroup extends string | AccountMeta<string> = string,\n TAccountPayer extends string | AccountMeta<string> = string,\n TAccountAuthority extends string | AccountMeta<string> = string,\n TAccountSystemProgram extends\n | string\n | AccountMeta<string> = \"11111111111111111111111111111111\",\n TRemainingAccounts extends readonly AccountMeta<string>[] = [],\n> = Instruction<TProgram> &\n InstructionWithData<ReadonlyUint8Array> &\n InstructionWithAccounts<\n [\n TAccountGroup extends string\n ? WritableAccount<TAccountGroup>\n : TAccountGroup,\n TAccountPayer extends string\n ? WritableSignerAccount<TAccountPayer> &\n AccountSignerMeta<TAccountPayer>\n : TAccountPayer,\n TAccountAuthority extends string\n ? ReadonlySignerAccount<TAccountAuthority> &\n AccountSignerMeta<TAccountAuthority>\n : TAccountAuthority,\n TAccountSystemProgram extends string\n ? ReadonlyAccount<TAccountSystemProgram>\n : TAccountSystemProgram,\n ...TRemainingAccounts,\n ]\n >;\n\nexport interface RemoveCollectionsFromGroupV1InstructionData {\n discriminator: number;\n removeCollectionsFromGroupV1Args: RemoveCollectionsFromGroupV1Args;\n}\n\nexport interface RemoveCollectionsFromGroupV1InstructionDataArgs {\n removeCollectionsFromGroupV1Args: RemoveCollectionsFromGroupV1ArgsArgs;\n}\n\nexport function getRemoveCollectionsFromGroupV1InstructionDataEncoder(): Encoder<RemoveCollectionsFromGroupV1InstructionDataArgs> {\n return transformEncoder(\n getStructEncoder([\n [\"discriminator\", getU8Encoder()],\n [\n \"removeCollectionsFromGroupV1Args\",\n getRemoveCollectionsFromGroupV1ArgsEncoder(),\n ],\n ]),\n (value) => ({\n ...value,\n discriminator: REMOVE_COLLECTIONS_FROM_GROUP_V1_DISCRIMINATOR,\n }),\n );\n}\n\nexport function getRemoveCollectionsFromGroupV1InstructionDataDecoder(): Decoder<RemoveCollectionsFromGroupV1InstructionData> {\n return getStructDecoder([\n [\"discriminator\", getU8Decoder()],\n [\n \"removeCollectionsFromGroupV1Args\",\n getRemoveCollectionsFromGroupV1ArgsDecoder(),\n ],\n ]);\n}\n\nexport function getRemoveCollectionsFromGroupV1InstructionDataCodec(): Codec<\n RemoveCollectionsFromGroupV1InstructionDataArgs,\n RemoveCollectionsFromGroupV1InstructionData\n> {\n return combineCodec(\n getRemoveCollectionsFromGroupV1InstructionDataEncoder(),\n getRemoveCollectionsFromGroupV1InstructionDataDecoder(),\n );\n}\n\nexport interface RemoveCollectionsFromGroupV1Input<\n TAccountGroup extends string = string,\n TAccountPayer extends string = string,\n TAccountAuthority extends string = string,\n TAccountSystemProgram extends string = string,\n> {\n /** The address of the group to modify */\n group: Address<TAccountGroup>;\n /** The account paying for storage fees */\n payer: TransactionSigner<TAccountPayer>;\n /** The group update authority and collection update authority or delegate */\n authority?: TransactionSigner<TAccountAuthority>;\n /** The system program */\n systemProgram?: Address<TAccountSystemProgram>;\n removeCollectionsFromGroupV1Args: RemoveCollectionsFromGroupV1InstructionDataArgs[\"removeCollectionsFromGroupV1Args\"];\n}\n\nexport function getRemoveCollectionsFromGroupV1Instruction<\n TAccountGroup extends string,\n TAccountPayer extends string,\n TAccountAuthority extends string,\n TAccountSystemProgram extends string,\n TProgramAddress extends Address = typeof MPL_CORE_PROGRAM_PROGRAM_ADDRESS,\n>(\n input: RemoveCollectionsFromGroupV1Input<\n TAccountGroup,\n TAccountPayer,\n TAccountAuthority,\n TAccountSystemProgram\n >,\n config?: { programAddress?: TProgramAddress },\n): RemoveCollectionsFromGroupV1Instruction<\n TProgramAddress,\n TAccountGroup,\n TAccountPayer,\n TAccountAuthority,\n TAccountSystemProgram\n> {\n // Program address.\n const programAddress =\n config?.programAddress ?? MPL_CORE_PROGRAM_PROGRAM_ADDRESS;\n\n // Original accounts.\n const originalAccounts = {\n group: { value: input.group ?? null, isWritable: true },\n payer: { value: input.payer ?? null, isWritable: true },\n authority: { value: input.authority ?? null, isWritable: false },\n systemProgram: { value: input.systemProgram ?? null, isWritable: false },\n };\n const accounts = originalAccounts as Record<\n keyof typeof originalAccounts,\n ResolvedInstructionAccount\n >;\n\n // Original args.\n const args = { ...input };\n\n // Resolve default values.\n if (!accounts.systemProgram.value) {\n accounts.systemProgram.value =\n \"11111111111111111111111111111111\" as Address<\"11111111111111111111111111111111\">;\n }\n\n const getAccountMeta = getAccountMetaFactory(programAddress, \"programId\");\n return Object.freeze({\n accounts: [\n getAccountMeta(\"group\", accounts.group),\n getAccountMeta(\"payer\", accounts.payer),\n getAccountMeta(\"authority\", accounts.authority),\n getAccountMeta(\"systemProgram\", accounts.systemProgram),\n ],\n data: getRemoveCollectionsFromGroupV1InstructionDataEncoder().encode(\n args as RemoveCollectionsFromGroupV1InstructionDataArgs,\n ),\n programAddress,\n } as RemoveCollectionsFromGroupV1Instruction<\n TProgramAddress,\n TAccountGroup,\n TAccountPayer,\n TAccountAuthority,\n TAccountSystemProgram\n >);\n}\n\nexport interface ParsedRemoveCollectionsFromGroupV1Instruction<\n TProgram extends string = typeof MPL_CORE_PROGRAM_PROGRAM_ADDRESS,\n TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[],\n> {\n programAddress: Address<TProgram>;\n accounts: {\n /** The address of the group to modify */\n group: TAccountMetas[0];\n /** The account paying for storage fees */\n payer: TAccountMetas[1];\n /** The group update authority and collection update authority or delegate */\n authority?: TAccountMetas[2] | undefined;\n /** The system program */\n systemProgram: TAccountMetas[3];\n };\n data: RemoveCollectionsFromGroupV1InstructionData;\n}\n\nexport function parseRemoveCollectionsFromGroupV1Instruction<\n TProgram extends string,\n TAccountMetas extends readonly AccountMeta[],\n>(\n instruction: Instruction<TProgram> &\n InstructionWithAccounts<TAccountMetas> &\n InstructionWithData<ReadonlyUint8Array>,\n): ParsedRemoveCollectionsFromGroupV1Instruction<TProgram, TAccountMetas> {\n if (instruction.accounts.length < 4) {\n throw new SolanaError(\n SOLANA_ERROR__PROGRAM_CLIENTS__INSUFFICIENT_ACCOUNT_METAS,\n {\n actualAccountMetas: instruction.accounts.length,\n expectedAccountMetas: 4,\n },\n );\n }\n let accountIndex = 0;\n const getNextAccount = () => {\n const accountMeta = (instruction.accounts as TAccountMetas)[accountIndex]!;\n accountIndex += 1;\n return accountMeta;\n };\n const getNextOptionalAccount = () => {\n const accountMeta = getNextAccount();\n return accountMeta.address === MPL_CORE_PROGRAM_PROGRAM_ADDRESS\n ? undefined\n : accountMeta;\n };\n return {\n programAddress: instruction.programAddress,\n accounts: {\n group: getNextAccount(),\n payer: getNextAccount(),\n authority: getNextOptionalAccount(),\n systemProgram: getNextAccount(),\n },\n data: getRemoveCollectionsFromGroupV1InstructionDataDecoder().decode(\n instruction.data,\n ),\n };\n}\n"],"mappings":";;;;;AA+CA,MAAa,iDAAiD;AAE9D,SAAgB,oDAAwE;CACtF,OAAO,aAAa,CAAC,CAAC,OAAA,EAAqD;AAC7E;AA0CA,SAAgB,wDAAkH;CAChI,OAAO,iBACL,iBAAiB,CACf,CAAC,iBAAiB,aAAa,CAAC,GAChC,CACE,oCACA,2CAA2C,CAC7C,CACF,CAAC,IACA,WAAW;EACV,GAAG;EACH,eAAA;CACF,EACF;AACF;AAEA,SAAgB,wDAA8G;CAC5H,OAAO,iBAAiB,CACtB,CAAC,iBAAiB,aAAa,CAAC,GAChC,CACE,oCACA,2CAA2C,CAC7C,CACF,CAAC;AACH;AAEA,SAAgB,sDAGd;CACA,OAAO,aACL,sDAAsD,GACtD,sDAAsD,CACxD;AACF;AAmBA,SAAgB,2CAOd,OAMA,QAOA;CAEA,MAAM,iBACJ,QAAQ,kBAAA;CASV,MAAM,WAAW;EALf,OAAO;GAAE,OAAO,MAAM,SAAS;GAAM,YAAY;EAAK;EACtD,OAAO;GAAE,OAAO,MAAM,SAAS;GAAM,YAAY;EAAK;EACtD,WAAW;GAAE,OAAO,MAAM,aAAa;GAAM,YAAY;EAAM;EAC/D,eAAe;GAAE,OAAO,MAAM,iBAAiB;GAAM,YAAY;EAAM;CAEzC;CAMhC,MAAM,OAAO,EAAE,GAAG,MAAM;CAGxB,IAAI,CAAC,SAAS,cAAc,OAC1B,SAAS,cAAc,QACrB;CAGJ,MAAM,iBAAiB,sBAAsB,gBAAgB,WAAW;CACxE,OAAO,OAAO,OAAO;EACnB,UAAU;GACR,eAAe,SAAS,SAAS,KAAK;GACtC,eAAe,SAAS,SAAS,KAAK;GACtC,eAAe,aAAa,SAAS,SAAS;GAC9C,eAAe,iBAAiB,SAAS,aAAa;EACxD;EACA,MAAM,sDAAsD,CAAC,CAAC,OAC5D,IACF;EACA;CACF,CAMC;AACH;AAoBA,SAAgB,6CAId,aAGwE;CACxE,IAAI,YAAY,SAAS,SAAS,GAChC,MAAM,IAAI,YACR,2DACA;EACE,oBAAoB,YAAY,SAAS;EACzC,sBAAsB;CACxB,CACF;CAEF,IAAI,eAAe;CACnB,MAAM,uBAAuB;EAC3B,MAAM,cAAe,YAAY,SAA2B;EAC5D,gBAAgB;EAChB,OAAO;CACT;CACA,MAAM,+BAA+B;EACnC,MAAM,cAAc,eAAe;EACnC,OAAO,YAAY,YAAA,iDACf,KAAA,IACA;CACN;CACA,OAAO;EACL,gBAAgB,YAAY;EAC5B,UAAU;GACR,OAAO,eAAe;GACtB,OAAO,eAAe;GACtB,WAAW,uBAAuB;GAClC,eAAe,eAAe;EAChC;EACA,MAAM,sDAAsD,CAAC,CAAC,OAC5D,YAAY,IACd;CACF;AACF"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { RemoveExternalPluginAdapterV1Args, RemoveExternalPluginAdapterV1ArgsArgs } from "../types/removeExternalPluginAdapterV1Args.js";
|
|
2
|
+
import { MPL_CORE_PROGRAM_PROGRAM_ADDRESS } from "../programs/mplCoreProgram.js";
|
|
3
|
+
import { AccountMeta, AccountSignerMeta, Address, Codec, Decoder, Encoder, Instruction, InstructionWithAccounts, InstructionWithData, ReadonlyAccount, ReadonlySignerAccount, ReadonlyUint8Array, TransactionSigner, WritableAccount, WritableSignerAccount } from "@solana/kit";
|
|
4
|
+
|
|
5
|
+
//#region src/generated/instructions/removeExternalPluginAdapterV1.d.ts
|
|
6
|
+
declare const REMOVE_EXTERNAL_PLUGIN_ADAPTER_V1_DISCRIMINATOR = 24;
|
|
7
|
+
declare function getRemoveExternalPluginAdapterV1DiscriminatorBytes(): ReadonlyUint8Array;
|
|
8
|
+
type RemoveExternalPluginAdapterV1Instruction<TProgram extends string = typeof MPL_CORE_PROGRAM_PROGRAM_ADDRESS, TAccountAsset extends string | AccountMeta<string> = string, TAccountCollection extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TAccountLogWrapper extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountAsset extends string ? WritableAccount<TAccountAsset> : TAccountAsset, TAccountCollection extends string ? WritableAccount<TAccountCollection> : TAccountCollection, TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer, TAccountAuthority extends string ? ReadonlySignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority, TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram, TAccountLogWrapper extends string ? ReadonlyAccount<TAccountLogWrapper> : TAccountLogWrapper, ...TRemainingAccounts]>;
|
|
9
|
+
interface RemoveExternalPluginAdapterV1InstructionData {
|
|
10
|
+
discriminator: number;
|
|
11
|
+
removeExternalPluginAdapterV1Args: RemoveExternalPluginAdapterV1Args;
|
|
12
|
+
}
|
|
13
|
+
interface RemoveExternalPluginAdapterV1InstructionDataArgs {
|
|
14
|
+
removeExternalPluginAdapterV1Args: RemoveExternalPluginAdapterV1ArgsArgs;
|
|
15
|
+
}
|
|
16
|
+
declare function getRemoveExternalPluginAdapterV1InstructionDataEncoder(): Encoder<RemoveExternalPluginAdapterV1InstructionDataArgs>;
|
|
17
|
+
declare function getRemoveExternalPluginAdapterV1InstructionDataDecoder(): Decoder<RemoveExternalPluginAdapterV1InstructionData>;
|
|
18
|
+
declare function getRemoveExternalPluginAdapterV1InstructionDataCodec(): Codec<RemoveExternalPluginAdapterV1InstructionDataArgs, RemoveExternalPluginAdapterV1InstructionData>;
|
|
19
|
+
interface RemoveExternalPluginAdapterV1Input<TAccountAsset extends string = string, TAccountCollection extends string = string, TAccountPayer extends string = string, TAccountAuthority extends string = string, TAccountSystemProgram extends string = string, TAccountLogWrapper extends string = string> {
|
|
20
|
+
/** The address of the asset */
|
|
21
|
+
asset: Address<TAccountAsset>;
|
|
22
|
+
/** The collection to which the asset belongs */
|
|
23
|
+
collection?: Address<TAccountCollection>;
|
|
24
|
+
/** The account paying for the storage fees */
|
|
25
|
+
payer: TransactionSigner<TAccountPayer>;
|
|
26
|
+
/** The owner or delegate of the asset */
|
|
27
|
+
authority?: TransactionSigner<TAccountAuthority>;
|
|
28
|
+
/** The system program */
|
|
29
|
+
systemProgram?: Address<TAccountSystemProgram>;
|
|
30
|
+
/** The SPL Noop Program */
|
|
31
|
+
logWrapper?: Address<TAccountLogWrapper>;
|
|
32
|
+
removeExternalPluginAdapterV1Args: RemoveExternalPluginAdapterV1InstructionDataArgs["removeExternalPluginAdapterV1Args"];
|
|
33
|
+
}
|
|
34
|
+
declare function getRemoveExternalPluginAdapterV1Instruction<TAccountAsset extends string, TAccountCollection extends string, TAccountPayer extends string, TAccountAuthority extends string, TAccountSystemProgram extends string, TAccountLogWrapper extends string, TProgramAddress extends Address = typeof MPL_CORE_PROGRAM_PROGRAM_ADDRESS>(input: RemoveExternalPluginAdapterV1Input<TAccountAsset, TAccountCollection, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountLogWrapper>, config?: {
|
|
35
|
+
programAddress?: TProgramAddress;
|
|
36
|
+
}): RemoveExternalPluginAdapterV1Instruction<TProgramAddress, TAccountAsset, TAccountCollection, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountLogWrapper>;
|
|
37
|
+
interface ParsedRemoveExternalPluginAdapterV1Instruction<TProgram extends string = typeof MPL_CORE_PROGRAM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> {
|
|
38
|
+
programAddress: Address<TProgram>;
|
|
39
|
+
accounts: {
|
|
40
|
+
/** The address of the asset */asset: TAccountMetas[0]; /** The collection to which the asset belongs */
|
|
41
|
+
collection?: TAccountMetas[1] | undefined; /** The account paying for the storage fees */
|
|
42
|
+
payer: TAccountMetas[2]; /** The owner or delegate of the asset */
|
|
43
|
+
authority?: TAccountMetas[3] | undefined; /** The system program */
|
|
44
|
+
systemProgram: TAccountMetas[4]; /** The SPL Noop Program */
|
|
45
|
+
logWrapper?: TAccountMetas[5] | undefined;
|
|
46
|
+
};
|
|
47
|
+
data: RemoveExternalPluginAdapterV1InstructionData;
|
|
48
|
+
}
|
|
49
|
+
declare function parseRemoveExternalPluginAdapterV1Instruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedRemoveExternalPluginAdapterV1Instruction<TProgram, TAccountMetas>;
|
|
50
|
+
//#endregion
|
|
51
|
+
export { ParsedRemoveExternalPluginAdapterV1Instruction, REMOVE_EXTERNAL_PLUGIN_ADAPTER_V1_DISCRIMINATOR, RemoveExternalPluginAdapterV1Input, RemoveExternalPluginAdapterV1Instruction, RemoveExternalPluginAdapterV1InstructionData, RemoveExternalPluginAdapterV1InstructionDataArgs, getRemoveExternalPluginAdapterV1DiscriminatorBytes, getRemoveExternalPluginAdapterV1Instruction, getRemoveExternalPluginAdapterV1InstructionDataCodec, getRemoveExternalPluginAdapterV1InstructionDataDecoder, getRemoveExternalPluginAdapterV1InstructionDataEncoder, parseRemoveExternalPluginAdapterV1Instruction };
|
|
52
|
+
//# sourceMappingURL=removeExternalPluginAdapterV1.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"removeExternalPluginAdapterV1.d.ts","names":[],"sources":["../../../src/generated/instructions/removeExternalPluginAdapterV1.ts"],"mappings":";;;;;cA+Ca,+CAAA;AAAA,iBAEG,kDAAA,IAAsD,kBAAA;AAAA,KAI1D,wCAAA,kCACuB,gCAAA,iCACF,WAAA,uDACK,WAAA,kDACL,WAAA,sDACI,WAAA,0DAG/B,WAAA,mFACgC,WAAA,uDACA,WAAA,mBAClC,WAAA,CAAY,QAAA,IACd,mBAAA,CAAoB,kBAAA,IACpB,uBAAA,EAEI,aAAA,kBACI,eAAA,CAAgB,aAAA,IAChB,aAAA,EACJ,kBAAA,kBACI,eAAA,CAAgB,kBAAA,IAChB,kBAAA,EACJ,aAAA,kBACI,qBAAA,CAAsB,aAAA,IACpB,iBAAA,CAAkB,aAAA,IACpB,aAAA,EACJ,iBAAA,kBACI,qBAAA,CAAsB,iBAAA,IACpB,iBAAA,CAAkB,iBAAA,IACpB,iBAAA,EACJ,qBAAA,kBACI,eAAA,CAAgB,qBAAA,IAChB,qBAAA,EACJ,kBAAA,kBACI,eAAA,CAAgB,kBAAA,IAChB,kBAAA,KACD,kBAAA;AAAA,UAIQ,4CAAA;EACf,aAAA;EACA,iCAAA,EAAmC,iCAAA;AAAA;AAAA,UAGpB,gDAAA;EACf,iCAAA,EAAmC,qCAAA;AAAA;AAAA,iBAGrB,sDAAA,IAA0D,OAAA,CAAQ,gDAAA;AAAA,iBAgBlE,sDAAA,IAA0D,OAAA,CAAQ,4CAAA;AAAA,iBAUlE,oDAAA,IAAwD,KAAA,CACtE,gDAAA,EACA,4CAAA;AAAA,UAQe,kCAAA;;EASf,KAAA,EAAO,OAAA,CAAQ,aAAA;;EAEf,UAAA,GAAa,OAAA,CAAQ,kBAAA;;EAErB,KAAA,EAAO,iBAAA,CAAkB,aAAA;;EAEzB,SAAA,GAAY,iBAAA,CAAkB,iBAAA;;EAE9B,aAAA,GAAgB,OAAA,CAAQ,qBAAA;;EAExB,UAAA,GAAa,OAAA,CAAQ,kBAAA;EACrB,iCAAA,EAAmC,gDAAA;AAAA;AAAA,iBAGrB,2CAAA,mOAOU,OAAA,UAAiB,gCAAA,EAEzC,KAAA,EAAO,kCAAA,CACL,aAAA,EACA,kBAAA,EACA,aAAA,EACA,iBAAA,EACA,qBAAA,EACA,kBAAA,GAEF,MAAA;EAAW,cAAA,GAAiB,eAAA;AAAA,IAC3B,wCAAA,CACD,eAAA,EACA,aAAA,EACA,kBAAA,EACA,aAAA,EACA,iBAAA,EACA,qBAAA,EACA,kBAAA;AAAA,UAsDe,8CAAA,kCACkB,gCAAA,iCACF,WAAA,cAAyB,WAAA;EAExD,cAAA,EAAgB,OAAA,CAAQ,QAAA;EACxB,QAAA;IA3L+B,+BA6L7B,KAAA,EAAO,aAAA,KA5L0B;IA8LjC,UAAA,GAAa,aAAA,iBA3LX;IA6LF,KAAA,EAAO,aAAA,KA5L2B;IA8LlC,SAAA,GAAY,aAAA,iBA7LsB;IA+LlC,aAAA,EAAe,aAAA,KA9LH;IAgMZ,UAAA,GAAa,aAAA;EAAA;EAEf,IAAA,EAAM,4CAAA;AAAA;AAAA,iBAGQ,6CAAA,yDAEiB,WAAA,IAE/B,WAAA,EAAa,WAAA,CAAY,QAAA,IACvB,uBAAA,CAAwB,aAAA,IACxB,mBAAA,CAAoB,kBAAA,IACrB,8CAAA,CAA+C,QAAA,EAAU,aAAA"}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { getRemoveExternalPluginAdapterV1ArgsDecoder, getRemoveExternalPluginAdapterV1ArgsEncoder } from "../types/removeExternalPluginAdapterV1Args.js";
|
|
2
|
+
import "../programs/mplCoreProgram.js";
|
|
3
|
+
import { SOLANA_ERROR__PROGRAM_CLIENTS__INSUFFICIENT_ACCOUNT_METAS, SolanaError, combineCodec, getStructDecoder, getStructEncoder, getU8Decoder, getU8Encoder, transformEncoder } from "@solana/kit";
|
|
4
|
+
import { getAccountMetaFactory } from "@solana/program-client-core";
|
|
5
|
+
//#region src/generated/instructions/removeExternalPluginAdapterV1.ts
|
|
6
|
+
const REMOVE_EXTERNAL_PLUGIN_ADAPTER_V1_DISCRIMINATOR = 24;
|
|
7
|
+
function getRemoveExternalPluginAdapterV1DiscriminatorBytes() {
|
|
8
|
+
return getU8Encoder().encode(24);
|
|
9
|
+
}
|
|
10
|
+
function getRemoveExternalPluginAdapterV1InstructionDataEncoder() {
|
|
11
|
+
return transformEncoder(getStructEncoder([["discriminator", getU8Encoder()], ["removeExternalPluginAdapterV1Args", getRemoveExternalPluginAdapterV1ArgsEncoder()]]), (value) => ({
|
|
12
|
+
...value,
|
|
13
|
+
discriminator: 24
|
|
14
|
+
}));
|
|
15
|
+
}
|
|
16
|
+
function getRemoveExternalPluginAdapterV1InstructionDataDecoder() {
|
|
17
|
+
return getStructDecoder([["discriminator", getU8Decoder()], ["removeExternalPluginAdapterV1Args", getRemoveExternalPluginAdapterV1ArgsDecoder()]]);
|
|
18
|
+
}
|
|
19
|
+
function getRemoveExternalPluginAdapterV1InstructionDataCodec() {
|
|
20
|
+
return combineCodec(getRemoveExternalPluginAdapterV1InstructionDataEncoder(), getRemoveExternalPluginAdapterV1InstructionDataDecoder());
|
|
21
|
+
}
|
|
22
|
+
function getRemoveExternalPluginAdapterV1Instruction(input, config) {
|
|
23
|
+
const programAddress = config?.programAddress ?? "CoREENxT6tW1HoK8ypY1SxRMZTcVPm7R94rH4PZNhX7d";
|
|
24
|
+
const accounts = {
|
|
25
|
+
asset: {
|
|
26
|
+
value: input.asset ?? null,
|
|
27
|
+
isWritable: true
|
|
28
|
+
},
|
|
29
|
+
collection: {
|
|
30
|
+
value: input.collection ?? null,
|
|
31
|
+
isWritable: true
|
|
32
|
+
},
|
|
33
|
+
payer: {
|
|
34
|
+
value: input.payer ?? null,
|
|
35
|
+
isWritable: true
|
|
36
|
+
},
|
|
37
|
+
authority: {
|
|
38
|
+
value: input.authority ?? null,
|
|
39
|
+
isWritable: false
|
|
40
|
+
},
|
|
41
|
+
systemProgram: {
|
|
42
|
+
value: input.systemProgram ?? null,
|
|
43
|
+
isWritable: false
|
|
44
|
+
},
|
|
45
|
+
logWrapper: {
|
|
46
|
+
value: input.logWrapper ?? null,
|
|
47
|
+
isWritable: false
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
const args = { ...input };
|
|
51
|
+
if (!accounts.systemProgram.value) accounts.systemProgram.value = "11111111111111111111111111111111";
|
|
52
|
+
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
53
|
+
return Object.freeze({
|
|
54
|
+
accounts: [
|
|
55
|
+
getAccountMeta("asset", accounts.asset),
|
|
56
|
+
getAccountMeta("collection", accounts.collection),
|
|
57
|
+
getAccountMeta("payer", accounts.payer),
|
|
58
|
+
getAccountMeta("authority", accounts.authority),
|
|
59
|
+
getAccountMeta("systemProgram", accounts.systemProgram),
|
|
60
|
+
getAccountMeta("logWrapper", accounts.logWrapper)
|
|
61
|
+
],
|
|
62
|
+
data: getRemoveExternalPluginAdapterV1InstructionDataEncoder().encode(args),
|
|
63
|
+
programAddress
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
function parseRemoveExternalPluginAdapterV1Instruction(instruction) {
|
|
67
|
+
if (instruction.accounts.length < 6) throw new SolanaError(SOLANA_ERROR__PROGRAM_CLIENTS__INSUFFICIENT_ACCOUNT_METAS, {
|
|
68
|
+
actualAccountMetas: instruction.accounts.length,
|
|
69
|
+
expectedAccountMetas: 6
|
|
70
|
+
});
|
|
71
|
+
let accountIndex = 0;
|
|
72
|
+
const getNextAccount = () => {
|
|
73
|
+
const accountMeta = instruction.accounts[accountIndex];
|
|
74
|
+
accountIndex += 1;
|
|
75
|
+
return accountMeta;
|
|
76
|
+
};
|
|
77
|
+
const getNextOptionalAccount = () => {
|
|
78
|
+
const accountMeta = getNextAccount();
|
|
79
|
+
return accountMeta.address === "CoREENxT6tW1HoK8ypY1SxRMZTcVPm7R94rH4PZNhX7d" ? void 0 : accountMeta;
|
|
80
|
+
};
|
|
81
|
+
return {
|
|
82
|
+
programAddress: instruction.programAddress,
|
|
83
|
+
accounts: {
|
|
84
|
+
asset: getNextAccount(),
|
|
85
|
+
collection: getNextOptionalAccount(),
|
|
86
|
+
payer: getNextAccount(),
|
|
87
|
+
authority: getNextOptionalAccount(),
|
|
88
|
+
systemProgram: getNextAccount(),
|
|
89
|
+
logWrapper: getNextOptionalAccount()
|
|
90
|
+
},
|
|
91
|
+
data: getRemoveExternalPluginAdapterV1InstructionDataDecoder().decode(instruction.data)
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
//#endregion
|
|
95
|
+
export { REMOVE_EXTERNAL_PLUGIN_ADAPTER_V1_DISCRIMINATOR, getRemoveExternalPluginAdapterV1DiscriminatorBytes, getRemoveExternalPluginAdapterV1Instruction, getRemoveExternalPluginAdapterV1InstructionDataCodec, getRemoveExternalPluginAdapterV1InstructionDataDecoder, getRemoveExternalPluginAdapterV1InstructionDataEncoder, parseRemoveExternalPluginAdapterV1Instruction };
|
|
96
|
+
|
|
97
|
+
//# sourceMappingURL=removeExternalPluginAdapterV1.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"removeExternalPluginAdapterV1.js","names":[],"sources":["../../../src/generated/instructions/removeExternalPluginAdapterV1.ts"],"sourcesContent":["/**\n * This code was AUTOGENERATED using the Codama library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun Codama to update it.\n *\n * @see https://github.com/codama-idl/codama\n */\n\nimport type {\n AccountMeta,\n AccountSignerMeta,\n Address,\n Codec,\n Decoder,\n Encoder,\n Instruction,\n InstructionWithAccounts,\n InstructionWithData,\n ReadonlyAccount,\n ReadonlySignerAccount,\n ReadonlyUint8Array,\n TransactionSigner,\n WritableAccount,\n WritableSignerAccount,\n} from \"@solana/kit\";\nimport type { ResolvedInstructionAccount } from \"@solana/program-client-core\";\nimport type {\n RemoveExternalPluginAdapterV1Args,\n RemoveExternalPluginAdapterV1ArgsArgs,\n} from \"../types/index.js\";\nimport {\n combineCodec,\n getStructDecoder,\n getStructEncoder,\n getU8Decoder,\n getU8Encoder,\n SOLANA_ERROR__PROGRAM_CLIENTS__INSUFFICIENT_ACCOUNT_METAS,\n SolanaError,\n transformEncoder,\n} from \"@solana/kit\";\nimport { getAccountMetaFactory } from \"@solana/program-client-core\";\nimport { MPL_CORE_PROGRAM_PROGRAM_ADDRESS } from \"../programs/index.js\";\nimport {\n getRemoveExternalPluginAdapterV1ArgsDecoder,\n getRemoveExternalPluginAdapterV1ArgsEncoder,\n} from \"../types/index.js\";\n\nexport const REMOVE_EXTERNAL_PLUGIN_ADAPTER_V1_DISCRIMINATOR = 24;\n\nexport function getRemoveExternalPluginAdapterV1DiscriminatorBytes(): ReadonlyUint8Array {\n return getU8Encoder().encode(REMOVE_EXTERNAL_PLUGIN_ADAPTER_V1_DISCRIMINATOR);\n}\n\nexport type RemoveExternalPluginAdapterV1Instruction<\n TProgram extends string = typeof MPL_CORE_PROGRAM_PROGRAM_ADDRESS,\n TAccountAsset extends string | AccountMeta<string> = string,\n TAccountCollection extends string | AccountMeta<string> = string,\n TAccountPayer extends string | AccountMeta<string> = string,\n TAccountAuthority extends string | AccountMeta<string> = string,\n TAccountSystemProgram extends\n | string\n | AccountMeta<string> = \"11111111111111111111111111111111\",\n TAccountLogWrapper extends string | AccountMeta<string> = string,\n TRemainingAccounts extends readonly AccountMeta<string>[] = [],\n> = Instruction<TProgram> &\n InstructionWithData<ReadonlyUint8Array> &\n InstructionWithAccounts<\n [\n TAccountAsset extends string\n ? WritableAccount<TAccountAsset>\n : TAccountAsset,\n TAccountCollection extends string\n ? WritableAccount<TAccountCollection>\n : TAccountCollection,\n TAccountPayer extends string\n ? WritableSignerAccount<TAccountPayer> &\n AccountSignerMeta<TAccountPayer>\n : TAccountPayer,\n TAccountAuthority extends string\n ? ReadonlySignerAccount<TAccountAuthority> &\n AccountSignerMeta<TAccountAuthority>\n : TAccountAuthority,\n TAccountSystemProgram extends string\n ? ReadonlyAccount<TAccountSystemProgram>\n : TAccountSystemProgram,\n TAccountLogWrapper extends string\n ? ReadonlyAccount<TAccountLogWrapper>\n : TAccountLogWrapper,\n ...TRemainingAccounts,\n ]\n >;\n\nexport interface RemoveExternalPluginAdapterV1InstructionData {\n discriminator: number;\n removeExternalPluginAdapterV1Args: RemoveExternalPluginAdapterV1Args;\n}\n\nexport interface RemoveExternalPluginAdapterV1InstructionDataArgs {\n removeExternalPluginAdapterV1Args: RemoveExternalPluginAdapterV1ArgsArgs;\n}\n\nexport function getRemoveExternalPluginAdapterV1InstructionDataEncoder(): Encoder<RemoveExternalPluginAdapterV1InstructionDataArgs> {\n return transformEncoder(\n getStructEncoder([\n [\"discriminator\", getU8Encoder()],\n [\n \"removeExternalPluginAdapterV1Args\",\n getRemoveExternalPluginAdapterV1ArgsEncoder(),\n ],\n ]),\n (value) => ({\n ...value,\n discriminator: REMOVE_EXTERNAL_PLUGIN_ADAPTER_V1_DISCRIMINATOR,\n }),\n );\n}\n\nexport function getRemoveExternalPluginAdapterV1InstructionDataDecoder(): Decoder<RemoveExternalPluginAdapterV1InstructionData> {\n return getStructDecoder([\n [\"discriminator\", getU8Decoder()],\n [\n \"removeExternalPluginAdapterV1Args\",\n getRemoveExternalPluginAdapterV1ArgsDecoder(),\n ],\n ]);\n}\n\nexport function getRemoveExternalPluginAdapterV1InstructionDataCodec(): Codec<\n RemoveExternalPluginAdapterV1InstructionDataArgs,\n RemoveExternalPluginAdapterV1InstructionData\n> {\n return combineCodec(\n getRemoveExternalPluginAdapterV1InstructionDataEncoder(),\n getRemoveExternalPluginAdapterV1InstructionDataDecoder(),\n );\n}\n\nexport interface RemoveExternalPluginAdapterV1Input<\n TAccountAsset extends string = string,\n TAccountCollection extends string = string,\n TAccountPayer extends string = string,\n TAccountAuthority extends string = string,\n TAccountSystemProgram extends string = string,\n TAccountLogWrapper extends string = string,\n> {\n /** The address of the asset */\n asset: Address<TAccountAsset>;\n /** The collection to which the asset belongs */\n collection?: Address<TAccountCollection>;\n /** The account paying for the storage fees */\n payer: TransactionSigner<TAccountPayer>;\n /** The owner or delegate of the asset */\n authority?: TransactionSigner<TAccountAuthority>;\n /** The system program */\n systemProgram?: Address<TAccountSystemProgram>;\n /** The SPL Noop Program */\n logWrapper?: Address<TAccountLogWrapper>;\n removeExternalPluginAdapterV1Args: RemoveExternalPluginAdapterV1InstructionDataArgs[\"removeExternalPluginAdapterV1Args\"];\n}\n\nexport function getRemoveExternalPluginAdapterV1Instruction<\n TAccountAsset extends string,\n TAccountCollection extends string,\n TAccountPayer extends string,\n TAccountAuthority extends string,\n TAccountSystemProgram extends string,\n TAccountLogWrapper extends string,\n TProgramAddress extends Address = typeof MPL_CORE_PROGRAM_PROGRAM_ADDRESS,\n>(\n input: RemoveExternalPluginAdapterV1Input<\n TAccountAsset,\n TAccountCollection,\n TAccountPayer,\n TAccountAuthority,\n TAccountSystemProgram,\n TAccountLogWrapper\n >,\n config?: { programAddress?: TProgramAddress },\n): RemoveExternalPluginAdapterV1Instruction<\n TProgramAddress,\n TAccountAsset,\n TAccountCollection,\n TAccountPayer,\n TAccountAuthority,\n TAccountSystemProgram,\n TAccountLogWrapper\n> {\n // Program address.\n const programAddress =\n config?.programAddress ?? MPL_CORE_PROGRAM_PROGRAM_ADDRESS;\n\n // Original accounts.\n const originalAccounts = {\n asset: { value: input.asset ?? null, isWritable: true },\n collection: { value: input.collection ?? null, isWritable: true },\n payer: { value: input.payer ?? null, isWritable: true },\n authority: { value: input.authority ?? null, isWritable: false },\n systemProgram: { value: input.systemProgram ?? null, isWritable: false },\n logWrapper: { value: input.logWrapper ?? null, isWritable: false },\n };\n const accounts = originalAccounts as Record<\n keyof typeof originalAccounts,\n ResolvedInstructionAccount\n >;\n\n // Original args.\n const args = { ...input };\n\n // Resolve default values.\n if (!accounts.systemProgram.value) {\n accounts.systemProgram.value =\n \"11111111111111111111111111111111\" as Address<\"11111111111111111111111111111111\">;\n }\n\n const getAccountMeta = getAccountMetaFactory(programAddress, \"programId\");\n return Object.freeze({\n accounts: [\n getAccountMeta(\"asset\", accounts.asset),\n getAccountMeta(\"collection\", accounts.collection),\n getAccountMeta(\"payer\", accounts.payer),\n getAccountMeta(\"authority\", accounts.authority),\n getAccountMeta(\"systemProgram\", accounts.systemProgram),\n getAccountMeta(\"logWrapper\", accounts.logWrapper),\n ],\n data: getRemoveExternalPluginAdapterV1InstructionDataEncoder().encode(\n args as RemoveExternalPluginAdapterV1InstructionDataArgs,\n ),\n programAddress,\n } as RemoveExternalPluginAdapterV1Instruction<\n TProgramAddress,\n TAccountAsset,\n TAccountCollection,\n TAccountPayer,\n TAccountAuthority,\n TAccountSystemProgram,\n TAccountLogWrapper\n >);\n}\n\nexport interface ParsedRemoveExternalPluginAdapterV1Instruction<\n TProgram extends string = typeof MPL_CORE_PROGRAM_PROGRAM_ADDRESS,\n TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[],\n> {\n programAddress: Address<TProgram>;\n accounts: {\n /** The address of the asset */\n asset: TAccountMetas[0];\n /** The collection to which the asset belongs */\n collection?: TAccountMetas[1] | undefined;\n /** The account paying for the storage fees */\n payer: TAccountMetas[2];\n /** The owner or delegate of the asset */\n authority?: TAccountMetas[3] | undefined;\n /** The system program */\n systemProgram: TAccountMetas[4];\n /** The SPL Noop Program */\n logWrapper?: TAccountMetas[5] | undefined;\n };\n data: RemoveExternalPluginAdapterV1InstructionData;\n}\n\nexport function parseRemoveExternalPluginAdapterV1Instruction<\n TProgram extends string,\n TAccountMetas extends readonly AccountMeta[],\n>(\n instruction: Instruction<TProgram> &\n InstructionWithAccounts<TAccountMetas> &\n InstructionWithData<ReadonlyUint8Array>,\n): ParsedRemoveExternalPluginAdapterV1Instruction<TProgram, TAccountMetas> {\n if (instruction.accounts.length < 6) {\n throw new SolanaError(\n SOLANA_ERROR__PROGRAM_CLIENTS__INSUFFICIENT_ACCOUNT_METAS,\n {\n actualAccountMetas: instruction.accounts.length,\n expectedAccountMetas: 6,\n },\n );\n }\n let accountIndex = 0;\n const getNextAccount = () => {\n const accountMeta = (instruction.accounts as TAccountMetas)[accountIndex]!;\n accountIndex += 1;\n return accountMeta;\n };\n const getNextOptionalAccount = () => {\n const accountMeta = getNextAccount();\n return accountMeta.address === MPL_CORE_PROGRAM_PROGRAM_ADDRESS\n ? undefined\n : accountMeta;\n };\n return {\n programAddress: instruction.programAddress,\n accounts: {\n asset: getNextAccount(),\n collection: getNextOptionalAccount(),\n payer: getNextAccount(),\n authority: getNextOptionalAccount(),\n systemProgram: getNextAccount(),\n logWrapper: getNextOptionalAccount(),\n },\n data: getRemoveExternalPluginAdapterV1InstructionDataDecoder().decode(\n instruction.data,\n ),\n };\n}\n"],"mappings":";;;;;AA+CA,MAAa,kDAAkD;AAE/D,SAAgB,qDAAyE;CACvF,OAAO,aAAa,CAAC,CAAC,OAAA,EAAsD;AAC9E;AAkDA,SAAgB,yDAAoH;CAClI,OAAO,iBACL,iBAAiB,CACf,CAAC,iBAAiB,aAAa,CAAC,GAChC,CACE,qCACA,4CAA4C,CAC9C,CACF,CAAC,IACA,WAAW;EACV,GAAG;EACH,eAAA;CACF,EACF;AACF;AAEA,SAAgB,yDAAgH;CAC9H,OAAO,iBAAiB,CACtB,CAAC,iBAAiB,aAAa,CAAC,GAChC,CACE,qCACA,4CAA4C,CAC9C,CACF,CAAC;AACH;AAEA,SAAgB,uDAGd;CACA,OAAO,aACL,uDAAuD,GACvD,uDAAuD,CACzD;AACF;AAyBA,SAAgB,4CASd,OAQA,QASA;CAEA,MAAM,iBACJ,QAAQ,kBAAA;CAWV,MAAM,WAAW;EAPf,OAAO;GAAE,OAAO,MAAM,SAAS;GAAM,YAAY;EAAK;EACtD,YAAY;GAAE,OAAO,MAAM,cAAc;GAAM,YAAY;EAAK;EAChE,OAAO;GAAE,OAAO,MAAM,SAAS;GAAM,YAAY;EAAK;EACtD,WAAW;GAAE,OAAO,MAAM,aAAa;GAAM,YAAY;EAAM;EAC/D,eAAe;GAAE,OAAO,MAAM,iBAAiB;GAAM,YAAY;EAAM;EACvE,YAAY;GAAE,OAAO,MAAM,cAAc;GAAM,YAAY;EAAM;CAEnC;CAMhC,MAAM,OAAO,EAAE,GAAG,MAAM;CAGxB,IAAI,CAAC,SAAS,cAAc,OAC1B,SAAS,cAAc,QACrB;CAGJ,MAAM,iBAAiB,sBAAsB,gBAAgB,WAAW;CACxE,OAAO,OAAO,OAAO;EACnB,UAAU;GACR,eAAe,SAAS,SAAS,KAAK;GACtC,eAAe,cAAc,SAAS,UAAU;GAChD,eAAe,SAAS,SAAS,KAAK;GACtC,eAAe,aAAa,SAAS,SAAS;GAC9C,eAAe,iBAAiB,SAAS,aAAa;GACtD,eAAe,cAAc,SAAS,UAAU;EAClD;EACA,MAAM,uDAAuD,CAAC,CAAC,OAC7D,IACF;EACA;CACF,CAQC;AACH;AAwBA,SAAgB,8CAId,aAGyE;CACzE,IAAI,YAAY,SAAS,SAAS,GAChC,MAAM,IAAI,YACR,2DACA;EACE,oBAAoB,YAAY,SAAS;EACzC,sBAAsB;CACxB,CACF;CAEF,IAAI,eAAe;CACnB,MAAM,uBAAuB;EAC3B,MAAM,cAAe,YAAY,SAA2B;EAC5D,gBAAgB;EAChB,OAAO;CACT;CACA,MAAM,+BAA+B;EACnC,MAAM,cAAc,eAAe;EACnC,OAAO,YAAY,YAAA,iDACf,KAAA,IACA;CACN;CACA,OAAO;EACL,gBAAgB,YAAY;EAC5B,UAAU;GACR,OAAO,eAAe;GACtB,YAAY,uBAAuB;GACnC,OAAO,eAAe;GACtB,WAAW,uBAAuB;GAClC,eAAe,eAAe;GAC9B,YAAY,uBAAuB;EACrC;EACA,MAAM,uDAAuD,CAAC,CAAC,OAC7D,YAAY,IACd;CACF;AACF"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { RemoveGroupsFromGroupV1Args, RemoveGroupsFromGroupV1ArgsArgs } from "../types/removeGroupsFromGroupV1Args.js";
|
|
2
|
+
import { MPL_CORE_PROGRAM_PROGRAM_ADDRESS } from "../programs/mplCoreProgram.js";
|
|
3
|
+
import { AccountMeta, AccountSignerMeta, Address, Codec, Decoder, Encoder, Instruction, InstructionWithAccounts, InstructionWithData, ReadonlyAccount, ReadonlySignerAccount, ReadonlyUint8Array, TransactionSigner, WritableAccount, WritableSignerAccount } from "@solana/kit";
|
|
4
|
+
|
|
5
|
+
//#region src/generated/instructions/removeGroupsFromGroupV1.d.ts
|
|
6
|
+
declare const REMOVE_GROUPS_FROM_GROUP_V1_DISCRIMINATOR = 38;
|
|
7
|
+
declare function getRemoveGroupsFromGroupV1DiscriminatorBytes(): ReadonlyUint8Array;
|
|
8
|
+
type RemoveGroupsFromGroupV1Instruction<TProgram extends string = typeof MPL_CORE_PROGRAM_PROGRAM_ADDRESS, TAccountParentGroup extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountParentGroup extends string ? WritableAccount<TAccountParentGroup> : TAccountParentGroup, TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer, TAccountAuthority extends string ? ReadonlySignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority, TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram, ...TRemainingAccounts]>;
|
|
9
|
+
interface RemoveGroupsFromGroupV1InstructionData {
|
|
10
|
+
discriminator: number;
|
|
11
|
+
removeGroupsFromGroupV1Args: RemoveGroupsFromGroupV1Args;
|
|
12
|
+
}
|
|
13
|
+
interface RemoveGroupsFromGroupV1InstructionDataArgs {
|
|
14
|
+
removeGroupsFromGroupV1Args: RemoveGroupsFromGroupV1ArgsArgs;
|
|
15
|
+
}
|
|
16
|
+
declare function getRemoveGroupsFromGroupV1InstructionDataEncoder(): Encoder<RemoveGroupsFromGroupV1InstructionDataArgs>;
|
|
17
|
+
declare function getRemoveGroupsFromGroupV1InstructionDataDecoder(): Decoder<RemoveGroupsFromGroupV1InstructionData>;
|
|
18
|
+
declare function getRemoveGroupsFromGroupV1InstructionDataCodec(): Codec<RemoveGroupsFromGroupV1InstructionDataArgs, RemoveGroupsFromGroupV1InstructionData>;
|
|
19
|
+
interface RemoveGroupsFromGroupV1Input<TAccountParentGroup extends string = string, TAccountPayer extends string = string, TAccountAuthority extends string = string, TAccountSystemProgram extends string = string> {
|
|
20
|
+
/** The address of the parent group to modify */
|
|
21
|
+
parentGroup: Address<TAccountParentGroup>;
|
|
22
|
+
/** The account paying for storage fees */
|
|
23
|
+
payer: TransactionSigner<TAccountPayer>;
|
|
24
|
+
/** The update authority of the parent and child groups */
|
|
25
|
+
authority?: TransactionSigner<TAccountAuthority>;
|
|
26
|
+
/** The system program */
|
|
27
|
+
systemProgram?: Address<TAccountSystemProgram>;
|
|
28
|
+
removeGroupsFromGroupV1Args: RemoveGroupsFromGroupV1InstructionDataArgs["removeGroupsFromGroupV1Args"];
|
|
29
|
+
}
|
|
30
|
+
declare function getRemoveGroupsFromGroupV1Instruction<TAccountParentGroup extends string, TAccountPayer extends string, TAccountAuthority extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof MPL_CORE_PROGRAM_PROGRAM_ADDRESS>(input: RemoveGroupsFromGroupV1Input<TAccountParentGroup, TAccountPayer, TAccountAuthority, TAccountSystemProgram>, config?: {
|
|
31
|
+
programAddress?: TProgramAddress;
|
|
32
|
+
}): RemoveGroupsFromGroupV1Instruction<TProgramAddress, TAccountParentGroup, TAccountPayer, TAccountAuthority, TAccountSystemProgram>;
|
|
33
|
+
interface ParsedRemoveGroupsFromGroupV1Instruction<TProgram extends string = typeof MPL_CORE_PROGRAM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> {
|
|
34
|
+
programAddress: Address<TProgram>;
|
|
35
|
+
accounts: {
|
|
36
|
+
/** The address of the parent group to modify */parentGroup: TAccountMetas[0]; /** The account paying for storage fees */
|
|
37
|
+
payer: TAccountMetas[1]; /** The update authority of the parent and child groups */
|
|
38
|
+
authority?: TAccountMetas[2] | undefined; /** The system program */
|
|
39
|
+
systemProgram: TAccountMetas[3];
|
|
40
|
+
};
|
|
41
|
+
data: RemoveGroupsFromGroupV1InstructionData;
|
|
42
|
+
}
|
|
43
|
+
declare function parseRemoveGroupsFromGroupV1Instruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedRemoveGroupsFromGroupV1Instruction<TProgram, TAccountMetas>;
|
|
44
|
+
//#endregion
|
|
45
|
+
export { ParsedRemoveGroupsFromGroupV1Instruction, REMOVE_GROUPS_FROM_GROUP_V1_DISCRIMINATOR, RemoveGroupsFromGroupV1Input, RemoveGroupsFromGroupV1Instruction, RemoveGroupsFromGroupV1InstructionData, RemoveGroupsFromGroupV1InstructionDataArgs, getRemoveGroupsFromGroupV1DiscriminatorBytes, getRemoveGroupsFromGroupV1Instruction, getRemoveGroupsFromGroupV1InstructionDataCodec, getRemoveGroupsFromGroupV1InstructionDataDecoder, getRemoveGroupsFromGroupV1InstructionDataEncoder, parseRemoveGroupsFromGroupV1Instruction };
|
|
46
|
+
//# sourceMappingURL=removeGroupsFromGroupV1.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"removeGroupsFromGroupV1.d.ts","names":[],"sources":["../../../src/generated/instructions/removeGroupsFromGroupV1.ts"],"mappings":";;;;;cA+Ca,yCAAA;AAAA,iBAEG,4CAAA,IAAgD,kBAAA;AAAA,KAIpD,kCAAA,kCACuB,gCAAA,uCACI,WAAA,kDACN,WAAA,sDACI,WAAA,0DAG/B,WAAA,mFACgC,WAAA,mBAClC,WAAA,CAAY,QAAA,IACd,mBAAA,CAAoB,kBAAA,IACpB,uBAAA,EAEI,mBAAA,kBACI,eAAA,CAAgB,mBAAA,IAChB,mBAAA,EACJ,aAAA,kBACI,qBAAA,CAAsB,aAAA,IACpB,iBAAA,CAAkB,aAAA,IACpB,aAAA,EACJ,iBAAA,kBACI,qBAAA,CAAsB,iBAAA,IACpB,iBAAA,CAAkB,iBAAA,IACpB,iBAAA,EACJ,qBAAA,kBACI,eAAA,CAAgB,qBAAA,IAChB,qBAAA,KACD,kBAAA;AAAA,UAIQ,sCAAA;EACf,aAAA;EACA,2BAAA,EAA6B,2BAAA;AAAA;AAAA,UAGd,0CAAA;EACf,2BAAA,EAA6B,+BAAA;AAAA;AAAA,iBAGf,gDAAA,IAAoD,OAAA,CAAQ,0CAAA;AAAA,iBAa5D,gDAAA,IAAoD,OAAA,CAAQ,sCAAA;AAAA,iBAO5D,8CAAA,IAAkD,KAAA,CAChE,0CAAA,EACA,sCAAA;AAAA,UAQe,4BAAA;;EAOf,WAAA,EAAa,OAAA,CAAQ,mBAAA;;EAErB,KAAA,EAAO,iBAAA,CAAkB,aAAA;;EAEzB,SAAA,GAAY,iBAAA,CAAkB,iBAAA;;EAE9B,aAAA,GAAgB,OAAA,CAAQ,qBAAA;EACxB,2BAAA,EAA6B,0CAAA;AAAA;AAAA,iBAGf,qCAAA,mKAKU,OAAA,UAAiB,gCAAA,EAEzC,KAAA,EAAO,4BAAA,CACL,mBAAA,EACA,aAAA,EACA,iBAAA,EACA,qBAAA,GAEF,MAAA;EAAW,cAAA,GAAiB,eAAA;AAAA,IAC3B,kCAAA,CACD,eAAA,EACA,mBAAA,EACA,aAAA,EACA,iBAAA,EACA,qBAAA;AAAA,UAgDe,wCAAA,kCACkB,gCAAA,iCACF,WAAA,cAAyB,WAAA;EAExD,cAAA,EAAgB,OAAA,CAAQ,QAAA;EACxB,QAAA;IA3JmC,gDA6JjC,WAAA,EAAa,aAAA,KA1JX;IA4JF,KAAA,EAAO,aAAA,KA3J2B;IA6JlC,SAAA,GAAY,aAAA,iBA5JA;IA8JZ,aAAA,EAAe,aAAA;EAAA;EAEjB,IAAA,EAAM,sCAAA;AAAA;AAAA,iBAGQ,uCAAA,yDAEiB,WAAA,IAE/B,WAAA,EAAa,WAAA,CAAY,QAAA,IACvB,uBAAA,CAAwB,aAAA,IACxB,mBAAA,CAAoB,kBAAA,IACrB,wCAAA,CAAyC,QAAA,EAAU,aAAA"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { getRemoveGroupsFromGroupV1ArgsDecoder, getRemoveGroupsFromGroupV1ArgsEncoder } from "../types/removeGroupsFromGroupV1Args.js";
|
|
2
|
+
import "../programs/mplCoreProgram.js";
|
|
3
|
+
import { SOLANA_ERROR__PROGRAM_CLIENTS__INSUFFICIENT_ACCOUNT_METAS, SolanaError, combineCodec, getStructDecoder, getStructEncoder, getU8Decoder, getU8Encoder, transformEncoder } from "@solana/kit";
|
|
4
|
+
import { getAccountMetaFactory } from "@solana/program-client-core";
|
|
5
|
+
//#region src/generated/instructions/removeGroupsFromGroupV1.ts
|
|
6
|
+
const REMOVE_GROUPS_FROM_GROUP_V1_DISCRIMINATOR = 38;
|
|
7
|
+
function getRemoveGroupsFromGroupV1DiscriminatorBytes() {
|
|
8
|
+
return getU8Encoder().encode(38);
|
|
9
|
+
}
|
|
10
|
+
function getRemoveGroupsFromGroupV1InstructionDataEncoder() {
|
|
11
|
+
return transformEncoder(getStructEncoder([["discriminator", getU8Encoder()], ["removeGroupsFromGroupV1Args", getRemoveGroupsFromGroupV1ArgsEncoder()]]), (value) => ({
|
|
12
|
+
...value,
|
|
13
|
+
discriminator: 38
|
|
14
|
+
}));
|
|
15
|
+
}
|
|
16
|
+
function getRemoveGroupsFromGroupV1InstructionDataDecoder() {
|
|
17
|
+
return getStructDecoder([["discriminator", getU8Decoder()], ["removeGroupsFromGroupV1Args", getRemoveGroupsFromGroupV1ArgsDecoder()]]);
|
|
18
|
+
}
|
|
19
|
+
function getRemoveGroupsFromGroupV1InstructionDataCodec() {
|
|
20
|
+
return combineCodec(getRemoveGroupsFromGroupV1InstructionDataEncoder(), getRemoveGroupsFromGroupV1InstructionDataDecoder());
|
|
21
|
+
}
|
|
22
|
+
function getRemoveGroupsFromGroupV1Instruction(input, config) {
|
|
23
|
+
const programAddress = config?.programAddress ?? "CoREENxT6tW1HoK8ypY1SxRMZTcVPm7R94rH4PZNhX7d";
|
|
24
|
+
const accounts = {
|
|
25
|
+
parentGroup: {
|
|
26
|
+
value: input.parentGroup ?? null,
|
|
27
|
+
isWritable: true
|
|
28
|
+
},
|
|
29
|
+
payer: {
|
|
30
|
+
value: input.payer ?? null,
|
|
31
|
+
isWritable: true
|
|
32
|
+
},
|
|
33
|
+
authority: {
|
|
34
|
+
value: input.authority ?? null,
|
|
35
|
+
isWritable: false
|
|
36
|
+
},
|
|
37
|
+
systemProgram: {
|
|
38
|
+
value: input.systemProgram ?? null,
|
|
39
|
+
isWritable: false
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
const args = { ...input };
|
|
43
|
+
if (!accounts.systemProgram.value) accounts.systemProgram.value = "11111111111111111111111111111111";
|
|
44
|
+
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
45
|
+
return Object.freeze({
|
|
46
|
+
accounts: [
|
|
47
|
+
getAccountMeta("parentGroup", accounts.parentGroup),
|
|
48
|
+
getAccountMeta("payer", accounts.payer),
|
|
49
|
+
getAccountMeta("authority", accounts.authority),
|
|
50
|
+
getAccountMeta("systemProgram", accounts.systemProgram)
|
|
51
|
+
],
|
|
52
|
+
data: getRemoveGroupsFromGroupV1InstructionDataEncoder().encode(args),
|
|
53
|
+
programAddress
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
function parseRemoveGroupsFromGroupV1Instruction(instruction) {
|
|
57
|
+
if (instruction.accounts.length < 4) throw new SolanaError(SOLANA_ERROR__PROGRAM_CLIENTS__INSUFFICIENT_ACCOUNT_METAS, {
|
|
58
|
+
actualAccountMetas: instruction.accounts.length,
|
|
59
|
+
expectedAccountMetas: 4
|
|
60
|
+
});
|
|
61
|
+
let accountIndex = 0;
|
|
62
|
+
const getNextAccount = () => {
|
|
63
|
+
const accountMeta = instruction.accounts[accountIndex];
|
|
64
|
+
accountIndex += 1;
|
|
65
|
+
return accountMeta;
|
|
66
|
+
};
|
|
67
|
+
const getNextOptionalAccount = () => {
|
|
68
|
+
const accountMeta = getNextAccount();
|
|
69
|
+
return accountMeta.address === "CoREENxT6tW1HoK8ypY1SxRMZTcVPm7R94rH4PZNhX7d" ? void 0 : accountMeta;
|
|
70
|
+
};
|
|
71
|
+
return {
|
|
72
|
+
programAddress: instruction.programAddress,
|
|
73
|
+
accounts: {
|
|
74
|
+
parentGroup: getNextAccount(),
|
|
75
|
+
payer: getNextAccount(),
|
|
76
|
+
authority: getNextOptionalAccount(),
|
|
77
|
+
systemProgram: getNextAccount()
|
|
78
|
+
},
|
|
79
|
+
data: getRemoveGroupsFromGroupV1InstructionDataDecoder().decode(instruction.data)
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
//#endregion
|
|
83
|
+
export { REMOVE_GROUPS_FROM_GROUP_V1_DISCRIMINATOR, getRemoveGroupsFromGroupV1DiscriminatorBytes, getRemoveGroupsFromGroupV1Instruction, getRemoveGroupsFromGroupV1InstructionDataCodec, getRemoveGroupsFromGroupV1InstructionDataDecoder, getRemoveGroupsFromGroupV1InstructionDataEncoder, parseRemoveGroupsFromGroupV1Instruction };
|
|
84
|
+
|
|
85
|
+
//# sourceMappingURL=removeGroupsFromGroupV1.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"removeGroupsFromGroupV1.js","names":[],"sources":["../../../src/generated/instructions/removeGroupsFromGroupV1.ts"],"sourcesContent":["/**\n * This code was AUTOGENERATED using the Codama library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun Codama to update it.\n *\n * @see https://github.com/codama-idl/codama\n */\n\nimport type {\n AccountMeta,\n AccountSignerMeta,\n Address,\n Codec,\n Decoder,\n Encoder,\n Instruction,\n InstructionWithAccounts,\n InstructionWithData,\n ReadonlyAccount,\n ReadonlySignerAccount,\n ReadonlyUint8Array,\n TransactionSigner,\n WritableAccount,\n WritableSignerAccount,\n} from \"@solana/kit\";\nimport type { ResolvedInstructionAccount } from \"@solana/program-client-core\";\nimport type {\n RemoveGroupsFromGroupV1Args,\n RemoveGroupsFromGroupV1ArgsArgs,\n} from \"../types/index.js\";\nimport {\n combineCodec,\n getStructDecoder,\n getStructEncoder,\n getU8Decoder,\n getU8Encoder,\n SOLANA_ERROR__PROGRAM_CLIENTS__INSUFFICIENT_ACCOUNT_METAS,\n SolanaError,\n transformEncoder,\n} from \"@solana/kit\";\nimport { getAccountMetaFactory } from \"@solana/program-client-core\";\nimport { MPL_CORE_PROGRAM_PROGRAM_ADDRESS } from \"../programs/index.js\";\nimport {\n getRemoveGroupsFromGroupV1ArgsDecoder,\n getRemoveGroupsFromGroupV1ArgsEncoder,\n} from \"../types/index.js\";\n\nexport const REMOVE_GROUPS_FROM_GROUP_V1_DISCRIMINATOR = 38;\n\nexport function getRemoveGroupsFromGroupV1DiscriminatorBytes(): ReadonlyUint8Array {\n return getU8Encoder().encode(REMOVE_GROUPS_FROM_GROUP_V1_DISCRIMINATOR);\n}\n\nexport type RemoveGroupsFromGroupV1Instruction<\n TProgram extends string = typeof MPL_CORE_PROGRAM_PROGRAM_ADDRESS,\n TAccountParentGroup extends string | AccountMeta<string> = string,\n TAccountPayer extends string | AccountMeta<string> = string,\n TAccountAuthority extends string | AccountMeta<string> = string,\n TAccountSystemProgram extends\n | string\n | AccountMeta<string> = \"11111111111111111111111111111111\",\n TRemainingAccounts extends readonly AccountMeta<string>[] = [],\n> = Instruction<TProgram> &\n InstructionWithData<ReadonlyUint8Array> &\n InstructionWithAccounts<\n [\n TAccountParentGroup extends string\n ? WritableAccount<TAccountParentGroup>\n : TAccountParentGroup,\n TAccountPayer extends string\n ? WritableSignerAccount<TAccountPayer> &\n AccountSignerMeta<TAccountPayer>\n : TAccountPayer,\n TAccountAuthority extends string\n ? ReadonlySignerAccount<TAccountAuthority> &\n AccountSignerMeta<TAccountAuthority>\n : TAccountAuthority,\n TAccountSystemProgram extends string\n ? ReadonlyAccount<TAccountSystemProgram>\n : TAccountSystemProgram,\n ...TRemainingAccounts,\n ]\n >;\n\nexport interface RemoveGroupsFromGroupV1InstructionData {\n discriminator: number;\n removeGroupsFromGroupV1Args: RemoveGroupsFromGroupV1Args;\n}\n\nexport interface RemoveGroupsFromGroupV1InstructionDataArgs {\n removeGroupsFromGroupV1Args: RemoveGroupsFromGroupV1ArgsArgs;\n}\n\nexport function getRemoveGroupsFromGroupV1InstructionDataEncoder(): Encoder<RemoveGroupsFromGroupV1InstructionDataArgs> {\n return transformEncoder(\n getStructEncoder([\n [\"discriminator\", getU8Encoder()],\n [\"removeGroupsFromGroupV1Args\", getRemoveGroupsFromGroupV1ArgsEncoder()],\n ]),\n (value) => ({\n ...value,\n discriminator: REMOVE_GROUPS_FROM_GROUP_V1_DISCRIMINATOR,\n }),\n );\n}\n\nexport function getRemoveGroupsFromGroupV1InstructionDataDecoder(): Decoder<RemoveGroupsFromGroupV1InstructionData> {\n return getStructDecoder([\n [\"discriminator\", getU8Decoder()],\n [\"removeGroupsFromGroupV1Args\", getRemoveGroupsFromGroupV1ArgsDecoder()],\n ]);\n}\n\nexport function getRemoveGroupsFromGroupV1InstructionDataCodec(): Codec<\n RemoveGroupsFromGroupV1InstructionDataArgs,\n RemoveGroupsFromGroupV1InstructionData\n> {\n return combineCodec(\n getRemoveGroupsFromGroupV1InstructionDataEncoder(),\n getRemoveGroupsFromGroupV1InstructionDataDecoder(),\n );\n}\n\nexport interface RemoveGroupsFromGroupV1Input<\n TAccountParentGroup extends string = string,\n TAccountPayer extends string = string,\n TAccountAuthority extends string = string,\n TAccountSystemProgram extends string = string,\n> {\n /** The address of the parent group to modify */\n parentGroup: Address<TAccountParentGroup>;\n /** The account paying for storage fees */\n payer: TransactionSigner<TAccountPayer>;\n /** The update authority of the parent and child groups */\n authority?: TransactionSigner<TAccountAuthority>;\n /** The system program */\n systemProgram?: Address<TAccountSystemProgram>;\n removeGroupsFromGroupV1Args: RemoveGroupsFromGroupV1InstructionDataArgs[\"removeGroupsFromGroupV1Args\"];\n}\n\nexport function getRemoveGroupsFromGroupV1Instruction<\n TAccountParentGroup extends string,\n TAccountPayer extends string,\n TAccountAuthority extends string,\n TAccountSystemProgram extends string,\n TProgramAddress extends Address = typeof MPL_CORE_PROGRAM_PROGRAM_ADDRESS,\n>(\n input: RemoveGroupsFromGroupV1Input<\n TAccountParentGroup,\n TAccountPayer,\n TAccountAuthority,\n TAccountSystemProgram\n >,\n config?: { programAddress?: TProgramAddress },\n): RemoveGroupsFromGroupV1Instruction<\n TProgramAddress,\n TAccountParentGroup,\n TAccountPayer,\n TAccountAuthority,\n TAccountSystemProgram\n> {\n // Program address.\n const programAddress =\n config?.programAddress ?? MPL_CORE_PROGRAM_PROGRAM_ADDRESS;\n\n // Original accounts.\n const originalAccounts = {\n parentGroup: { value: input.parentGroup ?? null, isWritable: true },\n payer: { value: input.payer ?? null, isWritable: true },\n authority: { value: input.authority ?? null, isWritable: false },\n systemProgram: { value: input.systemProgram ?? null, isWritable: false },\n };\n const accounts = originalAccounts as Record<\n keyof typeof originalAccounts,\n ResolvedInstructionAccount\n >;\n\n // Original args.\n const args = { ...input };\n\n // Resolve default values.\n if (!accounts.systemProgram.value) {\n accounts.systemProgram.value =\n \"11111111111111111111111111111111\" as Address<\"11111111111111111111111111111111\">;\n }\n\n const getAccountMeta = getAccountMetaFactory(programAddress, \"programId\");\n return Object.freeze({\n accounts: [\n getAccountMeta(\"parentGroup\", accounts.parentGroup),\n getAccountMeta(\"payer\", accounts.payer),\n getAccountMeta(\"authority\", accounts.authority),\n getAccountMeta(\"systemProgram\", accounts.systemProgram),\n ],\n data: getRemoveGroupsFromGroupV1InstructionDataEncoder().encode(\n args as RemoveGroupsFromGroupV1InstructionDataArgs,\n ),\n programAddress,\n } as RemoveGroupsFromGroupV1Instruction<\n TProgramAddress,\n TAccountParentGroup,\n TAccountPayer,\n TAccountAuthority,\n TAccountSystemProgram\n >);\n}\n\nexport interface ParsedRemoveGroupsFromGroupV1Instruction<\n TProgram extends string = typeof MPL_CORE_PROGRAM_PROGRAM_ADDRESS,\n TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[],\n> {\n programAddress: Address<TProgram>;\n accounts: {\n /** The address of the parent group to modify */\n parentGroup: TAccountMetas[0];\n /** The account paying for storage fees */\n payer: TAccountMetas[1];\n /** The update authority of the parent and child groups */\n authority?: TAccountMetas[2] | undefined;\n /** The system program */\n systemProgram: TAccountMetas[3];\n };\n data: RemoveGroupsFromGroupV1InstructionData;\n}\n\nexport function parseRemoveGroupsFromGroupV1Instruction<\n TProgram extends string,\n TAccountMetas extends readonly AccountMeta[],\n>(\n instruction: Instruction<TProgram> &\n InstructionWithAccounts<TAccountMetas> &\n InstructionWithData<ReadonlyUint8Array>,\n): ParsedRemoveGroupsFromGroupV1Instruction<TProgram, TAccountMetas> {\n if (instruction.accounts.length < 4) {\n throw new SolanaError(\n SOLANA_ERROR__PROGRAM_CLIENTS__INSUFFICIENT_ACCOUNT_METAS,\n {\n actualAccountMetas: instruction.accounts.length,\n expectedAccountMetas: 4,\n },\n );\n }\n let accountIndex = 0;\n const getNextAccount = () => {\n const accountMeta = (instruction.accounts as TAccountMetas)[accountIndex]!;\n accountIndex += 1;\n return accountMeta;\n };\n const getNextOptionalAccount = () => {\n const accountMeta = getNextAccount();\n return accountMeta.address === MPL_CORE_PROGRAM_PROGRAM_ADDRESS\n ? undefined\n : accountMeta;\n };\n return {\n programAddress: instruction.programAddress,\n accounts: {\n parentGroup: getNextAccount(),\n payer: getNextAccount(),\n authority: getNextOptionalAccount(),\n systemProgram: getNextAccount(),\n },\n data: getRemoveGroupsFromGroupV1InstructionDataDecoder().decode(\n instruction.data,\n ),\n };\n}\n"],"mappings":";;;;;AA+CA,MAAa,4CAA4C;AAEzD,SAAgB,+CAAmE;CACjF,OAAO,aAAa,CAAC,CAAC,OAAA,EAAgD;AACxE;AA0CA,SAAgB,mDAAwG;CACtH,OAAO,iBACL,iBAAiB,CACf,CAAC,iBAAiB,aAAa,CAAC,GAChC,CAAC,+BAA+B,sCAAsC,CAAC,CACzE,CAAC,IACA,WAAW;EACV,GAAG;EACH,eAAA;CACF,EACF;AACF;AAEA,SAAgB,mDAAoG;CAClH,OAAO,iBAAiB,CACtB,CAAC,iBAAiB,aAAa,CAAC,GAChC,CAAC,+BAA+B,sCAAsC,CAAC,CACzE,CAAC;AACH;AAEA,SAAgB,iDAGd;CACA,OAAO,aACL,iDAAiD,GACjD,iDAAiD,CACnD;AACF;AAmBA,SAAgB,sCAOd,OAMA,QAOA;CAEA,MAAM,iBACJ,QAAQ,kBAAA;CASV,MAAM,WAAW;EALf,aAAa;GAAE,OAAO,MAAM,eAAe;GAAM,YAAY;EAAK;EAClE,OAAO;GAAE,OAAO,MAAM,SAAS;GAAM,YAAY;EAAK;EACtD,WAAW;GAAE,OAAO,MAAM,aAAa;GAAM,YAAY;EAAM;EAC/D,eAAe;GAAE,OAAO,MAAM,iBAAiB;GAAM,YAAY;EAAM;CAEzC;CAMhC,MAAM,OAAO,EAAE,GAAG,MAAM;CAGxB,IAAI,CAAC,SAAS,cAAc,OAC1B,SAAS,cAAc,QACrB;CAGJ,MAAM,iBAAiB,sBAAsB,gBAAgB,WAAW;CACxE,OAAO,OAAO,OAAO;EACnB,UAAU;GACR,eAAe,eAAe,SAAS,WAAW;GAClD,eAAe,SAAS,SAAS,KAAK;GACtC,eAAe,aAAa,SAAS,SAAS;GAC9C,eAAe,iBAAiB,SAAS,aAAa;EACxD;EACA,MAAM,iDAAiD,CAAC,CAAC,OACvD,IACF;EACA;CACF,CAMC;AACH;AAoBA,SAAgB,wCAId,aAGmE;CACnE,IAAI,YAAY,SAAS,SAAS,GAChC,MAAM,IAAI,YACR,2DACA;EACE,oBAAoB,YAAY,SAAS;EACzC,sBAAsB;CACxB,CACF;CAEF,IAAI,eAAe;CACnB,MAAM,uBAAuB;EAC3B,MAAM,cAAe,YAAY,SAA2B;EAC5D,gBAAgB;EAChB,OAAO;CACT;CACA,MAAM,+BAA+B;EACnC,MAAM,cAAc,eAAe;EACnC,OAAO,YAAY,YAAA,iDACf,KAAA,IACA;CACN;CACA,OAAO;EACL,gBAAgB,YAAY;EAC5B,UAAU;GACR,aAAa,eAAe;GAC5B,OAAO,eAAe;GACtB,WAAW,uBAAuB;GAClC,eAAe,eAAe;EAChC;EACA,MAAM,iDAAiD,CAAC,CAAC,OACvD,YAAY,IACd;CACF;AACF"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { RemovePluginV1Args, RemovePluginV1ArgsArgs } from "../types/removePluginV1Args.js";
|
|
2
|
+
import { MPL_CORE_PROGRAM_PROGRAM_ADDRESS } from "../programs/mplCoreProgram.js";
|
|
3
|
+
import { AccountMeta, AccountSignerMeta, Address, FixedSizeCodec, FixedSizeDecoder, FixedSizeEncoder, Instruction, InstructionWithAccounts, InstructionWithData, ReadonlyAccount, ReadonlySignerAccount, ReadonlyUint8Array, TransactionSigner, WritableAccount, WritableSignerAccount } from "@solana/kit";
|
|
4
|
+
|
|
5
|
+
//#region src/generated/instructions/removePluginV1.d.ts
|
|
6
|
+
declare const REMOVE_PLUGIN_V1_DISCRIMINATOR = 4;
|
|
7
|
+
declare function getRemovePluginV1DiscriminatorBytes(): ReadonlyUint8Array;
|
|
8
|
+
type RemovePluginV1Instruction<TProgram extends string = typeof MPL_CORE_PROGRAM_PROGRAM_ADDRESS, TAccountAsset extends string | AccountMeta<string> = string, TAccountCollection extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = "11111111111111111111111111111111", TAccountLogWrapper extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[TAccountAsset extends string ? WritableAccount<TAccountAsset> : TAccountAsset, TAccountCollection extends string ? WritableAccount<TAccountCollection> : TAccountCollection, TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer, TAccountAuthority extends string ? ReadonlySignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority, TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram, TAccountLogWrapper extends string ? ReadonlyAccount<TAccountLogWrapper> : TAccountLogWrapper, ...TRemainingAccounts]>;
|
|
9
|
+
interface RemovePluginV1InstructionData {
|
|
10
|
+
discriminator: number;
|
|
11
|
+
removePluginV1Args: RemovePluginV1Args;
|
|
12
|
+
}
|
|
13
|
+
interface RemovePluginV1InstructionDataArgs {
|
|
14
|
+
removePluginV1Args: RemovePluginV1ArgsArgs;
|
|
15
|
+
}
|
|
16
|
+
declare function getRemovePluginV1InstructionDataEncoder(): FixedSizeEncoder<RemovePluginV1InstructionDataArgs>;
|
|
17
|
+
declare function getRemovePluginV1InstructionDataDecoder(): FixedSizeDecoder<RemovePluginV1InstructionData>;
|
|
18
|
+
declare function getRemovePluginV1InstructionDataCodec(): FixedSizeCodec<RemovePluginV1InstructionDataArgs, RemovePluginV1InstructionData>;
|
|
19
|
+
interface RemovePluginV1Input<TAccountAsset extends string = string, TAccountCollection extends string = string, TAccountPayer extends string = string, TAccountAuthority extends string = string, TAccountSystemProgram extends string = string, TAccountLogWrapper extends string = string> {
|
|
20
|
+
/** The address of the asset */
|
|
21
|
+
asset: Address<TAccountAsset>;
|
|
22
|
+
/** The collection to which the asset belongs */
|
|
23
|
+
collection?: Address<TAccountCollection>;
|
|
24
|
+
/** The account paying for the storage fees */
|
|
25
|
+
payer: TransactionSigner<TAccountPayer>;
|
|
26
|
+
/** The owner or delegate of the asset */
|
|
27
|
+
authority?: TransactionSigner<TAccountAuthority>;
|
|
28
|
+
/** The system program */
|
|
29
|
+
systemProgram?: Address<TAccountSystemProgram>;
|
|
30
|
+
/** The SPL Noop Program */
|
|
31
|
+
logWrapper?: Address<TAccountLogWrapper>;
|
|
32
|
+
removePluginV1Args: RemovePluginV1InstructionDataArgs["removePluginV1Args"];
|
|
33
|
+
}
|
|
34
|
+
declare function getRemovePluginV1Instruction<TAccountAsset extends string, TAccountCollection extends string, TAccountPayer extends string, TAccountAuthority extends string, TAccountSystemProgram extends string, TAccountLogWrapper extends string, TProgramAddress extends Address = typeof MPL_CORE_PROGRAM_PROGRAM_ADDRESS>(input: RemovePluginV1Input<TAccountAsset, TAccountCollection, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountLogWrapper>, config?: {
|
|
35
|
+
programAddress?: TProgramAddress;
|
|
36
|
+
}): RemovePluginV1Instruction<TProgramAddress, TAccountAsset, TAccountCollection, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountLogWrapper>;
|
|
37
|
+
interface ParsedRemovePluginV1Instruction<TProgram extends string = typeof MPL_CORE_PROGRAM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> {
|
|
38
|
+
programAddress: Address<TProgram>;
|
|
39
|
+
accounts: {
|
|
40
|
+
/** The address of the asset */asset: TAccountMetas[0]; /** The collection to which the asset belongs */
|
|
41
|
+
collection?: TAccountMetas[1] | undefined; /** The account paying for the storage fees */
|
|
42
|
+
payer: TAccountMetas[2]; /** The owner or delegate of the asset */
|
|
43
|
+
authority?: TAccountMetas[3] | undefined; /** The system program */
|
|
44
|
+
systemProgram: TAccountMetas[4]; /** The SPL Noop Program */
|
|
45
|
+
logWrapper?: TAccountMetas[5] | undefined;
|
|
46
|
+
};
|
|
47
|
+
data: RemovePluginV1InstructionData;
|
|
48
|
+
}
|
|
49
|
+
declare function parseRemovePluginV1Instruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedRemovePluginV1Instruction<TProgram, TAccountMetas>;
|
|
50
|
+
//#endregion
|
|
51
|
+
export { ParsedRemovePluginV1Instruction, REMOVE_PLUGIN_V1_DISCRIMINATOR, RemovePluginV1Input, RemovePluginV1Instruction, RemovePluginV1InstructionData, RemovePluginV1InstructionDataArgs, getRemovePluginV1DiscriminatorBytes, getRemovePluginV1Instruction, getRemovePluginV1InstructionDataCodec, getRemovePluginV1InstructionDataDecoder, getRemovePluginV1InstructionDataEncoder, parseRemovePluginV1Instruction };
|
|
52
|
+
//# sourceMappingURL=removePluginV1.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"removePluginV1.d.ts","names":[],"sources":["../../../src/generated/instructions/removePluginV1.ts"],"mappings":";;;;;cA+Ca,8BAAA;AAAA,iBAEG,mCAAA,IAAuC,kBAAA;AAAA,KAI3C,yBAAA,kCACuB,gCAAA,iCACF,WAAA,uDACK,WAAA,kDACL,WAAA,sDACI,WAAA,0DAG/B,WAAA,mFACgC,WAAA,uDACA,WAAA,mBAClC,WAAA,CAAY,QAAA,IACd,mBAAA,CAAoB,kBAAA,IACpB,uBAAA,EAEI,aAAA,kBACI,eAAA,CAAgB,aAAA,IAChB,aAAA,EACJ,kBAAA,kBACI,eAAA,CAAgB,kBAAA,IAChB,kBAAA,EACJ,aAAA,kBACI,qBAAA,CAAsB,aAAA,IACpB,iBAAA,CAAkB,aAAA,IACpB,aAAA,EACJ,iBAAA,kBACI,qBAAA,CAAsB,iBAAA,IACpB,iBAAA,CAAkB,iBAAA,IACpB,iBAAA,EACJ,qBAAA,kBACI,eAAA,CAAgB,qBAAA,IAChB,qBAAA,EACJ,kBAAA,kBACI,eAAA,CAAgB,kBAAA,IAChB,kBAAA,KACD,kBAAA;AAAA,UAIQ,6BAAA;EACf,aAAA;EACA,kBAAA,EAAoB,kBAAA;AAAA;AAAA,UAGL,iCAAA;EACf,kBAAA,EAAoB,sBAAA;AAAA;AAAA,iBAGN,uCAAA,IAA2C,gBAAA,CAAiB,iCAAA;AAAA,iBAU5D,uCAAA,IAA2C,gBAAA,CAAiB,6BAAA;AAAA,iBAO5D,qCAAA,IAAyC,cAAA,CACvD,iCAAA,EACA,6BAAA;AAAA,UAQe,mBAAA;;EASf,KAAA,EAAO,OAAA,CAAQ,aAAA;;EAEf,UAAA,GAAa,OAAA,CAAQ,kBAAA;;EAErB,KAAA,EAAO,iBAAA,CAAkB,aAAA;;EAEzB,SAAA,GAAY,iBAAA,CAAkB,iBAAA;;EAE9B,aAAA,GAAgB,OAAA,CAAQ,qBAAA;;EAExB,UAAA,GAAa,OAAA,CAAQ,kBAAA;EACrB,kBAAA,EAAoB,iCAAA;AAAA;AAAA,iBAGN,4BAAA,mOAOU,OAAA,UAAiB,gCAAA,EAEzC,KAAA,EAAO,mBAAA,CACL,aAAA,EACA,kBAAA,EACA,aAAA,EACA,iBAAA,EACA,qBAAA,EACA,kBAAA,GAEF,MAAA;EAAW,cAAA,GAAiB,eAAA;AAAA,IAC3B,yBAAA,CACD,eAAA,EACA,aAAA,EACA,kBAAA,EACA,aAAA,EACA,iBAAA,EACA,qBAAA,EACA,kBAAA;AAAA,UAsDe,+BAAA,kCACkB,gCAAA,iCACF,WAAA,cAAyB,WAAA;EAExD,cAAA,EAAgB,OAAA,CAAQ,QAAA;EACxB,QAAA;IAlL+B,+BAoL7B,KAAA,EAAO,aAAA,KAnL0B;IAqLjC,UAAA,GAAa,aAAA,iBAlLX;IAoLF,KAAA,EAAO,aAAA,KAnL2B;IAqLlC,SAAA,GAAY,aAAA,iBApLsB;IAsLlC,aAAA,EAAe,aAAA,KArLH;IAuLZ,UAAA,GAAa,aAAA;EAAA;EAEf,IAAA,EAAM,6BAAA;AAAA;AAAA,iBAGQ,8BAAA,yDAEiB,WAAA,IAE/B,WAAA,EAAa,WAAA,CAAY,QAAA,IACvB,uBAAA,CAAwB,aAAA,IACxB,mBAAA,CAAoB,kBAAA,IACrB,+BAAA,CAAgC,QAAA,EAAU,aAAA"}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { getRemovePluginV1ArgsDecoder, getRemovePluginV1ArgsEncoder } from "../types/removePluginV1Args.js";
|
|
2
|
+
import "../programs/mplCoreProgram.js";
|
|
3
|
+
import { SOLANA_ERROR__PROGRAM_CLIENTS__INSUFFICIENT_ACCOUNT_METAS, SolanaError, combineCodec, getStructDecoder, getStructEncoder, getU8Decoder, getU8Encoder, transformEncoder } from "@solana/kit";
|
|
4
|
+
import { getAccountMetaFactory } from "@solana/program-client-core";
|
|
5
|
+
//#region src/generated/instructions/removePluginV1.ts
|
|
6
|
+
const REMOVE_PLUGIN_V1_DISCRIMINATOR = 4;
|
|
7
|
+
function getRemovePluginV1DiscriminatorBytes() {
|
|
8
|
+
return getU8Encoder().encode(4);
|
|
9
|
+
}
|
|
10
|
+
function getRemovePluginV1InstructionDataEncoder() {
|
|
11
|
+
return transformEncoder(getStructEncoder([["discriminator", getU8Encoder()], ["removePluginV1Args", getRemovePluginV1ArgsEncoder()]]), (value) => ({
|
|
12
|
+
...value,
|
|
13
|
+
discriminator: 4
|
|
14
|
+
}));
|
|
15
|
+
}
|
|
16
|
+
function getRemovePluginV1InstructionDataDecoder() {
|
|
17
|
+
return getStructDecoder([["discriminator", getU8Decoder()], ["removePluginV1Args", getRemovePluginV1ArgsDecoder()]]);
|
|
18
|
+
}
|
|
19
|
+
function getRemovePluginV1InstructionDataCodec() {
|
|
20
|
+
return combineCodec(getRemovePluginV1InstructionDataEncoder(), getRemovePluginV1InstructionDataDecoder());
|
|
21
|
+
}
|
|
22
|
+
function getRemovePluginV1Instruction(input, config) {
|
|
23
|
+
const programAddress = config?.programAddress ?? "CoREENxT6tW1HoK8ypY1SxRMZTcVPm7R94rH4PZNhX7d";
|
|
24
|
+
const accounts = {
|
|
25
|
+
asset: {
|
|
26
|
+
value: input.asset ?? null,
|
|
27
|
+
isWritable: true
|
|
28
|
+
},
|
|
29
|
+
collection: {
|
|
30
|
+
value: input.collection ?? null,
|
|
31
|
+
isWritable: true
|
|
32
|
+
},
|
|
33
|
+
payer: {
|
|
34
|
+
value: input.payer ?? null,
|
|
35
|
+
isWritable: true
|
|
36
|
+
},
|
|
37
|
+
authority: {
|
|
38
|
+
value: input.authority ?? null,
|
|
39
|
+
isWritable: false
|
|
40
|
+
},
|
|
41
|
+
systemProgram: {
|
|
42
|
+
value: input.systemProgram ?? null,
|
|
43
|
+
isWritable: false
|
|
44
|
+
},
|
|
45
|
+
logWrapper: {
|
|
46
|
+
value: input.logWrapper ?? null,
|
|
47
|
+
isWritable: false
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
const args = { ...input };
|
|
51
|
+
if (!accounts.systemProgram.value) accounts.systemProgram.value = "11111111111111111111111111111111";
|
|
52
|
+
const getAccountMeta = getAccountMetaFactory(programAddress, "programId");
|
|
53
|
+
return Object.freeze({
|
|
54
|
+
accounts: [
|
|
55
|
+
getAccountMeta("asset", accounts.asset),
|
|
56
|
+
getAccountMeta("collection", accounts.collection),
|
|
57
|
+
getAccountMeta("payer", accounts.payer),
|
|
58
|
+
getAccountMeta("authority", accounts.authority),
|
|
59
|
+
getAccountMeta("systemProgram", accounts.systemProgram),
|
|
60
|
+
getAccountMeta("logWrapper", accounts.logWrapper)
|
|
61
|
+
],
|
|
62
|
+
data: getRemovePluginV1InstructionDataEncoder().encode(args),
|
|
63
|
+
programAddress
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
function parseRemovePluginV1Instruction(instruction) {
|
|
67
|
+
if (instruction.accounts.length < 6) throw new SolanaError(SOLANA_ERROR__PROGRAM_CLIENTS__INSUFFICIENT_ACCOUNT_METAS, {
|
|
68
|
+
actualAccountMetas: instruction.accounts.length,
|
|
69
|
+
expectedAccountMetas: 6
|
|
70
|
+
});
|
|
71
|
+
let accountIndex = 0;
|
|
72
|
+
const getNextAccount = () => {
|
|
73
|
+
const accountMeta = instruction.accounts[accountIndex];
|
|
74
|
+
accountIndex += 1;
|
|
75
|
+
return accountMeta;
|
|
76
|
+
};
|
|
77
|
+
const getNextOptionalAccount = () => {
|
|
78
|
+
const accountMeta = getNextAccount();
|
|
79
|
+
return accountMeta.address === "CoREENxT6tW1HoK8ypY1SxRMZTcVPm7R94rH4PZNhX7d" ? void 0 : accountMeta;
|
|
80
|
+
};
|
|
81
|
+
return {
|
|
82
|
+
programAddress: instruction.programAddress,
|
|
83
|
+
accounts: {
|
|
84
|
+
asset: getNextAccount(),
|
|
85
|
+
collection: getNextOptionalAccount(),
|
|
86
|
+
payer: getNextAccount(),
|
|
87
|
+
authority: getNextOptionalAccount(),
|
|
88
|
+
systemProgram: getNextAccount(),
|
|
89
|
+
logWrapper: getNextOptionalAccount()
|
|
90
|
+
},
|
|
91
|
+
data: getRemovePluginV1InstructionDataDecoder().decode(instruction.data)
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
//#endregion
|
|
95
|
+
export { REMOVE_PLUGIN_V1_DISCRIMINATOR, getRemovePluginV1DiscriminatorBytes, getRemovePluginV1Instruction, getRemovePluginV1InstructionDataCodec, getRemovePluginV1InstructionDataDecoder, getRemovePluginV1InstructionDataEncoder, parseRemovePluginV1Instruction };
|
|
96
|
+
|
|
97
|
+
//# sourceMappingURL=removePluginV1.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"removePluginV1.js","names":[],"sources":["../../../src/generated/instructions/removePluginV1.ts"],"sourcesContent":["/**\n * This code was AUTOGENERATED using the Codama library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun Codama to update it.\n *\n * @see https://github.com/codama-idl/codama\n */\n\nimport type {\n AccountMeta,\n AccountSignerMeta,\n Address,\n FixedSizeCodec,\n FixedSizeDecoder,\n FixedSizeEncoder,\n Instruction,\n InstructionWithAccounts,\n InstructionWithData,\n ReadonlyAccount,\n ReadonlySignerAccount,\n ReadonlyUint8Array,\n TransactionSigner,\n WritableAccount,\n WritableSignerAccount,\n} from \"@solana/kit\";\nimport type { ResolvedInstructionAccount } from \"@solana/program-client-core\";\nimport type {\n RemovePluginV1Args,\n RemovePluginV1ArgsArgs,\n} from \"../types/index.js\";\nimport {\n combineCodec,\n getStructDecoder,\n getStructEncoder,\n getU8Decoder,\n getU8Encoder,\n SOLANA_ERROR__PROGRAM_CLIENTS__INSUFFICIENT_ACCOUNT_METAS,\n SolanaError,\n transformEncoder,\n} from \"@solana/kit\";\nimport { getAccountMetaFactory } from \"@solana/program-client-core\";\nimport { MPL_CORE_PROGRAM_PROGRAM_ADDRESS } from \"../programs/index.js\";\nimport {\n getRemovePluginV1ArgsDecoder,\n getRemovePluginV1ArgsEncoder,\n} from \"../types/index.js\";\n\nexport const REMOVE_PLUGIN_V1_DISCRIMINATOR = 4;\n\nexport function getRemovePluginV1DiscriminatorBytes(): ReadonlyUint8Array {\n return getU8Encoder().encode(REMOVE_PLUGIN_V1_DISCRIMINATOR);\n}\n\nexport type RemovePluginV1Instruction<\n TProgram extends string = typeof MPL_CORE_PROGRAM_PROGRAM_ADDRESS,\n TAccountAsset extends string | AccountMeta<string> = string,\n TAccountCollection extends string | AccountMeta<string> = string,\n TAccountPayer extends string | AccountMeta<string> = string,\n TAccountAuthority extends string | AccountMeta<string> = string,\n TAccountSystemProgram extends\n | string\n | AccountMeta<string> = \"11111111111111111111111111111111\",\n TAccountLogWrapper extends string | AccountMeta<string> = string,\n TRemainingAccounts extends readonly AccountMeta<string>[] = [],\n> = Instruction<TProgram> &\n InstructionWithData<ReadonlyUint8Array> &\n InstructionWithAccounts<\n [\n TAccountAsset extends string\n ? WritableAccount<TAccountAsset>\n : TAccountAsset,\n TAccountCollection extends string\n ? WritableAccount<TAccountCollection>\n : TAccountCollection,\n TAccountPayer extends string\n ? WritableSignerAccount<TAccountPayer> &\n AccountSignerMeta<TAccountPayer>\n : TAccountPayer,\n TAccountAuthority extends string\n ? ReadonlySignerAccount<TAccountAuthority> &\n AccountSignerMeta<TAccountAuthority>\n : TAccountAuthority,\n TAccountSystemProgram extends string\n ? ReadonlyAccount<TAccountSystemProgram>\n : TAccountSystemProgram,\n TAccountLogWrapper extends string\n ? ReadonlyAccount<TAccountLogWrapper>\n : TAccountLogWrapper,\n ...TRemainingAccounts,\n ]\n >;\n\nexport interface RemovePluginV1InstructionData {\n discriminator: number;\n removePluginV1Args: RemovePluginV1Args;\n}\n\nexport interface RemovePluginV1InstructionDataArgs {\n removePluginV1Args: RemovePluginV1ArgsArgs;\n}\n\nexport function getRemovePluginV1InstructionDataEncoder(): FixedSizeEncoder<RemovePluginV1InstructionDataArgs> {\n return transformEncoder(\n getStructEncoder([\n [\"discriminator\", getU8Encoder()],\n [\"removePluginV1Args\", getRemovePluginV1ArgsEncoder()],\n ]),\n (value) => ({ ...value, discriminator: REMOVE_PLUGIN_V1_DISCRIMINATOR }),\n );\n}\n\nexport function getRemovePluginV1InstructionDataDecoder(): FixedSizeDecoder<RemovePluginV1InstructionData> {\n return getStructDecoder([\n [\"discriminator\", getU8Decoder()],\n [\"removePluginV1Args\", getRemovePluginV1ArgsDecoder()],\n ]);\n}\n\nexport function getRemovePluginV1InstructionDataCodec(): FixedSizeCodec<\n RemovePluginV1InstructionDataArgs,\n RemovePluginV1InstructionData\n> {\n return combineCodec(\n getRemovePluginV1InstructionDataEncoder(),\n getRemovePluginV1InstructionDataDecoder(),\n );\n}\n\nexport interface RemovePluginV1Input<\n TAccountAsset extends string = string,\n TAccountCollection extends string = string,\n TAccountPayer extends string = string,\n TAccountAuthority extends string = string,\n TAccountSystemProgram extends string = string,\n TAccountLogWrapper extends string = string,\n> {\n /** The address of the asset */\n asset: Address<TAccountAsset>;\n /** The collection to which the asset belongs */\n collection?: Address<TAccountCollection>;\n /** The account paying for the storage fees */\n payer: TransactionSigner<TAccountPayer>;\n /** The owner or delegate of the asset */\n authority?: TransactionSigner<TAccountAuthority>;\n /** The system program */\n systemProgram?: Address<TAccountSystemProgram>;\n /** The SPL Noop Program */\n logWrapper?: Address<TAccountLogWrapper>;\n removePluginV1Args: RemovePluginV1InstructionDataArgs[\"removePluginV1Args\"];\n}\n\nexport function getRemovePluginV1Instruction<\n TAccountAsset extends string,\n TAccountCollection extends string,\n TAccountPayer extends string,\n TAccountAuthority extends string,\n TAccountSystemProgram extends string,\n TAccountLogWrapper extends string,\n TProgramAddress extends Address = typeof MPL_CORE_PROGRAM_PROGRAM_ADDRESS,\n>(\n input: RemovePluginV1Input<\n TAccountAsset,\n TAccountCollection,\n TAccountPayer,\n TAccountAuthority,\n TAccountSystemProgram,\n TAccountLogWrapper\n >,\n config?: { programAddress?: TProgramAddress },\n): RemovePluginV1Instruction<\n TProgramAddress,\n TAccountAsset,\n TAccountCollection,\n TAccountPayer,\n TAccountAuthority,\n TAccountSystemProgram,\n TAccountLogWrapper\n> {\n // Program address.\n const programAddress =\n config?.programAddress ?? MPL_CORE_PROGRAM_PROGRAM_ADDRESS;\n\n // Original accounts.\n const originalAccounts = {\n asset: { value: input.asset ?? null, isWritable: true },\n collection: { value: input.collection ?? null, isWritable: true },\n payer: { value: input.payer ?? null, isWritable: true },\n authority: { value: input.authority ?? null, isWritable: false },\n systemProgram: { value: input.systemProgram ?? null, isWritable: false },\n logWrapper: { value: input.logWrapper ?? null, isWritable: false },\n };\n const accounts = originalAccounts as Record<\n keyof typeof originalAccounts,\n ResolvedInstructionAccount\n >;\n\n // Original args.\n const args = { ...input };\n\n // Resolve default values.\n if (!accounts.systemProgram.value) {\n accounts.systemProgram.value =\n \"11111111111111111111111111111111\" as Address<\"11111111111111111111111111111111\">;\n }\n\n const getAccountMeta = getAccountMetaFactory(programAddress, \"programId\");\n return Object.freeze({\n accounts: [\n getAccountMeta(\"asset\", accounts.asset),\n getAccountMeta(\"collection\", accounts.collection),\n getAccountMeta(\"payer\", accounts.payer),\n getAccountMeta(\"authority\", accounts.authority),\n getAccountMeta(\"systemProgram\", accounts.systemProgram),\n getAccountMeta(\"logWrapper\", accounts.logWrapper),\n ],\n data: getRemovePluginV1InstructionDataEncoder().encode(\n args as RemovePluginV1InstructionDataArgs,\n ),\n programAddress,\n } as RemovePluginV1Instruction<\n TProgramAddress,\n TAccountAsset,\n TAccountCollection,\n TAccountPayer,\n TAccountAuthority,\n TAccountSystemProgram,\n TAccountLogWrapper\n >);\n}\n\nexport interface ParsedRemovePluginV1Instruction<\n TProgram extends string = typeof MPL_CORE_PROGRAM_PROGRAM_ADDRESS,\n TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[],\n> {\n programAddress: Address<TProgram>;\n accounts: {\n /** The address of the asset */\n asset: TAccountMetas[0];\n /** The collection to which the asset belongs */\n collection?: TAccountMetas[1] | undefined;\n /** The account paying for the storage fees */\n payer: TAccountMetas[2];\n /** The owner or delegate of the asset */\n authority?: TAccountMetas[3] | undefined;\n /** The system program */\n systemProgram: TAccountMetas[4];\n /** The SPL Noop Program */\n logWrapper?: TAccountMetas[5] | undefined;\n };\n data: RemovePluginV1InstructionData;\n}\n\nexport function parseRemovePluginV1Instruction<\n TProgram extends string,\n TAccountMetas extends readonly AccountMeta[],\n>(\n instruction: Instruction<TProgram> &\n InstructionWithAccounts<TAccountMetas> &\n InstructionWithData<ReadonlyUint8Array>,\n): ParsedRemovePluginV1Instruction<TProgram, TAccountMetas> {\n if (instruction.accounts.length < 6) {\n throw new SolanaError(\n SOLANA_ERROR__PROGRAM_CLIENTS__INSUFFICIENT_ACCOUNT_METAS,\n {\n actualAccountMetas: instruction.accounts.length,\n expectedAccountMetas: 6,\n },\n );\n }\n let accountIndex = 0;\n const getNextAccount = () => {\n const accountMeta = (instruction.accounts as TAccountMetas)[accountIndex]!;\n accountIndex += 1;\n return accountMeta;\n };\n const getNextOptionalAccount = () => {\n const accountMeta = getNextAccount();\n return accountMeta.address === MPL_CORE_PROGRAM_PROGRAM_ADDRESS\n ? undefined\n : accountMeta;\n };\n return {\n programAddress: instruction.programAddress,\n accounts: {\n asset: getNextAccount(),\n collection: getNextOptionalAccount(),\n payer: getNextAccount(),\n authority: getNextOptionalAccount(),\n systemProgram: getNextAccount(),\n logWrapper: getNextOptionalAccount(),\n },\n data: getRemovePluginV1InstructionDataDecoder().decode(instruction.data),\n };\n}\n"],"mappings":";;;;;AA+CA,MAAa,iCAAiC;AAE9C,SAAgB,sCAA0D;CACxE,OAAO,aAAa,CAAC,CAAC,OAAA,CAAqC;AAC7D;AAkDA,SAAgB,0CAA+F;CAC7G,OAAO,iBACL,iBAAiB,CACf,CAAC,iBAAiB,aAAa,CAAC,GAChC,CAAC,sBAAsB,6BAA6B,CAAC,CACvD,CAAC,IACA,WAAW;EAAE,GAAG;EAAO,eAAA;CAA8C,EACxE;AACF;AAEA,SAAgB,0CAA2F;CACzG,OAAO,iBAAiB,CACtB,CAAC,iBAAiB,aAAa,CAAC,GAChC,CAAC,sBAAsB,6BAA6B,CAAC,CACvD,CAAC;AACH;AAEA,SAAgB,wCAGd;CACA,OAAO,aACL,wCAAwC,GACxC,wCAAwC,CAC1C;AACF;AAyBA,SAAgB,6BASd,OAQA,QASA;CAEA,MAAM,iBACJ,QAAQ,kBAAA;CAWV,MAAM,WAAW;EAPf,OAAO;GAAE,OAAO,MAAM,SAAS;GAAM,YAAY;EAAK;EACtD,YAAY;GAAE,OAAO,MAAM,cAAc;GAAM,YAAY;EAAK;EAChE,OAAO;GAAE,OAAO,MAAM,SAAS;GAAM,YAAY;EAAK;EACtD,WAAW;GAAE,OAAO,MAAM,aAAa;GAAM,YAAY;EAAM;EAC/D,eAAe;GAAE,OAAO,MAAM,iBAAiB;GAAM,YAAY;EAAM;EACvE,YAAY;GAAE,OAAO,MAAM,cAAc;GAAM,YAAY;EAAM;CAEnC;CAMhC,MAAM,OAAO,EAAE,GAAG,MAAM;CAGxB,IAAI,CAAC,SAAS,cAAc,OAC1B,SAAS,cAAc,QACrB;CAGJ,MAAM,iBAAiB,sBAAsB,gBAAgB,WAAW;CACxE,OAAO,OAAO,OAAO;EACnB,UAAU;GACR,eAAe,SAAS,SAAS,KAAK;GACtC,eAAe,cAAc,SAAS,UAAU;GAChD,eAAe,SAAS,SAAS,KAAK;GACtC,eAAe,aAAa,SAAS,SAAS;GAC9C,eAAe,iBAAiB,SAAS,aAAa;GACtD,eAAe,cAAc,SAAS,UAAU;EAClD;EACA,MAAM,wCAAwC,CAAC,CAAC,OAC9C,IACF;EACA;CACF,CAQC;AACH;AAwBA,SAAgB,+BAId,aAG0D;CAC1D,IAAI,YAAY,SAAS,SAAS,GAChC,MAAM,IAAI,YACR,2DACA;EACE,oBAAoB,YAAY,SAAS;EACzC,sBAAsB;CACxB,CACF;CAEF,IAAI,eAAe;CACnB,MAAM,uBAAuB;EAC3B,MAAM,cAAe,YAAY,SAA2B;EAC5D,gBAAgB;EAChB,OAAO;CACT;CACA,MAAM,+BAA+B;EACnC,MAAM,cAAc,eAAe;EACnC,OAAO,YAAY,YAAA,iDACf,KAAA,IACA;CACN;CACA,OAAO;EACL,gBAAgB,YAAY;EAC5B,UAAU;GACR,OAAO,eAAe;GACtB,YAAY,uBAAuB;GACnC,OAAO,eAAe;GACtB,WAAW,uBAAuB;GAClC,eAAe,eAAe;GAC9B,YAAY,uBAAuB;EACrC;EACA,MAAM,wCAAwC,CAAC,CAAC,OAAO,YAAY,IAAI;CACzE;AACF"}
|