Sponsored Link:    Chronologic - Self-Mining Ethereum token based on Proof of Time. Join the Contribution.
Contract Overview | MonethaToken
ETH Balance: 0 Ether
ETH USD Value: $0
No Of Transactions: 13314 txns
Token Tracker 0xaf4dce16da2877f8c9e00544c93b62ac40631f16
  Latest 25 txns from a total Of 13314 transactions View All

TxHash Age From To Value [TxFee]
0x3edb6b083aac940a83641834c9153197ad20e00e058f61aac63bd8a8ff5578fd6 mins ago0x1a5486b6d08a50a3f1082eee3633dc53c3d9da18  IN   MonethaToken0 Ether0.00137412
0x79e91fe56ae90cb369efde1e2d8b9259347cea5466a719881c30bffb6a649b458 mins ago0x54bac54bb75fc6f271ab93cfe389cb3e175bb74a  IN   MonethaToken0 Ether0.000183216
0xfc16368920e63862ba76cd33c00b5b38037817b4f4d61deea39d1fec7fcb8acc9 mins ago0x636a9b022f888d13f33c920d00bb50a2fa67de98  IN   MonethaToken0 Ether0.00074338
0x36ad17b93da85b65499a8d20c8002de24f5e3a2f20ffc4e40ceee005a161142815 mins ago0x99d1ae7cc5b6626ad53f2fe141155c76edf5eb9a  IN   MonethaToken0 Ether0.001094205
0xce96a5142e4b6d86d51b9645289b9f5e02aeced8a951836c159e3365bda079c116 mins ago0xdc336cee2260e64c6b3bd87c1c725b6693bfceea  IN   MonethaToken0 Ether0.000777861
0x28615aa7eb91a2a0086ecd04cb9b8a4ce156afbcbc9432c4c2802342792f93fc18 mins ago0x38d600ad8313e7ee00f87e7a14dd266c84919c5e  IN   MonethaToken0 Ether0.000183216
0xb9a37d11bbf342bcc3eae5fc116f30f71d980340c097cf500de49a871d77b96618 mins ago0x82ef02b654b0e74990362eb6ac151d1c83c85b85  IN   MonethaToken0 Ether0.000885785
0xea417e698b93e24662380789d4025b0f9705fadbfd8b0f32bfbfeae0e0d26e5719 mins ago0x782b899b1468051b01581548011660b9b1974cab  IN   MonethaToken0 Ether0.000183728
0x636c73e15938ccaaedd6a6fc107cefe5c8e5727d6529ddf8293599b4d64498ee19 mins ago0xadd1af386821ad982fdb321b844f1a06f6e7da57  IN   MonethaToken0 Ether0.00057774
0x1d866929f570852606042c6f1f64dfa965293432043f46507890355b2788b05122 mins ago0x636a9b022f888d13f33c920d00bb50a2fa67de98  IN   MonethaToken0 Ether0.00104466
0xf8cdddb83a45cc39cd504456176161da659f39ef6a193488f97ef5ef913a636723 mins ago0xbcc243537cb0d008f837ac145f3d6a5fcaade1ee  IN   MonethaToken0 Ether0.00223014
0xaa0ee84c4db715b292bcabec2bf5017e94b885b0f39b877d93f31c918209454b29 mins ago0x45e70aa6fd4782155d304eb8f795ae36d485863a  IN   MonethaToken0 Ether0.00091864
0x475e3d4745efb33c5aef5fcfbaae7c76cbdbdac54751813179ae651e835f092d31 mins ago0xbcc243537cb0d008f837ac145f3d6a5fcaade1ee  IN   MonethaToken0 Ether0.0022263
0xa26915cc49734c98eccc848196a754b82c2ebb9e44f00e31c2f13a3963425ee134 mins ago0xe2c5eb2afc77a9839d653d3d93357f7ff55a9d94  IN   MonethaToken0 Ether0.000185525
0xb7614a47c898e2075826eac61627054ff8a03b920b1d959f629cef9a5e54569d35 mins ago0xbcc243537cb0d008f837ac145f3d6a5fcaade1ee  IN   MonethaToken0 Ether0.0031263
0x5270f9004ab30d70d03dfe4b5f5b03c8e93e80c68ef18c63c92c3d90f0e7bef539 mins ago0x9f25fde4731f6662e3ae02f180a11e76615d3aed  IN   MonethaToken0 Ether0.000066207281
0x10ed3838e31a829f1fe775eaa1bfa03d447cbe669fdd883424fbba8a82490bdd39 mins ago0x966f292255ce105eb78d86812c5cb991773e3bce  IN   MonethaToken0 Ether0.00014842
0x24b1fdfadb0ffda66eb94b58a8d29637730223f2adbea576a1241e9c928e4f1755 mins ago0x3e5b3251267942f9b05058e9cfe6b7d73baa2f5a  IN   MonethaToken0 Ether0.001094205
0x7e79ac16c6643d5639a87b0d29bef7979103dff506c7298e480be70af00c4fcc58 mins ago0x7d7b4d350ad0ed066d695622e6347f3289aea644  IN   MonethaToken0 Ether0.000779205
0x1a287a991b88e95c20f4c79272301b475f7c5d8e7ed95e25bc52d4b4a778c43f59 mins ago0x6bdda850a59f907933993aa0df028973b11b78eb  IN   MonethaToken0 Ether0.000779756
0x5cdade14bbd51cd73926288c5910e21c8c4b94529404fcbf89503387ff33311359 mins ago0xadd1af386821ad982fdb321b844f1a06f6e7da57  IN   MonethaToken0 Ether0.00057774
0x8b82918b69d693ed727b71dab7f449a0cdd5909294c1ce28ca36ce11a36578bc1 hr 2 mins ago0xba31ec5f4d869805a57a4c44146e6d579976384c  IN   MonethaToken0 Ether0.00223014
0x8807ca0a44dfa8e53d264400f216a61fb5d40f1b55e5b4856969839aeef51b841 hr 5 mins ago0x39e96d1e97a617a45c42492f9c48053b00755082  IN   MonethaToken0 Ether0.000088676
0x3d049e0d6a6f621945cfa4acd7ac3fa870dff5e2d957e102a7bf865461d6ca101 hr 5 mins ago0x57f54aa18d6871149c4d160814be0193666bc9b0  IN   MonethaToken0 Ether0.00022934
0xd1ae45024703dbf6062223e7182be9374b477651513a8c34061ac158848c61bb1 hr 5 mins ago0x636a9b022f888d13f33c920d00bb50a2fa67de98  IN   MonethaToken0 Ether0.0010421
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
View All
ParentTxHash Block Age From To Value
Contract Source Code Verified
Contract Name: MonethaToken
Compiler Version: v0.4.15+commit.bbb8e64f
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts
/**
 *  The Monetha token contract complies with the ERC20 standard (see https://github.com/ethereum/EIPs/issues/20).
 *  The owner's share of tokens is locked for the first year and all tokens not
 *  being sold during the crowdsale but the owner's share + reserved tokend for bounty, loyalty program and future financing are burned.
 *  Author: Julia Altenried
 *  Internal audit: Alex Bazhanau, Andrej Ruckij
 *  Audit: Blockchain & Smart Contract Security Group
 **/

