ETH Price: $2,100.70 (+1.46%)

Contract

0xC4b79F2eb7ecFeC65ce29fd6c066bBD404396f95
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Free All114268472020-12-10 18:36:291919 days ago1607625389IN
0xC4b79F2e...404396f95
0 ETH0.0013301318.7
Vote113797372020-12-03 12:55:541926 days ago1607000154IN
0xC4b79F2e...404396f95
0 ETH0.0008853115
Vote103449532020-06-27 1:38:142085 days ago1593221894IN
0xC4b79F2e...404396f95
0 ETH0.0014128220
Vote102675582020-06-15 2:07:352097 days ago1592186855IN
0xC4b79F2e...404396f95
0 ETH0.0009183313
Vote99822812020-05-01 19:45:502141 days ago1588362350IN
0xC4b79F2e...404396f95
0 ETH0.000211923
Vote99374582020-04-24 20:46:122148 days ago1587761172IN
0xC4b79F2e...404396f95
0 ETH0.000141282
Vote99064132020-04-20 1:32:012153 days ago1587346321IN
0xC4b79F2e...404396f95
0 ETH0.000091831.3
Vote98001772020-04-03 16:40:552170 days ago1585932055IN
0xC4b79F2e...404396f95
0 ETH0.000372123
Vote97550702020-03-27 18:22:412177 days ago1585333361IN
0xC4b79F2e...404396f95
0 ETH0.000070641
Vote97493522020-03-26 21:26:492177 days ago1585258009IN
0xC4b79F2e...404396f95
0 ETH0.000070641
Vote97151232020-03-21 12:55:302183 days ago1584795330IN
0xC4b79F2e...404396f95
0 ETH0.000070641
Vote96850152020-03-16 21:29:472187 days ago1584394187IN
0xC4b79F2e...404396f95
0 ETH0.000141282
Lock96850042020-03-16 21:27:162187 days ago1584394036IN
0xC4b79F2e...404396f95
0 ETH0.000193362
Vote95282842020-02-21 18:43:462212 days ago1582310626IN
0xC4b79F2e...404396f95
0 ETH0.000070641
Vote95093672020-02-18 20:46:542214 days ago1582058814IN
0xC4b79F2e...404396f95
0 ETH0.000070641
Vote94827322020-02-14 18:22:502219 days ago1581704570IN
0xC4b79F2e...404396f95
0 ETH0.000105961.5
Vote93913622020-01-31 17:25:182233 days ago1580491518IN
0xC4b79F2e...404396f95
0 ETH0.000075331
Lock93722072020-01-28 18:48:062236 days ago1580237286IN
0xC4b79F2e...404396f95
0 ETH0.00097778.4

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Method Block
From
To
-93721822020-01-28 18:41:432236 days ago1580236903  Contract Creation0 ETH
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x8Ea454d1...eB9b26A6c
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
VoteProxy

Compiler Version
v0.5.6+commit.b259423e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2019-05-07
*/

contract DSNote {
    event LogNote(
        bytes4   indexed  sig,
        address  indexed  guy,
        bytes32  indexed  foo,
        bytes32  indexed  bar,
        uint256           wad,
        bytes             fax
    ) anonymous;

    modifier note {
        bytes32 foo;
        bytes32 bar;
        uint256 wad;

        assembly {
            foo := calldataload(4)
            bar := calldataload(36)
            wad := callvalue
        }

        emit LogNote(msg.sig, msg.sender, foo, bar, wad, msg.data);

        _;
    }
}

contract DSAuthority {
    function canCall(
        address src, address dst, bytes4 sig
    ) public view returns (bool);
}

contract DSAuthEvents {
    event LogSetAuthority (address indexed authority);
    event LogSetOwner     (address indexed owner);
}

contract DSAuth is DSAuthEvents {
    DSAuthority  public  authority;
    address      public  owner;

    constructor() public {
        owner = msg.sender;
        emit LogSetOwner(msg.sender);
    }

    function setOwner(address owner_)
        public
        auth
    {
        owner = owner_;
        emit LogSetOwner(owner);
    }

    function setAuthority(DSAuthority authority_)
        public
        auth
    {
        authority = authority_;
        emit LogSetAuthority(address(authority));
    }

    modifier auth {
        require(isAuthorized(msg.sender, msg.sig), "ds-auth-unauthorized");
        _;
    }

    function isAuthorized(address src, bytes4 sig) internal view returns (bool) {
        if (src == address(this)) {
            return true;
        } else if (src == owner) {
            return true;
        } else if (authority == DSAuthority(0)) {
            return false;
        } else {
            return authority.canCall(src, address(this), sig);
        }
    }
}

