ETH Price: $3,214.90 (+1.37%)

Token

Power Fans ERC20 Token (PFC)
 

Overview

Max Total Supply

550,000,000 PFC

Holders

15,971

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0.000000999999668224 PFC

Value
$0.00
0xad63b6b895e3288cf6dff49e83e2c2e2ae85bffe
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:
PFC

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2018-09-06
*/

// Copyright (C) PFC Team
contract ERC20 {
    function totalSupply() constant returns (uint supply);
    function balanceOf( address who ) constant returns (uint value);
    function allowance( address owner, address spender ) constant returns (uint _allowance);

    function transfer( address to, uint value) returns (bool ok);
    function transferFrom( address from, address to, uint value) returns (bool ok);
    function approve( address spender, uint value ) returns (bool ok);

    event Transfer( address indexed from, address indexed to, uint value);
    event Approval( address indexed owner, address indexed spender, uint value);
}

contract DSMath {

    function add(uint256 x, uint256 y) constant internal returns (uint256 z) {
        assert((z = x + y) >= x);
    }

    function sub(uint256 x, uint256 y) constant internal returns (uint256 z) {
        assert((z = x - y) <= x);
    }

}

contract PFC is ERC20,DSMath {
    uint256                                            _supply;
    mapping (address => uint256)                       _balances;
    mapping (address => mapping (address => uint256))  _approvals;

    string   public  symbol;
    string   public  name;
    uint256  public  decimals = 18;
    address  public  owner;
    bool     public  stopped;

    uint256  public maxSupply=1000000000 ether;


    function PFC() {
        symbol="PFC";
        name="Power Fans ERC20 Token";
        owner=msg.sender;
    }

    modifier auth {
        assert (msg.sender==owner);
        _;
    }
    modifier stoppable {
        assert (!stopped);
        _;
    }
    function stop() auth  {
        stopped = true;
    }
    function start() auth  {
        stopped = false;
    }

    function totalSupply() constant returns (uint256) {
        return _supply;
    }
    function balanceOf(address src) constant returns (uint256) {
        return _balances[src];
    }
    function allowance(address src, address guy) constant returns (uint256) {
        return _approvals[src][guy];
    }

    function transfer(address dst, uint wad) stoppable returns (bool) {
        assert(_balances[msg.sender] >= wad);

        _balances[msg.sender] = sub(_balances[msg.sender], wad);
        _balances[dst] = add(_balances[dst], wad);

        Transfer(msg.sender, dst, wad);

        return true;
    }

    function transferFrom(address src, address dst, uint wad)stoppable returns (bool) {
        assert(_balances[src] >= wad);
        assert(_approvals[src][msg.sender] >= wad);

        _approvals[src][msg.sender] = sub(_approvals[src][msg.sender], wad);
        _balances[src] = sub(_balances[src], wad);
        _balances[dst] = add(_balances[dst], wad);

        Transfer(src, dst, wad);

        return true;
    }

    function approve(address guy, uint256 wad) stoppable returns (bool) {
        _approvals[msg.sender][guy] = wad;

        Approval(msg.sender, guy, wad);

        return true;
    }
    function mint(address dst,uint128 wad) auth stoppable {
        assert(add(_supply,wad)<=maxSupply);
        _balances[dst] = add(_balances[dst], wad);
        _supply = add(_supply, wad);
    }

    event LogSetOwner     (address indexed owner);

    function setOwner(address owner_) auth
    {
        owner = owner_;
        LogSetOwner(owner);
    }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"stop","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"guy","type":"address"},{"name":"wad","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"owner_","type":"address"}],"name":"setOwner","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":"src","type":"address"},{"name":"dst","type":"address"},{"name":"wad","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"src","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"stopped","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","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":false,"inputs":[{"name":"dst","type":"address"},{"name":"wad","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"dst","type":"address"},{"name":"wad","type":"uint128"}],"name":"mint","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"start","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"maxSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"src","type":"address"},{"name":"guy","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"}],"name":"LogSetOwner","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"}]

