ETH Price: $3,142.96 (-4.02%)

Contract

0x049A5bf874f241d94232137eF728a9c7DD0D7550
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer From78477422019-05-28 11:25:551997 days ago1559042755IN
DataTrading Token
0 ETH0.000443527.5
Transfer73364562019-03-09 17:53:542077 days ago1552154034IN
DataTrading Token
0 ETH0.000291385.6
Transfer73131832019-03-06 2:51:282080 days ago1551840688IN
DataTrading Token
0 ETH0.000332729
Transfer69814762018-12-30 19:07:322145 days ago1546196852IN
DataTrading Token
0 ETH0.0015209741
Transfer69506342018-12-25 14:08:232151 days ago1545746903IN
DataTrading Token
0 ETH0.0004443912
Transfer69431232018-12-24 7:54:032152 days ago1545638043IN
DataTrading Token
0 ETH0.0006236212
Transfer69430722018-12-24 7:41:592152 days ago1545637319IN
DataTrading Token
0 ETH0.0006243912
Transfer69400042018-12-23 19:10:072152 days ago1545592207IN
DataTrading Token
0 ETH0.0006243912
Approve69027022018-12-17 10:39:392159 days ago1545043179IN
DataTrading Token
0 ETH0.000319277
Transfer68729422018-12-12 12:35:572164 days ago1544618157IN
DataTrading Token
0 ETH0.0010393820
Transfer68725192018-12-12 10:57:112164 days ago1544612231IN
DataTrading Token
0 ETH0.00015593
Transfer From67889822018-11-28 15:45:142178 days ago1543419914IN
DataTrading Token
0 ETH0.000472578
Transfer67828832018-11-27 15:28:522179 days ago1543332532IN
DataTrading Token
0 ETH0.0021333541
Transfer From67634222018-11-24 10:36:562182 days ago1543055816IN
DataTrading Token
0 ETH0.000355586
Transfer From67587852018-11-23 16:30:292183 days ago1542990629IN
DataTrading Token
0 ETH0.0000783
Transfer From66673762018-11-08 16:51:252198 days ago1541695885IN
DataTrading Token
0 ETH0.0005926410
Transfer64769102018-10-08 13:53:482229 days ago1539006828IN
DataTrading Token
0 ETH0.000208384
Transfer63907982018-09-24 12:36:092243 days ago1537792569IN
DataTrading Token
0 ETH0.000208134
Transfer63768572018-09-22 5:40:222245 days ago1537594822IN
DataTrading Token
0 ETH0.000222586
Transfer From63087872018-09-10 23:32:172256 days ago1536622337IN
DataTrading Token
0 ETH0.00013263
Transfer From63061932018-09-10 13:08:172257 days ago1536584897IN
DataTrading Token
0 ETH0.000189823.21000009
Approve63057962018-09-10 11:35:442257 days ago1536579344IN
DataTrading Token
0 ETH0.000182184
Transfer62784632018-09-05 21:18:232261 days ago1536182303IN
DataTrading Token
0 ETH0.000208134
Approve62782512018-09-05 20:22:532261 days ago1536178973IN
DataTrading Token
0 ETH0.000182184
Transfer62469972018-08-31 14:17:502267 days ago1535725070IN
DataTrading Token
0 ETH0.000148134
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DataTradingToken

Compiler Version
v0.4.18+commit.9cf6e910

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.4.18;

/**
 * @title ERC20Interface
 * @dev Standart version of ERC20 interface
 */
contract ERC20Interface {
    uint256 public totalSupply;
    function balanceOf(address _owner) public view returns (uint256 balance);
    function transfer(address _to, uint256 _value) public returns (bool success);
    function transferFrom(address _from, address _to, uint256 _value) public returns (bool success);
    function approve(address _spender, uint256 _value) public returns (bool success);
    function allowance(address _owner, address _spender) public view returns (uint256 remaining);
    event Transfer(address indexed _from, address indexed _to, uint256 _value);
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);
}

