ETH Price: $3,231.03 (+1.88%)

Token

Getseeds Token (GSD)
 

Overview

Max Total Supply

10,000,000,000 GSD

Holders

352

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
2,500 GSD

Value
$0.00
0x8890d0a3316f90f9613faebc10c4bfa0add0fbc9
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:
GSDToken

Compiler Version
v0.4.21-nightly.2018.3.1+commit.cf6720ea

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.4.8;

/* Getseeds Token (GSD) source code. */
  
 contract GSDToken {
     
    // Get the total token supply
  
    // Triggered when tokens are transferred.
    event Transfer(address indexed _from, address indexed _to, uint256 _value);
  
    // Triggered whenever approve(address _spender, uint256 _value) is called.
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);

    /* This notifies clients about the XBL amount burned */
    event Burn(address indexed from, uint256 value);
    
    // And we begin:
    string public constant symbol = "GSD";
    string public constant name = "Getseeds Token";
    uint8 public constant decimals = 18;
    uint256 _totalSupply = 100000000000000000000000000000;    // 100,000,000,000 tokens with 18 decimal places.
    uint256 _totalBurned = 0;                            // Total burned initially starts at 0.
     
    /* The owner of this contract (initial address) */
    address public owner;
  
    /* Dictionary containing balances for each account */
    mapping(address => uint256) balances;
  
    /* Owner of account can approve (allow) the transfer of an amount to another account */
    mapping(address => mapping (address => uint256)) allowed;
  
     // Functions with this modifier can only be executed by the owner
    modifier onlyOwner() 
     {
         if (msg.sender != owner) 
         {
             throw;
         }
         _;
     }
  
     // Constructor:
     function GSDToken() 
     {
        owner = msg.sender;
        balances[owner] = _totalSupply;
     }
  
     function totalSupply() constant returns (uint256 l_totalSupply) 
     {
        l_totalSupply = _totalSupply;
     }

     function totalBurned() constant returns (uint256 l_totalBurned)
     {
        l_totalBurned = _totalBurned;
     }
  
     /* What is the balance of a particular account? */
     function balanceOf(address _owner) constant returns (uint256 balance) 
     {
        return balances[_owner];
     }
  
     /* Transfer the balance from owner's account to another account. */
     function transfer(address _to, uint256 _amount) returns (bool success) 
     {
        if (_to == 0x0) throw;      /* Prevents transferring to 0x0 addresses. Use burn() instead. */

        if (balances[msg.sender] >= _amount && _amount > 0 && balances[_to] + _amount > balances[_to]) 
        {
            balances[msg.sender] -= _amount;
            balances[_to] += _amount;
            Transfer(msg.sender, _to, _amount);
            return true;
         } 
         else 
         {
            return false;
         }
     }
  
     // Send _value amount of tokens from address _from to address _to
     // The transferFrom method is used for a withdraw workflow, allowing contracts to send
     // tokens on your behalf, for example to "deposit" to a contract address and/or to charge
     // fees in sub-currencies; the command should fail unless the _from account has
     // deliberately authorized the sender of the message via some mechanism; we propose
     // these standardized APIs for approval:
     function transferFrom(address _from, address _to, uint256 _amount) returns (bool success) 
     {
        if (_to == 0x0) throw;      /* Prevents transferring to 0x0 addresses. Use burn() instead. */

        if (balances[_from] >= _amount && allowed[_from][msg.sender] >= _amount && _amount > 0 && balances[_to] + _amount > balances[_to]) 
        {
            balances[_from] -= _amount;
            allowed[_from][msg.sender] -= _amount;
            balances[_to] += _amount;
            Transfer(_from, _to, _amount);
            return true;
         } 
         else 
         {
            return false;
         }
     }
  
     // Allow _spender to withdraw from your account, multiple times, up to the _value amount.
     // If this function is called again it overwrites the current allowance with _value.
     function approve(address _spender, uint256 _amount) returns (bool success) 
     {
        allowed[msg.sender][_spender] = _amount;
        Approval(msg.sender, _spender, _amount);
        return true;
     }
  
     /* Is the _spender allowed to spend on the behalf of the _owner? */ 
     function allowance(address _owner, address _spender) constant returns (uint256 remaining) 
     {
        return allowed[_owner][_spender];
     }

    function burn(uint256 _value) returns (bool success) 
    {
        if (balances[msg.sender] < _value) throw;            // Check if the sender has enough
        balances[msg.sender] -= _value;                      // Subtract from the sender
        /* Updating indicator variables */
        _totalSupply -= _value;          
        _totalBurned += _value;                             
        /* Send the event notification */
        Burn(msg.sender, _value);
        return true;
    }

    function burnFrom(address _from, uint256 _value) returns (bool success) 
    {
        if (balances[_from] < _value) throw;                // Check if the sender has enough
        if (_value > allowed[_from][msg.sender]) throw;     // Check allowance
        balances[_from] -= _value;                          // Subtract from the sender
        /* Updating indicator variables */
        _totalSupply -= _value;                           
        _totalBurned += _value;
        /* Send the event notification */
        Burn(_from, _value);
        return true;
    }
 }

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_amount","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"l_totalSupply","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_amount","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":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","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":"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":"_amount","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalBurned","outputs":[{"name":"l_totalBurned","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"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":"from","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Burn","type":"event"}]

