[][src]Crate spl_feature_proposal

Feature Proposal program

Re-exports

pub use solana_program;

Modules

borsh_utils

Borsh utils

instruction

Program instructions

processor

Program state processor

state

Program state

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

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