Crate nifty_asset

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.
constraints
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.
extensions
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.
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.
solana_program
state
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.

Macros§

allocate_and_write
Convenience macro to invoke Allocate and Write instructions.
allocate_instruction_data
Convenience macro to create the instruction data for the Allocate instruction.
allocate_update_data_length
Updates the length of the extension data in the Allocate instruction data.

Structs§

AssetArgs
Mint instruction asset sub-args.
AssetFile
A type suitable for JSON serde de/serialization.
DelegateRoles
ExtensionArgs
Mint instruction extension sub-args.
JsonAttribute
A type suitable for JSON serde de/serialization.
JsonBlob
A type suitable for JSON serde de/serialization.
JsonCreator
A type suitable for JSON serde de/serialization.
JsonExtension
A type suitable for JSON serde de/serialization.
JsonLink
A type suitable for JSON serde de/serialization.
JsonMetadata
A type suitable for JSON serde de/serialization.
JsonRoyalties
A type suitable for JSON serde de/serialization.
MintAccounts
Mint instruction accounts.
MintIxArgs
Mint instruction args.
NullablePublicKey

Enums§

ExtensionValue
A type suitable for JSON serde de/serialization.
MintError
Errors returned from the mint command.
RoyaltiesKind

Constants§

ALLOCATE_TX_OVERHEAD
ID
asset program ID.
MAX_ALLOCATE_DATA_SIZE
MAX_TX_SIZE
MAX_WRITE_DATA_SIZE
WRITE_TX_OVERHEAD

Traits§

ZeroCopy
Trait to represent types with zero-copy deserialization.

Functions§

mint
Returns a vector of instructions to fully mint an asset, including with extensions. The instructions are returned in the order they should be executed.

Type Aliases§

Asset