ETH Price: $3,483.85 (+2.03%)

Token

Bazista Token (BZS)
 

Overview

Max Total Supply

440,000,000 BZS

Holders

1,175

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 8 Decimals)

Balance
70,000 BZS

Value
$0.00
0x0e2f041fb72a9c41d46fc336c92b617763681ee3
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:
BazistaToken

Compiler Version
v0.4.18+commit.9cf6e910

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.4.9;

contract ERC20 {
	string public name;
	string public symbol;
	uint8 public decimals = 8;

	uint public totalSupply;
	function balanceOf(address _owner) public constant returns (uint 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 constant returns (uint256 remaining);
	event Transfer(address indexed _from, address indexed _to, uint256 _value);
	event Approval(address indexed _owner, address indexed _spender, uint256 _value);
}

/**
 * @title SafeMath
 * @dev Math operations with safety checks that throw on error
 */
library SafeMath {
	function mul(uint256 a, uint256 b) internal constant returns (uint256) {
		uint256 c = a * b;
		assert(a == 0 || c / a == b);
		return c;
	}

	/* function div(uint256 a, uint256 b) internal constant returns (uint256) {
		// assert(b > 0); // Solidity automatically throws when dividing by 0
		uint256 c = a / b;
		// assert(a == b * c + a % b); // There is no case in which this doesn't hold
		return c;
	} */

	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;
	}
}

contract owned {
	address public owner;

	function owned() public {
		owner = msg.sender;
	}

	modifier onlyOwner {
		require(msg.sender == owner);
		_;
	}

	function transferOwnership(address newOwner) public onlyOwner {
		owner = newOwner;
	}
}

contract BazistaToken is ERC20, owned {
	using SafeMath for uint256;

	string public name = 'Bazista Token';
	string public symbol = 'BZS';

	uint256 public totalSupply = 44000000000000000;

	address public icoWallet;
	uint256 public icoSupply = 33440000000000000;

	address public advisorsWallet;
	uint256 public advisorsSupply = 1320000000000000;

	address public teamWallet;
	uint256 public teamSupply = 6600000000000000;

	address public marketingWallet;
	uint256 public marketingSupply = 1760000000000000;

	address public bountyWallet;
	uint256 public bountySupply = 880000000000000;

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

	modifier onlyPayloadSize(uint size) {
		require(msg.data.length >= (size + 4));
		_;
	}

	function BazistaToken () public {
		balances[this] = totalSupply;
	}


	function setWallets(address _advisorsWallet, address _teamWallet, address _marketingWallet, address _bountyWallet) public onlyOwner {
		advisorsWallet = _advisorsWallet;
		_transferFrom(this, advisorsWallet, advisorsSupply);

		teamWallet = _teamWallet;
		_transferFrom(this, teamWallet, teamSupply);

		marketingWallet = _marketingWallet;
		_transferFrom(this, marketingWallet, marketingSupply);

		bountyWallet = _bountyWallet;
		_transferFrom(this, bountyWallet, bountySupply);
	}


	function setICO(address _icoWallet) public onlyOwner {
		icoWallet = _icoWallet;
		_transferFrom(this, icoWallet, icoSupply);
	}

	function () public{
		revert();
	}

	function balanceOf(address _owner) public constant returns (uint balance) {
		return balances[_owner];
	}
	function allowance(address _owner, address _spender) public constant returns (uint256 remaining) {
		return allowed[_owner][_spender];
	}

	function transfer(address _to, uint _value) public onlyPayloadSize(2 * 32) returns (bool success) {
		_transferFrom(msg.sender, _to, _value);
		return true;
	}
	function transferFrom(address _from, address _to, uint256 _value) public onlyPayloadSize(3 * 32) returns (bool) {
		allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value);
		_transferFrom(_from, _to, _value);
		return true;
	}
	function _transferFrom(address _from, address _to, uint256 _value) internal {
		require(_value > 0);
		balances[_from] = balances[_from].sub(_value);
		balances[_to] = balances[_to].add(_value);
		Transfer(_from, _to, _value);
	}

	function approve(address _spender, uint256 _value) public returns (bool) {
		require((_value == 0) || (allowed[msg.sender][_spender] == 0));
		allowed[msg.sender][_spender] = _value;
		Approval(msg.sender, _spender, _value);
		return true;
	}
}

