ETH Price: $3,937.45 (-0.02%)

Contract

0x1Da558cF1a140412e91b8A43Ed135B6DF974805e
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Agreed Agreement208709252024-10-01 13:24:3572 days ago1727789075IN
0x1Da558cF...DF974805e
0 ETH0.000496417.92667238
Agreed Agreement208552842024-09-29 9:05:2374 days ago1727600723IN
0x1Da558cF...DF974805e
0 ETH0.000249659.01562777
Agreed Agreement208521052024-09-28 22:25:5975 days ago1727562359IN
0x1Da558cF...DF974805e
0 ETH0.00015365.54724408
Agreed Agreement208509962024-09-28 18:42:2375 days ago1727548943IN
0x1Da558cF...DF974805e
0 ETH0.000185156.68664705
Agreed Agreement208509162024-09-28 18:26:2375 days ago1727547983IN
0x1Da558cF...DF974805e
0 ETH0.000188266.7987486
Agreed Agreement208508482024-09-28 18:12:4775 days ago1727547167IN
0x1Da558cF...DF974805e
0 ETH0.000156215.64134555

Advanced mode:
Parent Transaction Hash Block
From
To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ConflictOfInterest

Compiler Version
v0.8.25+commit.b61c2a91

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
File 1 of 1 : ConflictOfInterest.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

contract ConflictOfInterest {
    address public owner;
    mapping(address => bool) public councilMembers;
    mapping(address => uint256) public lastAgreedAmendmentIndex;
    uint256 public currentCouncilMembers;
    
    string public constant CHARTER = "WHALE DAO Conflict of Interest Policy\n"
        "September 22, 2024\n"
        "V.0.2\n\n"
        "The purpose of this policy is to protect the integrity and transparency of the WHALE DAO by ensuring that decisions made by WHALE Council members and key participants are free from personal conflicts that could affect their judgment. This policy outlines the expectations for disclosing conflicts of interest and the procedures for managing them.\n\n"
        "1. Scope\n"
        "This policy applies to all WHALE Council members, and key contributors to proposal reviews.\n\n"
        "2. Definition of Conflict of Interest\n"
        "A conflict of interest arises when a WHALE Council member or key contributors have a personal, financial, or professional interest that could potentially interfere with their responsibility and obligation to act in the best interests of the WHALE DAO and its members. This includes, but is not limited to:\n"
        "- Personal financial gain from proposals or decisions\n"
        "- Involvement with a competing project or organization\n"
        "- Personal relationships that may bias judgment or decision-making\n\n"
        "3. Disclosure of Conflict of Interest\n"
        "Initial Disclosure:\n"
        "Upon becoming a member of the WHALE Council, individuals must disclose to the WHALE DAO any known conflicts of interest that may affect their duties within the DAO.\n"
        "Ongoing Disclosure:\n"
        "WHALE Council members must disclose any potential conflicts as they arise. This includes situations where personal, financial, or professional interests may change during their tenure.\n"
        "Proposal-Specific Disclosure:\n"
        "If a WHALE Council member or key contributors to a proposal has a personal or financial interest in a specific proposal, they must disclose it before engaging in any discussions or decisions related to the proposal.\n\n"
        "4. Procedures for Managing Conflicts of Interest\n"
        "Recusal:\n"
        "A WHALE Council member with a conflict of interest in a particular decision must recuse themselves from voting and participating in discussions related to that issue.\n"
        "Transparency:\n"
        "All conflicts of interest and recusals will be documented publicly to ensure transparency within the WHALE DAO.\n"
        "Independent Review:\n"
        "In cases of significant conflict, the WHALE Council may request an independent review or bring the issue to the broader WHALE DAO community for resolution.\n\n"
        "5. Consequences of Failing to Disclose Conflicts\n"
        "Failure to disclose conflicts of interest can result in disciplinary actions, including removal from the WHALE Council or WHALE DAO or other key roles.\n"
        "The WHALE Council reserves the right to invalidate decisions or proposals if it is found that a conflict of interest was not disclosed.\n\n"
        "6. Review and Amendments\n"
        "This WHALE DAO Conflict of Interest Policy will be reviewed annually by the WHALE Council to ensure it remains relevant and effective.\n"
        "Amendments to this policy require a 75% approval from the WHALE Council and should be made available for public review and discussion prior to voting.\n\n"
        "7. Reporting Conflicts of Interest\n"
        "Any Whale, Shark, or Dolphin WHALE role holder may raise concerns about potential conflicts of interest involving WHALE Council members or proposal makers or key contributors. Reports can be submitted through designated communication channels and will be reviewed confidentially by the WHALE Council.\n\n"
        "8. Confidentiality\n"
        "All disclosures and discussions related to conflicts of interest will be handled with discretion. However, the outcome of decisions involving conflicts will be transparently communicated to WHALE DAO.";

    string[] public amendments;

    event CouncilMemberAdded(address indexed member);
    event CouncilMemberRemoved(address indexed member);
    event AgreementSet(address indexed member, uint256 agreedAmendmentIndex);
    event AmendmentAdded(uint256 indexed amendmentIndex, string amendmentText);
    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
    constructor() {
       owner = 0xC9a9D8943680E5986DedFF4E07082C83a39585c6;
        
        address[8] memory initialMembers = [
            0x31fD07Ec5BA9c1DE29A66dEfDa7804c21783177F,
            0x2D89BedA27A407F8d44A81Ef8FF42076a101D991,
            0x134b801671226E79a1daE0c0a0Ae3BDdEF38B0a0,
            0xeFdBc5BeEd16e824678f2963e2CA4A443F95afDF,
            0x92CA131f1E361B86E3062A9A25217A15e5370650,
            0x20739a70e09C05C298b8762dBC8F5aAA5166e9CA,
            0x6f302F68B624FcaF6d4eF2f7DfD8c4fd4B84fCBE,
            0x66D5E4a0A29989c3dB5786f15775F1A4CC82BB6F
        ];
        
        for (uint i = 0; i < initialMembers.length; i++) {
            councilMembers[initialMembers[i]] = true;
            lastAgreedAmendmentIndex[initialMembers[i]] = type(uint256).max;

            emit CouncilMemberAdded(initialMembers[i]);
        }
        
        currentCouncilMembers = initialMembers.length;
    }

    modifier onlyOwner() {
        require(msg.sender == owner, "Only the owner can call this function");
        _;
    }

    modifier onlyCouncilMember() {
        require(councilMembers[msg.sender], "Only council members can call this function");
        _;
    }

     function transferOwnership(address newOwner) public onlyOwner {
        require(newOwner != address(0), "New owner cannot be the zero address");
        emit OwnershipTransferred(owner, newOwner);
        owner = newOwner;
    }

    function addCouncilMember(address _member) public onlyOwner {
        require(!councilMembers[_member], "Address is already a council member");
        
        councilMembers[_member] = true;
        currentCouncilMembers++;
        lastAgreedAmendmentIndex[_member] = type(uint256).max;
        emit CouncilMemberAdded(_member);
    }

    function removeCouncilMember(address _member) external onlyOwner {
        require(councilMembers[_member], "Address is not a council member");
        require(_member != owner, "Cannot remove the owner from the council");
        
        councilMembers[_member] = false;
        currentCouncilMembers--;
        
        lastAgreedAmendmentIndex[_member] = 0;
        
        emit CouncilMemberRemoved(_member);
    }

    function agreedAgreement() external onlyCouncilMember {
        require(lastAgreedAmendmentIndex[msg.sender] < amendments.length || lastAgreedAmendmentIndex[msg.sender] == type(uint256).max, "You have already agreed to all amendments");
        
        lastAgreedAmendmentIndex[msg.sender] = amendments.length;
        
        emit AgreementSet(msg.sender, amendments.length);
    }

    function addAmendment(string memory _amendmentText) external onlyOwner {
        amendments.push(_amendmentText);
        emit AmendmentAdded(amendments.length - 1, _amendmentText);
    }

    function getCharter() external pure returns (string memory) {
        return CHARTER;
    }

    function getAmendment(uint256 _index) external view returns (string memory) {
        require(_index < amendments.length, "Amendment index out of bounds");
        return amendments[_index];
    }

    function getAmendmentsCount() external view returns (uint256) {
        return amendments.length;
    }

    function hasCouncilMemberAgreedToLatest(address _member) external view returns (bool) {
        return lastAgreedAmendmentIndex[_member] == amendments.length;
    }

    function getLastAgreedAmendmentIndex(address _member) external view returns (uint256) {
        return lastAgreedAmendmentIndex[_member];
    }

    function isCouncilMember(address _member) external view returns (bool) {
        return councilMembers[_member];
    }

    function getCurrentCouncilMembers() external view returns (uint256) {
        return currentCouncilMembers;
    }
}

