Contract Overview | Dao.Casino_Old
Balance: 0 Ether
Ether Value: $0
Transactions: 9989 txns
Token Tracker: Dao.Casino (BET)
Misc:
Address Watch: Add To Watch List
Contract Creator: 0xb39c77767406ec8a147971736412b18bb0ec1619at txn 0x37986a237d84ed277be34f86665af757ae791372d8dee33b5d00a18e0226da72
Token Balance:
 Latest 25 transactions from a total of 9989 transactions

TxHash Age From To Value [TxFee]
0x8efa788e95048e46d0589b4145fbce261055753f6b005e40cade0709792097702 days 7 hrs ago0x37fa0230a9279f4911625e05aa888f472a63910a  IN   Dao.Casino_Old0 Ether0.00018125
0xaa515c73ba18cd5419a448b4ad8e43001ef899409587ab54e08487172890770510 days 7 hrs ago0x37fa0230a9279f4911625e05aa888f472a63910a  IN   Dao.Casino_Old0 Ether0.000478026
0x7d6cb5e4e9a3e59a7417154beff877112ccf532fd88c1a930b214353846db24914 days 18 hrs ago0x58a17c12f9b470e2b3a8e8be8c10aaefb093e3b1  IN   Dao.Casino_Old0 Ether0.00052922
0x7c97fd2effc3214ca274ed327bd9657b9fe2c17773ed122de432f820f72bf5fc14 days 18 hrs ago0x1b84e6410640233715a968b92d9770b89546b28f  IN   Dao.Casino_Old0 Ether0.000183888
0x7cc6810ef5fc42eca008a36d8556a068998d775bcb6821e57f2cf06ba1434fbe14 days 18 hrs ago0x3536f1223b0de061c13a9ee1f0e956df71d02202  IN   Dao.Casino_Old0 Ether0.0004566
0x1363098e5894bdb0efed4b25bbcf3de1594bc0c5f152fb82ec51c4f75666141514 days 18 hrs ago0x3536f1223b0de061c13a9ee1f0e956df71d02202  IN   Dao.Casino_Old0 Ether0.00018125
0x443b48101a05795806f0395233412d4939cb5d042cc2a92fcce389d4cead89cb14 days 19 hrs ago0x3536f1223b0de061c13a9ee1f0e956df71d02202  IN   Dao.Casino_Old0 Ether0.0003625
0x4ed8dafc55a0c871b8b07cac34b409fef929f19295fe3276862fcb5e043cdc9723 days 10 hrs ago0x4d74f5dee0b51b22bdd9dc4bde4422156d29db2f  IN   Dao.Casino_Old0 Ether0.002283
0x99d5df6c1d1e01b4f8f3f46891c667e7598f6574eb64bfa9aa4ad9d257328de729 days 20 hrs ago0x15e55702e40f02985ce68374c7adaba26df982a2  IN   Dao.Casino_Old0 Ether0.000797706
0xa86ef7bc27175b3e87d877443abea4cce00f3f371fc2e49948bfdb70a7acea2729 days 20 hrs ago0x15e55702e40f02985ce68374c7adaba26df982a2  IN   Dao.Casino_Old0 Ether0.001112706
0xba7515d085bc92840a8d55466bb9ad5cccfb9df49c60a838cdfcb751de717b7a37 days 20 hrs ago0x0621fd691227792433e6961e48b81f468ed43366  IN   Dao.Casino_Old0 Ether0.00025375
0xaecb7deb94ba49718a17cc0267e7a6d1c3e3d18981814b66bb0e775fffbc887240 days 4 hrs ago0x22b84d5ffea8b801c0422afe752377a64aa738c2  IN   Dao.Casino_Old0 Ether0.003183
0x5e933eb67b405671c6f11126ad4d68e8f141be4b0537cc20b2b87ac14b789e0649 days 1 hr ago0x01691691cab628afdc090d29777ae1de4a2fcd2e  IN   Dao.Casino_Old0 Ether0.001271664
0xa599cfd5197fc04d052346b038af0ba766234e9cdb6df4dc2bc7b056b988703f50 days 21 hrs ago0x57719ecd91daffd46231cd68c97956c7a4649bdf  IN   Dao.Casino_Old0 Ether0.00053830689
0xeec33975bc179d87def3bc0e072489bf9b1bd91db20cef7e433a779feaa6ec7451 days 21 hrs ago0xfb534fe03504a9554b03467798fb2a313db95f56  IN   Dao.Casino_Old0 Ether0.0003405475
0x0aa02bf31c6ba469c79247eeb73908dbbc57155e3ecc2baa9c28cf2f28f8742e64 days 12 hrs ago0xee94f87415834df846ae1eaa445d6a89b9f4a671  IN   Dao.Casino_Old0 Ether0.000304651518
0x618428688e153be9b664ca7335c22569b0ce8339cbff112fbf14470796d20b4965 days 2 hrs ago0xe40f7d686f30f8e9cfa161c37c6ed684e3cd11f9  IN   Dao.Casino_Old0 Ether0.0003805
0x83437c5059d36cbc1a7000070f8c31621405446aa7e7137a4b62caa438ec026a69 days 15 hrs ago0xe868576f360f2884287ecb6351f15e9366dc0aad  IN   Dao.Casino_Old0 Ether0.00018125
0x6dfdaad788485f3543f2d5fd8c9f5a0f0fa2c06c6b94f65c6cd8fc5b7708163069 days 18 hrs ago0x2ab44f4a40819b74bb39a62be54862c65015347d  IN   Dao.Casino_Old0 Ether0.001557426
0x03009611fbfda4931e7caf2fcd85c7d9134cf256b5e3c87964f09c5046d4bd4870 days 22 hrs ago0x352495f611f84b05e02279f2604153448f91173a  IN   Dao.Casino_Old0 Ether0.000531804
0x8d3fa391572d79f1069508457ca84433de50c4a963feedeb69c9782c7121ce1373 days 8 hrs ago0xcc5cc4af144dc875118e138d38c429dceaf895ef  IN   Dao.Casino_Old0 Ether0.0003625
0xd7a48a548ad5c3ee6bf6367fb70030cbfcecaad0768a6733c8f3ace645f2d19676 days 18 hrs ago0xfb4c47e2d80bf8d9ba732f374cb7cb9e38757896  IN   Dao.Casino_Old0 Ether0.000341874
0x2c028f89038d5c6f7885f5aa499ad167923d3825d6e058f8667e5623c5b6918187 days 3 hrs ago0xb287a379e6caca6732e50b88d23c290aa990a892  IN   Dao.Casino_Old0.9131759 Ether0.0021528
0xe76615756c4fecda335562bf456b820d9432fdeb8076d0011fee66230e06020c116 days 10 hrs ago0x60a557cb890adea291e24eccbf9466992c64ed3b  IN   Dao.Casino_Old0 Ether0.0011493
0x0a70ac6665d64042aed9c37871cdc391f8458086f88d316fe49d42016aa44457116 days 15 hrs ago0xc51334b08d358b2ed23e9f9c1be26cf855d01e68  IN   Dao.Casino_Old0 Ether0.0011493
[ 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
0x68eb2daae0938c75849b741c75cfb026ac4fe6aa5336089f8492d739532850164837916344 days 15 hrs ago0xa36ae0f959046a18d109dc5b1fb8df655cf0aa810x725803315519de78d232265a8f1040f054e70b985 Ether
0xc1606bcd39bbd4807a50abe869f034430f7cd0cfd134742d15ab3539a7e287c84835579345 days 57 mins ago0xa36ae0f959046a18d109dc5b1fb8df655cf0aa810x725803315519de78d232265a8f1040f054e70b985 Ether
0xb5de824a6c6a04cb006b5fff741700452040b1a73f8ffa8421fa53904a4ae3184833081345 days 10 hrs ago0xa36ae0f959046a18d109dc5b1fb8df655cf0aa810x725803315519de78d232265a8f1040f054e70b985 Ether
0x86acb6ade756ab42eb9d0fd35e97dc1c6888ef83f6b08fe20bf1f81022f5187f4831494345 days 17 hrs ago0xa36ae0f959046a18d109dc5b1fb8df655cf0aa810x725803315519de78d232265a8f1040f054e70b985 Ether
0x0de5404bb7e6a11508ae238f2c6a2c82456346201f9108ae54a5c244e977ed994821751347 days 9 hrs ago0xa36ae0f959046a18d109dc5b1fb8df655cf0aa810x725803315519de78d232265a8f1040f054e70b985 Ether
0x2448cf788461ca73071e5a5ba09d6d7c0e01a454e65444a6baced22c7e7936a14800818350 days 22 hrs ago0xa36ae0f959046a18d109dc5b1fb8df655cf0aa810x725803315519de78d232265a8f1040f054e70b985 Ether
0xbb4bb15cb045925f74e9bc78bacbe07a989cb7aaf9a3cee22b5ae8424c82d1004796663351 days 15 hrs ago0xa36ae0f959046a18d109dc5b1fb8df655cf0aa810x725803315519de78d232265a8f1040f054e70b985 Ether
0xd43f03c4fbdd6709ef2d6861ea0687f7817ca3a127701a85083bcae7d0e780a54791190352 days 13 hrs ago0xa36ae0f959046a18d109dc5b1fb8df655cf0aa810x725803315519de78d232265a8f1040f054e70b985 Ether
0xa0d8b982d19839f565d0eb8c8075cbae5d610e04cbabe074156a8edca4278a714791185352 days 13 hrs ago0xa36ae0f959046a18d109dc5b1fb8df655cf0aa810x725803315519de78d232265a8f1040f054e70b985 Ether
0xe0225d978d5e572cea2210833ce5a670eeb09ef3596c79d5983e481b4dfe484c4790843352 days 14 hrs ago0xa36ae0f959046a18d109dc5b1fb8df655cf0aa810x725803315519de78d232265a8f1040f054e70b985 Ether
0x71174499fcdc47944306f6c76b620d5d5132f1925639490710c83fe5ce70078b4790053352 days 17 hrs ago0xa36ae0f959046a18d109dc5b1fb8df655cf0aa810x725803315519de78d232265a8f1040f054e70b985 Ether
0x690daf410b29e4715a4b9844ed64debf1510569fbac6982e8c8ff6403dd1accf4777234354 days 21 hrs ago0xa36ae0f959046a18d109dc5b1fb8df655cf0aa810x725803315519de78d232265a8f1040f054e70b985 Ether
0x4e3f41e0975c865c9820cbbe4ed49099369445a5755b6a331e137be26234ef944774083355 days 11 hrs ago0xa36ae0f959046a18d109dc5b1fb8df655cf0aa810x725803315519de78d232265a8f1040f054e70b985 Ether
0x858b2bd651fbf4327f5d038fb72bed6e2422512c69f76baa5dcba8daacec6ed84773846355 days 12 hrs ago0xa36ae0f959046a18d109dc5b1fb8df655cf0aa810x725803315519de78d232265a8f1040f054e70b985 Ether
0xf7c38754839bbf9dd742bafbe59f47955982f48f1e10c4dc0041fbf531ef02e04743589360 days 20 hrs ago0xa36ae0f959046a18d109dc5b1fb8df655cf0aa810x725803315519de78d232265a8f1040f054e70b985 Ether
0xee35dabb1663412a4194aaddfe65371133710f5f4880e7413d43cb534680994c4065064506 days 10 hrs ago0x725803315519de78d232265a8f1040f054e70b980x01dbb419d66be0d389fab88064493f1d698dc27a4 Ether
0x0074b7e6c32b5b99c456d36f95a75cdfcaf45355d0fa939ae5c686f2b769f6994052824509 days 1 hr ago0x725803315519de78d232265a8f1040f054e70b980x01dbb419d66be0d389fab88064493f1d698dc27a5 Ether
0x1024c6dc0d7c88024b35c18a7507aa83bfb9c19fc9b28b376bd24c2cd6bdc2094048090510 days 1 hr ago0x725803315519de78d232265a8f1040f054e70b980x01dbb419d66be0d389fab88064493f1d698dc27a0.5 Ether
0x8b9d708ba78e060f3cc725412ae447c6a5fd8519afecf91e3f7b009a644716254046707510 days 9 hrs ago0x725803315519de78d232265a8f1040f054e70b980x01dbb419d66be0d389fab88064493f1d698dc27a0.5 Ether
0xc4447bfa7adf170e38b0c2eb31786319daffcf32e37f9d07fb67e3a734d9aca54046537510 days 9 hrs ago0x725803315519de78d232265a8f1040f054e70b980x01dbb419d66be0d389fab88064493f1d698dc27a8 Ether
0x764a2d6681ff84393454d25dee62102147e0961f67b66393d87dedf17b812a974045793510 days 14 hrs ago0x725803315519de78d232265a8f1040f054e70b980x01dbb419d66be0d389fab88064493f1d698dc27a10.24 Ether
0x7ae4f275a7d986ae7013fa497e98394b809cfe6556588d4b0599477e5ab8b0634045653510 days 14 hrs ago0x725803315519de78d232265a8f1040f054e70b980x01dbb419d66be0d389fab88064493f1d698dc27a1.99 Ether
0x24c9129cad60ff743d97e1ad332163924a9e89f818d4d77390fed9994b6250ad4045510510 days 15 hrs ago0x725803315519de78d232265a8f1040f054e70b980x01dbb419d66be0d389fab88064493f1d698dc27a1.197 Ether
0xe0e1bf21aa21a9b0d3b0380d703b90a12c83ee98db3e5ad90ababe6b554bbff04045337510 days 16 hrs ago0x725803315519de78d232265a8f1040f054e70b980x01dbb419d66be0d389fab88064493f1d698dc27a0.4 Ether
0xd737fa468fb9a9e9201a1843132c74a1f126783bc3c5b362d1d7a456c80f874f4045187510 days 17 hrs ago0x725803315519de78d232265a8f1040f054e70b980x01dbb419d66be0d389fab88064493f1d698dc27a1 Ether
[ Download CSV Export  ] 
Warning: The Compiled Contract might be susceptible to ExpExponentCleanup (medium/high-severity), NestedArrayFunctionCallDecoder (medium-severity), ZeroFunctionSelector (very low-severity), DelegateCallReturnValue (low-severity), ECRecoverMalformedInput (medium-severity), SkipEmptyStringLiteral (low-severity) SolidityCompiler Bugs.

Contract Source Code Verified (Similar Match)
Note: Displaying Similar Match Verified Source Code At Contract 0xa50ee6fbcff43cd4150a1e1bec8e764da343e37d(Excluding Constructor Arguments if any)
Contract Name: DaoCasinoToken
Compiler Text: v0.4.11+commit.68ef5810
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.11;

// ----------------------------------------------------------------------------
// Dao.Casino Crowdsale Token Contract (Under Consideration)
//
// Enjoy. (c) BokkyPooBah / Bok Consulting Pty Ltd 2017
// The MIT Licence (Under Consideration).
// ----------------------------------------------------------------------------


// ----------------------------------------------------------------------------
// Safe maths, borrowed from OpenZeppelin
// ----------------------------------------------------------------------------
library SafeMath {

    // ------------------------------------------------------------------------
    // Add a number to another number, checking for overflows
    // ------------------------------------------------------------------------
    function add(uint a, uint b) internal returns (uint) {
        uint c = a + b;
        assert(c >= a && c >= b);
        return c;
    }

    // ------------------------------------------------------------------------
    // Subtract a number from another number, checking for underflows
    // ------------------------------------------------------------------------
    function sub(uint a, uint b) internal returns (uint) {
        assert(b <= a);
        return a - b;
    }
}


// ----------------------------------------------------------------------------
// Owned contract
// ----------------------------------------------------------------------------
contract Owned {
    address public owner;
    address public newOwner;
    event OwnershipTransferred(address indexed _from, address indexed _to);

    function Owned() {
        owner = msg.sender;
    }

    modifier onlyOwner {
        if (msg.sender != owner) throw;
        _;
    }

    function transferOwnership(address _newOwner) onlyOwner {
        newOwner = _newOwner;
    }
 
    function acceptOwnership() {
        if (msg.sender == newOwner) {
            OwnershipTransferred(owner, newOwner);
            owner = newOwner;
        }
    }
}


// ----------------------------------------------------------------------------
// ERC20 Token, with the addition of symbol, name and decimals
// https://github.com/ethereum/EIPs/issues/20
// ----------------------------------------------------------------------------
contract ERC20Token is Owned {
    using SafeMath for uint;

    // ------------------------------------------------------------------------
    // Total Supply
    // ------------------------------------------------------------------------
    uint256 _totalSupply = 0;

    // ------------------------------------------------------------------------
    // Balances for each account
    // ------------------------------------------------------------------------
    mapping(address => uint256) balances;

    // ------------------------------------------------------------------------
    // Owner of account approves the transfer of an amount to another account
    // ------------------------------------------------------------------------
    mapping(address => mapping (address => uint256)) allowed;

    // ------------------------------------------------------------------------
    // Get the total token supply
    // ------------------------------------------------------------------------
    function totalSupply() constant returns (uint256 totalSupply) {
        totalSupply = _totalSupply;
    }

    // ------------------------------------------------------------------------
    // Get the account balance of another account with address _owner
    // ------------------------------------------------------------------------
    function balanceOf(address _owner) constant returns (uint256 balance) {
        return balances[_owner];
    }

    // ------------------------------------------------------------------------
    // Transfer the balance from owner's account to another account
    // ------------------------------------------------------------------------
    function transfer(address _to, uint256 _amount) returns (bool success) {
        if (balances[msg.sender] >= _amount                // User has balance
            && _amount > 0                                 // Non-zero transfer
            && balances[_to] + _amount > balances[_to]     // Overflow check
        ) {
            balances[msg.sender] = balances[msg.sender].sub(_amount);
            balances[_to] = balances[_to].add(_amount);
            Transfer(msg.sender, _to, _amount);
            return true;
        } else {
            return false;
        }
    }

    // ------------------------------------------------------------------------
    // Allow _spender to withdraw from your account, multiple times, up to the
    // _value amount. If this function is called again it overwrites the
    // current allowance with _value.
    // ------------------------------------------------------------------------
    function approve(
        address _spender,
        uint256 _amount
    ) returns (bool success) {
        allowed[msg.sender][_spender] = _amount;
        Approval(msg.sender, _spender, _amount);
        return true;
    }

    // ------------------------------------------------------------------------
    // Spender of tokens transfer an amount of tokens from the token owner's
    // balance to the spender's account. The owner of the tokens must already
    // have approve(...)-d this transfer
    // ------------------------------------------------------------------------
    function transferFrom(
        address _from,
        address _to,
        uint256 _amount
    ) returns (bool success) {
        if (balances[_from] >= _amount                  // From a/c has balance
            && allowed[_from][msg.sender] >= _amount    // Transfer approved
            && _amount > 0                              // Non-zero transfer
            && balances[_to] + _amount > balances[_to]  // Overflow check
        ) {
            balances[_from] = balances[_from].sub(_amount);
            allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_amount);
            balances[_to] = balances[_to].add(_amount);
            Transfer(_from, _to, _amount);
            return true;
        } else {
            return false;
        }
    }

    // ------------------------------------------------------------------------
    // Returns the amount of tokens approved by the owner that can be
    // transferred to the spender's account
    // ------------------------------------------------------------------------
    function allowance(
        address _owner, 
        address _spender
    ) constant returns (uint256 remaining) {
        return allowed[_owner][_spender];
    }

    event Transfer(address indexed _from, address indexed _to, uint256 _value);
    event Approval(address indexed _owner, address indexed _spender,
        uint256 _value);
}


