ERC-20
Overview
Max Total Supply
1,000,000,000 DGpu
Holders
411
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.000087537483650463 DGpuValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DGPU
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 2023-03-08 */ /* Website: https://dgpu.network/ TG: https://t.me/DGpuNetwork X: https://x.com/dgpunetwork */ // 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; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } 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 tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } 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; } function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } interface IUniswapV2Factory { event PairCreated( address indexed token0, address indexed token1, address pair, uint256 ); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint256) external view returns (address pair); function allPairsLength() external view returns (uint256); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } interface IUniswapV2Pair { event Approval( address indexed owner, address indexed spender, uint256 value ); event Transfer(address indexed from, address indexed to, uint256 value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint256); function balanceOf(address owner) external view returns (uint256); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 value) external returns (bool); function transfer(address to, uint256 value) external returns (bool); function transferFrom( address from, address to, uint256 value ) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint256); function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; event Mint(address indexed sender, uint256 amount0, uint256 amount1); event Burn( address indexed sender, uint256 amount0, uint256 amount1, address indexed to ); event Swap( address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint256); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns ( uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast ); function price0CumulativeLast() external view returns (uint256); function price1CumulativeLast() external view returns (uint256); function kLast() external view returns (uint256); function mint(address to) external returns (uint256 liquidity); function burn(address to) external returns (uint256 amount0, uint256 amount1); function swap( uint256 amount0Out, uint256 amount1Out, address to, bytes calldata data ) external; function skim(address to) external; function sync() external; function initialize(address, address) external; } interface IUniswapV2Router02 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns ( uint256 amountA, uint256 amountB, uint256 liquidity ); function addLiquidityETH( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external payable returns ( uint256 amountToken, uint256 amountETH, uint256 liquidity ); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; } contract DGPU is ERC20, Ownable { using SafeMath for uint256; IUniswapV2Router02 public immutable uniswapV2Router; address public immutable uniswapV2Pair; address public uniswapRouter = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; address public devWallet; uint256 public maxTransactionAmount; uint256 public swapTokensAtAmount; uint256 public maxWallet; bool private swapping; bool public limitsInEffect = true; bool public tradingActive = false; bool public swapEnabled = false; uint256 public buyDevFee; uint256 public sellDevFee; uint256 public tokensForDev; mapping(address => bool) private _isExcludedFromFees; mapping(address => bool) public _isExcludedMaxTransactionAmount; mapping(address => bool) public automatedMarketMakerPairs; event ExcludeFromFees(address indexed account, bool isExcluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event DevWalletUpdated( address indexed newWallet, address indexed oldWallet ); constructor() ERC20("Decentralized GPU Network", "DGpu") { IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(uniswapRouter); excludeFromMaxTransaction(address(_uniswapV2Router), true); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); excludeFromMaxTransaction(address(uniswapV2Pair), true); _setAutomatedMarketMakerPair(address(uniswapV2Pair), true); // buy fees uint256 _buyDevFee = 5; // sell fees uint256 _sellDevFee = 5; uint256 totalSupply = 1_000_000_000 * 1e18; maxTransactionAmount = (totalSupply * 2) / 100; maxWallet = (totalSupply * 2) / 100; swapTokensAtAmount = (totalSupply * 7) / 10000; buyDevFee = _buyDevFee; sellDevFee = _sellDevFee; devWallet = address(0x08C4c942432FcEba701589B5473A19e28b576a65); // 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, totalSupply); } receive() external payable {} function enableTrading() external onlyOwner { require(!tradingActive, "Trading 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 onlyOwner returns (bool) { require( newAmount >= (totalSupply() * 1) / 100000, "Swap amount cannot be lower than 0.001% total supply." ); require( newAmount <= (totalSupply() * 5) / 1000, "Swap amount cannot be higher than 0.5% 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 _devFee ) external onlyOwner { buyDevFee = _devFee; require(buyDevFee <= 99); } function updateSellFees( uint256 _devFee ) external onlyOwner { sellDevFee = _devFee; require(sellDevFee <= 99); } 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 updateDevWallet(address newDevWallet) external onlyOwner { emit DevWalletUpdated(newDevWallet, devWallet); devWallet = newDevWallet; } 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] && sellDevFee > 0) { fees = amount.mul(sellDevFee).div(100); tokensForDev += fees; } // on buy else if (automatedMarketMakerPairs[from] && buyDevFee > 0) { fees = amount.mul(buyDevFee).div(100); tokensForDev += fees; } 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 swapBack() private { uint256 contractBalance = balanceOf(address(this)); bool success; if (contractBalance == 0 || tokensForDev == 0) { return; } if (contractBalance > swapTokensAtAmount * 20) { contractBalance = swapTokensAtAmount * 20; } swapTokensForEth(contractBalance); (success, ) = address(devWallet).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":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"DevWalletUpdated","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":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","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":"buyDevFee","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":"devWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"sellDevFee","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":[],"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":"tokensForDev","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":"uniswapRouter","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":"_devFee","type":"uint256"}],"name":"updateBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newDevWallet","type":"address"}],"name":"updateDevWallet","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":"_devFee","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"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c0604052600680546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d179055600b805463ffffff0019166101001790553480156200004857600080fd5b506040518060400160405280601981526020017f446563656e7472616c697a656420475055204e6574776f726b00000000000000815250604051806040016040528060048152602001634447707560e01b8152508160039081620000ad9190620006f9565b506004620000bc8282620006f9565b505050620000d9620000d36200039d60201b60201c565b620003a1565b6006546001600160a01b0316620000f2816001620003f3565b6001600160a01b03811660808190526040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa1580156200013d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001639190620007c5565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001b1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001d79190620007c5565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000225573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200024b9190620007c5565b6001600160a01b031660a081905262000266906001620003f3565b60a051620002769060016200046d565b6005806b033b2e3c9fd0803ce80000006064620002958260026200080d565b620002a191906200082d565b6008556064620002b38260026200080d565b620002bf91906200082d565b600a55612710620002d28260076200080d565b620002de91906200082d565b600955600c839055600d829055600780546001600160a01b0319167308c4c942432fceba701589b5473a19e28b576a6517905562000330620003286005546001600160a01b031690565b6001620004c1565b6200033d306001620004c1565b6200034c61dead6001620004c1565b6200036b620003636005546001600160a01b031690565b6001620003f3565b62000378306001620003f3565b6200038761dead6001620003f3565b6200039333826200056b565b5050505062000866565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6005546001600160a01b03163314620004425760405162461bcd60e51b8152602060048201819052602482015260008051602062002a3183398151915260448201526064015b60405180910390fd5b6001600160a01b03919091166000908152601060205260409020805460ff1916911515919091179055565b6001600160a01b038216600081815260116020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6005546001600160a01b031633146200050c5760405162461bcd60e51b8152602060048201819052602482015260008051602062002a31833981519152604482015260640162000439565b6001600160a01b0382166000818152600f6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b038216620005c35760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000439565b8060026000828254620005d7919062000850565b90915550506001600160a01b038216600090815260208190526040812080548392906200060690849062000850565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200068057607f821691505b602082108103620006a157634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200065057600081815260208120601f850160051c81016020861015620006d05750805b601f850160051c820191505b81811015620006f157828155600101620006dc565b505050505050565b81516001600160401b0381111562000715576200071562000655565b6200072d816200072684546200066b565b84620006a7565b602080601f8311600181146200076557600084156200074c5750858301515b600019600386901b1c1916600185901b178555620006f1565b600085815260208120601f198616915b82811015620007965788860151825594840194600190910190840162000775565b5085821015620007b55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215620007d857600080fd5b81516001600160a01b0381168114620007f057600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417620008275762000827620007f7565b92915050565b6000826200084b57634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115620008275762000827620007f7565b60805160a051612189620008a8600039600081816104070152610d130152600081816102fe01528181611c3b01528181611cf40152611d3001526121896000f3fe6080604052600436106102555760003560e01c80638da5cb5b11610139578063b62496f5116100b6578063d257b34f1161007a578063d257b34f14610732578063dd62ed3e14610752578063e2f4560514610798578063eba4c333146107ae578063f2fde38b146107ce578063f8b45b05146107ee57600080fd5b8063b62496f51461068c578063bbc0c742146106bc578063c0246668146106dc578063c18bc195146106fc578063c8c8ebe41461071c57600080fd5b80639c3b4fdc116100fd5780639c3b4fdc1461060a5780639fccce3214610620578063a0d82dc514610636578063a457c2d71461064c578063a9059cbb1461066c57600080fd5b80638da5cb5b146105775780638ea5220f14610595578063924de9b7146105b557806395d89b41146105d55780639a7a23d6146105ea57600080fd5b806349bd5a5e116101d2578063715018a611610196578063715018a6146104d857806371fc4688146104ed578063735de9f71461050d578063751039fc1461052d5780637571336a146105425780638a8c523c1461056257600080fd5b806349bd5a5e146103f55780634a62bb65146104295780634fbee193146104485780636ddd17131461048157806370a08231146104a257600080fd5b80631816467f116102195780631816467f14610357578063203e727e1461037957806323b872dd14610399578063313ce567146103b957806339509351146103d557600080fd5b806306fdde0314610261578063095ea7b31461028c57806310d5de53146102bc5780631694505e146102ec57806318160ddd1461033857600080fd5b3661025c57005b600080fd5b34801561026d57600080fd5b50610276610804565b6040516102839190611da4565b60405180910390f35b34801561029857600080fd5b506102ac6102a7366004611e07565b610896565b6040519015158152602001610283565b3480156102c857600080fd5b506102ac6102d7366004611e33565b60106020526000908152604090205460ff1681565b3480156102f857600080fd5b506103207f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610283565b34801561034457600080fd5b506002545b604051908152602001610283565b34801561036357600080fd5b50610377610372366004611e33565b6108ad565b005b34801561038557600080fd5b50610377610394366004611e50565b61093d565b3480156103a557600080fd5b506102ac6103b4366004611e69565b610a1a565b3480156103c557600080fd5b5060405160128152602001610283565b3480156103e157600080fd5b506102ac6103f0366004611e07565b610ac4565b34801561040157600080fd5b506103207f000000000000000000000000000000000000000000000000000000000000000081565b34801561043557600080fd5b50600b546102ac90610100900460ff1681565b34801561045457600080fd5b506102ac610463366004611e33565b6001600160a01b03166000908152600f602052604090205460ff1690565b34801561048d57600080fd5b50600b546102ac906301000000900460ff1681565b3480156104ae57600080fd5b506103496104bd366004611e33565b6001600160a01b031660009081526020819052604090205490565b3480156104e457600080fd5b50610377610b00565b3480156104f957600080fd5b50610377610508366004611e50565b610b36565b34801561051957600080fd5b50600654610320906001600160a01b031681565b34801561053957600080fd5b506102ac610b76565b34801561054e57600080fd5b5061037761055d366004611eba565b610bb4565b34801561056e57600080fd5b50610377610c09565b34801561058357600080fd5b506005546001600160a01b0316610320565b3480156105a157600080fd5b50600754610320906001600160a01b031681565b3480156105c157600080fd5b506103776105d0366004611eef565b610c90565b3480156105e157600080fd5b50610276610cd8565b3480156105f657600080fd5b50610377610605366004611eba565b610ce7565b34801561061657600080fd5b50610349600c5481565b34801561062c57600080fd5b50610349600e5481565b34801561064257600080fd5b50610349600d5481565b34801561065857600080fd5b506102ac610667366004611e07565b610dc6565b34801561067857600080fd5b506102ac610687366004611e07565b610e5f565b34801561069857600080fd5b506102ac6106a7366004611e33565b60116020526000908152604090205460ff1681565b3480156106c857600080fd5b50600b546102ac9062010000900460ff1681565b3480156106e857600080fd5b506103776106f7366004611eba565b610e6c565b34801561070857600080fd5b50610377610717366004611e50565b610ef5565b34801561072857600080fd5b5061034960085481565b34801561073e57600080fd5b506102ac61074d366004611e50565b610fc6565b34801561075e57600080fd5b5061034961076d366004611f0a565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156107a457600080fd5b5061034960095481565b3480156107ba57600080fd5b506103776107c9366004611e50565b61111d565b3480156107da57600080fd5b506103776107e9366004611e33565b61115a565b3480156107fa57600080fd5b50610349600a5481565b60606003805461081390611f43565b80601f016020809104026020016040519081016040528092919081815260200182805461083f90611f43565b801561088c5780601f106108615761010080835404028352916020019161088c565b820191906000526020600020905b81548152906001019060200180831161086f57829003601f168201915b5050505050905090565b60006108a33384846111f2565b5060015b92915050565b6005546001600160a01b031633146108e05760405162461bcd60e51b81526004016108d790611f7d565b60405180910390fd5b6007546040516001600160a01b03918216918316907f0db17895a9d092fb3ca24d626f2150dd80c185b0706b36f1040ee239f56cb87190600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146109675760405162461bcd60e51b81526004016108d790611f7d565b670de0b6b3a76400006103e861097c60025490565b610987906001611fc8565b6109919190611fdf565b61099b9190611fdf565b811015610a025760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e312560881b60648201526084016108d7565b610a1481670de0b6b3a7640000611fc8565b60085550565b6000610a27848484611316565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610aac5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084016108d7565b610ab985338584036111f2565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916108a3918590610afb908690612001565b6111f2565b6005546001600160a01b03163314610b2a5760405162461bcd60e51b81526004016108d790611f7d565b610b34600061191b565b565b6005546001600160a01b03163314610b605760405162461bcd60e51b81526004016108d790611f7d565b600c8190556063811115610b7357600080fd5b50565b6005546000906001600160a01b03163314610ba35760405162461bcd60e51b81526004016108d790611f7d565b50600b805461ff0019169055600190565b6005546001600160a01b03163314610bde5760405162461bcd60e51b81526004016108d790611f7d565b6001600160a01b03919091166000908152601060205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610c335760405162461bcd60e51b81526004016108d790611f7d565b600b5462010000900460ff1615610c7b5760405162461bcd60e51b815260206004820152600c60248201526b54726164696e67206c69766560a01b60448201526064016108d7565b600b805463ffff000019166301010000179055565b6005546001600160a01b03163314610cba5760405162461bcd60e51b81526004016108d790611f7d565b600b805491151563010000000263ff00000019909216919091179055565b60606004805461081390611f43565b6005546001600160a01b03163314610d115760405162461bcd60e51b81526004016108d790611f7d565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031603610db85760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b657250616972730000000000000060648201526084016108d7565b610dc2828261196d565b5050565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610e485760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016108d7565b610e5533858584036111f2565b5060019392505050565b60006108a3338484611316565b6005546001600160a01b03163314610e965760405162461bcd60e51b81526004016108d790611f7d565b6001600160a01b0382166000818152600f6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b03163314610f1f5760405162461bcd60e51b81526004016108d790611f7d565b670de0b6b3a76400006103e8610f3460025490565b610f3f906005611fc8565b610f499190611fdf565b610f539190611fdf565b811015610fae5760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263302e352560e01b60648201526084016108d7565b610fc081670de0b6b3a7640000611fc8565b600a5550565b6005546000906001600160a01b03163314610ff35760405162461bcd60e51b81526004016108d790611f7d565b620186a061100060025490565b61100b906001611fc8565b6110159190611fdf565b8210156110825760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b60648201526084016108d7565b6103e861108e60025490565b611099906005611fc8565b6110a39190611fdf565b82111561110f5760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b60648201526084016108d7565b50600981905560015b919050565b6005546001600160a01b031633146111475760405162461bcd60e51b81526004016108d790611f7d565b600d8190556063811115610b7357600080fd5b6005546001600160a01b031633146111845760405162461bcd60e51b81526004016108d790611f7d565b6001600160a01b0381166111e95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108d7565b610b738161191b565b6001600160a01b0383166112545760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108d7565b6001600160a01b0382166112b55760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108d7565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831661133c5760405162461bcd60e51b81526004016108d790612014565b6001600160a01b0382166113625760405162461bcd60e51b81526004016108d790612059565b8060000361137b57611376838360006119c1565b505050565b600b54610100900460ff16156116f0576005546001600160a01b038481169116148015906113b757506005546001600160a01b03838116911614155b80156113cb57506001600160a01b03821615155b80156113e257506001600160a01b03821661dead14155b80156113f15750600b5460ff16155b156116f057600b5462010000900460ff1661148a576001600160a01b0383166000908152600f602052604090205460ff168061144557506001600160a01b0382166000908152600f602052604090205460ff165b61148a5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b60448201526064016108d7565b6001600160a01b03831660009081526011602052604090205460ff1680156114cb57506001600160a01b03821660009081526010602052604090205460ff16155b156115af576008548111156115405760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b60648201526084016108d7565b600a546001600160a01b0383166000908152602081905260409020546115669083612001565b11156115aa5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016108d7565b6116f0565b6001600160a01b03821660009081526011602052604090205460ff1680156115f057506001600160a01b03831660009081526010602052604090205460ff16155b15611666576008548111156115aa5760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b60648201526084016108d7565b6001600160a01b03821660009081526010602052604090205460ff166116f057600a546001600160a01b0383166000908152602081905260409020546116ac9083612001565b11156116f05760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016108d7565b306000908152602081905260409020546009548110801590819061171d5750600b546301000000900460ff165b801561172c5750600b5460ff16155b801561175157506001600160a01b03851660009081526011602052604090205460ff16155b801561177657506001600160a01b0385166000908152600f602052604090205460ff16155b801561179b57506001600160a01b0384166000908152600f602052604090205460ff16155b156117c057600b805460ff191660011790556117b5611b16565b600b805460ff191690555b600b546001600160a01b0386166000908152600f602052604090205460ff9182161591168061180757506001600160a01b0385166000908152600f602052604090205460ff165b15611810575060005b60008115611907576001600160a01b03861660009081526011602052604090205460ff16801561184257506000600d54115b15611886576118676064611861600d5488611bc590919063ffffffff16565b90611bd8565b905080600e600082825461187b9190612001565b909155506118e99050565b6001600160a01b03871660009081526011602052604090205460ff1680156118b057506000600c54115b156118e9576118cf6064611861600c5488611bc590919063ffffffff16565b905080600e60008282546118e39190612001565b90915550505b80156118fa576118fa8730836119c1565b611904818661209c565b94505b6119128787876119c1565b50505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260116020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0383166119e75760405162461bcd60e51b81526004016108d790612014565b6001600160a01b038216611a0d5760405162461bcd60e51b81526004016108d790612059565b6001600160a01b03831660009081526020819052604090205481811015611a855760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016108d7565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611abc908490612001565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611b0891815260200190565b60405180910390a350505050565b3060009081526020819052604081205490811580611b345750600e54155b15611b3d575050565b600954611b4b906014611fc8565b821115611b6357600954611b60906014611fc8565b91505b611b6c82611be4565b6007546040516001600160a01b03909116904790600081818185875af1925050503d8060008114611bb9576040519150601f19603f3d011682016040523d82523d6000602084013e611bbe565b606091505b5050505050565b6000611bd18284611fc8565b9392505050565b6000611bd18284611fdf565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611c1957611c196120af565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cbb91906120c5565b81600181518110611cce57611cce6120af565b60200260200101906001600160a01b031690816001600160a01b031681525050611d19307f0000000000000000000000000000000000000000000000000000000000000000846111f2565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac94790611d6e9085906000908690309042906004016120e2565b600060405180830381600087803b158015611d8857600080fd5b505af1158015611d9c573d6000803e3d6000fd5b505050505050565b600060208083528351808285015260005b81811015611dd157858101830151858201604001528201611db5565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610b7357600080fd5b60008060408385031215611e1a57600080fd5b8235611e2581611df2565b946020939093013593505050565b600060208284031215611e4557600080fd5b8135611bd181611df2565b600060208284031215611e6257600080fd5b5035919050565b600080600060608486031215611e7e57600080fd5b8335611e8981611df2565b92506020840135611e9981611df2565b929592945050506040919091013590565b8035801515811461111857600080fd5b60008060408385031215611ecd57600080fd5b8235611ed881611df2565b9150611ee660208401611eaa565b90509250929050565b600060208284031215611f0157600080fd5b611bd182611eaa565b60008060408385031215611f1d57600080fd5b8235611f2881611df2565b91506020830135611f3881611df2565b809150509250929050565b600181811c90821680611f5757607f821691505b602082108103611f7757634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176108a7576108a7611fb2565b600082611ffc57634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156108a7576108a7611fb2565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b818103818111156108a7576108a7611fb2565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156120d757600080fd5b8151611bd181611df2565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156121325784516001600160a01b03168352938301939183019160010161210d565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220b3c2dfd32ed75992d7764a247c6b8610a42ec5664e4260b4dc7908f4d0884efa64736f6c634300081400334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572
Deployed Bytecode
0x6080604052600436106102555760003560e01c80638da5cb5b11610139578063b62496f5116100b6578063d257b34f1161007a578063d257b34f14610732578063dd62ed3e14610752578063e2f4560514610798578063eba4c333146107ae578063f2fde38b146107ce578063f8b45b05146107ee57600080fd5b8063b62496f51461068c578063bbc0c742146106bc578063c0246668146106dc578063c18bc195146106fc578063c8c8ebe41461071c57600080fd5b80639c3b4fdc116100fd5780639c3b4fdc1461060a5780639fccce3214610620578063a0d82dc514610636578063a457c2d71461064c578063a9059cbb1461066c57600080fd5b80638da5cb5b146105775780638ea5220f14610595578063924de9b7146105b557806395d89b41146105d55780639a7a23d6146105ea57600080fd5b806349bd5a5e116101d2578063715018a611610196578063715018a6146104d857806371fc4688146104ed578063735de9f71461050d578063751039fc1461052d5780637571336a146105425780638a8c523c1461056257600080fd5b806349bd5a5e146103f55780634a62bb65146104295780634fbee193146104485780636ddd17131461048157806370a08231146104a257600080fd5b80631816467f116102195780631816467f14610357578063203e727e1461037957806323b872dd14610399578063313ce567146103b957806339509351146103d557600080fd5b806306fdde0314610261578063095ea7b31461028c57806310d5de53146102bc5780631694505e146102ec57806318160ddd1461033857600080fd5b3661025c57005b600080fd5b34801561026d57600080fd5b50610276610804565b6040516102839190611da4565b60405180910390f35b34801561029857600080fd5b506102ac6102a7366004611e07565b610896565b6040519015158152602001610283565b3480156102c857600080fd5b506102ac6102d7366004611e33565b60106020526000908152604090205460ff1681565b3480156102f857600080fd5b506103207f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b039091168152602001610283565b34801561034457600080fd5b506002545b604051908152602001610283565b34801561036357600080fd5b50610377610372366004611e33565b6108ad565b005b34801561038557600080fd5b50610377610394366004611e50565b61093d565b3480156103a557600080fd5b506102ac6103b4366004611e69565b610a1a565b3480156103c557600080fd5b5060405160128152602001610283565b3480156103e157600080fd5b506102ac6103f0366004611e07565b610ac4565b34801561040157600080fd5b506103207f000000000000000000000000e988ff7242cde8a66c0fe1062500285dbec8d2cd81565b34801561043557600080fd5b50600b546102ac90610100900460ff1681565b34801561045457600080fd5b506102ac610463366004611e33565b6001600160a01b03166000908152600f602052604090205460ff1690565b34801561048d57600080fd5b50600b546102ac906301000000900460ff1681565b3480156104ae57600080fd5b506103496104bd366004611e33565b6001600160a01b031660009081526020819052604090205490565b3480156104e457600080fd5b50610377610b00565b3480156104f957600080fd5b50610377610508366004611e50565b610b36565b34801561051957600080fd5b50600654610320906001600160a01b031681565b34801561053957600080fd5b506102ac610b76565b34801561054e57600080fd5b5061037761055d366004611eba565b610bb4565b34801561056e57600080fd5b50610377610c09565b34801561058357600080fd5b506005546001600160a01b0316610320565b3480156105a157600080fd5b50600754610320906001600160a01b031681565b3480156105c157600080fd5b506103776105d0366004611eef565b610c90565b3480156105e157600080fd5b50610276610cd8565b3480156105f657600080fd5b50610377610605366004611eba565b610ce7565b34801561061657600080fd5b50610349600c5481565b34801561062c57600080fd5b50610349600e5481565b34801561064257600080fd5b50610349600d5481565b34801561065857600080fd5b506102ac610667366004611e07565b610dc6565b34801561067857600080fd5b506102ac610687366004611e07565b610e5f565b34801561069857600080fd5b506102ac6106a7366004611e33565b60116020526000908152604090205460ff1681565b3480156106c857600080fd5b50600b546102ac9062010000900460ff1681565b3480156106e857600080fd5b506103776106f7366004611eba565b610e6c565b34801561070857600080fd5b50610377610717366004611e50565b610ef5565b34801561072857600080fd5b5061034960085481565b34801561073e57600080fd5b506102ac61074d366004611e50565b610fc6565b34801561075e57600080fd5b5061034961076d366004611f0a565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156107a457600080fd5b5061034960095481565b3480156107ba57600080fd5b506103776107c9366004611e50565b61111d565b3480156107da57600080fd5b506103776107e9366004611e33565b61115a565b3480156107fa57600080fd5b50610349600a5481565b60606003805461081390611f43565b80601f016020809104026020016040519081016040528092919081815260200182805461083f90611f43565b801561088c5780601f106108615761010080835404028352916020019161088c565b820191906000526020600020905b81548152906001019060200180831161086f57829003601f168201915b5050505050905090565b60006108a33384846111f2565b5060015b92915050565b6005546001600160a01b031633146108e05760405162461bcd60e51b81526004016108d790611f7d565b60405180910390fd5b6007546040516001600160a01b03918216918316907f0db17895a9d092fb3ca24d626f2150dd80c185b0706b36f1040ee239f56cb87190600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146109675760405162461bcd60e51b81526004016108d790611f7d565b670de0b6b3a76400006103e861097c60025490565b610987906001611fc8565b6109919190611fdf565b61099b9190611fdf565b811015610a025760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e312560881b60648201526084016108d7565b610a1481670de0b6b3a7640000611fc8565b60085550565b6000610a27848484611316565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610aac5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084016108d7565b610ab985338584036111f2565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916108a3918590610afb908690612001565b6111f2565b6005546001600160a01b03163314610b2a5760405162461bcd60e51b81526004016108d790611f7d565b610b34600061191b565b565b6005546001600160a01b03163314610b605760405162461bcd60e51b81526004016108d790611f7d565b600c8190556063811115610b7357600080fd5b50565b6005546000906001600160a01b03163314610ba35760405162461bcd60e51b81526004016108d790611f7d565b50600b805461ff0019169055600190565b6005546001600160a01b03163314610bde5760405162461bcd60e51b81526004016108d790611f7d565b6001600160a01b03919091166000908152601060205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610c335760405162461bcd60e51b81526004016108d790611f7d565b600b5462010000900460ff1615610c7b5760405162461bcd60e51b815260206004820152600c60248201526b54726164696e67206c69766560a01b60448201526064016108d7565b600b805463ffff000019166301010000179055565b6005546001600160a01b03163314610cba5760405162461bcd60e51b81526004016108d790611f7d565b600b805491151563010000000263ff00000019909216919091179055565b60606004805461081390611f43565b6005546001600160a01b03163314610d115760405162461bcd60e51b81526004016108d790611f7d565b7f000000000000000000000000e988ff7242cde8a66c0fe1062500285dbec8d2cd6001600160a01b0316826001600160a01b031603610db85760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b657250616972730000000000000060648201526084016108d7565b610dc2828261196d565b5050565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610e485760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016108d7565b610e5533858584036111f2565b5060019392505050565b60006108a3338484611316565b6005546001600160a01b03163314610e965760405162461bcd60e51b81526004016108d790611f7d565b6001600160a01b0382166000818152600f6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b03163314610f1f5760405162461bcd60e51b81526004016108d790611f7d565b670de0b6b3a76400006103e8610f3460025490565b610f3f906005611fc8565b610f499190611fdf565b610f539190611fdf565b811015610fae5760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263302e352560e01b60648201526084016108d7565b610fc081670de0b6b3a7640000611fc8565b600a5550565b6005546000906001600160a01b03163314610ff35760405162461bcd60e51b81526004016108d790611f7d565b620186a061100060025490565b61100b906001611fc8565b6110159190611fdf565b8210156110825760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b60648201526084016108d7565b6103e861108e60025490565b611099906005611fc8565b6110a39190611fdf565b82111561110f5760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b60648201526084016108d7565b50600981905560015b919050565b6005546001600160a01b031633146111475760405162461bcd60e51b81526004016108d790611f7d565b600d8190556063811115610b7357600080fd5b6005546001600160a01b031633146111845760405162461bcd60e51b81526004016108d790611f7d565b6001600160a01b0381166111e95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108d7565b610b738161191b565b6001600160a01b0383166112545760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108d7565b6001600160a01b0382166112b55760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108d7565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831661133c5760405162461bcd60e51b81526004016108d790612014565b6001600160a01b0382166113625760405162461bcd60e51b81526004016108d790612059565b8060000361137b57611376838360006119c1565b505050565b600b54610100900460ff16156116f0576005546001600160a01b038481169116148015906113b757506005546001600160a01b03838116911614155b80156113cb57506001600160a01b03821615155b80156113e257506001600160a01b03821661dead14155b80156113f15750600b5460ff16155b156116f057600b5462010000900460ff1661148a576001600160a01b0383166000908152600f602052604090205460ff168061144557506001600160a01b0382166000908152600f602052604090205460ff165b61148a5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b60448201526064016108d7565b6001600160a01b03831660009081526011602052604090205460ff1680156114cb57506001600160a01b03821660009081526010602052604090205460ff16155b156115af576008548111156115405760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b60648201526084016108d7565b600a546001600160a01b0383166000908152602081905260409020546115669083612001565b11156115aa5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016108d7565b6116f0565b6001600160a01b03821660009081526011602052604090205460ff1680156115f057506001600160a01b03831660009081526010602052604090205460ff16155b15611666576008548111156115aa5760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b60648201526084016108d7565b6001600160a01b03821660009081526010602052604090205460ff166116f057600a546001600160a01b0383166000908152602081905260409020546116ac9083612001565b11156116f05760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016108d7565b306000908152602081905260409020546009548110801590819061171d5750600b546301000000900460ff165b801561172c5750600b5460ff16155b801561175157506001600160a01b03851660009081526011602052604090205460ff16155b801561177657506001600160a01b0385166000908152600f602052604090205460ff16155b801561179b57506001600160a01b0384166000908152600f602052604090205460ff16155b156117c057600b805460ff191660011790556117b5611b16565b600b805460ff191690555b600b546001600160a01b0386166000908152600f602052604090205460ff9182161591168061180757506001600160a01b0385166000908152600f602052604090205460ff165b15611810575060005b60008115611907576001600160a01b03861660009081526011602052604090205460ff16801561184257506000600d54115b15611886576118676064611861600d5488611bc590919063ffffffff16565b90611bd8565b905080600e600082825461187b9190612001565b909155506118e99050565b6001600160a01b03871660009081526011602052604090205460ff1680156118b057506000600c54115b156118e9576118cf6064611861600c5488611bc590919063ffffffff16565b905080600e60008282546118e39190612001565b90915550505b80156118fa576118fa8730836119c1565b611904818661209c565b94505b6119128787876119c1565b50505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260116020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0383166119e75760405162461bcd60e51b81526004016108d790612014565b6001600160a01b038216611a0d5760405162461bcd60e51b81526004016108d790612059565b6001600160a01b03831660009081526020819052604090205481811015611a855760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016108d7565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611abc908490612001565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611b0891815260200190565b60405180910390a350505050565b3060009081526020819052604081205490811580611b345750600e54155b15611b3d575050565b600954611b4b906014611fc8565b821115611b6357600954611b60906014611fc8565b91505b611b6c82611be4565b6007546040516001600160a01b03909116904790600081818185875af1925050503d8060008114611bb9576040519150601f19603f3d011682016040523d82523d6000602084013e611bbe565b606091505b5050505050565b6000611bd18284611fc8565b9392505050565b6000611bd18284611fdf565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611c1957611c196120af565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cbb91906120c5565b81600181518110611cce57611cce6120af565b60200260200101906001600160a01b031690816001600160a01b031681525050611d19307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d846111f2565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac94790611d6e9085906000908690309042906004016120e2565b600060405180830381600087803b158015611d8857600080fd5b505af1158015611d9c573d6000803e3d6000fd5b505050505050565b600060208083528351808285015260005b81811015611dd157858101830151858201604001528201611db5565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610b7357600080fd5b60008060408385031215611e1a57600080fd5b8235611e2581611df2565b946020939093013593505050565b600060208284031215611e4557600080fd5b8135611bd181611df2565b600060208284031215611e6257600080fd5b5035919050565b600080600060608486031215611e7e57600080fd5b8335611e8981611df2565b92506020840135611e9981611df2565b929592945050506040919091013590565b8035801515811461111857600080fd5b60008060408385031215611ecd57600080fd5b8235611ed881611df2565b9150611ee660208401611eaa565b90509250929050565b600060208284031215611f0157600080fd5b611bd182611eaa565b60008060408385031215611f1d57600080fd5b8235611f2881611df2565b91506020830135611f3881611df2565b809150509250929050565b600181811c90821680611f5757607f821691505b602082108103611f7757634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176108a7576108a7611fb2565b600082611ffc57634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156108a7576108a7611fb2565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b818103818111156108a7576108a7611fb2565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156120d757600080fd5b8151611bd181611df2565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156121325784516001600160a01b03168352938301939183019160010161210d565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220b3c2dfd32ed75992d7764a247c6b8610a42ec5664e4260b4dc7908f4d0884efa64736f6c63430008140033
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.