ERC-20
Overview
Max Total Supply
28,500,000 SMX
Holders
321
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SmokeExchangeCoin
Compiler Version
v0.4.13+commit.fb4cb1a
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2017-10-04 */ pragma solidity ^0.4.11; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint256 a, uint256 b) internal constant returns (uint256) { // assert(b > 0); // Solidity automatically throws when dividing by 0 uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } function sub(uint256 a, uint256 b) internal constant returns (uint256) { assert(b <= a); return a - b; } function add(uint256 a, uint256 b) internal constant returns (uint256) { uint256 c = a + b; assert(c >= a); return c; } } /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ function Ownable() { owner = msg.sender; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(msg.sender == owner); _; } /** * @dev Allows the current owner to transfer control of the contract to a newOwner. * @param newOwner The address to transfer ownership to. */ function transferOwnership(address newOwner) onlyOwner { require(newOwner != address(0)); owner = newOwner; } } /** * @title ERC20Basic * @dev Simpler version of ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/179 */ contract ERC20Basic { uint256 public totalSupply; function balanceOf(address who) constant returns (uint256); function transfer(address to, uint256 value) returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); } /** * @title ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/20 */ contract ERC20 is ERC20Basic { function allowance(address owner, address spender) constant returns (uint256); function transferFrom(address from, address to, uint256 value) returns (bool); function approve(address spender, uint256 value) returns (bool); event Approval(address indexed owner, address indexed spender, uint256 value); } /** * @title Basic token * @dev Basic version of StandardToken, with no allowances. */ contract BasicToken is ERC20Basic { using SafeMath for uint256; mapping(address => uint256) balances; /** * @dev transfer token for a specified address * @param _to The address to transfer to. * @param _value The amount to be transferred. */ function transfer(address _to, uint256 _value) returns (bool) { balances[msg.sender] = balances[msg.sender].sub(_value); balances[_to] = balances[_to].add(_value); Transfer(msg.sender, _to, _value); return true; } /** * @dev Gets the balance of the specified address. * @param _owner The address to query the the balance of. * @return An uint256 representing the amount owned by the passed address. */ function balanceOf(address _owner) constant returns (uint256 balance) { return balances[_owner]; } } /** * @title Standard ERC20 token * * @dev Implementation of the basic standard token. * @dev https://github.com/ethereum/EIPs/issues/20 * @dev Based on code by FirstBlood: https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol */ contract StandardToken is ERC20, BasicToken { mapping (address => mapping (address => uint256)) allowed; /** * @dev Transfer tokens from one address to another * @param _from address The address which you want to send tokens from * @param _to address The address which you want to transfer to * @param _value uint256 the amount of tokens to be transferred */ function transferFrom(address _from, address _to, uint256 _value) returns (bool) { require(_to != address(0)); var _allowance = allowed[_from][msg.sender]; // Check is not needed because sub(_allowance, _value) will already throw if this condition is not met // require (_value <= _allowance); balances[_from] = balances[_from].sub(_value); balances[_to] = balances[_to].add(_value); allowed[_from][msg.sender] = _allowance.sub(_value); Transfer(_from, _to, _value); return true; } /** * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender. * @param _spender The address which will spend the funds. * @param _value The amount of tokens to be spent. */ function approve(address _spender, uint256 _value) returns (bool) { // To change the approve amount you first have to reduce the addresses` // allowance to zero by calling `approve(_spender, 0)` if it is not // already 0 to mitigate the race condition described here: // https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 require((_value == 0) || (allowed[msg.sender][_spender] == 0)); allowed[msg.sender][_spender] = _value; Approval(msg.sender, _spender, _value); return true; } /** * @dev Function to check the amount of tokens that an owner allowed to a spender. * @param _owner address The address which owns the funds. * @param _spender address The address which will spend the funds. * @return A uint256 specifying the amount of tokens still available for the spender. */ function allowance(address _owner, address _spender) constant returns (uint256 remaining) { return allowed[_owner][_spender]; } /* * approve should be called when allowed[_spender] == 0. To increment * allowed value is better to use this function to avoid 2 calls (and wait until * the first transaction is mined) * From MonolithDAO Token.sol */ function increaseApproval (address _spender, uint _addedValue) returns (bool success) { allowed[msg.sender][_spender] = allowed[msg.sender][_spender].add(_addedValue); Approval(msg.sender, _spender, allowed[msg.sender][_spender]); return true; } function decreaseApproval (address _spender, uint _subtractedValue) returns (bool success) { uint oldValue = allowed[msg.sender][_spender]; if (_subtractedValue > oldValue) { allowed[msg.sender][_spender] = 0; } else { allowed[msg.sender][_spender] = oldValue.sub(_subtractedValue); } Approval(msg.sender, _spender, allowed[msg.sender][_spender]); return true; } } contract SmokeExchangeCoin is StandardToken { string public name = "Smoke Exchange Token"; string public symbol = "SMX"; uint256 public decimals = 18; address public ownerAddress; event Distribute(address indexed to, uint256 value); function SmokeExchangeCoin(uint256 _totalSupply, address _ownerAddress, address smxTeamAddress, uint256 allocCrowdsale, uint256 allocAdvBounties, uint256 allocTeam) { ownerAddress = _ownerAddress; totalSupply = _totalSupply; balances[ownerAddress] += allocCrowdsale; balances[ownerAddress] += allocAdvBounties; balances[smxTeamAddress] += allocTeam; } function distribute(address _to, uint256 _value) returns (bool) { require(balances[ownerAddress] >= _value); balances[ownerAddress] = balances[ownerAddress].sub(_value); balances[_to] = balances[_to].add(_value); Distribute(_to, _value); return true; } } contract SmokeExchangeCoinCrowdsale is Ownable { using SafeMath for uint256; // The token being sold SmokeExchangeCoin public token; // start and end timestamps where investments are allowed (both inclusive) uint256 public startTime; uint256 public endTime; uint256 public privateStartTime; uint256 public privateEndTime; // address where funds are collected address public wallet; // amount of raised money in wei uint256 public weiRaised; uint private constant DECIMALS = 1000000000000000000; //PRICES uint public constant TOTAL_SUPPLY = 28500000 * DECIMALS; //28.5 millions uint public constant BASIC_RATE = 300; //300 tokens per 1 eth uint public constant PRICE_STANDARD = BASIC_RATE * DECIMALS; uint public constant PRICE_PREBUY = PRICE_STANDARD * 150/100; uint public constant PRICE_STAGE_ONE = PRICE_STANDARD * 125/100; uint public constant PRICE_STAGE_TWO = PRICE_STANDARD * 115/100; uint public constant PRICE_STAGE_THREE = PRICE_STANDARD * 107/100; uint public constant PRICE_STAGE_FOUR = PRICE_STANDARD; uint public constant PRICE_PREBUY_BONUS = PRICE_STANDARD * 165/100; uint public constant PRICE_STAGE_ONE_BONUS = PRICE_STANDARD * 145/100; uint public constant PRICE_STAGE_TWO_BONUS = PRICE_STANDARD * 125/100; uint public constant PRICE_STAGE_THREE_BONUS = PRICE_STANDARD * 115/100; uint public constant PRICE_STAGE_FOUR_BONUS = PRICE_STANDARD; //uint public constant PRICE_WHITELIST_BONUS = PRICE_STANDARD * 165/100; //TIME LIMITS uint public constant STAGE_ONE_TIME_END = 1 weeks; uint public constant STAGE_TWO_TIME_END = 2 weeks; uint public constant STAGE_THREE_TIME_END = 3 weeks; uint public constant STAGE_FOUR_TIME_END = 4 weeks; uint public constant ALLOC_CROWDSALE = TOTAL_SUPPLY * 75/100; uint public constant ALLOC_TEAM = TOTAL_SUPPLY * 15/100; uint public constant ALLOC_ADVISORS_BOUNTIES = TOTAL_SUPPLY * 10/100; uint256 public smxSold = 0; address public ownerAddress; address public smxTeamAddress; //active = false/not active = true bool public halted; //in wei uint public cap; //in wei, prebuy hardcap uint public privateCap; uint256 public bonusThresholdWei; /** * event for token purchase logging * @param purchaser who paid for the tokens * @param beneficiary who got the tokens * @param value weis paid for purchase * @param amount amount of tokens purchased */ event TokenPurchase(address indexed purchaser, address indexed beneficiary, uint256 value, uint256 amount); /** * Modifier to run function only if contract is active (not halted) */ modifier isNotHalted() { require(!halted); _; } /** * Constructor for SmokeExchageCoinCrowdsale * @param _privateStartTime start time for presale * @param _startTime start time for public sale * @param _ethWallet all incoming eth transfered here. Use multisig wallet * @param _privateWeiCap hard cap for presale * @param _weiCap hard cap in wei for the crowdsale * @param _bonusThresholdWei in wei. Minimum amount of wei required for bonus * @param _smxTeamAddress team address */ function SmokeExchangeCoinCrowdsale(uint256 _privateStartTime, uint256 _startTime, address _ethWallet, uint256 _privateWeiCap, uint256 _weiCap, uint256 _bonusThresholdWei, address _smxTeamAddress) { require(_privateStartTime >= now); require(_ethWallet != 0x0); require(_smxTeamAddress != 0x0); privateStartTime = _privateStartTime; //presale 10 days privateEndTime = privateStartTime + 10 days; startTime = _startTime; //ICO start time after presale end require(_startTime >= privateEndTime); endTime = _startTime + STAGE_FOUR_TIME_END; wallet = _ethWallet; smxTeamAddress = _smxTeamAddress; ownerAddress = msg.sender; cap = _weiCap; privateCap = _privateWeiCap; bonusThresholdWei = _bonusThresholdWei; token = new SmokeExchangeCoin(TOTAL_SUPPLY, ownerAddress, smxTeamAddress, ALLOC_CROWDSALE, ALLOC_ADVISORS_BOUNTIES, ALLOC_TEAM); } // fallback function can be used to buy tokens function () payable { buyTokens(msg.sender); } // @return true if investors can buy at the moment function validPurchase() internal constant returns (bool) { bool privatePeriod = now >= privateStartTime && now < privateEndTime; bool withinPeriod = (now >= startTime && now <= endTime) || (privatePeriod); bool nonZeroPurchase = (msg.value != 0); //cap depends on stage. bool withinCap = privatePeriod ? (weiRaised.add(msg.value) <= privateCap) : (weiRaised.add(msg.value) <= cap); // check if there are smx token left bool smxAvailable = (ALLOC_CROWDSALE - smxSold > 0); return withinPeriod && nonZeroPurchase && withinCap && smxAvailable; //return true; } // @return true if crowdsale event has ended function hasEnded() public constant returns (bool) { bool capReached = weiRaised >= cap; bool tokenSold = ALLOC_CROWDSALE - smxSold == 0; bool timeEnded = now > endTime; return timeEnded || capReached || tokenSold; } /** * Main function for buying tokens * @param beneficiary purchased tokens go to this address */ function buyTokens(address beneficiary) payable isNotHalted { require(beneficiary != 0x0); require(validPurchase()); uint256 weiAmount = msg.value; // calculate token amount to be distributed uint256 tokens = SafeMath.div(SafeMath.mul(weiAmount, getCurrentRate(weiAmount)), 1 ether); //require that there are more or equal tokens available for sell require(ALLOC_CROWDSALE - smxSold >= tokens); //update total weiRaised weiRaised = weiRaised.add(weiAmount); //updated total smxSold smxSold = smxSold.add(tokens); //add token to beneficiary and subtract from ownerAddress balance token.distribute(beneficiary, tokens); TokenPurchase(msg.sender, beneficiary, weiAmount, tokens); //forward eth received to walletEth forwardFunds(); } // send ether to the fund collection wallet function forwardFunds() internal { wallet.transfer(msg.value); } /** * Get rate. Depends on current time * */ function getCurrentRate(uint256 _weiAmount) constant returns (uint256) { bool hasBonus = _weiAmount >= bonusThresholdWei; if (now < startTime) { return hasBonus ? PRICE_PREBUY_BONUS : PRICE_PREBUY; } uint delta = SafeMath.sub(now, startTime); //3+weeks from start if (delta > STAGE_THREE_TIME_END) { return hasBonus ? PRICE_STAGE_FOUR_BONUS : PRICE_STAGE_FOUR; } //2+weeks from start if (delta > STAGE_TWO_TIME_END) { return hasBonus ? PRICE_STAGE_THREE_BONUS : PRICE_STAGE_THREE; } //1+week from start if (delta > STAGE_ONE_TIME_END) { return hasBonus ? PRICE_STAGE_TWO_BONUS : PRICE_STAGE_TWO; } //less than 1 week from start return hasBonus ? PRICE_STAGE_ONE_BONUS : PRICE_STAGE_ONE; } /** * Enable/disable halted */ function toggleHalt(bool _halted) onlyOwner { halted = _halted; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"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":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":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_subtractedValue","type":"uint256"}],"name":"decreaseApproval","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"ownerAddress","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":"","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_addedValue","type":"uint256"}],"name":"increaseApproval","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"distribute","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"inputs":[{"name":"_totalSupply","type":"uint256"},{"name":"_ownerAddress","type":"address"},{"name":"smxTeamAddress","type":"address"},{"name":"allocCrowdsale","type":"uint256"},{"name":"allocAdvBounties","type":"uint256"},{"name":"allocTeam","type":"uint256"}],"payable":false,"type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Distribute","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"}]
Contract Creation Code
606060405260408051908101604052601481527f536d6f6b652045786368616e676520546f6b656e0000000000000000000000006020820152600390805161004b92916020019061013f565b5060408051908101604052600381527f534d5800000000000000000000000000000000000000000000000000000000006020820152600490805161009392916020019061013f565b50601260055534156100a457600080fd5b60405160c080610d118339810160405280805191906020018051919060200180519190602001805191906020018051919060200180519150505b60068054600160a060020a031916600160a060020a038781169190911780835560008981559082168152600160205260408082208054880190559254821681528281208054860190559086168152208054820190555b5050505050506101df565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061018057805160ff19168380011785556101ad565b828001600101855582156101ad579182015b828111156101ad578251825591602001919060010190610192565b5b506101ba9291506101be565b5090565b6101dc91905b808211156101ba57600081556001016101c4565b5090565b90565b610b23806101ee6000396000f300606060405236156100c25763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100c7578063095ea7b31461015257806318160ddd1461018857806323b872dd146101ad578063313ce567146101e9578063661884631461020e57806370a08231146102445780638f84aa091461027557806395d89b41146102a4578063a9059cbb1461032f578063d73dd62314610365578063dd62ed3e1461039b578063fb932108146103d2575b600080fd5b34156100d257600080fd5b6100da610408565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101175780820151818401525b6020016100fe565b50505050905090810190601f1680156101445780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561015d57600080fd5b610174600160a060020a03600435166024356104a6565b604051901515815260200160405180910390f35b341561019357600080fd5b61019b61054d565b60405190815260200160405180910390f35b34156101b857600080fd5b610174600160a060020a0360043581169060243516604435610553565b604051901515815260200160405180910390f35b34156101f457600080fd5b61019b61067f565b60405190815260200160405180910390f35b341561021957600080fd5b610174600160a060020a0360043516602435610685565b604051901515815260200160405180910390f35b341561024f57600080fd5b61019b600160a060020a0360043516610781565b60405190815260200160405180910390f35b341561028057600080fd5b6102886107a0565b604051600160a060020a03909116815260200160405180910390f35b34156102af57600080fd5b6100da6107af565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101175780820151818401525b6020016100fe565b50505050905090810190601f1680156101445780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561033a57600080fd5b610174600160a060020a036004351660243561084d565b604051901515815260200160405180910390f35b341561037057600080fd5b610174600160a060020a036004351660243561090d565b604051901515815260200160405180910390f35b34156103a657600080fd5b61019b600160a060020a03600435811690602435166109b2565b60405190815260200160405180910390f35b34156103dd57600080fd5b610174600160a060020a03600435166024356109df565b604051901515815260200160405180910390f35b60038054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561049e5780601f106104735761010080835404028352916020019161049e565b820191906000526020600020905b81548152906001019060200180831161048157829003601f168201915b505050505081565b60008115806104d85750600160a060020a03338116600090815260026020908152604080832093871683529290522054155b15156104e357600080fd5b600160a060020a03338116600081815260026020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b60005481565b600080600160a060020a038416151561056b57600080fd5b50600160a060020a038085166000818152600260209081526040808320339095168352938152838220549282526001905291909120546105b1908463ffffffff610ac616565b600160a060020a0380871660009081526001602052604080822093909355908616815220546105e6908463ffffffff610add16565b600160a060020a03851660009081526001602052604090205561060f818463ffffffff610ac616565b600160a060020a03808716600081815260026020908152604080832033861684529091529081902093909355908616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9086905190815260200160405180910390a3600191505b509392505050565b60055481565b600160a060020a033381166000908152600260209081526040808320938616835292905290812054808311156106e257600160a060020a033381166000908152600260209081526040808320938816835292905290812055610719565b6106f2818463ffffffff610ac616565b600160a060020a033381166000908152600260209081526040808320938916835292905220555b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a3600191505b5092915050565b600160a060020a0381166000908152600160205260409020545b919050565b600654600160a060020a031681565b60048054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561049e5780601f106104735761010080835404028352916020019161049e565b820191906000526020600020905b81548152906001019060200180831161048157829003601f168201915b505050505081565b600160a060020a033316600090815260016020526040812054610876908363ffffffff610ac616565b600160a060020a0333811660009081526001602052604080822093909355908516815220546108ab908363ffffffff610add16565b600160a060020a0380851660008181526001602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060015b92915050565b600160a060020a033381166000908152600260209081526040808320938616835292905290812054610945908363ffffffff610add16565b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a35060015b92915050565b600160a060020a038083166000908152600260209081526040808320938516835292905220545b92915050565b600654600160a060020a031660009081526001602052604081205482901015610a0757600080fd5b600654600160a060020a0316600090815260016020526040902054610a32908363ffffffff610ac616565b600654600160a060020a039081166000908152600160205260408082209390935590851681522054610a6a908363ffffffff610add16565b600160a060020a0384166000818152600160205260409081902092909255907fc1d32ad5cca423e7dda2123dbf8c482f8e77d00b631c06e903a47f2cec1334df9084905190815260200160405180910390a25060015b92915050565b600082821115610ad257fe5b508082035b92915050565b600082820183811015610aec57fe5b8091505b50929150505600a165627a7a72305820320006d44d52118928c4f436b7e91659d75d0dfb2a0cda63603c8b4fed2d8fa3002900000000000000000000000000000000000000000017931c1885d0746c8000000000000000000000000000004a9502bc2ab5b16f6f9c070c4c106c528f096e350000000000000000000000004a38b9b470e6073a2ce8875c8b2cd8a8845fe97f00000000000000000000000000000000000000000011ae5512645c5751600000000000000000000000000000000000000000000000025b82cf4094d87140000000000000000000000000000000000000000000000003894436e0df44a9e00000
Deployed Bytecode
0x606060405236156100c25763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100c7578063095ea7b31461015257806318160ddd1461018857806323b872dd146101ad578063313ce567146101e9578063661884631461020e57806370a08231146102445780638f84aa091461027557806395d89b41146102a4578063a9059cbb1461032f578063d73dd62314610365578063dd62ed3e1461039b578063fb932108146103d2575b600080fd5b34156100d257600080fd5b6100da610408565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101175780820151818401525b6020016100fe565b50505050905090810190601f1680156101445780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561015d57600080fd5b610174600160a060020a03600435166024356104a6565b604051901515815260200160405180910390f35b341561019357600080fd5b61019b61054d565b60405190815260200160405180910390f35b34156101b857600080fd5b610174600160a060020a0360043581169060243516604435610553565b604051901515815260200160405180910390f35b34156101f457600080fd5b61019b61067f565b60405190815260200160405180910390f35b341561021957600080fd5b610174600160a060020a0360043516602435610685565b604051901515815260200160405180910390f35b341561024f57600080fd5b61019b600160a060020a0360043516610781565b60405190815260200160405180910390f35b341561028057600080fd5b6102886107a0565b604051600160a060020a03909116815260200160405180910390f35b34156102af57600080fd5b6100da6107af565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101175780820151818401525b6020016100fe565b50505050905090810190601f1680156101445780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561033a57600080fd5b610174600160a060020a036004351660243561084d565b604051901515815260200160405180910390f35b341561037057600080fd5b610174600160a060020a036004351660243561090d565b604051901515815260200160405180910390f35b34156103a657600080fd5b61019b600160a060020a03600435811690602435166109b2565b60405190815260200160405180910390f35b34156103dd57600080fd5b610174600160a060020a03600435166024356109df565b604051901515815260200160405180910390f35b60038054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561049e5780601f106104735761010080835404028352916020019161049e565b820191906000526020600020905b81548152906001019060200180831161048157829003601f168201915b505050505081565b60008115806104d85750600160a060020a03338116600090815260026020908152604080832093871683529290522054155b15156104e357600080fd5b600160a060020a03338116600081815260026020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b60005481565b600080600160a060020a038416151561056b57600080fd5b50600160a060020a038085166000818152600260209081526040808320339095168352938152838220549282526001905291909120546105b1908463ffffffff610ac616565b600160a060020a0380871660009081526001602052604080822093909355908616815220546105e6908463ffffffff610add16565b600160a060020a03851660009081526001602052604090205561060f818463ffffffff610ac616565b600160a060020a03808716600081815260026020908152604080832033861684529091529081902093909355908616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9086905190815260200160405180910390a3600191505b509392505050565b60055481565b600160a060020a033381166000908152600260209081526040808320938616835292905290812054808311156106e257600160a060020a033381166000908152600260209081526040808320938816835292905290812055610719565b6106f2818463ffffffff610ac616565b600160a060020a033381166000908152600260209081526040808320938916835292905220555b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a3600191505b5092915050565b600160a060020a0381166000908152600160205260409020545b919050565b600654600160a060020a031681565b60048054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561049e5780601f106104735761010080835404028352916020019161049e565b820191906000526020600020905b81548152906001019060200180831161048157829003601f168201915b505050505081565b600160a060020a033316600090815260016020526040812054610876908363ffffffff610ac616565b600160a060020a0333811660009081526001602052604080822093909355908516815220546108ab908363ffffffff610add16565b600160a060020a0380851660008181526001602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060015b92915050565b600160a060020a033381166000908152600260209081526040808320938616835292905290812054610945908363ffffffff610add16565b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a35060015b92915050565b600160a060020a038083166000908152600260209081526040808320938516835292905220545b92915050565b600654600160a060020a031660009081526001602052604081205482901015610a0757600080fd5b600654600160a060020a0316600090815260016020526040902054610a32908363ffffffff610ac616565b600654600160a060020a039081166000908152600160205260408082209390935590851681522054610a6a908363ffffffff610add16565b600160a060020a0384166000818152600160205260409081902092909255907fc1d32ad5cca423e7dda2123dbf8c482f8e77d00b631c06e903a47f2cec1334df9084905190815260200160405180910390a25060015b92915050565b600082821115610ad257fe5b508082035b92915050565b600082820183811015610aec57fe5b8091505b50929150505600a165627a7a72305820320006d44d52118928c4f436b7e91659d75d0dfb2a0cda63603c8b4fed2d8fa30029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000017931c1885d0746c8000000000000000000000000000004a9502bc2ab5b16f6f9c070c4c106c528f096e350000000000000000000000004a38b9b470e6073a2ce8875c8b2cd8a8845fe97f00000000000000000000000000000000000000000011ae5512645c5751600000000000000000000000000000000000000000000000025b82cf4094d87140000000000000000000000000000000000000000000000003894436e0df44a9e00000
-----Decoded View---------------
Arg [0] : _totalSupply (uint256): 28500000000000000000000000
Arg [1] : _ownerAddress (address): 0x4A9502bC2AB5B16f6F9C070c4c106C528f096e35
Arg [2] : smxTeamAddress (address): 0x4A38B9b470e6073a2CE8875c8b2cD8A8845fe97f
Arg [3] : allocCrowdsale (uint256): 21375000000000000000000000
Arg [4] : allocAdvBounties (uint256): 2850000000000000000000000
Arg [5] : allocTeam (uint256): 4275000000000000000000000
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000017931c1885d0746c800000
Arg [1] : 0000000000000000000000004a9502bc2ab5b16f6f9c070c4c106c528f096e35
Arg [2] : 0000000000000000000000004a38b9b470e6073a2ce8875c8b2cd8a8845fe97f
Arg [3] : 00000000000000000000000000000000000000000011ae5512645c5751600000
Arg [4] : 000000000000000000000000000000000000000000025b82cf4094d871400000
Arg [5] : 00000000000000000000000000000000000000000003894436e0df44a9e00000
Swarm Source
bzzr://320006d44d52118928c4f436b7e91659d75d0dfb2a0cda63603c8b4fed2d8fa3
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.