ERC-20
Overview
Max Total Supply
8,000,000,000 BAGGE
Holders
215
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 9 Decimals)
Balance
0.9545833 BAGGEValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
BAGGE
Compiler Version
v0.8.23+commit.f704f362
Optimization Enabled:
Yes with 1336 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.23; // Local Imports import "./IBagge.sol"; /* ............................................................................::..^JPPPPGGGPP555YYYJ?Y ..............................................................................^?PBBBBBBBBBBBBBBBBBBB ............................................................................:7PBBBBBBBBBBBBBBBBBBBBB ..........................................................................^7PBBBBBBBBBBBBBBBBBBBBBBB ................................................................:^^~!^..^?PBBBBBBBBBBBBBBBBBBBBBBBBB ...........................................................:^!JY5GGBBP?YGBBBBBBBBBBBBBBBBBBBBBBBBBBB ........................................................:!JPGBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB ........................................................!GBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB ...............................................:::^~~!7?YGBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB ......................................:~!7??JY55PPGGBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBY? ....................................^?PBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBGGP5P!. ................................:.:7PBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBGGPYJ?7!!~~JJ. .................................^YBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBGGPYJ?7!~~~^^^~~~~?Y: ..............................:.^5BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBGGPYJ?7!~~^^^^^^~^~~~~~~~?Y: ................................?#BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBGP5Y?7!~~~^^^^~~!!777?77!!~~~~~JJ. ..............................:.^PBBBBBBBBBBBBBBBBBBBBBBBBBBGPYJ?!~~~^^^~~~~~~!?JYYJJ????JJJJ?~~!5!. .................................~PBBBBBBBBBBBBBBBBGGPBBGGPP5Y7~^~~~~~~~~~~~~?5?!~~~^^^^^^^~!5?~YJ:. ..................................^5BBBBBBBBBP5YJ?7!!~?7!~~~~!!!~~~~~~~~~~~^!P7~~~~~~~~~~~~~~J5YJ:.. ............................:::^~!7YGPYJ?!~?GJ!^^^^~~~^^~!7!!~^^~~~^~~~~!7??5Y~~~~~~~~~~~~~~~J57:... ...................:^~!7?JJY5PGGGPJ7~:...:!YG57~~~~~~~~?YYYYJ??!~!77?JJJJ?7!J?~~~~~~~~~~~~~~!J~..... .................:!YGBB##BBG5J7!^:......^J7^7Y~~~~~~~~JJ~^^~!77J5J??7!~~~^~~~!~~~~~~~~~~~~~~??:..... ...............:~YBBBPY?7~^::..........:~^..~PY?7~~~~~Y?^^^^^~7!JJ^^~^~~~~~~~~~~~~~~~~~~~~~!Y~...... .............:!5B#BY~:.....................~Y7?J?J?!7?55~^^^^^~?!5!~~7Y5Y?7~~~~~~~~~~~~~~~~J?:...... ...........^75B#GY~:.......................!J^^^!7YPJ7!J57~^^^^7?5!~???P5!~~~~~~~~~~~~~~~~JJ:....... .........~JPBBGJ~:.:.......................:J7^^^7P?~^^~7JJ?77J5J!~~~~~5P5!^~~~!~~~~~~~^!J?:........ ......^!YB#B57^.............................:??~~JY~~~~~~~~!777!~~~~~^?P5PY~~~~!Y7~~~~!7?~:......... ...:!JGBBGJ~:..............................:.:~7JP7~~~~~~~~!!~~~~~~~~755Y5P?~~~~Y5????7~:........... :~JPBBGY!^...................................:..!5!^~^^~!?YY!~~~~~~!JP5YYYPP!~~~?Y^:::.............. GBBPJ!^.........................................~57!!7?JPB5!~~~~~!YPP5YYYYYP?^~~!5!................. Y7~:............................................:7??7!^:!5J!~~!7JJJP5YYYYYYP5~~~~Y?:................ .........................................................:!????7^..~YP5YY55PP!~~~JY:................ ............................................................:::.:~!!?GGPPPPPP7~~~?5^................ ...............................................................^J?!JPP55Y555P?^~~?5^................ ..............................................................:7Y7YP5Y555Y55G?^~~?5~................ .......................................................^~^:::~???P5YY55PP5555!~~~?5~................ ....................................................:~?J???7J5J?5P55YYJ?7!~!~~~~~JP~................ ..................................................:~??!~~~~~~~!!!!~~~~~^^~~~~~~~~5P^................ .................................................^??!~~~~~~~~~~~~~~~~~~~~~~~~^~7Y57:................ ...............................................:7J7~~~~~~~~~~~~~~~~~~~~~~~~~!?YJ!:.................. ..............................................:?J!~~~~~~~~~~~~~~~~~~~~~~~!7JY7^..................... .............................................^YJ~~~~~~~~~~~~~~~~~~~~~~~7JJ7~:....................... ............................................:YJ~~~~~~~~~~~~~~~~~~^~!7JJ7~:.......................... ...........................................:JY~~~~~~~~~~~~~~~^~~!?JJ7^:............................. ...........................................!P!^~~~~~~~~~~~^~!7JJJ7^:................................ ...........................................JY~~~~~~~~~~~!?JYY?!^.................................... ..........................................:J?~~~~~!7?JYYY?!^:....................................... ...........................................!5JJJYJJJ?!~::........................................... */ /** * @title BaggeToken ~ It takes COURAGE to HODL your $BAGGE * @author Team M2xM ~ Your trustworthy dev. * * @notice https://t.me/baggeportal * * We strive to be very transparent. Because of this, we've left * exhaustive documentation in the code to ensure holders know we are * only ever going to do what is fair, honest and non-manipulative. * * Supply = 8,000,000,000 (8 Billion) * Initial LP = 1.8 ETH 🔥 * Uniswap LP = 7,600,000,000 (7.6 Billion, 95% of Supply) * Dev Tokens = 400,000,000 (400 Million, 5% of Supply) * Tax Rate = 0.8% / 0.8% Tax - This tax is auto-burned 🔥 * There is a 95% snipe buy tax, punishes snipes waiting for LQ pool opening as well is not waiting for taxes to be lifted. * */ contract BAGGE is IBAGGE, Context, Ownable { using SafeMath for uint256; // @notice ~ Constant-related variables. string private constant _name = unicode"Eustace Bagge"; // @dev Token name: Eustace Bagge. string private constant _symbol = unicode"BAGGE"; // @dev Token symbol: $BAGGE. uint8 private constant _decimals = 9; // @dev Needed for calculating large numbers. uint256 private constant _supply = 8000000000 * 10 ** _decimals; // @dev 8 Billion $BAGGE tokens. // @notice ~ Tax-related variables. uint256 private constant _taxRate = 8; // @dev 0.8% Buy/Sell tax. uint256 private constant _snipeTaxRate = 950; // @dev Snipe Tax of 95% (Snipe prevention) uint256 private _autoBurnThreshold = 40000000 * 10 ** _decimals; // @dev Auto burn threshold for when tax tokens should be burned. This is 0.5% // @notice ~ Transaction-related variables. uint256 private _maxAmountPerTx = 120000000 * 10 ** _decimals; // @dev Initially 1.5% of supply, limit removed later. uint256 private _maxAmountPerWallet = 120000000 * 10 ** _decimals; // @dev Initially 1.5% of supply, limit removed later. uint256 private _initialBlock; // @dev Block number tracked to assure contract is fully set up before trading. // @notice ~ Address-related variables. mapping(address => uint256) private _balances; // @dev Keeps track of balances of each user. mapping(address => mapping(address => uint256)) private _allowances; // @dev Keeps track of allowances of each user. mapping(address => bool) private _isExcludedFromFee; // @dev List of addresses that are excluded from fees. mapping (address => bool) private _bklist; // @dev Blacklist records, don't want to use this, but added if necessary. address payable private _deadWallet; // @dev Deal wallet where token are auto burned after 1% tax is accumulated. address private uniswapV2Pair; // @dev Address to UniswapV2Pair created by the contract. IUniswapV2Router02 private _uniswapV2Router; // @dev UniswapV2Router02 variable for LQ Pool & routing. // @notice Flag-related variables. bool private isTrading = false; // @dev signals whether trading is enabled. bool private isSwapping = false; // @dev signals whether a swap is currently in action. bool private isSwapEnabled = false; // @dev signals whether swapping is enabled or not. bool private isLimitLifted = false; // @dev signals whether or not the limited have been lifted. bool private isTaxLifted = false; // @dev signals whether or not the tax limits have been lifted. /** * @notice Swap lock modifier to change the isSwapping state with a function in-between. */ modifier SwapLock() { isSwapping = true; _; isSwapping = false; } /** * @notice Constructor, assure contract launcher is initial owner & set deal wallet address. */ constructor() Ownable(_msgSender()) { // Give initial supply contract deployer. _balances[_msgSender()] = _supply; // Assign dead wallet. _deadWallet = payable(0x000000000000000000000000000000000000dEaD); // Exclude owner, contract and bbb wallet from fees. _isExcludedFromFee[owner()] = true; _isExcludedFromFee[address(this)] = true; _isExcludedFromFee[_deadWallet] = true; // Emit transfer event. emit Transfer(address(0), _msgSender(), _supply); } /** * @notice Return-related functions. */ function name() public pure returns (string memory) {return _name;} function symbol() public pure returns (string memory) {return _symbol;} function decimals() public pure returns (uint8) {return _decimals;} function totalSupply() public pure override returns (uint256) {return _supply;} function balanceOf(address account) public view override returns (uint256) {return _balances[account];} /** * @notice Override of IERC20::transfer. * * @param recipient address of the recipient. * @param amount amount to transfer. */ function transfer( address recipient, uint256 amount ) public override returns (bool) { _internalTransfer(_msgSender(), recipient, amount); return true; } /** * @notice Override of IERC20::allowance. * * @param owner address of the owner. * @param spender address of the spender. */ function allowance( address owner, address spender ) public view override returns (uint256) { return _allowances[owner][spender]; } /** * @notice Override of IERC20::approve. * * @param spender address of the spender. * @param amount amount to approve. */ function approve( address spender, uint256 amount ) public override returns (bool) { _internalApprove(_msgSender(), spender, amount); return true; } /** * @notice Override of IERC20::transferFrom. * * @param sender address of the sender. * @param recipient address of the recipient. * @param amount amount to approve. */ function transferFrom( address sender, address recipient, uint256 amount ) public override returns (bool) { _internalTransfer(sender, recipient, amount); _internalApprove( sender, _msgSender(), _allowances[sender][_msgSender()].sub( amount, "Can not exceed transfer allowance." ) ); return true; } /** * @notice Internal approve method that sets the allotment amount to map. * * @param owner address of the owner. * @param spender address of the spender. * @param amount amount to approve. */ function _internalApprove(address owner, address spender, uint256 amount) private { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @notice Internal transfer function with added tax capabilities. * * @param from address of the sender. * @param to address of the recipient. * @param amount amount to transfer. */ function _internalTransfer(address from, address to, uint256 amount) private { // Pre-check before transfer. require(from != address(0), "Can not transfer from the zero address"); require(to != address(0), "Can not transfer to the zero address"); require(amount > 0, "Transfer amount must be greater than zero"); require(!_bklist[from] && !_bklist[to], "Blocked from transferring, address flagged as bots"); // Immediately finalize this transaction if [from] or [to] is in the excluded list with zero tax. excluded // parties are in the constructor. if (_isExcludedFromFee[from] || _isExcludedFromFee[to]) return _finalizeTransfer(from, to, amount, 0); // Calculate taxRate. // Example: If purchasing 100000 tokens during early tax rate or 8 (or 0.8%): // // taxAmount = 100000 (amount) * tax rate (8 (or 0.8%)) = 2400000 / 1000 = 2400 tokens for tax. // So 800 tokens will be sent to the contract address, you will receive 99200 Tokens. // // Tax is burning by the contract when contract reaches 0.5%% of supply. See _autoBurnBagge() function. uint256 taxAmount = amount.mul(_taxRate).div(1000); if (to != uniswapV2Pair && !isTaxLifted) { // Taxes have not yet been lifted and this is likely a buy, indicating this might be a snipe due to uniswap pool // as token contract has not yet been given. As such, snipe tax is applied instead. taxAmount = amount.mul(_snipeTaxRate).div(1000); } // Assure transfers from the UniSwapPair address to a holders wallet don't exceed the initially imposed // limits. These limits are later removed by liftLimits(). if (from == uniswapV2Pair && to != address(_uniswapV2Router)) { require(amount <= _maxAmountPerTx, "Exceeds the transaction maximum."); require(balanceOf(to) + amount <= _maxAmountPerWallet, "Exceeds the wallet maximum."); // Block any user from being able to transfer until after the 4th block if (_initialBlock + 3 > block.number) require(!isContract(to)); } // Assets balance of the to address is not above the allocated limit. Limit are removed later in the // liftLimits() function. if (to != uniswapV2Pair) require(balanceOf(to) + amount <= _maxAmountPerWallet, "Exceeds the wallet maximum."); // Facilitate that transaction into the contracts BAGGE balance. _balances[address(this)] = _balances[address(this)].add(taxAmount); emit Transfer(from, address(this), taxAmount); // Auto burn tokens collected in tax. This is dependent on 5 things: // - Swapping is enabled. // - Are limits lifted. // - Not currently swapping. // - [to] address is uniswapV2Pair. // - token balance of the contract is larger than auto burn threshold (0.5% of supply). if ( isSwapEnabled && isLimitLifted && isTaxLifted && !isSwapping && to == uniswapV2Pair && balanceOf(address(this)) > _autoBurnThreshold ) _autoBurnBagge(); // Finalize the transaction. _finalizeTransfer(from, to, amount, taxAmount); } /** * @dev Finalizes the _internalTransfer function. * * @param from address of the sender. * @param to address of the recipient. * @param amount amount to transfer. */ function _finalizeTransfer(address from, address to, uint256 amount, uint256 tax) private { // Complete transfer transaction. _balances[from] = _balances[from].sub(amount); _balances[to] = _balances[to].add(amount.sub(tax)); emit Transfer(from, to, amount.sub(tax)); } /** * @notice Minimum between two numbers. * * @param a first number. * @param b second number. */ function min(uint256 a, uint256 b) private pure returns (uint256) { return (a > b) ? b : a; } /** * @notice Validates whether or not the address is this contract or not. * * @param account Address to validate. */ function isContract(address account) private view returns (bool) { uint256 size; assembly {size := extcodesize(account)} return size > 0; } /** * @notice automatically transfers the contracts supply of $BAAGE tokens collected from tax to the null address. */ function _autoBurnBagge() private SwapLock { // Complete transfer transaction. uint256 balance = balanceOf(address(this)); _balances[address(this)] = _balances[address(this)].sub(balance); _balances[_deadWallet] = _balances[_deadWallet].add(balance); emit Transfer(address(this), _deadWallet, balance); } /** * @dev Removes the initial transaction and wallets amount limits imposed on construction. This allows a use * to allocate as much tokens as they may desire. */ function liftWalletLimits() external onlyOwner { // Assure thus function can't be called twice require(!isLimitLifted, "Limits have already been lifted, can not call this function twice."); // Allow wallets to accumulate as many token as they want _maxAmountPerTx = _supply; _maxAmountPerWallet = _supply; // Change lift limits status. isLimitLifted = true; emit WalletLimitsRevised(_supply); } /** * @dev Removes the initial transaction tax limits imposed on construction. This will reduce tax to 0.8% */ function liftTaxLimits() external onlyOwner { // Assure thus function can't be called twice require(!isTaxLifted, "Limits have already been lifted, can not call this function twice."); // Do a one-time transfer of the contract's balance to the contract owner. This is mostly snipe tax collected // by the contract owner that will go back to community and various project initiatives. _internalTransfer(address(this), owner(), balanceOf(address(this))); // Change lift limits status. isTaxLifted = true; emit TaxLimitsRevised(_supply); } /** * @dev Adds all addresses passed to the function to the _bklist. * @param addList list of addresses to add to the bklist. */ function addToBkList(address[] memory addList) public onlyOwner { for (uint i = 0; i < addList.length; i++) { _bklist[addList[i]] = true; } } /** * @dev Removes all addresses passed to the function from the _bklist. * @param removeList list of addresses to remove from the bklist. */ function removeFromBkList(address[] memory removeList) public onlyOwner { for (uint i = 0; i < removeList.length; i++) { _bklist[removeList[i]] = false; } } /** * @dev Check if passed address is on the _bkList. * @param a address to check. */ function isOnBkList(address a) public view returns (bool) { return _bklist[a]; } /** * @notice Creates a liquidity pool using all of the Ethereum & BAGGE tokens stored in the contracts address. * * @dev This assures that the LQ is locked indefinitely when the contract is renounced. There is no way to drain * the LQ pool afterward since the contract is the owner of the LQ pool and the contract will owner will be * renounced. */ function createUniLQPoolAndBeginTrading() external onlyOwner { // First check if trading has already begun require(!isTrading, "Trading has already begun"); // Initialize Uniswap at the official UniswapV2Router02 address // https://docs.uniswap.org/contracts/v2/reference/smart-contracts/router-02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); // Creates the LQ Pair of BAGGE/ETH on Uniswap. _internalApprove(address(this), address(_uniswapV2Router), _supply); uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair( address(this), _uniswapV2Router.WETH() ); // Adds all of the ETH currently allocated in this contract as well as all of the $BAGGE tokens in this to be // added to the LQ pool. _uniswapV2Router.addLiquidityETH{value: address(this).balance}( address(this), balanceOf(address(this)), 0, 0, owner(), block.timestamp ); IERC20(uniswapV2Pair).approve(address(_uniswapV2Router), type(uint).max); // Enable swapping. isSwapEnabled = true; // Enable trading. isTrading = true; // Store the first block number for tracking. _initialBlock = block.number; } /** * @dev Enables the contract to receive eth without call data */ receive() external payable {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {Context} from "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * The initial owner is set to the address provided by the deployer. This can * later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 value) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets a `value` amount of tokens as the allowance of `spender` over the * caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 value) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/Context.sol) pragma solidity ^0.8.20; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.23; // Local Imports import "./math/SafeMath.sol"; import "./uniswap/IUniswapV2Factory.sol"; import "./uniswap/IUniswapV2Router02.sol"; // NPM Imports import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; /** * @title IBaggeToken ~ Bagge interface, containing imports, error types custom events. * @author LTL & M2xM ~ Your trust worthy devs. * @notice */ interface IBAGGE is IERC20 { /** * triggered when wallet limits are revised. * @param value New limits. */ event WalletLimitsRevised(uint value); /** * triggered when wallet limits are revised. * @param value New limits. */ event TaxLimitsRevised(uint value); }
// SPDX-License-Identifier: MIT pragma solidity 0.8.23; library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; return c; } function min(uint256 a, uint256 b) private pure returns (uint256) { return (a > b) ? b : a; } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.23; interface IUniswapV2Factory { event PairCreated( address indexed token0, address indexed token1, address pair, uint ); function getPair( address tokenA, address tokenB ) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function createPair( address tokenA, address tokenB ) external returns (address pair); }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable returns (uint[] memory amounts); function swapTokensForExactETH( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactTokensForETH( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapETHForExactTokens( uint amountOut, address[] calldata path, address to, uint deadline ) external payable returns (uint[] memory amounts); function quote( uint amountA, uint reserveA, uint reserveB ) external pure returns (uint amountB); function getAmountOut( uint amountIn, uint reserveIn, uint reserveOut ) external pure returns (uint amountOut); function getAmountIn( uint amountOut, uint reserveIn, uint reserveOut ) external pure returns (uint amountIn); function getAmountsOut( uint amountIn, address[] calldata path ) external view returns (uint[] memory amounts); function getAmountsIn( uint amountOut, address[] calldata path ) external view returns (uint[] memory amounts); } interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
{ "optimizer": { "enabled": true, "runs": 1336 }, "evmVersion": "paris", "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","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":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TaxLimitsRevised","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"WalletLimitsRevised","type":"event"},{"inputs":[{"internalType":"address[]","name":"addList","type":"address[]"}],"name":"addToBkList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"createUniLQPoolAndBeginTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"a","type":"address"}],"name":"isOnBkList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liftTaxLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"liftWalletLimits","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":[{"internalType":"address[]","name":"removeList","type":"address[]"}],"name":"removeFromBkList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","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":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","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"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052620000126009600a62000312565b62000022906302625a006200032a565b600155620000336009600a62000312565b62000043906307270e006200032a565b600255620000546009600a62000312565b62000064906307270e006200032a565b600355600b805464ffffffffff60a01b191690553480156200008557600080fd5b503380620000ad57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b620000b881620001ad565b50620000c76009600a62000312565b620000d8906401dcd650006200032a565b33600081815260056020908152604080832094909455600980546001600160a01b03191661dead17815582546001600160a01b0390811684526007909252848320805460ff199081166001908117909255308552868520805482168317905591549092168352939091208054909316179091556001600160a01b031660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef620001856009600a62000312565b62000196906401dcd650006200032a565b60405190815260200160405180910390a362000344565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111562000254578160001904821115620002385762000238620001fd565b808516156200024657918102915b93841c939080029062000218565b509250929050565b6000826200026d575060016200030c565b816200027c575060006200030c565b8160018114620002955760028114620002a057620002c0565b60019150506200030c565b60ff841115620002b457620002b4620001fd565b50506001821b6200030c565b5060208310610133831016604e8410600b8410161715620002e5575081810a6200030c565b620002f1838362000213565b8060001904821115620003085762000308620001fd565b0290505b92915050565b60006200032360ff8416836200025c565b9392505050565b80820281158282048414176200030c576200030c620001fd565b611c4d80620003546000396000f3fe60806040526004361061012d5760003560e01c806370963f40116100a55780638da5cb5b11610074578063a9059cbb11610059578063a9059cbb14610393578063dd62ed3e146103b3578063f2fde38b146103f957600080fd5b80638da5cb5b1461032557806395d89b411461034d57600080fd5b806370963f401461028157806370a08231146102a1578063715018a6146102d757806385ccfaca146102ec57600080fd5b806323b872dd116100fc57806356237deb116100e157806356237deb146102425780635bc206d3146102575780635f0b1d611461026c57600080fd5b806323b872dd14610206578063313ce5671461022657600080fd5b806306fdde0314610139578063095ea7b3146101915780630ebd6885146101c157806318160ddd146101e357600080fd5b3661013457005b600080fd5b34801561014557600080fd5b5060408051808201909152600d81527f457573746163652042616767650000000000000000000000000000000000000060208201525b60405161018891906117f8565b60405180910390f35b34801561019d57600080fd5b506101b16101ac36600461186c565b610419565b6040519015158152602001610188565b3480156101cd57600080fd5b506101e16101dc3660046118ae565b610430565b005b3480156101ef57600080fd5b506101f861049a565b604051908152602001610188565b34801561021257600080fd5b506101b1610221366004611973565b6104bc565b34801561023257600080fd5b5060405160098152602001610188565b34801561024e57600080fd5b506101e1610525565b34801561026357600080fd5b506101e1610967565b34801561027857600080fd5b506101e1610ab3565b34801561028d57600080fd5b506101e161029c3660046118ae565b610bcc565b3480156102ad57600080fd5b506101f86102bc3660046119b4565b6001600160a01b031660009081526005602052604090205490565b3480156102e357600080fd5b506101e1610c32565b3480156102f857600080fd5b506101b16103073660046119b4565b6001600160a01b031660009081526008602052604090205460ff1690565b34801561033157600080fd5b506000546040516001600160a01b039091168152602001610188565b34801561035957600080fd5b5060408051808201909152600581527f4241474745000000000000000000000000000000000000000000000000000000602082015261017b565b34801561039f57600080fd5b506101b16103ae36600461186c565b610c46565b3480156103bf57600080fd5b506101f86103ce3660046119d1565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b34801561040557600080fd5b506101e16104143660046119b4565b610c53565b6000610426338484610caa565b5060015b92915050565b610438610de9565b60005b81518110156104965760016008600084848151811061045c5761045c611a0a565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905560010161043b565b5050565b60006104a86009600a611b1a565b6104b7906401dcd65000611b29565b905090565b60006104c9848484610e2f565b61051b843361051685604051806060016040528060228152602001611bf6602291396001600160a01b038a16600090815260066020908152604080832033845290915290205491906113d3565b610caa565b5060019392505050565b61052d610de9565b600b5474010000000000000000000000000000000000000000900460ff161561059d5760405162461bcd60e51b815260206004820152601960248201527f54726164696e672068617320616c726561647920626567756e0000000000000060448201526064015b60405180910390fd5b600b805473ffffffffffffffffffffffffffffffffffffffff1916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556105f49030906105e56009600a611b1a565b610516906401dcd65000611b29565b600b60009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610647573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061066b9190611b40565b6001600160a01b031663c9c6539630600b60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f19190611b40565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610756573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061077a9190611b40565b600a80546001600160a01b0392831673ffffffffffffffffffffffffffffffffffffffff19909116179055600b541663f305d71947306107cf816001600160a01b031660009081526005602052604090205490565b6000806107e46000546001600160a01b031690565b60405160e088901b7fffffffff000000000000000000000000000000000000000000000000000000001681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610864573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906108899190611b5d565b5050600a54600b546040517f095ea7b30000000000000000000000000000000000000000000000000000000081526001600160a01b03918216600482015260001960248201529116915063095ea7b3906044016020604051808303816000875af11580156108fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061091f9190611b8b565b50600b80547fffffffffffffffffff00ff00ffffffffffffffffffffffffffffffffffffffff1676010001000000000000000000000000000000000000000017905543600455565b61096f610de9565b600b54600160b81b900460ff16156109fa5760405162461bcd60e51b815260206004820152604260248201527f4c696d697473206861766520616c7265616479206265656e206c69667465642c60448201527f2063616e206e6f742063616c6c20746869732066756e6374696f6e2074776963606482015261329760f11b608482015260a401610594565b610a066009600a611b1a565b610a15906401dcd65000611b29565b600255610a246009600a611b1a565b610a33906401dcd65000611b29565b600355600b80547fffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffffff16600160b81b1790557f468f9b82c1a58ac6d869c749c2efbf9c7b8d7245545ed420865d37cc4c5d835f610a916009600a611b1a565b610aa0906401dcd65000611b29565b60405190815260200160405180910390a1565b610abb610de9565b600b54600160c01b900460ff1615610b465760405162461bcd60e51b815260206004820152604260248201527f4c696d697473206861766520616c7265616479206265656e206c69667465642c60448201527f2063616e206e6f742063616c6c20746869732066756e6374696f6e2074776963606482015261329760f11b608482015260a401610594565b610b7130610b5c6000546001600160a01b031690565b30600090815260056020526040902054610e2f565b600b80547fffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffffffff16600160c01b1790557f122379ee38ec290d90c593206d9033cdff61ccf81f79099ad383a219e7f67627610a916009600a611b1a565b610bd4610de9565b60005b815181101561049657600060086000848481518110610bf857610bf8611a0a565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055600101610bd7565b610c3a610de9565b610c44600061140d565b565b6000610426338484610e2f565b610c5b610de9565b6001600160a01b038116610c9e576040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260006004820152602401610594565b610ca78161140d565b50565b6001600160a01b038316610d0c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610594565b6001600160a01b038216610d885760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610594565b6001600160a01b0383811660008181526006602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000546001600160a01b03163314610c44576040517f118cdaa7000000000000000000000000000000000000000000000000000000008152336004820152602401610594565b6001600160a01b038316610eab5760405162461bcd60e51b815260206004820152602660248201527f43616e206e6f74207472616e736665722066726f6d20746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610594565b6001600160a01b038216610f0d5760405162461bcd60e51b8152602060048201526024808201527f43616e206e6f74207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610594565b60008111610f835760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d75737420626520677265617465722060448201527f7468616e207a65726f00000000000000000000000000000000000000000000006064820152608401610594565b6001600160a01b03831660009081526008602052604090205460ff16158015610fc557506001600160a01b03821660009081526008602052604090205460ff16155b6110375760405162461bcd60e51b815260206004820152603260248201527f426c6f636b65642066726f6d207472616e7366657272696e672c20616464726560448201527f737320666c616767656420617320626f747300000000000000000000000000006064820152608401610594565b6001600160a01b03831660009081526007602052604090205460ff168061107657506001600160a01b03821660009081526007602052604090205460ff165b1561108d57611088838383600061146a565b505050565b60006110a66103e86110a0846008611533565b906115d8565b600a549091506001600160a01b038481169116148015906110d15750600b54600160c01b900460ff16155b156110eb576110e86103e86110a0846103b6611533565b90505b600a546001600160a01b0385811691161480156111165750600b546001600160a01b03848116911614155b1561120a5760025482111561116d5760405162461bcd60e51b815260206004820181905260248201527f4578636565647320746865207472616e73616374696f6e206d6178696d756d2e6044820152606401610594565b60035482611190856001600160a01b031660009081526005602052604090205490565b61119a9190611bad565b11156111e85760405162461bcd60e51b815260206004820152601b60248201527f45786365656473207468652077616c6c6574206d6178696d756d2e00000000006044820152606401610594565b4360045460036111f89190611bad565b111561120a57823b1561120a57600080fd5b600a546001600160a01b0384811691161461129a5760035482611242856001600160a01b031660009081526005602052604090205490565b61124c9190611bad565b111561129a5760405162461bcd60e51b815260206004820152601b60248201527f45786365656473207468652077616c6c6574206d6178696d756d2e00000000006044820152606401610594565b306000908152600560205260409020546112b4908261161a565b30600081815260056020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906113059085815260200190565b60405180910390a3600b54760100000000000000000000000000000000000000000000900460ff1680156113425750600b54600160b81b900460ff165b80156113575750600b54600160c01b900460ff165b801561137f5750600b547501000000000000000000000000000000000000000000900460ff16155b80156113985750600a546001600160a01b038481169116145b80156113b4575060015430600090815260056020526040902054115b156113c1576113c1611679565b6113cd8484848461146a565b50505050565b600081848411156113f75760405162461bcd60e51b815260040161059491906117f8565b5060006114048486611bc0565b95945050505050565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03841660009081526005602052604090205461148d9083611788565b6001600160a01b0385166000908152600560205260409020556114d26114b38383611788565b6001600160a01b0385166000908152600560205260409020549061161a565b6001600160a01b0380851660008181526005602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef61151c8585611788565b60405190815260200160405180910390a350505050565b6000826000036115455750600061042a565b60006115518385611b29565b90508261155e8583611bd3565b146115d15760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f60448201527f77000000000000000000000000000000000000000000000000000000000000006064820152608401610594565b9392505050565b60006115d183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506117ca565b6000806116278385611bad565b9050838110156115d15760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610594565b600b80547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff167501000000000000000000000000000000000000000000179055306000908152600560205260409020546116d38180611788565b30600090815260056020526040808220929092556009546001600160a01b031681522054611701908261161a565b600980546001600160a01b03908116600090815260056020908152604091829020949094559154915184815291169130917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350600b80547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff169055565b60006115d183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506113d3565b600081836117eb5760405162461bcd60e51b815260040161059491906117f8565b5060006114048486611bd3565b60006020808352835180602085015260005b818110156118265785810183015185820160400152820161180a565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610ca757600080fd5b803561186781611847565b919050565b6000806040838503121561187f57600080fd5b823561188a81611847565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156118c157600080fd5b823567ffffffffffffffff808211156118d957600080fd5b818501915085601f8301126118ed57600080fd5b8135818111156118ff576118ff611898565b8060051b604051601f19603f8301168101818110858211171561192457611924611898565b60405291825284820192508381018501918883111561194257600080fd5b938501935b82851015611967576119588561185c565b84529385019392850192611947565b98975050505050505050565b60008060006060848603121561198857600080fd5b833561199381611847565b925060208401356119a381611847565b929592945050506040919091013590565b6000602082840312156119c657600080fd5b81356115d181611847565b600080604083850312156119e457600080fd5b82356119ef81611847565b915060208301356119ff81611847565b809150509250929050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600181815b80851115611a71578160001904821115611a5757611a57611a20565b80851615611a6457918102915b93841c9390800290611a3b565b509250929050565b600082611a885750600161042a565b81611a955750600061042a565b8160018114611aab5760028114611ab557611ad1565b600191505061042a565b60ff841115611ac657611ac6611a20565b50506001821b61042a565b5060208310610133831016604e8410600b8410161715611af4575081810a61042a565b611afe8383611a36565b8060001904821115611b1257611b12611a20565b029392505050565b60006115d160ff841683611a79565b808202811582820484141761042a5761042a611a20565b600060208284031215611b5257600080fd5b81516115d181611847565b600080600060608486031215611b7257600080fd5b8351925060208401519150604084015190509250925092565b600060208284031215611b9d57600080fd5b815180151581146115d157600080fd5b8082018082111561042a5761042a611a20565b8181038181111561042a5761042a611a20565b600082611bf057634e487b7160e01b600052601260045260246000fd5b50049056fe43616e206e6f7420657863656564207472616e7366657220616c6c6f77616e63652ea2646970667358221220d8cead4e3ff93c5938b15aa29b27ec959a39ee7b09546d663a8a89832a86db5464736f6c63430008170033
Deployed Bytecode
0x60806040526004361061012d5760003560e01c806370963f40116100a55780638da5cb5b11610074578063a9059cbb11610059578063a9059cbb14610393578063dd62ed3e146103b3578063f2fde38b146103f957600080fd5b80638da5cb5b1461032557806395d89b411461034d57600080fd5b806370963f401461028157806370a08231146102a1578063715018a6146102d757806385ccfaca146102ec57600080fd5b806323b872dd116100fc57806356237deb116100e157806356237deb146102425780635bc206d3146102575780635f0b1d611461026c57600080fd5b806323b872dd14610206578063313ce5671461022657600080fd5b806306fdde0314610139578063095ea7b3146101915780630ebd6885146101c157806318160ddd146101e357600080fd5b3661013457005b600080fd5b34801561014557600080fd5b5060408051808201909152600d81527f457573746163652042616767650000000000000000000000000000000000000060208201525b60405161018891906117f8565b60405180910390f35b34801561019d57600080fd5b506101b16101ac36600461186c565b610419565b6040519015158152602001610188565b3480156101cd57600080fd5b506101e16101dc3660046118ae565b610430565b005b3480156101ef57600080fd5b506101f861049a565b604051908152602001610188565b34801561021257600080fd5b506101b1610221366004611973565b6104bc565b34801561023257600080fd5b5060405160098152602001610188565b34801561024e57600080fd5b506101e1610525565b34801561026357600080fd5b506101e1610967565b34801561027857600080fd5b506101e1610ab3565b34801561028d57600080fd5b506101e161029c3660046118ae565b610bcc565b3480156102ad57600080fd5b506101f86102bc3660046119b4565b6001600160a01b031660009081526005602052604090205490565b3480156102e357600080fd5b506101e1610c32565b3480156102f857600080fd5b506101b16103073660046119b4565b6001600160a01b031660009081526008602052604090205460ff1690565b34801561033157600080fd5b506000546040516001600160a01b039091168152602001610188565b34801561035957600080fd5b5060408051808201909152600581527f4241474745000000000000000000000000000000000000000000000000000000602082015261017b565b34801561039f57600080fd5b506101b16103ae36600461186c565b610c46565b3480156103bf57600080fd5b506101f86103ce3660046119d1565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b34801561040557600080fd5b506101e16104143660046119b4565b610c53565b6000610426338484610caa565b5060015b92915050565b610438610de9565b60005b81518110156104965760016008600084848151811061045c5761045c611a0a565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905560010161043b565b5050565b60006104a86009600a611b1a565b6104b7906401dcd65000611b29565b905090565b60006104c9848484610e2f565b61051b843361051685604051806060016040528060228152602001611bf6602291396001600160a01b038a16600090815260066020908152604080832033845290915290205491906113d3565b610caa565b5060019392505050565b61052d610de9565b600b5474010000000000000000000000000000000000000000900460ff161561059d5760405162461bcd60e51b815260206004820152601960248201527f54726164696e672068617320616c726561647920626567756e0000000000000060448201526064015b60405180910390fd5b600b805473ffffffffffffffffffffffffffffffffffffffff1916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556105f49030906105e56009600a611b1a565b610516906401dcd65000611b29565b600b60009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610647573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061066b9190611b40565b6001600160a01b031663c9c6539630600b60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f19190611b40565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610756573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061077a9190611b40565b600a80546001600160a01b0392831673ffffffffffffffffffffffffffffffffffffffff19909116179055600b541663f305d71947306107cf816001600160a01b031660009081526005602052604090205490565b6000806107e46000546001600160a01b031690565b60405160e088901b7fffffffff000000000000000000000000000000000000000000000000000000001681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610864573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906108899190611b5d565b5050600a54600b546040517f095ea7b30000000000000000000000000000000000000000000000000000000081526001600160a01b03918216600482015260001960248201529116915063095ea7b3906044016020604051808303816000875af11580156108fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061091f9190611b8b565b50600b80547fffffffffffffffffff00ff00ffffffffffffffffffffffffffffffffffffffff1676010001000000000000000000000000000000000000000017905543600455565b61096f610de9565b600b54600160b81b900460ff16156109fa5760405162461bcd60e51b815260206004820152604260248201527f4c696d697473206861766520616c7265616479206265656e206c69667465642c60448201527f2063616e206e6f742063616c6c20746869732066756e6374696f6e2074776963606482015261329760f11b608482015260a401610594565b610a066009600a611b1a565b610a15906401dcd65000611b29565b600255610a246009600a611b1a565b610a33906401dcd65000611b29565b600355600b80547fffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffffff16600160b81b1790557f468f9b82c1a58ac6d869c749c2efbf9c7b8d7245545ed420865d37cc4c5d835f610a916009600a611b1a565b610aa0906401dcd65000611b29565b60405190815260200160405180910390a1565b610abb610de9565b600b54600160c01b900460ff1615610b465760405162461bcd60e51b815260206004820152604260248201527f4c696d697473206861766520616c7265616479206265656e206c69667465642c60448201527f2063616e206e6f742063616c6c20746869732066756e6374696f6e2074776963606482015261329760f11b608482015260a401610594565b610b7130610b5c6000546001600160a01b031690565b30600090815260056020526040902054610e2f565b600b80547fffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffffffff16600160c01b1790557f122379ee38ec290d90c593206d9033cdff61ccf81f79099ad383a219e7f67627610a916009600a611b1a565b610bd4610de9565b60005b815181101561049657600060086000848481518110610bf857610bf8611a0a565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055600101610bd7565b610c3a610de9565b610c44600061140d565b565b6000610426338484610e2f565b610c5b610de9565b6001600160a01b038116610c9e576040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260006004820152602401610594565b610ca78161140d565b50565b6001600160a01b038316610d0c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610594565b6001600160a01b038216610d885760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610594565b6001600160a01b0383811660008181526006602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000546001600160a01b03163314610c44576040517f118cdaa7000000000000000000000000000000000000000000000000000000008152336004820152602401610594565b6001600160a01b038316610eab5760405162461bcd60e51b815260206004820152602660248201527f43616e206e6f74207472616e736665722066726f6d20746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610594565b6001600160a01b038216610f0d5760405162461bcd60e51b8152602060048201526024808201527f43616e206e6f74207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610594565b60008111610f835760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d75737420626520677265617465722060448201527f7468616e207a65726f00000000000000000000000000000000000000000000006064820152608401610594565b6001600160a01b03831660009081526008602052604090205460ff16158015610fc557506001600160a01b03821660009081526008602052604090205460ff16155b6110375760405162461bcd60e51b815260206004820152603260248201527f426c6f636b65642066726f6d207472616e7366657272696e672c20616464726560448201527f737320666c616767656420617320626f747300000000000000000000000000006064820152608401610594565b6001600160a01b03831660009081526007602052604090205460ff168061107657506001600160a01b03821660009081526007602052604090205460ff165b1561108d57611088838383600061146a565b505050565b60006110a66103e86110a0846008611533565b906115d8565b600a549091506001600160a01b038481169116148015906110d15750600b54600160c01b900460ff16155b156110eb576110e86103e86110a0846103b6611533565b90505b600a546001600160a01b0385811691161480156111165750600b546001600160a01b03848116911614155b1561120a5760025482111561116d5760405162461bcd60e51b815260206004820181905260248201527f4578636565647320746865207472616e73616374696f6e206d6178696d756d2e6044820152606401610594565b60035482611190856001600160a01b031660009081526005602052604090205490565b61119a9190611bad565b11156111e85760405162461bcd60e51b815260206004820152601b60248201527f45786365656473207468652077616c6c6574206d6178696d756d2e00000000006044820152606401610594565b4360045460036111f89190611bad565b111561120a57823b1561120a57600080fd5b600a546001600160a01b0384811691161461129a5760035482611242856001600160a01b031660009081526005602052604090205490565b61124c9190611bad565b111561129a5760405162461bcd60e51b815260206004820152601b60248201527f45786365656473207468652077616c6c6574206d6178696d756d2e00000000006044820152606401610594565b306000908152600560205260409020546112b4908261161a565b30600081815260056020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906113059085815260200190565b60405180910390a3600b54760100000000000000000000000000000000000000000000900460ff1680156113425750600b54600160b81b900460ff165b80156113575750600b54600160c01b900460ff165b801561137f5750600b547501000000000000000000000000000000000000000000900460ff16155b80156113985750600a546001600160a01b038481169116145b80156113b4575060015430600090815260056020526040902054115b156113c1576113c1611679565b6113cd8484848461146a565b50505050565b600081848411156113f75760405162461bcd60e51b815260040161059491906117f8565b5060006114048486611bc0565b95945050505050565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03841660009081526005602052604090205461148d9083611788565b6001600160a01b0385166000908152600560205260409020556114d26114b38383611788565b6001600160a01b0385166000908152600560205260409020549061161a565b6001600160a01b0380851660008181526005602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef61151c8585611788565b60405190815260200160405180910390a350505050565b6000826000036115455750600061042a565b60006115518385611b29565b90508261155e8583611bd3565b146115d15760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f60448201527f77000000000000000000000000000000000000000000000000000000000000006064820152608401610594565b9392505050565b60006115d183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506117ca565b6000806116278385611bad565b9050838110156115d15760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610594565b600b80547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff167501000000000000000000000000000000000000000000179055306000908152600560205260409020546116d38180611788565b30600090815260056020526040808220929092556009546001600160a01b031681522054611701908261161a565b600980546001600160a01b03908116600090815260056020908152604091829020949094559154915184815291169130917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350600b80547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff169055565b60006115d183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506113d3565b600081836117eb5760405162461bcd60e51b815260040161059491906117f8565b5060006114048486611bd3565b60006020808352835180602085015260005b818110156118265785810183015185820160400152820161180a565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610ca757600080fd5b803561186781611847565b919050565b6000806040838503121561187f57600080fd5b823561188a81611847565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156118c157600080fd5b823567ffffffffffffffff808211156118d957600080fd5b818501915085601f8301126118ed57600080fd5b8135818111156118ff576118ff611898565b8060051b604051601f19603f8301168101818110858211171561192457611924611898565b60405291825284820192508381018501918883111561194257600080fd5b938501935b82851015611967576119588561185c565b84529385019392850192611947565b98975050505050505050565b60008060006060848603121561198857600080fd5b833561199381611847565b925060208401356119a381611847565b929592945050506040919091013590565b6000602082840312156119c657600080fd5b81356115d181611847565b600080604083850312156119e457600080fd5b82356119ef81611847565b915060208301356119ff81611847565b809150509250929050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600181815b80851115611a71578160001904821115611a5757611a57611a20565b80851615611a6457918102915b93841c9390800290611a3b565b509250929050565b600082611a885750600161042a565b81611a955750600061042a565b8160018114611aab5760028114611ab557611ad1565b600191505061042a565b60ff841115611ac657611ac6611a20565b50506001821b61042a565b5060208310610133831016604e8410600b8410161715611af4575081810a61042a565b611afe8383611a36565b8060001904821115611b1257611b12611a20565b029392505050565b60006115d160ff841683611a79565b808202811582820484141761042a5761042a611a20565b600060208284031215611b5257600080fd5b81516115d181611847565b600080600060608486031215611b7257600080fd5b8351925060208401519150604084015190509250925092565b600060208284031215611b9d57600080fd5b815180151581146115d157600080fd5b8082018082111561042a5761042a611a20565b8181038181111561042a5761042a611a20565b600082611bf057634e487b7160e01b600052601260045260246000fd5b50049056fe43616e206e6f7420657863656564207472616e7366657220616c6c6f77616e63652ea2646970667358221220d8cead4e3ff93c5938b15aa29b27ec959a39ee7b09546d663a8a89832a86db5464736f6c63430008170033
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.