Contract Security Audit

Contract ABI

[{"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":true,"inputs":[],"name":"icoWallet","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":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"teamSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"icoSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"teamWallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"marketingSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"advisorsWallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","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":"marketingWallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_advisorsWallet","type":"address"},{"name":"_teamWallet","type":"address"},{"name":"_marketingWallet","type":"address"},{"name":"_bountyWallet","type":"address"}],"name":"setWallets","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"bountySupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","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":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_icoWallet","type":"address"}],"name":"setICO","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"advisorsSupply","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":true,"inputs":[],"name":"bountyWallet","outputs":[{"name":"","type":"address"}],"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"},{"payable":false,"stateMutability":"nonpayable","type":"fallback"},{"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"}]

606060409081526002805460ff191660081790558051908101604052600d81527f42617a6973746120546f6b656e000000000000000000000000000000000000006020820152600590805161005892916020019061012a565b5060408051908101604052600381527f425a530000000000000000000000000000000000000000000000000000000000602082015260069080516100a092916020019061012a565b50669c51c4521e00006007556676cd80b94a00006009556604b088731a8000600b55661772aa3f848000600d55660640b5eece0000600f556603205af767000060115534156100ee57600080fd5b60048054600160a060020a03191633600160a060020a0390811691909117909155600754309091166000908152601260205260409020556101c5565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061016b57805160ff1916838001178555610198565b82800160010185558215610198579182015b8281111561019857825182559160200191906001019061017d565b506101a49291506101a8565b5090565b6101c291905b808211156101a457600081556001016101ae565b90565b610a04806101d46000396000f3006060604052600436106101325763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610142578063095ea7b3146101cc57806318160ddd14610202578063222879141461022757806323b872dd146102565780632cfac6ec1461027e578063313ce567146102915780634e8127f6146102ba57806359927044146102cd578063624bb58f146102e05780636b252b47146102f357806370a082311461030657806375f0a8741461032557806383672f3e1461033857806386852fd71461036b5780638da5cb5b1461037e57806395d89b4114610391578063a9059cbb146103a4578063b6f50c29146103c6578063cbe29f34146103e5578063dd62ed3e146103f8578063e57605201461041d578063f2fde38b14610430575b341561013d57600080fd5b600080fd5b341561014d57600080fd5b61015561044f565b60405160208082528190810183818151815260200191508051906020019080838360005b83811015610191578082015183820152602001610179565b50505050905090810190601f1680156101be5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101d757600080fd5b6101ee600160a060020a03600435166024356104ed565b604051901515815260200160405180910390f35b341561020d57600080fd5b610215610593565b60405190815260200160405180910390f35b341561023257600080fd5b61023a610599565b604051600160a060020a03909116815260200160405180910390f35b341561026157600080fd5b6101ee600160a060020a03600435811690602435166044356105a8565b341561028957600080fd5b61021561062e565b341561029c57600080fd5b6102a4610634565b60405160ff909116815260200160405180910390f35b34156102c557600080fd5b61021561063d565b34156102d857600080fd5b61023a610643565b34156102eb57600080fd5b610215610652565b34156102fe57600080fd5b61023a610658565b341561031157600080fd5b610215600160a060020a0360043516610667565b341561033057600080fd5b61023a610682565b341561034357600080fd5b610369600160a060020a0360043581169060243581169060443581169060643516610691565b005b341561037657600080fd5b610215610776565b341561038957600080fd5b61023a61077c565b341561039c57600080fd5b61015561078b565b34156103af57600080fd5b6101ee600160a060020a03600435166024356107f6565b34156103d157600080fd5b610369600160a060020a036004351661081d565b34156103f057600080fd5b61021561086c565b341561040357600080fd5b610215600160a060020a0360043581169060243516610872565b341561042857600080fd5b61023a61089d565b341561043b57600080fd5b610369600160a060020a03600435166108ac565b60058054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156104e55780601f106104ba576101008083540402835291602001916104e5565b820191906000526020600020905b8154815290600101906020018083116104c857829003601f168201915b505050505081565b600081158061051f5750600160a060020a03338116600090815260136020908152604080832093871683529290522054155b151561052a57600080fd5b600160a060020a03338116600081815260136020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60075481565b600854600160a060020a031681565b6000606060643610156105ba57600080fd5b600160a060020a03808616600090815260136020908152604080832033909416835292905220546105f1908463ffffffff6108e916565b600160a060020a03808716600090815260136020908152604080832033909416835292905220556106238585856108fb565b506001949350505050565b600d5481565b60025460ff1681565b60095481565b600c54600160a060020a031681565b600f5481565b600a54600160a060020a031681565b600160a060020a031660009081526012602052604090205490565b600e54600160a060020a031681565b60045433600160a060020a039081169116146106ac57600080fd5b600a8054600160a060020a031916600160a060020a038681169190911791829055600b546106dd92309216906108fb565b600c8054600160a060020a031916600160a060020a038581169190911791829055600d5461070e92309216906108fb565b600e8054600160a060020a031916600160a060020a038481169190911791829055600f5461073f92309216906108fb565b60108054600160a060020a031916600160a060020a03838116919091179182905560115461077092309216906108fb565b50505050565b60115481565b600454600160a060020a031681565b60068054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156104e55780601f106104ba576101008083540402835291602001916104e5565b60006040604436101561080857600080fd5b6108133385856108fb565b5060019392505050565b60045433600160a060020a0390811691161461083857600080fd5b60088054600160a060020a031916600160a060020a03838116919091179182905560095461086992309216906108fb565b50565b600b5481565b600160a060020a03918216600090815260136020908152604080832093909416825291909152205490565b601054600160a060020a031681565b60045433600160a060020a039081169116146108c757600080fd5b60048054600160a060020a031916600160a060020a0392909216919091179055565b6000828211156108f557fe5b50900390565b6000811161090857600080fd5b600160a060020a038316600090815260126020526040902054610931908263ffffffff6108e916565b600160a060020a038085166000908152601260205260408082209390935590841681522054610966908263ffffffff6109c216565b600160a060020a03808416600081815260126020526040908190209390935591908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9084905190815260200160405180910390a3505050565b6000828201838110156109d157fe5b93925050505600a165627a7a72305820e44accbe3c83303e710875c5ca8ad9e0755694d3380889dbec14ff16ffe6fc7e0029

