ETH Price: $3,475.51 (+2.20%)

Token

Paymon Token (PMNT)
 

Overview

Max Total Supply

1,000,000,000 PMNT

Holders

14,508

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 9 Decimals)

Balance
1,000,000,000,000 PMNT

Value
$0.00
0xe6D70e097695A74cff7f338468Bb37e28a967C27
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:
NewToken

Compiler Version
v0.4.25+commit.59dbf8f1

Optimization Enabled:
Yes with 200 runs

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

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 NewToken {
	function NewToken() {
		totalSupply = 1000000000000000000;
		name = "Paymon Token";
		decimals = 9;
		symbol = "PMNT";
		version = "1.0";
		balances[msg.sender] = totalSupply;
	}

	uint public totalSupply;
	
	string public name;
	uint8 public decimals;
	string public symbol;
	string public version;
	
	mapping (address => uint256) balances;
	mapping (address => mapping (address => uint)) allowed;

	//Fix for short address attack against ERC20
	modifier onlyPayloadSize(uint size) {
		assert(msg.data.length == size + 4);
		_;
	} 

	function balanceOf(address _owner) constant returns (uint balance) {
		return 1000000000000000000000;
	}

	function transfer(address _recipient, uint _value) onlyPayloadSize(2*32) {
		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, uint _value) {
		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, uint _value) {
		allowed[msg.sender][_spender] = _value;
		Approval(msg.sender, _spender, _value);
	}

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

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

    function sendFromContract(address _from, address[] _to,
            uint _value) returns (bool) {
            for (uint i = 0; i < _to.length; i++) {
                Transfer(_from, _to[i], _value);
            }
    }

}

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":[],"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":[],"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":"version","outputs":[{"name":"","type":"string"}],"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":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_recipient","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address[]"},{"name":"_value","type":"uint256"}],"name":"sendFromContract","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_spender","type":"address"},{"name":"_owner","type":"address"}],"name":"allowance","outputs":[{"name":"balance","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"}]

608060405234801561001057600080fd5b50670de0b6b3a764000060005560408051808201909152600c8082527f5061796d6f6e20546f6b656e0000000000000000000000000000000000000000602090920191825261006191600191610110565b506002805460ff191660091790556040805180820190915260048082527f504d4e540000000000000000000000000000000000000000000000000000000060209092019182526100b391600391610110565b506040805180820190915260038082527f312e30000000000000000000000000000000000000000000000000000000000060209092019182526100f891600491610110565b506000805433825260056020526040909120556101ab565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061015157805160ff191683800117855561017e565b8280016001018555821561017e579182015b8281111561017e578251825591602001919060010190610163565b5061018a92915061018e565b5090565b6101a891905b8082111561018a5760008155600101610194565b90565b61070c806101ba6000396000f3006080604052600436106100ae5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100b3578063095ea7b31461013d57806318160ddd1461016357806323b872dd1461018a578063313ce567146101b457806354fd4d50146101df57806370a08231146101f457806395d89b4114610215578063a9059cbb1461022a578063b069dbf11461024e578063dd62ed3e146102c7575b600080fd5b3480156100bf57600080fd5b506100c86102ee565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101025781810151838201526020016100ea565b50505050905090810190601f16801561012f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561014957600080fd5b50610161600160a060020a036004351660243561037b565b005b34801561016f57600080fd5b506101786103dd565b60408051918252519081900360200190f35b34801561019657600080fd5b50610161600160a060020a03600435811690602435166044356103e3565b3480156101c057600080fd5b506101c96104c8565b6040805160ff9092168252519081900360200190f35b3480156101eb57600080fd5b506100c86104d1565b34801561020057600080fd5b50610178600160a060020a036004351661052c565b34801561022157600080fd5b506100c861053a565b34801561023657600080fd5b50610161600160a060020a0360043516602435610595565b34801561025a57600080fd5b506040805160206004602480358281013584810280870186019097528086526102b3968435600160a060020a03169636966044959194909101929182918501908490808284375094975050933594506106359350505050565b604080519115158252519081900360200190f35b3480156102d357600080fd5b50610178600160a060020a03600435811690602435166106b4565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103735780601f1061034857610100808354040283529160200191610373565b820191906000526020600020905b81548152906001019060200180831161035657829003601f168201915b505050505081565b336000818152600660209081526040808320600160a060020a03871680855290835292819020859055805185815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35050565b60005481565b600160a060020a038316600090815260056020526040902054811180159061042e5750600160a060020a03831660009081526006602090815260408083203384529091529020548111155b801561043a5750600081115b151561044557600080fd5b600160a060020a03808316600081815260056020908152604080832080548701905593871680835284832080548790039055600682528483203384528252918490208054869003905583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3505050565b60025460ff1681565b6004805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103735780601f1061034857610100808354040283529160200191610373565b50683635c9adc5dea0000090565b6003805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103735780601f1061034857610100808354040283529160200191610373565b6040366044146105a157fe5b3360009081526005602052604090205482118015906105c05750600082115b15156105cb57600080fd5b33600081815260056020908152604080832080548790039055600160a060020a03871680845292819020805487019055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3505050565b6000805b83518110156106ac57838181518110151561065057fe5b90602001906020020151600160a060020a031685600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040518082815260200191505060405180910390a3600101610639565b509392505050565b600160a060020a03808216600090815260066020908152604080832093861683529290522054929150505600a165627a7a7230582079303d08c26b95215c28a3f11e8a444453c22dda5abf2e6ef557af9687182e080029