contract DaoCasinoToken is ERC20Token {

    // ------------------------------------------------------------------------
    // Token information
    // ------------------------------------------------------------------------
    string public constant symbol = "BET";
    string public constant name = "Dao.Casino";
    uint8 public constant decimals = 18;

    // Do not use `now` here
    uint256 public STARTDATE;
    uint256 public ENDDATE;

    // Cap USD 25mil @ 296.1470 ETH/USD
    uint256 public CAP;

    // Cannot have a constant address here - Solidity bug
    // https://github.com/ethereum/solidity/issues/2441
    address public multisig;

    function DaoCasinoToken(uint256 _start, uint256 _end, uint256 _cap, address _multisig) {
        STARTDATE = _start;
        ENDDATE   = _end;
        CAP       = _cap;
        multisig  = _multisig;
    }

    // > new Date("2017-06-29T13:00:00").getTime()/1000
    // 1498741200

    uint256 public totalEthers;

    // ------------------------------------------------------------------------
    // Tokens per ETH
    // Day  1    : 2,000 BET = 1 Ether
    // Days 2–14 : 1,800 BET = 1 Ether
    // Days 15–17: 1,700 BET = 1 Ether
    // Days 18–20: 1,600 BET = 1 Ether
    // Days 21–23: 1,500 BET = 1 Ether
    // Days 24–26: 1,400 BET = 1 Ether
    // Days 27–28: 1,300 BET = 1 Ether
    // ------------------------------------------------------------------------
    function buyPrice() constant returns (uint256) {
        return buyPriceAt(now);
    }

    function buyPriceAt(uint256 at) constant returns (uint256) {
        if (at < STARTDATE) {
            return 0;
        } else if (at < (STARTDATE + 1 days)) {
            return 2000;
        } else if (at < (STARTDATE + 15 days)) {
            return 1800;
        } else if (at < (STARTDATE + 18 days)) {
            return 1700;
        } else if (at < (STARTDATE + 21 days)) {
            return 1600;
        } else if (at < (STARTDATE + 24 days)) {
            return 1500;
        } else if (at < (STARTDATE + 27 days)) {
            return 1400;
        } else if (at <= ENDDATE) {
            return 1300;
        } else {
            return 0;
        }
    }


    // ------------------------------------------------------------------------
    // Buy tokens from the contract
    // ------------------------------------------------------------------------
    function () payable {
        proxyPayment(msg.sender);
    }


    // ------------------------------------------------------------------------
    // Exchanges can buy on behalf of participant
    // ------------------------------------------------------------------------
    function proxyPayment(address participant) payable {
        // No contributions before the start of the crowdsale
        require(now >= STARTDATE);
        // No contributions after the end of the crowdsale
        require(now <= ENDDATE);
        // No 0 contributions
        require(msg.value > 0);

        // Add ETH raised to total
        totalEthers = totalEthers.add(msg.value);
        // Cannot exceed cap
        require(totalEthers <= CAP);

        // What is the BET to ETH rate
        uint256 _buyPrice = buyPrice();

        // Calculate #BET - this is safe as _buyPrice is known
        // and msg.value is restricted to valid values
        uint tokens = msg.value * _buyPrice;

        // Check tokens > 0
        require(tokens > 0);
        // Compute tokens for foundation 30%
        // Number of tokens restricted so maths is safe
        uint multisigTokens = tokens * 3 / 7;

        // Add to total supply
        _totalSupply = _totalSupply.add(tokens);
        _totalSupply = _totalSupply.add(multisigTokens);

        // Add to balances
        balances[participant] = balances[participant].add(tokens);
        balances[multisig] = balances[multisig].add(multisigTokens);

        // Log events
        TokensBought(participant, msg.value, totalEthers, tokens,
            multisigTokens, _totalSupply, _buyPrice);
        Transfer(0x0, participant, tokens);
        Transfer(0x0, multisig, multisigTokens);

        // Move the funds to a safe wallet
        multisig.transfer(msg.value);
    }
    event TokensBought(address indexed buyer, uint256 ethers, 
        uint256 newEtherBalance, uint256 tokens, uint256 multisigTokens, 
        uint256 newTotalSupply, uint256 buyPrice);


    // ------------------------------------------------------------------------
    // Owner to add precommitment funding token balance before the crowdsale
    // commences
    // ------------------------------------------------------------------------
    function addPrecommitment(address participant, uint balance) onlyOwner {
        require(now < STARTDATE);
        require(balance > 0);
        balances[participant] = balances[participant].add(balance);
        _totalSupply = _totalSupply.add(balance);
        Transfer(0x0, participant, balance);
    }


    // ------------------------------------------------------------------------
    // Transfer the balance from owner's account to another account, with a
    // check that the crowdsale is finalised
    // ------------------------------------------------------------------------
    function transfer(address _to, uint _amount) returns (bool success) {
        // Cannot transfer before crowdsale ends or cap reached
        require(now > ENDDATE || totalEthers == CAP);
        // Standard transfer
        return super.transfer(_to, _amount);
    }


    // ------------------------------------------------------------------------
    // Spender of tokens transfer an amount of tokens from the token owner's
    // balance to another account, with a check that the crowdsale is
    // finalised
    // ------------------------------------------------------------------------
    function transferFrom(address _from, address _to, uint _amount) 
        returns (bool success)
    {
        // Cannot transfer before crowdsale ends or cap reached
        require(now > ENDDATE || totalEthers == CAP);
        // Standard transferFrom
        return super.transferFrom(_from, _to, _amount);
    }


    // ------------------------------------------------------------------------
    // Owner can transfer out any accidentally sent ERC20 tokens
    // ------------------------------------------------------------------------
    function transferAnyERC20Token(address tokenAddress, uint amount)
      onlyOwner returns (bool success) 
    {
        return ERC20Token(tokenAddress).transfer(owner, amount);
    }
}

    Contract ABI  
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_amount","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalEthers","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"totalSupply","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"ENDDATE","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"participant","type":"address"},{"name":"balance","type":"uint256"}],"name":"addPrecommitment","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"at","type":"uint256"}],"name":"buyPriceAt","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"multisig","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"acceptOwnership","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"STARTDATE","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"buyPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"newOwner","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"tokenAddress","type":"address"},{"name":"amount","type":"uint256"}],"name":"transferAnyERC20Token","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"CAP","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"participant","type":"address"}],"name":"proxyPayment","outputs":[],"payable":true,"type":"function"},{"inputs":[{"name":"_start","type":"uint256"},{"name":"_end","type":"uint256"},{"name":"_cap","type":"uint256"},{"name":"_multisig","type":"address"}],"payable":false,"type":"constructor"},{"payable":true,"type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"buyer","type":"address"},{"indexed":false,"name":"ethers","type":"uint256"},{"indexed":false,"name":"newEtherBalance","type":"uint256"},{"indexed":false,"name":"tokens","type":"uint256"},{"indexed":false,"name":"multisigTokens","type":"uint256"},{"indexed":false,"name":"newTotalSupply","type":"uint256"},{"indexed":false,"name":"buyPrice","type":"uint256"}],"name":"TokensBought","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_from","type":"address"},{"indexed":true,"name":"_to","type":"address"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_owner","type":"address"},{"indexed":true,"name":"_spender","type":"address"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_from","type":"address"},{"indexed":true,"name":"_to","type":"address"}],"name":"OwnershipTransferred","type":"event"}]

  Contract Creation Code Switch To Opcodes View
