ETH Price: $3,143.73 (+5.55%)
Gas: 7.61 Gwei

Token

PEL (PEL)
 

Overview

Max Total Supply

1,100,000,000 PEL

Holders

2,704

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
16,087.5 PEL

Value
$0.00
0x26cfeafd595bc6b0140802c7a842b02ce42f88fb
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:
ERC20Standard

Compiler Version
v0.4.11+commit.68ef5810

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2019-05-08
*/

/**
 * Source Code first verified at https://etherscan.io on Thursday, April 19, 2018
 (UTC) */

pragma solidity ^0.4.11;

//------------------------------------------------------------------------------------------------
// ERC20 Standard Token Implementation, based on ERC Standard:
// https://github.com/ethereum/EIPs/issues/20
// With some inspiration from ConsenSys HumanStandardToken as well
// Copyright 2017 BattleDrome
//------------------------------------------------------------------------------------------------

//------------------------------------------------------------------------------------------------
// LICENSE
//
// This file is part of BattleDrome.
// 
// BattleDrome is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// 
// BattleDrome is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
// 
// You should have received a copy of the GNU General Public License
// along with BattleDrome.  If not, see <http://www.gnu.org/licenses/>.
//------------------------------------------------------------------------------------------------

contract ERC20Standard {
	uint256 public totalSupply;
	bool public mintable;
	string public name;
	uint256 public decimals;
	string public symbol;
	address public owner;

	mapping (address => uint256) balances;
	mapping (address => mapping (address => uint256)) allowed;

  function ERC20Standard(uint256 _totalSupply, string _symbol, string _name, bool _mintable) public {
		decimals = 18;
		symbol = _symbol;
		name = _name;
		mintable = _mintable;
		owner = msg.sender;
        totalSupply = _totalSupply * (10 ** decimals);
        balances[msg.sender] = totalSupply;
  }
	//Fix for short address attack against ERC20
	modifier onlyPayloadSize(uint size) {
		assert(msg.data.length == size + 4);
		_;
	} 

	function balanceOf(address _owner) constant public returns (uint256) {
		return balances[_owner];
	}

	function transfer(address _recipient, uint256 _value) onlyPayloadSize(2*32) public {
		require(balances[msg.sender] >= _value && _value > 0);
	    balances[msg.sender] -= _value;
	    balances[_recipient] += _value;
	    Transfer(msg.sender, _recipient, _value);        
    }

	function transferFrom(address _from, address _to, uint256 _value) public {
		require(balances[_from] >= _value && allowed[_from][msg.sender] >= _value && _value > 0);
        balances[_to] += _value;
        balances[_from] -= _value;
        allowed[_from][msg.sender] -= _value;
        Transfer(_from, _to, _value);
    }

	function approve(address _spender, uint256 _value) public {
		allowed[msg.sender][_spender] = _value;
		Approval(msg.sender, _spender, _value);
	}

	function allowance(address _owner, address _spender) constant public returns (uint256) {
		return allowed[_owner][_spender];
	}

	function mint(uint256 amount) public {
		assert(amount >= 0);
		require(msg.sender == owner);
		balances[msg.sender] += amount;
		totalSupply += amount;
	}

	//Event which is triggered to log all transfers to this contract's event log
	event Transfer(
		address indexed _from,
		address indexed _to,
		uint256 _value
		);
		
	//Event which is triggered whenever an owner approves a new allowance for a spender.
	event Approval(
		address indexed _owner,
		address indexed _spender,
		uint256 _value
		);

}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"mintable","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"amount","type":"uint256"}],"name":"mint","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_recipient","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"inputs":[{"name":"_totalSupply","type":"uint256"},{"name":"_symbol","type":"string"},{"name":"_name","type":"string"},{"name":"_mintable","type":"bool"}],"payable":false,"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"}]