608060405260126005556b033b2e3c9fd0803ce800000060075534801561002557600080fd5b506040805180820190915260038082527f5046430000000000000000000000000000000000000000000000000000000000602090920191825261006891816100c5565b506040805180820190915260168082527f506f7765722046616e7320455243323020546f6b656e0000000000000000000060209092019182526100ad916004916100c5565b5060068054600160a060020a03191633179055610160565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061010657805160ff1916838001178555610133565b82800160010185558215610133579182015b82811115610133578251825591602001919060010190610118565b5061013f929150610143565b5090565b61015d91905b8082111561013f5760008155600101610149565b90565b61096e8061016f6000396000f3006080604052600436106100e55763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100ea57806307da68f514610174578063095ea7b31461018b57806313af4035146101c357806318160ddd146101e457806323b872dd1461020b578063313ce5671461023557806370a082311461024a57806375f12b211461026b5780638da5cb5b1461028057806395d89b41146102b1578063a9059cbb146102c6578063be29184f146102ea578063be9a655514610320578063d5abeb0114610335578063dd62ed3e1461034a575b600080fd5b3480156100f657600080fd5b506100ff610371565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610139578181015183820152602001610121565b50505050905090810190601f1680156101665780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561018057600080fd5b506101896103ff565b005b34801561019757600080fd5b506101af600160a060020a0360043516602435610439565b604080519115158252519081900360200190f35b3480156101cf57600080fd5b50610189600160a060020a03600435166104b8565b3480156101f057600080fd5b506101f9610529565b60408051918252519081900360200190f35b34801561021757600080fd5b506101af600160a060020a036004358116906024351660443561052f565b34801561024157600080fd5b506101f961068e565b34801561025657600080fd5b506101f9600160a060020a0360043516610694565b34801561027757600080fd5b506101af6106af565b34801561028c57600080fd5b506102956106bf565b60408051600160a060020a039092168252519081900360200190f35b3480156102bd57600080fd5b506100ff6106ce565b3480156102d257600080fd5b506101af600160a060020a0360043516602435610729565b3480156102f657600080fd5b50610189600160a060020a03600435166fffffffffffffffffffffffffffffffff602435166107fd565b34801561032c57600080fd5b506101896108c3565b34801561034157600080fd5b506101f96108f7565b34801561035657600080fd5b506101f9600160a060020a03600435811690602435166108fd565b6004805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103f75780601f106103cc576101008083540402835291602001916103f7565b820191906000526020600020905b8154815290600101906020018083116103da57829003601f168201915b505050505081565b600654600160a060020a0316331461041357fe5b6006805474ff0000000000000000000000000000000000000000191660a060020a179055565b60065460009060a060020a900460ff161561045057fe5b336000818152600260209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060015b92915050565b600654600160a060020a031633146104cc57fe5b6006805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383811691909117918290556040519116907fce241d7ca1f669fee44b6fc00b8eba2df3bb514eed0f6f668f8f89096e81ed9490600090a250565b60005490565b60065460009060a060020a900460ff161561054657fe5b600160a060020a03841660009081526001602052604090205482111561056857fe5b600160a060020a038416600090815260026020908152604080832033845290915290205482111561059557fe5b600160a060020a03841660009081526002602090815260408083203384529091529020546105c39083610928565b600160a060020a0385166000818152600260209081526040808320338452825280832094909455918152600190915220546105fe9083610928565b600160a060020a03808616600090815260016020526040808220939093559085168152205461062d9083610935565b600160a060020a0380851660008181526001602090815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b60055481565b600160a060020a031660009081526001602052604090205490565b60065460a060020a900460ff1681565b600654600160a060020a031681565b6003805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103f75780601f106103cc576101008083540402835291602001916103f7565b60065460009060a060020a900460ff161561074057fe5b3360009081526001602052604090205482111561075957fe5b336000908152600160205260409020546107739083610928565b3360009081526001602052604080822092909255600160a060020a0385168152205461079f9083610935565b600160a060020a0384166000818152600160209081526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b600654600160a060020a0316331461081157fe5b60065460a060020a900460ff161561082557fe5b600754610846600054836fffffffffffffffffffffffffffffffff16610935565b111561084e57fe5b600160a060020a038216600090815260016020526040902054610883906fffffffffffffffffffffffffffffffff8316610935565b600160a060020a038316600090815260016020526040812091909155546108bc906fffffffffffffffffffffffffffffffff8316610935565b6000555050565b600654600160a060020a031633146108d757fe5b6006805474ff000000000000000000000000000000000000000019169055565b60075481565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b808203828111156104b257fe5b808201828110156104b257fe00a165627a7a7230582038f248cf4f0710d99b09c7e9e16766c3c00925040dc88809cfc6e9c82206e2150029

