0x78674FA1bE6380d97f4e7064A4DcEC7dCC04ce4c
on Celo Mainnet (42220)
Exact Match
Runtime Bytecode
Creation Bytecode
- Contract Name
- PlastikStaking
- Compilation Target
- contracts/Staking.sol:PlastikStaking
- Language
- Solidity
- Compiler
- solc 0.8.6+commit.11564f7e
- EVM Version
- berlin
- Verified At
- 2024-08-08 14:06:21 UTC
- Deployer
- 0x00CcaF084d2535e29Bf526b4cf2EdB3CB3f0F31F
- Deployment Transaction
- 0x1151500dbabefe29c57648b5f1ea5736fcc94bbc9f81cfd68e867c811d7ea825
- Block Number
- 17037055
- Transaction Index
- 2
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: QmPWdVrJ9qnSKk12Ek5CjTzSj14NvsYz4m9mw35QDv6G5J
Loading contract data...
Transformations
Loading contract data...
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: QmPWdVrJ9qnSKk12Ek5CjTzSj14NvsYz4m9mw35QDv6G5J
Loading contract data...
Storage Layout
For non-default storage allocations (e.g. EIP-7201) check out 
| Slot | Offset | Bytes | Label | Type | Contract |
|---|---|---|---|---|---|
| 0 | 0 | 20 | _owner | address | contracts/Staking.sol:PlastikStaking |
| 1 | 0 | 32 | _status | uint256 | contracts/Staking.sol:PlastikStaking |
| 2 | 0 | 20 | plastik | contract IERC20 | contracts/Staking.sol:PlastikStaking |
| 2 | 20 | 1 | hasUserLimit | bool | contracts/Staking.sol:PlastikStaking |
| 2 | 21 | 1 | isInitialized | bool | contracts/Staking.sol:PlastikStaking |
| 3 | 0 | 32 | accTokenPerShare | uint256 | contracts/Staking.sol:PlastikStaking |
| 4 | 0 | 32 | bonusEndBlock | uint256 | contracts/Staking.sol:PlastikStaking |
| 5 | 0 | 32 | startBlock | uint256 | contracts/Staking.sol:PlastikStaking |
| 6 | 0 | 32 | lastRewardBlock | uint256 | contracts/Staking.sol:PlastikStaking |
| 7 | 0 | 32 | poolLimitPerUser | uint256 | contracts/Staking.sol:PlastikStaking |
| 8 | 0 | 32 | rewardPerBlock | uint256 | contracts/Staking.sol:PlastikStaking |
| 9 | 0 | 32 | PRECISION_FACTOR | uint256 | contracts/Staking.sol:PlastikStaking |
| 10 | 0 | 32 | _totalStake | uint256 | contracts/Staking.sol:PlastikStaking |
| 11 | 0 | 32 | _totalStakeLongterm | uint256 | contracts/Staking.sol:PlastikStaking |
| 12 | 0 | 32 | _totalAll | uint256 | contracts/Staking.sol:PlastikStaking |
| 13 | 0 | 20 | rewardDistributionAddress | address | contracts/Staking.sol:PlastikStaking |
| 14 | 0 | 32 | userInfo | mapping(address ⇒ struct PlastikStaking.UserInfo) | contracts/Staking.sol:PlastikStaking |
| 15 | 0 | 32 | userInfoLongTerm | mapping(uint256 ⇒ mapping(address ⇒ struct PlastikStaking.UserInfoLongTerm)) | contracts/Staking.sol:PlastikStaking |
| 16 | 0 | 32 | admin | mapping(address ⇒ bool) | contracts/Staking.sol:PlastikStaking |
| 17 | 0 | 32 | poolInfo | struct PlastikStaking.PoolInfo[] | contracts/Staking.sol:PlastikStaking |
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...