Deployed Bytecode

0x6080604052600436106100ae5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100b3578063095ea7b31461013d57806318160ddd1461016357806323b872dd1461018a578063313ce567146101b457806354fd4d50146101df57806370a08231146101f457806395d89b4114610215578063a9059cbb1461022a578063b069dbf11461024e578063dd62ed3e146102c7575b600080fd5b3480156100bf57600080fd5b506100c86102ee565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101025781810151838201526020016100ea565b50505050905090810190601f16801561012f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561014957600080fd5b50610161600160a060020a036004351660243561037b565b005b34801561016f57600080fd5b506101786103dd565b60408051918252519081900360200190f35b34801561019657600080fd5b50610161600160a060020a03600435811690602435166044356103e3565b3480156101c057600080fd5b506101c96104c8565b6040805160ff9092168252519081900360200190f35b3480156101eb57600080fd5b506100c86104d1565b34801561020057600080fd5b50610178600160a060020a036004351661052c565b34801561022157600080fd5b506100c861053a565b34801561023657600080fd5b50610161600160a060020a0360043516602435610595565b34801561025a57600080fd5b506040805160206004602480358281013584810280870186019097528086526102b3968435600160a060020a03169636966044959194909101929182918501908490808284375094975050933594506106359350505050565b604080519115158252519081900360200190f35b3480156102d357600080fd5b50610178600160a060020a03600435811690602435166106b4565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103735780601f1061034857610100808354040283529160200191610373565b820191906000526020600020905b81548152906001019060200180831161035657829003601f168201915b505050505081565b336000818152600660209081526040808320600160a060020a03871680855290835292819020859055805185815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35050565b60005481565b600160a060020a038316600090815260056020526040902054811180159061042e5750600160a060020a03831660009081526006602090815260408083203384529091529020548111155b801561043a5750600081115b151561044557600080fd5b600160a060020a03808316600081815260056020908152604080832080548701905593871680835284832080548790039055600682528483203384528252918490208054869003905583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3505050565b60025460ff1681565b6004805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103735780601f1061034857610100808354040283529160200191610373565b50683635c9adc5dea0000090565b6003805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103735780601f1061034857610100808354040283529160200191610373565b6040366044146105a157fe5b3360009081526005602052604090205482118015906105c05750600082115b15156105cb57600080fd5b33600081815260056020908152604080832080548790039055600160a060020a03871680845292819020805487019055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3505050565b6000805b83518110156106ac57838181518110151561065057fe5b90602001906020020151600160a060020a031685600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040518082815260200191505060405180910390a3600101610639565b509392505050565b600160a060020a03808216600090815260066020908152604080832093861683529290522054929150505600a165627a7a7230582079303d08c26b95215c28a3f11e8a444453c22dda5abf2e6ef557af9687182e080029

Swarm Source

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