0x0A5A0a14419F9DB1DA68cF2F550720e5DF49d4fe
on PulseChain (369)
Match
Runtime Bytecode
Creation Bytecode
- Contract Name
- YZYVault
- Compilation Target
- YZYVault.sol:YZYVault
- Language
- Solidity
- Compiler
- solc 0.7.6+commit.7338295f
- EVM Version
- istanbul
- Verified At
- 2024-08-08 11:35:14 UTC
- Deployer
- 0x4256B4C5D0ba27882B4C5f30aF3E799808A547BD
- Deployment Transaction
- 0x049658e65e56933f5d337a4e3e760411489ab6140bd1fb9488e2c45d4f294e75
- Block Number
- 11806406
- Transaction Index
- 107
Read/Write Contract on:
Loading contract data...
Source Code
Loading contract data...
Compiler Settings
Loading...
Contract Metadata
Loading...
Creation Bytecode
Loading contract data...
CBOR Auxdata
These values are what Sourcify extracted from the recompiled bytecode. If these values are different in the on-chain bytecode, they will show up in Transformations section.
CBOR Auxdata id: 1
View on 
Solidity metadata.json IPFS hash: QmPoaKFEPepKxACZGkdhnWWTfhx6ZBWUPFAAK6iHsnSaq6
Loading contract data...
Transformations
Loading contract data...
CBOR Auxdata Transformations
| Byte Offsets | Length (bytes) | Values |
|---|---|---|
| 18309 | 54 | Original (recompiled):0xa264697066735822122015c16679b7356539105b7aa808507b5c461798800cd528d91d65a66d70bd870164736f6c63430007060033 Transformed (onchain):0xa2646970667358221220798934e6e28a3fb5ec2c5cd7d69b961ebd4647b16be06f70abb290c19fdc133764736f6c63430007060033 |
Runtime Bytecode
Loading contract data...
CBOR Auxdata
These values are what Sourcify extracted from the recompiled bytecode. If these values are different in the on-chain bytecode, they will show up in Transformations section.
CBOR Auxdata id: 1
View on 
Solidity metadata.json IPFS hash: QmPoaKFEPepKxACZGkdhnWWTfhx6ZBWUPFAAK6iHsnSaq6
Loading contract data...
Transformations
CBOR Auxdata Transformations
| Byte Offsets | Length (bytes) | Values |
|---|---|---|
| 17704 | 54 | Original (recompiled):0xa264697066735822122015c16679b7356539105b7aa808507b5c461798800cd528d91d65a66d70bd870164736f6c63430007060033 Transformed (onchain):0xa2646970667358221220798934e6e28a3fb5ec2c5cd7d69b961ebd4647b16be06f70abb290c19fdc133764736f6c63430007060033 |
Storage Layout
For non-default storage allocations (e.g. EIP-7201) check out 
| Slot | Offset | Bytes | Label | Type | Contract |
|---|---|---|---|---|---|
| 0 | 0 | 20 | _owner | address | YZYVault.sol:YZYVault |
| 1 | 0 | 20 | _yzy | contract TokenInterface | YZYVault.sol:YZYVault |
| 2 | 0 | 20 | _yfi | contract TokenInterface | YZYVault.sol:YZYVault |
| 3 | 0 | 20 | _wbtc | contract TokenInterface | YZYVault.sol:YZYVault |
| 4 | 0 | 20 | _weth | contract TokenInterface | YZYVault.sol:YZYVault |
| 5 | 0 | 20 | _yzyETHV2Pair | contract IUniswapV2Pair | YZYVault.sol:YZYVault |
| 6 | 0 | 20 | _usdcETHV2Pair | contract IUniswapV2Pair | YZYVault.sol:YZYVault |
| 7 | 0 | 20 | _uniswapV2Router | contract IUniswapV2Router02 | YZYVault.sol:YZYVault |
| 8 | 0 | 20 | _daoTreasury | address | YZYVault.sol:YZYVault |
| 8 | 20 | 2 | _allocPointForYZYReward | uint16 | YZYVault.sol:YZYVault |
| 8 | 22 | 2 | _allocPointForSwapReward | uint16 | YZYVault.sol:YZYVault |
| 8 | 24 | 2 | _treasuryFee | uint16 | YZYVault.sol:YZYVault |
| 8 | 26 | 2 | _rewardFee | uint16 | YZYVault.sol:YZYVault |
| 8 | 28 | 2 | _lotteryFee | uint16 | YZYVault.sol:YZYVault |
| 8 | 30 | 2 | _swapRewardFee | uint16 | YZYVault.sol:YZYVault |
| 9 | 0 | 2 | _burnFee | uint16 | YZYVault.sol:YZYVault |
| 9 | 2 | 2 | _earlyUnstakeFee | uint16 | YZYVault.sol:YZYVault |
| 9 | 4 | 2 | _allocPointForYFI | uint16 | YZYVault.sol:YZYVault |
| 9 | 6 | 2 | _allocPointForWBTC | uint16 | YZYVault.sol:YZYVault |
| 9 | 8 | 2 | _allocPointForWETH | uint16 | YZYVault.sol:YZYVault |
| 10 | 0 | 32 | _firstRewardPeriod | uint256 | YZYVault.sol:YZYVault |
| 11 | 0 | 32 | _secondRewardPeriod | uint256 | YZYVault.sol:YZYVault |
| 12 | 0 | 32 | _firstRewardAmount | uint256 | YZYVault.sol:YZYVault |
| 13 | 0 | 32 | _secondRewardAmount | uint256 | YZYVault.sol:YZYVault |
| 14 | 0 | 32 | _claimPeriodForYzyReward | uint256 | YZYVault.sol:YZYVault |
| 15 | 0 | 32 | _claimPeriodForSwapReward | uint256 | YZYVault.sol:YZYVault |
| 16 | 0 | 32 | _lockPeriod | uint256 | YZYVault.sol:YZYVault |
| 17 | 0 | 32 | _minDepositETHAmount | uint256 | YZYVault.sol:YZYVault |
| 18 | 0 | 1 | _enabledLock | bool | YZYVault.sol:YZYVault |
| 18 | 1 | 1 | _enabledLottery | bool | YZYVault.sol:YZYVault |
| 19 | 0 | 32 | _startBlock | uint256 | YZYVault.sol:YZYVault |
| 20 | 0 | 32 | _lotteryAmount | uint256 | YZYVault.sol:YZYVault |
| 21 | 0 | 32 | _lotteryLimit | uint256 | YZYVault.sol:YZYVault |
| 22 | 0 | 32 | _collectedAmountForStakers | uint256 | YZYVault.sol:YZYVault |
| 23 | 0 | 32 | _collectedAmountForSwap | uint256 | YZYVault.sol:YZYVault |
| 24 | 0 | 32 | _collectedAmountForLottery | uint256 | YZYVault.sol:YZYVault |
| 25 | 0 | 32 | _lotteryPaidOut | uint256 | YZYVault.sol:YZYVault |
| 26 | 0 | 32 | _stakers | mapping(address ⇒ struct YZYVault.StakerInfo) | YZYVault.sol:YZYVault |
| 27 | 0 | 32 | winnerInfo | struct YZYVault.WinnerInfo[] | YZYVault.sol:YZYVault |
Standard JSON Input
This isn't the original compiler JSON data. Generated for compatibility.
Loading...
Standard JSON Output
This isn't the original compiler JSON data. Generated for compatibility.
Loading...