60606040526c01431e0fae6d7217caa00000006000556000600155341561002557600080fd5b60028054600160a060020a03338116600160a060020a0319909216919091179182905560008054929091168152600360205260409020556107c68061006b6000396000f3006060604052600436106100c45763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100c9578063095ea7b31461015357806318160ddd1461018957806323b872dd146101ae578063313ce567146101d657806342966c68146101ff57806370a082311461021557806379cc6790146102345780638da5cb5b1461025657806395d89b4114610285578063a9059cbb14610298578063d89135cd146102ba578063dd62ed3e146102cd575b600080fd5b34156100d457600080fd5b6100dc6102f2565b60405160208082528190810183818151815260200191508051906020019080838360005b83811015610118578082015183820152602001610100565b50505050905090810190601f1680156101455780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561015e57600080fd5b610175600160a060020a0360043516602435610329565b604051901515815260200160405180910390f35b341561019457600080fd5b61019c610396565b60405190815260200160405180910390f35b34156101b957600080fd5b610175600160a060020a036004358116906024351660443561039c565b34156101e157600080fd5b6101e96104ce565b60405160ff909116815260200160405180910390f35b341561020a57600080fd5b6101756004356104d3565b341561022057600080fd5b61019c600160a060020a0360043516610564565b341561023f57600080fd5b610175600160a060020a036004351660243561057f565b341561026157600080fd5b610269610644565b604051600160a060020a03909116815260200160405180910390f35b341561029057600080fd5b6100dc610653565b34156102a357600080fd5b610175600160a060020a036004351660243561068a565b34156102c557600080fd5b61019c610769565b34156102d857600080fd5b61019c600160a060020a036004358116906024351661076f565b60408051908101604052600e81527f476574736565647320546f6b656e000000000000000000000000000000000000602082015281565b600160a060020a03338116600081815260046020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b60005490565b6000600160a060020a03831615156103b357600080fd5b600160a060020a0384166000908152600360205260409020548290108015906104035750600160a060020a0380851660009081526004602090815260408083203390941683529290522054829010155b801561040f5750600082115b80156104345750600160a060020a038316600090815260036020526040902054828101115b156104c357600160a060020a0380851660008181526003602081815260408084208054899003905560048252808420338716855282528084208054899003905594881680845291905290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060016104c7565b5060005b9392505050565b601281565b600160a060020a033316600090815260036020526040812054829010156104f957600080fd5b600160a060020a03331660008181526003602052604080822080548690039055815485900390915560018054850190557fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59084905190815260200160405180910390a2506001919050565b600160a060020a031660009081526003602052604090205490565b600160a060020a038216600090815260036020526040812054829010156105a557600080fd5b600160a060020a03808416600090815260046020908152604080832033909416835292905220548211156105d857600080fd5b600160a060020a03831660008181526003602052604080822080548690039055815485900390915560018054850190557fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59084905190815260200160405180910390a250600192915050565b600254600160a060020a031681565b60408051908101604052600381527f4753440000000000000000000000000000000000000000000000000000000000602082015281565b6000600160a060020a03831615156106a157600080fd5b600160a060020a0333166000908152600360205260409020548290108015906106ca5750600082115b80156106ef5750600160a060020a038316600090815260036020526040902054828101115b1561076157600160a060020a033381166000818152600360205260408082208054879003905592861680825290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a3506001610390565b506000610390565b60015490565b600160a060020a039182166000908152600460209081526040808320939094168252919091522054905600a165627a7a72305820ee6d1a742fe654ea44466ea19b49a3a49b9bf97003eb51bea30d8bfa11bfd9b10029

