Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
30,000,000 DROP
Holders
286
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 0 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DroplexToken
Compiler Version
v0.4.11+commit.68ef5810
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2017-07-24 */ pragma solidity ^0.4.6; contract SafeMath { //internals function safeMul(uint a, uint b) internal returns (uint) { uint c = a * b; assert(a == 0 || c / a == b); return c; } function safeSub(uint a, uint b) internal returns (uint) { assert(b <= a); return a - b; } function safeAdd(uint a, uint b) internal returns (uint) { uint c = a + b; assert(c>=a && c>=b); return c; } function assert(bool assertion) internal { if (!assertion) throw; } } contract DroplexToken is SafeMath { /* Public variables of the token */ string public standard = 'ERC20'; string public name = 'Droplex Token'; string public symbol = 'DROP'; uint8 public decimals = 0; uint256 public totalSupply = 30000000; address public owner = 0xaBE3d12e5518BF8266bB91B56913962ce1F77CF4; /* from this time on tokens may be transfered (after ICO)*/ /* This creates an array with all balances */ mapping (address => uint256) public balanceOf; mapping (address => mapping (address => uint256)) public allowance; /* This generates a public event on the blockchain that will notify clients */ event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); /* Initializes contract with initial supply tokens to the creator of the contract */ function DroplexToken() { owner = 0xaBE3d12e5518BF8266bB91B56913962ce1F77CF4; balanceOf[owner] = 30000000; // Give the owner all initial tokens totalSupply = 30000000; // Update total supply } /* Send some of your tokens to a given address */ function transfer(address _to, uint256 _value) returns (bool success){ balanceOf[msg.sender] = safeSub(balanceOf[msg.sender],_value); // Subtract from the sender balanceOf[_to] = safeAdd(balanceOf[_to],_value); // Add the same to the recipient Transfer(msg.sender, _to, _value); // Notify anyone listening that this transfer took place return true; } /* Allow another contract or person to spend some tokens in your behalf */ function approve(address _spender, uint256 _value) returns (bool success) { allowance[msg.sender][_spender] = _value; Approval(msg.sender, _spender, _value); return true; } /* A contract or person attempts to get the tokens of somebody else. * This is only allowed if the token holder approved. */ function transferFrom(address _from, address _to, uint256 _value) returns (bool success) { var _allowance = allowance[_from][msg.sender]; balanceOf[_from] = safeSub(balanceOf[_from],_value); // Subtract from the sender balanceOf[_to] = safeAdd(balanceOf[_to],_value); // Add the same to the recipient allowance[_from][msg.sender] = safeSub(_allowance,_value); Transfer(_from, _to, _value); return true; } }
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":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"standard","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","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":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"inputs":[],"payable":false,"type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"}]
Contract Creation Code
60a0604052600560608190527f4552433230000000000000000000000000000000000000000000000000000000608090815261003e916000919061015b565b5060408051808201909152600d8082527f44726f706c657820546f6b656e0000000000000000000000000000000000000060209092019182526100839160019161015b565b506040805180820190915260048082527f44524f500000000000000000000000000000000000000000000000000000000060209092019182526100c89160029161015b565b506003805460ff191690556301c9c38060045560058054600160a060020a03191673abe3d12e5518bf8266bb91b56913962ce1f77cf4179055341561010957fe5b5b60058054600160a060020a03191673abe3d12e5518bf8266bb91b56913962ce1f77cf41790819055600160a060020a031660009081526006602052604090206301c9c380908190556004555b6101fb565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061019c57805160ff19168380011785556101c9565b828001600101855582156101c9579182015b828111156101c95782518255916020019190600101906101ae565b5b506101d69291506101da565b5090565b6101f891905b808211156101d657600081556001016101e0565b5090565b90565b6108638061020a6000396000f300606060405236156100ac5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100ae578063095ea7b31461013e57806318160ddd1461017157806323b872dd14610193578063313ce567146101cc5780635a3b7e42146101f257806370a08231146102825780638da5cb5b146102b057806395d89b41146102dc578063a9059cbb1461036c578063dd62ed3e1461039f575bfe5b34156100b657fe5b6100be6103d3565b604080516020808252835181830152835191928392908301918501908083838215610104575b80518252602083111561010457601f1990920191602091820191016100e4565b505050905090810190601f1680156101305780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561014657fe5b61015d600160a060020a0360043516602435610460565b604080519115158252519081900360200190f35b341561017957fe5b6101816104cb565b60408051918252519081900360200190f35b341561019b57fe5b61015d600160a060020a03600435811690602435166044356104d1565b604080519115158252519081900360200190f35b34156101d457fe5b6101dc6105d1565b6040805160ff9092168252519081900360200190f35b34156101fa57fe5b6100be6105da565b604080516020808252835181830152835191928392908301918501908083838215610104575b80518252602083111561010457601f1990920191602091820191016100e4565b505050905090810190601f1680156101305780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561028a57fe5b610181600160a060020a0360043516610668565b60408051918252519081900360200190f35b34156102b857fe5b6102c061067a565b60408051600160a060020a039092168252519081900360200190f35b34156102e457fe5b6100be610689565b604080516020808252835181830152835191928392908301918501908083838215610104575b80518252602083111561010457601f1990920191602091820191016100e4565b505050905090810190601f1680156101305780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561037457fe5b61015d600160a060020a0360043516602435610714565b604080519115158252519081900360200190f35b34156103a757fe5b610181600160a060020a03600435811690602435166107c8565b60408051918252519081900360200190f35b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104585780601f1061042d57610100808354040283529160200191610458565b820191906000526020600020905b81548152906001019060200180831161043b57829003601f168201915b505050505081565b600160a060020a03338116600081815260076020908152604080832094871680845294825280832086905580518681529051929493927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060015b92915050565b60045481565b600160a060020a03808416600081815260076020908152604080832033909516835293815283822054928252600690529182205461050f90846107e5565b600160a060020a03808716600090815260066020526040808220939093559086168152205461053e90846107fe565b600160a060020a03851660009081526006602052604090205561056181846107e5565b600160a060020a038087166000818152600760209081526040808320338616845282529182902094909455805187815290519288169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3600191505b509392505050565b60035460ff1681565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104585780601f1061042d57610100808354040283529160200191610458565b820191906000526020600020905b81548152906001019060200180831161043b57829003601f168201915b505050505081565b60066020526000908152604090205481565b600554600160a060020a031681565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156104585780601f1061042d57610100808354040283529160200191610458565b820191906000526020600020905b81548152906001019060200180831161043b57829003601f168201915b505050505081565b600160a060020a03331660009081526006602052604081205461073790836107e5565b600160a060020a03338116600090815260066020526040808220939093559085168152205461076690836107fe565b600160a060020a038085166000818152600660209081526040918290209490945580518681529051919333909316927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060015b92915050565b600760209081526000928352604080842090915290825290205481565b60006107f383831115610826565b508082035b92915050565b600082820161081b8482108015906108165750838210155b610826565b8091505b5092915050565b8015156108335760006000fd5b5b505600a165627a7a72305820e78ca2f82eb77a48b2b0c4946f787b9c2d603855ab62f330d12aa3e3bd9e6eb50029
Deployed Bytecode
0x606060405236156100ac5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100ae578063095ea7b31461013e57806318160ddd1461017157806323b872dd14610193578063313ce567146101cc5780635a3b7e42146101f257806370a08231146102825780638da5cb5b146102b057806395d89b41146102dc578063a9059cbb1461036c578063dd62ed3e1461039f575bfe5b34156100b657fe5b6100be6103d3565b604080516020808252835181830152835191928392908301918501908083838215610104575b80518252602083111561010457601f1990920191602091820191016100e4565b505050905090810190601f1680156101305780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561014657fe5b61015d600160a060020a0360043516602435610460565b604080519115158252519081900360200190f35b341561017957fe5b6101816104cb565b60408051918252519081900360200190f35b341561019b57fe5b61015d600160a060020a03600435811690602435166044356104d1565b604080519115158252519081900360200190f35b34156101d457fe5b6101dc6105d1565b6040805160ff9092168252519081900360200190f35b34156101fa57fe5b6100be6105da565b604080516020808252835181830152835191928392908301918501908083838215610104575b80518252602083111561010457601f1990920191602091820191016100e4565b505050905090810190601f1680156101305780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561028a57fe5b610181600160a060020a0360043516610668565b60408051918252519081900360200190f35b34156102b857fe5b6102c061067a565b60408051600160a060020a039092168252519081900360200190f35b34156102e457fe5b6100be610689565b604080516020808252835181830152835191928392908301918501908083838215610104575b80518252602083111561010457601f1990920191602091820191016100e4565b505050905090810190601f1680156101305780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561037457fe5b61015d600160a060020a0360043516602435610714565b604080519115158252519081900360200190f35b34156103a757fe5b610181600160a060020a03600435811690602435166107c8565b60408051918252519081900360200190f35b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104585780601f1061042d57610100808354040283529160200191610458565b820191906000526020600020905b81548152906001019060200180831161043b57829003601f168201915b505050505081565b600160a060020a03338116600081815260076020908152604080832094871680845294825280832086905580518681529051929493927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060015b92915050565b60045481565b600160a060020a03808416600081815260076020908152604080832033909516835293815283822054928252600690529182205461050f90846107e5565b600160a060020a03808716600090815260066020526040808220939093559086168152205461053e90846107fe565b600160a060020a03851660009081526006602052604090205561056181846107e5565b600160a060020a038087166000818152600760209081526040808320338616845282529182902094909455805187815290519288169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3600191505b509392505050565b60035460ff1681565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104585780601f1061042d57610100808354040283529160200191610458565b820191906000526020600020905b81548152906001019060200180831161043b57829003601f168201915b505050505081565b60066020526000908152604090205481565b600554600160a060020a031681565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156104585780601f1061042d57610100808354040283529160200191610458565b820191906000526020600020905b81548152906001019060200180831161043b57829003601f168201915b505050505081565b600160a060020a03331660009081526006602052604081205461073790836107e5565b600160a060020a03338116600090815260066020526040808220939093559085168152205461076690836107fe565b600160a060020a038085166000818152600660209081526040918290209490945580518681529051919333909316927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060015b92915050565b600760209081526000928352604080842090915290825290205481565b60006107f383831115610826565b508082035b92915050565b600082820161081b8482108015906108165750838210155b610826565b8091505b5092915050565b8015156108335760006000fd5b5b505600a165627a7a72305820e78ca2f82eb77a48b2b0c4946f787b9c2d603855ab62f330d12aa3e3bd9e6eb50029
Swarm Source
bzzr://e78ca2f82eb77a48b2b0c4946f787b9c2d603855ab62f330d12aa3e3bd9e6eb5
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.