ETH Price: $3,101.57 (+0.44%)

Token

DIPNET (DPN)
 

Overview

Max Total Supply

9,999,895,000 DPN

Holders

104,452

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 8 Decimals)

Balance
1 DPN

Value
$0.00
0x1aef9e889b8d48cf38290d0c1103a8ece0df1d61
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:
DPNToken

Compiler Version
v0.4.20+commit.3155dd80

Optimization Enabled:
Yes with 200 runs

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

contract DPNToken {

    string public name = "DIPNET";          //  token name
    string public symbol = "DPN";           //  token symbol
    uint256 public decimals = 8;            //  token digit

    mapping (address => uint256) public balanceOf;
    mapping (address => mapping (address => uint256)) public allowance;

    uint256 public totalSupply = 0;
    bool public stopped = false;

    uint256 constant valueFounder = 1000000000000000000;
    address public owner = 0x0;

    modifier isOwner {
        assert(owner == msg.sender);
        _;
    }

    modifier isRunning {
        assert (!stopped);
        _;
    }

    modifier validAddress {
        assert(0x0 != msg.sender);
        _;
    }

    function DPNToken(address _addressFounder) {
        owner = msg.sender;
        totalSupply = valueFounder;
        balanceOf[_addressFounder] = valueFounder;
        Transfer(0x0, _addressFounder, valueFounder);
    }

    function transfer(address _to, uint256 _value) isRunning validAddress returns (bool success) {
        require(balanceOf[msg.sender] >= _value);
        require(balanceOf[_to] + _value >= balanceOf[_to]);
        balanceOf[msg.sender] -= _value;
        balanceOf[_to] += _value;
        Transfer(msg.sender, _to, _value);
        return true;
    }

    function transferFrom(address _from, address _to, uint256 _value) isRunning validAddress returns (bool success) {
        require(balanceOf[_from] >= _value);
        require(balanceOf[_to] + _value >= balanceOf[_to]);
        require(allowance[_from][msg.sender] >= _value);
        balanceOf[_to] += _value;
        balanceOf[_from] -= _value;
        allowance[_from][msg.sender] -= _value;
        Transfer(_from, _to, _value);
        return true;
    }

    function approve(address _spender, uint256 _value) isRunning validAddress returns (bool success) {
        require(_value == 0 || allowance[msg.sender][_spender] == 0);
        allowance[msg.sender][_spender] = _value;
        Approval(msg.sender, _spender, _value);
        return true;
    }

    function stop() isOwner {
        stopped = true;
    }

    function start() isOwner {
        stopped = false;
    }

    function setName(string _name) isOwner {
        name = _name;
    }

    function setSymbol(string _symbol) isOwner{
        symbol = _symbol;
    }

    function burn(uint256 _value) {
        require(balanceOf[msg.sender] >= _value);
        require(totalSupply >= _value);
        balanceOf[msg.sender] -= _value;
        totalSupply -= _value;
        Burn(msg.sender, _value);
    }
    
    function transferOwnership(address newOwner) public isOwner {
		require(newOwner != address(0));
		owner = newOwner;
		OwnershipTransferred(owner, newOwner);
	}

    event Transfer(address indexed _from, address indexed _to, uint256 _value);
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);
    event Burn(address indexed burner, uint256 value);
    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
}

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":"_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":"_value","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":"_value","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","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":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_symbol","type":"string"}],"name":"setSymbol","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"start","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_name","type":"string"}],"name":"setName","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"allowance","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"},{"inputs":[{"name":"_addressFounder","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_from","type":"address"},{"indexed":true,"name":"_to","type":"address"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_owner","type":"address"},{"indexed":true,"name":"_spender","type":"address"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"burner","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]

606060405260408051908101604052600681527f4449504e455400000000000000000000000000000000000000000000000000006020820152600090805161004b929160200190610155565b5060408051908101604052600381527f44504e000000000000000000000000000000000000000000000000000000000060208201526001908051610093929160200190610155565b506008600255600060055560068054600160a860020a031916905534156100b957600080fd5b604051602080610cb38339810160405280805160068054600160a060020a033381166101000261010060a860020a031990921691909117909155670de0b6b3a76400006005819055908216600081815260036020526040808220849055939550909350917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91905190815260200160405180910390a3506101f0565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061019657805160ff19168380011785556101c3565b828001600101855582156101c3579182015b828111156101c35782518255916020019190600101906101a8565b506101cf9291506101d3565b5090565b6101ed91905b808211156101cf57600081556001016101d9565b90565b610ab4806101ff6000396000f3006060604052600436106100f05763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100f557806307da68f51461017f578063095ea7b31461019457806318160ddd146101ca57806323b872dd146101ef578063313ce5671461021757806342966c681461022a57806370a082311461024057806375f12b211461025f5780638da5cb5b1461027257806395d89b41146102a1578063a9059cbb146102b4578063b84c8246146102d6578063be9a655514610327578063c47f00271461033a578063dd62ed3e1461038b578063f2fde38b146103b0575b600080fd5b341561010057600080fd5b6101086103cf565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561014457808201518382015260200161012c565b50505050905090810190601f1680156101715780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561018a57600080fd5b61019261046d565b005b341561019f57600080fd5b6101b6600160a060020a0360043516602435610499565b604051901515815260200160405180910390f35b34156101d557600080fd5b6101dd61055f565b60405190815260200160405180910390f35b34156101fa57600080fd5b6101b6600160a060020a0360043581169060243516604435610565565b341561022257600080fd5b6101dd610696565b341561023557600080fd5b61019260043561069c565b341561024b57600080fd5b6101dd600160a060020a0360043516610732565b341561026a57600080fd5b6101b6610744565b341561027d57600080fd5b61028561074d565b604051600160a060020a03909116815260200160405180910390f35b34156102ac57600080fd5b610108610761565b34156102bf57600080fd5b6101b6600160a060020a03600435166024356107cc565b34156102e157600080fd5b61019260046024813581810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506108a995505050505050565b341561033257600080fd5b6101926108dd565b341561034557600080fd5b61019260046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061090695505050505050565b341561039657600080fd5b6101dd600160a060020a0360043581169060243516610936565b34156103bb57600080fd5b610192600160a060020a0360043516610953565b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156104655780601f1061043a57610100808354040283529160200191610465565b820191906000526020600020905b81548152906001019060200180831161044857829003601f168201915b505050505081565b60065433600160a060020a03908116610100909204161461048a57fe5b6006805460ff19166001179055565b60065460009060ff16156104a957fe5b600160a060020a03331615156104bb57fe5b8115806104eb5750600160a060020a03338116600090815260046020908152604080832093871683529290522054155b15156104f657600080fd5b600160a060020a03338116600081815260046020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60055481565b60065460009060ff161561057557fe5b600160a060020a033316151561058757fe5b600160a060020a038416600090815260036020526040902054829010156105ad57600080fd5b600160a060020a03831660009081526003602052604090205482810110156105d457600080fd5b600160a060020a03808516600090815260046020908152604080832033909416835292905220548290101561060857600080fd5b600160a060020a03808416600081815260036020908152604080832080548801905588851680845281842080548990039055600483528184203390961684529490915290819020805486900390559091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b60025481565b600160a060020a033316600090815260036020526040902054819010156106c257600080fd5b600554819010156106d257600080fd5b600160a060020a03331660008181526003602052604090819020805484900390556005805484900390557fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59083905190815260200160405180910390a250565b60036020526000908152604090205481565b60065460ff1681565b6006546101009004600160a060020a031681565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156104655780601f1061043a57610100808354040283529160200191610465565b60065460009060ff16156107dc57fe5b600160a060020a03331615156107ee57fe5b600160a060020a0333166000908152600360205260409020548290101561081457600080fd5b600160a060020a038316600090815260036020526040902054828101101561083b57600080fd5b600160a060020a033381166000818152600360205260408082208054879003905592861680825290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600192915050565b60065433600160a060020a0390811661010090920416146108c657fe5b60018180516108d99291602001906109ed565b5050565b60065433600160a060020a0390811661010090920416146108fa57fe5b6006805460ff19169055565b60065433600160a060020a03908116610100909204161461092357fe5b60008180516108d99291602001906109ed565b600460209081526000928352604080842090915290825290205481565b60065433600160a060020a03908116610100909204161461097057fe5b600160a060020a038116151561098557600080fd5b6006805474ffffffffffffffffffffffffffffffffffffffff001916610100600160a060020a038481168281029390931793849055919204167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10610a2e57805160ff1916838001178555610a5b565b82800160010185558215610a5b579182015b82811115610a5b578251825591602001919060010190610a40565b50610a67929150610a6b565b5090565b610a8591905b80821115610a675760008155600101610a71565b905600a165627a7a72305820a4060a57eaf27ccf4b8368fc60b23e07f48960d6c511c4fbf8eba4942a95135c00290000000000000000000000007e02a853f2c38e87bcbf48bd10bb46d8e136d87e

Deployed Bytecode

0x6060604052600436106100f05763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100f557806307da68f51461017f578063095ea7b31461019457806318160ddd146101ca57806323b872dd146101ef578063313ce5671461021757806342966c681461022a57806370a082311461024057806375f12b211461025f5780638da5cb5b1461027257806395d89b41146102a1578063a9059cbb146102b4578063b84c8246146102d6578063be9a655514610327578063c47f00271461033a578063dd62ed3e1461038b578063f2fde38b146103b0575b600080fd5b341561010057600080fd5b6101086103cf565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561014457808201518382015260200161012c565b50505050905090810190601f1680156101715780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561018a57600080fd5b61019261046d565b005b341561019f57600080fd5b6101b6600160a060020a0360043516602435610499565b604051901515815260200160405180910390f35b34156101d557600080fd5b6101dd61055f565b60405190815260200160405180910390f35b34156101fa57600080fd5b6101b6600160a060020a0360043581169060243516604435610565565b341561022257600080fd5b6101dd610696565b341561023557600080fd5b61019260043561069c565b341561024b57600080fd5b6101dd600160a060020a0360043516610732565b341561026a57600080fd5b6101b6610744565b341561027d57600080fd5b61028561074d565b604051600160a060020a03909116815260200160405180910390f35b34156102ac57600080fd5b610108610761565b34156102bf57600080fd5b6101b6600160a060020a03600435166024356107cc565b34156102e157600080fd5b61019260046024813581810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506108a995505050505050565b341561033257600080fd5b6101926108dd565b341561034557600080fd5b61019260046024813581810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061090695505050505050565b341561039657600080fd5b6101dd600160a060020a0360043581169060243516610936565b34156103bb57600080fd5b610192600160a060020a0360043516610953565b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156104655780601f1061043a57610100808354040283529160200191610465565b820191906000526020600020905b81548152906001019060200180831161044857829003601f168201915b505050505081565b60065433600160a060020a03908116610100909204161461048a57fe5b6006805460ff19166001179055565b60065460009060ff16156104a957fe5b600160a060020a03331615156104bb57fe5b8115806104eb5750600160a060020a03338116600090815260046020908152604080832093871683529290522054155b15156104f657600080fd5b600160a060020a03338116600081815260046020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60055481565b60065460009060ff161561057557fe5b600160a060020a033316151561058757fe5b600160a060020a038416600090815260036020526040902054829010156105ad57600080fd5b600160a060020a03831660009081526003602052604090205482810110156105d457600080fd5b600160a060020a03808516600090815260046020908152604080832033909416835292905220548290101561060857600080fd5b600160a060020a03808416600081815260036020908152604080832080548801905588851680845281842080548990039055600483528184203390961684529490915290819020805486900390559091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b60025481565b600160a060020a033316600090815260036020526040902054819010156106c257600080fd5b600554819010156106d257600080fd5b600160a060020a03331660008181526003602052604090819020805484900390556005805484900390557fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59083905190815260200160405180910390a250565b60036020526000908152604090205481565b60065460ff1681565b6006546101009004600160a060020a031681565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156104655780601f1061043a57610100808354040283529160200191610465565b60065460009060ff16156107dc57fe5b600160a060020a03331615156107ee57fe5b600160a060020a0333166000908152600360205260409020548290101561081457600080fd5b600160a060020a038316600090815260036020526040902054828101101561083b57600080fd5b600160a060020a033381166000818152600360205260408082208054879003905592861680825290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a350600192915050565b60065433600160a060020a0390811661010090920416146108c657fe5b60018180516108d99291602001906109ed565b5050565b60065433600160a060020a0390811661010090920416146108fa57fe5b6006805460ff19169055565b60065433600160a060020a03908116610100909204161461092357fe5b60008180516108d99291602001906109ed565b600460209081526000928352604080842090915290825290205481565b60065433600160a060020a03908116610100909204161461097057fe5b600160a060020a038116151561098557600080fd5b6006805474ffffffffffffffffffffffffffffffffffffffff001916610100600160a060020a038481168281029390931793849055919204167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10610a2e57805160ff1916838001178555610a5b565b82800160010185558215610a5b579182015b82811115610a5b578251825591602001919060010190610a40565b50610a67929150610a6b565b5090565b610a8591905b80821115610a675760008155600101610a71565b905600a165627a7a72305820a4060a57eaf27ccf4b8368fc60b23e07f48960d6c511c4fbf8eba4942a95135c0029

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

0000000000000000000000007e02a853f2c38e87bcbf48bd10bb46d8e136d87e

-----Decoded View---------------
Arg [0] : _addressFounder (address): 0x7e02A853f2c38E87BCBf48BD10Bb46D8e136d87e

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000007e02a853f2c38e87bcbf48bd10bb46d8e136d87e


Swarm Source

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