Contract 0xd76e916901C278DC445E4a808d87a4B34eDAeE25

 
Txn Hash Method
Block
From
To
Value
0x1c5a7ab3267996639c832ffcffb254869ee70b6da1ae021a997874a52bbfb4c7Explore Using ET...62807392018-09-06 6:25:201021 days 4 hrs ago0x60a90a6977a5253a2c86a12ccf46c28666602c1b IN  Etheremon: Adventure Presale 10.01 Ether0.0000667593
0x228feedcb2bc51d0ce6dd7a0b3b83e1004f4b25211b948274be24ad205462fefPlace ETH Bid58115762018-06-18 15:27:301100 days 19 hrs ago0xedbe8d3b7cd046d21b300a3086c6ad7713ef6c0f IN  Etheremon: Adventure Presale 10.96 Ether0.000203139
0xfcde397da2fb19cf80ab3d89e1eb1787f21b48cab0beea70fd8ddc7b8965e22ePlace ETH Bid58039552018-06-17 8:41:161102 days 2 hrs ago0x2c233cbabc46d096b6a5eadc7e94957450d63bd0 IN  Etheremon: Adventure Presale 10.612 Ether0.000203139
0x321b5776cadc5aed8477a57253e1d0ac6d79645533379fe947f1f39efeb13a08Place ETH Bid58021522018-06-17 1:16:081102 days 10 hrs ago0xdb830671463088d34b2c98a183441aae1caf58c6 IN  Etheremon: Adventure Presale 10.57 Ether0.000090284
0x19f4eba78243972d642a6a620d0bd598f3784f32f1ad2898ab3867622d9d2d69Place ETH Bid58021522018-06-17 1:16:081102 days 10 hrs ago0xdb830671463088d34b2c98a183441aae1caf58c6 IN  Etheremon: Adventure Presale 10.56 Ether0.000090284
0x1578b151b87986db2e5f0c5fcb587efe5fabea9afd29f201abc76e4b160a037bPlace ETH Bid57993102018-06-16 13:46:441102 days 21 hrs ago0x421d69294ce3d86ff40ca35174ad32fe82f41d05 IN  Etheremon: Adventure Presale 10.56 Ether0.000045142
0x4ef116953e949951387d418337bd36c8bf78eca5b6ff08a1e613d868120469c0Withdraw Token57968042018-06-16 3:25:381103 days 7 hrs agoEtheremonToken: Deployer 1 IN  Etheremon: Adventure Presale 10 Ether0.00052666812
0x5147b9edf98ea3c91836506d8499e163b3c2733b8de9b770ed42755c270c12acWithdraw Ether57967662018-06-16 3:16:551103 days 8 hrs agoEtheremonToken: Deployer 1 IN  Etheremon: Adventure Presale 10 Ether0.00068541612
0x342d7eaf1149a6a1ebd4dc4f8145b3c01336c521c790baddce305e3567a98df6Place ETH Bid57960002018-06-16 0:05:561103 days 11 hrs ago0xd6246972c67cb2c8444a5164e55b5bc630e203aa IN  Etheremon: Adventure Presale 10.553 Ether0.000045142
0xc85c387db00ffc23654df4ac87b72d1abb47f4f0597d33e5453d814dcad5e949Place ETH Bid57959982018-06-16 0:05:391103 days 11 hrs ago0xd6246972c67cb2c8444a5164e55b5bc630e203aa IN  Etheremon: Adventure Presale 11.2 Ether0.000045142
0xdb7219a33d334da9aa0c65dfab505f3c272f29ebb2db806fff6bafa8251e77a1Place ETH Bid57959932018-06-16 0:04:331103 days 11 hrs ago0xd6246972c67cb2c8444a5164e55b5bc630e203aa IN  Etheremon: Adventure Presale 10.550001 Ether0.000112855
0x70fd9573a50b2a383314080de3d1e7b5fdbf596dfd2361e55eb00c207a1fecfePlace ETH Bid57959912018-06-16 0:04:061103 days 11 hrs ago0xd9d3d2034c76413a12a990aadb59035cc594c1fc IN  Etheremon: Adventure Presale 10.66 Ether0.000045142
0x466c18b4920d597084718ed238b69d71a056d7dfa248675048f51ab635b2b2a9Place ETH Bid57959912018-06-16 0:04:061103 days 11 hrs ago0xd6246972c67cb2c8444a5164e55b5bc630e203aa IN  Etheremon: Adventure Presale 10.63 Ether0.000045142
0x278588dd5c1eb205c07e93c3aa4b37f4f0df7f1c3ea365b08efb4e77a0808cf8Place ETH Bid57959872018-06-16 0:03:481103 days 11 hrs ago0x59171b3229b368bfacd7e4853e60e447e181f2c0 IN  Etheremon: Adventure Presale 11.052 Ether0.000045142
0x6383c09d1b2c73b2da0f4613dfc6619dd4b2e950d2363c1517cba4c3ae31d697Place ETH Bid57959842018-06-16 0:03:101103 days 11 hrs ago0x2c8adb627283a43434a23aa67710e46ffbe028bb IN  Etheremon: Adventure Presale 10.76 Ether0.000045142
0x1083a03472eb1078935d8cc80d4643f1408644f6157a27dd1285dafc5e92e589Place ETH Bid57959842018-06-16 0:03:101103 days 11 hrs ago0x59171b3229b368bfacd7e4853e60e447e181f2c0 IN  Etheremon: Adventure Presale 10.8350001 Ether0.000045142
0xd129d47e3d21398d7fcc9ca69c5f24a168f170c93cc2b34b1acb3438f6a169efPlace ETH Bid57959842018-06-16 0:03:101103 days 11 hrs ago0xf5891366fa972deffdd80de02244597233a0d313 IN  Etheremon: Adventure Presale 10.552 Ether0.000045142
0x3936706c3f83cf08bdaef8530f84d96cc878dd71b67fb112c80491db546d8c34Place ETH Bid57959842018-06-16 0:03:101103 days 11 hrs ago0xd6246972c67cb2c8444a5164e55b5bc630e203aa IN  Etheremon: Adventure Presale 10.63 Ether0.000045142
0x9cb47ddbd7eef91be0f5a13135ffdca29008f65e8c1f67748359fecd765daf88Place ETH Bid57959842018-06-16 0:03:101103 days 11 hrs ago0xd9d3d2034c76413a12a990aadb59035cc594c1fc IN  Etheremon: Adventure Presale 10.62 Ether0.000045142
0xa8fca83d298be1ecf74a363d0f38a8f758cb01a827585e96c43bd267bf01a93aPlace ETH Bid57959822018-06-16 0:02:581103 days 11 hrs ago0x9a312fe5f5661c65a32e661e4b011bc05d2a10e0 IN  Etheremon: Adventure Presale 10.5502 Ether0.000045142
0x4858aef6c5527aded74cf8c870593f2605f53218f7a1b6f02b08ff7c80466f42Place ETH Bid57959782018-06-16 0:02:181103 days 11 hrs ago0x0008d343091ef8bd3efa730f6aae5a26a285c7a2 IN  Etheremon: Adventure Presale 10.824 Ether0.0000473972.1
0xa8e9544b7c34ba9796f0c56033f07ba22f8617f46aa886105615d97ac31a9cf3Place ETH Bid57959742018-06-16 0:00:091103 days 11 hrs ago0xbfdee93bb3bb9631a6bee6257f9d5197af1a1f36 IN  Etheremon: Adventure Presale 10.652 Ether0.000203139
0x00999a97e31c689c3dd05b085ef5d4af86bcc9ca4d80cd4b060f3d95a167ac84Place ETH Bid57959722018-06-15 23:59:481103 days 11 hrs ago0xa4e566c0aa45680ed257ec95931bb67add699560 IN  Etheremon: Adventure Presale 10.551 Ether0.00033330572.1
0x1642eec94224a3081450a35cdbe6f4520f0bf2640f4b9a41bc6c1d8a34a88702Place ETH Bid57959722018-06-15 23:59:481103 days 11 hrs ago0x0008d343091ef8bd3efa730f6aae5a26a285c7a2 IN  Etheremon: Adventure Presale 10.821 Ether0.00027829622.1
0x8b29cd3561ffea1d683b3d82707998443b856423515ee61f27750e5bc31bc770Place ETH Bid57959722018-06-15 23:59:481103 days 11 hrs ago0xf75028beeaf95e861400fca653ef12dd44c18a48 IN  Etheremon: Adventure Presale 10.7 Ether0.000471723
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x5147b9edf98ea3c91836506d8499e163b3c2733b8de9b770ed42755c270c12ac57967662018-06-16 3:16:551103 days 8 hrs ago Etheremon: Adventure Presale 10xf35728a27318156ae04ba8a6dff8074fe98b19b8314.071480281 Ether
0x00999a97e31c689c3dd05b085ef5d4af86bcc9ca4d80cd4b060f3d95a167ac8457959722018-06-15 23:59:481103 days 11 hrs ago Etheremon: Adventure Presale 10xf53150917e17f5f618573380e7ca57bd6c3fd81a0.5 Ether
0x8b29cd3561ffea1d683b3d82707998443b856423515ee61f27750e5bc31bc77057959722018-06-15 23:59:481103 days 11 hrs ago Etheremon: Adventure Presale 10xe6b204906ccd9860888dbeb6888ca980833f3e330.6100101 Ether
0x6368570992d73ea35438c63e8d44f13f3ffb6cff6d86252940dbc0d18c3a3f6b57959712018-06-15 23:59:401103 days 11 hrs ago Etheremon: Adventure Presale 10x9d16adeff54bdef3ae83943c85ca02a5d34034e10.55 Ether
0x53c8542ee94e3794ac14d7a46bad38be250ef80b1013c0088ab29ccc452b56b057959702018-06-15 23:58:551103 days 11 hrs ago Etheremon: Adventure Presale 10xa5c487b520610eb4db45657c49315789f639f6a10.5 Ether
0x8f320e6aefc79f499dc7771b653335776d8b2e7ccd221dfd0ae89ddb35a04f6957959692018-06-15 23:58:381103 days 11 hrs ago Etheremon: Adventure Presale 10x921298569b44821b4fad3c5d445e001dae1e1a470.610000111 Ether
0xa7c89b683833c783713240293787058771521d07e4158d461d28b9f2c24a4e0b57959682018-06-15 23:58:261103 days 11 hrs ago Etheremon: Adventure Presale 10xcf4c07abd54162390c7c876ef46141f84792ec9a0.501 Ether
0x90cb1e24bf46c71588724fbc4cae08be311c492e6abef2b60b95e2b9e3e10c2e57959682018-06-15 23:58:261103 days 11 hrs ago Etheremon: Adventure Presale 10x5f27ce989f3381e44c78e1296e2979d9ed9230ff0.5 Ether
0x6674006edbab79aefb696e585ec28bc3be281abf7796bc4d5abe3df2177e601d57959672018-06-15 23:58:061103 days 11 hrs ago Etheremon: Adventure Presale 10x600565d01294db9b09ad79a19ac993648bac905a0.5 Ether
0x37aa02d389ae8233fbb479988f024afc9e6c9b07054a01607a2503f9be23657557959662018-06-15 23:57:521103 days 11 hrs ago Etheremon: Adventure Presale 10x6c8415856640eeaa42e49fbcc857b790d68d8cc20.71 Ether
0x5ca98db87d9cb87b7aad2d2a1f254958e0b3084f00225411aa5652c9f03104c457959642018-06-15 23:57:091103 days 11 hrs ago Etheremon: Adventure Presale 10x10b5a2dcda119aaeba05af66410d0f1ca8bcd03b0.6 Ether
0x5eb5b84c3a284222703104cfb1354c3ea65ba317e162ad69f5b45c714edc56f157959632018-06-15 23:56:541103 days 11 hrs ago Etheremon: Adventure Presale 10x4eb5c09f266a6681f3a7729cd4587cbb1ae3d41e0.668 Ether
0x02a2ce43ddcd963eaf0857ec60b81e9ad34487b727f2ff401f1ddd75c4c2b13057959622018-06-15 23:56:471103 days 11 hrs ago Etheremon: Adventure Presale 10xc73944849bed4cf6eef0ad95239c20629f8801e50.5 Ether
0x25b607ea5510ebcefc7559bd1001f8c2acd600ce8b967fec6c32e1dc7bc3501857959622018-06-15 23:56:471103 days 11 hrs ago Etheremon: Adventure Presale 10x3fb9e97a2fcb3092d1a906c78a072ce9a328ece60.5 Ether
0xfef0e5490ffa0dfa227cde3075299a1ffc2950d6d9c74906895b7eda15421a6457959622018-06-15 23:56:471103 days 11 hrs ago Etheremon: Adventure Presale 10x4dee761242e00abe48253b4d6311d5960843ffd50.50000111 Ether
0xb9b4b96d09a0aaea618a89b735664a068220609ed7a361b2212dcf328afe5cae57959612018-06-15 23:56:071103 days 11 hrs ago Etheremon: Adventure Presale 10x8f9c270f587d429f3d04eb397f34281b2fe1088b0.5 Ether
0x79aa6d95b2e1a1ff6b2fe76fcfc5fb628073ecf0a630fb749f599fc5fc2d820b57959592018-06-15 23:55:431103 days 11 hrs ago Etheremon: Adventure Presale 10xe531544db533d5fdb6bdbbb1f8f5ee9545e941090.55 Ether
0x2942efa5aee9fdfd2645bd27e9c2e4dba17a9d2b2923143a7ffcd8c00fb6a7f657959592018-06-15 23:55:431103 days 11 hrs ago Etheremon: Adventure Presale 10x10b5a2dcda119aaeba05af66410d0f1ca8bcd03b0.5 Ether
0xd69bba8d9667a59beedd600dc77e0ea24987be0d7444ac3505100f019c097bd157959592018-06-15 23:55:431103 days 11 hrs ago Etheremon: Adventure Presale 10xbe08f6602ffcf03388f12112f610a444b3835f5a0.761 Ether
0x2ca9098daf7cfc2eaea8fb0b492388ff2cc5204028fd2992eb5ac7aca2cb4eb557959582018-06-15 23:55:281103 days 11 hrs ago Etheremon: Adventure Presale 10x3cc21fea72bac87351449acd479b24ab3b41bf240.70001 Ether
0x2da955440c3d0952a9a505f591226e8feb5f86c75b4d6d53d87c3bf79fa9d04357959582018-06-15 23:55:281103 days 11 hrs ago Etheremon: Adventure Presale 10xcca14f9625a07dcf43e9c598c49f4853f4fe9b2e0.76 Ether
0x7dc03777249b178bfeab3af2c6368fc32dbd5df7266e995fdcea22de8f59115357959582018-06-15 23:55:281103 days 11 hrs ago Etheremon: Adventure Presale 10x6fdc16ec69ede578e0b1200f7c2a7f805d646ee30.5 Ether
0xc1890e6d334f45f7aaf8d7a2bc4b3d40c4d4bbd09ea6c20d80b5d460b1f97c1757959572018-06-15 23:54:481103 days 11 hrs ago Etheremon: Adventure Presale 10xf5891366fa972deffdd80de02244597233a0d3130.501 Ether
0xdb01e83cdf2b3322ec8f0af16754611f06e4f9731d96efa2e5d5408c8755875d57959572018-06-15 23:54:481103 days 11 hrs ago Etheremon: Adventure Presale 10xf54097caaf78bc826b9720f09453f182bb7c50c70.7 Ether
0xf12568655d5b09ae0f4a20c2afd6845e1982610540a279493959c12a2501058c57959552018-06-15 23:54:361103 days 11 hrs ago Etheremon: Adventure Presale 10x350b468897be9144c732df2eef4047ebce541ec50.51 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
EtheremonAdventurePresale

