Sponsored Link: Defeat FB+GOOG with Wolk's Decentralized Data ExchangeDownload Whitepaper and Participate in Token Event 8/28.
Contract Overview | Gnosis-DutchAuction
ETH Balance: 0 Ether
ETH USD Value: $0
No Of Transactions: 1360 txns
  Latest 25 txns from a total Of 1360 transactions View All

TxHash Age From To Value [TxFee]
0x87ba5ea52e942d9b5bc268b1edc87486bdf02c5b0a0b1322f72c356eb6bbac8a25 days 1 hr ago0x48f60981171ab5ea1f007aeab517eaed9a4f45ef  IN   Gnosis-DutchAuction0.5 Ether0.000483
0xdea1031b041ede73db5c300f763c6ea3c462abe67ec0540d5e033bf8b866afa025 days 2 hrs ago0x646626bf8d2ff06f70339d7cfb49da201d557c02  IN   Gnosis-DutchAuction0.4 Ether0.000122
0x655a5f952d82f53f465477d73f2a1a09f7822b5039da386e251148574d91823325 days 2 hrs ago0x646626bf8d2ff06f70339d7cfb49da201d557c02  IN   Gnosis-DutchAuction0 Ether0.000045126
0x08d636fbbb0116e0278a61e148e3fb33519d278db2a1231264b933933b6058ac25 days 2 hrs ago0x646626bf8d2ff06f70339d7cfb49da201d557c02  IN   Gnosis-DutchAuction3 Ether0.000122
0x54bbfa955e92e09881105de2e0160617a5315d55dd2c773c59183e746396d64343 days 11 hrs ago0x0ee5429f60f59c701fc6af803f0fb61124c64f5e  IN   Gnosis-DutchAuction0.4684614 Ether0.0021
0xd99fba2c428ae6a882ee3e53849344afc9e355a051a163fbbfa38468be20fc2644 days 3 hrs ago0x303d81cfdf195af845787aa3a1d4a92d8f80d20b  IN   Gnosis-DutchAuction0 Ether0.000025271
0xb2ad999d67229ebf63ecd26b741bf3fefb818a2288d379b8e428050061ad177351 days 4 hrs ago0xbced29effed01349291be9798f7eb2403a527398  IN   Gnosis-DutchAuction0.1 Ether0.00063
0xd5f129db5361eba7d33d01f6d5320ee32498bbeac826cee3195313a237e01a6e68 days 21 hrs ago0x44ee99250cb42d4c842cac03282f4e3ad7d782aa  IN   Gnosis-DutchAuction0 Ether0.0022563
0xb687058a41fecae2f799b04e2342bbf752db4eddfe9bc20ec98b810aa121863287 days 17 hrs ago0xb69556cafcf7d0b6399fabb0e8af40345d331746  IN   Gnosis-DutchAuction1 Ether0.0075
0x85c84a0e5d70e51434a580bdc23da1ef421a08674ce82d0f73a2e13b7b4e914090 days 8 hrs ago0x4a3d8aa71ed4c5f21bd353b3689f52fc48da1f9a  IN   Gnosis-DutchAuction0 Ether0.00090252
0x6780e5e147662c0c145bba4a5e9d5a08fb679086127d6ac4bb76d3187c63099291 days 21 hrs ago0xb2cdb470e3d55b2caf040fbe82e7ebce24ca05e0  IN   Gnosis-DutchAuction0.01 Ether0.00314295963
0xe3e598c1b05b43a1ec809060acee85e6d7070b535f07f0dbb927699f2e6bfb9691 days 21 hrs ago0xb2cdb470e3d55b2caf040fbe82e7ebce24ca05e0  IN   Gnosis-DutchAuction0.01 Ether0.003339275386
0x48dd6e994c1395a5efb902a4c0c7e1f3198fa8f08d1504c94c67c64a527e102d96 days 18 hrs ago0xf200486ba9e94d02bed14b06a7afde440008ae2f  IN   Gnosis-DutchAuction0.1 Ether0.0075
0x7da9289fc5cbd7a9879b3250c60fbe4c6c267e5585da55d9543056fce40de003104 days 23 hrs ago0xe381369dc8c1babc6712d10d9b8364691d0efbb2  IN   Gnosis-DutchAuction0 Ether0.00090252
0xdfa962028a8e01f5d0527ea6058f089d70ea1e73454030cc19e61c186a934f8a107 days 3 hrs ago0x9c2bc4d1b412635e32743bedb26ac4f16439d86a  IN   Gnosis-DutchAuction0 Ether0.000947646
0x2339c704de39f653580d971142054e92df5fdbe2484bebdcf042ef578f840537111 days 2 hrs ago0xc4a5107fbbf9907158e65f85e4f3bc931d9879cf  IN   Gnosis-DutchAuction0 Ether0.000947646
0x5b816c2d870449733ec08ae303304533b1c735648a48c751632884211023f04d111 days 2 hrs ago0x9c2bc4d1b412635e32743bedb26ac4f16439d86a  IN   Gnosis-DutchAuction0 Ether0.000920913
0x11084217c850e23f020e94699e32102186bf256a32f7f2f5b924b3af3bcf12ad111 days 5 hrs ago0xed7909a870c498bfd8584f248912637d7d90a1db  IN   Gnosis-DutchAuction0 Ether0.00090252
0x89141cdbd8cbcf8c31e0498327acba22f4e5e19ca481be369484e26f4f29ef28111 days 16 hrs ago0x51351aff27204edf8fa2719afc2826b0b5896391  IN   Gnosis-DutchAuction1 Ether0.00058182
0xeda3877bd82fa3f598a008698cd209352192a3218ed67930e4d9bc01c0a0d493111 days 16 hrs ago0xbdf6e68c0cd7584080e847d72cbb23aad46aeb1d  IN   Gnosis-DutchAuction0 Ether0.0022563
0xe39838c4ec0b88c46af52cdd2a42e313fb3770a1a0843d6add375524b6bddbf2111 days 20 hrs ago0x40fdc729e61ab661181246d822188ac08513dedb  IN   Gnosis-DutchAuction0 Ether0.00090252
0x299540c401ae9cf132b1b4e59ec619acbc9086ebc789dce5701f01b910c07799112 days 1 hr ago0x1ef73c64befd84b1f5b51a629aefbd3922caea9e  IN   Gnosis-DutchAuction0 Ether0.00090252
0x01fd3d0fd06275577742321eb50ef99b7633da6d00ea63e8ea57551bbc5d00e5112 days 2 hrs ago0x8eba367a717bbfe2c7737e4e8b7e5c5860e1dc7e  IN   Gnosis-DutchAuction0 Ether0.001037898
0x767f8ab6bcfef18b1b5bb4d4ed9c5b77cb2228c91d2902ca2e849df881a68473112 days 2 hrs ago0x8eba367a717bbfe2c7737e4e8b7e5c5860e1dc7e  IN   Gnosis-DutchAuction0 Ether0.001037898
0x900167bca5c4a7d86694e52200d11d9506f56135578e93e7a6b641256de37bd1112 days 2 hrs ago0x3edce24b48fc05e48bf4a75bfc3ef31965fa62c5  IN   Gnosis-DutchAuction0 Ether0.000315882
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
  Latest 25 Internal Txns, Click here to View More View All
