vETH

Verified contract

Active on Ethereum with 39 txns
Deployed by via 0x678d1e4f at 21055969
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $1,237.25
0x51e9313c1b2f44198a491939a23fd1c90d37f3ea1e4346268abc437497888144
0x328b40240c89db988fc70424d331ad04524c4541166f8f0d4495f726db026de0
0xb338c4b539c69acbc83984a589521e5d85bfe7faf359d62a0470f12650962e0e
0x992822d0f2597c86471ee34f225cf25dae7336bd0b42398ca35548f582b558ba
0x57824ab264d61a3532e0f0e7de5c4aedfb7f380da316e65c838584bc103bbc57
0x0f1bdb8ccbc17cd7745ba61ff64150f1275d01e5c3aa95969a58b5c73aad6088
0xd7a0a2726d5f87955e43ee52366d15a189b3786dd0eff7a68babef6f4fc7580d
0xb6debde0f8f88129eb7e9d53188d9bb2eedae1f97a875ab83705e649893783f4
0x74a18a771e810a3dd1939ced897f8baed1153fb79991d3ba429d9a15e441156c
0x51afdc677267bafc14bf3f928ff5e3f0e8feb980b36903ffe37f285974a21d13

Functions
Getter at block 21291676
MAX_LOAN_PER_BLOCK(view returns (uint256)
300000000000000000000
cashOutFee(view returns (uint256)
0
decimals(view returns (uint8)
18
lastLoanBlock(view returns (uint256)
21186583
loanedAmountThisBlock(view returns (uint256)
300000000000000000000
name(view returns (string)
vETH
owner(view returns (address)
0x9e1823acf0d1f2706f35ea9bc1566719b4de54b8
symbol(view returns (string)
vETH
totalCashOutFeesCollected(view returns (uint256)
0
totalSupply(view returns (uint256)
3647846541443052848515
underlyingToken(view returns (address)
0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
Read-only
_debt(addressview returns (uint256)
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
getCashOutQuote(uint256 amountview returns (uint256 amountAfterFee)
getLoanDebt(address userview returns (uint256)
isValidFactory(address _factoryview returns (bool)
validFactories(addressview returns (bool)
whiteList(addressview returns (bool)
State-modifying
addToWhiteList(address user
approve(address spenderuint256 valuereturns (bool)
cashIn(payable 
cashOut(uint256 amountreturns (uint256 amountAfterFee)
removeFromWhiteList(address user
renounceOwnership(
repayLoan(address touint256 amount
takeLoan(address touint256 amountpayable 
transfer(address touint256 valuereturns (bool)
transferFrom(address fromaddress touint256 valuereturns (bool)
transferOwnership(address newOwner
updateCashOutFee(uint256 _cashOutFee
updateFactory(address _factorybool isValid
withdraw(uint256 amount
Events
Approval(address indexed owneraddress indexed spenderuint256 value
LoanRepaid(address useruint256 amount
LoanTaken(address useruint256 amount
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Transfer(address indexed fromaddress indexed touint256 value
Unwrap(address useruint256 amount
Withdraw(address owneruint256 amount
Wrap(address useruint256 amount
Constructor
constructor(string namestring symboladdress _underlyingToken
Fallback and receive

This contract contains no fallback and receive objects.

Errors
DebtOverflow(address useruint256 debtuint256 value
ERC20InsufficientAllowance(address spenderuint256 allowanceuint256 needed
ERC20InsufficientBalance(address senderuint256 balanceuint256 needed
ERC20InvalidApprover(address approver
ERC20InvalidReceiver(address receiver
ERC20InvalidSender(address sender
ERC20InvalidSpender(address spender
OwnableInvalidOwner(address owner
OwnableUnauthorizedAccount(address account
ReentrancyGuardReentrantCall(