Crate mpl_core

Source

Modules§

accounts
This code was AUTOGENERATED using the kinobi library. Please DO NOT EDIT THIS FILE, instead use visitors to add features, then rerun kinobi to update it.
advanced_types
asset
collection
errors
This code was AUTOGENERATED using the kinobi library. Please DO NOT EDIT THIS FILE, instead use visitors to add features, then rerun kinobi to update it.
instructions
This code was AUTOGENERATED using the kinobi library. Please DO NOT EDIT THIS FILE, instead use visitors to add features, then rerun kinobi to update it.
plugin
programs
This code was AUTOGENERATED using the kinobi library. Please DO NOT EDIT THIS FILE, instead use visitors to add features, then rerun kinobi to update it.
types
This code was AUTOGENERATED using the kinobi library. Please DO NOT EDIT THIS FILE, instead use visitors to add features, then rerun kinobi to update it.

Structs§

AddBlockerPlugin
AppDataWithData
Asset
AttributesPlugin
AutographPlugin
BaseAuthority
BasePlugin
BurnDelegatePlugin
Collection
DataSectionWithData
EditionPlugin
ExternalCheckResultBits
Bitfield representation of lifecycle permissions for external plugin adapter, third party plugins.
ExternalPluginAdaptersList
ExternalRegistryRecordSafe
ExternalPluginAdapter Registry record that can be used when the plugin type is not known (i.e. a ExternalPluginAdapterType that is too new for this client to know about).
FreezeDelegatePlugin
ImmutableMetadataPlugin
IndexableAsset
A type used to store both Core Assets and Core Collections for indexing.
IndexableExternalPluginSchemaV1
Schema used for indexing known external plugin types.
IndexablePluginSchemaV1
Schema used for indexing known plugin types.
IndexableUnknownExternalPluginSchemaV1
Schema used for indexing unknown external plugin types, storing the plugin as raw data.
IndexableUnknownPluginSchemaV1
Schema used for indexing unknown plugin types, storing the plugin as raw data.
LifecycleChecks
LifecycleHookWithData
MasterEditionPlugin
PermanentBurnDelegatePlugin
PermanentFreezeDelegatePlugin
PermanentTransferDelegatePlugin
PluginRegistryV1Safe
Plugin registry that an account can safely be deserialized into even if some plugins are not known. Note this skips over external plugin adapters for now, and will be updated when those are defined.
PluginsList
RegistryRecordSafe
Registry record that can be used when the plugin type is not known (i.e. a PluginType that is too new for this client to know about).
RoyaltiesPlugin
TransferDelegatePlugin
UpdateDelegatePlugin
VerifiedCreatorsPlugin

Enums§

AuthorityType
IndexableCheckResult

Constants§

ID
mpl_core program ID.

Traits§

DataBlob
A trait for generic blobs of data that have size.
SolanaAccount
A trait for Solana accounts.

Functions§

convert_external_plugin_adapter_data_to_string
Use ExternalPluginAdapterSchema to convert data to string. If schema is binary or there is an error, then use Base64 encoding.
fetch_asset_plugin
Fetch the plugin on an asset.
fetch_collection_plugin
Fetch the plugin on a collection.
fetch_external_plugin_adapter
Fetch the external plugin adapter from the registry.
fetch_external_plugin_adapter_data_info
Fetch the external plugin adapter data offset and length. These can be used to directly slice the account data for use of the external plugin adapter data.
fetch_plugin
Fetch the plugin from the registry.
fetch_plugins
Fetch the plugin registry, dropping any unknown plugins (i.e. PluginTypes that are too new for this client to know about).
fetch_wrapped_external_plugin_adapter
Fetch the external plugin adapter from the registry.
list_plugins
List all plugins in an account, dropping any unknown plugins (i.e. PluginTypes that are too new for this client to know about). Note this also does not support external plugin adapters for now, and will be updated when those are defined.
load_key
Load the one byte key from the account data at the given offset.