6060604052341561000c57fe5b6040516108b83803806108b88339810160409081528151602083015191830151606084015191939283019201905b601260035582516100529060049060208601906100b8565b5081516100669060029060208501906100b8565b506001805460ff191682151517905560058054600160a060020a03191633600160a060020a0316908117909155600354600a0a8502600081815591825260066020526040909120555b50505050610158565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100f957805160ff1916838001178555610126565b82800160010185558215610126579182015b8281111561012657825182559160200191906001019061010b565b5b50610133929150610137565b5090565b61015591905b80821115610133576000815560010161013d565b5090565b90565b610751806101676000396000f300606060405236156100b75763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100b9578063095ea7b31461014957806318160ddd1461016a57806323b872dd1461018c578063313ce567146101b35780634bf365df146101d557806370a08231146101f95780638da5cb5b1461022757806395d89b4114610253578063a0712d68146102e3578063a9059cbb146102f8578063dd62ed3e14610319575bfe5b34156100c157fe5b6100c961034d565b60408051602080825283518183015283519192839290830191850190808383821561010f575b80518252602083111561010f57601f1990920191602091820191016100ef565b505050905090810190601f16801561013b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561015157fe5b610168600160a060020a03600435166024356103d8565b005b341561017257fe5b61017a61043a565b60408051918252519081900360200190f35b341561019457fe5b610168600160a060020a0360043581169060243516604435610440565b005b34156101bb57fe5b61017a61052f565b60408051918252519081900360200190f35b34156101dd57fe5b6101e5610535565b604080519115158252519081900360200190f35b341561020157fe5b61017a600160a060020a036004351661053e565b60408051918252519081900360200190f35b341561022f57fe5b61023761055d565b60408051600160a060020a039092168252519081900360200190f35b341561025b57fe5b6100c961056c565b60408051602080825283518183015283519192839290830191850190808383821561010f575b80518252602083111561010f57601f1990920191602091820191016100ef565b505050905090810190601f16801561013b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156102eb57fe5b6101686004356105fa565b005b341561030057fe5b610168600160a060020a0360043516602435610649565b005b341561032157fe5b61017a600160a060020a03600435811690602435166106f8565b60408051918252519081900360200190f35b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156103d05780601f106103a5576101008083540402835291602001916103d0565b820191906000526020600020905b8154815290600101906020018083116103b357829003601f168201915b505050505081565b600160a060020a03338116600081815260076020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a35b5050565b60005481565b600160a060020a0383166000908152600660205260409020548190108015906104905750600160a060020a0380841660009081526007602090815260408083203390941683529290522054819010155b801561049c5750600081115b15156104a85760006000fd5b600160a060020a03808316600081815260066020908152604080832080548701905587851680845281842080548890039055600783528184203390961684529482529182902080548690039055815185815291519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35b505050565b60035481565b60015460ff1681565b600160a060020a0381166000908152600660205260409020545b919050565b600554600160a060020a031681565b6004805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103d05780601f106103a5576101008083540402835291602001916103d0565b820191906000526020600020905b8154815290600101906020018083116103b357829003601f168201915b505050505081565b600081101561060557fe5b60055433600160a060020a039081169116146106215760006000fd5b600160a060020a03331660009081526006602052604081208054830190558054820190555b50565b60403660441461065557fe5b600160a060020a03331660009081526006602052604090205482901080159061067e5750600082115b151561068a5760006000fd5b600160a060020a03338116600081815260066020908152604080832080548890039055938716808352918490208054870190558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35b5b505050565b600160a060020a038083166000908152600760209081526040808320938516835292905220545b929150505600a165627a7a72305820de375de1d0e6a6120c3d34565ade86a451d8845112f27f32b9223193a4fae3ef0029000000000000000000000000000000000000000000000000000000004190ab00000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000350454c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000350454c0000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x606060405236156100b75763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100b9578063095ea7b31461014957806318160ddd1461016a57806323b872dd1461018c578063313ce567146101b35780634bf365df146101d557806370a08231146101f95780638da5cb5b1461022757806395d89b4114610253578063a0712d68146102e3578063a9059cbb146102f8578063dd62ed3e14610319575bfe5b34156100c157fe5b6100c961034d565b60408051602080825283518183015283519192839290830191850190808383821561010f575b80518252602083111561010f57601f1990920191602091820191016100ef565b505050905090810190601f16801561013b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561015157fe5b610168600160a060020a03600435166024356103d8565b005b341561017257fe5b61017a61043a565b60408051918252519081900360200190f35b341561019457fe5b610168600160a060020a0360043581169060243516604435610440565b005b34156101bb57fe5b61017a61052f565b60408051918252519081900360200190f35b34156101dd57fe5b6101e5610535565b604080519115158252519081900360200190f35b341561020157fe5b61017a600160a060020a036004351661053e565b60408051918252519081900360200190f35b341561022f57fe5b61023761055d565b60408051600160a060020a039092168252519081900360200190f35b341561025b57fe5b6100c961056c565b60408051602080825283518183015283519192839290830191850190808383821561010f575b80518252602083111561010f57601f1990920191602091820191016100ef565b505050905090810190601f16801561013b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156102eb57fe5b6101686004356105fa565b005b341561030057fe5b610168600160a060020a0360043516602435610649565b005b341561032157fe5b61017a600160a060020a03600435811690602435166106f8565b60408051918252519081900360200190f35b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156103d05780601f106103a5576101008083540402835291602001916103d0565b820191906000526020600020905b8154815290600101906020018083116103b357829003601f168201915b505050505081565b600160a060020a03338116600081815260076020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a35b5050565b60005481565b600160a060020a0383166000908152600660205260409020548190108015906104905750600160a060020a0380841660009081526007602090815260408083203390941683529290522054819010155b801561049c5750600081115b15156104a85760006000fd5b600160a060020a03808316600081815260066020908152604080832080548701905587851680845281842080548890039055600783528184203390961684529482529182902080548690039055815185815291519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35b505050565b60035481565b60015460ff1681565b600160a060020a0381166000908152600660205260409020545b919050565b600554600160a060020a031681565b6004805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103d05780601f106103a5576101008083540402835291602001916103d0565b820191906000526020600020905b8154815290600101906020018083116103b357829003601f168201915b505050505081565b600081101561060557fe5b60055433600160a060020a039081169116146106215760006000fd5b600160a060020a03331660009081526006602052604081208054830190558054820190555b50565b60403660441461065557fe5b600160a060020a03331660009081526006602052604090205482901080159061067e5750600082115b151561068a5760006000fd5b600160a060020a03338116600081815260066020908152604080832080548890039055938716808352918490208054870190558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35b5b505050565b600160a060020a038083166000908152600760209081526040808320938516835292905220545b929150505600a165627a7a72305820de375de1d0e6a6120c3d34565ade86a451d8845112f27f32b9223193a4fae3ef0029

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

