Sponsored Link:   BubbleTone - Blockchain in Telecom, directly connecting mobile operators and users globally, launches its unique ICO!
Contract Overview | DailycoinCrowdsale
ETH Balance: 0 Ether
ETH USD Value: $0
No Of Transactions: 67 txns
  Latest 25 txns from a total Of 67 transactions View All

TxHash Age From To Value [TxFee]
0x220fe5ddc1facc3589164c34cd2b857ce3f1636f1514b4e3c02e7669c6cad90086 days 23 hrs ago0x8e50b7cc390a3eadcffbb2880f02ff66d7f648e7  IN   DailycoinCrowdsale0.55 Ether0.000873751
0x5fe21a54570b4711780a0d1dc56dca140762073209328f81ef0f4378df2edbc087 days 13 hrs ago0x8e50b7cc390a3eadcffbb2880f02ff66d7f648e7  IN   DailycoinCrowdsale0.55 Ether0.000873751
0x2a60211539846b0ffb61d80e1355d990cdfe1e7d23deabb4114d908ad44a7d9487 days 13 hrs ago0x8e50b7cc390a3eadcffbb2880f02ff66d7f648e7  IN   DailycoinCrowdsale0.55 Ether0.000873751
0x4fe19c05d0f9a222179581de0566b170315c4ab756a05d2852726963f37c076b87 days 16 hrs ago0x17cb4341ef4d9132f9c86b335f6dd6010f6aea9a  IN   DailycoinCrowdsale0 Ether0.003846987
0xce865cdbcb60c60ac79c06dfaa4de4ecf8980151e665470f7980ed257013606387 days 16 hrs ago0xc753460a9cd5561723c18344c3ab3d9631ec5daa  IN   DailycoinCrowdsale0.381 Ether0.002705918
0x57e1efc71b2abd547fc546173c7d3d933e2585a4b321459a7dfbad59cb74daab87 days 18 hrs ago0x8e50b7cc390a3eadcffbb2880f02ff66d7f648e7  IN   DailycoinCrowdsale2.1 Ether0.002090918
0xbf360447a563616797090a1b3726c91aff440a829c7ace332855d9dd176ac02788 days 1 hr ago0x726945b620c1f8f3aec9e69d9e260952329bed05  IN   DailycoinCrowdsale0.774294082 Ether0.002705918
0xdc664dbb958d8c802565dbc84be97d673d76e7479f649fb9faccdefec84a38df88 days 1 hr ago0x475184b0018959da3805fcf029a4d44c9bdbfadc  IN   DailycoinCrowdsale0.01 Ether0.002090918
0x0b0cdba45802f623743daf03052bccf63c2615ec0691be56b55caf3646ed16a788 days 1 hr ago0x1252509c9d61b9eb0e152b4c938541dac846ca53  IN   DailycoinCrowdsale0.1 Ether0.002705918
0x04cba265fedb5e171966efcb4a0a4226c8997f394f65c164c5020340093c86ca88 days 1 hr ago0x1252509c9d61b9eb0e152b4c938541dac846ca53  IN   DailycoinCrowdsale0.1 Ether0.002444543
0xa28e78b95f98ea29f4e09694f670ee8fb095f41ba3216d0293d3e20923bea1be90 days 1 hr ago0x475184b0018959da3805fcf029a4d44c9bdbfadc  IN   DailycoinCrowdsale1.714971142 Ether0.002090918
0x0734273b5afe19961ac7bfd59f5d78ad88d87728104df6565053dad7570c1edf90 days 1 hr ago0x475184b0018959da3805fcf029a4d44c9bdbfadc  IN   DailycoinCrowdsale0.01 Ether0.002705918
0x2f0a6445c60e40112778235033b165fc61787b785cedfbf2c8b384d4447bd30a91 days 2 hrs ago0x9caf34d20a8413d9f8104b56acdbcfdfe85a086a  IN   DailycoinCrowdsale0.2 Ether0.000074666171
0x81ad6b374da4b132954b3a9b4b59d9f6821699a7865433b4b71f9eec5a2dfa8691 days 3 hrs ago0x8e50b7cc390a3eadcffbb2880f02ff66d7f648e7  IN   DailycoinCrowdsale0.49 Ether0.002090918
0xb213285fb1865d213fc13c29c8030d7261d81e2fe25387fe2cf62fc344e4d20a91 days 5 hrs ago0x9caf34d20a8413d9f8104b56acdbcfdfe85a086a  IN   DailycoinCrowdsale0.1 Ether0.000116919482
0x658d4da6cc3c404e8d384812b0ec5efabb6426b8d6f291722cadbf26bc01a4e792 days 11 hrs ago0x8e50b7cc390a3eadcffbb2880f02ff66d7f648e7  IN   DailycoinCrowdsale0.5 Ether0.002090918
0x7df9115688c160ddfd893eb86d529447c3a2b85ad781f75725b2d1082916f49593 days 39 mins ago0x232b3e2b52be1639fa8943cf2d5111b4be172d88  IN   DailycoinCrowdsale0.02 Ether0.002771916
0x3a7d702dc0970aaefb10cb40b583a085917c1daaf791fac7aaa1bddcff62a2f594 days 19 hrs ago0xe6e290a5b2f41a5fbbdca51d8b97220083e5e1b7  IN   DailycoinCrowdsale0.14 Ether0.003365898
0xb24cec2cbdf8d84b60159ce3234e69ffd66982fd2d6183f8e4b2f8ebcb5255f496 days 42 mins ago0x8e50b7cc390a3eadcffbb2880f02ff66d7f648e7  IN   DailycoinCrowdsale0.1 Ether0.002705918
0x2a34bf893999b8c96e24b8940959757d1cb6ecc1161e00ed54682a81ce0590fd96 days 4 hrs ago0x8e50b7cc390a3eadcffbb2880f02ff66d7f648e7  IN   DailycoinCrowdsale0.1 Ether0.001189
0xb3e510ddef71b1a04f65f9cc1c5630ff3ef641fc8a75f82f992a05158b38cd5896 days 11 hrs ago0x8e50b7cc390a3eadcffbb2880f02ff66d7f648e7  IN   DailycoinCrowdsale0.1 Ether0.001637376
0xf34ebbf9e9477c347f15eb4e33574f3cc1496c6d131544992218bf638b3d44f796 days 11 hrs ago0x8e50b7cc390a3eadcffbb2880f02ff66d7f648e7  IN   DailycoinCrowdsale0.1 Ether0.001637376
0x20492f1972f5ae41469b7c3e51071db33a601020a16f07997cb1763058d4b93996 days 11 hrs ago0x8e50b7cc390a3eadcffbb2880f02ff66d7f648e7  IN   DailycoinCrowdsale0.12 Ether0.001189
0xef52ef9ea8d255b620e4200dd6e7096faf3539dd4016fe63898ca3b34dfca2ff96 days 12 hrs ago0x8e50b7cc390a3eadcffbb2880f02ff66d7f648e7  IN   DailycoinCrowdsale0.12 Ether0.0008651
0xb1bd1b6ec5b89e73b1e939752e0785f4839ca945ce66aca7b93d29a2c2e27f5d96 days 12 hrs ago0x8e50b7cc390a3eadcffbb2880f02ff66d7f648e7  IN   DailycoinCrowdsale0.01 Ether0.0008651
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
  Latest 1 Internal Transaction

