pub struct CreateCoinParams {
pub mint: Pubkey,
pub user: Pubkey,
pub creator: Pubkey,
pub name: String,
pub symbol: String,
pub uri: String,
pub mayhem_mode: bool,
pub cashback: bool,
pub fee_recipient: Pubkey,
pub buyback_fee_recipient: Pubkey,
pub token_amount: u64,
pub max_sol_cost: u64,
}Expand description
Inputs to PumpSdk::create_coin_instructions. Mint is the freshly
generated keypair pubkey; the caller signs the resulting tx with that
keypair plus the user.
Fields§
§mint: Pubkey§user: Pubkey§creator: Pubkey§name: String§symbol: String§uri: String§mayhem_mode: bool§cashback: bool§fee_recipient: Pubkey§buyback_fee_recipient: Pubkey§token_amount: u64§max_sol_cost: u64Trait Implementations§
Source§impl Clone for CreateCoinParams
impl Clone for CreateCoinParams
Source§fn clone(&self) -> CreateCoinParams
fn clone(&self) -> CreateCoinParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CreateCoinParams
impl RefUnwindSafe for CreateCoinParams
impl Send for CreateCoinParams
impl Sync for CreateCoinParams
impl Unpin for CreateCoinParams
impl UnsafeUnpin for CreateCoinParams
impl UnwindSafe for CreateCoinParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more