ETH Price: $3,402.58 (+2.04%)
Gas: 2.87 Gwei

Token

StreamPay Token (STPY)
 

Overview

Max Total Supply

20,000,000 STPY

Holders

486

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0 STPY

Value
$0.00
0x456c93fe8b3995400ab57255bc4fc8fa69f15927
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:
StreampayToken

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2019-04-01
*/

pragma solidity ^0.4.16;

 

interface IERC20 {
    function totalSupply() constant returns (uint256 totalSupply);
    function balanceOf(address _owner) constant returns (uint256 balance);
    function transfer(address _to, uint256 _value) returns (bool success);
    function transferFrom(address _from, address _to, uint256 _value) returns (bool success);
    function approve(address _spender, uint256 _value) returns (bool success);
    function allowance(address _owner, address _spender) constant returns (uint256 remaining);
    event Transfer(address indexed _from, address indexed _to, uint256 _value);
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);
}




contract StreampayToken is IERC20 {
    // Public variables of the token
    uint256 public constant _totalSupply = 20000000 * 10**18;
    string public constant name = "StreamPay Token";
    string public constant symbol = "STPY";
    uint256 public constant decimals = 18;
    // 18 decimals is the strongly suggested default, avoid changing it
    

    // This creates an array with all balances
    mapping (address => uint256) balances;
    mapping (address => mapping (address => uint256)) allowed;
    
    function StreampayToken () public
    {
        balances[msg.sender] = _totalSupply;
    }

    function totalSupply() constant returns (uint256 totalSupply)   
    {
        return _totalSupply;
    }
    function balanceOf(address _owner)  constant public returns (uint256 balance)
    {
        return balances[_owner];
    }
    
    function transfer(address _to, uint256 _value)public returns (bool success)
    {
        require(
            balances[msg.sender] >= _value && _value > 0
            );
            balances[msg.sender] -= _value;
            balances[_to] += _value;
            Transfer(msg.sender, _to, _value);
            return true;
    }
    
    function transferFrom(address _from, address _to, uint256 _value) public returns (bool success)
    {
        require(
            allowed[_from][msg.sender] >= _value && balances[_from] >= _value && _value > 0
            );
            balances[_from] -= _value;
            balances[_to] += _value;
            allowed[_from][msg.sender] -= _value;
            Transfer(_from, _to, _value);
            return true;
    }
    
    
    function approve(address _spender, uint256 _value) public returns (bool success)
    {
        allowed[msg.sender][_spender] = _value;
        Approval(msg.sender, _spender, _value);
        return true;
    }
    
    function allowance(address _owner, address _spender) constant public returns  (uint256 remaining)
    {
        return allowed[_owner][_spender];
    }
    
     
 event Transfer(address indexed _from, address indexed _to, uint256 _value);
    event Approval(address indexed _owner, address indexed _spender, uint256 _value);

   
 

     
}

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":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"totalSupply","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":true,"inputs":[],"name":"_totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","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":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","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"}]

608060405234801561001057600080fd5b503360009081526020819052604090206a108b2a2c28029094000000905561054f8061003d6000396000f3006080604052600436106100a35763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100a8578063095ea7b31461013257806318160ddd1461016a57806323b872dd14610191578063313ce567146101bb5780633eaaf86b146101d057806370a08231146101e557806395d89b4114610206578063a9059cbb1461021b578063dd62ed3e1461023f575b600080fd5b3480156100b457600080fd5b506100bd610266565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100f75781810151838201526020016100df565b50505050905090810190601f1680156101245780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561013e57600080fd5b50610156600160a060020a036004351660243561029d565b604080519115158252519081900360200190f35b34801561017657600080fd5b5061017f610303565b60408051918252519081900360200190f35b34801561019d57600080fd5b50610156600160a060020a0360043581169060243516604435610312565b3480156101c757600080fd5b5061017f6103fc565b3480156101dc57600080fd5b5061017f610401565b3480156101f157600080fd5b5061017f600160a060020a0360043516610410565b34801561021257600080fd5b506100bd61042b565b34801561022757600080fd5b50610156600160a060020a0360043516602435610462565b34801561024b57600080fd5b5061017f600160a060020a03600435811690602435166104f8565b60408051808201909152600f81527f53747265616d50617920546f6b656e0000000000000000000000000000000000602082015281565b336000818152600160209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b6a108b2a2c2802909400000090565b600160a060020a0383166000908152600160209081526040808320338452909152812054821180159061035d5750600160a060020a0384166000908152602081905260409020548211155b80156103695750600082115b151561037457600080fd5b600160a060020a038085166000818152602081815260408083208054889003905593871680835284832080548801905583835260018252848320338452825291849020805487900390558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35060019392505050565b601281565b6a108b2a2c2802909400000081565b600160a060020a031660009081526020819052604090205490565b60408051808201909152600481527f5354505900000000000000000000000000000000000000000000000000000000602082015281565b3360009081526020819052604081205482118015906104815750600082115b151561048c57600080fd5b3360008181526020818152604080832080548790039055600160a060020a03871680845292819020805487019055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a350600192915050565b600160a060020a039182166000908152600160209081526040808320939094168252919091522054905600a165627a7a72305820bd798fffa79e4f75a08dc2a1aec2d9e18764ccf3b1d4e1cdcc598ad5de85b0310029

Deployed Bytecode

0x6080604052600436106100a35763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100a8578063095ea7b31461013257806318160ddd1461016a57806323b872dd14610191578063313ce567146101bb5780633eaaf86b146101d057806370a08231146101e557806395d89b4114610206578063a9059cbb1461021b578063dd62ed3e1461023f575b600080fd5b3480156100b457600080fd5b506100bd610266565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100f75781810151838201526020016100df565b50505050905090810190601f1680156101245780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561013e57600080fd5b50610156600160a060020a036004351660243561029d565b604080519115158252519081900360200190f35b34801561017657600080fd5b5061017f610303565b60408051918252519081900360200190f35b34801561019d57600080fd5b50610156600160a060020a0360043581169060243516604435610312565b3480156101c757600080fd5b5061017f6103fc565b3480156101dc57600080fd5b5061017f610401565b3480156101f157600080fd5b5061017f600160a060020a0360043516610410565b34801561021257600080fd5b506100bd61042b565b34801561022757600080fd5b50610156600160a060020a0360043516602435610462565b34801561024b57600080fd5b5061017f600160a060020a03600435811690602435166104f8565b60408051808201909152600f81527f53747265616d50617920546f6b656e0000000000000000000000000000000000602082015281565b336000818152600160209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b6a108b2a2c2802909400000090565b600160a060020a0383166000908152600160209081526040808320338452909152812054821180159061035d5750600160a060020a0384166000908152602081905260409020548211155b80156103695750600082115b151561037457600080fd5b600160a060020a038085166000818152602081815260408083208054889003905593871680835284832080548801905583835260018252848320338452825291849020805487900390558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35060019392505050565b601281565b6a108b2a2c2802909400000081565b600160a060020a031660009081526020819052604090205490565b60408051808201909152600481527f5354505900000000000000000000000000000000000000000000000000000000602082015281565b3360009081526020819052604081205482118015906104815750600082115b151561048c57600080fd5b3360008181526020818152604080832080548790039055600160a060020a03871680845292819020805487019055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a350600192915050565b600160a060020a039182166000908152600160209081526040808320939094168252919091522054905600a165627a7a72305820bd798fffa79e4f75a08dc2a1aec2d9e18764ccf3b1d4e1cdcc598ad5de85b0310029

Swarm Source

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