ETH Price: $2,449.26 (+1.49%)
 

Overview

Max Total Supply

1 BDSM

Holders

2,384

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 12 Decimals)

Balance
0.000005 BDSM

Value
$0.00
0xdfb2c619d81ccc95a574818af92c619f35a459e9
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
BDSM

Compiler Version
v0.4.13+commit.fb4cb1a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2017-09-18
*/

pragma solidity ^0.4.13;

contract BDSM {

	string public symbol = "BDSM";
	string public name = "BlockchainDecentralizingSpinnerMachine";
	uint8 public constant decimals = 12;
	uint256 public totalSupply = 1000000000000;

	address public owner;

	mapping (address => uint256) public balances;
	mapping (address => mapping (address => uint)) public allowed;

	event Transfer(address indexed from, address indexed to, uint256 value);
	event Approval(address indexed _owner, address indexed _spender, uint _value);
 
	function BDSM() {
		owner = msg.sender;
		balances[owner] = totalSupply;
	}
    
	function sub(uint256 a, uint256 b) internal constant returns (uint256) {
		assert(b <= a);
		return a - b;
	}

	function add(uint256 a, uint256 b) internal constant returns (uint256) {
		uint256 c = a + b;
		assert(c >= a);
		return c;
	}

	function balanceOf(address _owner) constant returns (uint256 balance) {
		return balances[_owner];
	}	

	function transfer(address _to, uint256 _value) returns (bool) {
		require (_to != 0x0);
		balances[msg.sender] = sub(balances[msg.sender], _value);
		balances[_to] = add(balances[_to], _value);
		Transfer(msg.sender, _to, _value);
		return true;
	}

	function transferFrom(address _from, address _to, uint256 _value) returns (bool) {
		require (_to != 0x0);
		require (_value <= allowed[_from][msg.sender]);  
		balances[_to] = add(balances[_to], _value);
		balances[_from] = sub(balances[_from], _value);
		sub(allowed[_from][msg.sender], _value);
		Transfer(_from, _to, _value);
		return true;
	}

	function approve(address _spender, uint _value) returns (bool success) {
		allowed[msg.sender][_spender] = _value;
		Approval(msg.sender, _spender, _value);
		return true;
	}

	function allowance(address _owner, address _spender) constant returns (uint remaining) {
		return allowed[_owner][_spender];
	}

}

Contract Security Audit

Contract ABI

[{"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":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balances","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"allowed","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":"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":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"type":"function"},{"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"}]

606060405260408051908101604052600481527f4244534d000000000000000000000000000000000000000000000000000000006020820152600090805161004b92916020019061010e565b50606060405190810160405280602681526020017f426c6f636b636861696e446563656e7472616c697a696e675370696e6e65724d81526020017f616368696e65000000000000000000000000000000000000000000000000000081525060019080516100bc92916020019061010e565b5064e8d4a5100060025534156100d157600080fd5b5b60038054600160a060020a03191633600160a060020a03908116919091179182905560025491166000908152600460205260409020555b6101ae565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061014f57805160ff191683800117855561017c565b8280016001018555821561017c579182015b8281111561017c578251825591602001919060010190610161565b5b5061018992915061018d565b5090565b6101ab91905b808211156101895760008155600101610193565b5090565b90565b610859806101bd6000396000f300606060405236156100b75763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100bc578063095ea7b31461014757806318160ddd1461017d57806323b872dd146101a257806327e235e3146101de578063313ce5671461020f5780635c6581651461023857806370a082311461026f5780638da5cb5b146102a057806395d89b41146102cf578063a9059cbb1461035a578063dd62ed3e14610390575b600080fd5b34156100c757600080fd5b6100cf6103c7565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561010c5780820151818401525b6020016100f3565b50505050905090810190601f1680156101395780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561015257600080fd5b610169600160a060020a0360043516602435610465565b604051901515815260200160405180910390f35b341561018857600080fd5b6101906104d2565b60405190815260200160405180910390f35b34156101ad57600080fd5b610169600160a060020a03600435811690602435166044356104d8565b604051901515815260200160405180910390f35b34156101e957600080fd5b610190600160a060020a0360043516610604565b60405190815260200160405180910390f35b341561021a57600080fd5b610222610616565b60405160ff909116815260200160405180910390f35b341561024357600080fd5b610190600160a060020a036004358116906024351661061b565b60405190815260200160405180910390f35b341561027a57600080fd5b610190600160a060020a0360043516610638565b60405190815260200160405180910390f35b34156102ab57600080fd5b6102b3610657565b604051600160a060020a03909116815260200160405180910390f35b34156102da57600080fd5b6100cf610666565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561010c5780820151818401525b6020016100f3565b50505050905090810190601f1680156101395780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561036557600080fd5b610169600160a060020a0360043516602435610704565b604051901515815260200160405180910390f35b341561039b57600080fd5b610190600160a060020a03600435811690602435166107cf565b60405190815260200160405180910390f35b60018054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561045d5780601f106104325761010080835404028352916020019161045d565b820191906000526020600020905b81548152906001019060200180831161044057829003601f168201915b505050505081565b600160a060020a03338116600081815260056020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b60025481565b6000600160a060020a03831615156104ef57600080fd5b600160a060020a038085166000908152600560209081526040808320339094168352929052205482111561052257600080fd5b600160a060020a03831660009081526004602052604090205461054590836107fc565b600160a060020a0380851660009081526004602052604080822093909355908616815220546105749083610816565b600160a060020a03808616600090815260046020908152604080832094909455600581528382203390931682529190915220546105b19083610816565b5082600160a060020a031684600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a35060015b9392505050565b60046020526000908152604090205481565b600c81565b600560209081526000928352604080842090915290825290205481565b600160a060020a0381166000908152600460205260409020545b919050565b600354600160a060020a031681565b60008054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561045d5780601f106104325761010080835404028352916020019161045d565b820191906000526020600020905b81548152906001019060200180831161044057829003601f168201915b505050505081565b6000600160a060020a038316151561071b57600080fd5b600160a060020a03331660009081526004602052604090205461073e9083610816565b600160a060020a03338116600090815260046020526040808220939093559085168152205461076d90836107fc565b600160a060020a0380851660008181526004602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060015b92915050565b600160a060020a038083166000908152600560209081526040808320938516835292905220545b92915050565b60008282018381101561080b57fe5b8091505b5092915050565b60008282111561082257fe5b508082035b929150505600a165627a7a723058206bf8b7daed9af0d7dc058715486e48259577abeeaa4ace86dc3bb037312053c60029

