Skip to content
Verified contractPartialAGPL-3.0-or-later

VoteDelegateFactory

Address0x4cf3daefa2683cd18df00f7aff5169c00a9eccd5
Balance

0 ETH

 

Transactions

88

 

Compiler

solc 0.8.21

 

Same code

Only this contract

 

Details

Compiler
solc 0.8.21+commit.d9974bed
Language
solidity
Optimization
Yes, 200 runs
EVM version
shanghai
License
AGPL-3.0-or-later
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
22,368,737
Creation transaction
0x2456c2227a…202946ccb8

Read5

  • chief() → (address)
  • created(address) → (uint256)
  • delegates(address) → (address)
  • isDelegate(address) → (bool)
  • polling() → (address)

Write1

  • create() → (address)

Events1

  • CreateVoteDelegate(address,address)

ABI as JSON

[
  {
    "type": "constructor",
    "inputs": [
      {
        "name": "_chief",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "_polling",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "nonpayable"
  },
  {
    "name": "CreateVoteDelegate",
    "type": "event",
    "inputs": [
      {
        "name": "usr",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "voteDelegate",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      }
    ],
    "anonymous": false
  },
  {
    "name": "chief",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "create",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "voteDelegate",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "nonpayable"
  },
  {
    "name": "created",
    "type": "function",
    "inputs": [
      {
        "name": "voteDelegate",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [
      {
        "name": "created",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "delegates",
    "type": "function",
    "inputs": [
      {
        "name": "usr",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [
      {
        "name": "voteDelegate",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "isDelegate",
    "type": "function",
    "inputs": [
      {
        "name": "usr",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [
      {
        "name": "ok",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "polling",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "view"
  }
]

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.