ERC-20
Overview
Max Total Supply
360,000,000 BOB
Holders
26,210 ( 0.004%)
Market
Price
$0.00 @ 0.000000 ETH
Onchain Market Cap
$27,842.40
Circulating Supply Market Cap
$20,513.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
20 BOBValue
$0.00 ( ~0 Eth) [0.0000%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
BOBToken
Compiler Version
v0.4.21+commit.dfe3193c
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-04-05 */ pragma solidity ^0.4.18; /** * Bob's Repair Token * https://bobsrepair.com/ * Using Blockchain to eliminate review fraud and provide lower pricing in the home repair industry through a decentralized platform. */ //=== OpenZeppelin Library Contracts https://github.com/OpenZeppelin/zeppelin-solidity === /** * @title ERC20Basic * @dev Simpler version of ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/179 */ contract ERC20Basic { function totalSupply() public view returns (uint256); function balanceOf(address who) public view returns (uint256); function transfer(address to, uint256 value) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); } /** * @title ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/20 */ contract ERC20 is ERC20Basic { function allowance(address owner, address spender) public view returns (uint256); function transferFrom(address from, address to, uint256 value) public returns (bool); function approve(address spender, uint256 value) public returns (bool); event Approval(address indexed owner, address indexed spender, uint256 value); } /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure. * To use this library you can add a `using SafeERC20 for ERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { function safeTransfer(ERC20Basic token, address to, uint256 value) internal { assert(token.transfer(to, value)); } function safeTransferFrom(ERC20 token, address from, address to, uint256 value) internal { assert(token.transferFrom(from, to, value)); } function safeApprove(ERC20 token, address spender, uint256 value) internal { assert(token.approve(spender, value)); } } /** @title ERC827 interface, an extension of ERC20 token standard Interface of a ERC827 token, following the ERC20 standard with extra methods to transfer value and data and execute calls in transfers and approvals. */ contract ERC827 is ERC20 { function approve( address _spender, uint256 _value, bytes _data ) public returns (bool); function transfer( address _to, uint256 _value, bytes _data ) public returns (bool); function transferFrom( address _from, address _to, uint256 _value, bytes _data ) public returns (bool); } /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; assert(c / a == b); return c; } function div(uint256 a, uint256 b) internal pure 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 pure returns (uint256) { assert(b <= a); return a - b; } function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; assert(c >= a); return c; } } /** * @title Basic token * @dev Basic version of StandardToken, with no allowances. */ contract BasicToken is ERC20Basic { using SafeMath for uint256; mapping(address => uint256) balances; uint256 totalSupply_; /** * @dev total number of tokens in existence */ function totalSupply() public view returns (uint256) { return totalSupply_; } /** * @dev transfer token for a specified address * @param _to The address to transfer to. * @param _value The amount to be transferred. */ function transfer(address _to, uint256 _value) public returns (bool) { require(_to != address(0)); require(_value <= balances[msg.sender]); // SafeMath.sub will throw if there is not enough balance. balances[msg.sender] = balances[msg.sender].sub(_value); balances[_to] = balances[_to].add(_value); Transfer(msg.sender, _to, _value); return true; } /** * @dev Gets the balance of the specified address. * @param _owner The address to query the the balance of. * @return An uint256 representing the amount owned by the passed address. */ function balanceOf(address _owner) public view returns (uint256 balance) { return balances[_owner]; } } /** * @title Standard ERC20 token * * @dev Implementation of the basic standard token. * @dev https://github.com/ethereum/EIPs/issues/20 * @dev Based on code by FirstBlood: https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol */ contract StandardToken is ERC20, BasicToken { mapping (address => mapping (address => uint256)) internal allowed; /** * @dev Transfer tokens from one address to another * @param _from address The address which you want to send tokens from * @param _to address The address which you want to transfer to * @param _value uint256 the amount of tokens to be transferred */ function transferFrom(address _from, address _to, uint256 _value) public returns (bool) { require(_to != address(0)); require(_value <= balances[_from]); require(_value <= allowed[_from][msg.sender]); balances[_from] = balances[_from].sub(_value); balances[_to] = balances[_to].add(_value); allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value); Transfer(_from, _to, _value); return true; } /** * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender. * * Beware that changing an allowance with this method brings the risk that someone may use both the old * and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this * race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * @param _spender The address which will spend the funds. * @param _value The amount of tokens to be spent. */ function approve(address _spender, uint256 _value) public returns (bool) { allowed[msg.sender][_spender] = _value; Approval(msg.sender, _spender, _value); return true; } /** * @dev Function to check the amount of tokens that an owner allowed to a spender. * @param _owner address The address which owns the funds. * @param _spender address The address which will spend the funds. * @return A uint256 specifying the amount of tokens still available for the spender. */ function allowance(address _owner, address _spender) public view returns (uint256) { return allowed[_owner][_spender]; } /** * @dev Increase the amount of tokens that an owner allowed to a spender. * * approve should be called when allowed[_spender] == 0. To increment * allowed value is better to use this function to avoid 2 calls (and wait until * the first transaction is mined) * From MonolithDAO Token.sol * @param _spender The address which will spend the funds. * @param _addedValue The amount of tokens to increase the allowance by. */ function increaseApproval(address _spender, uint _addedValue) public returns (bool) { allowed[msg.sender][_spender] = allowed[msg.sender][_spender].add(_addedValue); Approval(msg.sender, _spender, allowed[msg.sender][_spender]); return true; } /** * @dev Decrease the amount of tokens that an owner allowed to a spender. * * approve should be called when allowed[_spender] == 0. To decrement * allowed value is better to use this function to avoid 2 calls (and wait until * the first transaction is mined) * From MonolithDAO Token.sol * @param _spender The address which will spend the funds. * @param _subtractedValue The amount of tokens to decrease the allowance by. */ function decreaseApproval(address _spender, uint _subtractedValue) public returns (bool) { uint oldValue = allowed[msg.sender][_spender]; if (_subtractedValue > oldValue) { allowed[msg.sender][_spender] = 0; } else { allowed[msg.sender][_spender] = oldValue.sub(_subtractedValue); } Approval(msg.sender, _spender, allowed[msg.sender][_spender]); return true; } } /** @title ERC827, an extension of ERC20 token standard Implementation the ERC827, following the ERC20 standard with extra methods to transfer value and data and execute calls in transfers and approvals. Uses OpenZeppelin StandardToken. */ contract ERC827Token is ERC827, StandardToken { /** @dev Addition to ERC20 token methods. It allows to approve the transfer of value and execute a call with the sent data. Beware that changing an allowance with this method brings the risk that someone may use both the old and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 @param _spender The address that will spend the funds. @param _value The amount of tokens to be spent. @param _data ABI-encoded contract call to call `_to` address. @return true if the call function was executed successfully */ function approve(address _spender, uint256 _value, bytes _data) public returns (bool) { require(_spender != address(this)); super.approve(_spender, _value); require(_spender.call(_data)); return true; } /** @dev Addition to ERC20 token methods. Transfer tokens to a specified address and execute a call with the sent data on the same transaction @param _to address The address which you want to transfer to @param _value uint256 the amout of tokens to be transfered @param _data ABI-encoded contract call to call `_to` address. @return true if the call function was executed successfully */ function transfer(address _to, uint256 _value, bytes _data) public returns (bool) { require(_to != address(this)); super.transfer(_to, _value); require(_to.call(_data)); return true; } /** @dev Addition to ERC20 token methods. Transfer tokens from one address to another and make a contract call on the same transaction @param _from The address which you want to send tokens from @param _to The address which you want to transfer to @param _value The amout of tokens to be transferred @param _data ABI-encoded contract call to call `_to` address. @return true if the call function was executed successfully */ function transferFrom(address _from, address _to, uint256 _value, bytes _data) public returns (bool) { require(_to != address(this)); super.transferFrom(_from, _to, _value); require(_to.call(_data)); return true; } /** * @dev Addition to StandardToken methods. Increase the amount of tokens that * an owner allowed to a spender and execute a call with the sent data. * * approve should be called when allowed[_spender] == 0. To increment * allowed value is better to use this function to avoid 2 calls (and wait until * the first transaction is mined) * From MonolithDAO Token.sol * @param _spender The address which will spend the funds. * @param _addedValue The amount of tokens to increase the allowance by. * @param _data ABI-encoded contract call to call `_spender` address. */ function increaseApproval(address _spender, uint _addedValue, bytes _data) public returns (bool) { require(_spender != address(this)); super.increaseApproval(_spender, _addedValue); require(_spender.call(_data)); return true; } /** * @dev Addition to StandardToken methods. Decrease the amount of tokens that * an owner allowed to a spender and execute a call with the sent data. * * approve should be called when allowed[_spender] == 0. To decrement * allowed value is better to use this function to avoid 2 calls (and wait until * the first transaction is mined) * From MonolithDAO Token.sol * @param _spender The address which will spend the funds. * @param _subtractedValue The amount of tokens to decrease the allowance by. * @param _data ABI-encoded contract call to call `_spender` address. */ function decreaseApproval(address _spender, uint _subtractedValue, bytes _data) public returns (bool) { require(_spender != address(this)); super.decreaseApproval(_spender, _subtractedValue); require(_spender.call(_data)); return true; } } /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ function Ownable() public { owner = msg.sender; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(msg.sender == owner); _; } /** * @dev Allows the current owner to transfer control of the contract to a newOwner. * @param newOwner The address to transfer ownership to. */ function transferOwnership(address newOwner) public onlyOwner { require(newOwner != address(0)); OwnershipTransferred(owner, newOwner); owner = newOwner; } } /** * @title Mintable token * @dev Simple ERC20 Token example, with mintable token creation * @dev Issue: * https://github.com/OpenZeppelin/zeppelin-solidity/issues/120 * Based on code by TokenMarketNet: https://github.com/TokenMarketNet/ico/blob/master/contracts/MintableToken.sol */ contract MintableToken is StandardToken, Ownable { event Mint(address indexed to, uint256 amount); event MintFinished(); bool public mintingFinished = false; modifier canMint() { require(!mintingFinished); _; } /** * @dev Function to mint tokens * @param _to The address that will receive the minted tokens. * @param _amount The amount of tokens to mint. * @return A boolean that indicates if the operation was successful. */ function mint(address _to, uint256 _amount) onlyOwner canMint public returns (bool) { totalSupply_ = totalSupply_.add(_amount); balances[_to] = balances[_to].add(_amount); Mint(_to, _amount); Transfer(address(0), _to, _amount); return true; } /** * @dev Function to stop minting new tokens. * @return True if the operation was successful. */ function finishMinting() onlyOwner canMint public returns (bool) { mintingFinished = true; MintFinished(); return true; } } /** * @title Destructible * @dev Base contract that can be destroyed by owner. All funds in contract will be sent to the owner. */ contract Destructible is Ownable { function Destructible() public payable { } /** * @dev Transfers the current balance to the owner and terminates the contract. */ function destroy() onlyOwner public { selfdestruct(owner); } function destroyAndSend(address _recipient) onlyOwner public { selfdestruct(_recipient); } } /** * @title Pausable * @dev Base contract which allows children to implement an emergency stop mechanism. */ contract Pausable is Ownable { event Pause(); event Unpause(); bool public paused = false; /** * @dev Modifier to make a function callable only when the contract is not paused. */ modifier whenNotPaused() { require(!paused); _; } /** * @dev Modifier to make a function callable only when the contract is paused. */ modifier whenPaused() { require(paused); _; } /** * @dev called by the owner to pause, triggers stopped state */ function pause() onlyOwner whenNotPaused public { paused = true; Pause(); } /** * @dev called by the owner to unpause, returns to normal state */ function unpause() onlyOwner whenPaused public { paused = false; Unpause(); } } /** * @title Contracts that should not own Ether * @author Remco Bloemen <remco@2π.com> * @dev This tries to block incoming ether to prevent accidental loss of Ether. Should Ether end up * in the contract, it will allow the owner to reclaim this ether. * @notice Ether can still be send to this contract by: * calling functions labeled `payable` * `selfdestruct(contract_address)` * mining directly to the contract address */ contract HasNoEther is Ownable { /** * @dev Constructor that rejects incoming Ether * @dev The `payable` flag is added so we can access `msg.value` without compiler warning. If we * leave out payable, then Solidity will allow inheriting contracts to implement a payable * constructor. By doing it this way we prevent a payable constructor from working. Alternatively * we could use assembly to access msg.value. */ function HasNoEther() public payable { require(msg.value == 0); } /** * @dev Disallows direct send by settings a default function without the `payable` flag. */ function() external { } /** * @dev Transfer all Ether held by the contract to the owner. */ function reclaimEther() external onlyOwner { assert(owner.send(this.balance)); } } /** * @title Contracts that should not own Contracts * @author Remco Bloemen <remco@2π.com> * @dev Should contracts (anything Ownable) end up being owned by this contract, it allows the owner * of this contract to reclaim ownership of the contracts. */ contract HasNoContracts is Ownable { /** * @dev Reclaim ownership of Ownable contracts * @param contractAddr The address of the Ownable to be reclaimed. */ function reclaimContract(address contractAddr) external onlyOwner { Ownable contractInst = Ownable(contractAddr); contractInst.transferOwnership(owner); } } /** * @title Contracts that should be able to recover tokens * @author SylTi * @dev This allow a contract to recover any ERC20 token received in a contract by transferring the balance to the contract owner. * This will prevent any accidental loss of tokens. */ contract CanReclaimToken is Ownable { using SafeERC20 for ERC20Basic; /** * @dev Reclaim all ERC20Basic compatible tokens * @param token ERC20Basic The address of the token contract */ function reclaimToken(ERC20Basic token) external onlyOwner { uint256 balance = token.balanceOf(this); token.safeTransfer(owner, balance); } } /** * @title Contracts that should not own Tokens * @author Remco Bloemen <remco@2π.com> * @dev This blocks incoming ERC23 tokens to prevent accidental loss of tokens. * Should tokens (any ERC20Basic compatible) end up in the contract, it allows the * owner to reclaim the tokens. */ contract HasNoTokens is CanReclaimToken { /** * @dev Reject all ERC23 compatible tokens * @param from_ address The address that is transferring the tokens * @param value_ uint256 the amount of the specified token * @param data_ Bytes The data passed from the caller. */ function tokenFallback(address from_, uint256 value_, bytes data_) pure external { from_; value_; data_; revert(); } } /** * @title Base contract for contracts that should not own things. * @author Remco Bloemen <remco@2π.com> * @dev Solves a class of errors where a contract accidentally becomes owner of Ether, Tokens or * Owned contracts. See respective base contracts for details. */ contract NoOwner is HasNoEther, HasNoTokens, HasNoContracts { } /** * @title TokenVesting * @dev A token holder contract that can release its token balance gradually like a * typical vesting scheme, with a cliff and vesting period. Optionally revocable by the * owner. */ contract TokenVesting is Ownable { using SafeMath for uint256; using SafeERC20 for ERC20Basic; event Released(uint256 amount); event Revoked(); // beneficiary of tokens after they are released address public beneficiary; uint256 public cliff; uint256 public start; uint256 public duration; bool public revocable; mapping (address => uint256) public released; mapping (address => bool) public revoked; /** * @dev Creates a vesting contract that vests its balance of any ERC20 token to the * _beneficiary, gradually in a linear fashion until _start + _duration. By then all * of the balance will have vested. * @param _beneficiary address of the beneficiary to whom vested tokens are transferred * @param _cliff duration in seconds of the cliff in which tokens will begin to vest * @param _duration duration in seconds of the period in which the tokens will vest * @param _revocable whether the vesting is revocable or not */ function TokenVesting(address _beneficiary, uint256 _start, uint256 _cliff, uint256 _duration, bool _revocable) public { require(_beneficiary != address(0)); require(_cliff <= _duration); beneficiary = _beneficiary; revocable = _revocable; duration = _duration; cliff = _start.add(_cliff); start = _start; } /** * @notice Transfers vested tokens to beneficiary. * @param token ERC20 token which is being vested */ function release(ERC20Basic token) public { uint256 unreleased = releasableAmount(token); require(unreleased > 0); released[token] = released[token].add(unreleased); token.safeTransfer(beneficiary, unreleased); Released(unreleased); } /** * @notice Allows the owner to revoke the vesting. Tokens already vested * remain in the contract, the rest are returned to the owner. * @param token ERC20 token which is being vested */ function revoke(ERC20Basic token) public onlyOwner { require(revocable); require(!revoked[token]); uint256 balance = token.balanceOf(this); uint256 unreleased = releasableAmount(token); uint256 refund = balance.sub(unreleased); revoked[token] = true; token.safeTransfer(owner, refund); Revoked(); } /** * @dev Calculates the amount that has already vested but hasn't been released yet. * @param token ERC20 token which is being vested */ function releasableAmount(ERC20Basic token) public view returns (uint256) { return vestedAmount(token).sub(released[token]); } /** * @dev Calculates the amount that has already vested. * @param token ERC20 token which is being vested */ function vestedAmount(ERC20Basic token) public view returns (uint256) { uint256 currentBalance = token.balanceOf(this); uint256 totalBalance = currentBalance.add(released[token]); if (now < cliff) { return 0; } else if (now >= start.add(duration) || revoked[token]) { return totalBalance; } else { return totalBalance.mul(now.sub(start)).div(duration); } } } // === Modified OpenZeppelin contracts === /** * @title Burnable Token * @dev Token that can be irreversibly burned (destroyed). * Based on https://github.com/OpenZeppelin/zeppelin-solidity/blob/master/contracts/token/ERC20/BurnableToken.sol */ contract BurnableToken is BasicToken { event Burn(address indexed burner, uint256 value); /** * @dev Burns a specific amount of tokens. * @param _value The amount of token to be burned. */ function burn(uint256 _value) public returns (bool) { require(_value <= balances[msg.sender]); // no need to require value <= totalSupply, since that would imply the // sender's balance is greater than the totalSupply, which *should* be an assertion failure address burner = msg.sender; balances[burner] = balances[burner].sub(_value); totalSupply_ = totalSupply_.sub(_value); Burn(burner, _value); Transfer(burner, address(0), _value); return true; } } /** * @title BOBTokenVesting * @dev Extends TokenVesting contract to allow reclaim ether and contracts, if transfered to this by mistake. */ contract BOBTokenVesting is TokenVesting, HasNoEther, HasNoContracts, Destructible { /** * @dev Call consturctor of TokenVesting with exactly same parameters */ function BOBTokenVesting(address _beneficiary, uint256 _start, uint256 _cliff, uint256 _duration, bool _revocable) TokenVesting( _beneficiary, _start, _cliff, _duration, _revocable) public {} } /** * @title Pausable ERC827token * @dev ERC827Token modified with pausable transfers. Based on OpenZeppelin's PausableToken **/ contract PausableERC827Token is ERC827Token, Pausable { // ERC20 functions function transfer(address _to, uint256 _value) public whenNotPaused returns (bool) { return super.transfer(_to, _value); } function transferFrom(address _from, address _to, uint256 _value) public whenNotPaused returns (bool) { return super.transferFrom(_from, _to, _value); } function approve(address _spender, uint256 _value) public whenNotPaused returns (bool) { return super.approve(_spender, _value); } function increaseApproval(address _spender, uint _addedValue) public whenNotPaused returns (bool success) { return super.increaseApproval(_spender, _addedValue); } function decreaseApproval(address _spender, uint _subtractedValue) public whenNotPaused returns (bool success) { return super.decreaseApproval(_spender, _subtractedValue); } //ERC827 functions function transfer(address _to, uint256 _value, bytes _data) public whenNotPaused returns (bool) { return super.transfer(_to, _value, _data); } function transferFrom(address _from, address _to, uint256 _value, bytes _data) public whenNotPaused returns (bool) { return super.transferFrom(_from, _to, _value, _data); } function approve(address _spender, uint256 _value, bytes _data) public whenNotPaused returns (bool) { return super.approve(_spender, _value, _data); } function increaseApproval(address _spender, uint _addedValue, bytes _data) public whenNotPaused returns (bool success) { return super.increaseApproval(_spender, _addedValue, _data); } function decreaseApproval(address _spender, uint _subtractedValue, bytes _data) public whenNotPaused returns (bool success) { return super.decreaseApproval(_spender, _subtractedValue, _data); } } // === Bob's Repair Contracts === /** * @title Airdroppable Token */ contract AirdropToken is PausableERC827Token { using SafeMath for uint256; uint8 private constant PERCENT_DIVIDER = 100; event AirdropStart(uint256 multiplierPercent, uint256 airdropNumber); event AirdropComplete(uint256 airdropNumber); uint256 public multiplierPercent = 0; //Multiplier of current airdrop (for example, multiplierPercent = 200 and holder balance is 1 TOKEN, after airdrop it will be 2 TOKEN) uint256 public currentAirdrop = 0; //Number of current airdrop. If 0 - no airdrop started uint256 public undropped; //Amount not yet airdropped mapping(address => uint256) public airdropped; //map of alreday airdropped addresses /** * @notice Start airdrop * @param _multiplierPercent Multiplier of the airdrop */ function startAirdrop(uint256 _multiplierPercent) onlyOwner external returns(bool){ pause(); require(multiplierPercent == 0); //This means airdrop was finished require(_multiplierPercent > PERCENT_DIVIDER); //Require that after airdrop amount of tokens will be greater than before currentAirdrop = currentAirdrop.add(1); multiplierPercent = _multiplierPercent; undropped = totalSupply(); assert(multiplierPercent.mul(undropped) > 0); //Assert that wrong multiplier will not result in owerflow in airdropAmount() AirdropStart(multiplierPercent, currentAirdrop); } /** * @notice Finish airdrop, unpause token transfers * @dev Anyone can call this function after all addresses are airdropped */ function finishAirdrop() external returns(bool){ require(undropped == 0); multiplierPercent = 0; AirdropComplete(currentAirdrop); unpause(); } /** * @notice Execute airdrop for a bunch of addresses. Should be repeated for all addresses with non-zero amount of tokens. * @dev This function can be called by anyone, not only the owner * @param holders Array of token holder addresses. * @return true if success */ function drop(address[] holders) external returns(bool){ for(uint256 i=0; i < holders.length; i++){ address holder = holders[i]; if(!isAirdropped(holder)){ uint256 balance = balances[holder]; undropped = undropped.sub(balance); balances[holder] = airdropAmount(balance); uint256 amount = balances[holder].sub(balance); totalSupply_ = totalSupply_.add(amount); Transfer(address(0), holder, amount); setAirdropped(holder); } } } /** * @notice Calculates amount of tokens after airdrop * @param amount Balance before airdrop * @return Amount of tokens after airdrop */ function airdropAmount(uint256 amount) view public returns(uint256){ require(multiplierPercent > 0); return multiplierPercent.mul(amount).div(PERCENT_DIVIDER); } /** * @dev Check if address was already airdropped * @param holder Address of token holder * @return true if address was airdropped */ function isAirdropped(address holder) view internal returns(bool){ return (airdropped[holder] == currentAirdrop); } /** * @dev Mark address as airdropped * @param holder Address of token holder */ function setAirdropped(address holder) internal { airdropped[holder] = currentAirdrop; } } contract BOBToken is AirdropToken, MintableToken, BurnableToken, NoOwner { string public symbol = 'BOB'; string public name = 'BOB Token'; uint8 public constant decimals = 18; address founder; //founder address to allow him transfer tokens even when transfers disabled bool public transferEnabled; //allows to dissable transfers while minting and in case of emergency function setFounder(address _founder) onlyOwner public { founder = _founder; } function setTransferEnabled(bool enable) onlyOwner public { transferEnabled = enable; } /** * Allow transfer only after crowdsale finished */ modifier canTransfer() { require( transferEnabled || msg.sender == founder || msg.sender == owner); _; } function transfer(address _to, uint256 _value) canTransfer public returns (bool) { return super.transfer(_to, _value); } function transferFrom(address _from, address _to, uint256 _value) canTransfer public returns (bool) { return super.transferFrom(_from, _to, _value); } function transfer(address _to, uint256 _value, bytes _data) canTransfer public returns (bool) { return super.transfer(_to, _value, _data); } function transferFrom(address _from, address _to, uint256 _value, bytes _data) canTransfer public returns (bool) { return super.transferFrom(_from, _to, _value, _data); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"currentAirdrop","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"mintingFinished","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"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":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_addedValue","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"increaseApproval","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"token","type":"address"}],"name":"reclaimToken","outputs":[],"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":"finishAirdrop","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"airdropped","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":false,"inputs":[{"name":"contractAddr","type":"address"}],"name":"reclaimContract","outputs":[],"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":"unpause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"mint","outputs":[{"name":"","type":"bool"}],"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":"transferEnabled","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"approve","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":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_subtractedValue","type":"uint256"}],"name":"decreaseApproval","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_subtractedValue","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"decreaseApproval","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_founder","type":"address"}],"name":"setFounder","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"finishMinting","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":false,"inputs":[{"name":"holders","type":"address[]"}],"name":"drop","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"reclaimEther","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"enable","type":"bool"}],"name":"setTransferEnabled","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"amount","type":"uint256"}],"name":"airdropAmount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","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":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"undropped","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"multiplierPercent","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_multiplierPercent","type":"uint256"}],"name":"startAirdrop","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"from_","type":"address"},{"name":"value_","type":"uint256"},{"name":"data_","type":"bytes"}],"name":"tokenFallback","outputs":[],"payable":false,"stateMutability":"pure","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_addedValue","type":"uint256"}],"name":"increaseApproval","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","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"},{"payable":false,"stateMutability":"nonpayable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"burner","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[],"name":"MintFinished","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"multiplierPercent","type":"uint256"},{"indexed":false,"name":"airdropNumber","type":"uint256"}],"name":"AirdropStart","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"airdropNumber","type":"uint256"}],"name":"AirdropComplete","type":"event"},{"anonymous":false,"inputs":[],"name":"Pause","type":"event"},{"anonymous":false,"inputs":[],"name":"Unpause","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"}]
Contract Creation Code
606060409081526003805460a060020a60ff0219169055600060048190556005556008805460ff191690558051908101604052600381527f424f4200000000000000000000000000000000000000000000000000000000006020820152600990805162000071929160200190620000e9565b5060408051908101604052600981527f424f4220546f6b656e00000000000000000000000000000000000000000000006020820152600a908051620000bb929160200190620000e9565b5060038054600160a060020a03191633600160a060020a03161790553415620000e357600080fd5b6200018e565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200012c57805160ff19168380011785556200015c565b828001600101855582156200015c579182015b828111156200015c5782518255916020019190600101906200013f565b506200016a9291506200016e565b5090565b6200018b91905b808211156200016a576000815560010162000175565b90565b611d2a806200019e6000396000f3006060604052600436106101d45763ffffffff60e060020a60003504166303f14e9681146101e157806305d2035b1461020657806306fdde031461022d578063095ea7b3146102b757806316ca3b63146102d957806317ffc3201461033e57806318160ddd1461035d5780631a668c421461037057806320b576141461038357806323b872dd146103a25780632aed7f3f146103ca578063313ce567146103e95780633f4ba83a1461041257806340c10f191461042557806342966c68146104475780634cd412d51461045d5780635c17f9f4146104705780635c975abb146104d557806366188463146104e857806370a082311461050a5780637272ad49146105295780637a341bc71461058e5780637d64bcb4146105ad5780638456cb59146105c05780638da5cb5b146105d35780638ef5eaf01461060257806395d89b41146106205780639f727c27146106335780639fe9f62314610646578063a4d5a3a51461065e578063a9059cbb14610674578063ab67aa5814610696578063acac9a9f14610702578063b55a7d4514610715578063be45fd6214610728578063beae207f1461078d578063c0ee0b8a146107a3578063d73dd623146107d2578063dd62ed3e146107f4578063f2fde38b14610819575b34156101df57600080fd5b005b34156101ec57600080fd5b6101f4610838565b60405190815260200160405180910390f35b341561021157600080fd5b61021961083e565b604051901515815260200160405180910390f35b341561023857600080fd5b610240610847565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561027c578082015183820152602001610264565b50505050905090810190601f1680156102a95780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156102c257600080fd5b610219600160a060020a03600435166024356108e5565b34156102e457600080fd5b61021960048035600160a060020a03169060248035919060649060443590810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061091095505050505050565b341561034957600080fd5b6101df600160a060020a036004351661093d565b341561036857600080fd5b6101f46109e6565b341561037b57600080fd5b6102196109ed565b341561038e57600080fd5b6101f4600160a060020a0360043516610a40565b34156103ad57600080fd5b610219600160a060020a0360043581169060243516604435610a52565b34156103d557600080fd5b6101df600160a060020a0360043516610aaa565b34156103f457600080fd5b6103fc610b33565b60405160ff909116815260200160405180910390f35b341561041d57600080fd5b6101df610b38565b341561043057600080fd5b610219600160a060020a0360043516602435610bb7565b341561045257600080fd5b610219600435610cac565b341561046857600080fd5b610219610d9a565b341561047b57600080fd5b61021960048035600160a060020a03169060248035919060649060443590810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610daa95505050505050565b34156104e057600080fd5b610219610dcf565b34156104f357600080fd5b610219600160a060020a0360043516602435610ddf565b341561051557600080fd5b6101f4600160a060020a0360043516610e03565b341561053457600080fd5b61021960048035600160a060020a03169060248035919060649060443590810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610e1e95505050505050565b341561059957600080fd5b6101df600160a060020a0360043516610e43565b34156105b857600080fd5b610219610e8d565b34156105cb57600080fd5b6101df610efa565b34156105de57600080fd5b6105e6610f7e565b604051600160a060020a03909116815260200160405180910390f35b341561060d57600080fd5b6102196004803560248101910135610f8d565b341561062b57600080fd5b610240611093565b341561063e57600080fd5b6101df6110fe565b341561065157600080fd5b6101df6004351515611151565b341561066957600080fd5b6101f460043561119b565b341561067f57600080fd5b610219600160a060020a03600435166024356111d9565b34156106a157600080fd5b610219600160a060020a036004803582169160248035909116916044359160849060643590810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061123095505050505050565b341561070d57600080fd5b6101f4611292565b341561072057600080fd5b6101f4611298565b341561073357600080fd5b61021960048035600160a060020a03169060248035919060649060443590810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061129e95505050505050565b341561079857600080fd5b6102196004356112f6565b34156107ae57600080fd5b6101df60048035600160a060020a03169060248035916044359182019101356113bf565b34156107dd57600080fd5b610219600160a060020a03600435166024356113c4565b34156107ff57600080fd5b6101f4600160a060020a03600435811690602435166113e8565b341561082457600080fd5b6101df600160a060020a0360043516611413565b60055481565b60085460ff1681565b600a8054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156108dd5780601f106108b2576101008083540402835291602001916108dd565b820191906000526020600020905b8154815290600101906020018083116108c057829003601f168201915b505050505081565b60035460009060a060020a900460ff16156108ff57600080fd5b61090983836114ae565b9392505050565b60035460009060a060020a900460ff161561092a57600080fd5b61093584848461151a565b949350505050565b60035460009033600160a060020a0390811691161461095b57600080fd5b81600160a060020a03166370a082313060405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b15156109a957600080fd5b5af115156109b657600080fd5b50505060405180516003549092506109e29150600160a060020a0384811691168363ffffffff6115d416565b5050565b6001545b90565b600654600090156109fd57600080fd5b60006004556005547f96f2927ce74aa9968e629ed09ae43492f0303c3c814367c1f9d147a20be577b89060405190815260200160405180910390a16109ea610b38565b60076020526000908152604090205481565b600b5460009060a060020a900460ff1680610a7b5750600b5433600160a060020a039081169116145b80610a94575060035433600160a060020a039081169116145b1515610a9f57600080fd5b61093584848461164c565b60035460009033600160a060020a03908116911614610ac857600080fd5b506003548190600160a060020a038083169163f2fde38b911660405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401600060405180830381600087803b1515610b1f57600080fd5b5af11515610b2c57600080fd5b5050505050565b601281565b60035433600160a060020a03908116911614610b5357600080fd5b60035460a060020a900460ff161515610b6b57600080fd5b6003805474ff0000000000000000000000000000000000000000191690557f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3360405160405180910390a1565b60035460009033600160a060020a03908116911614610bd557600080fd5b60085460ff1615610be557600080fd5b600154610bf8908363ffffffff61167116565b600155600160a060020a038316600090815260208190526040902054610c24908363ffffffff61167116565b600160a060020a0384166000818152602081905260409081902092909255907f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968859084905190815260200160405180910390a2600160a060020a0383166000600080516020611cdf8339815191528460405190815260200160405180910390a350600192915050565b600160a060020a0333166000908152602081905260408120548190831115610cd357600080fd5b5033600160a060020a038116600090815260208190526040902054610cf8908461168b565b600160a060020a038216600090815260208190526040902055600154610d24908463ffffffff61168b16565b600155600160a060020a0381167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58460405190815260200160405180910390a26000600160a060020a038216600080516020611cdf8339815191528560405190815260200160405180910390a350600192915050565b600b5460a060020a900460ff1681565b60035460009060a060020a900460ff1615610dc457600080fd5b61093584848461169d565b60035460a060020a900460ff1681565b60035460009060a060020a900460ff1615610df957600080fd5b61090983836116ca565b600160a060020a031660009081526020819052604090205490565b60035460009060a060020a900460ff1615610e3857600080fd5b6109358484846117c4565b60035433600160a060020a03908116911614610e5e57600080fd5b600b805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60035460009033600160a060020a03908116911614610eab57600080fd5b60085460ff1615610ebb57600080fd5b6008805460ff191660011790557fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0860405160405180910390a150600190565b60035433600160a060020a03908116911614610f1557600080fd5b60035460a060020a900460ff1615610f2c57600080fd5b6003805474ff0000000000000000000000000000000000000000191660a060020a1790557f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62560405160405180910390a1565b600354600160a060020a031681565b6000808080805b8584101561108957868685818110610fa857fe5b90506020020135600160a060020a03169250610fc3836117f1565b151561107e57600160a060020a038316600090815260208190526040902054600654909250610ff8908363ffffffff61168b16565b6006556110048261119b565b600160a060020a038416600090815260208190526040902081905561102f908363ffffffff61168b16565b600154909150611045908263ffffffff61167116565b600155600160a060020a0383166000600080516020611cdf8339815191528360405190815260200160405180910390a361107e83611813565b600190930192610f94565b5050505092915050565b60098054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156108dd5780601f106108b2576101008083540402835291602001916108dd565b60035433600160a060020a0390811691161461111957600080fd5b600354600160a060020a039081169030163180156108fc0290604051600060405180830381858888f19350505050151561114f57fe5b565b60035433600160a060020a0390811691161461116c57600080fd5b600b805491151560a060020a0274ff000000000000000000000000000000000000000019909216919091179055565b6000806004541115156111ad57600080fd5b6004546111d3906064906111c7908563ffffffff61183216565b9063ffffffff61185d16565b92915050565b600b5460009060a060020a900460ff16806112025750600b5433600160a060020a039081169116145b8061121b575060035433600160a060020a039081169116145b151561122657600080fd5b6109098383611874565b600b5460009060a060020a900460ff16806112595750600b5433600160a060020a039081169116145b80611272575060035433600160a060020a039081169116145b151561127d57600080fd5b61128985858585611898565b95945050505050565b60065481565b60045481565b600b5460009060a060020a900460ff16806112c75750600b5433600160a060020a039081169116145b806112e0575060035433600160a060020a039081169116145b15156112eb57600080fd5b6109358484846118be565b60035460009033600160a060020a0390811691161461131457600080fd5b61131c610efa565b6004541561132957600080fd5b6064821161133657600080fd5b60055461134a90600163ffffffff61167116565b600555600482905561135a6109e6565b6006819055600454600091611375919063ffffffff61183216565b1161137c57fe5b7fd7ea76b8c503665ad50bd07587bf449877a09fcb5600ed21671bc6af46bd561860045460055460405191825260208201526040908101905180910390a1919050565b600080fd5b60035460009060a060020a900460ff16156113de57600080fd5b61090983836118e3565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b60035433600160a060020a0390811691161461142e57600080fd5b600160a060020a038116151561144357600080fd5b600354600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b600030600160a060020a031684600160a060020a03161415151561153d57600080fd5b61154784846118e3565b5083600160a060020a03168260405180828051906020019080838360005b8381101561157d578082015183820152602001611565565b50505050905090810190601f1680156115aa5780820380516001836020036101000a031916815260200191505b509150506000604051808303816000865af191505015156115ca57600080fd5b5060019392505050565b82600160a060020a031663a9059cbb838360405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561162857600080fd5b5af1151561163557600080fd5b50505060405180519050151561164757fe5b505050565b60035460009060a060020a900460ff161561166657600080fd5b610935848484611987565b60008282018381101561168057fe5b8091505b5092915050565b60008282111561169757fe5b50900390565b600030600160a060020a031684600160a060020a0316141515156116c057600080fd5b61154784846114ae565b600160a060020a0333811660009081526002602090815260408083209386168352929052908120548083111561172757600160a060020a03338116600090815260026020908152604080832093881683529290529081205561175e565b611737818463ffffffff61168b16565b600160a060020a033381166000908152600260209081526040808320938916835292905220555b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b600030600160a060020a031684600160a060020a0316141515156117e757600080fd5b61154784846116ca565b600554600160a060020a03821660009081526007602052604090205414919050565b600554600160a060020a03909116600090815260076020526040902055565b6000808315156118455760009150611684565b5082820282848281151561185557fe5b041461168057fe5b600080828481151561186b57fe5b04949350505050565b60035460009060a060020a900460ff161561188e57600080fd5b6109098383611af5565b60035460009060a060020a900460ff16156118b257600080fd5b61128985858585611bf5565b60035460009060a060020a900460ff16156118d857600080fd5b610935848484611cb1565b600160a060020a03338116600090815260026020908152604080832093861683529290529081205461191b908363ffffffff61167116565b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a350600192915050565b6000600160a060020a038316151561199e57600080fd5b600160a060020a0384166000908152602081905260409020548211156119c357600080fd5b600160a060020a03808516600090815260026020908152604080832033909416835292905220548211156119f657600080fd5b600160a060020a038416600090815260208190526040902054611a1f908363ffffffff61168b16565b600160a060020a038086166000908152602081905260408082209390935590851681522054611a54908363ffffffff61167116565b600160a060020a0380851660009081526020818152604080832094909455878316825260028152838220339093168252919091522054611a9a908363ffffffff61168b16565b600160a060020a0380861660008181526002602090815260408083203386168452909152908190209390935590851691600080516020611cdf8339815191529085905190815260200160405180910390a35060019392505050565b6000600160a060020a0383161515611b0c57600080fd5b600160a060020a033316600090815260208190526040902054821115611b3157600080fd5b600160a060020a033316600090815260208190526040902054611b5a908363ffffffff61168b16565b600160a060020a033381166000908152602081905260408082209390935590851681522054611b8f908363ffffffff61167116565b60008085600160a060020a0316600160a060020a031681526020019081526020016000208190555082600160a060020a031633600160a060020a0316600080516020611cdf8339815191528460405190815260200160405180910390a350600192915050565b600030600160a060020a031684600160a060020a031614151515611c1857600080fd5b611c23858585611987565b5083600160a060020a03168260405180828051906020019080838360005b83811015611c59578082015183820152602001611c41565b50505050905090810190601f168015611c865780820380516001836020036101000a031916815260200191505b509150506000604051808303816000865af19150501515611ca657600080fd5b506001949350505050565b600030600160a060020a031684600160a060020a031614151515611cd457600080fd5b6115478484611af55600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a72305820c41fb5c485f08b26d52a9f7f329aee7230d70e46bf0422222931490e139babbf0029
Deployed Bytecode
0x6060604052600436106101d45763ffffffff60e060020a60003504166303f14e9681146101e157806305d2035b1461020657806306fdde031461022d578063095ea7b3146102b757806316ca3b63146102d957806317ffc3201461033e57806318160ddd1461035d5780631a668c421461037057806320b576141461038357806323b872dd146103a25780632aed7f3f146103ca578063313ce567146103e95780633f4ba83a1461041257806340c10f191461042557806342966c68146104475780634cd412d51461045d5780635c17f9f4146104705780635c975abb146104d557806366188463146104e857806370a082311461050a5780637272ad49146105295780637a341bc71461058e5780637d64bcb4146105ad5780638456cb59146105c05780638da5cb5b146105d35780638ef5eaf01461060257806395d89b41146106205780639f727c27146106335780639fe9f62314610646578063a4d5a3a51461065e578063a9059cbb14610674578063ab67aa5814610696578063acac9a9f14610702578063b55a7d4514610715578063be45fd6214610728578063beae207f1461078d578063c0ee0b8a146107a3578063d73dd623146107d2578063dd62ed3e146107f4578063f2fde38b14610819575b34156101df57600080fd5b005b34156101ec57600080fd5b6101f4610838565b60405190815260200160405180910390f35b341561021157600080fd5b61021961083e565b604051901515815260200160405180910390f35b341561023857600080fd5b610240610847565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561027c578082015183820152602001610264565b50505050905090810190601f1680156102a95780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156102c257600080fd5b610219600160a060020a03600435166024356108e5565b34156102e457600080fd5b61021960048035600160a060020a03169060248035919060649060443590810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061091095505050505050565b341561034957600080fd5b6101df600160a060020a036004351661093d565b341561036857600080fd5b6101f46109e6565b341561037b57600080fd5b6102196109ed565b341561038e57600080fd5b6101f4600160a060020a0360043516610a40565b34156103ad57600080fd5b610219600160a060020a0360043581169060243516604435610a52565b34156103d557600080fd5b6101df600160a060020a0360043516610aaa565b34156103f457600080fd5b6103fc610b33565b60405160ff909116815260200160405180910390f35b341561041d57600080fd5b6101df610b38565b341561043057600080fd5b610219600160a060020a0360043516602435610bb7565b341561045257600080fd5b610219600435610cac565b341561046857600080fd5b610219610d9a565b341561047b57600080fd5b61021960048035600160a060020a03169060248035919060649060443590810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610daa95505050505050565b34156104e057600080fd5b610219610dcf565b34156104f357600080fd5b610219600160a060020a0360043516602435610ddf565b341561051557600080fd5b6101f4600160a060020a0360043516610e03565b341561053457600080fd5b61021960048035600160a060020a03169060248035919060649060443590810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610e1e95505050505050565b341561059957600080fd5b6101df600160a060020a0360043516610e43565b34156105b857600080fd5b610219610e8d565b34156105cb57600080fd5b6101df610efa565b34156105de57600080fd5b6105e6610f7e565b604051600160a060020a03909116815260200160405180910390f35b341561060d57600080fd5b6102196004803560248101910135610f8d565b341561062b57600080fd5b610240611093565b341561063e57600080fd5b6101df6110fe565b341561065157600080fd5b6101df6004351515611151565b341561066957600080fd5b6101f460043561119b565b341561067f57600080fd5b610219600160a060020a03600435166024356111d9565b34156106a157600080fd5b610219600160a060020a036004803582169160248035909116916044359160849060643590810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061123095505050505050565b341561070d57600080fd5b6101f4611292565b341561072057600080fd5b6101f4611298565b341561073357600080fd5b61021960048035600160a060020a03169060248035919060649060443590810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061129e95505050505050565b341561079857600080fd5b6102196004356112f6565b34156107ae57600080fd5b6101df60048035600160a060020a03169060248035916044359182019101356113bf565b34156107dd57600080fd5b610219600160a060020a03600435166024356113c4565b34156107ff57600080fd5b6101f4600160a060020a03600435811690602435166113e8565b341561082457600080fd5b6101df600160a060020a0360043516611413565b60055481565b60085460ff1681565b600a8054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156108dd5780601f106108b2576101008083540402835291602001916108dd565b820191906000526020600020905b8154815290600101906020018083116108c057829003601f168201915b505050505081565b60035460009060a060020a900460ff16156108ff57600080fd5b61090983836114ae565b9392505050565b60035460009060a060020a900460ff161561092a57600080fd5b61093584848461151a565b949350505050565b60035460009033600160a060020a0390811691161461095b57600080fd5b81600160a060020a03166370a082313060405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b15156109a957600080fd5b5af115156109b657600080fd5b50505060405180516003549092506109e29150600160a060020a0384811691168363ffffffff6115d416565b5050565b6001545b90565b600654600090156109fd57600080fd5b60006004556005547f96f2927ce74aa9968e629ed09ae43492f0303c3c814367c1f9d147a20be577b89060405190815260200160405180910390a16109ea610b38565b60076020526000908152604090205481565b600b5460009060a060020a900460ff1680610a7b5750600b5433600160a060020a039081169116145b80610a94575060035433600160a060020a039081169116145b1515610a9f57600080fd5b61093584848461164c565b60035460009033600160a060020a03908116911614610ac857600080fd5b506003548190600160a060020a038083169163f2fde38b911660405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401600060405180830381600087803b1515610b1f57600080fd5b5af11515610b2c57600080fd5b5050505050565b601281565b60035433600160a060020a03908116911614610b5357600080fd5b60035460a060020a900460ff161515610b6b57600080fd5b6003805474ff0000000000000000000000000000000000000000191690557f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3360405160405180910390a1565b60035460009033600160a060020a03908116911614610bd557600080fd5b60085460ff1615610be557600080fd5b600154610bf8908363ffffffff61167116565b600155600160a060020a038316600090815260208190526040902054610c24908363ffffffff61167116565b600160a060020a0384166000818152602081905260409081902092909255907f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968859084905190815260200160405180910390a2600160a060020a0383166000600080516020611cdf8339815191528460405190815260200160405180910390a350600192915050565b600160a060020a0333166000908152602081905260408120548190831115610cd357600080fd5b5033600160a060020a038116600090815260208190526040902054610cf8908461168b565b600160a060020a038216600090815260208190526040902055600154610d24908463ffffffff61168b16565b600155600160a060020a0381167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58460405190815260200160405180910390a26000600160a060020a038216600080516020611cdf8339815191528560405190815260200160405180910390a350600192915050565b600b5460a060020a900460ff1681565b60035460009060a060020a900460ff1615610dc457600080fd5b61093584848461169d565b60035460a060020a900460ff1681565b60035460009060a060020a900460ff1615610df957600080fd5b61090983836116ca565b600160a060020a031660009081526020819052604090205490565b60035460009060a060020a900460ff1615610e3857600080fd5b6109358484846117c4565b60035433600160a060020a03908116911614610e5e57600080fd5b600b805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60035460009033600160a060020a03908116911614610eab57600080fd5b60085460ff1615610ebb57600080fd5b6008805460ff191660011790557fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0860405160405180910390a150600190565b60035433600160a060020a03908116911614610f1557600080fd5b60035460a060020a900460ff1615610f2c57600080fd5b6003805474ff0000000000000000000000000000000000000000191660a060020a1790557f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62560405160405180910390a1565b600354600160a060020a031681565b6000808080805b8584101561108957868685818110610fa857fe5b90506020020135600160a060020a03169250610fc3836117f1565b151561107e57600160a060020a038316600090815260208190526040902054600654909250610ff8908363ffffffff61168b16565b6006556110048261119b565b600160a060020a038416600090815260208190526040902081905561102f908363ffffffff61168b16565b600154909150611045908263ffffffff61167116565b600155600160a060020a0383166000600080516020611cdf8339815191528360405190815260200160405180910390a361107e83611813565b600190930192610f94565b5050505092915050565b60098054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156108dd5780601f106108b2576101008083540402835291602001916108dd565b60035433600160a060020a0390811691161461111957600080fd5b600354600160a060020a039081169030163180156108fc0290604051600060405180830381858888f19350505050151561114f57fe5b565b60035433600160a060020a0390811691161461116c57600080fd5b600b805491151560a060020a0274ff000000000000000000000000000000000000000019909216919091179055565b6000806004541115156111ad57600080fd5b6004546111d3906064906111c7908563ffffffff61183216565b9063ffffffff61185d16565b92915050565b600b5460009060a060020a900460ff16806112025750600b5433600160a060020a039081169116145b8061121b575060035433600160a060020a039081169116145b151561122657600080fd5b6109098383611874565b600b5460009060a060020a900460ff16806112595750600b5433600160a060020a039081169116145b80611272575060035433600160a060020a039081169116145b151561127d57600080fd5b61128985858585611898565b95945050505050565b60065481565b60045481565b600b5460009060a060020a900460ff16806112c75750600b5433600160a060020a039081169116145b806112e0575060035433600160a060020a039081169116145b15156112eb57600080fd5b6109358484846118be565b60035460009033600160a060020a0390811691161461131457600080fd5b61131c610efa565b6004541561132957600080fd5b6064821161133657600080fd5b60055461134a90600163ffffffff61167116565b600555600482905561135a6109e6565b6006819055600454600091611375919063ffffffff61183216565b1161137c57fe5b7fd7ea76b8c503665ad50bd07587bf449877a09fcb5600ed21671bc6af46bd561860045460055460405191825260208201526040908101905180910390a1919050565b600080fd5b60035460009060a060020a900460ff16156113de57600080fd5b61090983836118e3565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b60035433600160a060020a0390811691161461142e57600080fd5b600160a060020a038116151561144357600080fd5b600354600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b600030600160a060020a031684600160a060020a03161415151561153d57600080fd5b61154784846118e3565b5083600160a060020a03168260405180828051906020019080838360005b8381101561157d578082015183820152602001611565565b50505050905090810190601f1680156115aa5780820380516001836020036101000a031916815260200191505b509150506000604051808303816000865af191505015156115ca57600080fd5b5060019392505050565b82600160a060020a031663a9059cbb838360405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561162857600080fd5b5af1151561163557600080fd5b50505060405180519050151561164757fe5b505050565b60035460009060a060020a900460ff161561166657600080fd5b610935848484611987565b60008282018381101561168057fe5b8091505b5092915050565b60008282111561169757fe5b50900390565b600030600160a060020a031684600160a060020a0316141515156116c057600080fd5b61154784846114ae565b600160a060020a0333811660009081526002602090815260408083209386168352929052908120548083111561172757600160a060020a03338116600090815260026020908152604080832093881683529290529081205561175e565b611737818463ffffffff61168b16565b600160a060020a033381166000908152600260209081526040808320938916835292905220555b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b600030600160a060020a031684600160a060020a0316141515156117e757600080fd5b61154784846116ca565b600554600160a060020a03821660009081526007602052604090205414919050565b600554600160a060020a03909116600090815260076020526040902055565b6000808315156118455760009150611684565b5082820282848281151561185557fe5b041461168057fe5b600080828481151561186b57fe5b04949350505050565b60035460009060a060020a900460ff161561188e57600080fd5b6109098383611af5565b60035460009060a060020a900460ff16156118b257600080fd5b61128985858585611bf5565b60035460009060a060020a900460ff16156118d857600080fd5b610935848484611cb1565b600160a060020a03338116600090815260026020908152604080832093861683529290529081205461191b908363ffffffff61167116565b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a350600192915050565b6000600160a060020a038316151561199e57600080fd5b600160a060020a0384166000908152602081905260409020548211156119c357600080fd5b600160a060020a03808516600090815260026020908152604080832033909416835292905220548211156119f657600080fd5b600160a060020a038416600090815260208190526040902054611a1f908363ffffffff61168b16565b600160a060020a038086166000908152602081905260408082209390935590851681522054611a54908363ffffffff61167116565b600160a060020a0380851660009081526020818152604080832094909455878316825260028152838220339093168252919091522054611a9a908363ffffffff61168b16565b600160a060020a0380861660008181526002602090815260408083203386168452909152908190209390935590851691600080516020611cdf8339815191529085905190815260200160405180910390a35060019392505050565b6000600160a060020a0383161515611b0c57600080fd5b600160a060020a033316600090815260208190526040902054821115611b3157600080fd5b600160a060020a033316600090815260208190526040902054611b5a908363ffffffff61168b16565b600160a060020a033381166000908152602081905260408082209390935590851681522054611b8f908363ffffffff61167116565b60008085600160a060020a0316600160a060020a031681526020019081526020016000208190555082600160a060020a031633600160a060020a0316600080516020611cdf8339815191528460405190815260200160405180910390a350600192915050565b600030600160a060020a031684600160a060020a031614151515611c1857600080fd5b611c23858585611987565b5083600160a060020a03168260405180828051906020019080838360005b83811015611c59578082015183820152602001611c41565b50505050905090810190601f168015611c865780820380516001836020036101000a031916815260200191505b509150506000604051808303816000865af19150501515611ca657600080fd5b506001949350505050565b600030600160a060020a031684600160a060020a031614151515611cd457600080fd5b6115478484611af55600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a72305820c41fb5c485f08b26d52a9f7f329aee7230d70e46bf0422222931490e139babbf0029
Swarm Source
bzzr://c41fb5c485f08b26d52a9f7f329aee7230d70e46bf0422222931490e139babbf
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.