contract DSMath {
    function add(uint x, uint y) internal pure returns (uint z) {
        require((z = x + y) >= x, "ds-math-add-overflow");
    }
    function sub(uint x, uint y) internal pure returns (uint z) {
        require((z = x - y) <= x, "ds-math-sub-underflow");
    }
    function mul(uint x, uint y) internal pure returns (uint z) {
        require(y == 0 || (z = x * y) / y == x, "ds-math-mul-overflow");
    }

    function min(uint x, uint y) internal pure returns (uint z) {
        return x <= y ? x : y;
    }
    function max(uint x, uint y) internal pure returns (uint z) {
        return x >= y ? x : y;
    }
    function imin(int x, int y) internal pure returns (int z) {
        return x <= y ? x : y;
    }
    function imax(int x, int y) internal pure returns (int z) {
        return x >= y ? x : y;
    }

    uint constant WAD = 10 ** 18;
    uint constant RAY = 10 ** 27;

    function wmul(uint x, uint y) internal pure returns (uint z) {
        z = add(mul(x, y), WAD / 2) / WAD;
    }
    function rmul(uint x, uint y) internal pure returns (uint z) {
        z = add(mul(x, y), RAY / 2) / RAY;
    }
    function wdiv(uint x, uint y) internal pure returns (uint z) {
        z = add(mul(x, WAD), y / 2) / y;
    }
    function rdiv(uint x, uint y) internal pure returns (uint z) {
        z = add(mul(x, RAY), y / 2) / y;
    }

    // This famous algorithm is called "exponentiation by squaring"
    // and calculates x^n with x as fixed-point and n as regular unsigned.
    //
    // It's O(log n), instead of O(n) for naive repeated multiplication.
    //
    // These facts are why it works:
    //
    //  If n is even, then x^n = (x^2)^(n/2).
    //  If n is odd,  then x^n = x * x^(n-1),
    //   and applying the equation for even x gives
    //    x^n = x * (x^2)^((n-1) / 2).
    //
    //  Also, EVM division is flooring and
    //    floor[(n-1) / 2] = floor[n / 2].
    //
    function rpow(uint x, uint n) internal pure returns (uint z) {
        z = n % 2 != 0 ? x : RAY;

        for (n /= 2; n != 0; n /= 2) {
            x = rmul(x, x);

            if (n % 2 != 0) {
                z = rmul(z, x);
            }
        }
    }
}

contract DSStop is DSNote, DSAuth {
    bool public stopped;

    modifier stoppable {
        require(!stopped, "ds-stop-is-stopped");
        _;
    }
    function stop() public auth note {
        stopped = true;
    }
    function start() public auth note {
        stopped = false;
    }

}

contract DSThing is DSAuth, DSNote, DSMath {
    function S(string memory s) internal pure returns (bytes4) {
        return bytes4(keccak256(abi.encodePacked(s)));
    }

}

contract ERC20Events {
    event Approval(address indexed src, address indexed guy, uint wad);
    event Transfer(address indexed src, address indexed dst, uint wad);
}

contract ERC20 is ERC20Events {
    function totalSupply() public view returns (uint);
    function balanceOf(address guy) public view returns (uint);
    function allowance(address src, address guy) public view returns (uint);

    function approve(address guy, uint wad) public returns (bool);
    function transfer(address dst, uint wad) public returns (bool);
    function transferFrom(
        address src, address dst, uint wad
    ) public returns (bool);
}


contract DSTokenBase is ERC20, DSMath {
    uint256                                            _supply;
    mapping (address => uint256)                       _balances;
    mapping (address => mapping (address => uint256))  _approvals;

    constructor(uint supply) public {
        _balances[msg.sender] = supply;
        _supply = supply;
    }

    function totalSupply() public view returns (uint) {
        return _supply;
    }
    function balanceOf(address src) public view returns (uint) {
        return _balances[src];
    }
    function allowance(address src, address guy) public view returns (uint) {
        return _approvals[src][guy];
    }

    function transfer(address dst, uint wad) public returns (bool) {
        return transferFrom(msg.sender, dst, wad);
    }

    function transferFrom(address src, address dst, uint wad)
        public
        returns (bool)
    {
        if (src != msg.sender) {
            require(_approvals[src][msg.sender] >= wad, "ds-token-insufficient-approval");
            _approvals[src][msg.sender] = sub(_approvals[src][msg.sender], wad);
        }

        require(_balances[src] >= wad, "ds-token-insufficient-balance");
        _balances[src] = sub(_balances[src], wad);
        _balances[dst] = add(_balances[dst], wad);

        emit Transfer(src, dst, wad);

        return true;
    }

    function approve(address guy, uint wad) public returns (bool) {
        _approvals[msg.sender][guy] = wad;

        emit Approval(msg.sender, guy, wad);

        return true;
    }
}

