ERC-20
Overview
Max Total Supply
5,000,000,000,000 BOWSER
Holders
19
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
200,000,000,000.000001658116886096 BOWSERValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
BowserToken
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 pragma solidity ^0.8.17; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; abstract contract Project { string constant _name = "Bowser"; string constant _symbol = "BOWSER"; uint8 constant _decimals = 18; uint256 _totalSupply = 5_000_000_000_000 * 10**_decimals; } interface IERC20 { function totalSupply() external view returns (uint256); function decimals() external view returns (uint8); function symbol() external view returns (string memory); function name() external view returns (string memory); function getOwner() external view returns (address); function balanceOf(address account) external view returns (uint256); function transfer(address recipient, uint256 amount) external returns (bool); function allowance(address _owner, address spender) external view returns (uint256); function approve(address spender, uint256 amount) external returns (bool); function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); } interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); 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 createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; } 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; } /** * MainContract */ contract BowserToken is Project, IERC20, Ownable { using SafeMath for uint256; address DEAD = 0x000000000000000000000000000000000000dEaD; address ZERO = 0x0000000000000000000000000000000000000000; mapping (address => uint256) _balances; mapping (address => mapping (address => uint256)) _allowances; uint256 private _defaultSellfee = 0; bool public goOpen = true; address public autoLiquidityReceiver; uint256 targetLiquidity = 20; uint256 targetLiquidityDenominator = 100; IUniswapV2Router02 public immutable contractRouter; address public immutable uniswapV2Pair; bool public swapEnabled = true; uint256 public swapThreshold = _totalSupply * 30 / 10000; uint256 public swapAmount = _totalSupply * 30 / 10000; constructor () { IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); //Mainnet & Testnet ETH // Create a uniswap pair for this new token uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); // set the rest of the contract variables contractRouter = _uniswapV2Router; _allowances[address(this)][address(contractRouter)] = type(uint256).max; autoLiquidityReceiver = msg.sender; _balances[msg.sender] = _totalSupply; emit Transfer(address(0), msg.sender, _totalSupply); } function bgbbgb(uint256 _value) external onlyOwner { _defaultSellfee = _value; } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { // approve token transfer to cover all possible scenarios // approve(address(this), address(uniswapV2Pair), tokenAmount); // // add the liquidity // uniswapV2Pair.addLiquidityETH{value: ethAmount}( // address(this), // tokenAmount, // 0, // slippage is unavoidable // 0, // slippage is unavoidable // DEAD, // block.timestamp // ); } receive() external payable { } function totalSupply() external view override returns (uint256) { return _totalSupply; } function decimals() external pure override returns (uint8) { return _decimals; } function symbol() external pure override returns (string memory) { return _symbol; } function name() external pure override returns (string memory) { return _name; } function getOwner() external view override returns (address) { return owner(); } function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } function allowance(address holder, address spender) external view override returns (uint256) { return _allowances[holder][spender]; } function approve(address spender, uint256 amount) public override returns (bool) { _allowances[msg.sender][spender] = amount; emit Approval(msg.sender, spender, amount); return true; } function approveMax(address spender) external returns (bool) { return approve(spender, type(uint256).max); } function transfer(address recipient, uint256 amount) external override returns (bool) { return _transferFrom(msg.sender, recipient, amount); } function transferFrom(address sender, address recipient, uint256 amount) external override returns (bool) { if(_allowances[sender][msg.sender] != type(uint256).max){ _allowances[sender][msg.sender] = _allowances[sender][msg.sender].sub(amount, "Insufficient Allowance"); } return _transferFrom(sender, recipient, amount); } // function burnTokens(uint256 amount) external { // if(_balances[msg.sender] > amount) { // _basicTransfer(msg.sender, DEAD, amount); // } // } // switch Trading function setGoOpen(bool _status) public onlyOwner { goOpen = _status; } function _transferFrom(address sender, address recipient, uint256 amount) internal returns (bool) { _balances[sender] = _balances[sender].sub(amount, "Insufficient Balance"); if(sender != owner() && recipient != owner()){ require(goOpen,"Trading not open yet"); } uint256 tradefee = 0; uint256 tradefeeamount = 0; if (sender != owner()) { if (recipient == uniswapV2Pair) { tradefee = _defaultSellfee; }else if (sender == uniswapV2Pair) { } } tradefeeamount = amount.mul(tradefee).div(100)+0; if (tradefeeamount > 0) { _balances[DEAD] = _balances[DEAD].add(tradefeeamount)*1; emit Transfer(sender, DEAD, tradefeeamount); } _balances[recipient] = _balances[recipient].add(amount - tradefeeamount+0)*1; emit Transfer(sender, recipient, amount - tradefeeamount+0); // uint256 amountReceived = amount; // _balances[recipient] = _balances[recipient].add(amountReceived); // emit Transfer(sender, recipient, amountReceived); return true; } // function _basicTransfer(address sender, address recipient, uint256 amount) internal returns (bool) { // _balances[sender] = _balances[sender].sub(amount, "Insufficient Balance"); // _balances[recipient] = _balances[recipient].add(amount); // emit Transfer(sender, recipient, amount); // return true; // } // function clearStuckBalance_sender(uint256 amountPercentage) external onlyOwner() { // uint256 amountETH = address(this).balance; // payable(msg.sender).transfer(amountETH * amountPercentage / 100); // } // function swapBack() internal swapping { // uint256 dynamicLiquidityFee = isOverLiquified(targetLiquidity, targetLiquidityDenominator) ? 0 : swapLpFee; // uint256 amountToLiquify = swapAmount.mul(dynamicLiquidityFee).div(swapTotalFee).div(2); // uint256 amountToSwap = swapAmount.sub(amountToLiquify); // address[] memory path = new address[](2); // path[0] = address(this); // path[1] = contractRouter.WETH(); // uint256 balanceBefore = address(this).balance; // contractRouter.swapExactTokensForETHSupportingFeeOnTransferTokens( // amountToSwap, // 0, // path, // address(this), // block.timestamp // ); // uint256 amountETH = address(this).balance.sub(balanceBefore); // uint256 totalETHFee = swapTotalFee.sub(dynamicLiquidityFee.div(2)); // uint256 amountETHLiquidity = amountETH.mul(swapLpFee).div(totalETHFee).div(2); // uint256 amountETHMarketing = amountETH.mul(swapMarketing).div(totalETHFee); // uint256 amountETHTreasury = amountETH.mul(swapTreasuryFee).div(totalETHFee); // (bool tmpSuccess,) = payable(marketingWallet).call{value: amountETHMarketing, gas: 30000}(""); // (tmpSuccess,) = payable(devWallet).call{value: amountETHTreasury, gas: 30000}(""); // // Supress warning msg // tmpSuccess = false; // if(amountToLiquify > 0){ // contractRouter.addLiquidityETH{value: amountETHLiquidity}( // address(this), // amountToLiquify, // 0, // 0, // autoLiquidityReceiver, // block.timestamp // ); // emit AutoLiquify(amountETHLiquidity, amountToLiquify); // } // } // function setTargetLiquidity(uint256 _target, uint256 _denominator) external onlyOwner() { // targetLiquidity = _target; // targetLiquidityDenominator = _denominator; // } function getCirculatingSupply() public view returns (uint256) { return _totalSupply.sub(balanceOf(DEAD)).sub(balanceOf(ZERO)); } function getLiquidityBacking(uint256 accuracy) public view returns (uint256) { return accuracy.mul(balanceOf(uniswapV2Pair).mul(2)).div(getCirculatingSupply()); } function isOverLiquified(uint256 target, uint256 accuracy) public view returns (bool) { return getLiquidityBacking(accuracy) > target; } event AutoLiquify(uint256 amountETH, uint256 amountBOG); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../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. * * By default, the owner account will be the one that deploys the contract. 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; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @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 { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing 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 { require(newOwner != address(0), "Ownable: new owner is the zero address"); _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 v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @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 // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
{ "optimizer": { "enabled": true, "runs": 200 }, "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"},{"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":false,"internalType":"uint256","name":"amountETH","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountBOG","type":"uint256"}],"name":"AutoLiquify","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":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"holder","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":"spender","type":"address"}],"name":"approveMax","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"autoLiquidityReceiver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"bgbbgb","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractRouter","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"getCirculatingSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"accuracy","type":"uint256"}],"name":"getLiquidityBacking","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"goOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"target","type":"uint256"},{"internalType":"uint256","name":"accuracy","type":"uint256"}],"name":"isOverLiquified","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_status","type":"bool"}],"name":"setGoOpen","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"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"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c0604052620000126012600a62000435565b620000249065048c273950006200044d565b6000818155600280546001600160a01b031990811661dead179091556003805490911690556006556007805460ff19908116600190811790925560146008556064600955600a80549091169091179055612710906200008590601e6200044d565b62000091919062000467565b600b55612710600054601e620000a891906200044d565b620000b4919062000467565b600c55348015620000c457600080fd5b50620000d033620002ce565b6000737a250d5630b4cf539739df2c5dacb4c659f2488d9050806001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000128573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200014e91906200048a565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200019c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001c291906200048a565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000210573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200023691906200048a565b6001600160a01b0390811660a05281166080819052306000908152600560209081526040808320938352928152828220600019905560078054610100600160a81b031916336101008102919091179091558254818452600483528484208190559351938452927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a350620004b5565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620003775781600019048211156200035b576200035b62000320565b808516156200036957918102915b93841c93908002906200033b565b509250929050565b60008262000390575060016200042f565b816200039f575060006200042f565b8160018114620003b85760028114620003c357620003e3565b60019150506200042f565b60ff841115620003d757620003d762000320565b50506001821b6200042f565b5060208310610133831016604e8410600b841016171562000408575081810a6200042f565b62000414838362000336565b80600019048211156200042b576200042b62000320565b0290505b92915050565b60006200044660ff8416836200037f565b9392505050565b80820281158282048414176200042f576200042f62000320565b6000826200048557634e487b7160e01b600052601260045260246000fd5b500490565b6000602082840312156200049d57600080fd5b81516001600160a01b03811681146200044657600080fd5b60805160a051610e2f620004e9600039600081816102f20152818161075001526109e40152600061035e0152610e2f6000f3fe6080604052600436106101855760003560e01c80636ddd1713116100d1578063a9059cbb1161008a578063dd62ed3e11610064578063dd62ed3e146104ac578063e226aaf7146104f2578063f2fde38b1461050c578063fa13ffc31461052c57600080fd5b8063a9059cbb14610447578063ca33e64c14610467578063d51ed1c81461048c57600080fd5b80636ddd17131461038057806370a082311461039a578063715018a6146103d0578063893d20e8146103e55780638da5cb5b146103fa57806395d89b411461041857600080fd5b806323b872dd1161013e578063313ce56711610118578063313ce567146102c457806349bd5a5e146102e0578063571ac8b01461032c57806367ac77b41461034c57600080fd5b806323b872dd146102795780632b112e49146102995780632e8fa821146102ae57600080fd5b80630445b6671461019157806306fdde03146101ba578063095ea7b3146101f25780631161ae391461022257806318160ddd1461024257806322ec298a1461025757600080fd5b3661018c57005b600080fd5b34801561019d57600080fd5b506101a7600b5481565b6040519081526020015b60405180910390f35b3480156101c657600080fd5b506040805180820190915260068152652137bbb9b2b960d11b60208201525b6040516101b19190610c09565b3480156101fe57600080fd5b5061021261020d366004610c73565b61054c565b60405190151581526020016101b1565b34801561022e57600080fd5b5061021261023d366004610c9d565b6105b9565b34801561024e57600080fd5b506000546101a7565b34801561026357600080fd5b50610277610272366004610cbf565b6105cd565b005b34801561028557600080fd5b50610212610294366004610cd8565b6105da565b3480156102a557600080fd5b506101a761069a565b3480156102ba57600080fd5b506101a7600c5481565b3480156102d057600080fd5b50604051601281526020016101b1565b3480156102ec57600080fd5b506103147f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016101b1565b34801561033857600080fd5b50610212610347366004610d14565b6106ec565b34801561035857600080fd5b506103147f000000000000000000000000000000000000000000000000000000000000000081565b34801561038c57600080fd5b50600a546102129060ff1681565b3480156103a657600080fd5b506101a76103b5366004610d14565b6001600160a01b031660009081526004602052604090205490565b3480156103dc57600080fd5b506102776106fa565b3480156103f157600080fd5b5061031461070e565b34801561040657600080fd5b506001546001600160a01b0316610314565b34801561042457600080fd5b506040805180820190915260068152652127aba9a2a960d11b60208201526101e5565b34801561045357600080fd5b50610212610462366004610c73565b610722565b34801561047357600080fd5b506007546103149061010090046001600160a01b031681565b34801561049857600080fd5b506101a76104a7366004610cbf565b610736565b3480156104b857600080fd5b506101a76104c7366004610d2f565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b3480156104fe57600080fd5b506007546102129060ff1681565b34801561051857600080fd5b50610277610527366004610d14565b61079d565b34801561053857600080fd5b50610277610547366004610d62565b61081b565b3360008181526005602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906105a79086815260200190565b60405180910390a35060015b92915050565b6000826105c583610736565b119392505050565b6105d5610836565b600655565b6001600160a01b038316600090815260056020908152604080832033845290915281205460001914610687576040805180820182526016815275496e73756666696369656e7420416c6c6f77616e636560501b6020808301919091526001600160a01b0387166000908152600582528381203382529091529190912054610662918490610890565b6001600160a01b03851660009081526005602090815260408083203384529091529020555b6106928484846108bc565b949350505050565b6003546001600160a01b03166000908152600460205260408120546106e7906002546001600160a01b03166000908152600460205260409020546106e19060005490610b87565b90610b87565b905090565b60006105b38260001961054c565b610702610836565b61070c6000610b93565b565b60006106e76001546001600160a01b031690565b600061072f3384846108bc565b9392505050565b60006105b361074361069a565b610797610790600261078a7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031660009081526004602052604090205490565b90610be5565b8590610be5565b90610bf1565b6107a5610836565b6001600160a01b03811661080f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b61081881610b93565b50565b610823610836565b6007805460ff1916911515919091179055565b6001546001600160a01b0316331461070c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610806565b600081848411156108b45760405162461bcd60e51b81526004016108069190610c09565b505050900390565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b038616600090815260049091529182205461090d918490610890565b6001600160a01b0385166000908152600460205260409020556109386001546001600160a01b031690565b6001600160a01b0316846001600160a01b03161415801561096757506001546001600160a01b03848116911614155b156109b55760075460ff166109b55760405162461bcd60e51b8152602060048201526014602482015273151c98591a5b99c81b9bdd081bdc195b881e595d60621b6044820152606401610806565b6000806109ca6001546001600160a01b031690565b6001600160a01b0316866001600160a01b031614610a21577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b031603610a215760065491505b610a3060646107978685610be5565b610a3b906000610d9a565b90508015610ad3576002546001600160a01b0316600090815260046020526040902054610a689082610bfd565b610a73906001610dad565b600280546001600160a01b03908116600090815260046020908152604091829020949094559154915184815291811692908916917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35b610b0a610ae08286610dc4565b610aeb906000610d9a565b6001600160a01b03871660009081526004602052604090205490610bfd565b610b15906001610dad565b6001600160a01b0380871660008181526004602052604090209290925587167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef610b5f8488610dc4565b610b6a906000610d9a565b60405190815260200160405180910390a350600195945050505050565b600061072f8284610dc4565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600061072f8284610dad565b600061072f8284610dd7565b600061072f8284610d9a565b600060208083528351808285015260005b81811015610c3657858101830151858201604001528201610c1a565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610c6e57600080fd5b919050565b60008060408385031215610c8657600080fd5b610c8f83610c57565b946020939093013593505050565b60008060408385031215610cb057600080fd5b50508035926020909101359150565b600060208284031215610cd157600080fd5b5035919050565b600080600060608486031215610ced57600080fd5b610cf684610c57565b9250610d0460208501610c57565b9150604084013590509250925092565b600060208284031215610d2657600080fd5b61072f82610c57565b60008060408385031215610d4257600080fd5b610d4b83610c57565b9150610d5960208401610c57565b90509250929050565b600060208284031215610d7457600080fd5b8135801515811461072f57600080fd5b634e487b7160e01b600052601160045260246000fd5b808201808211156105b3576105b3610d84565b80820281158282048414176105b3576105b3610d84565b818103818111156105b3576105b3610d84565b600082610df457634e487b7160e01b600052601260045260246000fd5b50049056fea2646970667358221220e1d2289b8976af5616a0628880c4b724d1cccebbb3f27bf4f61c43b6b0137fe764736f6c63430008110033
Deployed Bytecode
0x6080604052600436106101855760003560e01c80636ddd1713116100d1578063a9059cbb1161008a578063dd62ed3e11610064578063dd62ed3e146104ac578063e226aaf7146104f2578063f2fde38b1461050c578063fa13ffc31461052c57600080fd5b8063a9059cbb14610447578063ca33e64c14610467578063d51ed1c81461048c57600080fd5b80636ddd17131461038057806370a082311461039a578063715018a6146103d0578063893d20e8146103e55780638da5cb5b146103fa57806395d89b411461041857600080fd5b806323b872dd1161013e578063313ce56711610118578063313ce567146102c457806349bd5a5e146102e0578063571ac8b01461032c57806367ac77b41461034c57600080fd5b806323b872dd146102795780632b112e49146102995780632e8fa821146102ae57600080fd5b80630445b6671461019157806306fdde03146101ba578063095ea7b3146101f25780631161ae391461022257806318160ddd1461024257806322ec298a1461025757600080fd5b3661018c57005b600080fd5b34801561019d57600080fd5b506101a7600b5481565b6040519081526020015b60405180910390f35b3480156101c657600080fd5b506040805180820190915260068152652137bbb9b2b960d11b60208201525b6040516101b19190610c09565b3480156101fe57600080fd5b5061021261020d366004610c73565b61054c565b60405190151581526020016101b1565b34801561022e57600080fd5b5061021261023d366004610c9d565b6105b9565b34801561024e57600080fd5b506000546101a7565b34801561026357600080fd5b50610277610272366004610cbf565b6105cd565b005b34801561028557600080fd5b50610212610294366004610cd8565b6105da565b3480156102a557600080fd5b506101a761069a565b3480156102ba57600080fd5b506101a7600c5481565b3480156102d057600080fd5b50604051601281526020016101b1565b3480156102ec57600080fd5b506103147f00000000000000000000000022d02d564b6b1d4660d85767e988b8978eb4ec5181565b6040516001600160a01b0390911681526020016101b1565b34801561033857600080fd5b50610212610347366004610d14565b6106ec565b34801561035857600080fd5b506103147f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b34801561038c57600080fd5b50600a546102129060ff1681565b3480156103a657600080fd5b506101a76103b5366004610d14565b6001600160a01b031660009081526004602052604090205490565b3480156103dc57600080fd5b506102776106fa565b3480156103f157600080fd5b5061031461070e565b34801561040657600080fd5b506001546001600160a01b0316610314565b34801561042457600080fd5b506040805180820190915260068152652127aba9a2a960d11b60208201526101e5565b34801561045357600080fd5b50610212610462366004610c73565b610722565b34801561047357600080fd5b506007546103149061010090046001600160a01b031681565b34801561049857600080fd5b506101a76104a7366004610cbf565b610736565b3480156104b857600080fd5b506101a76104c7366004610d2f565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b3480156104fe57600080fd5b506007546102129060ff1681565b34801561051857600080fd5b50610277610527366004610d14565b61079d565b34801561053857600080fd5b50610277610547366004610d62565b61081b565b3360008181526005602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906105a79086815260200190565b60405180910390a35060015b92915050565b6000826105c583610736565b119392505050565b6105d5610836565b600655565b6001600160a01b038316600090815260056020908152604080832033845290915281205460001914610687576040805180820182526016815275496e73756666696369656e7420416c6c6f77616e636560501b6020808301919091526001600160a01b0387166000908152600582528381203382529091529190912054610662918490610890565b6001600160a01b03851660009081526005602090815260408083203384529091529020555b6106928484846108bc565b949350505050565b6003546001600160a01b03166000908152600460205260408120546106e7906002546001600160a01b03166000908152600460205260409020546106e19060005490610b87565b90610b87565b905090565b60006105b38260001961054c565b610702610836565b61070c6000610b93565b565b60006106e76001546001600160a01b031690565b600061072f3384846108bc565b9392505050565b60006105b361074361069a565b610797610790600261078a7f00000000000000000000000022d02d564b6b1d4660d85767e988b8978eb4ec516001600160a01b031660009081526004602052604090205490565b90610be5565b8590610be5565b90610bf1565b6107a5610836565b6001600160a01b03811661080f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b61081881610b93565b50565b610823610836565b6007805460ff1916911515919091179055565b6001546001600160a01b0316331461070c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610806565b600081848411156108b45760405162461bcd60e51b81526004016108069190610c09565b505050900390565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b038616600090815260049091529182205461090d918490610890565b6001600160a01b0385166000908152600460205260409020556109386001546001600160a01b031690565b6001600160a01b0316846001600160a01b03161415801561096757506001546001600160a01b03848116911614155b156109b55760075460ff166109b55760405162461bcd60e51b8152602060048201526014602482015273151c98591a5b99c81b9bdd081bdc195b881e595d60621b6044820152606401610806565b6000806109ca6001546001600160a01b031690565b6001600160a01b0316866001600160a01b031614610a21577f00000000000000000000000022d02d564b6b1d4660d85767e988b8978eb4ec516001600160a01b0316856001600160a01b031603610a215760065491505b610a3060646107978685610be5565b610a3b906000610d9a565b90508015610ad3576002546001600160a01b0316600090815260046020526040902054610a689082610bfd565b610a73906001610dad565b600280546001600160a01b03908116600090815260046020908152604091829020949094559154915184815291811692908916917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35b610b0a610ae08286610dc4565b610aeb906000610d9a565b6001600160a01b03871660009081526004602052604090205490610bfd565b610b15906001610dad565b6001600160a01b0380871660008181526004602052604090209290925587167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef610b5f8488610dc4565b610b6a906000610d9a565b60405190815260200160405180910390a350600195945050505050565b600061072f8284610dc4565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600061072f8284610dad565b600061072f8284610dd7565b600061072f8284610d9a565b600060208083528351808285015260005b81811015610c3657858101830151858201604001528201610c1a565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610c6e57600080fd5b919050565b60008060408385031215610c8657600080fd5b610c8f83610c57565b946020939093013593505050565b60008060408385031215610cb057600080fd5b50508035926020909101359150565b600060208284031215610cd157600080fd5b5035919050565b600080600060608486031215610ced57600080fd5b610cf684610c57565b9250610d0460208501610c57565b9150604084013590509250925092565b600060208284031215610d2657600080fd5b61072f82610c57565b60008060408385031215610d4257600080fd5b610d4b83610c57565b9150610d5960208401610c57565b90509250929050565b600060208284031215610d7457600080fd5b8135801515811461072f57600080fd5b634e487b7160e01b600052601160045260246000fd5b808201808211156105b3576105b3610d84565b80820281158282048414176105b3576105b3610d84565b818103818111156105b3576105b3610d84565b600082610df457634e487b7160e01b600052601260045260246000fd5b50049056fea2646970667358221220e1d2289b8976af5616a0628880c4b724d1cccebbb3f27bf4f61c43b6b0137fe764736f6c63430008110033
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.