Sponsored Link:   Color - Revolutionizing the Dapp Ecosystem, Bounty & Airdrop, Get 240,000 COL NOW!
Contract Overview
Balance: 0 Ether
Ether Value: $0
Transactions: 8 txns
Token Contract: FOMO Coin (FOMO)
 Latest 8 txns

TxHash Age From To Value [TxFee]
0x12dc755f82f579e7d214a0cdfaf6dc1df67dde929b1667fcd397635b4565b9a628 days 10 hrs ago0x153685a03c2025b6825ae164e2ff5681ee487667  IN   0x1f1fc3a8459219ef935ff14c5edffd0921d478e70 Ether0.00011089
0x2883f63f058af63df1ffb69bdea9a2bb2736574fed955f601be683684732105992 days 12 hrs ago0x12d59bc52ee21f6905f3cbe2ce88b9010a40b0bd  IN   0x1f1fc3a8459219ef935ff14c5edffd0921d478e70.001 Ether0.00016521
0xa4e721a525af238a82032b0fa26f3ef4935ab0df9b5868643d8973f32e61f10093 days 14 hrs ago0x1d01ea2a2a23538e0cdbe52ef34df00ddcf34e59  IN   0x1f1fc3a8459219ef935ff14c5edffd0921d478e70 Ether0.000021
0xc5f4c0c35081e35930c0bb35441267a3a79107c640f002d0e53a303eab5fcc6d94 days 3 hrs ago0x6162cb686f862fd1b7756fe9967edb7daf488378  IN   0x1f1fc3a8459219ef935ff14c5edffd0921d478e70.001 Ether0.00005507
0xabb554d217fc7529ce9063afcbf4a87658270b3c3a8697e5020139181c88cbca94 days 6 hrs ago0x8760d59d64fc8082d2788f1e17e844f4e47230fe  IN   0x1f1fc3a8459219ef935ff14c5edffd0921d478e70.001 Ether0.00084674
0xd6e8e26ddc4b429df842cfb557d4b6de1e7493412d9257094d2b4fb3cda45ac594 days 14 hrs ago0xde34f8ae65bd67d256f18e19c53a4b7275fe40eb  IN   0x1f1fc3a8459219ef935ff14c5edffd0921d478e70.003 Ether0.00164287
0xa6000a439513d258047d02b92af33b5284988ffe43ea00c1649387b04a150bb094 days 14 hrs ago0xde34f8ae65bd67d256f18e19c53a4b7275fe40eb  IN   0x1f1fc3a8459219ef935ff14c5edffd0921d478e70.001 Ether0.00225787
0x9372cbf238e177dd4d326c28017a0ec017805f630fc34bb99ee29a2b6631e65294 days 14 hrs ago0xdc95b2a262a3f2ce71e9170194a282810d15128a  IN    Contract Creation0 Ether0.001202572
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
 Latest 4 Internal Transactions

ParentTxHash Block Age From To Value
0x2883f63f058af63df1ffb69bdea9a2bb2736574fed955f601be6836847321059545753192 days 12 hrs ago0x1f1fc3a8459219ef935ff14c5edffd0921d478e70x314fa670cd113e0c4168fe0d62355b314dea4f060.001 Ether
0xc5f4c0c35081e35930c0bb35441267a3a79107c640f002d0e53a303eab5fcc6d544796894 days 3 hrs ago0x1f1fc3a8459219ef935ff14c5edffd0921d478e70x314fa670cd113e0c4168fe0d62355b314dea4f060.001 Ether
0xd6e8e26ddc4b429df842cfb557d4b6de1e7493412d9257094d2b4fb3cda45ac5544530494 days 14 hrs ago0x1f1fc3a8459219ef935ff14c5edffd0921d478e70x314fa670cd113e0c4168fe0d62355b314dea4f060.003 Ether
0xa6000a439513d258047d02b92af33b5284988ffe43ea00c1649387b04a150bb0544525994 days 14 hrs ago0x1f1fc3a8459219ef935ff14c5edffd0921d478e70x314fa670cd113e0c4168fe0d62355b314dea4f060.001 Ether
[ Download CSV Export  ] 
Contract Source Code Verified (Exact match)
Contract Name: FOMOCoin
Compiler Version: v0.4.21+commit.dfe3193c
Optimization Enabled: No
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.8;