contract DSToken is DSTokenBase(0), DSStop {

    bytes32  public  symbol;
    uint256  public  decimals = 18; // standard token precision. override to customize

    constructor(bytes32 symbol_) public {
        symbol = symbol_;
    }

    event Mint(address indexed guy, uint wad);
    event Burn(address indexed guy, uint wad);

    function approve(address guy) public stoppable returns (bool) {
        return super.approve(guy, uint(-1));
    }

    function approve(address guy, uint wad) public stoppable returns (bool) {
        return super.approve(guy, wad);
    }

    function transferFrom(address src, address dst, uint wad)
        public
        stoppable
        returns (bool)
    {
        if (src != msg.sender && _approvals[src][msg.sender] != uint(-1)) {
            require(_approvals[src][msg.sender] >= wad, "ds-token-insufficient-approval");
            _approvals[src][msg.sender] = sub(_approvals[src][msg.sender], wad);
        }

        require(_balances[src] >= wad, "ds-token-insufficient-balance");
        _balances[src] = sub(_balances[src], wad);
        _balances[dst] = add(_balances[dst], wad);

        emit Transfer(src, dst, wad);

        return true;
    }

    function push(address dst, uint wad) public {
        transferFrom(msg.sender, dst, wad);
    }
    function pull(address src, uint wad) public {
        transferFrom(src, msg.sender, wad);
    }
    function move(address src, address dst, uint wad) public {
        transferFrom(src, dst, wad);
    }

    function mint(uint wad) public {
        mint(msg.sender, wad);
    }
    function burn(uint wad) public {
        burn(msg.sender, wad);
    }
    function mint(address guy, uint wad) public auth stoppable {
        _balances[guy] = add(_balances[guy], wad);
        _supply = add(_supply, wad);
        emit Mint(guy, wad);
    }
    function burn(address guy, uint wad) public auth stoppable {
        if (guy != msg.sender && _approvals[guy][msg.sender] != uint(-1)) {
            require(_approvals[guy][msg.sender] >= wad, "ds-token-insufficient-approval");
            _approvals[guy][msg.sender] = sub(_approvals[guy][msg.sender], wad);
        }

        require(_balances[guy] >= wad, "ds-token-insufficient-balance");
        _balances[guy] = sub(_balances[guy], wad);
        _supply = sub(_supply, wad);
        emit Burn(guy, wad);
    }

    // Optional token name
    bytes32   public  name = "";

    function setName(bytes32 name_) public auth {
        name = name_;
    }
}



contract DSRoles is DSAuth, DSAuthority
{
    mapping(address=>bool) _root_users;
    mapping(address=>bytes32) _user_roles;
    mapping(address=>mapping(bytes4=>bytes32)) _capability_roles;
    mapping(address=>mapping(bytes4=>bool)) _public_capabilities;

    function getUserRoles(address who)
        public
        view
        returns (bytes32)
    {
        return _user_roles[who];
    }

    function getCapabilityRoles(address code, bytes4 sig)
        public
        view
        returns (bytes32)
    {
        return _capability_roles[code][sig];
    }

    function isUserRoot(address who)
        public
        view
        returns (bool)
    {
        return _root_users[who];
    }

    function isCapabilityPublic(address code, bytes4 sig)
        public
        view
        returns (bool)
    {
        return _public_capabilities[code][sig];
    }

    function hasUserRole(address who, uint8 role)
        public
        view
        returns (bool)
    {
        bytes32 roles = getUserRoles(who);
        bytes32 shifted = bytes32(uint256(uint256(2) ** uint256(role)));
        return bytes32(0) != roles & shifted;
    }

    function canCall(address caller, address code, bytes4 sig)
        public
        view
        returns (bool)
    {
        if( isUserRoot(caller) || isCapabilityPublic(code, sig) ) {
            return true;
        } else {
            bytes32 has_roles = getUserRoles(caller);
            bytes32 needs_one_of = getCapabilityRoles(code, sig);
            return bytes32(0) != has_roles & needs_one_of;
        }
    }

    function BITNOT(bytes32 input) internal pure returns (bytes32 output) {
        return (input ^ bytes32(uint(-1)));
    }

    function setRootUser(address who, bool enabled)
        public
        auth
    {
        _root_users[who] = enabled;
    }

    function setUserRole(address who, uint8 role, bool enabled)
        public
        auth
    {
        bytes32 last_roles = _user_roles[who];
        bytes32 shifted = bytes32(uint256(uint256(2) ** uint256(role)));
        if( enabled ) {
            _user_roles[who] = last_roles | shifted;
        } else {
            _user_roles[who] = last_roles & BITNOT(shifted);
        }
    }

    function setPublicCapability(address code, bytes4 sig, bool enabled)
        public
        auth
    {
        _public_capabilities[code][sig] = enabled;
    }

    function setRoleCapability(uint8 role, address code, bytes4 sig, bool enabled)
        public
        auth
    {
        bytes32 last_roles = _capability_roles[code][sig];
        bytes32 shifted = bytes32(uint256(uint256(2) ** uint256(role)));
        if( enabled ) {
            _capability_roles[code][sig] = last_roles | shifted;
        } else {
            _capability_roles[code][sig] = last_roles & BITNOT(shifted);
        }

    }

}