pragma solidity ^0.4.15;

contract SafeMath {
	//internals

	function safeMul(uint a, uint b) internal returns(uint) {
		uint c = a * b;
		assert(a == 0 || c / a == b);
		return c;
	}

	function safeSub(uint a, uint b) internal returns(uint) {
		assert(b <= a);
		return a - b;
	}

	function safeAdd(uint a, uint b) internal returns(uint) {
		uint c = a + b;
		assert(c >= a && c >= b);
		return c;
	}
}

contract MonethaToken is SafeMath {
	/* Public variables of the token */
	string constant public standard = "ERC20";
	string constant public name = "Monetha";
	string constant public symbol = "MTH";
	uint8 constant public decimals = 5;
	uint public totalSupply = 40240000000000;
	uint constant public tokensForIco = 20120000000000;
	uint constant public reservedAmount = 20120000000000;
	uint constant public lockedAmount = 15291200000000;
	address public owner;
	address public ico;
	/* from this time on tokens may be transfered (after ICO)*/
	uint public startTime;
	uint public lockReleaseDate;
	/* tells if tokens have been burned already */
	bool burned;

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


	/* This generates a public event on the blockchain that will notify clients */
	event Transfer(address indexed from, address indexed to, uint value);
	event Approval(address indexed _owner, address indexed spender, uint value);
	event Burned(uint amount);

	/* Initializes contract with initial supply tokens to the creator of the contract */
	function MonethaToken(address _ownerAddr, uint _startTime) {
		owner = _ownerAddr;
		startTime = _startTime;
		lockReleaseDate = startTime + 1 years;
		balanceOf[owner] = totalSupply; // Give the owner all initial tokens
	}

	/* Send some of your tokens to a given address */
	function transfer(address _to, uint _value) returns(bool success) {
		require(now >= startTime); //check if the crowdsale is already over
		if (msg.sender == owner && now < lockReleaseDate) 
			require(safeSub(balanceOf[msg.sender], _value) >= lockedAmount); //prevent the owner of spending his share of tokens for company, loyalty program and future financing of the company within the first year
		balanceOf[msg.sender] = safeSub(balanceOf[msg.sender], _value); // Subtract from the sender
		balanceOf[_to] = safeAdd(balanceOf[_to], _value); // Add the same to the recipient
		Transfer(msg.sender, _to, _value); // Notify anyone listening that this transfer took place
		return true;
	}

	/* Allow another contract or person to spend some tokens in your behalf */
	function approve(address _spender, uint _value) returns(bool success) {
		return _approve(_spender,_value);
	}
	
	/* internal approve functionality. needed, so we can check the payloadsize if called externally, but smaller 
	*  payload allowed internally */
	function _approve(address _spender, uint _value) internal returns(bool success) {
		//  https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
		require((_value == 0) || (allowance[msg.sender][_spender] == 0));
		allowance[msg.sender][_spender] = _value;
		Approval(msg.sender, _spender, _value);
		return true;
	}


	/* A contract or  person attempts to get the tokens of somebody else.
	 *  This is only allowed if the token holder approved. */
	function transferFrom(address _from, address _to, uint _value) returns(bool success) {
		if (now < startTime) 
			require(_from == owner); //check if the crowdsale is already over
		if (_from == owner && now < lockReleaseDate) 
			require(safeSub(balanceOf[_from], _value) >= lockedAmount); //prevent the owner of spending his share of tokens for company, loyalty program and future financing of the company within the first year
		var _allowance = allowance[_from][msg.sender];
		balanceOf[_from] = safeSub(balanceOf[_from], _value); // Subtract from the sender
		balanceOf[_to] = safeAdd(balanceOf[_to], _value); // Add the same to the recipient
		allowance[_from][msg.sender] = safeSub(_allowance, _value);
		Transfer(_from, _to, _value);
		return true;
	}


	/* to be called when ICO is closed. burns the remaining tokens except the company share (60360000), the tokens reserved
	 *  for the bounty/advisors/marketing program (48288000), for the loyalty program (52312000) and for future financing of the company (40240000).
	 *  anybody may burn the tokens after ICO ended, but only once (in case the owner holds more tokens in the future).
	 *  this ensures that the owner will not posses a majority of the tokens. */
	function burn() {
		//if tokens have not been burned already and the ICO ended
		if (!burned && now > startTime) {
			uint difference = safeSub(balanceOf[owner], reservedAmount);
			balanceOf[owner] = reservedAmount;
			totalSupply = safeSub(totalSupply, difference);
			burned = true;
			Burned(difference);
		}
	}
	
	/**
	* sets the ico address and give it allowance to spend the crowdsale tokens. Only callable once.
	* @param _icoAddress the address of the ico contract
	* value the max amount of tokens to sell during the ICO
	**/
	function setICO(address _icoAddress) {
		require(msg.sender == owner);
		ico = _icoAddress;
		assert(_approve(ico, tokensForIco));
	}
	
	/**
	* Allows the ico contract to set the trading start time to an earlier point of time.
	* (In case the soft cap has been reached)
	* @param _newStart the new start date
	**/
	function setStart(uint _newStart) {
		require(msg.sender == ico && _newStart < startTime);
		startTime = _newStart;
	}

}

  Contract ABI  
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","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":"burn","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"standard","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"ico","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"lockedAmount","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"startTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"tokensForIco","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":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"lockReleaseDate","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_icoAddress","type":"address"}],"name":"setICO","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_newStart","type":"uint256"}],"name":"setStart","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"reservedAmount","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"inputs":[{"name":"_ownerAddr","type":"address"},{"name":"_startTime","type":"uint256"}],"payable":false,"type":"constructor"},{"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":false,"name":"amount","type":"uint256"}],"name":"Burned","type":"event"}]

  Contract Creation Code Switch To Opcodes View