Deployed Bytecode

0x6060604052600436106101325763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610142578063095ea7b3146101cc57806318160ddd14610202578063222879141461022757806323b872dd146102565780632cfac6ec1461027e578063313ce567146102915780634e8127f6146102ba57806359927044146102cd578063624bb58f146102e05780636b252b47146102f357806370a082311461030657806375f0a8741461032557806383672f3e1461033857806386852fd71461036b5780638da5cb5b1461037e57806395d89b4114610391578063a9059cbb146103a4578063b6f50c29146103c6578063cbe29f34146103e5578063dd62ed3e146103f8578063e57605201461041d578063f2fde38b14610430575b341561013d57600080fd5b600080fd5b341561014d57600080fd5b61015561044f565b60405160208082528190810183818151815260200191508051906020019080838360005b83811015610191578082015183820152602001610179565b50505050905090810190601f1680156101be5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101d757600080fd5b6101ee600160a060020a03600435166024356104ed565b604051901515815260200160405180910390f35b341561020d57600080fd5b610215610593565b60405190815260200160405180910390f35b341561023257600080fd5b61023a610599565b604051600160a060020a03909116815260200160405180910390f35b341561026157600080fd5b6101ee600160a060020a03600435811690602435166044356105a8565b341561028957600080fd5b61021561062e565b341561029c57600080fd5b6102a4610634565b60405160ff909116815260200160405180910390f35b34156102c557600080fd5b61021561063d565b34156102d857600080fd5b61023a610643565b34156102eb57600080fd5b610215610652565b34156102fe57600080fd5b61023a610658565b341561031157600080fd5b610215600160a060020a0360043516610667565b341561033057600080fd5b61023a610682565b341561034357600080fd5b610369600160a060020a0360043581169060243581169060443581169060643516610691565b005b341561037657600080fd5b610215610776565b341561038957600080fd5b61023a61077c565b341561039c57600080fd5b61015561078b565b34156103af57600080fd5b6101ee600160a060020a03600435166024356107f6565b34156103d157600080fd5b610369600160a060020a036004351661081d565b34156103f057600080fd5b61021561086c565b341561040357600080fd5b610215600160a060020a0360043581169060243516610872565b341561042857600080fd5b61023a61089d565b341561043b57600080fd5b610369600160a060020a03600435166108ac565b60058054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156104e55780601f106104ba576101008083540402835291602001916104e5565b820191906000526020600020905b8154815290600101906020018083116104c857829003601f168201915b505050505081565b600081158061051f5750600160a060020a03338116600090815260136020908152604080832093871683529290522054155b151561052a57600080fd5b600160a060020a03338116600081815260136020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60075481565b600854600160a060020a031681565b6000606060643610156105ba57600080fd5b600160a060020a03808616600090815260136020908152604080832033909416835292905220546105f1908463ffffffff6108e916565b600160a060020a03808716600090815260136020908152604080832033909416835292905220556106238585856108fb565b506001949350505050565b600d5481565b60025460ff1681565b60095481565b600c54600160a060020a031681565b600f5481565b600a54600160a060020a031681565b600160a060020a031660009081526012602052604090205490565b600e54600160a060020a031681565b60045433600160a060020a039081169116146106ac57600080fd5b600a8054600160a060020a031916600160a060020a038681169190911791829055600b546106dd92309216906108fb565b600c8054600160a060020a031916600160a060020a038581169190911791829055600d5461070e92309216906108fb565b600e8054600160a060020a031916600160a060020a038481169190911791829055600f5461073f92309216906108fb565b60108054600160a060020a031916600160a060020a03838116919091179182905560115461077092309216906108fb565b50505050565b60115481565b600454600160a060020a031681565b60068054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156104e55780601f106104ba576101008083540402835291602001916104e5565b60006040604436101561080857600080fd5b6108133385856108fb565b5060019392505050565b60045433600160a060020a0390811691161461083857600080fd5b60088054600160a060020a031916600160a060020a03838116919091179182905560095461086992309216906108fb565b50565b600b5481565b600160a060020a03918216600090815260136020908152604080832093909416825291909152205490565b601054600160a060020a031681565b60045433600160a060020a039081169116146108c757600080fd5b60048054600160a060020a031916600160a060020a0392909216919091179055565b6000828211156108f557fe5b50900390565b6000811161090857600080fd5b600160a060020a038316600090815260126020526040902054610931908263ffffffff6108e916565b600160a060020a038085166000908152601260205260408082209390935590841681522054610966908263ffffffff6109c216565b600160a060020a03808416600081815260126020526040908190209390935591908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9084905190815260200160405180910390a3505050565b6000828201838110156109d157fe5b93925050505600a165627a7a72305820e44accbe3c83303e710875c5ca8ad9e0755694d3380889dbec14ff16ffe6fc7e0029

Swarm Source

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