[−][src]Crate spl_token
An ERC20-like Token program for the Solana blockchain
Re-exports
pub use solana_sdk; |
Modules
error | Error types |
instruction | Instruction types |
native_mint | The Mint that represents the native token |
option | A C representation of Rust's |
pack | State transition types |
state | State transition types |
Statics
ID | The static program ID |
Functions
amount_to_ui_amount | Convert a raw amount to its UI representation (using the decimals field defined in its mint) |
check_id | Confirms that a given pubkey is equivalent to the program ID |
id | Returns the program ID |
ui_amount_to_amount | Convert the UI representation of a token amount (using the decimals field defined in its mint) to the raw amount |