ETH Price: $2,679.77 (+2.31%)

Token

Game Distributed Platform (GDP)
 

Overview

Max Total Supply

1,600,000,000 GDP

Holders

172

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
7,945,646.3815 GDP

Value
$0.00
0x491B99677cfdBee9b6C5DDDE56CA6Ed80B0da473
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
CustomToken

Compiler Version
v0.4.25+commit.59dbf8f1

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at Etherscan.io on 2019-08-14
*/

pragma solidity ^0.4.25;

library SafeMath {

    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }
        uint256 c = a * b;
        require(c / a == b);
        return c;
    }

    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0);
        uint256 c = a / b;
        return c;
    }

    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b <= a);
        uint256 c = a - b;
        return c;
    }

    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a);
        return c;
    }

    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b != 0);
        return a % b;
    }
}

contract BaseToken {
    using SafeMath for uint256;

    string constant public name = 'Game Distributed Platform';
    string constant public symbol = 'GDP';
    uint8 constant public decimals = 18;
    uint256 public totalSupply = 1.6e27;
    uint256 constant public _totalLimit = 1e32;

    mapping (address => uint256) public balanceOf;
    mapping (address => mapping (address => uint256)) public allowance;

    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(address indexed owner, address indexed spender, uint256 value);

    function _transfer(address from, address to, uint value) internal {
        require(to != address(0));
        balanceOf[from] = balanceOf[from].sub(value);
        balanceOf[to] = balanceOf[to].add(value);
        emit Transfer(from, to, value);
    }

    function _mint(address account, uint256 value) internal {
        require(account != address(0));
        totalSupply = totalSupply.add(value);
        require(_totalLimit >= totalSupply);
        balanceOf[account] = balanceOf[account].add(value);
        emit Transfer(address(0), account, value);
    }

    function transfer(address to, uint256 value) public returns (bool) {
        _transfer(msg.sender, to, value);
        return true;
    }

    function transferFrom(address from, address to, uint256 value) public returns (bool) {
        allowance[from][msg.sender] = allowance[from][msg.sender].sub(value);
        _transfer(from, to, value);
        return true;
    }

    function approve(address spender, uint256 value) public returns (bool) {
        require(spender != address(0));
        allowance[msg.sender][spender] = value;
        emit Approval(msg.sender, spender, value);
        return true;
    }

    function increaseAllowance(address spender, uint256 addedValue) public returns (bool) {
        require(spender != address(0));
        allowance[msg.sender][spender] = allowance[msg.sender][spender].add(addedValue);
        emit Approval(msg.sender, spender, allowance[msg.sender][spender]);
        return true;
    }

    function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) {
        require(spender != address(0));
        allowance[msg.sender][spender] = allowance[msg.sender][spender].sub(subtractedValue);
        emit Approval(msg.sender, spender, allowance[msg.sender][spender]);
        return true;
    }
}

contract CustomToken is BaseToken {
    constructor() public {
        balanceOf[0x9C60Cf7BAf698BB574744f8a89aF51bEA3772695] = totalSupply;
        emit Transfer(address(0), 0x9C60Cf7BAf698BB574744f8a89aF51bEA3772695, totalSupply);
    }
}

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":"","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":"","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":"spender","type":"address"},{"name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"_totalLimit","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"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":"spender","type":"address"},{"name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","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":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"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"}]