Deployed Bytecode

0x6060604052600436106100c45763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100c9578063095ea7b31461015357806318160ddd1461018957806323b872dd146101ae578063313ce567146101d657806342966c68146101ff57806370a082311461021557806379cc6790146102345780638da5cb5b1461025657806395d89b4114610285578063a9059cbb14610298578063d89135cd146102ba578063dd62ed3e146102cd575b600080fd5b34156100d457600080fd5b6100dc6102f2565b60405160208082528190810183818151815260200191508051906020019080838360005b83811015610118578082015183820152602001610100565b50505050905090810190601f1680156101455780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561015e57600080fd5b610175600160a060020a0360043516602435610329565b604051901515815260200160405180910390f35b341561019457600080fd5b61019c610396565b60405190815260200160405180910390f35b34156101b957600080fd5b610175600160a060020a036004358116906024351660443561039c565b34156101e157600080fd5b6101e96104ce565b60405160ff909116815260200160405180910390f35b341561020a57600080fd5b6101756004356104d3565b341561022057600080fd5b61019c600160a060020a0360043516610564565b341561023f57600080fd5b610175600160a060020a036004351660243561057f565b341561026157600080fd5b610269610644565b604051600160a060020a03909116815260200160405180910390f35b341561029057600080fd5b6100dc610653565b34156102a357600080fd5b610175600160a060020a036004351660243561068a565b34156102c557600080fd5b61019c610769565b34156102d857600080fd5b61019c600160a060020a036004358116906024351661076f565b60408051908101604052600e81527f476574736565647320546f6b656e000000000000000000000000000000000000602082015281565b600160a060020a03338116600081815260046020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b60005490565b6000600160a060020a03831615156103b357600080fd5b600160a060020a0384166000908152600360205260409020548290108015906104035750600160a060020a0380851660009081526004602090815260408083203390941683529290522054829010155b801561040f5750600082115b80156104345750600160a060020a038316600090815260036020526040902054828101115b156104c357600160a060020a0380851660008181526003602081815260408084208054899003905560048252808420338716855282528084208054899003905594881680845291905290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060016104c7565b5060005b9392505050565b601281565b600160a060020a033316600090815260036020526040812054829010156104f957600080fd5b600160a060020a03331660008181526003602052604080822080548690039055815485900390915560018054850190557fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59084905190815260200160405180910390a2506001919050565b600160a060020a031660009081526003602052604090205490565b600160a060020a038216600090815260036020526040812054829010156105a557600080fd5b600160a060020a03808416600090815260046020908152604080832033909416835292905220548211156105d857600080fd5b600160a060020a03831660008181526003602052604080822080548690039055815485900390915560018054850190557fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca59084905190815260200160405180910390a250600192915050565b600254600160a060020a031681565b60408051908101604052600381527f4753440000000000000000000000000000000000000000000000000000000000602082015281565b6000600160a060020a03831615156106a157600080fd5b600160a060020a0333166000908152600360205260409020548290108015906106ca5750600082115b80156106ef5750600160a060020a038316600090815260036020526040902054828101115b1561076157600160a060020a033381166000818152600360205260408082208054879003905592861680825290839020805486019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a3506001610390565b506000610390565b60015490565b600160a060020a039182166000908152600460209081526040808320939094168252919091522054905600a165627a7a72305820ee6d1a742fe654ea44466ea19b49a3a49b9bf97003eb51bea30d8bfa11bfd9b10029

Swarm Source

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