ETH Price: $3,358.33 (-2.88%)

Token

NewYork Stock Exchange (NYSEBTC)
 

Overview

Max Total Supply

700 NYSEBTC

Holders

7

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
11.255357033260033695 NYSEBTC

Value
$0.00
0xa3b5ffee94f9ba0cc8e4140416f1a21c95ad112b
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:
FixedSupplyToken

Compiler Version
v0.5.10+commit.5a6ea5b1

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at Etherscan.io on 2023-11-29
*/

pragma solidity 0.5.10;

/*

█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█
█▐████████████████████████████▌█
█▐███████████▄▄─▄▄████████████▌█
█▐█████████████─██████████████▌█
█▐█████████████─██████████████▌█
█▐█████████████─██████████████▌█
█▐███████████▀▀─▀▀████████████▌█
█▐███████▀▀▀▀█████▀▀▀▀████████▌█
█▐█████▀──────▀█▀──────▀██████▌█
█▐████▌─────────────────▐█████▌█
█▐████▌───NYSE──────────▐█████▌█
█▐█████▄───────────────▄██████▌█
█▐███████▄───BTC──────▄███████▌█
█▐█████████▄───────▄██████████▌█
█▐███████████▄───▄████████████▌█
█▐█████████████▄██████████████▌█
█▐██▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀██▌█
█▐█──▀███▄──▀██▀─▀█▄────▄█▀──█▌█
█▐█───██──█──██────▀█▄▄█▀────█▌█
█▐█───██──█──██──────██──────█▌█
█▐█───██──█──██──────██──────█▌█
█▐█──▄██▄──▀███─────▄██▄─────█▌█
█▐██▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄██▌█
█▐████████████████████████████▌█
█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█

https://t.me/NewYorkStockExchange_BTC

*/

// ----------------------------------------------------------------------------
// 'NewYork Stock Exchange' token contract
//
// Symbol      : NewYork Stock Exchange
// Name        : NYSEBTC
// Total supply: 700.000000000000000000
// Decimals    : 18
//
// Enjoy.
//
// (c) BokkyPooBah / Bok Consulting Pty Ltd 2017. The MIT Licence.
// ----------------------------------------------------------------------------


// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
library SafeMath {
    function add(uint a, uint b) internal pure returns (uint c) {
        c = a + b;
        require(c >= a);
    }
    function sub(uint a, uint b) internal pure returns (uint c) {
        require(b <= a);
        c = a - b;
    }
    function mul(uint a, uint b) internal pure returns (uint c) {
        c = a * b;
        require(a == 0 || c / a == b);
    }
    function div(uint a, uint b) internal pure returns (uint c) {
        require(b > 0);
        c = a / b;
    }
}


