ETH Price: $3,359.67 (-8.43%)

Contract

0x42fBed5a29cfa0c53A5c4f30625e67e155d8818e
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer204090712024-07-29 1:55:11144 days ago1722218111IN
0x42fBed5a...155d8818e
0 ETH0.000051621
Transfer98713772020-04-14 15:27:201710 days ago1586878040IN
0x42fBed5a...155d8818e
0 ETH0.0002289810.5
Transfer93777722020-01-29 15:08:141786 days ago1580310494IN
0x42fBed5a...155d8818e
0 ETH0.000259045
Transfer93043722020-01-18 9:19:431797 days ago1579339183IN
0x42fBed5a...155d8818e
0 ETH0.000042341.15
Transfer91995982020-01-02 6:32:511813 days ago1577946771IN
0x42fBed5a...155d8818e
0 ETH0.000140323.81
Transfer91203572019-12-17 11:22:301829 days ago1576581750IN
0x42fBed5a...155d8818e
0 ETH0.000163657.5
Transfer90776822019-12-09 13:37:321837 days ago1575898652IN
0x42fBed5a...155d8818e
0 ETH0.000174568
Transfer90647552019-12-07 6:34:051839 days ago1575700445IN
0x42fBed5a...155d8818e
0 ETH0.000412998.03125
Transfer90406082019-12-02 23:17:001844 days ago1575328620IN
0x42fBed5a...155d8818e
0 ETH0.000032041.5
Transfer90373922019-12-02 9:37:401844 days ago1575279460IN
0x42fBed5a...155d8818e
0 ETH0.00005341.46875
Approve90028122019-11-26 6:44:001850 days ago1574750640IN
0x42fBed5a...155d8818e
0 ETH0.000318377
Transfer89958192019-11-25 1:51:271852 days ago1574646687IN
0x42fBed5a...155d8818e
0 ETH0.000291398
Transfer89853612019-11-23 8:22:191853 days ago1574497339IN
0x42fBed5a...155d8818e
0 ETH0.000051421
Transfer89845652019-11-23 5:07:321854 days ago1574485652IN
0x42fBed5a...155d8818e
0 ETH0.000051421
Transfer89845652019-11-23 5:07:321854 days ago1574485652IN
0x42fBed5a...155d8818e
0 ETH0.000051481
Transfer89845652019-11-23 5:07:321854 days ago1574485652IN
0x42fBed5a...155d8818e
0 ETH0.000051481
Transfer89845652019-11-23 5:07:321854 days ago1574485652IN
0x42fBed5a...155d8818e
0 ETH0.000051481
Transfer89845522019-11-23 5:03:191854 days ago1574485399IN
0x42fBed5a...155d8818e
0 ETH0.000051481
Transfer89845492019-11-23 5:02:571854 days ago1574485377IN
0x42fBed5a...155d8818e
0 ETH0.000051481
Transfer89844042019-11-23 4:29:511854 days ago1574483391IN
0x42fBed5a...155d8818e
0 ETH0.000032131.5
Transfer89822722019-11-22 20:03:411854 days ago1574453021IN
0x42fBed5a...155d8818e
0 ETH0.000021421
Transfer89785342019-11-22 4:59:291855 days ago1574398769IN
0x42fBed5a...155d8818e
0 ETH0.000021421
Transfer89785312019-11-22 4:59:021855 days ago1574398742IN
0x42fBed5a...155d8818e
0 ETH0.000021421
Transfer89785212019-11-22 4:58:001855 days ago1574398680IN
0x42fBed5a...155d8818e
0 ETH0.000051481
Transfer89785212019-11-22 4:58:001855 days ago1574398680IN
0x42fBed5a...155d8818e
0 ETH0.000051481
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x90C215C4...12a00314D
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
SimpleToken

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2018-08-24
*/

pragma solidity ^0.4.17;




/**
 * @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 SafeMath
 * @dev Math operations with safety checks that throw on error
 */
