Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 346 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 19848403 | 231 days ago | IN | 0 ETH | 0.00009124 | ||||
Transfer | 19295195 | 308 days ago | IN | 0 ETH | 0.00118202 | ||||
Approve | 19295051 | 308 days ago | IN | 0 ETH | 0.00099413 | ||||
Approve | 19045758 | 343 days ago | IN | 0 ETH | 0.00074461 | ||||
Approve | 17244676 | 596 days ago | IN | 0 ETH | 0.00341961 | ||||
Approve | 17224060 | 599 days ago | IN | 0 ETH | 0.00363569 | ||||
Transfer | 17140010 | 611 days ago | IN | 0 ETH | 0.00263935 | ||||
Transfer | 17110113 | 615 days ago | IN | 0 ETH | 0.00363064 | ||||
Approve | 17080663 | 619 days ago | IN | 0 ETH | 0.00187723 | ||||
Update Max Walle... | 17045910 | 624 days ago | IN | 0 ETH | 0.00095603 | ||||
Update Max Trans... | 17045907 | 624 days ago | IN | 0 ETH | 0.00094419 | ||||
Exclude From Max... | 17045898 | 624 days ago | IN | 0 ETH | 0.0008336 | ||||
Transfer | 17045866 | 624 days ago | IN | 0 ETH | 0.00158285 | ||||
Approve | 17045314 | 624 days ago | IN | 0 ETH | 0.00135184 | ||||
Approve | 17040932 | 625 days ago | IN | 0 ETH | 0.00101119 | ||||
Approve | 17040589 | 625 days ago | IN | 0 ETH | 0.00152252 | ||||
Approve | 17040521 | 625 days ago | IN | 0 ETH | 0.00151632 | ||||
Exclude From Max... | 17040512 | 625 days ago | IN | 0 ETH | 0.0014781 | ||||
Exclude From Fee | 17040509 | 625 days ago | IN | 0 ETH | 0.00147468 | ||||
Transfer | 17040498 | 625 days ago | IN | 0 ETH | 0.0021042 | ||||
Transfer | 17040484 | 625 days ago | IN | 0 ETH | 0.00203656 | ||||
Approve | 17040177 | 625 days ago | IN | 0 ETH | 0.00273701 | ||||
Approve | 17039699 | 625 days ago | IN | 0 ETH | 0.0017966 | ||||
Approve | 17039674 | 625 days ago | IN | 0 ETH | 0.00150449 | ||||
Approve | 17039631 | 625 days ago | IN | 0 ETH | 0.00200227 |
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
16936121 | 640 days ago | 0.2 ETH |
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x55EB82e1...1EbcB658E The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
StandardToken
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.13; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; interface IUniswapV2Router01 { 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 removeLiquidity( address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns (uint256 amountA, uint256 amountB); function removeLiquidityETH( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external returns (uint256 amountToken, uint256 amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountA, uint256 amountB); function removeLiquidityETHWithPermit( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountToken, uint256 amountETH); function swapExactTokensForTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapTokensForExactTokens( uint256 amountOut, uint256 amountInMax, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapExactETHForTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable returns (uint256[] memory amounts); function swapTokensForExactETH( uint256 amountOut, uint256 amountInMax, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapExactTokensForETH( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapETHForExactTokens( uint256 amountOut, address[] calldata path, address to, uint256 deadline ) external payable returns (uint256[] memory amounts); function quote( uint256 amountA, uint256 reserveA, uint256 reserveB ) external pure returns (uint256 amountB); function getAmountOut( uint256 amountIn, uint256 reserveIn, uint256 reserveOut ) external pure returns (uint256 amountOut); function getAmountIn( uint256 amountOut, uint256 reserveIn, uint256 reserveOut ) external pure returns (uint256 amountIn); function getAmountsOut(uint256 amountIn, address[] calldata path) external view returns (uint256[] memory amounts); function getAmountsIn(uint256 amountOut, address[] calldata path) external view returns (uint256[] memory amounts); } interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external returns (uint256 amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint256 amountETH); 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; } 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 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; function INIT_CODE_PAIR_HASH() external view returns (bytes32); } interface IUniswapV2Caller { function swapExactTokensForTokensSupportingFeeOnTransferTokens( address router, uint256 amountIn, uint256 amountOutMin, address[] calldata path, uint256 deadline ) external; } interface IFee { function payFee( uint256 _tokenType ) external payable; } contract StandardToken is ERC20, Ownable { IUniswapV2Caller public constant uniswapV2Caller = IUniswapV2Caller(0x1CcFE8c40eF259566433716002E379dFfFbf5a3e); IFee public constant feeContract = IFee(0xfd6439AEfF9d2389856B7486b9e74a6DacaDcDCe); uint8 private _decimals; /////////////////////////////////////////////////////////////////////////// address public baseTokenForPair; bool private inSwapAndLiquify; uint16 public sellLiquidityFee; uint16 public buyLiquidityFee; uint16 public sellMarketingFee; uint16 public buyMarketingFee; address public marketingWallet; bool public isMarketingFeeBaseToken; uint256 public minAmountToTakeFee; uint256 public maxWallet; uint256 public maxTransactionAmount; IUniswapV2Router02 public mainRouter; address public mainPair; mapping(address => bool) public isExcludedFromMaxTransactionAmount; mapping(address => bool) public isExcludedFromFee; mapping(address => bool) public automatedMarketMakerPairs; uint256 private _liquidityFeeTokens; uint256 private _marketingFeeTokens; event UpdateLiquidityFee( uint16 newSellLiquidityFee, uint16 newBuyLiquidityFee, uint16 oldSellLiquidityFee, uint16 oldBuyLiquidityFee ); event UpdateMarketingFee( uint16 newSellMarketingFee, uint16 newBuyMarketingFee, uint16 oldSellMarketingFee, uint16 oldBuyMarketingFee ); event UpdateMarketingWallet( address indexed newMarketingWallet, bool newIsMarketingFeeBaseToken, address indexed oldMarketingWallet, bool oldIsMarketingFeeBaseToken ); event ExcludedFromMaxTransactionAmount(address indexed account, bool isExcluded); event UpdateMinAmountToTakeFee(uint256 newMinAmountToTakeFee, uint256 oldMinAmountToTakeFee); event SetAutomatedMarketMakerPair(address indexed pair, bool value); event ExcludedFromFee(address indexed account, bool isEx); event SwapAndLiquify( uint256 tokensForLiquidity, uint256 baseTokenForLiquidity ); event MarketingFeeTaken( uint256 marketingFeeTokens, uint256 marketingFeeBaseTokenSwapped ); event UpdateUniswapV2Router(address indexed newAddress, address indexed oldRouter); event UpdateMaxWallet(uint256 newMaxWallet, uint256 oldMaxWallet); event UpdateMaxTransactionAmount(uint256 newMaxTransactionAmount, uint256 oldMaxTransactionAmount); /////////////////////////////////////////////////////////////////////////////// constructor( string memory _name, string memory _symbol, uint8 __decimals, uint256 _totalSupply, uint256 _maxWallet, uint256 _maxTransactionAmount, address[3] memory _accounts, bool _isMarketingFeeBaseToken, uint16[4] memory _fees ) payable ERC20(_name, _symbol) { feeContract.payFee{value: msg.value}(1); _decimals = __decimals; _mint(msg.sender, _totalSupply ); baseTokenForPair=_accounts[2]; require(_accounts[0]!=address(0), "marketing wallet can not be 0"); require(_accounts[1]!=address(0), "Router address can not be 0"); require(_fees[0]+(_fees[2])<=200, "sell fee <= 20%"); require(_fees[1]+(_fees[3])<=200, "buy fee <= 20%"); marketingWallet=_accounts[0]; isMarketingFeeBaseToken=_isMarketingFeeBaseToken; emit UpdateMarketingWallet( marketingWallet, isMarketingFeeBaseToken, address(0), false ); mainRouter=IUniswapV2Router02(_accounts[1]); emit UpdateUniswapV2Router(address(mainRouter), address(0)); mainPair = IUniswapV2Factory(mainRouter.factory()).createPair( address(this), baseTokenForPair ); require(_maxTransactionAmount>0, "maxTransactionAmount > 0"); require(_maxWallet>0, "maxWallet > 0"); maxWallet=_maxWallet; emit UpdateMaxWallet(maxWallet, 0); maxTransactionAmount=_maxTransactionAmount; emit UpdateMaxTransactionAmount(maxTransactionAmount, 0); sellLiquidityFee=_fees[0]; buyLiquidityFee=_fees[1]; emit UpdateLiquidityFee(sellLiquidityFee, buyLiquidityFee, 0, 0); sellMarketingFee=_fees[2]; buyMarketingFee=_fees[3]; emit UpdateMarketingFee( sellMarketingFee, buyMarketingFee, 0, 0 ); minAmountToTakeFee=_totalSupply/10000; emit UpdateMinAmountToTakeFee(minAmountToTakeFee, 0); isExcludedFromFee[address(this)]=true; isExcludedFromFee[marketingWallet]=true; isExcludedFromFee[_msgSender()]=true; isExcludedFromFee[address(0xdead)] = true; isExcludedFromMaxTransactionAmount[address(0xdead)]=true; isExcludedFromMaxTransactionAmount[address(this)]=true; isExcludedFromMaxTransactionAmount[marketingWallet]=true; isExcludedFromMaxTransactionAmount[_msgSender()]=true; _setAutomatedMarketMakerPair(mainPair, true); } function decimals() public view override returns (uint8) { return _decimals; } function updateUniswapV2Pair(address _baseTokenForPair) external onlyOwner { baseTokenForPair = _baseTokenForPair; mainPair = IUniswapV2Factory(mainRouter.factory()).createPair( address(this), baseTokenForPair ); _setAutomatedMarketMakerPair(mainPair, true); } function updateUniswapV2Router(address newAddress) public onlyOwner { require( newAddress != address(mainRouter), "The router already has that address" ); emit UpdateUniswapV2Router(newAddress, address(mainRouter)); mainRouter = IUniswapV2Router02(newAddress); address _mainPair = IUniswapV2Factory(mainRouter.factory()).createPair( address(this), baseTokenForPair ); mainPair = _mainPair; _setAutomatedMarketMakerPair(mainPair, true); } ///////////////////////////////////////////////////////////////////////////////// modifier lockTheSwap() { inSwapAndLiquify = true; _; inSwapAndLiquify = false; } function updateLiquidityFee( uint16 _sellLiquidityFee, uint16 _buyLiquidityFee ) external onlyOwner { require( _sellLiquidityFee + (sellMarketingFee) <= 200, "sell fee <= 20%" ); require(_buyLiquidityFee + (buyMarketingFee) <= 200, "buy fee <= 20%"); emit UpdateLiquidityFee( _sellLiquidityFee, _buyLiquidityFee, sellLiquidityFee, buyLiquidityFee ); sellLiquidityFee = _sellLiquidityFee; buyLiquidityFee = _buyLiquidityFee; } function updateMaxWallet(uint256 _maxWallet) external onlyOwner { require(_maxWallet>0, "maxWallet > 0"); emit UpdateMaxWallet(_maxWallet, maxWallet); maxWallet = _maxWallet; } function updateMaxTransactionAmount(uint256 _maxTransactionAmount) external onlyOwner { require(_maxTransactionAmount>0, "maxTransactionAmount > 0"); emit UpdateMaxTransactionAmount(_maxTransactionAmount, maxTransactionAmount); maxTransactionAmount = _maxTransactionAmount; } function updateMarketingFee( uint16 _sellMarketingFee, uint16 _buyMarketingFee ) external onlyOwner { require( _sellMarketingFee + (sellLiquidityFee) <= 200, "sell fee <= 20%" ); require(_buyMarketingFee + (buyLiquidityFee) <= 200, "buy fee <= 20%"); emit UpdateMarketingFee( _sellMarketingFee, _buyMarketingFee, sellMarketingFee, buyMarketingFee ); sellMarketingFee = _sellMarketingFee; buyMarketingFee = _buyMarketingFee; } function updateMarketingWallet( address _marketingWallet, bool _isMarketingFeeBaseToken ) external onlyOwner { require(_marketingWallet != address(0), "marketing wallet can't be 0"); emit UpdateMarketingWallet(_marketingWallet, _isMarketingFeeBaseToken, marketingWallet, isMarketingFeeBaseToken); marketingWallet = _marketingWallet; isMarketingFeeBaseToken = _isMarketingFeeBaseToken; isExcludedFromFee[_marketingWallet] = true; } function updateMinAmountToTakeFee(uint256 _minAmountToTakeFee) external onlyOwner { require(_minAmountToTakeFee > 0, "minAmountToTakeFee > 0"); emit UpdateMinAmountToTakeFee(_minAmountToTakeFee, minAmountToTakeFee); minAmountToTakeFee = _minAmountToTakeFee; } function setAutomatedMarketMakerPair(address pair, bool value) public onlyOwner { _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; isExcludedFromMaxTransactionAmount[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } function excludeFromFee(address account, bool isEx) external onlyOwner { require(isExcludedFromFee[account] != isEx, "already"); isExcludedFromFee[account] = isEx; emit ExcludedFromFee(account, isEx); } function excludeFromMaxTransactionAmount(address account, bool isEx) external onlyOwner { require(isExcludedFromMaxTransactionAmount[account]!=isEx, "already"); isExcludedFromMaxTransactionAmount[account] = isEx; emit ExcludedFromMaxTransactionAmount(account, isEx); } 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"); uint256 contractTokenBalance = balanceOf(address(this)); bool overMinimumTokenBalance = contractTokenBalance >= minAmountToTakeFee; // Take Fee if ( !inSwapAndLiquify && balanceOf(mainPair) > 0 && overMinimumTokenBalance && automatedMarketMakerPairs[to] ) { takeFee(); } uint256 _liquidityFee; uint256 _marketingFee; // If any account belongs to isExcludedFromFee account then remove the fee if ( !inSwapAndLiquify && !isExcludedFromFee[from] && !isExcludedFromFee[to] ) { // Buy if (automatedMarketMakerPairs[from]) { _liquidityFee = (amount * (buyLiquidityFee)) / (1000); _marketingFee = (amount * (buyMarketingFee)) / (1000); } // Sell else if (automatedMarketMakerPairs[to]) { _liquidityFee = (amount * (sellLiquidityFee)) / (1000); _marketingFee = (amount * (sellMarketingFee)) / (1000); } uint256 _feeTotal = _liquidityFee + (_marketingFee); if (_feeTotal > 0) super._transfer(from, address(this), _feeTotal); amount = amount - (_liquidityFee) - (_marketingFee); _liquidityFeeTokens = _liquidityFeeTokens + (_liquidityFee); _marketingFeeTokens = _marketingFeeTokens + (_marketingFee); } super._transfer(from, to, amount); if (!inSwapAndLiquify) { if (!isExcludedFromMaxTransactionAmount[from]) { require( amount < maxTransactionAmount, "ERC20: exceeds transfer limit" ); } if (!isExcludedFromMaxTransactionAmount[to]) { require( balanceOf(to) < maxWallet, "ERC20: exceeds max wallet limit" ); } } } function takeFee() private lockTheSwap { uint256 contractBalance = balanceOf(address(this)); uint256 totalTokensTaken = _liquidityFeeTokens + _marketingFeeTokens; if (totalTokensTaken == 0 || contractBalance < totalTokensTaken) { return; } // Halve the amount of liquidity tokens uint256 tokensForLiquidity = _liquidityFeeTokens / 2; uint256 initialBaseTokenBalance = baseTokenForPair==mainRouter.WETH() ? address(this).balance : IERC20(baseTokenForPair).balanceOf(address(this)); uint256 baseTokenForLiquidity; if (isMarketingFeeBaseToken) { uint256 tokensForSwap=tokensForLiquidity+_marketingFeeTokens; if(tokensForSwap>0) swapTokensForBaseToken(tokensForSwap); uint256 baseTokenBalance = baseTokenForPair==mainRouter.WETH() ? address(this).balance - initialBaseTokenBalance : IERC20(baseTokenForPair).balanceOf(address(this)) - initialBaseTokenBalance; uint256 baseTokenForMarketing = (baseTokenBalance * _marketingFeeTokens) / tokensForSwap; baseTokenForLiquidity = baseTokenBalance - baseTokenForMarketing; if(baseTokenForMarketing>0){ if(baseTokenForPair==mainRouter.WETH()){ (bool success, )=address(marketingWallet).call{value: baseTokenForMarketing}(""); if(success){ _marketingFeeTokens = 0; emit MarketingFeeTaken(0, baseTokenForMarketing); } }else{ IERC20(baseTokenForPair).transfer( marketingWallet, baseTokenForMarketing ); _marketingFeeTokens = 0; emit MarketingFeeTaken(0, baseTokenForMarketing); } } } else { if(tokensForLiquidity>0) swapTokensForBaseToken(tokensForLiquidity); baseTokenForLiquidity = baseTokenForPair==mainRouter.WETH() ? address(this).balance - initialBaseTokenBalance : IERC20(baseTokenForPair).balanceOf(address(this)) - initialBaseTokenBalance; if(_marketingFeeTokens>0){ _transfer(address(this), marketingWallet, _marketingFeeTokens); emit MarketingFeeTaken(_marketingFeeTokens, 0); _marketingFeeTokens = 0; } } if (tokensForLiquidity > 0 && baseTokenForLiquidity > 0) { addLiquidity(tokensForLiquidity, baseTokenForLiquidity); emit SwapAndLiquify(tokensForLiquidity, baseTokenForLiquidity); } _liquidityFeeTokens = 0; } function swapTokensForBaseToken(uint256 tokenAmount) private { address[] memory path = new address[](2); path[0] = address(this); path[1] = baseTokenForPair; if (path[1] == mainRouter.WETH()){ _approve(address(this), address(mainRouter), tokenAmount); mainRouter.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of BaseToken path, address(this), block.timestamp ); }else{ _approve(address(this), address(uniswapV2Caller), tokenAmount); uniswapV2Caller.swapExactTokensForTokensSupportingFeeOnTransferTokens( address(mainRouter), tokenAmount, 0, // accept any amount of BaseToken path, block.timestamp ); } } function addLiquidity(uint256 tokenAmount, uint256 baseTokenAmount) private { _approve(address(this), address(mainRouter), tokenAmount); IERC20(baseTokenForPair).approve(address(mainRouter), baseTokenAmount); if (baseTokenForPair == mainRouter.WETH()) mainRouter.addLiquidityETH{value: baseTokenAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable address(0xdead), block.timestamp ); else mainRouter.addLiquidity( address(this), baseTokenForPair, tokenAmount, baseTokenAmount, 0, 0, address(0xdead), block.timestamp ); } receive() external payable {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ 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 {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual 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 { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
{ "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":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint8","name":"__decimals","type":"uint8"},{"internalType":"uint256","name":"_totalSupply","type":"uint256"},{"internalType":"uint256","name":"_maxWallet","type":"uint256"},{"internalType":"uint256","name":"_maxTransactionAmount","type":"uint256"},{"internalType":"address[3]","name":"_accounts","type":"address[3]"},{"internalType":"bool","name":"_isMarketingFeeBaseToken","type":"bool"},{"internalType":"uint16[4]","name":"_fees","type":"uint16[4]"}],"stateMutability":"payable","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":"isEx","type":"bool"}],"name":"ExcludedFromFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludedFromMaxTransactionAmount","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"marketingFeeTokens","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"marketingFeeBaseTokenSwapped","type":"uint256"}],"name":"MarketingFeeTaken","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":false,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensForLiquidity","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"baseTokenForLiquidity","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":false,"internalType":"uint16","name":"newSellLiquidityFee","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"newBuyLiquidityFee","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"oldSellLiquidityFee","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"oldBuyLiquidityFee","type":"uint16"}],"name":"UpdateLiquidityFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"newSellMarketingFee","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"newBuyMarketingFee","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"oldSellMarketingFee","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"oldBuyMarketingFee","type":"uint16"}],"name":"UpdateMarketingFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newMarketingWallet","type":"address"},{"indexed":false,"internalType":"bool","name":"newIsMarketingFeeBaseToken","type":"bool"},{"indexed":true,"internalType":"address","name":"oldMarketingWallet","type":"address"},{"indexed":false,"internalType":"bool","name":"oldIsMarketingFeeBaseToken","type":"bool"}],"name":"UpdateMarketingWallet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newMaxTransactionAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"oldMaxTransactionAmount","type":"uint256"}],"name":"UpdateMaxTransactionAmount","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newMaxWallet","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"oldMaxWallet","type":"uint256"}],"name":"UpdateMaxWallet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newMinAmountToTakeFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"oldMinAmountToTakeFee","type":"uint256"}],"name":"UpdateMinAmountToTakeFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldRouter","type":"address"}],"name":"UpdateUniswapV2Router","type":"event"},{"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":"baseTokenForPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyLiquidityFee","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyMarketingFee","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"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":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransactionAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeContract","outputs":[{"internalType":"contract IFee","name":"","type":"address"}],"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":"isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isExcludedFromMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMarketingFeeBaseToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mainPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mainRouter","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"minAmountToTakeFee","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":"sellLiquidityFee","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellMarketingFee","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"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":"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":"uniswapV2Caller","outputs":[{"internalType":"contract IUniswapV2Caller","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_sellLiquidityFee","type":"uint16"},{"internalType":"uint16","name":"_buyLiquidityFee","type":"uint16"}],"name":"updateLiquidityFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_sellMarketingFee","type":"uint16"},{"internalType":"uint16","name":"_buyMarketingFee","type":"uint16"}],"name":"updateMarketingFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_marketingWallet","type":"address"},{"internalType":"bool","name":"_isMarketingFeeBaseToken","type":"bool"}],"name":"updateMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxTransactionAmount","type":"uint256"}],"name":"updateMaxTransactionAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxWallet","type":"uint256"}],"name":"updateMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minAmountToTakeFee","type":"uint256"}],"name":"updateMinAmountToTakeFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_baseTokenForPair","type":"address"}],"name":"updateUniswapV2Pair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateUniswapV2Router","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Deployed Bytecode
0x6080604052600436106102555760003560e01c80638da5cb5b11610139578063cf089e13116100b6578063e9481eee1161007a578063e9481eee1461077f578063f11a24d3146107af578063f2fde38b146107d1578063f6374342146107f1578063f8b45b0514610813578063fc59d23d1461082957600080fd5b8063cf089e13146106b9578063cf188ad0146106d9578063d68f8cde146106f9578063dd62ed3e14610719578063df8408fe1461075f57600080fd5b8063a457c2d7116100fd578063a457c2d714610613578063a9059cbb14610633578063aa49802314610653578063b62496f514610673578063c8c8ebe4146106a357600080fd5b80638da5cb5b1461057e57806391c1004a1461059c57806392136913146105bc57806395d89b41146105de5780639a7a23d6146105f357600080fd5b80635342acb4116101d257806373b9e82c1161019657806373b9e82c146104a157806375f0a874146104c15780637bce5a04146104e15780637c75ad3a146105165780637cf84bd71461053e57806385af30c51461055e57600080fd5b80635342acb4146103e557806357e62b981461041557806365b8dbc01461043657806370a0823114610456578063715018a61461048c57600080fd5b806323b872dd1161021957806323b872dd146103395780632ae2f12114610359578063313ce5671461037957806339509351146103a55780634707c551146103c557600080fd5b806306e297121461026157806306fdde03146102a6578063095ea7b3146102c857806318160ddd146102f85780631c499ab01461031757600080fd5b3661025c57005b600080fd5b34801561026d57600080fd5b5061028973fd6439aeff9d2389856b7486b9e74a6dacadcdce81565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156102b257600080fd5b506102bb61083f565b60405161029d919061295a565b3480156102d457600080fd5b506102e86102e33660046129c4565b6108d1565b604051901515815260200161029d565b34801561030457600080fd5b506002545b60405190815260200161029d565b34801561032357600080fd5b506103376103323660046129f0565b6108e9565b005b34801561034557600080fd5b506102e8610354366004612a09565b61099e565b34801561036557600080fd5b50610337610374366004612a58565b6109c2565b34801561038557600080fd5b50600554600160a01b900460ff1660405160ff909116815260200161029d565b3480156103b157600080fd5b506102e86103c03660046129c4565b610aa6565b3480156103d157600080fd5b506103376103e0366004612a58565b610ae5565b3480156103f157600080fd5b506102e8610400366004612a91565b600e6020526000908152604090205460ff1681565b34801561042157600080fd5b506007546102e890600160a01b900460ff1681565b34801561044257600080fd5b50610337610451366004612a91565b610c04565b34801561046257600080fd5b50610309610471366004612a91565b6001600160a01b031660009081526020819052604090205490565b34801561049857600080fd5b50610337610df8565b3480156104ad57600080fd5b506103376104bc3660046129f0565b610e2e565b3480156104cd57600080fd5b50600754610289906001600160a01b031681565b3480156104ed57600080fd5b5060065461050390600160d81b900461ffff1681565b60405161ffff909116815260200161029d565b34801561052257600080fd5b50610289731ccfe8c40ef259566433716002e379dfffbf5a3e81565b34801561054a57600080fd5b50600654610289906001600160a01b031681565b34801561056a57600080fd5b50600c54610289906001600160a01b031681565b34801561058a57600080fd5b506005546001600160a01b0316610289565b3480156105a857600080fd5b506103376105b7366004612a91565b610ee3565b3480156105c857600080fd5b5060065461050390600160c81b900461ffff1681565b3480156105ea57600080fd5b506102bb611035565b3480156105ff57600080fd5b5061033761060e366004612a58565b611044565b34801561061f57600080fd5b506102e861062e3660046129c4565b611078565b34801561063f57600080fd5b506102e861064e3660046129c4565b61110a565b34801561065f57600080fd5b5061033761066e3660046129f0565b611118565b34801561067f57600080fd5b506102e861068e366004612a91565b600f6020526000908152604090205460ff1681565b3480156106af57600080fd5b50610309600a5481565b3480156106c557600080fd5b506103376106d4366004612acc565b6111d4565b3480156106e557600080fd5b50600b54610289906001600160a01b031681565b34801561070557600080fd5b50610337610714366004612acc565b611352565b34801561072557600080fd5b50610309610734366004612aff565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561076b57600080fd5b5061033761077a366004612a58565b6114d0565b34801561078b57600080fd5b506102e861079a366004612a91565b600d6020526000908152604090205460ff1681565b3480156107bb57600080fd5b5060065461050390600160b81b900461ffff1681565b3480156107dd57600080fd5b506103376107ec366004612a91565b6115ac565b3480156107fd57600080fd5b5060065461050390600160a81b900461ffff1681565b34801561081f57600080fd5b5061030960095481565b34801561083557600080fd5b5061030960085481565b60606003805461084e90612b2d565b80601f016020809104026020016040519081016040528092919081815260200182805461087a90612b2d565b80156108c75780601f1061089c576101008083540402835291602001916108c7565b820191906000526020600020905b8154815290600101906020018083116108aa57829003601f168201915b5050505050905090565b6000336108df818585611644565b5060019392505050565b6005546001600160a01b0316331461091c5760405162461bcd60e51b815260040161091390612b67565b60405180910390fd5b6000811161095c5760405162461bcd60e51b815260206004820152600d60248201526c06d617857616c6c6574203e203609c1b6044820152606401610913565b6009546040805183815260208101929092527fff64d41f60feb77d52f64ae64a9fc3929d57a89d0cc55728762468bae5e0fe52910160405180910390a1600955565b6000336109ac858285611768565b6109b78585856117fa565b506001949350505050565b6005546001600160a01b031633146109ec5760405162461bcd60e51b815260040161091390612b67565b6001600160a01b0382166000908152600d602052604090205481151560ff909116151503610a465760405162461bcd60e51b8152602060048201526007602482015266616c726561647960c81b6044820152606401610913565b6001600160a01b0382166000818152600d6020908152604091829020805460ff191685151590811790915591519182527f82170bbd72c16b30c410014b7382121a699ed119a182e48a0b6cadcc89104ac991015b60405180910390a25050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091906108df9082908690610ae0908790612bb2565b611644565b6005546001600160a01b03163314610b0f5760405162461bcd60e51b815260040161091390612b67565b6001600160a01b038216610b655760405162461bcd60e51b815260206004820152601b60248201527f6d61726b6574696e672077616c6c65742063616e2774206265203000000000006044820152606401610913565b600754604080518315158152600160a01b830460ff16151560208201526001600160a01b03928316928516917fc8dfdd9b91ac62ee1bd8be3541ea02d8e584461c794c6e49e94ccf21c71ebcca910160405180910390a360078054911515600160a01b026001600160a81b03199092166001600160a01b039093169283179190911790556000908152600e60205260409020805460ff19166001179055565b6005546001600160a01b03163314610c2e5760405162461bcd60e51b815260040161091390612b67565b600b546001600160a01b0390811690821603610c985760405162461bcd60e51b815260206004820152602360248201527f54686520726f7574657220616c7265616479206861732074686174206164647260448201526265737360e81b6064820152608401610913565b600b546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3600b80546001600160a01b0319166001600160a01b0383169081179091556040805163c45a015560e01b815290516000929163c45a01559160048083019260209291908290030181865afa158015610d2f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d539190612bca565b6006546040516364e329cb60e11b81523060048201526001600160a01b03918216602482015291169063c9c65396906044016020604051808303816000875af1158015610da4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc89190612bca565b600c80546001600160a01b0319166001600160a01b038316908117909155909150610df4906001611b8f565b5050565b6005546001600160a01b03163314610e225760405162461bcd60e51b815260040161091390612b67565b610e2c6000611c8e565b565b6005546001600160a01b03163314610e585760405162461bcd60e51b815260040161091390612b67565b60008111610ea15760405162461bcd60e51b815260206004820152601660248201527506d696e416d6f756e74546f54616b65466565203e20360541b6044820152606401610913565b6008546040805183815260208101929092527f772a06bc936eb749842080c472181e970cd4f23bd1ab7d0b84a80aec26910434910160405180910390a1600855565b6005546001600160a01b03163314610f0d5760405162461bcd60e51b815260040161091390612b67565b600680546001600160a01b0319166001600160a01b0383811691909117909155600b546040805163c45a015560e01b81529051919092169163c45a01559160048083019260209291908290030181865afa158015610f6f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f939190612bca565b6006546040516364e329cb60e11b81523060048201526001600160a01b03918216602482015291169063c9c65396906044016020604051808303816000875af1158015610fe4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110089190612bca565b600c80546001600160a01b0319166001600160a01b03929092169182179055611032906001611b8f565b50565b60606004805461084e90612b2d565b6005546001600160a01b0316331461106e5760405162461bcd60e51b815260040161091390612b67565b610df48282611b8f565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156110fd5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610913565b6109b78286868403611644565b6000336108df8185856117fa565b6005546001600160a01b031633146111425760405162461bcd60e51b815260040161091390612b67565b600081116111925760405162461bcd60e51b815260206004820152601860248201527f6d61785472616e73616374696f6e416d6f756e74203e203000000000000000006044820152606401610913565b600a546040805183815260208101929092527f35eec0711af6fbe3039535323be51b57996b6945b0d55862607c7a02e52e4507910160405180910390a1600a55565b6005546001600160a01b031633146111fe5760405162461bcd60e51b815260040161091390612b67565b60065460c89061121990600160a81b900461ffff1684612be7565b61ffff16111561125d5760405162461bcd60e51b815260206004820152600f60248201526e73656c6c20666565203c3d2032302560881b6044820152606401610913565b60065460c89061127890600160b81b900461ffff1683612be7565b61ffff1611156112bb5760405162461bcd60e51b815260206004820152600e60248201526d62757920666565203c3d2032302560901b6044820152606401610913565b6006546040805161ffff85811682528481166020830152600160c81b8404811682840152600160d81b9093049092166060830152517f1d6b62961d401d548eb1549c97109c0b905ccd7af9c3777d3076cc8438fdfe659181900360800190a16006805463ffffffff60c81b1916600160c81b61ffff9485160261ffff60d81b191617600160d81b9290931691909102919091179055565b6005546001600160a01b0316331461137c5760405162461bcd60e51b815260040161091390612b67565b60065460c89061139790600160c81b900461ffff1684612be7565b61ffff1611156113db5760405162461bcd60e51b815260206004820152600f60248201526e73656c6c20666565203c3d2032302560881b6044820152606401610913565b60065460c8906113f690600160d81b900461ffff1683612be7565b61ffff1611156114395760405162461bcd60e51b815260206004820152600e60248201526d62757920666565203c3d2032302560901b6044820152606401610913565b6006546040805161ffff85811682528481166020830152600160a81b8404811682840152600160b81b9093049092166060830152517f95c5c99557725e816faf752c6675d63483841c28a7a009ed792470a9cb4dea239181900360800190a16006805463ffffffff60a81b1916600160a81b61ffff9485160261ffff60b81b191617600160b81b9290931691909102919091179055565b6005546001600160a01b031633146114fa5760405162461bcd60e51b815260040161091390612b67565b6001600160a01b0382166000908152600e602052604090205481151560ff9091161515036115545760405162461bcd60e51b8152602060048201526007602482015266616c726561647960c81b6044820152606401610913565b6001600160a01b0382166000818152600e6020908152604091829020805460ff191685151590811790915591519182527f2d43abd87b27cee7b0aa8c6f7e0b4a3247b683262a83cbc2318b0df398a49aa99101610a9a565b6005546001600160a01b031633146115d65760405162461bcd60e51b815260040161091390612b67565b6001600160a01b03811661163b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610913565b61103281611c8e565b6001600160a01b0383166116a65760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610913565b6001600160a01b0382166117075760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610913565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146117f457818110156117e75760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610913565b6117f48484848403611644565b50505050565b6001600160a01b0383166118205760405162461bcd60e51b815260040161091390612c0d565b6001600160a01b0382166118465760405162461bcd60e51b815260040161091390612c52565b306000908152602081905260409020546008546006549082101590600160a01b900460ff161580156118905750600c546001600160a01b0316600090815260208190526040812054115b80156118995750805b80156118bd57506001600160a01b0384166000908152600f602052604090205460ff165b156118ca576118ca611ce0565b6006546000908190600160a01b900460ff1615801561190257506001600160a01b0387166000908152600e602052604090205460ff16155b801561192757506001600160a01b0386166000908152600e602052604090205460ff16155b15611a70576001600160a01b0387166000908152600f602052604090205460ff16156119a3576006546103e89061196990600160b81b900461ffff1687612c95565b6119739190612cb4565b6006549092506103e89061199290600160d81b900461ffff1687612c95565b61199c9190612cb4565b9050611a16565b6001600160a01b0386166000908152600f602052604090205460ff1615611a16576006546103e8906119e090600160a81b900461ffff1687612c95565b6119ea9190612cb4565b6006549092506103e890611a0990600160c81b900461ffff1687612c95565b611a139190612cb4565b90505b6000611a228284612bb2565b90508015611a3557611a358830836123a6565b81611a408488612cd6565b611a4a9190612cd6565b955082601054611a5a9190612bb2565b601055601154611a6b908390612bb2565b601155505b611a7b8787876123a6565b600654600160a01b900460ff16611b86576001600160a01b0387166000908152600d602052604090205460ff16611afd57600a548510611afd5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a2065786365656473207472616e73666572206c696d69740000006044820152606401610913565b6001600160a01b0386166000908152600d602052604090205460ff16611b86576009546001600160a01b03871660009081526020819052604090205410611b865760405162461bcd60e51b815260206004820152601f60248201527f45524332303a2065786365656473206d61782077616c6c6574206c696d6974006044820152606401610913565b50505050505050565b6001600160a01b0382166000908152600f602052604090205481151560ff909116151503611c255760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c756500000000000000006064820152608401610913565b6001600160a01b0382166000818152600f60209081526040808320805486151560ff199182168117909255600d84529382902080549094168117909355519182527fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab9101610a9a565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6006805460ff60a01b1916600160a01b1790553060009081526020819052604081205490506000601154601054611d179190612bb2565b9050801580611d2557508082105b15611d31575050612397565b60006002601054611d429190612cb4565b90506000600b60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d99573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dbd9190612bca565b6006546001600160a01b03908116911614611e43576006546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa158015611e1a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e3e9190612ced565b611e45565b475b600754909150600090600160a01b900460ff16156121a957600060115484611e6d9190612bb2565b90508015611e7e57611e7e816124fa565b600b54604080516315ab88c960e31b815290516000926001600160a01b03169163ad5c46489160048083019260209291908290030181865afa158015611ec8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611eec9190612bca565b6006546001600160a01b03908116911614611f7c576006546040516370a0823160e01b815230600482015285916001600160a01b0316906370a0823190602401602060405180830381865afa158015611f49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f6d9190612ced565b611f779190612cd6565b611f86565b611f868447612cd6565b905060008260115483611f999190612c95565b611fa39190612cb4565b9050611faf8183612cd6565b935080156121a157600b60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561200a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061202e9190612bca565b6006546001600160a01b039182169116036120e6576007546040516000916001600160a01b03169083908381818185875af1925050503d8060008114612090576040519150601f19603f3d011682016040523d82523d6000602084013e612095565b606091505b5050905080156120e0576000601181905560408051918252602082018490527f6f92bce3e91466137aa4d5474fe565c002872fb18ed6af4a856959be0a81277a910160405180910390a15b506121a1565b60065460075460405163a9059cbb60e01b81526001600160a01b0391821660048201526024810184905291169063a9059cbb906044016020604051808303816000875af115801561213b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061215f9190612d06565b506000601181905560408051918252602082018390527f6f92bce3e91466137aa4d5474fe565c002872fb18ed6af4a856959be0a81277a910160405180910390a15b505050612333565b82156121b8576121b8836124fa565b600b60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561220b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061222f9190612bca565b6006546001600160a01b039081169116146122bf576006546040516370a0823160e01b815230600482015283916001600160a01b0316906370a0823190602401602060405180830381865afa15801561228c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122b09190612ced565b6122ba9190612cd6565b6122c9565b6122c98247612cd6565b60115490915015612333576007546011546122f19130916001600160a01b03909116906117fa565b60115460408051918252600060208301527f6f92bce3e91466137aa4d5474fe565c002872fb18ed6af4a856959be0a81277a910160405180910390a160006011555b6000831180156123435750600081115b1561238c576123528382612700565b60408051848152602081018390527f28fc98272ce761178794ad6768050fea1648e07f1e2ffe15afd3a290f8381486910160405180910390a15b505060006010555050505b6006805460ff60a01b19169055565b6001600160a01b0383166123cc5760405162461bcd60e51b815260040161091390612c0d565b6001600160a01b0382166123f25760405162461bcd60e51b815260040161091390612c52565b6001600160a01b0383166000908152602081905260409020548181101561246a5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610913565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906124a1908490612bb2565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516124ed91815260200190565b60405180910390a36117f4565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061252f5761252f612d23565b6001600160a01b03928316602091820292909201015260065482519116908290600190811061256057612560612d23565b6001600160a01b03928316602091820292909201810191909152600b54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156125b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125dd9190612bca565b6001600160a01b0316816001815181106125f9576125f9612d23565b60200260200101516001600160a01b03160361269657600b546126279030906001600160a01b031684611644565b600b5460405163791ac94760e01b81526001600160a01b039091169063791ac94790612660908590600090869030904290600401612d7d565b600060405180830381600087803b15801561267a57600080fd5b505af115801561268e573d6000803e3d6000fd5b505050505050565b6126b530731ccfe8c40ef259566433716002e379dfffbf5a3e84611644565b600b54604051637274ca1b60e11b8152731ccfe8c40ef259566433716002e379dfffbf5a3e9163e4e9943691612660916001600160a01b031690869060009087904290600401612db9565b600b546127189030906001600160a01b031684611644565b600654600b5460405163095ea7b360e01b81526001600160a01b0391821660048201526024810184905291169063095ea7b3906044016020604051808303816000875af115801561276d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127919190612d06565b50600b60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156127e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128099190612bca565b6006546001600160a01b039182169116036128b857600b5460405163f305d71960e01b815230600482015260248101849052600060448201819052606482015261dead60848201524260a48201526001600160a01b039091169063f305d71990839060c40160606040518083038185885af115801561288c573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906128b19190612df8565b5050505050565b600b5460065460405162e8e33760e81b81523060048201526001600160a01b039182166024820152604481018590526064810184905260006084820181905260a482015261dead60c48201524260e482015291169063e8e3370090610104016060604051808303816000875af1158015612936573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128b19190612df8565b600060208083528351808285015260005b818110156129875785810183015185820160400152820161296b565b81811115612999576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461103257600080fd5b600080604083850312156129d757600080fd5b82356129e2816129af565b946020939093013593505050565b600060208284031215612a0257600080fd5b5035919050565b600080600060608486031215612a1e57600080fd5b8335612a29816129af565b92506020840135612a39816129af565b929592945050506040919091013590565b801515811461103257600080fd5b60008060408385031215612a6b57600080fd5b8235612a76816129af565b91506020830135612a8681612a4a565b809150509250929050565b600060208284031215612aa357600080fd5b8135612aae816129af565b9392505050565b803561ffff81168114612ac757600080fd5b919050565b60008060408385031215612adf57600080fd5b612ae883612ab5565b9150612af660208401612ab5565b90509250929050565b60008060408385031215612b1257600080fd5b8235612b1d816129af565b91506020830135612a86816129af565b600181811c90821680612b4157607f821691505b602082108103612b6157634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008219821115612bc557612bc5612b9c565b500190565b600060208284031215612bdc57600080fd5b8151612aae816129af565b600061ffff808316818516808303821115612c0457612c04612b9c565b01949350505050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6000816000190483118215151615612caf57612caf612b9c565b500290565b600082612cd157634e487b7160e01b600052601260045260246000fd5b500490565b600082821015612ce857612ce8612b9c565b500390565b600060208284031215612cff57600080fd5b5051919050565b600060208284031215612d1857600080fd5b8151612aae81612a4a565b634e487b7160e01b600052603260045260246000fd5b600081518084526020808501945080840160005b83811015612d725781516001600160a01b031687529582019590820190600101612d4d565b509495945050505050565b85815284602082015260a060408201526000612d9c60a0830186612d39565b6001600160a01b0394909416606083015250608001529392505050565b60018060a01b038616815284602082015283604082015260a060608201526000612de660a0830185612d39565b90508260808301529695505050505050565b600080600060608486031215612e0d57600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220100818d83553c863b2177f20dd352cd5cd9453ab5727afcba1e9adabd88b103f64736f6c634300080d0033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | Ether (ETH) | 100.00% | $3,379.29 | 0.0961 | $324.69 |
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.