ETH Price: $1,885.29 (-7.41%)
 

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
Vote For Skip Bl...113739502020-12-02 15:40:401913 days ago1606923640IN
0xF0cD256f...47F6cD71b
0 ETH0.0067348793.00000437
Vote For Skip Bl...113739502020-12-02 15:40:401913 days ago1606923640IN
0xF0cD256f...47F6cD71b
0 ETH0.0081298793.00000437
Vote For Skip Bl...113688102020-12-01 20:22:301914 days ago1606854150IN
0xF0cD256f...47F6cD71b
0 ETH0.0034977848.3
Vote For Skip Bl...113688102020-12-01 20:22:301914 days ago1606854150IN
0xF0cD256f...47F6cD71b
0 ETH0.0042222848.3
Vote For Skip Bl...113668192020-12-01 13:01:011914 days ago1606827661IN
0xF0cD256f...47F6cD71b
0 ETH0.02650498366
Vote For Skip Bl...113668192020-12-01 13:01:011914 days ago1606827661IN
0xF0cD256f...47F6cD71b
0 ETH0.03199498366
Vote For Skip Bl...113659132020-12-01 9:53:041914 days ago1606816384IN
0xF0cD256f...47F6cD71b
0 ETH0.01206845166.65
Vote For Skip Bl...113659132020-12-01 9:53:041914 days ago1606816384IN
0xF0cD256f...47F6cD71b
0 ETH0.01206845166.65
Vote For Skip Bl...113659132020-12-01 9:53:041914 days ago1606816384IN
0xF0cD256f...47F6cD71b
0 ETH0.0145682166.65
Vote For Skip Bl...113650882020-12-01 6:40:481914 days ago1606804848IN
0xF0cD256f...47F6cD71b
0 ETH0.01399115193.2
Vote For Skip Bl...113650882020-12-01 6:40:481914 days ago1606804848IN
0xF0cD256f...47F6cD71b
0 ETH0.01399115193.2
Vote For Skip Bl...113650832020-12-01 6:39:421914 days ago1606804782IN
0xF0cD256f...47F6cD71b
0 ETH0.01688915193.2
Vote For Skip Bl...113645762020-12-01 4:44:251915 days ago1606797865IN
0xF0cD256f...47F6cD71b
0 ETH0.0070607597.50000336
Vote For Skip Bl...113537952020-11-29 13:01:201916 days ago1606654880IN
0xF0cD256f...47F6cD71b
0 ETH0.0030415542
Vote For Skip Bl...113537942020-11-29 13:01:071916 days ago1606654867IN
0xF0cD256f...47F6cD71b
0 ETH0.0036715542
Vote For Skip Bl...112971602020-11-20 20:35:361925 days ago1605904536IN
0xF0cD256f...47F6cD71b
0 ETH0.0057695866
Vote For Skip Bl...112319652020-11-10 20:35:501935 days ago1605040550IN
0xF0cD256f...47F6cD71b
0 ETH0.0032588145
Vote For Skip Bl...112264452020-11-10 0:00:031936 days ago1604966403IN
0xF0cD256f...47F6cD71b
0 ETH0.0039105754
Vote For Skip Bl...112264452020-11-10 0:00:031936 days ago1604966403IN
0xF0cD256f...47F6cD71b
0 ETH0.0047205754
Vote For Skip Bl...111427462020-10-28 3:42:591949 days ago1603856579IN
0xF0cD256f...47F6cD71b
0 ETH0.0041278257
Vote For Skip Bl...111427442020-10-28 3:42:171949 days ago1603856537IN
0xF0cD256f...47F6cD71b
0 ETH0.0036933151
Vote For Skip Bl...111427442020-10-28 3:42:171949 days ago1603856537IN
0xF0cD256f...47F6cD71b
0 ETH0.0044583151
Vote For Skip Bl...111175072020-10-24 6:40:341952 days ago1603521634IN
0xF0cD256f...47F6cD71b
0 ETH0.0057695866
Vote For Skip Bl...110972142020-10-21 4:01:011956 days ago1603252861IN
0xF0cD256f...47F6cD71b
0 ETH0.0126659174.9
Vote For Skip Bl...110960432020-10-20 23:38:031956 days ago1603237083IN
0xF0cD256f...47F6cD71b
0 ETH0.0058658581
View all transactions

