List of all items
Structs
- helpers::info::ReserveInfo
- helpers::info::VaultInfo
- helpers::info::VaultReserve
- instructions::deposit::DepositAccounts
- instructions::invest::InvestAccounts
- instructions::redeem::RedeemInKindAccounts
- instructions::withdraw::WithdrawAccounts
- instructions::withdraw::WithdrawFromAvailableAccounts
- state::ArrayDiscriminator
- state::GlobalConfig
- state::PodU128
- state::ReserveWhitelistEntry
- state::VaultAllocation
- state::VaultRewardInfo
- state::VaultState
Enums
- discriminators::KvaultInstruction
- errors::KvaultError
- helpers::info::VaultInfoError
- state::AccountDataError
Traits
Derive Macros
Functions
- discriminators::compute_discriminator
- discriminators::identify_instruction
- discriminators::sha256_first8
- helpers::deposit::buy
- helpers::deposit::deposit
- helpers::invest::invest
- helpers::invest::invest_with_max_amount
- helpers::redeem::redeem_in_kind
- helpers::withdraw::sell
- helpers::withdraw::withdraw
- helpers::withdraw::withdraw_from_available
- instructions::deposit::buy
- instructions::deposit::deposit
- instructions::invest::invest
- instructions::invest::invest_with_max_amount
- instructions::redeem::redeem_in_kind
- instructions::withdraw::sell
- instructions::withdraw::withdraw
- instructions::withdraw::withdraw_from_available
- pda::base_vault_authority
- pda::ctoken_vault
- pda::event_authority
- pda::global_config
- pda::shares_mint
- pda::token_vault
- pda::whitelisted_reserve
- state::from_account_data
- util::optional_account
- util::readonly
- util::signer
- util::signer_writable
- util::writable
Type Aliases
Statics
- discriminators::BUY
- discriminators::DEPOSIT
- discriminators::INVEST
- discriminators::INVEST_WITH_MAX_AMOUNT
- discriminators::REDEEM_IN_KIND
- discriminators::SELL
- discriminators::WITHDRAW
- discriminators::WITHDRAW_FROM_AVAILABLE
Constants
- KLEND_PROGRAM_ID
- KVAULT_PROGRAM_ID
- KVAULT_STAGING_PROGRAM_ID
- MAX_RESERVES
- SYSTEM_PROGRAM_ID
- SYSVAR_INSTRUCTIONS_ID
- SYSVAR_RENT_ID
- TOKEN_PROGRAM_ID
- pda::BASE_VAULT_AUTHORITY_SEED
- pda::CTOKEN_VAULT_SEED
- pda::EVENT_AUTHORITY
- pda::GLOBAL_CONFIG_SEED
- pda::SHARES_SEED
- pda::TOKEN_VAULT_SEED
- pda::WHITELISTED_RESERVES_SEED
- state::DISCRIMINATOR_SIZE