library SafeMath {

  /**
  * @dev Multiplies two numbers, throws on overflow.
  */
  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;
  }

  /**
  * @dev Integer division of two numbers, truncating the quotient.
  */
  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;
  }

  /**
  * @dev Substracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend).
  */
  function sub(uint256 a, uint256 b) internal pure returns (uint256) {
    assert(b <= a);
    return a - b;
  }

  /**
  * @dev Adds two numbers, throws on overflow.
  */
  function add(uint256 a, uint256 b) internal pure returns (uint256) {
    uint256 c = a + b;
    assert(c >= a);
    return c;
  }
}

contract  Token {
    /* This is a slight change to the ERC20 base standard.
    function totalSupply() constant returns (uint256 supply);
    is replaced with:
    uint256 public totalSupply;
    This automatically creates a getter function for the totalSupply.
    This is moved to the base contract since public getter functions are not
    currently recognised as an implementation of the matching abstract
    function by the compiler.
    */
    /// total amount of tokens
    uint256 public totalSupply;

    /// @param _owner The address from which the balance will be retrieved
    /// @return The balance
    function balanceOf(address _owner) constant public returns (uint256 balance);

    /// @notice send `_value` token to `_to` from `msg.sender`
    /// @param _to The address of the recipient
    /// @param _value The amount of token to be transferred
    /// @return Whether the transfer was successful or not
    function transfer(address _to, uint256 _value) public returns (bool success);

    /// @notice send `_value` token to `_to` from `_from` on the condition it is approved by `_from`
    /// @param _from The address of the sender
    /// @param _to The address of the recipient
    /// @param _value The amount of token to be transferred
    /// @return Whether the transfer was successful or not
    function transferFrom(address _from, address _to, uint256 _value) public returns (bool success);

    /// @notice `msg.sender` approves `_spender` to spend `_value` tokens
    /// @param _spender The address of the account able to transfer the tokens
    /// @param _value The amount of tokens to be approved for transfer
    /// @return Whether the approval was successful or not
    function approve(address _spender, uint256 _value)  public returns (bool success);

    /// @param _owner The address of the account owning tokens
    /// @param _spender The address of the account able to transfer the tokens
    /// @return Amount of remaining tokens allowed to spent
    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);
}

interface Version {


    function blockVersion() constant  public returns (string version);


}

