ETH Price: $3,283.24 (-1.98%)

Contract

0x4DC3643DbC642b72C158E7F3d2ff232df61cb6CE
 

More Info

Private Name Tags

TokenTracker

Amber (AMB) (@$0.0081)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer212415262024-11-22 6:37:1112 hrs ago1732257431IN
Ambrosus: AMB Token
0 ETH0.000422628.58150828
Transfer211854622024-11-14 10:53:118 days ago1731581591IN
Ambrosus: AMB Token
0 ETH0.001210537.62614708
Transfer211853952024-11-14 10:39:358 days ago1731580775IN
Ambrosus: AMB Token
0 ETH0.0020340637.62614708
Transfer211350722024-11-07 10:06:4715 days ago1730974007IN
Ambrosus: AMB Token
0 ETH0.0005882620.01987804
Transfer211209572024-11-05 10:49:3517 days ago1730803775IN
Ambrosus: AMB Token
0 ETH0.000279735.67883816
Approve211039562024-11-03 1:53:3519 days ago1730598815IN
Ambrosus: AMB Token
0 ETH0.000070822.67171474
Approve210842342024-10-31 7:50:5922 days ago1730361059IN
Ambrosus: AMB Token
0 ETH0.000347067.07667731
Transfer210495092024-10-26 11:30:4727 days ago1729942247IN
Ambrosus: AMB Token
0 ETH0.000265765.39244994
Approve210349402024-10-24 10:44:2329 days ago1729766663IN
Ambrosus: AMB Token
0 ETH0.0006780913.89433001
Transfer209878682024-10-17 21:07:2335 days ago1729199243IN
Ambrosus: AMB Token
0 ETH0.0007985514.77483396
Approve209333112024-10-10 6:07:1143 days ago1728540431IN
Ambrosus: AMB Token
0 ETH0.00041928.54749085
Transfer209281442024-10-09 12:50:4744 days ago1728478247IN
Ambrosus: AMB Token
0 ETH0.0011128622.59724869
Transfer209063212024-10-06 11:49:5947 days ago1728215399IN
Ambrosus: AMB Token
0 ETH0.000362967.37015931
Transfer208950252024-10-04 22:03:1148 days ago1728079391IN
Ambrosus: AMB Token
0 ETH0.000119294.06318893
Approve208890602024-10-04 2:07:1149 days ago1728007631IN
Ambrosus: AMB Token
0 ETH0.000297076.09152375
Transfer208877042024-10-03 21:35:3549 days ago1727991335IN
Ambrosus: AMB Token
0 ETH0.000443449
Approve208875112024-10-03 20:56:5949 days ago1727989019IN
Ambrosus: AMB Token
0 ETH0.000321026.54558763
Approve208188642024-09-24 7:09:1159 days ago1727161751IN
Ambrosus: AMB Token
0 ETH0.0008377217.08114762
Transfer207952572024-09-21 0:03:4762 days ago1726877027IN
Ambrosus: AMB Token
0 ETH0.0004176411.3
Transfer207200442024-09-10 11:53:4773 days ago1725969227IN
Ambrosus: AMB Token
0 ETH0.000496279.90605861
Transfer206881502024-09-06 1:04:1177 days ago1725584651IN
Ambrosus: AMB Token
0 ETH0.000049241
Approve206073202024-08-25 18:13:5989 days ago1724609639IN
Ambrosus: AMB Token
0 ETH0.00003830.78105544
Transfer205863572024-08-22 19:52:4791 days ago1724356367IN
Ambrosus: AMB Token
0 ETH0.000049241
Transfer205101392024-08-12 4:26:47102 days ago1723436807IN
Ambrosus: AMB Token
0 ETH0.000066741.35466919
Approve204882192024-08-09 3:01:23105 days ago1723172483IN
Ambrosus: AMB Token
0 ETH0.000133582.73918384
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To
43017352017-09-22 13:03:542618 days ago1506085434  Contract Creation0 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
AmberToken

Compiler Version
v0.4.15+commit.bbb8e64f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2017-09-22
*/

//! By Parity Technologies, 2017.
//! Released under the Apache Licence 2.

pragma solidity ^0.4.15;

// ECR20 standard token interface
contract Token {
	event Transfer(address indexed from, address indexed to, uint256 value);
	event Approval(address indexed owner, address indexed spender, uint256 value);

	function balanceOf(address _owner) constant returns (uint256 balance);
	function transfer(address _to, uint256 _value) returns (bool success);
	function transferFrom(address _from, address _to, uint256 _value) returns (bool success);
	function approve(address _spender, uint256 _value) returns (bool success);
	function allowance(address _owner, address _spender) constant returns (uint256 remaining);
}