contract DSChiefApprovals is DSThing {
    mapping(bytes32=>address[]) public slates;
    mapping(address=>bytes32) public votes;
    mapping(address=>uint256) public approvals;
    mapping(address=>uint256) public deposits;
    DSToken public GOV; // voting token that gets locked up
    DSToken public IOU; // non-voting representation of a token, for e.g. secondary voting mechanisms
    address public hat; // the chieftain's hat

    uint256 public MAX_YAYS;

    event Etch(bytes32 indexed slate);

    // IOU constructed outside this contract reduces deployment costs significantly
    // lock/free/vote are quite sensitive to token invariants. Caution is advised.
    constructor(DSToken GOV_, DSToken IOU_, uint MAX_YAYS_) public
    {
        GOV = GOV_;
        IOU = IOU_;
        MAX_YAYS = MAX_YAYS_;
    }

    function lock(uint wad)
        public
        note
    {
        GOV.pull(msg.sender, wad);
        IOU.mint(msg.sender, wad);
        deposits[msg.sender] = add(deposits[msg.sender], wad);
        addWeight(wad, votes[msg.sender]);
    }

    function free(uint wad)
        public
        note
    {
        deposits[msg.sender] = sub(deposits[msg.sender], wad);
        subWeight(wad, votes[msg.sender]);
        IOU.burn(msg.sender, wad);
        GOV.push(msg.sender, wad);
    }

    function etch(address[] memory yays)
        public
        note
        returns (bytes32 slate)
    {
        require( yays.length <= MAX_YAYS );
        requireByteOrderedSet(yays);

        bytes32 hash = keccak256(abi.encodePacked(yays));
        slates[hash] = yays;
        emit Etch(hash);
        return hash;
    }

    function vote(address[] memory yays) public returns (bytes32)
        // note  both sub-calls note
    {
        bytes32 slate = etch(yays);
        vote(slate);
        return slate;
    }

    function vote(bytes32 slate)
        public
        note
    {
        require(slates[slate].length > 0 || 
            slate == 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470, "ds-chief-invalid-slate");
        uint weight = deposits[msg.sender];
        subWeight(weight, votes[msg.sender]);
        votes[msg.sender] = slate;
        addWeight(weight, votes[msg.sender]);
    }

    // like `drop`/`swap` except simply "elect this address if it is higher than current hat"
    function lift(address whom)
        public
        note
    {
        require(approvals[whom] > approvals[hat]);
        hat = whom;
    }

    function addWeight(uint weight, bytes32 slate)
        internal
    {
        address[] storage yays = slates[slate];
        for( uint i = 0; i < yays.length; i++) {
            approvals[yays[i]] = add(approvals[yays[i]], weight);
        }
    }

    function subWeight(uint weight, bytes32 slate)
        internal
    {
        address[] storage yays = slates[slate];
        for( uint i = 0; i < yays.length; i++) {
            approvals[yays[i]] = sub(approvals[yays[i]], weight);
        }
    }

    // Throws unless the array of addresses is a ordered set.
    function requireByteOrderedSet(address[] memory yays)
        internal
        pure
    {
        if( yays.length == 0 || yays.length == 1 ) {
            return;
        }
        for( uint i = 0; i < yays.length - 1; i++ ) {
            // strict inequality ensures both ordering and uniqueness
            require(uint(yays[i]) < uint(yays[i+1]));
        }
    }
}


// `hat` address is unique root user (has every role) and the
// unique owner of role 0 (typically 'sys' or 'internal')
contract DSChief is DSRoles, DSChiefApprovals {

    constructor(DSToken GOV, DSToken IOU, uint MAX_YAYS)
             DSChiefApprovals (GOV, IOU, MAX_YAYS)
        public
    {
        authority = this;
        owner = address(0);
    }

    function setOwner(address owner_) public {
        owner_;
        revert();
    }

    function setAuthority(DSAuthority authority_) public {
        authority_;
        revert();
    }

    function isUserRoot(address who)
        public view
        returns (bool)
    {
        return (who == hat);
    }
    function setRootUser(address who, bool enabled) public {
        who; enabled;
        revert();
    }
}

contract DSChiefFab {
    function newChief(DSToken gov, uint MAX_YAYS) public returns (DSChief chief) {
        DSToken iou = new DSToken('IOU');
        chief = new DSChief(gov, iou, MAX_YAYS);
        iou.setOwner(address(chief));
    }
}