60806040526b052b7d2dcc80cd2e4000000060005534801561002057600080fd5b5060008054739c60cf7baf698bb574744f8a89af51bea3772695808352600160209081527fd818f5252c4ed4e369089af73eb59e950cca45c4b83c89b62af30df6e523274e83905560408051938452519193927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a36106bb806100ad6000396000f3006080604052600436106100b95763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100be578063095ea7b31461014857806318160ddd1461018057806323b872dd146101a7578063313ce567146101d157806339509351146101fc57806339f85f5d1461022057806370a082311461023557806395d89b4114610256578063a457c2d71461026b578063a9059cbb1461028f578063dd62ed3e146102b3575b600080fd5b3480156100ca57600080fd5b506100d36102da565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561010d5781810151838201526020016100f5565b50505050905090810190601f16801561013a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561015457600080fd5b5061016c600160a060020a0360043516602435610311565b604080519115158252519081900360200190f35b34801561018c57600080fd5b5061019561038f565b60408051918252519081900360200190f35b3480156101b357600080fd5b5061016c600160a060020a0360043581169060243516604435610395565b3480156101dd57600080fd5b506101e6610402565b6040805160ff9092168252519081900360200190f35b34801561020857600080fd5b5061016c600160a060020a0360043516602435610407565b34801561022c57600080fd5b506101956104b7565b34801561024157600080fd5b50610195600160a060020a03600435166104c9565b34801561026257600080fd5b506100d36104db565b34801561027757600080fd5b5061016c600160a060020a0360043516602435610512565b34801561029b57600080fd5b5061016c600160a060020a036004351660243561055d565b3480156102bf57600080fd5b50610195600160a060020a0360043581169060243516610573565b60408051808201909152601981527f47616d6520446973747269627574656420506c6174666f726d00000000000000602082015281565b6000600160a060020a038316151561032857600080fd5b336000818152600260209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b60005481565b600160a060020a03831660009081526002602090815260408083203384529091528120546103c9908363ffffffff61059016565b600160a060020a03851660009081526002602090815260408083203384529091529020556103f88484846105a7565b5060019392505050565b601281565b6000600160a060020a038316151561041e57600080fd5b336000908152600260209081526040808320600160a060020a0387168452909152902054610452908363ffffffff61067616565b336000818152600260209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b6d04ee2d6d415b85acef810000000081565b60016020526000908152604090205481565b60408051808201909152600381527f4744500000000000000000000000000000000000000000000000000000000000602082015281565b6000600160a060020a038316151561052957600080fd5b336000908152600260209081526040808320600160a060020a0387168452909152902054610452908363ffffffff61059016565b600061056a3384846105a7565b50600192915050565b600260209081526000928352604080842090915290825290205481565b600080838311156105a057600080fd5b5050900390565b600160a060020a03821615156105bc57600080fd5b600160a060020a0383166000908152600160205260409020546105e5908263ffffffff61059016565b600160a060020a03808516600090815260016020526040808220939093559084168152205461061a908263ffffffff61067616565b600160a060020a0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008282018381101561068857600080fd5b93925050505600a165627a7a72305820a5b82e9006078164d4c0b564202d264a3956a224185f1c3a8f8e592de5c409950029

Deployed Bytecode

0x6080604052600436106100b95763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100be578063095ea7b31461014857806318160ddd1461018057806323b872dd146101a7578063313ce567146101d157806339509351146101fc57806339f85f5d1461022057806370a082311461023557806395d89b4114610256578063a457c2d71461026b578063a9059cbb1461028f578063dd62ed3e146102b3575b600080fd5b3480156100ca57600080fd5b506100d36102da565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561010d5781810151838201526020016100f5565b50505050905090810190601f16801561013a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561015457600080fd5b5061016c600160a060020a0360043516602435610311565b604080519115158252519081900360200190f35b34801561018c57600080fd5b5061019561038f565b60408051918252519081900360200190f35b3480156101b357600080fd5b5061016c600160a060020a0360043581169060243516604435610395565b3480156101dd57600080fd5b506101e6610402565b6040805160ff9092168252519081900360200190f35b34801561020857600080fd5b5061016c600160a060020a0360043516602435610407565b34801561022c57600080fd5b506101956104b7565b34801561024157600080fd5b50610195600160a060020a03600435166104c9565b34801561026257600080fd5b506100d36104db565b34801561027757600080fd5b5061016c600160a060020a0360043516602435610512565b34801561029b57600080fd5b5061016c600160a060020a036004351660243561055d565b3480156102bf57600080fd5b50610195600160a060020a0360043581169060243516610573565b60408051808201909152601981527f47616d6520446973747269627574656420506c6174666f726d00000000000000602082015281565b6000600160a060020a038316151561032857600080fd5b336000818152600260209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b60005481565b600160a060020a03831660009081526002602090815260408083203384529091528120546103c9908363ffffffff61059016565b600160a060020a03851660009081526002602090815260408083203384529091529020556103f88484846105a7565b5060019392505050565b601281565b6000600160a060020a038316151561041e57600080fd5b336000908152600260209081526040808320600160a060020a0387168452909152902054610452908363ffffffff61067616565b336000818152600260209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b6d04ee2d6d415b85acef810000000081565b60016020526000908152604090205481565b60408051808201909152600381527f4744500000000000000000000000000000000000000000000000000000000000602082015281565b6000600160a060020a038316151561052957600080fd5b336000908152600260209081526040808320600160a060020a0387168452909152902054610452908363ffffffff61059016565b600061056a3384846105a7565b50600192915050565b600260209081526000928352604080842090915290825290205481565b600080838311156105a057600080fd5b5050900390565b600160a060020a03821615156105bc57600080fd5b600160a060020a0383166000908152600160205260409020546105e5908263ffffffff61059016565b600160a060020a03808516600090815260016020526040808220939093559084168152205461061a908263ffffffff61067616565b600160a060020a0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008282018381101561068857600080fd5b93925050505600a165627a7a72305820a5b82e9006078164d4c0b564202d264a3956a224185f1c3a8f8e592de5c409950029

Deployed Bytecode Sourcemap

