PrizeVault

Verified contract

Active on Base with 218 txns
Deployed by via 0xb78b78d3 at 14508869
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0xc7b1486214aecb980e594b5a7ec11db373c5c516f9cd8f239c8deaa53d1ec006
0xec26aa1e7ee9d59728d15be2b3300e5751c701e28fce6c478bb70ade93f9136b
0x767ea5f71a6558a5b2d0bb6d772e511931162ebe14c4ff519ad09d6dac639d58
0x3ddabe3cdd7514dcba38db33b3e293bc2be5edc165f97ac1f5d03046b32ee6e8
0xf3c9d3afdfd00356cc77158d049cbafecb8b41c05d4a507a008e25eb84912743
0x454bf31ee6a7041f876686f053d27d079ce6d24f7b4cc8e0643793281f5c470b
0x1da56c0a8085a693d721e9b483a88561bac2b66004dd2514c1c49a8469948e98
0x46c2e58f2893162ba1fb43a78f421bc5340b741d97f4f37f21d7f1d615350f68
0xd204b045b02177f4319fb01ceb7ec5e3629e691f5b8f469cffb2682eb86f4633
0xd3989123d3536d9a2ec528cc2f64107e95b1b9601c12c135efd67f4940c7637c

Functions
Getter at block 23953557
DOMAIN_SEPARATOR(view returns (bytes32)
0x1a3a584322fe58f6ef910e2cb5b1607b29b3e7263064ef7aa291fdbcf3508345
FEE_PRECISION(view returns (uint32)
1000000000
HOOK_GAS(view returns (uint24)
150000
MAX_YIELD_FEE(view returns (uint32)
900000000
asset(view returns (address)
0xc1cba3fcea344f92d9239c08c0568f6f2f0ee452
 
availableYieldBalance(view returns (uint256)
claimer(view returns (address)
0xcdce635b774de77cdf791647601dba64a75547ba
 
currentYieldBuffer(view returns (uint256)
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=Prize wstETH - Moonwell, version=1, chainId=8453, verifyingContract=0x75d700f4c21528a2bb603b6ed899acfde5c4b086, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
liquidationPair(view returns (address)
0xf94f69eedddf0a088f0a16d9ac569c1729f6444f
name(view returns (string)
Prize wstETH - Moonwell
owner(view returns (address)
0xfd195adeb4bb36e8ef0af588c0dcef3baf833ff4
pendingOwner(view returns (address)
0x0000000000000000000000000000000000000000
prizePool(view returns (address)
0x45b2010d8a4f08b53c9fa7544c51dfd9733732cb
symbol(view returns (string)
przWSTETH
 
totalAssets(view returns (uint256)
totalDebt(view returns (uint256)
65998144482667688433
 
totalPreciseAssets(view returns (uint256)
totalSupply(view returns (uint256)
65998144482667688433
 
totalYieldBalance(view returns (uint256)
twabController(view returns (address)
0x7e63601f7e28c758feccf8cdf02f6598694f44c6
yieldBuffer(view returns (uint256)
100000000000000
yieldFeeBalance(view returns (uint256)
0
yieldFeePercentage(view returns (uint32)
0
yieldFeeRecipient(view returns (address)
0x0000000000000000000000000000000000000000
yieldVault(view returns (address)
0x99d0413de55fa00cad854ed3d032924905deedca
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address _accountview returns (uint256)
convertToAssets(uint256 _sharesview returns (uint256)
convertToShares(uint256 _assetsview returns (uint256)
getHooks(address accountview returns (struct PrizeHooks)
isLiquidationPair(address _tokenOutaddress _liquidationPairview returns (bool)
liquidatableBalanceOf(address _tokenOutview returns (uint256)
maxDeposit(addressview returns (uint256)
maxMint(address _ownerview returns (uint256)
maxRedeem(address _ownerview returns (uint256)
maxWithdraw(address _ownerview returns (uint256)
nonces(address ownerview returns (uint256)
previewDeposit(uint256 _assetspure returns (uint256)
previewMint(uint256 _sharespure returns (uint256)
previewRedeem(uint256 _sharesview returns (uint256)
previewWithdraw(uint256 _assetsview returns (uint256)
targetOf(addressview returns (address)
State-modifying
approve(address spenderuint256 amountreturns (bool)
claimOwnership(
claimPrize(address _winneruint8 _tieruint32 _prizeIndexuint96 _rewardaddress _rewardRecipientreturns (uint256)
claimYieldFeeShares(uint256 _shares
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
deposit(uint256 _assetsaddress _receiverreturns (uint256)
depositWithPermit(uint256 _assetsaddress _owneruint256 _deadlineuint8 _vbytes32 _rbytes32 _sreturns (uint256)
increaseAllowance(address spenderuint256 addedValuereturns (bool)
mint(uint256 _sharesaddress _receiverreturns (uint256)
permit(address owneraddress spenderuint256 valueuint256 deadlineuint8 vbytes32 rbytes32 s
redeem(uint256 _sharesaddress _receiveraddress _ownerreturns (uint256)
redeem(uint256 _sharesaddress _receiveraddress _owneruint256 _minAssetsreturns (uint256)
renounceOwnership(
setClaimer(address _claimer
setHooks(struct PrizeHooks hooks
setLiquidationPair(address _liquidationPair
setYieldFeePercentage(uint32 _yieldFeePercentage
setYieldFeeRecipient(address _yieldFeeRecipient
sponsor(uint256 _assetsreturns (uint256)
transfer(address touint256 amountreturns (bool)
transferFrom(address fromaddress touint256 amountreturns (bool)
transferOwnership(address _newOwner
transferTokensOut(addressaddress _receiveraddress _tokenOutuint256 _amountOutreturns (bytes)
verifyTokensIn(address _tokenInuint256 _amountInbytes
withdraw(uint256 _assetsaddress _receiveraddress _ownerreturns (uint256)
withdraw(uint256 _assetsaddress _receiveraddress _owneruint256 _maxSharesreturns (uint256)
Events
Approval(address indexed owneraddress indexed spenderuint256 value
ClaimYieldFeeShares(address indexed recipientuint256 shares
ClaimerSet(address indexed claimer
Deposit(address indexed senderaddress indexed owneruint256 assetsuint256 shares
EIP712DomainChanged(
LiquidationPairSet(address indexed tokenOutaddress indexed liquidationPair
OwnershipOffered(address indexed pendingOwner
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
SetHooks(address indexed accountstruct PrizeHooks hooks
Sponsor(address indexed calleruint256 assetsuint256 shares
Transfer(address indexed fromaddress indexed touint256 value
TransferYieldOut(address indexed liquidationPairaddress indexed tokenOutaddress indexed recipientuint256 amountOutuint256 yieldFee
Withdraw(address indexed senderaddress indexed receiveraddress indexed owneruint256 assetsuint256 shares
YieldFeePercentageSet(uint256 yieldFeePercentage
YieldFeeRecipientSet(address indexed yieldFeeRecipient
Constructor
constructor(string name_string symbol_address yieldVault_address prizePool_address claimer_address yieldFeeRecipient_uint32 yieldFeePercentage_uint256 yieldBuffer_address owner_
Fallback and receive

This contract contains no fallback and receive objects.

Errors
BurnZeroShares(
CallerNotClaimer(address calleraddress claimer
CallerNotLP(address calleraddress liquidationPair
CallerNotYieldFeeRecipient(address calleraddress yieldFeeRecipient
ClaimRecipientZeroAddress(
ClaimerZeroAddress(
DepositZeroAssets(
FailedToGetAssetDecimals(address asset
InvalidShortString(
LPZeroAddress(
LiquidationAmountOutZero(
LiquidationExceedsAvailable(uint256 totalToWithdrawuint256 availableYield
LiquidationTokenInNotPrizeToken(address tokenInaddress prizeToken
LiquidationTokenOutNotSupported(address tokenOut
LossyDeposit(uint256 totalAssetsuint256 totalSupply
MaxSharesExceeded(uint256 sharesuint256 maxShares
MinAssetsNotReached(uint256 assetsuint256 minAssets
MintLimitExceeded(uint256 excess
MintZeroShares(
OwnerZeroAddress(
PermitCallerNotOwner(address calleraddress owner
PrizePoolZeroAddress(
SharesExceedsYieldFeeBalance(uint256 sharesuint256 yieldFeeBalance
StringTooLong(string str
TwabControllerZeroAddress(
WithdrawZeroAssets(
YieldFeePercentageExceedsMax(uint256 yieldFeePercentageuint256 maxYieldFeePercentage
YieldVaultZeroAddress(
ZeroTotalAssets(