// Owner-specific contract interface
contract Owned {
	event NewOwner(address indexed old, address indexed current);

	modifier only_owner {
		require (msg.sender == owner);
		_;
	}

	address public owner = msg.sender;

	function setOwner(address _new) only_owner {
		NewOwner(owner, _new);
		owner = _new;
	}
}

/// Stripped down certifier interface.
contract Certifier {
	function certified(address _who) constant returns (bool);
}

// BasicCoin, ECR20 tokens that all belong to the owner for sending around
contract AmberToken is Token, Owned {
	struct Account {
		// Balance is always less than or equal totalSupply since totalSupply is increased straight away of when releasing locked tokens.
		uint balance;
		mapping (address => uint) allowanceOf;

		// TokensPerPhase is always less than or equal to totalSupply since anything added to it is UNLOCK_PHASES times lower than added to totalSupply.
		uint tokensPerPhase;
		uint nextPhase;
	}

	event Minted(address indexed who, uint value);
	event MintedLocked(address indexed who, uint value);

	function AmberToken() {}

	// Mint a certain number of tokens.
	// _value has to be bounded not to overflow.
	function mint(address _who, uint _value)
		only_owner
		public
	{
		accounts[_who].balance += _value;
		totalSupply += _value;
		Minted(_who, _value);
	}

	// Mint a certain number of tokens that are locked up.
	// _value has to be bounded not to overflow.
	function mintLocked(address _who, uint _value)
		only_owner
		public
	{
		accounts[_who].tokensPerPhase += _value / UNLOCK_PHASES;
		totalSupply += _value;
		MintedLocked(_who, _value);
	}

	/// Finalise any minting operations. Resets the owner and causes normal tokens
	/// to be liquid. Also begins the countdown for locked-up tokens.
	function finalise()
		only_owner
		public
	{
		locked = false;
		owner = 0;
		phaseStart = now;
	}

	/// Return the current unlock-phase. Won't work until after the contract
	/// has `finalise()` called.
	function currentPhase()
		public
		constant
		returns (uint)
	{
		require (phaseStart > 0);
		uint p = (now - phaseStart) / PHASE_DURATION;
		return p > UNLOCK_PHASES ? UNLOCK_PHASES : p;
	}

	/// Unlock any now freeable tokens that are locked up for account `_who`.
	function unlockTokens(address _who)
		public
	{
		uint phase = currentPhase();
		uint tokens = accounts[_who].tokensPerPhase;
		uint nextPhase = accounts[_who].nextPhase;
		if (tokens > 0 && phase > nextPhase) {
			accounts[_who].balance += tokens * (phase - nextPhase);
			accounts[_who].nextPhase = phase;
		}
	}

	// Transfer tokens between accounts.
	function transfer(address _to, uint256 _value)
		when_owns(msg.sender, _value)
		when_liquid
		returns (bool)
	{
		Transfer(msg.sender, _to, _value);
		accounts[msg.sender].balance -= _value;
		accounts[_to].balance += _value;

		return true;
	}

	// Transfer via allowance.
	function transferFrom(address _from, address _to, uint256 _value)
		when_owns(_from, _value)
		when_has_allowance(_from, msg.sender, _value)
		when_liquid
		returns (bool)
	{
		Transfer(_from, _to, _value);
		accounts[_from].allowanceOf[msg.sender] -= _value;
		accounts[_from].balance -= _value;
		accounts[_to].balance += _value;

		return true;
	}

	// Approve allowances
	function approve(address _spender, uint256 _value)
		when_liquid
		returns (bool)
	{
		// Mitigate the race condition described here:
		// https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
		require (_value == 0 || accounts[msg.sender].allowanceOf[_spender] == 0);
		Approval(msg.sender, _spender, _value);
		accounts[msg.sender].allowanceOf[_spender] = _value;

		return true;
	}

	// Get the balance of a specific address.
	function balanceOf(address _who) constant returns (uint256) {
		return accounts[_who].balance;
	}

	// Available allowance
	function allowance(address _owner, address _spender)
		constant
		returns (uint256)
	{
		return accounts[_owner].allowanceOf[_spender];
	}

	// The balance should be available
	modifier when_owns(address _owner, uint _amount) {
		require (accounts[_owner].balance >= _amount);
		_;
	}

	// An allowance should be available
	modifier when_has_allowance(address _owner, address _spender, uint _amount) {
		require (accounts[_owner].allowanceOf[_spender] >= _amount);
		_;
	}

	// Tokens must not be locked.
	modifier when_liquid {
		require (!locked);
		_;
	}

	/// Usual token descriptors.
	string constant public name = "Amber Token";
	uint8 constant public decimals = 18;
	string constant public symbol = "AMB";

	// Are the tokens non-transferrable?
	bool public locked = true;

	// Phase information for slow-release tokens.
	uint public phaseStart = 0;
	uint public constant PHASE_DURATION = 180 days;
	uint public constant UNLOCK_PHASES = 4;

	// available token supply
	uint public totalSupply;

	// storage and mapping of all balances & allowances
	mapping (address => Account) accounts;
}