60606040526524991ae7e000600055341561001957600080fd5b604051604080610c5283398101604052808051919060200180519150505b60018054600160a060020a031916600160a060020a03848116919091179182905560038390556301e13380830160045560008054929091168152600660205260409020555b50505b610bc48061008e6000396000f3006060604052361561010f5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610114578063095ea7b31461019f57806318160ddd146101d557806323b872dd146101fa578063313ce5671461023657806344df8e701461025f5780635a3b7e42146102745780635d452201146102ff5780636ab28bc81461032e57806370a082311461035357806378e979251461038457806382ea97b3146103a95780638da5cb5b146103ce57806395d89b41146103fd578063a9059cbb14610488578063ac4abae1146104be578063b6f50c29146104e3578063dd62ed3e14610504578063f6a03ebf1461053b578063f92c45b7146103a9575b600080fd5b341561011f57600080fd5b610127610578565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101645780820151818401525b60200161014b565b50505050905090810190601f1680156101915780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101aa57600080fd5b6101c1600160a060020a03600435166024356105af565b604051901515815260200160405180910390f35b34156101e057600080fd5b6101e86105c4565b60405190815260200160405180910390f35b341561020557600080fd5b6101c1600160a060020a03600435811690602435166044356105ca565b604051901515815260200160405180910390f35b341561024157600080fd5b61024961074e565b60405160ff909116815260200160405180910390f35b341561026a57600080fd5b610272610753565b005b341561027f57600080fd5b610127610813565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101645780820151818401525b60200161014b565b50505050905090810190601f1680156101915780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561030a57600080fd5b61031261084a565b604051600160a060020a03909116815260200160405180910390f35b341561033957600080fd5b6101e8610859565b60405190815260200160405180910390f35b341561035e57600080fd5b6101e8600160a060020a0360043516610863565b60405190815260200160405180910390f35b341561038f57600080fd5b6101e8610875565b60405190815260200160405180910390f35b34156103b457600080fd5b6101e861087b565b60405190815260200160405180910390f35b34156103d957600080fd5b610312610885565b604051600160a060020a03909116815260200160405180910390f35b341561040857600080fd5b610127610894565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101645780820151818401525b60200161014b565b50505050905090810190601f1680156101915780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561049357600080fd5b6101c1600160a060020a03600435166024356108cb565b604051901515815260200160405180910390f35b34156104c957600080fd5b6101e86109ec565b60405190815260200160405180910390f35b34156104ee57600080fd5b610272600160a060020a03600435166109f2565b005b341561050f57600080fd5b6101e8600160a060020a0360043581169060243516610a58565b60405190815260200160405180910390f35b341561054657600080fd5b610272600435610a75565b005b34156103b457600080fd5b6101e861087b565b60405190815260200160405180910390f35b60408051908101604052600781527f4d6f6e6574686100000000000000000000000000000000000000000000000000602082015281565b60006105bb8383610ab2565b90505b92915050565b60005481565b6000806003544210156105f157600154600160a060020a038681169116146105f157600080fd5b5b600154600160a060020a038681169116148015610610575060045442105b1561064b57600160a060020a038516600090815260066020526040902054650de8428b5000906106409085610b59565b101561064b57600080fd5b5b50600160a060020a0380851660008181526007602090815260408083203390951683529381528382205492825260069052919091205461068c9084610b59565b600160a060020a0380871660009081526006602052604080822093909355908616815220546106bb9084610b70565b600160a060020a0385166000908152600660205260409020556106de8184610b59565b600160a060020a03808716600081815260076020908152604080832033861684529091529081902093909355908616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9086905190815260200160405180910390a3600191505b509392505050565b600581565b60055460009060ff1615801561076a575060035442115b1561080f57600154600160a060020a031660009081526006602052604090205461079a9065124c8d73f000610b59565b600154600160a060020a0316600090815260066020526040812065124c8d73f0009055549091506107cb9082610b59565b6000556005805460ff191660011790557fd83c63197e8e676d80ab0122beba9a9d20f3828839e9a1d6fe81d242e9cd7e6e8160405190815260200160405180910390a15b5b50565b60408051908101604052600581527f4552433230000000000000000000000000000000000000000000000000000000602082015281565b600254600160a060020a031681565b650de8428b500081565b60066020526000908152604090205481565b60035481565b65124c8d73f00081565b600154600160a060020a031681565b60408051908101604052600381527f4d54480000000000000000000000000000000000000000000000000000000000602082015281565b6003546000904210156108dd57600080fd5b60015433600160a060020a0390811691161480156108fc575060045442105b1561093757600160a060020a033316600090815260066020526040902054650de8428b50009061092c9084610b59565b101561093757600080fd5b5b600160a060020a03331660009081526006602052604090205461095b9083610b59565b600160a060020a03338116600090815260066020526040808220939093559085168152205461098a9083610b70565b600160a060020a0380851660008181526006602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060015b92915050565b60045481565b60015433600160a060020a03908116911614610a0d57600080fd5b6002805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038381169190911791829055610a4c911665124c8d73f000610ab2565b151561080f57fe5b5b50565b600760209081526000928352604080842090915290825290205481565b60025433600160a060020a039081169116148015610a94575060035481105b1515610a9f57600080fd5b60038190555b50565b65124c8d73f00081565b6000811580610ae45750600160a060020a03338116600090815260076020908152604080832093871683529290522054155b1515610aef57600080fd5b600160a060020a03338116600081815260076020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b600082821115610b6557fe5b508082035b92915050565b6000828201838110801590610b855750828110155b1515610b8d57fe5b8091505b50929150505600a165627a7a723058201ece16a4849d6f063ac16d4723492df94b137bb9f49ec010ea71aa0475f8a1f800290000000000000000000000000027bcc0275ed76e0b338a42e7e08dec36d256780000000000000000000000000000000000000000000000000000000059cfa360

    Constructor Arguments (ABI-encoded and appended to the ByteCode above)
0000000000000000000000000027bcc0275ed76e0b338a42e7e08dec36d256780000000000000000000000000000000000000000000000000000000059cfa360

-----Decoded View---------------
Found 2 constructor arguments :
Arg [0] : 0000000000000000000000000027bcc0275ed76e0b338a42e7e08dec36d25678
Arg [1] : 0000000000000000000000000000000000000000000000000000000059cfa360


   Swarm Source:
bzzr://1ece16a4849d6f063ac16d4723492df94b137bb9f49ec010ea71aa0475f8a1f8
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.