Struct add_decimals::InitEvent
source · [−]pub struct InitEvent {
pub payer: Pubkey,
pub decimals: u8,
pub multiplier: u64,
pub wrapper_underlying_mint: Pubkey,
pub wrapper_underlying_tokens: Pubkey,
pub wrapper_mint: Pubkey,
}Expand description
Called when a new token wrapper is initialized.
Fields
payer: PubkeyUser that paid to create the token.
decimals: u8Number of decimals of the wrapped token.
multiplier: u64Amount to multiply by to wrap the token. Cached here for performance reasons, but equivalent to 10 **decimals
wrapper_underlying_mint: PubkeyMint of the underlying token.
wrapper_underlying_tokens: PubkeyToken account holding the underlying token.
wrapper_mint: PubkeyMint of the token of this wrapper.