Overview
Max Total Supply
1,000,000,000,000,107,000,000 GDC
Holders
191,304 (0.00%)
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 4 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MyAdvancedToken
Compiler Version
v0.4.13+commit.0fb4cb1a
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-07-20 */ pragma solidity ^0.4.13; contract owned { address public owner; function owned() { owner = msg.sender; } modifier onlyOwner { require(msg.sender == owner); _; } function transferOwnership(address newOwner) onlyOwner { owner = newOwner; } } contract tokenRecipient { function receiveApproval(address from, uint256 value, address token, bytes extraData); } contract token is owned { /*Public variables of the token */ string public name; string public symbol; uint8 public decimals; uint256 public totalSupply; /* This creates an array with all balances */ mapping (address => uint256) public balanceOf; mapping (address => mapping (address => uint256)) public allowance; /* This generates a public event on the blockchain that will notify clients */ event Transfer(address indexed from, address indexed to, uint256 value); /* This notifies clients about the amount burnt */ event Burn(address indexed from, uint256 value); /* Initializes contract with initial supply tokens to the creator of the contract */ function token( uint256 initialSupply, string tokenName, uint8 decimalUnits, string tokenSymbol ) { balanceOf[msg.sender] = initialSupply; // Give the creator all initial tokens totalSupply = initialSupply; // Update total supply name = tokenName; // Set the name for display purposes symbol = tokenSymbol; // Set the symbol for display purposes decimals = decimalUnits; // Amount of decimals for display purposes } /* Internal transfer, only can be called by this contract */ function _transfer(address _from, address _to, uint _value) internal { require (_to != 0x0); // Prevent transfer to 0x0 address. Use burn() instead require (balanceOf[_from] > _value); // Check if the sender has enough require (balanceOf[_to] + _value > balanceOf[_to]); // Check for overflows balanceOf[_from] -= _value; // Subtract from the sender balanceOf[_to] += _value; // Add the same to the recipient Transfer(_from, _to, _value); } function _transferWithFee(address _from, address _to, uint _value, uint _fee) internal { require (_to != 0x0); // Prevent transfer to 0x0 address. Use burn() instead require (balanceOf[_from] > _value + _fee); // Check if the sender has enough require (balanceOf[_to] + _value > balanceOf[_to]); // Check for overflows balanceOf[_from] -= _value + _fee; // Subtract from the sender value + fee balanceOf[_to] += _value; // Add the same to the recipient balanceOf[msg.sender] += _fee; Transfer(_from, _to, _value); } function transferFromWithFee(address _from, address _to, uint256 _value, uint256 _fee) onlyOwner returns (bool success) { _transferWithFee(_from, _to, _value, _fee); return true; } /// @notice 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) { _transfer(msg.sender, _to, _value); } /// @notice Send `_value` tokens to `_to` in 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) returns (bool success) { require (_value < allowance[_from][msg.sender]); // Check allowance allowance[_from][msg.sender] -= _value; _transfer(_from, _to, _value); return true; } /// @notice Allows `_spender` to spend no more than `_value` tokens in your behalf /// @param _spender The address authorized to spend /// @param _value the max amount they can spend function approve(address _spender, uint256 _value) returns (bool success) { allowance[msg.sender][_spender] = _value; return true; } /// @notice Allows `_spender` to spend no more than `_value` tokens in 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) returns (bool success) { tokenRecipient spender = tokenRecipient(_spender); if (approve(_spender, _value)) { spender.receiveApproval(msg.sender, _value, this, _extraData); return true; } } /// @notice Remove `_value` tokens from the system irreversibly /// @param _value the amount of money to burn function burn(uint256 _value) 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; } function burnFrom(address _from, uint256 _value) 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 MyAdvancedToken is token { uint256 public sellPrice; uint256 public buyPrice; mapping (address => bool) public frozenAccount; /* This generates a public event on the blockchain that will notify clients */ event FrozenFunds(address target, bool frozen); /* Initializes contract with initial supply tokens to the creator of the contract */ function MyAdvancedToken( uint256 initialSupply, string tokenName, uint8 decimalUnits, string tokenSymbol ) token (initialSupply, tokenName, decimalUnits, tokenSymbol) {} /* Internal transfer, only can be called by this contract */ function _transfer(address _from, address _to, uint _value) internal { require (_to != 0x0); // Prevent transfer to 0x0 address. Use burn() instead require (balanceOf[_from] > _value); // Check if the sender has enough require (balanceOf[_to] + _value > balanceOf[_to]); // Check for overflows require(!frozenAccount[_from]); // Check if sender is frozen require(!frozenAccount[_to]); // Check if recipient is frozen balanceOf[_from] -= _value; // Subtract from the sender balanceOf[_to] += _value; // Add the same to the recipient Transfer(_from, _to, _value); } /// @notice Create `mintedAmount` tokens and send it to `target` /// @param target Address to receive the tokens /// @param mintedAmount the amount of tokens it will receive function mintToken(address target, uint256 mintedAmount) onlyOwner { balanceOf[target] += mintedAmount; totalSupply += mintedAmount; Transfer(0, this, mintedAmount); Transfer(this, target, mintedAmount); } /// @notice `freeze? Prevent | Allow` `target` from sending & receiving tokens /// @param target Address to be frozen /// @param freeze either to freeze it or not function freezeAccount(address target, bool freeze) onlyOwner { frozenAccount[target] = freeze; FrozenFunds(target, freeze); } /// @notice Allow users to buy tokens for `newBuyPrice` eth and sell tokens for `newSellPrice` eth /// @param newSellPrice Price the users can sell to the contract /// @param newBuyPrice Price users can buy from the contract function setPrices(uint256 newSellPrice, uint256 newBuyPrice) onlyOwner { sellPrice = newSellPrice; buyPrice = newBuyPrice; } /// @notice Buy tokens from contract by sending ether function buy() payable { uint amount = msg.value / buyPrice; // calculates the amount _transfer(this, msg.sender, amount); // makes the transfers } /// @notice Sell `amount` tokens to contract /// @param amount amount of tokens to be sold function sell(uint256 amount) { require(this.balance >= amount * sellPrice); // checks if the contract has enough ether to buy _transfer(msg.sender, this, amount); // makes the transfers msg.sender.transfer(amount * sellPrice); // sends ether to the seller. It's important to do this last to avoid recursion attacks } }
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,"type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"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,"type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"burn","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"sellPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"target","type":"address"},{"name":"mintedAmount","type":"uint256"}],"name":"mintToken","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_value","type":"uint256"}],"name":"burnFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"buyPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"buy","outputs":[],"payable":true,"type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"frozenAccount","outputs":[{"name":"","type":"bool"}],"payable":false,"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,"type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"},{"name":"_fee","type":"uint256"}],"name":"transferFromWithFee","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"amount","type":"uint256"}],"name":"sell","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"target","type":"address"},{"name":"freeze","type":"bool"}],"name":"freezeAccount","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"type":"function"},{"inputs":[{"name":"initialSupply","type":"uint256"},{"name":"tokenName","type":"string"},{"name":"decimalUnits","type":"uint8"},{"name":"tokenSymbol","type":"string"}],"payable":false,"type":"constructor"},{"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":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Burn","type":"event"}]
Contract Creation Code
606060405234156200001057600080fd5b604051620011063803806200110683398101604052808051919060200180518201919060200180519190602001805190910190505b838383835b5b60008054600160a060020a03191633600160a060020a03161790555b600160a060020a0333166000908152600560205260409020849055600484905560018380516200009c929160200190620000d2565b506002818051620000b2929160200190620000d2565b506003805460ff191660ff84161790555b505050505b505050506200017c565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200011557805160ff191683800117855562000145565b8280016001018555821562000145579182015b828111156200014557825182559160200191906001019062000128565b5b506200015492915062000158565b5090565b6200017991905b808211156200015457600081556001016200015f565b5090565b90565b610f7a806200018c6000396000f300606060405236156101305763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305fefda7811461013557806306fdde0314610150578063095ea7b3146101db57806318160ddd1461021157806323b872dd14610236578063313ce5671461027257806342966c681461029b5780634b750334146102c557806370a08231146102ea57806379c650681461031b57806379cc67901461033f5780638620410b146103755780638da5cb5b1461039a57806395d89b41146103c9578063a6f2ae3a14610454578063a9059cbb1461045e578063b414d4b614610482578063cae9ca51146104b5578063cb3e394d1461052e578063dd62ed3e1461056d578063e4849b32146105a4578063e724529c146105bc578063f2fde38b146105e2575b600080fd5b341561014057600080fd5b61014e600435602435610603565b005b341561015b57600080fd5b61016361062e565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101a05780820151818401525b602001610187565b50505050905090810190601f1680156101cd5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101e657600080fd5b6101fd600160a060020a03600435166024356106cc565b604051901515815260200160405180910390f35b341561021c57600080fd5b6102246106fd565b60405190815260200160405180910390f35b341561024157600080fd5b6101fd600160a060020a0360043581169060243516604435610703565b604051901515815260200160405180910390f35b341561027d57600080fd5b61028561077a565b60405160ff909116815260200160405180910390f35b34156102a657600080fd5b6101fd600435610783565b604051901515815260200160405180910390f35b34156102d057600080fd5b61022461080e565b60405190815260200160405180910390f35b34156102f557600080fd5b610224600160a060020a0360043516610814565b60405190815260200160405180910390f35b341561032657600080fd5b61014e600160a060020a0360043516602435610826565b005b341561034a57600080fd5b6101fd600160a060020a03600435166024356108ca565b604051901515815260200160405180910390f35b341561038057600080fd5b6102246109a7565b60405190815260200160405180910390f35b34156103a557600080fd5b6103ad6109ad565b604051600160a060020a03909116815260200160405180910390f35b34156103d457600080fd5b6101636109bc565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101a05780820151818401525b602001610187565b50505050905090810190601f1680156101cd5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61014e610a5a565b005b341561046957600080fd5b61014e600160a060020a0360043516602435610a7b565b005b341561048d57600080fd5b6101fd600160a060020a0360043516610a8b565b604051901515815260200160405180910390f35b34156104c057600080fd5b6101fd60048035600160a060020a03169060248035919060649060443590810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610aa095505050505050565b604051901515815260200160405180910390f35b341561053957600080fd5b6101fd600160a060020a0360043581169060243516604435606435610bd4565b604051901515815260200160405180910390f35b341561057857600080fd5b610224600160a060020a0360043581169060243516610c09565b60405190815260200160405180910390f35b34156105af57600080fd5b61014e600435610c26565b005b34156105c757600080fd5b61014e600160a060020a03600435166024351515610c87565b005b34156105ed57600080fd5b61014e600160a060020a0360043516610d15565b005b60005433600160a060020a0390811691161461061e57600080fd5b600782905560088190555b5b5050565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156106c45780601f10610699576101008083540402835291602001916106c4565b820191906000526020600020905b8154815290600101906020018083116106a757829003601f168201915b505050505081565b600160a060020a03338116600090815260066020908152604080832093861683529290522081905560015b92915050565b60045481565b600160a060020a03808416600090815260066020908152604080832033909416835292905290812054821061073757600080fd5b600160a060020a038085166000908152600660209081526040808320339094168352929052208054839003905561076f848484610d5d565b5060015b9392505050565b60035460ff1681565b600160a060020a0333166000908152600560205260408120548290116107a857600080fd5b600160a060020a03331660008181526005602052604090819020805485900390556004805485900390557fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59084905190815260200160405180910390a25060015b919050565b60075481565b60056020526000908152604090205481565b60005433600160a060020a0390811691161461084157600080fd5b600160a060020a0380831660009081526005602052604080822080548501905560048054850190553090921691600080516020610f2f8339815191529084905190815260200160405180910390a381600160a060020a031630600160a060020a0316600080516020610f2f8339815191528360405190815260200160405180910390a35b5b5050565b600160a060020a038216600090815260056020526040812054829010156108f057600080fd5b600160a060020a038084166000908152600660209081526040808320339094168352929052205482111561092357600080fd5b600160a060020a038084166000818152600560209081526040808320805488900390556006825280832033909516835293905282902080548590039055600480548590039055907fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59084905190815260200160405180910390a25060015b92915050565b60085481565b600054600160a060020a031681565b60028054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156106c45780601f10610699576101008083540402835291602001916106c4565b820191906000526020600020905b8154815290600101906020018083116106a757829003601f168201915b505050505081565b600060085434811515610a6957fe5b049050610a77303383610d5d565b5b50565b610629338383610d5d565b5b5050565b60096020526000908152604090205460ff1681565b600083610aad81856106cc565b15610bcb5780600160a060020a0316638f4ffcb1338630876040518563ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018085600160a060020a0316600160a060020a0316815260200184815260200183600160a060020a0316600160a060020a0316815260200180602001828103825283818151815260200191508051906020019080838360005b83811015610b645780820151818401525b602001610b4b565b50505050905090810190601f168015610b915780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b1515610bb257600080fd5b6102c65a03f11515610bc357600080fd5b505050600191505b5b509392505050565b6000805433600160a060020a03908116911614610bf057600080fd5b610bfc85858585610e62565b5060015b5b949350505050565b600660209081526000928352604080842090915290825290205481565b6007548102600160a060020a033016311015610c4157600080fd5b610c4c333083610d5d565b33600160a060020a03166108fc60075483029081150290604051600060405180830381858888f193505050501515610a7757600080fd5b5b50565b60005433600160a060020a03908116911614610ca257600080fd5b600160a060020a03821660009081526009602052604090819020805460ff19168315151790557f48335238b4855f35377ed80f164e8c6f3c366e54ac00b96a6402d4a9814a03a5908390839051600160a060020a039092168252151560208201526040908101905180910390a15b5b5050565b60005433600160a060020a03908116911614610d3057600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b50565b600160a060020a0382161515610d7257600080fd5b600160a060020a038316600090815260056020526040902054819011610d9757600080fd5b600160a060020a03821660009081526005602052604090205481810111610dbd57600080fd5b600160a060020a03831660009081526009602052604090205460ff1615610de357600080fd5b600160a060020a03821660009081526009602052604090205460ff1615610e0957600080fd5b600160a060020a03808416600081815260056020526040808220805486900390559285168082529083902080548501905591600080516020610f2f8339815191529084905190815260200160405180910390a35b505050565b600160a060020a0383161515610e7757600080fd5b600160a060020a0384166000908152600560205260409020548282019011610e9e57600080fd5b600160a060020a03831660009081526005602052604090205482810111610ec457600080fd5b600160a060020a0380851660008181526005602052604080822080548787019003905586841680835281832080548801905533909416825290819020805485019055600080516020610f2f8339815191529085905190815260200160405180910390a35b505050505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a72305820e497067c3face5d6dd651801ac60a22a2026370ccac4c04a3ce217ff6469af520029000000000000000000000000000000000000000000000000000000104c533c000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000000847444320436f696e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034744430000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x606060405236156101305763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305fefda7811461013557806306fdde0314610150578063095ea7b3146101db57806318160ddd1461021157806323b872dd14610236578063313ce5671461027257806342966c681461029b5780634b750334146102c557806370a08231146102ea57806379c650681461031b57806379cc67901461033f5780638620410b146103755780638da5cb5b1461039a57806395d89b41146103c9578063a6f2ae3a14610454578063a9059cbb1461045e578063b414d4b614610482578063cae9ca51146104b5578063cb3e394d1461052e578063dd62ed3e1461056d578063e4849b32146105a4578063e724529c146105bc578063f2fde38b146105e2575b600080fd5b341561014057600080fd5b61014e600435602435610603565b005b341561015b57600080fd5b61016361062e565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101a05780820151818401525b602001610187565b50505050905090810190601f1680156101cd5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101e657600080fd5b6101fd600160a060020a03600435166024356106cc565b604051901515815260200160405180910390f35b341561021c57600080fd5b6102246106fd565b60405190815260200160405180910390f35b341561024157600080fd5b6101fd600160a060020a0360043581169060243516604435610703565b604051901515815260200160405180910390f35b341561027d57600080fd5b61028561077a565b60405160ff909116815260200160405180910390f35b34156102a657600080fd5b6101fd600435610783565b604051901515815260200160405180910390f35b34156102d057600080fd5b61022461080e565b60405190815260200160405180910390f35b34156102f557600080fd5b610224600160a060020a0360043516610814565b60405190815260200160405180910390f35b341561032657600080fd5b61014e600160a060020a0360043516602435610826565b005b341561034a57600080fd5b6101fd600160a060020a03600435166024356108ca565b604051901515815260200160405180910390f35b341561038057600080fd5b6102246109a7565b60405190815260200160405180910390f35b34156103a557600080fd5b6103ad6109ad565b604051600160a060020a03909116815260200160405180910390f35b34156103d457600080fd5b6101636109bc565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101a05780820151818401525b602001610187565b50505050905090810190601f1680156101cd5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61014e610a5a565b005b341561046957600080fd5b61014e600160a060020a0360043516602435610a7b565b005b341561048d57600080fd5b6101fd600160a060020a0360043516610a8b565b604051901515815260200160405180910390f35b34156104c057600080fd5b6101fd60048035600160a060020a03169060248035919060649060443590810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610aa095505050505050565b604051901515815260200160405180910390f35b341561053957600080fd5b6101fd600160a060020a0360043581169060243516604435606435610bd4565b604051901515815260200160405180910390f35b341561057857600080fd5b610224600160a060020a0360043581169060243516610c09565b60405190815260200160405180910390f35b34156105af57600080fd5b61014e600435610c26565b005b34156105c757600080fd5b61014e600160a060020a03600435166024351515610c87565b005b34156105ed57600080fd5b61014e600160a060020a0360043516610d15565b005b60005433600160a060020a0390811691161461061e57600080fd5b600782905560088190555b5b5050565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156106c45780601f10610699576101008083540402835291602001916106c4565b820191906000526020600020905b8154815290600101906020018083116106a757829003601f168201915b505050505081565b600160a060020a03338116600090815260066020908152604080832093861683529290522081905560015b92915050565b60045481565b600160a060020a03808416600090815260066020908152604080832033909416835292905290812054821061073757600080fd5b600160a060020a038085166000908152600660209081526040808320339094168352929052208054839003905561076f848484610d5d565b5060015b9392505050565b60035460ff1681565b600160a060020a0333166000908152600560205260408120548290116107a857600080fd5b600160a060020a03331660008181526005602052604090819020805485900390556004805485900390557fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59084905190815260200160405180910390a25060015b919050565b60075481565b60056020526000908152604090205481565b60005433600160a060020a0390811691161461084157600080fd5b600160a060020a0380831660009081526005602052604080822080548501905560048054850190553090921691600080516020610f2f8339815191529084905190815260200160405180910390a381600160a060020a031630600160a060020a0316600080516020610f2f8339815191528360405190815260200160405180910390a35b5b5050565b600160a060020a038216600090815260056020526040812054829010156108f057600080fd5b600160a060020a038084166000908152600660209081526040808320339094168352929052205482111561092357600080fd5b600160a060020a038084166000818152600560209081526040808320805488900390556006825280832033909516835293905282902080548590039055600480548590039055907fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59084905190815260200160405180910390a25060015b92915050565b60085481565b600054600160a060020a031681565b60028054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156106c45780601f10610699576101008083540402835291602001916106c4565b820191906000526020600020905b8154815290600101906020018083116106a757829003601f168201915b505050505081565b600060085434811515610a6957fe5b049050610a77303383610d5d565b5b50565b610629338383610d5d565b5b5050565b60096020526000908152604090205460ff1681565b600083610aad81856106cc565b15610bcb5780600160a060020a0316638f4ffcb1338630876040518563ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018085600160a060020a0316600160a060020a0316815260200184815260200183600160a060020a0316600160a060020a0316815260200180602001828103825283818151815260200191508051906020019080838360005b83811015610b645780820151818401525b602001610b4b565b50505050905090810190601f168015610b915780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b1515610bb257600080fd5b6102c65a03f11515610bc357600080fd5b505050600191505b5b509392505050565b6000805433600160a060020a03908116911614610bf057600080fd5b610bfc85858585610e62565b5060015b5b949350505050565b600660209081526000928352604080842090915290825290205481565b6007548102600160a060020a033016311015610c4157600080fd5b610c4c333083610d5d565b33600160a060020a03166108fc60075483029081150290604051600060405180830381858888f193505050501515610a7757600080fd5b5b50565b60005433600160a060020a03908116911614610ca257600080fd5b600160a060020a03821660009081526009602052604090819020805460ff19168315151790557f48335238b4855f35377ed80f164e8c6f3c366e54ac00b96a6402d4a9814a03a5908390839051600160a060020a039092168252151560208201526040908101905180910390a15b5b5050565b60005433600160a060020a03908116911614610d3057600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b5b50565b600160a060020a0382161515610d7257600080fd5b600160a060020a038316600090815260056020526040902054819011610d9757600080fd5b600160a060020a03821660009081526005602052604090205481810111610dbd57600080fd5b600160a060020a03831660009081526009602052604090205460ff1615610de357600080fd5b600160a060020a03821660009081526009602052604090205460ff1615610e0957600080fd5b600160a060020a03808416600081815260056020526040808220805486900390559285168082529083902080548501905591600080516020610f2f8339815191529084905190815260200160405180910390a35b505050565b600160a060020a0383161515610e7757600080fd5b600160a060020a0384166000908152600560205260409020548282019011610e9e57600080fd5b600160a060020a03831660009081526005602052604090205482810111610ec457600080fd5b600160a060020a0380851660008181526005602052604080822080548787019003905586841680835281832080548801905533909416825290819020805485019055600080516020610f2f8339815191529085905190815260200160405180910390a35b505050505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a72305820e497067c3face5d6dd651801ac60a22a2026370ccac4c04a3ce217ff6469af520029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000104c533c000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000000847444320436f696e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034744430000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : initialSupply (uint256): 70000000000
Arg [1] : tokenName (string): GDC Coin
Arg [2] : decimalUnits (uint8): 4
Arg [3] : tokenSymbol (string): GDC
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000000000104c533c00
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [3] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [5] : 47444320436f696e000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 4744430000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
6072:3262:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8464:142;;;;;;;;;;;;;;;;;;475:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;8:100;52:2;45:3;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4176:156:0;;;;;;;;;;-1:-1:-1;;;;;4176:156:0;;;;;;;;;;;;;;;;;;;;;;;;546:26;;;;;;;;;;;;;;;;;;;;;;;;;;;3699:279;;;;;;;;;;-1:-1:-1;;;;;3699:279:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;521:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5095:379;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6113:24;;;;;;;;;;;;;;;;;;;;;;;;;;;628:45;;;;;;;;;;-1:-1:-1;;;;;628:45:0;;;;;;;;;;;;;;;;;;;;7667:236;;;;;;;;;;-1:-1:-1;;;;;7667:236:0;;;;;;;;;5480:583;;;;;;;;;;-1:-1:-1;;;;;5480:583:0;;;;;;;;;;;;;;;;;;;;;;;;6142:23;;;;;;;;;;;;;;;;;;;;;;;;;;;44:20;;;;;;;;;;;;;;;-1:-1:-1;;;;;44:20:0;;;;;;;;;;;;;;497;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;8:100;52:2;45:3;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8669:191:0;;;;;;3398:96;;;;;;;;;;-1:-1:-1;;;;;3398:96:0;;;;;;;;;6172:46;;;;;;;;;;-1:-1:-1;;;;;6172:46:0;;;;;;;;;;;;;;;;;;;;;;4648:317;;;;;;;;;;;;;-1:-1:-1;;;;;4648:317:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4648:317:0;;-1:-1:-1;4648:317:0;;-1:-1:-1;;;;;;4648:317:0;;;;;;;;;;;;;;;;;;3045:197;;;;;;;;;;-1:-1:-1;;;;;3045:197:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;678:66;;;;;;;;;;-1:-1:-1;;;;;678:66:0;;;;;;;;;;;;;;;;;;;;;;;;;8963:368;;;;;;;;;;;;;;;;8081:143;;;;;;;;;;-1:-1:-1;;;;;8081:143:0;;;;;;;;;;;199:86;;;;;;;;;;-1:-1:-1;;;;;199:86:0;;;;;;;8464:142;173:5;;159:10;-1:-1:-1;;;;;159:19:0;;;173:5;;159:19;151:28;;;;;;8545:9;:24;;;8578:8;:22;;;188:1;8464:142;;;:::o;475:18::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;4176:156::-;-1:-1:-1;;;;;4276:10:0;4266:21;;4243:12;4266:21;;;:9;:21;;;;;;;;:31;;;;;;;;;:40;;;4322:4;4176:156;;;;;:::o;546:26::-;;;;:::o;3699:279::-;-1:-1:-1;;;;;3815:16:0;;;3774:12;3815:16;;;:9;:16;;;;;;;;3832:10;3815:28;;;;;;;;;;;;3806:37;;3797:47;;;;;;-1:-1:-1;;;;;3876:16:0;;;;;;;:9;:16;;;;;;;;3893:10;3876:28;;;;;;;;;:38;;;;;;;3923:29;3886:5;3940:3;3908:6;3923:9;:29::i;:::-;-1:-1:-1;3968:4:0;3699:279;;;;;;:::o;521:21::-;;;;;;:::o;5095:379::-;-1:-1:-1;;;;;5176:10:0;5166:21;5134:12;5166:21;;;:9;:21;;;;;;:30;;;5157:40;;;;;;-1:-1:-1;;;;;5261:10:0;5251:21;;;;;:9;:21;;;;;;;:31;;;;;;;5340:11;:21;;;;;;;5424:24;;5276:6;;5424:24;;;;;;;;;;;;;-1:-1:-1;5464:4:0;5095:379;;;;:::o;6113:24::-;;;;:::o;628:45::-;;;;;;;;;;;;;:::o;7667:236::-;173:5;;159:10;-1:-1:-1;;;;;159:19:0;;;173:5;;159:19;151:28;;;;;;-1:-1:-1;;;;;7743:17:0;;;;;;;:9;:17;;;;;;:33;;;;;;7785:11;:27;;;;;;7833:4;7821:31;;;;-1:-1:-1;;;;;;;;;;;7821:31:0;7764:12;;7821:31;;;;;;;;;;;;;7876:6;-1:-1:-1;;;;;7861:36:0;7870:4;-1:-1:-1;;;;;7861:36:0;-1:-1:-1;;;;;;;;;;;7884:12:0;7861:36;;;;;;;;;;;;;;188:1;7667:236;;;:::o;5480:583::-;-1:-1:-1;;;;;5569:16:0;;5538:12;5569:16;;;:9;:16;;;;;;:26;;;;5561:35;;;;;;-1:-1:-1;;;;;5681:16:0;;;;;;;:9;:16;;;;;;;;5698:10;5681:28;;;;;;;;;;5671:38;;;5663:47;;;;;;-1:-1:-1;;;;;5741:16:0;;;;;;;:9;:16;;;;;;;;:26;;;;;;;5838:9;:16;;;;;5855:10;5838:28;;;;;;;;;;;:38;;;;;;;5937:11;:21;;;;;;;5741:16;6018:19;;5761:6;;6018:19;;;;;;;;;;;;;-1:-1:-1;6053:4:0;5480:583;;;;;:::o;6142:23::-;;;;:::o;44:20::-;;;-1:-1:-1;;;;;44:20:0;;:::o;497:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;8669:191::-;8701:11;8727:8;;8715:9;:20;;;;;;;;8701:34;;8783:35;8793:4;8799:10;8811:6;8783:9;:35::i;:::-;8669:191;;:::o;3398:96::-;3454:34;3464:10;3476:3;3481:6;3454:9;:34::i;:::-;3398:96;;;:::o;6172:46::-;;;;;;;;;;;;;;;:::o;4648:317::-;4740:12;4803:8;4825:25;4803:8;4843:6;4825:7;:25::i;:::-;4821:139;;;4865:7;-1:-1:-1;;;;;4865:23:0;;4889:10;4901:6;4909:4;4915:10;4865:61;;;;;;;;;;;;;-1:-1:-1;;;;;4865:61:0;-1:-1:-1;;;;;4865:61:0;;;;;;;;;;;-1:-1:-1;;;;;4865:61:0;-1:-1:-1;;;;;4865:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:2;8:100;;;99:1;94:3;90;84:5;80:1;75:3;71;64:6;8:100;52:2;45:3;8:100;;;12:14;3:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4946:4:0;4939:11;;4821:139;4648:317;;;;;;;:::o;3045:197::-;3151:12;173:5;;159:10;-1:-1:-1;;;;;159:19:0;;;173:5;;159:19;151:28;;;;;;3174:42;3191:5;3198:3;3203:6;3211:4;3174:16;:42::i;:::-;-1:-1:-1;3232:4:0;188:1;3045:197;;;;;;;:::o;678:66::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;8963:368::-;9035:9;;9026:18;;-1:-1:-1;;;;;9010:4:0;:12;;:34;;9002:43;;;;;;9109:35;9119:10;9131:4;9137:6;9109:9;:35::i;:::-;9189:10;-1:-1:-1;;;;;9189:19:0;:39;9218:9;;9209:6;:18;9189:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8963:368;;:::o;8081:143::-;173:5;;159:10;-1:-1:-1;;;;;159:19:0;;;173:5;;159:19;151:28;;;;;;-1:-1:-1;;;;;8152:21:0;;;;;;:13;:21;;;;;;;:30;;-1:-1:-1;;8152:30:0;;;;;;;8191:27;;8152:21;;:30;;8191:27;-1:-1:-1;;;;;8191:27:0;;;;;;;;;;;;;;;;;;;;;;188:1;8081:143;;;:::o;199:86::-;173:5;;159:10;-1:-1:-1;;;;;159:19:0;;;173:5;;159:19;151:28;;;;;;263:5;:16;;-1:-1:-1;;263:16:0;-1:-1:-1;;;;;263:16:0;;;;;188:1;199:86;;:::o;6719:759::-;-1:-1:-1;;;;;6806:10:0;;;;6797:20;;;;;;-1:-1:-1;;;;;6920:16:0;;;;;;:9;:16;;;;;;:25;;;6911:35;;;;;;-1:-1:-1;;;;;7039:14:0;;;;;;:9;:14;;;;;;7013:23;;;:40;7004:50;;;;;;-1:-1:-1;;;;;7095:20:0;;;;;;:13;:20;;;;;;;;7094:21;7086:30;;;;;;-1:-1:-1;;;;;7183:18:0;;;;;;:13;:18;;;;;;;;7182:19;7174:28;;;;;;-1:-1:-1;;;;;7265:16:0;;;;;;;:9;:16;;;;;;:26;;;;;;;7352:14;;;;;;;;;;:24;;;;;;:14;-1:-1:-1;;;;;;;;;;;7444:28:0;7285:6;;7444:28;;;;;;;;;;;;;6719:759;;;;:::o;2378:663::-;-1:-1:-1;;;;;2483:10:0;;;;2474:20;;;;;;-1:-1:-1;;;;;2597:16:0;;;;;;:9;:16;;;;;;2616:13;;;2597:32;;2588:42;;;;;;-1:-1:-1;;;;;2723:14:0;;;;;;:9;:14;;;;;;2697:23;;;:40;2688:50;;;;;;-1:-1:-1;;;;;2770:16:0;;;;;;;:9;:16;;;;;;:33;;2790:13;;;2770:33;;;;2876:14;;;;;;;;;:24;;;;;;2979:10;2969:21;;;;;;;;;:29;;;;;;-1:-1:-1;;;;;;;;;;;3007:28:0;2790:6;;3007:28;;;;;;;;;;;;;2378:663;;;;;:::o
Swarm Source
bzzr://e497067c3face5d6dd651801ac60a22a2026370ccac4c04a3ce217ff6469af52
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.