ERC-20
Overview
Max Total Supply
19,400,108.2581563099729936 CHYK
Holders
113
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.000000000000000001 CHYKValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
CHYK
Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
/** *Submitted for verification at Etherscan.io on 2024-11-05 */ /* TG: https://t.me/chykfi X: https://x.com/chykfi Web: https://chyk.finance/ */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.20; pragma experimental ABIEncoderV2; abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } } abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor() { _transferOwnership(_msgSender()); } function owner() public view virtual returns (address) { return _owner; } modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } interface IERC20 { function totalSupply() external view returns (uint256); 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 IERC20Metadata is IERC20 { function name() external view returns (string memory); function symbol() external view returns (string memory); function decimals() external view returns (uint8); } contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } function name() public view virtual override returns (string memory) { return _name; } function symbol() public view virtual override returns (string memory) { return _symbol; } function decimals() public view virtual override returns (uint8) { return 18; } function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } return true; } function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(sender, recipient, amount); } function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } function _approve( address owner, address spender, uint256 amount ) internal virtual { 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); } function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} } library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } } interface IUniswapV2Factory { function createPair(address tokenA, address tokenB) external returns (address pair); } interface IUniswapV2Router02 { function factory() external pure returns (address); function WETH() external pure returns (address); function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; } contract CHYK is ERC20, Ownable { using SafeMath for uint256; IUniswapV2Router02 public immutable uniswapV2Router; address public immutable uniswapV2Pair; address public routerCA = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; bool private swapping; address public treasuryWallet; address public authorizer; uint256 public maxTransactionAmount; uint256 public swapTokensAtAmount; uint256 public maxWallet; uint256 public maxSupply; bool public limitsInEffect = true; bool public tradingActive = false; bool public swapEnabled = false; uint256 public buyTotalFees; uint256 public buyTreasuryFee; uint256 public sellTotalFees; uint256 public sellTreasuryFee; uint256 public tokensForTreasury; mapping(address => bool) private _isExcludedFromFees; mapping(address => bool) public _isExcludedMaxTransactionAmount; mapping(address => bool) public automatedMarketMakerPairs; mapping(address => bool) public stakingManagerContract; event UpdateUniswapV2Router( address indexed newAddress, address indexed oldAddress ); event ExcludeFromFees(address indexed account, bool isExcluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event TreasuryWalletUpdated( address indexed newWallet, address indexed oldWallet ); event SwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiquidity ); modifier authorizerOnly() { require(_msgSender() == authorizer,"Unauthorized caller"); _; } modifier stakingManagerOnly() { require(stakingManagerContract[_msgSender()],"Invalid Manager"); _; } constructor() ERC20("Chyk Finance", "CHYK") { IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(routerCA); excludeFromMaxTransaction(address(_uniswapV2Router), true); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); excludeFromMaxTransaction(address(uniswapV2Pair), true); _setAutomatedMarketMakerPair(address(uniswapV2Pair), true); authorizer = msg.sender; // buy fees uint256 _buyTreasuryFee = 2; // sell fees uint256 _sellTreasuryFee = 2; maxSupply = 999_999_999 * 1e18; uint256 initialSupply = 199_999 * 1e18; // 0.02% of total supply maxTransactionAmount = 4000 * 1e18; maxWallet = 4000 * 1e18; swapTokensAtAmount = 200 * 1e18; buyTreasuryFee = _buyTreasuryFee; buyTotalFees = buyTreasuryFee; sellTreasuryFee = _sellTreasuryFee; sellTotalFees = sellTreasuryFee; treasuryWallet = address(0x66CB56f0141c43Df82e5A5E3A21F861FA2D41636); // exclude from paying fees or having max transaction amount excludeFromFees(owner(), true); excludeFromFees(address(this), true); excludeFromFees(address(0xdead), true); excludeFromMaxTransaction(owner(), true); excludeFromMaxTransaction(address(this), true); excludeFromMaxTransaction(address(0xdead), true); _mint(msg.sender, initialSupply); } receive() external payable {} function enableTrading() external onlyOwner { require(!tradingActive, "Trading is already live"); tradingActive = true; swapEnabled = true; } // remove limits after token is stable function removeLimits() external onlyOwner returns (bool) { limitsInEffect = false; return true; } // change the minimum amount of tokens to sell from fees function updateSwapTokensAtAmount(uint256 newAmount) external returns (bool) { require(msg.sender == authorizer, "authorizer only"); require( newAmount >= (totalSupply() * 1) / 100000, "Swap amount cannot be lower than 0.001% total supply." ); swapTokensAtAmount = newAmount; return true; } function updateMaxTxnAmount(uint256 newNum) external onlyOwner { require( newNum >= ((totalSupply() * 1) / 1000) / 1e18, "Cannot set maxTransactionAmount lower than 0.1%" ); maxTransactionAmount = newNum * (10**18); } function updateMaxWalletAmount(uint256 newNum) external onlyOwner { require( newNum >= ((totalSupply() * 5) / 1000) / 1e18, "Cannot set maxWallet lower than 0.5%" ); maxWallet = newNum * (10**18); } function excludeFromMaxTransaction(address updAds, bool isEx) public onlyOwner { _isExcludedMaxTransactionAmount[updAds] = isEx; } // only use to disable contract sales if absolutely necessary (emergency use only) function updateSwapEnabled(bool enabled) external onlyOwner { swapEnabled = enabled; } function updateBuyFees( uint256 _tresFee ) external onlyOwner { buyTreasuryFee = _tresFee; buyTotalFees = buyTreasuryFee; require(buyTotalFees <= 99); } function updateSellFees( uint256 _tresFee ) external onlyOwner { sellTreasuryFee = _tresFee; sellTotalFees = sellTreasuryFee; require(sellTotalFees <= 99); } function addStakingManager(address _manager) external authorizerOnly { require(_manager != address(0), "cannot be add zero"); stakingManagerContract[_manager] = true; } function excludeFromFees(address account, bool excluded) public onlyOwner { _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function setAutomatedMarketMakerPair(address pair, bool value) public onlyOwner { require( pair != uniswapV2Pair, "The pair cannot be removed from automatedMarketMakerPairs" ); _setAutomatedMarketMakerPair(pair, value); } function _setAutomatedMarketMakerPair(address pair, bool value) private { automatedMarketMakerPairs[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } function updatetreWallet(address newtreWallet) external onlyOwner { emit TreasuryWalletUpdated(newtreWallet, treasuryWallet); treasuryWallet = newtreWallet; } function isExcludedFromFees(address account) public view returns (bool) { return _isExcludedFromFees[account]; } function _transfer( address from, address to, uint256 amount ) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); if (amount == 0) { super._transfer(from, to, 0); return; } if (limitsInEffect) { if ( from != owner() && to != owner() && to != address(0) && to != address(0xdead) && !swapping ) { if (!tradingActive) { require( _isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active." ); } //when buy if ( automatedMarketMakerPairs[from] && !_isExcludedMaxTransactionAmount[to] ) { require( amount <= maxTransactionAmount, "Buy transfer amount exceeds the maxTransactionAmount." ); require( amount + balanceOf(to) <= maxWallet, "Max wallet exceeded" ); } //when sell else if ( automatedMarketMakerPairs[to] && !_isExcludedMaxTransactionAmount[from] ) { require( amount <= maxTransactionAmount, "Sell transfer amount exceeds the maxTransactionAmount." ); } else if (!_isExcludedMaxTransactionAmount[to]) { require( amount + balanceOf(to) <= maxWallet, "Max wallet exceeded" ); } } } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount; if ( canSwap && swapEnabled && !swapping && !automatedMarketMakerPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to] ) { swapping = true; swapBack(); swapping = false; } bool takeFee = !swapping; // if any account belongs to _isExcludedFromFee account then remove the fee if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } uint256 fees = 0; // only take fees on buys/sells, do not take on wallet transfers if (takeFee) { // on sell if (automatedMarketMakerPairs[to] && sellTotalFees > 0) { fees = amount.mul(sellTotalFees).div(100); tokensForTreasury += (fees * sellTreasuryFee) / sellTotalFees; } // on buy else if (automatedMarketMakerPairs[from] && buyTotalFees > 0) { fees = amount.mul(buyTotalFees).div(100); tokensForTreasury += (fees * buyTreasuryFee) / buyTotalFees; } if (fees > 0) { super._transfer(from, address(this), fees); } amount -= fees; } super._transfer(from, to, amount); } function swapTokensForEth(uint256 tokenAmount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); // make the swap uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } function issueRewards(address stakingCA, uint256 rewardsAmount) external stakingManagerOnly { require(totalSupply() + rewardsAmount <= maxSupply, "max supply exceeds"); _mint(stakingCA, rewardsAmount); } function swapBack() private { uint256 contractBalance = balanceOf(address(this)); bool success; if (contractBalance == 0 || tokensForTreasury == 0) { return; } if (contractBalance > swapTokensAtAmount * 15) { contractBalance = swapTokensAtAmount * 15; } swapTokensForEth(contractBalance); (success, ) = address(treasuryWallet).call{value: address(this).balance}(""); } }
{ "optimizer": { "enabled": true, "runs": 200 }, "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"},{"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":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","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":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiquidity","type":"uint256"}],"name":"SwapAndLiquify","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":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"TreasuryWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateUniswapV2Router","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_manager","type":"address"}],"name":"addStakingManager","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":[],"name":"authorizer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTreasuryFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"stakingCA","type":"address"},{"internalType":"uint256","name":"rewardsAmount","type":"uint256"}],"name":"issueRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"routerCA","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTreasuryFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"stakingManagerContract","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForTreasury","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"treasuryWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tresFee","type":"uint256"}],"name":"updateBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxTxnAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tresFee","type":"uint256"}],"name":"updateSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"updateSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newtreWallet","type":"address"}],"name":"updatetreWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c0604052600680546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d179055600d805462ffffff191660011790553480156200004657600080fd5b506040518060400160405280600c81526020016b4368796b2046696e616e636560a01b815250604051806040016040528060048152602001634348594b60e01b81525081600390816200009a9190620006d1565b506004620000a98282620006d1565b505050620000c6620000c06200037560201b60201c565b62000379565b6006546001600160a01b0316620000df816001620003cb565b6001600160a01b03811660808190526040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa1580156200012a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200015091906200079d565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200019e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001c491906200079d565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000212573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200023891906200079d565b6001600160a01b031660a081905262000253906001620003cb565b60a0516200026390600162000445565b600880546001600160a01b031990811633179091556b033b2e3c91efc989409c0000600c5568d8d726b7177a8000006009819055600b55680ad78ebc5ac6200000600a556002600f819055600e81905560118190556010819055600780549092167366cb56f0141c43df82e5a5e3a21f861fa2d416361790915580692a59f7af0be2459c000062000308620003006005546001600160a01b031690565b600162000499565b6200031530600162000499565b6200032461dead600162000499565b620003436200033b6005546001600160a01b031690565b6001620003cb565b62000350306001620003cb565b6200035f61dead6001620003cb565b6200036b338262000543565b50505050620007f7565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6005546001600160a01b031633146200041a5760405162461bcd60e51b8152602060048201819052602482015260008051602062002d3b83398151915260448201526064015b60405180910390fd5b6001600160a01b03919091166000908152601460205260409020805460ff1916911515919091179055565b6001600160a01b038216600081815260156020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6005546001600160a01b03163314620004e45760405162461bcd60e51b8152602060048201819052602482015260008051602062002d3b833981519152604482015260640162000411565b6001600160a01b038216600081815260136020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b0382166200059b5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000411565b8060026000828254620005af9190620007cf565b90915550506001600160a01b03821660009081526020819052604081208054839290620005de908490620007cf565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200065857607f821691505b6020821081036200067957634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200062857600081815260208120601f850160051c81016020861015620006a85750805b601f850160051c820191505b81811015620006c957828155600101620006b4565b505050505050565b81516001600160401b03811115620006ed57620006ed6200062d565b6200070581620006fe845462000643565b846200067f565b602080601f8311600181146200073d5760008415620007245750858301515b600019600386901b1c1916600185901b178555620006c9565b600085815260208120601f198616915b828110156200076e578886015182559484019460019091019084016200074d565b50858210156200078d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215620007b057600080fd5b81516001600160a01b0381168114620007c857600080fd5b9392505050565b80820180821115620007f157634e487b7160e01b600052601160045260246000fd5b92915050565b60805160a05161250262000839600039600081816104b40152610e4b01526000818161037d01528181611faf0152818161206801526120a401526125026000f3fe6080604052600436106102b25760003560e01c80637571336a11610175578063c8c8ebe4116100dc578063dd62ed3e11610095578063e47a966a1161006f578063e47a966a146108b6578063eba4c333146108d6578063f2fde38b146108f6578063f8b45b051461091657600080fd5b8063dd62ed3e1461083a578063e25330ce14610880578063e2f45605146108a057600080fd5b8063c8c8ebe4146107a2578063cc2ffe7c146107b8578063d09edf31146107ce578063d257b34f146107ee578063d5abeb011461080e578063d85ba0631461082457600080fd5b8063a457c2d71161012e578063a457c2d7146106d3578063a9059cbb146106f3578063b62496f514610713578063bbc0c74214610743578063c024666814610762578063c18bc1951461078257600080fd5b80637571336a1461062b5780638a8c523c1461064b5780638da5cb5b14610660578063924de9b71461067e57806395d89b411461069e5780639a7a23d6146106b357600080fd5b806349bd5a5e116102195780636b2fb124116101d25780636b2fb124146105755780636ddd17131461058b57806370a08231146105ab578063715018a6146105e157806371fc4688146105f6578063751039fc1461061657600080fd5b806349bd5a5e146104a25780634a62bb65146104d65780634fbee193146104f0578063534c0906146105295780635c068a8c146105495780636a486a8e1461055f57600080fd5b8063203e727e1161026b578063203e727e146103d657806323b872dd146103f65780632a714ba914610416578063313ce5671461044657806339509351146104625780634626402b1461048257600080fd5b806301be18dd146102be57806306fdde03146102e0578063095ea7b31461030b57806310d5de531461033b5780631694505e1461036b57806318160ddd146103b757600080fd5b366102b957005b600080fd5b3480156102ca57600080fd5b506102de6102d936600461212d565b61092c565b005b3480156102ec57600080fd5b506102f56109bc565b604051610302919061214a565b60405180910390f35b34801561031757600080fd5b5061032b610326366004612198565b610a4e565b6040519015158152602001610302565b34801561034757600080fd5b5061032b61035636600461212d565b60146020526000908152604090205460ff1681565b34801561037757600080fd5b5061039f7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610302565b3480156103c357600080fd5b506002545b604051908152602001610302565b3480156103e257600080fd5b506102de6103f13660046121c4565b610a65565b34801561040257600080fd5b5061032b6104113660046121dd565b610b42565b34801561042257600080fd5b5061032b61043136600461212d565b60166020526000908152604090205460ff1681565b34801561045257600080fd5b5060405160128152602001610302565b34801561046e57600080fd5b5061032b61047d366004612198565b610bec565b34801561048e57600080fd5b5060075461039f906001600160a01b031681565b3480156104ae57600080fd5b5061039f7f000000000000000000000000000000000000000000000000000000000000000081565b3480156104e257600080fd5b50600d5461032b9060ff1681565b3480156104fc57600080fd5b5061032b61050b36600461212d565b6001600160a01b031660009081526013602052604090205460ff1690565b34801561053557600080fd5b5060065461039f906001600160a01b031681565b34801561055557600080fd5b506103c8600f5481565b34801561056b57600080fd5b506103c860105481565b34801561058157600080fd5b506103c860115481565b34801561059757600080fd5b50600d5461032b9062010000900460ff1681565b3480156105b757600080fd5b506103c86105c636600461212d565b6001600160a01b031660009081526020819052604090205490565b3480156105ed57600080fd5b506102de610c28565b34801561060257600080fd5b506102de6106113660046121c4565b610c5e565b34801561062257600080fd5b5061032b610ca3565b34801561063757600080fd5b506102de610646366004612233565b610ce0565b34801561065757600080fd5b506102de610d35565b34801561066c57600080fd5b506005546001600160a01b031661039f565b34801561068a57600080fd5b506102de610699366004612268565b610dca565b3480156106aa57600080fd5b506102f5610e10565b3480156106bf57600080fd5b506102de6106ce366004612233565b610e1f565b3480156106df57600080fd5b5061032b6106ee366004612198565b610efe565b3480156106ff57600080fd5b5061032b61070e366004612198565b610f97565b34801561071f57600080fd5b5061032b61072e36600461212d565b60156020526000908152604090205460ff1681565b34801561074f57600080fd5b50600d5461032b90610100900460ff1681565b34801561076e57600080fd5b506102de61077d366004612233565b610fa4565b34801561078e57600080fd5b506102de61079d3660046121c4565b61102d565b3480156107ae57600080fd5b506103c860095481565b3480156107c457600080fd5b506103c860125481565b3480156107da57600080fd5b5060085461039f906001600160a01b031681565b3480156107fa57600080fd5b5061032b6108093660046121c4565b6110fe565b34801561081a57600080fd5b506103c8600c5481565b34801561083057600080fd5b506103c8600e5481565b34801561084657600080fd5b506103c8610855366004612283565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561088c57600080fd5b506102de61089b36600461212d565b6111e5565b3480156108ac57600080fd5b506103c8600a5481565b3480156108c257600080fd5b506102de6108d1366004612198565b6112ad565b3480156108e257600080fd5b506102de6108f13660046121c4565b611362565b34801561090257600080fd5b506102de61091136600461212d565b6113a4565b34801561092257600080fd5b506103c8600b5481565b6005546001600160a01b0316331461095f5760405162461bcd60e51b8152600401610956906122bc565b60405180910390fd5b6007546040516001600160a01b03918216918316907fa982575859d7ad2f390dc12b23f7dab8bbda047f9d0140ac68344b27bf34bfb490600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b6060600380546109cb906122f1565b80601f01602080910402602001604051908101604052809291908181526020018280546109f7906122f1565b8015610a445780601f10610a1957610100808354040283529160200191610a44565b820191906000526020600020905b815481529060010190602001808311610a2757829003601f168201915b5050505050905090565b6000610a5b33848461143c565b5060015b92915050565b6005546001600160a01b03163314610a8f5760405162461bcd60e51b8152600401610956906122bc565b670de0b6b3a76400006103e8610aa460025490565b610aaf906001612341565b610ab99190612358565b610ac39190612358565b811015610b2a5760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e312560881b6064820152608401610956565b610b3c81670de0b6b3a7640000612341565b60095550565b6000610b4f848484611560565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610bd45760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610956565b610be1853385840361143c565b506001949350505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610a5b918590610c2390869061237a565b61143c565b6005546001600160a01b03163314610c525760405162461bcd60e51b8152600401610956906122bc565b610c5c6000611bb0565b565b6005546001600160a01b03163314610c885760405162461bcd60e51b8152600401610956906122bc565b600f819055600e8190556063811115610ca057600080fd5b50565b6005546000906001600160a01b03163314610cd05760405162461bcd60e51b8152600401610956906122bc565b50600d805460ff19169055600190565b6005546001600160a01b03163314610d0a5760405162461bcd60e51b8152600401610956906122bc565b6001600160a01b03919091166000908152601460205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610d5f5760405162461bcd60e51b8152600401610956906122bc565b600d54610100900460ff1615610db75760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720697320616c7265616479206c6976650000000000000000006044820152606401610956565b600d805462ffff00191662010100179055565b6005546001600160a01b03163314610df45760405162461bcd60e51b8152600401610956906122bc565b600d8054911515620100000262ff000019909216919091179055565b6060600480546109cb906122f1565b6005546001600160a01b03163314610e495760405162461bcd60e51b8152600401610956906122bc565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031603610ef05760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610956565b610efa8282611c02565b5050565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610f805760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610956565b610f8d338585840361143c565b5060019392505050565b6000610a5b338484611560565b6005546001600160a01b03163314610fce5760405162461bcd60e51b8152600401610956906122bc565b6001600160a01b038216600081815260136020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146110575760405162461bcd60e51b8152600401610956906122bc565b670de0b6b3a76400006103e861106c60025490565b611077906005612341565b6110819190612358565b61108b9190612358565b8110156110e65760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263302e352560e01b6064820152608401610956565b6110f881670de0b6b3a7640000612341565b600b5550565b6008546000906001600160a01b0316331461114d5760405162461bcd60e51b815260206004820152600f60248201526e617574686f72697a6572206f6e6c7960881b6044820152606401610956565b620186a061115a60025490565b611165906001612341565b61116f9190612358565b8210156111dc5760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610956565b50600a55600190565b6008546001600160a01b0316336001600160a01b03161461123e5760405162461bcd60e51b81526020600482015260136024820152722ab730baba3437b934bd32b21031b0b63632b960691b6044820152606401610956565b6001600160a01b0381166112895760405162461bcd60e51b815260206004820152601260248201527163616e6e6f7420626520616464207a65726f60701b6044820152606401610956565b6001600160a01b03166000908152601660205260409020805460ff19166001179055565b3360009081526016602052604090205460ff166112fe5760405162461bcd60e51b815260206004820152600f60248201526e24b73b30b634b21026b0b730b3b2b960891b6044820152606401610956565b600c548161130b60025490565b611315919061237a565b11156113585760405162461bcd60e51b81526020600482015260126024820152716d617820737570706c79206578636565647360701b6044820152606401610956565b610efa8282611c56565b6005546001600160a01b0316331461138c5760405162461bcd60e51b8152600401610956906122bc565b601181905560108190556063811115610ca057600080fd5b6005546001600160a01b031633146113ce5760405162461bcd60e51b8152600401610956906122bc565b6001600160a01b0381166114335760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610956565b610ca081611bb0565b6001600160a01b03831661149e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610956565b6001600160a01b0382166114ff5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610956565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166115865760405162461bcd60e51b81526004016109569061238d565b6001600160a01b0382166115ac5760405162461bcd60e51b8152600401610956906123d2565b806000036115c5576115c083836000611d35565b505050565b600d5460ff161561193b576005546001600160a01b038481169116148015906115fc57506005546001600160a01b03838116911614155b801561161057506001600160a01b03821615155b801561162757506001600160a01b03821661dead14155b801561163d5750600654600160a01b900460ff16155b1561193b57600d54610100900460ff166116d5576001600160a01b03831660009081526013602052604090205460ff168061169057506001600160a01b03821660009081526013602052604090205460ff165b6116d55760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610956565b6001600160a01b03831660009081526015602052604090205460ff16801561171657506001600160a01b03821660009081526014602052604090205460ff16155b156117fa5760095481111561178b5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610956565b600b546001600160a01b0383166000908152602081905260409020546117b1908361237a565b11156117f55760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610956565b61193b565b6001600160a01b03821660009081526015602052604090205460ff16801561183b57506001600160a01b03831660009081526014602052604090205460ff16155b156118b1576009548111156117f55760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610956565b6001600160a01b03821660009081526014602052604090205460ff1661193b57600b546001600160a01b0383166000908152602081905260409020546118f7908361237a565b111561193b5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610956565b30600090815260208190526040902054600a54811080159081906119675750600d5462010000900460ff165b801561197d5750600654600160a01b900460ff16155b80156119a257506001600160a01b03851660009081526015602052604090205460ff16155b80156119c757506001600160a01b03851660009081526013602052604090205460ff16155b80156119ec57506001600160a01b03841660009081526013602052604090205460ff16155b15611a1a576006805460ff60a01b1916600160a01b179055611a0c611e8a565b6006805460ff60a01b191690555b6006546001600160a01b03861660009081526013602052604090205460ff600160a01b909204821615911680611a6857506001600160a01b03851660009081526013602052604090205460ff165b15611a71575060005b60008115611b9c576001600160a01b03861660009081526015602052604090205460ff168015611aa357506000601054115b15611b0157611ac86064611ac260105488611f3990919063ffffffff16565b90611f4c565b905060105460115482611adb9190612341565b611ae59190612358565b60126000828254611af6919061237a565b90915550611b7e9050565b6001600160a01b03871660009081526015602052604090205460ff168015611b2b57506000600e54115b15611b7e57611b4a6064611ac2600e5488611f3990919063ffffffff16565b9050600e54600f5482611b5d9190612341565b611b679190612358565b60126000828254611b78919061237a565b90915550505b8015611b8f57611b8f873083611d35565b611b998186612415565b94505b611ba7878787611d35565b50505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260156020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038216611cac5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610956565b8060026000828254611cbe919061237a565b90915550506001600160a01b03821660009081526020819052604081208054839290611ceb90849061237a565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b038316611d5b5760405162461bcd60e51b81526004016109569061238d565b6001600160a01b038216611d815760405162461bcd60e51b8152600401610956906123d2565b6001600160a01b03831660009081526020819052604090205481811015611df95760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610956565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611e3090849061237a565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611e7c91815260200190565b60405180910390a350505050565b3060009081526020819052604081205490811580611ea85750601254155b15611eb1575050565b600a54611ebf90600f612341565b821115611ed757600a54611ed490600f612341565b91505b611ee082611f58565b6007546040516001600160a01b03909116904790600081818185875af1925050503d8060008114611f2d576040519150601f19603f3d011682016040523d82523d6000602084013e611f32565b606091505b5050505050565b6000611f458284612341565b9392505050565b6000611f458284612358565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611f8d57611f8d612428565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561200b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061202f919061243e565b8160018151811061204257612042612428565b60200260200101906001600160a01b031690816001600160a01b03168152505061208d307f00000000000000000000000000000000000000000000000000000000000000008461143c565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac947906120e290859060009086903090429060040161245b565b600060405180830381600087803b1580156120fc57600080fd5b505af1158015612110573d6000803e3d6000fd5b505050505050565b6001600160a01b0381168114610ca057600080fd5b60006020828403121561213f57600080fd5b8135611f4581612118565b600060208083528351808285015260005b818110156121775785810183015185820160400152820161215b565b506000604082860101526040601f19601f8301168501019250505092915050565b600080604083850312156121ab57600080fd5b82356121b681612118565b946020939093013593505050565b6000602082840312156121d657600080fd5b5035919050565b6000806000606084860312156121f257600080fd5b83356121fd81612118565b9250602084013561220d81612118565b929592945050506040919091013590565b8035801515811461222e57600080fd5b919050565b6000806040838503121561224657600080fd5b823561225181612118565b915061225f6020840161221e565b90509250929050565b60006020828403121561227a57600080fd5b611f458261221e565b6000806040838503121561229657600080fd5b82356122a181612118565b915060208301356122b181612118565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c9082168061230557607f821691505b60208210810361232557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610a5f57610a5f61232b565b60008261237557634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115610a5f57610a5f61232b565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b81810381811115610a5f57610a5f61232b565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561245057600080fd5b8151611f4581612118565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156124ab5784516001600160a01b031683529383019391830191600101612486565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122074a755375fe43896f8fb71cb64b58ff93a6a8e1bfeee2ed81c13b955ac3ca7bd64736f6c634300081400334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572
Deployed Bytecode
0x6080604052600436106102b25760003560e01c80637571336a11610175578063c8c8ebe4116100dc578063dd62ed3e11610095578063e47a966a1161006f578063e47a966a146108b6578063eba4c333146108d6578063f2fde38b146108f6578063f8b45b051461091657600080fd5b8063dd62ed3e1461083a578063e25330ce14610880578063e2f45605146108a057600080fd5b8063c8c8ebe4146107a2578063cc2ffe7c146107b8578063d09edf31146107ce578063d257b34f146107ee578063d5abeb011461080e578063d85ba0631461082457600080fd5b8063a457c2d71161012e578063a457c2d7146106d3578063a9059cbb146106f3578063b62496f514610713578063bbc0c74214610743578063c024666814610762578063c18bc1951461078257600080fd5b80637571336a1461062b5780638a8c523c1461064b5780638da5cb5b14610660578063924de9b71461067e57806395d89b411461069e5780639a7a23d6146106b357600080fd5b806349bd5a5e116102195780636b2fb124116101d25780636b2fb124146105755780636ddd17131461058b57806370a08231146105ab578063715018a6146105e157806371fc4688146105f6578063751039fc1461061657600080fd5b806349bd5a5e146104a25780634a62bb65146104d65780634fbee193146104f0578063534c0906146105295780635c068a8c146105495780636a486a8e1461055f57600080fd5b8063203e727e1161026b578063203e727e146103d657806323b872dd146103f65780632a714ba914610416578063313ce5671461044657806339509351146104625780634626402b1461048257600080fd5b806301be18dd146102be57806306fdde03146102e0578063095ea7b31461030b57806310d5de531461033b5780631694505e1461036b57806318160ddd146103b757600080fd5b366102b957005b600080fd5b3480156102ca57600080fd5b506102de6102d936600461212d565b61092c565b005b3480156102ec57600080fd5b506102f56109bc565b604051610302919061214a565b60405180910390f35b34801561031757600080fd5b5061032b610326366004612198565b610a4e565b6040519015158152602001610302565b34801561034757600080fd5b5061032b61035636600461212d565b60146020526000908152604090205460ff1681565b34801561037757600080fd5b5061039f7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b039091168152602001610302565b3480156103c357600080fd5b506002545b604051908152602001610302565b3480156103e257600080fd5b506102de6103f13660046121c4565b610a65565b34801561040257600080fd5b5061032b6104113660046121dd565b610b42565b34801561042257600080fd5b5061032b61043136600461212d565b60166020526000908152604090205460ff1681565b34801561045257600080fd5b5060405160128152602001610302565b34801561046e57600080fd5b5061032b61047d366004612198565b610bec565b34801561048e57600080fd5b5060075461039f906001600160a01b031681565b3480156104ae57600080fd5b5061039f7f0000000000000000000000003a77c62c58ee6b8043be13344eab91cca806088781565b3480156104e257600080fd5b50600d5461032b9060ff1681565b3480156104fc57600080fd5b5061032b61050b36600461212d565b6001600160a01b031660009081526013602052604090205460ff1690565b34801561053557600080fd5b5060065461039f906001600160a01b031681565b34801561055557600080fd5b506103c8600f5481565b34801561056b57600080fd5b506103c860105481565b34801561058157600080fd5b506103c860115481565b34801561059757600080fd5b50600d5461032b9062010000900460ff1681565b3480156105b757600080fd5b506103c86105c636600461212d565b6001600160a01b031660009081526020819052604090205490565b3480156105ed57600080fd5b506102de610c28565b34801561060257600080fd5b506102de6106113660046121c4565b610c5e565b34801561062257600080fd5b5061032b610ca3565b34801561063757600080fd5b506102de610646366004612233565b610ce0565b34801561065757600080fd5b506102de610d35565b34801561066c57600080fd5b506005546001600160a01b031661039f565b34801561068a57600080fd5b506102de610699366004612268565b610dca565b3480156106aa57600080fd5b506102f5610e10565b3480156106bf57600080fd5b506102de6106ce366004612233565b610e1f565b3480156106df57600080fd5b5061032b6106ee366004612198565b610efe565b3480156106ff57600080fd5b5061032b61070e366004612198565b610f97565b34801561071f57600080fd5b5061032b61072e36600461212d565b60156020526000908152604090205460ff1681565b34801561074f57600080fd5b50600d5461032b90610100900460ff1681565b34801561076e57600080fd5b506102de61077d366004612233565b610fa4565b34801561078e57600080fd5b506102de61079d3660046121c4565b61102d565b3480156107ae57600080fd5b506103c860095481565b3480156107c457600080fd5b506103c860125481565b3480156107da57600080fd5b5060085461039f906001600160a01b031681565b3480156107fa57600080fd5b5061032b6108093660046121c4565b6110fe565b34801561081a57600080fd5b506103c8600c5481565b34801561083057600080fd5b506103c8600e5481565b34801561084657600080fd5b506103c8610855366004612283565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561088c57600080fd5b506102de61089b36600461212d565b6111e5565b3480156108ac57600080fd5b506103c8600a5481565b3480156108c257600080fd5b506102de6108d1366004612198565b6112ad565b3480156108e257600080fd5b506102de6108f13660046121c4565b611362565b34801561090257600080fd5b506102de61091136600461212d565b6113a4565b34801561092257600080fd5b506103c8600b5481565b6005546001600160a01b0316331461095f5760405162461bcd60e51b8152600401610956906122bc565b60405180910390fd5b6007546040516001600160a01b03918216918316907fa982575859d7ad2f390dc12b23f7dab8bbda047f9d0140ac68344b27bf34bfb490600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b6060600380546109cb906122f1565b80601f01602080910402602001604051908101604052809291908181526020018280546109f7906122f1565b8015610a445780601f10610a1957610100808354040283529160200191610a44565b820191906000526020600020905b815481529060010190602001808311610a2757829003601f168201915b5050505050905090565b6000610a5b33848461143c565b5060015b92915050565b6005546001600160a01b03163314610a8f5760405162461bcd60e51b8152600401610956906122bc565b670de0b6b3a76400006103e8610aa460025490565b610aaf906001612341565b610ab99190612358565b610ac39190612358565b811015610b2a5760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e312560881b6064820152608401610956565b610b3c81670de0b6b3a7640000612341565b60095550565b6000610b4f848484611560565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610bd45760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610956565b610be1853385840361143c565b506001949350505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610a5b918590610c2390869061237a565b61143c565b6005546001600160a01b03163314610c525760405162461bcd60e51b8152600401610956906122bc565b610c5c6000611bb0565b565b6005546001600160a01b03163314610c885760405162461bcd60e51b8152600401610956906122bc565b600f819055600e8190556063811115610ca057600080fd5b50565b6005546000906001600160a01b03163314610cd05760405162461bcd60e51b8152600401610956906122bc565b50600d805460ff19169055600190565b6005546001600160a01b03163314610d0a5760405162461bcd60e51b8152600401610956906122bc565b6001600160a01b03919091166000908152601460205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610d5f5760405162461bcd60e51b8152600401610956906122bc565b600d54610100900460ff1615610db75760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720697320616c7265616479206c6976650000000000000000006044820152606401610956565b600d805462ffff00191662010100179055565b6005546001600160a01b03163314610df45760405162461bcd60e51b8152600401610956906122bc565b600d8054911515620100000262ff000019909216919091179055565b6060600480546109cb906122f1565b6005546001600160a01b03163314610e495760405162461bcd60e51b8152600401610956906122bc565b7f0000000000000000000000003a77c62c58ee6b8043be13344eab91cca80608876001600160a01b0316826001600160a01b031603610ef05760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610956565b610efa8282611c02565b5050565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610f805760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610956565b610f8d338585840361143c565b5060019392505050565b6000610a5b338484611560565b6005546001600160a01b03163314610fce5760405162461bcd60e51b8152600401610956906122bc565b6001600160a01b038216600081815260136020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146110575760405162461bcd60e51b8152600401610956906122bc565b670de0b6b3a76400006103e861106c60025490565b611077906005612341565b6110819190612358565b61108b9190612358565b8110156110e65760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263302e352560e01b6064820152608401610956565b6110f881670de0b6b3a7640000612341565b600b5550565b6008546000906001600160a01b0316331461114d5760405162461bcd60e51b815260206004820152600f60248201526e617574686f72697a6572206f6e6c7960881b6044820152606401610956565b620186a061115a60025490565b611165906001612341565b61116f9190612358565b8210156111dc5760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610956565b50600a55600190565b6008546001600160a01b0316336001600160a01b03161461123e5760405162461bcd60e51b81526020600482015260136024820152722ab730baba3437b934bd32b21031b0b63632b960691b6044820152606401610956565b6001600160a01b0381166112895760405162461bcd60e51b815260206004820152601260248201527163616e6e6f7420626520616464207a65726f60701b6044820152606401610956565b6001600160a01b03166000908152601660205260409020805460ff19166001179055565b3360009081526016602052604090205460ff166112fe5760405162461bcd60e51b815260206004820152600f60248201526e24b73b30b634b21026b0b730b3b2b960891b6044820152606401610956565b600c548161130b60025490565b611315919061237a565b11156113585760405162461bcd60e51b81526020600482015260126024820152716d617820737570706c79206578636565647360701b6044820152606401610956565b610efa8282611c56565b6005546001600160a01b0316331461138c5760405162461bcd60e51b8152600401610956906122bc565b601181905560108190556063811115610ca057600080fd5b6005546001600160a01b031633146113ce5760405162461bcd60e51b8152600401610956906122bc565b6001600160a01b0381166114335760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610956565b610ca081611bb0565b6001600160a01b03831661149e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610956565b6001600160a01b0382166114ff5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610956565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166115865760405162461bcd60e51b81526004016109569061238d565b6001600160a01b0382166115ac5760405162461bcd60e51b8152600401610956906123d2565b806000036115c5576115c083836000611d35565b505050565b600d5460ff161561193b576005546001600160a01b038481169116148015906115fc57506005546001600160a01b03838116911614155b801561161057506001600160a01b03821615155b801561162757506001600160a01b03821661dead14155b801561163d5750600654600160a01b900460ff16155b1561193b57600d54610100900460ff166116d5576001600160a01b03831660009081526013602052604090205460ff168061169057506001600160a01b03821660009081526013602052604090205460ff165b6116d55760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610956565b6001600160a01b03831660009081526015602052604090205460ff16801561171657506001600160a01b03821660009081526014602052604090205460ff16155b156117fa5760095481111561178b5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610956565b600b546001600160a01b0383166000908152602081905260409020546117b1908361237a565b11156117f55760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610956565b61193b565b6001600160a01b03821660009081526015602052604090205460ff16801561183b57506001600160a01b03831660009081526014602052604090205460ff16155b156118b1576009548111156117f55760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610956565b6001600160a01b03821660009081526014602052604090205460ff1661193b57600b546001600160a01b0383166000908152602081905260409020546118f7908361237a565b111561193b5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610956565b30600090815260208190526040902054600a54811080159081906119675750600d5462010000900460ff165b801561197d5750600654600160a01b900460ff16155b80156119a257506001600160a01b03851660009081526015602052604090205460ff16155b80156119c757506001600160a01b03851660009081526013602052604090205460ff16155b80156119ec57506001600160a01b03841660009081526013602052604090205460ff16155b15611a1a576006805460ff60a01b1916600160a01b179055611a0c611e8a565b6006805460ff60a01b191690555b6006546001600160a01b03861660009081526013602052604090205460ff600160a01b909204821615911680611a6857506001600160a01b03851660009081526013602052604090205460ff165b15611a71575060005b60008115611b9c576001600160a01b03861660009081526015602052604090205460ff168015611aa357506000601054115b15611b0157611ac86064611ac260105488611f3990919063ffffffff16565b90611f4c565b905060105460115482611adb9190612341565b611ae59190612358565b60126000828254611af6919061237a565b90915550611b7e9050565b6001600160a01b03871660009081526015602052604090205460ff168015611b2b57506000600e54115b15611b7e57611b4a6064611ac2600e5488611f3990919063ffffffff16565b9050600e54600f5482611b5d9190612341565b611b679190612358565b60126000828254611b78919061237a565b90915550505b8015611b8f57611b8f873083611d35565b611b998186612415565b94505b611ba7878787611d35565b50505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260156020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038216611cac5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610956565b8060026000828254611cbe919061237a565b90915550506001600160a01b03821660009081526020819052604081208054839290611ceb90849061237a565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b038316611d5b5760405162461bcd60e51b81526004016109569061238d565b6001600160a01b038216611d815760405162461bcd60e51b8152600401610956906123d2565b6001600160a01b03831660009081526020819052604090205481811015611df95760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610956565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611e3090849061237a565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611e7c91815260200190565b60405180910390a350505050565b3060009081526020819052604081205490811580611ea85750601254155b15611eb1575050565b600a54611ebf90600f612341565b821115611ed757600a54611ed490600f612341565b91505b611ee082611f58565b6007546040516001600160a01b03909116904790600081818185875af1925050503d8060008114611f2d576040519150601f19603f3d011682016040523d82523d6000602084013e611f32565b606091505b5050505050565b6000611f458284612341565b9392505050565b6000611f458284612358565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611f8d57611f8d612428565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561200b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061202f919061243e565b8160018151811061204257612042612428565b60200260200101906001600160a01b031690816001600160a01b03168152505061208d307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d8461143c565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac947906120e290859060009086903090429060040161245b565b600060405180830381600087803b1580156120fc57600080fd5b505af1158015612110573d6000803e3d6000fd5b505050505050565b6001600160a01b0381168114610ca057600080fd5b60006020828403121561213f57600080fd5b8135611f4581612118565b600060208083528351808285015260005b818110156121775785810183015185820160400152820161215b565b506000604082860101526040601f19601f8301168501019250505092915050565b600080604083850312156121ab57600080fd5b82356121b681612118565b946020939093013593505050565b6000602082840312156121d657600080fd5b5035919050565b6000806000606084860312156121f257600080fd5b83356121fd81612118565b9250602084013561220d81612118565b929592945050506040919091013590565b8035801515811461222e57600080fd5b919050565b6000806040838503121561224657600080fd5b823561225181612118565b915061225f6020840161221e565b90509250929050565b60006020828403121561227a57600080fd5b611f458261221e565b6000806040838503121561229657600080fd5b82356122a181612118565b915060208301356122b181612118565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c9082168061230557607f821691505b60208210810361232557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610a5f57610a5f61232b565b60008261237557634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115610a5f57610a5f61232b565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b81810381811115610a5f57610a5f61232b565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561245057600080fd5b8151611f4581612118565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156124ab5784516001600160a01b031683529383019391830191600101612486565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122074a755375fe43896f8fb71cb64b58ff93a6a8e1bfeee2ed81c13b955ac3ca7bd64736f6c63430008140033
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.