ParentTxHash Block Age From To Value
0x4fe19c05d0f9a222179581de0566b170315c4ab756a05d2852726963f37c076b497013587 days 16 hrs ago0xb2069ca2122e652c0f6ed4d408c915bc103e24b80x17cb4341ef4d9132f9c86b335f6dd6010f6aea9a55.330586324 Ether
[ Download CSV Export  ] 
Warning: The compiled contract might be susceptible to ZeroFunctionSelector (very low-severity) Solidity compiler bugs.

Contract Source Code Verified (Exact match)
Contract Name: DailycoinCrowdsale
Compiler Version: v0.4.16+commit.d7661dd9
Optimization Enabled: No
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts
pragma solidity ^0.4.16;

interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) public; }

contract DailyCoinToken {
    // Public variables of the token
    string public name;
    string public symbol;
    uint8 public decimals = 8;
    // 18 decimals is the strongly suggested default, avoid changing it
    uint256 public totalSupply;

    // This creates an array with all balances
    mapping (address => uint256) public balanceOf;
    mapping (address => mapping (address => uint256)) public allowance;

    // This generates a public event on the blockchain that will notify clients
    event Transfer(address indexed from, address indexed to, uint256 value);

    // This notifies clients about the amount burnt
    event Burn(address indexed from, uint256 value);

    /**
     * Constrctor function
     *
     * Initializes contract with initial supply tokens to the creator of the contract
     */
    function DailyCoinToken(
    ) public {
        totalSupply = 300000000 * 10 ** uint256(decimals);  // Update total supply with the decimal amount
        balanceOf[msg.sender] = totalSupply;                // Give the creator all initial tokens
        name = "Daily Coin";                                   // Set the name for display purposes
        symbol = "DLC";                               // Set the symbol for display purposes
    }

    /**
     * Internal transfer, only can be called by this contract
     */
    function _transfer(address _from, address _to, uint _value) internal {
        // Prevent transfer to 0x0 address. Use burn() instead
        require(_to != 0x0);
        // Check if the sender has enough
        require(balanceOf[_from] >= _value);
        // Check for overflows
        require(balanceOf[_to] + _value > balanceOf[_to]);
        // Save this for an assertion in the future
        uint previousBalances = balanceOf[_from] + balanceOf[_to];
        // Subtract from the sender
        balanceOf[_from] -= _value;
        // Add the same to the recipient
        balanceOf[_to] += _value;
        Transfer(_from, _to, _value);
        // Asserts are used to use static analysis to find bugs in your code. They should never fail
        assert(balanceOf[_from] + balanceOf[_to] == previousBalances);
    }

    /**
     * Transfer tokens
     *
     * Send `_value` tokens to `_to` from your account
     *
     * @param _to The address of the recipient
     * @param _value the amount to send
     */
    function transfer(address _to, uint256 _value) public {
        _transfer(msg.sender, _to, _value);
    }

    /**
     * Transfer tokens from other address
     *
     * Send `_value` tokens to `_to` in behalf of `_from`
     *
     * @param _from The address of the sender
     * @param _to The address of the recipient
     * @param _value the amount to send
     */
    function transferFrom(address _from, address _to, uint256 _value) public returns (bool success) {
        require(_value <= allowance[_from][msg.sender]);     // Check allowance
        allowance[_from][msg.sender] -= _value;
        _transfer(_from, _to, _value);
        return true;
    }

    /**
     * Set allowance for other address
     *
     * Allows `_spender` to spend no more than `_value` tokens in your behalf
     *
     * @param _spender The address authorized to spend
     * @param _value the max amount they can spend
     */
    function approve(address _spender, uint256 _value) public
        returns (bool success) {
        allowance[msg.sender][_spender] = _value;
        return true;
    }

    /**
     * Set allowance for other address and notify
     *
     * Allows `_spender` to spend no more than `_value` tokens in your behalf, and then ping the contract about it
     *
     * @param _spender The address authorized to spend
     * @param _value the max amount they can spend
     * @param _extraData some extra information to send to the approved contract
     */
    function approveAndCall(address _spender, uint256 _value, bytes _extraData)
        public
        returns (bool success) {
        tokenRecipient spender = tokenRecipient(_spender);
        if (approve(_spender, _value)) {
            spender.receiveApproval(msg.sender, _value, this, _extraData);
            return true;
        }
    }

    /**
     * Destroy tokens
     *
     * Remove `_value` tokens from the system irreversibly
     *
     * @param _value the amount of money to burn
     */
    function burn(uint256 _value) public returns (bool success) {
        require(balanceOf[msg.sender] >= _value);   // Check if the sender has enough
        balanceOf[msg.sender] -= _value;            // Subtract from the sender
        totalSupply -= _value;                      // Updates totalSupply
        Burn(msg.sender, _value);
        return true;
    }

    /**
     * Destroy tokens from other account
     *
     * Remove `_value` tokens from the system irreversibly on behalf of `_from`.
     *
     * @param _from the address of the sender
     * @param _value the amount of money to burn
     */
    function burnFrom(address _from, uint256 _value) public returns (bool success) {
        require(balanceOf[_from] >= _value);                // Check if the targeted balance is enough
        require(_value <= allowance[_from][msg.sender]);    // Check allowance
        balanceOf[_from] -= _value;                         // Subtract from the targeted balance
        allowance[_from][msg.sender] -= _value;             // Subtract from the sender's allowance
        totalSupply -= _value;                              // Update totalSupply
        Burn(_from, _value);
        return true;
    }
}