// ----------------------------------------------------------------------------
// ERC Token Standard #20 Interface
// https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20-token-standard.md
// ----------------------------------------------------------------------------
contract ERC20Interface {
    function totalSupply() public view returns (uint);
    function balanceOf(address tokenOwner) public view returns (uint balance);
    function allowance(address tokenOwner, address spender) public view returns (uint remaining);
    function transfer(address to, uint tokens) public returns (bool success);
    function approve(address spender, uint tokens) public returns (bool success);
    function transferFrom(address from, address to, uint tokens) public returns (bool success);

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

contract FixedSupplyToken is ERC20Interface {
    using SafeMath for uint;

    string public symbol;
    string public  name;
    uint8 public decimals;
    uint public _totalSupply;

    mapping(address => uint) balances;
    mapping(address => mapping(address => uint)) allowed;

    constructor() public {
        name = "NewYork Stock Exchange";
        symbol = "NYSEBTC";
        decimals = 18;
        _totalSupply = 700 * 10 ** uint(decimals);
        balances[msg.sender] = _totalSupply;
        emit Transfer(address(0), msg.sender, _totalSupply);
    }

   function totalSupply() public view returns (uint) {
        return _totalSupply  - balances[address(0)];
    }

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

    function transfer(address to, uint tokens) public returns (bool success) {
        balances[msg.sender] = balances[msg.sender].sub(tokens);
        balances[to] = balances[to].add(tokens);
        emit Transfer(msg.sender, to, tokens);
        return true;
    }

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

    function transferFrom(address from, address to, uint tokens) public returns (bool success) {
        balances[from] = balances[from].sub(tokens);
        allowed[from][msg.sender] = allowed[from][msg.sender].sub(tokens);
        balances[to] = balances[to].add(tokens);
        emit Transfer(from, to, tokens);
        return true;
    }

    function allowance(address tokenOwner, address spender) public view returns (uint remaining) {
        return allowed[tokenOwner][spender];
    }
}

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":"tokens","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":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"tokens","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":true,"inputs":[],"name":"_totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"tokenOwner","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":"tokens","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"tokenOwner","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":"tokens","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"tokenOwner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"tokens","type":"uint256"}],"name":"Approval","type":"event"}]

608060405234801561001057600080fd5b506040805180820190915260168082527f4e6577596f726b2053746f636b2045786368616e676500000000000000000000602090920191825261005591600191610109565b506040805180820190915260078082527f4e59534542544300000000000000000000000000000000000000000000000000602090920191825261009a91600091610109565b5060028054601260ff19909116179081905560ff16600a0a6102bc026003819055336000818152600460209081526040808320859055805194855251929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a36101a4565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061014a57805160ff1916838001178555610177565b82800160010185558215610177579182015b8281111561017757825182559160200191906001019061015c565b50610183929150610187565b5090565b6101a191905b80821115610183576000815560010161018d565b90565b610649806101b36000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c80633eaaf86b116100665780633eaaf86b146101ce57806370a08231146101d657806395d89b41146101fc578063a9059cbb14610204578063dd62ed3e146102305761009e565b806306fdde03146100a3578063095ea7b31461012057806318160ddd1461016057806323b872dd1461017a578063313ce567146101b0575b600080fd5b6100ab61025e565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100e55781810151838201526020016100cd565b50505050905090810190601f1680156101125780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61014c6004803603604081101561013657600080fd5b506001600160a01b0381351690602001356102eb565b604080519115158252519081900360200190f35b610168610352565b60408051918252519081900360200190f35b61014c6004803603606081101561019057600080fd5b506001600160a01b03813581169160208101359091169060400135610384565b6101b861048f565b6040805160ff9092168252519081900360200190f35b610168610498565b610168600480360360208110156101ec57600080fd5b50356001600160a01b031661049e565b6100ab6104b9565b61014c6004803603604081101561021a57600080fd5b506001600160a01b038135169060200135610514565b6101686004803603604081101561024657600080fd5b506001600160a01b03813581169160200135166105c4565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156102e35780601f106102b8576101008083540402835291602001916102e3565b820191906000526020600020905b8154815290600101906020018083116102c657829003601f168201915b505050505081565b3360008181526005602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b6000805260046020527f17ef568e3e12ab5b9c7254a8d58478811de00f9e6eb34345acd53bf8fd09d3ec546003540390565b6001600160a01b0383166000908152600460205260408120546103ad908363ffffffff6105ef16565b6001600160a01b03851660009081526004602090815260408083209390935560058152828220338352905220546103ea908363ffffffff6105ef16565b6001600160a01b03808616600090815260056020908152604080832033845282528083209490945591861681526004909152205461042e908363ffffffff61060416565b6001600160a01b0380851660008181526004602090815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b60025460ff1681565b60035481565b6001600160a01b031660009081526004602052604090205490565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156102e35780601f106102b8576101008083540402835291602001916102e3565b33600090815260046020526040812054610534908363ffffffff6105ef16565b33600090815260046020526040808220929092556001600160a01b03851681522054610566908363ffffffff61060416565b6001600160a01b0384166000818152600460209081526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b6000828211156105fe57600080fd5b50900390565b8181018281101561034c57600080fdfea265627a7a72305820cdb5234655dfc411a6eff6cb4cc6d8a51314133b31006eaa0539a11364b0704564736f6c634300050a0032

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061009e5760003560e01c80633eaaf86b116100665780633eaaf86b146101ce57806370a08231146101d657806395d89b41146101fc578063a9059cbb14610204578063dd62ed3e146102305761009e565b806306fdde03146100a3578063095ea7b31461012057806318160ddd1461016057806323b872dd1461017a578063313ce567146101b0575b600080fd5b6100ab61025e565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100e55781810151838201526020016100cd565b50505050905090810190601f1680156101125780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61014c6004803603604081101561013657600080fd5b506001600160a01b0381351690602001356102eb565b604080519115158252519081900360200190f35b610168610352565b60408051918252519081900360200190f35b61014c6004803603606081101561019057600080fd5b506001600160a01b03813581169160208101359091169060400135610384565b6101b861048f565b6040805160ff9092168252519081900360200190f35b610168610498565b610168600480360360208110156101ec57600080fd5b50356001600160a01b031661049e565b6100ab6104b9565b61014c6004803603604081101561021a57600080fd5b506001600160a01b038135169060200135610514565b6101686004803603604081101561024657600080fd5b506001600160a01b03813581169160200135166105c4565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156102e35780601f106102b8576101008083540402835291602001916102e3565b820191906000526020600020905b8154815290600101906020018083116102c657829003601f168201915b505050505081565b3360008181526005602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b6000805260046020527f17ef568e3e12ab5b9c7254a8d58478811de00f9e6eb34345acd53bf8fd09d3ec546003540390565b6001600160a01b0383166000908152600460205260408120546103ad908363ffffffff6105ef16565b6001600160a01b03851660009081526004602090815260408083209390935560058152828220338352905220546103ea908363ffffffff6105ef16565b6001600160a01b03808616600090815260056020908152604080832033845282528083209490945591861681526004909152205461042e908363ffffffff61060416565b6001600160a01b0380851660008181526004602090815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b60025460ff1681565b60035481565b6001600160a01b031660009081526004602052604090205490565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156102e35780601f106102b8576101008083540402835291602001916102e3565b33600090815260046020526040812054610534908363ffffffff6105ef16565b33600090815260046020526040808220929092556001600160a01b03851681522054610566908363ffffffff61060416565b6001600160a01b0384166000818152600460209081526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b6000828211156105fe57600080fd5b50900390565b8181018281101561034c57600080fdfea265627a7a72305820cdb5234655dfc411a6eff6cb4cc6d8a51314133b31006eaa0539a11364b0704564736f6c634300050a0032

Deployed Bytecode Sourcemap

4614:1829:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4614:1829:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4724:19;;;:::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;4724:19:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5726:208;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;5726:208:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;5203:112;;;:::i;:::-;;;;;;;;;;;;;;;;5942:343;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;5942:343:0;;;;;;;;;;;;;;;;;:::i;4750:21::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;4778:24;;;:::i;5323:120::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;5323:120:0;-1:-1:-1;;;;;5323:120:0;;:::i;4697:20::-;;;:::i;5451:267::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;5451:267:0;;;;;;;;:::i;6293:147::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;6293:147:0;;;;;;;;;;:::i;4724:19::-;;;;;;;;;;;;;;;-1:-1:-1;;4724:19:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;5726:208::-;5822:10;5789:12;5814:19;;;:7;:19;;;;;;;;-1:-1:-1;;;;;5814:28:0;;;;;;;;;;;:37;;;5867;;;;;;;5789:12;;5814:28;;5822:10;;5867:37;;;;;;;;-1:-1:-1;5922:4:0;5726:208;;;;;:::o;5203:112::-;5247:4;5287:20;;:8;:20;;;;5271:12;;:36;5203:112;:::o;5942:343::-;-1:-1:-1;;;;;6061:14:0;;6019:12;6061:14;;;:8;:14;;;;;;:26;;6080:6;6061:26;:18;:26;:::i;:::-;-1:-1:-1;;;;;6044:14:0;;;;;;:8;:14;;;;;;;;:43;;;;6126:7;:13;;;;;6140:10;6126:25;;;;;;:37;;6156:6;6126:37;:29;:37;:::i;:::-;-1:-1:-1;;;;;6098:13:0;;;;;;;:7;:13;;;;;;;;6112:10;6098:25;;;;;;;:65;;;;6189:12;;;;;:8;:12;;;;;:24;;6206:6;6189:24;:16;:24;:::i;:::-;-1:-1:-1;;;;;6174:12:0;;;;;;;:8;:12;;;;;;;;;:39;;;;6229:26;;;;;;;6174:12;;6229:26;;;;;;;;;;;;;-1:-1:-1;6273:4:0;5942:343;;;;;:::o;4750:21::-;;;;;;:::o;4778:24::-;;;;:::o;5323:120::-;-1:-1:-1;;;;;5415:20:0;5383:12;5415:20;;;:8;:20;;;;;;;5323:120::o;4697:20::-;;;;;;;;;;;;;;;-1:-1:-1;;4697:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5451:267;5567:10;5510:12;5558:20;;;:8;:20;;;;;;:32;;5583:6;5558:32;:24;:32;:::i;:::-;5544:10;5535:20;;;;:8;:20;;;;;;:55;;;;-1:-1:-1;;;;;5616:12:0;;;;;;:24;;5633:6;5616:24;:16;:24;:::i;:::-;-1:-1:-1;;;;;5601:12:0;;;;;;:8;:12;;;;;;;;;:39;;;;5656:32;;;;;;;5601:12;;5665:10;;5656:32;;;;;;;;;;-1:-1:-1;5706:4:0;5451:267;;;;:::o;6293:147::-;-1:-1:-1;;;;;6404:19:0;;;6370:14;6404:19;;;:7;:19;;;;;;;;:28;;;;;;;;;;;;;6293:147::o;3269:114::-;3321:6;3353:1;3348;:6;;3340:15;;;;;;-1:-1:-1;3370:5:0;;;3269:114::o;3149:::-;3224:5;;;3248:6;;;;3240:15;;;;

Swarm Source

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