Compiler Version
v0.4.19+commit.c4cbbb05

Optimization Enabled:
No with 200 runs

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

pragma solidity ^0.4.19;

library AddressUtils {
    function isContract(address addr) internal view returns (bool) {
        uint256 size;
        assembly { size := extcodesize(addr) }
        return size > 0;
    }
}

contract BasicAccessControl {
    address public owner;
    // address[] public moderators;
    uint16 public totalModerators = 0;
    mapping (address => bool) public moderators;
    bool public isMaintaining = false;

    function BasicAccessControl() public {
        owner = msg.sender;
    }

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

    modifier onlyModerators() {
        require(msg.sender == owner || moderators[msg.sender] == true);
        _;
    }

    modifier isActive {
        require(!isMaintaining);
        _;
    }

    function ChangeOwner(address _newOwner) onlyOwner public {
        if (_newOwner != address(0)) {
            owner = _newOwner;
        }
    }


    function AddModerator(address _newModerator) onlyOwner public {
        if (moderators[_newModerator] == false) {
            moderators[_newModerator] = true;
            totalModerators += 1;
        }
    }
    
    function RemoveModerator(address _oldModerator) onlyOwner public {
        if (moderators[_oldModerator] == true) {
            moderators[_oldModerator] = false;
            totalModerators -= 1;
        }
    }

    function UpdateMaintaining(bool _isMaintaining) onlyOwner public {
        isMaintaining = _isMaintaining;
    }
}

