mango-v4/ts/client/classes/Bank.html

6 lines
130 KiB
HTML

<!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Bank | @blockworks-foundation/mango-v4</title><meta name="description" content="Documentation for @blockworks-foundation/mango-v4"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.body.classList.add(localStorage.getItem("tsd-theme") || "os")</script><header><div class="tsd-page-toolbar"><div class="container"><div class="table-wrap"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption">Search</label><input type="text" id="tsd-search-field"/></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@blockworks-foundation/mango-v4</a></div><div class="table-cell" id="tsd-widgets"><div id="tsd-filter"><a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a><div class="tsd-filter-group"><div class="tsd-select" id="tsd-filter-visibility"><span class="tsd-select-label">All</span><ul class="tsd-select-list"><li data-value="public">Public</li><li data-value="protected">Public/Protected</li><li data-value="private" class="selected">All</li></ul></div> <input type="checkbox" id="tsd-filter-inherited" checked/><label class="tsd-widget" for="tsd-filter-inherited">Inherited</label><input type="checkbox" id="tsd-filter-externals" checked/><label class="tsd-widget" for="tsd-filter-externals">Externals</label></div></div><a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a></div></div></div></div><div class="tsd-page-title"><div class="container"><ul class="tsd-breadcrumb"><li><a href="../index.html">@blockworks-foundation/mango-v4</a></li><li><a href="Bank.html">Bank</a></li></ul><h1>Class Bank</h1></div></div></header><div class="container container-main"><div class="row"><div class="col-8 col-content"><section class="tsd-panel tsd-hierarchy"><h3>Hierarchy</h3><ul class="tsd-hierarchy"><li><span class="target">Bank</span></li></ul></section><section class="tsd-panel"><h3>Implements</h3><ul class="tsd-hierarchy"><li><a href="../interfaces/BankForHealth.html" class="tsd-signature-type" data-tsd-kind="Interface">BankForHealth</a></li></ul></section><section class="tsd-panel-group tsd-index-group"><h2>Index</h2><section class="tsd-panel tsd-index-panel"><div class="tsd-index-content"><section class="tsd-index-section "><h3>Constructors</h3><ul class="tsd-index-list"><li class="tsd-kind-constructor tsd-parent-kind-class"><a href="Bank.html#constructor" class="tsd-kind-icon">constructor</a></li></ul></section><section class="tsd-index-section "><h3>Properties</h3><ul class="tsd-index-list"><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#_oracleLastUpdatedSlot" class="tsd-kind-icon">_oracle<wbr/>Last<wbr/>Updated<wbr/>Slot</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#_oracleProvider" class="tsd-kind-icon">_oracle<wbr/>Provider</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#_price" class="tsd-kind-icon">_price</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#_uiPrice" class="tsd-kind-icon">_ui<wbr/>Price</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#adjustmentFactor" class="tsd-kind-icon">adjustment<wbr/>Factor</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#avgUtilization" class="tsd-kind-icon">avg<wbr/>Utilization</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#bankNum" class="tsd-kind-icon">bank<wbr/>Num</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#bankRateLastUpdated" class="tsd-kind-icon">bank<wbr/>Rate<wbr/>Last<wbr/>Updated</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#borrowIndex" class="tsd-kind-icon">borrow<wbr/>Index</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#borrowWeightScaleStartQuote" class="tsd-kind-icon">borrow<wbr/>Weight<wbr/>Scale<wbr/>Start<wbr/>Quote</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#collectedFeesNative" class="tsd-kind-icon">collected<wbr/>Fees<wbr/>Native</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#depositIndex" class="tsd-kind-icon">deposit<wbr/>Index</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#depositWeightScaleStartQuote" class="tsd-kind-icon">deposit<wbr/>Weight<wbr/>Scale<wbr/>Start<wbr/>Quote</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#dust" class="tsd-kind-icon">dust</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#forceClose" class="tsd-kind-icon">force<wbr/>Close</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#group" class="tsd-kind-icon">group</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#indexLastUpdated" class="tsd-kind-icon">index<wbr/>Last<wbr/>Updated</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#indexedBorrows" class="tsd-kind-icon">indexed<wbr/>Borrows</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#indexedDeposits" class="tsd-kind-icon">indexed<wbr/>Deposits</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#initAssetWeight" class="tsd-kind-icon">init<wbr/>Asset<wbr/>Weight</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#initLiabWeight" class="tsd-kind-icon">init<wbr/>Liab<wbr/>Weight</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#lastNetBorrowsWindowStartTs" class="tsd-kind-icon">last<wbr/>Net<wbr/>Borrows<wbr/>Window<wbr/>Start<wbr/>Ts</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#liquidationFee" class="tsd-kind-icon">liquidation<wbr/>Fee</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#loanFeeRate" class="tsd-kind-icon">loan<wbr/>Fee<wbr/>Rate</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#loanOriginationFeeRate" class="tsd-kind-icon">loan<wbr/>Origination<wbr/>Fee<wbr/>Rate</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#maintAssetWeight" class="tsd-kind-icon">maint<wbr/>Asset<wbr/>Weight</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#maintLiabWeight" class="tsd-kind-icon">maint<wbr/>Liab<wbr/>Weight</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#maxRate" class="tsd-kind-icon">max<wbr/>Rate</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#minVaultToDepositsRatio" class="tsd-kind-icon">min<wbr/>Vault<wbr/>To<wbr/>Deposits<wbr/>Ratio</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#mint" class="tsd-kind-icon">mint</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#mintDecimals" class="tsd-kind-icon">mint<wbr/>Decimals</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#name" class="tsd-kind-icon">name</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#netBorrowLimitPerWindowQuote" class="tsd-kind-icon">net<wbr/>Borrow<wbr/>Limit<wbr/>Per<wbr/>Window<wbr/>Quote</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#netBorrowLimitWindowSizeTs" class="tsd-kind-icon">net<wbr/>Borrow<wbr/>Limit<wbr/>Window<wbr/>Size<wbr/>Ts</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#netBorrowsInWindow" class="tsd-kind-icon">net<wbr/>Borrows<wbr/>In<wbr/>Window</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#oracle" class="tsd-kind-icon">oracle</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#oracleConfig" class="tsd-kind-icon">oracle<wbr/>Config</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#publicKey" class="tsd-kind-icon">public<wbr/>Key</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#rate0" class="tsd-kind-icon">rate0</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#rate1" class="tsd-kind-icon">rate1</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#reduceOnly" class="tsd-kind-icon">reduce<wbr/>Only</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#stablePriceModel" class="tsd-kind-icon">stable<wbr/>Price<wbr/>Model</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#tokenIndex" class="tsd-kind-icon">token<wbr/>Index</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#util0" class="tsd-kind-icon">util0</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#util1" class="tsd-kind-icon">util1</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#vault" class="tsd-kind-icon">vault</a></li></ul></section><section class="tsd-index-section "><h3>Accessors</h3><ul class="tsd-index-list"><li class="tsd-kind-get-signature tsd-parent-kind-class"><a href="Bank.html#oracleLastUpdatedSlot" class="tsd-kind-icon">oracle<wbr/>Last<wbr/>Updated<wbr/>Slot</a></li><li class="tsd-kind-get-signature tsd-parent-kind-class"><a href="Bank.html#oracleProvider" class="tsd-kind-icon">oracle<wbr/>Provider</a></li><li class="tsd-kind-get-signature tsd-parent-kind-class"><a href="Bank.html#price" class="tsd-kind-icon">price</a></li><li class="tsd-kind-get-signature tsd-parent-kind-class"><a href="Bank.html#uiPrice" class="tsd-kind-icon">ui<wbr/>Price</a></li></ul></section><section class="tsd-index-section "><h3>Methods</h3><ul class="tsd-index-list"><li class="tsd-kind-method tsd-parent-kind-class"><a href="Bank.html#areBorrowsReduceOnly" class="tsd-kind-icon">are<wbr/>Borrows<wbr/>Reduce<wbr/>Only</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="Bank.html#areDepositsReduceOnly" class="tsd-kind-icon">are<wbr/>Deposits<wbr/>Reduce<wbr/>Only</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="Bank.html#getBorrowRate" class="tsd-kind-icon">get<wbr/>Borrow<wbr/>Rate</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="Bank.html#getBorrowRateUi" class="tsd-kind-icon">get<wbr/>Borrow<wbr/>Rate<wbr/>Ui</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="Bank.html#getBorrowRateWithoutUpkeepRate" class="tsd-kind-icon">get<wbr/>Borrow<wbr/>Rate<wbr/>Without<wbr/>Upkeep<wbr/>Rate</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="Bank.html#getDepositRate" class="tsd-kind-icon">get<wbr/>Deposit<wbr/>Rate</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="Bank.html#getDepositRateUi" class="tsd-kind-icon">get<wbr/>Deposit<wbr/>Rate<wbr/>Ui</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="Bank.html#nativeBorrows" class="tsd-kind-icon">native<wbr/>Borrows</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="Bank.html#nativeDeposits" class="tsd-kind-icon">native<wbr/>Deposits</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="Bank.html#scaledInitAssetWeight" class="tsd-kind-icon">scaled<wbr/>Init<wbr/>Asset<wbr/>Weight</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="Bank.html#scaledInitLiabWeight" class="tsd-kind-icon">scaled<wbr/>Init<wbr/>Liab<wbr/>Weight</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="Bank.html#toString" class="tsd-kind-icon">to<wbr/>String</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="Bank.html#uiBorrows" class="tsd-kind-icon">ui<wbr/>Borrows</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="Bank.html#uiDeposits" class="tsd-kind-icon">ui<wbr/>Deposits</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="Bank.html#from" class="tsd-kind-icon">from</a></li></ul></section></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Constructors</h2><section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link">constructor<a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">new <wbr/>Bank<span class="tsd-signature-symbol">(</span>publicKey<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">PublicKey</span>, group<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">PublicKey</span>, name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span>, mint<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">PublicKey</span>, vault<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">PublicKey</span>, oracle<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">PublicKey</span>, oracleConfig<span class="tsd-signature-symbol">: </span><a href="../index.html#OracleConfigDto" class="tsd-signature-type" data-tsd-kind="Type alias">OracleConfigDto</a>, stablePriceModel<span class="tsd-signature-symbol">: </span><a href="../index.html#StablePriceModel" class="tsd-signature-type" data-tsd-kind="Type alias">StablePriceModel</a>, depositIndex<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a>, borrowIndex<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a>, indexedDeposits<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a>, indexedBorrows<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a>, indexLastUpdated<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BN</span>, bankRateLastUpdated<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BN</span>, avgUtilization<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a>, adjustmentFactor<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a>, util0<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a>, rate0<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a>, util1<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a>, rate1<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a>, maxRate<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a>, collectedFeesNative<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a>, loanOriginationFeeRate<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a>, loanFeeRate<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a>, maintAssetWeight<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a>, initAssetWeight<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a>, maintLiabWeight<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a>, initLiabWeight<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a>, liquidationFee<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a>, dust<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a>, flashLoanTokenAccountInitial<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BN</span>, flashLoanApprovedAmount<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BN</span>, tokenIndex<span class="tsd-signature-symbol">: </span><a href="../index.html#TokenIndex" class="tsd-signature-type" data-tsd-kind="Type alias">TokenIndex</a>, mintDecimals<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, bankNum<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, minVaultToDepositsRatio<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, netBorrowLimitWindowSizeTs<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BN</span>, lastNetBorrowsWindowStartTs<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BN</span>, netBorrowLimitPerWindowQuote<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BN</span>, netBorrowsInWindow<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BN</span>, borrowWeightScaleStartQuote<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, depositWeightScaleStartQuote<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, reduceOnly<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, forceClose<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Bank.html" class="tsd-signature-type" data-tsd-kind="Class">Bank</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/blockworks-foundation/mango-v4/blob/5a70917/ts/client/src/accounts/bank.ts#L174">accounts/bank.ts:174</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>publicKey: <span class="tsd-signature-type">PublicKey</span></h5></li><li><h5>group: <span class="tsd-signature-type">PublicKey</span></h5></li><li><h5>name: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5></li><li><h5>mint: <span class="tsd-signature-type">PublicKey</span></h5></li><li><h5>vault: <span class="tsd-signature-type">PublicKey</span></h5></li><li><h5>oracle: <span class="tsd-signature-type">PublicKey</span></h5></li><li><h5>oracleConfig: <a href="../index.html#OracleConfigDto" class="tsd-signature-type" data-tsd-kind="Type alias">OracleConfigDto</a></h5></li><li><h5>stablePriceModel: <a href="../index.html#StablePriceModel" class="tsd-signature-type" data-tsd-kind="Type alias">StablePriceModel</a></h5></li><li><h5>depositIndex: <a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a></h5></li><li><h5>borrowIndex: <a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a></h5></li><li><h5>indexedDeposits: <a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a></h5></li><li><h5>indexedBorrows: <a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a></h5></li><li><h5>indexLastUpdated: <span class="tsd-signature-type">BN</span></h5></li><li><h5>bankRateLastUpdated: <span class="tsd-signature-type">BN</span></h5></li><li><h5>avgUtilization: <a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a></h5></li><li><h5>adjustmentFactor: <a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a></h5></li><li><h5>util0: <a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a></h5></li><li><h5>rate0: <a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a></h5></li><li><h5>util1: <a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a></h5></li><li><h5>rate1: <a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a></h5></li><li><h5>maxRate: <a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a></h5></li><li><h5>collectedFeesNative: <a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a></h5></li><li><h5>loanOriginationFeeRate: <a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a></h5></li><li><h5>loanFeeRate: <a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a></h5></li><li><h5>maintAssetWeight: <a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a></h5></li><li><h5>initAssetWeight: <a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a></h5></li><li><h5>maintLiabWeight: <a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a></h5></li><li><h5>initLiabWeight: <a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a></h5></li><li><h5>liquidationFee: <a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a></h5></li><li><h5>dust: <a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a></h5></li><li><h5>flashLoanTokenAccountInitial: <span class="tsd-signature-type">BN</span></h5></li><li><h5>flashLoanApprovedAmount: <span class="tsd-signature-type">BN</span></h5></li><li><h5>tokenIndex: <a href="../index.html#TokenIndex" class="tsd-signature-type" data-tsd-kind="Type alias">TokenIndex</a></h5></li><li><h5>mintDecimals: <span class="tsd-signature-type">number</span></h5></li><li><h5>bankNum: <span class="tsd-signature-type">number</span></h5></li><li><h5>minVaultToDepositsRatio: <span class="tsd-signature-type">number</span></h5></li><li><h5>netBorrowLimitWindowSizeTs: <span class="tsd-signature-type">BN</span></h5></li><li><h5>lastNetBorrowsWindowStartTs: <span class="tsd-signature-type">BN</span></h5></li><li><h5>netBorrowLimitPerWindowQuote: <span class="tsd-signature-type">BN</span></h5></li><li><h5>netBorrowsInWindow: <span class="tsd-signature-type">BN</span></h5></li><li><h5>borrowWeightScaleStartQuote: <span class="tsd-signature-type">number</span></h5></li><li><h5>depositWeightScaleStartQuote: <span class="tsd-signature-type">number</span></h5></li><li><h5>reduceOnly: <span class="tsd-signature-type">number</span></h5></li><li><h5>forceClose: <span class="tsd-signature-type">boolean</span></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="Bank.html" class="tsd-signature-type" data-tsd-kind="Class">Bank</a></h4></li></ul></section></section><section class="tsd-panel-group tsd-member-group "><h2>Properties</h2><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="_oracleLastUpdatedSlot" class="tsd-anchor"></a><h3 class="tsd-anchor-link">_oracle<wbr/>Last<wbr/>Updated<wbr/>Slot<a href="#_oracleLastUpdatedSlot" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">_oracle<wbr/>Last<wbr/>Updated<wbr/>Slot<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/blockworks-foundation/mango-v4/blob/5a70917/ts/client/src/accounts/bank.ts#L66">accounts/bank.ts:66</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="_oracleProvider" class="tsd-anchor"></a><h3 class="tsd-anchor-link">_oracle<wbr/>Provider<a href="#_oracleProvider" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">_oracle<wbr/>Provider<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="../enums/OracleProvider.html" class="tsd-signature-type" data-tsd-kind="Enumeration">OracleProvider</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/blockworks-foundation/mango-v4/blob/5a70917/ts/client/src/accounts/bank.ts#L67">accounts/bank.ts:67</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="_price" class="tsd-anchor"></a><h3 class="tsd-anchor-link">_price<a href="#_price" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">_price<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="I80F48.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/blockworks-foundation/mango-v4/blob/5a70917/ts/client/src/accounts/bank.ts#L64">accounts/bank.ts:64</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="_uiPrice" class="tsd-anchor"></a><h3 class="tsd-anchor-link">_ui<wbr/>Price<a href="#_uiPrice" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">_ui<wbr/>Price<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/blockworks-foundation/mango-v4/blob/5a70917/ts/client/src/accounts/bank.ts#L65">accounts/bank.ts:65</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="adjustmentFactor" class="tsd-anchor"></a><h3 class="tsd-anchor-link">adjustment<wbr/>Factor<a href="#adjustmentFactor" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">adjustment<wbr/>Factor<span class="tsd-signature-symbol">:</span> <a href="I80F48.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/blockworks-foundation/mango-v4/blob/5a70917/ts/client/src/accounts/bank.ts#L58">accounts/bank.ts:58</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="avgUtilization" class="tsd-anchor"></a><h3 class="tsd-anchor-link">avg<wbr/>Utilization<a href="#avgUtilization" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">avg<wbr/>Utilization<span class="tsd-signature-symbol">:</span> <a href="I80F48.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/blockworks-foundation/mango-v4/blob/5a70917/ts/client/src/accounts/bank.ts#L57">accounts/bank.ts:57</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="bankNum" class="tsd-anchor"></a><h3 class="tsd-anchor-link">bank<wbr/>Num<a href="#bankNum" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">bank<wbr/>Num<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="bankRateLastUpdated" class="tsd-anchor"></a><h3 class="tsd-anchor-link">bank<wbr/>Rate<wbr/>Last<wbr/>Updated<a href="#bankRateLastUpdated" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">bank<wbr/>Rate<wbr/>Last<wbr/>Updated<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">BN</span></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="borrowIndex" class="tsd-anchor"></a><h3 class="tsd-anchor-link">borrow<wbr/>Index<a href="#borrowIndex" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">borrow<wbr/>Index<span class="tsd-signature-symbol">:</span> <a href="I80F48.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/blockworks-foundation/mango-v4/blob/5a70917/ts/client/src/accounts/bank.ts#L54">accounts/bank.ts:54</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="borrowWeightScaleStartQuote" class="tsd-anchor"></a><h3 class="tsd-anchor-link">borrow<wbr/>Weight<wbr/>Scale<wbr/>Start<wbr/>Quote<a href="#borrowWeightScaleStartQuote" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">borrow<wbr/>Weight<wbr/>Scale<wbr/>Start<wbr/>Quote<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/BankForHealth.html">BankForHealth</a>.<a href="../interfaces/BankForHealth.html#borrowWeightScaleStartQuote">borrowWeightScaleStartQuote</a></p></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="collectedFeesNative" class="tsd-anchor"></a><h3 class="tsd-anchor-link">collected<wbr/>Fees<wbr/>Native<a href="#collectedFeesNative" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">collected<wbr/>Fees<wbr/>Native<span class="tsd-signature-symbol">:</span> <a href="I80F48.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/blockworks-foundation/mango-v4/blob/5a70917/ts/client/src/accounts/bank.ts#L68">accounts/bank.ts:68</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="depositIndex" class="tsd-anchor"></a><h3 class="tsd-anchor-link">deposit<wbr/>Index<a href="#depositIndex" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">deposit<wbr/>Index<span class="tsd-signature-symbol">:</span> <a href="I80F48.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/blockworks-foundation/mango-v4/blob/5a70917/ts/client/src/accounts/bank.ts#L53">accounts/bank.ts:53</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="depositWeightScaleStartQuote" class="tsd-anchor"></a><h3 class="tsd-anchor-link">deposit<wbr/>Weight<wbr/>Scale<wbr/>Start<wbr/>Quote<a href="#depositWeightScaleStartQuote" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">deposit<wbr/>Weight<wbr/>Scale<wbr/>Start<wbr/>Quote<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/BankForHealth.html">BankForHealth</a>.<a href="../interfaces/BankForHealth.html#depositWeightScaleStartQuote">depositWeightScaleStartQuote</a></p></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="dust" class="tsd-anchor"></a><h3 class="tsd-anchor-link">dust<a href="#dust" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">dust<span class="tsd-signature-symbol">:</span> <a href="I80F48.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/blockworks-foundation/mango-v4/blob/5a70917/ts/client/src/accounts/bank.ts#L76">accounts/bank.ts:76</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="forceClose" class="tsd-anchor"></a><h3 class="tsd-anchor-link">force<wbr/>Close<a href="#forceClose" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">force<wbr/>Close<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="group" class="tsd-anchor"></a><h3 class="tsd-anchor-link">group<a href="#group" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">group<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">PublicKey</span></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="indexLastUpdated" class="tsd-anchor"></a><h3 class="tsd-anchor-link">index<wbr/>Last<wbr/>Updated<a href="#indexLastUpdated" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">index<wbr/>Last<wbr/>Updated<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">BN</span></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="indexedBorrows" class="tsd-anchor"></a><h3 class="tsd-anchor-link">indexed<wbr/>Borrows<a href="#indexedBorrows" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">indexed<wbr/>Borrows<span class="tsd-signature-symbol">:</span> <a href="I80F48.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/blockworks-foundation/mango-v4/blob/5a70917/ts/client/src/accounts/bank.ts#L56">accounts/bank.ts:56</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="indexedDeposits" class="tsd-anchor"></a><h3 class="tsd-anchor-link">indexed<wbr/>Deposits<a href="#indexedDeposits" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">indexed<wbr/>Deposits<span class="tsd-signature-symbol">:</span> <a href="I80F48.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/blockworks-foundation/mango-v4/blob/5a70917/ts/client/src/accounts/bank.ts#L55">accounts/bank.ts:55</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="initAssetWeight" class="tsd-anchor"></a><h3 class="tsd-anchor-link">init<wbr/>Asset<wbr/>Weight<a href="#initAssetWeight" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">init<wbr/>Asset<wbr/>Weight<span class="tsd-signature-symbol">:</span> <a href="I80F48.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48</a></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/BankForHealth.html">BankForHealth</a>.<a href="../interfaces/BankForHealth.html#initAssetWeight">initAssetWeight</a></p><ul><li>Defined in <a href="https://github.com/blockworks-foundation/mango-v4/blob/5a70917/ts/client/src/accounts/bank.ts#L71">accounts/bank.ts:71</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="initLiabWeight" class="tsd-anchor"></a><h3 class="tsd-anchor-link">init<wbr/>Liab<wbr/>Weight<a href="#initLiabWeight" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">init<wbr/>Liab<wbr/>Weight<span class="tsd-signature-symbol">:</span> <a href="I80F48.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48</a></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/BankForHealth.html">BankForHealth</a>.<a href="../interfaces/BankForHealth.html#initLiabWeight">initLiabWeight</a></p><ul><li>Defined in <a href="https://github.com/blockworks-foundation/mango-v4/blob/5a70917/ts/client/src/accounts/bank.ts#L73">accounts/bank.ts:73</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="lastNetBorrowsWindowStartTs" class="tsd-anchor"></a><h3 class="tsd-anchor-link">last<wbr/>Net<wbr/>Borrows<wbr/>Window<wbr/>Start<wbr/>Ts<a href="#lastNetBorrowsWindowStartTs" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">last<wbr/>Net<wbr/>Borrows<wbr/>Window<wbr/>Start<wbr/>Ts<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">BN</span></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="liquidationFee" class="tsd-anchor"></a><h3 class="tsd-anchor-link">liquidation<wbr/>Fee<a href="#liquidationFee" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">liquidation<wbr/>Fee<span class="tsd-signature-symbol">:</span> <a href="I80F48.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/blockworks-foundation/mango-v4/blob/5a70917/ts/client/src/accounts/bank.ts#L75">accounts/bank.ts:75</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="loanFeeRate" class="tsd-anchor"></a><h3 class="tsd-anchor-link">loan<wbr/>Fee<wbr/>Rate<a href="#loanFeeRate" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">loan<wbr/>Fee<wbr/>Rate<span class="tsd-signature-symbol">:</span> <a href="I80F48.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/blockworks-foundation/mango-v4/blob/5a70917/ts/client/src/accounts/bank.ts#L69">accounts/bank.ts:69</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="loanOriginationFeeRate" class="tsd-anchor"></a><h3 class="tsd-anchor-link">loan<wbr/>Origination<wbr/>Fee<wbr/>Rate<a href="#loanOriginationFeeRate" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">loan<wbr/>Origination<wbr/>Fee<wbr/>Rate<span class="tsd-signature-symbol">:</span> <a href="I80F48.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/blockworks-foundation/mango-v4/blob/5a70917/ts/client/src/accounts/bank.ts#L70">accounts/bank.ts:70</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="maintAssetWeight" class="tsd-anchor"></a><h3 class="tsd-anchor-link">maint<wbr/>Asset<wbr/>Weight<a href="#maintAssetWeight" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">maint<wbr/>Asset<wbr/>Weight<span class="tsd-signature-symbol">:</span> <a href="I80F48.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48</a></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/BankForHealth.html">BankForHealth</a>.<a href="../interfaces/BankForHealth.html#maintAssetWeight">maintAssetWeight</a></p><ul><li>Defined in <a href="https://github.com/blockworks-foundation/mango-v4/blob/5a70917/ts/client/src/accounts/bank.ts#L72">accounts/bank.ts:72</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="maintLiabWeight" class="tsd-anchor"></a><h3 class="tsd-anchor-link">maint<wbr/>Liab<wbr/>Weight<a href="#maintLiabWeight" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">maint<wbr/>Liab<wbr/>Weight<span class="tsd-signature-symbol">:</span> <a href="I80F48.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48</a></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/BankForHealth.html">BankForHealth</a>.<a href="../interfaces/BankForHealth.html#maintLiabWeight">maintLiabWeight</a></p><ul><li>Defined in <a href="https://github.com/blockworks-foundation/mango-v4/blob/5a70917/ts/client/src/accounts/bank.ts#L74">accounts/bank.ts:74</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="maxRate" class="tsd-anchor"></a><h3 class="tsd-anchor-link">max<wbr/>Rate<a href="#maxRate" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">max<wbr/>Rate<span class="tsd-signature-symbol">:</span> <a href="I80F48.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/blockworks-foundation/mango-v4/blob/5a70917/ts/client/src/accounts/bank.ts#L59">accounts/bank.ts:59</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="minVaultToDepositsRatio" class="tsd-anchor"></a><h3 class="tsd-anchor-link">min<wbr/>Vault<wbr/>To<wbr/>Deposits<wbr/>Ratio<a href="#minVaultToDepositsRatio" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">min<wbr/>Vault<wbr/>To<wbr/>Deposits<wbr/>Ratio<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="mint" class="tsd-anchor"></a><h3 class="tsd-anchor-link">mint<a href="#mint" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">mint<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">PublicKey</span></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="mintDecimals" class="tsd-anchor"></a><h3 class="tsd-anchor-link">mint<wbr/>Decimals<a href="#mintDecimals" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">mint<wbr/>Decimals<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="name" class="tsd-anchor"></a><h3 class="tsd-anchor-link">name<a href="#name" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">name<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/blockworks-foundation/mango-v4/blob/5a70917/ts/client/src/accounts/bank.ts#L51">accounts/bank.ts:51</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="netBorrowLimitPerWindowQuote" class="tsd-anchor"></a><h3 class="tsd-anchor-link">net<wbr/>Borrow<wbr/>Limit<wbr/>Per<wbr/>Window<wbr/>Quote<a href="#netBorrowLimitPerWindowQuote" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">net<wbr/>Borrow<wbr/>Limit<wbr/>Per<wbr/>Window<wbr/>Quote<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">BN</span></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="netBorrowLimitWindowSizeTs" class="tsd-anchor"></a><h3 class="tsd-anchor-link">net<wbr/>Borrow<wbr/>Limit<wbr/>Window<wbr/>Size<wbr/>Ts<a href="#netBorrowLimitWindowSizeTs" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">net<wbr/>Borrow<wbr/>Limit<wbr/>Window<wbr/>Size<wbr/>Ts<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">BN</span></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="netBorrowsInWindow" class="tsd-anchor"></a><h3 class="tsd-anchor-link">net<wbr/>Borrows<wbr/>In<wbr/>Window<a href="#netBorrowsInWindow" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">net<wbr/>Borrows<wbr/>In<wbr/>Window<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">BN</span></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="oracle" class="tsd-anchor"></a><h3 class="tsd-anchor-link">oracle<a href="#oracle" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">oracle<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">PublicKey</span></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="oracleConfig" class="tsd-anchor"></a><h3 class="tsd-anchor-link">oracle<wbr/>Config<a href="#oracleConfig" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">oracle<wbr/>Config<span class="tsd-signature-symbol">:</span> <a href="../index.html#OracleConfig" class="tsd-signature-type" data-tsd-kind="Type alias">OracleConfig</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/blockworks-foundation/mango-v4/blob/5a70917/ts/client/src/accounts/bank.ts#L52">accounts/bank.ts:52</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="publicKey" class="tsd-anchor"></a><h3 class="tsd-anchor-link">public<wbr/>Key<a href="#publicKey" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">public<wbr/>Key<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">PublicKey</span></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="rate0" class="tsd-anchor"></a><h3 class="tsd-anchor-link">rate0<a href="#rate0" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">rate0<span class="tsd-signature-symbol">:</span> <a href="I80F48.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/blockworks-foundation/mango-v4/blob/5a70917/ts/client/src/accounts/bank.ts#L60">accounts/bank.ts:60</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="rate1" class="tsd-anchor"></a><h3 class="tsd-anchor-link">rate1<a href="#rate1" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">rate1<span class="tsd-signature-symbol">:</span> <a href="I80F48.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/blockworks-foundation/mango-v4/blob/5a70917/ts/client/src/accounts/bank.ts#L61">accounts/bank.ts:61</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="reduceOnly" class="tsd-anchor"></a><h3 class="tsd-anchor-link">reduce<wbr/>Only<a href="#reduceOnly" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">reduce<wbr/>Only<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="stablePriceModel" class="tsd-anchor"></a><h3 class="tsd-anchor-link">stable<wbr/>Price<wbr/>Model<a href="#stablePriceModel" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">stable<wbr/>Price<wbr/>Model<span class="tsd-signature-symbol">:</span> <a href="../index.html#StablePriceModel" class="tsd-signature-type" data-tsd-kind="Type alias">StablePriceModel</a></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/BankForHealth.html">BankForHealth</a>.<a href="../interfaces/BankForHealth.html#stablePriceModel">stablePriceModel</a></p></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="tokenIndex" class="tsd-anchor"></a><h3 class="tsd-anchor-link">token<wbr/>Index<a href="#tokenIndex" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">token<wbr/>Index<span class="tsd-signature-symbol">:</span> <a href="../index.html#TokenIndex" class="tsd-signature-type" data-tsd-kind="Type alias">TokenIndex</a></div><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/BankForHealth.html">BankForHealth</a>.<a href="../interfaces/BankForHealth.html#tokenIndex">tokenIndex</a></p></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="util0" class="tsd-anchor"></a><h3 class="tsd-anchor-link">util0<a href="#util0" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">util0<span class="tsd-signature-symbol">:</span> <a href="I80F48.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/blockworks-foundation/mango-v4/blob/5a70917/ts/client/src/accounts/bank.ts#L62">accounts/bank.ts:62</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="util1" class="tsd-anchor"></a><h3 class="tsd-anchor-link">util1<a href="#util1" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">util1<span class="tsd-signature-symbol">:</span> <a href="I80F48.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/blockworks-foundation/mango-v4/blob/5a70917/ts/client/src/accounts/bank.ts#L63">accounts/bank.ts:63</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="vault" class="tsd-anchor"></a><h3 class="tsd-anchor-link">vault<a href="#vault" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><div class="tsd-signature tsd-kind-icon">vault<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">PublicKey</span></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Accessors</h2><section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class"><a id="oracleLastUpdatedSlot" class="tsd-anchor"></a><h3 class="tsd-anchor-link">oracle<wbr/>Last<wbr/>Updated<wbr/>Slot<a href="#oracleLastUpdatedSlot" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> oracleLastUpdatedSlot<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/blockworks-foundation/mango-v4/blob/5a70917/ts/client/src/accounts/bank.ts#L373">accounts/bank.ts:373</a></li></ul></aside><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class"><a id="oracleProvider" class="tsd-anchor"></a><h3 class="tsd-anchor-link">oracle<wbr/>Provider<a href="#oracleProvider" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> oracleProvider<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../enums/OracleProvider.html" class="tsd-signature-type" data-tsd-kind="Enumeration">OracleProvider</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/blockworks-foundation/mango-v4/blob/5a70917/ts/client/src/accounts/bank.ts#L382">accounts/bank.ts:382</a></li></ul></aside><h4 class="tsd-returns-title">Returns <a href="../enums/OracleProvider.html" class="tsd-signature-type" data-tsd-kind="Enumeration">OracleProvider</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class"><a id="price" class="tsd-anchor"></a><h3 class="tsd-anchor-link">price<a href="#price" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> price<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="I80F48.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/BankForHealth.html">BankForHealth</a>.<a href="../interfaces/BankForHealth.html#price">price</a></p><ul><li>Defined in <a href="https://github.com/blockworks-foundation/mango-v4/blob/5a70917/ts/client/src/accounts/bank.ts#L355">accounts/bank.ts:355</a></li></ul></aside><h4 class="tsd-returns-title">Returns <a href="I80F48.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class"><a id="uiPrice" class="tsd-anchor"></a><h3 class="tsd-anchor-link">ui<wbr/>Price<a href="#uiPrice" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> uiPrice<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/blockworks-foundation/mango-v4/blob/5a70917/ts/client/src/accounts/bank.ts#L364">accounts/bank.ts:364</a></li></ul></aside><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section></section><section class="tsd-panel-group tsd-member-group "><h2>Methods</h2><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="areBorrowsReduceOnly" class="tsd-anchor"></a><h3 class="tsd-anchor-link">are<wbr/>Borrows<wbr/>Reduce<wbr/>Only<a href="#areBorrowsReduceOnly" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">are<wbr/>Borrows<wbr/>Reduce<wbr/>Only<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/blockworks-foundation/mango-v4/blob/5a70917/ts/client/src/accounts/bank.ts#L325">accounts/bank.ts:325</a></li></ul></aside><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="areDepositsReduceOnly" class="tsd-anchor"></a><h3 class="tsd-anchor-link">are<wbr/>Deposits<wbr/>Reduce<wbr/>Only<a href="#areDepositsReduceOnly" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">are<wbr/>Deposits<wbr/>Reduce<wbr/>Only<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/blockworks-foundation/mango-v4/blob/5a70917/ts/client/src/accounts/bank.ts#L321">accounts/bank.ts:321</a></li></ul></aside><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getBorrowRate" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Borrow<wbr/>Rate<a href="#getBorrowRate" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Borrow<wbr/>Rate<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="I80F48.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/blockworks-foundation/mango-v4/blob/5a70917/ts/client/src/accounts/bank.ts#L446">accounts/bank.ts:446</a></li></ul></aside><h4 class="tsd-returns-title">Returns <a href="I80F48.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48</a></h4><div><p>total borrow rate, 0 is 0% where 1 is 100% (including loan upkeep rate)</p>
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getBorrowRateUi" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Borrow<wbr/>Rate<wbr/>Ui<a href="#getBorrowRateUi" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Borrow<wbr/>Rate<wbr/>Ui<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/blockworks-foundation/mango-v4/blob/5a70917/ts/client/src/accounts/bank.ts#L454">accounts/bank.ts:454</a></li></ul></aside><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div><p>total borrow rate percentage (including loan upkeep rate)</p>
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getBorrowRateWithoutUpkeepRate" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Borrow<wbr/>Rate<wbr/>Without<wbr/>Upkeep<wbr/>Rate<a href="#getBorrowRateWithoutUpkeepRate" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Borrow<wbr/>Rate<wbr/>Without<wbr/>Upkeep<wbr/>Rate<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="I80F48.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/blockworks-foundation/mango-v4/blob/5a70917/ts/client/src/accounts/bank.ts#L417">accounts/bank.ts:417</a></li></ul></aside><h4 class="tsd-returns-title">Returns <a href="I80F48.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48</a></h4><div><p>borrow rate, 0 is 0% where 1 is 100%; not including loan upkeep rate</p>
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getDepositRate" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Deposit<wbr/>Rate<a href="#getDepositRate" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Deposit<wbr/>Rate<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="I80F48.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/blockworks-foundation/mango-v4/blob/5a70917/ts/client/src/accounts/bank.ts#L462">accounts/bank.ts:462</a></li></ul></aside><h4 class="tsd-returns-title">Returns <a href="I80F48.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48</a></h4><div><p>deposit rate, 0 is 0% where 1 is 100%</p>
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getDepositRateUi" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Deposit<wbr/>Rate<wbr/>Ui<a href="#getDepositRateUi" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Deposit<wbr/>Rate<wbr/>Ui<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/blockworks-foundation/mango-v4/blob/5a70917/ts/client/src/accounts/bank.ts#L481">accounts/bank.ts:481</a></li></ul></aside><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4><div><p>deposit rate percentage</p>
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="nativeBorrows" class="tsd-anchor"></a><h3 class="tsd-anchor-link">native<wbr/>Borrows<a href="#nativeBorrows" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">native<wbr/>Borrows<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="I80F48.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/BankForHealth.html">BankForHealth</a>.<a href="../interfaces/BankForHealth.html#nativeBorrows">nativeBorrows</a></p><ul><li>Defined in <a href="https://github.com/blockworks-foundation/mango-v4/blob/5a70917/ts/client/src/accounts/bank.ts#L395">accounts/bank.ts:395</a></li></ul></aside><h4 class="tsd-returns-title">Returns <a href="I80F48.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="nativeDeposits" class="tsd-anchor"></a><h3 class="tsd-anchor-link">native<wbr/>Deposits<a href="#nativeDeposits" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">native<wbr/>Deposits<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="I80F48.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/BankForHealth.html">BankForHealth</a>.<a href="../interfaces/BankForHealth.html#nativeDeposits">nativeDeposits</a></p><ul><li>Defined in <a href="https://github.com/blockworks-foundation/mango-v4/blob/5a70917/ts/client/src/accounts/bank.ts#L391">accounts/bank.ts:391</a></li></ul></aside><h4 class="tsd-returns-title">Returns <a href="I80F48.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="scaledInitAssetWeight" class="tsd-anchor"></a><h3 class="tsd-anchor-link">scaled<wbr/>Init<wbr/>Asset<wbr/>Weight<a href="#scaledInitAssetWeight" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">scaled<wbr/>Init<wbr/>Asset<wbr/>Weight<span class="tsd-signature-symbol">(</span>price<span class="tsd-signature-symbol">: </span><a href="I80F48.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="I80F48.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/BankForHealth.html">BankForHealth</a>.<a href="../interfaces/BankForHealth.html#scaledInitAssetWeight">scaledInitAssetWeight</a></p><ul><li>Defined in <a href="https://github.com/blockworks-foundation/mango-v4/blob/5a70917/ts/client/src/accounts/bank.ts#L329">accounts/bank.ts:329</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>price: <a href="I80F48.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48</a></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="I80F48.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="scaledInitLiabWeight" class="tsd-anchor"></a><h3 class="tsd-anchor-link">scaled<wbr/>Init<wbr/>Liab<wbr/>Weight<a href="#scaledInitLiabWeight" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">scaled<wbr/>Init<wbr/>Liab<wbr/>Weight<span class="tsd-signature-symbol">(</span>price<span class="tsd-signature-symbol">: </span><a href="I80F48.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="I80F48.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Implementation of <a href="../interfaces/BankForHealth.html">BankForHealth</a>.<a href="../interfaces/BankForHealth.html#scaledInitLiabWeight">scaledInitLiabWeight</a></p><ul><li>Defined in <a href="https://github.com/blockworks-foundation/mango-v4/blob/5a70917/ts/client/src/accounts/bank.ts#L342">accounts/bank.ts:342</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>price: <a href="I80F48.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48</a></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="I80F48.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="toString" class="tsd-anchor"></a><h3 class="tsd-anchor-link">to<wbr/>String<a href="#toString" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">to<wbr/>String<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/blockworks-foundation/mango-v4/blob/5a70917/ts/client/src/accounts/bank.ts#L251">accounts/bank.ts:251</a></li></ul></aside><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="uiBorrows" class="tsd-anchor"></a><h3 class="tsd-anchor-link">ui<wbr/>Borrows<a href="#uiBorrows" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">ui<wbr/>Borrows<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/blockworks-foundation/mango-v4/blob/5a70917/ts/client/src/accounts/bank.ts#L406">accounts/bank.ts:406</a></li></ul></aside><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="uiDeposits" class="tsd-anchor"></a><h3 class="tsd-anchor-link">ui<wbr/>Deposits<a href="#uiDeposits" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">ui<wbr/>Deposits<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/blockworks-foundation/mango-v4/blob/5a70917/ts/client/src/accounts/bank.ts#L399">accounts/bank.ts:399</a></li></ul></aside><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static"><a id="from" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="tsd-flag ts-flagStatic">Static</span> from<a href="#from" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static"><li class="tsd-signature tsd-kind-icon">from<span class="tsd-signature-symbol">(</span>publicKey<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">PublicKey</span>, obj<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span>adjustmentFactor<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a><span class="tsd-signature-symbol">; </span>avgUtilization<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a><span class="tsd-signature-symbol">; </span>bankNum<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>bankRateLastUpdated<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BN</span><span class="tsd-signature-symbol">; </span>borrowIndex<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a><span class="tsd-signature-symbol">; </span>borrowWeightScaleStartQuote<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>collectedFeesNative<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a><span class="tsd-signature-symbol">; </span>depositIndex<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a><span class="tsd-signature-symbol">; </span>depositWeightScaleStartQuote<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>dust<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a><span class="tsd-signature-symbol">; </span>flashLoanApprovedAmount<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BN</span><span class="tsd-signature-symbol">; </span>flashLoanTokenAccountInitial<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BN</span><span class="tsd-signature-symbol">; </span>forceClose<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>group<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">PublicKey</span><span class="tsd-signature-symbol">; </span>indexLastUpdated<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BN</span><span class="tsd-signature-symbol">; </span>indexedBorrows<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a><span class="tsd-signature-symbol">; </span>indexedDeposits<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a><span class="tsd-signature-symbol">; </span>initAssetWeight<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a><span class="tsd-signature-symbol">; </span>initLiabWeight<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a><span class="tsd-signature-symbol">; </span>lastNetBorrowsWindowStartTs<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BN</span><span class="tsd-signature-symbol">; </span>liquidationFee<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a><span class="tsd-signature-symbol">; </span>loanFeeRate<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a><span class="tsd-signature-symbol">; </span>loanOriginationFeeRate<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a><span class="tsd-signature-symbol">; </span>maintAssetWeight<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a><span class="tsd-signature-symbol">; </span>maintLiabWeight<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a><span class="tsd-signature-symbol">; </span>maxRate<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a><span class="tsd-signature-symbol">; </span>minVaultToDepositsRatio<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>mint<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">PublicKey</span><span class="tsd-signature-symbol">; </span>mintDecimals<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>netBorrowLimitPerWindowQuote<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BN</span><span class="tsd-signature-symbol">; </span>netBorrowLimitWindowSizeTs<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BN</span><span class="tsd-signature-symbol">; </span>netBorrowsInWindow<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BN</span><span class="tsd-signature-symbol">; </span>oracle<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">PublicKey</span><span class="tsd-signature-symbol">; </span>oracleConfig<span class="tsd-signature-symbol">: </span><a href="../index.html#OracleConfigDto" class="tsd-signature-type" data-tsd-kind="Type alias">OracleConfigDto</a><span class="tsd-signature-symbol">; </span>rate0<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a><span class="tsd-signature-symbol">; </span>rate1<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a><span class="tsd-signature-symbol">; </span>reduceOnly<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>stablePriceModel<span class="tsd-signature-symbol">: </span><a href="../index.html#StablePriceModel" class="tsd-signature-type" data-tsd-kind="Type alias">StablePriceModel</a><span class="tsd-signature-symbol">; </span>tokenIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>util0<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a><span class="tsd-signature-symbol">; </span>util1<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a><span class="tsd-signature-symbol">; </span>vault<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">PublicKey</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Bank.html" class="tsd-signature-type" data-tsd-kind="Class">Bank</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/blockworks-foundation/mango-v4/blob/5a70917/ts/client/src/accounts/bank.ts#L78">accounts/bank.ts:78</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>publicKey: <span class="tsd-signature-type">PublicKey</span></h5></li><li><h5>obj: <span class="tsd-signature-symbol">{ </span>adjustmentFactor<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a><span class="tsd-signature-symbol">; </span>avgUtilization<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a><span class="tsd-signature-symbol">; </span>bankNum<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>bankRateLastUpdated<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BN</span><span class="tsd-signature-symbol">; </span>borrowIndex<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a><span class="tsd-signature-symbol">; </span>borrowWeightScaleStartQuote<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>collectedFeesNative<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a><span class="tsd-signature-symbol">; </span>depositIndex<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a><span class="tsd-signature-symbol">; </span>depositWeightScaleStartQuote<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>dust<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a><span class="tsd-signature-symbol">; </span>flashLoanApprovedAmount<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BN</span><span class="tsd-signature-symbol">; </span>flashLoanTokenAccountInitial<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BN</span><span class="tsd-signature-symbol">; </span>forceClose<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>group<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">PublicKey</span><span class="tsd-signature-symbol">; </span>indexLastUpdated<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BN</span><span class="tsd-signature-symbol">; </span>indexedBorrows<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a><span class="tsd-signature-symbol">; </span>indexedDeposits<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a><span class="tsd-signature-symbol">; </span>initAssetWeight<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a><span class="tsd-signature-symbol">; </span>initLiabWeight<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a><span class="tsd-signature-symbol">; </span>lastNetBorrowsWindowStartTs<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BN</span><span class="tsd-signature-symbol">; </span>liquidationFee<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a><span class="tsd-signature-symbol">; </span>loanFeeRate<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a><span class="tsd-signature-symbol">; </span>loanOriginationFeeRate<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a><span class="tsd-signature-symbol">; </span>maintAssetWeight<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a><span class="tsd-signature-symbol">; </span>maintLiabWeight<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a><span class="tsd-signature-symbol">; </span>maxRate<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a><span class="tsd-signature-symbol">; </span>minVaultToDepositsRatio<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>mint<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">PublicKey</span><span class="tsd-signature-symbol">; </span>mintDecimals<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>netBorrowLimitPerWindowQuote<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BN</span><span class="tsd-signature-symbol">; </span>netBorrowLimitWindowSizeTs<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BN</span><span class="tsd-signature-symbol">; </span>netBorrowsInWindow<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BN</span><span class="tsd-signature-symbol">; </span>oracle<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">PublicKey</span><span class="tsd-signature-symbol">; </span>oracleConfig<span class="tsd-signature-symbol">: </span><a href="../index.html#OracleConfigDto" class="tsd-signature-type" data-tsd-kind="Type alias">OracleConfigDto</a><span class="tsd-signature-symbol">; </span>rate0<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a><span class="tsd-signature-symbol">; </span>rate1<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a><span class="tsd-signature-symbol">; </span>reduceOnly<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>stablePriceModel<span class="tsd-signature-symbol">: </span><a href="../index.html#StablePriceModel" class="tsd-signature-type" data-tsd-kind="Type alias">StablePriceModel</a><span class="tsd-signature-symbol">; </span>tokenIndex<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>util0<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a><span class="tsd-signature-symbol">; </span>util1<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a><span class="tsd-signature-symbol">; </span>vault<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">PublicKey</span><span class="tsd-signature-symbol"> }</span></h5><ul class="tsd-parameters"><li class="tsd-parameter"><h5>adjustment<wbr/>Factor<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a></h5></li><li class="tsd-parameter"><h5>avg<wbr/>Utilization<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a></h5></li><li class="tsd-parameter"><h5>bank<wbr/>Num<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li><li class="tsd-parameter"><h5>bank<wbr/>Rate<wbr/>Last<wbr/>Updated<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BN</span></h5></li><li class="tsd-parameter"><h5>borrow<wbr/>Index<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a></h5></li><li class="tsd-parameter"><h5>borrow<wbr/>Weight<wbr/>Scale<wbr/>Start<wbr/>Quote<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li><li class="tsd-parameter"><h5>collected<wbr/>Fees<wbr/>Native<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a></h5></li><li class="tsd-parameter"><h5>deposit<wbr/>Index<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a></h5></li><li class="tsd-parameter"><h5>deposit<wbr/>Weight<wbr/>Scale<wbr/>Start<wbr/>Quote<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li><li class="tsd-parameter"><h5>dust<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a></h5></li><li class="tsd-parameter"><h5>flash<wbr/>Loan<wbr/>Approved<wbr/>Amount<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BN</span></h5></li><li class="tsd-parameter"><h5>flash<wbr/>Loan<wbr/>Token<wbr/>Account<wbr/>Initial<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BN</span></h5></li><li class="tsd-parameter"><h5>force<wbr/>Close<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li><li class="tsd-parameter"><h5>group<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">PublicKey</span></h5></li><li class="tsd-parameter"><h5>index<wbr/>Last<wbr/>Updated<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BN</span></h5></li><li class="tsd-parameter"><h5>indexed<wbr/>Borrows<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a></h5></li><li class="tsd-parameter"><h5>indexed<wbr/>Deposits<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a></h5></li><li class="tsd-parameter"><h5>init<wbr/>Asset<wbr/>Weight<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a></h5></li><li class="tsd-parameter"><h5>init<wbr/>Liab<wbr/>Weight<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a></h5></li><li class="tsd-parameter"><h5>last<wbr/>Net<wbr/>Borrows<wbr/>Window<wbr/>Start<wbr/>Ts<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BN</span></h5></li><li class="tsd-parameter"><h5>liquidation<wbr/>Fee<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a></h5></li><li class="tsd-parameter"><h5>loan<wbr/>Fee<wbr/>Rate<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a></h5></li><li class="tsd-parameter"><h5>loan<wbr/>Origination<wbr/>Fee<wbr/>Rate<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a></h5></li><li class="tsd-parameter"><h5>maint<wbr/>Asset<wbr/>Weight<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a></h5></li><li class="tsd-parameter"><h5>maint<wbr/>Liab<wbr/>Weight<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a></h5></li><li class="tsd-parameter"><h5>max<wbr/>Rate<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a></h5></li><li class="tsd-parameter"><h5>min<wbr/>Vault<wbr/>To<wbr/>Deposits<wbr/>Ratio<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li><li class="tsd-parameter"><h5>mint<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">PublicKey</span></h5></li><li class="tsd-parameter"><h5>mint<wbr/>Decimals<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li><li class="tsd-parameter"><h5>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h5></li><li class="tsd-parameter"><h5>net<wbr/>Borrow<wbr/>Limit<wbr/>Per<wbr/>Window<wbr/>Quote<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BN</span></h5></li><li class="tsd-parameter"><h5>net<wbr/>Borrow<wbr/>Limit<wbr/>Window<wbr/>Size<wbr/>Ts<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BN</span></h5></li><li class="tsd-parameter"><h5>net<wbr/>Borrows<wbr/>In<wbr/>Window<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BN</span></h5></li><li class="tsd-parameter"><h5>oracle<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">PublicKey</span></h5></li><li class="tsd-parameter"><h5>oracle<wbr/>Config<span class="tsd-signature-symbol">: </span><a href="../index.html#OracleConfigDto" class="tsd-signature-type" data-tsd-kind="Type alias">OracleConfigDto</a></h5></li><li class="tsd-parameter"><h5>rate0<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a></h5></li><li class="tsd-parameter"><h5>rate1<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a></h5></li><li class="tsd-parameter"><h5>reduce<wbr/>Only<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li><li class="tsd-parameter"><h5>stable<wbr/>Price<wbr/>Model<span class="tsd-signature-symbol">: </span><a href="../index.html#StablePriceModel" class="tsd-signature-type" data-tsd-kind="Type alias">StablePriceModel</a></h5></li><li class="tsd-parameter"><h5>token<wbr/>Index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li><li class="tsd-parameter"><h5>util0<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a></h5></li><li class="tsd-parameter"><h5>util1<span class="tsd-signature-symbol">: </span><a href="I80F48Dto.html" class="tsd-signature-type" data-tsd-kind="Class">I80F48Dto</a></h5></li><li class="tsd-parameter"><h5>vault<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">PublicKey</span></h5></li></ul></li></ul><h4 class="tsd-returns-title">Returns <a href="Bank.html" class="tsd-signature-type" data-tsd-kind="Class">Bank</a></h4></li></ul></section></section></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class=""><a href="../index.html">Exports</a></li></ul></nav><nav class="tsd-navigation secondary menu-sticky"><ul><li class="current tsd-kind-class"><a href="Bank.html" class="tsd-kind-icon">Bank</a><ul><li class="tsd-kind-constructor tsd-parent-kind-class"><a href="Bank.html#constructor" class="tsd-kind-icon">constructor</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#_oracleLastUpdatedSlot" class="tsd-kind-icon">_oracle<wbr/>Last<wbr/>Updated<wbr/>Slot</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#_oracleProvider" class="tsd-kind-icon">_oracle<wbr/>Provider</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#_price" class="tsd-kind-icon">_price</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#_uiPrice" class="tsd-kind-icon">_ui<wbr/>Price</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#adjustmentFactor" class="tsd-kind-icon">adjustment<wbr/>Factor</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#avgUtilization" class="tsd-kind-icon">avg<wbr/>Utilization</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#bankNum" class="tsd-kind-icon">bank<wbr/>Num</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#bankRateLastUpdated" class="tsd-kind-icon">bank<wbr/>Rate<wbr/>Last<wbr/>Updated</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#borrowIndex" class="tsd-kind-icon">borrow<wbr/>Index</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#borrowWeightScaleStartQuote" class="tsd-kind-icon">borrow<wbr/>Weight<wbr/>Scale<wbr/>Start<wbr/>Quote</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#collectedFeesNative" class="tsd-kind-icon">collected<wbr/>Fees<wbr/>Native</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#depositIndex" class="tsd-kind-icon">deposit<wbr/>Index</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#depositWeightScaleStartQuote" class="tsd-kind-icon">deposit<wbr/>Weight<wbr/>Scale<wbr/>Start<wbr/>Quote</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#dust" class="tsd-kind-icon">dust</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#forceClose" class="tsd-kind-icon">force<wbr/>Close</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#group" class="tsd-kind-icon">group</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#indexLastUpdated" class="tsd-kind-icon">index<wbr/>Last<wbr/>Updated</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#indexedBorrows" class="tsd-kind-icon">indexed<wbr/>Borrows</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#indexedDeposits" class="tsd-kind-icon">indexed<wbr/>Deposits</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#initAssetWeight" class="tsd-kind-icon">init<wbr/>Asset<wbr/>Weight</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#initLiabWeight" class="tsd-kind-icon">init<wbr/>Liab<wbr/>Weight</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#lastNetBorrowsWindowStartTs" class="tsd-kind-icon">last<wbr/>Net<wbr/>Borrows<wbr/>Window<wbr/>Start<wbr/>Ts</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#liquidationFee" class="tsd-kind-icon">liquidation<wbr/>Fee</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#loanFeeRate" class="tsd-kind-icon">loan<wbr/>Fee<wbr/>Rate</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#loanOriginationFeeRate" class="tsd-kind-icon">loan<wbr/>Origination<wbr/>Fee<wbr/>Rate</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#maintAssetWeight" class="tsd-kind-icon">maint<wbr/>Asset<wbr/>Weight</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#maintLiabWeight" class="tsd-kind-icon">maint<wbr/>Liab<wbr/>Weight</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#maxRate" class="tsd-kind-icon">max<wbr/>Rate</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#minVaultToDepositsRatio" class="tsd-kind-icon">min<wbr/>Vault<wbr/>To<wbr/>Deposits<wbr/>Ratio</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#mint" class="tsd-kind-icon">mint</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#mintDecimals" class="tsd-kind-icon">mint<wbr/>Decimals</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#name" class="tsd-kind-icon">name</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#netBorrowLimitPerWindowQuote" class="tsd-kind-icon">net<wbr/>Borrow<wbr/>Limit<wbr/>Per<wbr/>Window<wbr/>Quote</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#netBorrowLimitWindowSizeTs" class="tsd-kind-icon">net<wbr/>Borrow<wbr/>Limit<wbr/>Window<wbr/>Size<wbr/>Ts</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#netBorrowsInWindow" class="tsd-kind-icon">net<wbr/>Borrows<wbr/>In<wbr/>Window</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#oracle" class="tsd-kind-icon">oracle</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#oracleConfig" class="tsd-kind-icon">oracle<wbr/>Config</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#publicKey" class="tsd-kind-icon">public<wbr/>Key</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#rate0" class="tsd-kind-icon">rate0</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#rate1" class="tsd-kind-icon">rate1</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#reduceOnly" class="tsd-kind-icon">reduce<wbr/>Only</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#stablePriceModel" class="tsd-kind-icon">stable<wbr/>Price<wbr/>Model</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#tokenIndex" class="tsd-kind-icon">token<wbr/>Index</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#util0" class="tsd-kind-icon">util0</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#util1" class="tsd-kind-icon">util1</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="Bank.html#vault" class="tsd-kind-icon">vault</a></li><li class="tsd-kind-get-signature tsd-parent-kind-class"><a href="Bank.html#oracleLastUpdatedSlot" class="tsd-kind-icon">oracle<wbr/>Last<wbr/>Updated<wbr/>Slot</a></li><li class="tsd-kind-get-signature tsd-parent-kind-class"><a href="Bank.html#oracleProvider" class="tsd-kind-icon">oracle<wbr/>Provider</a></li><li class="tsd-kind-get-signature tsd-parent-kind-class"><a href="Bank.html#price" class="tsd-kind-icon">price</a></li><li class="tsd-kind-get-signature tsd-parent-kind-class"><a href="Bank.html#uiPrice" class="tsd-kind-icon">ui<wbr/>Price</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="Bank.html#areBorrowsReduceOnly" class="tsd-kind-icon">are<wbr/>Borrows<wbr/>Reduce<wbr/>Only</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="Bank.html#areDepositsReduceOnly" class="tsd-kind-icon">are<wbr/>Deposits<wbr/>Reduce<wbr/>Only</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="Bank.html#getBorrowRate" class="tsd-kind-icon">get<wbr/>Borrow<wbr/>Rate</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="Bank.html#getBorrowRateUi" class="tsd-kind-icon">get<wbr/>Borrow<wbr/>Rate<wbr/>Ui</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="Bank.html#getBorrowRateWithoutUpkeepRate" class="tsd-kind-icon">get<wbr/>Borrow<wbr/>Rate<wbr/>Without<wbr/>Upkeep<wbr/>Rate</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="Bank.html#getDepositRate" class="tsd-kind-icon">get<wbr/>Deposit<wbr/>Rate</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="Bank.html#getDepositRateUi" class="tsd-kind-icon">get<wbr/>Deposit<wbr/>Rate<wbr/>Ui</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="Bank.html#nativeBorrows" class="tsd-kind-icon">native<wbr/>Borrows</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="Bank.html#nativeDeposits" class="tsd-kind-icon">native<wbr/>Deposits</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="Bank.html#scaledInitAssetWeight" class="tsd-kind-icon">scaled<wbr/>Init<wbr/>Asset<wbr/>Weight</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="Bank.html#scaledInitLiabWeight" class="tsd-kind-icon">scaled<wbr/>Init<wbr/>Liab<wbr/>Weight</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="Bank.html#toString" class="tsd-kind-icon">to<wbr/>String</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="Bank.html#uiBorrows" class="tsd-kind-icon">ui<wbr/>Borrows</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="Bank.html#uiDeposits" class="tsd-kind-icon">ui<wbr/>Deposits</a></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="Bank.html#from" class="tsd-kind-icon">from</a></li></ul></li></ul></nav></div></div></div><footer class="with-border-bottom"><div class="container"><h2>Legend</h2><div class="tsd-legend-group"><ul class="tsd-legend"><li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li><li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li><li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li><li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li></ul></div><h2>Settings</h2><p>Theme <select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></p></div></footer><div class="container tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div><script src="../assets/main.js"></script></body></html>