///////////////////////////CROWDSALE///////////////////////////////
contract DailycoinCrowdsale {
    uint256 public amountRaised = 0;
	uint256 public tokensSold = 0;
    uint256 public totalToSale = 150 * (10**6) * (10**8);
	bool crowdsaleClosed = false;
	
    uint public deadline;
    address public beneficiary;
    DailyCoinToken public tokenReward;

    event SaleEnded(address recipient, uint256 totalAmountRaised);
    event FundTransfer(address backer, uint256 amount, uint256 numOfTokens);

    /**
     * Constrctor function
     *
     * Setup the owner
     */
    function DailycoinCrowdsale() public {
        beneficiary = 0x17Cb4341eF4d9132f9c86b335f6Dd6010F6AeA9a;
        tokenReward = DailyCoinToken(0xaA33983Acfc48bE1D76e0f8Fe377FFe956ad84AD);
        deadline = 1512997200 + 45 days; // start on 2017-Dec-11 8.00PM, last 45 days
    }

    /**
     * Fallback function
     *
     * The function without name is the default function that is called whenever anyone sends funds to a contract
     */
    function () payable public {
		require(!crowdsaleClosed);
        uint256 amount = msg.value;
		uint256 numOfTokens = getNumTokens(amount);
        amountRaised += amount;
		tokensSold += numOfTokens;
        tokenReward.transfer(msg.sender, numOfTokens);
        FundTransfer(msg.sender, amount, numOfTokens);
    }
	
	function getNumTokens(uint256 _value) internal returns (uint256 numTokens) {
		uint256 multiple = 5000;
        if (_value >= 10 * 10**18) {
            if (now <= deadline - 35 days) { // first 10 days
				multiple = multiple * 130 / 100;
			} else if (now <= deadline - 20 days) { // next 15 days
				multiple = multiple * 120 / 100;
			} else { // 20 last days
				multiple = multiple * 115 / 100;
			}
        } else {
			if (now <= deadline - 35 days) { // first 10 days
				multiple = multiple * 120 / 100;
			} else if (now <= deadline - 20 days) {  // next 15 days
				multiple = multiple * 110 / 100;
			} else { // 20 last days
				multiple = multiple * 105 / 100;
			}
		}
		return multiple * 10**8 * _value / 10**18;
	}

    modifier afterDeadline() { if (now >= deadline) _; }

    /**
     * Withdraw the funds
     *
     * Checks to see if goal or time limit has been reached, and if so, give raised value to beneficiary and burn left tokens in crowdsale.
     */
    function endFunding() afterDeadline public {
		require(beneficiary == msg.sender);
		require(!crowdsaleClosed);
		if (beneficiary.send(amountRaised)) {
			if (totalToSale > tokensSold) {
				tokenReward.burn(totalToSale - tokensSold);
			}
			crowdsaleClosed = true;
			SaleEnded(beneficiary, amountRaised);
		}
    }
	
	function withdraw(uint256 amount) afterDeadline public {
		require(beneficiary == msg.sender);
		amount = amount * 1 ether;
		beneficiary.transfer(amount);
    }
}

    Contract ABI  
