FraxlendPair
Verified contract
Active on
Ethereum with 3,413 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($1,165,779.14)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
CVX | ERC-20 | 172.837947K | $5.96 |
$1,030,114.17 | |
FRAX | ERC-20 | 136.231284K | $0.995843 |
$135,664.97 | |
TKX | ERC-20 | 0.0001 | $16.46 |
$0 | |
$ Evmosia.com | ERC-20 | 7.5K | -- | -- | |
| ERC-20 | 3.640736K | -- | -- |
Transactions
ABI
ABI objects
Getter at block 21378711
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)
0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b
currentRateInfo() view returns (uint64 lastBlock, uint64 feeToProtocolRate, uint64 lastTimestamp, uint64 ratePerSec)
(lastBlock=21368840, feeToProtocolRate=10000, lastTimestamp=1733794259, ratePerSec=11648846670)
decimals() pure returns (uint8)
18
dirtyLiquidationFee() view returns (uint256)
9000
exchangeRateInfo() view returns (uint32 lastTimestamp, uint224 exchangeRate)
(lastTimestamp=1733781647, exchangeRate=181740033934026612)
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=0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b, _oracleMultiply=0x0000000000000000000000000000000000000000, _oracleDivide=0xd962fc30a72a84ce50161031391756bf2876af5d, _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=422935921403730442246173, _totalAssetShares=363323928114920662640070, _totalBorrowAmount=286704637170829088405896, _totalBorrowShares=227805013885993944405276, _totalCollateral=172837947487260149122857)
lenderWhitelistActive() view returns (bool)
false
maturityDate() view returns (uint256)
0
maxLTV() view returns (uint256)
75000
name() view returns (string)
FraxlendV1 - Convex Token/Frax - Variable Time-Weighted Interest Rate - 4
oracleDivide() view returns (address)
0xd962fc30a72a84ce50161031391756bf2876af5d
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 - CVX/FRAX
totalAsset() view returns (uint128 amount, uint128 shares)
(amount=422935921403730442246173, shares=363323928114920662640070)
totalBorrow() view returns (uint128 amount, uint128 shares)
(amount=286704637170829088405896, shares=227805013885993944405276)
totalCollateral() view returns (uint256)
172837947487260149122857
totalSupply() view returns (uint256)
363323928114920662640070
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)