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
]
The
TokenRecord
struct represents the state of the token account holding a pNFT
. Given
that the token account is always frozen, it includes a state
that provides an abstraction
of frozen (locked) and thaw (unlocked).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.