TransparentUpgradeableProxy

Verified contract

Proxy

Active on Ethereum with 47 txns
Deployed by via 0xc128733a at 20577431
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0xfbc01726531817c157af7957492e08934bdcfceb4a2cd2a5bd93e67dad145d98
0x96f99b9039d234aa6e41bb5c12de61fe7a7d36d015c54da971a502bccc965e28
0x82f1205d2e291690c85667264eff0c4832de405b273364e6e882375b1d786de1
0x0cf8c960480ef7e394292c4f6e963077ffa181e425b8b0edf51b6345439756ed
0x1e2b87ffc919e2247d6732b5f5a212ebfacc3fec9dc4cf01e36f213ca1075a58
0x9ecaf27e4984d649cb1eb027165aec7b2947d3a5429e3e00b4d8e44db2639d7d
0xe56c4ff516d05206fb18ed4ff82edf45b617ee5200c2138645b90f037e7a941d
0x0cbb31d8776558bb41d79027921a893720f992a613bd0ef49443d1b226b6b250
0x91a198a941146ea4ed1e0719a03635ed470bed487ceed35e05f961b8e17de630
0x036c92e27d398d7ba423c42041692606e180d1dd4ecf0a9660ab75bce0d2964a

Functions
Getter at block 21223283
DOMAIN_SEPARATOR(view returns (bytes32)
0x32e905b781d7fb366e221b269062d3b8a1ecacd6f60d4bfb750858f798f8ce8b
ST_USR_SHARES_OFFSET(view returns (uint256)
1000
asset(view returns (address usrTokenAddress)
0x66a1e37c9b0eaddca17d3662d6c05f4decf3e110
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=Wrapped stUSR, version=1, chainId=1, verifyingContract=0x1202f5c7b4b9e47a1a484e8b270be34dbbc75055, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
name(view returns (string)
Wrapped stUSR
stUSRAddress(view returns (address)
0x6c8984bc7dbbedaf4f6b2fd766f16ebb7d10aab4
symbol(view returns (string)
wstUSR
 
totalAssets(view returns (uint256 totalManagedUsrAmount)
totalSupply(view returns (uint256)
944852065136104186231685
usrAddress(view returns (address)
0x66a1e37c9b0eaddca17d3662d6c05f4decf3e110
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
convertToAssets(uint256 _wstUSRAmountview returns (uint256 usrAmount)
convertToShares(uint256 _usrAmountview returns (uint256 wstUSRAmount)
maxDeposit(addresspure returns (uint256 maxUsrAmount)
maxMint(addresspure returns (uint256 maxWstUSRAmount)
maxRedeem(address ownerview returns (uint256 maxWstUSRAmount)
maxWithdraw(address _ownerview returns (uint256 maxUsrAmount)
nonces(address ownerview returns (uint256)
previewDeposit(uint256 _usrAmountview returns (uint256 wstUSRAmount)
previewMint(uint256 _wstUSRAmountview returns (uint256 usrAmount)
previewRedeem(uint256 _wstUSRAmountview returns (uint256 usrAmount)
previewWithdraw(uint256 _usrAmountview returns (uint256 wstUSRAmount)
State-modifying
approve(address spenderuint256 valuereturns (bool)
deposit(uint256 _usrAmountreturns (uint256 wstUSRAmount)
deposit(uint256 _usrAmountaddress _receiverreturns (uint256 wstUSRAmount)
depositWithPermit(uint256 _usrAmountaddress _receiveruint256 _deadlineuint8 _vbytes32 _rbytes32 _sreturns (uint256 wstUSRAmount)
initialize(string _namestring _symboladdress _stUSRAddress
mint(uint256 _wstUSRAmountreturns (uint256 usrAmount)
mint(uint256 _wstUSRAmountaddress _receiverreturns (uint256 usrAmount)
mintWithPermit(uint256 _wstUSRAmountaddress _receiveruint256 _deadlineuint8 _vbytes32 _rbytes32 _sreturns (uint256 usrAmount)
permit(address owneraddress spenderuint256 valueuint256 deadlineuint8 vbytes32 rbytes32 s
redeem(uint256 _wstUSRAmountreturns (uint256 usrAmount)
redeem(uint256 _wstUSRAmountaddress _receiveraddress _ownerreturns (uint256 usrAmount)
transfer(address touint256 valuereturns (bool)
transferFrom(address fromaddress touint256 valuereturns (bool)
unwrap(uint256 _wstUSRAmountreturns (uint256 stUSRAmount)
unwrap(uint256 _wstUSRAmountaddress _receiverreturns (uint256 stUSRAmount)
withdraw(uint256 _usrAmountreturns (uint256 wstUSRAmount)
withdraw(uint256 _usrAmountaddress _receiveraddress _ownerreturns (uint256 wstUSRAmount)
wrap(uint256 _stUSRAmountreturns (uint256 wstUSRAmount)
wrap(uint256 _stUSRAmountaddress _receiverreturns (uint256 wstUSRAmount)
wrapWithPermit(uint256 _stUSRAmountaddress _receiveruint256 _deadlineuint8 _vbytes32 _rbytes32 _sreturns (uint256 wstUSRAmount)
Events
AdminChanged(address previousAdminaddress newAdmin
Upgraded(address indexed implementation
Approval(address indexed owneraddress indexed spenderuint256 value
Deposit(address indexed senderaddress indexed owneruint256 assetsuint256 shares
EIP712DomainChanged(
Initialized(uint64 version
Transfer(address indexed fromaddress indexed touint256 value
Unwrap(address indexed _senderaddress indexed _receiveruint256 _stUSRAmountuint256 _wstUSRAmount
Withdraw(address indexed senderaddress indexed receiveraddress indexed owneruint256 assetsuint256 shares
Wrap(address indexed _senderaddress indexed _receiveruint256 _stUSRAmountuint256 _wstUSRAmount
Constructor
constructor(address _logicaddress initialOwnerbytes _data
Fallback and receive
fallback(
Errors
AddressEmptyCode(address target
ERC1967InvalidAdmin(address admin
ERC1967InvalidImplementation(address implementation
ERC1967NonPayable(
FailedInnerCall(
ProxyDeniedAdminAccess(
AddressEmptyCode(address target
AddressInsufficientBalance(address account
ECDSAInvalidSignature(
ECDSAInvalidSignatureLength(uint256 length
ECDSAInvalidSignatureS(bytes32 s
ERC20InsufficientAllowance(address spenderuint256 allowanceuint256 needed
ERC20InsufficientBalance(address senderuint256 balanceuint256 needed
ERC20InvalidApprover(address approver
ERC20InvalidReceiver(address receiver
ERC20InvalidSender(address sender
ERC20InvalidSpender(address spender
ERC2612ExpiredSignature(uint256 deadline
ERC2612InvalidSigner(address signeraddress owner
ExceededMaxRedeem(address _owneruint256 _wstUSRAmountuint256 _maxWstUSRAmount
ExceededMaxWithdraw(address _owneruint256 _usrAmountuint256 _maxUsrAmount
FailedInnerCall(
IdempotencyKeyAlreadyExist(bytes32 _idempotencyKey
InvalidAccountNonce(address accountuint256 currentNonce
InvalidAmount(uint256 _amount
InvalidInitialization(
MathOverflowedMulDiv(
NotInitializing(
SafeERC20FailedOperation(address token
ZeroAddress(