More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 739 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer From | 7847742 | 1997 days ago | IN | 0 ETH | 0.00044352 | ||||
Transfer | 7336456 | 2077 days ago | IN | 0 ETH | 0.00029138 | ||||
Transfer | 7313183 | 2080 days ago | IN | 0 ETH | 0.00033272 | ||||
Transfer | 6981476 | 2145 days ago | IN | 0 ETH | 0.00152097 | ||||
Transfer | 6950634 | 2151 days ago | IN | 0 ETH | 0.00044439 | ||||
Transfer | 6943123 | 2152 days ago | IN | 0 ETH | 0.00062362 | ||||
Transfer | 6943072 | 2152 days ago | IN | 0 ETH | 0.00062439 | ||||
Transfer | 6940004 | 2152 days ago | IN | 0 ETH | 0.00062439 | ||||
Approve | 6902702 | 2159 days ago | IN | 0 ETH | 0.00031927 | ||||
Transfer | 6872942 | 2164 days ago | IN | 0 ETH | 0.00103938 | ||||
Transfer | 6872519 | 2164 days ago | IN | 0 ETH | 0.0001559 | ||||
Transfer From | 6788982 | 2178 days ago | IN | 0 ETH | 0.00047257 | ||||
Transfer | 6782883 | 2179 days ago | IN | 0 ETH | 0.00213335 | ||||
Transfer From | 6763422 | 2182 days ago | IN | 0 ETH | 0.00035558 | ||||
Transfer From | 6758785 | 2183 days ago | IN | 0 ETH | 0.000078 | ||||
Transfer From | 6667376 | 2198 days ago | IN | 0 ETH | 0.00059264 | ||||
Transfer | 6476910 | 2229 days ago | IN | 0 ETH | 0.00020838 | ||||
Transfer | 6390798 | 2243 days ago | IN | 0 ETH | 0.00020813 | ||||
Transfer | 6376857 | 2245 days ago | IN | 0 ETH | 0.00022258 | ||||
Transfer From | 6308787 | 2256 days ago | IN | 0 ETH | 0.0001326 | ||||
Transfer From | 6306193 | 2257 days ago | IN | 0 ETH | 0.00018982 | ||||
Approve | 6305796 | 2257 days ago | IN | 0 ETH | 0.00018218 | ||||
Transfer | 6278463 | 2261 days ago | IN | 0 ETH | 0.00020813 | ||||
Approve | 6278251 | 2261 days ago | IN | 0 ETH | 0.00018218 | ||||
Transfer | 6246997 | 2267 days ago | IN | 0 ETH | 0.00014813 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
DataTradingToken
Compiler Version
v0.4.18+commit.9cf6e910
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *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
- No Contract Security Audit Submitted- Submit Audit Here
[{"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"}]
Contract Creation Code
60606040526b0129c8f71ad02e2a6800000060025560008054600160a060020a033316600160a060020a03199091161790556107ff806100406000396000f3006060604052600436106100cf5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100d4578063095ea7b31461015e57806318160ddd1461019457806323b872dd146101b9578063313ce567146101e157806370a082311461020a5780638da5cb5b1461022957806391fe7bab1461025857806395d89b4114610281578063a9059cbb14610294578063dc885527146102b6578063dd62ed3e146102cc578063f0dda65c146102f1578063f2fde38b14610313575b600080fd5b34156100df57600080fd5b6100e7610334565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561012357808201518382015260200161010b565b50505050905090810190601f1680156101505780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561016957600080fd5b610180600160a060020a036004351660243561036b565b604051901515815260200160405180910390f35b341561019f57600080fd5b6101a76103d7565b60405190815260200160405180910390f35b34156101c457600080fd5b610180600160a060020a03600435811690602435166044356103dd565b34156101ec57600080fd5b6101f46104fe565b60405160ff909116815260200160405180910390f35b341561021557600080fd5b6101a7600160a060020a0360043516610503565b341561023457600080fd5b61023c61051e565b604051600160a060020a03909116815260200160405180910390f35b341561026357600080fd5b610180600160a060020a03600435811690602435906044351661052d565b341561028c57600080fd5b6100e76105a7565b341561029f57600080fd5b610180600160a060020a03600435166024356105de565b34156102c157600080fd5b6101806004356106ad565b34156102d757600080fd5b6101a7600160a060020a03600435811690602435166106e8565b34156102fc57600080fd5b610180600160a060020a0360043516602435610713565b341561031e57600080fd5b610332600160a060020a0360043516610774565b005b60408051908101604052601181527f4461746154726164696e6720546f6b656e000000000000000000000000000000602082015281565b600160a060020a03338116600081815260046020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60015481565b6000600160a060020a03831615156103f457600080fd5b600160a060020a03841660009081526003602052604090205482111561041957600080fd5b600160a060020a038085166000908152600460209081526040808320339094168352929052205482111561044c57600080fd5b600160a060020a038316600090815260036020526040902054828101101561047057fe5b600160a060020a03848116600081815260036020908152604080832080548890039055878516808452818420805489019055848452600483528184203390961684529490915290819020805486900390557fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b601281565b600160a060020a031660009081526003602052604090205490565b600054600160a060020a031681565b6000805433600160a060020a0390811691161461054957600080fd5b60025483111561055857600080fd5b50600160a060020a039283166000908152600360209081526040808320805486019055600280548690039055600180548601815560048352818420949096168352929052208054909101905590565b60408051908101604052600381527f4454540000000000000000000000000000000000000000000000000000000000602082015281565b6000600160a060020a03831615156105f557600080fd5b600160a060020a0333166000908152600360205260409020548290101561061b57600080fd5b600160a060020a038316600090815260036020526040902054828101101561063f57fe5b600160a060020a033381166000818152600360205260408082208054879003905592861680825290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600192915050565b6000805433600160a060020a039081169116146106c957600080fd5b6002548211156106d857600080fd5b5060028054919091039055600190565b600160a060020a03918216600090815260046020908152604080832093909416825291909152205490565b6000805433600160a060020a0390811691161461072f57600080fd5b60025482111561073e57600080fd5b50600160a060020a0382166000908152600360205260409020805482019055600280548290039055600180548201815592915050565b60005433600160a060020a0390811691161461078f57600080fd5b600160a060020a03811615156107a457600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555600a165627a7a7230582087566387c970cbe0142f7e4eaaf4ddbfcef62e0ccf21486c727d91653dca98bf0029
Deployed Bytecode
0x6060604052600436106100cf5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100d4578063095ea7b31461015e57806318160ddd1461019457806323b872dd146101b9578063313ce567146101e157806370a082311461020a5780638da5cb5b1461022957806391fe7bab1461025857806395d89b4114610281578063a9059cbb14610294578063dc885527146102b6578063dd62ed3e146102cc578063f0dda65c146102f1578063f2fde38b14610313575b600080fd5b34156100df57600080fd5b6100e7610334565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561012357808201518382015260200161010b565b50505050905090810190601f1680156101505780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561016957600080fd5b610180600160a060020a036004351660243561036b565b604051901515815260200160405180910390f35b341561019f57600080fd5b6101a76103d7565b60405190815260200160405180910390f35b34156101c457600080fd5b610180600160a060020a03600435811690602435166044356103dd565b34156101ec57600080fd5b6101f46104fe565b60405160ff909116815260200160405180910390f35b341561021557600080fd5b6101a7600160a060020a0360043516610503565b341561023457600080fd5b61023c61051e565b604051600160a060020a03909116815260200160405180910390f35b341561026357600080fd5b610180600160a060020a03600435811690602435906044351661052d565b341561028c57600080fd5b6100e76105a7565b341561029f57600080fd5b610180600160a060020a03600435166024356105de565b34156102c157600080fd5b6101806004356106ad565b34156102d757600080fd5b6101a7600160a060020a03600435811690602435166106e8565b34156102fc57600080fd5b610180600160a060020a0360043516602435610713565b341561031e57600080fd5b610332600160a060020a0360043516610774565b005b60408051908101604052601181527f4461746154726164696e6720546f6b656e000000000000000000000000000000602082015281565b600160a060020a03338116600081815260046020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60015481565b6000600160a060020a03831615156103f457600080fd5b600160a060020a03841660009081526003602052604090205482111561041957600080fd5b600160a060020a038085166000908152600460209081526040808320339094168352929052205482111561044c57600080fd5b600160a060020a038316600090815260036020526040902054828101101561047057fe5b600160a060020a03848116600081815260036020908152604080832080548890039055878516808452818420805489019055848452600483528184203390961684529490915290819020805486900390557fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b601281565b600160a060020a031660009081526003602052604090205490565b600054600160a060020a031681565b6000805433600160a060020a0390811691161461054957600080fd5b60025483111561055857600080fd5b50600160a060020a039283166000908152600360209081526040808320805486019055600280548690039055600180548601815560048352818420949096168352929052208054909101905590565b60408051908101604052600381527f4454540000000000000000000000000000000000000000000000000000000000602082015281565b6000600160a060020a03831615156105f557600080fd5b600160a060020a0333166000908152600360205260409020548290101561061b57600080fd5b600160a060020a038316600090815260036020526040902054828101101561063f57fe5b600160a060020a033381166000818152600360205260408082208054879003905592861680825290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600192915050565b6000805433600160a060020a039081169116146106c957600080fd5b6002548211156106d857600080fd5b5060028054919091039055600190565b600160a060020a03918216600090815260046020908152604080832093909416825291909152205490565b6000805433600160a060020a0390811691161461072f57600080fd5b60025482111561073e57600080fd5b50600160a060020a0382166000908152600360205260409020805482019055600280548290039055600180548201815592915050565b60005433600160a060020a0390811691161461078f57600080fd5b600160a060020a03811615156107a457600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555600a165627a7a7230582087566387c970cbe0142f7e4eaaf4ddbfcef62e0ccf21486c727d91653dca98bf0029
Swarm Source
bzzr://87566387c970cbe0142f7e4eaaf4ddbfcef62e0ccf21486c727d91653dca98bf
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.