000000000000000000000000000000000000000000000000000000004190ab00000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000350454c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000350454c0000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _totalSupply (uint256): 1100000000
Arg [1] : _symbol (string): PEL
Arg [2] : _name (string): PEL
Arg [3] : _mintable (bool): True

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000000000004190ab00
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [5] : 50454c0000000000000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 50454c0000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

1459:2280:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1540:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18:2:-1;;13:3;7:5;32;59:3;53:5;48:3;41:6;93:2;88:3;85:2;78:6;73:3;67:5;-1:-1;;152:3;;;;117:2;108:3;;;;130;172:5;167:4;181:3;3:186;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2924:149:0;;;;;;;;-1:-1:-1;;;;;2924:149:0;;;;;;;;;1486:26;;;;;;;;;;;;;;;;;;;;;;;;;;2589:330;;;;;;;;-1:-1:-1;;;;;2589:330:0;;;;;;;;;;;;;;1562:23;;;;;;;;;;;;;;;;;;;;;;;;;;1516:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;2196:102;;;;;;;;-1:-1:-1;;;;;2196:102:0;;;;;;;;;;;;;;;;;;;;;1613:20;;;;;;;;;;;;;;-1:-1:-1;;;;;1613:20:0;;;;;;;;;;;;;;1589;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18:2:-1;;13:3;7:5;32;59:3;53:5;48:3;41:6;93:2;88:3;85:2;78:6;73:3;67:5;-1:-1;;152:3;;;;117:2;108:3;;;;130;172:5;167:4;181:3;3:186;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3212:160:0;;;;;;;;;;;;;;2303:281;;;;;;;;-1:-1:-1;;;;;2303:281:0;;;;;;;;;3078:129;;;;;;;;-1:-1:-1;;;;;3078:129:0;;;;;;;;;;;;;;;;;;;;;;;;;;1540:18;;;;;;;;;;;;;;-1:-1:-1;;1540:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2924:149::-;-1:-1:-1;;;;;2995:10:0;2987:19;;;;;;:7;:19;;;;;;;;:29;;;;;;;;;;;;;:38;;;3030;;;;;;;;;;;;;;;;;2924:149;;;:::o;1486:26::-;;;;:::o;2589:330::-;-1:-1:-1;;;;;2675:15:0;;;;;;:8;:15;;;;;;:25;;;;;;:65;;-1:-1:-1;;;;;;2704:14:0;;;;;;;:7;:14;;;;;;;;2719:10;2704:26;;;;;;;;;;:36;;;;2675:65;:79;;;;;2753:1;2744:6;:10;2675:79;2667:88;;;;;;;;-1:-1:-1;;;;;2766:13:0;;;;;;;:8;:13;;;;;;;;:23;;;;;;2800:15;;;;;;;;;:25;;;;;;;2836:7;:14;;;;;2851:10;2836:26;;;;;;;;;;;;:36;;;;;;;2883:28;;;;;;;2766:13;;2800:15;2883:28;;;;;;;;;;2589:330;;;;:::o;1562:23::-;;;;:::o;1516:20::-;;;;;;:::o;2196:102::-;-1:-1:-1;;;;;2277:16:0;;2256:7;2277:16;;;:8;:16;;;;;;2196:102;;;;:::o;1613:20::-;;;-1:-1:-1;;;;;1613:20:0;;:::o;1589:::-;;;;;;;;;;;;;;;-1:-1:-1;;1589:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;3212:160::-;3271:1;3261:11;;;3254:19;;;;3300:5;;3286:10;-1:-1:-1;;;;;3286:19:0;;;3300:5;;3286:19;3278:28;;;;;;-1:-1:-1;;;;;3320:10:0;3311:20;;;;;:8;:20;;;;;:30;;;;;;3346:21;;;;;;3212:160;;:::o;2303:281::-;2373:4;2151:8;2170;2151:27;2144:35;;;;-1:-1:-1;;;;;2408:10:0;2399:20;;;;;:8;:20;;;;;;:30;;;;;;:44;;;2442:1;2433:6;:10;2399:44;2391:53;;;;;;;;-1:-1:-1;;;;;2461:10:0;2452:20;;;;;;:8;:20;;;;;;;;:30;;;;;;;2490:20;;;;;;;;;;:30;;;;;;2528:40;;;;;;;2490:20;;2528:40;;;;;;;;;;;2184:1;2303:281;;;;:::o;3078:129::-;-1:-1:-1;;;;;3177:15:0;;;3156:7;3177:15;;;:7;:15;;;;;;;;:25;;;;;;;;;;3078:129;;;;;:::o

Swarm Source

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