5 txs
6 calls
constructor
No constructor.
functions
approvedTransferors
viewfunction approvedTransferors(address, address) view returns (bool)
auctionInfo
viewfunction auctionInfo(address borrower_) view returns (address kicker_, uint256 bondFactor_, uint256 bondSize_, uint256 kickTime_, uint256 referencePrice_, uint256 neutralPrice_, uint256 debtToCollateral_, address head_, address next_, address prev_)
borrowerInfo
viewfunction borrowerInfo(address borrower_) view returns (uint256, uint256, uint256)
bucketCollateralDust
purefunction bucketCollateralDust(uint256 bucketIndex_) pure returns (uint256)
bucketExchangeRate
viewfunction bucketExchangeRate(uint256 index_) view returns (uint256 exchangeRate_)
bucketInfo
viewfunction bucketInfo(uint256 index_) view returns (uint256, uint256, uint256, uint256, uint256)
burnInfo
viewfunction burnInfo(uint256 burnEventEpoch_) view returns (uint256, uint256, uint256)
collateralAddress
purefunction collateralAddress() pure returns (address)
collateralScale
purefunction collateralScale() pure returns (uint256)
currentBurnEpoch
viewfunction currentBurnEpoch() view returns (uint256)
debtInfo
viewfunction debtInfo() view returns (uint256, uint256, uint256, uint256)
depositIndex
viewfunction depositIndex(uint256 debt_) view returns (uint256)
depositScale
viewfunction depositScale(uint256 index_) view returns (uint256)
depositSize
viewfunction depositSize() view returns (uint256)
depositUpToIndex
viewfunction depositUpToIndex(uint256 index_) view returns (uint256)
depositUtilization
viewfunction depositUtilization() view returns (uint256)
emasInfo
viewfunction emasInfo() view returns (uint256, uint256, uint256, uint256)
flashFee
viewfunction flashFee(address token_, uint256) view returns (uint256)
inflatorInfo
viewfunction inflatorInfo() view returns (uint256, uint256)
interestRateInfo
viewfunction interestRateInfo() view returns (uint256, uint256)
kickerInfo
viewfunction kickerInfo(address kicker_) view returns (uint256, uint256)
lenderInfo
viewfunction lenderInfo(uint256 index_, address lender_) view returns (uint256 lpBalance_, uint256 depositTime_)
loanInfo
viewfunction loanInfo(uint256 loanId_) view returns (address, uint256)
loansInfo
viewfunction loansInfo() view returns (address, uint256, uint256)
lpAllowance
viewfunction lpAllowance(uint256 index_, address spender_, address owner_) view returns (uint256 allowance_)
maxFlashLoan
viewfunction maxFlashLoan(address token_) view returns (uint256 maxLoan_)
pledgedCollateral
viewfunction pledgedCollateral() view returns (uint256)
poolType
purefunction poolType() pure returns (uint8)
quoteTokenAddress
purefunction quoteTokenAddress() pure returns (address)
quoteTokenScale
purefunction quoteTokenScale() pure returns (uint256)
reservesInfo
viewfunction reservesInfo() view returns (uint256, uint256, uint256, uint256, uint256)
totalAuctionsInPool
viewfunction totalAuctionsInPool() view returns (uint256)
totalT0Debt
viewfunction totalT0Debt() view returns (uint256)
totalT0DebtInAuction
viewfunction totalT0DebtInAuction() view returns (uint256)
addCollateral
nonpayablefunction addCollateral(uint256 amountToAdd_, uint256 index_, uint256 expiry_) returns (uint256 bucketLP_)
addQuoteToken
nonpayablefunction addQuoteToken(uint256 amount_, uint256 index_, uint256 expiry_) returns (uint256 bucketLP_, uint256 addedAmount_)
approveLPTransferors
nonpayablefunction approveLPTransferors(address[] transferors_)
bucketTake
nonpayablefunction bucketTake(address borrowerAddress_, bool depositTake_, uint256 index_)
decreaseLPAllowance
nonpayablefunction decreaseLPAllowance(address spender_, uint256[] indexes_, uint256[] amounts_)
drawDebt
nonpayablefunction drawDebt(address borrowerAddress_, uint256 amountToBorrow_, uint256 limitIndex_, uint256 collateralToPledge_)
flashLoan
nonpayablefunction flashLoan(address receiver_, address token_, uint256 amount_, bytes data_) returns (bool)
increaseLPAllowance
nonpayablefunction increaseLPAllowance(address spender_, uint256[] indexes_, uint256[] amounts_)
initialize
nonpayablefunction initialize(uint256 rate_)
kick
nonpayablefunction kick(address borrower_, uint256 npLimitIndex_)
kickReserveAuction
nonpayablefunction kickReserveAuction()
lenderKick
nonpayablefunction lenderKick(uint256 index_, uint256 npLimitIndex_)
moveQuoteToken
nonpayablefunction moveQuoteToken(uint256 maxAmount_, uint256 fromIndex_, uint256 toIndex_, uint256 expiry_) returns (uint256 fromBucketLP_, uint256 toBucketLP_, uint256 movedAmount_)
multicall
nonpayablefunction multicall(bytes[] data) returns (bytes[] results)
removeCollateral
nonpayablefunction removeCollateral(uint256 maxAmount_, uint256 index_) returns (uint256 removedAmount_, uint256 redeemedLP_)
removeQuoteToken
nonpayablefunction removeQuoteToken(uint256 maxAmount_, uint256 index_) returns (uint256 removedAmount_, uint256 redeemedLP_)
repayDebt
nonpayablefunction repayDebt(address borrowerAddress_, uint256 maxQuoteTokenAmountToRepay_, uint256 collateralAmountToPull_, address collateralReceiver_, uint256 limitIndex_) returns (uint256 amountRepaid_)
revokeLPAllowance
nonpayablefunction revokeLPAllowance(address spender_, uint256[] indexes_)
revokeLPTransferors
nonpayablefunction revokeLPTransferors(address[] transferors_)
settle
nonpayablefunction settle(address borrowerAddress_, uint256 maxDepth_) returns (uint256 collateralSettled_, bool isBorrowerSettled_)
stampLoan
nonpayablefunction stampLoan()
take
nonpayablefunction take(address borrowerAddress_, uint256 maxAmount_, address callee_, bytes data_) returns (uint256 collateralTaken_)
takeReserves
nonpayablefunction takeReserves(uint256 maxAmount_) returns (uint256 amount_)
transferLP
nonpayablefunction transferLP(address owner_, address newOwner_, uint256[] indexes_)
updateInterest
nonpayablefunction updateInterest()
withdrawBonds
nonpayablefunction withdrawBonds(address recipient_, uint256 maxAmount_) returns (uint256 withdrawnAmount_)
events
AddCollateral
event AddCollateral(address indexed actor, uint256 indexed index, uint256 amount, uint256 lpAwarded)
AddQuoteToken
event AddQuoteToken(address indexed lender, uint256 indexed index, uint256 amount, uint256 lpAwarded, uint256 lup)
ApproveLPTransferors
event ApproveLPTransferors(address indexed lender, address[] transferors)
AuctionNFTSettle
event AuctionNFTSettle(address indexed borrower, uint256 collateral, uint256 lp, uint256 index)
AuctionSettle
event AuctionSettle(address indexed borrower, uint256 collateral)
BondWithdrawn
event BondWithdrawn(address indexed kicker, address indexed reciever, uint256 amount)
BucketBankruptcy
event BucketBankruptcy(uint256 indexed index, uint256 lpForfeited)
BucketTake
event BucketTake(address indexed borrower, uint256 index, uint256 amount, uint256 collateral, uint256 bondChange, bool isReward)
BucketTakeLPAwarded
event BucketTakeLPAwarded(address indexed taker, address indexed kicker, uint256 lpAwardedTaker, uint256 lpAwardedKicker)
DecreaseLPAllowance
event DecreaseLPAllowance(address indexed owner, address indexed spender, uint256[] indexes, uint256[] amounts)
DrawDebt
event DrawDebt(address indexed borrower, uint256 amountBorrowed, uint256 collateralPledged, uint256 lup)
Flashloan
event Flashloan(address indexed receiver, address indexed token, uint256 amount)
IncreaseLPAllowance
event IncreaseLPAllowance(address indexed owner, address indexed spender, uint256[] indexes, uint256[] amounts)
InterestUpdateFailure
event InterestUpdateFailure()
Kick
event Kick(address indexed borrower, uint256 debt, uint256 collateral, uint256 bond)
KickReserveAuction
event KickReserveAuction(uint256 claimableReservesRemaining, uint256 auctionPrice, uint256 currentBurnEpoch)
LoanStamped
event LoanStamped(address indexed borrower)
MoveQuoteToken
event MoveQuoteToken(address indexed lender, uint256 indexed from, uint256 indexed to, uint256 amount, uint256 lpRedeemedFrom, uint256 lpAwardedTo, uint256 lup)
RemoveCollateral
event RemoveCollateral(address indexed claimer, uint256 indexed index, uint256 amount, uint256 lpRedeemed)
RemoveQuoteToken
event RemoveQuoteToken(address indexed lender, uint256 indexed index, uint256 amount, uint256 lpRedeemed, uint256 lup)
RepayDebt
event RepayDebt(address indexed borrower, uint256 quoteRepaid, uint256 collateralPulled, uint256 lup)
ReserveAuction
event ReserveAuction(uint256 claimableReservesRemaining, uint256 auctionPrice, uint256 currentBurnEpoch)
ResetInterestRate
event ResetInterestRate(uint256 oldRate, uint256 newRate)
RevokeLPAllowance
event RevokeLPAllowance(address indexed owner, address indexed spender, uint256[] indexes)
RevokeLPTransferors
event RevokeLPTransferors(address indexed lender, address[] transferors)
Settle
event Settle(address indexed borrower, uint256 settledDebt)
Take
event Take(address indexed borrower, uint256 amount, uint256 collateral, uint256 bondChange, bool isReward)
TransferLP
event TransferLP(address owner, address newOwner, uint256[] indexes, uint256 lp)
UpdateInterestRate
event UpdateInterestRate(uint256 oldRate, uint256 newRate)
errors
AddAboveAuctionPrice
error AddAboveAuctionPrice()
AddAboveAuctionPrice
error AddAboveAuctionPrice()
AlreadyInitialized
error AlreadyInitialized()
AmountLTMinDebt
error AmountLTMinDebt()
AuctionActive
error AuctionActive()
AuctionActive
error AuctionActive()
AuctionNotClearable
error AuctionNotClearable()
AuctionNotCleared
error AuctionNotCleared()
AuctionNotCleared
error AuctionNotCleared()
AuctionNotTakeable
error AuctionNotTakeable()
AuctionPriceGtBucketPrice
error AuctionPriceGtBucketPrice()
BorrowerNotSender
error BorrowerNotSender()
BorrowerOk
error BorrowerOk()
BorrowerUnderCollateralized
error BorrowerUnderCollateralized()
BucketBankruptcyBlock
error BucketBankruptcyBlock()
BucketIndexOutOfBounds
error BucketIndexOutOfBounds()
CannotMergeToHigherPrice
error CannotMergeToHigherPrice()
DustAmountNotExceeded
error DustAmountNotExceeded()
FlashloanCallbackFailed
error FlashloanCallbackFailed()
FlashloanIncorrectBalance
error FlashloanIncorrectBalance()
FlashloanUnavailableForToken
error FlashloanUnavailableForToken()
InsufficientCollateral
error InsufficientCollateral()
InsufficientLiquidity
error InsufficientLiquidity()
InsufficientLP
error InsufficientLP()
InvalidAllowancesInput
error InvalidAllowancesInput()
InvalidAmount
error InvalidAmount()
InvalidIndex
error InvalidIndex()
LimitIndexExceeded
error LimitIndexExceeded()
LUPBelowHTP
error LUPBelowHTP()
MoveToSameIndex
error MoveToSameIndex()
NoAllowance
error NoAllowance()
NoAuction
error NoAuction()
NoClaim
error NoClaim()
NoDebt
error NoDebt()
NoReserves
error NoReserves()
NoReservesAuction
error NoReservesAuction()
PRBMath__MulDivFixedPointOverflow
error PRBMath__MulDivFixedPointOverflow(uint256 prod1)
PRBMath__MulDivOverflow
error PRBMath__MulDivOverflow(uint256 prod1, uint256 denominator)
PRBMathSD59x18__DivInputTooSmall
error PRBMathSD59x18__DivInputTooSmall()
PRBMathSD59x18__DivOverflow
error PRBMathSD59x18__DivOverflow(uint256 rAbs)
PRBMathSD59x18__Exp2InputTooBig
error PRBMathSD59x18__Exp2InputTooBig(int256 x)
PRBMathSD59x18__FromIntOverflow
error PRBMathSD59x18__FromIntOverflow(int256 x)
PRBMathSD59x18__FromIntUnderflow
error PRBMathSD59x18__FromIntUnderflow(int256 x)
PRBMathSD59x18__LogInputTooSmall
error PRBMathSD59x18__LogInputTooSmall(int256 x)
PRBMathSD59x18__MulInputTooSmall
error PRBMathSD59x18__MulInputTooSmall()
PRBMathSD59x18__MulOverflow
error PRBMathSD59x18__MulOverflow(uint256 rAbs)
PRBMathSD59x18__SqrtNegativeInput
error PRBMathSD59x18__SqrtNegativeInput(int256 x)
PRBMathSD59x18__SqrtOverflow
error PRBMathSD59x18__SqrtOverflow(int256 x)
PriceBelowLUP
error PriceBelowLUP()
RemoveDepositLockedByAuctionDebt
error RemoveDepositLockedByAuctionDebt()
RemoveDepositLockedByAuctionDebt
error RemoveDepositLockedByAuctionDebt()
ReserveAuctionTooSoon
error ReserveAuctionTooSoon()
TransactionExpired
error TransactionExpired()
TransactionExpired
error TransactionExpired()
TransferorNotApproved
error TransferorNotApproved()
TransferToSameOwner
error TransferToSameOwner()
ZeroDebtToCollateral
error ZeroDebtToCollateral()
creation bytecode
0x6100b63d81600a3d39f33d3d3d3d363d3d3761007f603736393661007f013d736d8ad935511464c0343916ae8dc5641e9351288b5af43d3d93803e603557fd5bf300f0f326af3b1ed943ab95c29470730cc8cf66ae47420000000000000000000000000000000000000604d5ddf5f3a8939889f11e97f8c4bb48317f193800000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001007d