FraxlendPair
Verified contract
Active on
Ethereum with 8,778 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($3,624,532.97)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
FXS | ERC-20 | 1.525088M | $2.21 |
$3,370,444.38 | |
FRAX | ERC-20 | 255.383631K | $0.994929 |
$254,088.58 | |
GENESIS | ERC-20 | 4.822027M | -- | -- | |
| ERC-20 | 16.817861K | -- | -- | |
$ Evmosia.com | ERC-20 | 7.5K | -- | -- | |
HQG | ERC-20 | 3 | -- | -- |
Transactions
ABI
ABI objects
Getter at block 21160656
CIRCUIT_BREAKER_ADDRESS() view returns (address)
0xfd3065c629ee890fd74f43b802c2fea4b7279b8c
COMPTROLLER_ADDRESS() view returns (address)
0x168200cf227d4543302686124ac28ae0eaf2ca0b
DEPLOYER_ADDRESS() view returns (address)
0x5d6e79bcf90140585ce88c7119b7e43caaa67044
FRAXLEND_WHITELIST_ADDRESS() view returns (address)
0x118c1462aa28bf2ea304f78f49c3388cfd93234e
TIME_LOCK_ADDRESS() view returns (address)
0x8412ebf45bac1b340bbe8f318b928c466c4e39ca
asset() view returns (address)
0x853d955acef822db058eb8505911ed77f175b99e
borrowerWhitelistActive() view returns (bool)
false
cleanLiquidationFee() view returns (uint256)
10000
collateralContract() view returns (address)
0x3432b6a60d23ca0dfca7761b7ab56459d9c964d0
currentRateInfo() view returns (uint64 lastBlock, uint64 feeToProtocolRate, uint64 lastTimestamp, uint64 ratePerSec)
(lastBlock=21157604, feeToProtocolRate=10000, lastTimestamp=1731245735, ratePerSec=2244676112)
decimals() pure returns (uint8)
18
dirtyLiquidationFee() view returns (uint256)
9000
exchangeRateInfo() view returns (uint32 lastTimestamp, uint224 exchangeRate)
(lastTimestamp=1731245735, exchangeRate=438962293139019358)
getConstants() pure returns (uint256 _LTV_PRECISION, uint256 _LIQ_PRECISION, uint256 _UTIL_PREC, uint256 _FEE_PRECISION, uint256 _EXCHANGE_PRECISION, uint64 _DEFAULT_INT, uint16 _DEFAULT_PROTOCOL_FEE, uint256 _MAX_PROTOCOL_FEE)
(_LTV_PRECISION=100000, _LIQ_PRECISION=100000, _UTIL_PREC=100000, _FEE_PRECISION=100000, _EXCHANGE_PRECISION=1000000000000000000, _DEFAULT_INT=158049988, _DEFAULT_PROTOCOL_FEE=0, _MAX_PROTOCOL_FEE=50000)
getImmutableAddressBool() view returns (address _assetContract, address _collateralContract, address _oracleMultiply, address _oracleDivide, address _rateContract, address _DEPLOYER_CONTRACT, address _COMPTROLLER_ADDRESS, address _FRAXLEND_WHITELIST, bool _borrowerWhitelistActive, bool _lenderWhitelistActive)
(_assetContract=0x853d955acef822db058eb8505911ed77f175b99e, _collateralContract=0x3432b6a60d23ca0dfca7761b7ab56459d9c964d0, _oracleMultiply=0x0000000000000000000000000000000000000000, _oracleDivide=0x6ebc52c8c1089be9eb3945c4350b68b8e4c2233f, _rateContract=0xff7846bacb63fe97406a1e1e48caf1595f66a98c, _DEPLOYER_CONTRACT=0x5d6e79bcf90140585ce88c7119b7e43caaa67044, _COMPTROLLER_ADDRESS=0x168200cf227d4543302686124ac28ae0eaf2ca0b, _FRAXLEND_WHITELIST=0x118c1462aa28bf2ea304f78f49c3388cfd93234e, _borrowerWhitelistActive=false, _lenderWhitelistActive=false)
getImmutableUint256() view returns (uint256 _oracleNormalization, uint256 _maxLTV, uint256 _cleanLiquidationFee, uint256 _maturityDate, uint256 _penaltyRate)
(_oracleNormalization=10000000000, _maxLTV=75000, _cleanLiquidationFee=10000, _maturityDate=0, _penaltyRate=0)
getPairAccounting() view returns (uint128 _totalAssetAmount, uint128 _totalAssetShares, uint128 _totalBorrowAmount, uint128 _totalBorrowShares, uint256 _totalCollateral)
(_totalAssetAmount=1495286806121742500726995, _totalAssetShares=1267620967729269778780659, _totalBorrowAmount=1239903175160294868054627, _totalBorrowShares=980100117990581194103428, _totalCollateral=1525087957000493577349859)
lenderWhitelistActive() view returns (bool)
false
maturityDate() view returns (uint256)
0
maxLTV() view returns (uint256)
75000
name() view returns (string)
FraxlendV1 - Frax Share/Frax - Variable Time-Weighted Interest Rate - 5
oracleDivide() view returns (address)
0x6ebc52c8c1089be9eb3945c4350b68b8e4c2233f
oracleMultiply() view returns (address)
0x0000000000000000000000000000000000000000
oracleNormalization() view returns (uint256)
10000000000
owner() view returns (address)
0x168200cf227d4543302686124ac28ae0eaf2ca0b
paused() view returns (bool)
false
penaltyRate() view returns (uint256)
0
rateContract() view returns (address)
0xff7846bacb63fe97406a1e1e48caf1595f66a98c
rateInitCallData() view returns (bytes)
0x
symbol() view returns (string)
FraxlendV1 - FXS/FRAX
totalAsset() view returns (uint128 amount, uint128 shares)
(amount=1495286806121742500726995, shares=1267620967729269778780659)
totalBorrow() view returns (uint128 amount, uint128 shares)
(amount=1239903175160294868054627, shares=980100117990581194103428)
totalCollateral() view returns (uint256)
1525087957000493577349859
totalSupply() view returns (uint256)
1267620967729269778780659
version() view returns (string)
1.0.0
Read-only
allowance(address owner, address spender) view returns (uint256)
approvedBorrowers(address) view returns (bool)
approvedLenders(address) view returns (bool)
balanceOf(address account) view returns (uint256)
getUserSnapshot(address _address) view returns (uint256 _userAssetShares, uint256 _userBorrowShares, uint256 _userCollateralBalance)
swappers(address) view returns (bool)
toAssetAmount(uint256 _shares, bool _roundUp) view returns (uint256)
toAssetShares(uint256 _amount, bool _roundUp) view returns (uint256)
toBorrowAmount(uint256 _shares, bool _roundUp) view returns (uint256)
toBorrowShares(uint256 _amount, bool _roundUp) view returns (uint256)
userBorrowShares(address) view returns (uint256)
userCollateralBalance(address) view returns (uint256)
State-modifying
Events addCollateral(uint256 _collateralAmount, address _borrower)
addInterest() returns (uint256 _interestEarned, uint256 _feesAmount, uint256 _feesShare, uint64 _newRate)
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)
initialize(string _name, address[] _approvedBorrowers, address[] _approvedLenders, bytes _rateInitCallData)
leveragedPosition(address _swapperAddress, uint256 _borrowAmount, uint256 _initialCollateralAmount, uint256 _amountCollateralOutMin, address[] _path) returns (uint256 _totalCollateralBalance)
liquidate(uint128 _sharesToLiquidate, uint256 _deadline, address _borrower) returns (uint256 _collateralForLiquidator)
pause()
redeem(uint256 _shares, address _receiver, address _owner) returns (uint256 _amountToReturn)
removeCollateral(uint256 _collateralAmount, address _receiver)
renounceOwnership()
repayAsset(uint256 _shares, address _borrower) returns (uint256 _amountToRepay)
repayAssetWithCollateral(address _swapperAddress, uint256 _collateralToSwap, uint256 _amountAssetOutMin, address[] _path) returns (uint256 _amountAssetOut)
setApprovedBorrowers(address[] _borrowers, bool _approval)
setApprovedLenders(address[] _lenders, bool _approval)
setSwapper(address _swapper, bool _approval)
setTimeLock(address _newAddress)
transfer(address to, uint256 amount) returns (bool)
transferFrom(address from, address to, uint256 amount) returns (bool)
transferOwnership(address newOwner)
unpause()
updateExchangeRate() returns (uint256 _exchangeRate)
withdrawFees(uint128 _shares, address _recipient) returns (uint256 _amountToTransfer)
AddCollateral(address indexed _sender, address indexed _borrower, uint256 _collateralAmount)
AddInterest(uint256 _interestEarned, uint256 _rate, uint256 _deltaTime, 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 _sharesToAdjust, uint256 _amountToAdjust)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Paused(address account)
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)
SetApprovedBorrower(address indexed _address, bool _approval)
SetApprovedLender(address indexed _address, bool _approval)
SetSwapper(address _swapper, bool _approval)
SetTimeLock(address _oldAddress, address _newAddress)
Transfer(address indexed from, address indexed to, uint256 value)
Unpaused(address account)
UpdateExchangeRate(uint256 _rate)
UpdateRate(uint256 _ratePerSec, uint256 _deltaTime, uint256 _utilizationRate, uint256 _newRatePerSec)
Withdraw(address indexed caller, address indexed receiver, address indexed owner, uint256 assets, uint256 shares)
WithdrawFees(uint128 _shares, address _recipient, uint256 _amountToTransfer)
constructor(bytes _configData, bytes _immutables, uint256 _maxLTV, uint256 _liquidationFee, uint256 _maturityDate, uint256 _penaltyRate, bool _isBorrowerWhitelistActive, bool _isLenderWhitelistActive)
This contract contains no fallback and receive objects.
AlreadyInitialized()
BadProtocolFee()
BadSwapper()
BorrowerSolvent()
BorrowerWhitelistRequired()
Insolvent(uint256 _borrow, uint256 _collateral, uint256 _exchangeRate)
InsufficientAssetsInContract(uint256 _assets, uint256 _request)
InvalidPath(address _expected, address _actual)
NameEmpty()
NotDeployer()
NotOnWhitelist(address _address)
OnlyApprovedBorrowers()
OnlyApprovedLenders()
OnlyTimeLock()
OracleLTEZero(address _oracle)
PastDeadline(uint256 _blockTimestamp, uint256 _deadline)
PastMaturity()
PriceTooLarge()
ProtocolOrOwnerOnly()
SlippageTooHigh(uint256 _minOut, uint256 _actual)