Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Source Code
Overview
Max Total Supply
7,000,000,000 DCC
Holders
99
Transfers
-
0 (0%)
Market
Onchain Market Cap
-
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:
DiscrashCredit
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-07
*/
pragma solidity ^0.4.11;
/* 2017-07-07 - A man can be destroyed but not defeated - Discrash Limited Liability Company */
library SafeMath {
function add(uint256 a, uint256 b) internal returns (uint256) {
uint256 c = a + b;
assert(c >= a);
return c;
}
function sub(uint256 a, uint256 b) internal returns (uint256) {
assert(b <= a);
return a - b;
}
}
contract ERC20Basic {
uint256 public totalSupply;
function balanceOf(address who) constant returns (uint256);
function transfer(address to, uint256 value);
event Transfer(address indexed from, address indexed to, uint256 value);
}
contract ERC20 is ERC20Basic {
function allowance(address owner, address spender) constant returns (uint256);
function transferFrom(address from, address to, uint256 value);
function approve(address spender, uint256 value);
event Approval(address indexed owner, address indexed spender, uint256 value);
}
contract BasicToken is ERC20Basic {
using SafeMath for uint256;
mapping(address => uint256) balances;
function transfer(address _to, uint256 _value) {
balances[msg.sender] = balances[msg.sender].sub(_value);
balances[_to] = balances[_to].add(_value);
Transfer(msg.sender, _to, _value);
}
function balanceOf(address _owner) constant returns (uint256 balance) {
return balances[_owner];
}
}
contract StandardToken is ERC20, BasicToken {
mapping (address => mapping (address => uint256)) allowed;
function transferFrom(address _from, address _to, uint256 _value) {
var _allowance = allowed[_from][msg.sender];
balances[_to] = balances[_to].add(_value);
balances[_from] = balances[_from].sub(_value);
allowed[_from][msg.sender] = _allowance.sub(_value);
Transfer(_from, _to, _value);
}
function approve(address _spender, uint256 _value) {
if ((_value != 0) && (allowed[msg.sender][_spender] != 0)) throw;
allowed[msg.sender][_spender] = _value;
Approval(msg.sender, _spender, _value);
}
function allowance(address _owner, address _spender) constant returns (uint256 remaining) {
return allowed[_owner][_spender];
}
}
contract DiscrashCredit is StandardToken {
string public name = "DiscrashCredit";
string public symbol = "DCC";
uint256 public decimals = 18;
uint256 public initialSupply = 7 * 10**9 * 10**18;
function DiscrashCredit() {
totalSupply = initialSupply;
balances[msg.sender] = initialSupply;
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"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":[],"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":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"initialSupply","outputs":[{"name":"","type":"uint256"}],"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":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[],"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"},{"inputs":[],"payable":false,"type":"constructor"},{"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
60a0604052600e60608190527f4469736372617368437265646974000000000000000000000000000000000000608090815261003e91600391906100c6565b506040805180820190915260038082527f44434300000000000000000000000000000000000000000000000000000000006020909201918252610083916004916100c6565b5060126005556b169e43a85eb381aa5800000060065534156100a157fe5b5b6006546000818155600160a060020a0333168152600160205260409020555b610166565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061010757805160ff1916838001178555610134565b82800160010185558215610134579182015b82811115610134578251825591602001919060010190610119565b5b50610141929150610145565b5090565b61016391905b80821115610141576000815560010161014b565b5090565b90565b610732806101756000396000f300606060405236156100a15763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100a3578063095ea7b31461013357806318160ddd1461015457806323b872dd14610176578063313ce5671461019d578063378dc3dc146101bf57806370a08231146101e157806395d89b411461020f578063a9059cbb1461029f578063dd62ed3e146102c0575bfe5b34156100ab57fe5b6100b36102f4565b6040805160208082528351818301528351919283929083019185019080838382156100f9575b8051825260208311156100f957601f1990920191602091820191016100d9565b505050905090810190601f1680156101255780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561013b57fe5b610152600160a060020a0360043516602435610382565b005b341561015c57fe5b610164610422565b60408051918252519081900360200190f35b341561017e57fe5b610152600160a060020a0360043581169060243516604435610428565b005b34156101a557fe5b610164610534565b60408051918252519081900360200190f35b34156101c757fe5b61016461053a565b60408051918252519081900360200190f35b34156101e957fe5b610164600160a060020a0360043516610540565b60408051918252519081900360200190f35b341561021757fe5b6100b361055f565b6040805160208082528351818301528351919283929083019185019080838382156100f9575b8051825260208311156100f957601f1990920191602091820191016100d9565b505050905090810190601f1680156101255780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156102a757fe5b610152600160a060020a03600435166024356105ed565b005b34156102c857fe5b610164600160a060020a03600435811690602435166106a8565b60408051918252519081900360200190f35b6003805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561037a5780601f1061034f5761010080835404028352916020019161037a565b820191906000526020600020905b81548152906001019060200180831161035d57829003601f168201915b505050505081565b80158015906103b55750600160a060020a0333811660009081526002602090815260408083209386168352929052205415155b156103c05760006000fd5b600160a060020a03338116600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a35b5050565b60005481565b600160a060020a03808416600090815260026020908152604080832033851684528252808320549386168352600190915290205461046c908363ffffffff6106d516565b600160a060020a0380851660009081526001602052604080822093909355908616815220546104a1908363ffffffff6106ef16565b600160a060020a0385166000908152600160205260409020556104ca818363ffffffff6106ef16565b600160a060020a038086166000818152600260209081526040808320338616845282529182902094909455805186815290519287169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35b50505050565b60055481565b60065481565b600160a060020a0381166000908152600160205260409020545b919050565b6004805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561037a5780601f1061034f5761010080835404028352916020019161037a565b820191906000526020600020905b81548152906001019060200180831161035d57829003601f168201915b505050505081565b600160a060020a033316600090815260016020526040902054610616908263ffffffff6106ef16565b600160a060020a03338116600090815260016020526040808220939093559084168152205461064b908263ffffffff6106d516565b600160a060020a038084166000818152600160209081526040918290209490945580518581529051919333909316927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35b5050565b600160a060020a038083166000908152600260209081526040808320938516835292905220545b92915050565b6000828201838110156106e457fe5b8091505b5092915050565b6000828211156106fb57fe5b508082035b929150505600a165627a7a723058204f9d4a5d5916fdfa8c5e095a938c45058b46ef568d26e58cf58cbf7e745e141c0029
Deployed Bytecode
0x606060405236156100a15763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100a3578063095ea7b31461013357806318160ddd1461015457806323b872dd14610176578063313ce5671461019d578063378dc3dc146101bf57806370a08231146101e157806395d89b411461020f578063a9059cbb1461029f578063dd62ed3e146102c0575bfe5b34156100ab57fe5b6100b36102f4565b6040805160208082528351818301528351919283929083019185019080838382156100f9575b8051825260208311156100f957601f1990920191602091820191016100d9565b505050905090810190601f1680156101255780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561013b57fe5b610152600160a060020a0360043516602435610382565b005b341561015c57fe5b610164610422565b60408051918252519081900360200190f35b341561017e57fe5b610152600160a060020a0360043581169060243516604435610428565b005b34156101a557fe5b610164610534565b60408051918252519081900360200190f35b34156101c757fe5b61016461053a565b60408051918252519081900360200190f35b34156101e957fe5b610164600160a060020a0360043516610540565b60408051918252519081900360200190f35b341561021757fe5b6100b361055f565b6040805160208082528351818301528351919283929083019185019080838382156100f9575b8051825260208311156100f957601f1990920191602091820191016100d9565b505050905090810190601f1680156101255780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156102a757fe5b610152600160a060020a03600435166024356105ed565b005b34156102c857fe5b610164600160a060020a03600435811690602435166106a8565b60408051918252519081900360200190f35b6003805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561037a5780601f1061034f5761010080835404028352916020019161037a565b820191906000526020600020905b81548152906001019060200180831161035d57829003601f168201915b505050505081565b80158015906103b55750600160a060020a0333811660009081526002602090815260408083209386168352929052205415155b156103c05760006000fd5b600160a060020a03338116600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a35b5050565b60005481565b600160a060020a03808416600090815260026020908152604080832033851684528252808320549386168352600190915290205461046c908363ffffffff6106d516565b600160a060020a0380851660009081526001602052604080822093909355908616815220546104a1908363ffffffff6106ef16565b600160a060020a0385166000908152600160205260409020556104ca818363ffffffff6106ef16565b600160a060020a038086166000818152600260209081526040808320338616845282529182902094909455805186815290519287169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35b50505050565b60055481565b60065481565b600160a060020a0381166000908152600160205260409020545b919050565b6004805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561037a5780601f1061034f5761010080835404028352916020019161037a565b820191906000526020600020905b81548152906001019060200180831161035d57829003601f168201915b505050505081565b600160a060020a033316600090815260016020526040902054610616908263ffffffff6106ef16565b600160a060020a03338116600090815260016020526040808220939093559084168152205461064b908263ffffffff6106d516565b600160a060020a038084166000818152600160209081526040918290209490945580518581529051919333909316927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35b5050565b600160a060020a038083166000908152600260209081526040808320938516835292905220545b92915050565b6000828201838110156106e457fe5b8091505b5092915050565b6000828211156106fb57fe5b508082035b929150505600a165627a7a723058204f9d4a5d5916fdfa8c5e095a938c45058b46ef568d26e58cf58cbf7e745e141c0029
Swarm Source
bzzr://4f9d4a5d5916fdfa8c5e095a938c45058b46ef568d26e58cf58cbf7e745e141c
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.
Add Token to MetaMask (Web3)