Expand description
Feature Proposal program
Re-exports§
pub use solana_program;
Modules§
- borsh_
utils - Borsh utils
- instruction
- Program instructions
- processor
- Program state processor
- state
- Program state
Constants§
- ID
- The const 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 - Returns
true
if given pubkey is the program ID. - get_
acceptance_ token_ address - Derive the SPL Token token address associated with a feature proposal that users send their tokens to accept the proposal
- get_
distributor_ token_ address - Derive the SPL Token token address associated with a feature proposal that receives the initial minted tokens
- get_
feature_ id_ address - Derive the feature id address associated with the feature proposal
- get_
mint_ address - Derive the SPL Token mint address associated with a feature proposal
- 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