/// Will accept Ether "contributions" and record each both as a log and in a
/// queryable record.
contract AmbrosusSale {
	/// Constructor.
	function AmbrosusSale() {
		tokens = new AmberToken();
	}

	// Can only be called by the administrator.
	modifier only_admin { require (msg.sender == ADMINISTRATOR); _; }
	// Can only be called by the prepurchaser.
	modifier only_prepurchaser { require (msg.sender == PREPURCHASER); _; }

	// The transaction params are valid for buying in.
	modifier is_valid_buyin { require (tx.gasprice <= MAX_BUYIN_GAS_PRICE && msg.value >= MIN_BUYIN_VALUE); _; }
	// Requires the hard cap to be respected given the desired amount for `buyin`.
	modifier is_under_cap_with(uint buyin) { require (buyin + saleRevenue <= MAX_REVENUE); _; }
	// Requires sender to be certified.
	modifier only_certified(address who) { require (CERTIFIER.certified(who)); _; }

	/*
		Sale life cycle:
		1. Not yet started.
		2. Started, further purchases possible.
			a. Normal operation (next step can be 2b or 3)
			b. Paused (next step can be 2a or 3)
		3. Complete (equivalent to Allocation Lifecycle 2 & 3).
	*/

	// Can only be called by prior to the period (1).
	modifier only_before_period { require (now < BEGIN_TIME); _; }
	// Can only be called during the period when not paused (2a).
	modifier only_during_period { require (now >= BEGIN_TIME && now < END_TIME && !isPaused); _; }
	// Can only be called during the period when paused (2b)
	modifier only_during_paused_period { require (now >= BEGIN_TIME && now < END_TIME && isPaused); _; }
	// Can only be called after the period (3).
	modifier only_after_sale { require (now >= END_TIME || saleRevenue >= MAX_REVENUE); _; }

	/*
		Allocation life cycle:
		1. Uninitialised (sale not yet started/ended, equivalent to Sale Lifecycle 1 & 2).
		2. Initialised, not yet completed (further allocations possible).
		3. Completed (no further allocations possible).
	*/

	// Only when allocations have not yet been initialised (1).
	modifier when_allocations_uninitialised { require (!allocationsInitialised); _; }
	// Only when sufficient allocations remain for making this liquid allocation (2).
	modifier when_allocatable_liquid(uint amount) { require (liquidAllocatable >= amount); _; }
	// Only when sufficient allocations remain for making this locked allocation (2).
	modifier when_allocatable_locked(uint amount) { require (lockedAllocatable >= amount); _; }
	// Only when no further allocations are possible (3).
	modifier when_allocations_complete { require (allocationsInitialised && liquidAllocatable == 0 && lockedAllocatable == 0); _; }

	/// Note a pre-ICO sale.
	event Prepurchased(address indexed recipient, uint etherPaid, uint amberSold);
	/// Some contribution `amount` received from `recipient`.
	event Purchased(address indexed recipient, uint amount);
	/// Some contribution `amount` received from `recipient`.
	event SpecialPurchased(address indexed recipient, uint etherPaid, uint amberSold);
	/// Period paused abnormally.
	event Paused();
	/// Period restarted after abnormal halt.
	event Unpaused();
	/// Some contribution `amount` received from `recipient`.
	event Allocated(address indexed recipient, uint amount, bool liquid);

	/// Note a prepurchase that has already happened.
	/// Up to owner to ensure that values do not overflow.
	///
	/// Preconditions: !sale_started
	/// Writes {Tokens, Sale}
	function notePrepurchase(address _who, uint _etherPaid, uint _amberSold)
		only_prepurchaser
		only_before_period
		public
	{
		// Admin ensures bounded value.
		tokens.mint(_who, _amberSold);
		saleRevenue += _etherPaid;
		totalSold += _amberSold;
		Prepurchased(_who, _etherPaid, _amberSold);
	}

	/// Make a purchase from a privileged account. No KYC is required and a
	/// preferential buyin rate may be given.
	///
	/// Preconditions: !paused, sale_ongoing
	/// Postconditions: !paused, ?!sale_ongoing
	/// Writes {Tokens, Sale}
	function specialPurchase()
		only_before_period
		is_under_cap_with(msg.value)
		payable
		public
	{
		uint256 bought = buyinReturn(msg.sender) * msg.value;
		require (bought > 0);   // be kind and don't punish the idiots.

		// Bounded value, see STANDARD_BUYIN.
		tokens.mint(msg.sender, bought);
		TREASURY.transfer(msg.value);
		saleRevenue += msg.value;
		totalSold += bought;
		SpecialPurchased(msg.sender, msg.value, bought);
   }

	/// Let sender make a purchase to their account.
	///
	/// Preconditions: !paused, sale_ongoing
	/// Postconditions: ?!sale_ongoing
	/// Writes {Tokens, Sale}
	function ()
		only_certified(msg.sender)
		payable
		public
	{
		processPurchase(msg.sender);
	}

	/// Let sender make a standard purchase; AMB goes into another account.
	///
	/// Preconditions: !paused, sale_ongoing
	/// Postconditions: ?!sale_ongoing
	/// Writes {Tokens, Sale}
	function purchaseTo(address _recipient)
		only_certified(msg.sender)
		payable
		public
	{
		processPurchase(_recipient);
	}

	/// Receive a contribution from `_recipient`.
	///
	/// Preconditions: !paused, sale_ongoing
	/// Postconditions: ?!sale_ongoing
	/// Writes {Tokens, Sale}
	function processPurchase(address _recipient)
		only_during_period
		is_valid_buyin
		is_under_cap_with(msg.value)
		private
	{
		// Bounded value, see STANDARD_BUYIN.
		tokens.mint(_recipient, msg.value * STANDARD_BUYIN);
		TREASURY.transfer(msg.value);
		saleRevenue += msg.value;
		totalSold += msg.value * STANDARD_BUYIN;
		Purchased(_recipient, msg.value);
	}

	/// Determine purchase price for a given address.
	function buyinReturn(address _who)
		constant
		public
		returns (uint)
	{
		// Chinese exchanges.
		if (
			_who == CHINESE_EXCHANGE_1 || _who == CHINESE_EXCHANGE_2 ||
			_who == CHINESE_EXCHANGE_3 || _who == CHINESE_EXCHANGE_4
		)
			return CHINESE_EXCHANGE_BUYIN;

		// BTCSuisse tier 1
		if (_who == BTC_SUISSE_TIER_1)
			return STANDARD_BUYIN;
		// BTCSuisse tier 2
		if (_who == BTC_SUISSE_TIER_2)
			return TIER_2_BUYIN;
		// BTCSuisse tier 3
		if (_who == BTC_SUISSE_TIER_3)
			return TIER_3_BUYIN;
		// BTCSuisse tier 4
		if (_who == BTC_SUISSE_TIER_4)
			return TIER_4_BUYIN;

		return 0;
	}

	/// Halt the contribution period. Any attempt at contributing will fail.
	///
	/// Preconditions: !paused, sale_ongoing
	/// Postconditions: paused
	/// Writes {Paused}
	function pause()
		only_admin
		only_during_period
		public
	{
		isPaused = true;
		Paused();
	}

	/// Unhalt the contribution period.
	///
	/// Preconditions: paused
	/// Postconditions: !paused
	/// Writes {Paused}
	function unpause()
		only_admin
		only_during_paused_period
		public
	{
		isPaused = false;
		Unpaused();
	}

	/// Called once by anybody after the sale ends.
	/// Initialises the specific values (i.e. absolute token quantities) of the
	/// allowed liquid/locked allocations.
	///
	/// Preconditions: !allocations_initialised
	/// Postconditions: allocations_initialised, !allocations_complete
	/// Writes {Allocations}
	function initialiseAllocations()
		public
		only_after_sale
		when_allocations_uninitialised
	{
		allocationsInitialised = true;
		liquidAllocatable = LIQUID_ALLOCATION_PPM * totalSold / SALES_ALLOCATION_PPM;
		lockedAllocatable = LOCKED_ALLOCATION_PPM * totalSold / SALES_ALLOCATION_PPM;
	}

	/// Preallocate a liquid portion of tokens.
	/// Admin may call this to allocate a share of the liquid tokens.
	/// Up to admin to ensure that value does not overflow.
	///
	/// Preconditions: allocations_initialised
	/// Postconditions: ?allocations_complete
	/// Writes {Allocations, Tokens}
	function allocateLiquid(address _who, uint _value)
		only_admin
		when_allocatable_liquid(_value)
		public
	{
		// Admin ensures bounded value.
		tokens.mint(_who, _value);
		liquidAllocatable -= _value;
		Allocated(_who, _value, true);
	}

	/// Preallocate a locked-up portion of tokens.
	/// Admin may call this to allocate a share of the locked tokens.
	/// Up to admin to ensure that value does not overflow and _value is divisible by UNLOCK_PHASES.
	///
	/// Preconditions: allocations_initialised
	/// Postconditions: ?allocations_complete
	/// Writes {Allocations, Tokens}
	function allocateLocked(address _who, uint _value)
		only_admin
		when_allocatable_locked(_value)
		public
	{
		// Admin ensures bounded value.
		tokens.mintLocked(_who, _value);
		lockedAllocatable -= _value;
		Allocated(_who, _value, false);
	}

	/// End of the sale and token allocation; retire this contract.
	/// Once called, no more tokens can be minted, basic tokens are now liquid.
	/// Anyone can call, but only once this contract can properly be retired.
	///
	/// Preconditions: allocations_complete
	/// Postconditions: liquid_tokens_transferable, this_is_dead
	/// Writes {Tokens}
	function finalise()
		when_allocations_complete
		public
	{
		tokens.finalise();
	}

	//////
	// STATE
	//////

	// How much is enough?
	uint public constant MIN_BUYIN_VALUE = 10000000000000000;
	// Max gas price for buyins.
	uint public constant MAX_BUYIN_GAS_PRICE = 25000000000;
	// The exposed hard cap.
	uint public constant MAX_REVENUE = 425203 ether;

	// The total share of tokens, expressed in PPM, allocated to pre-ICO and ICO.
	uint constant public SALES_ALLOCATION_PPM = 400000;
	// The total share of tokens, expressed in PPM, the admin may later allocate, as locked tokens.
	uint constant public LOCKED_ALLOCATION_PPM = 337000;
	// The total share of tokens, expressed in PPM, the admin may later allocate, as liquid tokens.
	uint constant public LIQUID_ALLOCATION_PPM = 263000;

	/// The certifier resource. TODO: set address
	Certifier public constant CERTIFIER = Certifier(0x7b1Ab331546F021A40bd4D09fFb802261CaACcc9);
	// Who can halt/unhalt/kill?
	address public constant ADMINISTRATOR = 0x11bF17B890a80080A8F9C1673D2951296a6F3D91;
	// Who can prepurchase?
	address public constant PREPURCHASER = 0x00C269e9D02188E39C9922386De631c6AED5b4d4;
	// Who gets the stash? Should not release funds during minting process.
	address public constant TREASURY = 0xB47aD434C6e401473F1d3442001Ac69cda1dcFDd;
	// When does the contribution period begin?
	uint public constant BEGIN_TIME = 1506096000;
	// How long does the sale last for?
	uint public constant DURATION = 30 days;
	// When does the period end?
	uint public constant END_TIME = BEGIN_TIME + DURATION;

	// The privileged buyin accounts.
	address public constant BTC_SUISSE_TIER_1 = 0x53B3D4f98fcb6f0920096fe1cCCa0E4327Da7a1D;
	address public constant BTC_SUISSE_TIER_2 = 0x642fDd12b1Dd27b9E19758F0AefC072dae7Ab996;
	address public constant BTC_SUISSE_TIER_3 = 0x64175446A1e3459c3E9D650ec26420BA90060d28;
	address public constant BTC_SUISSE_TIER_4 = 0xB17C2f9a057a2640309e41358a22Cf00f8B51626;
	address public constant CHINESE_EXCHANGE_1 = 0x36f548fAB37Fcd39cA8725B8fA214fcd784FE0A3;
	address public constant CHINESE_EXCHANGE_2 = 0x877Da872D223AB3D073Ab6f9B4bb27540E387C5F;
	address public constant CHINESE_EXCHANGE_3 = 0xCcC088ec38A4dbc15Ba269A176883F6ba302eD8d;
	// TODO: set address
	address public constant CHINESE_EXCHANGE_4 = 0;

	// Tokens per eth for the various buy-in rates.
	// 1e8 ETH in existence, means at most 1.5e11 issued.
	uint public constant STANDARD_BUYIN = 1000;
	uint public constant TIER_2_BUYIN = 1111;
	uint public constant TIER_3_BUYIN = 1250;
	uint public constant TIER_4_BUYIN = 1429;
	uint public constant CHINESE_EXCHANGE_BUYIN = 1087;

	//////
	// State Subset: Allocations
	//
	// Invariants:
	// !allocationsInitialised ||
	//   (liquidAllocatable + tokens.liquidAllocated) / LIQUID_ALLOCATION_PPM == totalSold / SALES_ALLOCATION_PPM &&
	//   (lockedAllocatable + tokens.lockedAllocated) / LOCKED_ALLOCATION_PPM == totalSold / SALES_ALLOCATION_PPM
	//
	// when_allocations_complete || (now < END_TIME && saleRevenue < MAX_REVENUE)

	// Have post-sale token allocations been initialised?
	bool public allocationsInitialised = false;
	// How many liquid tokens may yet be allocated?
	uint public liquidAllocatable;
	// How many locked tokens may yet be allocated?
	uint public lockedAllocatable;

	//////
	// State Subset: Sale
	//
	// Invariants:
	// saleRevenue <= MAX_REVENUE

	// Total amount raised in both presale and sale, in Wei.
	// Assuming TREASURY locks funds, so can not exceed total amount of Ether 1e8.
	uint public saleRevenue = 0;
	// Total amount minted in both presale and sale, in AMB * 10^-18.
	// Assuming the TREASURY locks funds, msg.value * STANDARD_BUYIN will be less than 1.5e11.
	uint public totalSold = 0;

	//////
	// State Subset: Tokens

	// The contract which gets called whenever anything is received.
	AmberToken public tokens;

	//////
	// State Subset: Pause

	// Are contributions abnormally paused?
	bool public isPaused = false;
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"currentPhase","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"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":"","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_new","type":"address"}],"name":"setOwner","outputs":[],"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":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"UNLOCK_PHASES","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_who","type":"address"},{"name":"_value","type":"uint256"}],"name":"mint","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"phaseStart","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"PHASE_DURATION","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_who","type":"address"},{"name":"_value","type":"uint256"}],"name":"mintLocked","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_who","type":"address"}],"name":"balanceOf","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":"finalise","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_who","type":"address"}],"name":"unlockTokens","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"locked","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"inputs":[],"payable":false,"type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"who","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Minted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"who","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"MintedLocked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"old","type":"address"},{"indexed":true,"name":"current","type":"address"}],"name":"NewOwner","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"}]

60606040526000805474010000000000000000000000000000000000000000600160a060020a031990911633600160a060020a03161760a060020a60ff021916178155600155341561005057600080fd5b5b5b5b610b74806100626000396000f3006060604052361561010f5763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663055ad42e811461011457806306fdde0314610139578063095ea7b3146101c457806313af4035146101fa57806318160ddd1461021b57806323b872dd14610240578063313ce5671461027c5780633d160e0b146102a557806340c10f19146102ca57806349abee50146102ee5780634ae2b849146103135780635143e2461461033857806370a082311461035c5780638da5cb5b1461038d57806395d89b41146103bc578063a439926314610447578063a9059cbb1461045c578063cb67f94814610492578063cf309012146104b3578063dd62ed3e146104da575b600080fd5b341561011f57600080fd5b610127610511565b60405190815260200160405180910390f35b341561014457600080fd5b61014c61054b565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101895780820151818401525b602001610170565b50505050905090810190601f1680156101b65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101cf57600080fd5b6101e6600160a060020a0360043516602435610582565b604051901515815260200160405180910390f35b341561020557600080fd5b610219600160a060020a0360043516610657565b005b341561022657600080fd5b6101276106db565b60405190815260200160405180910390f35b341561024b57600080fd5b6101e6600160a060020a03600435811690602435166044356106e1565b604051901515815260200160405180910390f35b341561028757600080fd5b61028f610804565b60405160ff909116815260200160405180910390f35b34156102b057600080fd5b610127610809565b60405190815260200160405180910390f35b34156102d557600080fd5b610219600160a060020a036004351660243561080e565b005b34156102f957600080fd5b61012761088a565b60405190815260200160405180910390f35b341561031e57600080fd5b610127610890565b60405190815260200160405180910390f35b341561034357600080fd5b610219600160a060020a0360043516602435610897565b005b341561036757600080fd5b610127600160a060020a0360043516610921565b60405190815260200160405180910390f35b341561039857600080fd5b6103a0610940565b604051600160a060020a03909116815260200160405180910390f35b34156103c757600080fd5b61014c61094f565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101895780820151818401525b602001610170565b50505050905090810190601f1680156101b65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561045257600080fd5b610219610986565b005b341561046757600080fd5b6101e6600160a060020a03600435166024356109c7565b604051901515815260200160405180910390f35b341561049d57600080fd5b610219600160a060020a0360043516610a8d565b005b34156104be57600080fd5b6101e6610b07565b604051901515815260200160405180910390f35b34156104e557600080fd5b610127600160a060020a0360043581169060243516610b17565b60405190815260200160405180910390f35b600080600060015411151561052557600080fd5b60015462ed4e009042035b049050600481116105415780610544565b60045b91505b5090565b60408051908101604052600b81527f416d62657220546f6b656e000000000000000000000000000000000000000000602082015281565b6000805460a060020a900460ff161561059a57600080fd5b8115806105ce5750600160a060020a0333811660009081526003602090815260408083209387168352600190930190522054155b15156105d957600080fd5b82600160a060020a031633600160a060020a03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405190815260200160405180910390a350600160a060020a0333811660009081526003602090815260408083209386168352600193840190915290208290555b5b92915050565b60005433600160a060020a0390811691161461067257600080fd5b600054600160a060020a0380831691167f70aea8d848e8a90fb7661b227dc522eb6395c3dac71b63cb59edd5c9899b236460405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b50565b60025481565b600160a060020a038316600090815260036020526040812054849083908190101561070b57600080fd5b600160a060020a03808716600090815260036020908152604080832033948516845260010190915290205487919086908190101561074857600080fd5b60005460a060020a900460ff161561075f57600080fd5b87600160a060020a031689600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8960405190815260200160405180910390a3600160a060020a03808a16600090815260036020818152604080842033861685526001808201845282862080548f900390559390925281548c9003909155928b16825291902080548901905595505b5b5b5050505b50509392505050565b601281565b600481565b60005433600160a060020a0390811691161461082957600080fd5b600160a060020a0382166000818152600360205260409081902080548401905560028054840190557f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe9083905190815260200160405180910390a25b5b5050565b60015481565b62ed4e0081565b60005433600160a060020a039081169116146108b257600080fd5b6004815b600160a060020a038416600081815260036020526040908190206002908101805495909404909401909255825484019092557f32e7179af8a9fdc2e9e300a8374683c008356bd3588861123b30800d00c1c0939083905190815260200160405180910390a25b5b5050565b600160a060020a0381166000908152600360205260409020545b919050565b600054600160a060020a031681565b60408051908101604052600381527f414d420000000000000000000000000000000000000000000000000000000000602082015281565b60005433600160a060020a039081169116146109a157600080fd5b6000805474ffffffffffffffffffffffffffffffffffffffffff19169055426001555b5b565b33600160a060020a0381166000908152600360205260408120549091908390819010156109f357600080fd5b60005460a060020a900460ff1615610a0a57600080fd5b84600160a060020a031633600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8660405190815260200160405180910390a3600160a060020a0333811660009081526003602052604080822080548890039055918716815220805485019055600192505b5b5b505092915050565b6000806000610a9a610511565b600160a060020a038516600090815260036020819052604082206002810154910154929550935090915082118015610ad157508083115b15610b0057600160a060020a038416600090815260036020819052604090912080548386038502018155018390555b5b50505050565b60005460a060020a900460ff1681565b600160a060020a03808316600090815260036020908152604080832093851683526001909301905220545b929150505600a165627a7a72305820204c178072e3f346742b9c8b512704514d37f965afae9a5ddc951542a6230e490029

Deployed Bytecode

0x6060604052361561010f5763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663055ad42e811461011457806306fdde0314610139578063095ea7b3146101c457806313af4035146101fa57806318160ddd1461021b57806323b872dd14610240578063313ce5671461027c5780633d160e0b146102a557806340c10f19146102ca57806349abee50146102ee5780634ae2b849146103135780635143e2461461033857806370a082311461035c5780638da5cb5b1461038d57806395d89b41146103bc578063a439926314610447578063a9059cbb1461045c578063cb67f94814610492578063cf309012146104b3578063dd62ed3e146104da575b600080fd5b341561011f57600080fd5b610127610511565b60405190815260200160405180910390f35b341561014457600080fd5b61014c61054b565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101895780820151818401525b602001610170565b50505050905090810190601f1680156101b65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101cf57600080fd5b6101e6600160a060020a0360043516602435610582565b604051901515815260200160405180910390f35b341561020557600080fd5b610219600160a060020a0360043516610657565b005b341561022657600080fd5b6101276106db565b60405190815260200160405180910390f35b341561024b57600080fd5b6101e6600160a060020a03600435811690602435166044356106e1565b604051901515815260200160405180910390f35b341561028757600080fd5b61028f610804565b60405160ff909116815260200160405180910390f35b34156102b057600080fd5b610127610809565b60405190815260200160405180910390f35b34156102d557600080fd5b610219600160a060020a036004351660243561080e565b005b34156102f957600080fd5b61012761088a565b60405190815260200160405180910390f35b341561031e57600080fd5b610127610890565b60405190815260200160405180910390f35b341561034357600080fd5b610219600160a060020a0360043516602435610897565b005b341561036757600080fd5b610127600160a060020a0360043516610921565b60405190815260200160405180910390f35b341561039857600080fd5b6103a0610940565b604051600160a060020a03909116815260200160405180910390f35b34156103c757600080fd5b61014c61094f565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101895780820151818401525b602001610170565b50505050905090810190601f1680156101b65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561045257600080fd5b610219610986565b005b341561046757600080fd5b6101e6600160a060020a03600435166024356109c7565b604051901515815260200160405180910390f35b341561049d57600080fd5b610219600160a060020a0360043516610a8d565b005b34156104be57600080fd5b6101e6610b07565b604051901515815260200160405180910390f35b34156104e557600080fd5b610127600160a060020a0360043581169060243516610b17565b60405190815260200160405180910390f35b600080600060015411151561052557600080fd5b60015462ed4e009042035b049050600481116105415780610544565b60045b91505b5090565b60408051908101604052600b81527f416d62657220546f6b656e000000000000000000000000000000000000000000602082015281565b6000805460a060020a900460ff161561059a57600080fd5b8115806105ce5750600160a060020a0333811660009081526003602090815260408083209387168352600190930190522054155b15156105d957600080fd5b82600160a060020a031633600160a060020a03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405190815260200160405180910390a350600160a060020a0333811660009081526003602090815260408083209386168352600193840190915290208290555b5b92915050565b60005433600160a060020a0390811691161461067257600080fd5b600054600160a060020a0380831691167f70aea8d848e8a90fb7661b227dc522eb6395c3dac71b63cb59edd5c9899b236460405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b50565b60025481565b600160a060020a038316600090815260036020526040812054849083908190101561070b57600080fd5b600160a060020a03808716600090815260036020908152604080832033948516845260010190915290205487919086908190101561074857600080fd5b60005460a060020a900460ff161561075f57600080fd5b87600160a060020a031689600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8960405190815260200160405180910390a3600160a060020a03808a16600090815260036020818152604080842033861685526001808201845282862080548f900390559390925281548c9003909155928b16825291902080548901905595505b5b5b5050505b50509392505050565b601281565b600481565b60005433600160a060020a0390811691161461082957600080fd5b600160a060020a0382166000818152600360205260409081902080548401905560028054840190557f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe9083905190815260200160405180910390a25b5b5050565b60015481565b62ed4e0081565b60005433600160a060020a039081169116146108b257600080fd5b6004815b600160a060020a038416600081815260036020526040908190206002908101805495909404909401909255825484019092557f32e7179af8a9fdc2e9e300a8374683c008356bd3588861123b30800d00c1c0939083905190815260200160405180910390a25b5b5050565b600160a060020a0381166000908152600360205260409020545b919050565b600054600160a060020a031681565b60408051908101604052600381527f414d420000000000000000000000000000000000000000000000000000000000602082015281565b60005433600160a060020a039081169116146109a157600080fd5b6000805474ffffffffffffffffffffffffffffffffffffffffff19169055426001555b5b565b33600160a060020a0381166000908152600360205260408120549091908390819010156109f357600080fd5b60005460a060020a900460ff1615610a0a57600080fd5b84600160a060020a031633600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8660405190815260200160405180910390a3600160a060020a0333811660009081526003602052604080822080548890039055918716815220805485019055600192505b5b5b505092915050565b6000806000610a9a610511565b600160a060020a038516600090815260036020819052604082206002810154910154929550935090915082118015610ad157508083115b15610b0057600160a060020a038416600090815260036020819052604090912080548386038502018155018390555b5b50505050565b60005460a060020a900460ff1681565b600160a060020a03808316600090815260036020908152604080832093851683526001909301905220545b929150505600a165627a7a72305820204c178072e3f346742b9c8b512704514d37f965afae9a5ddc951542a6230e490029

Swarm Source

bzzr://204c178072e3f346742b9c8b512704514d37f965afae9a5ddc951542a6230e49

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

OVERVIEW

Combining high-tech sensors, blockchain protocol and smart contracts, we are building a universally verifiable, community-driven ecosystem to assure the quality, safety & origins of products.

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.