0xAaa9CB9f0afCc60d8fb21F82D5D47c4557924115
on Celo Mainnet (42220)
- Contract Name
- Election
- Compilation Target
- /home/eruiz/Projects/celo/celo-monorepo/packages/protocol/contracts/governance/Election.sol:Election
- Language
- Solidity
- Compiler
- solc 0.5.13+commit.5b0b510c
- EVM Version
- istanbul
- Verified At
- 2024-08-08 14:10:03 UTC
- Deployer
- 0xE1207B3e21B6f02331cB71a62167bc27Ea0408Ee
- Deployment Transaction
- 0x6b57ea611170007ad1f0dd7cbc97859cd139adaadf28de1b2cda3080e5e086e7
- Block Number
- 11711016
- Transaction Index
- 0
Read/Write Contract on:
ABI
Source Code
Loading files...
Compiler Settings
Libraries
This contract uses unverified libraries. Libraries can contain arbitrary code and should be verified before interacting with the contract.
Manually Linked Libraries
These libraries are linked manually on the bytecode after the compilation and not by the compiler. See Solidity docs
| Name | Address |
|---|---|
| /home/eruiz/Projects/celo/celo-monorepo/packages/protocol/contracts/common/linkedlists/AddressSortedLinkedList.sol:AddressSortedLinkedList | 0x4819ad0a0eb1304b1d7bc3afd7818017b52a87ab |
Contract Metadata
Creation Bytecode
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
Transformations
Library Transformations
| Fully Qualified Name | Address | Byte Offsets |
|---|---|---|
| /home/eruiz/Projects/celo/celo-monorepo/packages/protocol/contracts/common/linkedlists/AddressSortedLinkedList.sol:AddressSortedLinkedList | 0x4819ad0a0eb1304b1d7bc3afd7818017b52a87ab | 11267,14557,16113,17976,18143,19042,19626,22923,23419,24130,29332,29542,29757,32491,32706,36602,36812,37027 |
Constructor Arguments
CBOR Auxdata Transformations
| Byte Offsets | Length (bytes) | Values |
|---|---|---|
| 42100 | 53 | Original (recompiled):0xa265627a7a72315820091c1543d327eaa9e7426dae6784fc02dec98e77bedbc20c69a3af3d79361f0964736f6c634300050d0032 Transformed (onchain):0xa265627a7a72315820977f5c762e9522175d246d3ebe62c7b03a5821c600045e3f64d91de56c9f6bd964736f6c634300050d0032 |
Runtime Bytecode
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
Transformations
Library Transformations
| Fully Qualified Name | Address | Byte Offsets |
|---|---|---|
| /home/eruiz/Projects/celo/celo-monorepo/packages/protocol/contracts/common/linkedlists/AddressSortedLinkedList.sol:AddressSortedLinkedList | 0x4819ad0a0eb1304b1d7bc3afd7818017b52a87ab | 10945,14235,15791,17654,17821,18720,19304,22601,23097,23808,29010,29220,29435,32169,32384,36280,36490,36705 |
CBOR Auxdata Transformations
| Byte Offsets | Length (bytes) | Values |
|---|---|---|
| 41778 | 53 | Original (recompiled):0xa265627a7a72315820091c1543d327eaa9e7426dae6784fc02dec98e77bedbc20c69a3af3d79361f0964736f6c634300050d0032 Transformed (onchain):0xa265627a7a72315820977f5c762e9522175d246d3ebe62c7b03a5821c600045e3f64d91de56c9f6bd964736f6c634300050d0032 |
Storage Layout
| Slot | Offset | Bytes | Label | Type | Contract |
|---|---|---|---|---|---|
| 0 | 0 | 20 | _owner | address | /home/eruiz/Projects/celo/celo-monorepo/packages/protocol/contracts/governance/Election.sol:Election |
| 1 | 0 | 32 | _guardCounter | uint256 | /home/eruiz/Projects/celo/celo-monorepo/packages/protocol/contracts/governance/Election.sol:Election |
| 2 | 0 | 1 | initialized | bool | /home/eruiz/Projects/celo/celo-monorepo/packages/protocol/contracts/governance/Election.sol:Election |
| 2 | 1 | 20 | registry | contract IRegistry | /home/eruiz/Projects/celo/celo-monorepo/packages/protocol/contracts/governance/Election.sol:Election |
| 3 | 0 | 320 | votes | struct Election.Votes | /home/eruiz/Projects/celo/celo-monorepo/packages/protocol/contracts/governance/Election.sol:Election |
| 13 | 0 | 64 | electableValidators | struct Election.ElectableValidators | /home/eruiz/Projects/celo/celo-monorepo/packages/protocol/contracts/governance/Election.sol:Election |
| 15 | 0 | 32 | maxNumGroupsVotedFor | uint256 | /home/eruiz/Projects/celo/celo-monorepo/packages/protocol/contracts/governance/Election.sol:Election |
| 16 | 0 | 32 | electabilityThreshold | struct FixidityLib.Fraction | /home/eruiz/Projects/celo/celo-monorepo/packages/protocol/contracts/governance/Election.sol:Election |
Standard JSON Input
This isn't the original compiler JSON data. Generated for compatibility.
Standard JSON Output
This isn't the original compiler JSON data. Generated for compatibility.