/**
 * @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;

    /**
     * @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 current 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));
        owner = newOwner;
    }
}

/**
 * @title DataTradingToken
 * @dev Implemantation of the DataTrading token
 */
contract DataTradingToken is Ownable, ERC20Interface {
    string public constant symbol = "DTT";
    string public constant name = "DataTrading Token";
    uint8 public constant decimals = 18;
    uint256 private _unmintedTokens = 360000000*uint(10)**decimals;
    
    mapping(address => uint256) balances;
    mapping (address => mapping (address => uint256)) internal allowed;
    
    event Approval(address indexed owner, address indexed spender, uint256 value);
    event Transfer(address indexed from, address indexed to, uint256 value);
      
    /**
     * @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];
    }
    
    /**
     * @dev Transfer token to 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 success) {
        require(_to != address(0));
        require(balances[msg.sender] >= _value);
        assert(balances[_to] + _value >= balances[_to]);
        
        balances[msg.sender] -= _value;
        balances[_to] += _value;
        Transfer(msg.sender, _to, _value);
        return true;
    }
    
    /**
     * @dev Transfer tokens from one address to another 
     * @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 transfered
     */
    function transferFrom(address _from, address _to, uint256 _value) public returns (bool success) {
        require(_to != address(0));
        require(_value <= balances[_from]);
        require(_value <= allowed[_from][msg.sender]);
        assert(balances[_to] + _value >= balances[_to]);
        
        balances[_from] = balances[_from] - _value;
        balances[_to] = balances[_to] + _value;
        allowed[_from][msg.sender] = allowed[_from][msg.sender] - _value;
        Transfer(_from, _to, _value);
        return true;
    }

    /**
     * @dev Aprove the passed address to spend the specified amount of tokens on beahlf of msg.sender
     * @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 success) {
        allowed[msg.sender][_spender] = _value;
        Approval(msg.sender, _spender, _value);
        return true;
    }
    
    /**
     * @dev Function to check the amount of tokens than an owner allowed to a spender
     * @param _owner The address which owns the funds
     * @param _spender The address which will spend the funds
     * @return A uint specifing the amount of tokens still avaible for the spender
     */
    function allowance(address _owner, address _spender) public view returns (uint256 remaining) {
        return allowed[_owner][_spender];
    }

    /**
     * @dev Mint DataTrading tokens. No more than 360,000,000 DTT can be minted
     * @param _target The address to which new tokens will be minted
     * @param _mintedAmount The amout of tokens to be minted
     */    
    function mintTokens(address _target, uint256 _mintedAmount) public onlyOwner returns (bool success){
        require(_mintedAmount <= _unmintedTokens);
        balances[_target] += _mintedAmount;
        _unmintedTokens -= _mintedAmount;
        totalSupply += _mintedAmount;
        return true;
    }
    
    /**
     * @dev Mint DataTrading tokens and aproves the passed address to spend the minted amount of tokens
     * No more than 360,000,000 DTT can be minted
     * @param _target The address to which new tokens will be minted
     * @param _mintedAmount The amout of tokens to be minted
     * @param _spender The address which will spend minted funds
     */ 
    function mintTokensWithApproval(address _target, uint256 _mintedAmount, address _spender) public onlyOwner returns (bool success){
        require(_mintedAmount <= _unmintedTokens);
        balances[_target] += _mintedAmount;
        _unmintedTokens -= _mintedAmount;
        totalSupply += _mintedAmount;
        allowed[_target][_spender] += _mintedAmount;
        return true;
    }
    
    /**
     * @dev Decrease amount of DataTrading tokens that can be minted
     * @param _burnedAmount The amout of unminted tokens to be burned
     */ 
    function burnUnmintedTokens(uint256 _burnedAmount) public onlyOwner returns (bool success){
        require(_burnedAmount <= _unmintedTokens);
        _unmintedTokens -= _burnedAmount;
        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":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":false,"inputs":[{"name":"_target","type":"address"},{"name":"_mintedAmount","type":"uint256"},{"name":"_spender","type":"address"}],"name":"mintTokensWithApproval","outputs":[{"name":"success","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":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_burnedAmount","type":"uint256"}],"name":"burnUnmintedTokens","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":"_target","type":"address"},{"name":"_mintedAmount","type":"uint256"}],"name":"mintTokens","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"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"}]

60606040526b0129c8f71ad02e2a6800000060025560008054600160a060020a033316600160a060020a03199091161790556107ff806100406000396000f3006060604052600436106100cf5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100d4578063095ea7b31461015e57806318160ddd1461019457806323b872dd146101b9578063313ce567146101e157806370a082311461020a5780638da5cb5b1461022957806391fe7bab1461025857806395d89b4114610281578063a9059cbb14610294578063dc885527146102b6578063dd62ed3e146102cc578063f0dda65c146102f1578063f2fde38b14610313575b600080fd5b34156100df57600080fd5b6100e7610334565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561012357808201518382015260200161010b565b50505050905090810190601f1680156101505780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561016957600080fd5b610180600160a060020a036004351660243561036b565b604051901515815260200160405180910390f35b341561019f57600080fd5b6101a76103d7565b60405190815260200160405180910390f35b34156101c457600080fd5b610180600160a060020a03600435811690602435166044356103dd565b34156101ec57600080fd5b6101f46104fe565b60405160ff909116815260200160405180910390f35b341561021557600080fd5b6101a7600160a060020a0360043516610503565b341561023457600080fd5b61023c61051e565b604051600160a060020a03909116815260200160405180910390f35b341561026357600080fd5b610180600160a060020a03600435811690602435906044351661052d565b341561028c57600080fd5b6100e76105a7565b341561029f57600080fd5b610180600160a060020a03600435166024356105de565b34156102c157600080fd5b6101806004356106ad565b34156102d757600080fd5b6101a7600160a060020a03600435811690602435166106e8565b34156102fc57600080fd5b610180600160a060020a0360043516602435610713565b341561031e57600080fd5b610332600160a060020a0360043516610774565b005b60408051908101604052601181527f4461746154726164696e6720546f6b656e000000000000000000000000000000602082015281565b600160a060020a03338116600081815260046020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60015481565b6000600160a060020a03831615156103f457600080fd5b600160a060020a03841660009081526003602052604090205482111561041957600080fd5b600160a060020a038085166000908152600460209081526040808320339094168352929052205482111561044c57600080fd5b600160a060020a038316600090815260036020526040902054828101101561047057fe5b600160a060020a03848116600081815260036020908152604080832080548890039055878516808452818420805489019055848452600483528184203390961684529490915290819020805486900390557fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b601281565b600160a060020a031660009081526003602052604090205490565b600054600160a060020a031681565b6000805433600160a060020a0390811691161461054957600080fd5b60025483111561055857600080fd5b50600160a060020a039283166000908152600360209081526040808320805486019055600280548690039055600180548601815560048352818420949096168352929052208054909101905590565b60408051908101604052600381527f4454540000000000000000000000000000000000000000000000000000000000602082015281565b6000600160a060020a03831615156105f557600080fd5b600160a060020a0333166000908152600360205260409020548290101561061b57600080fd5b600160a060020a038316600090815260036020526040902054828101101561063f57fe5b600160a060020a033381166000818152600360205260408082208054879003905592861680825290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600192915050565b6000805433600160a060020a039081169116146106c957600080fd5b6002548211156106d857600080fd5b5060028054919091039055600190565b600160a060020a03918216600090815260046020908152604080832093909416825291909152205490565b6000805433600160a060020a0390811691161461072f57600080fd5b60025482111561073e57600080fd5b50600160a060020a0382166000908152600360205260409020805482019055600280548290039055600180548201815592915050565b60005433600160a060020a0390811691161461078f57600080fd5b600160a060020a03811615156107a457600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555600a165627a7a7230582087566387c970cbe0142f7e4eaaf4ddbfcef62e0ccf21486c727d91653dca98bf0029

Deployed Bytecode

0x6060604052600436106100cf5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100d4578063095ea7b31461015e57806318160ddd1461019457806323b872dd146101b9578063313ce567146101e157806370a082311461020a5780638da5cb5b1461022957806391fe7bab1461025857806395d89b4114610281578063a9059cbb14610294578063dc885527146102b6578063dd62ed3e146102cc578063f0dda65c146102f1578063f2fde38b14610313575b600080fd5b34156100df57600080fd5b6100e7610334565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561012357808201518382015260200161010b565b50505050905090810190601f1680156101505780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561016957600080fd5b610180600160a060020a036004351660243561036b565b604051901515815260200160405180910390f35b341561019f57600080fd5b6101a76103d7565b60405190815260200160405180910390f35b34156101c457600080fd5b610180600160a060020a03600435811690602435166044356103dd565b34156101ec57600080fd5b6101f46104fe565b60405160ff909116815260200160405180910390f35b341561021557600080fd5b6101a7600160a060020a0360043516610503565b341561023457600080fd5b61023c61051e565b604051600160a060020a03909116815260200160405180910390f35b341561026357600080fd5b610180600160a060020a03600435811690602435906044351661052d565b341561028c57600080fd5b6100e76105a7565b341561029f57600080fd5b610180600160a060020a03600435166024356105de565b34156102c157600080fd5b6101806004356106ad565b34156102d757600080fd5b6101a7600160a060020a03600435811690602435166106e8565b34156102fc57600080fd5b610180600160a060020a0360043516602435610713565b341561031e57600080fd5b610332600160a060020a0360043516610774565b005b60408051908101604052601181527f4461746154726164696e6720546f6b656e000000000000000000000000000000602082015281565b600160a060020a03338116600081815260046020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60015481565b6000600160a060020a03831615156103f457600080fd5b600160a060020a03841660009081526003602052604090205482111561041957600080fd5b600160a060020a038085166000908152600460209081526040808320339094168352929052205482111561044c57600080fd5b600160a060020a038316600090815260036020526040902054828101101561047057fe5b600160a060020a03848116600081815260036020908152604080832080548890039055878516808452818420805489019055848452600483528184203390961684529490915290819020805486900390557fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b601281565b600160a060020a031660009081526003602052604090205490565b600054600160a060020a031681565b6000805433600160a060020a0390811691161461054957600080fd5b60025483111561055857600080fd5b50600160a060020a039283166000908152600360209081526040808320805486019055600280548690039055600180548601815560048352818420949096168352929052208054909101905590565b60408051908101604052600381527f4454540000000000000000000000000000000000000000000000000000000000602082015281565b6000600160a060020a03831615156105f557600080fd5b600160a060020a0333166000908152600360205260409020548290101561061b57600080fd5b600160a060020a038316600090815260036020526040902054828101101561063f57fe5b600160a060020a033381166000818152600360205260408082208054879003905592861680825290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600192915050565b6000805433600160a060020a039081169116146106c957600080fd5b6002548211156106d857600080fd5b5060028054919091039055600190565b600160a060020a03918216600090815260046020908152604080832093909416825291909152205490565b6000805433600160a060020a0390811691161461072f57600080fd5b60025482111561073e57600080fd5b50600160a060020a0382166000908152600360205260409020805482019055600280548290039055600180548201815592915050565b60005433600160a060020a0390811691161461078f57600080fd5b600160a060020a03811615156107a457600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555600a165627a7a7230582087566387c970cbe0142f7e4eaaf4ddbfcef62e0ccf21486c727d91653dca98bf0029

Swarm Source

bzzr://87566387c970cbe0142f7e4eaaf4ddbfcef62e0ccf21486c727d91653dca98bf

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.