Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
NFT
Overview
Max Total Supply
10,000,000 DOPE
Holders
75 (0.00%)
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Dopereum
Compiler Version
v0.8.12+commit.f00d7308
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity ^0.8.6; abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ 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; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, _allowances[owner][spender] + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = _allowances[owner][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; } _balances[to] += amount; emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ 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); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ 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); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ 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); } /** * @dev Spend `amount` form the allowance of `owner` toward `spender`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} } contract Ownable is Context { address private _owner; address private _previousOwner; uint256 private _lockTime; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } function geUnlockTime() public view returns (uint256) { return _lockTime; } } interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; } interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); } interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; } contract Dopereum is ERC20, Ownable { mapping(address => bool) public dexRouters; mapping(address => bool) public automatedMarketMakerPairs; mapping(address => bool) public isBlackListed; IUniswapV2Router02 public defaultDexRouter; address public defaultPair; uint256 private _startSupply = 10000000 * (10**18); uint256 private swapTokensAtAmount = 24000 * (10**18); uint8 private constant _decimals = 18; address public marketingWallet; address public liquidityWallet; bool private isSwappingFees; bool public transfersEnabled; // fees (from a total of 10000) uint256 public buyFeesCollected = 0; uint256 public buyLiquidityFee = 300; uint256 public buyMarketingFee = 300; uint256 public buyTotalFees = buyLiquidityFee + buyMarketingFee; uint256 public sellFeesCollected = 0; uint256 public sellLiquidityFee = 300; uint256 public sellMarketingFee = 300; uint256 public sellTotalFees = sellLiquidityFee + sellMarketingFee; // exlcude from fees and max transaction amount mapping(address => bool) private _isExcludedFromFees; // maximum wallet and transaction amounts uint256 public maxWallet = 100000 * (10**18); uint256 public maxTransaction = 50000 * (10**18); event UpdateDefaultDexRouter(address indexed newAddress, address indexed oldAddress); event ExcludeFromFees(address indexed account, bool isExcluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event marketingWalletUpdated(address indexed newMarketingWallet, address indexed oldMarketingWallet); event LiquidityWalletUpdated(address indexed newLiquidityWallet, address indexed oldLiquidityWallet); event SwapAndLiquify(uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiqudity); constructor( address _routerAddress, address _marketingWallet ) ERC20("Dopereum", "DOPE") { IUniswapV2Router02 _dexRouter = IUniswapV2Router02(_routerAddress); marketingWallet = _marketingWallet; liquidityWallet = owner(); defaultDexRouter = _dexRouter; dexRouters[_routerAddress] = true; defaultPair = IUniswapV2Factory(_dexRouter.factory()).createPair(address(this), _dexRouter.WETH()); _setAutomatedMarketMakerPair(defaultPair, true); //_mint is an internal function in ERC20.sol that is only called here, and CANNOT be called ever again _mint(owner(), _startSupply); } receive() external payable {} function decimals() public pure override returns (uint8) { return _decimals; } function setMaxWalletAmount(uint256 amount) external onlyOwner { maxWallet = amount; } function setTransfersEnabled(bool _enabled) external onlyOwner { transfersEnabled = _enabled; } function setMaxTransactionAmount(uint256 amount) external onlyOwner { maxTransaction = amount; } function setBlackListedStatus(address account, bool status) external onlyOwner { require(isBlackListed[account] != status, "Already set to this value"); isBlackListed[account] = status; } function addNewRouter(address _router, bool makeDefault) external onlyOwner { dexRouters[_router] = true; if (makeDefault) { emit UpdateDefaultDexRouter(_router, address(defaultDexRouter)); defaultDexRouter = IUniswapV2Router02(_router); defaultPair = IUniswapV2Factory(defaultDexRouter.factory()).createPair(address(this), defaultDexRouter.WETH()); _setAutomatedMarketMakerPair(defaultPair, true); } } function excludeFromFees(address account, bool excluded) public onlyOwner { require(_isExcludedFromFees[account] != excluded, "Account is already the value of 'excluded'"); _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function excludeMultipleAccountsFromFees(address[] calldata accounts, bool excluded) external onlyOwner { for (uint256 i = 0; i < accounts.length; i++) { excludeFromFees(accounts[i], excluded); } } function setAutomatedMarketMakerPair(address pair, bool value) external onlyOwner { require( value || pair != defaultPair, "The default pair cannot be removed from automatedMarketMakerPairs" ); _setAutomatedMarketMakerPair(pair, value); } function _setAutomatedMarketMakerPair(address pair, bool value) private { require( automatedMarketMakerPairs[pair] != value, "Automated market maker pair is already set to that value" ); automatedMarketMakerPairs[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } function updateMarketingWallet(address newMarketingWallet) external onlyOwner { require(newMarketingWallet != marketingWallet, "The marketing wallet is already this address"); emit marketingWalletUpdated(newMarketingWallet, marketingWallet); marketingWallet = newMarketingWallet; } function updateLiquidityWallet(address newLiquidityWallet) external onlyOwner { require(newLiquidityWallet != liquidityWallet, "The liquidity wallet is already this address"); emit LiquidityWalletUpdated(newLiquidityWallet, liquidityWallet); liquidityWallet = newLiquidityWallet; } function isExcludedFromFees(address account) external view returns (bool) { return _isExcludedFromFees[account]; } function updateBuyFees( uint256 _liquidityFee, uint256 _marketingFee ) external onlyOwner { buyLiquidityFee = _liquidityFee; buyMarketingFee = _marketingFee; buyTotalFees = buyLiquidityFee + buyMarketingFee; } function updateSellFees( uint256 _liquidityFee, uint256 _marketingFee ) external onlyOwner { sellLiquidityFee = _liquidityFee; sellMarketingFee = _marketingFee; sellTotalFees = sellLiquidityFee + sellMarketingFee; } function updateSwapTokensAtAmount(uint256 _swapTokensAtAmount) external onlyOwner { require(_swapTokensAtAmount > 0, "Amount should be higher then 0"); swapTokensAtAmount = _swapTokensAtAmount; } 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"); require(isBlackListed[from] == false && isBlackListed[to] == false, 'Transfer to or from blacklisted account'); // check for max wallet amount if(from != owner() && to != owner() && from != address(this) && to != address(0) && !automatedMarketMakerPairs[to] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to]) { require(balanceOf(to) + amount <= maxWallet, "Max wallet amount exceeded"); } if(from != owner() && to != owner() ){ require(transfersEnabled, 'Transfers disabled'); } // check for max transaction amount if(from != owner() && to != owner() && !_isExcludedFromFees[from] && !_isExcludedFromFees[to] ) { require(amount <= maxTransaction, "Max transaction amount exceeded"); } if (amount == 0) { super._transfer(from, to, 0); return; } uint256 senderBalance = balanceOf(from); require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); // take fee amount = collectFees(from, to, amount); // swap fees before transfer has happened and after dividend balances are done swapFeesIfAmountIsReached(from, to); super._transfer(from, to, amount); } function collectFees( address from, address to, uint256 amount ) private returns (uint256) { if (!isSwappingFees && !_isExcludedFromFees[from] && !_isExcludedFromFees[to]) { uint256 fees; if (automatedMarketMakerPairs[from]) { fees = (amount * buyTotalFees) / 10000; buyFeesCollected += fees; } else if (automatedMarketMakerPairs[to]) { fees = (amount * sellTotalFees) / 10000; sellFeesCollected += fees; } amount = amount - fees; super._transfer(from, address(this), fees); } return amount; } function swapFeesIfAmountIsReached(address from, address to) private { uint256 contractTokenBalance = balanceOf(address(this)); if ( contractTokenBalance >= swapTokensAtAmount && !isSwappingFees && !automatedMarketMakerPairs[from] && // do not swap fees on buys from != liquidityWallet && to != liquidityWallet ) { isSwappingFees = true; buyFeesCollected = (contractTokenBalance / (buyFeesCollected + sellFeesCollected)) * buyFeesCollected; sellFeesCollected = contractTokenBalance - buyFeesCollected; uint256 marketingTokens = (buyFeesCollected * buyMarketingFee) / buyTotalFees; marketingTokens += (sellFeesCollected * sellMarketingFee) / sellTotalFees; if (marketingTokens > 0) swapAndSendToFeeMarketing(marketingTokens); uint256 swapTokens = (buyFeesCollected * buyLiquidityFee) / buyTotalFees; swapTokens = (sellFeesCollected * sellLiquidityFee) / sellTotalFees; if (swapTokens > 0) swapAndLiquify(swapTokens); buyFeesCollected = 0; sellFeesCollected = 0; isSwappingFees = false; } } function swapAndSendToFeeMarketing(uint256 tokens) private { uint256 initialETHBalance = address(this).balance; swapTokensForEth(tokens); uint256 newETHBalance = address(this).balance - initialETHBalance; payable(marketingWallet).transfer(newETHBalance); } function swapAndLiquify(uint256 tokens) private { // split the contract balance into halves uint256 half = tokens / 2; uint256 otherHalf = tokens - half; // capture the contract's current ETH balance. // this is so that we can capture exactly the amount of ETH that the // swap creates, and not make the liquidity event include any ETH that // has been manually sent to the contract uint256 initialBalance = address(this).balance; // swap tokens for ETH swapTokensForEth(half); // <- this breaks the ETH -> HATE swap when swap+liquify is triggered // how much ETH did we just swap into? uint256 newBalance = address(this).balance - initialBalance; // add liquidity to uniswap addLiquidity(otherHalf, newBalance); emit SwapAndLiquify(half, newBalance, otherHalf); } 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] = defaultDexRouter.WETH(); _approve(address(this), address(defaultDexRouter), tokenAmount); // make the swap defaultDexRouter.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { // approve token transfer to cover all possible scenarios _approve(address(this), address(defaultDexRouter), tokenAmount); // add the liquidity defaultDexRouter.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable liquidityWallet, block.timestamp ); } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_routerAddress","type":"address"},{"internalType":"address","name":"_marketingWallet","type":"address"}],"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":"newLiquidityWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldLiquidityWallet","type":"address"}],"name":"LiquidityWalletUpdated","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":"tokensIntoLiqudity","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":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateDefaultDexRouter","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newMarketingWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldMarketingWallet","type":"address"}],"name":"marketingWalletUpdated","type":"event"},{"inputs":[{"internalType":"address","name":"_router","type":"address"},{"internalType":"bool","name":"makeDefault","type":"bool"}],"name":"addNewRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","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":"buyFeesCollected","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyMarketingFee","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":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","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":"defaultDexRouter","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"defaultPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"dexRouters","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"accounts","type":"address[]"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeMultipleAccountsFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"geUnlockTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"","type":"address"}],"name":"isBlackListed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransaction","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellFeesCollected","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellLiquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellMarketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTotalFees","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":"account","type":"address"},{"internalType":"bool","name":"status","type":"bool"}],"name":"setBlackListedStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxTransactionAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setTransfersEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transfersEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_marketingFee","type":"uint256"}],"name":"updateBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newLiquidityWallet","type":"address"}],"name":"updateLiquidityWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newMarketingWallet","type":"address"}],"name":"updateMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_marketingFee","type":"uint256"}],"name":"updateSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_swapTokensAtAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526a084595161401484a000000600d556905150ae84a8cdf000000600e55600060115561012c601281905560138190556200003f908062000606565b601455600060155561012c6016819055601781905562000060908062000606565b60185569152d02c7e14af6800000601a55690a968163f0a57b400000601b553480156200008c57600080fd5b5060405162002e3438038062002e34833981016040819052620000af916200064a565b6040805180820182526008815267446f70657265756d60c01b602080830191825283518085019094526004845263444f504560e01b908401528151919291620000fb9160039162000560565b5080516200011190600490602084019062000560565b5050506000620001266200038860201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600f80546001600160a01b0319166001600160a01b03831617905581620001a36005546001600160a01b031690565b601080546001600160a01b039283166001600160a01b031991821617909155600b8054848416921682179055908416600090815260086020908152604091829020805460ff19166001179055815163c45a015560e01b8152915163c45a01559260048082019392918290030181865afa15801562000225573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200024b919062000682565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000299573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002bf919062000682565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200030d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000333919062000682565b600c80546001600160a01b0319166001600160a01b039290921691821790556200035f9060016200038c565b6200037f620003766005546001600160a01b031690565b600d546200047b565b505050620006e4565b3390565b6001600160a01b03821660009081526009602052604090205460ff1615158115151415620004275760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c7565000000000000000060648201526084015b60405180910390fd5b6001600160a01b038216600081815260096020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038216620004d35760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016200041e565b8060026000828254620004e7919062000606565b90915550506001600160a01b038216600090815260208190526040812080548392906200051690849062000606565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b8280546200056e90620006a7565b90600052602060002090601f016020900481019282620005925760008555620005dd565b82601f10620005ad57805160ff1916838001178555620005dd565b82800160010185558215620005dd579182015b82811115620005dd578251825591602001919060010190620005c0565b50620005eb929150620005ef565b5090565b5b80821115620005eb5760008155600101620005f0565b600082198211156200062857634e487b7160e01b600052601160045260246000fd5b500190565b80516001600160a01b03811681146200064557600080fd5b919050565b600080604083850312156200065e57600080fd5b62000669836200062d565b915062000679602084016200062d565b90509250929050565b6000602082840312156200069557600080fd5b620006a0826200062d565b9392505050565b600181811c90821680620006bc57607f821691505b60208210811415620006de57634e487b7160e01b600052602260045260246000fd5b50919050565b61274080620006f46000396000f3fe60806040526004361061028c5760003560e01c8063a32cb4c61161015a578063d257b34f116100c1578063e37ba8f91161007a578063e37ba8f9146107f5578063e47d606014610815578063f11a24d314610845578063f2fde38b1461085b578063f63743421461087b578063f8b45b051461089157600080fd5b8063d257b34f14610719578063d32a8f6714610739578063d469801614610759578063d578192c14610779578063d85ba06314610799578063dd62ed3e146107af57600080fd5b8063bef97c8711610113578063bef97c871461065c578063c02466681461067d578063c1c356c51461069d578063c3a5dbb9146106cd578063c3f70b52146106e3578063c492f046146106f957600080fd5b8063a32cb4c614610597578063a457c2d7146105b7578063a9059cbb146105d7578063aacebbe3146105f7578063b62496f514610617578063b6c523241461064757600080fd5b80634fbee193116101fe5780637bce5a04116101b75780637bce5a04146105025780638da5cb5b14610518578063921369131461053657806395d89b411461054c578063999777aa146105615780639a7a23d61461057757600080fd5b80634fbee1931461041057806366ca9b83146104495780636a486a8e1461046957806370a082311461047f578063715018a6146104b557806375f0a874146104ca57600080fd5b80631e293c10116102505780631e293c101461035457806323b872dd1461037457806326b9ce131461039457806327a14fc2146103b4578063313ce567146103d457806339509351146103f057600080fd5b806302dbd8f81461029857806306fdde03146102ba578063095ea7b3146102e55780630c463abe1461031557806318160ddd1461033557600080fd5b3661029357005b600080fd5b3480156102a457600080fd5b506102b86102b33660046121fe565b6108a7565b005b3480156102c657600080fd5b506102cf6108f5565b6040516102dc9190612220565b60405180910390f35b3480156102f157600080fd5b5061030561030036600461228d565b610987565b60405190151581526020016102dc565b34801561032157600080fd5b506102b86103303660046122ce565b61099f565b34801561034157600080fd5b506002545b6040519081526020016102dc565b34801561036057600080fd5b506102b861036f366004612303565b610a63565b34801561038057600080fd5b5061030561038f36600461231c565b610a92565b3480156103a057600080fd5b506102b86103af36600461235d565b610ab6565b3480156103c057600080fd5b506102b86103cf366004612303565b610afe565b3480156103e057600080fd5b50604051601281526020016102dc565b3480156103fc57600080fd5b5061030561040b36600461228d565b610b2d565b34801561041c57600080fd5b5061030561042b36600461237f565b6001600160a01b031660009081526019602052604090205460ff1690565b34801561045557600080fd5b506102b86104643660046121fe565b610b6c565b34801561047557600080fd5b5061034660185481565b34801561048b57600080fd5b5061034661049a36600461237f565b6001600160a01b031660009081526020819052604090205490565b3480156104c157600080fd5b506102b8610bb1565b3480156104d657600080fd5b50600f546104ea906001600160a01b031681565b6040516001600160a01b0390911681526020016102dc565b34801561050e57600080fd5b5061034660135481565b34801561052457600080fd5b506005546001600160a01b03166104ea565b34801561054257600080fd5b5061034660175481565b34801561055857600080fd5b506102cf610c25565b34801561056d57600080fd5b5061034660155481565b34801561058357600080fd5b506102b86105923660046122ce565b610c34565b3480156105a357600080fd5b506102b86105b23660046122ce565b610d02565b3480156105c357600080fd5b506103056105d236600461228d565b610f2e565b3480156105e357600080fd5b506103056105f236600461228d565b610fc0565b34801561060357600080fd5b506102b861061236600461237f565b610fce565b34801561062357600080fd5b5061030561063236600461237f565b60096020526000908152604090205460ff1681565b34801561065357600080fd5b50600754610346565b34801561066857600080fd5b5060105461030590600160a81b900460ff1681565b34801561068957600080fd5b506102b86106983660046122ce565b6110c8565b3480156106a957600080fd5b506103056106b836600461237f565b60086020526000908152604090205460ff1681565b3480156106d957600080fd5b5061034660115481565b3480156106ef57600080fd5b50610346601b5481565b34801561070557600080fd5b506102b861071436600461239c565b6111d3565b34801561072557600080fd5b506102b8610734366004612303565b611250565b34801561074557600080fd5b50600c546104ea906001600160a01b031681565b34801561076557600080fd5b506010546104ea906001600160a01b031681565b34801561078557600080fd5b50600b546104ea906001600160a01b031681565b3480156107a557600080fd5b5061034660145481565b3480156107bb57600080fd5b506103466107ca366004612420565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561080157600080fd5b506102b861081036600461237f565b6112cf565b34801561082157600080fd5b5061030561083036600461237f565b600a6020526000908152604090205460ff1681565b34801561085157600080fd5b5061034660125481565b34801561086757600080fd5b506102b861087636600461237f565b6113c9565b34801561088757600080fd5b5061034660165481565b34801561089d57600080fd5b50610346601a5481565b6005546001600160a01b031633146108da5760405162461bcd60e51b81526004016108d190612459565b60405180910390fd5b601682905560178190556108ee81836124a4565b6018555050565b606060038054610904906124bc565b80601f0160208091040260200160405190810160405280929190818152602001828054610930906124bc565b801561097d5780601f106109525761010080835404028352916020019161097d565b820191906000526020600020905b81548152906001019060200180831161096057829003601f168201915b5050505050905090565b6000336109958185856114b4565b5060019392505050565b6005546001600160a01b031633146109c95760405162461bcd60e51b81526004016108d190612459565b6001600160a01b0382166000908152600a602052604090205460ff1615158115151415610a385760405162461bcd60e51b815260206004820152601960248201527f416c72656164792073657420746f20746869732076616c75650000000000000060448201526064016108d1565b6001600160a01b03919091166000908152600a60205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610a8d5760405162461bcd60e51b81526004016108d190612459565b601b55565b600033610aa08582856115d8565b610aab858585611664565b506001949350505050565b6005546001600160a01b03163314610ae05760405162461bcd60e51b81526004016108d190612459565b60108054911515600160a81b0260ff60a81b19909216919091179055565b6005546001600160a01b03163314610b285760405162461bcd60e51b81526004016108d190612459565b601a55565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091906109959082908690610b679087906124a4565b6114b4565b6005546001600160a01b03163314610b965760405162461bcd60e51b81526004016108d190612459565b60128290556013819055610baa81836124a4565b6014555050565b6005546001600160a01b03163314610bdb5760405162461bcd60e51b81526004016108d190612459565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b606060048054610904906124bc565b6005546001600160a01b03163314610c5e5760405162461bcd60e51b81526004016108d190612459565b8080610c785750600c546001600160a01b03838116911614155b610cf45760405162461bcd60e51b815260206004820152604160248201527f5468652064656661756c7420706169722063616e6e6f742062652072656d6f7660448201527f65642066726f6d206175746f6d617465644d61726b65744d616b6572506169726064820152607360f81b608482015260a4016108d1565b610cfe8282611a4f565b5050565b6005546001600160a01b03163314610d2c5760405162461bcd60e51b81526004016108d190612459565b6001600160a01b0382166000908152600860205260409020805460ff191660011790558015610cfe57600b546040516001600160a01b03918216918416907f56729c2d3b35702079226f38e0417b72386db8f924b488588b56135138cf179f90600090a3600b80546001600160a01b0319166001600160a01b0384169081179091556040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa158015610de9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e0d91906124f7565b6001600160a01b031663c9c6539630600b60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e6f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e9391906124f7565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610ee0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f0491906124f7565b600c80546001600160a01b0319166001600160a01b03929092169182179055610cfe906001611a4f565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015610fb35760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016108d1565b610aab82868684036114b4565b600033610995818585611664565b6005546001600160a01b03163314610ff85760405162461bcd60e51b81526004016108d190612459565b600f546001600160a01b038281169116141561106b5760405162461bcd60e51b815260206004820152602c60248201527f546865206d61726b6574696e672077616c6c657420697320616c72656164792060448201526b74686973206164647265737360a01b60648201526084016108d1565b600f546040516001600160a01b03918216918316907fa751787977eeb3902e30e1d19ca00c6ad274a1f622c31a206e32366700b0567490600090a3600f80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146110f25760405162461bcd60e51b81526004016108d190612459565b6001600160a01b03821660009081526019602052604090205460ff16151581151514156111745760405162461bcd60e51b815260206004820152602a60248201527f4163636f756e7420697320616c7265616479207468652076616c7565206f6620604482015269276578636c756465642760b01b60648201526084016108d1565b6001600160a01b038216600081815260196020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146111fd5760405162461bcd60e51b81526004016108d190612459565b60005b8281101561124a5761123884848381811061121d5761121d612514565b9050602002016020810190611232919061237f565b836110c8565b806112428161252a565b915050611200565b50505050565b6005546001600160a01b0316331461127a5760405162461bcd60e51b81526004016108d190612459565b600081116112ca5760405162461bcd60e51b815260206004820152601e60248201527f416d6f756e742073686f756c6420626520686967686572207468656e2030000060448201526064016108d1565b600e55565b6005546001600160a01b031633146112f95760405162461bcd60e51b81526004016108d190612459565b6010546001600160a01b038281169116141561136c5760405162461bcd60e51b815260206004820152602c60248201527f546865206c69717569646974792077616c6c657420697320616c72656164792060448201526b74686973206164647265737360a01b60648201526084016108d1565b6010546040516001600160a01b03918216918316907f6080503d1da552ae8eb4b7b8a20245d9fabed014180510e7d1a05ea08fdb0f3e90600090a3601080546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146113f35760405162461bcd60e51b81526004016108d190612459565b6001600160a01b0381166114585760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108d1565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166115165760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108d1565b6001600160a01b0382166115775760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108d1565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461124a57818110156116575760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016108d1565b61124a84848484036114b4565b6001600160a01b03831661168a5760405162461bcd60e51b81526004016108d190612545565b6001600160a01b0382166116b05760405162461bcd60e51b81526004016108d19061258a565b6001600160a01b0383166000908152600a602052604090205460ff161580156116f257506001600160a01b0382166000908152600a602052604090205460ff16155b61174e5760405162461bcd60e51b815260206004820152602760248201527f5472616e7366657220746f206f722066726f6d20626c61636b6c6973746564206044820152661858d8dbdd5b9d60ca1b60648201526084016108d1565b6005546001600160a01b0384811691161480159061177a57506005546001600160a01b03838116911614155b801561178f57506001600160a01b0383163014155b80156117a357506001600160a01b03821615155b80156117c857506001600160a01b03821660009081526009602052604090205460ff16155b80156117ed57506001600160a01b03831660009081526019602052604090205460ff16155b801561181257506001600160a01b03821660009081526019602052604090205460ff16155b1561189257601a548161183a846001600160a01b031660009081526020819052604090205490565b61184491906124a4565b11156118925760405162461bcd60e51b815260206004820152601a60248201527f4d61782077616c6c657420616d6f756e7420657863656564656400000000000060448201526064016108d1565b6005546001600160a01b038481169116148015906118be57506005546001600160a01b03838116911614155b1561191157601054600160a81b900460ff166119115760405162461bcd60e51b8152602060048201526012602482015271151c985b9cd9995c9cc8191a5cd8589b195960721b60448201526064016108d1565b6005546001600160a01b0384811691161480159061193d57506005546001600160a01b03838116911614155b801561196257506001600160a01b03831660009081526019602052604090205460ff16155b801561198757506001600160a01b03821660009081526019602052604090205460ff16155b156119de57601b548111156119de5760405162461bcd60e51b815260206004820152601f60248201527f4d6178207472616e73616374696f6e20616d6f756e742065786365656465640060448201526064016108d1565b806119f4576119ef83836000611b38565b505050565b6001600160a01b03831660009081526020819052604090205481811015611a2d5760405162461bcd60e51b81526004016108d1906125cd565b611a38848484611c4d565b9150611a448484611d7e565b61124a848484611b38565b6001600160a01b03821660009081526009602052604090205460ff1615158115151415611ae45760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c7565000000000000000060648201526084016108d1565b6001600160a01b038216600081815260096020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038316611b5e5760405162461bcd60e51b81526004016108d190612545565b6001600160a01b038216611b845760405162461bcd60e51b81526004016108d19061258a565b6001600160a01b03831660009081526020819052604090205481811015611bbd5760405162461bcd60e51b81526004016108d1906125cd565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611bf49084906124a4565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611c4091815260200190565b60405180910390a361124a565b601054600090600160a01b900460ff16158015611c8357506001600160a01b03841660009081526019602052604090205460ff16155b8015611ca857506001600160a01b03831660009081526019602052604090205460ff16155b15611d77576001600160a01b03841660009081526009602052604081205460ff1615611d085761271060145484611cdf9190612613565b611ce99190612632565b90508060116000828254611cfd91906124a4565b90915550611d5e9050565b6001600160a01b03841660009081526009602052604090205460ff1615611d5e5761271060185484611d3a9190612613565b611d449190612632565b90508060156000828254611d5891906124a4565b90915550505b611d688184612654565b9250611d75853083611b38565b505b5092915050565b30600090815260208190526040902054600e548110801590611daa5750601054600160a01b900460ff16155b8015611dcf57506001600160a01b03831660009081526009602052604090205460ff16155b8015611de957506010546001600160a01b03848116911614155b8015611e0357506010546001600160a01b03838116911614155b156119ef576010805460ff60a01b1916600160a01b179055601154601554611e2b90826124a4565b611e359083612632565b611e3f9190612613565b6011819055611e4e9082612654565b60155560145460135460115460009291611e6791612613565b611e719190612632565b9050601854601754601554611e869190612613565b611e909190612632565b611e9a90826124a4565b90508015611eab57611eab81611f18565b6000601454601254601154611ec09190612613565b611eca9190612632565b9050601854601654601554611edf9190612613565b611ee99190612632565b90508015611efa57611efa81611f69565b5050600060118190556015556010805460ff60a01b19169055505050565b47611f2282611ff0565b6000611f2e8247612654565b600f546040519192506001600160a01b03169082156108fc029083906000818181858888f1935050505015801561124a573d6000803e3d6000fd5b6000611f76600283612632565b90506000611f848284612654565b905047611f9083611ff0565b6000611f9c8247612654565b9050611fa8838261214a565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a15050505050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061202557612025612514565b6001600160a01b03928316602091820292909201810191909152600b54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561207e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120a291906124f7565b816001815181106120b5576120b5612514565b6001600160a01b039283166020918202929092010152600b546120db91309116846114b4565b600b5460405163791ac94760e01b81526001600160a01b039091169063791ac9479061211490859060009086903090429060040161266b565b600060405180830381600087803b15801561212e57600080fd5b505af1158015612142573d6000803e3d6000fd5b505050505050565b600b546121629030906001600160a01b0316846114b4565b600b5460105460405163f305d71960e01b81523060048201526024810185905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c40160606040518083038185885af11580156121d2573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906121f791906126dc565b5050505050565b6000806040838503121561221157600080fd5b50508035926020909101359150565b600060208083528351808285015260005b8181101561224d57858101830151858201604001528201612231565b8181111561225f576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461228a57600080fd5b50565b600080604083850312156122a057600080fd5b82356122ab81612275565b946020939093013593505050565b803580151581146122c957600080fd5b919050565b600080604083850312156122e157600080fd5b82356122ec81612275565b91506122fa602084016122b9565b90509250929050565b60006020828403121561231557600080fd5b5035919050565b60008060006060848603121561233157600080fd5b833561233c81612275565b9250602084013561234c81612275565b929592945050506040919091013590565b60006020828403121561236f57600080fd5b612378826122b9565b9392505050565b60006020828403121561239157600080fd5b813561237881612275565b6000806000604084860312156123b157600080fd5b833567ffffffffffffffff808211156123c957600080fd5b818601915086601f8301126123dd57600080fd5b8135818111156123ec57600080fd5b8760208260051b850101111561240157600080fd5b60209283019550935061241791860190506122b9565b90509250925092565b6000806040838503121561243357600080fd5b823561243e81612275565b9150602083013561244e81612275565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156124b7576124b761248e565b500190565b600181811c908216806124d057607f821691505b602082108114156124f157634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561250957600080fd5b815161237881612275565b634e487b7160e01b600052603260045260246000fd5b600060001982141561253e5761253e61248e565b5060010190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b606082015260800190565b600081600019048311821515161561262d5761262d61248e565b500290565b60008261264f57634e487b7160e01b600052601260045260246000fd5b500490565b6000828210156126665761266661248e565b500390565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156126bb5784516001600160a01b031683529383019391830191600101612696565b50506001600160a01b03969096166060850152505050608001529392505050565b6000806000606084860312156126f157600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220a699588670e5e68cc1e925f2844c02790acdec0cfe6eb7e508c08e54c33a1b4f64736f6c634300080c00330000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000989345ebc964fa77b2ce2456969117e83fc08b6b
Deployed Bytecode
0x60806040526004361061028c5760003560e01c8063a32cb4c61161015a578063d257b34f116100c1578063e37ba8f91161007a578063e37ba8f9146107f5578063e47d606014610815578063f11a24d314610845578063f2fde38b1461085b578063f63743421461087b578063f8b45b051461089157600080fd5b8063d257b34f14610719578063d32a8f6714610739578063d469801614610759578063d578192c14610779578063d85ba06314610799578063dd62ed3e146107af57600080fd5b8063bef97c8711610113578063bef97c871461065c578063c02466681461067d578063c1c356c51461069d578063c3a5dbb9146106cd578063c3f70b52146106e3578063c492f046146106f957600080fd5b8063a32cb4c614610597578063a457c2d7146105b7578063a9059cbb146105d7578063aacebbe3146105f7578063b62496f514610617578063b6c523241461064757600080fd5b80634fbee193116101fe5780637bce5a04116101b75780637bce5a04146105025780638da5cb5b14610518578063921369131461053657806395d89b411461054c578063999777aa146105615780639a7a23d61461057757600080fd5b80634fbee1931461041057806366ca9b83146104495780636a486a8e1461046957806370a082311461047f578063715018a6146104b557806375f0a874146104ca57600080fd5b80631e293c10116102505780631e293c101461035457806323b872dd1461037457806326b9ce131461039457806327a14fc2146103b4578063313ce567146103d457806339509351146103f057600080fd5b806302dbd8f81461029857806306fdde03146102ba578063095ea7b3146102e55780630c463abe1461031557806318160ddd1461033557600080fd5b3661029357005b600080fd5b3480156102a457600080fd5b506102b86102b33660046121fe565b6108a7565b005b3480156102c657600080fd5b506102cf6108f5565b6040516102dc9190612220565b60405180910390f35b3480156102f157600080fd5b5061030561030036600461228d565b610987565b60405190151581526020016102dc565b34801561032157600080fd5b506102b86103303660046122ce565b61099f565b34801561034157600080fd5b506002545b6040519081526020016102dc565b34801561036057600080fd5b506102b861036f366004612303565b610a63565b34801561038057600080fd5b5061030561038f36600461231c565b610a92565b3480156103a057600080fd5b506102b86103af36600461235d565b610ab6565b3480156103c057600080fd5b506102b86103cf366004612303565b610afe565b3480156103e057600080fd5b50604051601281526020016102dc565b3480156103fc57600080fd5b5061030561040b36600461228d565b610b2d565b34801561041c57600080fd5b5061030561042b36600461237f565b6001600160a01b031660009081526019602052604090205460ff1690565b34801561045557600080fd5b506102b86104643660046121fe565b610b6c565b34801561047557600080fd5b5061034660185481565b34801561048b57600080fd5b5061034661049a36600461237f565b6001600160a01b031660009081526020819052604090205490565b3480156104c157600080fd5b506102b8610bb1565b3480156104d657600080fd5b50600f546104ea906001600160a01b031681565b6040516001600160a01b0390911681526020016102dc565b34801561050e57600080fd5b5061034660135481565b34801561052457600080fd5b506005546001600160a01b03166104ea565b34801561054257600080fd5b5061034660175481565b34801561055857600080fd5b506102cf610c25565b34801561056d57600080fd5b5061034660155481565b34801561058357600080fd5b506102b86105923660046122ce565b610c34565b3480156105a357600080fd5b506102b86105b23660046122ce565b610d02565b3480156105c357600080fd5b506103056105d236600461228d565b610f2e565b3480156105e357600080fd5b506103056105f236600461228d565b610fc0565b34801561060357600080fd5b506102b861061236600461237f565b610fce565b34801561062357600080fd5b5061030561063236600461237f565b60096020526000908152604090205460ff1681565b34801561065357600080fd5b50600754610346565b34801561066857600080fd5b5060105461030590600160a81b900460ff1681565b34801561068957600080fd5b506102b86106983660046122ce565b6110c8565b3480156106a957600080fd5b506103056106b836600461237f565b60086020526000908152604090205460ff1681565b3480156106d957600080fd5b5061034660115481565b3480156106ef57600080fd5b50610346601b5481565b34801561070557600080fd5b506102b861071436600461239c565b6111d3565b34801561072557600080fd5b506102b8610734366004612303565b611250565b34801561074557600080fd5b50600c546104ea906001600160a01b031681565b34801561076557600080fd5b506010546104ea906001600160a01b031681565b34801561078557600080fd5b50600b546104ea906001600160a01b031681565b3480156107a557600080fd5b5061034660145481565b3480156107bb57600080fd5b506103466107ca366004612420565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561080157600080fd5b506102b861081036600461237f565b6112cf565b34801561082157600080fd5b5061030561083036600461237f565b600a6020526000908152604090205460ff1681565b34801561085157600080fd5b5061034660125481565b34801561086757600080fd5b506102b861087636600461237f565b6113c9565b34801561088757600080fd5b5061034660165481565b34801561089d57600080fd5b50610346601a5481565b6005546001600160a01b031633146108da5760405162461bcd60e51b81526004016108d190612459565b60405180910390fd5b601682905560178190556108ee81836124a4565b6018555050565b606060038054610904906124bc565b80601f0160208091040260200160405190810160405280929190818152602001828054610930906124bc565b801561097d5780601f106109525761010080835404028352916020019161097d565b820191906000526020600020905b81548152906001019060200180831161096057829003601f168201915b5050505050905090565b6000336109958185856114b4565b5060019392505050565b6005546001600160a01b031633146109c95760405162461bcd60e51b81526004016108d190612459565b6001600160a01b0382166000908152600a602052604090205460ff1615158115151415610a385760405162461bcd60e51b815260206004820152601960248201527f416c72656164792073657420746f20746869732076616c75650000000000000060448201526064016108d1565b6001600160a01b03919091166000908152600a60205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610a8d5760405162461bcd60e51b81526004016108d190612459565b601b55565b600033610aa08582856115d8565b610aab858585611664565b506001949350505050565b6005546001600160a01b03163314610ae05760405162461bcd60e51b81526004016108d190612459565b60108054911515600160a81b0260ff60a81b19909216919091179055565b6005546001600160a01b03163314610b285760405162461bcd60e51b81526004016108d190612459565b601a55565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091906109959082908690610b679087906124a4565b6114b4565b6005546001600160a01b03163314610b965760405162461bcd60e51b81526004016108d190612459565b60128290556013819055610baa81836124a4565b6014555050565b6005546001600160a01b03163314610bdb5760405162461bcd60e51b81526004016108d190612459565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b606060048054610904906124bc565b6005546001600160a01b03163314610c5e5760405162461bcd60e51b81526004016108d190612459565b8080610c785750600c546001600160a01b03838116911614155b610cf45760405162461bcd60e51b815260206004820152604160248201527f5468652064656661756c7420706169722063616e6e6f742062652072656d6f7660448201527f65642066726f6d206175746f6d617465644d61726b65744d616b6572506169726064820152607360f81b608482015260a4016108d1565b610cfe8282611a4f565b5050565b6005546001600160a01b03163314610d2c5760405162461bcd60e51b81526004016108d190612459565b6001600160a01b0382166000908152600860205260409020805460ff191660011790558015610cfe57600b546040516001600160a01b03918216918416907f56729c2d3b35702079226f38e0417b72386db8f924b488588b56135138cf179f90600090a3600b80546001600160a01b0319166001600160a01b0384169081179091556040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa158015610de9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e0d91906124f7565b6001600160a01b031663c9c6539630600b60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e6f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e9391906124f7565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610ee0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f0491906124f7565b600c80546001600160a01b0319166001600160a01b03929092169182179055610cfe906001611a4f565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015610fb35760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016108d1565b610aab82868684036114b4565b600033610995818585611664565b6005546001600160a01b03163314610ff85760405162461bcd60e51b81526004016108d190612459565b600f546001600160a01b038281169116141561106b5760405162461bcd60e51b815260206004820152602c60248201527f546865206d61726b6574696e672077616c6c657420697320616c72656164792060448201526b74686973206164647265737360a01b60648201526084016108d1565b600f546040516001600160a01b03918216918316907fa751787977eeb3902e30e1d19ca00c6ad274a1f622c31a206e32366700b0567490600090a3600f80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146110f25760405162461bcd60e51b81526004016108d190612459565b6001600160a01b03821660009081526019602052604090205460ff16151581151514156111745760405162461bcd60e51b815260206004820152602a60248201527f4163636f756e7420697320616c7265616479207468652076616c7565206f6620604482015269276578636c756465642760b01b60648201526084016108d1565b6001600160a01b038216600081815260196020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146111fd5760405162461bcd60e51b81526004016108d190612459565b60005b8281101561124a5761123884848381811061121d5761121d612514565b9050602002016020810190611232919061237f565b836110c8565b806112428161252a565b915050611200565b50505050565b6005546001600160a01b0316331461127a5760405162461bcd60e51b81526004016108d190612459565b600081116112ca5760405162461bcd60e51b815260206004820152601e60248201527f416d6f756e742073686f756c6420626520686967686572207468656e2030000060448201526064016108d1565b600e55565b6005546001600160a01b031633146112f95760405162461bcd60e51b81526004016108d190612459565b6010546001600160a01b038281169116141561136c5760405162461bcd60e51b815260206004820152602c60248201527f546865206c69717569646974792077616c6c657420697320616c72656164792060448201526b74686973206164647265737360a01b60648201526084016108d1565b6010546040516001600160a01b03918216918316907f6080503d1da552ae8eb4b7b8a20245d9fabed014180510e7d1a05ea08fdb0f3e90600090a3601080546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031633146113f35760405162461bcd60e51b81526004016108d190612459565b6001600160a01b0381166114585760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108d1565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166115165760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108d1565b6001600160a01b0382166115775760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108d1565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461124a57818110156116575760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016108d1565b61124a84848484036114b4565b6001600160a01b03831661168a5760405162461bcd60e51b81526004016108d190612545565b6001600160a01b0382166116b05760405162461bcd60e51b81526004016108d19061258a565b6001600160a01b0383166000908152600a602052604090205460ff161580156116f257506001600160a01b0382166000908152600a602052604090205460ff16155b61174e5760405162461bcd60e51b815260206004820152602760248201527f5472616e7366657220746f206f722066726f6d20626c61636b6c6973746564206044820152661858d8dbdd5b9d60ca1b60648201526084016108d1565b6005546001600160a01b0384811691161480159061177a57506005546001600160a01b03838116911614155b801561178f57506001600160a01b0383163014155b80156117a357506001600160a01b03821615155b80156117c857506001600160a01b03821660009081526009602052604090205460ff16155b80156117ed57506001600160a01b03831660009081526019602052604090205460ff16155b801561181257506001600160a01b03821660009081526019602052604090205460ff16155b1561189257601a548161183a846001600160a01b031660009081526020819052604090205490565b61184491906124a4565b11156118925760405162461bcd60e51b815260206004820152601a60248201527f4d61782077616c6c657420616d6f756e7420657863656564656400000000000060448201526064016108d1565b6005546001600160a01b038481169116148015906118be57506005546001600160a01b03838116911614155b1561191157601054600160a81b900460ff166119115760405162461bcd60e51b8152602060048201526012602482015271151c985b9cd9995c9cc8191a5cd8589b195960721b60448201526064016108d1565b6005546001600160a01b0384811691161480159061193d57506005546001600160a01b03838116911614155b801561196257506001600160a01b03831660009081526019602052604090205460ff16155b801561198757506001600160a01b03821660009081526019602052604090205460ff16155b156119de57601b548111156119de5760405162461bcd60e51b815260206004820152601f60248201527f4d6178207472616e73616374696f6e20616d6f756e742065786365656465640060448201526064016108d1565b806119f4576119ef83836000611b38565b505050565b6001600160a01b03831660009081526020819052604090205481811015611a2d5760405162461bcd60e51b81526004016108d1906125cd565b611a38848484611c4d565b9150611a448484611d7e565b61124a848484611b38565b6001600160a01b03821660009081526009602052604090205460ff1615158115151415611ae45760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c7565000000000000000060648201526084016108d1565b6001600160a01b038216600081815260096020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038316611b5e5760405162461bcd60e51b81526004016108d190612545565b6001600160a01b038216611b845760405162461bcd60e51b81526004016108d19061258a565b6001600160a01b03831660009081526020819052604090205481811015611bbd5760405162461bcd60e51b81526004016108d1906125cd565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611bf49084906124a4565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611c4091815260200190565b60405180910390a361124a565b601054600090600160a01b900460ff16158015611c8357506001600160a01b03841660009081526019602052604090205460ff16155b8015611ca857506001600160a01b03831660009081526019602052604090205460ff16155b15611d77576001600160a01b03841660009081526009602052604081205460ff1615611d085761271060145484611cdf9190612613565b611ce99190612632565b90508060116000828254611cfd91906124a4565b90915550611d5e9050565b6001600160a01b03841660009081526009602052604090205460ff1615611d5e5761271060185484611d3a9190612613565b611d449190612632565b90508060156000828254611d5891906124a4565b90915550505b611d688184612654565b9250611d75853083611b38565b505b5092915050565b30600090815260208190526040902054600e548110801590611daa5750601054600160a01b900460ff16155b8015611dcf57506001600160a01b03831660009081526009602052604090205460ff16155b8015611de957506010546001600160a01b03848116911614155b8015611e0357506010546001600160a01b03838116911614155b156119ef576010805460ff60a01b1916600160a01b179055601154601554611e2b90826124a4565b611e359083612632565b611e3f9190612613565b6011819055611e4e9082612654565b60155560145460135460115460009291611e6791612613565b611e719190612632565b9050601854601754601554611e869190612613565b611e909190612632565b611e9a90826124a4565b90508015611eab57611eab81611f18565b6000601454601254601154611ec09190612613565b611eca9190612632565b9050601854601654601554611edf9190612613565b611ee99190612632565b90508015611efa57611efa81611f69565b5050600060118190556015556010805460ff60a01b19169055505050565b47611f2282611ff0565b6000611f2e8247612654565b600f546040519192506001600160a01b03169082156108fc029083906000818181858888f1935050505015801561124a573d6000803e3d6000fd5b6000611f76600283612632565b90506000611f848284612654565b905047611f9083611ff0565b6000611f9c8247612654565b9050611fa8838261214a565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a15050505050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061202557612025612514565b6001600160a01b03928316602091820292909201810191909152600b54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561207e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120a291906124f7565b816001815181106120b5576120b5612514565b6001600160a01b039283166020918202929092010152600b546120db91309116846114b4565b600b5460405163791ac94760e01b81526001600160a01b039091169063791ac9479061211490859060009086903090429060040161266b565b600060405180830381600087803b15801561212e57600080fd5b505af1158015612142573d6000803e3d6000fd5b505050505050565b600b546121629030906001600160a01b0316846114b4565b600b5460105460405163f305d71960e01b81523060048201526024810185905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c40160606040518083038185885af11580156121d2573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906121f791906126dc565b5050505050565b6000806040838503121561221157600080fd5b50508035926020909101359150565b600060208083528351808285015260005b8181101561224d57858101830151858201604001528201612231565b8181111561225f576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461228a57600080fd5b50565b600080604083850312156122a057600080fd5b82356122ab81612275565b946020939093013593505050565b803580151581146122c957600080fd5b919050565b600080604083850312156122e157600080fd5b82356122ec81612275565b91506122fa602084016122b9565b90509250929050565b60006020828403121561231557600080fd5b5035919050565b60008060006060848603121561233157600080fd5b833561233c81612275565b9250602084013561234c81612275565b929592945050506040919091013590565b60006020828403121561236f57600080fd5b612378826122b9565b9392505050565b60006020828403121561239157600080fd5b813561237881612275565b6000806000604084860312156123b157600080fd5b833567ffffffffffffffff808211156123c957600080fd5b818601915086601f8301126123dd57600080fd5b8135818111156123ec57600080fd5b8760208260051b850101111561240157600080fd5b60209283019550935061241791860190506122b9565b90509250925092565b6000806040838503121561243357600080fd5b823561243e81612275565b9150602083013561244e81612275565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156124b7576124b761248e565b500190565b600181811c908216806124d057607f821691505b602082108114156124f157634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561250957600080fd5b815161237881612275565b634e487b7160e01b600052603260045260246000fd5b600060001982141561253e5761253e61248e565b5060010190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b606082015260800190565b600081600019048311821515161561262d5761262d61248e565b500290565b60008261264f57634e487b7160e01b600052601260045260246000fd5b500490565b6000828210156126665761266661248e565b500390565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156126bb5784516001600160a01b031683529383019391830191600101612696565b50506001600160a01b03969096166060850152505050608001529392505050565b6000806000606084860312156126f157600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220a699588670e5e68cc1e925f2844c02790acdec0cfe6eb7e508c08e54c33a1b4f64736f6c634300080c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000989345ebc964fa77b2ce2456969117e83fc08b6b
-----Decoded View---------------
Arg [0] : _routerAddress (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [1] : _marketingWallet (address): 0x989345EbC964Fa77B2cE2456969117e83FC08B6b
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [1] : 000000000000000000000000989345ebc964fa77b2ce2456969117e83fc08b6b
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.