Docs.rs
  • port-anchor-adaptor-0.3.4
    • port-anchor-adaptor 0.3.4
    • Permalink
    • Docs.rs crate page
    • Apache-2.0
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • denghz
    • Dependencies
      • anchor-lang ^0.23.0 normal
      • num-derive ^0.3.3 normal
      • num-traits ^0.2.14 normal
      • port-staking-instructions ^0.2.0 normal
      • port-variable-rate-lending-instructions ^0.2.9 normal
      • solana-maths ^0.1.0 normal
      • thiserror ^1.0.30 normal
    • Versions
    • 0.59% 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 port_anchor_adaptor

logo
Change settings

List of all items

Structs

  • Borrow
  • ClaimReward
  • CreateStakeAccount
  • CreateStakingPoolContext
  • Deposit
  • DepositAndCollateralize
  • InitObligation
  • PortLendingMarket
  • PortObligation
  • PortReserve
  • PortStake
  • PortStakeAccount
  • PortStakingPool
  • PortUnstake
  • Redeem
  • RefreshObligation
  • RefreshReserve
  • Repay
  • Withdraw

Enums

  • error::PortAdaptorError

Functions

  • borrow
  • claim_reward
  • create_port_staking_pool
  • create_stake_account
  • deposit_and_collateralize
  • deposit_reserve
  • init_obligation
  • port_accessor::exchange_rate
  • port_accessor::is_obligation_stale
  • port_accessor::is_reserve_stale
  • port_accessor::obligation_borrow_amount_wads
  • port_accessor::obligation_borrows_count
  • port_accessor::obligation_deposit_amount
  • port_accessor::obligation_deposits_count
  • port_accessor::obligation_liquidity
  • port_accessor::reserve_available_liquidity
  • port_accessor::reserve_borrow_fee
  • port_accessor::reserve_borrowed_amount
  • port_accessor::reserve_liquidity_mint_pubkey
  • port_accessor::reserve_lp_mint_pubkey
  • port_accessor::reserve_ltv
  • port_accessor::reserve_market_price
  • port_accessor::reserve_mint_total
  • port_accessor::reserve_oracle_pubkey
  • port_accessor::reserve_total_liquidity
  • port_lending_id
  • port_stake
  • port_staking_id
  • port_unstake
  • redeem
  • refresh_port_obligation
  • refresh_port_reserve
  • repay
  • withdraw