YZYVault
Verified contract
Active on
Ethereum with 1,400 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x6ca2…484c
0x0bc5…d93e
0x2260…c599
0x2cda…532d
0xb4e1…c9dc
15 additional
variables
Balances ($4,777.18)
Native
Value
$4,777.18
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ETH | Native | 1.742296 | $2,741.89 |
$4,777.18 | |
YZY | ERC-20 | 4.915594K | -- | -- | |
UNI-V2 | ERC-20 | 61.962004 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20493405 | 2 months ago | | | 0 | 0.0022291067 | |
| 20493053 | 2 months ago | | | 0 | 0.0011323217 | |
| 20492901 | 2 months ago | | | 0 | 0.00033918240 | |
| 19846308 | 5 months ago | | | 0 | 0.0075380922 | |
| 19192674 | 8 months ago | | | 0 | 0.037026637 | |
| 18589419 | a year ago | | | 0 | 0.011296172 | |
| 13707127 | 3 years ago | | | 0 | 0.0082694701 | |
| 13707110 | 3 years ago | | | 0 | 0.038786917 | |
| 13497953 | 3 years ago | | | 0 | 0.0095266583 | |
| 13412946 | 3 years ago | | | 0 | 0.048970092 |
ABI
ABI objects
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(address) view returns (uint256 stakedAmount, uint256 lastClimedBlockForYzyReward, uint256 lastClimedBlockForSwapReward, uint256 lockedTo)
getMultiplier(uint256 from, uint256 to) pure returns (uint256)
getSwapReward(address account) view returns (uint256 available, uint256 pending)
getYzyReward(address account) view returns (uint256 available, uint256 pending)
State-modifying
Events addTaxFee(uint256 amount) returns (bool)
changeAllocPointsForSwapReward(uint16 allocPointForYFI_, uint16 allocPointForWBTC_, uint16 allocPointForWETH_)
changeClaimPeriod(uint256 claimPeriodForYzyReward, uint256 claimPeriodForSwapReward)
changeEarlyUnstakeFee(uint16 fee)
changeFeeInfo(uint16 treasuryFee, uint16 rewardFee, uint16 lotteryFee, uint16 swapRewardFee, uint16 burnFee)
changeLockPeriod(uint256 period)
changeLotteryInfo(uint16 lotteryFee, uint256 lotteryLimit)
changeMinimumDepositETHAmount(uint256 amount)
changeRewardPeriod(uint256 firstRewardPeriod, uint256 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 amount) returns (bool)
transferOwnership(address newOwner)
unstake(uint256 amount) returns (bool)
ChangedAllocPointsForSwapReward(address indexed owner, uint16 valueForYFI, uint16 valueForWBTC, uint16 valueForWETH)
ChangedBurnFee(address indexed owner, uint16 value)
ChangedClaimPeriod(address indexed owner, uint256 claimPeriodForYzyReward, uint256 claimPeriodForSwapReward)
ChangedEarlyUnstakeFee(address indexed owner, uint16 value)
ChangedEnabledLock(address indexed owner, bool lock)
ChangedEnabledLottery(address indexed owner, bool lottery)
ChangedFeeInfo(address indexed owner, uint16 treasuryFee, uint16 rewardFee, uint16 lotteryFee, uint16 swapRewardFee, uint16 burnFee)
ChangedLockPeriod(address indexed owner, uint256 period)
ChangedLotteryInfo(address indexed owner, uint16 lotteryFee, uint256 lotteryLimit)
ChangedMinimumETHDepositAmount(address indexed owner, uint256 value)
ChangedRewardPeriod(address indexed owner, uint256 firstRewardPeriod, uint256 secondRewardPeriod)
ChangedYzyAddress(address indexed owner, address indexed yzy)
ChangedYzyETHPair(address indexed owner, address indexed yzyETHPair)
ClaimedSwapAvailableReward(address indexed owner, uint256 amount)
ClaimedSwapReward(address indexed owner, uint256 amount)
ClaimedYzyAvailableReward(address indexed owner, uint256 amount)
ClaimedYzyReward(address indexed owner, uint256 available, uint256 pending)
EmergencyWithdrawToken(address indexed from, address indexed to, uint256 amount)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
SentLotteryAmount(address indexed owner, uint256 amount, bool status)
Staked(address indexed account, uint256 amount)
SwapAndLiquifyForYZY(address indexed msgSender, uint256 totAmount, uint256 ethAmount, uint256 yzyAmount)
Unstaked(address indexed account, uint256 amount)
constructor(address daoTreasury, address yfi, address wbtc, address weth, address usdcETHV2Pair)
receive()
This contract contains no error objects.