WstUSR

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xb15886a2 at 20577430
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "WstUSR"

No transactions found for "WstUSR"


Functions
Getter at block 21223283
DOMAIN_SEPARATOR(view returns (bytes32)
0x0f54919c8a217cf2400052ad624458c4522a5c895e9e78f4d5ee1d2ac49c6098
ST_USR_SHARES_OFFSET(view returns (uint256)
1000
asset(view returns (address usrTokenAddress)
0x0000000000000000000000000000000000000000
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=, chainId=1, verifyingContract=0x6ed5485d079d7f0cfa8e395499b3c01a6c359cc0, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
name(view returns (string)
stUSRAddress(view returns (address)
0x0000000000000000000000000000000000000000
symbol(view returns (string)
 
totalAssets(view returns (uint256 totalManagedUsrAmount)
totalSupply(view returns (uint256)
0
usrAddress(view returns (address)
0x0000000000000000000000000000000000000000
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
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(
Fallback and receive

This contract contains no fallback and receive objects.

Errors
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(