Advanced mode:
Parent Transaction Hash Method Block
From
To
View All Internal Transactions
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

Contract Source Code Verified (Exact Match)

Contract Name:
Recovery

Compiler Version
v0.5.11+commit.c082d0b4

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU GPLv3 license
/**
 *Submitted for verification at Etherscan.io on 2019-08-26
*/

// File: openzeppelin-solidity/contracts/ownership/Ownable.sol

pragma solidity ^0.5.0;

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be aplied to your functions to restrict their use to
 * the owner.
 */
contract Ownable {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        _owner = msg.sender;
        emit OwnershipTransferred(address(0), _owner);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(isOwner(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Returns true if the caller is the current owner.
     */
    function isOwner() public view returns (bool) {
        return msg.sender == _owner;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * > Note: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public onlyOwner {
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     */
    function _transferOwnership(address newOwner) internal {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// File: contracts/Recovery.sol

pragma solidity ^0.5.0;


contract Recovery is Ownable {
    uint256 public depositValue;

    mapping(uint256 => address[]) public votes;
    mapping(uint256 => mapping(address => bool)) public voted;

    event VotedForRecovery(uint256 indexed height, address voter);

    function setDeposit(uint256 DepositValue) public onlyOwner {
        depositValue = DepositValue;
    }

    function withdraw() public onlyOwner {
        msg.sender.transfer(address(this).balance);
    }

    function voteForSkipBlock(uint256 height) public payable {
        require(msg.value >= depositValue);
        require(!voted[height][msg.sender]);

        votes[height].push(msg.sender);
        voted[height][msg.sender] = true;

        emit VotedForRecovery(height, msg.sender);
    }

    function numVotes(uint256 height) public view returns (uint256) {
        return votes[height].length;
    }
}

Contract Security Audit

Contract ABI

API
[{"constant":false,"inputs":[],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"voted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"height","type":"uint256"}],"name":"numVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"depositValue","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"height","type":"uint256"}],"name":"voteForSkipBlock","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"votes","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"DepositValue","type":"uint256"}],"name":"setDeposit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"height","type":"uint256"},{"indexed":false,"internalType":"address","name":"voter","type":"address"}],"name":"VotedForRecovery","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"}]

60806040819052600080546001600160a01b03191633178082556001600160a01b0316917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3610663806100576000396000f3fe60806040526004361061009c5760003560e01c806397087ce61161006457806397087ce614610160578063b7bbd5671461019c578063c2eb7379146101b1578063c6e36a32146101ce578063f2fde38b146101fe578063f5bade66146102315761009c565b80633ccfd60b146100a15780635277b4ae146100b8578063715018a6146101055780638da5cb5b1461011a5780638f32d59b1461014b575b600080fd5b3480156100ad57600080fd5b506100b661025b565b005b3480156100c457600080fd5b506100f1600480360360408110156100db57600080fd5b50803590602001356001600160a01b03166102d2565b604080519115158252519081900360200190f35b34801561011157600080fd5b506100b66102f2565b34801561012657600080fd5b5061012f610383565b604080516001600160a01b039092168252519081900360200190f35b34801561015757600080fd5b506100f1610392565b34801561016c57600080fd5b5061018a6004803603602081101561018357600080fd5b50356103a3565b60408051918252519081900360200190f35b3480156101a857600080fd5b5061018a6103b5565b6100b6600480360360208110156101c757600080fd5b50356103bb565b3480156101da57600080fd5b5061012f600480360360408110156101f157600080fd5b5080359060200135610477565b34801561020a57600080fd5b506100b66004803603602081101561022157600080fd5b50356001600160a01b03166104ac565b34801561023d57600080fd5b506100b66004803603602081101561025457600080fd5b50356104fc565b610263610392565b6102a2576040805162461bcd60e51b8152602060048201819052602482015260008051602061060f833981519152604482015290519081900360640190fd5b6040513390303180156108fc02916000818181858888f193505050501580156102cf573d6000803e3d6000fd5b50565b600360209081526000928352604080842090915290825290205460ff1681565b6102fa610392565b610339576040805162461bcd60e51b8152602060048201819052602482015260008051602061060f833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b6000546001600160a01b0316331490565b60009081526002602052604090205490565b60015481565b6001543410156103ca57600080fd5b600081815260036020908152604080832033845290915290205460ff16156103f157600080fd5b60008181526002602090815260408083208054600181810183559185528385200180546001600160a01b0319163390811790915585855260038452828520818652845293829020805460ff1916909117905580519283525183927f310f3edff744f27cbe00f790f826796b98260eedac02f4129d86d77bfbeb055a92908290030190a250565b6002602052816000526040600020818154811061049057fe5b6000918252602090912001546001600160a01b03169150829050565b6104b4610392565b6104f3576040805162461bcd60e51b8152602060048201819052602482015260008051602061060f833981519152604482015290519081900360640190fd5b6102cf81610548565b610504610392565b610543576040805162461bcd60e51b8152602060048201819052602482015260008051602061060f833981519152604482015290519081900360640190fd5b600155565b6001600160a01b03811661058d5760405162461bcd60e51b81526004018080602001828103825260268152602001806105e96026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b039290921691909117905556fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a265627a7a723158208223bd9c20f885244a2e42092dd3716404f1105ed155f5863a8c0d79fb1e452264736f6c634300050b0032

Deployed Bytecode

0x60806040526004361061009c5760003560e01c806397087ce61161006457806397087ce614610160578063b7bbd5671461019c578063c2eb7379146101b1578063c6e36a32146101ce578063f2fde38b146101fe578063f5bade66146102315761009c565b80633ccfd60b146100a15780635277b4ae146100b8578063715018a6146101055780638da5cb5b1461011a5780638f32d59b1461014b575b600080fd5b3480156100ad57600080fd5b506100b661025b565b005b3480156100c457600080fd5b506100f1600480360360408110156100db57600080fd5b50803590602001356001600160a01b03166102d2565b604080519115158252519081900360200190f35b34801561011157600080fd5b506100b66102f2565b34801561012657600080fd5b5061012f610383565b604080516001600160a01b039092168252519081900360200190f35b34801561015757600080fd5b506100f1610392565b34801561016c57600080fd5b5061018a6004803603602081101561018357600080fd5b50356103a3565b60408051918252519081900360200190f35b3480156101a857600080fd5b5061018a6103b5565b6100b6600480360360208110156101c757600080fd5b50356103bb565b3480156101da57600080fd5b5061012f600480360360408110156101f157600080fd5b5080359060200135610477565b34801561020a57600080fd5b506100b66004803603602081101561022157600080fd5b50356001600160a01b03166104ac565b34801561023d57600080fd5b506100b66004803603602081101561025457600080fd5b50356104fc565b610263610392565b6102a2576040805162461bcd60e51b8152602060048201819052602482015260008051602061060f833981519152604482015290519081900360640190fd5b6040513390303180156108fc02916000818181858888f193505050501580156102cf573d6000803e3d6000fd5b50565b600360209081526000928352604080842090915290825290205460ff1681565b6102fa610392565b610339576040805162461bcd60e51b8152602060048201819052602482015260008051602061060f833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b6000546001600160a01b0316331490565b60009081526002602052604090205490565b60015481565b6001543410156103ca57600080fd5b600081815260036020908152604080832033845290915290205460ff16156103f157600080fd5b60008181526002602090815260408083208054600181810183559185528385200180546001600160a01b0319163390811790915585855260038452828520818652845293829020805460ff1916909117905580519283525183927f310f3edff744f27cbe00f790f826796b98260eedac02f4129d86d77bfbeb055a92908290030190a250565b6002602052816000526040600020818154811061049057fe5b6000918252602090912001546001600160a01b03169150829050565b6104b4610392565b6104f3576040805162461bcd60e51b8152602060048201819052602482015260008051602061060f833981519152604482015290519081900360640190fd5b6102cf81610548565b610504610392565b610543576040805162461bcd60e51b8152602060048201819052602482015260008051602061060f833981519152604482015290519081900360640190fd5b600155565b6001600160a01b03811661058d5760405162461bcd60e51b81526004018080602001828103825260268152602001806105e96026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b039290921691909117905556fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a265627a7a723158208223bd9c20f885244a2e42092dd3716404f1105ed155f5863a8c0d79fb1e452264736f6c634300050b0032

Deployed Bytecode Sourcemap

2528:893:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2898:98;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2898:98:0;;;:::i;:::-;;2649:57;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2649:57:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2649:57:0;;;;;;-1:-1:-1;;;;;2649:57:0;;:::i;:::-;;;;;;;;;;;;;;;;;;1718:140;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1718:140:0;;;:::i;907:79::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;907:79:0;;;:::i;:::-;;;;-1:-1:-1;;;;;907:79:0;;;;;;;;;;;;;;1273:92;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1273:92:0;;;:::i;3308:110::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3308:110:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3308:110:0;;:::i;:::-;;;;;;;;;;;;;;;;2564:27;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2564:27:0;;;:::i;3004:296::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3004:296:0;;:::i;2600:42::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2600:42:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2600:42:0;;;;;;;:::i;2013:109::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2013:109:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2013:109:0;-1:-1:-1;;;;;2013:109:0;;:::i;2785:105::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2785:105:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2785:105:0;;:::i;2898:98::-;1119:9;:7;:9::i;:::-;1111:54;;;;;-1:-1:-1;;;1111:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1111:54:0;;;;;;;;;;;;;;;2946:42;;:10;;2974:4;2966:21;2946:42;;;;;;;;;2966:21;2946:10;:42;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2946:42:0;2898:98::o;2649:57::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1718:140::-;1119:9;:7;:9::i;:::-;1111:54;;;;;-1:-1:-1;;;1111:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1111:54:0;;;;;;;;;;;;;;;1817:1;1801:6;;1780:40;;-1:-1:-1;;;;;1801:6:0;;;;1780:40;;1817:1;;1780:40;1848:1;1831:19;;-1:-1:-1;;;;;;1831:19:0;;;1718:140::o;907:79::-;945:7;972:6;-1:-1:-1;;;;;972:6:0;907:79;:::o;1273:92::-;1313:4;1351:6;-1:-1:-1;;;;;1351:6:0;1337:10;:20;;1273:92::o;3308:110::-;3363:7;3390:13;;;:5;:13;;;;;:20;;3308:110::o;2564:27::-;;;;:::o;3004:296::-;3093:12;;3080:9;:25;;3072:34;;;;;;3126:13;;;;:5;:13;;;;;;;;3140:10;3126:25;;;;;;;;;;3125:26;3117:35;;;;;;3165:13;;;;:5;:13;;;;;;;;27:10:-1;;39:1;23:18;;;45:23;;3165:30:0;;;;;;;;;-1:-1:-1;;;;;;3165:30:0;3184:10;3165:30;;;;;;3206:13;;;:5;:13;;;;;:25;;;;;;;;;:32;;-1:-1:-1;;3206:32:0;;;;;;3256:36;;;;;;3171:6;;3256:36;;;;;;;;;3004:296;:::o;2600:42::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2600:42:0;;-1:-1:-1;2600:42:0;;-1:-1:-1;2600:42:0:o;2013:109::-;1119:9;:7;:9::i;:::-;1111:54;;;;;-1:-1:-1;;;1111:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1111:54:0;;;;;;;;;;;;;;;2086:28;2105:8;2086:18;:28::i;2785:105::-;1119:9;:7;:9::i;:::-;1111:54;;;;;-1:-1:-1;;;1111:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;1111:54:0;;;;;;;;;;;;;;;2855:12;:27;2785:105::o;2228:229::-;-1:-1:-1;;;;;2302:22:0;;2294:73;;;;-1:-1:-1;;;2294:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2404:6;;;2383:38;;-1:-1:-1;;;;;2383:38:0;;;;2404:6;;;2383:38;;;2432:6;:17;;-1:-1:-1;;;;;;2432:17:0;-1:-1:-1;;;;;2432:17:0;;;;;;;;;;2228:229::o

Swarm Source

bzzr://8223bd9c20f885244a2e42092dd3716404f1105ed155f5863a8c0d79fb1e4522

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
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.