ParentTxHash Block Age From To Value
0x2688fcf56fbab22a6c0d33e3f2e13b9a7e826b7cf0839440a7c550cbd3af3deb377615586 days 9 hrs ago0xf0a398af2e6cb4fe260dd610b6fea595deb959cc0x1d0dcc8d8bcafa8e8502beaeef6cbd49d3affcdc0.001561889886762983 Ether
0x09f7e520ec986d6526daee8baac5e1230c0fbe30a8a6d4cc7b10d1cece031469377614586 days 9 hrs ago0xf0a398af2e6cb4fe260dd610b6fea595deb959cc0x1d0dcc8d8bcafa8e8502beaeef6cbd49d3affcdc0.001798983183418068 Ether
0x11a59337e56d9342c74592fbfdf35f15c8e7681aaf22b2e82119c50bc60088483667215106 days 3 hrs ago0x227f3a313a02e35291a029feca4f36537c4057260x1d0dcc8d8bcafa8e8502beaeef6cbd49d3affcdc0.05 Ether
0x2dd5c8fef8962f5286546856c83c7228ac1eab2139ea43e75f828a52a4df1d053593934119 days 1 hr ago0xa814488e62143a0c604b20d571d0bb8acf1db4470x1d0dcc8d8bcafa8e8502beaeef6cbd49d3affcdc0.5 Ether
0x9d4f89f5826f9601b58e967cf3a08953f9b76625d388ebc22f324ceed0b668b43593309119 days 4 hrs ago0x1d0dcc8d8bcafa8e8502beaeef6cbd49d3affcdc0x851b7f3ab81bd8df354f0d7640efcd728855341915.505252316883126711 Ether
0x9d4f89f5826f9601b58e967cf3a08953f9b76625d388ebc22f324ceed0b668b43593309119 days 4 hrs ago0x1d0dcc8d8bcafa8e8502beaeef6cbd49d3affcdc0x74fdc967564af1c864e89d2a160625c61db6970214.494747683116873289 Ether
0x8d1853843aca2f416364eb4ca61713b8caa57af20e8542b406857dc0711eafc93593309119 days 4 hrs ago0x1d0dcc8d8bcafa8e8502beaeef6cbd49d3affcdc0x851b7f3ab81bd8df354f0d7640efcd72885534191 Ether
0x8cd043ab0c21b1871bf6f72d58dad995450a97430a12d07a27b25205575669243593309119 days 4 hrs ago0x1d0dcc8d8bcafa8e8502beaeef6cbd49d3affcdc0x851b7f3ab81bd8df354f0d7640efcd728855341910.65 Ether
0x84c9362f11492e3b31c3217dfec42cbe96905f9907b2daa66f82341ac80be29f3593309119 days 4 hrs ago0x1d0dcc8d8bcafa8e8502beaeef6cbd49d3affcdc0x851b7f3ab81bd8df354f0d7640efcd72885534193 Ether
0x765b172841308cbd19a2c363b6deed2287a71129da41cca5f88a026820651c5e3593309119 days 4 hrs ago0x1d0dcc8d8bcafa8e8502beaeef6cbd49d3affcdc0x851b7f3ab81bd8df354f0d7640efcd728855341910 Ether
0x5ce71a94249fba64b27bf669ef6bbcff5a82ca2a5cdc83500e0c0efdd01d72893593309119 days 4 hrs ago0x1d0dcc8d8bcafa8e8502beaeef6cbd49d3affcdc0x851b7f3ab81bd8df354f0d7640efcd7288553419297 Ether
0x52920f80de2e56c60555ecd82d0cc8c22070d21100b3a7597718b274fbd35ccc3593309119 days 4 hrs ago0x1d0dcc8d8bcafa8e8502beaeef6cbd49d3affcdc0x851b7f3ab81bd8df354f0d7640efcd72885534190.8 Ether
0x4781484165c2ae6d18eae5e7fda90eefe214fdfe7e5acecbe34fb7d4b097d3343593309119 days 4 hrs ago0x1d0dcc8d8bcafa8e8502beaeef6cbd49d3affcdc0x851b7f3ab81bd8df354f0d7640efcd7288553419204 Ether
0x3d214f059eb8a7e5fe0382980f8e394241dc3b20bff6c3d118e9974ab60c8ea63593309119 days 4 hrs ago0x1d0dcc8d8bcafa8e8502beaeef6cbd49d3affcdc0x851b7f3ab81bd8df354f0d7640efcd728855341999 Ether
0x2f6531caeb0e272003904f02bf3c914d766b418178bbfaae3d50140ef9d970b63593309119 days 4 hrs ago0x1d0dcc8d8bcafa8e8502beaeef6cbd49d3affcdc0x851b7f3ab81bd8df354f0d7640efcd728855341970 Ether
0x2170d1725ac9c877348264d5368f3affcb32f5facf23046979a04201b90a54c93593309119 days 4 hrs ago0x1d0dcc8d8bcafa8e8502beaeef6cbd49d3affcdc0x851b7f3ab81bd8df354f0d7640efcd72885534192.1 Ether
0x118b91b6b7989dba2c97012391bd2c188e6072357f5259ed9cfb1aae646206ca3593309119 days 4 hrs ago0x1d0dcc8d8bcafa8e8502beaeef6cbd49d3affcdc0x851b7f3ab81bd8df354f0d7640efcd728855341964.995 Ether
0x094c6bda3b2891f4cff203179392f711793334ca3d36a4ba7eebdaa4afc7ac183593309119 days 4 hrs ago0x1d0dcc8d8bcafa8e8502beaeef6cbd49d3affcdc0x851b7f3ab81bd8df354f0d7640efcd728855341925 Ether
0x919ba5c9332717542ffe4133e74a3ba890d453b2811a581a9835a65e5d4da82b3593309119 days 4 hrs ago0x1d0dcc8d8bcafa8e8502beaeef6cbd49d3affcdc0x851b7f3ab81bd8df354f0d7640efcd72885534195 Ether
0xf2efd2a21aca797328bbd00abdb9bf9ed45b65ba9f7833f4f8d96189bb1120383593309119 days 4 hrs ago0x1d0dcc8d8bcafa8e8502beaeef6cbd49d3affcdc0x851b7f3ab81bd8df354f0d7640efcd72885534192.4962835902995 Ether
0x7f56580a909e828c776d4bfe631150d474d8b599be15de2cf31c9f27fb34417a3593309119 days 4 hrs ago0x1d0dcc8d8bcafa8e8502beaeef6cbd49d3affcdc0x851b7f3ab81bd8df354f0d7640efcd7288553419100 Ether
0xb7503f929521704015ce739d6e5d75194df64ac8599342027d13b40a5d18f6303593309119 days 4 hrs ago0x1d0dcc8d8bcafa8e8502beaeef6cbd49d3affcdc0x851b7f3ab81bd8df354f0d7640efcd728855341950 Ether
0xdbbcb4d5be94f56ee23bcf7b9f42fa72294d6f5b735f994a05e122e2a2687f513593309119 days 4 hrs ago0x1d0dcc8d8bcafa8e8502beaeef6cbd49d3affcdc0x851b7f3ab81bd8df354f0d7640efcd72885534190.5 Ether
0x70adf1d696b761e976fdbd72d5a1232d3605f2769e4003cb6a64f058e9668ecc3593307119 days 4 hrs ago0x1d0dcc8d8bcafa8e8502beaeef6cbd49d3affcdc0x851b7f3ab81bd8df354f0d7640efcd72885534193.495 Ether
0xf246c77584aceef631050401333537896de6b7948d14bccdf1e10106a62fc7723593307119 days 4 hrs ago0x1d0dcc8d8bcafa8e8502beaeef6cbd49d3affcdc0x851b7f3ab81bd8df354f0d7640efcd728855341912.46382 Ether
[ Download CSV Export  ] 
Warning: The compiled contract might be susceptible to DelegateCallReturnValue (low-severity), ECRecoverMalformedInput (medium-severity), SkipEmptyStringLiteral (low-severity) Solidity compiler bugs.

