Contract 0x1d0DcC8d8BcaFa8e8502BEaEeF6CBD49d3AFFCDC 2

 
Txn Hash
Method
Block
From
To
Value
0x7b9bb5deac8f912c2de2f3bc9fc4f7d2c21c65f2c5114307994e7faa3c03b42cClaim Tokens99664292020-04-29 8:46:07834 days 6 hrs ago0xdad598d761b2d991dffa6d76029ed72a9741264c IN  Gnosis: Dutch Auction0 Ether0.‍0005556715.‍15
0xadb042796dc193b88a34a292a87b150b150a2fa724d0ffa3aa57e701c1824e38Claim Tokens50685992018-02-11 3:02:551642 days 11 hrs ago0xf466859ead1932d743d622cb74fc058882e8648a IN  Gnosis: Dutch Auction0 Ether0.‍0003618
0x426f908fd999d6194ab804d0ee11838eb36cca459cb6860e73643d31f7a2f395Claim Tokens49694372018-01-25 10:20:581659 days 4 hrs ago0x3ff51120d34f4318b6aff85dbca5481dbf03f40b IN  Gnosis: Dutch Auction0 Ether0.‍000315887
0x5b2a63cc2a7760ae2fdf402cbf8fbdf7cf4887cc151096b25a92dfe848d23e27Claim Tokens49336082018-01-19 7:48:091665 days 7 hrs ago0x3ff51120d34f4318b6aff85dbca5481dbf03f40b IN  Gnosis: Dutch Auction0 Ether0.‍000315887
0xc1c6f571c7c74f52d55ec2cbbb0ac61323a4bd706fae3ef7df0dddf7a1815541Update Stage49312872018-01-18 21:52:561665 days 16 hrs ago0x3ff51120d34f4318b6aff85dbca5481dbf03f40b IN  Gnosis: Dutch Auction0 Ether0.‍00259635114
0xaa2517c286c41264136aaebc54e961edc701bfe993d5acade9712b6a10c89501Setup48672682018-01-07 4:58:541677 days 9 hrs ago0x3ff51120d34f4318b6aff85dbca5481dbf03f40b IN  Gnosis: Dutch Auction0 Ether0.‍0002562211
0x451a6f0fb53a2d88b038f6aa5c547664c40c492265ecf0e30f2b5b854cbd9be8Transfer45741202017-11-18 5:47:491727 days 9 hrs agoENS Name ethdev.etherbase.eth IN  Gnosis: Dutch Auction0.‍005 Ether0.‍0004220
0xb8909cfc84338dd9b11dc1561864b02cf7f0e329e95f33eeb54d5ab7eb292ff9Bid43796562017-10-17 22:53:341758 days 15 hrs ago0x61cdc2be2bac5368311fb319607a163c347225d5 IN  Gnosis: Dutch Auction0.‍1 Ether0.‍0004809421
0x87ba5ea52e942d9b5bc268b1edc87486bdf02c5b0a0b1322f72c356eb6bbac8aTransfer40822802017-07-27 19:39:401840 days 19 hrs ago0x48f60981171ab5ea1f007aeab517eaed9a4f45ef IN  Gnosis: Dutch Auction0.‍5 Ether0.‍00048321
0xdea1031b041ede73db5c300f763c6ea3c462abe67ec0540d5e033bf8b866afa0Transfer40821972017-07-27 19:12:191840 days 19 hrs ago0x646626bf8d2ff06f70339d7cfb49da201d557c02 IN  Gnosis: Dutch Auction0.‍4 Ether0.‍0001221
0x655a5f952d82f53f465477d73f2a1a09f7822b5039da386e251148574d918233Claim Tokens40821002017-07-27 18:46:011840 days 20 hrs ago0x646626bf8d2ff06f70339d7cfb49da201d557c02 IN  Gnosis: Dutch Auction0 Ether0.‍000045121
0x08d636fbbb0116e0278a61e148e3fb33519d278db2a1231264b933933b6058acTransfer40820772017-07-27 18:39:471840 days 20 hrs ago0x646626bf8d2ff06f70339d7cfb49da201d557c02 IN  Gnosis: Dutch Auction3 Ether0.‍0001221
0x54bbfa955e92e09881105de2e0160617a5315d55dd2c773c59183e746396d643Transfer39977462017-07-09 10:25:211859 days 4 hrs ago0x0ee5429f60f59c701fc6af803f0fb61124c64f5e IN  Gnosis: Dutch Auction0.‍4684614 Ether0.‍002121
0xd99fba2c428ae6a882ee3e53849344afc9e355a051a163fbbfa38468be20fc26Claim Tokens39942932017-07-08 18:07:441859 days 20 hrs ago0x303d81cfdf195af845787aa3a1d4a92d8f80d20b IN  Gnosis: Dutch Auction0 Ether0.‍000025271
0xb2ad999d67229ebf63ecd26b741bf3fefb818a2288d379b8e428050061ad1773Bid39585962017-07-01 16:39:591866 days 22 hrs ago0xbced29effed01349291be9798f7eb2403a527398 IN  Gnosis: Dutch Auction0.‍1 Ether0.‍0006321
0xd5f129db5361eba7d33d01f6d5320ee32498bbeac826cee3195313a237e01a6eClaim Tokens38687722017-06-14 0:15:511884 days 14 hrs ago0x44ee99250cb42d4c842cac03282f4e3ad7d782aa IN  Gnosis: Dutch Auction0 Ether0.‍002256350
0xb687058a41fecae2f799b04e2342bbf752db4eddfe9bc20ec98b810aa1218632Bid37688392017-05-26 4:29:011903 days 10 hrs ago0xb69556cafcf7d0b6399fabb0e8af40345d331746 IN  Gnosis: Dutch Auction1 Ether0.‍007550
0x85c84a0e5d70e51434a580bdc23da1ef421a08674ce82d0f73a2e13b7b4e9140Claim Tokens37544772017-05-23 13:13:051906 days 1 hr ago0x4a3d8aa71ed4c5f21bd353b3689f52fc48da1f9a IN  Gnosis: Dutch Auction0 Ether0.‍0009025220
0x6780e5e147662c0c145bba4a5e9d5a08fb679086127d6ac4bb76d3187c630992Bid37461662017-05-22 0:32:491907 days 14 hrs ago0xb2cdb470e3d55b2caf040fbe82e7ebce24ca05e0 IN  Gnosis: Dutch Auction0.‍01 Ether0.‍0031429520.‍9530642
0xe3e598c1b05b43a1ec809060acee85e6d7070b535f07f0dbb927699f2e6bfb96Bid37461572017-05-22 0:30:291907 days 14 hrs ago0xb2cdb470e3d55b2caf040fbe82e7ebce24ca05e0 IN  Gnosis: Dutch Auction0.‍01 Ether0.‍0033392722.‍26183591
0x48dd6e994c1395a5efb902a4c0c7e1f3198fa8f08d1504c94c67c64a527e102dBid37195142017-05-17 2:48:291912 days 12 hrs ago0xf200486ba9e94d02bed14b06a7afde440008ae2f IN  Gnosis: Dutch Auction0.‍1 Ether0.‍007550
0x7da9289fc5cbd7a9879b3250c60fbe4c6c267e5585da55d9543056fce40de003Claim Tokens36738772017-05-08 22:10:131920 days 16 hrs ago0xe381369dc8c1babc6712d10d9b8364691d0efbb2 IN  Gnosis: Dutch Auction0 Ether0.‍0009025220
0xdfa962028a8e01f5d0527ea6058f089d70ea1e73454030cc19e61c186a934f8aClaim Tokens36616822017-05-06 18:28:561922 days 20 hrs ago0x9c2bc4d1b412635e32743bedb26ac4f16439d86a IN  Gnosis: Dutch Auction0 Ether0.‍0009476421
0x2339c704de39f653580d971142054e92df5fdbe2484bebdcf042ef578f840537Claim Tokens36392142017-05-02 19:12:231926 days 19 hrs ago0xc4a5107fbbf9907158e65f85e4f3bc931d9879cf IN  Gnosis: Dutch Auction0 Ether0.‍0009476421
0x5b816c2d870449733ec08ae303304533b1c735648a48c751632884211023f04dClaim Tokens36391922017-05-02 19:08:111926 days 19 hrs ago0x9c2bc4d1b412635e32743bedb26ac4f16439d86a IN  Gnosis: Dutch Auction0 Ether0.‍0009209121
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x2688fcf56fbab22a6c0d33e3f2e13b9a7e826b7cf0839440a7c550cbd3af3deb37761552017-05-27 12:32:301902 days 2 hrs ago 0xf0a398af2e6cb4fe260dd610b6fea595deb959cc Gnosis: Dutch Auction0.‍00156188 Ether
0x09f7e520ec986d6526daee8baac5e1230c0fbe30a8a6d4cc7b10d1cece03146937761452017-05-27 12:28:351902 days 2 hrs ago 0xf0a398af2e6cb4fe260dd610b6fea595deb959cc Gnosis: Dutch Auction0.‍00179898 Ether
0x11a59337e56d9342c74592fbfdf35f15c8e7681aaf22b2e82119c50bc600884836672152017-05-07 17:54:381921 days 20 hrs ago 0x227f3a313a02e35291a029feca4f36537c405726 Gnosis: Dutch Auction0.‍05 Ether
0x2dd5c8fef8962f5286546856c83c7228ac1eab2139ea43e75f828a52a4df1d0535939342017-04-24 19:45:591934 days 19 hrs ago 0xa814488e62143a0c604b20d571d0bb8acf1db447 Gnosis: Dutch Auction0.‍5 Ether
0x9d4f89f5826f9601b58e967cf3a08953f9b76625d388ebc22f324ceed0b668b435933092017-04-24 17:09:491934 days 21 hrs ago Gnosis: Dutch Auction Gnosis: Multisig 215.‍50525231 Ether
0x9d4f89f5826f9601b58e967cf3a08953f9b76625d388ebc22f324ceed0b668b435933092017-04-24 17:09:491934 days 21 hrs ago Gnosis: Dutch Auction0x74fdc967564af1c864e89d2a160625c61db6970214.‍49474768 Ether
0x8d1853843aca2f416364eb4ca61713b8caa57af20e8542b406857dc0711eafc935933092017-04-24 17:09:491934 days 21 hrs ago Gnosis: Dutch Auction Gnosis: Multisig 21 Ether
0x8cd043ab0c21b1871bf6f72d58dad995450a97430a12d07a27b252055756692435933092017-04-24 17:09:491934 days 21 hrs ago Gnosis: Dutch Auction Gnosis: Multisig 210.‍65 Ether
0x84c9362f11492e3b31c3217dfec42cbe96905f9907b2daa66f82341ac80be29f35933092017-04-24 17:09:491934 days 21 hrs ago Gnosis: Dutch Auction Gnosis: Multisig 23 Ether
0x765b172841308cbd19a2c363b6deed2287a71129da41cca5f88a026820651c5e35933092017-04-24 17:09:491934 days 21 hrs ago Gnosis: Dutch Auction Gnosis: Multisig 210 Ether
0x5ce71a94249fba64b27bf669ef6bbcff5a82ca2a5cdc83500e0c0efdd01d728935933092017-04-24 17:09:491934 days 21 hrs ago Gnosis: Dutch Auction Gnosis: Multisig 2297 Ether
0x52920f80de2e56c60555ecd82d0cc8c22070d21100b3a7597718b274fbd35ccc35933092017-04-24 17:09:491934 days 21 hrs ago Gnosis: Dutch Auction Gnosis: Multisig 20.‍8 Ether
0x4781484165c2ae6d18eae5e7fda90eefe214fdfe7e5acecbe34fb7d4b097d33435933092017-04-24 17:09:491934 days 21 hrs ago Gnosis: Dutch Auction Gnosis: Multisig 2204 Ether
0x3d214f059eb8a7e5fe0382980f8e394241dc3b20bff6c3d118e9974ab60c8ea635933092017-04-24 17:09:491934 days 21 hrs ago Gnosis: Dutch Auction Gnosis: Multisig 299 Ether
0x2f6531caeb0e272003904f02bf3c914d766b418178bbfaae3d50140ef9d970b635933092017-04-24 17:09:491934 days 21 hrs ago Gnosis: Dutch Auction Gnosis: Multisig 270 Ether
0x2170d1725ac9c877348264d5368f3affcb32f5facf23046979a04201b90a54c935933092017-04-24 17:09:491934 days 21 hrs ago Gnosis: Dutch Auction Gnosis: Multisig 22.‍1 Ether
0x118b91b6b7989dba2c97012391bd2c188e6072357f5259ed9cfb1aae646206ca35933092017-04-24 17:09:491934 days 21 hrs ago Gnosis: Dutch Auction Gnosis: Multisig 264.‍995 Ether
0x094c6bda3b2891f4cff203179392f711793334ca3d36a4ba7eebdaa4afc7ac1835933092017-04-24 17:09:491934 days 21 hrs ago Gnosis: Dutch Auction Gnosis: Multisig 225 Ether
0x919ba5c9332717542ffe4133e74a3ba890d453b2811a581a9835a65e5d4da82b35933092017-04-24 17:09:491934 days 21 hrs ago Gnosis: Dutch Auction Gnosis: Multisig 25 Ether
0xf2efd2a21aca797328bbd00abdb9bf9ed45b65ba9f7833f4f8d96189bb11203835933092017-04-24 17:09:491934 days 21 hrs ago Gnosis: Dutch Auction Gnosis: Multisig 22.‍49628359 Ether
0x7f56580a909e828c776d4bfe631150d474d8b599be15de2cf31c9f27fb34417a35933092017-04-24 17:09:491934 days 21 hrs ago Gnosis: Dutch Auction Gnosis: Multisig 2100 Ether
0xb7503f929521704015ce739d6e5d75194df64ac8599342027d13b40a5d18f63035933092017-04-24 17:09:491934 days 21 hrs ago Gnosis: Dutch Auction Gnosis: Multisig 250 Ether
0xdbbcb4d5be94f56ee23bcf7b9f42fa72294d6f5b735f994a05e122e2a2687f5135933092017-04-24 17:09:491934 days 21 hrs ago Gnosis: Dutch Auction Gnosis: Multisig 20.‍5 Ether
0x70adf1d696b761e976fdbd72d5a1232d3605f2769e4003cb6a64f058e9668ecc35933072017-04-24 17:09:331934 days 21 hrs ago Gnosis: Dutch Auction Gnosis: Multisig 23.‍495 Ether
0xf246c77584aceef631050401333537896de6b7948d14bccdf1e10106a62fc77235933072017-04-24 17:09:331934 days 21 hrs ago Gnosis: Dutch Auction Gnosis: Multisig 212.‍46382 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DutchAuction

