@macalinao/clients-mpl-core 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/accounts/assetV1.d.ts +30 -33
- package/dist/generated/accounts/assetV1.d.ts.map +1 -1
- package/dist/generated/accounts/assetV1.js +41 -45
- package/dist/generated/accounts/assetV1.js.map +1 -1
- package/dist/generated/accounts/collectionV1.d.ts +29 -33
- package/dist/generated/accounts/collectionV1.d.ts.map +1 -1
- package/dist/generated/accounts/collectionV1.js +40 -45
- package/dist/generated/accounts/collectionV1.js.map +1 -1
- package/dist/generated/accounts/groupV1.d.ts +33 -37
- package/dist/generated/accounts/groupV1.d.ts.map +1 -1
- package/dist/generated/accounts/groupV1.js +44 -49
- package/dist/generated/accounts/groupV1.js.map +1 -1
- package/dist/generated/accounts/hashedAssetV1.d.ts +21 -25
- package/dist/generated/accounts/hashedAssetV1.d.ts.map +1 -1
- package/dist/generated/accounts/hashedAssetV1.js +26 -37
- package/dist/generated/accounts/hashedAssetV1.js.map +1 -1
- package/dist/generated/accounts/index.d.ts +6 -14
- package/dist/generated/accounts/pluginHeaderV1.d.ts +21 -25
- package/dist/generated/accounts/pluginHeaderV1.d.ts.map +1 -1
- package/dist/generated/accounts/pluginHeaderV1.js +26 -37
- package/dist/generated/accounts/pluginHeaderV1.js.map +1 -1
- package/dist/generated/accounts/pluginRegistryV1.d.ts +25 -27
- package/dist/generated/accounts/pluginRegistryV1.d.ts.map +1 -1
- package/dist/generated/accounts/pluginRegistryV1.js +36 -39
- package/dist/generated/accounts/pluginRegistryV1.js.map +1 -1
- package/dist/generated/errors/index.d.ts +1 -9
- package/dist/generated/errors/mplCoreProgram.d.ts +71 -74
- package/dist/generated/errors/mplCoreProgram.d.ts.map +1 -1
- package/dist/generated/errors/mplCoreProgram.js +126 -133
- package/dist/generated/errors/mplCoreProgram.js.map +1 -1
- package/dist/generated/index.d.ts +167 -13
- package/dist/generated/instructions/addAssetsToGroupV1.d.ts +40 -53
- package/dist/generated/instructions/addAssetsToGroupV1.d.ts.map +1 -1
- package/dist/generated/instructions/addAssetsToGroupV1.js +77 -86
- package/dist/generated/instructions/addAssetsToGroupV1.js.map +1 -1
- package/dist/generated/instructions/addCollectionExternalPluginAdapterV1.d.ts +43 -58
- package/dist/generated/instructions/addCollectionExternalPluginAdapterV1.d.ts.map +1 -1
- package/dist/generated/instructions/addCollectionExternalPluginAdapterV1.js +83 -95
- package/dist/generated/instructions/addCollectionExternalPluginAdapterV1.js.map +1 -1
- package/dist/generated/instructions/addCollectionPluginV1.d.ts +43 -58
- package/dist/generated/instructions/addCollectionPluginV1.d.ts.map +1 -1
- package/dist/generated/instructions/addCollectionPluginV1.js +83 -89
- package/dist/generated/instructions/addCollectionPluginV1.js.map +1 -1
- package/dist/generated/instructions/addCollectionsToGroupV1.d.ts +40 -53
- package/dist/generated/instructions/addCollectionsToGroupV1.d.ts.map +1 -1
- package/dist/generated/instructions/addCollectionsToGroupV1.js +77 -86
- package/dist/generated/instructions/addCollectionsToGroupV1.js.map +1 -1
- package/dist/generated/instructions/addExternalPluginAdapterV1.d.ts +46 -63
- package/dist/generated/instructions/addExternalPluginAdapterV1.d.ts.map +1 -1
- package/dist/generated/instructions/addExternalPluginAdapterV1.js +89 -98
- package/dist/generated/instructions/addExternalPluginAdapterV1.js.map +1 -1
- package/dist/generated/instructions/addGroupsToGroupV1.d.ts +40 -53
- package/dist/generated/instructions/addGroupsToGroupV1.d.ts.map +1 -1
- package/dist/generated/instructions/addGroupsToGroupV1.js +77 -86
- package/dist/generated/instructions/addGroupsToGroupV1.js.map +1 -1
- package/dist/generated/instructions/addPluginV1.d.ts +46 -63
- package/dist/generated/instructions/addPluginV1.d.ts.map +1 -1
- package/dist/generated/instructions/addPluginV1.js +89 -89
- package/dist/generated/instructions/addPluginV1.js.map +1 -1
- package/dist/generated/instructions/approveCollectionPluginAuthorityV1.d.ts +43 -58
- package/dist/generated/instructions/approveCollectionPluginAuthorityV1.d.ts.map +1 -1
- package/dist/generated/instructions/approveCollectionPluginAuthorityV1.js +83 -95
- package/dist/generated/instructions/approveCollectionPluginAuthorityV1.js.map +1 -1
- package/dist/generated/instructions/approvePluginAuthorityV1.d.ts +46 -63
- package/dist/generated/instructions/approvePluginAuthorityV1.d.ts.map +1 -1
- package/dist/generated/instructions/approvePluginAuthorityV1.js +89 -95
- package/dist/generated/instructions/approvePluginAuthorityV1.js.map +1 -1
- package/dist/generated/instructions/burnCollectionV1.d.ts +40 -53
- package/dist/generated/instructions/burnCollectionV1.d.ts.map +1 -1
- package/dist/generated/instructions/burnCollectionV1.js +76 -78
- package/dist/generated/instructions/burnCollectionV1.js.map +1 -1
- package/dist/generated/instructions/burnV1.d.ts +46 -63
- package/dist/generated/instructions/burnV1.d.ts.map +1 -1
- package/dist/generated/instructions/burnV1.js +88 -84
- package/dist/generated/instructions/burnV1.js.map +1 -1
- package/dist/generated/instructions/closeGroupV1.d.ts +37 -48
- package/dist/generated/instructions/closeGroupV1.d.ts.map +1 -1
- package/dist/generated/instructions/closeGroupV1.js +70 -75
- package/dist/generated/instructions/closeGroupV1.js.map +1 -1
- package/dist/generated/instructions/collect.d.ts +30 -39
- package/dist/generated/instructions/collect.d.ts.map +1 -1
- package/dist/generated/instructions/collect.js +55 -54
- package/dist/generated/instructions/collect.js.map +1 -1
- package/dist/generated/instructions/compressV1.d.ts +46 -63
- package/dist/generated/instructions/compressV1.d.ts.map +1 -1
- package/dist/generated/instructions/compressV1.js +89 -89
- package/dist/generated/instructions/compressV1.js.map +1 -1
- package/dist/generated/instructions/createCollectionV1.d.ts +40 -53
- package/dist/generated/instructions/createCollectionV1.d.ts.map +1 -1
- package/dist/generated/instructions/createCollectionV1.js +77 -89
- package/dist/generated/instructions/createCollectionV1.js.map +1 -1
- package/dist/generated/instructions/createCollectionV2.d.ts +40 -53
- package/dist/generated/instructions/createCollectionV2.d.ts.map +1 -1
- package/dist/generated/instructions/createCollectionV2.js +77 -89
- package/dist/generated/instructions/createCollectionV2.js.map +1 -1
- package/dist/generated/instructions/createGroupV1.d.ts +40 -53
- package/dist/generated/instructions/createGroupV1.d.ts.map +1 -1
- package/dist/generated/instructions/createGroupV1.js +77 -86
- package/dist/generated/instructions/createGroupV1.js.map +1 -1
- package/dist/generated/instructions/createV1.d.ts +52 -73
- package/dist/generated/instructions/createV1.d.ts.map +1 -1
- package/dist/generated/instructions/createV1.js +101 -98
- package/dist/generated/instructions/createV1.js.map +1 -1
- package/dist/generated/instructions/createV2.d.ts +52 -73
- package/dist/generated/instructions/createV2.d.ts.map +1 -1
- package/dist/generated/instructions/createV2.js +101 -98
- package/dist/generated/instructions/createV2.js.map +1 -1
- package/dist/generated/instructions/decompressV1.d.ts +46 -63
- package/dist/generated/instructions/decompressV1.d.ts.map +1 -1
- package/dist/generated/instructions/decompressV1.js +89 -89
- package/dist/generated/instructions/decompressV1.js.map +1 -1
- package/dist/generated/instructions/executeV1.d.ts +69 -68
- package/dist/generated/instructions/executeV1.d.ts.map +1 -1
- package/dist/generated/instructions/executeV1.js +155 -97
- package/dist/generated/instructions/executeV1.js.map +1 -1
- package/dist/generated/instructions/index.d.ts +42 -50
- package/dist/generated/instructions/removeAssetsFromGroupV1.d.ts +40 -53
- package/dist/generated/instructions/removeAssetsFromGroupV1.d.ts.map +1 -1
- package/dist/generated/instructions/removeAssetsFromGroupV1.js +77 -86
- package/dist/generated/instructions/removeAssetsFromGroupV1.js.map +1 -1
- package/dist/generated/instructions/removeCollectionExternalPluginAdapterV1.d.ts +43 -58
- package/dist/generated/instructions/removeCollectionExternalPluginAdapterV1.d.ts.map +1 -1
- package/dist/generated/instructions/removeCollectionExternalPluginAdapterV1.js +83 -95
- package/dist/generated/instructions/removeCollectionExternalPluginAdapterV1.js.map +1 -1
- package/dist/generated/instructions/removeCollectionPluginV1.d.ts +43 -58
- package/dist/generated/instructions/removeCollectionPluginV1.d.ts.map +1 -1
- package/dist/generated/instructions/removeCollectionPluginV1.js +83 -92
- package/dist/generated/instructions/removeCollectionPluginV1.js.map +1 -1
- package/dist/generated/instructions/removeCollectionsFromGroupV1.d.ts +40 -53
- package/dist/generated/instructions/removeCollectionsFromGroupV1.d.ts.map +1 -1
- package/dist/generated/instructions/removeCollectionsFromGroupV1.js +77 -92
- package/dist/generated/instructions/removeCollectionsFromGroupV1.js.map +1 -1
- package/dist/generated/instructions/removeExternalPluginAdapterV1.d.ts +46 -63
- package/dist/generated/instructions/removeExternalPluginAdapterV1.d.ts.map +1 -1
- package/dist/generated/instructions/removeExternalPluginAdapterV1.js +89 -98
- package/dist/generated/instructions/removeExternalPluginAdapterV1.js.map +1 -1
- package/dist/generated/instructions/removeGroupsFromGroupV1.d.ts +40 -53
- package/dist/generated/instructions/removeGroupsFromGroupV1.d.ts.map +1 -1
- package/dist/generated/instructions/removeGroupsFromGroupV1.js +77 -86
- package/dist/generated/instructions/removeGroupsFromGroupV1.js.map +1 -1
- package/dist/generated/instructions/removePluginV1.d.ts +46 -63
- package/dist/generated/instructions/removePluginV1.d.ts.map +1 -1
- package/dist/generated/instructions/removePluginV1.js +89 -89
- package/dist/generated/instructions/removePluginV1.js.map +1 -1
- package/dist/generated/instructions/revokeCollectionPluginAuthorityV1.d.ts +43 -58
- package/dist/generated/instructions/revokeCollectionPluginAuthorityV1.d.ts.map +1 -1
- package/dist/generated/instructions/revokeCollectionPluginAuthorityV1.js +83 -95
- package/dist/generated/instructions/revokeCollectionPluginAuthorityV1.js.map +1 -1
- package/dist/generated/instructions/revokePluginAuthorityV1.d.ts +46 -63
- package/dist/generated/instructions/revokePluginAuthorityV1.d.ts.map +1 -1
- package/dist/generated/instructions/revokePluginAuthorityV1.js +89 -92
- package/dist/generated/instructions/revokePluginAuthorityV1.js.map +1 -1
- package/dist/generated/instructions/transferV1.d.ts +49 -68
- package/dist/generated/instructions/transferV1.d.ts.map +1 -1
- package/dist/generated/instructions/transferV1.js +94 -87
- package/dist/generated/instructions/transferV1.js.map +1 -1
- package/dist/generated/instructions/updateCollectionExternalPluginAdapterV1.d.ts +43 -58
- package/dist/generated/instructions/updateCollectionExternalPluginAdapterV1.d.ts.map +1 -1
- package/dist/generated/instructions/updateCollectionExternalPluginAdapterV1.js +83 -95
- package/dist/generated/instructions/updateCollectionExternalPluginAdapterV1.js.map +1 -1
- package/dist/generated/instructions/updateCollectionInfoV1.d.ts +34 -43
- package/dist/generated/instructions/updateCollectionInfoV1.d.ts.map +1 -1
- package/dist/generated/instructions/updateCollectionInfoV1.js +57 -72
- package/dist/generated/instructions/updateCollectionInfoV1.js.map +1 -1
- package/dist/generated/instructions/updateCollectionPluginV1.d.ts +43 -58
- package/dist/generated/instructions/updateCollectionPluginV1.d.ts.map +1 -1
- package/dist/generated/instructions/updateCollectionPluginV1.js +83 -92
- package/dist/generated/instructions/updateCollectionPluginV1.js.map +1 -1
- package/dist/generated/instructions/updateCollectionV1.d.ts +46 -63
- package/dist/generated/instructions/updateCollectionV1.d.ts.map +1 -1
- package/dist/generated/instructions/updateCollectionV1.js +89 -95
- package/dist/generated/instructions/updateCollectionV1.js.map +1 -1
- package/dist/generated/instructions/updateExternalPluginAdapterV1.d.ts +46 -63
- package/dist/generated/instructions/updateExternalPluginAdapterV1.d.ts.map +1 -1
- package/dist/generated/instructions/updateExternalPluginAdapterV1.js +89 -98
- package/dist/generated/instructions/updateExternalPluginAdapterV1.js.map +1 -1
- package/dist/generated/instructions/updateGroupV1.d.ts +43 -58
- package/dist/generated/instructions/updateGroupV1.d.ts.map +1 -1
- package/dist/generated/instructions/updateGroupV1.js +83 -89
- package/dist/generated/instructions/updateGroupV1.js.map +1 -1
- package/dist/generated/instructions/updatePluginV1.d.ts +46 -63
- package/dist/generated/instructions/updatePluginV1.d.ts.map +1 -1
- package/dist/generated/instructions/updatePluginV1.js +89 -89
- package/dist/generated/instructions/updatePluginV1.js.map +1 -1
- package/dist/generated/instructions/updateV1.d.ts +46 -63
- package/dist/generated/instructions/updateV1.d.ts.map +1 -1
- package/dist/generated/instructions/updateV1.js +89 -89
- package/dist/generated/instructions/updateV1.js.map +1 -1
- package/dist/generated/instructions/updateV2.d.ts +49 -68
- package/dist/generated/instructions/updateV2.d.ts.map +1 -1
- package/dist/generated/instructions/updateV2.js +95 -92
- package/dist/generated/instructions/updateV2.js.map +1 -1
- package/dist/generated/instructions/writeCollectionExternalPluginAdapterDataV1.d.ts +46 -63
- package/dist/generated/instructions/writeCollectionExternalPluginAdapterDataV1.d.ts.map +1 -1
- package/dist/generated/instructions/writeCollectionExternalPluginAdapterDataV1.js +89 -98
- package/dist/generated/instructions/writeCollectionExternalPluginAdapterDataV1.js.map +1 -1
- package/dist/generated/instructions/writeExternalPluginAdapterDataV1.d.ts +49 -68
- package/dist/generated/instructions/writeExternalPluginAdapterDataV1.d.ts.map +1 -1
- package/dist/generated/instructions/writeExternalPluginAdapterDataV1.js +95 -101
- package/dist/generated/instructions/writeExternalPluginAdapterDataV1.js.map +1 -1
- 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 -9
- package/dist/generated/programs/mplCoreProgram.d.ts +212 -167
- package/dist/generated/programs/mplCoreProgram.d.ts.map +1 -1
- package/dist/generated/programs/mplCoreProgram.js +596 -677
- package/dist/generated/programs/mplCoreProgram.js.map +1 -1
- package/dist/generated/types/addAssetsToGroupV1Args.d.ts +10 -13
- package/dist/generated/types/addAssetsToGroupV1Args.d.ts.map +1 -1
- package/dist/generated/types/addAssetsToGroupV1Args.js +10 -13
- package/dist/generated/types/addAssetsToGroupV1Args.js.map +1 -1
- package/dist/generated/types/addBlocker.d.ts +10 -13
- package/dist/generated/types/addBlocker.d.ts.map +1 -1
- package/dist/generated/types/addBlocker.js +10 -13
- package/dist/generated/types/addBlocker.js.map +1 -1
- package/dist/generated/types/addCollectionExternalPluginAdapterV1Args.d.ts +13 -16
- package/dist/generated/types/addCollectionExternalPluginAdapterV1Args.d.ts.map +1 -1
- package/dist/generated/types/addCollectionExternalPluginAdapterV1Args.js +11 -18
- package/dist/generated/types/addCollectionExternalPluginAdapterV1Args.js.map +1 -1
- package/dist/generated/types/addCollectionPluginV1Args.d.ts +16 -18
- package/dist/generated/types/addCollectionPluginV1Args.d.ts.map +1 -1
- package/dist/generated/types/addCollectionPluginV1Args.js +13 -21
- package/dist/generated/types/addCollectionPluginV1Args.js.map +1 -1
- package/dist/generated/types/addCollectionsToGroupV1Args.d.ts +10 -13
- package/dist/generated/types/addCollectionsToGroupV1Args.d.ts.map +1 -1
- package/dist/generated/types/addCollectionsToGroupV1Args.js +10 -13
- package/dist/generated/types/addCollectionsToGroupV1Args.js.map +1 -1
- package/dist/generated/types/addExternalPluginAdapterV1Args.d.ts +13 -16
- package/dist/generated/types/addExternalPluginAdapterV1Args.d.ts.map +1 -1
- package/dist/generated/types/addExternalPluginAdapterV1Args.js +11 -18
- package/dist/generated/types/addExternalPluginAdapterV1Args.js.map +1 -1
- package/dist/generated/types/addGroupsToGroupV1Args.d.ts +11 -14
- package/dist/generated/types/addGroupsToGroupV1Args.d.ts.map +1 -1
- package/dist/generated/types/addGroupsToGroupV1Args.js +11 -14
- package/dist/generated/types/addGroupsToGroupV1Args.js.map +1 -1
- package/dist/generated/types/addPluginV1Args.d.ts +16 -18
- package/dist/generated/types/addPluginV1Args.d.ts.map +1 -1
- package/dist/generated/types/addPluginV1Args.js +13 -21
- package/dist/generated/types/addPluginV1Args.js.map +1 -1
- package/dist/generated/types/agentIdentity.d.ts +11 -14
- package/dist/generated/types/agentIdentity.d.ts.map +1 -1
- package/dist/generated/types/agentIdentity.js +11 -18
- package/dist/generated/types/agentIdentity.js.map +1 -1
- package/dist/generated/types/agentIdentityInitInfo.d.ts +19 -20
- package/dist/generated/types/agentIdentityInitInfo.d.ts.map +1 -1
- package/dist/generated/types/agentIdentityInitInfo.js +22 -35
- package/dist/generated/types/agentIdentityInitInfo.js.map +1 -1
- package/dist/generated/types/agentIdentityUpdateInfo.d.ts +16 -18
- package/dist/generated/types/agentIdentityUpdateInfo.d.ts.map +1 -1
- package/dist/generated/types/agentIdentityUpdateInfo.js +13 -39
- package/dist/generated/types/agentIdentityUpdateInfo.js.map +1 -1
- package/dist/generated/types/appData.d.ts +16 -18
- package/dist/generated/types/appData.d.ts.map +1 -1
- package/dist/generated/types/appData.js +12 -20
- package/dist/generated/types/appData.js.map +1 -1
- package/dist/generated/types/appDataInitInfo.d.ts +18 -20
- package/dist/generated/types/appDataInitInfo.d.ts.map +1 -1
- package/dist/generated/types/appDataInitInfo.js +21 -23
- package/dist/generated/types/appDataInitInfo.js.map +1 -1
- package/dist/generated/types/appDataUpdateInfo.d.ts +13 -16
- package/dist/generated/types/appDataUpdateInfo.d.ts.map +1 -1
- package/dist/generated/types/appDataUpdateInfo.js +12 -19
- package/dist/generated/types/appDataUpdateInfo.js.map +1 -1
- package/dist/generated/types/approveCollectionPluginAuthorityV1Args.d.ts +16 -18
- package/dist/generated/types/approveCollectionPluginAuthorityV1Args.d.ts.map +1 -1
- package/dist/generated/types/approveCollectionPluginAuthorityV1Args.js +12 -20
- package/dist/generated/types/approveCollectionPluginAuthorityV1Args.js.map +1 -1
- package/dist/generated/types/approvePluginAuthorityV1Args.d.ts +16 -18
- package/dist/generated/types/approvePluginAuthorityV1Args.d.ts.map +1 -1
- package/dist/generated/types/approvePluginAuthorityV1Args.js +12 -20
- package/dist/generated/types/approvePluginAuthorityV1Args.js.map +1 -1
- package/dist/generated/types/attribute.d.ts +12 -15
- package/dist/generated/types/attribute.d.ts.map +1 -1
- package/dist/generated/types/attribute.js +11 -20
- package/dist/generated/types/attribute.js.map +1 -1
- package/dist/generated/types/attributes.d.ts +13 -16
- package/dist/generated/types/attributes.d.ts.map +1 -1
- package/dist/generated/types/attributes.js +12 -19
- package/dist/generated/types/attributes.js.map +1 -1
- package/dist/generated/types/authority.d.ts +21 -24
- package/dist/generated/types/authority.d.ts.map +1 -1
- package/dist/generated/types/authority.js +31 -30
- package/dist/generated/types/authority.js.map +1 -1
- package/dist/generated/types/autograph.d.ts +13 -16
- package/dist/generated/types/autograph.d.ts.map +1 -1
- package/dist/generated/types/autograph.js +12 -19
- package/dist/generated/types/autograph.js.map +1 -1
- package/dist/generated/types/autographSignature.d.ts +12 -15
- package/dist/generated/types/autographSignature.d.ts.map +1 -1
- package/dist/generated/types/autographSignature.js +11 -20
- package/dist/generated/types/autographSignature.js.map +1 -1
- package/dist/generated/types/bubblegumV2.d.ts +10 -13
- package/dist/generated/types/bubblegumV2.d.ts.map +1 -1
- package/dist/generated/types/bubblegumV2.js +10 -13
- package/dist/generated/types/bubblegumV2.js.map +1 -1
- package/dist/generated/types/burnCollectionV1Args.d.ts +13 -16
- package/dist/generated/types/burnCollectionV1Args.d.ts.map +1 -1
- package/dist/generated/types/burnCollectionV1Args.js +12 -19
- package/dist/generated/types/burnCollectionV1Args.js.map +1 -1
- package/dist/generated/types/burnDelegate.d.ts +10 -13
- package/dist/generated/types/burnDelegate.d.ts.map +1 -1
- package/dist/generated/types/burnDelegate.js +10 -13
- package/dist/generated/types/burnDelegate.js.map +1 -1
- package/dist/generated/types/burnV1Args.d.ts +13 -16
- package/dist/generated/types/burnV1Args.d.ts.map +1 -1
- package/dist/generated/types/burnV1Args.js +12 -19
- package/dist/generated/types/burnV1Args.js.map +1 -1
- package/dist/generated/types/closeGroupV1Args.d.ts +10 -13
- package/dist/generated/types/closeGroupV1Args.d.ts.map +1 -1
- package/dist/generated/types/closeGroupV1Args.js +10 -13
- package/dist/generated/types/closeGroupV1Args.js.map +1 -1
- package/dist/generated/types/compressV1Args.d.ts +10 -13
- package/dist/generated/types/compressV1Args.d.ts.map +1 -1
- package/dist/generated/types/compressV1Args.js +10 -13
- package/dist/generated/types/compressV1Args.js.map +1 -1
- package/dist/generated/types/compressionProof.d.ts +24 -26
- package/dist/generated/types/compressionProof.d.ts.map +1 -1
- package/dist/generated/types/compressionProof.js +27 -29
- package/dist/generated/types/compressionProof.js.map +1 -1
- package/dist/generated/types/createCollectionV1Args.d.ts +17 -20
- package/dist/generated/types/createCollectionV1Args.d.ts.map +1 -1
- package/dist/generated/types/createCollectionV1Args.js +20 -29
- package/dist/generated/types/createCollectionV1Args.js.map +1 -1
- package/dist/generated/types/createCollectionV2Args.d.ts +20 -22
- package/dist/generated/types/createCollectionV2Args.d.ts.map +1 -1
- package/dist/generated/types/createCollectionV2Args.js +23 -37
- package/dist/generated/types/createCollectionV2Args.js.map +1 -1
- package/dist/generated/types/createGroupV1Args.d.ts +17 -20
- package/dist/generated/types/createGroupV1Args.d.ts.map +1 -1
- package/dist/generated/types/createGroupV1Args.js +20 -23
- package/dist/generated/types/createGroupV1Args.js.map +1 -1
- package/dist/generated/types/createV1Args.d.ts +20 -22
- package/dist/generated/types/createV1Args.d.ts.map +1 -1
- package/dist/generated/types/createV1Args.js +23 -31
- package/dist/generated/types/createV1Args.js.map +1 -1
- package/dist/generated/types/createV2Args.d.ts +23 -24
- package/dist/generated/types/createV2Args.d.ts.map +1 -1
- package/dist/generated/types/createV2Args.js +26 -39
- package/dist/generated/types/createV2Args.js.map +1 -1
- package/dist/generated/types/creator.d.ts +12 -15
- package/dist/generated/types/creator.d.ts.map +1 -1
- package/dist/generated/types/creator.js +11 -20
- package/dist/generated/types/creator.js.map +1 -1
- package/dist/generated/types/dataSection.d.ts +16 -18
- package/dist/generated/types/dataSection.d.ts.map +1 -1
- package/dist/generated/types/dataSection.js +12 -20
- package/dist/generated/types/dataSection.js.map +1 -1
- package/dist/generated/types/dataSectionInitInfo.d.ts +16 -18
- package/dist/generated/types/dataSectionInitInfo.d.ts.map +1 -1
- package/dist/generated/types/dataSectionInitInfo.js +12 -20
- package/dist/generated/types/dataSectionInitInfo.js.map +1 -1
- package/dist/generated/types/dataSectionUpdateInfo.d.ts +10 -13
- package/dist/generated/types/dataSectionUpdateInfo.d.ts.map +1 -1
- package/dist/generated/types/dataSectionUpdateInfo.js +10 -13
- package/dist/generated/types/dataSectionUpdateInfo.js.map +1 -1
- package/dist/generated/types/dataState.d.ts +12 -15
- package/dist/generated/types/dataState.d.ts.map +1 -1
- package/dist/generated/types/dataState.js +15 -18
- package/dist/generated/types/dataState.js.map +1 -1
- package/dist/generated/types/decompressV1Args.d.ts +13 -16
- package/dist/generated/types/decompressV1Args.d.ts.map +1 -1
- package/dist/generated/types/decompressV1Args.js +11 -14
- package/dist/generated/types/decompressV1Args.js.map +1 -1
- package/dist/generated/types/edition.d.ts +11 -14
- package/dist/generated/types/edition.d.ts.map +1 -1
- package/dist/generated/types/edition.js +11 -14
- package/dist/generated/types/edition.js.map +1 -1
- package/dist/generated/types/executeV1Args.d.ts +11 -14
- package/dist/generated/types/executeV1Args.d.ts.map +1 -1
- package/dist/generated/types/executeV1Args.js +11 -24
- package/dist/generated/types/executeV1Args.js.map +1 -1
- package/dist/generated/types/externalCheckResult.d.ts +11 -14
- package/dist/generated/types/externalCheckResult.d.ts.map +1 -1
- package/dist/generated/types/externalCheckResult.js +11 -14
- package/dist/generated/types/externalCheckResult.js.map +1 -1
- package/dist/generated/types/externalPluginAdapter.d.ts +54 -51
- package/dist/generated/types/externalPluginAdapter.d.ts.map +1 -1
- package/dist/generated/types/externalPluginAdapter.js +44 -99
- package/dist/generated/types/externalPluginAdapter.js.map +1 -1
- package/dist/generated/types/externalPluginAdapterInitInfo.d.ts +54 -51
- package/dist/generated/types/externalPluginAdapterInitInfo.d.ts.map +1 -1
- package/dist/generated/types/externalPluginAdapterInitInfo.js +44 -107
- package/dist/generated/types/externalPluginAdapterInitInfo.js.map +1 -1
- package/dist/generated/types/externalPluginAdapterKey.d.ts +47 -49
- package/dist/generated/types/externalPluginAdapterKey.d.ts.map +1 -1
- package/dist/generated/types/externalPluginAdapterKey.js +39 -77
- package/dist/generated/types/externalPluginAdapterKey.js.map +1 -1
- package/dist/generated/types/externalPluginAdapterSchema.d.ts +13 -16
- package/dist/generated/types/externalPluginAdapterSchema.d.ts.map +1 -1
- package/dist/generated/types/externalPluginAdapterSchema.js +16 -19
- package/dist/generated/types/externalPluginAdapterSchema.js.map +1 -1
- package/dist/generated/types/externalPluginAdapterType.d.ts +17 -20
- package/dist/generated/types/externalPluginAdapterType.d.ts.map +1 -1
- package/dist/generated/types/externalPluginAdapterType.js +20 -23
- package/dist/generated/types/externalPluginAdapterType.js.map +1 -1
- package/dist/generated/types/externalPluginAdapterUpdateInfo.d.ts +53 -51
- package/dist/generated/types/externalPluginAdapterUpdateInfo.d.ts.map +1 -1
- package/dist/generated/types/externalPluginAdapterUpdateInfo.js +41 -101
- package/dist/generated/types/externalPluginAdapterUpdateInfo.js.map +1 -1
- package/dist/generated/types/externalRegistryRecord.d.ts +26 -26
- package/dist/generated/types/externalRegistryRecord.d.ts.map +1 -1
- package/dist/generated/types/externalRegistryRecord.js +29 -41
- package/dist/generated/types/externalRegistryRecord.js.map +1 -1
- package/dist/generated/types/externalValidationResult.d.ts +13 -16
- package/dist/generated/types/externalValidationResult.d.ts.map +1 -1
- package/dist/generated/types/externalValidationResult.js +16 -19
- package/dist/generated/types/externalValidationResult.js.map +1 -1
- package/dist/generated/types/extraAccount.d.ts +68 -71
- package/dist/generated/types/extraAccount.d.ts.map +1 -1
- package/dist/generated/types/extraAccount.js +56 -127
- package/dist/generated/types/extraAccount.js.map +1 -1
- package/dist/generated/types/freezeDelegate.d.ts +11 -14
- package/dist/generated/types/freezeDelegate.d.ts.map +1 -1
- package/dist/generated/types/freezeDelegate.js +11 -14
- package/dist/generated/types/freezeDelegate.js.map +1 -1
- package/dist/generated/types/freezeExecute.d.ts +11 -14
- package/dist/generated/types/freezeExecute.d.ts.map +1 -1
- package/dist/generated/types/freezeExecute.js +11 -14
- package/dist/generated/types/freezeExecute.js.map +1 -1
- package/dist/generated/types/groups.d.ts +11 -14
- package/dist/generated/types/groups.d.ts.map +1 -1
- package/dist/generated/types/groups.js +11 -14
- package/dist/generated/types/groups.js.map +1 -1
- package/dist/generated/types/hashablePluginSchema.d.ts +18 -20
- package/dist/generated/types/hashablePluginSchema.d.ts.map +1 -1
- package/dist/generated/types/hashablePluginSchema.js +21 -23
- package/dist/generated/types/hashablePluginSchema.js.map +1 -1
- package/dist/generated/types/hashedAssetSchema.d.ts +12 -15
- package/dist/generated/types/hashedAssetSchema.d.ts.map +1 -1
- package/dist/generated/types/hashedAssetSchema.js +11 -26
- package/dist/generated/types/hashedAssetSchema.js.map +1 -1
- package/dist/generated/types/hookableLifecycleEvent.d.ts +15 -18
- package/dist/generated/types/hookableLifecycleEvent.d.ts.map +1 -1
- package/dist/generated/types/hookableLifecycleEvent.js +18 -21
- package/dist/generated/types/hookableLifecycleEvent.js.map +1 -1
- package/dist/generated/types/immutableMetadata.d.ts +10 -13
- package/dist/generated/types/immutableMetadata.d.ts.map +1 -1
- package/dist/generated/types/immutableMetadata.js +10 -13
- package/dist/generated/types/immutableMetadata.js.map +1 -1
- package/dist/generated/types/index.d.ts +116 -125
- package/dist/generated/types/key.d.ts +17 -20
- package/dist/generated/types/key.d.ts.map +1 -1
- package/dist/generated/types/key.js +20 -23
- package/dist/generated/types/key.js.map +1 -1
- package/dist/generated/types/lifecycleHook.d.ts +21 -22
- package/dist/generated/types/lifecycleHook.d.ts.map +1 -1
- package/dist/generated/types/lifecycleHook.js +24 -31
- package/dist/generated/types/lifecycleHook.js.map +1 -1
- package/dist/generated/types/lifecycleHookInitInfo.d.ts +27 -26
- package/dist/generated/types/lifecycleHookInitInfo.d.ts.map +1 -1
- package/dist/generated/types/lifecycleHookInitInfo.js +30 -47
- package/dist/generated/types/lifecycleHookInitInfo.js.map +1 -1
- package/dist/generated/types/lifecycleHookUpdateInfo.d.ts +20 -20
- package/dist/generated/types/lifecycleHookUpdateInfo.d.ts.map +1 -1
- package/dist/generated/types/lifecycleHookUpdateInfo.js +23 -41
- package/dist/generated/types/lifecycleHookUpdateInfo.js.map +1 -1
- package/dist/generated/types/linkedAppData.d.ts +16 -18
- package/dist/generated/types/linkedAppData.d.ts.map +1 -1
- package/dist/generated/types/linkedAppData.js +12 -20
- package/dist/generated/types/linkedAppData.js.map +1 -1
- package/dist/generated/types/linkedAppDataInitInfo.d.ts +18 -20
- package/dist/generated/types/linkedAppDataInitInfo.d.ts.map +1 -1
- package/dist/generated/types/linkedAppDataInitInfo.js +21 -23
- package/dist/generated/types/linkedAppDataInitInfo.js.map +1 -1
- package/dist/generated/types/linkedAppDataUpdateInfo.d.ts +13 -16
- package/dist/generated/types/linkedAppDataUpdateInfo.d.ts.map +1 -1
- package/dist/generated/types/linkedAppDataUpdateInfo.js +12 -19
- package/dist/generated/types/linkedAppDataUpdateInfo.js.map +1 -1
- package/dist/generated/types/linkedDataKey.d.ts +23 -26
- package/dist/generated/types/linkedDataKey.d.ts.map +1 -1
- package/dist/generated/types/linkedDataKey.js +22 -39
- package/dist/generated/types/linkedDataKey.js.map +1 -1
- package/dist/generated/types/linkedLifecycleHook.d.ts +21 -22
- package/dist/generated/types/linkedLifecycleHook.d.ts.map +1 -1
- package/dist/generated/types/linkedLifecycleHook.js +24 -31
- package/dist/generated/types/linkedLifecycleHook.js.map +1 -1
- package/dist/generated/types/linkedLifecycleHookInitInfo.d.ts +27 -26
- package/dist/generated/types/linkedLifecycleHookInitInfo.d.ts.map +1 -1
- package/dist/generated/types/linkedLifecycleHookInitInfo.js +30 -47
- package/dist/generated/types/linkedLifecycleHookInitInfo.js.map +1 -1
- package/dist/generated/types/linkedLifecycleHookUpdateInfo.d.ts +20 -20
- package/dist/generated/types/linkedLifecycleHookUpdateInfo.d.ts.map +1 -1
- package/dist/generated/types/linkedLifecycleHookUpdateInfo.js +23 -41
- package/dist/generated/types/linkedLifecycleHookUpdateInfo.js.map +1 -1
- package/dist/generated/types/masterEdition.d.ts +16 -19
- package/dist/generated/types/masterEdition.d.ts.map +1 -1
- package/dist/generated/types/masterEdition.js +19 -34
- package/dist/generated/types/masterEdition.js.map +1 -1
- package/dist/generated/types/oracle.d.ts +18 -20
- package/dist/generated/types/oracle.d.ts.map +1 -1
- package/dist/generated/types/oracle.js +21 -23
- package/dist/generated/types/oracle.js.map +1 -1
- package/dist/generated/types/oracleInitInfo.d.ts +25 -24
- package/dist/generated/types/oracleInitInfo.d.ts.map +1 -1
- package/dist/generated/types/oracleInitInfo.js +28 -39
- package/dist/generated/types/oracleInitInfo.js.map +1 -1
- package/dist/generated/types/oracleUpdateInfo.d.ts +20 -20
- package/dist/generated/types/oracleUpdateInfo.d.ts.map +1 -1
- package/dist/generated/types/oracleUpdateInfo.js +23 -35
- package/dist/generated/types/oracleUpdateInfo.js.map +1 -1
- package/dist/generated/types/oracleValidation.d.ts +27 -30
- package/dist/generated/types/oracleValidation.d.ts.map +1 -1
- package/dist/generated/types/oracleValidation.js +32 -43
- package/dist/generated/types/oracleValidation.js.map +1 -1
- package/dist/generated/types/permanentBurnDelegate.d.ts +10 -13
- package/dist/generated/types/permanentBurnDelegate.d.ts.map +1 -1
- package/dist/generated/types/permanentBurnDelegate.js +10 -13
- package/dist/generated/types/permanentBurnDelegate.js.map +1 -1
- package/dist/generated/types/permanentFreezeDelegate.d.ts +11 -14
- package/dist/generated/types/permanentFreezeDelegate.d.ts.map +1 -1
- package/dist/generated/types/permanentFreezeDelegate.js +11 -14
- package/dist/generated/types/permanentFreezeDelegate.js.map +1 -1
- package/dist/generated/types/permanentFreezeExecute.d.ts +11 -14
- package/dist/generated/types/permanentFreezeExecute.d.ts.map +1 -1
- package/dist/generated/types/permanentFreezeExecute.js +11 -14
- package/dist/generated/types/permanentFreezeExecute.js.map +1 -1
- package/dist/generated/types/permanentTransferDelegate.d.ts +10 -13
- package/dist/generated/types/permanentTransferDelegate.d.ts.map +1 -1
- package/dist/generated/types/permanentTransferDelegate.js +10 -13
- package/dist/generated/types/permanentTransferDelegate.js.map +1 -1
- package/dist/generated/types/plugin.d.ts +144 -129
- package/dist/generated/types/plugin.d.ts.map +1 -1
- package/dist/generated/types/plugin.js +80 -227
- package/dist/generated/types/plugin.js.map +1 -1
- package/dist/generated/types/pluginAuthorityPair.d.ts +16 -18
- package/dist/generated/types/pluginAuthorityPair.d.ts.map +1 -1
- package/dist/generated/types/pluginAuthorityPair.js +13 -21
- package/dist/generated/types/pluginAuthorityPair.js.map +1 -1
- package/dist/generated/types/pluginType.d.ts +29 -32
- package/dist/generated/types/pluginType.d.ts.map +1 -1
- package/dist/generated/types/pluginType.js +32 -35
- package/dist/generated/types/pluginType.js.map +1 -1
- package/dist/generated/types/registryRecord.d.ts +18 -20
- package/dist/generated/types/registryRecord.d.ts.map +1 -1
- package/dist/generated/types/registryRecord.js +21 -23
- package/dist/generated/types/registryRecord.js.map +1 -1
- package/dist/generated/types/relationshipEntry.d.ts +15 -18
- package/dist/generated/types/relationshipEntry.d.ts.map +1 -1
- package/dist/generated/types/relationshipEntry.js +12 -21
- package/dist/generated/types/relationshipEntry.js.map +1 -1
- package/dist/generated/types/relationshipKind.d.ts +14 -17
- package/dist/generated/types/relationshipKind.d.ts.map +1 -1
- package/dist/generated/types/relationshipKind.js +17 -20
- package/dist/generated/types/relationshipKind.js.map +1 -1
- package/dist/generated/types/removeAssetsFromGroupV1Args.d.ts +11 -14
- package/dist/generated/types/removeAssetsFromGroupV1Args.d.ts.map +1 -1
- package/dist/generated/types/removeAssetsFromGroupV1Args.js +11 -14
- package/dist/generated/types/removeAssetsFromGroupV1Args.js.map +1 -1
- package/dist/generated/types/removeCollectionExternalPluginAdapterV1Args.d.ts +13 -16
- package/dist/generated/types/removeCollectionExternalPluginAdapterV1Args.d.ts.map +1 -1
- package/dist/generated/types/removeCollectionExternalPluginAdapterV1Args.js +11 -14
- package/dist/generated/types/removeCollectionExternalPluginAdapterV1Args.js.map +1 -1
- package/dist/generated/types/removeCollectionPluginV1Args.d.ts +13 -16
- package/dist/generated/types/removeCollectionPluginV1Args.d.ts.map +1 -1
- package/dist/generated/types/removeCollectionPluginV1Args.js +11 -14
- package/dist/generated/types/removeCollectionPluginV1Args.js.map +1 -1
- package/dist/generated/types/removeCollectionsFromGroupV1Args.d.ts +11 -14
- package/dist/generated/types/removeCollectionsFromGroupV1Args.d.ts.map +1 -1
- package/dist/generated/types/removeCollectionsFromGroupV1Args.js +11 -18
- package/dist/generated/types/removeCollectionsFromGroupV1Args.js.map +1 -1
- package/dist/generated/types/removeExternalPluginAdapterV1Args.d.ts +13 -16
- package/dist/generated/types/removeExternalPluginAdapterV1Args.d.ts.map +1 -1
- package/dist/generated/types/removeExternalPluginAdapterV1Args.js +11 -14
- package/dist/generated/types/removeExternalPluginAdapterV1Args.js.map +1 -1
- package/dist/generated/types/removeGroupsFromGroupV1Args.d.ts +11 -14
- package/dist/generated/types/removeGroupsFromGroupV1Args.d.ts.map +1 -1
- package/dist/generated/types/removeGroupsFromGroupV1Args.js +11 -14
- package/dist/generated/types/removeGroupsFromGroupV1Args.js.map +1 -1
- package/dist/generated/types/removePluginV1Args.d.ts +13 -16
- package/dist/generated/types/removePluginV1Args.d.ts.map +1 -1
- package/dist/generated/types/removePluginV1Args.js +11 -14
- package/dist/generated/types/removePluginV1Args.js.map +1 -1
- package/dist/generated/types/revokeCollectionPluginAuthorityV1Args.d.ts +13 -16
- package/dist/generated/types/revokeCollectionPluginAuthorityV1Args.d.ts.map +1 -1
- package/dist/generated/types/revokeCollectionPluginAuthorityV1Args.js +11 -14
- package/dist/generated/types/revokeCollectionPluginAuthorityV1Args.js.map +1 -1
- package/dist/generated/types/revokePluginAuthorityV1Args.d.ts +13 -16
- package/dist/generated/types/revokePluginAuthorityV1Args.d.ts.map +1 -1
- package/dist/generated/types/revokePluginAuthorityV1Args.js +11 -14
- package/dist/generated/types/revokePluginAuthorityV1Args.js.map +1 -1
- package/dist/generated/types/royalties.d.ts +18 -20
- package/dist/generated/types/royalties.d.ts.map +1 -1
- package/dist/generated/types/royalties.js +21 -23
- package/dist/generated/types/royalties.js.map +1 -1
- package/dist/generated/types/ruleSet.d.ts +20 -23
- package/dist/generated/types/ruleSet.d.ts.map +1 -1
- package/dist/generated/types/ruleSet.js +29 -48
- package/dist/generated/types/ruleSet.js.map +1 -1
- package/dist/generated/types/seed.d.ts +26 -29
- package/dist/generated/types/seed.d.ts.map +1 -1
- package/dist/generated/types/seed.js +35 -60
- package/dist/generated/types/seed.js.map +1 -1
- package/dist/generated/types/transferDelegate.d.ts +10 -13
- package/dist/generated/types/transferDelegate.d.ts.map +1 -1
- package/dist/generated/types/transferDelegate.js +10 -13
- package/dist/generated/types/transferDelegate.js.map +1 -1
- package/dist/generated/types/transferV1Args.d.ts +13 -16
- package/dist/generated/types/transferV1Args.d.ts.map +1 -1
- package/dist/generated/types/transferV1Args.js +12 -19
- package/dist/generated/types/transferV1Args.js.map +1 -1
- package/dist/generated/types/updateAuthority.d.ts +20 -23
- package/dist/generated/types/updateAuthority.d.ts.map +1 -1
- package/dist/generated/types/updateAuthority.js +29 -40
- package/dist/generated/types/updateAuthority.js.map +1 -1
- package/dist/generated/types/updateCollectionExternalPluginAdapterV1Args.d.ts +16 -18
- package/dist/generated/types/updateCollectionExternalPluginAdapterV1Args.d.ts.map +1 -1
- package/dist/generated/types/updateCollectionExternalPluginAdapterV1Args.js +12 -20
- package/dist/generated/types/updateCollectionExternalPluginAdapterV1Args.js.map +1 -1
- package/dist/generated/types/updateCollectionInfoV1Args.d.ts +15 -18
- package/dist/generated/types/updateCollectionInfoV1Args.d.ts.map +1 -1
- package/dist/generated/types/updateCollectionInfoV1Args.js +12 -21
- package/dist/generated/types/updateCollectionInfoV1Args.js.map +1 -1
- package/dist/generated/types/updateCollectionPluginV1Args.d.ts +13 -16
- package/dist/generated/types/updateCollectionPluginV1Args.d.ts.map +1 -1
- package/dist/generated/types/updateCollectionPluginV1Args.js +11 -14
- package/dist/generated/types/updateCollectionPluginV1Args.js.map +1 -1
- package/dist/generated/types/updateCollectionV1Args.d.ts +14 -17
- package/dist/generated/types/updateCollectionV1Args.d.ts.map +1 -1
- package/dist/generated/types/updateCollectionV1Args.js +11 -32
- package/dist/generated/types/updateCollectionV1Args.js.map +1 -1
- package/dist/generated/types/updateDelegate.d.ts +11 -14
- package/dist/generated/types/updateDelegate.d.ts.map +1 -1
- package/dist/generated/types/updateDelegate.js +11 -18
- package/dist/generated/types/updateDelegate.js.map +1 -1
- package/dist/generated/types/updateExternalPluginAdapterV1Args.d.ts +16 -18
- package/dist/generated/types/updateExternalPluginAdapterV1Args.d.ts.map +1 -1
- package/dist/generated/types/updateExternalPluginAdapterV1Args.js +12 -20
- package/dist/generated/types/updateExternalPluginAdapterV1Args.js.map +1 -1
- package/dist/generated/types/updateGroupV1Args.d.ts +14 -17
- package/dist/generated/types/updateGroupV1Args.d.ts.map +1 -1
- package/dist/generated/types/updateGroupV1Args.js +11 -32
- package/dist/generated/types/updateGroupV1Args.js.map +1 -1
- package/dist/generated/types/updatePluginV1Args.d.ts +13 -16
- package/dist/generated/types/updatePluginV1Args.d.ts.map +1 -1
- package/dist/generated/types/updatePluginV1Args.js +11 -14
- package/dist/generated/types/updatePluginV1Args.js.map +1 -1
- package/dist/generated/types/updateType.d.ts +13 -16
- package/dist/generated/types/updateType.d.ts.map +1 -1
- package/dist/generated/types/updateType.js +16 -19
- package/dist/generated/types/updateType.js.map +1 -1
- package/dist/generated/types/updateV1Args.d.ts +17 -20
- package/dist/generated/types/updateV1Args.d.ts.map +1 -1
- package/dist/generated/types/updateV1Args.js +20 -35
- package/dist/generated/types/updateV1Args.js.map +1 -1
- package/dist/generated/types/updateV2Args.d.ts +17 -20
- package/dist/generated/types/updateV2Args.d.ts.map +1 -1
- package/dist/generated/types/updateV2Args.js +20 -35
- package/dist/generated/types/updateV2Args.js.map +1 -1
- package/dist/generated/types/validationResult.d.ts +14 -17
- package/dist/generated/types/validationResult.d.ts.map +1 -1
- package/dist/generated/types/validationResult.js +17 -20
- package/dist/generated/types/validationResult.js.map +1 -1
- package/dist/generated/types/validationResultsOffset.d.ts +23 -26
- package/dist/generated/types/validationResultsOffset.d.ts.map +1 -1
- package/dist/generated/types/validationResultsOffset.js +29 -34
- package/dist/generated/types/validationResultsOffset.js.map +1 -1
- package/dist/generated/types/verifiedCreators.d.ts +13 -16
- package/dist/generated/types/verifiedCreators.d.ts.map +1 -1
- package/dist/generated/types/verifiedCreators.js +12 -19
- package/dist/generated/types/verifiedCreators.js.map +1 -1
- package/dist/generated/types/verifiedCreatorsSignature.d.ts +12 -15
- package/dist/generated/types/verifiedCreatorsSignature.d.ts.map +1 -1
- package/dist/generated/types/verifiedCreatorsSignature.js +11 -20
- package/dist/generated/types/verifiedCreatorsSignature.js.map +1 -1
- package/dist/generated/types/writeCollectionExternalPluginAdapterDataV1Args.d.ts +15 -18
- package/dist/generated/types/writeCollectionExternalPluginAdapterDataV1Args.d.ts.map +1 -1
- package/dist/generated/types/writeCollectionExternalPluginAdapterDataV1Args.js +12 -27
- package/dist/generated/types/writeCollectionExternalPluginAdapterDataV1Args.js.map +1 -1
- package/dist/generated/types/writeExternalPluginAdapterDataV1Args.d.ts +15 -18
- package/dist/generated/types/writeExternalPluginAdapterDataV1Args.d.ts.map +1 -1
- package/dist/generated/types/writeExternalPluginAdapterDataV1Args.js +12 -27
- package/dist/generated/types/writeExternalPluginAdapterDataV1Args.js.map +1 -1
- package/dist/index.d.ts +168 -8
- package/dist/index.js +168 -8
- package/package.json +7 -5
- package/src/generated/errors/mplCoreProgram.ts +3 -1
- package/src/generated/index.ts +1 -0
- package/src/generated/instructions/addAssetsToGroupV1.ts +5 -5
- package/src/generated/instructions/addCollectionExternalPluginAdapterV1.ts +6 -6
- package/src/generated/instructions/addCollectionPluginV1.ts +6 -6
- package/src/generated/instructions/addCollectionsToGroupV1.ts +5 -5
- package/src/generated/instructions/addExternalPluginAdapterV1.ts +7 -7
- package/src/generated/instructions/addGroupsToGroupV1.ts +5 -5
- package/src/generated/instructions/addPluginV1.ts +7 -7
- package/src/generated/instructions/approveCollectionPluginAuthorityV1.ts +6 -6
- package/src/generated/instructions/approvePluginAuthorityV1.ts +7 -7
- package/src/generated/instructions/burnCollectionV1.ts +5 -5
- package/src/generated/instructions/burnV1.ts +7 -7
- package/src/generated/instructions/closeGroupV1.ts +4 -4
- package/src/generated/instructions/collect.ts +3 -3
- package/src/generated/instructions/compressV1.ts +7 -7
- package/src/generated/instructions/createCollectionV1.ts +5 -5
- package/src/generated/instructions/createCollectionV2.ts +5 -5
- package/src/generated/instructions/createGroupV1.ts +5 -5
- package/src/generated/instructions/createV1.ts +9 -9
- package/src/generated/instructions/createV2.ts +9 -9
- package/src/generated/instructions/decompressV1.ts +7 -7
- package/src/generated/instructions/executeV1.ts +142 -9
- package/src/generated/instructions/removeAssetsFromGroupV1.ts +5 -5
- package/src/generated/instructions/removeCollectionExternalPluginAdapterV1.ts +6 -6
- package/src/generated/instructions/removeCollectionPluginV1.ts +6 -6
- package/src/generated/instructions/removeCollectionsFromGroupV1.ts +5 -5
- package/src/generated/instructions/removeExternalPluginAdapterV1.ts +7 -7
- package/src/generated/instructions/removeGroupsFromGroupV1.ts +5 -5
- package/src/generated/instructions/removePluginV1.ts +7 -7
- package/src/generated/instructions/revokeCollectionPluginAuthorityV1.ts +6 -6
- package/src/generated/instructions/revokePluginAuthorityV1.ts +7 -7
- package/src/generated/instructions/transferV1.ts +8 -8
- package/src/generated/instructions/updateCollectionExternalPluginAdapterV1.ts +6 -6
- package/src/generated/instructions/updateCollectionInfoV1.ts +3 -3
- package/src/generated/instructions/updateCollectionPluginV1.ts +6 -6
- package/src/generated/instructions/updateCollectionV1.ts +7 -7
- package/src/generated/instructions/updateExternalPluginAdapterV1.ts +7 -7
- package/src/generated/instructions/updateGroupV1.ts +6 -6
- package/src/generated/instructions/updatePluginV1.ts +7 -7
- package/src/generated/instructions/updateV1.ts +7 -7
- package/src/generated/instructions/updateV2.ts +8 -8
- package/src/generated/instructions/writeCollectionExternalPluginAdapterDataV1.ts +7 -7
- package/src/generated/instructions/writeExternalPluginAdapterDataV1.ts +8 -8
- package/src/generated/pdas/assetSigner.ts +36 -0
- package/{dist/generated/errors/index.js → src/generated/pdas/index.ts} +2 -2
- package/src/generated/programs/mplCoreProgram.ts +13 -5
- package/dist/.tsbuildinfo +0 -1
- package/dist/generated/accounts/index.d.ts.map +0 -1
- package/dist/generated/accounts/index.js +0 -14
- package/dist/generated/accounts/index.js.map +0 -1
- package/dist/generated/errors/index.d.ts.map +0 -1
- package/dist/generated/errors/index.js.map +0 -1
- package/dist/generated/index.d.ts.map +0 -1
- package/dist/generated/index.js +0 -13
- package/dist/generated/index.js.map +0 -1
- package/dist/generated/instructions/index.d.ts.map +0 -1
- package/dist/generated/instructions/index.js +0 -50
- package/dist/generated/instructions/index.js.map +0 -1
- package/dist/generated/programs/index.d.ts.map +0 -1
- package/dist/generated/programs/index.js +0 -9
- package/dist/generated/programs/index.js.map +0 -1
- package/dist/generated/types/index.d.ts.map +0 -1
- package/dist/generated/types/index.js +0 -125
- package/dist/generated/types/index.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"revokeCollectionPluginAuthorityV1.js","sourceRoot":"","sources":["../../../src/generated/instructions/revokeCollectionPluginAuthorityV1.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAwBH,OAAO,EACL,YAAY,EACZ,gBAAgB,EAChB,gBAAgB,EAChB,YAAY,EACZ,YAAY,EACZ,yDAAyD,EACzD,WAAW,EACX,gBAAgB,GACjB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,gCAAgC,EAAE,MAAM,sBAAsB,CAAC;AACxE,OAAO,EACL,+CAA+C,EAC/C,+CAA+C,GAChD,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,mDAAmD,GAAG,EAAE,CAAC;AAEtE,MAAM,UAAU,sDAAsD;IACpE,OAAO,YAAY,EAAE,CAAC,MAAM,CAC1B,mDAAmD,CACpD,CAAC;AACJ,CAAC;AA8CD,MAA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,MAAM,sBAAsB,GAAG,GAAG,EAAE;QAClC,MAAM,WAAW,GAAG,cAAc,EAAE,CAAC;QACrC,OAAO,WAAW,CAAC,OAAO,KAAK,gCAAgC;YAC7D,CAAC,CAAC,SAAS;YACX,CAAC,CAAC,WAAW,CAAC;IAClB,CAAC,CAAC;IACF,OAAO;QACL,cAAc,EAAE,WAAW,CAAC,cAAc;QAC1C,QAAQ,EAAE;YACR,UAAU,EAAE,cAAc,EAAE;YAC5B,KAAK,EAAE,cAAc,EAAE;YACvB,SAAS,EAAE,sBAAsB,EAAE;YACnC,aAAa,EAAE,cAAc,EAAE;YAC/B,UAAU,EAAE,sBAAsB,EAAE;SACrC;QACD,IAAI,EAAE,0DAA0D,EAAE,CAAC,MAAM,CACvE,WAAW,CAAC,IAAI,CACjB;KACF,CAAC;AACJ,CAAC","sourcesContent":["/**\n * This code was AUTOGENERATED using the Codama library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun Codama to update it.\n *\n * @see https://github.com/codama-idl/codama\n */\n\nimport type {\n 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 RevokeCollectionPluginAuthorityV1Args,\n RevokeCollectionPluginAuthorityV1ArgsArgs,\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 getRevokeCollectionPluginAuthorityV1ArgsDecoder,\n getRevokeCollectionPluginAuthorityV1ArgsEncoder,\n} from \"../types/index.js\";\n\nexport const REVOKE_COLLECTION_PLUGIN_AUTHORITY_V1_DISCRIMINATOR = 11;\n\nexport function getRevokeCollectionPluginAuthorityV1DiscriminatorBytes(): ReadonlyUint8Array {\n return getU8Encoder().encode(\n REVOKE_COLLECTION_PLUGIN_AUTHORITY_V1_DISCRIMINATOR,\n );\n}\n\nexport type RevokeCollectionPluginAuthorityV1Instruction<\n TProgram extends string = typeof MPL_CORE_PROGRAM_PROGRAM_ADDRESS,\n TAccountCollection extends string | AccountMeta = string,\n TAccountPayer extends string | AccountMeta = string,\n TAccountAuthority extends string | AccountMeta = string,\n TAccountSystemProgram extends\n | string\n | AccountMeta = \"11111111111111111111111111111111\",\n TAccountLogWrapper extends string | AccountMeta = string,\n TRemainingAccounts extends readonly AccountMeta[] = [],\n> = Instruction<TProgram> &\n InstructionWithData<ReadonlyUint8Array> &\n InstructionWithAccounts<\n [\n TAccountCollection extends string\n ? WritableAccount<TAccountCollection>\n : TAccountCollection,\n TAccountPayer extends string\n ? WritableSignerAccount<TAccountPayer> &\n AccountSignerMeta<TAccountPayer>\n : TAccountPayer,\n TAccountAuthority extends string\n ? ReadonlySignerAccount<TAccountAuthority> &\n AccountSignerMeta<TAccountAuthority>\n : TAccountAuthority,\n TAccountSystemProgram extends string\n ? ReadonlyAccount<TAccountSystemProgram>\n : TAccountSystemProgram,\n TAccountLogWrapper extends string\n ? ReadonlyAccount<TAccountLogWrapper>\n : TAccountLogWrapper,\n ...TRemainingAccounts,\n ]\n >;\n\nexport interface RevokeCollectionPluginAuthorityV1InstructionData {\n discriminator: number;\n revokeCollectionPluginAuthorityV1Args: RevokeCollectionPluginAuthorityV1Args;\n}\n\nexport interface RevokeCollectionPluginAuthorityV1InstructionDataArgs {\n revokeCollectionPluginAuthorityV1Args: RevokeCollectionPluginAuthorityV1ArgsArgs;\n}\n\nexport function getRevokeCollectionPluginAuthorityV1InstructionDataEncoder(): FixedSizeEncoder<RevokeCollectionPluginAuthorityV1InstructionDataArgs> {\n return transformEncoder(\n getStructEncoder([\n [\"discriminator\", getU8Encoder()],\n [\n \"revokeCollectionPluginAuthorityV1Args\",\n getRevokeCollectionPluginAuthorityV1ArgsEncoder(),\n ],\n ]),\n (value) => ({\n ...value,\n discriminator: REVOKE_COLLECTION_PLUGIN_AUTHORITY_V1_DISCRIMINATOR,\n }),\n );\n}\n\nexport function getRevokeCollectionPluginAuthorityV1InstructionDataDecoder(): FixedSizeDecoder<RevokeCollectionPluginAuthorityV1InstructionData> {\n return getStructDecoder([\n [\"discriminator\", getU8Decoder()],\n [\n \"revokeCollectionPluginAuthorityV1Args\",\n getRevokeCollectionPluginAuthorityV1ArgsDecoder(),\n ],\n ]);\n}\n\nexport function getRevokeCollectionPluginAuthorityV1InstructionDataCodec(): FixedSizeCodec<\n RevokeCollectionPluginAuthorityV1InstructionDataArgs,\n RevokeCollectionPluginAuthorityV1InstructionData\n> {\n return combineCodec(\n getRevokeCollectionPluginAuthorityV1InstructionDataEncoder(),\n getRevokeCollectionPluginAuthorityV1InstructionDataDecoder(),\n );\n}\n\nexport interface RevokeCollectionPluginAuthorityV1Input<\n TAccountCollection extends string = string,\n TAccountPayer extends string = string,\n TAccountAuthority extends string = string,\n TAccountSystemProgram extends string = string,\n TAccountLogWrapper extends string = string,\n> {\n /** The address of the asset */\n collection: Address<TAccountCollection>;\n /** The account paying for the storage fees */\n payer: TransactionSigner<TAccountPayer>;\n /** The owner or delegate of the asset */\n authority?: TransactionSigner<TAccountAuthority>;\n /** The system program */\n systemProgram?: Address<TAccountSystemProgram>;\n /** The SPL Noop Program */\n logWrapper?: Address<TAccountLogWrapper>;\n revokeCollectionPluginAuthorityV1Args: RevokeCollectionPluginAuthorityV1InstructionDataArgs[\"revokeCollectionPluginAuthorityV1Args\"];\n}\n\nexport function getRevokeCollectionPluginAuthorityV1Instruction<\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: RevokeCollectionPluginAuthorityV1Input<\n TAccountCollection,\n TAccountPayer,\n TAccountAuthority,\n TAccountSystemProgram,\n TAccountLogWrapper\n >,\n config?: { programAddress?: TProgramAddress },\n): RevokeCollectionPluginAuthorityV1Instruction<\n TProgramAddress,\n TAccountCollection,\n TAccountPayer,\n TAccountAuthority,\n TAccountSystemProgram,\n TAccountLogWrapper\n> {\n // Program address.\n const programAddress =\n config?.programAddress ?? MPL_CORE_PROGRAM_PROGRAM_ADDRESS;\n\n // Original accounts.\n const originalAccounts = {\n collection: { value: input.collection ?? null, isWritable: true },\n payer: { value: input.payer ?? null, isWritable: true },\n authority: { value: input.authority ?? null, isWritable: false },\n systemProgram: { value: input.systemProgram ?? null, isWritable: false },\n logWrapper: { value: input.logWrapper ?? null, isWritable: false },\n };\n const accounts = originalAccounts as Record<\n keyof typeof originalAccounts,\n ResolvedInstructionAccount\n >;\n\n // Original args.\n const args = { ...input };\n\n // Resolve default values.\n if (!accounts.systemProgram.value) {\n accounts.systemProgram.value =\n \"11111111111111111111111111111111\" as Address<\"11111111111111111111111111111111\">;\n }\n\n const getAccountMeta = getAccountMetaFactory(programAddress, \"programId\");\n return Object.freeze({\n accounts: [\n getAccountMeta(\"collection\", accounts.collection),\n getAccountMeta(\"payer\", accounts.payer),\n getAccountMeta(\"authority\", accounts.authority),\n getAccountMeta(\"systemProgram\", accounts.systemProgram),\n getAccountMeta(\"logWrapper\", accounts.logWrapper),\n ],\n data: getRevokeCollectionPluginAuthorityV1InstructionDataEncoder().encode(\n args as RevokeCollectionPluginAuthorityV1InstructionDataArgs,\n ),\n programAddress,\n } as RevokeCollectionPluginAuthorityV1Instruction<\n TProgramAddress,\n TAccountCollection,\n TAccountPayer,\n TAccountAuthority,\n TAccountSystemProgram,\n TAccountLogWrapper\n >);\n}\n\nexport interface ParsedRevokeCollectionPluginAuthorityV1Instruction<\n TProgram extends string = typeof MPL_CORE_PROGRAM_PROGRAM_ADDRESS,\n TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[],\n> {\n programAddress: Address<TProgram>;\n accounts: {\n /** The address of the asset */\n collection: TAccountMetas[0];\n /** The account paying for the storage fees */\n payer: TAccountMetas[1];\n /** The owner or delegate of the asset */\n authority?: TAccountMetas[2] | undefined;\n /** The system program */\n systemProgram: TAccountMetas[3];\n /** The SPL Noop Program */\n logWrapper?: TAccountMetas[4] | undefined;\n };\n data: RevokeCollectionPluginAuthorityV1InstructionData;\n}\n\nexport function parseRevokeCollectionPluginAuthorityV1Instruction<\n TProgram extends string,\n TAccountMetas extends readonly AccountMeta[],\n>(\n instruction: Instruction<TProgram> &\n InstructionWithAccounts<TAccountMetas> &\n InstructionWithData<ReadonlyUint8Array>,\n): ParsedRevokeCollectionPluginAuthorityV1Instruction<TProgram, TAccountMetas> {\n if (instruction.accounts.length < 5) {\n throw new SolanaError(\n SOLANA_ERROR__PROGRAM_CLIENTS__INSUFFICIENT_ACCOUNT_METAS,\n {\n actualAccountMetas: instruction.accounts.length,\n expectedAccountMetas: 5,\n },\n );\n }\n let accountIndex = 0;\n const getNextAccount = () => {\n const accountMeta = (instruction.accounts as TAccountMetas)[accountIndex]!;\n accountIndex += 1;\n return accountMeta;\n };\n const getNextOptionalAccount = () => {\n const accountMeta = getNextAccount();\n return accountMeta.address === MPL_CORE_PROGRAM_PROGRAM_ADDRESS\n ? undefined\n : accountMeta;\n };\n return {\n programAddress: instruction.programAddress,\n accounts: {\n collection: getNextAccount(),\n payer: getNextAccount(),\n authority: getNextOptionalAccount(),\n systemProgram: getNextAccount(),\n logWrapper: getNextOptionalAccount(),\n },\n data: getRevokeCollectionPluginAuthorityV1InstructionDataDecoder().decode(\n instruction.data,\n ),\n };\n}\n"]}
|
|
1
|
+
{"version":3,"file":"revokeCollectionPluginAuthorityV1.js","names":[],"sources":["../../../src/generated/instructions/revokeCollectionPluginAuthorityV1.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 RevokeCollectionPluginAuthorityV1Args,\n RevokeCollectionPluginAuthorityV1ArgsArgs,\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 getRevokeCollectionPluginAuthorityV1ArgsDecoder,\n getRevokeCollectionPluginAuthorityV1ArgsEncoder,\n} from \"../types/index.js\";\n\nexport const REVOKE_COLLECTION_PLUGIN_AUTHORITY_V1_DISCRIMINATOR = 11;\n\nexport function getRevokeCollectionPluginAuthorityV1DiscriminatorBytes(): ReadonlyUint8Array {\n return getU8Encoder().encode(\n REVOKE_COLLECTION_PLUGIN_AUTHORITY_V1_DISCRIMINATOR,\n );\n}\n\nexport type RevokeCollectionPluginAuthorityV1Instruction<\n TProgram extends string = typeof MPL_CORE_PROGRAM_PROGRAM_ADDRESS,\n TAccountCollection extends string | AccountMeta<string> = string,\n TAccountPayer extends string | AccountMeta<string> = string,\n TAccountAuthority extends string | AccountMeta<string> = string,\n TAccountSystemProgram extends\n | string\n | AccountMeta<string> = \"11111111111111111111111111111111\",\n TAccountLogWrapper extends string | AccountMeta<string> = string,\n TRemainingAccounts extends readonly AccountMeta<string>[] = [],\n> = Instruction<TProgram> &\n InstructionWithData<ReadonlyUint8Array> &\n InstructionWithAccounts<\n [\n TAccountCollection extends string\n ? WritableAccount<TAccountCollection>\n : TAccountCollection,\n TAccountPayer extends string\n ? WritableSignerAccount<TAccountPayer> &\n AccountSignerMeta<TAccountPayer>\n : TAccountPayer,\n TAccountAuthority extends string\n ? ReadonlySignerAccount<TAccountAuthority> &\n AccountSignerMeta<TAccountAuthority>\n : TAccountAuthority,\n TAccountSystemProgram extends string\n ? ReadonlyAccount<TAccountSystemProgram>\n : TAccountSystemProgram,\n TAccountLogWrapper extends string\n ? ReadonlyAccount<TAccountLogWrapper>\n : TAccountLogWrapper,\n ...TRemainingAccounts,\n ]\n >;\n\nexport interface RevokeCollectionPluginAuthorityV1InstructionData {\n discriminator: number;\n revokeCollectionPluginAuthorityV1Args: RevokeCollectionPluginAuthorityV1Args;\n}\n\nexport interface RevokeCollectionPluginAuthorityV1InstructionDataArgs {\n revokeCollectionPluginAuthorityV1Args: RevokeCollectionPluginAuthorityV1ArgsArgs;\n}\n\nexport function getRevokeCollectionPluginAuthorityV1InstructionDataEncoder(): FixedSizeEncoder<RevokeCollectionPluginAuthorityV1InstructionDataArgs> {\n return transformEncoder(\n getStructEncoder([\n [\"discriminator\", getU8Encoder()],\n [\n \"revokeCollectionPluginAuthorityV1Args\",\n getRevokeCollectionPluginAuthorityV1ArgsEncoder(),\n ],\n ]),\n (value) => ({\n ...value,\n discriminator: REVOKE_COLLECTION_PLUGIN_AUTHORITY_V1_DISCRIMINATOR,\n }),\n );\n}\n\nexport function getRevokeCollectionPluginAuthorityV1InstructionDataDecoder(): FixedSizeDecoder<RevokeCollectionPluginAuthorityV1InstructionData> {\n return getStructDecoder([\n [\"discriminator\", getU8Decoder()],\n [\n \"revokeCollectionPluginAuthorityV1Args\",\n getRevokeCollectionPluginAuthorityV1ArgsDecoder(),\n ],\n ]);\n}\n\nexport function getRevokeCollectionPluginAuthorityV1InstructionDataCodec(): FixedSizeCodec<\n RevokeCollectionPluginAuthorityV1InstructionDataArgs,\n RevokeCollectionPluginAuthorityV1InstructionData\n> {\n return combineCodec(\n getRevokeCollectionPluginAuthorityV1InstructionDataEncoder(),\n getRevokeCollectionPluginAuthorityV1InstructionDataDecoder(),\n );\n}\n\nexport interface RevokeCollectionPluginAuthorityV1Input<\n TAccountCollection extends string = string,\n TAccountPayer extends string = string,\n TAccountAuthority extends string = string,\n TAccountSystemProgram extends string = string,\n TAccountLogWrapper extends string = string,\n> {\n /** The address of the asset */\n collection: Address<TAccountCollection>;\n /** The account paying for the storage fees */\n payer: TransactionSigner<TAccountPayer>;\n /** The owner or delegate of the asset */\n authority?: TransactionSigner<TAccountAuthority>;\n /** The system program */\n systemProgram?: Address<TAccountSystemProgram>;\n /** The SPL Noop Program */\n logWrapper?: Address<TAccountLogWrapper>;\n revokeCollectionPluginAuthorityV1Args: RevokeCollectionPluginAuthorityV1InstructionDataArgs[\"revokeCollectionPluginAuthorityV1Args\"];\n}\n\nexport function getRevokeCollectionPluginAuthorityV1Instruction<\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: RevokeCollectionPluginAuthorityV1Input<\n TAccountCollection,\n TAccountPayer,\n TAccountAuthority,\n TAccountSystemProgram,\n TAccountLogWrapper\n >,\n config?: { programAddress?: TProgramAddress },\n): RevokeCollectionPluginAuthorityV1Instruction<\n TProgramAddress,\n TAccountCollection,\n TAccountPayer,\n TAccountAuthority,\n TAccountSystemProgram,\n TAccountLogWrapper\n> {\n // Program address.\n const programAddress =\n config?.programAddress ?? MPL_CORE_PROGRAM_PROGRAM_ADDRESS;\n\n // Original accounts.\n const originalAccounts = {\n collection: { value: input.collection ?? null, isWritable: true },\n payer: { value: input.payer ?? null, isWritable: true },\n authority: { value: input.authority ?? null, isWritable: false },\n systemProgram: { value: input.systemProgram ?? null, isWritable: false },\n logWrapper: { value: input.logWrapper ?? null, isWritable: false },\n };\n const accounts = originalAccounts as Record<\n keyof typeof originalAccounts,\n ResolvedInstructionAccount\n >;\n\n // Original args.\n const args = { ...input };\n\n // Resolve default values.\n if (!accounts.systemProgram.value) {\n accounts.systemProgram.value =\n \"11111111111111111111111111111111\" as Address<\"11111111111111111111111111111111\">;\n }\n\n const getAccountMeta = getAccountMetaFactory(programAddress, \"programId\");\n return Object.freeze({\n accounts: [\n getAccountMeta(\"collection\", accounts.collection),\n getAccountMeta(\"payer\", accounts.payer),\n getAccountMeta(\"authority\", accounts.authority),\n getAccountMeta(\"systemProgram\", accounts.systemProgram),\n getAccountMeta(\"logWrapper\", accounts.logWrapper),\n ],\n data: getRevokeCollectionPluginAuthorityV1InstructionDataEncoder().encode(\n args as RevokeCollectionPluginAuthorityV1InstructionDataArgs,\n ),\n programAddress,\n } as RevokeCollectionPluginAuthorityV1Instruction<\n TProgramAddress,\n TAccountCollection,\n TAccountPayer,\n TAccountAuthority,\n TAccountSystemProgram,\n TAccountLogWrapper\n >);\n}\n\nexport interface ParsedRevokeCollectionPluginAuthorityV1Instruction<\n TProgram extends string = typeof MPL_CORE_PROGRAM_PROGRAM_ADDRESS,\n TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[],\n> {\n programAddress: Address<TProgram>;\n accounts: {\n /** The address of the asset */\n collection: TAccountMetas[0];\n /** The account paying for the storage fees */\n payer: TAccountMetas[1];\n /** The owner or delegate of the asset */\n authority?: TAccountMetas[2] | undefined;\n /** The system program */\n systemProgram: TAccountMetas[3];\n /** The SPL Noop Program */\n logWrapper?: TAccountMetas[4] | undefined;\n };\n data: RevokeCollectionPluginAuthorityV1InstructionData;\n}\n\nexport function parseRevokeCollectionPluginAuthorityV1Instruction<\n TProgram extends string,\n TAccountMetas extends readonly AccountMeta[],\n>(\n instruction: Instruction<TProgram> &\n InstructionWithAccounts<TAccountMetas> &\n InstructionWithData<ReadonlyUint8Array>,\n): ParsedRevokeCollectionPluginAuthorityV1Instruction<TProgram, TAccountMetas> {\n if (instruction.accounts.length < 5) {\n throw new SolanaError(\n SOLANA_ERROR__PROGRAM_CLIENTS__INSUFFICIENT_ACCOUNT_METAS,\n {\n actualAccountMetas: instruction.accounts.length,\n expectedAccountMetas: 5,\n },\n );\n }\n let accountIndex = 0;\n const getNextAccount = () => {\n const accountMeta = (instruction.accounts as TAccountMetas)[accountIndex]!;\n accountIndex += 1;\n return accountMeta;\n };\n const getNextOptionalAccount = () => {\n const accountMeta = getNextAccount();\n return accountMeta.address === MPL_CORE_PROGRAM_PROGRAM_ADDRESS\n ? undefined\n : accountMeta;\n };\n return {\n programAddress: instruction.programAddress,\n accounts: {\n collection: getNextAccount(),\n payer: getNextAccount(),\n authority: getNextOptionalAccount(),\n systemProgram: getNextAccount(),\n logWrapper: getNextOptionalAccount(),\n },\n data: getRevokeCollectionPluginAuthorityV1InstructionDataDecoder().decode(\n instruction.data,\n ),\n };\n}\n"],"mappings":";;;;;AA+CA,MAAa,sDAAsD;AAEnE,SAAgB,yDAA6E;CAC3F,OAAO,aAAa,CAAC,CAAC,OAAA,EAEtB;AACF;AA8CA,SAAgB,6DAAqI;CACnJ,OAAO,iBACL,iBAAiB,CACf,CAAC,iBAAiB,aAAa,CAAC,GAChC,CACE,yCACA,gDAAgD,CAClD,CACF,CAAC,IACA,WAAW;EACV,GAAG;EACH,eAAA;CACF,EACF;AACF;AAEA,SAAgB,6DAAiI;CAC/I,OAAO,iBAAiB,CACtB,CAAC,iBAAiB,aAAa,CAAC,GAChC,CACE,yCACA,gDAAgD,CAClD,CACF,CAAC;AACH;AAEA,SAAgB,2DAGd;CACA,OAAO,aACL,2DAA2D,GAC3D,2DAA2D,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AY,uBAAuB;EACrC;EACA,MAAM,2DAA2D,CAAC,CAAC,OACjE,YAAY,IACd;CACF;AACF"}
|
|
@@ -1,69 +1,52 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
export declare function getRevokePluginAuthorityV1DiscriminatorBytes(): ReadonlyUint8Array;
|
|
13
|
-
export type RevokePluginAuthorityV1Instruction<TProgram extends string = typeof MPL_CORE_PROGRAM_PROGRAM_ADDRESS, TAccountAsset extends string | AccountMeta = string, TAccountCollection extends string | AccountMeta = string, TAccountPayer extends string | AccountMeta = string, TAccountAuthority extends string | AccountMeta = string, TAccountSystemProgram extends string | AccountMeta = "11111111111111111111111111111111", TAccountLogWrapper extends string | AccountMeta = string, TRemainingAccounts extends readonly AccountMeta[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
|
|
14
|
-
TAccountAsset extends string ? WritableAccount<TAccountAsset> : TAccountAsset,
|
|
15
|
-
TAccountCollection extends string ? WritableAccount<TAccountCollection> : TAccountCollection,
|
|
16
|
-
TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
|
|
17
|
-
TAccountAuthority extends string ? ReadonlySignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority,
|
|
18
|
-
TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
|
|
19
|
-
TAccountLogWrapper extends string ? ReadonlyAccount<TAccountLogWrapper> : TAccountLogWrapper,
|
|
20
|
-
...TRemainingAccounts
|
|
21
|
-
]>;
|
|
22
|
-
export interface RevokePluginAuthorityV1InstructionData {
|
|
23
|
-
discriminator: number;
|
|
24
|
-
revokePluginAuthorityV1Args: RevokePluginAuthorityV1Args;
|
|
1
|
+
import { RevokePluginAuthorityV1Args, RevokePluginAuthorityV1ArgsArgs } from "../types/revokePluginAuthorityV1Args.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/revokePluginAuthorityV1.d.ts
|
|
6
|
+
declare const REVOKE_PLUGIN_AUTHORITY_V1_DISCRIMINATOR = 10;
|
|
7
|
+
declare function getRevokePluginAuthorityV1DiscriminatorBytes(): ReadonlyUint8Array;
|
|
8
|
+
type RevokePluginAuthorityV1Instruction<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 RevokePluginAuthorityV1InstructionData {
|
|
10
|
+
discriminator: number;
|
|
11
|
+
revokePluginAuthorityV1Args: RevokePluginAuthorityV1Args;
|
|
25
12
|
}
|
|
26
|
-
|
|
27
|
-
|
|
13
|
+
interface RevokePluginAuthorityV1InstructionDataArgs {
|
|
14
|
+
revokePluginAuthorityV1Args: RevokePluginAuthorityV1ArgsArgs;
|
|
28
15
|
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
16
|
+
declare function getRevokePluginAuthorityV1InstructionDataEncoder(): FixedSizeEncoder<RevokePluginAuthorityV1InstructionDataArgs>;
|
|
17
|
+
declare function getRevokePluginAuthorityV1InstructionDataDecoder(): FixedSizeDecoder<RevokePluginAuthorityV1InstructionData>;
|
|
18
|
+
declare function getRevokePluginAuthorityV1InstructionDataCodec(): FixedSizeCodec<RevokePluginAuthorityV1InstructionDataArgs, RevokePluginAuthorityV1InstructionData>;
|
|
19
|
+
interface RevokePluginAuthorityV1Input<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
|
+
revokePluginAuthorityV1Args: RevokePluginAuthorityV1InstructionDataArgs["revokePluginAuthorityV1Args"];
|
|
46
33
|
}
|
|
47
|
-
|
|
48
|
-
|
|
34
|
+
declare function getRevokePluginAuthorityV1Instruction<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: RevokePluginAuthorityV1Input<TAccountAsset, TAccountCollection, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountLogWrapper>, config?: {
|
|
35
|
+
programAddress?: TProgramAddress;
|
|
49
36
|
}): RevokePluginAuthorityV1Instruction<TProgramAddress, TAccountAsset, TAccountCollection, TAccountPayer, TAccountAuthority, TAccountSystemProgram, TAccountLogWrapper>;
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
/** The system program */
|
|
62
|
-
systemProgram: TAccountMetas[4];
|
|
63
|
-
/** The SPL Noop Program */
|
|
64
|
-
logWrapper?: TAccountMetas[5] | undefined;
|
|
65
|
-
};
|
|
66
|
-
data: RevokePluginAuthorityV1InstructionData;
|
|
37
|
+
interface ParsedRevokePluginAuthorityV1Instruction<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: RevokePluginAuthorityV1InstructionData;
|
|
67
48
|
}
|
|
68
|
-
|
|
49
|
+
declare function parseRevokePluginAuthorityV1Instruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedRevokePluginAuthorityV1Instruction<TProgram, TAccountMetas>;
|
|
50
|
+
//#endregion
|
|
51
|
+
export { ParsedRevokePluginAuthorityV1Instruction, REVOKE_PLUGIN_AUTHORITY_V1_DISCRIMINATOR, RevokePluginAuthorityV1Input, RevokePluginAuthorityV1Instruction, RevokePluginAuthorityV1InstructionData, RevokePluginAuthorityV1InstructionDataArgs, getRevokePluginAuthorityV1DiscriminatorBytes, getRevokePluginAuthorityV1Instruction, getRevokePluginAuthorityV1InstructionDataCodec, getRevokePluginAuthorityV1InstructionDataDecoder, getRevokePluginAuthorityV1InstructionDataEncoder, parseRevokePluginAuthorityV1Instruction };
|
|
69
52
|
//# sourceMappingURL=revokePluginAuthorityV1.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"revokePluginAuthorityV1.d.ts","
|
|
1
|
+
{"version":3,"file":"revokePluginAuthorityV1.d.ts","names":[],"sources":["../../../src/generated/instructions/revokePluginAuthorityV1.ts"],"mappings":";;;;;cA+Ca,wCAAA;AAAA,iBAEG,4CAAA,IAAgD,kBAAA;AAAA,KAIpD,kCAAA,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,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CAAA,kCACkB,gCAAA,iCACF,WAAA,cAAyB,WAAA;EAExD,cAAA,EAAgB,OAAA,CAAQ,QAAA;EACxB,QAAA;IArL+B,+BAuL7B,KAAA,EAAO,aAAA,KAtL0B;IAwLjC,UAAA,GAAa,aAAA,iBArLX;IAuLF,KAAA,EAAO,aAAA,KAtL2B;IAwLlC,SAAA,GAAY,aAAA,iBAvLsB;IAyLlC,aAAA,EAAe,aAAA,KAxLH;IA0LZ,UAAA,GAAa,aAAA;EAAA;EAEf,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"}
|
|
@@ -1,100 +1,97 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* to add features, then rerun Codama to update it.
|
|
5
|
-
*
|
|
6
|
-
* @see https://github.com/codama-idl/codama
|
|
7
|
-
*/
|
|
8
|
-
import { combineCodec, getStructDecoder, getStructEncoder, getU8Decoder, getU8Encoder, SOLANA_ERROR__PROGRAM_CLIENTS__INSUFFICIENT_ACCOUNT_METAS, SolanaError, transformEncoder, } from "@solana/kit";
|
|
1
|
+
import { getRevokePluginAuthorityV1ArgsDecoder, getRevokePluginAuthorityV1ArgsEncoder } from "../types/revokePluginAuthorityV1Args.js";
|
|
2
|
+
import "../programs/mplCoreProgram.js";
|
|
3
|
+
import { SOLANA_ERROR__PROGRAM_CLIENTS__INSUFFICIENT_ACCOUNT_METAS, SolanaError, combineCodec, getStructDecoder, getStructEncoder, getU8Decoder, getU8Encoder, transformEncoder } from "@solana/kit";
|
|
9
4
|
import { getAccountMetaFactory } from "@solana/program-client-core";
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
return getU8Encoder().encode(REVOKE_PLUGIN_AUTHORITY_V1_DISCRIMINATOR);
|
|
5
|
+
//#region src/generated/instructions/revokePluginAuthorityV1.ts
|
|
6
|
+
const REVOKE_PLUGIN_AUTHORITY_V1_DISCRIMINATOR = 10;
|
|
7
|
+
function getRevokePluginAuthorityV1DiscriminatorBytes() {
|
|
8
|
+
return getU8Encoder().encode(10);
|
|
15
9
|
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
...value,
|
|
22
|
-
discriminator: REVOKE_PLUGIN_AUTHORITY_V1_DISCRIMINATOR,
|
|
23
|
-
}));
|
|
10
|
+
function getRevokePluginAuthorityV1InstructionDataEncoder() {
|
|
11
|
+
return transformEncoder(getStructEncoder([["discriminator", getU8Encoder()], ["revokePluginAuthorityV1Args", getRevokePluginAuthorityV1ArgsEncoder()]]), (value) => ({
|
|
12
|
+
...value,
|
|
13
|
+
discriminator: 10
|
|
14
|
+
}));
|
|
24
15
|
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
["discriminator", getU8Decoder()],
|
|
28
|
-
["revokePluginAuthorityV1Args", getRevokePluginAuthorityV1ArgsDecoder()],
|
|
29
|
-
]);
|
|
16
|
+
function getRevokePluginAuthorityV1InstructionDataDecoder() {
|
|
17
|
+
return getStructDecoder([["discriminator", getU8Decoder()], ["revokePluginAuthorityV1Args", getRevokePluginAuthorityV1ArgsDecoder()]]);
|
|
30
18
|
}
|
|
31
|
-
|
|
32
|
-
|
|
19
|
+
function getRevokePluginAuthorityV1InstructionDataCodec() {
|
|
20
|
+
return combineCodec(getRevokePluginAuthorityV1InstructionDataEncoder(), getRevokePluginAuthorityV1InstructionDataDecoder());
|
|
33
21
|
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
22
|
+
function getRevokePluginAuthorityV1Instruction(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: getRevokePluginAuthorityV1InstructionDataEncoder().encode(args),
|
|
63
|
+
programAddress
|
|
64
|
+
});
|
|
67
65
|
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
logWrapper: getNextOptionalAccount(),
|
|
96
|
-
},
|
|
97
|
-
data: getRevokePluginAuthorityV1InstructionDataDecoder().decode(instruction.data),
|
|
98
|
-
};
|
|
66
|
+
function parseRevokePluginAuthorityV1Instruction(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: getRevokePluginAuthorityV1InstructionDataDecoder().decode(instruction.data)
|
|
92
|
+
};
|
|
99
93
|
}
|
|
94
|
+
//#endregion
|
|
95
|
+
export { REVOKE_PLUGIN_AUTHORITY_V1_DISCRIMINATOR, getRevokePluginAuthorityV1DiscriminatorBytes, getRevokePluginAuthorityV1Instruction, getRevokePluginAuthorityV1InstructionDataCodec, getRevokePluginAuthorityV1InstructionDataDecoder, getRevokePluginAuthorityV1InstructionDataEncoder, parseRevokePluginAuthorityV1Instruction };
|
|
96
|
+
|
|
100
97
|
//# sourceMappingURL=revokePluginAuthorityV1.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"revokePluginAuthorityV1.js","sourceRoot":"","sources":["../../../src/generated/instructions/revokePluginAuthorityV1.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAwBH,OAAO,EACL,YAAY,EACZ,gBAAgB,EAChB,gBAAgB,EAChB,YAAY,EACZ,YAAY,EACZ,yDAAyD,EACzD,WAAW,EACX,gBAAgB,GACjB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,gCAAgC,EAAE,MAAM,sBAAsB,CAAC;AACxE,OAAO,EACL,qCAAqC,EACrC,qCAAqC,GACtC,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,wCAAwC,GAAG,EAAE,CAAC;AAE3D,MAAM,UAAU,4CAA4C;IAC1D,OAAO,YAAY,EAAE,CAAC,MAAM,CAAC,wCAAwC,CAAC,CAAC;AACzE,CAAC;AAkDD,MAAM,UAAU,gDAAgD;IAC9D,OAAO,gBAAgB,CACrB,gBAAgB,CAAC;QACf,CAA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AE,CAAC;QAC3E,YAAY,IAAI,CAAC,CAAC;QAClB,OAAO,WAAW,CAAC;IACrB,CAAC,CAAC;IACF,MAAM,sBAAsB,GAAG,GAAG,EAAE;QAClC,MAAM,WAAW,GAAG,cAAc,EAAE,CAAC;QACrC,OAAO,WAAW,CAAC,OAAO,KAAK,gCAAgC;YAC7D,CAAC,CAAC,SAAS;YACX,CAAC,CAAC,WAAW,CAAC;IAClB,CAAC,CAAC;IACF,OAAO;QACL,cAAc,EAAE,WAAW,CAAC,cAAc;QAC1C,QAAQ,EAAE;YACR,KAAK,EAAE,cAAc,EAAE;YACvB,UAAU,EAAE,sBAAsB,EAAE;YACpC,KAAK,EAAE,cAAc,EAAE;YACvB,SAAS,EAAE,sBAAsB,EAAE;YACnC,aAAa,EAAE,cAAc,EAAE;YAC/B,UAAU,EAAE,sBAAsB,EAAE;SACrC;QACD,IAAI,EAAE,gDAAgD,EAAE,CAAC,MAAM,CAC7D,WAAW,CAAC,IAAI,CACjB;KACF,CAAC;AACJ,CAAC","sourcesContent":["/**\n * This code was AUTOGENERATED using the Codama library.\n * Please DO NOT EDIT THIS FILE, instead use visitors\n * to add features, then rerun Codama to update it.\n *\n * @see https://github.com/codama-idl/codama\n */\n\nimport type {\n 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 RevokePluginAuthorityV1Args,\n RevokePluginAuthorityV1ArgsArgs,\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 getRevokePluginAuthorityV1ArgsDecoder,\n getRevokePluginAuthorityV1ArgsEncoder,\n} from \"../types/index.js\";\n\nexport const REVOKE_PLUGIN_AUTHORITY_V1_DISCRIMINATOR = 10;\n\nexport function getRevokePluginAuthorityV1DiscriminatorBytes(): ReadonlyUint8Array {\n return getU8Encoder().encode(REVOKE_PLUGIN_AUTHORITY_V1_DISCRIMINATOR);\n}\n\nexport type RevokePluginAuthorityV1Instruction<\n TProgram extends string = typeof MPL_CORE_PROGRAM_PROGRAM_ADDRESS,\n TAccountAsset extends string | AccountMeta = string,\n TAccountCollection extends string | AccountMeta = string,\n TAccountPayer extends string | AccountMeta = string,\n TAccountAuthority extends string | AccountMeta = string,\n TAccountSystemProgram extends\n | string\n | AccountMeta = \"11111111111111111111111111111111\",\n TAccountLogWrapper extends string | AccountMeta = string,\n TRemainingAccounts extends readonly AccountMeta[] = [],\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 RevokePluginAuthorityV1InstructionData {\n discriminator: number;\n revokePluginAuthorityV1Args: RevokePluginAuthorityV1Args;\n}\n\nexport interface RevokePluginAuthorityV1InstructionDataArgs {\n revokePluginAuthorityV1Args: RevokePluginAuthorityV1ArgsArgs;\n}\n\nexport function getRevokePluginAuthorityV1InstructionDataEncoder(): FixedSizeEncoder<RevokePluginAuthorityV1InstructionDataArgs> {\n return transformEncoder(\n getStructEncoder([\n [\"discriminator\", getU8Encoder()],\n [\"revokePluginAuthorityV1Args\", getRevokePluginAuthorityV1ArgsEncoder()],\n ]),\n (value) => ({\n ...value,\n discriminator: REVOKE_PLUGIN_AUTHORITY_V1_DISCRIMINATOR,\n }),\n );\n}\n\nexport function getRevokePluginAuthorityV1InstructionDataDecoder(): FixedSizeDecoder<RevokePluginAuthorityV1InstructionData> {\n return getStructDecoder([\n [\"discriminator\", getU8Decoder()],\n [\"revokePluginAuthorityV1Args\", getRevokePluginAuthorityV1ArgsDecoder()],\n ]);\n}\n\nexport function getRevokePluginAuthorityV1InstructionDataCodec(): FixedSizeCodec<\n RevokePluginAuthorityV1InstructionDataArgs,\n RevokePluginAuthorityV1InstructionData\n> {\n return combineCodec(\n getRevokePluginAuthorityV1InstructionDataEncoder(),\n getRevokePluginAuthorityV1InstructionDataDecoder(),\n );\n}\n\nexport interface RevokePluginAuthorityV1Input<\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 revokePluginAuthorityV1Args: RevokePluginAuthorityV1InstructionDataArgs[\"revokePluginAuthorityV1Args\"];\n}\n\nexport function getRevokePluginAuthorityV1Instruction<\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: RevokePluginAuthorityV1Input<\n TAccountAsset,\n TAccountCollection,\n TAccountPayer,\n TAccountAuthority,\n TAccountSystemProgram,\n TAccountLogWrapper\n >,\n config?: { programAddress?: TProgramAddress },\n): RevokePluginAuthorityV1Instruction<\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: getRevokePluginAuthorityV1InstructionDataEncoder().encode(\n args as RevokePluginAuthorityV1InstructionDataArgs,\n ),\n programAddress,\n } as RevokePluginAuthorityV1Instruction<\n TProgramAddress,\n TAccountAsset,\n TAccountCollection,\n TAccountPayer,\n TAccountAuthority,\n TAccountSystemProgram,\n TAccountLogWrapper\n >);\n}\n\nexport interface ParsedRevokePluginAuthorityV1Instruction<\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: RevokePluginAuthorityV1InstructionData;\n}\n\nexport function parseRevokePluginAuthorityV1Instruction<\n TProgram extends string,\n TAccountMetas extends readonly AccountMeta[],\n>(\n instruction: Instruction<TProgram> &\n InstructionWithAccounts<TAccountMetas> &\n InstructionWithData<ReadonlyUint8Array>,\n): ParsedRevokePluginAuthorityV1Instruction<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: getRevokePluginAuthorityV1InstructionDataDecoder().decode(\n instruction.data,\n ),\n };\n}\n"]}
|
|
1
|
+
{"version":3,"file":"revokePluginAuthorityV1.js","names":[],"sources":["../../../src/generated/instructions/revokePluginAuthorityV1.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 RevokePluginAuthorityV1Args,\n RevokePluginAuthorityV1ArgsArgs,\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 getRevokePluginAuthorityV1ArgsDecoder,\n getRevokePluginAuthorityV1ArgsEncoder,\n} from \"../types/index.js\";\n\nexport const REVOKE_PLUGIN_AUTHORITY_V1_DISCRIMINATOR = 10;\n\nexport function getRevokePluginAuthorityV1DiscriminatorBytes(): ReadonlyUint8Array {\n return getU8Encoder().encode(REVOKE_PLUGIN_AUTHORITY_V1_DISCRIMINATOR);\n}\n\nexport type RevokePluginAuthorityV1Instruction<\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 RevokePluginAuthorityV1InstructionData {\n discriminator: number;\n revokePluginAuthorityV1Args: RevokePluginAuthorityV1Args;\n}\n\nexport interface RevokePluginAuthorityV1InstructionDataArgs {\n revokePluginAuthorityV1Args: RevokePluginAuthorityV1ArgsArgs;\n}\n\nexport function getRevokePluginAuthorityV1InstructionDataEncoder(): FixedSizeEncoder<RevokePluginAuthorityV1InstructionDataArgs> {\n return transformEncoder(\n getStructEncoder([\n [\"discriminator\", getU8Encoder()],\n [\"revokePluginAuthorityV1Args\", getRevokePluginAuthorityV1ArgsEncoder()],\n ]),\n (value) => ({\n ...value,\n discriminator: REVOKE_PLUGIN_AUTHORITY_V1_DISCRIMINATOR,\n }),\n );\n}\n\nexport function getRevokePluginAuthorityV1InstructionDataDecoder(): FixedSizeDecoder<RevokePluginAuthorityV1InstructionData> {\n return getStructDecoder([\n [\"discriminator\", getU8Decoder()],\n [\"revokePluginAuthorityV1Args\", getRevokePluginAuthorityV1ArgsDecoder()],\n ]);\n}\n\nexport function getRevokePluginAuthorityV1InstructionDataCodec(): FixedSizeCodec<\n RevokePluginAuthorityV1InstructionDataArgs,\n RevokePluginAuthorityV1InstructionData\n> {\n return combineCodec(\n getRevokePluginAuthorityV1InstructionDataEncoder(),\n getRevokePluginAuthorityV1InstructionDataDecoder(),\n );\n}\n\nexport interface RevokePluginAuthorityV1Input<\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 revokePluginAuthorityV1Args: RevokePluginAuthorityV1InstructionDataArgs[\"revokePluginAuthorityV1Args\"];\n}\n\nexport function getRevokePluginAuthorityV1Instruction<\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: RevokePluginAuthorityV1Input<\n TAccountAsset,\n TAccountCollection,\n TAccountPayer,\n TAccountAuthority,\n TAccountSystemProgram,\n TAccountLogWrapper\n >,\n config?: { programAddress?: TProgramAddress },\n): RevokePluginAuthorityV1Instruction<\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: getRevokePluginAuthorityV1InstructionDataEncoder().encode(\n args as RevokePluginAuthorityV1InstructionDataArgs,\n ),\n programAddress,\n } as RevokePluginAuthorityV1Instruction<\n TProgramAddress,\n TAccountAsset,\n TAccountCollection,\n TAccountPayer,\n TAccountAuthority,\n TAccountSystemProgram,\n TAccountLogWrapper\n >);\n}\n\nexport interface ParsedRevokePluginAuthorityV1Instruction<\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: RevokePluginAuthorityV1InstructionData;\n}\n\nexport function parseRevokePluginAuthorityV1Instruction<\n TProgram extends string,\n TAccountMetas extends readonly AccountMeta[],\n>(\n instruction: Instruction<TProgram> &\n InstructionWithAccounts<TAccountMetas> &\n InstructionWithData<ReadonlyUint8Array>,\n): ParsedRevokePluginAuthorityV1Instruction<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: getRevokePluginAuthorityV1InstructionDataDecoder().decode(\n instruction.data,\n ),\n };\n}\n"],"mappings":";;;;;AA+CA,MAAa,2CAA2C;AAExD,SAAgB,+CAAmE;CACjF,OAAO,aAAa,CAAC,CAAC,OAAA,EAA+C;AACvE;AAkDA,SAAgB,mDAAiH;CAC/H,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,mDAA6G;CAC3H,OAA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