FraxlendPair
Verified contract
Active on
Ethereum with 9,198 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
18 additional
variables
Balances ($79,199,081.06)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
sfrxETH | ERC-20 | 22.121397K | $3,422.02 |
$75,699,862.97 | |
FRAX | ERC-20 | 3.51776M | $0.994729 |
$3,499,218.09 | |
HQG | ERC-20 | 0.131 | -- | -- |
Transactions
ABI
ABI objects
Getter at block 21227349
DEPLOYER_ADDRESS() view returns (address)
0xaa913c26dd7723fcae9dbd2036d28171a56c6251
DEVIATION_PRECISION() view returns (uint256)
100000
EXCHANGE_PRECISION() view returns (uint256)
1000000000000000000
FEE_PRECISION() view returns (uint256)
100000
LIQ_PRECISION() view returns (uint256)
100000
LTV_PRECISION() view returns (uint256)
100000
MAX_PROTOCOL_FEE() view returns (uint256)
50000
RATE_PRECISION() view returns (uint256)
1000000000000000000
UTIL_PREC() view returns (uint256)
100000
asset() view returns (address)
0x853d955acef822db058eb8505911ed77f175b99e
borrowLimit() view returns (uint256)
115792089237316195423570985008687907853269984665640564039457584007913129639935
circuitBreakerAddress() view returns (address)
0xfd3065c629ee890fd74f43b802c2fea4b7279b8c
cleanLiquidationFee() view returns (uint256)
10000
collateralContract() view returns (address)
0xac3e018457b222d93114458476f3e3416abbe38f
currentRateInfo() view returns (uint32 lastBlock, uint32 feeToProtocolRate, uint64 lastTimestamp, uint64 ratePerSec, uint64 fullUtilizationRate)
(lastBlock=21226248, feeToProtocolRate=0, lastTimestamp=1732073111, ratePerSec=3381049154, fullUtilizationRate=16569536372)
decimals() view returns (uint8)
18
depositLimit() view returns (uint256)
115792089237316195423570985008687907853269984665640564039457584007913129639935
dirtyLiquidationFee() view returns (uint256)
9000
exchangeRateInfo() view returns (address oracle, uint32 maxOracleDeviation, uint184 lastTimestamp, uint256 lowExchangeRate, uint256 highExchangeRate)
(oracle=0x4355903f610d0f94ee476df6e3227811ff7efee1, maxOracleDeviation=5000, lastTimestamp=1732073111, lowExchangeRate=290998186981342, highExchangeRate=293969857297424)
getConstants() pure returns (uint256 _LTV_PRECISION, uint256 _LIQ_PRECISION, uint256 _UTIL_PREC, uint256 _FEE_PRECISION, uint256 _EXCHANGE_PRECISION, uint256 _DEVIATION_PRECISION, uint256 _RATE_PRECISION, uint256 _MAX_PROTOCOL_FEE)
(_LTV_PRECISION=100000, _LIQ_PRECISION=100000, _UTIL_PREC=100000, _FEE_PRECISION=100000, _EXCHANGE_PRECISION=1000000000000000000, _DEVIATION_PRECISION=100000, _RATE_PRECISION=1000000000000000000, _MAX_PROTOCOL_FEE=50000)
getPairAccounting() view returns (uint128 _totalAssetAmount, uint128 _totalAssetShares, uint128 _totalBorrowAmount, uint128 _totalBorrowShares, uint256 _totalCollateral)
(_totalAssetAmount=24987378840665210019402039, _totalAssetShares=22759157122596376206608945, _totalBorrowAmount=21469618638950542459889239, _totalBorrowShares=19055114805424427869842388, _totalCollateral=22121397001638214567348)
isBorrowAccessControlRevoked() view returns (bool)
false
isDepositAccessControlRevoked() view returns (bool)
false
isInterestAccessControlRevoked() view returns (bool)
false
isInterestPaused() view returns (bool)
false
isLiquidateAccessControlRevoked() view returns (bool)
false
isLiquidatePaused() view returns (bool)
false
isLiquidationFeeSetterRevoked() view returns (bool)
false
isMaxLTVSetterRevoked() view returns (bool)
false
isOracleSetterRevoked() view returns (bool)
false
isRateContractSetterRevoked() view returns (bool)
false
isRepayAccessControlRevoked() view returns (bool)
false
isRepayPaused() view returns (bool)
false
isWithdrawAccessControlRevoked() view returns (bool)
false
isWithdrawPaused() view returns (bool)
false
maxLTV() view returns (uint256)
75000
name() view returns (string)
Fraxlend Interest Bearing FRAX (Staked Frax Ether) - 16
owner() view returns (address)
0x168200cf227d4543302686124ac28ae0eaf2ca0b
pendingOwner() view returns (address)
0x0000000000000000000000000000000000000000
pendingTimelockAddress() view returns (address)
0x0000000000000000000000000000000000000000
previewAddInterest() view returns (uint256 _interestEarned, uint256 _feesAmount, uint256 _feesShare, struct FraxlendPairCoreCurrentRateInfo _newCurrentRateInfo, struct VaultAccount _totalAsset, struct VaultAccount _totalBorrow)
(_interestEarned=962830118359152861693, _feesAmount=0, _feesShare=0, _newCurrentRateInfo=(21226248, 0, 1732073111, 3382215610, 16574329807), _totalAsset=(24987378840665210019402039, 22759157122596376206608945), _totalBorrow=(21469618638950542459889239, 19055114805424427869842388))
pricePerShare() view returns (uint256 _amount)
1097904404195028341
protocolLiquidationFee() view returns (uint256)
2000
rateContract() view returns (address)
0x18500cb1f2fe7a40ebda393383a0b8548a31f261
symbol() view returns (string)
fFRAX(sfrxETH)-16
timelockAddress() view returns (address)
0x8412ebf45bac1b340bbe8f318b928c466c4e39ca
totalAsset() view returns (uint128 amount, uint128 shares)
(amount=24986416010546850866540346, shares=22759157122596376206608945)
totalAssets() view returns (uint256)
24987378840665210019402039
totalBorrow() view returns (uint128 amount, uint128 shares)
(amount=21468655808832183307027546, shares=19055114805424427869842388)
totalCollateral() view returns (uint256)
22121397001638214567348
totalSupply() view returns (uint256)
22759157122596376206608945
version() pure returns (uint256 _major, uint256 _minor, uint256 _patch)
(_major=3, _minor=0, _patch=0)
Read-only
allowance(address owner, address spender) view returns (uint256)
balanceOf(address account) view returns (uint256)
convertToAssets(uint256 _shares) view returns (uint256 _assets)
convertToShares(uint256 _assets) view returns (uint256 _shares)
getUserSnapshot(address _address) view returns (uint256 _userAssetShares, uint256 _userBorrowShares, uint256 _userCollateralBalance)
maxDeposit(address _receiver) view returns (uint256 _maxAssets)
maxMint(address _receiver) view returns (uint256 _maxShares)
maxRedeem(address _owner) view returns (uint256 _maxShares)
maxWithdraw(address _owner) view returns (uint256 _maxAssets)
previewDeposit(uint256 _assets) view returns (uint256 _sharesReceived)
previewMint(uint256 _shares) view returns (uint256 _amount)
previewRedeem(uint256 _shares) view returns (uint256 _assets)
previewWithdraw(uint256 _amount) view returns (uint256 _sharesToBurn)
swappers(address) view returns (bool)
toAssetAmount(uint256 _shares, bool _roundUp, bool _previewInterest) view returns (uint256 _amount)
toAssetShares(uint256 _amount, bool _roundUp, bool _previewInterest) view returns (uint256 _shares)
toBorrowAmount(uint256 _shares, bool _roundUp, bool _previewInterest) view returns (uint256 _amount)
toBorrowShares(uint256 _amount, bool _roundUp, bool _previewInterest) view returns (uint256 _shares)
userBorrowShares(address) view returns (uint256)
userCollateralBalance(address) view returns (uint256)
State-modifying
Events acceptOwnership()
acceptTransferTimelock()
addCollateral(uint256 _collateralAmount, address _borrower)
addInterest(bool _returnAccounting) returns (uint256 _interestEarned, uint256 _feesAmount, uint256 _feesShare, struct FraxlendPairCoreCurrentRateInfo _currentRateInfo, struct VaultAccount _totalAsset, struct VaultAccount _totalBorrow)
approve(address spender, uint256 amount) returns (bool)
borrowAsset(uint256 _borrowAmount, uint256 _collateralAmount, address _receiver) returns (uint256 _shares)
changeFee(uint32 _newFee)
decreaseAllowance(address spender, uint256 subtractedValue) returns (bool)
deposit(uint256 _amount, address _receiver) returns (uint256 _sharesReceived)
increaseAllowance(address spender, uint256 addedValue) returns (bool)
leveragedPosition(address _swapperAddress, uint256 _borrowAmount, uint256 _initialCollateralAmount, uint256 _amountCollateralOutMin, address[] _path) returns (uint256 _totalCollateralBalance)
liquidate(uint128 _sharesToLiquidate, uint256 _deadline, address _borrower) returns (uint256 _collateralForLiquidator)
mint(uint256 _shares, address _receiver) returns (uint256 _amount)
pause()
pauseBorrow()
pauseDeposit()
pauseInterest(bool _isPaused)
pauseLiquidate(bool _isPaused)
pauseRepay(bool _isPaused)
pauseWithdraw(bool _isPaused)
redeem(uint256 _shares, address _receiver, address _owner) returns (uint256 _amountToReturn)
removeCollateral(uint256 _collateralAmount, address _receiver)
renounceOwnership()
renounceTimelock()
repayAsset(uint256 _shares, address _borrower) returns (uint256 _amountToRepay)
repayAssetWithCollateral(address _swapperAddress, uint256 _collateralToSwap, uint256 _amountAssetOutMin, address[] _path) returns (uint256 _amountAssetOut)
revokeBorrowLimitAccessControl(uint256 _borrowLimit)
revokeDepositLimitAccessControl(uint256 _depositLimit)
revokeInterestAccessControl()
revokeLiquidateAccessControl()
revokeLiquidationFeeSetter()
revokeMaxLTVSetter()
revokeOracleInfoSetter()
revokeRateContractSetter()
revokeRepayAccessControl()
revokeWithdrawAccessControl()
setBorrowLimit(uint256 _limit)
setCircuitBreaker(address _newCircuitBreaker)
setDepositLimit(uint256 _limit)
setLiquidationFees(uint256 _newCleanLiquidationFee, uint256 _newDirtyLiquidationFee, uint256 _newProtocolLiquidationFee)
setMaxLTV(uint256 _newMaxLTV)
setOracle(address _newOracle, uint32 _newMaxOracleDeviation)
setRateContract(address _newRateContract)
setSwapper(address _swapper, bool _approval)
transfer(address to, uint256 amount) returns (bool)
transferFrom(address from, address to, uint256 amount) returns (bool)
transferOwnership(address newOwner)
transferTimelock(address _newTimelock)
unpause()
updateExchangeRate() returns (bool _isBorrowAllowed, uint256 _lowExchangeRate, uint256 _highExchangeRate)
withdraw(uint256 _amount, address _receiver, address _owner) returns (uint256 _sharesToBurn)
withdrawFees(uint128 _shares, address _recipient) returns (uint256 _amountToTransfer)
AddCollateral(address indexed sender, address indexed borrower, uint256 collateralAmount)
AddInterest(uint256 interestEarned, uint256 rate, uint256 feesAmount, uint256 feesShare)
Approval(address indexed owner, address indexed spender, uint256 value)
BorrowAsset(address indexed _borrower, address indexed _receiver, uint256 _borrowAmount, uint256 _sharesAdded)
ChangeFee(uint32 newFee)
Deposit(address indexed caller, address indexed owner, uint256 assets, uint256 shares)
LeveragedPosition(address indexed _borrower, address _swapperAddress, uint256 _borrowAmount, uint256 _borrowShares, uint256 _initialCollateralAmount, uint256 _amountCollateralOut)
Liquidate(address indexed _borrower, uint256 _collateralForLiquidator, uint256 _sharesToLiquidate, uint256 _amountLiquidatorToRepay, uint256 _feesAmount, uint256 _sharesToAdjust, uint256 _amountToAdjust)
OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
PauseInterest(bool isPaused)
PauseLiquidate(bool isPaused)
PauseRepay(bool isPaused)
PauseWithdraw(bool isPaused)
RemoveCollateral(address indexed _sender, uint256 _collateralAmount, address indexed _receiver, address indexed _borrower)
RepayAsset(address indexed payer, address indexed borrower, uint256 amountToRepay, uint256 shares)
RepayAssetWithCollateral(address indexed _borrower, address _swapperAddress, uint256 _collateralToSwap, uint256 _amountAssetOut, uint256 _sharesRepaid)
RevokeBorrowAccessControl(uint256 borrowLimit)
RevokeDepositAccessControl(uint256 depositLimit)
RevokeInterestAccessControl()
RevokeLiquidateAccessControl()
RevokeLiquidationFeeSetter()
RevokeMaxLTVSetter()
RevokeOracleInfoSetter()
RevokeRateContractSetter()
RevokeRepayAccessControl()
RevokeWithdrawAccessControl()
SetBorrowLimit(uint256 limit)
SetCircuitBreaker(address oldCircuitBreaker, address newCircuitBreaker)
SetDepositLimit(uint256 limit)
SetLiquidationFees(uint256 oldCleanLiquidationFee, uint256 oldDirtyLiquidationFee, uint256 oldProtocolLiquidationFee, uint256 newCleanLiquidationFee, uint256 newDirtyLiquidationFee, uint256 newProtocolLiquidationFee)
SetMaxLTV(uint256 oldMaxLTV, uint256 newMaxLTV)
SetOracleInfo(address oldOracle, uint32 oldMaxOracleDeviation, address newOracle, uint32 newMaxOracleDeviation)
SetRateContract(address oldRateContract, address newRateContract)
SetSwapper(address swapper, bool approval)
TimelockTransferStarted(address indexed previousTimelock, address indexed newTimelock)
TimelockTransferred(address indexed previousTimelock, address indexed newTimelock)
Transfer(address indexed from, address indexed to, uint256 value)
UpdateExchangeRate(uint256 lowExchangeRate, uint256 highExchangeRate)
UpdateRate(uint256 oldRatePerSec, uint256 oldFullUtilizationRate, uint256 newRatePerSec, uint256 newFullUtilizationRate)
WarnOracleData(address oracle)
Withdraw(address indexed caller, address indexed receiver, address indexed owner, uint256 assets, uint256 shares)
WithdrawFees(uint128 shares, address recipient, uint256 amountToTransfer, uint256 collateralAmount)
constructor(bytes _configData, bytes _immutables, bytes _customConfigData)
This contract contains no fallback and receive objects.
AccessControlRevoked()
BadProtocolFee()
BadSwapper()
BorrowerSolvent()
ExceedsBorrowLimit()
ExceedsDepositLimit()
ExceedsMaxOracleDeviation()
Insolvent(uint256 _borrow, uint256 _collateral, uint256 _exchangeRate)
InsufficientAssetsInContract(uint256 _assets, uint256 _request)
InterestPaused()
InvalidPath(address _expected, address _actual)
InvalidReceiver()
LiquidatePaused()
OnlyPendingTimelock()
OnlyProtocolOrOwner()
OnlyTimelock()
OnlyTimelockOrOwner()
PastDeadline(uint256 _blockTimestamp, uint256 _deadline)
RepayPaused()
SetterRevoked()
SlippageTooHigh(uint256 _minOut, uint256 _actual)
WithdrawPaused()