Sourcify Logosourcify.eth

0xE43ea9C641a2af9959CaEEe54aDB089F65457028

on Celo Mainnet (42220)

Match
Runtime Bytecode
Creation Bytecode
Warning: This contract is only matched with runtime bytecode. The constructor may be different from the original one, which could affect the contract's functionality.
Contract Name
Random
Compilation Target
/home/eruiz/Projects/celo/celo-monorepo/packages/protocol/contracts/identity/Random.sol:Random
Language
Solidity
Compiler
solc 0.5.13+commit.5b0b510c
EVM Version
istanbul
Verified At
2024-08-08 14:10:08 UTC
Deployer
Deployment Transaction
Block Number
Transaction Index

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...
Contract couldn't be verified with the creation bytecode but with the runtime bytecode. Below is what was found at the time of verification.

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

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

Loading contract data...

Transformations

CBOR Auxdata Transformations

Byte OffsetsLength (bytes)Values
1227453
Original (recompiled):0xa265627a7a7231582037e96b11f55fddad8cda23e86235fe4c3ba112af843a00bf582544160b9de2b064736f6c634300050d0032
Transformed (onchain):0xa265627a7a72315820e8199276aaa3a2441ede009dc6aed41d1433870b9cca98baac99735dac949a0e64736f6c634300050d0032

Storage Layout

For non-default storage allocations (e.g. EIP-7201) check out EVM Storage Logo
SlotOffsetBytesLabelTypeContract
0020_owneraddress/home/eruiz/Projects/celo/celo-monorepo/packages/protocol/contracts/identity/Random.sol:Random
0201initializedbool/home/eruiz/Projects/celo/celo-monorepo/packages/protocol/contracts/identity/Random.sol:Random
1032commitmentsmapping(address ⇒ bytes32)/home/eruiz/Projects/celo/celo-monorepo/packages/protocol/contracts/identity/Random.sol:Random
2032randomnessBlockRetentionWindowuint256/home/eruiz/Projects/celo/celo-monorepo/packages/protocol/contracts/identity/Random.sol:Random
3032historymapping(uint256 ⇒ bytes32)/home/eruiz/Projects/celo/celo-monorepo/packages/protocol/contracts/identity/Random.sol:Random
4032historyFirstuint256/home/eruiz/Projects/celo/celo-monorepo/packages/protocol/contracts/identity/Random.sol:Random
5032historySizeuint256/home/eruiz/Projects/celo/celo-monorepo/packages/protocol/contracts/identity/Random.sol:Random
6032lastEpochBlockuint256/home/eruiz/Projects/celo/celo-monorepo/packages/protocol/contracts/identity/Random.sol:Random

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...
0xE43ea9C641a2af9959CaEEe54aDB089F65457028 on Celo Mainnet (42220)