ETH Price: $3,407.67 (+3.42%)

Token

Wallstreetbets (WSB)
 

Overview

Max Total Supply

69,420 WSB

Holders

84

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
1 WSB

Value
$0.00
0x1376F462A27C2b9cE6E2086BEEe92a6e6B31a4Ca
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:
ERC20Basic

Compiler Version
v0.6.0+commit.26b70077

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at Etherscan.io on 2020-08-14
*/

pragma solidity 0.6.0;

contract ERC20Basic {

    string public constant name = "Wallstreetbets";
    string public constant symbol = "WSB";
    uint8 public constant decimals = 18; 


    event Approval(address indexed tokenOwner, address indexed spender, uint tokens);
    event Transfer(address indexed from, address indexed to, uint tokens);


    mapping(address => uint256) balances;

    mapping(address => mapping (address => uint256)) allowed;
    
    uint256 totalSupply_;

    using SafeMath for uint256;


   constructor(uint256 total) public {  
	totalSupply_ = total;
	balances[msg.sender] = totalSupply_;
    }  

    function totalSupply() public view returns (uint256) {
	return totalSupply_;
    }
    
    function balanceOf(address tokenOwner) public view returns (uint) {
        return balances[tokenOwner];
    }

    function transfer(address receiver, uint numTokens) public returns (bool) {
        require(numTokens <= balances[msg.sender]);
        balances[msg.sender] = balances[msg.sender].sub(numTokens);
        balances[receiver] = balances[receiver].add(numTokens);
        emit Transfer(msg.sender, receiver, numTokens);
        return true;
    }

    function approve(address delegate, uint numTokens) public returns (bool) {
        allowed[msg.sender][delegate] = numTokens;
        emit Approval(msg.sender, delegate, numTokens);
        return true;
    }

    function allowance(address owner, address delegate) public view returns (uint) {
        return allowed[owner][delegate];
    }

    function transferFrom(address owner, address buyer, uint numTokens) public returns (bool) {
        require(numTokens <= balances[owner]);    
        require(numTokens <= allowed[owner][msg.sender]);
    
        balances[owner] = balances[owner].sub(numTokens);
        allowed[owner][msg.sender] = allowed[owner][msg.sender].sub(numTokens);
        balances[buyer] = balances[buyer].add(numTokens);
        emit Transfer(owner, buyer, numTokens);
        return true;
    }
}

