ERC-20
Overview
Max Total Supply
10,000,000,000 LOOTTO
Holders
39
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
44,875,603.011414886358205231 LOOTTOValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Lootto
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity 0.8.19; import {Owned} from "solmate/auth/Owned.sol"; import {IUniswapV2Router02} from "v2-periphery/interfaces/IUniswapV2Router02.sol"; // PAIN LOOTTO // The Memecoin Misfortune Extravaganza! // twitter: https://twitter.com/loottoerc20 // telegram: https://t.me/visitthedungeon contract Lootto is Owned { event Transfer(address indexed from, address indexed to, uint256 amount); event Approval(address indexed owner, address indexed spender, uint256 amount); event IsAddressExcludedChanged(address indexed user, bool value); error MaxBuyExceeded(uint256 maxBuy, uint256 amount); error TradingNotEnabled(); error PainAlreadyInflicted(); string public name; string public symbol; uint8 public immutable decimals; uint256 public totalSupply; mapping(address => uint256) public balanceOf; mapping(address => mapping(address => uint256)) public allowance; uint256 internal immutable INITIAL_CHAIN_ID; bytes32 internal immutable INITIAL_DOMAIN_SEPARATOR; mapping(address => uint256) public nonces; mapping(address => bool) public isAddressExcluded; uint256 private constant EMOTIONAL_DAMAGE = 3000; uint256 private constant EVERY_NTH_TRANSFER_TAXED = 5; uint256 private constant HUNDRED_PERCENT = 10000; address private immutable TREASURY; IUniswapV2Router02 private immutable router; address private immutable WETH; uint216 private transferNumber; uint256 private constant MAX_BUY = 1e26; uint256 private constant MAX_BUY_DURATION = 10 minutes; uint40 private MAX_BUY_END_TIME; constructor(address treasury, address uniV2Router, address weth) Owned(msg.sender) { name = "PAIN LOOTTO"; symbol = "LOOTTO"; decimals = 18; INITIAL_CHAIN_ID = block.chainid; INITIAL_DOMAIN_SEPARATOR = computeDomainSeparator(); _mint(msg.sender, 1e28); isAddressExcluded[msg.sender] = true; isAddressExcluded[treasury] = true; isAddressExcluded[address(this)] = true; TREASURY = treasury; router = IUniswapV2Router02(uniV2Router); allowance[address(this)][uniV2Router] = type(uint256).max; WETH = weth; } function approve(address spender, uint256 amount) public returns (bool) { allowance[msg.sender][spender] = amount; emit Approval(msg.sender, spender, amount); return true; } function transfer(address to, uint256 amount) public returns (bool) { balanceOf[msg.sender] -= amount; if (!isAddressExcluded[msg.sender]) { amount = _processEmotionalDamage(amount); if (MAX_BUY_END_TIME == 0) revert TradingNotEnabled(); } // Cannot overflow because the sum of all user // balances can't exceed the max uint224 value. // taxAmount is always less than amount unchecked { uint256 newAmount = amount + balanceOf[to]; if (!isAddressExcluded[to]) { _revertOnMaxBuyExceeded(newAmount); } balanceOf[to] = newAmount; } emit Transfer(msg.sender, to, amount); return true; } function transferFrom(address from, address to, uint256 amount) public returns (bool) { uint256 allowed = allowance[from][msg.sender]; // Saves gas for limited approvals. if (allowed != type(uint256).max) allowance[from][msg.sender] = allowed - amount; balanceOf[from] -= amount; if (!isAddressExcluded[from]) { amount = _processEmotionalDamage(amount); } // Cannot overflow because the sum of all user // balances can't exceed the max uint224 value. // taxAmount is always less than amount unchecked { uint256 newAmount = amount + balanceOf[to]; if (!isAddressExcluded[to]) { _revertOnMaxBuyExceeded(newAmount); if (MAX_BUY_END_TIME == 0) revert TradingNotEnabled(); } balanceOf[to] = newAmount; } emit Transfer(from, to, amount); return true; } function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public { require(deadline >= block.timestamp, "PERMIT_DEADLINE_EXPIRED"); // Unchecked because the only math done is incrementing // the owner's nonce which cannot realistically overflow. unchecked { address recoveredAddress = ecrecover( keccak256( abi.encodePacked( "\x19\x01", DOMAIN_SEPARATOR(), keccak256( abi.encode( keccak256( "Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)" ), owner, spender, value, nonces[owner]++, deadline ) ) ) ), v, r, s ); require(recoveredAddress != address(0) && recoveredAddress == owner, "INVALID_SIGNER"); allowance[recoveredAddress][spender] = value; } emit Approval(owner, spender, value); } function DOMAIN_SEPARATOR() public view returns (bytes32) { return block.chainid == INITIAL_CHAIN_ID ? INITIAL_DOMAIN_SEPARATOR : computeDomainSeparator(); } function computeDomainSeparator() internal view returns (bytes32) { return keccak256( abi.encode( keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"), keccak256(bytes(name)), keccak256("1"), block.chainid, address(this) ) ); } function _mint(address to, uint256 amount) internal { totalSupply += amount; unchecked { balanceOf[to] += amount; } emit Transfer(address(0), to, amount); } function _processEmotionalDamage(uint256 amount) internal returns (uint256) { unchecked { uint256 newTransferNumber = ++transferNumber; if (newTransferNumber % 5 != 0) { return amount; } // cant overflow because: // block.timestamp <= minTaxOn // all numbers are small enough for type(uint256).max uint256 taxAmount = EMOTIONAL_DAMAGE * amount / HUNDRED_PERCENT; if (taxAmount == 0) { return amount; } uint256 newAmount = taxAmount + balanceOf[address(this)]; balanceOf[address(this)] = newAmount; address[] memory path = new address[](2); path[0] = address(this); path[1] = WETH; try router.swapExactTokensForETH(newAmount, 0, path, TREASURY, block.timestamp) { // SWAP was successful. } catch { // Swap can fail if amount is too low, we dont want to handle it, next tax will sell everything together. } return (amount - taxAmount); } } function _revertOnMaxBuyExceeded(uint256 newAmount) internal view { if (block.timestamp > MAX_BUY_END_TIME) { return; } if (newAmount > MAX_BUY) revert MaxBuyExceeded(MAX_BUY, newAmount); } function maxBuy() external view returns (uint256) { if (block.timestamp > MAX_BUY_END_TIME) { return type(uint256).max; } return MAX_BUY; } function setIsAddressExcluded(address user, bool value) external onlyOwner { isAddressExcluded[user] = value; emit IsAddressExcludedChanged(user, value); } function renounceOwnership() external { transferOwnership(address(0)); } function inflictPain() external onlyOwner { if (MAX_BUY_END_TIME != 0) revert PainAlreadyInflicted(); MAX_BUY_END_TIME = uint40(block.timestamp + MAX_BUY_DURATION); } function isPainInflicted() external view returns (bool) { return MAX_BUY_END_TIME != 0; } }
// SPDX-License-Identifier: AGPL-3.0-only pragma solidity >=0.8.0; /// @notice Simple single owner authorization mixin. /// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/auth/Owned.sol) abstract contract Owned { /*////////////////////////////////////////////////////////////// EVENTS //////////////////////////////////////////////////////////////*/ event OwnershipTransferred(address indexed user, address indexed newOwner); /*////////////////////////////////////////////////////////////// OWNERSHIP STORAGE //////////////////////////////////////////////////////////////*/ address public owner; modifier onlyOwner() virtual { require(msg.sender == owner, "UNAUTHORIZED"); _; } /*////////////////////////////////////////////////////////////// CONSTRUCTOR //////////////////////////////////////////////////////////////*/ constructor(address _owner) { owner = _owner; emit OwnershipTransferred(address(0), _owner); } /*////////////////////////////////////////////////////////////// OWNERSHIP LOGIC //////////////////////////////////////////////////////////////*/ function transferOwnership(address newOwner) public virtual onlyOwner { owner = newOwner; emit OwnershipTransferred(msg.sender, newOwner); } }
pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; 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; }
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); }
{ "remappings": [ "ds-test/=lib/forge-std/lib/ds-test/src/", "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/", "forge-std/=lib/forge-std/src/", "openzeppelin-contracts/=lib/openzeppelin-contracts/", "openzeppelin/=lib/openzeppelin-contracts/contracts/", "solady/=lib/solady/", "solmate/=lib/solmate/src/", "v2-core/=lib/v2-core/contracts/", "v2-periphery/=lib/v2-periphery/contracts/" ], "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "useLiteralContent": false, "bytecodeHash": "ipfs", "appendCBOR": true }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "paris", "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"treasury","type":"address"},{"internalType":"address","name":"uniV2Router","type":"address"},{"internalType":"address","name":"weth","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"uint256","name":"maxBuy","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"MaxBuyExceeded","type":"error"},{"inputs":[],"name":"PainAlreadyInflicted","type":"error"},{"inputs":[],"name":"TradingNotEnabled","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":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"bool","name":"value","type":"bool"}],"name":"IsAddressExcludedChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","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":"amount","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","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":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"inflictPain","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isAddressExcluded","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPainInflicted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setIsAddressExcluded","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","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"}]
Contract Creation Code
6101406040523480156200001257600080fd5b50604051620017ce380380620017ce83398101604081905262000035916200029f565b600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060408051808201909152600b81526a5041494e204c4f4f54544f60a81b6020820152600190620000a790826200038e565b506040805180820190915260068152654c4f4f54544f60d01b6020820152600290620000d490826200038e565b5060126080524660a052620000e862000179565b60c05262000103336b204fce5e3e2502611000000062000215565b3360009081526007602090815260408083208054600160ff1991821681179092556001600160a01b0397881680865283862080548316841790553086528386208054909216909217905560e052938516610100819052600582528483209083529052919091206000199055166101205262000500565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6001604051620001ad91906200045a565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b8060036000828254620002299190620004d8565b90915550506001600160a01b0382166000818152600460209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b80516001600160a01b03811681146200029a57600080fd5b919050565b600080600060608486031215620002b557600080fd5b620002c08462000282565b9250620002d06020850162000282565b9150620002e06040850162000282565b90509250925092565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200031457607f821691505b6020821081036200033557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200038957600081815260208120601f850160051c81016020861015620003645750805b601f850160051c820191505b81811015620003855782815560010162000370565b5050505b505050565b81516001600160401b03811115620003aa57620003aa620002e9565b620003c281620003bb8454620002ff565b846200033b565b602080601f831160018114620003fa5760008415620003e15750858301515b600019600386901b1c1916600185901b17855562000385565b600085815260208120601f198616915b828110156200042b578886015182559484019460019091019084016200040a565b50858210156200044a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008083546200046a81620002ff565b600182811680156200048557600181146200049b57620004cc565b60ff1984168752821515830287019450620004cc565b8760005260208060002060005b85811015620004c35781548a820152908401908201620004a8565b50505082870194505b50929695505050505050565b80820180821115620004fa57634e487b7160e01b600052601160045260246000fd5b92915050565b60805160a05160c05160e051610100516101205161127e620005506000396000610bdd01526000610c3401526000610c6a0152600061066801526000610633015260006101b6015261127e6000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c8063715018a6116100ad578063a9059cbb11610071578063a9059cbb14610295578063d505accf146102a8578063dd62ed3e146102bb578063ebca1bd9146102e6578063f2fde38b1461030957600080fd5b8063715018a6146102325780637b0ae43c1461023a5780637ecebe00146102425780638da5cb5b1461026257806395d89b411461028d57600080fd5b8063313ce567116100f4578063313ce567146101b15780633525f85f146101ea5780633644e5151461020257806370a082311461020a57806370db69d61461022a57600080fd5b806306fdde0314610131578063095ea7b31461014f578063144bee9c1461017257806318160ddd1461018757806323b872dd1461019e575b600080fd5b61013961031c565b6040516101469190610dde565b60405180910390f35b61016261015d366004610e48565b6103aa565b6040519015158152602001610146565b610185610180366004610e72565b610417565b005b61019060035481565b604051908152602001610146565b6101626101ac366004610eae565b6104a9565b6101d87f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff9091168152602001610146565b600854600160d81b900464ffffffffff161515610162565b61019061062f565b610190610218366004610eea565b60046020526000908152604090205481565b61019061068a565b6101856106bc565b6101856106c8565b610190610250366004610eea565b60066020526000908152604090205481565b600054610275906001600160a01b031681565b6040516001600160a01b039091168152602001610146565b610139610751565b6101626102a3366004610e48565b61075e565b6101856102b6366004610f0c565b610862565b6101906102c9366004610f7f565b600560209081526000928352604080842090915290825290205481565b6101626102f4366004610eea565b60076020526000908152604090205460ff1681565b610185610317366004610eea565b610aa6565b6001805461032990610fb2565b80601f016020809104026020016040519081016040528092919081815260200182805461035590610fb2565b80156103a25780601f10610377576101008083540402835291602001916103a2565b820191906000526020600020905b81548152906001019060200180831161038557829003601f168201915b505050505081565b3360008181526005602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906104059086815260200190565b60405180910390a35060015b92915050565b6000546001600160a01b0316331461044a5760405162461bcd60e51b815260040161044190610fec565b60405180910390fd5b6001600160a01b038216600081815260076020908152604091829020805460ff191685151590811790915591519182527f461a5b11efd84b14281b8fcbdaff7e0cccda02679656c3ffd98006d7733846ee910160405180910390a25050565b6001600160a01b03831660009081526005602090815260408083203384529091528120546000198114610505576104e08382611028565b6001600160a01b03861660009081526005602090815260408083203384529091529020555b6001600160a01b0385166000908152600460205260408120805485929061052d908490611028565b90915550506001600160a01b03851660009081526007602052604090205460ff1661055e5761055b83610b1b565b92505b6001600160a01b0384166000908152600460209081526040808320546007909252909120549084019060ff166105c85761059781610ce6565b600854600160d81b900464ffffffffff166000036105c8576040516312f1f92360e01b815260040160405180910390fd5b6001600160a01b0380861660008181526004602052604090819020939093559151908716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061061c9087815260200190565b60405180910390a3506001949350505050565b60007f0000000000000000000000000000000000000000000000000000000000000000461461066557610660610d44565b905090565b507f000000000000000000000000000000000000000000000000000000000000000090565b600854600090600160d81b900464ffffffffff164211156106ac575060001990565b506a52b7d2dcc80cd2e400000090565b6106c66000610aa6565b565b6000546001600160a01b031633146106f25760405162461bcd60e51b815260040161044190610fec565b600854600160d81b900464ffffffffff161561072157604051635d168ed960e01b815260040160405180910390fd5b61072d6102584261103b565b6008601b6101000a81548164ffffffffff021916908364ffffffffff160217905550565b6002805461032990610fb2565b3360009081526004602052604081208054839190839061077f908490611028565b90915550503360009081526007602052604090205460ff166107d8576107a482610b1b565b600854909250600160d81b900464ffffffffff166000036107d8576040516312f1f92360e01b815260040160405180910390fd5b6001600160a01b0383166000908152600460209081526040808320546007909252909120549083019060ff166108115761081181610ce6565b6001600160a01b0384166000818152600460205260409081902092909255905133907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906104059086815260200190565b428410156108b25760405162461bcd60e51b815260206004820152601760248201527f5045524d49545f444541444c494e455f455850495245440000000000000000006044820152606401610441565b600060016108be61062f565b6001600160a01b038a811660008181526006602090815260409182902080546001810190915582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98184015280840194909452938d166060840152608083018c905260a083019390935260c08083018b90528151808403909101815260e08301909152805192019190912061190160f01b6101008301526101028201929092526101228101919091526101420160408051601f198184030181528282528051602091820120600084529083018083525260ff871690820152606081018590526080810184905260a0016020604051602081039080840390855afa1580156109ca573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811615801590610a005750876001600160a01b0316816001600160a01b0316145b610a3d5760405162461bcd60e51b815260206004820152600e60248201526d24a72b20a624a22fa9a4a3a722a960911b6044820152606401610441565b6001600160a01b0390811660009081526005602090815260408083208a8516808552908352928190208990555188815291928a16917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050505050565b6000546001600160a01b03163314610ad05760405162461bcd60e51b815260040161044190610fec565b600080546001600160a01b0319166001600160a01b0383169081178255604051909133917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a350565b600880546001600160d81b03808216600101166001600160d81b031990911681179091556000906005810615610b52575090919050565b612710610bb88402046000819003610b6c57509192915050565b30600090815260046020526040808220805484019081905581516002808252606082019093529092918160200160208202803683370190505090503081600081518110610bbb57610bbb611064565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000000000000000000000000000000000000000000081600181518110610c0f57610c0f611064565b6001600160a01b0392831660209182029290920101526040516318cbafe560e01b81527f0000000000000000000000000000000000000000000000000000000000000000909116906318cbafe590610c9490859060009086907f000000000000000000000000000000000000000000000000000000000000000090429060040161107a565b6000604051808303816000875af1925050508015610cd457506040513d6000823e601f3d908101601f19168201604052610cd191908101906110eb565b60015b15610cdb57505b505090920392915050565b600854600160d81b900464ffffffffff16421115610d015750565b6a52b7d2dcc80cd2e4000000811115610d4157604051632baadd4d60e21b81526a52b7d2dcc80cd2e4000000600482015260248101829052604401610441565b50565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6001604051610d7691906111a9565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b600060208083528351808285015260005b81811015610e0b57858101830151858201604001528201610def565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610e4357600080fd5b919050565b60008060408385031215610e5b57600080fd5b610e6483610e2c565b946020939093013593505050565b60008060408385031215610e8557600080fd5b610e8e83610e2c565b915060208301358015158114610ea357600080fd5b809150509250929050565b600080600060608486031215610ec357600080fd5b610ecc84610e2c565b9250610eda60208501610e2c565b9150604084013590509250925092565b600060208284031215610efc57600080fd5b610f0582610e2c565b9392505050565b600080600080600080600060e0888a031215610f2757600080fd5b610f3088610e2c565b9650610f3e60208901610e2c565b95506040880135945060608801359350608088013560ff81168114610f6257600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215610f9257600080fd5b610f9b83610e2c565b9150610fa960208401610e2c565b90509250929050565b600181811c90821680610fc657607f821691505b602082108103610fe657634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252600c908201526b15539055551213d49256915160a21b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8181038181111561041157610411611012565b8082018082111561041157610411611012565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156110ca5784516001600160a01b0316835293830193918301916001016110a5565b50506001600160a01b03969096166060850152505050608001529392505050565b600060208083850312156110fe57600080fd5b825167ffffffffffffffff8082111561111657600080fd5b818501915085601f83011261112a57600080fd5b81518181111561113c5761113c61104e565b8060051b604051601f19603f830116810181811085821117156111615761116161104e565b60405291825284820192508381018501918883111561117f57600080fd5b938501935b8285101561119d57845184529385019392850192611184565b98975050505050505050565b600080835481600182811c9150808316806111c557607f831692505b602080841082036111e457634e487b7160e01b86526022600452602486fd5b8180156111f8576001811461120d5761123a565b60ff198616895284151585028901965061123a565b60008a81526020902060005b868110156112325781548b820152908501908301611219565b505084890196505b50949897505050505050505056fea264697066735822122044b850e2dc597386d4646d59bee066d7f51ce46474e3bee0944b01bbaccae5ca64736f6c63430008130033000000000000000000000000331869f90a9077aefab0a517ce6cb30b788b93990000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061012c5760003560e01c8063715018a6116100ad578063a9059cbb11610071578063a9059cbb14610295578063d505accf146102a8578063dd62ed3e146102bb578063ebca1bd9146102e6578063f2fde38b1461030957600080fd5b8063715018a6146102325780637b0ae43c1461023a5780637ecebe00146102425780638da5cb5b1461026257806395d89b411461028d57600080fd5b8063313ce567116100f4578063313ce567146101b15780633525f85f146101ea5780633644e5151461020257806370a082311461020a57806370db69d61461022a57600080fd5b806306fdde0314610131578063095ea7b31461014f578063144bee9c1461017257806318160ddd1461018757806323b872dd1461019e575b600080fd5b61013961031c565b6040516101469190610dde565b60405180910390f35b61016261015d366004610e48565b6103aa565b6040519015158152602001610146565b610185610180366004610e72565b610417565b005b61019060035481565b604051908152602001610146565b6101626101ac366004610eae565b6104a9565b6101d87f000000000000000000000000000000000000000000000000000000000000001281565b60405160ff9091168152602001610146565b600854600160d81b900464ffffffffff161515610162565b61019061062f565b610190610218366004610eea565b60046020526000908152604090205481565b61019061068a565b6101856106bc565b6101856106c8565b610190610250366004610eea565b60066020526000908152604090205481565b600054610275906001600160a01b031681565b6040516001600160a01b039091168152602001610146565b610139610751565b6101626102a3366004610e48565b61075e565b6101856102b6366004610f0c565b610862565b6101906102c9366004610f7f565b600560209081526000928352604080842090915290825290205481565b6101626102f4366004610eea565b60076020526000908152604090205460ff1681565b610185610317366004610eea565b610aa6565b6001805461032990610fb2565b80601f016020809104026020016040519081016040528092919081815260200182805461035590610fb2565b80156103a25780601f10610377576101008083540402835291602001916103a2565b820191906000526020600020905b81548152906001019060200180831161038557829003601f168201915b505050505081565b3360008181526005602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906104059086815260200190565b60405180910390a35060015b92915050565b6000546001600160a01b0316331461044a5760405162461bcd60e51b815260040161044190610fec565b60405180910390fd5b6001600160a01b038216600081815260076020908152604091829020805460ff191685151590811790915591519182527f461a5b11efd84b14281b8fcbdaff7e0cccda02679656c3ffd98006d7733846ee910160405180910390a25050565b6001600160a01b03831660009081526005602090815260408083203384529091528120546000198114610505576104e08382611028565b6001600160a01b03861660009081526005602090815260408083203384529091529020555b6001600160a01b0385166000908152600460205260408120805485929061052d908490611028565b90915550506001600160a01b03851660009081526007602052604090205460ff1661055e5761055b83610b1b565b92505b6001600160a01b0384166000908152600460209081526040808320546007909252909120549084019060ff166105c85761059781610ce6565b600854600160d81b900464ffffffffff166000036105c8576040516312f1f92360e01b815260040160405180910390fd5b6001600160a01b0380861660008181526004602052604090819020939093559151908716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061061c9087815260200190565b60405180910390a3506001949350505050565b60007f0000000000000000000000000000000000000000000000000000000000000001461461066557610660610d44565b905090565b507f527ec5cd6bdce611c133772aa53419814d69e4947f56ebbf6a0092ec84f0629990565b600854600090600160d81b900464ffffffffff164211156106ac575060001990565b506a52b7d2dcc80cd2e400000090565b6106c66000610aa6565b565b6000546001600160a01b031633146106f25760405162461bcd60e51b815260040161044190610fec565b600854600160d81b900464ffffffffff161561072157604051635d168ed960e01b815260040160405180910390fd5b61072d6102584261103b565b6008601b6101000a81548164ffffffffff021916908364ffffffffff160217905550565b6002805461032990610fb2565b3360009081526004602052604081208054839190839061077f908490611028565b90915550503360009081526007602052604090205460ff166107d8576107a482610b1b565b600854909250600160d81b900464ffffffffff166000036107d8576040516312f1f92360e01b815260040160405180910390fd5b6001600160a01b0383166000908152600460209081526040808320546007909252909120549083019060ff166108115761081181610ce6565b6001600160a01b0384166000818152600460205260409081902092909255905133907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906104059086815260200190565b428410156108b25760405162461bcd60e51b815260206004820152601760248201527f5045524d49545f444541444c494e455f455850495245440000000000000000006044820152606401610441565b600060016108be61062f565b6001600160a01b038a811660008181526006602090815260409182902080546001810190915582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98184015280840194909452938d166060840152608083018c905260a083019390935260c08083018b90528151808403909101815260e08301909152805192019190912061190160f01b6101008301526101028201929092526101228101919091526101420160408051601f198184030181528282528051602091820120600084529083018083525260ff871690820152606081018590526080810184905260a0016020604051602081039080840390855afa1580156109ca573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811615801590610a005750876001600160a01b0316816001600160a01b0316145b610a3d5760405162461bcd60e51b815260206004820152600e60248201526d24a72b20a624a22fa9a4a3a722a960911b6044820152606401610441565b6001600160a01b0390811660009081526005602090815260408083208a8516808552908352928190208990555188815291928a16917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050505050565b6000546001600160a01b03163314610ad05760405162461bcd60e51b815260040161044190610fec565b600080546001600160a01b0319166001600160a01b0383169081178255604051909133917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a350565b600880546001600160d81b03808216600101166001600160d81b031990911681179091556000906005810615610b52575090919050565b612710610bb88402046000819003610b6c57509192915050565b30600090815260046020526040808220805484019081905581516002808252606082019093529092918160200160208202803683370190505090503081600081518110610bbb57610bbb611064565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281600181518110610c0f57610c0f611064565b6001600160a01b0392831660209182029290920101526040516318cbafe560e01b81527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d909116906318cbafe590610c9490859060009086907f000000000000000000000000331869f90a9077aefab0a517ce6cb30b788b939990429060040161107a565b6000604051808303816000875af1925050508015610cd457506040513d6000823e601f3d908101601f19168201604052610cd191908101906110eb565b60015b15610cdb57505b505090920392915050565b600854600160d81b900464ffffffffff16421115610d015750565b6a52b7d2dcc80cd2e4000000811115610d4157604051632baadd4d60e21b81526a52b7d2dcc80cd2e4000000600482015260248101829052604401610441565b50565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6001604051610d7691906111a9565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b600060208083528351808285015260005b81811015610e0b57858101830151858201604001528201610def565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610e4357600080fd5b919050565b60008060408385031215610e5b57600080fd5b610e6483610e2c565b946020939093013593505050565b60008060408385031215610e8557600080fd5b610e8e83610e2c565b915060208301358015158114610ea357600080fd5b809150509250929050565b600080600060608486031215610ec357600080fd5b610ecc84610e2c565b9250610eda60208501610e2c565b9150604084013590509250925092565b600060208284031215610efc57600080fd5b610f0582610e2c565b9392505050565b600080600080600080600060e0888a031215610f2757600080fd5b610f3088610e2c565b9650610f3e60208901610e2c565b95506040880135945060608801359350608088013560ff81168114610f6257600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215610f9257600080fd5b610f9b83610e2c565b9150610fa960208401610e2c565b90509250929050565b600181811c90821680610fc657607f821691505b602082108103610fe657634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252600c908201526b15539055551213d49256915160a21b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8181038181111561041157610411611012565b8082018082111561041157610411611012565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156110ca5784516001600160a01b0316835293830193918301916001016110a5565b50506001600160a01b03969096166060850152505050608001529392505050565b600060208083850312156110fe57600080fd5b825167ffffffffffffffff8082111561111657600080fd5b818501915085601f83011261112a57600080fd5b81518181111561113c5761113c61104e565b8060051b604051601f19603f830116810181811085821117156111615761116161104e565b60405291825284820192508381018501918883111561117f57600080fd5b938501935b8285101561119d57845184529385019392850192611184565b98975050505050505050565b600080835481600182811c9150808316806111c557607f831692505b602080841082036111e457634e487b7160e01b86526022600452602486fd5b8180156111f8576001811461120d5761123a565b60ff198616895284151585028901965061123a565b60008a81526020902060005b868110156112325781548b820152908501908301611219565b505084890196505b50949897505050505050505056fea264697066735822122044b850e2dc597386d4646d59bee066d7f51ce46474e3bee0944b01bbaccae5ca64736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000331869f90a9077aefab0a517ce6cb30b788b93990000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
-----Decoded View---------------
Arg [0] : treasury (address): 0x331869f90A9077AeFab0A517ce6cB30b788B9399
Arg [1] : uniV2Router (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [2] : weth (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000331869f90a9077aefab0a517ce6cb30b788b9399
Arg [1] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [2] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
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.