Contract Source Code Verified
Contract Name: DutchAuction
Compiler Version: v0.4.10+commit.f0d539ae
Optimization Enabled: No
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts
pragma solidity 0.4.10;


/// @title Abstract token contract - Functions to be implemented by token contracts.
contract Token {
    function transfer(address to, uint256 value) returns (bool success);
    function transferFrom(address from, address to, uint256 value) returns (bool success);
    function approve(address spender, uint256 value) returns (bool success);

    // This is not an abstract function, because solc won't recognize generated getter functions for public variables as functions.
    function totalSupply() constant returns (uint256 supply) {}
    function balanceOf(address owner) constant returns (uint256 balance);
    function allowance(address owner, address spender) constant returns (uint256 remaining);

    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(address indexed owner, address indexed spender, uint256 value);
}


/// @title Dutch auction contract - distribution of Gnosis tokens using an auction.
/// @author Stefan George - <stefan.george@consensys.net>
contract DutchAuction {

    /*
     *  Events
     */
    event BidSubmission(address indexed sender, uint256 amount);

    /*
     *  Constants
     */
    uint constant public MAX_TOKENS_SOLD = 9000000 * 10**18; // 9M
    uint constant public WAITING_PERIOD = 7 days;

    /*
     *  Storage
     */
    Token public gnosisToken;
    address public wallet;
    address public owner;
    uint public ceiling;
    uint public priceFactor;
    uint public startBlock;
    uint public endTime;
    uint public totalReceived;
    uint public finalPrice;
    mapping (address => uint) public bids;
    Stages public stage;

    /*
     *  Enums
     */
    enum Stages {
        AuctionDeployed,
        AuctionSetUp,
        AuctionStarted,
        AuctionEnded,
        TradingStarted
    }

    /*
     *  Modifiers
     */
    modifier atStage(Stages _stage) {
        if (stage != _stage)
            // Contract not in expected state
            throw;
        _;
    }

    modifier isOwner() {
        if (msg.sender != owner)
            // Only owner is allowed to proceed
            throw;
        _;
    }

    modifier isWallet() {
        if (msg.sender != wallet)
            // Only wallet is allowed to proceed
            throw;
        _;
    }

    modifier isValidPayload() {
        if (msg.data.length != 4 && msg.data.length != 36)
            throw;
        _;
    }

    modifier timedTransitions() {
        if (stage == Stages.AuctionStarted && calcTokenPrice() <= calcStopPrice())
            finalizeAuction();
        if (stage == Stages.AuctionEnded && now > endTime + WAITING_PERIOD)
            stage = Stages.TradingStarted;
        _;
    }

    /*
     *  Public functions
     */
    /// @dev Contract constructor function sets owner.
    /// @param _wallet Gnosis wallet.
    /// @param _ceiling Auction ceiling.
    /// @param _priceFactor Auction price factor.
    function DutchAuction(address _wallet, uint _ceiling, uint _priceFactor)
        public
    {
        if (_wallet == 0 || _ceiling == 0 || _priceFactor == 0)
            // Arguments are null.
            throw;
        owner = msg.sender;
        wallet = _wallet;
        ceiling = _ceiling;
        priceFactor = _priceFactor;
        stage = Stages.AuctionDeployed;
    }

    /// @dev Setup function sets external contracts' addresses.
    /// @param _gnosisToken Gnosis token address.
    function setup(address _gnosisToken)
        public
        isOwner
        atStage(Stages.AuctionDeployed)
    {
        if (_gnosisToken == 0)
            // Argument is null.
            throw;
        gnosisToken = Token(_gnosisToken);
        // Validate token balance
        if (gnosisToken.balanceOf(this) != MAX_TOKENS_SOLD)
            throw;
        stage = Stages.AuctionSetUp;
    }

    /// @dev Starts auction and sets startBlock.
    function startAuction()
        public
        isWallet
        atStage(Stages.AuctionSetUp)
    {
        stage = Stages.AuctionStarted;
        startBlock = block.number;
    }

    /// @dev Changes auction ceiling and start price factor before auction is started.
    /// @param _ceiling Updated auction ceiling.
    /// @param _priceFactor Updated start price factor.
    function changeSettings(uint _ceiling, uint _priceFactor)
        public
        isWallet
        atStage(Stages.AuctionSetUp)
    {
        ceiling = _ceiling;
        priceFactor = _priceFactor;
    }

    /// @dev Calculates current token price.
    /// @return Returns token price.
    function calcCurrentTokenPrice()
        public
        timedTransitions
        returns (uint)
    {
        if (stage == Stages.AuctionEnded || stage == Stages.TradingStarted)
            return finalPrice;
        return calcTokenPrice();
    }

    /// @dev Returns correct stage, even if a function with timedTransitions modifier has not yet been called yet.
    /// @return Returns current auction stage.
    function updateStage()
        public
        timedTransitions
        returns (Stages)
    {
        return stage;
    }

    /// @dev Allows to send a bid to the auction.
    /// @param receiver Bid will be assigned to this address if set.
    function bid(address receiver)
        public
        payable
        isValidPayload
        timedTransitions
        atStage(Stages.AuctionStarted)
        returns (uint amount)
    {
        // If a bid is done on behalf of a user via ShapeShift, the receiver address is set.
        if (receiver == 0)
            receiver = msg.sender;
        amount = msg.value;
        // Prevent that more than 90% of tokens are sold. Only relevant if cap not reached.
        uint maxWei = (MAX_TOKENS_SOLD / 10**18) * calcTokenPrice() - totalReceived;
        uint maxWeiBasedOnTotalReceived = ceiling - totalReceived;
        if (maxWeiBasedOnTotalReceived < maxWei)
            maxWei = maxWeiBasedOnTotalReceived;
        // Only invest maximum possible amount.
        if (amount > maxWei) {
            amount = maxWei;
            // Send change back to receiver address. In case of a ShapeShift bid the user receives the change back directly.
            if (!receiver.send(msg.value - amount))
                // Sending failed
                throw;
        }
        // Forward funding to ether wallet
        if (amount == 0 || !wallet.send(amount))
            // No amount sent or sending failed
            throw;
        bids[receiver] += amount;
        totalReceived += amount;
        if (maxWei == amount)
            // When maxWei is equal to the big amount the auction is ended and finalizeAuction is triggered.
            finalizeAuction();
        BidSubmission(receiver, amount);
    }

    /// @dev Claims tokens for bidder after auction.
    /// @param receiver Tokens will be assigned to this address if set.
    function claimTokens(address receiver)
        public
        isValidPayload
        timedTransitions
        atStage(Stages.TradingStarted)
    {
        if (receiver == 0)
            receiver = msg.sender;
        uint tokenCount = bids[receiver] * 10**18 / finalPrice;
        bids[receiver] = 0;
        gnosisToken.transfer(receiver, tokenCount);
    }

    /// @dev Calculates stop price.
    /// @return Returns stop price.
    function calcStopPrice()
        constant
        public
        returns (uint)
    {
        return totalReceived * 10**18 / MAX_TOKENS_SOLD + 1;
    }

    /// @dev Calculates token price.
    /// @return Returns token price.
    function calcTokenPrice()
        constant
        public
        returns (uint)
    {
        return priceFactor * 10**18 / (block.number - startBlock + 7500) + 1;
    }

    /*
     *  Private functions
     */
    function finalizeAuction()
        private
    {
        stage = Stages.AuctionEnded;
        if (totalReceived == ceiling)
            finalPrice = calcTokenPrice();
        else
            finalPrice = calcStopPrice();
        uint soldTokens = totalReceived * 10**18 / finalPrice;
        // Auction contract transfers all unsold tokens to Gnosis inventory multisig
        gnosisToken.transfer(wallet, MAX_TOKENS_SOLD - soldTokens);
        endTime = now;
    }
}

  Contract ABI  
