FraxlendPair
Verified contract
Active on
Ethereum with 2,275 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($5,842,990.31)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
WBTC | ERC-20 | 49.971608 | $101,860.00 |
$5,090,108.01 | |
FRAX | ERC-20 | 756.781989K | $0.994847 |
$752,882.29 | |
COLON | ERC-20 | 15.446964 | $0.000571 |
$0.01 | |
TKX | ERC-20 | 0.0001 | $19.04 |
$0 | |
APU | ERC-20 | 1 | $0.000796 |
$0 | |
$ | ERC-20 | 50K | -- | -- | |
$ | ERC-20 | 50K | -- | -- | |
$ Evmosia.com | ERC-20 | 7.5K | -- | -- | |
BGBG | ERC-20 | 848.803145 | -- | -- | |
DOG | ERC-20 | 19.112077 | -- | -- |
Transactions
ABI
ABI objects
Getter at block 21398231
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)
0x2260fac5e5542a773aa44fbcfedf7c193bc2c599
currentRateInfo() view returns (uint64 lastBlock, uint64 feeToProtocolRate, uint64 lastTimestamp, uint64 ratePerSec)
(lastBlock=21381761, feeToProtocolRate=0, lastTimestamp=1733950235, ratePerSec=7968830269)
decimals() pure returns (uint8)
18
dirtyLiquidationFee() view returns (uint256)
9000
exchangeRateInfo() view returns (uint32 lastTimestamp, uint224 exchangeRate)
(lastTimestamp=1733488715, exchangeRate=1015)
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=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599, _oracleMultiply=0x0000000000000000000000000000000000000000, _oracleDivide=0xf4030086522a5beea4988f8ca5b36dbc97bee88c, _rateContract=0x3da1bf0be175b7caa38d67a6e78371947d2f51f7, _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=100000000000000000000, _maxLTV=75000, _cleanLiquidationFee=10000, _maturityDate=0, _penaltyRate=0)
getPairAccounting() view returns (uint128 _totalAssetAmount, uint128 _totalAssetShares, uint128 _totalBorrowAmount, uint128 _totalBorrowShares, uint256 _totalCollateral)
(_totalAssetAmount=2474381983454678037114544, _totalAssetShares=2229792357987706496173694, _totalBorrowAmount=1717599994890859476894810, _totalBorrowShares=1493763412104136788541322, _totalCollateral=4997160821)
lenderWhitelistActive() view returns (bool)
false
maturityDate() view returns (uint256)
0
maxLTV() view returns (uint256)
75000
name() view returns (string)
FraxlendV1 - Wrapped BTC/Frax - Variable Time-Weighted Interest Rate - 1
oracleDivide() view returns (address)
0xf4030086522a5beea4988f8ca5b36dbc97bee88c
oracleMultiply() view returns (address)
0x0000000000000000000000000000000000000000
oracleNormalization() view returns (uint256)
100000000000000000000
owner() view returns (address)
0x168200cf227d4543302686124ac28ae0eaf2ca0b
paused() view returns (bool)
false
penaltyRate() view returns (uint256)
0
rateContract() view returns (address)
0x3da1bf0be175b7caa38d67a6e78371947d2f51f7
rateInitCallData() view returns (bytes)
0x
symbol() view returns (string)
FraxlendV1 - WBTC/FRAX
totalAsset() view returns (uint128 amount, uint128 shares)
(amount=2474381983454678037114544, shares=2229792357987706496173694)
totalBorrow() view returns (uint128 amount, uint128 shares)
(amount=1717599994890859476894810, shares=1493763412104136788541322)
totalCollateral() view returns (uint256)
4997160821
totalSupply() view returns (uint256)
2229792357987706496173694
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)