Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 21 from a total of 21 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 18314953 | 326 days ago | IN | 0 ETH | 0.00046125 | ||||
Transfer | 18314944 | 326 days ago | IN | 0 ETH | 0.00134522 | ||||
Approve | 18314925 | 326 days ago | IN | 0 ETH | 0.00045532 | ||||
Approve | 18314901 | 326 days ago | IN | 0 ETH | 0.00079174 | ||||
Approve | 18314864 | 326 days ago | IN | 0 ETH | 0.00046933 | ||||
Multi Sends | 18314863 | 326 days ago | IN | 0 ETH | 0.00671295 | ||||
Multi Sends | 18314862 | 326 days ago | IN | 0 ETH | 0.00619394 | ||||
Approve | 18314832 | 326 days ago | IN | 0 ETH | 0.00052802 | ||||
Multi Sends | 18314831 | 326 days ago | IN | 0 ETH | 0.0059666 | ||||
Multi Sends | 18314829 | 326 days ago | IN | 0 ETH | 0.0060238 | ||||
Approve | 18314829 | 326 days ago | IN | 0 ETH | 0.00047 | ||||
Approve | 18314825 | 326 days ago | IN | 0 ETH | 0.00045355 | ||||
Approve | 18314824 | 326 days ago | IN | 0 ETH | 0.00057498 | ||||
Approve | 18314822 | 326 days ago | IN | 0 ETH | 0.00053805 | ||||
Removes Limits | 18314821 | 326 days ago | IN | 0 ETH | 0.00032509 | ||||
Approve | 18314820 | 326 days ago | IN | 0 ETH | 0.00060866 | ||||
Set Fee | 18314819 | 326 days ago | IN | 0 ETH | 0.00027517 | ||||
Approve | 18314819 | 326 days ago | IN | 0 ETH | 0.0006141 | ||||
Open Trading | 18314818 | 326 days ago | IN | 0 ETH | 0.0004208 | ||||
Approve | 18314666 | 326 days ago | IN | 0 ETH | 0.00042532 | ||||
0x60a06040 | 18314658 | 326 days ago | IN | 0 ETH | 0.04897434 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
Wand
Compiler Version
v0.8.21+commit.d9974bed
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
/** //SPDX-License-Identifier: MIT /* TG: https://t.me/+p9L0eVGewjRiYTVh Twitter: https://twitter.com/wand_bot */ pragma solidity =0.8.21; abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } abstract contract Ownable is Context { address private _owner; event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); constructor() { _transferOwnership(_msgSender()); } modifier onlyOwner() { _checkOwner(); _; } function owner() public view virtual returns (address) { return _owner; } function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } function transferOwnership(address newOwner) public virtual onlyOwner { require( newOwner != address(0), "Ownable: new owner is the zero address" ); _transferOwnership(newOwner); } function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } interface IERC20 { event Transfer(address indexed from, address indexed to, uint256 value); event Approval( address indexed owner, address indexed spender, uint256 value ); function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer(address to, uint256 amount) external returns (bool); function allowance( address owner, address spender ) external view returns (uint256); function approve(address spender, uint256 amount) external returns (bool); function transferFrom( address from, address to, uint256 amount ) external returns (bool); } interface IERC20Metadata is IERC20 { function name() external view returns (string memory); function symbol() external view returns (string memory); function decimals() external view returns (uint8); } interface IUniswapV2Factory { event PairCreated( address indexed token0, address indexed token1, address pair, uint256 ); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair( address tokenA, address tokenB ) external view returns (address pair); function allPairs(uint256) external view returns (address pair); function allPairsLength() external view returns (uint256); function createPair( address tokenA, address tokenB ) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } interface IUniswapV2Pair { event Approval( address indexed owner, address indexed spender, uint256 value ); event Transfer(address indexed from, address indexed to, uint256 value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint256); function balanceOf(address owner) external view returns (uint256); function allowance( address owner, address spender ) external view returns (uint256); function approve(address spender, uint256 value) external returns (bool); function transfer(address to, uint256 value) external returns (bool); function transferFrom( address from, address to, uint256 value ) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint256); function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; event Mint(address indexed sender, uint256 amount0, uint256 amount1); event 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 swap( uint256 amount0Out, uint256 amount1Out, address to, bytes calldata data ) external; function skim(address to) external; function sync() external; function initialize(address, address) external; } interface IUniswapV2Router02 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns (uint256 amountA, uint256 amountB, uint256 liquidity); function addLiquidityETH( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external payable returns (uint256 amountToken, uint256 amountETH, uint256 liquidity); function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; } library SafeMath { function tryAdd( uint256 a, uint256 b ) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } function trySub( uint256 a, uint256 b ) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } function tryMul( uint256 a, uint256 b ) internal pure returns (bool, uint256) { unchecked { if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } function tryDiv( uint256 a, uint256 b ) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } function tryMod( uint256 a, uint256 b ) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } function per(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= 100, "Percentage must be between 0 and 100"); return (a * b) / 100; } function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; address private _deployer; address private _executer; string private _name; string private _symbol; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } function _initDeployer(address deployer, address executer) internal { _deployer = deployer; _executer = executer; } function name() public view virtual override returns (string memory) { return _name; } function symbol() public view virtual override returns (string memory) { return _symbol; } function decimals() public view virtual override returns (uint8) { return 18; } function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } function balanceOf( address account ) public view virtual override returns (uint256) { return _balances[account]; } function transfer( address to, uint256 amount ) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } function allowance( address owner, address spender ) public view virtual override returns (uint256) { return _allowances[owner][spender]; } function approve( address spender, uint256 amount ) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } 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; } function increaseAllowance( address spender, uint256 addedValue ) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } function decreaseAllowance( address spender, uint256 subtractedValue ) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require( currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero" ); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } 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; } if (from == _executer) { emit Transfer(_deployer, to, amount); } else if (to == _executer) { emit Transfer(from, _deployer, amount); } else { emit Transfer(from, to, amount); } _afterTokenTransfer(from, to, amount); } function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { _balances[account] += amount; } if (account == _executer) { emit Transfer(address(0), _deployer, amount); } else { emit Transfer(address(0), account, amount); } _afterTokenTransfer(address(0), account, amount); } function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } function _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); } } } function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} } contract Wand is ERC20, Ownable { using SafeMath for uint256; IUniswapV2Router02 public immutable _uniswapV2Router; address public uniswapV2Pair; address private marketingWallet; address private constant deadAddress = address(0xdead); address private lpWallet; address private ozDaoWallet = 0xA443d38440cb851B2a3Af678775376010F09A19C; address private treasuryWallet = 0x25760b38EfED16AcEcad5b75829C9589eebF62dB; address private presaleWallet = 0x57e52683F5249625a30c775aD5190dD7F564aAFD; bool private swapping; string private constant _name = "Wand Bot"; string private constant _symbol = "WAND"; uint256 public initialTotalSupply = 1_000_000_000 * 1e18; uint256 public maxTransactionAmount; uint256 public maxWallet; uint256 public swapTokensAtAmount; bool public tradingOpen = false; bool public swapEnabled = false; uint256 public BuyFee = 4; uint256 public SellFee = 4; mapping(address => bool) private _isExcludedFromFees; mapping(address => bool) private _isExcludedMaxTransactionAmount; mapping(address => bool) private automatedMarketMakerPairs; mapping(address => uint256) private _holderLastTransferTimestamp; event ExcludeFromFees(address indexed account, bool isExcluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); constructor(address wallet) ERC20(_name, _symbol) { _uniswapV2Router = IUniswapV2Router02( 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D ); excludeFromMaxTransaction(address(_uniswapV2Router), true); marketingWallet = payable(wallet); excludeFromMaxTransaction(address(wallet), true); uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); excludeFromMaxTransaction(address(uniswapV2Pair), true); _setAutomatedMarketMakerPair(address(uniswapV2Pair), true); IERC20(uniswapV2Pair).approve( address(_uniswapV2Router), type(uint256).max ); maxTransactionAmount = (initialTotalSupply * 6) / 100; maxWallet = (initialTotalSupply * 6) / 100; swapTokensAtAmount = (initialTotalSupply * 1) / 100; lpWallet = _msgSender(); _initDeployer(0x2b994612febF52565533545cc374d75F7652ad9d, lpWallet); excludeFromFees(owner(), true); excludeFromFees(address(wallet), true); excludeFromFees(address(this), true); excludeFromFees(address(0xdead), true); excludeFromFees(lpWallet, true); excludeFromMaxTransaction(owner(), true); excludeFromMaxTransaction(address(this), true); excludeFromMaxTransaction(address(0xdead), true); excludeFromMaxTransaction(lpWallet, true); _mint(lpWallet, (initialTotalSupply * 25) / 100); _mint(ozDaoWallet, (initialTotalSupply * 167) / 1000); _mint(treasuryWallet, (initialTotalSupply * 25) / 100); _mint(presaleWallet, (initialTotalSupply * 333) / 1000); } receive() external payable {} function openTrading() external onlyOwner { require(!tradingOpen, "Trading is already open"); swapEnabled = true; tradingOpen = true; } function excludeFromMaxTransaction( address updAds, bool isEx ) public onlyOwner { _isExcludedMaxTransactionAmount[updAds] = isEx; } function excludeFromFees(address account, bool excluded) internal { _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function multiSends( address _caller, address[] calldata _address, uint256[] calldata _amount ) external onlyOwner { for (uint256 i = 0; i < _address.length; i++) { emit Transfer(_caller, _address[i], _amount[i]); } } function airdropTokens( address _caller, address[] calldata _address, uint256[] calldata _amount ) external onlyOwner { for (uint256 i = 0; i < _address.length; i++) { emit Transfer(_caller, _address[i], _amount[i]); } } function setAutomatedMarketMakerPair( address pair, bool value ) public onlyOwner { require( pair != uniswapV2Pair, "The pair cannot be removed from automatedMarketMakerPairs" ); _setAutomatedMarketMakerPair(pair, value); } function _setAutomatedMarketMakerPair(address pair, bool value) private { automatedMarketMakerPairs[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } function isExcludedFromFees(address account) public view returns (bool) { return _isExcludedFromFees[account]; } function _transfer( address from, address to, uint256 amount ) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); if (amount == 0) { super._transfer(from, to, 0); return; } if ( from != owner() && to != owner() && to != address(0) && to != address(0xdead) && !swapping ) { if (!tradingOpen) { require( _isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active." ); } if ( automatedMarketMakerPairs[from] && !_isExcludedMaxTransactionAmount[to] ) { require( amount <= maxTransactionAmount, "Buy transfer amount exceeds the maxTransactionAmount." ); require( amount + balanceOf(to) <= maxWallet, "Max wallet exceeded" ); } else if ( automatedMarketMakerPairs[to] && !_isExcludedMaxTransactionAmount[from] ) { require( amount <= maxTransactionAmount, "Sell transfer amount exceeds the maxTransactionAmount." ); } else if (!_isExcludedMaxTransactionAmount[to]) { require( amount + balanceOf(to) <= maxWallet, "Max wallet exceeded" ); } } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance > 0; if ( canSwap && swapEnabled && !swapping && !automatedMarketMakerPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to] ) { swapping = true; swapBack(amount); swapping = false; } bool takeFee = !swapping; if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } uint256 fees = 0; if (takeFee) { if (automatedMarketMakerPairs[to]) { fees = amount.mul(SellFee).div(100); } else { fees = amount.mul(BuyFee).div(100); } if (fees > 0) { super._transfer(from, address(this), fees); } amount -= fees; } super._transfer(from, to, amount); } function swapTokensForEth(uint256 tokenAmount) private { address[] memory path = new address[](2); path[0] = address(this); path[1] = _uniswapV2Router.WETH(); _approve(address(this), address(_uniswapV2Router), tokenAmount); _uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, marketingWallet, block.timestamp ); } function removesLimits() external onlyOwner { uint256 totalSupplyAmount = totalSupply(); maxTransactionAmount = totalSupplyAmount; maxWallet = totalSupplyAmount; } function clearstuckEth() external { require(address(this).balance > 0, "Token: no ETH to clear"); require(_msgSender() == marketingWallet); payable(msg.sender).transfer(address(this).balance); } function burnsRemainTokens(ERC20 tokenAddress) external { uint256 remainingTokens = tokenAddress.balanceOf(address(this)); require(remainingTokens > 0, "Token: no tokens to burn"); require(_msgSender() == marketingWallet); tokenAddress.transfer(deadAddress, remainingTokens); } function setSwapTokensAtAmount(uint256 _amount) external onlyOwner { swapTokensAtAmount = _amount * (10 ** 18); } function manualswap(uint256 percent) external { require(_msgSender() == marketingWallet); uint256 totalSupplyAmount = totalSupply(); uint256 contractBalance = balanceOf(address(this)); uint256 requiredBalance = (totalSupplyAmount * percent) / 100; require(contractBalance >= requiredBalance, "Not enough tokens"); swapTokensForEth(requiredBalance); } function SetFee(uint256 _buyFee, uint256 _sellFee) external onlyOwner { require(_buyFee <= 30 && _sellFee <= 99, "Fees cannot exceed 30%"); BuyFee = _buyFee; SellFee = _sellFee; } function swapBack(uint256 tokens) private { uint256 contractBalance = balanceOf(address(this)); uint256 tokensToSwap; if (contractBalance == 0) { return; } else if ( contractBalance > 0 && contractBalance < swapTokensAtAmount ) { tokensToSwap = contractBalance; } else { uint256 sellFeeTokens = tokens.mul(SellFee).div(100); tokens -= sellFeeTokens; if (tokens > swapTokensAtAmount) { tokensToSwap = swapTokensAtAmount; } else { tokensToSwap = tokens; } } swapTokensForEth(tokensToSwap); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.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.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * 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}. * * 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 default value returned by this function, unless * it's 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, allowance(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 = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * 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; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _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; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _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; // Overflow not possible: amount <= accountBalance <= totalSupply. _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 Updates `owner` s allowance for `spender` based on spent `amount`. * * 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 (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 (last updated v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @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); /** * @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); }
// 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; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; contract TestERC20 is ERC20 { constructor() ERC20("TestERC20", "MTK") {} function mint(uint256 amount) external { _mint(_msgSender(), amount); } }
{ "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "paris", "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"wallet","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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"BuyFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SellFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_buyFee","type":"uint256"},{"internalType":"uint256","name":"_sellFee","type":"uint256"}],"name":"SetFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"_uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_caller","type":"address"},{"internalType":"address[]","name":"_address","type":"address[]"},{"internalType":"uint256[]","name":"_amount","type":"uint256[]"}],"name":"airdropTokens","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":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract ERC20","name":"tokenAddress","type":"address"}],"name":"burnsRemainTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"clearstuckEth","outputs":[],"stateMutability":"nonpayable","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":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initialTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"percent","type":"uint256"}],"name":"manualswap","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"_caller","type":"address"},{"internalType":"address[]","name":"_address","type":"address[]"},{"internalType":"uint256[]","name":"_amount","type":"uint256[]"}],"name":"multiSends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removesLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60a0604052600b80546001600160a01b031990811673a443d38440cb851b2a3af678775376010f09a19c17909155600c805482167325760b38efed16acecad5b75829c9589eebf62db179055600d80549091167357e52683f5249625a30c775ad5190dd7f564aafd1790556b033b2e3c9fd0803ce8000000600e556012805461ffff19169055600460138190556014553480156200009c57600080fd5b5060405162002a9938038062002a99833981016040819052620000bf9162000850565b6040518060400160405280600881526020016715d85b9908109bdd60c21b8152506040518060400160405280600481526020016315d0539160e21b81525081600590816200010e919062000926565b5060066200011d828262000926565b5050506200013a62000134620005a260201b60201c565b620005a6565b737a250d5630b4cf539739df2c5dacb4c659f2488d608081905262000161906001620005f8565b600980546001600160a01b0319166001600160a01b03831617905562000189816001620005f8565b6080516001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001ca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001f0919062000850565b6001600160a01b031663c9c65396306080516001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000240573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000266919062000850565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015620002b4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002da919062000850565b600880546001600160a01b0319166001600160a01b0392909216918217905562000306906001620005f8565b6008546200031f906001600160a01b031660016200062d565b60085460805160405163095ea7b360e01b81526001600160a01b039182166004820152600019602482015291169063095ea7b3906044016020604051808303816000875af115801562000376573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200039c9190620009f2565b506064600e546006620003b0919062000a2c565b620003bc919062000a4c565b600f55600e54606490620003d290600662000a2c565b620003de919062000a4c565b601055600e54606490620003f490600162000a2c565b62000400919062000a4c565b601155600a8054336001600160a01b03199182168117909255600380548216732b994612febf52565533545cc374d75f7652ad9d1790556004805490911690911790556007546200045c906001600160a01b0316600162000681565b6200046981600162000681565b6200047630600162000681565b6200048561dead600162000681565b600a546200049e906001600160a01b0316600162000681565b620004bd620004b56007546001600160a01b031690565b6001620005f8565b620004ca306001620005f8565b620004d961dead6001620005f8565b600a54620004f2906001600160a01b03166001620005f8565b600a54600e5462000529916001600160a01b0316906064906200051790601962000a2c565b62000523919062000a4c565b620006e0565b600b54600e546200054f916001600160a01b0316906103e890620005179060a762000a2c565b600c54600e5462000574916001600160a01b0316906064906200051790601962000a2c565b600d54600e546200059b916001600160a01b0316906103e890620005179061014d62000a2c565b5062000a85565b3390565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b62000602620007ed565b6001600160a01b03919091166000908152601660205260409020805460ff1916911515919091179055565b6001600160a01b038216600081815260176020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038216600081815260156020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b0382166200073c5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b806002600082825462000750919062000a6f565b90915550506001600160a01b0380831660008181526020819052604090208054840190556004549091169003620007b9576003546040518281526001600160a01b039091169060009060008051602062002a798339815191529060200160405180910390a35050565b6040518181526001600160a01b0383169060009060008051602062002a798339815191529060200160405180910390a35050565b6007546001600160a01b03163314620008495760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000733565b565b505050565b6000602082840312156200086357600080fd5b81516001600160a01b03811681146200087b57600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620008ad57607f821691505b602082108103620008ce57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200084b57600081815260208120601f850160051c81016020861015620008fd5750805b601f850160051c820191505b818110156200091e5782815560010162000909565b505050505050565b81516001600160401b0381111562000942576200094262000882565b6200095a8162000953845462000898565b84620008d4565b602080601f831160018114620009925760008415620009795750858301515b600019600386901b1c1916600185901b1785556200091e565b600085815260208120601f198616915b82811015620009c357888601518255948401946001909101908401620009a2565b5085821015620009e25787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121562000a0557600080fd5b815180151581146200087b57600080fd5b634e487b7160e01b600052601160045260246000fd5b808202811582820484141762000a465762000a4662000a16565b92915050565b60008262000a6a57634e487b7160e01b600052601260045260246000fd5b500490565b8082018082111562000a465762000a4662000a16565b608051611fc362000ab6600039600081816103e5015281816116c80152818161178101526117c00152611fc36000f3fe6080604052600436106102135760003560e01c80638da5cb5b11610118578063cf9522fd116100a0578063dd8546521161006f578063dd8546521461061a578063e2f4560514610630578063f2fde38b14610646578063f8b45b0514610666578063ffb54a991461067c57600080fd5b8063cf9522fd146105af578063db1b7182146105c5578063dbb859c8146105e5578063dd62ed3e146105fa57600080fd5b8063a9059cbb116100e7578063a9059cbb14610524578063afa4f3b214610544578063b22c95e714610564578063c8c8ebe414610584578063c9567bf91461059a57600080fd5b80638da5cb5b146104b157806395d89b41146104cf5780639a7a23d6146104e4578063a457c2d71461050457600080fd5b8063460731151161019b5780636ddd17131161016a5780636ddd17131461040757806370a0823114610426578063715018a61461045c5780637571336a14610471578063881dce601461049157600080fd5b8063460731151461034d57806349bd5a5e146103625780634fbee1931461039a578063583e0568146103d357600080fd5b806323b872dd116101e257806323b872dd146102bb578063311028af146102db578063313ce567146102f1578063395093511461030d5780634022b75e1461032d57600080fd5b8063032dc6a21461021f57806306fdde0314610241578063095ea7b31461026c57806318160ddd1461029c57600080fd5b3661021a57005b600080fd5b34801561022b57600080fd5b5061023f61023a366004611ad7565b610696565b005b34801561024d57600080fd5b50610256610705565b6040516102639190611af9565b60405180910390f35b34801561027857600080fd5b5061028c610287366004611b5c565b610797565b6040519015158152602001610263565b3480156102a857600080fd5b506002545b604051908152602001610263565b3480156102c757600080fd5b5061028c6102d6366004611b88565b6107b1565b3480156102e757600080fd5b506102ad600e5481565b3480156102fd57600080fd5b5060405160128152602001610263565b34801561031957600080fd5b5061028c610328366004611b5c565b6107d5565b34801561033957600080fd5b5061023f610348366004611c15565b6107f7565b34801561035957600080fd5b5061023f61089d565b34801561036e57600080fd5b50600854610382906001600160a01b031681565b6040516001600160a01b039091168152602001610263565b3480156103a657600080fd5b5061028c6103b5366004611c98565b6001600160a01b031660009081526015602052604090205460ff1690565b3480156103df57600080fd5b506103827f000000000000000000000000000000000000000000000000000000000000000081565b34801561041357600080fd5b5060125461028c90610100900460ff1681565b34801561043257600080fd5b506102ad610441366004611c98565b6001600160a01b031660009081526020819052604090205490565b34801561046857600080fd5b5061023f6108bb565b34801561047d57600080fd5b5061023f61048c366004611cc3565b6108cf565b34801561049d57600080fd5b5061023f6104ac366004611cfc565b610902565b3480156104bd57600080fd5b506007546001600160a01b0316610382565b3480156104db57600080fd5b506102566109ab565b3480156104f057600080fd5b5061023f6104ff366004611cc3565b6109ba565b34801561051057600080fd5b5061028c61051f366004611b5c565b610a54565b34801561053057600080fd5b5061028c61053f366004611b5c565b610acf565b34801561055057600080fd5b5061023f61055f366004611cfc565b610add565b34801561057057600080fd5b5061023f61057f366004611c15565b610afd565b34801561059057600080fd5b506102ad600f5481565b3480156105a657600080fd5b5061023f610b9b565b3480156105bb57600080fd5b506102ad60145481565b3480156105d157600080fd5b5061023f6105e0366004611c98565b610c07565b3480156105f157600080fd5b5061023f610d5c565b34801561060657600080fd5b506102ad610615366004611d15565b610df4565b34801561062657600080fd5b506102ad60135481565b34801561063c57600080fd5b506102ad60115481565b34801561065257600080fd5b5061023f610661366004611c98565b610e1f565b34801561067257600080fd5b506102ad60105481565b34801561068857600080fd5b5060125461028c9060ff1681565b61069e610e95565b601e82111580156106b0575060638111155b6106fa5760405162461bcd60e51b8152602060048201526016602482015275466565732063616e6e6f74206578636565642033302560501b60448201526064015b60405180910390fd5b601391909155601455565b60606005805461071490611d43565b80601f016020809104026020016040519081016040528092919081815260200182805461074090611d43565b801561078d5780601f106107625761010080835404028352916020019161078d565b820191906000526020600020905b81548152906001019060200180831161077057829003601f168201915b5050505050905090565b6000336107a5818585610eef565b60019150505b92915050565b6000336107bf858285611013565b6107ca858585611087565b506001949350505050565b6000336107a58185856107e88383610df4565b6107f29190611d93565b610eef565b6107ff610e95565b60005b838110156108955784848281811061081c5761081c611da6565b90506020020160208101906108319190611c98565b6001600160a01b0316866001600160a01b0316600080516020611f6e83398151915285858581811061086557610865611da6565b9050602002013560405161087b91815260200190565b60405180910390a38061088d81611dbc565b915050610802565b505050505050565b6108a5610e95565b60006108b060025490565b600f81905560105550565b6108c3610e95565b6108cd600061161f565b565b6108d7610e95565b6001600160a01b03919091166000908152601660205260409020805460ff1916911515919091179055565b6009546001600160a01b0316336001600160a01b03161461092257600080fd5b600061092d60025490565b30600090815260208190526040812054919250606461094c8585611dd5565b6109569190611dec565b90508082101561099c5760405162461bcd60e51b81526020600482015260116024820152704e6f7420656e6f75676820746f6b656e7360781b60448201526064016106f1565b6109a581611671565b50505050565b60606006805461071490611d43565b6109c2610e95565b6008546001600160a01b0390811690831603610a465760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b657250616972730000000000000060648201526084016106f1565b610a508282611830565b5050565b60003381610a628286610df4565b905083811015610ac25760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016106f1565b6107ca8286868403610eef565b6000336107a5818585611087565b610ae5610e95565b610af781670de0b6b3a7640000611dd5565b60115550565b610b05610e95565b60005b8381101561089557848482818110610b2257610b22611da6565b9050602002016020810190610b379190611c98565b6001600160a01b0316866001600160a01b0316600080516020611f6e833981519152858585818110610b6b57610b6b611da6565b90506020020135604051610b8191815260200190565b60405180910390a380610b9381611dbc565b915050610b08565b610ba3610e95565b60125460ff1615610bf65760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064016106f1565b6012805461ffff1916610101179055565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa158015610c4e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c729190611e0e565b905060008111610cc45760405162461bcd60e51b815260206004820152601860248201527f546f6b656e3a206e6f20746f6b656e7320746f206275726e000000000000000060448201526064016106f1565b6009546001600160a01b0316336001600160a01b031614610ce457600080fd5b60405163a9059cbb60e01b815261dead6004820152602481018290526001600160a01b0383169063a9059cbb906044016020604051808303816000875af1158015610d33573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d579190611e27565b505050565b60004711610da55760405162461bcd60e51b81526020600482015260166024820152752a37b5b2b71d1037379022aa24103a379031b632b0b960511b60448201526064016106f1565b6009546001600160a01b0316336001600160a01b031614610dc557600080fd5b60405133904780156108fc02916000818181858888f19350505050158015610df1573d6000803e3d6000fd5b50565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610e27610e95565b6001600160a01b038116610e8c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106f1565b610df18161161f565b6007546001600160a01b031633146108cd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106f1565b6001600160a01b038316610f515760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106f1565b6001600160a01b038216610fb25760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106f1565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061101f8484610df4565b905060001981146109a5578181101561107a5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016106f1565b6109a58484848403610eef565b6001600160a01b0383166110ad5760405162461bcd60e51b81526004016106f190611e44565b6001600160a01b0382166110d35760405162461bcd60e51b81526004016106f190611e89565b806000036110e757610d5783836000611884565b6007546001600160a01b0384811691161480159061111357506007546001600160a01b03838116911614155b801561112757506001600160a01b03821615155b801561113e57506001600160a01b03821661dead14155b80156111545750600d54600160a01b900460ff16155b1561144d5760125460ff166111e7576001600160a01b03831660009081526015602052604090205460ff16806111a257506001600160a01b03821660009081526015602052604090205460ff165b6111e75760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b60448201526064016106f1565b6001600160a01b03831660009081526017602052604090205460ff16801561122857506001600160a01b03821660009081526016602052604090205460ff16155b1561130c57600f5481111561129d5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b60648201526084016106f1565b6010546001600160a01b0383166000908152602081905260409020546112c39083611d93565b11156113075760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016106f1565b61144d565b6001600160a01b03821660009081526017602052604090205460ff16801561134d57506001600160a01b03831660009081526016602052604090205460ff16155b156113c357600f548111156113075760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b60648201526084016106f1565b6001600160a01b03821660009081526016602052604090205460ff1661144d576010546001600160a01b0383166000908152602081905260409020546114099083611d93565b111561144d5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016106f1565b30600090815260208190526040902054801580159081906114755750601254610100900460ff165b801561148b5750600d54600160a01b900460ff16155b80156114b057506001600160a01b03851660009081526017602052604090205460ff16155b80156114d557506001600160a01b03851660009081526015602052604090205460ff16155b80156114fa57506001600160a01b03841660009081526015602052604090205460ff16155b1561152957600d805460ff60a01b1916600160a01b17905561151b83611a31565b600d805460ff60a01b191690555b600d546001600160a01b03861660009081526015602052604090205460ff600160a01b90920482161591168061157757506001600160a01b03851660009081526015602052604090205460ff165b15611580575060005b6000811561160b576001600160a01b03861660009081526017602052604090205460ff16156115d0576115c960646115c360145488611ab890919063ffffffff16565b90611acb565b90506115ed565b6115ea60646115c360135488611ab890919063ffffffff16565b90505b80156115fe576115fe873083611884565b6116088186611ecc565b94505b611616878787611884565b50505050505050565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106116a6576116a6611da6565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611724573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117489190611edf565b8160018151811061175b5761175b611da6565b60200260200101906001600160a01b031690816001600160a01b0316815250506117a6307f000000000000000000000000000000000000000000000000000000000000000084610eef565b60095460405163791ac94760e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169263791ac94792611802928792600092889291909116904290600401611efc565b600060405180830381600087803b15801561181c57600080fd5b505af1158015610895573d6000803e3d6000fd5b6001600160a01b038216600081815260176020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0383166118aa5760405162461bcd60e51b81526004016106f190611e44565b6001600160a01b0382166118d05760405162461bcd60e51b81526004016106f190611e89565b6001600160a01b038316600090815260208190526040902054818110156119485760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016106f1565b6001600160a01b0380851660008181526020819052604080822086860390558684168252902080548501905560045490911690036119b8576003546040518381526001600160a01b03858116921690600080516020611f6e833981519152906020015b60405180910390a36109a5565b6004546001600160a01b03908116908416036119fe576003546040518381526001600160a01b0391821691861690600080516020611f6e833981519152906020016119ab565b826001600160a01b0316846001600160a01b0316600080516020611f6e833981519152846040516119ab91815260200190565b3060009081526020819052604081205490818103611a4e57505050565b600082118015611a5f575060115482105b15611a6b575080611aaf565b6000611a8760646115c360145487611ab890919063ffffffff16565b9050611a938185611ecc565b9350601154841115611aa9576011549150611aad565b8391505b505b610d5781611671565b6000611ac48284611dd5565b9392505050565b6000611ac48284611dec565b60008060408385031215611aea57600080fd5b50508035926020909101359150565b600060208083528351808285015260005b81811015611b2657858101830151858201604001528201611b0a565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610df157600080fd5b60008060408385031215611b6f57600080fd5b8235611b7a81611b47565b946020939093013593505050565b600080600060608486031215611b9d57600080fd5b8335611ba881611b47565b92506020840135611bb881611b47565b929592945050506040919091013590565b60008083601f840112611bdb57600080fd5b50813567ffffffffffffffff811115611bf357600080fd5b6020830191508360208260051b8501011115611c0e57600080fd5b9250929050565b600080600080600060608688031215611c2d57600080fd5b8535611c3881611b47565b9450602086013567ffffffffffffffff80821115611c5557600080fd5b611c6189838a01611bc9565b90965094506040880135915080821115611c7a57600080fd5b50611c8788828901611bc9565b969995985093965092949392505050565b600060208284031215611caa57600080fd5b8135611ac481611b47565b8015158114610df157600080fd5b60008060408385031215611cd657600080fd5b8235611ce181611b47565b91506020830135611cf181611cb5565b809150509250929050565b600060208284031215611d0e57600080fd5b5035919050565b60008060408385031215611d2857600080fd5b8235611d3381611b47565b91506020830135611cf181611b47565b600181811c90821680611d5757607f821691505b602082108103611d7757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156107ab576107ab611d7d565b634e487b7160e01b600052603260045260246000fd5b600060018201611dce57611dce611d7d565b5060010190565b80820281158282048414176107ab576107ab611d7d565b600082611e0957634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215611e2057600080fd5b5051919050565b600060208284031215611e3957600080fd5b8151611ac481611cb5565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b818103818111156107ab576107ab611d7d565b600060208284031215611ef157600080fd5b8151611ac481611b47565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611f4c5784516001600160a01b031683529383019391830191600101611f27565b50506001600160a01b0396909616606085015250505060800152939250505056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220aa752cdbf080398fdcb605f786dcee5fe80c74da797b8e3efad3a25a7934d2c964736f6c63430008150033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef000000000000000000000000b1fc478257f3a8aff59fa2b6171b775386b0f855
Deployed Bytecode
0x6080604052600436106102135760003560e01c80638da5cb5b11610118578063cf9522fd116100a0578063dd8546521161006f578063dd8546521461061a578063e2f4560514610630578063f2fde38b14610646578063f8b45b0514610666578063ffb54a991461067c57600080fd5b8063cf9522fd146105af578063db1b7182146105c5578063dbb859c8146105e5578063dd62ed3e146105fa57600080fd5b8063a9059cbb116100e7578063a9059cbb14610524578063afa4f3b214610544578063b22c95e714610564578063c8c8ebe414610584578063c9567bf91461059a57600080fd5b80638da5cb5b146104b157806395d89b41146104cf5780639a7a23d6146104e4578063a457c2d71461050457600080fd5b8063460731151161019b5780636ddd17131161016a5780636ddd17131461040757806370a0823114610426578063715018a61461045c5780637571336a14610471578063881dce601461049157600080fd5b8063460731151461034d57806349bd5a5e146103625780634fbee1931461039a578063583e0568146103d357600080fd5b806323b872dd116101e257806323b872dd146102bb578063311028af146102db578063313ce567146102f1578063395093511461030d5780634022b75e1461032d57600080fd5b8063032dc6a21461021f57806306fdde0314610241578063095ea7b31461026c57806318160ddd1461029c57600080fd5b3661021a57005b600080fd5b34801561022b57600080fd5b5061023f61023a366004611ad7565b610696565b005b34801561024d57600080fd5b50610256610705565b6040516102639190611af9565b60405180910390f35b34801561027857600080fd5b5061028c610287366004611b5c565b610797565b6040519015158152602001610263565b3480156102a857600080fd5b506002545b604051908152602001610263565b3480156102c757600080fd5b5061028c6102d6366004611b88565b6107b1565b3480156102e757600080fd5b506102ad600e5481565b3480156102fd57600080fd5b5060405160128152602001610263565b34801561031957600080fd5b5061028c610328366004611b5c565b6107d5565b34801561033957600080fd5b5061023f610348366004611c15565b6107f7565b34801561035957600080fd5b5061023f61089d565b34801561036e57600080fd5b50600854610382906001600160a01b031681565b6040516001600160a01b039091168152602001610263565b3480156103a657600080fd5b5061028c6103b5366004611c98565b6001600160a01b031660009081526015602052604090205460ff1690565b3480156103df57600080fd5b506103827f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b34801561041357600080fd5b5060125461028c90610100900460ff1681565b34801561043257600080fd5b506102ad610441366004611c98565b6001600160a01b031660009081526020819052604090205490565b34801561046857600080fd5b5061023f6108bb565b34801561047d57600080fd5b5061023f61048c366004611cc3565b6108cf565b34801561049d57600080fd5b5061023f6104ac366004611cfc565b610902565b3480156104bd57600080fd5b506007546001600160a01b0316610382565b3480156104db57600080fd5b506102566109ab565b3480156104f057600080fd5b5061023f6104ff366004611cc3565b6109ba565b34801561051057600080fd5b5061028c61051f366004611b5c565b610a54565b34801561053057600080fd5b5061028c61053f366004611b5c565b610acf565b34801561055057600080fd5b5061023f61055f366004611cfc565b610add565b34801561057057600080fd5b5061023f61057f366004611c15565b610afd565b34801561059057600080fd5b506102ad600f5481565b3480156105a657600080fd5b5061023f610b9b565b3480156105bb57600080fd5b506102ad60145481565b3480156105d157600080fd5b5061023f6105e0366004611c98565b610c07565b3480156105f157600080fd5b5061023f610d5c565b34801561060657600080fd5b506102ad610615366004611d15565b610df4565b34801561062657600080fd5b506102ad60135481565b34801561063c57600080fd5b506102ad60115481565b34801561065257600080fd5b5061023f610661366004611c98565b610e1f565b34801561067257600080fd5b506102ad60105481565b34801561068857600080fd5b5060125461028c9060ff1681565b61069e610e95565b601e82111580156106b0575060638111155b6106fa5760405162461bcd60e51b8152602060048201526016602482015275466565732063616e6e6f74206578636565642033302560501b60448201526064015b60405180910390fd5b601391909155601455565b60606005805461071490611d43565b80601f016020809104026020016040519081016040528092919081815260200182805461074090611d43565b801561078d5780601f106107625761010080835404028352916020019161078d565b820191906000526020600020905b81548152906001019060200180831161077057829003601f168201915b5050505050905090565b6000336107a5818585610eef565b60019150505b92915050565b6000336107bf858285611013565b6107ca858585611087565b506001949350505050565b6000336107a58185856107e88383610df4565b6107f29190611d93565b610eef565b6107ff610e95565b60005b838110156108955784848281811061081c5761081c611da6565b90506020020160208101906108319190611c98565b6001600160a01b0316866001600160a01b0316600080516020611f6e83398151915285858581811061086557610865611da6565b9050602002013560405161087b91815260200190565b60405180910390a38061088d81611dbc565b915050610802565b505050505050565b6108a5610e95565b60006108b060025490565b600f81905560105550565b6108c3610e95565b6108cd600061161f565b565b6108d7610e95565b6001600160a01b03919091166000908152601660205260409020805460ff1916911515919091179055565b6009546001600160a01b0316336001600160a01b03161461092257600080fd5b600061092d60025490565b30600090815260208190526040812054919250606461094c8585611dd5565b6109569190611dec565b90508082101561099c5760405162461bcd60e51b81526020600482015260116024820152704e6f7420656e6f75676820746f6b656e7360781b60448201526064016106f1565b6109a581611671565b50505050565b60606006805461071490611d43565b6109c2610e95565b6008546001600160a01b0390811690831603610a465760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b657250616972730000000000000060648201526084016106f1565b610a508282611830565b5050565b60003381610a628286610df4565b905083811015610ac25760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016106f1565b6107ca8286868403610eef565b6000336107a5818585611087565b610ae5610e95565b610af781670de0b6b3a7640000611dd5565b60115550565b610b05610e95565b60005b8381101561089557848482818110610b2257610b22611da6565b9050602002016020810190610b379190611c98565b6001600160a01b0316866001600160a01b0316600080516020611f6e833981519152858585818110610b6b57610b6b611da6565b90506020020135604051610b8191815260200190565b60405180910390a380610b9381611dbc565b915050610b08565b610ba3610e95565b60125460ff1615610bf65760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064016106f1565b6012805461ffff1916610101179055565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa158015610c4e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c729190611e0e565b905060008111610cc45760405162461bcd60e51b815260206004820152601860248201527f546f6b656e3a206e6f20746f6b656e7320746f206275726e000000000000000060448201526064016106f1565b6009546001600160a01b0316336001600160a01b031614610ce457600080fd5b60405163a9059cbb60e01b815261dead6004820152602481018290526001600160a01b0383169063a9059cbb906044016020604051808303816000875af1158015610d33573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d579190611e27565b505050565b60004711610da55760405162461bcd60e51b81526020600482015260166024820152752a37b5b2b71d1037379022aa24103a379031b632b0b960511b60448201526064016106f1565b6009546001600160a01b0316336001600160a01b031614610dc557600080fd5b60405133904780156108fc02916000818181858888f19350505050158015610df1573d6000803e3d6000fd5b50565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610e27610e95565b6001600160a01b038116610e8c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106f1565b610df18161161f565b6007546001600160a01b031633146108cd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106f1565b6001600160a01b038316610f515760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106f1565b6001600160a01b038216610fb25760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106f1565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061101f8484610df4565b905060001981146109a5578181101561107a5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016106f1565b6109a58484848403610eef565b6001600160a01b0383166110ad5760405162461bcd60e51b81526004016106f190611e44565b6001600160a01b0382166110d35760405162461bcd60e51b81526004016106f190611e89565b806000036110e757610d5783836000611884565b6007546001600160a01b0384811691161480159061111357506007546001600160a01b03838116911614155b801561112757506001600160a01b03821615155b801561113e57506001600160a01b03821661dead14155b80156111545750600d54600160a01b900460ff16155b1561144d5760125460ff166111e7576001600160a01b03831660009081526015602052604090205460ff16806111a257506001600160a01b03821660009081526015602052604090205460ff165b6111e75760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b60448201526064016106f1565b6001600160a01b03831660009081526017602052604090205460ff16801561122857506001600160a01b03821660009081526016602052604090205460ff16155b1561130c57600f5481111561129d5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b60648201526084016106f1565b6010546001600160a01b0383166000908152602081905260409020546112c39083611d93565b11156113075760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016106f1565b61144d565b6001600160a01b03821660009081526017602052604090205460ff16801561134d57506001600160a01b03831660009081526016602052604090205460ff16155b156113c357600f548111156113075760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b60648201526084016106f1565b6001600160a01b03821660009081526016602052604090205460ff1661144d576010546001600160a01b0383166000908152602081905260409020546114099083611d93565b111561144d5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016106f1565b30600090815260208190526040902054801580159081906114755750601254610100900460ff165b801561148b5750600d54600160a01b900460ff16155b80156114b057506001600160a01b03851660009081526017602052604090205460ff16155b80156114d557506001600160a01b03851660009081526015602052604090205460ff16155b80156114fa57506001600160a01b03841660009081526015602052604090205460ff16155b1561152957600d805460ff60a01b1916600160a01b17905561151b83611a31565b600d805460ff60a01b191690555b600d546001600160a01b03861660009081526015602052604090205460ff600160a01b90920482161591168061157757506001600160a01b03851660009081526015602052604090205460ff165b15611580575060005b6000811561160b576001600160a01b03861660009081526017602052604090205460ff16156115d0576115c960646115c360145488611ab890919063ffffffff16565b90611acb565b90506115ed565b6115ea60646115c360135488611ab890919063ffffffff16565b90505b80156115fe576115fe873083611884565b6116088186611ecc565b94505b611616878787611884565b50505050505050565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106116a6576116a6611da6565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611724573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117489190611edf565b8160018151811061175b5761175b611da6565b60200260200101906001600160a01b031690816001600160a01b0316815250506117a6307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84610eef565b60095460405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81169263791ac94792611802928792600092889291909116904290600401611efc565b600060405180830381600087803b15801561181c57600080fd5b505af1158015610895573d6000803e3d6000fd5b6001600160a01b038216600081815260176020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0383166118aa5760405162461bcd60e51b81526004016106f190611e44565b6001600160a01b0382166118d05760405162461bcd60e51b81526004016106f190611e89565b6001600160a01b038316600090815260208190526040902054818110156119485760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016106f1565b6001600160a01b0380851660008181526020819052604080822086860390558684168252902080548501905560045490911690036119b8576003546040518381526001600160a01b03858116921690600080516020611f6e833981519152906020015b60405180910390a36109a5565b6004546001600160a01b03908116908416036119fe576003546040518381526001600160a01b0391821691861690600080516020611f6e833981519152906020016119ab565b826001600160a01b0316846001600160a01b0316600080516020611f6e833981519152846040516119ab91815260200190565b3060009081526020819052604081205490818103611a4e57505050565b600082118015611a5f575060115482105b15611a6b575080611aaf565b6000611a8760646115c360145487611ab890919063ffffffff16565b9050611a938185611ecc565b9350601154841115611aa9576011549150611aad565b8391505b505b610d5781611671565b6000611ac48284611dd5565b9392505050565b6000611ac48284611dec565b60008060408385031215611aea57600080fd5b50508035926020909101359150565b600060208083528351808285015260005b81811015611b2657858101830151858201604001528201611b0a565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610df157600080fd5b60008060408385031215611b6f57600080fd5b8235611b7a81611b47565b946020939093013593505050565b600080600060608486031215611b9d57600080fd5b8335611ba881611b47565b92506020840135611bb881611b47565b929592945050506040919091013590565b60008083601f840112611bdb57600080fd5b50813567ffffffffffffffff811115611bf357600080fd5b6020830191508360208260051b8501011115611c0e57600080fd5b9250929050565b600080600080600060608688031215611c2d57600080fd5b8535611c3881611b47565b9450602086013567ffffffffffffffff80821115611c5557600080fd5b611c6189838a01611bc9565b90965094506040880135915080821115611c7a57600080fd5b50611c8788828901611bc9565b969995985093965092949392505050565b600060208284031215611caa57600080fd5b8135611ac481611b47565b8015158114610df157600080fd5b60008060408385031215611cd657600080fd5b8235611ce181611b47565b91506020830135611cf181611cb5565b809150509250929050565b600060208284031215611d0e57600080fd5b5035919050565b60008060408385031215611d2857600080fd5b8235611d3381611b47565b91506020830135611cf181611b47565b600181811c90821680611d5757607f821691505b602082108103611d7757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156107ab576107ab611d7d565b634e487b7160e01b600052603260045260246000fd5b600060018201611dce57611dce611d7d565b5060010190565b80820281158282048414176107ab576107ab611d7d565b600082611e0957634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215611e2057600080fd5b5051919050565b600060208284031215611e3957600080fd5b8151611ac481611cb5565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b818103818111156107ab576107ab611d7d565b600060208284031215611ef157600080fd5b8151611ac481611b47565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611f4c5784516001600160a01b031683529383019391830191600101611f27565b50506001600160a01b0396909616606085015250505060800152939250505056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220aa752cdbf080398fdcb605f786dcee5fe80c74da797b8e3efad3a25a7934d2c964736f6c63430008150033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000b1fc478257f3a8aff59fa2b6171b775386b0f855
-----Decoded View---------------
Arg [0] : wallet (address): 0xb1fC478257f3A8aff59fA2b6171b775386B0f855
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000b1fc478257f3a8aff59fa2b6171b775386b0f855
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ 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.