3359:244:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;930:57;;8:9:-1;5:2;;;30:1;27;20:12;5:2;930:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;930:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2435:243;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2435:243:0;-1:-1:-1;;;;;2435:243:0;;;;;;;;;;;;;;;;;;;;;;;;;1080:35;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1080:35:0;;;;;;;;;;;;;;;;;;;;2196:231;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2196:231:0;-1:-1:-1;;;;;2196:231:0;;;;;;;;;;;;1038:35;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1038:35:0;;;;;;;;;;;;;;;;;;;;;;;2686:324;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2686:324:0;-1:-1:-1;;;;;2686:324:0;;;;;;;1122:42;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1122:42:0;;;;1173:45;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1173:45:0;-1:-1:-1;;;;;1173:45:0;;;;;994:37;;8:9:-1;5:2;;;30:1;27;20:12;5:2;994:37:0;;;;3018:334;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3018:334:0;-1:-1:-1;;;;;3018:334:0;;;;;;;2048:140;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2048:140:0;-1:-1:-1;;;;;2048:140:0;;;;;;;1225:66;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1225:66:0;-1:-1:-1;;;;;1225:66:0;;;;;;;;;;930:57;;;;;;;;;;;;;;;;;;;:::o;2435:243::-;2500:4;-1:-1:-1;;;;;2525:21:0;;;;2517:30;;;;;;2568:10;2558:21;;;;:9;:21;;;;;;;;-1:-1:-1;;;;;2558:30:0;;;;;;;;;;;;:38;;;2612:36;;;;;;;2558:30;;2568:10;2612:36;;;;;;;;;;;-1:-1:-1;2666:4:0;2435:243;;;;:::o;1080:35::-;;;;:::o;2196:231::-;-1:-1:-1;;;;;2322:15:0;;2275:4;2322:15;;;:9;:15;;;;;;;;2338:10;2322:27;;;;;;;;:38;;2354:5;2322:38;:31;:38;:::i;:::-;-1:-1:-1;;;;;2292:15:0;;;;;;:9;:15;;;;;;;;2308:10;2292:27;;;;;;;:68;2371:26;2302:4;2387:2;2391:5;2371:9;:26::i;:::-;-1:-1:-1;2415:4:0;2196:231;;;;;:::o;1038:35::-;1071:2;1038:35;:::o;2686:324::-;2766:4;-1:-1:-1;;;;;2791:21:0;;;;2783:30;;;;;;2867:10;2857:21;;;;:9;:21;;;;;;;;-1:-1:-1;;;;;2857:30:0;;;;;;;;;;:46;;2892:10;2857:46;:34;:46;:::i;:::-;2834:10;2824:21;;;;:9;:21;;;;;;;;-1:-1:-1;;;;;2824:30:0;;;;;;;;;;;;:79;;;2919:61;;;;;;2824:30;;2919:61;;;;;;;;;;;-1:-1:-1;2998:4:0;2686:324;;;;:::o;1122:42::-;1160:4;1122:42;:::o;1173:45::-;;;;;;;;;;;;;:::o;994:37::-;;;;;;;;;;;;;;;;;;;:::o;3018:334::-;3103:4;-1:-1:-1;;;;;3128:21:0;;;;3120:30;;;;;;3204:10;3194:21;;;;:9;:21;;;;;;;;-1:-1:-1;;;;;3194:30:0;;;;;;;;;;:51;;3229:15;3194:51;:34;:51;:::i;2048:140::-;2109:4;2126:32;2136:10;2148:2;2152:5;2126:9;:32::i;:::-;-1:-1:-1;2176:4:0;2048:140;;;;:::o;1225:66::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;426:148::-;484:7;;512:6;;;;504:15;;;;;;-1:-1:-1;;542:5:0;;;426:148::o;1464:257::-;-1:-1:-1;;;;;1549:16:0;;;;1541:25;;;;;;-1:-1:-1;;;;;1595:15:0;;;;;;:9;:15;;;;;;:26;;1615:5;1595:26;:19;:26;:::i;:::-;-1:-1:-1;;;;;1577:15:0;;;;;;;:9;:15;;;;;;:44;;;;1648:13;;;;;;;:24;;1666:5;1648:24;:17;:24;:::i;:::-;-1:-1:-1;;;;;1632:13:0;;;;;;;:9;:13;;;;;;;;;:40;;;;1688:25;;;;;;;1632:13;;1688:25;;;;;;;;;;;;;1464:257;;;:::o;582:148::-;640:7;672:5;;;696:6;;;;688:15;;;;;;721:1;582:148;-1:-1:-1;;;582:148:0:o

Swarm Source

bzzr://a5b82e9006078164d4c0b564202d264a3956a224185f1c3a8f8e592de5c40995
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.