Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
34,643,662.287895 LAMBO
Holders
96
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
146,100.90594416782479966 LAMBOValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ERC20
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // L.A.M.B.O. = Legends Always Moon Before Others pragma solidity 0.8.17; abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } } contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } function owner() public view returns (address) { return _owner; } modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } function _renounceOwnership() internal virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner can not be the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } contract ERC20 is Ownable { string public constant name = "LegendsAlwaysMoonBeforeOthers"; string public constant symbol = "LAMBO"; uint8 public constant decimals = 18; uint256 public constant totalSupply = 34643662287895000000000000; // 34,643,662.287895 * (10**decimals) uint256 public maxTXamount = totalSupply; uint256 public maxTXamountLaunch = 150000 * (10**decimals); 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; constructor() { maxTXamount = maxTXamountLaunch; address newOwner = _msgSender(); balances[newOwner] = totalSupply; transferOwnership(newOwner); } function balanceOf(address tokenOwner) external view returns (uint) { return balances[tokenOwner]; } function tokenRemaning(address token) external view returns (uint) { return balances[token]; } function transfer(address receiver, uint numTokens) public returns (bool) { uint OwnerBalance=balances[msg.sender]; require(numTokens <= OwnerBalance ,"Don't have enough Tokens..."); require(numTokens <=maxTXamount ,"Current Max number of tokens limit per single transaction exceeded"); balances[msg.sender] = OwnerBalance-numTokens; balances[receiver]+=numTokens; emit Transfer(msg.sender, receiver, numTokens); return true; } function approve(address delegate, uint numTokens) external returns (bool) { allowed[msg.sender][delegate] = numTokens; emit Approval(msg.sender, delegate, numTokens); return true; } function allowance(address owner, address delegate) external view returns (uint) { return allowed[owner][delegate]; } function transferFrom(address owner, address buyer, uint numTokens) public returns (bool) { uint OwnerBalance=balances[owner]; uint AlowedOwner=allowed[owner][msg.sender]; require(numTokens <= OwnerBalance,"Don't have enough Tokens..."); require(numTokens <= AlowedOwner); balances[owner] = OwnerBalance-numTokens; allowed[owner][msg.sender] =AlowedOwner-numTokens; balances[buyer] +=numTokens; emit Transfer(owner, buyer, numTokens); return true; } function updateMaxTXamount(uint256 newMaxTXAmount) external onlyOwner returns (bool){ maxTXamount = newMaxTXAmount * (10**decimals); return true; } function renounceOwnership() external virtual onlyOwner { // Make sure to remove any swap limits by setting to total supply before calling standard renounce function maxTXamount = totalSupply; _renounceOwnership(); } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"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":"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":"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":"maxTXamount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTXamountLaunch","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"tokenRemaning","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxTXAmount","type":"uint256"}],"name":"updateMaxTXamount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526a1ca814b21df31a92147000600155620000216012600a620002d4565b6200003090620249f0620002ec565b6002553480156200004057600080fd5b50600080546001600160a01b0319163390811782556040519091829160008051602062000df0833981519152908290a3506002546001553360008181526003602052604090206a1ca814b21df31a9214700090556200009f81620000a6565b5062000306565b6000546001600160a01b03163314620001065760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6001600160a01b038116620001755760405162461bcd60e51b815260206004820152602e60248201527f4f776e61626c653a206e6577206f776e65722063616e206e6f7420626520746860448201526d65207a65726f206164647265737360901b6064820152608401620000fd565b600080546040516001600160a01b038085169392169160008051602062000df083398151915291a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111562000216578160001904821115620001fa57620001fa620001bf565b808516156200020857918102915b93841c9390800290620001da565b509250929050565b6000826200022f57506001620002ce565b816200023e57506000620002ce565b8160018114620002575760028114620002625762000282565b6001915050620002ce565b60ff841115620002765762000276620001bf565b50506001821b620002ce565b5060208310610133831016604e8410600b8410161715620002a7575081810a620002ce565b620002b38383620001d5565b8060001904821115620002ca57620002ca620001bf565b0290505b92915050565b6000620002e560ff8416836200021e565b9392505050565b8082028115828204841417620002ce57620002ce620001bf565b610ada80620003166000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c80638da5cb5b11610097578063c787619e11610066578063c787619e14610255578063dd62ed3e14610268578063f2fde38b146102a1578063ff4d243f146102b457600080fd5b80638da5cb5b1461020357806395d89b411461021e578063a9059cbb14610242578063c458820f146101d057600080fd5b806323b872dd116100d357806323b872dd146101a3578063313ce567146101b657806370a08231146101d0578063715018a6146101f957600080fd5b806306fdde0314610105578063095ea7b3146101575780630b00c06c1461017a57806318160ddd14610191575b600080fd5b6101416040518060400160405280601d81526020017f4c6567656e6473416c776179734d6f6f6e4265666f72654f746865727300000081525081565b60405161014e91906107f0565b60405180910390f35b61016a610165366004610855565b6102bd565b604051901515815260200161014e565b61018360015481565b60405190815260200161014e565b6101836a1ca814b21df31a9214700081565b61016a6101b136600461087f565b61032a565b6101be601281565b60405160ff909116815260200161014e565b6101836101de3660046108bb565b6001600160a01b031660009081526003602052604090205490565b61020161048a565b005b6000546040516001600160a01b03909116815260200161014e565b610141604051806040016040528060058152602001644c414d424f60d81b81525081565b61016a610250366004610855565b6104cd565b61016a6102633660046108dd565b61063c565b6101836102763660046108f6565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b6102016102af3660046108bb565b61068a565b61018360025481565b3360008181526004602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906103189086815260200190565b60405180910390a35060015b92915050565b6001600160a01b03831660009081526003602090815260408083205460048352818420338552909252822054818411156103ab5760405162461bcd60e51b815260206004820152601b60248201527f446f6e2774206861766520656e6f75676820546f6b656e732e2e2e000000000060448201526064015b60405180910390fd5b808411156103b857600080fd5b6103c2848361093f565b6001600160a01b0387166000908152600360205260409020556103e5848261093f565b6001600160a01b03808816600090815260046020908152604080832033845282528083209490945591881681526003909152908120805486929061042a908490610952565b92505081905550846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8660405161047691815260200190565b60405180910390a350600195945050505050565b6000546001600160a01b031633146104b45760405162461bcd60e51b81526004016103a290610965565b6a1ca814b21df31a921470006001556104cb61077c565b565b336000908152600360205260408120548083111561052d5760405162461bcd60e51b815260206004820152601b60248201527f446f6e2774206861766520656e6f75676820546f6b656e732e2e2e000000000060448201526064016103a2565b6001548311156105b05760405162461bcd60e51b815260206004820152604260248201527f43757272656e74204d6178206e756d626572206f6620746f6b656e73206c696d60448201527f6974207065722073696e676c65207472616e73616374696f6e20657863656564606482015261195960f21b608482015260a4016103a2565b6105ba838261093f565b33600090815260036020526040808220929092556001600160a01b038616815290812080548592906105ed908490610952565b90915550506040518381526001600160a01b0385169033907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35060019392505050565b600080546001600160a01b031633146106675760405162461bcd60e51b81526004016103a290610965565b6106736012600a610a7e565b61067d9083610a8d565b600190815590505b919050565b6000546001600160a01b031633146106b45760405162461bcd60e51b81526004016103a290610965565b6001600160a01b0381166107215760405162461bcd60e51b815260206004820152602e60248201527f4f776e61626c653a206e6577206f776e65722063616e206e6f7420626520746860448201526d65207a65726f206164647265737360901b60648201526084016103a2565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146107a65760405162461bcd60e51b81526004016103a290610965565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600060208083528351808285015260005b8181101561081d57858101830151858201604001528201610801565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461068557600080fd5b6000806040838503121561086857600080fd5b6108718361083e565b946020939093013593505050565b60008060006060848603121561089457600080fd5b61089d8461083e565b92506108ab6020850161083e565b9150604084013590509250925092565b6000602082840312156108cd57600080fd5b6108d68261083e565b9392505050565b6000602082840312156108ef57600080fd5b5035919050565b6000806040838503121561090957600080fd5b6109128361083e565b91506109206020840161083e565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561032457610324610929565b8082018082111561032457610324610929565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181815b808511156109d55781600019048211156109bb576109bb610929565b808516156109c857918102915b93841c939080029061099f565b509250929050565b6000826109ec57506001610324565b816109f957506000610324565b8160018114610a0f5760028114610a1957610a35565b6001915050610324565b60ff841115610a2a57610a2a610929565b50506001821b610324565b5060208310610133831016604e8410600b8410161715610a58575081810a610324565b610a62838361099a565b8060001904821115610a7657610a76610929565b029392505050565b60006108d660ff8416836109dd565b80820281158282048414176103245761032461092956fea264697066735822122033c84aa1a3388961ab4bd080cdc4abb4b6eb116143e06909f04ab07ee1b89e8464736f6c634300081100338be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101005760003560e01c80638da5cb5b11610097578063c787619e11610066578063c787619e14610255578063dd62ed3e14610268578063f2fde38b146102a1578063ff4d243f146102b457600080fd5b80638da5cb5b1461020357806395d89b411461021e578063a9059cbb14610242578063c458820f146101d057600080fd5b806323b872dd116100d357806323b872dd146101a3578063313ce567146101b657806370a08231146101d0578063715018a6146101f957600080fd5b806306fdde0314610105578063095ea7b3146101575780630b00c06c1461017a57806318160ddd14610191575b600080fd5b6101416040518060400160405280601d81526020017f4c6567656e6473416c776179734d6f6f6e4265666f72654f746865727300000081525081565b60405161014e91906107f0565b60405180910390f35b61016a610165366004610855565b6102bd565b604051901515815260200161014e565b61018360015481565b60405190815260200161014e565b6101836a1ca814b21df31a9214700081565b61016a6101b136600461087f565b61032a565b6101be601281565b60405160ff909116815260200161014e565b6101836101de3660046108bb565b6001600160a01b031660009081526003602052604090205490565b61020161048a565b005b6000546040516001600160a01b03909116815260200161014e565b610141604051806040016040528060058152602001644c414d424f60d81b81525081565b61016a610250366004610855565b6104cd565b61016a6102633660046108dd565b61063c565b6101836102763660046108f6565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b6102016102af3660046108bb565b61068a565b61018360025481565b3360008181526004602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906103189086815260200190565b60405180910390a35060015b92915050565b6001600160a01b03831660009081526003602090815260408083205460048352818420338552909252822054818411156103ab5760405162461bcd60e51b815260206004820152601b60248201527f446f6e2774206861766520656e6f75676820546f6b656e732e2e2e000000000060448201526064015b60405180910390fd5b808411156103b857600080fd5b6103c2848361093f565b6001600160a01b0387166000908152600360205260409020556103e5848261093f565b6001600160a01b03808816600090815260046020908152604080832033845282528083209490945591881681526003909152908120805486929061042a908490610952565b92505081905550846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8660405161047691815260200190565b60405180910390a350600195945050505050565b6000546001600160a01b031633146104b45760405162461bcd60e51b81526004016103a290610965565b6a1ca814b21df31a921470006001556104cb61077c565b565b336000908152600360205260408120548083111561052d5760405162461bcd60e51b815260206004820152601b60248201527f446f6e2774206861766520656e6f75676820546f6b656e732e2e2e000000000060448201526064016103a2565b6001548311156105b05760405162461bcd60e51b815260206004820152604260248201527f43757272656e74204d6178206e756d626572206f6620746f6b656e73206c696d60448201527f6974207065722073696e676c65207472616e73616374696f6e20657863656564606482015261195960f21b608482015260a4016103a2565b6105ba838261093f565b33600090815260036020526040808220929092556001600160a01b038616815290812080548592906105ed908490610952565b90915550506040518381526001600160a01b0385169033907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35060019392505050565b600080546001600160a01b031633146106675760405162461bcd60e51b81526004016103a290610965565b6106736012600a610a7e565b61067d9083610a8d565b600190815590505b919050565b6000546001600160a01b031633146106b45760405162461bcd60e51b81526004016103a290610965565b6001600160a01b0381166107215760405162461bcd60e51b815260206004820152602e60248201527f4f776e61626c653a206e6577206f776e65722063616e206e6f7420626520746860448201526d65207a65726f206164647265737360901b60648201526084016103a2565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146107a65760405162461bcd60e51b81526004016103a290610965565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b600060208083528351808285015260005b8181101561081d57858101830151858201604001528201610801565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461068557600080fd5b6000806040838503121561086857600080fd5b6108718361083e565b946020939093013593505050565b60008060006060848603121561089457600080fd5b61089d8461083e565b92506108ab6020850161083e565b9150604084013590509250925092565b6000602082840312156108cd57600080fd5b6108d68261083e565b9392505050565b6000602082840312156108ef57600080fd5b5035919050565b6000806040838503121561090957600080fd5b6109128361083e565b91506109206020840161083e565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561032457610324610929565b8082018082111561032457610324610929565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181815b808511156109d55781600019048211156109bb576109bb610929565b808516156109c857918102915b93841c939080029061099f565b509250929050565b6000826109ec57506001610324565b816109f957506000610324565b8160018114610a0f5760028114610a1957610a35565b6001915050610324565b60ff841115610a2a57610a2a610929565b50506001821b610324565b5060208310610133831016604e8410600b8410161715610a58575081810a610324565b610a62838361099a565b8060001904821115610a7657610a76610929565b029392505050565b60006108d660ff8416836109dd565b80820281158282048414176103245761032461092956fea264697066735822122033c84aa1a3388961ab4bd080cdc4abb4b6eb116143e06909f04ab07ee1b89e8464736f6c63430008110033
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.