Compiler Version
v0.4.10+commit.f0d539ae

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2017-04-18
*/

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 - <[email protected]>
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 Security Audit

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"}]

6060604052341561000c57fe5b6040516060806114cc833981016040528080519060200190919080519060200190919080519060200190919050505b60008373ffffffffffffffffffffffffffffffffffffffff1614806100605750600082145b8061006b5750600081145b156100765760006000fd5b33600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600381905550806004819055506000600a60006101000a81548160ff0219169083600481111561012557fe5b02179055505b5050505b61138e8061013e6000396000f30060606040523615610126576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806317f5de95146101285780633197cbb61461014e57806336d02c941461017457806339f64b521461019d57806348cd4cb1146101c3578063521eb273146101e957806360fd902c1461023b57806362ea82db1461028d57806366d38203146102d75780636b64c7691461030d5780636f85c7e41461031f578063753ed1bd146103455780638da5cb5b1461036b5780639cf5453d146103bd578063a3c2c462146103ff578063a6b513ee14610425578063c040e6b81461044b578063c062f5781461047f578063d9f8a4e2146104b3578063dd9dd688146104d9578063df8de3e7146104ff578063dfb2866d14610535575bfe5b341561013057fe5b61013861055b565b6040518082815260200191505060405180910390f35b341561015657fe5b61015e61056a565b6040518082815260200191505060405180910390f35b341561017c57fe5b61019b6004808035906020019091908035906020019091905050610570565b005b34156101a557fe5b6101ad610619565b6040518082815260200191505060405180910390f35b34156101cb57fe5b6101d3610644565b6040518082815260200191505060405180910390f35b34156101f157fe5b6101f961064a565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561024357fe5b61024b610670565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561029557fe5b6102c1600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610696565b6040518082815260200191505060405180910390f35b34156102df57fe5b61030b600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506106ae565b005b341561031557fe5b61031d6108c4565b005b341561032757fe5b61032f610988565b6040518082815260200191505060405180910390f35b341561034d57fe5b61035561098f565b6040518082815260200191505060405180910390f35b341561037357fe5b61037b610995565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103e9600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506109bb565b6040518082815260200191505060405180910390f35b341561040757fe5b61040f610cc6565b6040518082815260200191505060405180910390f35b341561042d57fe5b610435610ccc565b6040518082815260200191505060405180910390f35b341561045357fe5b61045b610cd2565b6040518082600481111561046b57fe5b60ff16815260200191505060405180910390f35b341561048757fe5b61048f610ce5565b6040518082600481111561049f57fe5b60ff16815260200191505060405180910390f35b34156104bb57fe5b6104c3610db4565b6040518082815260200191505060405180910390f35b34156104e157fe5b6104e9610ee3565b6040518082815260200191505060405180910390f35b341561050757fe5b610533600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610f11565b005b341561053d57fe5b6105456111d0565b6040518082815260200191505060405180910390f35b6a0771d2fa45345aa900000081565b60065481565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156105cd5760006000fd5b60018060048111156105db57fe5b600a60009054906101000a900460ff1660048111156105f657fe5b1415156106035760006000fd5b82600381905550816004819055505b5b505b5050565b60006001611d4c600554430301670de0b6b3a76400006004540281151561063c57fe5b040190505b90565b60055481565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60096020528060005260406000206000915090505481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561070b5760006000fd5b600080600481111561071957fe5b600a60009054906101000a900460ff16600481111561073457fe5b1415156107415760006000fd5b60008273ffffffffffffffffffffffffffffffffffffffff1614156107665760006000fd5b81600060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506a0771d2fa45345aa9000000600060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306000604051602001526040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b151561087557fe5b60325a03f1151561088257fe5b505050604051805190501415156108995760006000fd5b6001600a60006101000a81548160ff021916908360048111156108b857fe5b02179055505b5b505b50565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156109215760006000fd5b600180600481111561092f57fe5b600a60009054906101000a900460ff16600481111561094a57fe5b1415156109575760006000fd5b6002600a60006101000a81548160ff0219169083600481111561097657fe5b0217905550436005819055505b5b505b565b62093a8081565b60035481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006000600060046000369050141580156109db57506024600036905014155b156109e65760006000fd5b600260048111156109f357fe5b600a60009054906101000a900460ff166004811115610a0e57fe5b148015610a295750610a1e610ee3565b610a26610619565b11155b15610a3757610a366111d6565b5b60036004811115610a4457fe5b600a60009054906101000a900460ff166004811115610a5f57fe5b148015610a72575062093a806006540142115b15610a9c576004600a60006101000a81548160ff02191690836004811115610a9657fe5b02179055505b6002806004811115610aaa57fe5b600a60009054906101000a900460ff166004811115610ac557fe5b141515610ad25760006000fd5b60008573ffffffffffffffffffffffffffffffffffffffff161415610af5573394505b349350600754610b03610619565b670de0b6b3a76400006a0771d2fa45345aa9000000811515610b2157fe5b040203925060075460035403915082821015610b3b578192505b82841115610b8d578293508473ffffffffffffffffffffffffffffffffffffffff166108fc8534039081150290604051809050600060405180830381858888f193505050501515610b8c5760006000fd5b5b6000841480610bf35750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc859081150290604051809050600060405180830381858888f19350505050155b15610bfe5760006000fd5b83600960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508360076000828254019250508190555083831415610c6c57610c6b6111d6565b5b8473ffffffffffffffffffffffffffffffffffffffff167f9c89e828e6cee6374b68147c9e753e41746aad98ba255a527a4fc0ac1868bff9856040518082815260200191505060405180910390a25b5b505b5b5050919050565b60075481565b60085481565b600a60009054906101000a900460ff1681565b600060026004811115610cf457fe5b600a60009054906101000a900460ff166004811115610d0f57fe5b148015610d2a5750610d1f610ee3565b610d27610619565b11155b15610d3857610d376111d6565b5b60036004811115610d4557fe5b600a60009054906101000a900460ff166004811115610d6057fe5b148015610d73575062093a806006540142115b15610d9d576004600a60006101000a81548160ff02191690836004811115610d9757fe5b02179055505b600a60009054906101000a900460ff1690505b5b90565b600060026004811115610dc357fe5b600a60009054906101000a900460ff166004811115610dde57fe5b148015610df95750610dee610ee3565b610df6610619565b11155b15610e0757610e066111d6565b5b60036004811115610e1457fe5b600a60009054906101000a900460ff166004811115610e2f57fe5b148015610e42575062093a806006540142115b15610e6c576004600a60006101000a81548160ff02191690836004811115610e6657fe5b02179055505b60036004811115610e7957fe5b600a60009054906101000a900460ff166004811115610e9457fe5b1480610ec5575060046004811115610ea857fe5b600a60009054906101000a900460ff166004811115610ec357fe5b145b15610ed4576008549050610edf565b610edc610619565b90505b5b90565b600060016a0771d2fa45345aa9000000670de0b6b3a764000060075402811515610f0957fe5b040190505b90565b60006004600036905014158015610f2d57506024600036905014155b15610f385760006000fd5b60026004811115610f4557fe5b600a60009054906101000a900460ff166004811115610f6057fe5b148015610f7b5750610f70610ee3565b610f78610619565b11155b15610f8957610f886111d6565b5b60036004811115610f9657fe5b600a60009054906101000a900460ff166004811115610fb157fe5b148015610fc4575062093a806006540142115b15610fee576004600a60006101000a81548160ff02191690836004811115610fe857fe5b02179055505b6004806004811115610ffc57fe5b600a60009054906101000a900460ff16600481111561101757fe5b1415156110245760006000fd5b60008373ffffffffffffffffffffffffffffffffffffffff161415611047573392505b600854670de0b6b3a7640000600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020540281151561109d57fe5b0491506000600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84846000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15156111af57fe5b60325a03f115156111bc57fe5b50505060405180519050505b5b505b5b5050565b60045481565b60006003600a60006101000a81548160ff021916908360048111156111f757fe5b0217905550600354600754141561121b57611210610619565b60088190555061122a565b611223610ee3565b6008819055505b600854670de0b6b3a76400006007540281151561124357fe5b049050600060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836a0771d2fa45345aa9000000036000604051602001526040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b151561133f57fe5b60325a03f1151561134c57fe5b5050506040518051905050426006819055505b505600a165627a7a7230582019150351acc806d091a9cbd411ffcd0b514c1e1aeff90636bdca53a84875f6950029000000000000000000000000851b7f3ab81bd8df354f0d7640efcd72885534190000000000000000000000000000000000000000000034f086f3b33b684000000000000000000000000000000000000000000000000000000000000000001194

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

000000000000000000000000851b7f3ab81bd8df354f0d7640efcd72885534190000000000000000000000000000000000000000000034f086f3b33b684000000000000000000000000000000000000000000000000000000000000000001194

-----Decoded View---------------
Arg [0] : _wallet (address): 0x851b7f3ab81bd8df354f0d7640efcd7288553419
Arg [1] : _ceiling (uint256): 250000000000000000000000
Arg [2] : _priceFactor (uint256): 4500

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000851b7f3ab81bd8df354f0d7640efcd7288553419
Arg [1] : 0000000000000000000000000000000000000000000034f086f3b33b68400000
Arg [2] : 0000000000000000000000000000000000000000000000000000000000001194


Swarm Source

bzzr://19150351acc806d091a9cbd411ffcd0b514c1e1aeff90636bdca53a84875f695
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.

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.