ETH Price: $3,138.14 (-0.79%)

Token

Peace Token (PT)
 

Overview

Max Total Supply

10,000,000,000 PT

Holders

5,464

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
123,732.791295399433842093 PT

Value
$0.00
0x96da748b8f62ce02ca56397b409b2ddc20a7ca79
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:
PT

Compiler Version
v0.4.25+commit.59dbf8f1

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2018-10-22
*/

pragma solidity ^0.4.25;

library SafeMath {
  function mul(uint256 a, uint256 b) internal pure returns (uint256) {
    uint256 c = a * b;
    assert(a == 0 || c / a == b);
    return c;
  }

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

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

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

contract ForeignToken {
    function balanceOf(address _owner) constant public returns (uint256);
    function transfer(address _to, uint256 _value) public returns (bool);
}

contract ERC20Basic {
    uint256 public totalSupply;
    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 ERC20 is ERC20Basic {
    function allowance(address owner, address spender) public constant returns (uint256);
    function transferFrom(address from, address to, uint256 value) public returns (bool);
    function approve(address spender, uint256 value) public returns (bool);
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

interface Token { 
    function distr(address _to, uint256 _value) external returns (bool);
    function totalSupply() constant external returns (uint256 supply);
    function balanceOf(address _owner) constant external returns (uint256 balance);
}

contract PT is ERC20 {

 
    
    using SafeMath for uint256;
    address owner = msg.sender;

    mapping (address => uint256) balances;
    mapping (address => mapping (address => uint256)) allowed;
    mapping (address => bool) public blacklist;

    string public name;
    string public symbol;
    uint public constant decimals = 18;
    
uint256 public totalSupply = 10000000000e18;
    
uint256 public totalDistributed = 5000000000e18;
    
uint256 public totalRemaining = totalSupply.sub(totalDistributed);
    
uint256 public value = 150000e18;

event Transfer(address indexed _from, address indexed _to, uint256 _value);
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);
    
    event Distr(address indexed to, uint256 amount);
    event DistrFinished();
    
    event Burn(address indexed burner, uint256 value);

    bool public distributionFinished = false;
    
    modifier canDistr() {
        require(!distributionFinished);
        _;
    }
    
    modifier onlyOwner() {
        require(msg.sender == owner);
        _;
    }
    
    modifier onlyWhitelist() {
        require(blacklist[msg.sender] == false);
        _;
    }
    
    function PT(
    
        uint256 initialSupply,
        string tokenName,
        string tokenSymbol
    ) public {
        totalSupply = initialSupply * 10 ** uint256(decimals);  // Update total supply with the decimal amount
        name = tokenName;                                   // Set the name for display purposes
        symbol = tokenSymbol;                               // Set the symbol for display purposes
        owner = msg.sender;
        balances[owner] = totalDistributed;
    }
    
    function transferOwnership(address newOwner) onlyOwner public {
        if (newOwner != address(0)) {
            owner = newOwner;
        }
    }
    
    function finishDistribution() onlyOwner canDistr public returns (bool) {
        distributionFinished = true;
        emit DistrFinished();
        return true;
    }
    
    function distr(address _to, uint256 _amount) canDistr private returns (bool) {
        totalDistributed = totalDistributed.add(_amount);
        totalRemaining = totalRemaining.sub(_amount);
        balances[_to] = balances[_to].add(_amount);
        emit Distr(_to, _amount);
        emit Transfer(address(0), _to, _amount);
        return true;
        
        if (totalDistributed >= totalSupply) {
            distributionFinished = true;
        }
    }
    
    function () external payable {
        getTokens();
     }
    
    function getTokens() payable canDistr onlyWhitelist public {
        if (value > totalRemaining) {
            value = totalRemaining;
        }
        
        require(value <= totalRemaining);
        
        address investor = msg.sender;
        uint256 toGive = value;
        
        distr(investor, toGive);
        
        if (toGive > 0) {
            blacklist[investor] = true;
        }

        if (totalDistributed >= totalSupply) {
            distributionFinished = true;
        }
        
        value = value.div(100000).mul(99999);
    }

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

    modifier onlyPayloadSize(uint size) {
        assert(msg.data.length >= size + 4);
        _;
    }
    
    function transfer(address _to, uint256 _amount) onlyPayloadSize(2 * 32) public returns (bool success) {
        require(_to != address(0));
        require(_amount <= balances[msg.sender]);
        
        balances[msg.sender] = balances[msg.sender].sub(_amount);
        balances[_to] = balances[_to].add(_amount);
        emit Transfer(msg.sender, _to, _amount);
        return true;
    }
    
    function transferFrom(address _from, address _to, uint256 _amount) onlyPayloadSize(3 * 32) public returns (bool success) {
        require(_to != address(0));
        require(_amount <= balances[_from]);
        require(_amount <= allowed[_from][msg.sender]);
        
        balances[_from] = balances[_from].sub(_amount);
        allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_amount);
        balances[_to] = balances[_to].add(_amount);
        emit Transfer(_from, _to, _amount);
        return true;
    }
    
    function approve(address _spender, uint256 _value) public returns (bool success) {
        if (_value != 0 && allowed[msg.sender][_spender] != 0) { return false; }
        allowed[msg.sender][_spender] = _value;
        emit Approval(msg.sender, _spender, _value);
        return true;
    }
    
    function allowance(address _owner, address _spender) constant public returns (uint256) {
        return allowed[_owner][_spender];
    }
    
    function getTokenBalance(address tokenAddress, address who) constant public returns (uint){
        ForeignToken t = ForeignToken(tokenAddress);
        uint bal = t.balanceOf(who);
        return bal;
    }
    
    function withdraw() onlyOwner public {
        uint256 etherBalance = address(this).balance;
        owner.transfer(etherBalance);
    }
    
    function burn(uint256 _value) onlyOwner public {
        require(_value <= balances[msg.sender]);

        address burner = msg.sender;
        balances[burner] = balances[burner].sub(_value);
        totalSupply = totalSupply.sub(_value);
        totalDistributed = totalDistributed.sub(_value);
        emit Burn(burner, _value);
    }
    
    function withdrawForeignTokens(address _tokenContract) onlyOwner public returns (bool) {
        ForeignToken token = ForeignToken(_tokenContract);
        uint256 amount = token.balanceOf(address(this));
        return token.transfer(owner, amount);
    }
}

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":"success","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":"_amount","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"value","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","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":"finishDistribution","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"getTokens","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"distributionFinished","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"tokenAddress","type":"address"},{"name":"who","type":"address"}],"name":"getTokenBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalRemaining","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_tokenContract","type":"address"}],"name":"withdrawForeignTokens","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalDistributed","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"blacklist","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"initialSupply","type":"uint256"},{"name":"tokenName","type":"string"},{"name":"tokenSymbol","type":"string"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"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"},{"anonymous":false,"inputs":[{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Distr","type":"event"},{"anonymous":false,"inputs":[],"name":"DistrFinished","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"burner","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Burn","type":"event"}]

608060405260018054600160a060020a031916331790556b204fce5e3e2502611000000060078190556b1027e72f1f12813088000000600881905562000054919064010000000062000e926200011e82021704565b600955691fc3842bd1f071c00000600a55600b805460ff191690553480156200007c57600080fd5b50604051620010c5380380620010c5833981016040908152815160208084015192840151670de0b6b3a764000083026007559284018051929490930191620000cb916005919085019062000131565b508051620000e190600690602084019062000131565b505060018054600160a060020a031916331790819055600854600160a060020a039190911660009081526002602052604090205550620001d69050565b6000828211156200012b57fe5b50900390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200017457805160ff1916838001178555620001a4565b82800160010185558215620001a4579182015b82811115620001a457825182559160200191906001019062000187565b50620001b2929150620001b6565b5090565b620001d391905b80821115620001b25760008155600101620001bd565b90565b610edf80620001e66000396000f30060806040526004361061011c5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610126578063095ea7b3146101b057806318160ddd146101e857806323b872dd1461020f578063313ce567146102395780633ccfd60b1461024e5780633fa4f2451461026357806342966c681461027857806370a082311461029057806395d89b41146102b15780639b1cbccc146102c6578063a9059cbb146102db578063aa6ca8081461011c578063c108d542146102ff578063c489744b14610314578063d8a543601461033b578063dd62ed3e14610350578063e58fc54c14610377578063efca2eed14610398578063f2fde38b146103ad578063f9f92be4146103ce575b6101246103ef565b005b34801561013257600080fd5b5061013b6104cf565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561017557818101518382015260200161015d565b50505050905090810190601f1680156101a25780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101bc57600080fd5b506101d4600160a060020a036004351660243561055d565b604080519115158252519081900360200190f35b3480156101f457600080fd5b506101fd610605565b60408051918252519081900360200190f35b34801561021b57600080fd5b506101d4600160a060020a036004358116906024351660443561060b565b34801561024557600080fd5b506101fd610790565b34801561025a57600080fd5b50610124610795565b34801561026f57600080fd5b506101fd6107ef565b34801561028457600080fd5b506101246004356107f5565b34801561029c57600080fd5b506101fd600160a060020a03600435166108d4565b3480156102bd57600080fd5b5061013b6108ef565b3480156102d257600080fd5b506101d461094a565b3480156102e757600080fd5b506101d4600160a060020a03600435166024356109b0565b34801561030b57600080fd5b506101d4610aa1565b34801561032057600080fd5b506101fd600160a060020a0360043581169060243516610aaa565b34801561034757600080fd5b506101fd610b5b565b34801561035c57600080fd5b506101fd600160a060020a0360043581169060243516610b61565b34801561038357600080fd5b506101d4600160a060020a0360043516610b8c565b3480156103a457600080fd5b506101fd610ce0565b3480156103b957600080fd5b50610124600160a060020a0360043516610ce6565b3480156103da57600080fd5b506101d4600160a060020a0360043516610d38565b600b54600090819060ff161561040457600080fd5b3360009081526004602052604090205460ff161561042157600080fd5b600954600a54111561043457600954600a555b600954600a54111561044557600080fd5b5050600a5433906104568282610d4d565b50600081111561048457600160a060020a0382166000908152600460205260409020805460ff191660011790555b6007546008541061049d57600b805460ff191660011790555b6104c86201869f6104bc620186a0600a54610e5090919063ffffffff16565b9063ffffffff610e6716565b600a555050565b6005805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105555780601f1061052a57610100808354040283529160200191610555565b820191906000526020600020905b81548152906001019060200180831161053857829003601f168201915b505050505081565b600081158015906105905750336000908152600360209081526040808320600160a060020a038716845290915290205415155b1561059d575060006105ff565b336000818152600360209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060015b92915050565b60075481565b60006060606436101561061a57fe5b600160a060020a038416151561062f57600080fd5b600160a060020a03851660009081526002602052604090205483111561065457600080fd5b600160a060020a038516600090815260036020908152604080832033845290915290205483111561068457600080fd5b600160a060020a0385166000908152600260205260409020546106ad908463ffffffff610e9216565b600160a060020a03861660009081526002602090815260408083209390935560038152828220338352905220546106ea908463ffffffff610e9216565b600160a060020a03808716600090815260036020908152604080832033845282528083209490945591871681526002909152205461072e908463ffffffff610ea416565b600160a060020a0380861660008181526002602090815260409182902094909455805187815290519193928916927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3506001949350505050565b601281565b600154600090600160a060020a031633146107af57600080fd5b50600154604051303191600160a060020a03169082156108fc029083906000818181858888f193505050501580156107eb573d6000803e3d6000fd5b5050565b600a5481565b600154600090600160a060020a0316331461080f57600080fd5b3360009081526002602052604090205482111561082b57600080fd5b503360008181526002602052604090205461084c908363ffffffff610e9216565b600160a060020a038216600090815260026020526040902055600754610878908363ffffffff610e9216565b60075560085461088e908363ffffffff610e9216565b600855604080518381529051600160a060020a038316917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a25050565b600160a060020a031660009081526002602052604090205490565b6006805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105555780601f1061052a57610100808354040283529160200191610555565b600154600090600160a060020a0316331461096457600080fd5b600b5460ff161561097457600080fd5b600b805460ff191660011790556040517f7f95d919e78bdebe8a285e6e33357c2fcb65ccf66e72d7573f9f8f6caad0c4cc90600090a150600190565b6000604060443610156109bf57fe5b600160a060020a03841615156109d457600080fd5b336000908152600260205260409020548311156109f057600080fd5b33600090815260026020526040902054610a10908463ffffffff610e9216565b3360009081526002602052604080822092909255600160a060020a03861681522054610a42908463ffffffff610ea416565b600160a060020a0385166000818152600260209081526040918290209390935580518681529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35060019392505050565b600b5460ff1681565b600080600084915081600160a060020a03166370a08231856040518263ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018082600160a060020a0316600160a060020a03168152602001915050602060405180830381600087803b158015610b2657600080fd5b505af1158015610b3a573d6000803e3d6000fd5b505050506040513d6020811015610b5057600080fd5b505195945050505050565b60095481565b600160a060020a03918216600090815260036020908152604080832093909416825291909152205490565b60015460009081908190600160a060020a03163314610baa57600080fd5b604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051859350600160a060020a038416916370a082319160248083019260209291908290030181600087803b158015610c0e57600080fd5b505af1158015610c22573d6000803e3d6000fd5b505050506040513d6020811015610c3857600080fd5b5051600154604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810184905290519293509084169163a9059cbb916044808201926020929091908290030181600087803b158015610cac57600080fd5b505af1158015610cc0573d6000803e3d6000fd5b505050506040513d6020811015610cd657600080fd5b5051949350505050565b60085481565b600154600160a060020a03163314610cfd57600080fd5b600160a060020a03811615610d35576001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b50565b60046020526000908152604090205460ff1681565b600b5460009060ff1615610d6057600080fd5b600854610d73908363ffffffff610ea416565b600855600954610d89908363ffffffff610e9216565b600955600160a060020a038316600090815260026020526040902054610db5908363ffffffff610ea416565b600160a060020a038416600081815260026020908152604091829020939093558051858152905191927f8940c4b8e215f8822c5c8f0056c12652c746cbc57eedbd2a440b175971d47a7792918290030190a2604080518381529051600160a060020a038516916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35060016105ff565b6000808284811515610e5e57fe5b04949350505050565b6000828202831580610e835750828482811515610e8057fe5b04145b1515610e8b57fe5b9392505050565b600082821115610e9e57fe5b50900390565b600082820183811015610e8b57fe00a165627a7a7230582004f5c21e5d81e3857e1db8aa8ac2df2c73551451208bdfb6ec22e54bfd97840d002900000000000000000000000000000000000000000000000000000002540be400000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000b506561636520546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000025054000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061011c5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610126578063095ea7b3146101b057806318160ddd146101e857806323b872dd1461020f578063313ce567146102395780633ccfd60b1461024e5780633fa4f2451461026357806342966c681461027857806370a082311461029057806395d89b41146102b15780639b1cbccc146102c6578063a9059cbb146102db578063aa6ca8081461011c578063c108d542146102ff578063c489744b14610314578063d8a543601461033b578063dd62ed3e14610350578063e58fc54c14610377578063efca2eed14610398578063f2fde38b146103ad578063f9f92be4146103ce575b6101246103ef565b005b34801561013257600080fd5b5061013b6104cf565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561017557818101518382015260200161015d565b50505050905090810190601f1680156101a25780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101bc57600080fd5b506101d4600160a060020a036004351660243561055d565b604080519115158252519081900360200190f35b3480156101f457600080fd5b506101fd610605565b60408051918252519081900360200190f35b34801561021b57600080fd5b506101d4600160a060020a036004358116906024351660443561060b565b34801561024557600080fd5b506101fd610790565b34801561025a57600080fd5b50610124610795565b34801561026f57600080fd5b506101fd6107ef565b34801561028457600080fd5b506101246004356107f5565b34801561029c57600080fd5b506101fd600160a060020a03600435166108d4565b3480156102bd57600080fd5b5061013b6108ef565b3480156102d257600080fd5b506101d461094a565b3480156102e757600080fd5b506101d4600160a060020a03600435166024356109b0565b34801561030b57600080fd5b506101d4610aa1565b34801561032057600080fd5b506101fd600160a060020a0360043581169060243516610aaa565b34801561034757600080fd5b506101fd610b5b565b34801561035c57600080fd5b506101fd600160a060020a0360043581169060243516610b61565b34801561038357600080fd5b506101d4600160a060020a0360043516610b8c565b3480156103a457600080fd5b506101fd610ce0565b3480156103b957600080fd5b50610124600160a060020a0360043516610ce6565b3480156103da57600080fd5b506101d4600160a060020a0360043516610d38565b600b54600090819060ff161561040457600080fd5b3360009081526004602052604090205460ff161561042157600080fd5b600954600a54111561043457600954600a555b600954600a54111561044557600080fd5b5050600a5433906104568282610d4d565b50600081111561048457600160a060020a0382166000908152600460205260409020805460ff191660011790555b6007546008541061049d57600b805460ff191660011790555b6104c86201869f6104bc620186a0600a54610e5090919063ffffffff16565b9063ffffffff610e6716565b600a555050565b6005805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105555780601f1061052a57610100808354040283529160200191610555565b820191906000526020600020905b81548152906001019060200180831161053857829003601f168201915b505050505081565b600081158015906105905750336000908152600360209081526040808320600160a060020a038716845290915290205415155b1561059d575060006105ff565b336000818152600360209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060015b92915050565b60075481565b60006060606436101561061a57fe5b600160a060020a038416151561062f57600080fd5b600160a060020a03851660009081526002602052604090205483111561065457600080fd5b600160a060020a038516600090815260036020908152604080832033845290915290205483111561068457600080fd5b600160a060020a0385166000908152600260205260409020546106ad908463ffffffff610e9216565b600160a060020a03861660009081526002602090815260408083209390935560038152828220338352905220546106ea908463ffffffff610e9216565b600160a060020a03808716600090815260036020908152604080832033845282528083209490945591871681526002909152205461072e908463ffffffff610ea416565b600160a060020a0380861660008181526002602090815260409182902094909455805187815290519193928916927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3506001949350505050565b601281565b600154600090600160a060020a031633146107af57600080fd5b50600154604051303191600160a060020a03169082156108fc029083906000818181858888f193505050501580156107eb573d6000803e3d6000fd5b5050565b600a5481565b600154600090600160a060020a0316331461080f57600080fd5b3360009081526002602052604090205482111561082b57600080fd5b503360008181526002602052604090205461084c908363ffffffff610e9216565b600160a060020a038216600090815260026020526040902055600754610878908363ffffffff610e9216565b60075560085461088e908363ffffffff610e9216565b600855604080518381529051600160a060020a038316917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a25050565b600160a060020a031660009081526002602052604090205490565b6006805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105555780601f1061052a57610100808354040283529160200191610555565b600154600090600160a060020a0316331461096457600080fd5b600b5460ff161561097457600080fd5b600b805460ff191660011790556040517f7f95d919e78bdebe8a285e6e33357c2fcb65ccf66e72d7573f9f8f6caad0c4cc90600090a150600190565b6000604060443610156109bf57fe5b600160a060020a03841615156109d457600080fd5b336000908152600260205260409020548311156109f057600080fd5b33600090815260026020526040902054610a10908463ffffffff610e9216565b3360009081526002602052604080822092909255600160a060020a03861681522054610a42908463ffffffff610ea416565b600160a060020a0385166000818152600260209081526040918290209390935580518681529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35060019392505050565b600b5460ff1681565b600080600084915081600160a060020a03166370a08231856040518263ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018082600160a060020a0316600160a060020a03168152602001915050602060405180830381600087803b158015610b2657600080fd5b505af1158015610b3a573d6000803e3d6000fd5b505050506040513d6020811015610b5057600080fd5b505195945050505050565b60095481565b600160a060020a03918216600090815260036020908152604080832093909416825291909152205490565b60015460009081908190600160a060020a03163314610baa57600080fd5b604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051859350600160a060020a038416916370a082319160248083019260209291908290030181600087803b158015610c0e57600080fd5b505af1158015610c22573d6000803e3d6000fd5b505050506040513d6020811015610c3857600080fd5b5051600154604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810184905290519293509084169163a9059cbb916044808201926020929091908290030181600087803b158015610cac57600080fd5b505af1158015610cc0573d6000803e3d6000fd5b505050506040513d6020811015610cd657600080fd5b5051949350505050565b60085481565b600154600160a060020a03163314610cfd57600080fd5b600160a060020a03811615610d35576001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b50565b60046020526000908152604090205460ff1681565b600b5460009060ff1615610d6057600080fd5b600854610d73908363ffffffff610ea416565b600855600954610d89908363ffffffff610e9216565b600955600160a060020a038316600090815260026020526040902054610db5908363ffffffff610ea416565b600160a060020a038416600081815260026020908152604091829020939093558051858152905191927f8940c4b8e215f8822c5c8f0056c12652c746cbc57eedbd2a440b175971d47a7792918290030190a2604080518381529051600160a060020a038516916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35060016105ff565b6000808284811515610e5e57fe5b04949350505050565b6000828202831580610e835750828482811515610e8057fe5b04145b1515610e8b57fe5b9392505050565b600082821115610e9e57fe5b50900390565b600082820183811015610e8b57fe00a165627a7a7230582004f5c21e5d81e3857e1db8aa8ac2df2c73551451208bdfb6ec22e54bfd97840d0029

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

00000000000000000000000000000000000000000000000000000002540be400000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000000b506561636520546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000025054000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : initialSupply (uint256): 10000000000
Arg [1] : tokenName (string): Peace Token
Arg [2] : tokenSymbol (string): PT

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000002540be400
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [4] : 506561636520546f6b656e000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [6] : 5054000000000000000000000000000000000000000000000000000000000000


Swarm Source

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