ERC-20
Overview
Max Total Supply
760,181 MBT
Holders
882
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 8 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Multibot
Compiler Version
v0.4.15+commit.bbb8e64f
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2017-10-04 */ pragma solidity ^0.4.13; contract ERC20Interface { uint256 public totalSupply; function balanceOf(address _owner) constant returns (uint256 balance); function transfer(address _to, uint256 _value) returns (bool success); function transferFrom(address _from, address _to, uint256 _value) returns (bool success); function approve(address _spender, uint256 _value) returns (bool success); function allowance(address _owner, address _spender) constant returns (uint256 remaining); event Transfer(address indexed _from, address indexed _to, uint256 _value); event Approval(address indexed _owner, address indexed _spender, uint256 _value); } contract Multibot is ERC20Interface { address public owner; string public constant symbol = "MBT"; string public constant name = "Multibot"; uint8 public constant decimals = 8; uint256 initialSupply = 2500000000000000; uint256 public shareholdersBalance; uint256 public totalShareholders; mapping (address => bool) registeredShareholders; mapping (uint => address) public shareholders; mapping (address => uint256) balances; mapping (address => mapping (address => uint256)) public allowed; modifier onlyOwner() { require(msg.sender == owner); _; } function isToken() public constant returns (bool weAre) { return true; } modifier onlyPayloadSize(uint size) { require(msg.data.length >= size + 4); _; } event Transfer(address indexed from, address indexed to, uint256 value); event Burn(address indexed from, uint256 value); event Approval(address indexed _owner, address indexed _spender, uint256 _value); function Multibot() { owner = msg.sender; balances[owner] = initialSupply; totalSupply=initialSupply; totalShareholders = 0; shareholdersBalance = 0; } function balanceOf(address _owner) constant returns (uint256 balance) { return balances[_owner]; } /// @notice Send `_value` tokens to `_to` from your account /// @param _to The address of the recipient /// @param _value the amount to send function transfer(address _to, uint256 _value) onlyPayloadSize(2 * 32) returns (bool success) { if(_to != 0x0 && _value > 0 && balances[msg.sender] >= _value && balances[_to] + _value > balances[_to]) { balances[msg.sender] -= _value; balances[_to] += _value; if (msg.sender == owner && _to != owner) { shareholdersBalance += _value; } if (msg.sender != owner && _to == owner) { shareholdersBalance -= _value; } if (owner != _to) { insertShareholder(_to); } Transfer(msg.sender, _to, _value); return true; } else { return false; } } /// @notice Send `_value` tokens to `_to` in behalf of `_from` /// @param _from The address of the sender /// @param _to The address of the recipient /// @param _value the amount to send function transferFrom(address _from, address _to, uint256 _value) returns (bool success) { if (balances[_from] >= _value && allowed[_from][msg.sender] >= _value && _value > 0 && balances[_to] + _value > balances[_to]) { balances[_from] -= _value; allowed[_from][msg.sender] -= _value; balances[_to] += _value; if (_from == owner && _to != owner) { shareholdersBalance += _value; } if (_from != owner && _to == owner) { shareholdersBalance -= _value; } if (owner != _to) { insertShareholder(_to); } Transfer(_from, _to, _value); return true; } else { return false; } } /// @notice Allows `_spender` to spend no more than `_value` tokens in your behalf /// @param _spender The address authorized to spend /// @param _value the max amount they can spend function approve(address _spender, uint256 _value) returns (bool success) { if ((_value != 0) && (allowed[msg.sender][_spender] != 0)) { return false; } allowed[msg.sender][_spender] = _value; Approval(msg.sender, _spender, _value); return true; } function allowance(address _owner, address _spender) constant returns (uint256 remaining) { return allowed[_owner][_spender]; } /// @notice Remove `_value` tokens from the system irreversibly /// @param _value the amount of money to burn function burn(uint256 _value) onlyOwner returns (bool success) { require (balances[msg.sender] > _value); // Check if the sender has enough balances[msg.sender] -= _value; // Subtract from the sender totalSupply -= _value; // Updates totalSupply Burn(msg.sender, _value); return true; } function insertShareholder(address _shareholder) internal returns (bool) { if (registeredShareholders[_shareholder] == true) { return false; } else { totalShareholders += 1; shareholders[totalShareholders] = _shareholder; registeredShareholders[_shareholder] = true; return true; } return false; } function shareholdersBalance() public returns (uint256) { return shareholdersBalance; } function totalShareholders() public returns (uint256) { return totalShareholders; } function getShareholder(uint256 _index) public returns (address) { return shareholders[_index]; } }
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":false,"inputs":[],"name":"totalShareholders","outputs":[{"name":"","type":"uint256"}],"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":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"burn","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"allowed","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_index","type":"uint256"}],"name":"getShareholder","outputs":[{"name":"","type":"address"}],"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":"shareholdersBalance","outputs":[{"name":"","type":"uint256"}],"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":"uint256"}],"name":"shareholders","outputs":[{"name":"","type":"address"}],"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"},{"constant":true,"inputs":[],"name":"isToken","outputs":[{"name":"weAre","type":"bool"}],"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":"from","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Burn","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
60606040526608e1bc9bf04000600255341561001a57600080fd5b5b60018054600160a060020a03191633600160a060020a0390811691909117918290556002549116600090815260076020526040812082905590815560048190556003555b5b610b668061006f6000396000f300606060405236156100ee5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100f3578063095ea7b31461017e5780630f8d4030146101b457806318160ddd146101d957806323b872dd146101fe578063313ce5671461023a57806342966c68146102635780635c6581651461028d5780636ccb5d02146102c457806370a08231146102f65780638da5cb5b1461032757806395d89b411461035657806397a629aa146103e1578063a9059cbb14610406578063ab377daa1461043c578063dd62ed3e1461046e578063eefa597b146104a5575b600080fd5b34156100fe57600080fd5b6101066104cc565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101435780820151818401525b60200161012a565b50505050905090810190601f1680156101705780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561018957600080fd5b6101a0600160a060020a0360043516602435610503565b604051901515815260200160405180910390f35b34156101bf57600080fd5b6101c76105af565b60405190815260200160405180910390f35b34156101e457600080fd5b6101c76105b6565b60405190815260200160405180910390f35b341561020957600080fd5b6101a0600160a060020a03600435811690602435166044356105bc565b604051901515815260200160405180910390f35b341561024557600080fd5b61024d610771565b60405160ff909116815260200160405180910390f35b341561026e57600080fd5b6101a0600435610776565b604051901515815260200160405180910390f35b341561029857600080fd5b6101c7600160a060020a036004358116906024351661081e565b60405190815260200160405180910390f35b34156102cf57600080fd5b6102da60043561083b565b604051600160a060020a03909116815260200160405180910390f35b341561030157600080fd5b6101c7600160a060020a0360043516610859565b60405190815260200160405180910390f35b341561033257600080fd5b6102da610878565b604051600160a060020a03909116815260200160405180910390f35b341561036157600080fd5b610106610887565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101435780820151818401525b60200161012a565b50505050905090810190601f1680156101705780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156103ec57600080fd5b6101c76108be565b60405190815260200160405180910390f35b341561041157600080fd5b6101a0600160a060020a03600435166024356108c5565b604051901515815260200160405180910390f35b341561044757600080fd5b6102da600435610a54565b604051600160a060020a03909116815260200160405180910390f35b341561047957600080fd5b6101c7600160a060020a0360043581169060243516610a6f565b60405190815260200160405180910390f35b34156104b057600080fd5b6101a0610a9c565b604051901515815260200160405180910390f35b60408051908101604052600881527f4d756c7469626f74000000000000000000000000000000000000000000000000602082015281565b600081158015906105385750600160a060020a0333811660009081526008602090815260408083209387168352929052205415155b15610545575060006105a9565b600160a060020a03338116600081815260086020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b6004545b90565b60005481565b600160a060020a03831660009081526007602052604081205482901080159061060c5750600160a060020a0380851660009081526008602090815260408083203390941683529290522054829010155b80156106185750600082115b801561063d5750600160a060020a038316600090815260076020526040902054828101115b1561076557600160a060020a03808516600081815260076020818152604080842080548990039055600882528084203387168552825280842080548990039055888616845291905290208054850190556001549091161480156106ae5750600154600160a060020a03848116911614155b156106bc5760038054830190555b600154600160a060020a038581169116148015906106e75750600154600160a060020a038481169116145b156106f6576003805483900390555b600154600160a060020a038481169116146107165761071483610aa2565b505b82600160a060020a031684600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a3506001610769565b5060005b5b9392505050565b600881565b60015460009033600160a060020a0390811691161461079457600080fd5b600160a060020a0333166000908152600760205260409020548290116107b957600080fd5b600160a060020a0333166000818152600760205260408082208054869003905581548590039091557fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59084905190815260200160405180910390a25060015b5b919050565b600860209081526000928352604080842090915290825290205481565b600081815260066020526040902054600160a060020a03165b919050565b600160a060020a0381166000908152600760205260409020545b919050565b600154600160a060020a031681565b60408051908101604052600381527f4d42540000000000000000000000000000000000000000000000000000000000602082015281565b6003545b90565b6000604060443610156108d757600080fd5b600160a060020a038416158015906108ef5750600083115b80156109145750600160a060020a033316600090815260076020526040902054839010155b80156109395750600160a060020a038416600090815260076020526040902054838101115b15610a4657600160a060020a03338116600081815260076020526040808220805488900390558784168252902080548601905560015490911614801561098d5750600154600160a060020a03858116911614155b1561099b5760038054840190555b60015433600160a060020a039081169116148015906109c75750600154600160a060020a038581169116145b156109d6576003805484900390555b600154600160a060020a038581169116146109f6576109f484610aa2565b505b83600160a060020a031633600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405190815260200160405180910390a360019150610a4b565b600091505b5b5b5092915050565b600660205260009081526040902054600160a060020a031681565b600160a060020a038083166000908152600860209081526040808320938516835292905220545b92915050565b60015b90565b600160a060020a03811660009081526005602052604081205460ff16151560011415610ad057506000610818565b50600480546001908101918290556000918252600660209081526040808420805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03871690811790915584526005909152909120805460ff191682179055610818565b5060005b9190505600a165627a7a723058209a4209299a75467971ff22ce8880e0973ab1789619a4890530b23467e22b86610029
Deployed Bytecode
0x606060405236156100ee5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100f3578063095ea7b31461017e5780630f8d4030146101b457806318160ddd146101d957806323b872dd146101fe578063313ce5671461023a57806342966c68146102635780635c6581651461028d5780636ccb5d02146102c457806370a08231146102f65780638da5cb5b1461032757806395d89b411461035657806397a629aa146103e1578063a9059cbb14610406578063ab377daa1461043c578063dd62ed3e1461046e578063eefa597b146104a5575b600080fd5b34156100fe57600080fd5b6101066104cc565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101435780820151818401525b60200161012a565b50505050905090810190601f1680156101705780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561018957600080fd5b6101a0600160a060020a0360043516602435610503565b604051901515815260200160405180910390f35b34156101bf57600080fd5b6101c76105af565b60405190815260200160405180910390f35b34156101e457600080fd5b6101c76105b6565b60405190815260200160405180910390f35b341561020957600080fd5b6101a0600160a060020a03600435811690602435166044356105bc565b604051901515815260200160405180910390f35b341561024557600080fd5b61024d610771565b60405160ff909116815260200160405180910390f35b341561026e57600080fd5b6101a0600435610776565b604051901515815260200160405180910390f35b341561029857600080fd5b6101c7600160a060020a036004358116906024351661081e565b60405190815260200160405180910390f35b34156102cf57600080fd5b6102da60043561083b565b604051600160a060020a03909116815260200160405180910390f35b341561030157600080fd5b6101c7600160a060020a0360043516610859565b60405190815260200160405180910390f35b341561033257600080fd5b6102da610878565b604051600160a060020a03909116815260200160405180910390f35b341561036157600080fd5b610106610887565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101435780820151818401525b60200161012a565b50505050905090810190601f1680156101705780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156103ec57600080fd5b6101c76108be565b60405190815260200160405180910390f35b341561041157600080fd5b6101a0600160a060020a03600435166024356108c5565b604051901515815260200160405180910390f35b341561044757600080fd5b6102da600435610a54565b604051600160a060020a03909116815260200160405180910390f35b341561047957600080fd5b6101c7600160a060020a0360043581169060243516610a6f565b60405190815260200160405180910390f35b34156104b057600080fd5b6101a0610a9c565b604051901515815260200160405180910390f35b60408051908101604052600881527f4d756c7469626f74000000000000000000000000000000000000000000000000602082015281565b600081158015906105385750600160a060020a0333811660009081526008602090815260408083209387168352929052205415155b15610545575060006105a9565b600160a060020a03338116600081815260086020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b6004545b90565b60005481565b600160a060020a03831660009081526007602052604081205482901080159061060c5750600160a060020a0380851660009081526008602090815260408083203390941683529290522054829010155b80156106185750600082115b801561063d5750600160a060020a038316600090815260076020526040902054828101115b1561076557600160a060020a03808516600081815260076020818152604080842080548990039055600882528084203387168552825280842080548990039055888616845291905290208054850190556001549091161480156106ae5750600154600160a060020a03848116911614155b156106bc5760038054830190555b600154600160a060020a038581169116148015906106e75750600154600160a060020a038481169116145b156106f6576003805483900390555b600154600160a060020a038481169116146107165761071483610aa2565b505b82600160a060020a031684600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a3506001610769565b5060005b5b9392505050565b600881565b60015460009033600160a060020a0390811691161461079457600080fd5b600160a060020a0333166000908152600760205260409020548290116107b957600080fd5b600160a060020a0333166000818152600760205260408082208054869003905581548590039091557fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59084905190815260200160405180910390a25060015b5b919050565b600860209081526000928352604080842090915290825290205481565b600081815260066020526040902054600160a060020a03165b919050565b600160a060020a0381166000908152600760205260409020545b919050565b600154600160a060020a031681565b60408051908101604052600381527f4d42540000000000000000000000000000000000000000000000000000000000602082015281565b6003545b90565b6000604060443610156108d757600080fd5b600160a060020a038416158015906108ef5750600083115b80156109145750600160a060020a033316600090815260076020526040902054839010155b80156109395750600160a060020a038416600090815260076020526040902054838101115b15610a4657600160a060020a03338116600081815260076020526040808220805488900390558784168252902080548601905560015490911614801561098d5750600154600160a060020a03858116911614155b1561099b5760038054840190555b60015433600160a060020a039081169116148015906109c75750600154600160a060020a038581169116145b156109d6576003805484900390555b600154600160a060020a038581169116146109f6576109f484610aa2565b505b83600160a060020a031633600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405190815260200160405180910390a360019150610a4b565b600091505b5b5b5092915050565b600660205260009081526040902054600160a060020a031681565b600160a060020a038083166000908152600860209081526040808320938516835292905220545b92915050565b60015b90565b600160a060020a03811660009081526005602052604081205460ff16151560011415610ad057506000610818565b50600480546001908101918290556000918252600660209081526040808420805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03871690811790915584526005909152909120805460ff191682179055610818565b5060005b9190505600a165627a7a723058209a4209299a75467971ff22ce8880e0973ab1789619a4890530b23467e22b86610029
Swarm Source
bzzr://9a4209299a75467971ff22ce8880e0973ab1789619a4890530b23467e22b8661
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.