ETH Price: $2,826.18 (+3.18%)
 

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
End Auction53795182018-04-04 14:18:012654 days ago1522851481IN
0x51E119E0...FaA5FBa74
0 ETH0.000113163
Transfer53794382018-04-04 13:59:352654 days ago1522850375IN
0x51E119E0...FaA5FBa74
23.39895803 ETH0.0062369100
Transfer53672692018-04-02 13:32:372656 days ago1522675957IN
0x51E119E0...FaA5FBa74
22.49899811 ETH0.000062361
Transfer53593312018-04-01 6:05:122657 days ago1522562712IN
0x51E119E0...FaA5FBa74
21.63365203 ETH0.000249474
Transfer53593252018-04-01 6:04:112657 days ago1522562651IN
0x51E119E0...FaA5FBa74
21 ETH0.000141252.02
Transfer53592992018-04-01 5:58:182657 days ago1522562298IN
0x51E119E0...FaA5FBa74
20.00152739 ETH0.000249474
Transfer53559352018-03-31 16:42:142658 days ago1522514534IN
0x51E119E0...FaA5FBa74
19.23223788 ETH0.000062361
Transfer53542682018-03-31 10:17:482658 days ago1522491468IN
0x51E119E0...FaA5FBa74
18.5 ETH0.000069921
Transfer53520512018-03-31 1:19:002658 days ago1522459140IN
0x51E119E0...FaA5FBa74
1 ETH0.000116735
Transfer53520512018-03-31 1:19:002658 days ago1522459140IN
0x51E119E0...FaA5FBa74
0.5 ETH0.000093384
Transfer53520202018-03-31 1:12:282658 days ago1522458748IN
0x51E119E0...FaA5FBa74
0.2 ETH0.000023341
Transfer53520072018-03-31 1:09:272658 days ago1522458567IN
0x51E119E0...FaA5FBa74
0.5 ETH0.000070043
Transfer53518362018-03-31 0:24:042658 days ago1522455844IN
0x51E119E0...FaA5FBa74
0.80363 ETH0.0002801612
Transfer53516582018-03-30 23:43:132658 days ago1522453393IN
0x51E119E0...FaA5FBa74
0.15 ETH0.0002334710
Transfer53512712018-03-30 22:08:312658 days ago1522447711IN
0x51E119E0...FaA5FBa74
19 ETH0.0006992910
Transfer53512642018-03-30 22:07:192658 days ago1522447639IN
0x51E119E0...FaA5FBa74
17.09738944 ETH0.0002334710
Transfer53512642018-03-30 22:07:192658 days ago1522447639IN
0x51E119E0...FaA5FBa74
20 ETH0.0013985820
Transfer53512532018-03-30 22:05:102658 days ago1522447510IN
0x51E119E0...FaA5FBa74
17 ETH0.0013985820
Transfer53512522018-03-30 22:04:552658 days ago1522447495IN
0x51E119E0...FaA5FBa74
18 ETH0.0027971640
Transfer53512492018-03-30 22:03:372658 days ago1522447417IN
0x51E119E0...FaA5FBa74
18 ETH0.0013985820
Transfer53512462018-03-30 22:02:432658 days ago1522447363IN
0x51E119E0...FaA5FBa74
14.61492015 ETH0.0002334710
Transfer53512442018-03-30 22:02:052658 days ago1522447325IN
0x51E119E0...FaA5FBa74
20 ETH0.000496497.1
Transfer53512402018-03-30 22:01:132658 days ago1522447273IN
0x51E119E0...FaA5FBa74
14 ETH0.0002334710
Transfer53512372018-03-30 22:00:442658 days ago1522447244IN
0x51E119E0...FaA5FBa74
16 ETH0.0013985820
Transfer53512362018-03-30 22:00:222658 days ago1522447222IN
0x51E119E0...FaA5FBa74
15 ETH0.0020978730
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
Transfer53795182018-04-04 14:18:012654 days ago1522851481
0x51E119E0...FaA5FBa74
14.04005607 ETH
Transfer53794382018-04-04 13:59:352654 days ago1522850375
0x51E119E0...FaA5FBa74
0.02249899 ETH
Transfer53794382018-04-04 13:59:352654 days ago1522850375
0x51E119E0...FaA5FBa74
0.11249499 ETH
Transfer53794382018-04-04 13:59:352654 days ago1522850375
0x51E119E0...FaA5FBa74
22.72398809 ETH
Transfer53672692018-04-02 13:32:372656 days ago1522675957
0x51E119E0...FaA5FBa74
0.02163365 ETH
Transfer53672692018-04-02 13:32:372656 days ago1522675957
0x51E119E0...FaA5FBa74
0.10816826 ETH
Transfer53672692018-04-02 13:32:372656 days ago1522675957
0x51E119E0...FaA5FBa74
21.84998855 ETH
Transfer53593312018-04-01 6:05:122657 days ago1522562712
0x51E119E0...FaA5FBa74
0.02080158 ETH
Transfer53593312018-04-01 6:05:122657 days ago1522562712
0x51E119E0...FaA5FBa74
0.10400794 ETH
Transfer53593312018-04-01 6:05:122657 days ago1522562712
0x51E119E0...FaA5FBa74
21.00960437 ETH
Transfer53593252018-04-01 6:04:112657 days ago1522562651
0x51E119E0...FaA5FBa74
0.1984115 ETH
Transfer53593252018-04-01 6:04:112657 days ago1522562651
0x51E119E0...FaA5FBa74
0.02000152 ETH
Transfer53593252018-04-01 6:04:112657 days ago1522562651
0x51E119E0...FaA5FBa74
0.10000763 ETH
Transfer53593252018-04-01 6:04:112657 days ago1522562651
0x51E119E0...FaA5FBa74
20.20154266 ETH
Transfer53592992018-04-01 5:58:182657 days ago1522562298
0x51E119E0...FaA5FBa74
0.01923223 ETH
Transfer53592992018-04-01 5:58:182657 days ago1522562298
0x51E119E0...FaA5FBa74
0.09616118 ETH
Transfer53592992018-04-01 5:58:182657 days ago1522562298
0x51E119E0...FaA5FBa74
19.42456025 ETH
Transfer53559352018-03-31 16:42:142658 days ago1522514534
0x51E119E0...FaA5FBa74
0.01849253 ETH
Transfer53559352018-03-31 16:42:142658 days ago1522514534
0x51E119E0...FaA5FBa74
0.09246268 ETH
Transfer53559352018-03-31 16:42:142658 days ago1522514534
0x51E119E0...FaA5FBa74
18.67746178 ETH
Transfer53542682018-03-31 10:17:482658 days ago1522491468
0x51E119E0...FaA5FBa74
0.00746357 ETH
Transfer53542682018-03-31 10:17:482658 days ago1522491468
0x51E119E0...FaA5FBa74
0.01778128 ETH
Transfer53542682018-03-31 10:17:482658 days ago1522491468
0x51E119E0...FaA5FBa74
0.08890642 ETH
Transfer53542682018-03-31 10:17:482658 days ago1522491468
0x51E119E0...FaA5FBa74
17.95909787 ETH
Transfer53512712018-03-30 22:08:312658 days ago1522447711
0x51E119E0...FaA5FBa74
1.21871497 ETH
View All Internal 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:
ETCrossPotatoPresale