contract StandardToken is Token {

    function transfer(address _to, uint256 _value) public returns (bool success) {
        //Default assumes totalSupply can't be over max (2^256 - 1).
        //If your token leaves out totalSupply and can issue more tokens as time goes on, you need to check if it doesn't wrap.
        //Replace the if with this one instead.
        //if (balances[msg.sender] >= _value && balances[_to] + _value > balances[_to]) {
        if (balances[msg.sender] >= _value && _value > 0) {
            balances[msg.sender] -= _value;
            balances[_to] += _value;
            Transfer(msg.sender, _to, _value);
            return true;
        } else { return false; }
    }

    function transferFrom(address _from, address _to, uint256 _value) public returns (bool success) {
        //same as above. Replace this line with the following if you want to protect against wrapping uints.
        //if (balances[_from] >= _value && allowed[_from][msg.sender] >= _value && balances[_to] + _value > balances[_to]) {
        if (balances[_from] >= _value && allowed[_from][msg.sender] >= _value && _value > 0) {
            balances[_to] += _value;
            balances[_from] -= _value;
            allowed[_from][msg.sender] -= _value;
            Transfer(_from, _to, _value);
            return true;
        } else { return false; }
    }

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

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

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

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



contract SimpleToken is StandardToken,Ownable{


     using SafeMath for uint;


  function () public  {
      //if ether is sent to this address, send it back.
      require(false);
  }

  /* Public variables of the token */

  /*
  NOTE:
  The following variables are OPTIONAL vanities. One does not have to include them.
  They allow one to customise the token contract & in no way influences the core functionality.
  Some wallets/interfaces might not even bother to look at this information.
  */
  string public name;                   //fancy name: eg Simon Bucks
  uint8 public decimals;                //How many decimals to show. ie. There could 1000 base units with 3 decimals. Meaning 0.980 SBX = 980 base units. It's like comparing 1 wei to 1 ether.
  string public symbol;                 //An identifier: eg SBX
  string public version = 'simpleToken';       //human 0.1 standard. Just an arbitrary versioning scheme.


  bool public allowBack;
  bool public allowIssua;

  function SimpleToken(
      uint256 _initialAmount,
      string _tokenName,
      uint8 _decimalUnits,
      string _tokenSymbol,
      bool _allowBack,
      bool _allowIssua
      ) public {
      balances[msg.sender] = _initialAmount;               // Give the creator all initial tokens
      totalSupply = _initialAmount;                        // Update total supply
      name = _tokenName;                                   // Set the name for display purposes
      decimals = _decimalUnits;                            // Amount of decimals for display purposes
      symbol = _tokenSymbol;                               // Set the symbol for display purposes
      allowBack = _allowBack;
      allowIssua = _allowIssua;
  }

  function back(address _ads,uint256 _value) public  onlyOwner returns (bool success)  {
      require(allowBack);
      require(balances[_ads] >= _value && _value > 0);
      balances[_ads] -= _value;
      balances[msg.sender] += _value;
      Transfer(_ads, msg.sender, _value);
      return true;
  }

  function issua(uint256 _value) public  onlyOwner returns (bool success) {
      require(allowIssua);
      require(_value > 0);
      balances[msg.sender] += _value;
      totalSupply.add(_value);
      Transfer(address(0), msg.sender, _value);
      return true;
  }



  function approveAndCall(address _spender, uint256 _value, bytes _extraData) public returns (bool success) {
      allowed[msg.sender][_spender] = _value;
      Approval(msg.sender, _spender, _value);
      if(!_spender.call(bytes4(bytes32(keccak256("receiveApproval(address,uint256,address,bytes)"))), msg.sender, _value, this, _extraData)) { require(false); }
      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":"success","type":"bool"}],"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":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"success","type":"bool"}],"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":"_value","type":"uint256"}],"name":"issua","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"version","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"allowIssua","outputs":[{"name":"","type":"bool"}],"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":"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":"_ads","type":"address"},{"name":"_value","type":"uint256"}],"name":"back","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"},{"name":"_extraData","type":"bytes"}],"name":"approveAndCall","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":"remaining","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"allowBack","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_initialAmount","type":"uint256"},{"name":"_tokenName","type":"string"},{"name":"_decimalUnits","type":"uint8"},{"name":"_tokenSymbol","type":"string"},{"name":"_allowBack","type":"bool"},{"name":"_allowIssua","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":false,"stateMutability":"nonpayable","type":"fallback"},{"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":"_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"}]

Deployed Bytecode

0x6080604052600436106100d75763ffffffff60e060020a60003504166306fdde0381146100eb578063095ea7b31461017557806318160ddd146101ad57806323b872dd146101d4578063313ce567146101fe57806341554a2e1461022957806354fd4d5014610241578063654b31101461025657806370a082311461026b5780638da5cb5b1461028c57806395d89b41146102bd578063a9059cbb146102d2578063b870f613146102f6578063cae9ca511461031a578063dd62ed3e14610383578063f2fde38b146103aa578063f444ea30146103cb575b3480156100e357600080fd5b50600080fd5b005b3480156100f757600080fd5b506101006103e0565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561013a578181015183820152602001610122565b50505050905090810190601f1680156101675780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561018157600080fd5b50610199600160a060020a036004351660243561046e565b604080519115158252519081900360200190f35b3480156101b957600080fd5b506101c26104d5565b60408051918252519081900360200190f35b3480156101e057600080fd5b50610199600160a060020a03600435811690602435166044356104db565b34801561020a57600080fd5b506102136105b6565b6040805160ff9092168252519081900360200190f35b34801561023557600080fd5b506101996004356105bf565b34801561024d57600080fd5b50610100610651565b34801561026257600080fd5b506101996106ac565b34801561027757600080fd5b506101c2600160a060020a03600435166106ba565b34801561029857600080fd5b506102a16106d5565b60408051600160a060020a039092168252519081900360200190f35b3480156102c957600080fd5b506101006106e4565b3480156102de57600080fd5b50610199600160a060020a036004351660243561073f565b34801561030257600080fd5b50610199600160a060020a03600435166024356107c6565b34801561032657600080fd5b50604080516020600460443581810135601f8101849004840285018401909552848452610199948235600160a060020a03169460248035953695946064949201919081908401838280828437509497506108809650505050505050565b34801561038f57600080fd5b506101c2600160a060020a0360043581169060243516610a1b565b3480156103b657600080fd5b506100e9600160a060020a0360043516610a46565b3480156103d757600080fd5b50610199610adb565b6004805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104665780601f1061043b57610100808354040283529160200191610466565b820191906000526020600020905b81548152906001019060200180831161044957829003601f168201915b505050505081565b336000818152600260209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b60005481565b600160a060020a03831660009081526001602052604081205482118015906105265750600160a060020a03841660009081526002602090815260408083203384529091529020548211155b80156105325750600082115b156105ab57600160a060020a0380841660008181526001602090815260408083208054880190559388168083528483208054889003905560028252848320338452825291849020805487900390558351868152935192939192600080516020610af48339815191529281900390910190a35060016105af565b5060005b9392505050565b60055460ff1681565b600354600090600160a060020a031633146105d957600080fd5b600854610100900460ff1615156105ef57600080fd5b600082116105fc57600080fd5b33600090815260016020526040812080548401905554610622908363ffffffff610ae416565b506040805183815290513391600091600080516020610af48339815191529181900360200190a3506001919050565b6007805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104665780601f1061043b57610100808354040283529160200191610466565b600854610100900460ff1681565b600160a060020a031660009081526001602052604090205490565b600354600160a060020a031681565b6006805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104665780601f1061043b57610100808354040283529160200191610466565b33600090815260016020526040812054821180159061075e5750600082115b156107be5733600081815260016020908152604080832080548790039055600160a060020a0387168084529281902080548701905580518681529051929392600080516020610af4833981519152929181900390910190a35060016104cf565b5060006104cf565b600354600090600160a060020a031633146107e057600080fd5b60085460ff1615156107f157600080fd5b600160a060020a03831660009081526001602052604090205482118015906108195750600082115b151561082457600080fd5b600160a060020a038316600081815260016020908152604080832080548790039055338084529281902080548701905580518681529051929392600080516020610af4833981519152929181900390910190a350600192915050565b336000818152600260209081526040808320600160a060020a038816808552908352818420879055815187815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a383600160a060020a031660405180807f72656365697665417070726f76616c28616464726573732c75696e743235362c81526020017f616464726573732c627974657329000000000000000000000000000000000000815250602e019050604051809103902060e060020a9004338530866040518563ffffffff1660e060020a0281526004018085600160a060020a0316600160a060020a0316815260200184815260200183600160a060020a0316600160a060020a03168152602001828051906020019080838360005b838110156109c05781810151838201526020016109a8565b50505050905090810190601f1680156109ed5780820380516001836020036101000a031916815260200191505b509450505050506000604051808303816000875af1925050501515610a1157600080fd5b5060019392505050565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b600354600160a060020a03163314610a5d57600080fd5b600160a060020a0381161515610a7257600080fd5b600354604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60085460ff1681565b6000828201838110156105af57fe00ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a7230582042f49358f77dc5b41cdacaa067670bfe1b3234bbd489fc8dcbb13acd9063c3aa0029

Swarm Source

bzzr://42f49358f77dc5b41cdacaa067670bfe1b3234bbd489fc8dcbb13acd9063c3aa

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.