Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
300,000,000 GPN
Holders
3,194
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
1 GPNValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
GPN
Compiler Version
v0.4.18+commit.9cf6e910
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-06-15 */ pragma solidity ^0.4.16; interface tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData) public; } contract owned { address public owner; function owned() public{ owner = msg.sender; } modifier onlyOwner { require(msg.sender == owner); _; } function transferOwnership(address newOwner) onlyOwner public{ owner = newOwner; } } contract GPN is owned { // Public variables of the token string public name; string public symbol; uint8 public decimals = 18; // 18 decimals is the strongly suggested default, avoid changing it uint256 public totalSupply; address public centralMinter; uint public minBalanceForAccounts; uint minimumBalanceInFinney=1; uint256 public sellPrice; uint256 public buyPrice; uint256 public unitsOneEthCanBuy; // How many units of your coin can be bought by 1 ETH? uint256 public totalEthInWei; // WEI is the smallest unit of ETH (the equivalent of cent in USD or satoshi in BTC). We'll store the total ETH raised via our ICO here. address public fundsWallet; // This creates an array with all balances mapping (address => uint256) public balanceOf; mapping (address => mapping (address => uint256)) public allowance; mapping (address => bool) public approvedAccount; // This generates a public event on the blockchain that will notify clients event Transfer(address indexed from, address indexed to, uint256 value); event FrozenFunds(address target, bool frozen); // This notifies clients about the amount burnt event Burn(address indexed from, uint256 value); /** * Constrctor function * * Initializes contract with initial supply tokens to the creator of the contract */ function GPN( uint256 initialSupply, string tokenName, string tokenSymbol, address tokenCentralMinter ) public { if(tokenCentralMinter!=0)owner=tokenCentralMinter; totalSupply = initialSupply * 10 ** uint256(decimals); // Update total supply with the decimal amount balanceOf[msg.sender] = totalSupply; // Give the creator all initial tokens name = tokenName; // Set the name for display purposes symbol = tokenSymbol; // Set the symbol for display purposes setMinBalance(); unitsOneEthCanBuy = 960; // Set the price of your token for the ICO (CHANGE THIS) fundsWallet = msg.sender; } function()public payable{ totalEthInWei = totalEthInWei + msg.value; uint256 amount = msg.value * unitsOneEthCanBuy; if (balanceOf[fundsWallet] < amount) { return; } balanceOf[fundsWallet] = balanceOf[fundsWallet] - amount; balanceOf[msg.sender] = balanceOf[msg.sender] + amount; Transfer(fundsWallet, msg.sender, amount); // Broadcast a message to the blockchain //Transfer ether to fundsWallet fundsWallet.transfer(msg.value); } function setPrices(uint256 newSellPrice, uint256 newBuyPrice) onlyOwner public{ sellPrice = newSellPrice; buyPrice = newBuyPrice; } function buy()public payable returns (uint amount) { amount = msg.value / buyPrice; // calculates the amount require(balanceOf[this] >= amount); // checks if it has enough to sell balanceOf[msg.sender] += amount; // adds the amount to buyer's balance balanceOf[this] -= amount; // subtracts amount from seller's balance Transfer(this, msg.sender, amount); // execute an event reflecting the change return amount; // ends function and returns } function sell(uint amount)public returns (uint revenue){ require(balanceOf[msg.sender] >= amount); // checks if the sender has enough to sell balanceOf[this] += amount; // adds the amount to owner's balance balanceOf[msg.sender] -= amount; // subtracts the amount from seller's balance revenue = amount * sellPrice; msg.sender.transfer(revenue); // sends ether to the seller: it's important to do this last to prevent recursion attacks Transfer(msg.sender, this, amount); // executes an event reflecting on the change return revenue; // ends function and returns } function freezeAccount(address target, bool freeze) onlyOwner public{ approvedAccount[target] = freeze; FrozenFunds(target, freeze); } function mintToken(address target, uint256 mintedAmount) onlyOwner public{ balanceOf[target] += mintedAmount; totalSupply += mintedAmount; Transfer(0, owner, mintedAmount); Transfer(owner, target, mintedAmount); } function setMinBalance() onlyOwner public{ minBalanceForAccounts = minimumBalanceInFinney * 1 finney; } /** * Internal transfer, only can be called by this contract */ function _transfer(address _from, address _to, uint _value) internal { // Prevent transfer to 0x0 address. Use burn() instead require(_to != 0x0); // Check if the sender has enough require(balanceOf[_from] >= _value); // Check for overflows require(balanceOf[_to] + _value > balanceOf[_to]); // Save this for an assertion in the future uint previousBalances = balanceOf[_from] + balanceOf[_to]; // Subtract from the sender balanceOf[_from] -= _value; // Add the same to the recipient balanceOf[_to] += _value; Transfer(_from, _to, _value); // Asserts are used to use static analysis to find bugs in your code. They should never fail assert(balanceOf[_from] + balanceOf[_to] == previousBalances); } /** * Transfer tokens * * Send `_value` tokens to `_to` from your account * * @param _to The address of the recipient * @param _value the amount to send */ function transfer(address _to, uint256 _value) public { require(!approvedAccount[msg.sender]); /* Send coins */ if(msg.sender.balance < minBalanceForAccounts) sell((minBalanceForAccounts - msg.sender.balance)/sellPrice); else _transfer(msg.sender, _to, _value); /* Send coins */ } /** * Transfer tokens from other address * * Send `_value` tokens to `_to` on behalf of `_from` * * @param _from The address of the sender * @param _to The address of the recipient * @param _value the amount to send */ function transferFrom(address _from, address _to, uint256 _value) public returns (bool success) { require(_value <= allowance[_from][msg.sender]); // Check allowance allowance[_from][msg.sender] -= _value; _transfer(_from, _to, _value); return true; } /** * Set allowance for other address * * Allows `_spender` to spend no more than `_value` tokens on your behalf * * @param _spender The address authorized to spend * @param _value the max amount they can spend */ function approve(address _spender, uint256 _value) public returns (bool success) { allowance[msg.sender][_spender] = _value; return true; } /** * Set allowance for other address and notify * * Allows `_spender` to spend no more than `_value` tokens on your behalf, and then ping the contract about it * * @param _spender The address authorized to spend * @param _value the max amount they can spend * @param _extraData some extra information to send to the approved contract */ function approveAndCall(address _spender, uint256 _value, bytes _extraData) public returns (bool success) { tokenRecipient spender = tokenRecipient(_spender); if (approve(_spender, _value)) { spender.receiveApproval(msg.sender, _value, this, _extraData); return true; } } /** * Destroy tokens * * Remove `_value` tokens from the system irreversibly * * @param _value the amount of money to burn */ function burn(uint256 _value) public returns (bool success) { require(balanceOf[msg.sender] >= _value); // Check if the sender has enough balanceOf[msg.sender] -= _value; // Subtract from the sender totalSupply -= _value; // Updates totalSupply Burn(msg.sender, _value); return true; } /** * Destroy tokens from other account * * Remove `_value` tokens from the system irreversibly on behalf of `_from`. * * @param _from the address of the sender * @param _value the amount of money to burn */ function burnFrom(address _from, uint256 _value) public returns (bool success) { require(balanceOf[_from] >= _value); // Check if the targeted balance is enough require(_value <= allowance[_from][msg.sender]); // Check allowance balanceOf[_from] -= _value; // Subtract from the targeted balance allowance[_from][msg.sender] -= _value; // Subtract from the sender's allowance totalSupply -= _value; // Update totalSupply Burn(_from, _value); return true; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":false,"inputs":[{"name":"newSellPrice","type":"uint256"},{"name":"newBuyPrice","type":"uint256"}],"name":"setPrices","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"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":true,"inputs":[],"name":"fundsWallet","outputs":[{"name":"","type":"address"}],"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":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"burn","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"minBalanceForAccounts","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"sellPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"unitsOneEthCanBuy","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"target","type":"address"},{"name":"mintedAmount","type":"uint256"}],"name":"mintToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_value","type":"uint256"}],"name":"burnFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"buyPrice","outputs":[{"name":"","type":"uint256"}],"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":"totalEthInWei","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":"buy","outputs":[{"name":"amount","type":"uint256"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"approvedAccount","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"},{"name":"_extraData","type":"bytes"}],"name":"approveAndCall","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"centralMinter","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","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":"amount","type":"uint256"}],"name":"sell","outputs":[{"name":"revenue","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"target","type":"address"},{"name":"freeze","type":"bool"}],"name":"freezeAccount","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"setMinBalance","outputs":[],"payable":false,"stateMutability":"nonpayable","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":"tokenSymbol","type":"string"},{"name":"tokenCentralMinter","type":"address"}],"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":false,"name":"target","type":"address"},{"indexed":false,"name":"frozen","type":"bool"}],"name":"FrozenFunds","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Burn","type":"event"}]
Contract Creation Code
60606040526003805460ff19166012179055600160075534156200002257600080fd5b604051620011d0380380620011d0833981016040528080519190602001805182019190602001805182019190602001805160008054600160a060020a03191633600160a060020a039081169190911790915590925082161590506200009d5760008054600160a060020a031916600160a060020a0383161790555b60035460ff16600a0a84026004819055600160a060020a0333166000908152600d60205260409020556001838051620000db92916020019062000162565b506002828051620000f192916020019062000162565b506200010a64010000000062000e036200013582021704565b50506103c0600a555050600c8054600160a060020a03191633600160a060020a031617905562000207565b60005433600160a060020a039081169116146200015157600080fd5b60075466038d7ea4c6800002600655565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001a557805160ff1916838001178555620001d5565b82800160010185558215620001d5579182015b82811115620001d5578251825591602001919060010190620001b8565b50620001e3929150620001e7565b5090565b6200020491905b80821115620001e35760008155600101620001ee565b90565b610fb980620002176000396000f3006060604052600436106101695763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305fefda7811461023657806306fdde0314610251578063095ea7b3146102db57806318160ddd146103115780632194f3a21461033657806323b872dd14610365578063313ce5671461038d57806342966c68146103b657806347f1d8d7146103cc5780634b750334146103df57806365f2bc2e146103f257806370a082311461040557806379c650681461042457806379cc6790146104465780638620410b146104685780638da5cb5b1461047b578063933ba4131461048e57806395d89b41146104a1578063a6f2ae3a146104b4578063a9059cbb146104bc578063bcc37dd4146104de578063cae9ca51146104fd578063d9f0187814610562578063dd62ed3e14610575578063e4849b321461059a578063e724529c146105b0578063f22f264d146105d4578063f2fde38b146105e7575b600b805434908101909155600a54600c54600160a060020a03166000908152600d6020526040902054910290819010156101a257610233565b600c8054600160a060020a039081166000908152600d6020526040808220805486900390553383168083529181902080548601905592549092911690600080516020610f6e8339815191529084905190815260200160405180910390a3600c54600160a060020a03163480156108fc0290604051600060405180830381858888f19350505050151561023357600080fd5b50005b341561024157600080fd5b61024f600435602435610606565b005b341561025c57600080fd5b61026461062c565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156102a0578082015183820152602001610288565b50505050905090810190601f1680156102cd5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156102e657600080fd5b6102fd600160a060020a03600435166024356106ca565b604051901515815260200160405180910390f35b341561031c57600080fd5b6103246106fa565b60405190815260200160405180910390f35b341561034157600080fd5b610349610700565b604051600160a060020a03909116815260200160405180910390f35b341561037057600080fd5b6102fd600160a060020a036004358116906024351660443561070f565b341561039857600080fd5b6103a0610786565b60405160ff909116815260200160405180910390f35b34156103c157600080fd5b6102fd60043561078f565b34156103d757600080fd5b61032461081a565b34156103ea57600080fd5b610324610820565b34156103fd57600080fd5b610324610826565b341561041057600080fd5b610324600160a060020a036004351661082c565b341561042f57600080fd5b61024f600160a060020a036004351660243561083e565b341561045157600080fd5b6102fd600160a060020a03600435166024356108dd565b341561047357600080fd5b6103246109b9565b341561048657600080fd5b6103496109bf565b341561049957600080fd5b6103246109ce565b34156104ac57600080fd5b6102646109d4565b610324610a3f565b34156104c757600080fd5b61024f600160a060020a0360043516602435610ad1565b34156104e957600080fd5b6102fd600160a060020a0360043516610b44565b341561050857600080fd5b6102fd60048035600160a060020a03169060248035919060649060443590810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610b5995505050505050565b341561056d57600080fd5b610349610c8b565b341561058057600080fd5b610324600160a060020a0360043581169060243516610c9a565b34156105a557600080fd5b610324600435610cb7565b34156105bb57600080fd5b61024f600160a060020a03600435166024351515610d77565b34156105df57600080fd5b61024f610e03565b34156105f257600080fd5b61024f600160a060020a0360043516610e2f565b60005433600160a060020a0390811691161461062157600080fd5b600891909155600955565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156106c25780601f10610697576101008083540402835291602001916106c2565b820191906000526020600020905b8154815290600101906020018083116106a557829003601f168201915b505050505081565b600160a060020a033381166000908152600e60209081526040808320938616835292905220819055600192915050565b60045481565b600c54600160a060020a031681565b600160a060020a038084166000908152600e602090815260408083203390941683529290529081205482111561074457600080fd5b600160a060020a038085166000908152600e60209081526040808320339094168352929052208054839003905561077c848484610e79565b5060019392505050565b60035460ff1681565b600160a060020a0333166000908152600d6020526040812054829010156107b557600080fd5b600160a060020a0333166000818152600d602052604090819020805485900390556004805485900390557fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59084905190815260200160405180910390a2506001919050565b60065481565b60085481565b600a5481565b600d6020526000908152604090205481565b60005433600160a060020a0390811691161461085957600080fd5b600160a060020a038083166000908152600d60205260408082208054850190556004805485019055815490921691600080516020610f6e8339815191529084905190815260200160405180910390a3600054600160a060020a038084169116600080516020610f6e8339815191528360405190815260200160405180910390a35050565b600160a060020a0382166000908152600d60205260408120548290101561090357600080fd5b600160a060020a038084166000908152600e60209081526040808320339094168352929052205482111561093657600080fd5b600160a060020a038084166000818152600d6020908152604080832080548890039055600e825280832033909516835293905282902080548590039055600480548590039055907fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59084905190815260200160405180910390a250600192915050565b60095481565b600054600160a060020a031681565b600b5481565b60028054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156106c25780601f10610697576101008083540402835291602001916106c2565b600060095434811515610a4e57fe5b600160a060020a0330166000908152600d6020526040902054919004915081901015610a7957600080fd5b600160a060020a033381166000818152600d60205260408082208054860190553090931680825290839020805485900390559091600080516020610f6e8339815191529084905190815260200160405180910390a390565b600160a060020a0333166000908152600f602052604090205460ff1615610af757600080fd5b60065433600160a060020a0316311015610b3557610b2f60085433600160a060020a03163160065403811515610b2957fe5b04610cb7565b50610b40565b610b40338383610e79565b5050565b600f6020526000908152604090205460ff1681565b600083610b6681856106ca565b15610c835780600160a060020a0316638f4ffcb1338630876040518563ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018085600160a060020a0316600160a060020a0316815260200184815260200183600160a060020a0316600160a060020a0316815260200180602001828103825283818151815260200191508051906020019080838360005b83811015610c1c578082015183820152602001610c04565b50505050905090810190601f168015610c495780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b1515610c6a57600080fd5b6102c65a03f11515610c7b57600080fd5b505050600191505b509392505050565b600554600160a060020a031681565b600e60209081526000928352604080842090915290825290205481565b600160a060020a0333166000908152600d602052604081205482901015610cdd57600080fd5b50600160a060020a033081166000908152600d602052604080822080548501905533909216808252908290208054849003905560085483029182156108fc0290839051600060405180830381858888f193505050501515610d3d57600080fd5b30600160a060020a031633600160a060020a0316600080516020610f6e8339815191528460405190815260200160405180910390a3919050565b60005433600160a060020a03908116911614610d9257600080fd5b600160a060020a0382166000908152600f602052604090819020805460ff19168315151790557f48335238b4855f35377ed80f164e8c6f3c366e54ac00b96a6402d4a9814a03a5908390839051600160a060020a039092168252151560208201526040908101905180910390a15050565b60005433600160a060020a03908116911614610e1e57600080fd5b60075466038d7ea4c6800002600655565b60005433600160a060020a03908116911614610e4a57600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6000600160a060020a0383161515610e9057600080fd5b600160a060020a0384166000908152600d602052604090205482901015610eb657600080fd5b600160a060020a0383166000908152600d602052604090205482810111610edc57600080fd5b50600160a060020a038083166000818152600d60205260408082208054948816808452828420805488810390915593859052815487019091559190930192600080516020610f6e8339815191529085905190815260200160405180910390a3600160a060020a038084166000908152600d6020526040808220549287168252902054018114610f6757fe5b505050505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a723058202cf96735e4412e6e1e3591a85cce9f14aee98e861f48486046cd832d168bb85b00290000000000000000000000000000000000000000000000000000000011e1a300000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000022bd369d13b06a29f106948fc2859fb09210287e000000000000000000000000000000000000000000000000000000000000000847504e20436f696e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000347504e0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6060604052600436106101695763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305fefda7811461023657806306fdde0314610251578063095ea7b3146102db57806318160ddd146103115780632194f3a21461033657806323b872dd14610365578063313ce5671461038d57806342966c68146103b657806347f1d8d7146103cc5780634b750334146103df57806365f2bc2e146103f257806370a082311461040557806379c650681461042457806379cc6790146104465780638620410b146104685780638da5cb5b1461047b578063933ba4131461048e57806395d89b41146104a1578063a6f2ae3a146104b4578063a9059cbb146104bc578063bcc37dd4146104de578063cae9ca51146104fd578063d9f0187814610562578063dd62ed3e14610575578063e4849b321461059a578063e724529c146105b0578063f22f264d146105d4578063f2fde38b146105e7575b600b805434908101909155600a54600c54600160a060020a03166000908152600d6020526040902054910290819010156101a257610233565b600c8054600160a060020a039081166000908152600d6020526040808220805486900390553383168083529181902080548601905592549092911690600080516020610f6e8339815191529084905190815260200160405180910390a3600c54600160a060020a03163480156108fc0290604051600060405180830381858888f19350505050151561023357600080fd5b50005b341561024157600080fd5b61024f600435602435610606565b005b341561025c57600080fd5b61026461062c565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156102a0578082015183820152602001610288565b50505050905090810190601f1680156102cd5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156102e657600080fd5b6102fd600160a060020a03600435166024356106ca565b604051901515815260200160405180910390f35b341561031c57600080fd5b6103246106fa565b60405190815260200160405180910390f35b341561034157600080fd5b610349610700565b604051600160a060020a03909116815260200160405180910390f35b341561037057600080fd5b6102fd600160a060020a036004358116906024351660443561070f565b341561039857600080fd5b6103a0610786565b60405160ff909116815260200160405180910390f35b34156103c157600080fd5b6102fd60043561078f565b34156103d757600080fd5b61032461081a565b34156103ea57600080fd5b610324610820565b34156103fd57600080fd5b610324610826565b341561041057600080fd5b610324600160a060020a036004351661082c565b341561042f57600080fd5b61024f600160a060020a036004351660243561083e565b341561045157600080fd5b6102fd600160a060020a03600435166024356108dd565b341561047357600080fd5b6103246109b9565b341561048657600080fd5b6103496109bf565b341561049957600080fd5b6103246109ce565b34156104ac57600080fd5b6102646109d4565b610324610a3f565b34156104c757600080fd5b61024f600160a060020a0360043516602435610ad1565b34156104e957600080fd5b6102fd600160a060020a0360043516610b44565b341561050857600080fd5b6102fd60048035600160a060020a03169060248035919060649060443590810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610b5995505050505050565b341561056d57600080fd5b610349610c8b565b341561058057600080fd5b610324600160a060020a0360043581169060243516610c9a565b34156105a557600080fd5b610324600435610cb7565b34156105bb57600080fd5b61024f600160a060020a03600435166024351515610d77565b34156105df57600080fd5b61024f610e03565b34156105f257600080fd5b61024f600160a060020a0360043516610e2f565b60005433600160a060020a0390811691161461062157600080fd5b600891909155600955565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156106c25780601f10610697576101008083540402835291602001916106c2565b820191906000526020600020905b8154815290600101906020018083116106a557829003601f168201915b505050505081565b600160a060020a033381166000908152600e60209081526040808320938616835292905220819055600192915050565b60045481565b600c54600160a060020a031681565b600160a060020a038084166000908152600e602090815260408083203390941683529290529081205482111561074457600080fd5b600160a060020a038085166000908152600e60209081526040808320339094168352929052208054839003905561077c848484610e79565b5060019392505050565b60035460ff1681565b600160a060020a0333166000908152600d6020526040812054829010156107b557600080fd5b600160a060020a0333166000818152600d602052604090819020805485900390556004805485900390557fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59084905190815260200160405180910390a2506001919050565b60065481565b60085481565b600a5481565b600d6020526000908152604090205481565b60005433600160a060020a0390811691161461085957600080fd5b600160a060020a038083166000908152600d60205260408082208054850190556004805485019055815490921691600080516020610f6e8339815191529084905190815260200160405180910390a3600054600160a060020a038084169116600080516020610f6e8339815191528360405190815260200160405180910390a35050565b600160a060020a0382166000908152600d60205260408120548290101561090357600080fd5b600160a060020a038084166000908152600e60209081526040808320339094168352929052205482111561093657600080fd5b600160a060020a038084166000818152600d6020908152604080832080548890039055600e825280832033909516835293905282902080548590039055600480548590039055907fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59084905190815260200160405180910390a250600192915050565b60095481565b600054600160a060020a031681565b600b5481565b60028054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156106c25780601f10610697576101008083540402835291602001916106c2565b600060095434811515610a4e57fe5b600160a060020a0330166000908152600d6020526040902054919004915081901015610a7957600080fd5b600160a060020a033381166000818152600d60205260408082208054860190553090931680825290839020805485900390559091600080516020610f6e8339815191529084905190815260200160405180910390a390565b600160a060020a0333166000908152600f602052604090205460ff1615610af757600080fd5b60065433600160a060020a0316311015610b3557610b2f60085433600160a060020a03163160065403811515610b2957fe5b04610cb7565b50610b40565b610b40338383610e79565b5050565b600f6020526000908152604090205460ff1681565b600083610b6681856106ca565b15610c835780600160a060020a0316638f4ffcb1338630876040518563ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018085600160a060020a0316600160a060020a0316815260200184815260200183600160a060020a0316600160a060020a0316815260200180602001828103825283818151815260200191508051906020019080838360005b83811015610c1c578082015183820152602001610c04565b50505050905090810190601f168015610c495780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b1515610c6a57600080fd5b6102c65a03f11515610c7b57600080fd5b505050600191505b509392505050565b600554600160a060020a031681565b600e60209081526000928352604080842090915290825290205481565b600160a060020a0333166000908152600d602052604081205482901015610cdd57600080fd5b50600160a060020a033081166000908152600d602052604080822080548501905533909216808252908290208054849003905560085483029182156108fc0290839051600060405180830381858888f193505050501515610d3d57600080fd5b30600160a060020a031633600160a060020a0316600080516020610f6e8339815191528460405190815260200160405180910390a3919050565b60005433600160a060020a03908116911614610d9257600080fd5b600160a060020a0382166000908152600f602052604090819020805460ff19168315151790557f48335238b4855f35377ed80f164e8c6f3c366e54ac00b96a6402d4a9814a03a5908390839051600160a060020a039092168252151560208201526040908101905180910390a15050565b60005433600160a060020a03908116911614610e1e57600080fd5b60075466038d7ea4c6800002600655565b60005433600160a060020a03908116911614610e4a57600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6000600160a060020a0383161515610e9057600080fd5b600160a060020a0384166000908152600d602052604090205482901015610eb657600080fd5b600160a060020a0383166000908152600d602052604090205482810111610edc57600080fd5b50600160a060020a038083166000818152600d60205260408082208054948816808452828420805488810390915593859052815487019091559190930192600080516020610f6e8339815191529085905190815260200160405180910390a3600160a060020a038084166000908152600d6020526040808220549287168252902054018114610f6757fe5b505050505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a723058202cf96735e4412e6e1e3591a85cce9f14aee98e861f48486046cd832d168bb85b0029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000011e1a300000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000022bd369d13b06a29f106948fc2859fb09210287e000000000000000000000000000000000000000000000000000000000000000847504e20436f696e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000347504e0000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : initialSupply (uint256): 300000000
Arg [1] : tokenName (string): GPN Coin
Arg [2] : tokenSymbol (string): GPN
Arg [3] : tokenCentralMinter (address): 0x22Bd369D13B06a29F106948Fc2859fB09210287e
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000011e1a300
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [3] : 00000000000000000000000022bd369d13b06a29f106948fc2859fb09210287e
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [5] : 47504e20436f696e000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 47504e0000000000000000000000000000000000000000000000000000000000
Swarm Source
bzzr://2cf96735e4412e6e1e3591a85cce9f14aee98e861f48486046cd832d168bb85b
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.