Logo

jet

Back to IDL RegistryView on Explorer
NameArgumentsAccounts
initMarket
  • ownerpublicKey
  • quoteCurrencystring
  • quoteTokenMintpublicKey
  • marketisMut
initReserve
  • bumpInitReserveBumpSeeds
  • configReserveConfig
  • marketisMut
  • marketAuthority
  • reserveisMut
  • vaultisMut
  • feeNoteVaultisMut
  • dexSwapTokensisMut
  • dexOpenOrdersisMut
  • dexMarket
  • tokenMint
  • tokenProgram
  • dexProgram
  • oraclePrice
  • oracleProduct
  • depositNoteMintisMut
  • loanNoteMintisMut
  • quoteTokenMint
  • ownerisSigner
  • systemProgram
  • rent
updateReserveConfig
  • newConfigReserveConfig
  • market
  • reserveisMut
  • ownerisSigner
initDepositAccount
  • bumpu8
  • market
  • marketAuthority
  • reserve
  • depositNoteMint
  • depositorisSignerisMut
  • depositAccountisMut
  • tokenProgram
  • systemProgram
  • rent
initCollateralAccount
  • bumpu8
  • market
  • marketAuthority
  • obligationisMut
  • reserve
  • depositNoteMint
  • ownerisSignerisMut
  • collateralAccountisMut
  • tokenProgram
  • systemProgram
  • rent
initLoanAccount
  • bumpu8
  • market
  • marketAuthority
  • obligationisMut
  • reserve
  • loanNoteMint
  • ownerisSignerisMut
  • loanAccountisMut
  • tokenProgram
  • systemProgram
  • rent
initObligation
  • bumpu8
  • market
  • marketAuthority
  • borrowerisSignerisMut
  • obligationisMut
  • tokenProgram
  • systemProgram
setMarketOwner
  • newOwnerpublicKey
  • marketisMut
  • ownerisSigner
setMarketFlags
  • flagsu64
  • marketisMut
  • ownerisSigner
closeDepositAccount
  • bumpu8
  • market
  • marketAuthority
  • reserveisMut
  • vaultisMut
  • depositNoteMintisMut
  • depositorisSignerisMut
  • depositAccountisMut
  • receiverAccountisMut
  • tokenProgram
closeCollateralAccount
  • bumpu8
  • market
  • marketAuthority
  • obligationisMut
  • ownerisSignerisMut
  • collateralAccountisMut
  • depositAccountisMut
  • tokenProgram
closeLoanAccount
  • bumpu8
  • market
  • marketAuthority
  • obligationisMut
  • ownerisSignerisMut
  • loanAccountisMut
  • tokenProgram
closeObligation
  • bumpu8
  • market
  • marketAuthority
  • ownerisSignerisMut
  • obligationisMut
deposit
  • bumpu8
  • amountAmount
  • market
  • marketAuthority
  • reserveisMut
  • vaultisMut
  • depositNoteMintisMut
  • depositorisSigner
  • depositAccountisMut
  • depositSourceisMut
  • tokenProgram
depositTokens
  • amountAmount
  • market
  • marketAuthority
  • reserveisMut
  • vaultisMut
  • depositNoteMintisMut
  • depositorisSigner
  • depositNoteAccountisMut
  • depositSourceisMut
  • tokenProgram
withdraw
  • bumpu8
  • amountAmount
  • market
  • marketAuthority
  • reserveisMut
  • vaultisMut
  • depositNoteMintisMut
  • depositorisSigner
  • depositAccountisMut
  • withdrawAccountisMut
  • tokenProgram
withdrawTokens
  • amountAmount
  • market
  • marketAuthority
  • reserveisMut
  • vaultisMut
  • depositNoteMintisMut
  • depositorisSigner
  • depositNoteAccountisMut
  • withdrawAccountisMut
  • tokenProgram
depositCollateral
  • bumpDepositCollateralBumpSeeds
  • amountAmount
  • market
  • marketAuthority
  • reserve
  • obligationisMut
  • ownerisSigner
  • depositAccountisMut
  • collateralAccountisMut
  • tokenProgram
withdrawCollateral
  • bumpWithdrawCollateralBumpSeeds
  • amountAmount
  • market
  • marketAuthority
  • reserve
  • obligationisMut
  • ownerisSigner
  • depositAccountisMut
  • collateralAccountisMut
  • tokenProgram
borrow
  • bumpu8
  • amountAmount
  • market
  • marketAuthority
  • obligationisMut
  • reserveisMut
  • vaultisMut
  • loanNoteMintisMut
  • borrowerisSigner
  • loanAccountisMut
  • receiverAccountisMut
  • tokenProgram
repay
  • amountAmount
  • market
  • marketAuthority
  • obligationisMut
  • reserveisMut
  • vaultisMut
  • loanNoteMintisMut
  • loanAccountisMut
  • payerAccountisMut
  • payerisSigner
  • tokenProgram
liquidate
  • amountAmount
  • minCollateralu64
  • market
  • marketAuthority
  • obligationisMut
  • reserveisMut
  • collateralReserve
  • vaultisMut
  • loanNoteMintisMut
  • loanAccountisMut
  • collateralAccountisMut
  • payerAccountisMut
  • receiverAccountisMut
  • payerisSigner
  • tokenProgram
mockLiquidateDex
    • sourceMarket
    • targetMarket
    • toLiquidate
    refreshReserve
      • marketisMut
      • marketAuthority
      • reserveisMut
      • feeNoteVaultisMut
      • depositNoteMintisMut
      • pythOraclePrice
      • tokenProgram