Sourcify Logosourcify.eth

0x23445c63FeEf8D85956dc0f19aDe87606D0e19A9

on Ethereum Mainnet (1)

Match
Runtime Bytecode
Creation Bytecode
Contract Name
CHNStaking
Compilation Target
CHNStaking.sol:CHNStaking
Language
SoliditySolidity
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:

OpenZeppelin Logo

Loading contract data...

Source Code

Remix IDE LogoView on Remix IDE

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 IPFS Logo
Solidity metadata.json IPFS hash: QmSpnCxDtQSY5B8pwwA1m3iQJMVGRAT6ToRFZPyP1HcgdM

Loading contract data...

Transformations

CBOR Auxdata Transformations

Byte OffsetsLength (bytes)Values
897654
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 IPFS Logo
Solidity metadata.json IPFS hash: QmSpnCxDtQSY5B8pwwA1m3iQJMVGRAT6ToRFZPyP1HcgdM

Loading contract data...

Transformations

CBOR Auxdata Transformations

Byte OffsetsLength (bytes)Values
893954
Original (recompiled):0xa264697066735822122042a37cd5f6f79c84b3869c1b38dd63ce022db38961d8e32f8c43a515cd55d0b064736f6c634300080c0033
Transformed (onchain):0xa2646970667358221220140472603efdbf4df863aa939776e18f31e9c45290876da4bc0519d8291be82564736f6c634300080c0033

Storage Layout

For non-default storage allocations (e.g. EIP-7201) check out EVM Storage Logo
SlotOffsetBytesLabelTypeContract
001_initializedboolCHNStaking.sol:CHNStaking
011_initializingboolCHNStaking.sol:CHNStaking
101600__gapuint256[50]CHNStaking.sol:CHNStaking
51020_owneraddressCHNStaking.sol:CHNStaking
5201568__gapuint256[49]CHNStaking.sol:CHNStaking
101020rewardTokencontract IERC20CHNStaking.sol:CHNStaking
102032rewardPerBlockuint256CHNStaking.sol:CHNStaking
103032poolInfostruct CHNStaking.PoolInfo[]CHNStaking.sol:CHNStaking
104032userInfomapping(uint256 ⇒ mapping(address ⇒ struct CHNStaking.UserInfo))CHNStaking.sol:CHNStaking
105032poolTokensmapping(address ⇒ bool)CHNStaking.sol:CHNStaking
106032totalAllocPointuint256CHNStaking.sol:CHNStaking
107032startBlockuint256CHNStaking.sol:CHNStaking
108032bonusEndBlockuint256CHNStaking.sol:CHNStaking
109032BONUS_MULTIPLIERuint256CHNStaking.sol:CHNStaking
110020rewardVaultaddressCHNStaking.sol:CHNStaking
111032checkpointsmapping(uint256 ⇒ mapping(address ⇒ mapping(uint32 ⇒ struct CHNStaking.Checkpoint)))CHNStaking.sol:CHNStaking
112032numCheckpointsmapping(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...
0x23445c63feef8d85956dc0f19ade87606d0e19a9 on Ethereum Mainnet (1)