Deployed Bytecode

0x6080604052600436106100e55763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100ea57806307da68f514610174578063095ea7b31461018b57806313af4035146101c357806318160ddd146101e457806323b872dd1461020b578063313ce5671461023557806370a082311461024a57806375f12b211461026b5780638da5cb5b1461028057806395d89b41146102b1578063a9059cbb146102c6578063be29184f146102ea578063be9a655514610320578063d5abeb0114610335578063dd62ed3e1461034a575b600080fd5b3480156100f657600080fd5b506100ff610371565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610139578181015183820152602001610121565b50505050905090810190601f1680156101665780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561018057600080fd5b506101896103ff565b005b34801561019757600080fd5b506101af600160a060020a0360043516602435610439565b604080519115158252519081900360200190f35b3480156101cf57600080fd5b50610189600160a060020a03600435166104b8565b3480156101f057600080fd5b506101f9610529565b60408051918252519081900360200190f35b34801561021757600080fd5b506101af600160a060020a036004358116906024351660443561052f565b34801561024157600080fd5b506101f961068e565b34801561025657600080fd5b506101f9600160a060020a0360043516610694565b34801561027757600080fd5b506101af6106af565b34801561028c57600080fd5b506102956106bf565b60408051600160a060020a039092168252519081900360200190f35b3480156102bd57600080fd5b506100ff6106ce565b3480156102d257600080fd5b506101af600160a060020a0360043516602435610729565b3480156102f657600080fd5b50610189600160a060020a03600435166fffffffffffffffffffffffffffffffff602435166107fd565b34801561032c57600080fd5b506101896108c3565b34801561034157600080fd5b506101f96108f7565b34801561035657600080fd5b506101f9600160a060020a03600435811690602435166108fd565b6004805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103f75780601f106103cc576101008083540402835291602001916103f7565b820191906000526020600020905b8154815290600101906020018083116103da57829003601f168201915b505050505081565b600654600160a060020a0316331461041357fe5b6006805474ff0000000000000000000000000000000000000000191660a060020a179055565b60065460009060a060020a900460ff161561045057fe5b336000818152600260209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060015b92915050565b600654600160a060020a031633146104cc57fe5b6006805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383811691909117918290556040519116907fce241d7ca1f669fee44b6fc00b8eba2df3bb514eed0f6f668f8f89096e81ed9490600090a250565b60005490565b60065460009060a060020a900460ff161561054657fe5b600160a060020a03841660009081526001602052604090205482111561056857fe5b600160a060020a038416600090815260026020908152604080832033845290915290205482111561059557fe5b600160a060020a03841660009081526002602090815260408083203384529091529020546105c39083610928565b600160a060020a0385166000818152600260209081526040808320338452825280832094909455918152600190915220546105fe9083610928565b600160a060020a03808616600090815260016020526040808220939093559085168152205461062d9083610935565b600160a060020a0380851660008181526001602090815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b60055481565b600160a060020a031660009081526001602052604090205490565b60065460a060020a900460ff1681565b600654600160a060020a031681565b6003805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156103f75780601f106103cc576101008083540402835291602001916103f7565b60065460009060a060020a900460ff161561074057fe5b3360009081526001602052604090205482111561075957fe5b336000908152600160205260409020546107739083610928565b3360009081526001602052604080822092909255600160a060020a0385168152205461079f9083610935565b600160a060020a0384166000818152600160209081526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b600654600160a060020a0316331461081157fe5b60065460a060020a900460ff161561082557fe5b600754610846600054836fffffffffffffffffffffffffffffffff16610935565b111561084e57fe5b600160a060020a038216600090815260016020526040902054610883906fffffffffffffffffffffffffffffffff8316610935565b600160a060020a038316600090815260016020526040812091909155546108bc906fffffffffffffffffffffffffffffffff8316610935565b6000555050565b600654600160a060020a031633146108d757fe5b6006805474ff000000000000000000000000000000000000000019169055565b60075481565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b808203828111156104b257fe5b808201828110156104b257fe00a165627a7a7230582038f248cf4f0710d99b09c7e9e16766c3c00925040dc88809cfc6e9c82206e2150029

Swarm Source

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