Docs.rs
light-token-interface-0.2.0
light-token-interface 0.2.0
Docs.rs crate page
MIT
Links
crates.io
Source
Owners
ananas-block
Dependencies
aligned-sized ^1.1.0
normal
anchor-lang ^0.31.1
normal
optional
borsh ^0.10.4
normal
bytemuck ^1.19.0
normal
light-array-map ^0.1.1
normal
light-compressed-account ^0.8.0
normal
light-compressible ^0.3.0
normal
light-hasher ^5.0.0
normal
light-heap ^2.0.0
normal
optional
light-macros ^2.2.0
normal
light-program-profiler ^0.1.0
normal
light-zero-copy ^0.6.0
normal
pinocchio ^0.9
normal
pinocchio-pubkey ^0.3.0
normal
solana-account-info ^2.2
normal
solana-msg ^2.2
normal
optional
solana-program-error ^2.2
normal
optional
solana-pubkey ^2.4.0
normal
solana-sysvar ^2.2
normal
optional
spl-pod ^0.5.1
normal
spl-token-2022 ^7.0.0
normal
thiserror ^2.0
normal
tinyvec ^1.10.0
normal
zerocopy ^0.8.25
normal
light-account-checks ^0.6.0
dev
light-compressed-account ^0.8.0
dev
light-hasher ^5.0.0
dev
num-bigint ^0.4.6
dev
rand ^0.8.5
dev
spl-token-metadata-interface ^0.6.0
dev
Versions
18.17%
of the crate is documented
Platform
i686-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Module token_2022_extensions
light_
token_
interface
0.2.0
Module token_
2022_
extensions
Module Items
Structs
Constants
Functions
In crate light_
token_
interface
light_token_interface
Module
token_
2022_
extensions
Copy item path
Source
Structs
§
Mint
Extension
Flags
Flags for mint extensions that affect Token account initialization and transfers
Constants
§
ALLOWED_
EXTENSION_
TYPES
Allowed mint extension types for Token accounts. Extensions not in this list will cause account creation to fail.
RESTRICTED_
EXTENSION_
TYPES
Restricted extension types that require compression_only mode. These extensions have special behaviors (pausable, permanent delegate, fees, hooks, default frozen state) that are incompatible with standard compressed token transfers.
Functions
§
is_
restricted_
extension
Check if an extension type is a restricted extension.