Compiler Version
v0.4.21+commit.dfe3193c

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2018-03-30
*/

pragma solidity ^0.4.21;

// SafeMath is a part of Zeppelin Solidity library
// licensed under MIT License
// https://github.com/OpenZeppelin/zeppelin-solidity/blob/master/LICENSE

/**
 * @title SafeMath
 * @dev Math operations with safety checks that throw on error
 */
library SafeMath {
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }
        uint256 c = a * b;
        assert(c / a == b);
        return c;
    }

    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        // assert(b > 0); // Solidity automatically throws when dividing by 0
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold
        return c;
    }

    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        assert(b <= a);
        return a - b;
    }

    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        assert(c >= a);
        return c;
    }
}

contract Owned {
    address owner;

    modifier onlyOwner {
        require(msg.sender == owner);
        _;
    }

    /// @dev Contract constructor
    function Owned() public {
        owner = msg.sender;
    }
}


contract ETCrossPotatoPresale is Owned {
    using SafeMath for uint;

    uint256 public auctionEnd;
    uint256 public itemType;

    address public highestBidder;
    uint256 public highestBid = 0.001 ether;
    bool public ended;

    event Bid(address from, uint256 amount);
    event AuctionEnded(address winner, uint256 amount);

    ETCrossPotatoPresale public sibling;
    address public potatoOwner = 0xf3a2727a3447653a58D57e4be63d5D5cdc55421B;

    function ETCrossPotatoPresale(uint256 _auctionEnd, uint256 _itemType) public {
        auctionEnd = _auctionEnd;
        itemType = _itemType;
    }

    function _isContract(address _user) internal view returns (bool) {
        uint size;
        assembly { size := extcodesize(_user) }
        return size > 0;
    }

    function auctionExpired() public view returns (bool) {
        return now > auctionEnd;
    }

    function nextBid() public view returns (uint256) {
        if (highestBid < 0.1 ether) {
            return highestBid.add(highestBid / 2);
        } else if (highestBid < 1 ether) {
            return highestBid.add(highestBid.mul(15).div(100));
        } else {
            return highestBid.add(highestBid.mul(4).div(100));
        }
    }

    function() public payable {
        require(!_isContract(msg.sender));
        require(!auctionExpired());

        uint256 requiredBid = nextBid();

        require(msg.value >= requiredBid);

        uint256 change = msg.value.sub(requiredBid);

        uint256 difference = requiredBid.sub(highestBid);
        uint256 reward = difference / 4;

        if (highestBidder != 0x0) {
            highestBidder.transfer(highestBid.add(reward));
        }

        if (address(sibling) != 0x0) {
            address siblingHighestBidder = sibling.highestBidder();
            if (siblingHighestBidder != 0x0) {
                siblingHighestBidder.transfer(reward / 2);
            }
        }

        if (potatoOwner != 0x0) {
            potatoOwner.transfer(reward / 10);
        }

        if (change > 0) {
            msg.sender.transfer(change);
        }

        highestBidder = msg.sender;
        highestBid = requiredBid;

        emit Bid(msg.sender, requiredBid);
    }

    function endAuction() public onlyOwner {
        require(auctionExpired());
        require(!ended);

        ended = true;
        emit AuctionEnded(highestBidder, highestBid);

        owner.transfer(address(this).balance);
    }

    function setSibling(address _sibling) public onlyOwner {
        sibling = ETCrossPotatoPresale(_sibling);
    }

    function setPotatoOwner(address _potatoOwner) public onlyOwner {
        potatoOwner = _potatoOwner;
    }
}

