PrizeVault

Verified contract

Active on Base with 1,841 txns
Deployed by via 0xda3fcb4f at 14508078
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x1e53625bb31f442a2f3a9441ec3c38af5f30bc2a3f0b2aa24d1c3823618c2cca
0x2f419a1728b505742dd1efa11ae018484a2c33010a0791a2f208292607a9c40e
0xd5d8990a084559c7d8bbc425519cd0fcdbe6a5597312b798eaa72d44af2f3247
0x8fb0c02327879226ed81ec857822dc34fc1758b454b30bc7e6e1d1a483911c8e
0x5d39e2f1b0ae5916e5da605fc56c85a0bd89b42fcdaa7ac3fb568fbdcbddede7
0xa8252b78072c0d50bb0d6f6c5600d4a240263668ea13197300a9d138e929f86a
0x7f6308689a2d48d0b458ff2723a2bda46ae39f828565990611f5dcd28dfbde2b
0x4ed5f3547e646e912ca5d228acf3f4b54c3df2420a8eea41885e5f08ef3a2f69
0x1d68e1845fc0916c73426d2f8eb0b6bfe0d943a9e6318e3d1d89bc9c7205333c
0x628a368fc33ed7e62ac361e2f624a9729b91a9c2ed8993a2831e7b3889140913

Functions
Getter at block 22031284
DOMAIN_SEPARATOR(view returns (bytes32)
0x591149f9d3f6f2ebb9a4073a0771d86a0d5078ca2bba7953496537eeb3eb7baa
FEE_PRECISION(view returns (uint32)
1000000000
HOOK_GAS(view returns (uint24)
150000
MAX_YIELD_FEE(view returns (uint32)
900000000
asset(view returns (address)
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
 
availableYieldBalance(view returns (uint256)
claimer(view returns (address)
0xcdce635b774de77cdf791647601dba64a75547ba
 
currentYieldBuffer(view returns (uint256)
decimals(view returns (uint8)
6
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=Prize USDC - Moonwell, version=1, chainId=8453, verifyingContract=0x7f5c2b379b88499ac2b997db583f8079503f25b9, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
liquidationPair(view returns (address)
0xeba6aa26ea2c51874a467cc310181617b3a4a266
name(view returns (string)
Prize USDC - Moonwell
owner(view returns (address)
0xfd195adeb4bb36e8ef0af588c0dcef3baf833ff4
pendingOwner(view returns (address)
0x0000000000000000000000000000000000000000
prizePool(view returns (address)
0x45b2010d8a4f08b53c9fa7544c51dfd9733732cb
symbol(view returns (string)
przUSDC
 
totalAssets(view returns (uint256)
totalDebt(view returns (uint256)
259704871609
 
totalPreciseAssets(view returns (uint256)
totalSupply(view returns (uint256)
259704871609
 
totalYieldBalance(view returns (uint256)
twabController(view returns (address)
0x7e63601f7e28c758feccf8cdf02f6598694f44c6
yieldBuffer(view returns (uint256)
100000
yieldFeeBalance(view returns (uint256)
0
yieldFeePercentage(view returns (uint32)
0
yieldFeeRecipient(view returns (address)
0x0000000000000000000000000000000000000000
yieldVault(view returns (address)
0xbc8dd54d1ae1b738b40ffddccee1428b178fa80b
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(