Module mpl_token_metadata::state
source · Re-exports
pub use crate::pda::BURN;
pub use crate::pda::COLLECTION_AUTHORITY;
pub use crate::pda::EDITION;
pub use crate::pda::PREFIX;
pub use crate::pda::USER;
Structs
Data representation of an asset.
All Editions should never have a supply greater than 1.
To enforce this, a transfer mint authority instruction will happen when
a normal token is turned into an Edition, and in order for a Metadata update authority
to do this transaction they will also need to sign the transaction as the Mint authority.
SEEDS = [
“metadata”,
program id,
mint id,
delegate role,
update authority id,
delegate id
]
SEEDS = [
“metadata”,
program id,
mint id,
“token_record”,
token owner id
]
Enums
Represents the print supply of a non-fungible asset.
Configuration for programmable assets.
Programmable account state.
Constants
Index of the discriminator on the account data.