0x23445c63FeEf8D85956dc0f19aDe87606D0e19A9
on Ethereum Mainnet (1)
Match
Runtime Bytecode
Creation Bytecode
- Contract Name
- CHNStaking
- Compilation Target
- CHNStaking.sol:CHNStaking
- Language
Solidity
- Compiler
- solc 0.8.12+commit.f00d7308
- EVM Version
- london
- Verified At
- 2024-08-08 14:55:55 UTC
- Deployer
- 0xfdE1cB0c3522451705d9c64A74994801Fe8aF4Cd
- Deployment Transaction
- 0x49dbdb71801273fa10cf6dfe781cefef9c8f5dee26f8d8973a5f498c8a499069
- Block Number
- 14484683
- Transaction Index
- 82
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: QmSpnCxDtQSY5B8pwwA1m3iQJMVGRAT6ToRFZPyP1HcgdM
Loading contract data...
Transformations
CBOR Auxdata Transformations
| Byte Offsets | Length (bytes) | Values |
|---|---|---|
| 8976 | 54 | Original (recompiled):0xa264697066735822122042a37cd5f6f79c84b3869c1b38dd63ce022db38961d8e32f8c43a515cd55d0b064736f6c634300080c0033 Transformed (onchain):0xa2646970667358221220140472603efdbf4df863aa939776e18f31e9c45290876da4bc0519d8291be82564736f6c634300080c0033 |
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: QmSpnCxDtQSY5B8pwwA1m3iQJMVGRAT6ToRFZPyP1HcgdM
Loading contract data...
Transformations
CBOR Auxdata Transformations
| Byte Offsets | Length (bytes) | Values |
|---|---|---|
| 8939 | 54 | Original (recompiled):0xa264697066735822122042a37cd5f6f79c84b3869c1b38dd63ce022db38961d8e32f8c43a515cd55d0b064736f6c634300080c0033 Transformed (onchain):0xa2646970667358221220140472603efdbf4df863aa939776e18f31e9c45290876da4bc0519d8291be82564736f6c634300080c0033 |
Storage Layout
For non-default storage allocations (e.g. EIP-7201) check out 
| Slot | Offset | Bytes | Label | Type | Contract |
|---|---|---|---|---|---|
| 0 | 0 | 1 | _initialized | bool | CHNStaking.sol:CHNStaking |
| 0 | 1 | 1 | _initializing | bool | CHNStaking.sol:CHNStaking |
| 1 | 0 | 1600 | __gap | uint256[50] | CHNStaking.sol:CHNStaking |
| 51 | 0 | 20 | _owner | address | CHNStaking.sol:CHNStaking |
| 52 | 0 | 1568 | __gap | uint256[49] | CHNStaking.sol:CHNStaking |
| 101 | 0 | 20 | rewardToken | contract IERC20 | CHNStaking.sol:CHNStaking |
| 102 | 0 | 32 | rewardPerBlock | uint256 | CHNStaking.sol:CHNStaking |
| 103 | 0 | 32 | poolInfo | struct CHNStaking.PoolInfo[] | CHNStaking.sol:CHNStaking |
| 104 | 0 | 32 | userInfo | mapping(uint256 ⇒ mapping(address ⇒ struct CHNStaking.UserInfo)) | CHNStaking.sol:CHNStaking |
| 105 | 0 | 32 | poolTokens | mapping(address ⇒ bool) | CHNStaking.sol:CHNStaking |
| 106 | 0 | 32 | totalAllocPoint | uint256 | CHNStaking.sol:CHNStaking |
| 107 | 0 | 32 | startBlock | uint256 | CHNStaking.sol:CHNStaking |
| 108 | 0 | 32 | bonusEndBlock | uint256 | CHNStaking.sol:CHNStaking |
| 109 | 0 | 32 | BONUS_MULTIPLIER | uint256 | CHNStaking.sol:CHNStaking |
| 110 | 0 | 20 | rewardVault | address | CHNStaking.sol:CHNStaking |
| 111 | 0 | 32 | checkpoints | mapping(uint256 ⇒ mapping(address ⇒ mapping(uint32 ⇒ struct CHNStaking.Checkpoint))) | CHNStaking.sol:CHNStaking |
| 112 | 0 | 32 | numCheckpoints | mapping(uint256 ⇒ mapping(address ⇒ uint32)) | CHNStaking.sol:CHNStaking |
Transient Storage Layout
Transient storage layout is only available for Solidity contracts compiled with version ≥ 0.8.27.
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...