Settings
{
  "remappings": [
    "@openzeppelin/=lib/openzeppelin-contracts/",
    "@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
    "ds-test/=lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/",
    "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
    "forge-std/=lib/forge-std/src/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "useLiteralContent": false,
    "bytecodeHash": "ipfs",
    "appendCBOR": true
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "paris",
  "viaIR": false,
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"member","type":"address"},{"indexed":false,"internalType":"uint256","name":"agreedAmendmentIndex","type":"uint256"}],"name":"AgreementSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"amendmentIndex","type":"uint256"},{"indexed":false,"internalType":"string","name":"amendmentText","type":"string"}],"name":"AmendmentAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"member","type":"address"}],"name":"CouncilMemberAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"member","type":"address"}],"name":"CouncilMemberRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"CHARTER","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_amendmentText","type":"string"}],"name":"addAmendment","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_member","type":"address"}],"name":"addCouncilMember","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"agreedAgreement","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"amendments","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"councilMembers","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentCouncilMembers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_index","type":"uint256"}],"name":"getAmendment","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAmendmentsCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCharter","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"getCurrentCouncilMembers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_member","type":"address"}],"name":"getLastAgreedAmendmentIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_member","type":"address"}],"name":"hasCouncilMemberAgreedToLatest","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_member","type":"address"}],"name":"isCouncilMember","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lastAgreedAmendmentIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_member","type":"address"}],"name":"removeCouncilMember","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50600080546001600160a01b03191673c9a9d8943680e5986dedff4e07082c83a39585c617815560408051610100810182527331fd07ec5ba9c1de29a66defda7804c21783177f8152732d89beda27a407f8d44a81ef8ff42076a101d991602082015273134b801671226e79a1dae0c0a0ae3bddef38b0a09181019190915273efdbc5beed16e824678f2963e2ca4a443f95afdf60608201527392ca131f1e361b86e3062a9a25217a15e537065060808201527320739a70e09c05c298b8762dbc8f5aaa5166e9ca60a0820152736f302f68b624fcaf6d4ef2f7dfd8c4fd4b84fcbe60c08201527366d5e4a0a29989c3db5786f15775f1a4cc82bb6f60e0820152905b600881101561020557600180600084846008811061013357610133610211565b60200201516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff0219169083151502179055506000196002600084846008811061018857610188610211565b60200201516001600160a01b03166001600160a01b03168152602001908152602001600020819055508181600881106101c3576101c3610211565b60200201516001600160a01b03167fdcb46b4634af6065fbbeab63938d70a7cc803a67bc6a5bb9f28fb8d9a5c4ce1460405160405180910390a2600101610113565b50506008600355610227565b634e487b7160e01b600052603260045260246000fd5b611b62806102366000396000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c80638867e6bd116100a2578063a046f32011610071578063a046f32014610287578063c8aeb5f81461028f578063e326484314610297578063ebd7dc521461029f578063f2fde38b146102cb57600080fd5b80638867e6bd146102185780638da5cb5b146102415780639883b9f41461026c578063a02755a21461027f57600080fd5b80632aa3131a116100e95780632aa3131a146101a657806336668b53146101c95780635720439d146101dc57806357b8f471146101ef578063744078d21461020f57600080fd5b80630a6e6eca1461011b5780630b5261111461013257806313e8cc3914610171578063289f537514610191575b600080fd5b6003545b6040519081526020015b60405180910390f35b610161610140366004610a54565b6004546001600160a01b039091166000908152600260205260409020541490565b6040519015158152602001610129565b61018461017f366004610a84565b6102de565b6040516101299190610a9d565b6101a461019f366004610a54565b61038a565b005b6101616101b4366004610a54565b60016020526000908152604090205460ff1681565b6101846101d7366004610a84565b6104b0565b6101a46101ea366004610a54565b6105b1565b61011f6101fd366004610a54565b60026020526000908152604090205481565b61011f60035481565b61011f610226366004610a54565b6001600160a01b031660009081526002602052604090205490565b600054610254906001600160a01b031681565b6040516001600160a01b039091168152602001610129565b6101a461027a366004610b02565b610729565b6101846107d9565b60045461011f565b6101846107fc565b6101a461081b565b6101616102ad366004610a54565b6001600160a01b031660009081526001602052604090205460ff1690565b6101a46102d9366004610a54565b61096d565b600481815481106102ee57600080fd5b90600052602060002001600091509050805461030990610bb3565b80601f016020809104026020016040519081016040528092919081815260200182805461033590610bb3565b80156103825780601f1061035757610100808354040283529160200191610382565b820191906000526020600020905b81548152906001019060200180831161036557829003601f168201915b505050505081565b6000546001600160a01b031633146103bd5760405162461bcd60e51b81526004016103b490610bed565b60405180910390fd5b6001600160a01b03811660009081526001602052604090205460ff16156104325760405162461bcd60e51b815260206004820152602360248201527f4164647265737320697320616c7265616479206120636f756e63696c206d656d6044820152623132b960e91b60648201526084016103b4565b6001600160a01b03811660009081526001602081905260408220805460ff19169091179055600380549161046583610c48565b90915550506001600160a01b0381166000818152600260205260408082206000199055517fdcb46b4634af6065fbbeab63938d70a7cc803a67bc6a5bb9f28fb8d9a5c4ce149190a250565b60045460609082106105045760405162461bcd60e51b815260206004820152601d60248201527f416d656e646d656e7420696e646578206f7574206f6620626f756e647300000060448201526064016103b4565b6004828154811061051757610517610c61565b90600052602060002001805461052c90610bb3565b80601f016020809104026020016040519081016040528092919081815260200182805461055890610bb3565b80156105a55780601f1061057a576101008083540402835291602001916105a5565b820191906000526020600020905b81548152906001019060200180831161058857829003601f168201915b50505050509050919050565b6000546001600160a01b031633146105db5760405162461bcd60e51b81526004016103b490610bed565b6001600160a01b03811660009081526001602052604090205460ff166106435760405162461bcd60e51b815260206004820152601f60248201527f41646472657373206973206e6f74206120636f756e63696c206d656d6265720060448201526064016103b4565b6000546001600160a01b03908116908216036106b25760405162461bcd60e51b815260206004820152602860248201527f43616e6e6f742072656d6f766520746865206f776e65722066726f6d207468656044820152670818dbdd5b98da5b60c21b60648201526084016103b4565b6001600160a01b0381166000908152600160205260408120805460ff1916905560038054916106e083610c77565b90915550506001600160a01b038116600081815260026020526040808220829055517fce6ed85c24e62fbd23486204879240944c169dfcde2952b0c15f12bf120296699190a250565b6000546001600160a01b031633146107535760405162461bcd60e51b81526004016103b490610bed565b600480546001810182556000919091527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b0161078f8282610cdf565b5060045461079f90600190610d9f565b7f77c9e2971159243c1243288c40b51b2f9298a0c340f88d3bc3d5dc2398e2f842826040516107ce9190610a9d565b60405180910390a250565b606060405180610da00160405280610d748152602001610db9610d749139905090565b60405180610da00160405280610d748152602001610db9610d74913981565b3360009081526001602052604090205460ff1661088e5760405162461bcd60e51b815260206004820152602b60248201527f4f6e6c7920636f756e63696c206d656d626572732063616e2063616c6c20746860448201526a34b990333ab731ba34b7b760a91b60648201526084016103b4565b6004543360009081526002602052604090205410806108bd575033600090815260026020526040902054600019145b61091b5760405162461bcd60e51b815260206004820152602960248201527f596f75206861766520616c72656164792061677265656420746f20616c6c20616044820152686d656e646d656e747360b81b60648201526084016103b4565b60045433600081815260026020526040908190208390555190917fafd29ed793e0232b48860df3f47d77f858c77593b0d685aca482bea7fbdf45569161096391815260200190565b60405180910390a2565b6000546001600160a01b031633146109975760405162461bcd60e51b81526004016103b490610bed565b6001600160a01b0381166109f95760405162461bcd60e51b8152602060048201526024808201527f4e6577206f776e65722063616e6e6f7420626520746865207a65726f206164646044820152637265737360e01b60648201526084016103b4565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600060208284031215610a6657600080fd5b81356001600160a01b0381168114610a7d57600080fd5b9392505050565b600060208284031215610a9657600080fd5b5035919050565b60006020808352835180602085015260005b81811015610acb57858101830151858201604001528201610aaf565b506000604082860101526040601f19601f8301168501019250505092915050565b634e487b7160e01b600052604160045260246000fd5b600060208284031215610b1457600080fd5b813567ffffffffffffffff80821115610b2c57600080fd5b818401915084601f830112610b4057600080fd5b813581811115610b5257610b52610aec565b604051601f8201601f19908116603f01168101908382118183101715610b7a57610b7a610aec565b81604052828152876020848701011115610b9357600080fd5b826020860160208301376000928101602001929092525095945050505050565b600181811c90821680610bc757607f821691505b602082108103610be757634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526025908201527f4f6e6c7920746865206f776e65722063616e2063616c6c20746869732066756e60408201526431ba34b7b760d91b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b600060018201610c5a57610c5a610c32565b5060010190565b634e487b7160e01b600052603260045260246000fd5b600081610c8657610c86610c32565b506000190190565b601f821115610cda576000816000526020600020601f850160051c81016020861015610cb75750805b601f850160051c820191505b81811015610cd657828155600101610cc3565b5050505b505050565b815167ffffffffffffffff811115610cf957610cf9610aec565b610d0d81610d078454610bb3565b84610c8e565b602080601f831160018114610d425760008415610d2a5750858301515b600019600386901b1c1916600185901b178555610cd6565b600085815260208120601f198616915b82811015610d7157888601518255948401946001909101908401610d52565b5085821015610d8f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b81810381811115610db257610db2610c32565b9291505056fe5748414c452044414f20436f6e666c696374206f6620496e74657265737420506f6c6963790a53657074656d6265722032322c20323032340a562e302e320a0a54686520707572706f7365206f66207468697320706f6c69637920697320746f2070726f746563742074686520696e7465677269747920616e64207472616e73706172656e6379206f6620746865205748414c452044414f20627920656e737572696e672074686174206465636973696f6e73206d616465206279205748414c4520436f756e63696c206d656d6265727320616e64206b6579207061727469636970616e74732061726520667265652066726f6d20706572736f6e616c20636f6e666c69637473207468617420636f756c6420616666656374207468656972206a7564676d656e742e205468697320706f6c696379206f75746c696e657320746865206578706563746174696f6e7320666f7220646973636c6f73696e6720636f6e666c69637473206f6620696e74657265737420616e64207468652070726f6365647572657320666f72206d616e6167696e67207468656d2e0a0a312e2053636f70650a5468697320706f6c696379206170706c69657320746f20616c6c205748414c4520436f756e63696c206d656d626572732c20616e64206b657920636f6e7472696275746f727320746f2070726f706f73616c20726576696577732e0a0a322e20446566696e6974696f6e206f6620436f6e666c696374206f6620496e7465726573740a4120636f6e666c696374206f6620696e74657265737420617269736573207768656e2061205748414c4520436f756e63696c206d656d626572206f72206b657920636f6e7472696275746f72732068617665206120706572736f6e616c2c2066696e616e6369616c2c206f722070726f66657373696f6e616c20696e746572657374207468617420636f756c6420706f74656e7469616c6c7920696e74657266657265207769746820746865697220726573706f6e736962696c69747920616e64206f626c69676174696f6e20746f2061637420696e20746865206265737420696e74657265737473206f6620746865205748414c452044414f20616e6420697473206d656d626572732e205468697320696e636c756465732c20627574206973206e6f74206c696d6974656420746f3a0a2d20506572736f6e616c2066696e616e6369616c206761696e2066726f6d2070726f706f73616c73206f72206465636973696f6e730a2d20496e766f6c76656d656e742077697468206120636f6d706574696e672070726f6a656374206f72206f7267616e697a6174696f6e0a2d20506572736f6e616c2072656c6174696f6e73686970732074686174206d61792062696173206a7564676d656e74206f72206465636973696f6e2d6d616b696e670a0a332e20446973636c6f73757265206f6620436f6e666c696374206f6620496e7465726573740a496e697469616c20446973636c6f737572653a0a55706f6e206265636f6d696e672061206d656d626572206f6620746865205748414c4520436f756e63696c2c20696e646976696475616c73206d75737420646973636c6f736520746f20746865205748414c452044414f20616e79206b6e6f776e20636f6e666c69637473206f6620696e7465726573742074686174206d617920616666656374207468656972206475746965732077697468696e207468652044414f2e0a4f6e676f696e6720446973636c6f737572653a0a5748414c4520436f756e63696c206d656d62657273206d75737420646973636c6f736520616e7920706f74656e7469616c20636f6e666c6963747320617320746865792061726973652e205468697320696e636c7564657320736974756174696f6e7320776865726520706572736f6e616c2c2066696e616e6369616c2c206f722070726f66657373696f6e616c20696e74657265737473206d6179206368616e676520647572696e672074686569722074656e7572652e0a50726f706f73616c2d537065636966696320446973636c6f737572653a0a49662061205748414c4520436f756e63696c206d656d626572206f72206b657920636f6e7472696275746f727320746f20612070726f706f73616c20686173206120706572736f6e616c206f722066696e616e6369616c20696e74657265737420696e20612073706563696669632070726f706f73616c2c2074686579206d75737420646973636c6f7365206974206265666f726520656e676167696e6720696e20616e792064697363757373696f6e73206f72206465636973696f6e732072656c6174656420746f207468652070726f706f73616c2e0a0a342e2050726f6365647572657320666f72204d616e6167696e6720436f6e666c69637473206f6620496e7465726573740a5265637573616c3a0a41205748414c4520436f756e63696c206d656d6265722077697468206120636f6e666c696374206f6620696e74657265737420696e206120706172746963756c6172206465636973696f6e206d75737420726563757365207468656d73656c7665732066726f6d20766f74696e6720616e642070617274696369706174696e6720696e2064697363757373696f6e732072656c6174656420746f20746861742069737375652e0a5472616e73706172656e63793a0a416c6c20636f6e666c69637473206f6620696e74657265737420616e64207265637573616c732077696c6c20626520646f63756d656e746564207075626c69636c7920746f20656e73757265207472616e73706172656e63792077697468696e20746865205748414c452044414f2e0a496e646570656e64656e74205265766965773a0a496e206361736573206f66207369676e69666963616e7420636f6e666c6963742c20746865205748414c4520436f756e63696c206d6179207265717565737420616e20696e646570656e64656e7420726576696577206f72206272696e672074686520697373756520746f207468652062726f61646572205748414c452044414f20636f6d6d756e69747920666f72207265736f6c7574696f6e2e0a0a352e20436f6e73657175656e636573206f66204661696c696e6720746f20446973636c6f736520436f6e666c696374730a4661696c75726520746f20646973636c6f736520636f6e666c69637473206f6620696e7465726573742063616e20726573756c7420696e206469736369706c696e61727920616374696f6e732c20696e636c7564696e672072656d6f76616c2066726f6d20746865205748414c4520436f756e63696c206f72205748414c452044414f206f72206f74686572206b657920726f6c65732e0a546865205748414c4520436f756e63696c2072657365727665732074686520726967687420746f20696e76616c6964617465206465636973696f6e73206f722070726f706f73616c7320696620697420697320666f756e642074686174206120636f6e666c696374206f6620696e74657265737420776173206e6f7420646973636c6f7365642e0a0a362e2052657669657720616e6420416d656e646d656e74730a54686973205748414c452044414f20436f6e666c696374206f6620496e74657265737420506f6c6963792077696c6c20626520726576696577656420616e6e75616c6c7920627920746865205748414c4520436f756e63696c20746f20656e737572652069742072656d61696e732072656c6576616e7420616e64206566666563746976652e0a416d656e646d656e747320746f207468697320706f6c696379207265717569726520612037352520617070726f76616c2066726f6d20746865205748414c4520436f756e63696c20616e642073686f756c64206265206d61646520617661696c61626c6520666f72207075626c69632072657669657720616e642064697363757373696f6e207072696f7220746f20766f74696e672e0a0a372e205265706f7274696e6720436f6e666c69637473206f6620496e7465726573740a416e79205768616c652c20536861726b2c206f7220446f6c7068696e205748414c4520726f6c6520686f6c646572206d617920726169736520636f6e6365726e732061626f757420706f74656e7469616c20636f6e666c69637473206f6620696e74657265737420696e766f6c76696e67205748414c4520436f756e63696c206d656d62657273206f722070726f706f73616c206d616b657273206f72206b657920636f6e7472696275746f72732e205265706f7274732063616e206265207375626d6974746564207468726f7567682064657369676e6174656420636f6d6d756e69636174696f6e206368616e6e656c7320616e642077696c6c20626520726576696577656420636f6e666964656e7469616c6c7920627920746865205748414c4520436f756e63696c2e0a0a382e20436f6e666964656e7469616c6974790a416c6c20646973636c6f737572657320616e642064697363757373696f6e732072656c6174656420746f20636f6e666c69637473206f6620696e7465726573742077696c6c2062652068616e646c656420776974682064697363726574696f6e2e20486f77657665722c20746865206f7574636f6d65206f66206465636973696f6e7320696e766f6c76696e6720636f6e666c696374732077696c6c206265207472616e73706172656e746c7920636f6d6d756e69636174656420746f205748414c452044414f2ea2646970667358221220c3275791d71e6606ded3dc6c09c4cbfac4e32704d82fda7c8777ab5b448bc95264736f6c63430008190033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101165760003560e01c80638867e6bd116100a2578063a046f32011610071578063a046f32014610287578063c8aeb5f81461028f578063e326484314610297578063ebd7dc521461029f578063f2fde38b146102cb57600080fd5b80638867e6bd146102185780638da5cb5b146102415780639883b9f41461026c578063a02755a21461027f57600080fd5b80632aa3131a116100e95780632aa3131a146101a657806336668b53146101c95780635720439d146101dc57806357b8f471146101ef578063744078d21461020f57600080fd5b80630a6e6eca1461011b5780630b5261111461013257806313e8cc3914610171578063289f537514610191575b600080fd5b6003545b6040519081526020015b60405180910390f35b610161610140366004610a54565b6004546001600160a01b039091166000908152600260205260409020541490565b6040519015158152602001610129565b61018461017f366004610a84565b6102de565b6040516101299190610a9d565b6101a461019f366004610a54565b61038a565b005b6101616101b4366004610a54565b60016020526000908152604090205460ff1681565b6101846101d7366004610a84565b6104b0565b6101a46101ea366004610a54565b6105b1565b61011f6101fd366004610a54565b60026020526000908152604090205481565b61011f60035481565b61011f610226366004610a54565b6001600160a01b031660009081526002602052604090205490565b600054610254906001600160a01b031681565b6040516001600160a01b039091168152602001610129565b6101a461027a366004610b02565b610729565b6101846107d9565b60045461011f565b6101846107fc565b6101a461081b565b6101616102ad366004610a54565b6001600160a01b031660009081526001602052604090205460ff1690565b6101a46102d9366004610a54565b61096d565b600481815481106102ee57600080fd5b90600052602060002001600091509050805461030990610bb3565b80601f016020809104026020016040519081016040528092919081815260200182805461033590610bb3565b80156103825780601f1061035757610100808354040283529160200191610382565b820191906000526020600020905b81548152906001019060200180831161036557829003601f168201915b505050505081565b6000546001600160a01b031633146103bd5760405162461bcd60e51b81526004016103b490610bed565b60405180910390fd5b6001600160a01b03811660009081526001602052604090205460ff16156104325760405162461bcd60e51b815260206004820152602360248201527f4164647265737320697320616c7265616479206120636f756e63696c206d656d6044820152623132b960e91b60648201526084016103b4565b6001600160a01b03811660009081526001602081905260408220805460ff19169091179055600380549161046583610c48565b90915550506001600160a01b0381166000818152600260205260408082206000199055517fdcb46b4634af6065fbbeab63938d70a7cc803a67bc6a5bb9f28fb8d9a5c4ce149190a250565b60045460609082106105045760405162461bcd60e51b815260206004820152601d60248201527f416d656e646d656e7420696e646578206f7574206f6620626f756e647300000060448201526064016103b4565b6004828154811061051757610517610c61565b90600052602060002001805461052c90610bb3565b80601f016020809104026020016040519081016040528092919081815260200182805461055890610bb3565b80156105a55780601f1061057a576101008083540402835291602001916105a5565b820191906000526020600020905b81548152906001019060200180831161058857829003601f168201915b50505050509050919050565b6000546001600160a01b031633146105db5760405162461bcd60e51b81526004016103b490610bed565b6001600160a01b03811660009081526001602052604090205460ff166106435760405162461bcd60e51b815260206004820152601f60248201527f41646472657373206973206e6f74206120636f756e63696c206d656d6265720060448201526064016103b4565b6000546001600160a01b03908116908216036106b25760405162461bcd60e51b815260206004820152602860248201527f43616e6e6f742072656d6f766520746865206f776e65722066726f6d207468656044820152670818dbdd5b98da5b60c21b60648201526084016103b4565b6001600160a01b0381166000908152600160205260408120805460ff1916905560038054916106e083610c77565b90915550506001600160a01b038116600081815260026020526040808220829055517fce6ed85c24e62fbd23486204879240944c169dfcde2952b0c15f12bf120296699190a250565b6000546001600160a01b031633146107535760405162461bcd60e51b81526004016103b490610bed565b600480546001810182556000919091527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b0161078f8282610cdf565b5060045461079f90600190610d9f565b7f77c9e2971159243c1243288c40b51b2f9298a0c340f88d3bc3d5dc2398e2f842826040516107ce9190610a9d565b60405180910390a250565b606060405180610da00160405280610d748152602001610db9610d749139905090565b60405180610da00160405280610d748152602001610db9610d74913981565b3360009081526001602052604090205460ff1661088e5760405162461bcd60e51b815260206004820152602b60248201527f4f6e6c7920636f756e63696c206d656d626572732063616e2063616c6c20746860448201526a34b990333ab731ba34b7b760a91b60648201526084016103b4565b6004543360009081526002602052604090205410806108bd575033600090815260026020526040902054600019145b61091b5760405162461bcd60e51b815260206004820152602960248201527f596f75206861766520616c72656164792061677265656420746f20616c6c20616044820152686d656e646d656e747360b81b60648201526084016103b4565b60045433600081815260026020526040908190208390555190917fafd29ed793e0232b48860df3f47d77f858c77593b0d685aca482bea7fbdf45569161096391815260200190565b60405180910390a2565b6000546001600160a01b031633146109975760405162461bcd60e51b81526004016103b490610bed565b6001600160a01b0381166109f95760405162461bcd60e51b8152602060048201526024808201527f4e6577206f776e65722063616e6e6f7420626520746865207a65726f206164646044820152637265737360e01b60648201526084016103b4565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b600060208284031215610a6657600080fd5b81356001600160a01b0381168114610a7d57600080fd5b9392505050565b600060208284031215610a9657600080fd5b5035919050565b60006020808352835180602085015260005b81811015610acb57858101830151858201604001528201610aaf565b506000604082860101526040601f19601f8301168501019250505092915050565b634e487b7160e01b600052604160045260246000fd5b600060208284031215610b1457600080fd5b813567ffffffffffffffff80821115610b2c57600080fd5b818401915084601f830112610b4057600080fd5b813581811115610b5257610b52610aec565b604051601f8201601f19908116603f01168101908382118183101715610b7a57610b7a610aec565b81604052828152876020848701011115610b9357600080fd5b826020860160208301376000928101602001929092525095945050505050565b600181811c90821680610bc757607f821691505b602082108103610be757634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526025908201527f4f6e6c7920746865206f776e65722063616e2063616c6c20746869732066756e60408201526431ba34b7b760d91b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b600060018201610c5a57610c5a610c32565b5060010190565b634e487b7160e01b600052603260045260246000fd5b600081610c8657610c86610c32565b506000190190565b601f821115610cda576000816000526020600020601f850160051c81016020861015610cb75750805b601f850160051c820191505b81811015610cd657828155600101610cc3565b5050505b505050565b815167ffffffffffffffff811115610cf957610cf9610aec565b610d0d81610d078454610bb3565b84610c8e565b602080601f831160018114610d425760008415610d2a5750858301515b600019600386901b1c1916600185901b178555610cd6565b600085815260208120601f198616915b82811015610d7157888601518255948401946001909101908401610d52565b5085821015610d8f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b81810381811115610db257610db2610c32565b9291505056fe5748414c452044414f20436f6e666c696374206f6620496e74657265737420506f6c6963790a53657074656d6265722032322c20323032340a562e302e320a0a54686520707572706f7365206f66207468697320706f6c69637920697320746f2070726f746563742074686520696e7465677269747920616e64207472616e73706172656e6379206f6620746865205748414c452044414f20627920656e737572696e672074686174206465636973696f6e73206d616465206279205748414c4520436f756e63696c206d656d6265727320616e64206b6579207061727469636970616e74732061726520667265652066726f6d20706572736f6e616c20636f6e666c69637473207468617420636f756c6420616666656374207468656972206a7564676d656e742e205468697320706f6c696379206f75746c696e657320746865206578706563746174696f6e7320666f7220646973636c6f73696e6720636f6e666c69637473206f6620696e74657265737420616e64207468652070726f6365647572657320666f72206d616e6167696e67207468656d2e0a0a312e2053636f70650a5468697320706f6c696379206170706c69657320746f20616c6c205748414c4520436f756e63696c206d656d626572732c20616e64206b657920636f6e7472696275746f727320746f2070726f706f73616c20726576696577732e0a0a322e20446566696e6974696f6e206f6620436f6e666c696374206f6620496e7465726573740a4120636f6e666c696374206f6620696e74657265737420617269736573207768656e2061205748414c4520436f756e63696c206d656d626572206f72206b657920636f6e7472696275746f72732068617665206120706572736f6e616c2c2066696e616e6369616c2c206f722070726f66657373696f6e616c20696e746572657374207468617420636f756c6420706f74656e7469616c6c7920696e74657266657265207769746820746865697220726573706f6e736962696c69747920616e64206f626c69676174696f6e20746f2061637420696e20746865206265737420696e74657265737473206f6620746865205748414c452044414f20616e6420697473206d656d626572732e205468697320696e636c756465732c20627574206973206e6f74206c696d6974656420746f3a0a2d20506572736f6e616c2066696e616e6369616c206761696e2066726f6d2070726f706f73616c73206f72206465636973696f6e730a2d20496e766f6c76656d656e742077697468206120636f6d706574696e672070726f6a656374206f72206f7267616e697a6174696f6e0a2d20506572736f6e616c2072656c6174696f6e73686970732074686174206d61792062696173206a7564676d656e74206f72206465636973696f6e2d6d616b696e670a0a332e20446973636c6f73757265206f6620436f6e666c696374206f6620496e7465726573740a496e697469616c20446973636c6f737572653a0a55706f6e206265636f6d696e672061206d656d626572206f6620746865205748414c4520436f756e63696c2c20696e646976696475616c73206d75737420646973636c6f736520746f20746865205748414c452044414f20616e79206b6e6f776e20636f6e666c69637473206f6620696e7465726573742074686174206d617920616666656374207468656972206475746965732077697468696e207468652044414f2e0a4f6e676f696e6720446973636c6f737572653a0a5748414c4520436f756e63696c206d656d62657273206d75737420646973636c6f736520616e7920706f74656e7469616c20636f6e666c6963747320617320746865792061726973652e205468697320696e636c7564657320736974756174696f6e7320776865726520706572736f6e616c2c2066696e616e6369616c2c206f722070726f66657373696f6e616c20696e74657265737473206d6179206368616e676520647572696e672074686569722074656e7572652e0a50726f706f73616c2d537065636966696320446973636c6f737572653a0a49662061205748414c4520436f756e63696c206d656d626572206f72206b657920636f6e7472696275746f727320746f20612070726f706f73616c20686173206120706572736f6e616c206f722066696e616e6369616c20696e74657265737420696e20612073706563696669632070726f706f73616c2c2074686579206d75737420646973636c6f7365206974206265666f726520656e676167696e6720696e20616e792064697363757373696f6e73206f72206465636973696f6e732072656c6174656420746f207468652070726f706f73616c2e0a0a342e2050726f6365647572657320666f72204d616e6167696e6720436f6e666c69637473206f6620496e7465726573740a5265637573616c3a0a41205748414c4520436f756e63696c206d656d6265722077697468206120636f6e666c696374206f6620696e74657265737420696e206120706172746963756c6172206465636973696f6e206d75737420726563757365207468656d73656c7665732066726f6d20766f74696e6720616e642070617274696369706174696e6720696e2064697363757373696f6e732072656c6174656420746f20746861742069737375652e0a5472616e73706172656e63793a0a416c6c20636f6e666c69637473206f6620696e74657265737420616e64207265637573616c732077696c6c20626520646f63756d656e746564207075626c69636c7920746f20656e73757265207472616e73706172656e63792077697468696e20746865205748414c452044414f2e0a496e646570656e64656e74205265766965773a0a496e206361736573206f66207369676e69666963616e7420636f6e666c6963742c20746865205748414c4520436f756e63696c206d6179207265717565737420616e20696e646570656e64656e7420726576696577206f72206272696e672074686520697373756520746f207468652062726f61646572205748414c452044414f20636f6d6d756e69747920666f72207265736f6c7574696f6e2e0a0a352e20436f6e73657175656e636573206f66204661696c696e6720746f20446973636c6f736520436f6e666c696374730a4661696c75726520746f20646973636c6f736520636f6e666c69637473206f6620696e7465726573742063616e20726573756c7420696e206469736369706c696e61727920616374696f6e732c20696e636c7564696e672072656d6f76616c2066726f6d20746865205748414c4520436f756e63696c206f72205748414c452044414f206f72206f74686572206b657920726f6c65732e0a546865205748414c4520436f756e63696c2072657365727665732074686520726967687420746f20696e76616c6964617465206465636973696f6e73206f722070726f706f73616c7320696620697420697320666f756e642074686174206120636f6e666c696374206f6620696e74657265737420776173206e6f7420646973636c6f7365642e0a0a362e2052657669657720616e6420416d656e646d656e74730a54686973205748414c452044414f20436f6e666c696374206f6620496e74657265737420506f6c6963792077696c6c20626520726576696577656420616e6e75616c6c7920627920746865205748414c4520436f756e63696c20746f20656e737572652069742072656d61696e732072656c6576616e7420616e64206566666563746976652e0a416d656e646d656e747320746f207468697320706f6c696379207265717569726520612037352520617070726f76616c2066726f6d20746865205748414c4520436f756e63696c20616e642073686f756c64206265206d61646520617661696c61626c6520666f72207075626c69632072657669657720616e642064697363757373696f6e207072696f7220746f20766f74696e672e0a0a372e205265706f7274696e6720436f6e666c69637473206f6620496e7465726573740a416e79205768616c652c20536861726b2c206f7220446f6c7068696e205748414c4520726f6c6520686f6c646572206d617920726169736520636f6e6365726e732061626f757420706f74656e7469616c20636f6e666c69637473206f6620696e74657265737420696e766f6c76696e67205748414c4520436f756e63696c206d656d62657273206f722070726f706f73616c206d616b657273206f72206b657920636f6e7472696275746f72732e205265706f7274732063616e206265207375626d6974746564207468726f7567682064657369676e6174656420636f6d6d756e69636174696f6e206368616e6e656c7320616e642077696c6c20626520726576696577656420636f6e666964656e7469616c6c7920627920746865205748414c4520436f756e63696c2e0a0a382e20436f6e666964656e7469616c6974790a416c6c20646973636c6f737572657320616e642064697363757373696f6e732072656c6174656420746f20636f6e666c69637473206f6620696e7465726573742077696c6c2062652068616e646c656420776974682064697363726574696f6e2e20486f77657665722c20746865206f7574636f6d65206f66206465636973696f6e7320696e766f6c76696e6720636f6e666c696374732077696c6c206265207472616e73706172656e746c7920636f6d6d756e69636174656420746f205748414c452044414f2ea2646970667358221220c3275791d71e6606ded3dc6c09c4cbfac4e32704d82fda7c8777ab5b448bc95264736f6c63430008190033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.