Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Smart Contract
Overview
Max Total Supply
750,000,000 PCM
Holders
3,832 (0.00%)
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
10.677 PCMValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
PreciumToken
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-15 */ pragma solidity ^0.4.24; interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address who) external view returns (uint256); function allowance(address owner, address spender) external view returns (uint256); function transfer(address to, uint256 value) external returns (bool); function approve(address spender, uint256 value) external returns (bool); function transferFrom(address from, address to, uint256 value) external returns (bool); event Transfer( address indexed from, address indexed to, uint256 value ); event Approval( address indexed owner, address indexed spender, uint256 value ); } contract Ownable { address public owner; event OwnershipRenounced(address indexed previousOwner); event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); constructor() public { owner = msg.sender; } modifier onlyOwner() { require(msg.sender == owner); _; } function renounceOwnership() public onlyOwner { emit OwnershipRenounced(owner); owner = address(0); } function transferOwnership(address _newOwner) public onlyOwner { _transferOwnership(_newOwner); } function _transferOwnership(address _newOwner) internal { require(_newOwner != address(0)); emit OwnershipTransferred(owner, _newOwner); owner = _newOwner; } } library SafeMath { function mul(uint256 _a, uint256 _b) internal pure returns (uint256 c) { // Gas optimization: this is cheaper than asserting 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522 if (_a == 0) { return 0; } c = _a * _b; assert(c / _a == _b); return c; } function div(uint256 _a, uint256 _b) internal pure returns (uint256) { // assert(_b > 0); // Solidity automatically throws when dividing by 0 // uint256 c = _a / _b; // assert(_a == _b * c + _a % _b); // There is no case in which this doesn't hold return _a / _b; } 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 c) { c = _a + _b; assert(c >= _a); return c; } } contract PreciumTokenBase is IERC20 { using SafeMath for uint256; mapping (address => uint256) public balances_; mapping (address => mapping (address => uint256)) public allowed_; uint256 public totalSupply_; function totalSupply() public view returns (uint256) { return totalSupply_; } function balanceOf(address _owner) public view returns (uint256) { return balances_[_owner]; } function allowance(address _owner, address _spender) public view returns (uint256) { return allowed_[_owner][_spender]; } function _transfer(address _from, address _to, uint256 _value) internal returns (bool) { require(_value <= balances_[_from]); require(_to != address(0)); balances_[_from] = balances_[_from].sub(_value); balances_[_to] = balances_[_to].add(_value); emit Transfer(_from, _to, _value); return true; } function transfer(address _to, uint256 _value) public returns (bool) { return _transfer(msg.sender, _to, _value); } function approve(address _spender, uint256 _value) public returns (bool) { allowed_[msg.sender][_spender] = _value; emit Approval(msg.sender, _spender, _value); return true; } function _transferFrom(address _from, address _to, uint256 _value) internal returns (bool) { require(_value <= balances_[_from]); require(_value <= allowed_[_from][msg.sender]); require(_to != address(0)); balances_[_from] = balances_[_from].sub(_value); balances_[_to] = balances_[_to].add(_value); allowed_[_from][msg.sender] = allowed_[_from][msg.sender].sub(_value); emit Transfer(_from, _to, _value); return true; } function transferFrom(address _from, address _to, uint256 _value) public returns (bool) { return _transferFrom(_from, _to, _value); } function increaseApproval(address _spender, uint256 _addedValue) public returns (bool) { allowed_[msg.sender][_spender] = allowed_[msg.sender][_spender].add(_addedValue); emit Approval(msg.sender, _spender, allowed_[msg.sender][_spender]); return true; } function decreaseApproval(address _spender, uint256 _subtractedValue) public returns (bool) { uint256 oldValue = allowed_[msg.sender][_spender]; if (_subtractedValue >= oldValue) { allowed_[msg.sender][_spender] = 0; } else { allowed_[msg.sender][_spender] = oldValue.sub(_subtractedValue); } emit Approval(msg.sender, _spender, allowed_[msg.sender][_spender]); return true; } function _burn(address _account, uint256 _amount) internal { require(_account != 0); require(_amount <= balances_[_account]); totalSupply_ = totalSupply_.sub(_amount); balances_[_account] = balances_[_account].sub(_amount); emit Transfer(_account, address(0), _amount); } function burn(uint256 _amount) public { _burn(msg.sender, _amount); } } contract PreciumToken is PreciumTokenBase, Ownable { string public name; string public symbol; uint256 public decimals = 18; struct lockInfo { uint256 lockQuantity; uint lockPeriod; } mapping (address => lockInfo[]) public tokenLockInfo; mapping (address => uint256) public unlockQuantity; mapping (address => bool) public lockStatus; mapping (address => bool) private FreezedWallet; function PreciumToken(uint256 initialSupply, string tokenName, uint256 decimalsToken, string tokenSymbol) public { decimals = decimalsToken; totalSupply_ = initialSupply * 10 ** uint256(decimals); emit Transfer(0, msg.sender, totalSupply_); balances_[msg.sender] = totalSupply_; name = tokenName; symbol = tokenSymbol; unlockQuantity[msg.sender] = balances_[msg.sender]; } function transfer(address _to, uint256 _value) public returns (bool) { bool transferResult; uint256 lockQuantity; uint256 lockTotalQuantity; uint lockPeriod; require(FreezedWallet[msg.sender] == false); require(FreezedWallet[_to] == false); if(lockStatus[msg.sender] == false) { transferResult = _transfer(msg.sender, _to, _value); if (transferResult == true) { unlockQuantity[msg.sender] = unlockQuantity[msg.sender].sub(_value); unlockQuantity[_to] = unlockQuantity[_to].add(_value); } } else{ for(uint i = 0; i < tokenLockInfo[msg.sender].length; i++) { lockQuantity = tokenLockInfo[msg.sender][i].lockQuantity; lockPeriod = tokenLockInfo[msg.sender][i].lockPeriod; if(lockPeriod <= now && lockQuantity != 0) { unlockQuantity[msg.sender] = unlockQuantity[msg.sender].add(lockQuantity); tokenLockInfo[msg.sender][i].lockQuantity = 0; lockQuantity = tokenLockInfo[msg.sender][i].lockQuantity; } lockTotalQuantity = lockTotalQuantity.add(lockQuantity); } if(lockTotalQuantity == 0) lockStatus[msg.sender] = false; require(_value <= unlockQuantity[msg.sender]); transferResult = _transfer(msg.sender, _to, _value); if (transferResult == true) { unlockQuantity[msg.sender] = unlockQuantity[msg.sender].sub(_value); unlockQuantity[_to] = unlockQuantity[_to].add(_value); } } return transferResult; } function transferFrom(address _from, address _to, uint256 _value) public returns (bool) { bool transferResult; uint256 lockQuantity; uint256 lockTotalQuantity; uint lockPeriod; require(FreezedWallet[_from] == false); require(FreezedWallet[_to] == false); if(lockStatus[_from] == false) { transferResult = _transferFrom(_from, _to, _value); if (transferResult == true) { unlockQuantity[_from] = unlockQuantity[_from].sub(_value); unlockQuantity[_to] = unlockQuantity[_to].add(_value); } } else{ for(uint i = 0; i < tokenLockInfo[_from].length; i++) { lockQuantity = tokenLockInfo[_from][i].lockQuantity; lockPeriod = tokenLockInfo[_from][i].lockPeriod; if(lockPeriod <= now && lockQuantity != 0) { unlockQuantity[_from] = unlockQuantity[_from].add(lockQuantity); tokenLockInfo[_from][i].lockQuantity = 0; lockQuantity = tokenLockInfo[_from][i].lockQuantity; } lockTotalQuantity = lockTotalQuantity.add(lockQuantity); } if(lockTotalQuantity == 0) lockStatus[_from] = false; require(_value <= unlockQuantity[_from]); transferResult = _transferFrom(_from, _to, _value); if (transferResult == true) { unlockQuantity[_from] = unlockQuantity[_from].sub(_value); unlockQuantity[_to] = unlockQuantity[_to].add(_value); } } return transferResult; } function transferAndLock(address _to, uint256 _value, uint _lockPeriod) onlyOwner public { bool transferResult; require(FreezedWallet[_to] == false); transferResult = _transfer(msg.sender, _to, _value); if (transferResult == true) { lockStatus[_to] = true; tokenLockInfo[_to].push(lockInfo(_value, now + _lockPeriod * 1 days )); unlockQuantity[msg.sender] = unlockQuantity[msg.sender].sub(_value); } } function changeLockPeriod(address _owner, uint256 _index, uint _newLockPeriod) onlyOwner public { require(_index < tokenLockInfo[_owner].length); tokenLockInfo[_owner][_index].lockPeriod = now + _newLockPeriod * 1 days; } function freezingWallet(address _owner) onlyOwner public { FreezedWallet[_owner] = true; } function unfreezingWallet(address _owner) onlyOwner public { FreezedWallet[_owner] = false; } function burn(uint256 _amount) onlyOwner public { _burn(msg.sender, _amount); unlockQuantity[msg.sender] = unlockQuantity[msg.sender].sub(_amount); } function getNowTime() view public returns(uint res) { return now; } function getLockInfo(address _owner, uint256 _index) view public returns(uint256, uint) { return (tokenLockInfo[_owner][_index].lockQuantity, tokenLockInfo[_owner][_index].lockPeriod); } function getUnlockQuantity(address _owner) view public returns(uint res) { return unlockQuantity[_owner]; } function getLockStatus(address _owner) view public returns(bool res) { return lockStatus[_owner]; } function getLockCount(address _owner) view public returns(uint res) { return tokenLockInfo[_owner].length; } function getFreezingInfo(address _owner) view public returns(bool res) { return FreezedWallet[_owner]; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"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":"_owner","type":"address"}],"name":"getLockStatus","outputs":[{"name":"res","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"lockStatus","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_index","type":"uint256"}],"name":"getLockInfo","outputs":[{"name":"","type":"uint256"},{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","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":"_owner","type":"address"}],"name":"getLockCount","outputs":[{"name":"res","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"allowed_","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply_","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_owner","type":"address"}],"name":"unfreezingWallet","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_subtractedValue","type":"uint256"}],"name":"decreaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"getFreezingInfo","outputs":[{"name":"res","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balances_","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"},{"name":"_lockPeriod","type":"uint256"}],"name":"transferAndLock","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getNowTime","outputs":[{"name":"res","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"getUnlockQuantity","outputs":[{"name":"res","type":"uint256"}],"payable":false,"stateMutability":"view","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":false,"inputs":[{"name":"_owner","type":"address"},{"name":"_index","type":"uint256"},{"name":"_newLockPeriod","type":"uint256"}],"name":"changeLockPeriod","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_owner","type":"address"}],"name":"freezingWallet","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"unlockQuantity","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_addedValue","type":"uint256"}],"name":"increaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","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":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"uint256"}],"name":"tokenLockInfo","outputs":[{"name":"lockQuantity","type":"uint256"},{"name":"lockPeriod","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"initialSupply","type":"uint256"},{"name":"tokenName","type":"string"},{"name":"decimalsToken","type":"uint256"},{"name":"tokenSymbol","type":"string"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"}],"name":"OwnershipRenounced","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"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"}]
Contract Creation Code
608060405260126006553480156200001657600080fd5b50604051620019ca380380620019ca833981016040818152825160208085015183860151606087015160038054600160a060020a031916339081179091556006839055600a83900a8602600281905588529551949792830196919592019391926000927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a360025433600090815260208181526040909120919091558351620000ce91600491908601906200010a565b508051620000e49060059060208401906200010a565b5050336000908152602081815260408083205460089092529091205550620001af915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200014d57805160ff19168380011785556200017d565b828001600101855582156200017d579182015b828111156200017d57825182559160200191906001019062000160565b506200018b9291506200018f565b5090565b620001ac91905b808211156200018b576000815560010162000196565b90565b61180b80620001bf6000396000f30060806040526004361061018a5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde03811461018f578063095ea7b3146102195780630f36f6911461025157806315497d2c1461027257806315b9672c1461029357806318160ddd146102d057806323b872dd146102f757806323c1ee43146103215780632839e16a14610342578063313ce56714610369578063324536eb1461037e57806342966c68146103935780635a3dfb89146103ad57806366188463146103ce5780636b305808146103f25780636ca34ea21461041357806370a0823114610434578063715018a61461045557806384d5d9441461046a5780638da5cb5b1461049157806395d89b41146104c25780639b819d38146104d7578063a6b3caec146104ec578063a9059cbb1461050d578063cffa260314610531578063d4978d5614610558578063d72eec7514610579578063d73dd6231461059a578063dd62ed3e146105be578063ec08b246146105e5578063f2fde38b14610609575b600080fd5b34801561019b57600080fd5b506101a461062a565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101de5781810151838201526020016101c6565b50505050905090810190601f16801561020b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561022557600080fd5b5061023d600160a060020a03600435166024356106b8565b604080519115158252519081900360200190f35b34801561025d57600080fd5b5061023d600160a060020a036004351661071e565b34801561027e57600080fd5b5061023d600160a060020a036004351661073c565b34801561029f57600080fd5b506102b7600160a060020a0360043516602435610751565b6040805192835260208301919091528051918290030190f35b3480156102dc57600080fd5b506102e56107ca565b60408051918252519081900360200190f35b34801561030357600080fd5b5061023d600160a060020a03600435811690602435166044356107d0565b34801561032d57600080fd5b506102e5600160a060020a0360043516610b31565b34801561034e57600080fd5b506102e5600160a060020a0360043581169060243516610b4c565b34801561037557600080fd5b506102e5610b69565b34801561038a57600080fd5b506102e5610b6f565b34801561039f57600080fd5b506103ab600435610b75565b005b3480156103b957600080fd5b506103ab600160a060020a0360043516610bc9565b3480156103da57600080fd5b5061023d600160a060020a0360043516602435610c01565b3480156103fe57600080fd5b5061023d600160a060020a0360043516610cf0565b34801561041f57600080fd5b506102e5600160a060020a0360043516610d0e565b34801561044057600080fd5b506102e5600160a060020a0360043516610d20565b34801561046157600080fd5b506103ab610d3b565b34801561047657600080fd5b506103ab600160a060020a0360043516602435604435610da9565b34801561049d57600080fd5b506104a6610e99565b60408051600160a060020a039092168252519081900360200190f35b3480156104ce57600080fd5b506101a4610ea8565b3480156104e357600080fd5b506102e5610f03565b3480156104f857600080fd5b506102e5600160a060020a0360043516610f07565b34801561051957600080fd5b5061023d600160a060020a0360043516602435610f22565b34801561053d57600080fd5b506103ab600160a060020a0360043516602435604435611210565b34801561056457600080fd5b506103ab600160a060020a0360043516611293565b34801561058557600080fd5b506102e5600160a060020a03600435166112ce565b3480156105a657600080fd5b5061023d600160a060020a03600435166024356112e0565b3480156105ca57600080fd5b506102e5600160a060020a0360043581169060243516611379565b3480156105f157600080fd5b506102b7600160a060020a03600435166024356113a4565b34801561061557600080fd5b506103ab600160a060020a03600435166113df565b6004805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156106b05780601f10610685576101008083540402835291602001916106b0565b820191906000526020600020905b81548152906001019060200180831161069357829003601f168201915b505050505081565b336000818152600160209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b600160a060020a031660009081526009602052604090205460ff1690565b60096020526000908152604090205460ff1681565b600160a060020a038216600090815260076020526040812080548291908490811061077857fe5b60009182526020808320600290920290910154600160a060020a0387168352600790915260409091208054859081106107ad57fe5b906000526020600020906002020160010154915091509250929050565b60025490565b600160a060020a0383166000908152600a60205260408120548190819081908190819060ff161561080057600080fd5b600160a060020a0388166000908152600a602052604090205460ff161561082657600080fd5b600160a060020a03891660009081526009602052604090205460ff1615156108dd57610853898989611402565b9450600185151514156108d857600160a060020a038916600090815260086020526040902054610889908863ffffffff61157716565b600160a060020a03808b1660009081526008602052604080822093909355908a16815220546108be908863ffffffff61158916565b600160a060020a0389166000908152600860205260409020555b610b24565b5060005b600160a060020a038916600090815260076020526040902054811015610a4757600160a060020a038916600090815260076020526040902080548290811061092557fe5b60009182526020808320600290920290910154600160a060020a038c168352600790915260409091208054919550908290811061095e57fe5b906000526020600020906002020160010154915042821115801561098157508315155b15610a2d57600160a060020a0389166000908152600860205260409020546109af908563ffffffff61158916565b600160a060020a038a16600090815260086020908152604080832093909355600790529081208054839081106109e157fe5b60009182526020808320600290920290910192909255600160a060020a038b168152600790915260409020805482908110610a1857fe5b90600052602060002090600202016000015493505b610a3d838563ffffffff61158916565b92506001016108e1565b821515610a6f57600160a060020a0389166000908152600960205260409020805460ff191690555b600160a060020a038916600090815260086020526040902054871115610a9457600080fd5b610a9f898989611402565b945060018515151415610b2457600160a060020a038916600090815260086020526040902054610ad5908863ffffffff61157716565b600160a060020a03808b1660009081526008602052604080822093909355908a1681522054610b0a908863ffffffff61158916565b600160a060020a0389166000908152600860205260409020555b5092979650505050505050565b600160a060020a031660009081526007602052604090205490565b600160209081526000928352604080842090915290825290205481565b60065481565b60025481565b600354600160a060020a03163314610b8c57600080fd5b610b96338261159c565b33600090815260086020526040902054610bb6908263ffffffff61157716565b3360009081526008602052604090205550565b600354600160a060020a03163314610be057600080fd5b600160a060020a03166000908152600a60205260409020805460ff19169055565b336000908152600160209081526040808320600160a060020a0386168452909152812054808310610c5557336000908152600160209081526040808320600160a060020a0388168452909152812055610c8a565b610c65818463ffffffff61157716565b336000908152600160209081526040808320600160a060020a03891684529091529020555b336000818152600160209081526040808320600160a060020a0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b600160a060020a03166000908152600a602052604090205460ff1690565b60006020819052908152604090205481565b600160a060020a031660009081526020819052604090205490565b600354600160a060020a03163314610d5257600080fd5b600354604051600160a060020a03909116907ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482090600090a26003805473ffffffffffffffffffffffffffffffffffffffff19169055565b600354600090600160a060020a03163314610dc357600080fd5b600160a060020a0384166000908152600a602052604090205460ff1615610de957600080fd5b610df433858561166a565b905060018115151415610e9357600160a060020a0384166000908152600960209081526040808320805460ff19166001908117909155600783528184208251808401845288815242620151808902018186019081528254808501845592875285872091516002909302909101918255519101553383526008909152902054610e82908463ffffffff61157716565b336000908152600860205260409020555b50505050565b600354600160a060020a031681565b6005805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156106b05780601f10610685576101008083540402835291602001916106b0565b4290565b600160a060020a031660009081526008602052604090205490565b336000908152600a60205260408120548190819081908190819060ff1615610f4957600080fd5b600160a060020a0388166000908152600a602052604090205460ff1615610f6f57600080fd5b3360009081526009602052604090205460ff16151561101157610f9333898961166a565b94506001851515141561100c5733600090815260086020526040902054610fc0908863ffffffff61157716565b3360009081526008602052604080822092909255600160a060020a038a1681522054610ff2908863ffffffff61158916565b600160a060020a0389166000908152600860205260409020555b611204565b5060005b336000908152600760205260409020548110156111455733600090815260076020526040902080548290811061104757fe5b60009182526020808320600290920290910154338352600790915260409091208054919550908290811061107757fe5b906000526020600020906002020160010154915042821115801561109a57508315155b1561112b57336000908152600860205260409020546110bf908563ffffffff61158916565b33600090815260086020908152604080832093909355600790529081208054839081106110e857fe5b6000918252602080832060029092029091019290925533815260079091526040902080548290811061111657fe5b90600052602060002090600202016000015493505b61113b838563ffffffff61158916565b9250600101611015565b82151561116457336000908152600960205260409020805460ff191690555b3360009081526008602052604090205487111561118057600080fd5b61118b33898961166a565b94506001851515141561120457336000908152600860205260409020546111b8908863ffffffff61157716565b3360009081526008602052604080822092909255600160a060020a038a16815220546111ea908863ffffffff61158916565b600160a060020a0389166000908152600860205260409020555b50929695505050505050565b600354600160a060020a0316331461122757600080fd5b600160a060020a038316600090815260076020526040902054821061124b57600080fd5b600160a060020a03831660009081526007602052604090208054426201518084020191908490811061127957fe5b906000526020600020906002020160010181905550505050565b600354600160a060020a031633146112aa57600080fd5b600160a060020a03166000908152600a60205260409020805460ff19166001179055565b60086020526000908152604090205481565b336000908152600160209081526040808320600160a060020a0386168452909152812054611314908363ffffffff61158916565b336000818152600160209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b600160a060020a03918216600090815260016020908152604080832093909416825291909152205490565b6007602052816000526040600020818154811015156113bf57fe5b600091825260209091206002909102018054600190910154909250905082565b600354600160a060020a031633146113f657600080fd5b6113ff81611761565b50565b600160a060020a03831660009081526020819052604081205482111561142757600080fd5b600160a060020a038416600090815260016020908152604080832033845290915290205482111561145757600080fd5b600160a060020a038316151561146c57600080fd5b600160a060020a038416600090815260208190526040902054611495908363ffffffff61157716565b600160a060020a0380861660009081526020819052604080822093909355908516815220546114ca908363ffffffff61158916565b600160a060020a0380851660009081526020818152604080832094909455918716815260018252828120338252909152205461150c908363ffffffff61157716565b600160a060020a03808616600081815260016020908152604080832033845282529182902094909455805186815290519287169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35060019392505050565b60008282111561158357fe5b50900390565b8181018281101561159657fe5b92915050565b600160a060020a03821615156115b157600080fd5b600160a060020a0382166000908152602081905260409020548111156115d657600080fd5b6002546115e9908263ffffffff61157716565b600255600160a060020a038216600090815260208190526040902054611615908263ffffffff61157716565b600160a060020a038316600081815260208181526040808320949094558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35050565b600160a060020a03831660009081526020819052604081205482111561168f57600080fd5b600160a060020a03831615156116a457600080fd5b600160a060020a0384166000908152602081905260409020546116cd908363ffffffff61157716565b600160a060020a038086166000908152602081905260408082209390935590851681522054611702908363ffffffff61158916565b600160a060020a038085166000818152602081815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b600160a060020a038116151561177657600080fd5b600354604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555600a165627a7a72305820c4b712949a0701dcda00d3ba29c74843016cb5782ab4f7c4adc8a80c5190118c00290000000000000000000000000000000000000000000000000000000059682f000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000000d5072656369756d20546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000350434d0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061018a5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde03811461018f578063095ea7b3146102195780630f36f6911461025157806315497d2c1461027257806315b9672c1461029357806318160ddd146102d057806323b872dd146102f757806323c1ee43146103215780632839e16a14610342578063313ce56714610369578063324536eb1461037e57806342966c68146103935780635a3dfb89146103ad57806366188463146103ce5780636b305808146103f25780636ca34ea21461041357806370a0823114610434578063715018a61461045557806384d5d9441461046a5780638da5cb5b1461049157806395d89b41146104c25780639b819d38146104d7578063a6b3caec146104ec578063a9059cbb1461050d578063cffa260314610531578063d4978d5614610558578063d72eec7514610579578063d73dd6231461059a578063dd62ed3e146105be578063ec08b246146105e5578063f2fde38b14610609575b600080fd5b34801561019b57600080fd5b506101a461062a565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101de5781810151838201526020016101c6565b50505050905090810190601f16801561020b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561022557600080fd5b5061023d600160a060020a03600435166024356106b8565b604080519115158252519081900360200190f35b34801561025d57600080fd5b5061023d600160a060020a036004351661071e565b34801561027e57600080fd5b5061023d600160a060020a036004351661073c565b34801561029f57600080fd5b506102b7600160a060020a0360043516602435610751565b6040805192835260208301919091528051918290030190f35b3480156102dc57600080fd5b506102e56107ca565b60408051918252519081900360200190f35b34801561030357600080fd5b5061023d600160a060020a03600435811690602435166044356107d0565b34801561032d57600080fd5b506102e5600160a060020a0360043516610b31565b34801561034e57600080fd5b506102e5600160a060020a0360043581169060243516610b4c565b34801561037557600080fd5b506102e5610b69565b34801561038a57600080fd5b506102e5610b6f565b34801561039f57600080fd5b506103ab600435610b75565b005b3480156103b957600080fd5b506103ab600160a060020a0360043516610bc9565b3480156103da57600080fd5b5061023d600160a060020a0360043516602435610c01565b3480156103fe57600080fd5b5061023d600160a060020a0360043516610cf0565b34801561041f57600080fd5b506102e5600160a060020a0360043516610d0e565b34801561044057600080fd5b506102e5600160a060020a0360043516610d20565b34801561046157600080fd5b506103ab610d3b565b34801561047657600080fd5b506103ab600160a060020a0360043516602435604435610da9565b34801561049d57600080fd5b506104a6610e99565b60408051600160a060020a039092168252519081900360200190f35b3480156104ce57600080fd5b506101a4610ea8565b3480156104e357600080fd5b506102e5610f03565b3480156104f857600080fd5b506102e5600160a060020a0360043516610f07565b34801561051957600080fd5b5061023d600160a060020a0360043516602435610f22565b34801561053d57600080fd5b506103ab600160a060020a0360043516602435604435611210565b34801561056457600080fd5b506103ab600160a060020a0360043516611293565b34801561058557600080fd5b506102e5600160a060020a03600435166112ce565b3480156105a657600080fd5b5061023d600160a060020a03600435166024356112e0565b3480156105ca57600080fd5b506102e5600160a060020a0360043581169060243516611379565b3480156105f157600080fd5b506102b7600160a060020a03600435166024356113a4565b34801561061557600080fd5b506103ab600160a060020a03600435166113df565b6004805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156106b05780601f10610685576101008083540402835291602001916106b0565b820191906000526020600020905b81548152906001019060200180831161069357829003601f168201915b505050505081565b336000818152600160209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b600160a060020a031660009081526009602052604090205460ff1690565b60096020526000908152604090205460ff1681565b600160a060020a038216600090815260076020526040812080548291908490811061077857fe5b60009182526020808320600290920290910154600160a060020a0387168352600790915260409091208054859081106107ad57fe5b906000526020600020906002020160010154915091509250929050565b60025490565b600160a060020a0383166000908152600a60205260408120548190819081908190819060ff161561080057600080fd5b600160a060020a0388166000908152600a602052604090205460ff161561082657600080fd5b600160a060020a03891660009081526009602052604090205460ff1615156108dd57610853898989611402565b9450600185151514156108d857600160a060020a038916600090815260086020526040902054610889908863ffffffff61157716565b600160a060020a03808b1660009081526008602052604080822093909355908a16815220546108be908863ffffffff61158916565b600160a060020a0389166000908152600860205260409020555b610b24565b5060005b600160a060020a038916600090815260076020526040902054811015610a4757600160a060020a038916600090815260076020526040902080548290811061092557fe5b60009182526020808320600290920290910154600160a060020a038c168352600790915260409091208054919550908290811061095e57fe5b906000526020600020906002020160010154915042821115801561098157508315155b15610a2d57600160a060020a0389166000908152600860205260409020546109af908563ffffffff61158916565b600160a060020a038a16600090815260086020908152604080832093909355600790529081208054839081106109e157fe5b60009182526020808320600290920290910192909255600160a060020a038b168152600790915260409020805482908110610a1857fe5b90600052602060002090600202016000015493505b610a3d838563ffffffff61158916565b92506001016108e1565b821515610a6f57600160a060020a0389166000908152600960205260409020805460ff191690555b600160a060020a038916600090815260086020526040902054871115610a9457600080fd5b610a9f898989611402565b945060018515151415610b2457600160a060020a038916600090815260086020526040902054610ad5908863ffffffff61157716565b600160a060020a03808b1660009081526008602052604080822093909355908a1681522054610b0a908863ffffffff61158916565b600160a060020a0389166000908152600860205260409020555b5092979650505050505050565b600160a060020a031660009081526007602052604090205490565b600160209081526000928352604080842090915290825290205481565b60065481565b60025481565b600354600160a060020a03163314610b8c57600080fd5b610b96338261159c565b33600090815260086020526040902054610bb6908263ffffffff61157716565b3360009081526008602052604090205550565b600354600160a060020a03163314610be057600080fd5b600160a060020a03166000908152600a60205260409020805460ff19169055565b336000908152600160209081526040808320600160a060020a0386168452909152812054808310610c5557336000908152600160209081526040808320600160a060020a0388168452909152812055610c8a565b610c65818463ffffffff61157716565b336000908152600160209081526040808320600160a060020a03891684529091529020555b336000818152600160209081526040808320600160a060020a0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b600160a060020a03166000908152600a602052604090205460ff1690565b60006020819052908152604090205481565b600160a060020a031660009081526020819052604090205490565b600354600160a060020a03163314610d5257600080fd5b600354604051600160a060020a03909116907ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482090600090a26003805473ffffffffffffffffffffffffffffffffffffffff19169055565b600354600090600160a060020a03163314610dc357600080fd5b600160a060020a0384166000908152600a602052604090205460ff1615610de957600080fd5b610df433858561166a565b905060018115151415610e9357600160a060020a0384166000908152600960209081526040808320805460ff19166001908117909155600783528184208251808401845288815242620151808902018186019081528254808501845592875285872091516002909302909101918255519101553383526008909152902054610e82908463ffffffff61157716565b336000908152600860205260409020555b50505050565b600354600160a060020a031681565b6005805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156106b05780601f10610685576101008083540402835291602001916106b0565b4290565b600160a060020a031660009081526008602052604090205490565b336000908152600a60205260408120548190819081908190819060ff1615610f4957600080fd5b600160a060020a0388166000908152600a602052604090205460ff1615610f6f57600080fd5b3360009081526009602052604090205460ff16151561101157610f9333898961166a565b94506001851515141561100c5733600090815260086020526040902054610fc0908863ffffffff61157716565b3360009081526008602052604080822092909255600160a060020a038a1681522054610ff2908863ffffffff61158916565b600160a060020a0389166000908152600860205260409020555b611204565b5060005b336000908152600760205260409020548110156111455733600090815260076020526040902080548290811061104757fe5b60009182526020808320600290920290910154338352600790915260409091208054919550908290811061107757fe5b906000526020600020906002020160010154915042821115801561109a57508315155b1561112b57336000908152600860205260409020546110bf908563ffffffff61158916565b33600090815260086020908152604080832093909355600790529081208054839081106110e857fe5b6000918252602080832060029092029091019290925533815260079091526040902080548290811061111657fe5b90600052602060002090600202016000015493505b61113b838563ffffffff61158916565b9250600101611015565b82151561116457336000908152600960205260409020805460ff191690555b3360009081526008602052604090205487111561118057600080fd5b61118b33898961166a565b94506001851515141561120457336000908152600860205260409020546111b8908863ffffffff61157716565b3360009081526008602052604080822092909255600160a060020a038a16815220546111ea908863ffffffff61158916565b600160a060020a0389166000908152600860205260409020555b50929695505050505050565b600354600160a060020a0316331461122757600080fd5b600160a060020a038316600090815260076020526040902054821061124b57600080fd5b600160a060020a03831660009081526007602052604090208054426201518084020191908490811061127957fe5b906000526020600020906002020160010181905550505050565b600354600160a060020a031633146112aa57600080fd5b600160a060020a03166000908152600a60205260409020805460ff19166001179055565b60086020526000908152604090205481565b336000908152600160209081526040808320600160a060020a0386168452909152812054611314908363ffffffff61158916565b336000818152600160209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b600160a060020a03918216600090815260016020908152604080832093909416825291909152205490565b6007602052816000526040600020818154811015156113bf57fe5b600091825260209091206002909102018054600190910154909250905082565b600354600160a060020a031633146113f657600080fd5b6113ff81611761565b50565b600160a060020a03831660009081526020819052604081205482111561142757600080fd5b600160a060020a038416600090815260016020908152604080832033845290915290205482111561145757600080fd5b600160a060020a038316151561146c57600080fd5b600160a060020a038416600090815260208190526040902054611495908363ffffffff61157716565b600160a060020a0380861660009081526020819052604080822093909355908516815220546114ca908363ffffffff61158916565b600160a060020a0380851660009081526020818152604080832094909455918716815260018252828120338252909152205461150c908363ffffffff61157716565b600160a060020a03808616600081815260016020908152604080832033845282529182902094909455805186815290519287169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35060019392505050565b60008282111561158357fe5b50900390565b8181018281101561159657fe5b92915050565b600160a060020a03821615156115b157600080fd5b600160a060020a0382166000908152602081905260409020548111156115d657600080fd5b6002546115e9908263ffffffff61157716565b600255600160a060020a038216600090815260208190526040902054611615908263ffffffff61157716565b600160a060020a038316600081815260208181526040808320949094558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35050565b600160a060020a03831660009081526020819052604081205482111561168f57600080fd5b600160a060020a03831615156116a457600080fd5b600160a060020a0384166000908152602081905260409020546116cd908363ffffffff61157716565b600160a060020a038086166000908152602081905260408082209390935590851681522054611702908363ffffffff61158916565b600160a060020a038085166000818152602081815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b600160a060020a038116151561177657600080fd5b600354604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03929092169190911790555600a165627a7a72305820c4b712949a0701dcda00d3ba29c74843016cb5782ab4f7c4adc8a80c5190118c0029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000059682f000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000000d5072656369756d20546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000350434d0000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : initialSupply (uint256): 1500000000
Arg [1] : tokenName (string): Precium Token
Arg [2] : decimalsToken (uint256): 18
Arg [3] : tokenSymbol (string): PCM
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000059682f00
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [3] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [5] : 5072656369756d20546f6b656e00000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 50434d0000000000000000000000000000000000000000000000000000000000
Swarm Source
bzzr://c4b712949a0701dcda00d3ba29c74843016cb5782ab4f7c4adc8a80c5190118c
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.