YZYVault

Verified contract

Active on Ethereum with 1,400 txns
Deployed by via 0x04964e75 at 11806406
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
15 additional variables
Native
Value $4,777.18
ERC-20
--
ERC-20
--
0x5341070ef25c077b73ede846f29d70ec847af627fbf7cd9cc07a523daadbda1a
0x331e6e6437ab789164e71b57494bc7c2f052ef1eddec4af620a2d5adc32b1564
0xebbe22b7aabcff83205fcc48b76323eeca185183204a261b2bb14176acdb7443
0x552b5aadc2b8da740eafa7f137cb7839eedc51168ab0d754f37f89813d418b4b
0x57ee636461a0f7cc10edef27886bb1b6a4de56daa76f9ba70f2a5b6ef2cdf5e0
0xc7ca3d32f033faf26e185db12a84173b7cbc2ae97c9867f06b0e4093ec13c68e
0xde145079940f11003a08848e41ad91d8ff888713f90bd70e67aabef04bab6d2f
0x1083b4ee6e8cb888e35f19b652071a58647e572b94523d49477f0b8405751d83
0x8c3a9e74cd07e5e6e6ff835a199aa907d19b63a1fa2db020f06c8745b57c0099
0x5cf69fe79bcab5b066fe5472ff7511fc07b8116ca693c1800ddd3e96e57b4855

Functions
Getter at block 21011768
_allocPointForSwapReward(view returns (uint16)
2000
_allocPointForWBTC(view returns (uint16)
5000
_allocPointForWETH(view returns (uint16)
2000
_allocPointForYFI(view returns (uint16)
3000
_allocPointForYZYReward(view returns (uint16)
8000
_burnFee(view returns (uint16)
2000
_claimPeriodForSwapReward(view returns (uint256)
585000
_claimPeriodForYzyReward(view returns (uint256)
91000
_collectedAmountForLottery(view returns (uint256)
41616974305190564704
_collectedAmountForStakers(view returns (uint256)
416169743051905661731
_collectedAmountForSwap(view returns (uint256)
166467897220762268633
_daoTreasury(view returns (address)
0xf01a907407413f5168bff558119606054c585302
_earlyUnstakeFee(view returns (uint16)
1000
_enabledLock(view returns (bool)
true
_enabledLottery(view returns (bool)
true
_firstRewardAmount(view returns (uint256)
2000000000000000000000
_firstRewardPeriod(view returns (uint256)
71500
_lockPeriod(view returns (uint256)
7776000
_lotteryFee(view returns (uint16)
500
_lotteryLimit(view returns (uint256)
1200000000
_lotteryPaidOut(view returns (uint256)
0
_minDepositETHAmount(view returns (uint256)
100000000000000000
_rewardFee(view returns (uint16)
5000
_secondRewardAmount(view returns (uint256)
7900000000000000000000
_secondRewardPeriod(view returns (uint256)
429000
_startBlock(view returns (uint256)
11806406
_swapRewardFee(view returns (uint16)
2000
_treasuryFee(view returns (uint16)
2500
_usdcETHV2Pair(view returns (address)
0xb4e16d0168e52d35cacd2c6185b44281ec28c9dc
_wbtc(view returns (address)
0x2260fac5e5542a773aa44fbcfedf7c193bc2c599
_weth(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
_yfi(view returns (address)
0x0bc529c00c6401aef6d220be8c6ea1667f6ad93e
_yzy(view returns (address)
0x6ca2cc52bb2cb67dd952e73b8786eb3a368b484c
_yzyETHV2Pair(view returns (address)
0x2cda371f367208c15390727839172941f48f532d
getTotalStakedAmount(view returns (uint256)
61962003992583031587
getWinners(view returns (uint256)
0
getYzyPerBlockForSwapReward(view returns (uint256)
291853003140
getYzyPerBlockForYzyReward(view returns (uint256)
729632507850
owner(view returns (address)
0xf01a907407413f5168bff558119606054c585302
Read-only
_stakers(addressview returns (uint256 stakedAmountuint256 lastClimedBlockForYzyRewarduint256 lastClimedBlockForSwapRewarduint256 lockedTo)
getMultiplier(uint256 fromuint256 topure returns (uint256)
getSwapReward(address accountview returns (uint256 availableuint256 pending)
getYzyReward(address accountview returns (uint256 availableuint256 pending)
State-modifying
addTaxFee(uint256 amountreturns (bool)
changeAllocPointsForSwapReward(uint16 allocPointForYFI_uint16 allocPointForWBTC_uint16 allocPointForWETH_
changeClaimPeriod(uint256 claimPeriodForYzyRewarduint256 claimPeriodForSwapReward
changeEarlyUnstakeFee(uint16 fee
changeFeeInfo(uint16 treasuryFeeuint16 rewardFeeuint16 lotteryFeeuint16 swapRewardFeeuint16 burnFee
changeLockPeriod(uint256 period
changeLotteryInfo(uint16 lotteryFeeuint256 lotteryLimit
changeMinimumDepositETHAmount(uint256 amount
changeRewardPeriod(uint256 firstRewardPerioduint256 secondRewardPeriod
changeYzyAddress(address yzy
changeYzyETHPair(address yzyETHPair
claimSwapAvailableReward(returns (bool)
claimSwapReward(returns (bool)
claimYzyAvailableReward(returns (bool)
claimYzyReward(returns (bool)
emergencyWithdrawToken(
enableLock(bool isLock
enableLottery(bool lottery
renounceOwnership(
stake(payable returns (bool)
stakeLPToken(uint256 amountreturns (bool)
transferOwnership(address newOwner
unstake(uint256 amountreturns (bool)
Events
ChangedAllocPointsForSwapReward(address indexed owneruint16 valueForYFIuint16 valueForWBTCuint16 valueForWETH
ChangedBurnFee(address indexed owneruint16 value
ChangedClaimPeriod(address indexed owneruint256 claimPeriodForYzyRewarduint256 claimPeriodForSwapReward
ChangedEarlyUnstakeFee(address indexed owneruint16 value
ChangedEnabledLock(address indexed ownerbool lock
ChangedEnabledLottery(address indexed ownerbool lottery
ChangedFeeInfo(address indexed owneruint16 treasuryFeeuint16 rewardFeeuint16 lotteryFeeuint16 swapRewardFeeuint16 burnFee
ChangedLockPeriod(address indexed owneruint256 period
ChangedLotteryInfo(address indexed owneruint16 lotteryFeeuint256 lotteryLimit
ChangedMinimumETHDepositAmount(address indexed owneruint256 value
ChangedRewardPeriod(address indexed owneruint256 firstRewardPerioduint256 secondRewardPeriod
ChangedYzyAddress(address indexed owneraddress indexed yzy
ChangedYzyETHPair(address indexed owneraddress indexed yzyETHPair
ClaimedSwapAvailableReward(address indexed owneruint256 amount
ClaimedSwapReward(address indexed owneruint256 amount
ClaimedYzyAvailableReward(address indexed owneruint256 amount
ClaimedYzyReward(address indexed owneruint256 availableuint256 pending
EmergencyWithdrawToken(address indexed fromaddress indexed touint256 amount
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
SentLotteryAmount(address indexed owneruint256 amountbool status
Staked(address indexed accountuint256 amount
SwapAndLiquifyForYZY(address indexed msgSenderuint256 totAmountuint256 ethAmountuint256 yzyAmount
Unstaked(address indexed accountuint256 amount
Constructor
constructor(address daoTreasuryaddress yfiaddress wbtcaddress wethaddress usdcETHV2Pair
Fallback and receive
receive(
Errors

This contract contains no error objects.