library SafeMath { 
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
      assert(b <= a);
      return a - b;
    }
    
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
      uint256 c = a + b;
      assert(c >= a);
      return c;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"total","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"tokenOwner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"delegate","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"delegate","type":"address"},{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenOwner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"buyer","type":"address"},{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b506040516106273803806106278339818101604052602081101561003357600080fd5b50516002819055336000908152602081905260409020556105ce806100596000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce567146101a557806370a08231146101c357806395d89b41146101e9578063a9059cbb146101f1578063dd62ed3e1461021d57610093565b806306fdde0314610098578063095ea7b31461011557806318160ddd1461015557806323b872dd1461016f575b600080fd5b6100a061024b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100da5781810151838201526020016100c2565b50505050905090810190601f1680156101075780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101416004803603604081101561012b57600080fd5b506001600160a01b038135169060200135610275565b604080519115158252519081900360200190f35b61015d6102db565b60408051918252519081900360200190f35b6101416004803603606081101561018557600080fd5b506001600160a01b038135811691602081013590911690604001356102e1565b6101ad61043c565b6040805160ff9092168252519081900360200190f35b61015d600480360360208110156101d957600080fd5b50356001600160a01b0316610441565b6100a061045c565b6101416004803603604081101561020757600080fd5b506001600160a01b03813516906020013561047b565b61015d6004803603604081101561023357600080fd5b506001600160a01b0381358116916020013516610545565b6040518060400160405280600e81526020016d57616c6c7374726565746265747360901b81525081565b3360008181526001602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60025490565b6001600160a01b03831660009081526020819052604081205482111561030657600080fd5b6001600160a01b038416600090815260016020908152604080832033845290915290205482111561033657600080fd5b6001600160a01b03841660009081526020819052604090205461035f908363ffffffff61057016565b6001600160a01b03851660009081526020818152604080832093909355600181528282203383529052205461039a908363ffffffff61057016565b6001600160a01b03808616600090815260016020908152604080832033845282528083209490945591861681529081905220546103dd908363ffffffff61058216565b6001600160a01b038085166000818152602081815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b601281565b6001600160a01b031660009081526020819052604090205490565b604051806040016040528060038152602001622ba9a160e91b81525081565b3360009081526020819052604081205482111561049757600080fd5b336000908152602081905260409020546104b7908363ffffffff61057016565b33600090815260208190526040808220929092556001600160a01b038516815220546104e9908363ffffffff61058216565b6001600160a01b038416600081815260208181526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60008282111561057c57fe5b50900390565b60008282018381101561059157fe5b939250505056fea26469706673582212208d17ee28f98bb920bcca7b0cf38f5b7ec4f0aa4178d2e639f040dcf21f4e650664736f6c63430006000033000000000000000000000000000000000000000000000eb344079513a1300000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce567146101a557806370a08231146101c357806395d89b41146101e9578063a9059cbb146101f1578063dd62ed3e1461021d57610093565b806306fdde0314610098578063095ea7b31461011557806318160ddd1461015557806323b872dd1461016f575b600080fd5b6100a061024b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100da5781810151838201526020016100c2565b50505050905090810190601f1680156101075780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101416004803603604081101561012b57600080fd5b506001600160a01b038135169060200135610275565b604080519115158252519081900360200190f35b61015d6102db565b60408051918252519081900360200190f35b6101416004803603606081101561018557600080fd5b506001600160a01b038135811691602081013590911690604001356102e1565b6101ad61043c565b6040805160ff9092168252519081900360200190f35b61015d600480360360208110156101d957600080fd5b50356001600160a01b0316610441565b6100a061045c565b6101416004803603604081101561020757600080fd5b506001600160a01b03813516906020013561047b565b61015d6004803603604081101561023357600080fd5b506001600160a01b0381358116916020013516610545565b6040518060400160405280600e81526020016d57616c6c7374726565746265747360901b81525081565b3360008181526001602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60025490565b6001600160a01b03831660009081526020819052604081205482111561030657600080fd5b6001600160a01b038416600090815260016020908152604080832033845290915290205482111561033657600080fd5b6001600160a01b03841660009081526020819052604090205461035f908363ffffffff61057016565b6001600160a01b03851660009081526020818152604080832093909355600181528282203383529052205461039a908363ffffffff61057016565b6001600160a01b03808616600090815260016020908152604080832033845282528083209490945591861681529081905220546103dd908363ffffffff61058216565b6001600160a01b038085166000818152602081815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b601281565b6001600160a01b031660009081526020819052604090205490565b604051806040016040528060038152602001622ba9a160e91b81525081565b3360009081526020819052604081205482111561049757600080fd5b336000908152602081905260409020546104b7908363ffffffff61057016565b33600090815260208190526040808220929092556001600160a01b038516815220546104e9908363ffffffff61058216565b6001600160a01b038416600081815260208181526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60008282111561057c57fe5b50900390565b60008282018381101561059157fe5b939250505056fea26469706673582212208d17ee28f98bb920bcca7b0cf38f5b7ec4f0aa4178d2e639f040dcf21f4e650664736f6c63430006000033

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

000000000000000000000000000000000000000000000eb344079513a1300000

-----Decoded View---------------
Arg [0] : total (uint256): 69420000000000000000000

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000eb344079513a1300000


Deployed Bytecode Sourcemap