contract VoteProxy {
    address public cold;
    address public hot;
    DSToken public gov;
    DSToken public iou;
    DSChief public chief;

    constructor(DSChief _chief, address _cold, address _hot) public {
        chief = _chief;
        cold = _cold;
        hot = _hot;

        gov = chief.GOV();
        iou = chief.IOU();
        gov.approve(address(chief), uint256(-1));
        iou.approve(address(chief), uint256(-1));
    }

    modifier auth() {
        require(msg.sender == hot || msg.sender == cold, "Sender must be a Cold or Hot Wallet");
        _;
    }

    function lock(uint256 wad) public auth {
        gov.pull(cold, wad);   // mkr from cold
        chief.lock(wad);       // mkr out, ious in
    }

    function free(uint256 wad) public auth {
        chief.free(wad);       // ious out, mkr in
        gov.push(cold, wad);   // mkr to cold
    }

    function freeAll() public auth {
        chief.free(chief.deposits(address(this)));
        gov.push(cold, gov.balanceOf(address(this)));
    }

    function vote(address[] memory yays) public auth returns (bytes32) {
        return chief.vote(yays);
    }

    function vote(bytes32 slate) public auth {
        chief.vote(slate);
    }
}

Contract Security Audit

Contract ABI

API
[{"constant":true,"inputs":[],"name":"gov","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"cold","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"freeAll","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"iou","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"slate","type":"bytes32"}],"name":"vote","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"wad","type":"uint256"}],"name":"free","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"wad","type":"uint256"}],"name":"lock","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"hot","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"yays","type":"address[]"}],"name":"vote","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"chief","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_chief","type":"address"},{"name":"_cold","type":"address"},{"name":"_hot","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"}]

