Larix
  • Who is Larix
  • Community
  • Roadmap
  • Product Update
  • Monthly Report
    • Larix Monthly Report [Oct]2021
    • Larix Monthly Report [Nov]2021
    • Larix Monthly Report [Dec]2021
    • Larix Monthly Report [Jan ]2022
    • Larix Monthly Report [Feb] 2022
    • Larix Monthly Report [Mar] 2022
    • Larix Monthly Report [April] 2022
    • Larix Monthly Report [May] 2022
  • FAQ
    • General FAQ
    • Raydium LPs FAQ
    • Error Explanation
    • Trouble shooting
    • Liquidation
  • PROTOCOL
    • Mainnet
      • Main Pool
        • Addresses
      • Lending Launchpad
        • Bonfida Pool
        • xSOL Pool
        • LARIX Pool
        • Step Pool
        • Stepn Pool
    • Devnet
  • Larix Guide
    • Step 1: Get Wallet
    • Step 2: Connect Wallet
    • Step 3: Deposit
    • Step 4: Borrow
    • Step 5: Repay
    • Step 6: Withdraw
    • Step 7: Claim rewards
  • Interest Rate Model
  • Mathematics
    • APY
    • Mining
    • Price Feed
    • Obligation Health
  • Function
  • Design and Principle of the Liquidation
  • Access Controls
  • Security
    • Bug Bounty Reward
    • Audit
    • Oracles
  • Tokenomics
    • LARIX
    • Buy LARIX
      • b30LARIX
    • Larix Distribution
    • LARIX Token Distribution Rate Model
  • Risk
    • Risk Framework
    • Asset Risk
    • Liquidity Risk
    • External Audits & Analysis
  • API
    • Instruction
    • Function
    • Query
      • Logo
      • State
      • Reserve
      • Mining
      • Obligation
      • SDK
Powered by GitBook
On this page
  • Init Mining and Obligation
  • Deposit and Withdraw
  • Deposit and Withdraw Mining
  • Borrow and repay
  • Claim Mining and Obligation
  • Deposit and Withdraw Obligation
  • Liquidation

Was this helpful?

  1. API

Function

Init Mining and Obligation

1.Init Mining

  • InitMining

2. Init Obligation

  • InitObligation

Deposit and Withdraw

1. Deposit (Provide Liquidity)

  • RefreshReserve

  • DepositReserveLiquidity

2. Withdraw

  • RefreshReserve

  • RedeemReserveCollateral

Deposit and Withdraw Mining

1. Deposit Mining

  • DepositMining

2. Withdraw Mining

  • WithdrawMining

Borrow and repay

1. Borrow

  • RefreshReserve

  • RefreshObligation

  • BorrowObligationLiquidity

2. Repay

  • RefreshReserve

  • RefreshObligation

  • RepayObligationLiquidity

Claim Mining and Obligation

1. Claim Mining

  • RefreshReserve

  • ClaimMiningMine

2. Claim Obligation

  • RefreshReserve

  • RefreshObligation

  • ClaimObligationMine

Deposit and Withdraw Obligation

1. Deposit Obligation

  • RefreshReserve

  • DepositObligationCollateral

2. Withdraw Obligation

  • RefreshReserve

  • RefreshObligation

  • WithdrawObligationCollateral

Liquidation

  • RefreshReserve

  • RefreshObligation

  • LiquidateObligation

PreviousInstructionNextQuery

Last updated 3 years ago

Was this helpful?