60606040526000600255341561001157fe5b60405160808061108383398101604090815281516020830151918301516060909301519092905b5b60008054600160a060020a03191633600160a060020a03161790555b60058490556006839055600782905560088054600160a060020a031916600160a060020a0383161790555b505050505b610fef806100946000396000f300606060405236156101305763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610142578063095ea7b3146101d25780630a4625af1461020557806318160ddd146102275780631db9ec2c1461024957806323b872dd1461026b578063313ce567146102a45780633818d907146102ca578063383e3a5d146102eb5780634783c35b1461031057806370a082311461033c57806379ba50971461036a5780637e4d5ea11461037c5780638620410b1461039e5780638da5cb5b146103c057806395d89b41146103ec578063a9059cbb1461047c578063d4ee1d90146104af578063dc39d06d146104db578063dd62ed3e1461050e578063ec81b48314610542578063f2fde38b14610564578063f48c305414610582575b6101405b61013d33610598565b5b565b005b341561014a57fe5b6101526107c4565b604080516020808252835181830152835191928392908301918501908083838215610198575b80518252602083111561019857601f199092019160209182019101610178565b505050905090810190601f1680156101c45780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101da57fe5b6101f1600160a060020a03600435166024356107fb565b604080519115158252519081900360200190f35b341561020d57fe5b610215610866565b60408051918252519081900360200190f35b341561022f57fe5b61021561086c565b60408051918252519081900360200190f35b341561025157fe5b610215610873565b60408051918252519081900360200190f35b341561027357fe5b6101f1600160a060020a0360043581169060243516604435610879565b604080519115158252519081900360200190f35b34156102ac57fe5b6102b46108af565b6040805160ff9092168252519081900360200190f35b34156102d257fe5b610140600160a060020a03600435166024356108b4565b005b34156102f357fe5b61021560043561097a565b60408051918252519081900360200190f35b341561031857fe5b610320610a41565b60408051600160a060020a039092168252519081900360200190f35b341561034457fe5b610215600160a060020a0360043516610a50565b60408051918252519081900360200190f35b341561037257fe5b610140610a6f565b005b341561038457fe5b610215610af6565b60408051918252519081900360200190f35b34156103a657fe5b610215610afc565b60408051918252519081900360200190f35b34156103c857fe5b610320610b0d565b60408051600160a060020a039092168252519081900360200190f35b34156103f457fe5b610152610b1c565b604080516020808252835181830152835191928392908301918501908083838215610198575b80518252602083111561019857601f199092019160209182019101610178565b505050905090810190601f1680156101c45780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561048457fe5b6101f1600160a060020a0360043516602435610b53565b604080519115158252519081900360200190f35b34156104b757fe5b610320610b87565b60408051600160a060020a039092168252519081900360200190f35b34156104e357fe5b6101f1600160a060020a0360043516602435610b96565b604080519115158252519081900360200190f35b341561051657fe5b610215600160a060020a0360043581169060243516610c45565b60408051918252519081900360200190f35b341561054a57fe5b610215610c72565b60408051918252519081900360200190f35b341561056c57fe5b610140600160a060020a0360043516610c78565b005b610140600160a060020a0360043516610598565b005b60006000600060055442101515156105b05760006000fd5b6006544211156105c05760006000fd5b600034116105ce5760006000fd5b6009546105e1903463ffffffff610cc116565b60098190556007549011156105f65760006000fd5b6105fe610afc565b92503483029150600082116106135760006000fd5b6007600383025b04905061063282600254610cc190919063ffffffff16565b6002819055610647908263ffffffff610cc116565b600255600160a060020a038416600090815260036020526040902054610673908363ffffffff610cc116565b600160a060020a0380861660009081526003602052604080822093909355600854909116815220546106ab908263ffffffff610cc116565b600854600160a060020a039081166000908152600360209081526040918290209390935560095460025482513481529485019190915283820186905260608401859052608084015260a0830186905251908616917f6bf42ea559224a77e2bc8d284b9f2eb6ed6b198a7ef7b742b41562c6a20b9adc919081900360c00190a2604080518381529051600160a060020a03861691600091600080516020610fa48339815191529181900360200190a3600854604080518381529051600160a060020a0390921691600091600080516020610fa4833981519152919081900360200190a3600854604051600160a060020a03909116903480156108fc02916000818181858888f1935050505015156107bd57fe5b5b50505050565b60408051808201909152600a81527f44616f2e436173696e6f00000000000000000000000000000000000000000000602082015281565b600160a060020a03338116600081815260046020908152604080832094871680845294825280832086905580518681529051929493927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060015b92915050565b60095481565b6002545b90565b60065481565b600060065442118061088e5750600754600954145b151561089a5760006000fd5b6108a5848484610ce9565b90505b9392505050565b601281565b60005433600160a060020a039081169116146108d05760006000fd5b60055442106108df5760006000fd5b600081116108ed5760006000fd5b600160a060020a038216600090815260036020526040902054610916908263ffffffff610cc116565b600160a060020a038316600090815260036020526040902055600254610942908263ffffffff610cc116565b600255604080518281529051600160a060020a03841691600091600080516020610fa48339815191529181900360200190a35b5b5050565b600060055482101561098e57506000610a34565b60055462015180018210156109a657506107d0610a34565b6005546213c680018210156109be5750610708610a34565b6005546217bb00018210156109d657506106a4610a34565b600554621baf80018210156109ee5750610640610a34565b600554621fa40001821015610a0657506105dc610a34565b6005546223988001821015610a1e5750610578610a34565b6006548211610a305750610514610a34565b5060005b5b5b5b5b5b5b5b5b919050565b600854600160a060020a031681565b600160a060020a0381166000908152600360205260409020545b919050565b60015433600160a060020a039081169116141561013d5760015460008054604051600160a060020a0393841693909116917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36001546000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039092169190911790555b5b565b60055481565b6000610b074261097a565b90505b90565b600054600160a060020a031681565b60408051808201909152600381527f4245540000000000000000000000000000000000000000000000000000000000602082015281565b6000600654421180610b685750600754600954145b1515610b745760006000fd5b610b7e8383610e7e565b90505b92915050565b600154600160a060020a031681565b6000805433600160a060020a03908116911614610bb35760006000fd5b6000805460408051602090810184905281517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0393841660048201526024810187905291519287169363a9059cbb936044808501949192918390030190829087803b1515610c2657fe5b6102c65a03f11515610c3457fe5b5050604051519150505b5b92915050565b600160a060020a038083166000908152600460209081526040808320938516835292905220545b92915050565b60075481565b60005433600160a060020a03908116911614610c945760006000fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b50565b6000828201838110801590610cd65750828110155b1515610cde57fe5b8091505b5092915050565b600160a060020a038316600090815260036020526040812054829010801590610d395750600160a060020a0380851660009081526004602090815260408083203390941683529290522054829010155b8015610d455750600082115b8015610d6a5750600160a060020a038316600090815260036020526040902054828101115b15610e6e57600160a060020a038416600090815260036020526040902054610d98908363ffffffff610f8c16565b600160a060020a0380861660009081526003602090815260408083209490945560048152838220339093168252919091522054610ddb908363ffffffff610f8c16565b600160a060020a0380861660009081526004602090815260408083203385168452825280832094909455918616815260039091522054610e21908363ffffffff610cc116565b600160a060020a038085166000818152600360209081526040918290209490945580518681529051919392881692600080516020610fa483398151915292918290030190a35060016108a8565b5060006108a8565b5b9392505050565b600160a060020a033316600090815260036020526040812054829010801590610ea75750600082115b8015610ecc5750600160a060020a038316600090815260036020526040902054828101115b15610f7d57600160a060020a033316600090815260036020526040902054610efa908363ffffffff610f8c16565b600160a060020a033381166000908152600360205260408082209390935590851681522054610f2f908363ffffffff610cc116565b600160a060020a03808516600081815260036020908152604091829020949094558051868152905191933390931692600080516020610fa483398151915292918290030190a3506001610860565b506000610860565b5b92915050565b600082821115610f9857fe5b508082035b929150505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a72305820834f725cfab653159f9ad84fcd59c9a3d04dedf2c263a2d7cf0dfdd3b3ba172100290000000000000000000000000000000000000000000000000000000059542230000000000000000000000000000000000000000000000000000000005954304000000000000000000000000000000000000000000000000073a5f2362c0a5000000000000000000000000000039704a4ecf78b0e1eef8f181a7838a0c68876ca

   Swarm Source:
bzzr://834f725cfab653159f9ad84fcd59c9a3d04dedf2c263a2d7cf0dfdd3b3ba1721

 

View All
Block Age transaction Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.