0x608060405234801561001057600080fd5b50604051606080610bdc8339810180604052606081101561003057600080fd5b508051602080830151604093840151600480546001600160a01b038087166001600160a01b031992831617808455600080548388169085161790556001805483871694169390931790925587517f180cb47f000000000000000000000000000000000000000000000000000000008152975196979496939591169363180cb47f93818401939091829003018186803b1580156100cb57600080fd5b505afa1580156100df573d6000803e3d6000fd5b505050506040513d60208110156100f557600080fd5b5051600280546001600160a01b0319166001600160a01b0392831617905560048054604080517f046c472f0000000000000000000000000000000000000000000000000000000081529051919093169263046c472f9281810192602092909190829003018186803b15801561016957600080fd5b505afa15801561017d573d6000803e3d6000fd5b505050506040513d602081101561019357600080fd5b5051600380546001600160a01b0319166001600160a01b0392831617905560025460048054604080517f095ea7b30000000000000000000000000000000000000000000000000000000081529185169282019290925260001960248201529051919092169163095ea7b39160448083019260209291908290030181600087803b15801561021f57600080fd5b505af1158015610233573d6000803e3d6000fd5b505050506040513d602081101561024957600080fd5b505060035460048054604080517f095ea7b30000000000000000000000000000000000000000000000000000000081526001600160a01b039283169381019390935260001960248401525192169163095ea7b3916044808201926020929091908290030181600087803b1580156102bf57600080fd5b505af11580156102d3573d6000803e3d6000fd5b505050506040513d60208110156102e957600080fd5b50505050506108df806102fd6000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c8063d8ccd0f311610066578063d8ccd0f3146100fe578063dd4670641461011b578063dde9c29714610138578063ed08132914610140578063ffd864d3146101f55761009e565b806312d43a51146100a3578063578e9dc5146100c75780635c38f3d1146100cf578063a2fca6b3146100d9578063a69beaba146100e1575b600080fd5b6100ab6101fd565b604080516001600160a01b039092168252519081900360200190f35b6100ab61020c565b6100d761021b565b005b6100ab61043c565b6100d7600480360360208110156100f757600080fd5b503561044b565b6100d76004803603602081101561011457600080fd5b5035610515565b6100d76004803603602081101561013157600080fd5b5035610633565b6100ab610753565b6101e36004803603602081101561015657600080fd5b81019060208101813564010000000081111561017157600080fd5b82018360208201111561018357600080fd5b803590602001918460208302840111640100000000831117156101a557600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550610762945050505050565b60408051918252519081900360200190f35b6100ab610881565b6002546001600160a01b031681565b6000546001600160a01b031681565b6001546001600160a01b031633148061023e57506000546001600160a01b031633145b61027c57604051600160e51b62461bcd0281526004018080602001828103825260238152602001806108916023913960400191505060405180910390fd5b6004805460408051600160e01b63fc7e286d0281523093810193909352516001600160a01b039091169163d8ccd0f391839163fc7e286d916024808301926020929190829003018186803b1580156102d357600080fd5b505afa1580156102e7573d6000803e3d6000fd5b505050506040513d60208110156102fd57600080fd5b50516040805163ffffffff841660e01b8152600481019290925251602480830192600092919082900301818387803b15801561033857600080fd5b505af115801561034c573d6000803e3d6000fd5b505060025460005460408051600160e01b6370a0823102815230600482015290516001600160a01b03938416955063b753a98c9450929091169184916370a08231916024808301926020929190829003018186803b1580156103ad57600080fd5b505afa1580156103c1573d6000803e3d6000fd5b505050506040513d60208110156103d757600080fd5b50516040805163ffffffff851660e01b81526001600160a01b039093166004840152602483019190915251604480830192600092919082900301818387803b15801561042257600080fd5b505af1158015610436573d6000803e3d6000fd5b50505050565b6003546001600160a01b031681565b6001546001600160a01b031633148061046e57506000546001600160a01b031633145b6104ac57604051600160e51b62461bcd0281526004018080602001828103825260238152602001806108916023913960400191505060405180910390fd5b6004805460408051600160e11b63534df55d028152928301849052516001600160a01b039091169163a69beaba91602480830192600092919082900301818387803b1580156104fa57600080fd5b505af115801561050e573d6000803e3d6000fd5b5050505050565b6001546001600160a01b031633148061053857506000546001600160a01b031633145b61057657604051600160e51b62461bcd0281526004018080602001828103825260238152602001806108916023913960400191505060405180910390fd5b6004805460408051600160e01b63d8ccd0f3028152928301849052516001600160a01b039091169163d8ccd0f391602480830192600092919082900301818387803b1580156105c457600080fd5b505af11580156105d8573d6000803e3d6000fd5b50506002546000805460408051600160e21b632dd4ea630281526001600160a01b03928316600482015260248101889052905191909316945063b753a98c935060448084019382900301818387803b1580156104fa57600080fd5b6001546001600160a01b031633148061065657506000546001600160a01b031633145b61069457604051600160e51b62461bcd0281526004018080602001828103825260238152602001806108916023913960400191505060405180910390fd5b6002546000805460408051600160e01b63f2d5d56b0281526001600160a01b039283166004820152602481018690529051919093169263f2d5d56b92604480830193919282900301818387803b1580156106ed57600080fd5b505af1158015610701573d6000803e3d6000fd5b50506004805460408051600160e21b6337519c19028152928301869052516001600160a01b03909116935063dd4670649250602480830192600092919082900301818387803b1580156104fa57600080fd5b6001546001600160a01b031681565b6001546000906001600160a01b031633148061078857506000546001600160a01b031633145b6107c657604051600160e51b62461bcd0281526004018080602001828103825260238152602001806108916023913960400191505060405180910390fd5b60048054604051600160e01b63ed08132902815260209281018381528551602483015285516001600160a01b039093169363ed0813299387938392604490910191818601910280838360005b8381101561082a578181015183820152602001610812565b5050505090500192505050602060405180830381600087803b15801561084f57600080fd5b505af1158015610863573d6000803e3d6000fd5b505050506040513d602081101561087957600080fd5b505192915050565b6004546001600160a01b03168156fe53656e646572206d757374206265206120436f6c64206f7220486f742057616c6c6574a165627a7a72305820c30be9fb040ce38c04b568a71a28a8fceba19ae33e56e46cc2a07be49f03cf0700290000000000000000000000009ef05f7f6deb616fd37ac3c959a2ddd25a54e4f5000000000000000000000000e6a608633dbd4b1177a0613c832e3611d3ddeba8000000000000000000000000273bf243219d31c4096c00e156c1d8a8ff9731d9

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061009e5760003560e01c8063d8ccd0f311610066578063d8ccd0f3146100fe578063dd4670641461011b578063dde9c29714610138578063ed08132914610140578063ffd864d3146101f55761009e565b806312d43a51146100a3578063578e9dc5146100c75780635c38f3d1146100cf578063a2fca6b3146100d9578063a69beaba146100e1575b600080fd5b6100ab6101fd565b604080516001600160a01b039092168252519081900360200190f35b6100ab61020c565b6100d761021b565b005b6100ab61043c565b6100d7600480360360208110156100f757600080fd5b503561044b565b6100d76004803603602081101561011457600080fd5b5035610515565b6100d76004803603602081101561013157600080fd5b5035610633565b6100ab610753565b6101e36004803603602081101561015657600080fd5b81019060208101813564010000000081111561017157600080fd5b82018360208201111561018357600080fd5b803590602001918460208302840111640100000000831117156101a557600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550610762945050505050565b60408051918252519081900360200190f35b6100ab610881565b6002546001600160a01b031681565b6000546001600160a01b031681565b6001546001600160a01b031633148061023e57506000546001600160a01b031633145b61027c57604051600160e51b62461bcd0281526004018080602001828103825260238152602001806108916023913960400191505060405180910390fd5b6004805460408051600160e01b63fc7e286d0281523093810193909352516001600160a01b039091169163d8ccd0f391839163fc7e286d916024808301926020929190829003018186803b1580156102d357600080fd5b505afa1580156102e7573d6000803e3d6000fd5b505050506040513d60208110156102fd57600080fd5b50516040805163ffffffff841660e01b8152600481019290925251602480830192600092919082900301818387803b15801561033857600080fd5b505af115801561034c573d6000803e3d6000fd5b505060025460005460408051600160e01b6370a0823102815230600482015290516001600160a01b03938416955063b753a98c9450929091169184916370a08231916024808301926020929190829003018186803b1580156103ad57600080fd5b505afa1580156103c1573d6000803e3d6000fd5b505050506040513d60208110156103d757600080fd5b50516040805163ffffffff851660e01b81526001600160a01b039093166004840152602483019190915251604480830192600092919082900301818387803b15801561042257600080fd5b505af1158015610436573d6000803e3d6000fd5b50505050565b6003546001600160a01b031681565b6001546001600160a01b031633148061046e57506000546001600160a01b031633145b6104ac57604051600160e51b62461bcd0281526004018080602001828103825260238152602001806108916023913960400191505060405180910390fd5b6004805460408051600160e11b63534df55d028152928301849052516001600160a01b039091169163a69beaba91602480830192600092919082900301818387803b1580156104fa57600080fd5b505af115801561050e573d6000803e3d6000fd5b5050505050565b6001546001600160a01b031633148061053857506000546001600160a01b031633145b61057657604051600160e51b62461bcd0281526004018080602001828103825260238152602001806108916023913960400191505060405180910390fd5b6004805460408051600160e01b63d8ccd0f3028152928301849052516001600160a01b039091169163d8ccd0f391602480830192600092919082900301818387803b1580156105c457600080fd5b505af11580156105d8573d6000803e3d6000fd5b50506002546000805460408051600160e21b632dd4ea630281526001600160a01b03928316600482015260248101889052905191909316945063b753a98c935060448084019382900301818387803b1580156104fa57600080fd5b6001546001600160a01b031633148061065657506000546001600160a01b031633145b61069457604051600160e51b62461bcd0281526004018080602001828103825260238152602001806108916023913960400191505060405180910390fd5b6002546000805460408051600160e01b63f2d5d56b0281526001600160a01b039283166004820152602481018690529051919093169263f2d5d56b92604480830193919282900301818387803b1580156106ed57600080fd5b505af1158015610701573d6000803e3d6000fd5b50506004805460408051600160e21b6337519c19028152928301869052516001600160a01b03909116935063dd4670649250602480830192600092919082900301818387803b1580156104fa57600080fd5b6001546001600160a01b031681565b6001546000906001600160a01b031633148061078857506000546001600160a01b031633145b6107c657604051600160e51b62461bcd0281526004018080602001828103825260238152602001806108916023913960400191505060405180910390fd5b60048054604051600160e01b63ed08132902815260209281018381528551602483015285516001600160a01b039093169363ed0813299387938392604490910191818601910280838360005b8381101561082a578181015183820152602001610812565b5050505090500192505050602060405180830381600087803b15801561084f57600080fd5b505af1158015610863573d6000803e3d6000fd5b505050506040513d602081101561087957600080fd5b505192915050565b6004546001600160a01b03168156fe53656e646572206d757374206265206120436f6c64206f7220486f742057616c6c6574a165627a7a72305820c30be9fb040ce38c04b568a71a28a8fceba19ae33e56e46cc2a07be49f03cf070029