26:2053:0:-:0;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;26:2053:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55:46;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;55:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1234:212;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1234:212:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;662:84;;;:::i;:::-;;;;;;;;;;;;;;;;1591:485;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1591:485:0;;;;;;;;;;;;;;;;;:::i;152:35::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;758:112;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;758:112:0;-1:-1:-1;;;;;758:112:0;;:::i;108:37::-;;;:::i;878:348::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;878:348:0;;;;;;;;:::i;1454:129::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1454:129:0;;;;;;;;;;:::i;55:46::-;;;;;;;;;;;;;;-1:-1:-1;;;55:46:0;;;;:::o;1234:212::-;1326:10;1301:4;1318:19;;;:7;:19;;;;;;;;-1:-1:-1;;;;;1318:29:0;;;;;;;;;;;:41;;;1375;;;;;;;1301:4;;1318:29;;1326:10;;1375:41;;;;;;;;-1:-1:-1;1434:4:0;1234:212;;;;:::o;662:84::-;726:12;;662:84;:::o;1591:485::-;-1:-1:-1;;;;;1713:15:0;;1675:4;1713:15;;;;;;;;;;;1700:28;;;1692:37;;;;;;-1:-1:-1;;;;;1765:14:0;;;;;;:7;:14;;;;;;;;1780:10;1765:26;;;;;;;;1752:39;;;1744:48;;;;;;-1:-1:-1;;;;;1827:15:0;;:8;:15;;;;;;;;;;;:30;;1847:9;1827:30;:19;:30;:::i;:::-;-1:-1:-1;;;;;1809:15:0;;:8;:15;;;;;;;;;;;:48;;;;1897:7;:14;;;;;1912:10;1897:26;;;;;;:41;;1928:9;1897:41;:30;:41;:::i;:::-;-1:-1:-1;;;;;1868:14:0;;;;;;;:7;:14;;;;;;;;1883:10;1868:26;;;;;;;:70;;;;1967:15;;;;;;;;;;;:30;;1987:9;1967:30;:19;:30;:::i;:::-;-1:-1:-1;;;;;1949:15:0;;;:8;:15;;;;;;;;;;;;:48;;;;2013:33;;;;;;;1949:15;;2013:33;;;;;;;;;;;;;-1:-1:-1;2064:4:0;1591:485;;;;;:::o;152:35::-;185:2;152:35;:::o;758:112::-;-1:-1:-1;;;;;842:20:0;818:4;842:20;;;;;;;;;;;;758:112::o;108:37::-;;;;;;;;;;;;;;-1:-1:-1;;;108:37:0;;;;:::o;878:348::-;993:10;946:4;984:20;;;;;;;;;;;971:33;;;963:42;;;;;;1048:10;1039:8;:20;;;;;;;;;;;:35;;1064:9;1039:35;:24;:35;:::i;:::-;1025:10;1016:8;:20;;;;;;;;;;;:58;;;;-1:-1:-1;;;;;1106:18:0;;;;;;:33;;1129:9;1106:33;:22;:33;:::i;:::-;-1:-1:-1;;;;;1085:18:0;;:8;:18;;;;;;;;;;;;:54;;;;1155:41;;;;;;;1085:18;;1164:10;;1155:41;;;;;;;;;;-1:-1:-1;1214:4:0;878:348;;;;:::o;1454:129::-;-1:-1:-1;;;;;1551:14:0;;;1527:4;1551:14;;;:7;:14;;;;;;;;:24;;;;;;;;;;;;;1454:129::o;2108:119::-;2166:7;2196:1;2191;:6;;2184:14;;;;-1:-1:-1;2214:5:0;;;2108:119::o;2239:141::-;2297:7;2327:5;;;2348:6;;;;2341:14;;;;2371:1;2239:141;-1:-1:-1;;;2239:141:0:o

Swarm Source

ipfs://8d17ee28f98bb920bcca7b0cf38f5b7ec4f0aa4178d2e639f040dcf21f4e6506
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.