Expand description
Feature Proposal program
Re-exports§
pub use gemachain_program;
Modules§
- 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 GPL Token token address associated with a feature proposal that users send their tokens to accept the proposal
- get_
distributor_ token_ address - Derive the GPL 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 GPL 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