USA Node
Top Transactions
Blocks
Staking
Tokens
Broadcast TXN
CLI Interface
Developer API
Smart Contract HQ
Contact Us
Donate
Node Status
Node:
Main Net - US
Search
Token Contract Details
Contract:
0x91fd8a503d48ea983781fe269a5d4e7362202392
Name:
TBEER
Symbol:
TBEER
Total Supply:
1,000,000.00
Decimal:
18
Compiler Version:
v0.7.4
Published Contract:
Send Transactions
TNT-20 Transactions
TNT-721 Transactions
Contract
Contract ByteCode:
0x608060405234801561001057600080fd5b50600436106100885760003560e01c806370a082311161005b57806370a082311461019d5780638da5cb5b146101f557806395d89b4114610229578063a9059cbb146102ac57610088565b806306fdde031461008d57806318160ddd14610110578063313ce5671461012e57806340c10f191461014f575b600080fd5b610095610310565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156100d55780820151818401526020810190506100ba565b50505050905090810190601f1680156101025780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61011861034d565b6040518082815260200191505060405180910390f35b610136610356565b604051808260ff16815260200191505060405180910390f35b61019b6004803603604081101561016557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061035f565b005b6101df600480360360208110156101b357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061056e565b6040518082815260200191505060405180910390f35b6101fd6105b7565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6102316105e1565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610271578082015181840152602081019050610256565b50505050905090810190601f16801561029e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102f8600480360360408110156102c257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061061e565b60405180821515815260200191505060405180910390f35b60606040518060400160405280600581526020017f5442454552000000000000000000000000000000000000000000000000000000815250905090565b60008054905090565b60006012905090565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610405576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806108816025913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156104a8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f4d696e7420746f20746865207a65726f2061646472657373000000000000000081525060200191505060405180910390fd5b80600080828254019250508190555080600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606040518060400160405280600581526020017f5442454552000000000000000000000000000000000000000000000000000000815250905090565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156106c2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f5472616e7366657220746f20746865207a65726f20616464726573730000000081525060200191505060405180910390fd5b81600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015610777576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f496e73756666696369656e742062616c616e636500000000000000000000000081525060200191505060405180910390fd5b81600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254039250508190555081600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040518082815260200191505060405180910390a3600190509291505056fe4f6e6c7920746865206f776e65722063616e2063616c6c20746869732066756e6374696f6ea26469706673582212201b0ce5727060bd5ff1a634123d1109492765eda182454c4fe18b56543616f7fb64736f6c63430007040033
Published Contract:
// SPDX-License-Identifier: MIT // CREATED BY THETZILLA - SEND IT! // CA: 0x91fd8a503d48ea983781fe269a5d4e7362202392 // https://tbeer.meme pragma solidity ^0.7.4; contract TBEER { // Token details string private constant _name = "TBEER"; string private constant _symbol = "TBEER"; uint8 private constant _decimals = 18; // Total fixed supply of 1 million tokens uint256 private _totalSupply = 1000000 * (10**uint256(_decimals)); // Balances mapping mapping(address => uint256) private _balances; // Owner address address private _owner; // Events event Transfer(address indexed from, address indexed to, uint256 value); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); // Constructor; constructor() { _owner = msg.sender; _balances[_owner] = _totalSupply; emit Transfer(address(0), _owner, _totalSupply); } // Getters; function name() external pure returns (string memory) { return _name; } function symbol() external pure returns (string memory) { return _symbol; } function decimals() external pure returns (uint8) {return _decimals; } function totalSupply() external view returns (uint256) {return _totalSupply;} function balanceOf(address account) external view returns (uint256) {return _balances[account];} function owner() external view returns (address) {return _owner;} modifier onlyOwner() {require(msg.sender == _owner, "Only the owner can call this function");_;} // Functions; function transfer(address to, uint256 value) external returns (bool) { require(to != address(0), "Transfer to the zero address"); require(_balances[msg.sender] >= value, "Insufficient balance"); _balances[msg.sender] -= value; _balances[to] += value; emit Transfer(msg.sender, to, value); return true; } function mint(address account, uint256 amount) external onlyOwner { require(account != address(0), "Mint to the zero address"); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); } }
Contract ABI:
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]