ERC-20
Overview
Max Total Supply
50,000,000 Dapp
Holders
93
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 6 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
CustomToken
Compiler Version
v0.4.25+commit.59dbf8f1
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2019-01-14 */ pragma solidity ^0.4.25; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0); uint256 c = a / b; return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a); uint256 c = a - b; return c; } function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a); return c; } function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b != 0); return a % b; } } contract Ownable { address public owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); modifier onlyOwner() { require(msg.sender == owner); _; } function transferOwnership(address newOwner) public onlyOwner { require(newOwner != address(0)); emit OwnershipTransferred(owner, newOwner); owner = newOwner; } function renounceOwnership() public onlyOwner { emit OwnershipTransferred(owner, address(0)); owner = address(0); } } contract Pausable is Ownable { bool public paused; event Paused(address account); event Unpaused(address account); constructor() internal { paused = false; } modifier whenNotPaused() { require(!paused); _; } modifier whenPaused() { require(paused); _; } function pause() public onlyOwner whenNotPaused { paused = true; emit Paused(msg.sender); } function unpause() public onlyOwner whenPaused { paused = false; emit Unpaused(msg.sender); } } contract BaseToken is Pausable { using SafeMath for uint256; string constant public name = 'Dapper'; string constant public symbol = 'Dapp'; uint8 constant public decimals = 6; uint256 public totalSupply = 50000000000000; uint256 constant public _totalLimit = 100000000000000000000; mapping (address => uint256) public balanceOf; mapping (address => mapping (address => uint256)) public allowance; event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); function _transfer(address from, address to, uint value) internal { require(to != address(0)); balanceOf[from] = balanceOf[from].sub(value); balanceOf[to] = balanceOf[to].add(value); emit Transfer(from, to, value); } function _mint(address account, uint256 value) internal { require(account != address(0)); totalSupply = totalSupply.add(value); require(_totalLimit >= totalSupply); balanceOf[account] = balanceOf[account].add(value); emit Transfer(address(0), account, value); } function transfer(address to, uint256 value) public whenNotPaused returns (bool) { _transfer(msg.sender, to, value); return true; } function transferFrom(address from, address to, uint256 value) public whenNotPaused returns (bool) { allowance[from][msg.sender] = allowance[from][msg.sender].sub(value); _transfer(from, to, value); return true; } function approve(address spender, uint256 value) public whenNotPaused returns (bool) { require(spender != address(0)); allowance[msg.sender][spender] = value; emit Approval(msg.sender, spender, value); return true; } function increaseAllowance(address spender, uint256 addedValue) public whenNotPaused returns (bool) { require(spender != address(0)); allowance[msg.sender][spender] = allowance[msg.sender][spender].add(addedValue); emit Approval(msg.sender, spender, allowance[msg.sender][spender]); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) public whenNotPaused returns (bool) { require(spender != address(0)); allowance[msg.sender][spender] = allowance[msg.sender][spender].sub(subtractedValue); emit Approval(msg.sender, spender, allowance[msg.sender][spender]); return true; } } contract BurnToken is BaseToken { event Burn(address indexed from, uint256 value); function burn(uint256 value) public whenNotPaused returns (bool) { balanceOf[msg.sender] = balanceOf[msg.sender].sub(value); totalSupply = totalSupply.sub(value); emit Burn(msg.sender, value); return true; } function burnFrom(address from, uint256 value) public whenNotPaused returns (bool) { allowance[from][msg.sender] = allowance[from][msg.sender].sub(value); balanceOf[from] = balanceOf[from].sub(value); totalSupply = totalSupply.sub(value); emit Burn(from, value); return true; } } contract CustomToken is BaseToken, BurnToken { constructor() public { balanceOf[0x8F1E8C7050D9bd74D7658CbF3b437826b9FB4Bf8] = totalSupply; emit Transfer(address(0), 0x8F1E8C7050D9bd74D7658CbF3b437826b9FB4Bf8, totalSupply); owner = 0x8F1E8C7050D9bd74D7658CbF3b437826b9FB4Bf8; } }
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":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"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":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"_totalLimit","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"unpause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"value","type":"uint256"}],"name":"burn","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"value","type":"uint256"}],"name":"burnFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"pause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Burn","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"},{"anonymous":false,"inputs":[{"indexed":false,"name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]
Contract Creation Code
6080604052652d79883d200060015534801561001a57600080fd5b506000805460a060020a60ff0219168155600154738f1e8c7050d9bd74d7658cbf3b437826b9fb4bf8808352600260209081527f2269bdf3d5e1942d5a2f0675cfeb693f83e5a0f1df04d654de2c15b446721b2183905560408051938452519193927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a360008054600160a060020a031916738f1e8c7050d9bd74d7658cbf3b437826b9fb4bf8179055610c2c806100dc6000396000f3006080604052600436106101115763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610116578063095ea7b3146101a057806318160ddd146101d857806323b872dd146101ff578063313ce56714610229578063395093511461025457806339f85f5d146102785780633f4ba83a1461028d57806342966c68146102a45780635c975abb146102bc57806370a08231146102d1578063715018a6146102f257806379cc6790146103075780638456cb591461032b5780638da5cb5b1461034057806395d89b4114610371578063a457c2d714610386578063a9059cbb146103aa578063dd62ed3e146103ce578063f2fde38b146103f5575b600080fd5b34801561012257600080fd5b5061012b610416565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561016557818101518382015260200161014d565b50505050905090810190601f1680156101925780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101ac57600080fd5b506101c4600160a060020a036004351660243561044d565b604080519115158252519081900360200190f35b3480156101e457600080fd5b506101ed6104e1565b60408051918252519081900360200190f35b34801561020b57600080fd5b506101c4600160a060020a03600435811690602435166044356104e7565b34801561023557600080fd5b5061023e61056c565b6040805160ff9092168252519081900360200190f35b34801561026057600080fd5b506101c4600160a060020a0360043516602435610571565b34801561028457600080fd5b506101ed610637565b34801561029957600080fd5b506102a2610644565b005b3480156102b057600080fd5b506101c46004356106c6565b3480156102c857600080fd5b506101c4610762565b3480156102dd57600080fd5b506101ed600160a060020a0360043516610772565b3480156102fe57600080fd5b506102a2610784565b34801561031357600080fd5b506101c4600160a060020a03600435166024356107f2565b34801561033757600080fd5b506102a26108f6565b34801561034c57600080fd5b5061035561097d565b60408051600160a060020a039092168252519081900360200190f35b34801561037d57600080fd5b5061012b61098c565b34801561039257600080fd5b506101c4600160a060020a03600435166024356109c3565b3480156103b657600080fd5b506101c4600160a060020a0360043516602435610a24565b3480156103da57600080fd5b506101ed600160a060020a0360043581169060243516610a50565b34801561040157600080fd5b506102a2600160a060020a0360043516610a6d565b60408051808201909152600681527f4461707065720000000000000000000000000000000000000000000000000000602082015281565b6000805460a060020a900460ff161561046557600080fd5b600160a060020a038316151561047a57600080fd5b336000818152600360209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b60015481565b6000805460a060020a900460ff16156104ff57600080fd5b600160a060020a0384166000908152600360209081526040808320338452909152902054610533908363ffffffff610b0116565b600160a060020a0385166000908152600360209081526040808320338452909152902055610562848484610b18565b5060019392505050565b600681565b6000805460a060020a900460ff161561058957600080fd5b600160a060020a038316151561059e57600080fd5b336000908152600360209081526040808320600160a060020a03871684529091529020546105d2908363ffffffff610be716565b336000818152600360209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b68056bc75e2d6310000081565b600054600160a060020a0316331461065b57600080fd5b60005460a060020a900460ff16151561067357600080fd5b6000805474ff0000000000000000000000000000000000000000191690556040805133815290517f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa9181900360200190a1565b6000805460a060020a900460ff16156106de57600080fd5b336000908152600260205260409020546106fe908363ffffffff610b0116565b33600090815260026020526040902055600154610721908363ffffffff610b0116565b60015560408051838152905133917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a2506001919050565b60005460a060020a900460ff1681565b60026020526000908152604090205481565b600054600160a060020a0316331461079b57600080fd5b60008054604051600160a060020a03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36000805473ffffffffffffffffffffffffffffffffffffffff19169055565b6000805460a060020a900460ff161561080a57600080fd5b600160a060020a038316600090815260036020908152604080832033845290915290205461083e908363ffffffff610b0116565b600160a060020a03841660008181526003602090815260408083203384528252808320949094559181526002909152205461087f908363ffffffff610b0116565b600160a060020a0384166000908152600260205260409020556001546108ab908363ffffffff610b0116565b600155604080518381529051600160a060020a038516917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a250600192915050565b600054600160a060020a0316331461090d57600080fd5b60005460a060020a900460ff161561092457600080fd5b6000805474ff0000000000000000000000000000000000000000191660a060020a1790556040805133815290517f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2589181900360200190a1565b600054600160a060020a031681565b60408051808201909152600481527f4461707000000000000000000000000000000000000000000000000000000000602082015281565b6000805460a060020a900460ff16156109db57600080fd5b600160a060020a03831615156109f057600080fd5b336000908152600360209081526040808320600160a060020a03871684529091529020546105d2908363ffffffff610b0116565b6000805460a060020a900460ff1615610a3c57600080fd5b610a47338484610b18565b50600192915050565b600360209081526000928352604080842090915290825290205481565b600054600160a060020a03163314610a8457600080fd5b600160a060020a0381161515610a9957600080fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60008083831115610b1157600080fd5b5050900390565b600160a060020a0382161515610b2d57600080fd5b600160a060020a038316600090815260026020526040902054610b56908263ffffffff610b0116565b600160a060020a038085166000908152600260205260408082209390935590841681522054610b8b908263ffffffff610be716565b600160a060020a0380841660008181526002602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600082820183811015610bf957600080fd5b93925050505600a165627a7a723058209e508b940a9c8e131c47557824d6a993f690369c79d1538a05a35ccd1bcda6360029
Deployed Bytecode
0x6080604052600436106101115763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610116578063095ea7b3146101a057806318160ddd146101d857806323b872dd146101ff578063313ce56714610229578063395093511461025457806339f85f5d146102785780633f4ba83a1461028d57806342966c68146102a45780635c975abb146102bc57806370a08231146102d1578063715018a6146102f257806379cc6790146103075780638456cb591461032b5780638da5cb5b1461034057806395d89b4114610371578063a457c2d714610386578063a9059cbb146103aa578063dd62ed3e146103ce578063f2fde38b146103f5575b600080fd5b34801561012257600080fd5b5061012b610416565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561016557818101518382015260200161014d565b50505050905090810190601f1680156101925780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101ac57600080fd5b506101c4600160a060020a036004351660243561044d565b604080519115158252519081900360200190f35b3480156101e457600080fd5b506101ed6104e1565b60408051918252519081900360200190f35b34801561020b57600080fd5b506101c4600160a060020a03600435811690602435166044356104e7565b34801561023557600080fd5b5061023e61056c565b6040805160ff9092168252519081900360200190f35b34801561026057600080fd5b506101c4600160a060020a0360043516602435610571565b34801561028457600080fd5b506101ed610637565b34801561029957600080fd5b506102a2610644565b005b3480156102b057600080fd5b506101c46004356106c6565b3480156102c857600080fd5b506101c4610762565b3480156102dd57600080fd5b506101ed600160a060020a0360043516610772565b3480156102fe57600080fd5b506102a2610784565b34801561031357600080fd5b506101c4600160a060020a03600435166024356107f2565b34801561033757600080fd5b506102a26108f6565b34801561034c57600080fd5b5061035561097d565b60408051600160a060020a039092168252519081900360200190f35b34801561037d57600080fd5b5061012b61098c565b34801561039257600080fd5b506101c4600160a060020a03600435166024356109c3565b3480156103b657600080fd5b506101c4600160a060020a0360043516602435610a24565b3480156103da57600080fd5b506101ed600160a060020a0360043581169060243516610a50565b34801561040157600080fd5b506102a2600160a060020a0360043516610a6d565b60408051808201909152600681527f4461707065720000000000000000000000000000000000000000000000000000602082015281565b6000805460a060020a900460ff161561046557600080fd5b600160a060020a038316151561047a57600080fd5b336000818152600360209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b60015481565b6000805460a060020a900460ff16156104ff57600080fd5b600160a060020a0384166000908152600360209081526040808320338452909152902054610533908363ffffffff610b0116565b600160a060020a0385166000908152600360209081526040808320338452909152902055610562848484610b18565b5060019392505050565b600681565b6000805460a060020a900460ff161561058957600080fd5b600160a060020a038316151561059e57600080fd5b336000908152600360209081526040808320600160a060020a03871684529091529020546105d2908363ffffffff610be716565b336000818152600360209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b68056bc75e2d6310000081565b600054600160a060020a0316331461065b57600080fd5b60005460a060020a900460ff16151561067357600080fd5b6000805474ff0000000000000000000000000000000000000000191690556040805133815290517f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa9181900360200190a1565b6000805460a060020a900460ff16156106de57600080fd5b336000908152600260205260409020546106fe908363ffffffff610b0116565b33600090815260026020526040902055600154610721908363ffffffff610b0116565b60015560408051838152905133917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a2506001919050565b60005460a060020a900460ff1681565b60026020526000908152604090205481565b600054600160a060020a0316331461079b57600080fd5b60008054604051600160a060020a03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36000805473ffffffffffffffffffffffffffffffffffffffff19169055565b6000805460a060020a900460ff161561080a57600080fd5b600160a060020a038316600090815260036020908152604080832033845290915290205461083e908363ffffffff610b0116565b600160a060020a03841660008181526003602090815260408083203384528252808320949094559181526002909152205461087f908363ffffffff610b0116565b600160a060020a0384166000908152600260205260409020556001546108ab908363ffffffff610b0116565b600155604080518381529051600160a060020a038516917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a250600192915050565b600054600160a060020a0316331461090d57600080fd5b60005460a060020a900460ff161561092457600080fd5b6000805474ff0000000000000000000000000000000000000000191660a060020a1790556040805133815290517f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2589181900360200190a1565b600054600160a060020a031681565b60408051808201909152600481527f4461707000000000000000000000000000000000000000000000000000000000602082015281565b6000805460a060020a900460ff16156109db57600080fd5b600160a060020a03831615156109f057600080fd5b336000908152600360209081526040808320600160a060020a03871684529091529020546105d2908363ffffffff610b0116565b6000805460a060020a900460ff1615610a3c57600080fd5b610a47338484610b18565b50600192915050565b600360209081526000928352604080842090915290825290205481565b600054600160a060020a03163314610a8457600080fd5b600160a060020a0381161515610a9957600080fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60008083831115610b1157600080fd5b5050900390565b600160a060020a0382161515610b2d57600080fd5b600160a060020a038316600090815260026020526040902054610b56908263ffffffff610b0116565b600160a060020a038085166000908152600260205260408082209390935590841681522054610b8b908263ffffffff610be716565b600160a060020a0380841660008181526002602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600082820183811015610bf957600080fd5b93925050505600a165627a7a723058209e508b940a9c8e131c47557824d6a993f690369c79d1538a05a35ccd1bcda6360029
Swarm Source
bzzr://9e508b940a9c8e131c47557824d6a993f690369c79d1538a05a35ccd1bcda636
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.