[{"constant":true,"inputs":[],"name":"MAX_TOKENS_SOLD","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"endTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_ceiling","type":"uint256"},{"name":"_priceFactor","type":"uint256"}],"name":"changeSettings","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"calcTokenPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"startBlock","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"wallet","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"gnosisToken","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"bids","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_gnosisToken","type":"address"}],"name":"setup","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"startAuction","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"WAITING_PERIOD","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"ceiling","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"receiver","type":"address"}],"name":"bid","outputs":[{"name":"amount","type":"uint256"}],"payable":true,"type":"function"},{"constant":true,"inputs":[],"name":"totalReceived","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"finalPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"stage","outputs":[{"name":"","type":"uint8"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"updateStage","outputs":[{"name":"","type":"uint8"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"calcCurrentTokenPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"calcStopPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"receiver","type":"address"}],"name":"claimTokens","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"priceFactor","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"inputs":[{"name":"_wallet","type":"address"},{"name":"_ceiling","type":"uint256"},{"name":"_priceFactor","type":"uint256"}],"payable":false,"type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"sender","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"BidSubmission","type":"event"}]

  Contract Creation Code Switch To Opcodes View
6060604052341561000c57fe5b6040516060806114cc833981016040528080519060200190919080519060200190919080519060200190919050505b60008373ffffffffffffffffffffffffffffffffffffffff1614806100605750600082145b8061006b5750600081145b156100765760006000fd5b33600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600381905550806004819055506000600a60006101000a81548160ff0219169083600481111561012557fe5b02179055505b5050505b61138e8061013e6000396000f30060606040523615610126576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806317f5de95146101285780633197cbb61461014e57806336d02c941461017457806339f64b521461019d57806348cd4cb1146101c3578063521eb273146101e957806360fd902c1461023b57806362ea82db1461028d57806366d38203146102d75780636b64c7691461030d5780636f85c7e41461031f578063753ed1bd146103455780638da5cb5b1461036b5780639cf5453d146103bd578063a3c2c462146103ff578063a6b513ee14610425578063c040e6b81461044b578063c062f5781461047f578063d9f8a4e2146104b3578063dd9dd688146104d9578063df8de3e7146104ff578063dfb2866d14610535575bfe5b341561013057fe5b61013861055b565b6040518082815260200191505060405180910390f35b341561015657fe5b61015e61056a565b6040518082815260200191505060405180910390f35b341561017c57fe5b61019b6004808035906020019091908035906020019091905050610570565b005b34156101a557fe5b6101ad610619565b6040518082815260200191505060405180910390f35b34156101cb57fe5b6101d3610644565b6040518082815260200191505060405180910390f35b34156101f157fe5b6101f961064a565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561024357fe5b61024b610670565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561029557fe5b6102c1600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610696565b6040518082815260200191505060405180910390f35b34156102df57fe5b61030b600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506106ae565b005b341561031557fe5b61031d6108c4565b005b341561032757fe5b61032f610988565b6040518082815260200191505060405180910390f35b341561034d57fe5b61035561098f565b6040518082815260200191505060405180910390f35b341561037357fe5b61037b610995565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103e9600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506109bb565b6040518082815260200191505060405180910390f35b341561040757fe5b61040f610cc6565b6040518082815260200191505060405180910390f35b341561042d57fe5b610435610ccc565b6040518082815260200191505060405180910390f35b341561045357fe5b61045b610cd2565b6040518082600481111561046b57fe5b60ff16815260200191505060405180910390f35b341561048757fe5b61048f610ce5565b6040518082600481111561049f57fe5b60ff16815260200191505060405180910390f35b34156104bb57fe5b6104c3610db4565b6040518082815260200191505060405180910390f35b34156104e157fe5b6104e9610ee3565b6040518082815260200191505060405180910390f35b341561050757fe5b610533600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610f11565b005b341561053d57fe5b6105456111d0565b6040518082815260200191505060405180910390f35b6a0771d2fa45345aa900000081565b60065481565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156105cd5760006000fd5b60018060048111156105db57fe5b600a60009054906101000a900460ff1660048111156105f657fe5b1415156106035760006000fd5b82600381905550816004819055505b5b505b5050565b60006001611d4c600554430301670de0b6b3a76400006004540281151561063c57fe5b040190505b90565b60055481565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60096020528060005260406000206000915090505481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561070b5760006000fd5b600080600481111561071957fe5b600a60009054906101000a900460ff16600481111561073457fe5b1415156107415760006000fd5b60008273ffffffffffffffffffffffffffffffffffffffff1614156107665760006000fd5b81600060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506a0771d2fa45345aa9000000600060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b151561087557fe5b60325a03f1151561088257fe5b505050604051805190501415156108995760006000fd5b6001600a60006101000a81548160ff021916908360048111156108b857fe5b02179055505b5b505b50565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156109215760006000fd5b600180600481111561092f57fe5b600a60009054906101000a900460ff16600481111561094a57fe5b1415156109575760006000fd5b6002600a60006101000a81548160ff0219169083600481111561097657fe5b0217905550436005819055505b5b505b565b62093a8081565b60035481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006000600060046000369050141580156109db57506024600036905014155b156109e65760006000fd5b600260048111156109f357fe5b600a60009054906101000a900460ff166004811115610a0e57fe5b148015610a295750610a1e610ee3565b610a26610619565b11155b15610a3757610a366111d6565b5b60036004811115610a4457fe5b600a60009054906101000a900460ff166004811115610a5f57fe5b148015610a72575062093a806006540142115b15610a9c576004600a60006101000a81548160ff02191690836004811115610a9657fe5b02179055505b6002806004811115610aaa57fe5b600a60009054906101000a900460ff166004811115610ac557fe5b141515610ad25760006000fd5b60008573ffffffffffffffffffffffffffffffffffffffff161415610af5573394505b349350600754610b03610619565b670de0b6b3a76400006a0771d2fa45345aa9000000811515610b2157fe5b040203925060075460035403915082821015610b3b578192505b82841115610b8d578293508473ffffffffffffffffffffffffffffffffffffffff166108fc8534039081150290604051809050600060405180830381858888f193505050501515610b8c5760006000fd5b5b6000841480610bf35750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc859081150290604051809050600060405180830381858888f19350505050155b15610bfe5760006000fd5b83600960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508360076000828254019250508190555083831415610c6c57610c6b6111d6565b5b8473ffffffffffffffffffffffffffffffffffffffff167f9c89e828e6cee6374b68147c9e753e41746aad98ba255a527a4fc0ac1868bff9856040518082815260200191505060405180910390a25b5b505b5b5050919050565b60075481565b60085481565b600a60009054906101000a900460ff1681565b600060026004811115610cf457fe5b600a60009054906101000a900460ff166004811115610d0f57fe5b148015610d2a5750610d1f610ee3565b610d27610619565b11155b15610d3857610d376111d6565b5b60036004811115610d4557fe5b600a60009054906101000a900460ff166004811115610d6057fe5b148015610d73575062093a806006540142115b15610d9d576004600a60006101000a81548160ff02191690836004811115610d9757fe5b02179055505b600a60009054906101000a900460ff1690505b5b90565b600060026004811115610dc357fe5b600a60009054906101000a900460ff166004811115610dde57fe5b148015610df95750610dee610ee3565b610df6610619565b11155b15610e0757610e066111d6565b5b60036004811115610e1457fe5b600a60009054906101000a900460ff166004811115610e2f57fe5b148015610e42575062093a806006540142115b15610e6c576004600a60006101000a81548160ff02191690836004811115610e6657fe5b02179055505b60036004811115610e7957fe5b600a60009054906101000a900460ff166004811115610e9457fe5b1480610ec5575060046004811115610ea857fe5b600a60009054906101000a900460ff166004811115610ec357fe5b145b15610ed4576008549050610edf565b610edc610619565b90505b5b90565b600060016a0771d2fa45345aa9000000670de0b6b3a764000060075402811515610f0957fe5b040190505b90565b60006004600036905014158015610f2d57506024600036905014155b15610f385760006000fd5b60026004811115610f4557fe5b600a60009054906101000a900460ff166004811115610f6057fe5b148015610f7b5750610f70610ee3565b610f78610619565b11155b15610f8957610f886111d6565b5b60036004811115610f9657fe5b600a60009054906101000a900460ff166004811115610fb157fe5b148015610fc4575062093a806006540142115b15610fee576004600a60006101000a81548160ff02191690836004811115610fe857fe5b02179055505b6004806004811115610ffc57fe5b600a60009054906101000a900460ff16600481111561101757fe5b1415156110245760006000fd5b60008373ffffffffffffffffffffffffffffffffffffffff161415611047573392505b600854670de0b6b3a7640000600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020540281151561109d57fe5b0491506000600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84846000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15156111af57fe5b60325a03f115156111bc57fe5b50505060405180519050505b5b505b5b5050565b60045481565b60006003600a60006101000a81548160ff021916908360048111156111f757fe5b0217905550600354600754141561121b57611210610619565b60088190555061122a565b611223610ee3565b6008819055505b600854670de0b6b3a76400006007540281151561124357fe5b049050600060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836a0771d2fa45345aa9000000036000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b151561133f57fe5b60325a03f1151561134c57fe5b5050506040518051905050426006819055505b505600a165627a7a7230582019150351acc806d091a9cbd411ffcd0b514c1e1aeff90636bdca53a84875f6950029000000000000000000000000851b7f3ab81bd8df354f0d7640efcd72885534190000000000000000000000000000000000000000000034f086f3b33b684000000000000000000000000000000000000000000000000000000000000000001194

    Constructor Arguments (ABI-encoded and appended to the ByteCode above)
000000000000000000000000851b7f3ab81bd8df354f0d7640efcd72885534190000000000000000000000000000000000000000000034f086f3b33b684000000000000000000000000000000000000000000000000000000000000000001194

-----Decoded View---------------
Found 3 constructor arguments :
Arg [0] : 000000000000000000000000851b7f3ab81bd8df354f0d7640efcd7288553419
Arg [1] : 0000000000000000000000000000000000000000000034f086f3b33b68400000
Arg [2] : 0000000000000000000000000000000000000000000000000000000000001194


   Swarm Source:
bzzr://19150351acc806d091a9cbd411ffcd0b514c1e1aeff90636bdca53a84875f695
View All
Block Age txn Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "downvote" button for any spammy posts, and the "upvote" for interesting conversations.