Docs.rs
  • jet-proto-v1-cpi-0.23.0
    • jet-proto-v1-cpi 0.23.0
    • Permalink
    • Docs.rs crate page
    • AGPL-3.0-or-later
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • suscd
    • github:jet-lab:devs
    • Dependencies
      • anchor-lang ^0.23.0 normal
      • borsh ^0.9 normal
      • jet-proto-math ^1 normal
      • jet-proto-proc-macros ^1 normal
      • static_assertions ^1 normal
      • thiserror ^1 normal
    • Versions
    • 11.78% of the crate is documented
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation
logo

logo

Crate jet_proto_v1_cpi

  • Version 0.23.0
  • All Items
  • Modules
  • Structs
  • Enums
  • Statics
  • Functions
logo
Change settings

Crate jet_proto_v1_cpi

source · [−]

Modules

accounts
instruction

Structs

Amount

Represent an amount of some value (like tokens, or notes)

DepositCollateralBumpSeeds
InitReserveBumpSeeds
ReserveConfig
WithdrawCollateralBumpSeeds

Enums

AmountUnits

Specifies the units of some amount of value

ErrorCode

Statics

ID

The static program ID

Functions

borrow
check_id

Confirms that a given pubkey is equivalent to the program ID

close_collateral_account
close_deposit_account
close_loan_account
close_obligation
deposit
deposit_collateral
deposit_tokens
id

Returns the program ID

init_collateral_account
init_deposit_account
init_loan_account
init_market
init_obligation
init_reserve
liquidate
refresh_reserve
repay
set_market_flags
set_market_owner
update_reserve_config
withdraw
withdraw_collateral
withdraw_tokens