contract ERC20Interface {
    function totalSupply() public constant returns (uint);
    function balanceOf(address tokenOwner) public constant returns (uint balance);
    function allowance(address tokenOwner, address spender) public constant returns (uint remaining);
    function transfer(address to, uint tokens) public returns (bool success);
    function approve(address spender, uint tokens) public returns (bool success);
    function transferFrom(address from, address to, uint tokens) public returns (bool success);
}


contract EtheremonAdventurePresale is BasicAccessControl {
    uint8 constant NO_ETH_SITE = 52;
    uint8 constant MAX_BID_PER_SITE = 10;
    using AddressUtils for address;
    
    struct BiddingInfo {
        address bidder;
        uint32 bidId;
        uint amount;
        uint time;
        uint8 siteId;
    }
    
    // address
    address public tokenContract;
    
    uint32 public totalBid = 0;
    uint public startTime;
    uint public endTime;
    uint public bidETHMin;
    uint public bidETHIncrement;
    uint public bidEMONTMin;
    uint public bidEMONTIncrement;
    
    mapping(uint32 => BiddingInfo) bids;
    mapping(uint8 => uint32[]) sites;

    // event
    event EventPlaceBid(address indexed bidder, uint8 siteId, uint32 bidId, uint amount);
    
    // modifier
    modifier requireTokenContract {
        require(tokenContract != address(0));
        _;
    }
    
    modifier validETHSiteId(uint8 _siteId) {
        require(_siteId > 0 && _siteId <= NO_ETH_SITE);
        _;
    }
    modifier validEMONTSiteId(uint8 _siteId) {
        require(_siteId == 53 || _siteId == 54);
        _;
    }
    modifier onlyRunning {
        require(!isMaintaining);
        require(block.timestamp >= startTime && block.timestamp < endTime);
        _;
    }
    
    function withdrawEther(address _sendTo, uint _amount) onlyModerators public {
        // only allow withdraw after the presale 
        if (block.timestamp < endTime)
            revert();
        if (_amount > this.balance) {
            revert();
        }
        _sendTo.transfer(_amount);
    }
    
    function withdrawToken(address _sendTo, uint _amount) onlyModerators requireTokenContract external {
        // only allow withdraw after the presale 
        if (block.timestamp < endTime)
            revert();
        ERC20Interface token = ERC20Interface(tokenContract);
        if (_amount > token.balanceOf(address(this))) {
            revert();
        }
        token.transfer(_sendTo, _amount);
    }

    
    // public functions
    
    function EtheremonAdventurePresale(uint _bidETHMin, uint _bidETHIncrement, uint _bidEMONTMin, uint _bidEMONTIncrement, uint _startTime, uint _endTime, address _tokenContract) public {
        if (_startTime >= _endTime) revert();
        
        startTime = _startTime;
        endTime = _endTime;
        bidETHMin = _bidETHMin;
        bidETHIncrement = _bidETHIncrement;
        bidEMONTMin = _bidEMONTMin;
        bidEMONTIncrement = _bidEMONTIncrement;
        
        tokenContract = _tokenContract;
    }
    
    function placeETHBid(uint8 _siteId) onlyRunning payable external validETHSiteId(_siteId) {
        // check valid bid 
        if (msg.sender.isContract()) revert();
        if (msg.value < bidETHMin) revert();
        
        uint index = 0;
        totalBid += 1;
        BiddingInfo storage bid = bids[totalBid];
        bid.bidder = msg.sender;
        bid.bidId = totalBid;
        bid.amount = msg.value;
        bid.time = block.timestamp;
        bid.siteId = _siteId;
        
        uint32[] storage siteBids = sites[_siteId];
        if (siteBids.length >= MAX_BID_PER_SITE) {
            // find lowest bid
            uint lowestIndex = 0;
            BiddingInfo storage currentBid = bids[siteBids[0]];
            BiddingInfo storage lowestBid = currentBid;
            for (index = 0; index < siteBids.length; index++) {
                currentBid = bids[siteBids[index]];
                // check no same ether address 
                if (currentBid.bidder == msg.sender) {
                    revert();
                }
                if (lowestBid.amount == 0 || currentBid.amount < lowestBid.amount || (currentBid.amount == lowestBid.amount && currentBid.bidId > lowestBid.bidId)) {
                    lowestIndex = index;
                    lowestBid = currentBid;
                }
            }
            
            // verify bidIncrement
            if (msg.value < lowestBid.amount + bidETHIncrement)
                revert();
            
            // update latest bidder
            siteBids[lowestIndex] = totalBid;
            
            // refund for the lowest 
            lowestBid.bidder.transfer(lowestBid.amount);
        } else {
            for (index = 0; index < siteBids.length; index++) {
                if (bids[siteBids[index]].bidder == msg.sender)
                    revert();
            }
            siteBids.push(totalBid);
        }
        
        EventPlaceBid(msg.sender, _siteId, totalBid, msg.value);
    }
    
    // call from our payment contract
    function placeEMONTBid(address _bidder, uint8 _siteId, uint _bidAmount) requireTokenContract onlyRunning onlyModerators external validEMONTSiteId(_siteId) {
        // check valid bid 
        if (_bidder.isContract()) revert();
        if (_bidAmount < bidEMONTMin) revert();
        
        
        uint index = 0;
        totalBid += 1;
        BiddingInfo storage bid = bids[totalBid];
        uint32[] storage siteBids = sites[_siteId];
        if (siteBids.length >= MAX_BID_PER_SITE) {
            // find lowest bid
            uint lowestIndex = 0;
            BiddingInfo storage currentBid = bids[siteBids[0]];
            BiddingInfo storage lowestBid = currentBid;
            for (index = 0; index < siteBids.length; index++) {
                currentBid = bids[siteBids[index]];
                // check no same ether address 
                if (currentBid.bidder == _bidder) {
                    revert();
                }
                if (lowestBid.amount == 0 || currentBid.amount < lowestBid.amount || (currentBid.amount == lowestBid.amount && currentBid.bidId > lowestBid.bidId)) {
                    lowestIndex = index;
                    lowestBid = currentBid;
                }
            }
            
            // verify bidIncrement
            if (_bidAmount < lowestBid.amount + bidEMONTIncrement)
                revert();
            
            // update latest bidder
            bid.bidder = _bidder;
            bid.bidId = totalBid;
            bid.amount = _bidAmount;
            bid.time = block.timestamp;
            siteBids[lowestIndex] = totalBid;
            
            // refund for the lowest 
            ERC20Interface token = ERC20Interface(tokenContract);
            token.transfer(lowestBid.bidder, lowestBid.amount);
        } else {
            for (index = 0; index < siteBids.length; index++) {
                if (bids[siteBids[index]].bidder == _bidder)
                    revert();
            }
            bid.bidder = _bidder;
            bid.bidId = totalBid;
            bid.amount = _bidAmount;
            bid.time = block.timestamp;
            siteBids.push(totalBid);
        }
        
        EventPlaceBid(_bidder, _siteId, totalBid, _bidAmount);
    }
    
    // get data
    
    function getBidInfo(uint32 _bidId) constant external returns(address bidder, uint8 siteId, uint amount, uint time) {
        BiddingInfo memory bid = bids[_bidId];
        bidder = bid.bidder;
        siteId = bid.siteId;
        amount = bid.amount;
        time = bid.time;
    }
    
    function getBidBySiteIndex(uint8 _siteId, uint _index) constant external returns(address bidder, uint32 bidId, uint8 siteId, uint amount, uint time) {
        bidId = sites[_siteId][_index];
        if (bidId > 0) {
            BiddingInfo memory bid = bids[bidId];
            bidder = bid.bidder;
            siteId = bid.siteId;
            amount = bid.amount;
            time = bid.time;
        }
    }

    function countBid(uint8 _siteId) constant external returns(uint) {
        return sites[_siteId].length;
    }
    
    function getLowestBid(uint8 _siteId) constant external returns(uint lowestAmount) {
        uint32[] storage siteBids = sites[_siteId];
        lowestAmount = 0;
        for (uint index = 0; index < siteBids.length; index++) {
            if (lowestAmount == 0 || bids[siteBids[index]].amount < lowestAmount) {
                lowestAmount = bids[siteBids[index]].amount;
            }
        }
    }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"moderators","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_bidder","type":"address"},{"name":"_siteId","type":"uint8"},{"name":"_bidAmount","type":"uint256"}],"name":"placeEMONTBid","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"bidETHMin","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"endTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_isMaintaining","type":"bool"}],"name":"UpdateMaintaining","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalModerators","outputs":[{"name":"","type":"uint16"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"bidEMONTIncrement","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_sendTo","type":"address"},{"name":"_amount","type":"uint256"}],"name":"withdrawEther","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"tokenContract","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_siteId","type":"uint8"}],"name":"getLowestBid","outputs":[{"name":"lowestAmount","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_siteId","type":"uint8"}],"name":"placeETHBid","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"_newModerator","type":"address"}],"name":"AddModerator","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_bidId","type":"uint32"}],"name":"getBidInfo","outputs":[{"name":"bidder","type":"address"},{"name":"siteId","type":"uint8"},{"name":"amount","type":"uint256"},{"name":"time","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"startTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalBid","outputs":[{"name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_siteId","type":"uint8"},{"name":"_index","type":"uint256"}],"name":"getBidBySiteIndex","outputs":[{"name":"bidder","type":"address"},{"name":"bidId","type":"uint32"},{"name":"siteId","type":"uint8"},{"name":"amount","type":"uint256"},{"name":"time","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_sendTo","type":"address"},{"name":"_amount","type":"uint256"}],"name":"withdrawToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"bidEMONTMin","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_oldModerator","type":"address"}],"name":"RemoveModerator","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_siteId","type":"uint8"}],"name":"countBid","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"bidETHIncrement","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isMaintaining","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newOwner","type":"address"}],"name":"ChangeOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"_bidETHMin","type":"uint256"},{"name":"_bidETHIncrement","type":"uint256"},{"name":"_bidEMONTMin","type":"uint256"},{"name":"_bidEMONTIncrement","type":"uint256"},{"name":"_startTime","type":"uint256"},{"name":"_endTime","type":"uint256"},{"name":"_tokenContract","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"bidder","type":"address"},{"indexed":false,"name":"siteId","type":"uint8"},{"indexed":false,"name":"bidId","type":"uint32"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"EventPlaceBid","type":"event"}]

606060405260008060146101000a81548161ffff021916908361ffff1602179055506000600260006101000a81548160ff0219169083151502179055506000600260156101000a81548163ffffffff021916908363ffffffff160217905550341561006957600080fd5b60405160e08061243083398101604052808051906020019091908051906020019091908051906020019091908051906020019091908051906020019091908051906020019091908051906020019091905050336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818310151561010957600080fd5b82600381905550816004819055508660058190555085600681905550846007819055508360088190555080600260016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050505050506122a68061018a6000396000f30060606040526004361061013e576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806314d0f1ba1461014357806317738cef1461019457806328086f18146101e25780633197cbb61461020b57806348ef5aa8146102345780634efb023e1461025957806351a282ae1461028a578063522f6815146102b357806355a373d6146102f557806364f4b0941461034a5780636518ad22146103845780636c81fd6d1461039f5780636c9f65c5146103d857806378e979251461045c5780638a9e8671146104855780638da5cb5b146104ba578063968f0a6a1461050f5780639e281a98146105ac578063af9b6bd2146105ee578063b85d627514610617578063d0bec97514610650578063e340c2fb1461068a578063ee4e4416146106b3578063f2853292146106e0575b600080fd5b341561014e57600080fd5b61017a600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610719565b604051808215151515815260200191505060405180910390f35b341561019f57600080fd5b6101e0600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803560ff16906020019091908035906020019091905050610739565b005b34156101ed57600080fd5b6101f5610f76565b6040518082815260200191505060405180910390f35b341561021657600080fd5b61021e610f7c565b6040518082815260200191505060405180910390f35b341561023f57600080fd5b61025760048080351515906020019091905050610f82565b005b341561026457600080fd5b61026c610ffa565b604051808261ffff1661ffff16815260200191505060405180910390f35b341561029557600080fd5b61029d61100e565b6040518082815260200191505060405180910390f35b34156102be57600080fd5b6102f3600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050611014565b005b341561030057600080fd5b610308611141565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561035557600080fd5b61036e600480803560ff16906020019091905050611167565b6040518082815260200191505060405180910390f35b61039d600480803560ff16906020019091905050611271565b005b34156103aa57600080fd5b6103d6600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611882565b005b34156103e357600080fd5b6103ff600480803563ffffffff169060200190919050506119c2565b604051808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018460ff1660ff16815260200183815260200182815260200194505050505060405180910390f35b341561046757600080fd5b61046f611ace565b6040518082815260200191505060405180910390f35b341561049057600080fd5b610498611ad4565b604051808263ffffffff1663ffffffff16815260200191505060405180910390f35b34156104c557600080fd5b6104cd611aea565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561051a57600080fd5b61053c600480803560ff16906020019091908035906020019091905050611b0f565b604051808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018563ffffffff1663ffffffff1681526020018460ff1660ff1681526020018381526020018281526020019550505050505060405180910390f35b34156105b757600080fd5b6105ec600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050611c7e565b005b34156105f957600080fd5b610601611f5e565b6040518082815260200191505060405180910390f35b341561062257600080fd5b61064e600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050611f64565b005b341561065b57600080fd5b610674600480803560ff169060200190919050506120a5565b6040518082815260200191505060405180910390f35b341561069557600080fd5b61069d6120cb565b6040518082815260200191505060405180910390f35b34156106be57600080fd5b6106c66120d1565b604051808215151515815260200191505060405180910390f35b34156106eb57600080fd5b610717600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506120e4565b005b60016020528060005260406000206000915054906101000a900460ff1681565b60008060008060008060008073ffffffffffffffffffffffffffffffffffffffff16600260019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141515156107a157600080fd5b600260009054906101000a900460ff161515156107bd57600080fd5b60035442101580156107d0575060045442105b15156107db57600080fd5b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610886575060011515600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515145b151561089157600080fd5b8860358160ff1614806108a7575060368160ff16145b15156108b257600080fd5b6108d18b73ffffffffffffffffffffffffffffffffffffffff166121b9565b156108db57600080fd5b6007548910156108ea57600080fd5b600097506001600260158282829054906101000a900463ffffffff160192506101000a81548163ffffffff021916908363ffffffff16021790555060096000600260159054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020019081526020016000209650600a60008b60ff1660ff1681526020019081526020016000209550600a60ff168680549050101515610d3257600094506009600087600081548110151561099b57fe5b90600052602060002090600891828204019190066004029054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020019081526020016000209350839250600097505b8580549050881015610b265760096000878a815481101515610a0357fe5b90600052602060002090600891828204019190066004029054906101000a900463ffffffff1663ffffffff1663ffffffff16815260200190815260200160002093508a73ffffffffffffffffffffffffffffffffffffffff168460000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610aa257600080fd5b600083600101541480610abc575082600101548460010154105b80610b0d575082600101548460010154148015610b0c57508260000160149054906101000a900463ffffffff1663ffffffff168460000160149054906101000a900463ffffffff1663ffffffff16115b5b15610b19578794508392505b87806001019850506109e5565b600854836001015401891015610b3b57600080fd5b8a8760000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600260159054906101000a900463ffffffff168760000160146101000a81548163ffffffff021916908363ffffffff160217905550888760010181905550428760020181905550600260159054906101000a900463ffffffff168686815481101515610be657fe5b90600052602060002090600891828204019190066004026101000a81548163ffffffff021916908363ffffffff160217905550600260019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8460000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1685600101546000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1515610d1157600080fd5b6102c65a03f11515610d2257600080fd5b5050506040518051905050610ee7565b600097505b8580549050881015610dfe578a73ffffffffffffffffffffffffffffffffffffffff1660096000888b815481101515610d6c57fe5b90600052602060002090600891828204019190066004029054906101000a900463ffffffff1663ffffffff1663ffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610df157600080fd5b8780600101985050610d37565b8a8760000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600260159054906101000a900463ffffffff168760000160146101000a81548163ffffffff021916908363ffffffff160217905550888760010181905550428760020181905550858054806001018281610e9b91906121cc565b9160005260206000209060089182820401919006600402600260159054906101000a900463ffffffff16909190916101000a81548163ffffffff021916908363ffffffff160217905550505b8a73ffffffffffffffffffffffffffffffffffffffff167fb577487722d773f3067a9baac21e87cf8effdd4bb9f531e57a1199b01f4153278b600260159054906101000a900463ffffffff168c604051808460ff1660ff1681526020018363ffffffff1663ffffffff168152602001828152602001935050505060405180910390a25050505050505050505050565b60055481565b60045481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610fdd57600080fd5b80600260006101000a81548160ff02191690831515021790555050565b600060149054906101000a900461ffff1681565b60085481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806110bf575060011515600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515145b15156110ca57600080fd5b6004544210156110d957600080fd5b3073ffffffffffffffffffffffffffffffffffffffff16318111156110fd57600080fd5b8173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050151561113d57600080fd5b5050565b600260019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806000600a60008560ff1660ff168152602001908152602001600020915060009250600090505b818054905081101561126a5760008314806111ff5750826009600084848154811015156111b957fe5b90600052602060002090600891828204019190066004029054906101000a900463ffffffff1663ffffffff1663ffffffff16815260200190815260200160002060010154105b1561125d5760096000838381548110151561121657fe5b90600052602060002090600891828204019190066004029054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020019081526020016000206001015492505b8080600101915050611190565b5050919050565b600080600080600080600260009054906101000a900460ff1615151561129657600080fd5b60035442101580156112a9575060045442105b15156112b457600080fd5b8660008160ff161180156112cf5750603460ff168160ff1611155b15156112da57600080fd5b6112f93373ffffffffffffffffffffffffffffffffffffffff166121b9565b1561130357600080fd5b60055434101561131257600080fd5b600096506001600260158282829054906101000a900463ffffffff160192506101000a81548163ffffffff021916908363ffffffff16021790555060096000600260159054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020019081526020016000209550338660000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600260159054906101000a900463ffffffff168660000160146101000a81548163ffffffff021916908363ffffffff160217905550348660010181905550428660020181905550878660030160006101000a81548160ff021916908360ff160217905550600a60008960ff1660ff1681526020019081526020016000209450600a60ff1685805490501015156116cb57600093506009600086600081548110151561146a57fe5b90600052602060002090600891828204019190066004029054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020019081526020016000209250829150600096505b84805490508710156115f5576009600086898154811015156114d257fe5b90600052602060002090600891828204019190066004029054906101000a900463ffffffff1663ffffffff1663ffffffff16815260200190815260200160002092503373ffffffffffffffffffffffffffffffffffffffff168360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561157157600080fd5b60008260010154148061158b575081600101548360010154105b806115dc5750816001015483600101541480156115db57508160000160149054906101000a900463ffffffff1663ffffffff168360000160149054906101000a900463ffffffff1663ffffffff16115b5b156115e8578693508291505b86806001019750506114b4565b60065482600101540134101561160a57600080fd5b600260159054906101000a900463ffffffff16858581548110151561162b57fe5b90600052602060002090600891828204019190066004026101000a81548163ffffffff021916908363ffffffff1602179055508160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc83600101549081150290604051600060405180830381858888f1935050505015156116c657600080fd5b6117f6565b600096505b8480549050871015611797573373ffffffffffffffffffffffffffffffffffffffff1660096000878a81548110151561170557fe5b90600052602060002090600891828204019190066004029054906101000a900463ffffffff1663ffffffff1663ffffffff16815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561178a57600080fd5b86806001019750506116d0565b8480548060010182816117aa91906121cc565b9160005260206000209060089182820401919006600402600260159054906101000a900463ffffffff16909190916101000a81548163ffffffff021916908363ffffffff160217905550505b3373ffffffffffffffffffffffffffffffffffffffff167fb577487722d773f3067a9baac21e87cf8effdd4bb9f531e57a1199b01f41532789600260159054906101000a900463ffffffff1634604051808460ff1660ff1681526020018363ffffffff1663ffffffff168152602001828152602001935050505060405180910390a25050505050505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156118dd57600080fd5b60001515600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514156119bf5760018060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600060148282829054906101000a900461ffff160192506101000a81548161ffff021916908361ffff1602179055505b50565b6000806000806119d0612206565b600960008763ffffffff1663ffffffff16815260200190815260200160002060a060405190810160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900463ffffffff1663ffffffff1663ffffffff16815260200160018201548152602001600282015481526020016003820160009054906101000a900460ff1660ff1660ff1681525050905080600001519450806080015193508060400151925080606001519150509193509193565b60035481565b600260159054906101000a900463ffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806000806000611b1f612206565b600a60008960ff1660ff16815260200190815260200160002087815481101515611b4557fe5b90600052602060002090600891828204019190066004029054906101000a900463ffffffff16945060008563ffffffff161115611c7357600960008663ffffffff1663ffffffff16815260200190815260200160002060a060405190810160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900463ffffffff1663ffffffff1663ffffffff16815260200160018201548152602001600282015481526020016003820160009054906101000a900460ff1660ff1660ff16815250509050806000015195508060800151935080604001519250806060015191505b509295509295909350565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611d2b575060011515600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515145b1515611d3657600080fd5b600073ffffffffffffffffffffffffffffffffffffffff16600260019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614151515611d9457600080fd5b600454421015611da357600080fd5b600260019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff166370a08231306000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b1515611e6b57600080fd5b6102c65a03f11515611e7c57600080fd5b50505060405180519050821115611e9257600080fd5b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84846000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1515611f3d57600080fd5b6102c65a03f11515611f4e57600080fd5b5050506040518051905050505050565b60075481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515611fbf57600080fd5b60011515600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514156120a2576000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600060148282829054906101000a900461ffff160392506101000a81548161ffff021916908361ffff1602179055505b50565b6000600a60008360ff1660ff168152602001908152602001600020805490509050919050565b60065481565b600260009054906101000a900460ff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561213f57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415156121b657806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b50565b600080823b905060008111915050919050565b8154818355818115116122015760070160089004816007016008900483600052602060002091820191016122009190612255565b5b505050565b60a060405190810160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600063ffffffff1681526020016000815260200160008152602001600060ff1681525090565b61227791905b8082111561227357600081600090555060010161225b565b5090565b905600a165627a7a72305820d53db0fa56364f24d8a3a5ae62c2700da810096bed7a1146603e6baf6f730151002900000000000000000000000000000000000000000000000006f05b59d3b2000000000000000000000000000000000000000000000000000000b1a2bc2ec5000000000000000000000000000000000000000000000000000000000005d21dba00000000000000000000000000000000000000000000000000000000012a05f200000000000000000000000000000000000000000000000000000000005b08a380000000000000000000000000000000000000000000000000000000005b24530000000000000000000000000095daaab98046846bf4b2853e23cba236fa394a31

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

00000000000000000000000000000000000000000000000006f05b59d3b2000000000000000000000000000000000000000000000000000000b1a2bc2ec5000000000000000000000000000000000000000000000000000000000005d21dba00000000000000000000000000000000000000000000000000000000012a05f200000000000000000000000000000000000000000000000000000000005b08a380000000000000000000000000000000000000000000000000000000005b24530000000000000000000000000095daaab98046846bf4b2853e23cba236fa394a31

-----Decoded View---------------
Arg [0] : _bidETHMin (uint256): 500000000000000000
Arg [1] : _bidETHIncrement (uint256): 50000000000000000
Arg [2] : _bidEMONTMin (uint256): 25000000000
Arg [3] : _bidEMONTIncrement (uint256): 5000000000
Arg [4] : _startTime (uint256): 1527292800
Arg [5] : _endTime (uint256): 1529107200
Arg [6] : _tokenContract (address): 0x95daaab98046846bf4b2853e23cba236fa394a31

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000006f05b59d3b20000
Arg [1] : 00000000000000000000000000000000000000000000000000b1a2bc2ec50000
Arg [2] : 00000000000000000000000000000000000000000000000000000005d21dba00
Arg [3] : 000000000000000000000000000000000000000000000000000000012a05f200
Arg [4] : 000000000000000000000000000000000000000000000000000000005b08a380
Arg [5] : 000000000000000000000000000000000000000000000000000000005b245300
Arg [6] : 00000000000000000000000095daaab98046846bf4b2853e23cba236fa394a31


Swarm Source

bzzr://d53db0fa56364f24d8a3a5ae62c2700da810096bed7a1146603e6baf6f730151
Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.