[{"constant":false,"inputs":[],"name":"endFunding","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"deadline","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"beneficiary","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"tokensSold","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"tokenReward","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"amountRaised","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalToSale","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"recipient","type":"address"},{"indexed":false,"name":"totalAmountRaised","type":"uint256"}],"name":"SaleEnded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"backer","type":"address"},{"indexed":false,"name":"amount","type":"uint256"},{"indexed":false,"name":"numOfTokens","type":"uint256"}],"name":"FundTransfer","type":"event"}]

  Contract Creation Code Switch To Opcodes View
606060405260008055600060015566354a6ba7a180006002556000600360006101000a81548160ff021916908315150217905550341561003e57600080fd5b5b7317cb4341ef4d9132f9c86b335f6dd6010f6aea9a600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073aa33983acfc48be1d76e0f8fe377ffe956ad84ad600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550635a69d4d06004819055505b5b61087c806101056000396000f3006060604052361561008c576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680631c8eac0f1461022957806329dcb0cf1461023e5780632e1a7d4d1461026757806338af3eed1461028a578063518ab2a8146102df5780636e66f6e9146103085780637b3e5e7b1461035d578063b503fcf314610386575b5b600080600360009054906101000a900460ff161515156100ac57600080fd5b3491506100b8826103af565b905081600080828254019250508190555080600160008282540192505081905550600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b151561019d57600080fd5b6102c65a03f115156101ae57600080fd5b5050507f4868204ba256324465262345d316654988b849a14e86d2216ef1e09563841991338383604051808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828152602001935050505060405180910390a15b5050005b341561023457600080fd5b61023c6104b7565b005b341561024957600080fd5b610251610710565b6040518082815260200191505060405180910390f35b341561027257600080fd5b6102886004808035906020019091905050610716565b005b341561029557600080fd5b61029d6107f2565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156102ea57600080fd5b6102f2610818565b6040518082815260200191505060405180910390f35b341561031357600080fd5b61031b61081e565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561036857600080fd5b610370610844565b6040518082815260200191505060405180910390f35b341561039157600080fd5b61039961084a565b6040518082815260200191505060405180910390f35b6000806113889050678ac7230489e800008310151561042f57622e248060045403421115156103ef576064608282028115156103e757fe5b04905061042a565b621a5e0060045403421115156104165760646078820281151561040e57fe5b049050610429565b60646073820281151561042557fe5b0490505b5b610492565b622e248060045403421115156104565760646078820281151561044e57fe5b049050610491565b621a5e00600454034211151561047d576064606e820281151561047557fe5b049050610490565b60646069820281151561048c57fe5b0490505b5b5b670de0b6b3a7640000836305f5e1008302028115156104ad57fe5b0491505b50919050565b6004544210151561070d573373ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614151561051e57600080fd5b600360009054906101000a900460ff1615151561053a57600080fd5b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc6000549081150290604051600060405180830381858888f193505050501561070b57600154600254111561066057600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342966c68600154600254036000604051602001526040518263ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040180828152602001915050602060405180830381600087803b151561064357600080fd5b6102c65a03f1151561065457600080fd5b50505060405180519050505b6001600360006101000a81548160ff0219169083151502179055507f349f939aaa1895cee67485b264474f0d2a1aac01083917b8ea9f96e4036cbb27600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600054604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a15b5b5b5b565b60045481565b600454421015156107ee573373ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614151561077d57600080fd5b670de0b6b3a764000081029050600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015156107ec57600080fd5b5b5b5b50565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60015481565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60005481565b600254815600a165627a7a72305820e439710a16b4f923f31f5c3c0b1fbd1f674df0703946be967a5576fec513f77d0029

   Swarm Source:
bzzr://e439710a16b4f923f31f5c3c0b1fbd1f674df0703946be967a5576fec513f77d

 

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.