Deployed Bytecode

0x606060405236156100b75763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100bc578063095ea7b31461014757806318160ddd1461017d57806323b872dd146101a257806327e235e3146101de578063313ce5671461020f5780635c6581651461023857806370a082311461026f5780638da5cb5b146102a057806395d89b41146102cf578063a9059cbb1461035a578063dd62ed3e14610390575b600080fd5b34156100c757600080fd5b6100cf6103c7565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561010c5780820151818401525b6020016100f3565b50505050905090810190601f1680156101395780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561015257600080fd5b610169600160a060020a0360043516602435610465565b604051901515815260200160405180910390f35b341561018857600080fd5b6101906104d2565b60405190815260200160405180910390f35b34156101ad57600080fd5b610169600160a060020a03600435811690602435166044356104d8565b604051901515815260200160405180910390f35b34156101e957600080fd5b610190600160a060020a0360043516610604565b60405190815260200160405180910390f35b341561021a57600080fd5b610222610616565b60405160ff909116815260200160405180910390f35b341561024357600080fd5b610190600160a060020a036004358116906024351661061b565b60405190815260200160405180910390f35b341561027a57600080fd5b610190600160a060020a0360043516610638565b60405190815260200160405180910390f35b34156102ab57600080fd5b6102b3610657565b604051600160a060020a03909116815260200160405180910390f35b34156102da57600080fd5b6100cf610666565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561010c5780820151818401525b6020016100f3565b50505050905090810190601f1680156101395780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561036557600080fd5b610169600160a060020a0360043516602435610704565b604051901515815260200160405180910390f35b341561039b57600080fd5b610190600160a060020a03600435811690602435166107cf565b60405190815260200160405180910390f35b60018054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561045d5780601f106104325761010080835404028352916020019161045d565b820191906000526020600020905b81548152906001019060200180831161044057829003601f168201915b505050505081565b600160a060020a03338116600081815260056020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b60025481565b6000600160a060020a03831615156104ef57600080fd5b600160a060020a038085166000908152600560209081526040808320339094168352929052205482111561052257600080fd5b600160a060020a03831660009081526004602052604090205461054590836107fc565b600160a060020a0380851660009081526004602052604080822093909355908616815220546105749083610816565b600160a060020a03808616600090815260046020908152604080832094909455600581528382203390931682529190915220546105b19083610816565b5082600160a060020a031684600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a35060015b9392505050565b60046020526000908152604090205481565b600c81565b600560209081526000928352604080842090915290825290205481565b600160a060020a0381166000908152600460205260409020545b919050565b600354600160a060020a031681565b60008054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561045d5780601f106104325761010080835404028352916020019161045d565b820191906000526020600020905b81548152906001019060200180831161044057829003601f168201915b505050505081565b6000600160a060020a038316151561071b57600080fd5b600160a060020a03331660009081526004602052604090205461073e9083610816565b600160a060020a03338116600090815260046020526040808220939093559085168152205461076d90836107fc565b600160a060020a0380851660008181526004602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060015b92915050565b600160a060020a038083166000908152600560209081526040808320938516835292905220545b92915050565b60008282018381101561080b57fe5b8091505b5092915050565b60008282111561082257fe5b508082035b929150505600a165627a7a723058206bf8b7daed9af0d7dc058715486e48259577abeeaa4ace86dc3bb037312053c60029

Swarm Source

bzzr://6bf8b7daed9af0d7dc058715486e48259577abeeaa4ace86dc3bb037312053c6
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.