Deployed Bytecode Sourcemap

17036:1268:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;17036:1268:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17113:18;;;:::i;:::-;;;;-1:-1:-1;;;;;17113:18:0;;;;;;;;;;;;;;17062:19;;;:::i;17953:146::-;;;:::i;:::-;;17138:18;;;:::i;18224:77::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;18224:77:0;;:::i;17799:146::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;17799:146:0;;:::i;17643:148::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;17643:148:0;;:::i;17088:18::-;;;:::i;18107:109::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;18107:109:0;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;18107:109:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;18107:109:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;18107:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;18107:109:0;;-1:-1:-1;18107:109:0;;-1:-1:-1;;;;;18107:109:0:i;:::-;;;;;;;;;;;;;;;;17163:20;;;:::i;17113:18::-;;;-1:-1:-1;;;;;17113:18:0;;:::o;17062:19::-;;;-1:-1:-1;;;;;17062:19:0;;:::o;17953:146::-;17550:3;;-1:-1:-1;;;;;17550:3:0;17536:10;:17;;:39;;-1:-1:-1;17571:4:0;;-1:-1:-1;;;;;17571:4:0;17557:10;:18;17536:39;17528:87;;;;-1:-1:-1;;;;;17528:87:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17995:5;;;18006:29;;;-1:-1:-1;;;;;18006:29:0;;18029:4;18006:29;;;;;;;;-1:-1:-1;;;;;17995:5:0;;;;:10;;:5;;18006:14;;:29;;;;;;;;;;;;;;17995:5;18006:29;;;5:2:-1;;;;30:1;27;20:12;5:2;18006:29:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;18006:29:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;18006:29:0;17995:41;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;17995:41:0;;;;;;;-1:-1:-1;17995:41:0;;;;5:2:-1;;;;30:1;27;20:12;5:2;17995:41:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;18047:3:0;;;18056:4;18062:28;;;-1:-1:-1;;;;;18062:28:0;;18084:4;18062:28;;;;;;-1:-1:-1;;;;;18047:3:0;;;;-1:-1:-1;18047:8:0;;-1:-1:-1;18056:4:0;;;;;18047:3;;18062:13;;:28;;;;;;;;;;;;;;18047:3;18062:28;;;5:2:-1;;;;30:1;27;20:12;5:2;18062:28:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;18062:28:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;18062:28:0;18047:44;;;;;;;;;;-1:-1:-1;;;;;18047:44:0;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;18047:44:0;;;;;;;-1:-1:-1;18047:44:0;;;;5:2:-1;;;;30:1;27;20:12;5:2;18047:44:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;18047:44:0;;;;17953:146::o;17138:18::-;;;-1:-1:-1;;;;;17138:18:0;;:::o;18224:77::-;17550:3;;-1:-1:-1;;;;;17550:3:0;17536:10;:17;;:39;;-1:-1:-1;17571:4:0;;-1:-1:-1;;;;;17571:4:0;17557:10;:18;17536:39;17528:87;;;;-1:-1:-1;;;;;17528:87:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18276:5;;;:17;;;-1:-1:-1;;;;;18276:17:0;;;;;;;;;-1:-1:-1;;;;;18276:5:0;;;;:10;;:17;;;;;:5;;:17;;;;;;;:5;;:17;;;5:2:-1;;;;30:1;27;20:12;5:2;18276:17:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;18276:17:0;;;;18224:77;:::o;17799:146::-;17550:3;;-1:-1:-1;;;;;17550:3:0;17536:10;:17;;:39;;-1:-1:-1;17571:4:0;;-1:-1:-1;;;;;17571:4:0;17557:10;:18;17536:39;17528:87;;;;-1:-1:-1;;;;;17528:87:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17849:5;;;:15;;;-1:-1:-1;;;;;17849:15:0;;;;;;;;;-1:-1:-1;;;;;17849:5:0;;;;:10;;:15;;;;;:5;;:15;;;;;;;:5;;:15;;;5:2:-1;;;;30:1;27;20:12;5:2;17849:15:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;17901:3:0;;;17910:4;;17901:19;;;-1:-1:-1;;;;;17901:19:0;;-1:-1:-1;;;;;17910:4:0;;;17901:19;;;;;;;;;;;;:3;;;;;-1:-1:-1;17901:8:0;;-1:-1:-1;17901:19:0;;;;;;;;;;:3;;:19;;;5:2:-1;;;;30:1;27;20:12;17643:148:0;17550:3;;-1:-1:-1;;;;;17550:3:0;17536:10;:17;;:39;;-1:-1:-1;17571:4:0;;-1:-1:-1;;;;;17571:4:0;17557:10;:18;17536:39;17528:87;;;;-1:-1:-1;;;;;17528:87:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17693:3;;;17702:4;;17693:19;;;-1:-1:-1;;;;;17693:19:0;;-1:-1:-1;;;;;17702:4:0;;;17693:19;;;;;;;;;;;;:3;;;;;:8;;:19;;;;;:3;;:19;;;;;:3;;:19;;;5:2:-1;;;;30:1;27;20:12;5:2;17693:19:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;17742:5:0;;;:15;;;-1:-1:-1;;;;;17742:15:0;;;;;;;;;-1:-1:-1;;;;;17742:5:0;;;;-1:-1:-1;17742:10:0;;-1:-1:-1;17742:15:0;;;;;:5;;:15;;;;;;;:5;;:15;;;5:2:-1;;;;30:1;27;20:12;17088:18:0;;;-1:-1:-1;;;;;17088:18:0;;:::o;18107:109::-;17550:3;;18165:7;;-1:-1:-1;;;;;17550:3:0;17536:10;:17;;:39;;-1:-1:-1;17571:4:0;;-1:-1:-1;;;;;17571:4:0;17557:10;:18;17536:39;17528:87;;;;-1:-1:-1;;;;;17528:87:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18192:5;;;:16;;-1:-1:-1;;;;;18192:16:0;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18192:5:0;;;;:10;;18203:4;;18192:16;;;;;;;;;;;;;;;:5;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;18192:16:0;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;18192:16:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;18192:16:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;18192:16:0;;18107:109;-1:-1:-1;;18107:109:0:o;17163:20::-;;;-1:-1:-1;;;;;17163:20:0;;:::o

Swarm Source

bzzr://c30be9fb040ce38c04b568a71a28a8fceba19ae33e56e46cc2a07be49f03cf07

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ 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.