// ----------------------------------------------------------------------------------------------
// Sample fixed supply token contract
// Enjoy. (c) BokkyPooBah 2017. The MIT Licence.
// ----------------------------------------------------------------------------------------------

// ERC Token Standard #20 Interface
// https://github.com/ethereum/EIPs/issues/20
contract ERC20Interface {
    // Get the total token supply
    function totalSupply() constant returns (uint256 totalSupply);

    // Get the account balance of another account with address _owner
    function balanceOf(address _owner) constant returns (uint256 balance);

    // Send _value amount of tokens to address _to
    function transfer(address _to, uint256 _value) returns (bool success);

    // Send _value amount of tokens from address _from to address _to
    function transferFrom(address _from, address _to, uint256 _value) returns (bool success);

    // 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.
    // this function is required for some DEX functionality
    function approve(address _spender, uint256 _value) returns (bool success);

    // Returns the amount which _spender is still allowed to withdraw from _owner
    function allowance(address _owner, address _spender) constant returns (uint256 remaining);

    // Triggered when tokens are transferred.
    event Transfer(address indexed _from, address indexed _to, uint256 _value);

    // Triggered whenever approve(address _spender, uint256 _value) is called.
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);
}

contract FOMOCoin is ERC20Interface {
    string public constant symbol = "FOMO";
    string public constant name = "FOMO Coin";
    uint8 public constant decimals = 0;
		uint256 public totalSupply = 42000000;
		uint256 public remainingSupply = 20000000;
		uint256 tokenCost = 1000000000000000;

    // Owner of this contract
    address public owner = 0x314FA670Cd113e0c4168fe0D62355B314dEa4f06;

    // 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;

    // Functions with this modifier can only be executed by the owner
    modifier onlyOwner() {
        if (msg.sender != owner) {
            throw;
        }
        _;
    }

    function FOMOCoin () {
      balances[owner] = 22000000;
    }

    function totalSupply() constant returns (uint256 _totalSupply) {
        return totalSupply;
    }

    // What is the balance of a particular account?
    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
            && _amount > 0
            && balances[_to] + _amount > balances[_to]) {
            balances[msg.sender] -= _amount;
            balances[_to] += _amount;
            Transfer(msg.sender, _to, _amount);
            return true;
        } else {
            return false;
        }
    }

    // Send _value amount of tokens from address _from to address _to
    // The transferFrom method is used for a withdraw workflow, allowing contracts to send
    // tokens on your behalf, for example to "deposit" to a contract address and/or to charge
    // fees in sub-currencies; the command should fail unless the _from account has
    // deliberately authorized the sender of the message via some mechanism; we propose
    // these standardized APIs for approval:
    function transferFrom(
        address _from,
        address _to,
        uint256 _amount
    ) returns (bool success) {
        if (balances[_from] >= _amount
            && allowed[_from][msg.sender] >= _amount
            && _amount > 0
            && balances[_to] + _amount > balances[_to]) {
            balances[_from] -= _amount;
            allowed[_from][msg.sender] -= _amount;
            balances[_to] += _amount;
            Transfer(_from, _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;
    }

    function allowance(address _owner, address _spender) constant returns (uint256 remaining) {
        return allowed[_owner][_spender];
    }

		function saleInProgress() returns (bool saleInProgress) {
			return remainingSupply > 0;
	  }

		// Purchase tokens
		function () payable {
				var purchaseCount = msg.value / tokenCost;
				require(saleInProgress() && purchaseCount <= remainingSupply);
				balances[msg.sender] += purchaseCount;
				remainingSupply -= purchaseCount;
				owner.transfer(msg.value);
		}

		// Owner withdraw ether
		function withdraw(uint256 _amount) onlyOwner {
				msg.sender.transfer(_amount);
		}

		function finalizeSale() onlyOwner {
	    	require(!saleInProgress());
	    	if(remainingSupply > 0) {
	      		balances[owner] += remainingSupply;
	      		remainingSupply = 0;
	    	}
	  }
}

    Contract ABI  
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_amount","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"_totalSupply","type":"uint256"}],"payable":false,"stateMutability":"view","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,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"finalizeSale","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"_balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"remainingSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"saleInProgress","outputs":[{"name":"saleInProgress","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"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"}]

  Contract Creation Code Switch To Opcodes View
6060604052630280de806000556301312d0060015566038d7ea4c6800060025573314fa670cd113e0c4168fe0d62355b314dea4f06600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550341561007f57600080fd5b63014fb18060046000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610f39806100f86000396000f3006060604052600436106100d0576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306fdde03146101c5578063095ea7b31461025357806318160ddd146102ad57806323b872dd146102d65780632e1a7d4d1461034f578063313ce5671461037257806358a687ec146103a157806370a08231146103b65780638da5cb5b1461040357806395d89b4114610458578063a9059cbb146104e6578063da0239a614610540578063dd62ed3e14610569578063ed7a96e7146105d5575b6000600254348115156100df57fe5b0490506100ea610602565b80156100f857506001548111155b151561010357600080fd5b80600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555080600160008282540392505081905550600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f1935050505015156101c257600080fd5b50005b34156101d057600080fd5b6101d861060e565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156102185780820151818401526020810190506101fd565b50505050905090810190601f1680156102455780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561025e57600080fd5b610293600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610647565b604051808215151515815260200191505060405180910390f35b34156102b857600080fd5b6102c0610739565b6040518082815260200191505060405180910390f35b34156102e157600080fd5b610335600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610742565b604051808215151515815260200191505060405180910390f35b341561035a57600080fd5b6103706004808035906020019091905050610a49565b005b341561037d57600080fd5b610385610ae8565b604051808260ff1660ff16815260200191505060405180910390f35b34156103ac57600080fd5b6103b4610aed565b005b34156103c157600080fd5b6103ed600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610be4565b6040518082815260200191505060405180910390f35b341561040e57600080fd5b610416610c2d565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561046357600080fd5b61046b610c53565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156104ab578082015181840152602081019050610490565b50505050905090810190601f1680156104d85780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156104f157600080fd5b610526600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610c8c565b604051808215151515815260200191505060405180910390f35b341561054b57600080fd5b610553610e80565b6040518082815260200191505060405180910390f35b341561057457600080fd5b6105bf600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610e86565b6040518082815260200191505060405180910390f35b34156105e057600080fd5b6105e8610602565b604051808215151515815260200191505060405180910390f35b60008060015411905090565b6040805190810160405280600981526020017f464f4d4f20436f696e000000000000000000000000000000000000000000000081525081565b600081600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040518082815260200191505060405180910390a36001905092915050565b60008054905090565b600081600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015801561080f575081600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410155b801561081b5750600082115b80156108a65750600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205482600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205401115b15610a3d5781600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254039250508190555081600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254039250508190555081600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a360019050610a42565b600090505b9392505050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610aa557600080fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501515610ae557600080fd5b50565b600081565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610b4957600080fd5b610b51610602565b151515610b5d57600080fd5b60006001541115610be25760015460046000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060006001819055505b565b6000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6040805190810160405280600481526020017f464f4d4f0000000000000000000000000000000000000000000000000000000081525081565b600081600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410158015610cdd5750600082115b8015610d685750600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205482600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205401115b15610e755781600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254039250508190555081600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a360019050610e7a565b600090505b92915050565b60015481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050929150505600a165627a7a72305820f183dfcf75db25557ac7326833ce907b198501f466898e172c446d68472e64ea0029

   Swarm Source:
bzzr://f183dfcf75db25557ac7326833ce907b198501f466898e172c446d68472e64ea

 

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.