Contract Security Audit

Contract ABI

API
[{"constant":true,"inputs":[],"name":"ended","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"nextBid","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"auctionEnd","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_sibling","type":"address"}],"name":"setSibling","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"auctionExpired","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"highestBidder","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"sibling","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"potatoOwner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"highestBid","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_potatoOwner","type":"address"}],"name":"setPotatoOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"itemType","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"endAuction","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"_auctionEnd","type":"uint256"},{"name":"_itemType","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"from","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Bid","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"winner","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"AuctionEnded","type":"event"}]

606060405266038d7ea4c6800060045560068054600160a060020a03191673f3a2727a3447653a58d57e4be63d5d5cdc55421b179055341561004057600080fd5b604051604080610827833981016040528080519190602001805160008054600160a060020a033316600160a060020a03199091161790556001939093555050600255610796806100916000396000f3006060604052600436106100b95763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166312fa6feb8114610358578063271515261461037f5780632a24f46c146103a457806358392aaa146103b75780636a3f5146146103d857806391f90157146103eb578063b9659d4a1461041a578063c02898a01461042d578063d57bde7914610440578063ec9be5fe14610453578063f5470d7b14610472578063fe67a54b14610485575b60008060008060006100ca33610498565b156100d457600080fd5b6100dc6104a0565b156100e657600080fd5b6100ee6104a9565b945034859010156100fe57600080fd5b61010e348663ffffffff61053c16565b93506101256004548661053c90919063ffffffff16565b600354909350600484049250600160a060020a03161561018a57600354600454600160a060020a03909116906108fc90610165908563ffffffff61054e16565b9081150290604051600060405180830381858888f19350505050151561018a57600080fd5b6005546101009004600160a060020a031615610259576005546101009004600160a060020a03166391f901576040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15156101fd57600080fd5b5af1151561020a57600080fd5b5050506040518051915050600160a060020a0381161561025957600160a060020a0381166002830480156108fc0290604051600060405180830381858888f19350505050151561025957600080fd5b600654600160a060020a0316156102a157600654600160a060020a0316600a830480156108fc0290604051600060405180830381858888f1935050505015156102a157600080fd5b60008411156102db57600160a060020a03331684156108fc0285604051600060405180830381858888f1935050505015156102db57600080fd5b6003805473ffffffffffffffffffffffffffffffffffffffff191633600160a060020a0381169190911790915560048690557fe684a55f31b79eca403df938249029212a5925ec6be8012e099b45bc1019e5d29086604051600160a060020a03909216825260208201526040908101905180910390a15050505050005b341561036357600080fd5b61036b610568565b604051901515815260200160405180910390f35b341561038a57600080fd5b6103926104a9565b60405190815260200160405180910390f35b34156103af57600080fd5b610392610571565b34156103c257600080fd5b6103d6600160a060020a0360043516610577565b005b34156103e357600080fd5b61036b6104a0565b34156103f657600080fd5b6103fe6105c7565b604051600160a060020a03909116815260200160405180910390f35b341561042557600080fd5b6103fe6105d6565b341561043857600080fd5b6103fe6105ea565b341561044b57600080fd5b6103926105f9565b341561045e57600080fd5b6103d6600160a060020a03600435166105ff565b341561047d57600080fd5b610392610649565b341561049057600080fd5b6103d661064f565b6000903b1190565b60015442115b90565b600067016345785d8a000060045410156104d4576004546104cd906002810461054e565b90506104a6565b670de0b6b3a7640000600454101561051f576104cd6105106064610504600f60045461072890919063ffffffff16565b9063ffffffff61075316565b6004549063ffffffff61054e16565b6104cd61051060646105046004805461072890919063ffffffff16565b60008282111561054857fe5b50900390565b60008282018381101561055d57fe5b8091505b5092915050565b60055460ff1681565b60015481565b60005433600160a060020a0390811691161461059257600080fd5b60058054600160a060020a039092166101000274ffffffffffffffffffffffffffffffffffffffff0019909216919091179055565b600354600160a060020a031681565b6005546101009004600160a060020a031681565b600654600160a060020a031681565b60045481565b60005433600160a060020a0390811691161461061a57600080fd5b6006805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60025481565b60005433600160a060020a0390811691161461066a57600080fd5b6106726104a0565b151561067d57600080fd5b60055460ff161561068d57600080fd5b6005805460ff191660011790556003546004547fdaec4582d5d9595688c8c98545fdd1c696d41c6aeaeb636737e84ed2f5c00eda91600160a060020a031690604051600160a060020a03909216825260208201526040908101905180910390a1600054600160a060020a039081169030163180156108fc0290604051600060405180830381858888f19350505050151561072657600080fd5b565b60008083151561073b5760009150610561565b5082820282848281151561074b57fe5b041461055d57fe5b600080828481151561076157fe5b049493505050505600a165627a7a72305820c0bc946f4def53c48c9dfe2beee016ed3339eb2d28eac774ddf4e1019b21bc240029000000000000000000000000000000000000000000000000000000005ac4da600000000000000000000000000000000000000000000000000000000000000008

Deployed Bytecode

0x6060604052600436106100b95763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166312fa6feb8114610358578063271515261461037f5780632a24f46c146103a457806358392aaa146103b75780636a3f5146146103d857806391f90157146103eb578063b9659d4a1461041a578063c02898a01461042d578063d57bde7914610440578063ec9be5fe14610453578063f5470d7b14610472578063fe67a54b14610485575b60008060008060006100ca33610498565b156100d457600080fd5b6100dc6104a0565b156100e657600080fd5b6100ee6104a9565b945034859010156100fe57600080fd5b61010e348663ffffffff61053c16565b93506101256004548661053c90919063ffffffff16565b600354909350600484049250600160a060020a03161561018a57600354600454600160a060020a03909116906108fc90610165908563ffffffff61054e16565b9081150290604051600060405180830381858888f19350505050151561018a57600080fd5b6005546101009004600160a060020a031615610259576005546101009004600160a060020a03166391f901576040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15156101fd57600080fd5b5af1151561020a57600080fd5b5050506040518051915050600160a060020a0381161561025957600160a060020a0381166002830480156108fc0290604051600060405180830381858888f19350505050151561025957600080fd5b600654600160a060020a0316156102a157600654600160a060020a0316600a830480156108fc0290604051600060405180830381858888f1935050505015156102a157600080fd5b60008411156102db57600160a060020a03331684156108fc0285604051600060405180830381858888f1935050505015156102db57600080fd5b6003805473ffffffffffffffffffffffffffffffffffffffff191633600160a060020a0381169190911790915560048690557fe684a55f31b79eca403df938249029212a5925ec6be8012e099b45bc1019e5d29086604051600160a060020a03909216825260208201526040908101905180910390a15050505050005b341561036357600080fd5b61036b610568565b604051901515815260200160405180910390f35b341561038a57600080fd5b6103926104a9565b60405190815260200160405180910390f35b34156103af57600080fd5b610392610571565b34156103c257600080fd5b6103d6600160a060020a0360043516610577565b005b34156103e357600080fd5b61036b6104a0565b34156103f657600080fd5b6103fe6105c7565b604051600160a060020a03909116815260200160405180910390f35b341561042557600080fd5b6103fe6105d6565b341561043857600080fd5b6103fe6105ea565b341561044b57600080fd5b6103926105f9565b341561045e57600080fd5b6103d6600160a060020a03600435166105ff565b341561047d57600080fd5b610392610649565b341561049057600080fd5b6103d661064f565b6000903b1190565b60015442115b90565b600067016345785d8a000060045410156104d4576004546104cd906002810461054e565b90506104a6565b670de0b6b3a7640000600454101561051f576104cd6105106064610504600f60045461072890919063ffffffff16565b9063ffffffff61075316565b6004549063ffffffff61054e16565b6104cd61051060646105046004805461072890919063ffffffff16565b60008282111561054857fe5b50900390565b60008282018381101561055d57fe5b8091505b5092915050565b60055460ff1681565b60015481565b60005433600160a060020a0390811691161461059257600080fd5b60058054600160a060020a039092166101000274ffffffffffffffffffffffffffffffffffffffff0019909216919091179055565b600354600160a060020a031681565b6005546101009004600160a060020a031681565b600654600160a060020a031681565b60045481565b60005433600160a060020a0390811691161461061a57600080fd5b6006805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60025481565b60005433600160a060020a0390811691161461066a57600080fd5b6106726104a0565b151561067d57600080fd5b60055460ff161561068d57600080fd5b6005805460ff191660011790556003546004547fdaec4582d5d9595688c8c98545fdd1c696d41c6aeaeb636737e84ed2f5c00eda91600160a060020a031690604051600160a060020a03909216825260208201526040908101905180910390a1600054600160a060020a039081169030163180156108fc0290604051600060405180830381858888f19350505050151561072657600080fd5b565b60008083151561073b5760009150610561565b5082820282848281151561074b57fe5b041461055d57fe5b600080828481151561076157fe5b049493505050505600a165627a7a72305820c0bc946f4def53c48c9dfe2beee016ed3339eb2d28eac774ddf4e1019b21bc240029

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000000000000000000000000000000000005ac4da600000000000000000000000000000000000000000000000000000000000000008

-----Decoded View---------------
Arg [0] : _auctionEnd (uint256): 1522850400
Arg [1] : _itemType (uint256): 8

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000000000005ac4da60
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000008


Swarm Source

bzzr://c0bc946f4def53c48c9dfe2beee016ed3339eb2d28eac774ddf4e1019b21bc24

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.