Discover more of Etherscan's tools and services in one place.
Sponsored
Contract Source Code:
File 1 of 1 : GT
pragma solidity ^0.4.25; contract Utils { function safeAdd(uint256 _x, uint256 _y) internal pure returns (uint256) { uint256 _z = _x + _y; assert(_z >= _x); return _z; } function safeSub(uint256 _x, uint256 _y) internal pure returns (uint256) { assert(_x >= _y); return _x - _y; } function safeMul(uint256 _x, uint256 _y) internal pure returns (uint256) { uint256 _z = _x * _y; assert(_x == 0 || _z / _x == _y); return _z; } function safeDiv(uint256 _x, uint256 _y) internal pure returns (uint256) { assert(_y != 0); uint256 _z = _x / _y; assert(_x == _y * _z + _x % _y); return _z; } } contract Ownable { address public owner; function Ownable() public { owner = msg.sender; } modifier onlyOwner() { require(msg.sender == owner); _; } function transferOwnership(address newOwner) onlyOwner public { require(newOwner != address(0)); owner = newOwner; } } contract ERC20Token { function balanceOf(address who) public constant returns (uint256); function transfer(address to, uint256 value) public returns (bool); event Transfer(address indexed _from, address indexed _to, uint256 _value); } contract StandardToken is ERC20Token, Utils, Ownable { mapping (address => uint256) public balanceOf; mapping (address => mapping (address => uint256)) public allowed; function transfer(address _to, uint256 _value) public returns (bool success){ require(balanceOf[msg.sender] >= _value && balanceOf[_to] + _value > balanceOf[_to]); balanceOf[msg.sender] = safeSub(balanceOf[msg.sender], _value); balanceOf[_to] = safeAdd(balanceOf[_to], _value); Transfer(msg.sender, _to, _value); return true; } function balanceOf(address _owner) public constant returns (uint256 balance) { return balanceOf[_owner]; } } contract GT is StandardToken { string public constant name = "GT"; string public constant symbol = "GT"; uint8 public constant decimals = 18; uint256 public totalSupply = 10 * 10**26; address public constant OwnerWallet = 0xecC6FdeF65E2b913c4EBc9dd9f0bD2b44AEfb841; function GT(){ balanceOf[OwnerWallet] = totalSupply; Transfer(0x0, OwnerWallet, balanceOf[OwnerWallet]); } }
Please enter a contract address above to load the contract details and source code.
Please DO NOT store any passwords or private keys here. A private note (up to 100 characters) can be saved and is useful for transaction tracking.
This website uses cookies to improve your experience. By continuing to use this website, you agree to its Terms and Privacy Policy.