Classes

BelowMinimumDebt
CollateralWithdrawalBlocked
ContractCallFailed
DeploymentVerificationFailed
ExceedsBorrowingCapacity
ICRBelowMCR
InsufficientCollateral
InsufficientMusdBalance
InvalidAddressOverride
InvalidAdjustment
InvalidAmount
LastTroveInSystem
MaxFeeExceeded
MismatchedDeployment
MissingWalletClient
MusdError
NothingToLiquidate
OracleStale
RecoveryModeRestriction
RedemptionBreachesDebtFloor
RedemptionFailed
RedemptionPriceFragile
RepayExceedsDebt
StaleHint
SystemRatioBelowCCR
TroveAlreadyExists
TroveNotFound
Unauthorized
UnsupportedChain

Interfaces

AccruedInterestParams
AdjustPreview
AdjustTroveParams
BorrowingCapacity
BorrowingPower
BorrowParams
BorrowPreview
ClaimResult
ClosePreview
ComputeEntireDebtParams
ComputeHintsParams
ComputeICRParams
ComputeLiquidationPriceParams
ComputeNICRParams
CreateMusdClientParams
DrawForMarginParams
DrawMargin
EligibleTrove
EvaluateAdjustInput
EvaluateBorrowInput
EvaluateCloseInput
EvaluateOpenInput
EvaluateRedeemInput
EvaluateRefinanceInput
GetBorrowingPowerParams
GovernableConstants
Hints
IsTroveLiquidatableParams
MarginDraw
MaxWithdrawable
MusdClient
MusdContracts
OpenPreview
OpenTroveParams
PartialRedemption
PreviewAdjustParams
PreviewBorrowParams
PreviewOpenParams
PreviewRedeemParams
RedeemParams
RedeemResult
RedemptionEstimateBeforeSend
RedemptionPreview
RefinancePreview
SettledRedemption
SystemState
Trove
TroveAmounts
WriteDiagnosis
WriteResult

Type Aliases

AdjustBlockReason
BorrowBlockReason
CloseBlockReason
EntireDebtAndColl
FixedConstants
GasDecision
MusdAddresses
MusdConstants
MusdContractName
MusdErrorCode
OpenBlockReason
RedeemBlockReason
RefinanceBlockReason
SupportedChainId
TroveStatus
WriteFailureKind

Variables

ALL_MUSD_ERROR_CODES
BPS_DIVISOR
CCR
DECIMAL_PRECISION
DEFAULT_CONSTANTS_TTL_MS
DEFAULT_GAS_MARGIN_PERCENT
DEFAULT_HINT_RANDOM_SEED
DEFAULT_REDEMPTION_MAX_ITERATIONS
FIXED_CONSTANTS
MCR
MIN_NET_DEBT_MIN
MULTICALL3_ADDRESS
MUSD_CONTRACT_NAMES
MUSD_GAS_COMPENSATION
MusdErrorCode
NICR_PRECISION
ONE_HUNDRED_PCT
PERCENT_DIVISOR
REDEMPTION_ADVICE_MARGIN_SECONDS
REDEMPTION_PRICE_MOVE_TOLERANCE
REDEMPTION_SEND_MARGIN_SECONDS
SECONDS_PER_YEAR
SUPPORTED_CHAIN_IDS
TroveStatus

Functions

accruedInterest
capacityAfterAdjustment
computeEntireDebt
computeHints
computeICR
computeLiquidationPrice
computeMaxWithdrawable
computeNICR
createContracts
createMusdClient
diagnoseRevertedWrite
drawForMargin
effectiveBorrowingFee
estimateCollateralDrawn
evaluateAdjust
evaluateBorrow
evaluateClose
evaluateOpen
evaluateRedeem
evaluateRefinance
exceedsRateCap
formatBtc
formatMusd
getAddresses
getBorrowingCapacity
getBorrowingPower
getHealthFactor
hasAddressOverride
isBorrowingFeeCharged
isSupportedChainId
isTroveLiquidatable
mapRevert
maxBorrowingCapacityAt
maxWithdrawableCollateral
netDebtOf
parseBps
parseBtc
parseMusd
partialRedemptionBand
previewAdjustTrove
previewBorrow
previewClose
previewOpen
previewRedeem
previewRefinance
previewWithdrawCollateral
revertReason
settledRedemptionFrom
trialsForSize
troveAmounts
withGasMargin