Skip to main content

CreateKaminoUserAccounts

Struct CreateKaminoUserAccounts 

Source
pub struct CreateKaminoUserAccounts {
Show 25 fields pub main: Pubkey, pub controller: Pubkey, pub admin: Pubkey, pub admin_permissions: Pubkey, pub instruction_sysvar_account: Pubkey, pub rent: Pubkey, pub system_program: Pubkey, pub user_metadata: Pubkey, pub obligation: Pubkey, pub lending_market: Pubkey, pub lending_market_authority: Pubkey, pub reserve: Pubkey, pub obligation_farm_state: Pubkey, pub reserve_farm_state: Pubkey, pub klend_program: Pubkey, pub farms_program: Pubkey, pub earn_mint: Pubkey, pub controller_token_account: Pubkey, pub user_usdc_account: Pubkey, pub reserve_collateral: Pubkey, pub scope_oracle: Pubkey, pub token_program: Pubkey, pub reserve_liquidity_supply: Pubkey, pub reserve_collateral_mint: Pubkey, pub reserve_destination_deposit_collateral: Pubkey,
}
Expand description

Accounts.

Fields§

§main: Pubkey§controller: Pubkey§admin: Pubkey§admin_permissions: Pubkey§instruction_sysvar_account: Pubkey§rent: Pubkey§system_program: Pubkey§user_metadata: Pubkey

Kamino-specific accounts

§obligation: Pubkey§lending_market: Pubkey§lending_market_authority: Pubkey§reserve: Pubkey§obligation_farm_state: Pubkey§reserve_farm_state: Pubkey§klend_program: Pubkey§farms_program: Pubkey§earn_mint: Pubkey

Performs the check against what is in the strategy.

§controller_token_account: Pubkey§user_usdc_account: Pubkey§reserve_collateral: Pubkey§scope_oracle: Pubkey§token_program: Pubkey§reserve_liquidity_supply: Pubkey§reserve_collateral_mint: Pubkey§reserve_destination_deposit_collateral: Pubkey

Implementations§

Trait Implementations§

Source§

impl Debug for CreateKaminoUserAccounts

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.