Feature Tip: Add private address tag to any address under My Name Tag !
Lucre token contract has migrated to a new address. The new token can be found here.
ERC-20
Overview
Max Total Supply
11,161,296.83620063750067879 LCR
Holders
2,410
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:
Lucre
Compiler Version
v0.4.24+commit.e67f0147
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-11-02 */ pragma solidity ^0.4.23; contract Token { // ERC20 standard function balanceOf(address _owner) public view returns (uint256 balance); function transfer(address _to, uint256 _value) public returns (bool success); function transferFrom(address _from, address _to, uint256 _value) public returns (bool success); function approve(address _spender, uint256 _value) public returns (bool success); function allowance(address _owner, address _spender) public view returns (uint256 remaining); event Transfer(address indexed _from, address indexed _to, uint256 _value); event Approval(address indexed _owner, address indexed _spender, uint256 _value); } /** * Overflow aware uint math functions. * * Inspired by https://github.com/MakerDAO/maker-otc/blob/master/contracts/simple_market.sol */ contract SafeMath { function safeMul(uint a, uint b) internal pure returns (uint) { uint c = a * b; assert(a == 0 || c / a == b); return c; } function safeSub(uint a, uint b) internal pure returns (uint) { assert(b <= a); return a - b; } function safeAdd(uint a, uint b) internal pure returns (uint) { uint c = a + b; assert(c>=a && c>=b); return c; } function safeDiv(uint a, uint b) internal pure returns (uint) { // assert(b > 0); // Solidity automatically throws when dividing by 0 uint c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } // mitigate short address attack // thanks to https://github.com/numerai/contract/blob/c182465f82e50ced8dacb3977ec374a892f5fa8c/contracts/Safe.sol#L30-L34. // TODO: doublecheck implication of >= compared to == modifier onlyPayloadSize(uint numWords) { assert(msg.data.length >= numWords * 32 + 4); _; } } contract StandardToken is Token, SafeMath { uint256 public totalSupply; // TODO: update tests to expect throw function transfer(address _to, uint256 _value) public onlyPayloadSize(2) returns (bool success) { require(_to != address(0)); require(balances[msg.sender] >= _value && _value > 0); balances[msg.sender] = safeSub(balances[msg.sender], _value); balances[_to] = safeAdd(balances[_to], _value); emit Transfer(msg.sender, _to, _value); return true; } // TODO: update tests to expect throw function transferFrom(address _from, address _to, uint256 _value) public onlyPayloadSize(3) returns (bool success) { require(_to != address(0)); require(balances[_from] >= _value && allowed[_from][msg.sender] >= _value && _value > 0); balances[_from] = safeSub(balances[_from], _value); balances[_to] = safeAdd(balances[_to], _value); allowed[_from][msg.sender] = safeSub(allowed[_from][msg.sender], _value); emit Transfer(_from, _to, _value); return true; } function balanceOf(address _owner) public view returns (uint256 balance) { return balances[_owner]; } // 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 function approve(address _spender, uint256 _value) public onlyPayloadSize(2) returns (bool success) { require((_value == 0) || (allowed[msg.sender][_spender] == 0)); allowed[msg.sender][_spender] = _value; emit Approval(msg.sender, _spender, _value); return true; } function changeApproval(address _spender, uint256 _oldValue, uint256 _newValue) public onlyPayloadSize(3) returns (bool success) { require(allowed[msg.sender][_spender] == _oldValue); allowed[msg.sender][_spender] = _newValue; emit Approval(msg.sender, _spender, _newValue); return true; } function allowance(address _owner, address _spender) public view returns (uint256 remaining) { return allowed[_owner][_spender]; } mapping (address => uint256) balances; mapping (address => mapping (address => uint256)) allowed; } contract Lucre is StandardToken { // FIELDS string public name = "LUCRE"; string public symbol = "LCR"; uint256 public decimals = 18; string public version = "1.0"; uint256 public tokenCap = 12500000 * 10**18; // 10/80 // crowdsale parameters uint256 public startTime; uint256 public endTime; // root control address public fundWallet; // control of liquidity and limited control of updatePrice address public controlWallet; // company reserve, advisor fee & marketing address public companyWallet; // fundWallet controlled state variables // halted: halt buying due to emergency, tradeable: signal that assets have been acquired bool public halted = false; bool public tradeable = false; // -- totalSupply defined in StandardToken // -- mapping to token balances done in StandardToken uint256 public rate; uint256 public minAmount = 0.10 ether; // maps addresses mapping (address => bool) public whitelist; // EVENTS event Buy(address indexed participant, address indexed beneficiary, uint256 ethValue, uint256 amountTokens); event AllocatePresale(address indexed participant, uint256 amountTokens); event Whitelist(address indexed participant); event RateUpdate(uint256 rate); // MODIFIERS modifier isTradeable { // exempt companyWallet and fundWallet to allow company allocations require(tradeable || msg.sender == fundWallet || msg.sender == companyWallet); _; } modifier onlyWhitelist { require(whitelist[msg.sender]); _; } modifier onlyFundWallet { require(msg.sender == fundWallet); _; } modifier onlyManagingWallets { require(msg.sender == controlWallet || msg.sender == fundWallet || msg.sender == companyWallet); _; } modifier only_if_controlWallet { if (msg.sender == controlWallet) _; } // CONSTRUCTOR constructor (address controlWalletInput, address companyWalletInput, uint preSaleDays, uint mainSaleDays, uint256 rateInput) public { require(controlWalletInput != address(0)); require(rateInput > 0); startTime = now + preSaleDays * 1 days; // 30 days of presales (default) fundWallet = msg.sender; controlWallet = controlWalletInput; companyWallet = companyWalletInput; whitelist[fundWallet] = true; whitelist[controlWallet] = true; whitelist[companyWallet] = true; endTime = now + (preSaleDays + mainSaleDays) * 1 days; // mainSaleDays = 28 days (default) rate = rateInput; } // METHODS // allows controlWallet to update the price within a time constraint, allows fundWallet complete control function updateRate(uint256 newRate) external onlyManagingWallets { require(newRate > 0); // either controlWallet command is compliant or transaction came from fundWallet rate = newRate; emit RateUpdate(rate); } function allocateTokens(address participant, uint256 amountTokens) private { // 20% of total allocated for PR, Marketing, Team, Advisers uint256 companyAllocation = safeMul(amountTokens, 25000000000000000) / 100000000000000000; //20/80 // check that token cap is not exceeded uint256 newTokens = safeAdd(amountTokens, companyAllocation); require(safeAdd(totalSupply, newTokens) <= tokenCap); // increase token supply, assign tokens to participant totalSupply = safeAdd(totalSupply, newTokens); balances[participant] = safeAdd(balances[participant], amountTokens); balances[companyWallet] = safeAdd(balances[companyWallet], companyAllocation); } function allocatePresaleTokens(address participant, uint amountTokens) external onlyFundWallet { require(now < endTime); require(participant != address(0)); whitelist[participant] = true; // automatically whitelist accepted presale allocateTokens(participant, amountTokens); emit Whitelist(participant); emit AllocatePresale(participant, amountTokens); } function verifyParticipant(address participant) external onlyManagingWallets { whitelist[participant] = true; emit Whitelist(participant); } function buy() external payable { buyTo(msg.sender); } function buyTo(address participant) public payable onlyWhitelist { require(!halted); require(participant != address(0)); require(msg.value >= minAmount); require(now >= startTime && now < endTime); uint256 money = safeMul(msg.value, rate); uint256 bonusMoney = safeMul(money, getBonus()) / 100; uint256 tokensToBuy = safeAdd(money, bonusMoney); allocateTokens(participant, tokensToBuy); // send ether to fundWallet fundWallet.transfer(msg.value); emit Buy(msg.sender, participant, msg.value, tokensToBuy); } function getBonus() internal view returns (uint256) { uint256 icoDuration = safeSub(now, startTime); uint256 discount; if (icoDuration < 7 days) { discount = 0; } else if (icoDuration < 14 days) { discount = 10; // 10% bonus } else if (icoDuration < 21 days) { discount = 15; // 15% bonus } else { discount = 20; // 20% bonus } return discount; } function changeFundWallet(address newFundWallet) external onlyFundWallet { require(newFundWallet != address(0)); fundWallet = newFundWallet; } function changeControlWallet(address newControlWallet) external onlyFundWallet { require(newControlWallet != address(0)); controlWallet = newControlWallet; } function updateFundingStartTime(uint256 newStartTime) external onlyFundWallet { require(now < startTime); require(now < newStartTime); startTime = newStartTime; } function updateFundingEndTime(uint256 newEndTime) external onlyFundWallet { require(now < endTime); require(now < newEndTime); endTime = newEndTime; } function halt() external onlyFundWallet { halted = true; } function unhalt() external onlyFundWallet { halted = false; } function enableTrading() external onlyFundWallet { require(now > endTime); tradeable = true; } // fallback function function() external payable { buyTo(msg.sender); } function claimTokens(address _token) external onlyFundWallet { require(_token != address(0)); Token token = Token(_token); uint256 balance = token.balanceOf(this); token.transfer(fundWallet, balance); } // prevent transfers until trading allowed function transfer(address _to, uint256 _value) public isTradeable returns (bool success) { return super.transfer(_to, _value); } function transferFrom(address _from, address _to, uint256 _value) public isTradeable returns (bool success) { return super.transferFrom(_from, _to, _value); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newEndTime","type":"uint256"}],"name":"updateFundingEndTime","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"companyWallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","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,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"rate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"endTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"version","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newControlWallet","type":"address"}],"name":"changeControlWallet","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"halt","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"participant","type":"address"}],"name":"verifyParticipant","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"fundWallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newRate","type":"uint256"}],"name":"updateRate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newFundWallet","type":"address"}],"name":"changeFundWallet","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":"startTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"controlWallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"enableTrading","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"participant","type":"address"},{"name":"amountTokens","type":"uint256"}],"name":"allocatePresaleTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_oldValue","type":"uint256"},{"name":"_newValue","type":"uint256"}],"name":"changeApproval","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"whitelist","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"minAmount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"buy","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"halted","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newStartTime","type":"uint256"}],"name":"updateFundingStartTime","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"unhalt","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"participant","type":"address"}],"name":"buyTo","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"tokenCap","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":"_token","type":"address"}],"name":"claimTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"tradeable","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"controlWalletInput","type":"address"},{"name":"companyWalletInput","type":"address"},{"name":"preSaleDays","type":"uint256"},{"name":"mainSaleDays","type":"uint256"},{"name":"rateInput","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"participant","type":"address"},{"indexed":true,"name":"beneficiary","type":"address"},{"indexed":false,"name":"ethValue","type":"uint256"},{"indexed":false,"name":"amountTokens","type":"uint256"}],"name":"Buy","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"participant","type":"address"},{"indexed":false,"name":"amountTokens","type":"uint256"}],"name":"AllocatePresale","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"participant","type":"address"}],"name":"Whitelist","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"rate","type":"uint256"}],"name":"RateUpdate","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"}]
Contract Creation Code
60c0604052600560808190527f4c5543524500000000000000000000000000000000000000000000000000000060a090815262000040916003919062000203565b506040805180820190915260038082527f4c435200000000000000000000000000000000000000000000000000000000006020909201918252620000879160049162000203565b5060126005556040805180820190915260038082527f312e3000000000000000000000000000000000000000000000000000000000006020909201918252620000d39160069162000203565b506a0a56fa5b99019a5c800000600755600c805460a060020a61ffff021916905567016345785d8a0000600e553480156200010d57600080fd5b5060405160a080620017f78339810160409081528151602083015191830151606084015160809094015191939091600160a060020a03851615156200015157600080fd5b600081116200015f57600080fd5b42620151808085028201600855600a8054600160a060020a0319908116331791829055600b8054600160a060020a039a8b16908316178155600c8054998b16999092169890981781559088166000908152600f6020526040808220805460ff19908116600190811790925599548b16835281832080548b168217905592549099168152979097208054909616909617909455910190920201600955600d55620002a8565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200024657805160ff191683800117855562000276565b8280016001018555821562000276579182015b828111156200027657825182559160200191906001019062000259565b506200028492915062000288565b5090565b620002a591905b808211156200028457600081556001016200028f565b90565b61153f80620002b86000396000f3006080604052600436106101b65763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146101c1578063095ea7b31461024b5780630e8e99761461028357806318160ddd1461029b5780631ec32d15146102c257806323b872dd146102f35780632c4e722e1461031d578063313ce567146103325780633197cbb61461034757806354fd4d501461035c5780635a8cf571146103715780635ed7ca5b14610392578063643a7695146103a7578063664a1ad6146103c857806369ea1771146103dd5780636fb4adff146103f557806370a082311461041657806378e9792514610437578063823e569e1461044c5780638a8c523c146104615780638fee7687146104765780639281cd651461049a57806395d89b41146104c15780639b19251a146104d65780639b2cb5d8146104f7578063a6f2ae3a1461050c578063a9059cbb14610514578063b9b8af0b14610538578063cac1ad381461054d578063cb3e64fd14610565578063dcf72c101461057a578063dd54291b1461058e578063dd62ed3e146105a3578063df8de3e7146105ca578063f5ac9db6146105eb575b6101bf33610600565b005b3480156101cd57600080fd5b506101d6610757565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102105781810151838201526020016101f8565b50505050905090810190601f16801561023d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561025757600080fd5b5061026f600160a060020a03600435166024356107e5565b604080519115158252519081900360200190f35b34801561028f57600080fd5b506101bf600435610895565b3480156102a757600080fd5b506102b06108cb565b60408051918252519081900360200190f35b3480156102ce57600080fd5b506102d76108d1565b60408051600160a060020a039092168252519081900360200190f35b3480156102ff57600080fd5b5061026f600160a060020a03600435811690602435166044356108e0565b34801561032957600080fd5b506102b061094a565b34801561033e57600080fd5b506102b0610950565b34801561035357600080fd5b506102b0610956565b34801561036857600080fd5b506101d661095c565b34801561037d57600080fd5b506101bf600160a060020a03600435166109b7565b34801561039e57600080fd5b506101bf610a12565b3480156103b357600080fd5b506101bf600160a060020a0360043516610a60565b3480156103d457600080fd5b506102d7610aef565b3480156103e957600080fd5b506101bf600435610afe565b34801561040157600080fd5b506101bf600160a060020a0360043516610b89565b34801561042257600080fd5b506102b0600160a060020a0360043516610be4565b34801561044357600080fd5b506102b0610bff565b34801561045857600080fd5b506102d7610c05565b34801561046d57600080fd5b506101bf610c14565b34801561048257600080fd5b506101bf600160a060020a0360043516602435610c72565b3480156104a657600080fd5b5061026f600160a060020a0360043516602435604435610d50565b3480156104cd57600080fd5b506101d6610df7565b3480156104e257600080fd5b5061026f600160a060020a0360043516610e52565b34801561050357600080fd5b506102b0610e67565b6101bf610e6d565b34801561052057600080fd5b5061026f600160a060020a0360043516602435610e78565b34801561054457600080fd5b5061026f610ee0565b34801561055957600080fd5b506101bf600435610f01565b34801561057157600080fd5b506101bf610f37565b6101bf600160a060020a0360043516610600565b34801561059a57600080fd5b506102b0610f6e565b3480156105af57600080fd5b506102b0600160a060020a0360043581169060243516610f74565b3480156105d657600080fd5b506101bf600160a060020a0360043516610f9f565b3480156105f757600080fd5b5061026f611103565b336000908152600f60205260408120548190819060ff16151561062257600080fd5b600c5474010000000000000000000000000000000000000000900460ff161561064a57600080fd5b600160a060020a038416151561065f57600080fd5b600e5434101561066e57600080fd5b6008544210158015610681575060095442105b151561068c57600080fd5b61069834600d54611125565b925060646106ad846106a8611149565b611125565b8115156106b657fe5b0491506106c3838361119f565b90506106cf84826111b9565b600a54604051600160a060020a03909116903480156108fc02916000818181858888f19350505050158015610708573d6000803e3d6000fd5b5060408051348152602081018390528151600160a060020a0387169233927f89f5adc174562e07c9c9b1cae7109bbecb21cf9d1b2847e550042b8653c54a0e929081900390910190a350505050565b6003805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156107dd5780601f106107b2576101008083540402835291602001916107dd565b820191906000526020600020905b8154815290600101906020018083116107c057829003601f168201915b505050505081565b6000600260443610156107f457fe5b8215806108225750336000908152600260209081526040808320600160a060020a0388168452909152902054155b151561082d57600080fd5b336000818152600260209081526040808320600160a060020a03891680855290835292819020879055805187815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b600a54600160a060020a031633146108ac57600080fd5b60095442106108ba57600080fd5b4281116108c657600080fd5b600955565b60005481565b600c54600160a060020a031681565b600c546000907501000000000000000000000000000000000000000000900460ff16806109175750600a54600160a060020a031633145b8061092c5750600c54600160a060020a031633145b151561093757600080fd5b61094284848461128c565b949350505050565b600d5481565b60055481565b60095481565b6006805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156107dd5780601f106107b2576101008083540402835291602001916107dd565b600a54600160a060020a031633146109ce57600080fd5b600160a060020a03811615156109e357600080fd5b600b805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600a54600160a060020a03163314610a2957600080fd5b600c805474ff0000000000000000000000000000000000000000191674010000000000000000000000000000000000000000179055565b600b54600160a060020a0316331480610a835750600a54600160a060020a031633145b80610a985750600c54600160a060020a031633145b1515610aa357600080fd5b600160a060020a0381166000818152600f6020526040808220805460ff19166001179055517feb73900b98b6a3e2b8b01708fe544760cf570d21e7fbe5225f24e48b5b2b432e9190a250565b600a54600160a060020a031681565b600b54600160a060020a0316331480610b215750600a54600160a060020a031633145b80610b365750600c54600160a060020a031633145b1515610b4157600080fd5b60008111610b4e57600080fd5b600d8190556040805182815290517f9b831dcbec52dfe52b187da18aae08651dfb726e9baf49d5d9eae6fa264db3a19181900360200190a150565b600a54600160a060020a03163314610ba057600080fd5b600160a060020a0381161515610bb557600080fd5b600a805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a031660009081526001602052604090205490565b60085481565b600b54600160a060020a031681565b600a54600160a060020a03163314610c2b57600080fd5b6009544211610c3957600080fd5b600c805475ff00000000000000000000000000000000000000000019167501000000000000000000000000000000000000000000179055565b600a54600160a060020a03163314610c8957600080fd5b6009544210610c9757600080fd5b600160a060020a0382161515610cac57600080fd5b600160a060020a0382166000908152600f60205260409020805460ff19166001179055610cd982826111b9565b604051600160a060020a038316907feb73900b98b6a3e2b8b01708fe544760cf570d21e7fbe5225f24e48b5b2b432e90600090a2604080518281529051600160a060020a038416917f69488271d7ab6c5d1d852b2fedbeafcee0ad158162b8c58145130bacd56bff76919081900360200190a25050565b600060036064361015610d5f57fe5b336000908152600260209081526040808320600160a060020a03891684529091529020548414610d8e57600080fd5b336000818152600260209081526040808320600160a060020a038a1680855290835292819020879055805187815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a3506001949350505050565b6004805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156107dd5780601f106107b2576101008083540402835291602001916107dd565b600f6020526000908152604090205460ff1681565b600e5481565b610e7633610600565b565b600c546000907501000000000000000000000000000000000000000000900460ff1680610eaf5750600a54600160a060020a031633145b80610ec45750600c54600160a060020a031633145b1515610ecf57600080fd5b610ed9838361140e565b9392505050565b600c5474010000000000000000000000000000000000000000900460ff1681565b600a54600160a060020a03163314610f1857600080fd5b6008544210610f2657600080fd5b428111610f3257600080fd5b600855565b600a54600160a060020a03163314610f4e57600080fd5b600c805474ff000000000000000000000000000000000000000019169055565b60075481565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b600a546000908190600160a060020a03163314610fbb57600080fd5b600160a060020a0383161515610fd057600080fd5b604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051849350600160a060020a038416916370a082319160248083019260209291908290030181600087803b15801561103457600080fd5b505af1158015611048573d6000803e3d6000fd5b505050506040513d602081101561105e57600080fd5b5051600a54604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810184905290519293509084169163a9059cbb916044808201926020929091908290030181600087803b1580156110d257600080fd5b505af11580156110e6573d6000803e3d6000fd5b505050506040513d60208110156110fc57600080fd5b5050505050565b600c547501000000000000000000000000000000000000000000900460ff1681565b6000828202831580611141575082848281151561113e57fe5b04145b1515610ed957fe5b600080600061115a42600854611501565b915062093a8082101561116f57506000611199565b621275008210156111825750600a611199565b621baf808210156111955750600f611199565b5060145b92915050565b6000828201838110801590611141575082811015610ed957fe5b60008067016345785d8a00006111d6846658d15e17628000611125565b8115156111df57fe5b0491506111ec838361119f565b90506007546111fd6000548361119f565b111561120857600080fd5b6112146000548261119f565b6000908155600160a060020a038516815260016020526040902054611239908461119f565b600160a060020a0380861660009081526001602052604080822093909355600c549091168152205461126b908361119f565b600c54600160a060020a031660009081526001602052604090205550505050565b60006003606436101561129b57fe5b600160a060020a03841615156112b057600080fd5b600160a060020a03851660009081526001602052604090205483118015906112fb5750600160a060020a03851660009081526002602090815260408083203384529091529020548311155b80156113075750600083115b151561131257600080fd5b600160a060020a0385166000908152600160205260409020546113359084611501565b600160a060020a038087166000908152600160205260408082209390935590861681522054611364908461119f565b600160a060020a0380861660009081526001602090815260408083209490945591881681526002825282812033825290915220546113a29084611501565b600160a060020a03808716600081815260026020908152604080832033845282529182902094909455805187815290519288169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3506001949350505050565b60006002604436101561141d57fe5b600160a060020a038416151561143257600080fd5b3360009081526001602052604090205483118015906114515750600083115b151561145c57600080fd5b336000908152600160205260409020546114769084611501565b3360009081526001602052604080822092909255600160a060020a038616815220546114a2908461119f565b600160a060020a0385166000818152600160209081526040918290209390935580518681529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35060019392505050565b60008282111561150d57fe5b509003905600a165627a7a723058204f110c9d468c8ed59ad06290ea2cafa00afa0a7eaeb9725783407d0007a31f6200290000000000000000000000001868561c3ff89e92602afa604f781e215284c31d000000000000000000000000b4d5056d84d81f0921f48b760d81a23ef56f040c000000000000000000000000000000000000000000000000000000000000001e000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000c8
Deployed Bytecode
0x6080604052600436106101b65763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146101c1578063095ea7b31461024b5780630e8e99761461028357806318160ddd1461029b5780631ec32d15146102c257806323b872dd146102f35780632c4e722e1461031d578063313ce567146103325780633197cbb61461034757806354fd4d501461035c5780635a8cf571146103715780635ed7ca5b14610392578063643a7695146103a7578063664a1ad6146103c857806369ea1771146103dd5780636fb4adff146103f557806370a082311461041657806378e9792514610437578063823e569e1461044c5780638a8c523c146104615780638fee7687146104765780639281cd651461049a57806395d89b41146104c15780639b19251a146104d65780639b2cb5d8146104f7578063a6f2ae3a1461050c578063a9059cbb14610514578063b9b8af0b14610538578063cac1ad381461054d578063cb3e64fd14610565578063dcf72c101461057a578063dd54291b1461058e578063dd62ed3e146105a3578063df8de3e7146105ca578063f5ac9db6146105eb575b6101bf33610600565b005b3480156101cd57600080fd5b506101d6610757565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102105781810151838201526020016101f8565b50505050905090810190601f16801561023d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561025757600080fd5b5061026f600160a060020a03600435166024356107e5565b604080519115158252519081900360200190f35b34801561028f57600080fd5b506101bf600435610895565b3480156102a757600080fd5b506102b06108cb565b60408051918252519081900360200190f35b3480156102ce57600080fd5b506102d76108d1565b60408051600160a060020a039092168252519081900360200190f35b3480156102ff57600080fd5b5061026f600160a060020a03600435811690602435166044356108e0565b34801561032957600080fd5b506102b061094a565b34801561033e57600080fd5b506102b0610950565b34801561035357600080fd5b506102b0610956565b34801561036857600080fd5b506101d661095c565b34801561037d57600080fd5b506101bf600160a060020a03600435166109b7565b34801561039e57600080fd5b506101bf610a12565b3480156103b357600080fd5b506101bf600160a060020a0360043516610a60565b3480156103d457600080fd5b506102d7610aef565b3480156103e957600080fd5b506101bf600435610afe565b34801561040157600080fd5b506101bf600160a060020a0360043516610b89565b34801561042257600080fd5b506102b0600160a060020a0360043516610be4565b34801561044357600080fd5b506102b0610bff565b34801561045857600080fd5b506102d7610c05565b34801561046d57600080fd5b506101bf610c14565b34801561048257600080fd5b506101bf600160a060020a0360043516602435610c72565b3480156104a657600080fd5b5061026f600160a060020a0360043516602435604435610d50565b3480156104cd57600080fd5b506101d6610df7565b3480156104e257600080fd5b5061026f600160a060020a0360043516610e52565b34801561050357600080fd5b506102b0610e67565b6101bf610e6d565b34801561052057600080fd5b5061026f600160a060020a0360043516602435610e78565b34801561054457600080fd5b5061026f610ee0565b34801561055957600080fd5b506101bf600435610f01565b34801561057157600080fd5b506101bf610f37565b6101bf600160a060020a0360043516610600565b34801561059a57600080fd5b506102b0610f6e565b3480156105af57600080fd5b506102b0600160a060020a0360043581169060243516610f74565b3480156105d657600080fd5b506101bf600160a060020a0360043516610f9f565b3480156105f757600080fd5b5061026f611103565b336000908152600f60205260408120548190819060ff16151561062257600080fd5b600c5474010000000000000000000000000000000000000000900460ff161561064a57600080fd5b600160a060020a038416151561065f57600080fd5b600e5434101561066e57600080fd5b6008544210158015610681575060095442105b151561068c57600080fd5b61069834600d54611125565b925060646106ad846106a8611149565b611125565b8115156106b657fe5b0491506106c3838361119f565b90506106cf84826111b9565b600a54604051600160a060020a03909116903480156108fc02916000818181858888f19350505050158015610708573d6000803e3d6000fd5b5060408051348152602081018390528151600160a060020a0387169233927f89f5adc174562e07c9c9b1cae7109bbecb21cf9d1b2847e550042b8653c54a0e929081900390910190a350505050565b6003805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156107dd5780601f106107b2576101008083540402835291602001916107dd565b820191906000526020600020905b8154815290600101906020018083116107c057829003601f168201915b505050505081565b6000600260443610156107f457fe5b8215806108225750336000908152600260209081526040808320600160a060020a0388168452909152902054155b151561082d57600080fd5b336000818152600260209081526040808320600160a060020a03891680855290835292819020879055805187815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b600a54600160a060020a031633146108ac57600080fd5b60095442106108ba57600080fd5b4281116108c657600080fd5b600955565b60005481565b600c54600160a060020a031681565b600c546000907501000000000000000000000000000000000000000000900460ff16806109175750600a54600160a060020a031633145b8061092c5750600c54600160a060020a031633145b151561093757600080fd5b61094284848461128c565b949350505050565b600d5481565b60055481565b60095481565b6006805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156107dd5780601f106107b2576101008083540402835291602001916107dd565b600a54600160a060020a031633146109ce57600080fd5b600160a060020a03811615156109e357600080fd5b600b805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600a54600160a060020a03163314610a2957600080fd5b600c805474ff0000000000000000000000000000000000000000191674010000000000000000000000000000000000000000179055565b600b54600160a060020a0316331480610a835750600a54600160a060020a031633145b80610a985750600c54600160a060020a031633145b1515610aa357600080fd5b600160a060020a0381166000818152600f6020526040808220805460ff19166001179055517feb73900b98b6a3e2b8b01708fe544760cf570d21e7fbe5225f24e48b5b2b432e9190a250565b600a54600160a060020a031681565b600b54600160a060020a0316331480610b215750600a54600160a060020a031633145b80610b365750600c54600160a060020a031633145b1515610b4157600080fd5b60008111610b4e57600080fd5b600d8190556040805182815290517f9b831dcbec52dfe52b187da18aae08651dfb726e9baf49d5d9eae6fa264db3a19181900360200190a150565b600a54600160a060020a03163314610ba057600080fd5b600160a060020a0381161515610bb557600080fd5b600a805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a031660009081526001602052604090205490565b60085481565b600b54600160a060020a031681565b600a54600160a060020a03163314610c2b57600080fd5b6009544211610c3957600080fd5b600c805475ff00000000000000000000000000000000000000000019167501000000000000000000000000000000000000000000179055565b600a54600160a060020a03163314610c8957600080fd5b6009544210610c9757600080fd5b600160a060020a0382161515610cac57600080fd5b600160a060020a0382166000908152600f60205260409020805460ff19166001179055610cd982826111b9565b604051600160a060020a038316907feb73900b98b6a3e2b8b01708fe544760cf570d21e7fbe5225f24e48b5b2b432e90600090a2604080518281529051600160a060020a038416917f69488271d7ab6c5d1d852b2fedbeafcee0ad158162b8c58145130bacd56bff76919081900360200190a25050565b600060036064361015610d5f57fe5b336000908152600260209081526040808320600160a060020a03891684529091529020548414610d8e57600080fd5b336000818152600260209081526040808320600160a060020a038a1680855290835292819020879055805187815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a3506001949350505050565b6004805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156107dd5780601f106107b2576101008083540402835291602001916107dd565b600f6020526000908152604090205460ff1681565b600e5481565b610e7633610600565b565b600c546000907501000000000000000000000000000000000000000000900460ff1680610eaf5750600a54600160a060020a031633145b80610ec45750600c54600160a060020a031633145b1515610ecf57600080fd5b610ed9838361140e565b9392505050565b600c5474010000000000000000000000000000000000000000900460ff1681565b600a54600160a060020a03163314610f1857600080fd5b6008544210610f2657600080fd5b428111610f3257600080fd5b600855565b600a54600160a060020a03163314610f4e57600080fd5b600c805474ff000000000000000000000000000000000000000019169055565b60075481565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b600a546000908190600160a060020a03163314610fbb57600080fd5b600160a060020a0383161515610fd057600080fd5b604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051849350600160a060020a038416916370a082319160248083019260209291908290030181600087803b15801561103457600080fd5b505af1158015611048573d6000803e3d6000fd5b505050506040513d602081101561105e57600080fd5b5051600a54604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810184905290519293509084169163a9059cbb916044808201926020929091908290030181600087803b1580156110d257600080fd5b505af11580156110e6573d6000803e3d6000fd5b505050506040513d60208110156110fc57600080fd5b5050505050565b600c547501000000000000000000000000000000000000000000900460ff1681565b6000828202831580611141575082848281151561113e57fe5b04145b1515610ed957fe5b600080600061115a42600854611501565b915062093a8082101561116f57506000611199565b621275008210156111825750600a611199565b621baf808210156111955750600f611199565b5060145b92915050565b6000828201838110801590611141575082811015610ed957fe5b60008067016345785d8a00006111d6846658d15e17628000611125565b8115156111df57fe5b0491506111ec838361119f565b90506007546111fd6000548361119f565b111561120857600080fd5b6112146000548261119f565b6000908155600160a060020a038516815260016020526040902054611239908461119f565b600160a060020a0380861660009081526001602052604080822093909355600c549091168152205461126b908361119f565b600c54600160a060020a031660009081526001602052604090205550505050565b60006003606436101561129b57fe5b600160a060020a03841615156112b057600080fd5b600160a060020a03851660009081526001602052604090205483118015906112fb5750600160a060020a03851660009081526002602090815260408083203384529091529020548311155b80156113075750600083115b151561131257600080fd5b600160a060020a0385166000908152600160205260409020546113359084611501565b600160a060020a038087166000908152600160205260408082209390935590861681522054611364908461119f565b600160a060020a0380861660009081526001602090815260408083209490945591881681526002825282812033825290915220546113a29084611501565b600160a060020a03808716600081815260026020908152604080832033845282529182902094909455805187815290519288169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3506001949350505050565b60006002604436101561141d57fe5b600160a060020a038416151561143257600080fd5b3360009081526001602052604090205483118015906114515750600083115b151561145c57600080fd5b336000908152600160205260409020546114769084611501565b3360009081526001602052604080822092909255600160a060020a038616815220546114a2908461119f565b600160a060020a0385166000818152600160209081526040918290209390935580518681529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35060019392505050565b60008282111561150d57fe5b509003905600a165627a7a723058204f110c9d468c8ed59ad06290ea2cafa00afa0a7eaeb9725783407d0007a31f620029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000001868561c3ff89e92602afa604f781e215284c31d000000000000000000000000b4d5056d84d81f0921f48b760d81a23ef56f040c000000000000000000000000000000000000000000000000000000000000001e000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000c8
-----Decoded View---------------
Arg [0] : controlWalletInput (address): 0x1868561c3ff89E92602aFA604F781e215284c31D
Arg [1] : companyWalletInput (address): 0xB4D5056d84D81F0921f48b760d81A23Ef56F040c
Arg [2] : preSaleDays (uint256): 30
Arg [3] : mainSaleDays (uint256): 28
Arg [4] : rateInput (uint256): 200
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000001868561c3ff89e92602afa604f781e215284c31d
Arg [1] : 000000000000000000000000b4d5056d84d81f0921f48b760d81a23ef56f040c
Arg [2] : 000000000000000000000000000000000000000000000000000000000000001e
Arg [3] : 000000000000000000000000000000000000000000000000000000000000001c
Arg [4] : 00000000000000000000000000000000000000000000000000000000000000c8
Swarm Source
bzzr://4f110c9d468c8ed59ad06290ea2cafa00afa0a7eaeb9725783407d0007a31f62
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.