ETH Price: $3,389.00 (+1.49%)

Token

Poke Coin (POKE)
 

Overview

Max Total Supply

14,400 POKE

Holders

179

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 0 Decimals)

Balance
10 POKE

Value
$0.00
0xaaedd6ed3c301d3985d5edd4f0e548d69d94dbe3
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:
PokeCoin

Compiler Version
v0.5.16+commit.9c3226ce

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at Etherscan.io on 2020-09-30
*/

// File: contracts\PokeCoin.sol

pragma solidity ^0.5.16;

contract PokeCoin{

    string public name = "Poke Coin";
    string public symbol = "POKE";
    string public standard = "Poke Coin v1";
    uint256 public totalSupply;

    event Transfer(
        address indexed _from,
        address indexed _to,
        uint256 _value
    );

    event Approval(
        address indexed _owner,
        address indexed _spender,
        uint256 _value
    );

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


    constructor(uint256 _initialSupply) public {
        balanceOf[msg.sender] = _initialSupply;  
        totalSupply = _initialSupply;
    }

    function transfer(address _to, uint256 _value) public returns (bool success){
        require(balanceOf[msg.sender] >= _value);
        balanceOf[msg.sender] -= _value;
        balanceOf[_to] += _value;

        emit Transfer(msg.sender, _to, _value);
        return true;
    }

    function approve(address _spender, uint256 _value) public returns (bool success) {

        allowance[msg.sender][_spender] = _value;

        emit Approval(msg.sender, _spender, _value);

        return true;
    }

    function transferFrom(address _from, address _to, uint256 _value) public returns(bool success){
        require(_value <= balanceOf[_from]);
        require(_value <= allowance[_from][msg.sender]);

        balanceOf[_from] -= _value;
        balanceOf[_to] += _value;

        allowance[_from][msg.sender] -= _value;

        emit Transfer(_from, _to, _value);
        return true;
    
    }


    
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_initialSupply","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_owner","type":"address"},{"indexed":true,"internalType":"address","name":"_spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":true,"internalType":"address","name":"_to","type":"address"},{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"Transfer","type":"event"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"standard","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"}]

60c060405260096080819052682837b5b29021b7b4b760b91b60a090815261002a91600091906100d6565b5060408051808201909152600480825263504f4b4560e01b6020909201918252610056916001916100d6565b5060408051808201909152600c8082526b506f6b6520436f696e20763160a01b602090920191825261008a916002916100d6565b5034801561009757600080fd5b5060405161072e38038061072e833981810160405260208110156100ba57600080fd5b5051336000908152600460205260409020819055600355610171565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061011757805160ff1916838001178555610144565b82800160010185558215610144579182015b82811115610144578251825591602001919060010190610129565b50610150929150610154565b5090565b61016e91905b80821115610150576000815560010161015a565b90565b6105ae806101806000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c80635a3b7e42116100665780635a3b7e42146101a557806370a08231146101ad57806395d89b41146101d3578063a9059cbb146101db578063dd62ed3e1461020757610093565b806306fdde0314610098578063095ea7b31461011557806318160ddd1461015557806323b872dd1461016f575b600080fd5b6100a0610235565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100da5781810151838201526020016100c2565b50505050905090810190601f1680156101075780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101416004803603604081101561012b57600080fd5b506001600160a01b0381351690602001356102c3565b604080519115158252519081900360200190f35b61015d610329565b60408051918252519081900360200190f35b6101416004803603606081101561018557600080fd5b506001600160a01b0381358116916020810135909116906040013561032f565b6100a061040e565b61015d600480360360208110156101c357600080fd5b50356001600160a01b0316610466565b6100a0610478565b610141600480360360408110156101f157600080fd5b506001600160a01b0381351690602001356104d2565b61015d6004803603604081101561021d57600080fd5b506001600160a01b038135811691602001351661055c565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156102bb5780601f10610290576101008083540402835291602001916102bb565b820191906000526020600020905b81548152906001019060200180831161029e57829003601f168201915b505050505081565b3360008181526005602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60035481565b6001600160a01b03831660009081526004602052604081205482111561035457600080fd5b6001600160a01b038416600090815260056020908152604080832033845290915290205482111561038457600080fd5b6001600160a01b0380851660008181526004602090815260408083208054889003905593871680835284832080548801905583835260058252848320338452825291849020805487900390558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35060019392505050565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156102bb5780601f10610290576101008083540402835291602001916102bb565b60046020526000908152604090205481565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156102bb5780601f10610290576101008083540402835291602001916102bb565b336000908152600460205260408120548211156104ee57600080fd5b336000818152600460209081526040808320805487900390556001600160a01b03871680845292819020805487019055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a350600192915050565b60056020908152600092835260408084209091529082529020548156fea265627a7a723158207fcaf8b5685fef7cc149cb37b73f313d494d221937a015dfce50d14b7eb7fc1c64736f6c634300051000320000000000000000000000000000000000000000000000000000000000003840

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100935760003560e01c80635a3b7e42116100665780635a3b7e42146101a557806370a08231146101ad57806395d89b41146101d3578063a9059cbb146101db578063dd62ed3e1461020757610093565b806306fdde0314610098578063095ea7b31461011557806318160ddd1461015557806323b872dd1461016f575b600080fd5b6100a0610235565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100da5781810151838201526020016100c2565b50505050905090810190601f1680156101075780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101416004803603604081101561012b57600080fd5b506001600160a01b0381351690602001356102c3565b604080519115158252519081900360200190f35b61015d610329565b60408051918252519081900360200190f35b6101416004803603606081101561018557600080fd5b506001600160a01b0381358116916020810135909116906040013561032f565b6100a061040e565b61015d600480360360208110156101c357600080fd5b50356001600160a01b0316610466565b6100a0610478565b610141600480360360408110156101f157600080fd5b506001600160a01b0381351690602001356104d2565b61015d6004803603604081101561021d57600080fd5b506001600160a01b038135811691602001351661055c565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156102bb5780601f10610290576101008083540402835291602001916102bb565b820191906000526020600020905b81548152906001019060200180831161029e57829003601f168201915b505050505081565b3360008181526005602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60035481565b6001600160a01b03831660009081526004602052604081205482111561035457600080fd5b6001600160a01b038416600090815260056020908152604080832033845290915290205482111561038457600080fd5b6001600160a01b0380851660008181526004602090815260408083208054889003905593871680835284832080548801905583835260058252848320338452825291849020805487900390558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35060019392505050565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156102bb5780601f10610290576101008083540402835291602001916102bb565b60046020526000908152604090205481565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156102bb5780601f10610290576101008083540402835291602001916102bb565b336000908152600460205260408120548211156104ee57600080fd5b336000818152600460209081526040808320805487900390556001600160a01b03871680845292819020805487019055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a350600192915050565b60056020908152600092835260408084209091529082529020548156fea265627a7a723158207fcaf8b5685fef7cc149cb37b73f313d494d221937a015dfce50d14b7eb7fc1c64736f6c63430005100032

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000000000000000000000000000000000000000003840

-----Decoded View---------------
Arg [0] : _initialSupply (uint256): 14400

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000003840


Deployed Bytecode Sourcemap

63:1638:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;63:1638:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;89:32;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;89:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1053:222;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1053:222:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;210:26;;;:::i;:::-;;;;;;;;;;;;;;;;1283:405;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1283:405:0;;;;;;;;;;;;;;;;;:::i;164:39::-;;;:::i;485:44::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;485:44:0;-1:-1:-1;;;;;485:44:0;;:::i;128:29::-;;;:::i;760:285::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;760:285:0;;;;;;;;:::i;536:64::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;536:64:0;;;;;;;;;;:::i;89:32::-;;;;;;;;;;;;;;;-1:-1:-1;;89:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1053:222::-;1157:10;1120:12;1147:21;;;:9;:21;;;;;;;;-1:-1:-1;;;;;1147:31:0;;;;;;;;;;;:40;;;1205:38;;;;;;;1120:12;;1147:31;;1157:10;;1205:38;;;;;;;;-1:-1:-1;1263:4:0;1053:222;;;;:::o;210:26::-;;;;:::o;1283:405::-;-1:-1:-1;;;;;1406:16:0;;1364:12;1406:16;;;:9;:16;;;;;;1396:26;;;1388:35;;;;;;-1:-1:-1;;;;;1452:16:0;;;;;;:9;:16;;;;;;;;1469:10;1452:28;;;;;;;;1442:38;;;1434:47;;;;;;-1:-1:-1;;;;;1494:16:0;;;;;;;:9;:16;;;;;;;;:26;;;;;;;1531:14;;;;;;;;;:24;;;;;;1568:16;;;:9;:16;;;;;1585:10;1568:28;;;;;;;;:38;;;;;;;1624:28;;;;;;;1531:14;;1624:28;;;;;;;;;;;-1:-1:-1;1670:4:0;1283:405;;;;;:::o;164:39::-;;;;;;;;;;;;;;-1:-1:-1;;164:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;485:44;;;;;;;;;;;;;:::o;128:29::-;;;;;;;;;;;;;;;-1:-1:-1;;128:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;760:285;865:10;823:12;855:21;;;:9;:21;;;;;;:31;-1:-1:-1;855:31:0;847:40;;;;;;908:10;898:21;;;;:9;:21;;;;;;;;:31;;;;;;;-1:-1:-1;;;;;940:14:0;;;;;;;;;:24;;;;;;982:33;;;;;;;940:14;;908:10;982:33;;;;;;;;;;;-1:-1:-1;1033:4:0;760:285;;;;:::o;536:64::-;;;;;;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

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