Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
DeFi
Overview
Max Total Supply
10,000,000 TAS
Holders
2,420 ( -0.041%)
Market
Price
$0.01 @ 0.000002 ETH (-3.51%)
Onchain Market Cap
$58,562.00
Circulating Supply Market Cap
$0.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
2,933.670290397299073258 TASValue
$17.18 ( ~0.00495867383824672 Eth) [0.0293%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
TAS
Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.12; import {Ownable} from "openzeppelin/access/Ownable.sol"; import {ERC20} from "openzeppelin/token/ERC20/ERC20.sol"; import {IERC20} from "openzeppelin/token/ERC20/IERC20.sol"; import {SafeMath} from "openzeppelin/utils/math/SafeMath.sol"; import {IUniswapV2Factory} from "./interfaces/IUniswapV2Factory.sol"; import {IUniswapV2Router02} from "./interfaces/IUniswapV2Router02.sol"; contract TAS is ERC20, Ownable { using SafeMath for uint256; IUniswapV2Router02 public immutable uniswapRouter; address public uniswapV2Pair; bool private swapping; address public treasuryWallet; uint256 public maxTransactionAmount; uint256 public swapTokensAtAmount; uint256 public maxWallet; bool public limitsInEffect = true; bool public tradingActive = false; bool public swapEnabled = false; bool public blacklistRenounced = false; // Anti-bot and anti-whale mappings and variables mapping(address => bool) blacklisted; uint256 public buyTotalFees; uint256 public buyTreasuryFee; uint256 public sellTotalFees; uint256 public sellTreasuryFee; uint256 public tokensForTreasury; /******************/ // exclude from fees and max transaction amount mapping(address => bool) private _isExcludedFromFees; mapping(address => bool) public _isExcludedMaxTransactionAmount; // store addresses that a automatic market maker pairs. Any transfer *to* these addresses // could be subject to a maximum transfer amount mapping(address => bool) public automatedMarketMakerPairs; event UpdateUniswapRouter( address indexed newAddress, address indexed oldAddress ); event ExcludeFromFees(address indexed account, bool isExcluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event treasuryWalletUpdated( address indexed newWallet, address indexed oldWallet ); constructor() ERC20("Tao Accounting System", "TAS") { IUniswapV2Router02 _uniswapRouter = IUniswapV2Router02( 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D ); excludeFromMaxTransaction(address(_uniswapRouter), true); uniswapRouter = _uniswapRouter; uint256 _buyTreasuryFee = 30; uint256 _sellTreasuryFee = 30; uint256 totalSupply = 10_000_000 * 1e18; maxTransactionAmount = 100_000 * 1e18; maxWallet = 100_000 * 1e18; swapTokensAtAmount = (totalSupply * 5) / 10000; buyTreasuryFee = _buyTreasuryFee; buyTotalFees = buyTreasuryFee; sellTreasuryFee = _sellTreasuryFee; sellTotalFees = sellTreasuryFee; treasuryWallet = address(0x1395cFB46E88ca4FbCCf46c35a91a6764551e5B6); excludeFromFees(owner(), true); excludeFromFees(address(this), true); excludeFromMaxTransaction(owner(), true); excludeFromMaxTransaction(address(this), true); _mint(msg.sender, totalSupply); } receive() external payable {} function createPair() external onlyOwner { uniswapV2Pair = IUniswapV2Factory(uniswapRouter.factory()) .createPair(address(this), uniswapRouter.WETH()); excludeFromMaxTransaction(address(uniswapV2Pair), true); _setAutomatedMarketMakerPair(address(uniswapV2Pair), true); } function enableTrading() external onlyOwner { tradingActive = true; swapEnabled = true; } // remove limits after token is stable function removeLimits() external onlyOwner returns (bool) { limitsInEffect = false; return true; } // change the minimum amount of tokens to sell from fees function updateSwapTokensAtAmount(uint256 newAmount) external onlyOwner returns (bool) { swapTokensAtAmount = newAmount; return true; } function updateMaxTxnAmount(uint256 newNum) external onlyOwner { require( newNum >= ((totalSupply() * 5) / 1000) / 1e18, "Cannot set maxTransactionAmount lower than 0.5%" ); maxTransactionAmount = newNum * (10**18); } function updateMaxWalletAmount(uint256 newNum) external onlyOwner { require( newNum >= ((totalSupply() * 10) / 1000) / 1e18, "Cannot set maxWallet lower than 1.0%" ); maxWallet = newNum * (10**18); } function excludeFromMaxTransaction(address updAds, bool isEx) public onlyOwner { _isExcludedMaxTransactionAmount[updAds] = isEx; } // only use to disable contract sales if absolutely necessary (emergency use only) function updateSwapEnabled(bool enabled) external onlyOwner { swapEnabled = enabled; } function updateBuyFees( uint256 _treasuryFee ) external onlyOwner { buyTreasuryFee = _treasuryFee; buyTotalFees = buyTreasuryFee; } function updateSellFees( uint256 _treasuryFee ) external onlyOwner { sellTreasuryFee = _treasuryFee; sellTotalFees = sellTreasuryFee; } function excludeFromFees(address account, bool excluded) public onlyOwner { _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function setAutomatedMarketMakerPair(address pair, bool value) public onlyOwner { require( pair != uniswapV2Pair, "The pair cannot be removed from automatedMarketMakerPairs" ); _setAutomatedMarketMakerPair(pair, value); } function _setAutomatedMarketMakerPair(address pair, bool value) private { automatedMarketMakerPairs[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } function updateTreasuryWallet(address newWallet) external onlyOwner { emit treasuryWalletUpdated(newWallet, treasuryWallet); treasuryWallet = newWallet; } function isExcludedFromFees(address account) public view returns (bool) { return _isExcludedFromFees[account]; } function isBlacklisted(address account) public view returns (bool) { return blacklisted[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"); require(!blacklisted[from],"Sender blacklisted"); require(!blacklisted[to],"Receiver blacklisted"); if (amount == 0) { super._transfer(from, to, 0); return; } if (limitsInEffect) { if ( from != owner() && to != owner() && to != address(0) && !swapping ) { if (!tradingActive) { require( _isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active." ); } //when buy if ( automatedMarketMakerPairs[from] && !_isExcludedMaxTransactionAmount[to] ) { require( amount <= maxTransactionAmount, "Buy transfer amount exceeds the maxTransactionAmount." ); require( amount + balanceOf(to) <= maxWallet, "Max wallet exceeded" ); } //when sell else if ( automatedMarketMakerPairs[to] && !_isExcludedMaxTransactionAmount[from] ) { require( amount <= maxTransactionAmount, "Sell transfer amount exceeds the maxTransactionAmount." ); } else if (!_isExcludedMaxTransactionAmount[to]) { require( amount + balanceOf(to) <= maxWallet, "Max wallet exceeded" ); } } } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount; if ( canSwap && swapEnabled && !swapping && !automatedMarketMakerPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to] ) { swapping = true; swapBack(); swapping = false; } bool takeFee = !swapping; // if any account belongs to _isExcludedFromFee account then remove the fee if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } uint256 fees = 0; // only take fees on buys/sells, do not take on wallet transfers if (takeFee) { // on sell if (automatedMarketMakerPairs[to] && sellTotalFees > 0) { fees = amount.mul(sellTotalFees).div(100); tokensForTreasury += (fees * sellTreasuryFee) / sellTotalFees; } // on buy else if (automatedMarketMakerPairs[from] && buyTotalFees > 0) { fees = amount.mul(buyTotalFees).div(100); tokensForTreasury += (fees * buyTreasuryFee) / buyTotalFees; } if (fees > 0) { super._transfer(from, address(this), fees); } amount -= fees; } super._transfer(from, to, amount); } function swapTokensForEth(uint256 tokenAmount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapRouter.WETH(); _approve(address(this), address(uniswapRouter), tokenAmount); // make the swap uniswapRouter.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { // approve token transfer to cover all possible scenarios _approve(address(this), address(uniswapRouter), tokenAmount); // add the liquidity uniswapRouter.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable owner(), block.timestamp ); } function swapBack() private { uint256 contractBalance = balanceOf(address(this)); uint256 totalTokensToSwap = tokensForTreasury; bool success; if (contractBalance == 0 || totalTokensToSwap == 0) { return; } if (contractBalance > swapTokensAtAmount * 20) { contractBalance = swapTokensAtAmount * 20; } uint256 amountToSwapForETH = contractBalance; uint256 initialETHBalance = address(this).balance; swapTokensForEth(amountToSwapForETH); uint256 ethBalance = address(this).balance.sub(initialETHBalance); tokensForTreasury = 0; (success, ) = address(treasuryWallet).call{value: ethBalance}(""); } function withdrawTAS() external onlyOwner { uint256 balance = IERC20(address(this)).balanceOf(address(this)); IERC20(address(this)).transfer(msg.sender, balance); payable(msg.sender).transfer(address(this).balance); } function withdrawToken(address _token, address _to) external onlyOwner { require(_token != address(0), "_token address cannot be 0"); uint256 _contractBalance = IERC20(_token).balanceOf(address(this)); IERC20(_token).transfer(_to, _contractBalance); } function withdrawETH(address toAddr) external onlyOwner { (bool success, ) = toAddr.call{ value: address(this).balance } (""); require(success); } // @dev team renounce blacklist commands function renounceBlacklist() public onlyOwner { blacklistRenounced = true; } function blacklist(address _addr) public onlyOwner { require(!blacklistRenounced, "Team has revoked blacklist rights"); require( _addr != address(uniswapV2Pair) && _addr != address(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D), "Cannot blacklist token's v2 router or v2 pool." ); blacklisted[_addr] = true; } // @dev blacklist v3 pools; can unblacklist() down the road to suit project and community function blacklistLiquidityPool(address lpAddress) public onlyOwner { require(!blacklistRenounced, "Team has revoked blacklist rights"); require( lpAddress != address(uniswapV2Pair) && lpAddress != address(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D), "Cannot blacklist token's v2 router or v2 pool." ); blacklisted[lpAddress] = true; } // @dev unblacklist address; not affected by blacklistRenounced incase team wants to unblacklist v3 pools down the road function unblacklist(address _addr) public onlyOwner { blacklisted[_addr] = false; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.19; import {Context} from "../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); } }
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: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, 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}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), 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}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } return true; } /** * @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) { _approve(_msgSender(), spender, _allowances[_msgSender()][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) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), 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: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(sender, recipient, amount); } /** @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 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 {} }
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 `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, 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 `sender` to `recipient` 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 sender, address recipient, 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); }
pragma solidity ^0.8.19; /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ 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); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
pragma solidity >=0.6.2; interface IUniswapV2Router02 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns ( uint256 amountA, uint256 amountB, uint256 liquidity ); function addLiquidityETH( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external payable returns ( uint256 amountToken, uint256 amountETH, uint256 liquidity ); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/Context.sol) pragma solidity ^0.8.19; /** * @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 // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import {IERC20} from "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. */ 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); }
{ "remappings": [ "create3-factory/=lib/create3-factory/", "ds-test/=lib/forge-std/lib/ds-test/src/", "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/", "forge-std/=lib/forge-std/src/", "openzeppelin-contracts/=lib/openzeppelin-contracts/", "openzeppelin/=lib/openzeppelin-contracts/contracts/", "solmate/=lib/solmate/src/", "@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/" ], "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "useLiteralContent": false, "bytecodeHash": "ipfs", "appendCBOR": true }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "paris", "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateUniswapRouter","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"treasuryWalletUpdated","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"blacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"lpAddress","type":"address"}],"name":"blacklistLiquidityPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"blacklistRenounced","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTreasuryFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"createPair","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":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isBlacklisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTreasuryFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForTreasury","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasuryWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"unblacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapRouter","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_treasuryFee","type":"uint256"}],"name":"updateBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxTxnAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_treasuryFee","type":"uint256"}],"name":"updateSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"updateSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"updateTreasuryWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"toAddr","type":"address"}],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawTAS","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"}],"name":"withdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60a0604052600b805463ffffffff191660011790553480156200002157600080fd5b506040518060400160405280601581526020017f54616f204163636f756e74696e672053797374656d00000000000000000000008152506040518060400160405280600381526020016254415360e81b8152508160039081620000859190620004d1565b506004620000948282620004d1565b505050620000b1620000ab620001c960201b60201c565b620001cd565b737a250d5630b4cf539739df2c5dacb4c659f2488d620000d38160016200021f565b6001600160a01b03811660805269152d02c7e14af68000006008819055600a55601e806a084595161401484a00000061271062000112826005620005b3565b6200011e9190620005d3565b600955600e839055600d8390556010829055600f829055600780546001600160a01b031916731395cfb46e88ca4fbccf46c35a91a6764551e5b61790556200017a620001726005546001600160a01b031690565b600162000299565b6200018730600162000299565b620001a66200019e6005546001600160a01b031690565b60016200021f565b620001b33060016200021f565b620001bf338262000343565b505050506200060c565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6005546001600160a01b031633146200026e5760405162461bcd60e51b815260206004820181905260248201526000805160206200302a83398151915260448201526064015b60405180910390fd5b6001600160a01b03919091166000908152601360205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314620002e45760405162461bcd60e51b815260206004820181905260248201526000805160206200302a833981519152604482015260640162000265565b6001600160a01b038216600081815260126020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b0382166200039b5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000265565b8060026000828254620003af9190620005f6565b90915550506001600160a01b03821660009081526020819052604081208054839290620003de908490620005f6565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200045857607f821691505b6020821081036200047957634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200042857600081815260208120601f850160051c81016020861015620004a85750805b601f850160051c820191505b81811015620004c957828155600101620004b4565b505050505050565b81516001600160401b03811115620004ed57620004ed6200042d565b6200050581620004fe845462000443565b846200047f565b602080601f8311600181146200053d5760008415620005245750858301515b600019600386901b1c1916600185901b178555620004c9565b600085815260208120601f198616915b828110156200056e578886015182559484019460019091019084016200054d565b50858210156200058d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417620005cd57620005cd6200059d565b92915050565b600082620005f157634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115620005cd57620005cd6200059d565b6080516129df6200064b60003960008181610667015281816112e90152818161137a015281816124560152818161250f015261254b01526129df6000f3fe60806040526004361061031e5760003560e01c80637571336a116101ab578063c0246668116100f7578063e19b282311610095578063f2fde38b1161006f578063f2fde38b14610968578063f8b45b0514610988578063f9f92be414610912578063fe575a871461099e57600080fd5b8063e19b282314610912578063e2f4560514610932578063eba4c3331461094857600080fd5b8063cc2ffe7c116100d1578063cc2ffe7c14610880578063d257b34f14610896578063d85ba063146108b6578063dd62ed3e146108cc57600080fd5b8063c02466681461082a578063c18bc1951461084a578063c8c8ebe41461086a57600080fd5b806395d89b4111610164578063a457c2d71161013e578063a457c2d71461079b578063a9059cbb146107bb578063b62496f5146107db578063bbc0c7421461080b57600080fd5b806395d89b41146107515780639a7a23d6146107665780639e78fb4f1461078657600080fd5b80637571336a1461069e57806375e3661e146106be578063809d458d146106de5780638a8c523c146106fe5780638da5cb5b14610713578063924de9b71461073157600080fd5b80634a62bb651161026a5780636b2fb12411610223578063715018a6116101fd578063715018a61461062057806371fc468814610635578063735de9f714610655578063751039fc1461068957600080fd5b80636b2fb124146105b45780636ddd1713146105ca57806370a08231146105ea57600080fd5b80634a62bb65146105005780634fbee1931461051a5780635c068a8c146105535780635f18936114610569578063690d83201461057e5780636a486a8e1461059e57600080fd5b8063313ce567116102d75780633dc599ff116102b15780633dc599ff14610472578063411702ab146104935780634626402b146104a857806349bd5a5e146104e057600080fd5b8063313ce5671461041657806339509351146104325780633aeac4e11461045257600080fd5b806306fdde031461032a578063095ea7b31461035557806310d5de531461038557806318160ddd146103b5578063203e727e146103d457806323b872dd146103f657600080fd5b3661032557005b600080fd5b34801561033657600080fd5b5061033f6109d7565b60405161034c91906125cb565b60405180910390f35b34801561036157600080fd5b5061037561037036600461262e565b610a69565b604051901515815260200161034c565b34801561039157600080fd5b506103756103a036600461265a565b60136020526000908152604090205460ff1681565b3480156103c157600080fd5b506002545b60405190815260200161034c565b3480156103e057600080fd5b506103f46103ef366004612677565b610a80565b005b34801561040257600080fd5b50610375610411366004612690565b610b66565b34801561042257600080fd5b506040516012815260200161034c565b34801561043e57600080fd5b5061037561044d36600461262e565b610c10565b34801561045e57600080fd5b506103f461046d3660046126d1565b610c4c565b34801561047e57600080fd5b50600b54610375906301000000900460ff1681565b34801561049f57600080fd5b506103f4610db4565b3480156104b457600080fd5b506007546104c8906001600160a01b031681565b6040516001600160a01b03909116815260200161034c565b3480156104ec57600080fd5b506006546104c8906001600160a01b031681565b34801561050c57600080fd5b50600b546103759060ff1681565b34801561052657600080fd5b5061037561053536600461265a565b6001600160a01b031660009081526012602052604090205460ff1690565b34801561055f57600080fd5b506103c6600e5481565b34801561057557600080fd5b506103f4610edc565b34801561058a57600080fd5b506103f461059936600461265a565b610f1b565b3480156105aa57600080fd5b506103c6600f5481565b3480156105c057600080fd5b506103c660105481565b3480156105d657600080fd5b50600b546103759062010000900460ff1681565b3480156105f657600080fd5b506103c661060536600461265a565b6001600160a01b031660009081526020819052604090205490565b34801561062c57600080fd5b506103f4610fa5565b34801561064157600080fd5b506103f4610650366004612677565b610fdb565b34801561066157600080fd5b506104c87f000000000000000000000000000000000000000000000000000000000000000081565b34801561069557600080fd5b5061037561100f565b3480156106aa57600080fd5b506103f46106b9366004612718565b61104c565b3480156106ca57600080fd5b506103f46106d936600461265a565b6110a1565b3480156106ea57600080fd5b506103f46106f936600461265a565b6110ec565b34801561070a57600080fd5b506103f4611173565b34801561071f57600080fd5b506005546001600160a01b03166104c8565b34801561073d57600080fd5b506103f461074c366004612746565b6111b0565b34801561075d57600080fd5b5061033f6111f6565b34801561077257600080fd5b506103f4610781366004612718565b611205565b34801561079257600080fd5b506103f46112bd565b3480156107a757600080fd5b506103756107b636600461262e565b6114ac565b3480156107c757600080fd5b506103756107d636600461262e565b611545565b3480156107e757600080fd5b506103756107f636600461265a565b60146020526000908152604090205460ff1681565b34801561081757600080fd5b50600b5461037590610100900460ff1681565b34801561083657600080fd5b506103f4610845366004612718565b611552565b34801561085657600080fd5b506103f4610865366004612677565b6115db565b34801561087657600080fd5b506103c660085481565b34801561088c57600080fd5b506103c660115481565b3480156108a257600080fd5b506103756108b1366004612677565b6116ac565b3480156108c257600080fd5b506103c6600d5481565b3480156108d857600080fd5b506103c66108e73660046126d1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561091e57600080fd5b506103f461092d36600461265a565b6116e2565b34801561093e57600080fd5b506103c660095481565b34801561095457600080fd5b506103f4610963366004612677565b611832565b34801561097457600080fd5b506103f461098336600461265a565b611866565b34801561099457600080fd5b506103c6600a5481565b3480156109aa57600080fd5b506103756109b936600461265a565b6001600160a01b03166000908152600c602052604090205460ff1690565b6060600380546109e690612763565b80601f0160208091040260200160405190810160405280929190818152602001828054610a1290612763565b8015610a5f5780601f10610a3457610100808354040283529160200191610a5f565b820191906000526020600020905b815481529060010190602001808311610a4257829003601f168201915b5050505050905090565b6000610a76338484611901565b5060015b92915050565b6005546001600160a01b03163314610ab35760405162461bcd60e51b8152600401610aaa9061279d565b60405180910390fd5b670de0b6b3a76400006103e8610ac860025490565b610ad39060056127e8565b610add91906127ff565b610ae791906127ff565b811015610b4e5760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e352560881b6064820152608401610aaa565b610b6081670de0b6b3a76400006127e8565b60085550565b6000610b73848484611a25565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610bf85760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610aaa565b610c058533858403611901565b506001949350505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610a76918590610c47908690612821565b611901565b6005546001600160a01b03163314610c765760405162461bcd60e51b8152600401610aaa9061279d565b6001600160a01b038216610ccc5760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f7420626520300000000000006044820152606401610aaa565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa158015610d13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d379190612834565b60405163a9059cbb60e01b81526001600160a01b038481166004830152602482018390529192509084169063a9059cbb906044016020604051808303816000875af1158015610d8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dae919061284d565b50505050565b6005546001600160a01b03163314610dde5760405162461bcd60e51b8152600401610aaa9061279d565b6040516370a0823160e01b815230600482018190526000916370a0823190602401602060405180830381865afa158015610e1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e409190612834565b60405163a9059cbb60e01b815233600482015260248101829052909150309063a9059cbb906044016020604051808303816000875af1158015610e87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eab919061284d565b5060405133904780156108fc02916000818181858888f19350505050158015610ed8573d6000803e3d6000fd5b5050565b6005546001600160a01b03163314610f065760405162461bcd60e51b8152600401610aaa9061279d565b600b805463ff00000019166301000000179055565b6005546001600160a01b03163314610f455760405162461bcd60e51b8152600401610aaa9061279d565b6000816001600160a01b03164760405160006040518083038185875af1925050503d8060008114610f92576040519150601f19603f3d011682016040523d82523d6000602084013e610f97565b606091505b5050905080610ed857600080fd5b6005546001600160a01b03163314610fcf5760405162461bcd60e51b8152600401610aaa9061279d565b610fd9600061211c565b565b6005546001600160a01b031633146110055760405162461bcd60e51b8152600401610aaa9061279d565b600e819055600d55565b6005546000906001600160a01b0316331461103c5760405162461bcd60e51b8152600401610aaa9061279d565b50600b805460ff19169055600190565b6005546001600160a01b031633146110765760405162461bcd60e51b8152600401610aaa9061279d565b6001600160a01b03919091166000908152601360205260409020805460ff1916911515919091179055565b6005546001600160a01b031633146110cb5760405162461bcd60e51b8152600401610aaa9061279d565b6001600160a01b03166000908152600c60205260409020805460ff19169055565b6005546001600160a01b031633146111165760405162461bcd60e51b8152600401610aaa9061279d565b6007546040516001600160a01b03918216918316907f02f8a1483978974a6412ba3a67040b4daa4fc0dfe9439a7295f9a9538394f63590600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b0316331461119d5760405162461bcd60e51b8152600401610aaa9061279d565b600b805462ffff00191662010100179055565b6005546001600160a01b031633146111da5760405162461bcd60e51b8152600401610aaa9061279d565b600b8054911515620100000262ff000019909216919091179055565b6060600480546109e690612763565b6005546001600160a01b0316331461122f5760405162461bcd60e51b8152600401610aaa9061279d565b6006546001600160a01b03908116908316036112b35760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610aaa565b610ed8828261216e565b6005546001600160a01b031633146112e75760405162461bcd60e51b8152600401610aaa9061279d565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015611345573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611369919061286a565b6001600160a01b031663c9c65396307f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113fa919061286a565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015611447573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061146b919061286a565b600680546001600160a01b0319166001600160a01b0392909216918217905561149590600161104c565b600654610fd9906001600160a01b0316600161216e565b3360009081526001602090815260408083206001600160a01b03861684529091528120548281101561152e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610aaa565b61153b3385858403611901565b5060019392505050565b6000610a76338484611a25565b6005546001600160a01b0316331461157c5760405162461bcd60e51b8152600401610aaa9061279d565b6001600160a01b038216600081815260126020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146116055760405162461bcd60e51b8152600401610aaa9061279d565b670de0b6b3a76400006103e861161a60025490565b61162590600a6127e8565b61162f91906127ff565b61163991906127ff565b8110156116945760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263312e302560e01b6064820152608401610aaa565b6116a681670de0b6b3a76400006127e8565b600a5550565b6005546000906001600160a01b031633146116d95760405162461bcd60e51b8152600401610aaa9061279d565b50600955600190565b6005546001600160a01b0316331461170c5760405162461bcd60e51b8152600401610aaa9061279d565b600b546301000000900460ff16156117705760405162461bcd60e51b815260206004820152602160248201527f5465616d20686173207265766f6b656420626c61636b6c6973742072696768746044820152607360f81b6064820152608401610aaa565b6006546001600160a01b038281169116148015906117ab57506001600160a01b038116737a250d5630b4cf539739df2c5dacb4c659f2488d14155b61180e5760405162461bcd60e51b815260206004820152602e60248201527f43616e6e6f7420626c61636b6c69737420746f6b656e277320763220726f757460448201526d32b91037b9103b19103837b7b61760911b6064820152608401610aaa565b6001600160a01b03166000908152600c60205260409020805460ff19166001179055565b6005546001600160a01b0316331461185c5760405162461bcd60e51b8152600401610aaa9061279d565b6010819055600f55565b6005546001600160a01b031633146118905760405162461bcd60e51b8152600401610aaa9061279d565b6001600160a01b0381166118f55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610aaa565b6118fe8161211c565b50565b6001600160a01b0383166119635760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610aaa565b6001600160a01b0382166119c45760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610aaa565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316611a4b5760405162461bcd60e51b8152600401610aaa90612887565b6001600160a01b038216611a715760405162461bcd60e51b8152600401610aaa906128cc565b6001600160a01b0383166000908152600c602052604090205460ff1615611acf5760405162461bcd60e51b815260206004820152601260248201527114d95b99195c88189b1858dadb1a5cdd195960721b6044820152606401610aaa565b6001600160a01b0382166000908152600c602052604090205460ff1615611b2f5760405162461bcd60e51b8152602060048201526014602482015273149958d95a5d995c88189b1858dadb1a5cdd195960621b6044820152606401610aaa565b80600003611b4857611b43838360006121c2565b505050565b600b5460ff1615611ea7576005546001600160a01b03848116911614801590611b7f57506005546001600160a01b03838116911614155b8015611b9357506001600160a01b03821615155b8015611ba95750600654600160a01b900460ff16155b15611ea757600b54610100900460ff16611c41576001600160a01b03831660009081526012602052604090205460ff1680611bfc57506001600160a01b03821660009081526012602052604090205460ff165b611c415760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610aaa565b6001600160a01b03831660009081526014602052604090205460ff168015611c8257506001600160a01b03821660009081526013602052604090205460ff16155b15611d6657600854811115611cf75760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610aaa565b600a546001600160a01b038316600090815260208190526040902054611d1d9083612821565b1115611d615760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610aaa565b611ea7565b6001600160a01b03821660009081526014602052604090205460ff168015611da757506001600160a01b03831660009081526013602052604090205460ff16155b15611e1d57600854811115611d615760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610aaa565b6001600160a01b03821660009081526013602052604090205460ff16611ea757600a546001600160a01b038316600090815260208190526040902054611e639083612821565b1115611ea75760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610aaa565b3060009081526020819052604090205460095481108015908190611ed35750600b5462010000900460ff165b8015611ee95750600654600160a01b900460ff16155b8015611f0e57506001600160a01b03851660009081526014602052604090205460ff16155b8015611f3357506001600160a01b03851660009081526012602052604090205460ff16155b8015611f5857506001600160a01b03841660009081526012602052604090205460ff16155b15611f86576006805460ff60a01b1916600160a01b179055611f78612316565b6006805460ff60a01b191690555b6006546001600160a01b03861660009081526012602052604090205460ff600160a01b909204821615911680611fd457506001600160a01b03851660009081526012602052604090205460ff165b15611fdd575060005b60008115612108576001600160a01b03861660009081526014602052604090205460ff16801561200f57506000600f54115b1561206d57612034606461202e600f54886123e090919063ffffffff16565b906123f3565b9050600f546010548261204791906127e8565b61205191906127ff565b601160008282546120629190612821565b909155506120ea9050565b6001600160a01b03871660009081526014602052604090205460ff16801561209757506000600d54115b156120ea576120b6606461202e600d54886123e090919063ffffffff16565b9050600d54600e54826120c991906127e8565b6120d391906127ff565b601160008282546120e49190612821565b90915550505b80156120fb576120fb8730836121c2565b612105818661290f565b94505b6121138787876121c2565b50505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260146020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0383166121e85760405162461bcd60e51b8152600401610aaa90612887565b6001600160a01b03821661220e5760405162461bcd60e51b8152600401610aaa906128cc565b6001600160a01b038316600090815260208190526040902054818110156122865760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610aaa565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906122bd908490612821565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161230991815260200190565b60405180910390a3610dae565b306000908152602081905260408120546011549091821580612336575081155b1561234057505050565b60095461234e9060146127e8565b831115612366576009546123639060146127e8565b92505b8247612371826123ff565b600061237d47836125bf565b600060118190556007546040519293506001600160a01b031691839181818185875af1925050503d80600081146123d0576040519150601f19603f3d011682016040523d82523d6000602084013e6123d5565b606091505b505050505050505050565b60006123ec82846127e8565b9392505050565b60006123ec82846127ff565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061243457612434612922565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156124b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124d6919061286a565b816001815181106124e9576124e9612922565b60200260200101906001600160a01b031690816001600160a01b031681525050612534307f000000000000000000000000000000000000000000000000000000000000000084611901565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac94790612589908590600090869030904290600401612938565b600060405180830381600087803b1580156125a357600080fd5b505af11580156125b7573d6000803e3d6000fd5b505050505050565b60006123ec828461290f565b600060208083528351808285015260005b818110156125f8578581018301518582016040015282016125dc565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146118fe57600080fd5b6000806040838503121561264157600080fd5b823561264c81612619565b946020939093013593505050565b60006020828403121561266c57600080fd5b81356123ec81612619565b60006020828403121561268957600080fd5b5035919050565b6000806000606084860312156126a557600080fd5b83356126b081612619565b925060208401356126c081612619565b929592945050506040919091013590565b600080604083850312156126e457600080fd5b82356126ef81612619565b915060208301356126ff81612619565b809150509250929050565b80151581146118fe57600080fd5b6000806040838503121561272b57600080fd5b823561273681612619565b915060208301356126ff8161270a565b60006020828403121561275857600080fd5b81356123ec8161270a565b600181811c9082168061277757607f821691505b60208210810361279757634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610a7a57610a7a6127d2565b60008261281c57634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115610a7a57610a7a6127d2565b60006020828403121561284657600080fd5b5051919050565b60006020828403121561285f57600080fd5b81516123ec8161270a565b60006020828403121561287c57600080fd5b81516123ec81612619565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b81810381811115610a7a57610a7a6127d2565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156129885784516001600160a01b031683529383019391830191600101612963565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220b02f669d07f904b76d387b71a06c5f18958818e5e15e2f258d6bb68a74ab7afd64736f6c634300081400334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572
Deployed Bytecode
0x60806040526004361061031e5760003560e01c80637571336a116101ab578063c0246668116100f7578063e19b282311610095578063f2fde38b1161006f578063f2fde38b14610968578063f8b45b0514610988578063f9f92be414610912578063fe575a871461099e57600080fd5b8063e19b282314610912578063e2f4560514610932578063eba4c3331461094857600080fd5b8063cc2ffe7c116100d1578063cc2ffe7c14610880578063d257b34f14610896578063d85ba063146108b6578063dd62ed3e146108cc57600080fd5b8063c02466681461082a578063c18bc1951461084a578063c8c8ebe41461086a57600080fd5b806395d89b4111610164578063a457c2d71161013e578063a457c2d71461079b578063a9059cbb146107bb578063b62496f5146107db578063bbc0c7421461080b57600080fd5b806395d89b41146107515780639a7a23d6146107665780639e78fb4f1461078657600080fd5b80637571336a1461069e57806375e3661e146106be578063809d458d146106de5780638a8c523c146106fe5780638da5cb5b14610713578063924de9b71461073157600080fd5b80634a62bb651161026a5780636b2fb12411610223578063715018a6116101fd578063715018a61461062057806371fc468814610635578063735de9f714610655578063751039fc1461068957600080fd5b80636b2fb124146105b45780636ddd1713146105ca57806370a08231146105ea57600080fd5b80634a62bb65146105005780634fbee1931461051a5780635c068a8c146105535780635f18936114610569578063690d83201461057e5780636a486a8e1461059e57600080fd5b8063313ce567116102d75780633dc599ff116102b15780633dc599ff14610472578063411702ab146104935780634626402b146104a857806349bd5a5e146104e057600080fd5b8063313ce5671461041657806339509351146104325780633aeac4e11461045257600080fd5b806306fdde031461032a578063095ea7b31461035557806310d5de531461038557806318160ddd146103b5578063203e727e146103d457806323b872dd146103f657600080fd5b3661032557005b600080fd5b34801561033657600080fd5b5061033f6109d7565b60405161034c91906125cb565b60405180910390f35b34801561036157600080fd5b5061037561037036600461262e565b610a69565b604051901515815260200161034c565b34801561039157600080fd5b506103756103a036600461265a565b60136020526000908152604090205460ff1681565b3480156103c157600080fd5b506002545b60405190815260200161034c565b3480156103e057600080fd5b506103f46103ef366004612677565b610a80565b005b34801561040257600080fd5b50610375610411366004612690565b610b66565b34801561042257600080fd5b506040516012815260200161034c565b34801561043e57600080fd5b5061037561044d36600461262e565b610c10565b34801561045e57600080fd5b506103f461046d3660046126d1565b610c4c565b34801561047e57600080fd5b50600b54610375906301000000900460ff1681565b34801561049f57600080fd5b506103f4610db4565b3480156104b457600080fd5b506007546104c8906001600160a01b031681565b6040516001600160a01b03909116815260200161034c565b3480156104ec57600080fd5b506006546104c8906001600160a01b031681565b34801561050c57600080fd5b50600b546103759060ff1681565b34801561052657600080fd5b5061037561053536600461265a565b6001600160a01b031660009081526012602052604090205460ff1690565b34801561055f57600080fd5b506103c6600e5481565b34801561057557600080fd5b506103f4610edc565b34801561058a57600080fd5b506103f461059936600461265a565b610f1b565b3480156105aa57600080fd5b506103c6600f5481565b3480156105c057600080fd5b506103c660105481565b3480156105d657600080fd5b50600b546103759062010000900460ff1681565b3480156105f657600080fd5b506103c661060536600461265a565b6001600160a01b031660009081526020819052604090205490565b34801561062c57600080fd5b506103f4610fa5565b34801561064157600080fd5b506103f4610650366004612677565b610fdb565b34801561066157600080fd5b506104c87f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b34801561069557600080fd5b5061037561100f565b3480156106aa57600080fd5b506103f46106b9366004612718565b61104c565b3480156106ca57600080fd5b506103f46106d936600461265a565b6110a1565b3480156106ea57600080fd5b506103f46106f936600461265a565b6110ec565b34801561070a57600080fd5b506103f4611173565b34801561071f57600080fd5b506005546001600160a01b03166104c8565b34801561073d57600080fd5b506103f461074c366004612746565b6111b0565b34801561075d57600080fd5b5061033f6111f6565b34801561077257600080fd5b506103f4610781366004612718565b611205565b34801561079257600080fd5b506103f46112bd565b3480156107a757600080fd5b506103756107b636600461262e565b6114ac565b3480156107c757600080fd5b506103756107d636600461262e565b611545565b3480156107e757600080fd5b506103756107f636600461265a565b60146020526000908152604090205460ff1681565b34801561081757600080fd5b50600b5461037590610100900460ff1681565b34801561083657600080fd5b506103f4610845366004612718565b611552565b34801561085657600080fd5b506103f4610865366004612677565b6115db565b34801561087657600080fd5b506103c660085481565b34801561088c57600080fd5b506103c660115481565b3480156108a257600080fd5b506103756108b1366004612677565b6116ac565b3480156108c257600080fd5b506103c6600d5481565b3480156108d857600080fd5b506103c66108e73660046126d1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561091e57600080fd5b506103f461092d36600461265a565b6116e2565b34801561093e57600080fd5b506103c660095481565b34801561095457600080fd5b506103f4610963366004612677565b611832565b34801561097457600080fd5b506103f461098336600461265a565b611866565b34801561099457600080fd5b506103c6600a5481565b3480156109aa57600080fd5b506103756109b936600461265a565b6001600160a01b03166000908152600c602052604090205460ff1690565b6060600380546109e690612763565b80601f0160208091040260200160405190810160405280929190818152602001828054610a1290612763565b8015610a5f5780601f10610a3457610100808354040283529160200191610a5f565b820191906000526020600020905b815481529060010190602001808311610a4257829003601f168201915b5050505050905090565b6000610a76338484611901565b5060015b92915050565b6005546001600160a01b03163314610ab35760405162461bcd60e51b8152600401610aaa9061279d565b60405180910390fd5b670de0b6b3a76400006103e8610ac860025490565b610ad39060056127e8565b610add91906127ff565b610ae791906127ff565b811015610b4e5760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e352560881b6064820152608401610aaa565b610b6081670de0b6b3a76400006127e8565b60085550565b6000610b73848484611a25565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610bf85760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610aaa565b610c058533858403611901565b506001949350505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610a76918590610c47908690612821565b611901565b6005546001600160a01b03163314610c765760405162461bcd60e51b8152600401610aaa9061279d565b6001600160a01b038216610ccc5760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f7420626520300000000000006044820152606401610aaa565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa158015610d13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d379190612834565b60405163a9059cbb60e01b81526001600160a01b038481166004830152602482018390529192509084169063a9059cbb906044016020604051808303816000875af1158015610d8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dae919061284d565b50505050565b6005546001600160a01b03163314610dde5760405162461bcd60e51b8152600401610aaa9061279d565b6040516370a0823160e01b815230600482018190526000916370a0823190602401602060405180830381865afa158015610e1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e409190612834565b60405163a9059cbb60e01b815233600482015260248101829052909150309063a9059cbb906044016020604051808303816000875af1158015610e87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eab919061284d565b5060405133904780156108fc02916000818181858888f19350505050158015610ed8573d6000803e3d6000fd5b5050565b6005546001600160a01b03163314610f065760405162461bcd60e51b8152600401610aaa9061279d565b600b805463ff00000019166301000000179055565b6005546001600160a01b03163314610f455760405162461bcd60e51b8152600401610aaa9061279d565b6000816001600160a01b03164760405160006040518083038185875af1925050503d8060008114610f92576040519150601f19603f3d011682016040523d82523d6000602084013e610f97565b606091505b5050905080610ed857600080fd5b6005546001600160a01b03163314610fcf5760405162461bcd60e51b8152600401610aaa9061279d565b610fd9600061211c565b565b6005546001600160a01b031633146110055760405162461bcd60e51b8152600401610aaa9061279d565b600e819055600d55565b6005546000906001600160a01b0316331461103c5760405162461bcd60e51b8152600401610aaa9061279d565b50600b805460ff19169055600190565b6005546001600160a01b031633146110765760405162461bcd60e51b8152600401610aaa9061279d565b6001600160a01b03919091166000908152601360205260409020805460ff1916911515919091179055565b6005546001600160a01b031633146110cb5760405162461bcd60e51b8152600401610aaa9061279d565b6001600160a01b03166000908152600c60205260409020805460ff19169055565b6005546001600160a01b031633146111165760405162461bcd60e51b8152600401610aaa9061279d565b6007546040516001600160a01b03918216918316907f02f8a1483978974a6412ba3a67040b4daa4fc0dfe9439a7295f9a9538394f63590600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b0316331461119d5760405162461bcd60e51b8152600401610aaa9061279d565b600b805462ffff00191662010100179055565b6005546001600160a01b031633146111da5760405162461bcd60e51b8152600401610aaa9061279d565b600b8054911515620100000262ff000019909216919091179055565b6060600480546109e690612763565b6005546001600160a01b0316331461122f5760405162461bcd60e51b8152600401610aaa9061279d565b6006546001600160a01b03908116908316036112b35760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610aaa565b610ed8828261216e565b6005546001600160a01b031633146112e75760405162461bcd60e51b8152600401610aaa9061279d565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015611345573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611369919061286a565b6001600160a01b031663c9c65396307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113fa919061286a565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015611447573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061146b919061286a565b600680546001600160a01b0319166001600160a01b0392909216918217905561149590600161104c565b600654610fd9906001600160a01b0316600161216e565b3360009081526001602090815260408083206001600160a01b03861684529091528120548281101561152e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610aaa565b61153b3385858403611901565b5060019392505050565b6000610a76338484611a25565b6005546001600160a01b0316331461157c5760405162461bcd60e51b8152600401610aaa9061279d565b6001600160a01b038216600081815260126020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146116055760405162461bcd60e51b8152600401610aaa9061279d565b670de0b6b3a76400006103e861161a60025490565b61162590600a6127e8565b61162f91906127ff565b61163991906127ff565b8110156116945760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263312e302560e01b6064820152608401610aaa565b6116a681670de0b6b3a76400006127e8565b600a5550565b6005546000906001600160a01b031633146116d95760405162461bcd60e51b8152600401610aaa9061279d565b50600955600190565b6005546001600160a01b0316331461170c5760405162461bcd60e51b8152600401610aaa9061279d565b600b546301000000900460ff16156117705760405162461bcd60e51b815260206004820152602160248201527f5465616d20686173207265766f6b656420626c61636b6c6973742072696768746044820152607360f81b6064820152608401610aaa565b6006546001600160a01b038281169116148015906117ab57506001600160a01b038116737a250d5630b4cf539739df2c5dacb4c659f2488d14155b61180e5760405162461bcd60e51b815260206004820152602e60248201527f43616e6e6f7420626c61636b6c69737420746f6b656e277320763220726f757460448201526d32b91037b9103b19103837b7b61760911b6064820152608401610aaa565b6001600160a01b03166000908152600c60205260409020805460ff19166001179055565b6005546001600160a01b0316331461185c5760405162461bcd60e51b8152600401610aaa9061279d565b6010819055600f55565b6005546001600160a01b031633146118905760405162461bcd60e51b8152600401610aaa9061279d565b6001600160a01b0381166118f55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610aaa565b6118fe8161211c565b50565b6001600160a01b0383166119635760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610aaa565b6001600160a01b0382166119c45760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610aaa565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316611a4b5760405162461bcd60e51b8152600401610aaa90612887565b6001600160a01b038216611a715760405162461bcd60e51b8152600401610aaa906128cc565b6001600160a01b0383166000908152600c602052604090205460ff1615611acf5760405162461bcd60e51b815260206004820152601260248201527114d95b99195c88189b1858dadb1a5cdd195960721b6044820152606401610aaa565b6001600160a01b0382166000908152600c602052604090205460ff1615611b2f5760405162461bcd60e51b8152602060048201526014602482015273149958d95a5d995c88189b1858dadb1a5cdd195960621b6044820152606401610aaa565b80600003611b4857611b43838360006121c2565b505050565b600b5460ff1615611ea7576005546001600160a01b03848116911614801590611b7f57506005546001600160a01b03838116911614155b8015611b9357506001600160a01b03821615155b8015611ba95750600654600160a01b900460ff16155b15611ea757600b54610100900460ff16611c41576001600160a01b03831660009081526012602052604090205460ff1680611bfc57506001600160a01b03821660009081526012602052604090205460ff165b611c415760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610aaa565b6001600160a01b03831660009081526014602052604090205460ff168015611c8257506001600160a01b03821660009081526013602052604090205460ff16155b15611d6657600854811115611cf75760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610aaa565b600a546001600160a01b038316600090815260208190526040902054611d1d9083612821565b1115611d615760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610aaa565b611ea7565b6001600160a01b03821660009081526014602052604090205460ff168015611da757506001600160a01b03831660009081526013602052604090205460ff16155b15611e1d57600854811115611d615760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610aaa565b6001600160a01b03821660009081526013602052604090205460ff16611ea757600a546001600160a01b038316600090815260208190526040902054611e639083612821565b1115611ea75760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610aaa565b3060009081526020819052604090205460095481108015908190611ed35750600b5462010000900460ff165b8015611ee95750600654600160a01b900460ff16155b8015611f0e57506001600160a01b03851660009081526014602052604090205460ff16155b8015611f3357506001600160a01b03851660009081526012602052604090205460ff16155b8015611f5857506001600160a01b03841660009081526012602052604090205460ff16155b15611f86576006805460ff60a01b1916600160a01b179055611f78612316565b6006805460ff60a01b191690555b6006546001600160a01b03861660009081526012602052604090205460ff600160a01b909204821615911680611fd457506001600160a01b03851660009081526012602052604090205460ff165b15611fdd575060005b60008115612108576001600160a01b03861660009081526014602052604090205460ff16801561200f57506000600f54115b1561206d57612034606461202e600f54886123e090919063ffffffff16565b906123f3565b9050600f546010548261204791906127e8565b61205191906127ff565b601160008282546120629190612821565b909155506120ea9050565b6001600160a01b03871660009081526014602052604090205460ff16801561209757506000600d54115b156120ea576120b6606461202e600d54886123e090919063ffffffff16565b9050600d54600e54826120c991906127e8565b6120d391906127ff565b601160008282546120e49190612821565b90915550505b80156120fb576120fb8730836121c2565b612105818661290f565b94505b6121138787876121c2565b50505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260146020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0383166121e85760405162461bcd60e51b8152600401610aaa90612887565b6001600160a01b03821661220e5760405162461bcd60e51b8152600401610aaa906128cc565b6001600160a01b038316600090815260208190526040902054818110156122865760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610aaa565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906122bd908490612821565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161230991815260200190565b60405180910390a3610dae565b306000908152602081905260408120546011549091821580612336575081155b1561234057505050565b60095461234e9060146127e8565b831115612366576009546123639060146127e8565b92505b8247612371826123ff565b600061237d47836125bf565b600060118190556007546040519293506001600160a01b031691839181818185875af1925050503d80600081146123d0576040519150601f19603f3d011682016040523d82523d6000602084013e6123d5565b606091505b505050505050505050565b60006123ec82846127e8565b9392505050565b60006123ec82846127ff565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061243457612434612922565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156124b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124d6919061286a565b816001815181106124e9576124e9612922565b60200260200101906001600160a01b031690816001600160a01b031681525050612534307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611901565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac94790612589908590600090869030904290600401612938565b600060405180830381600087803b1580156125a357600080fd5b505af11580156125b7573d6000803e3d6000fd5b505050505050565b60006123ec828461290f565b600060208083528351808285015260005b818110156125f8578581018301518582016040015282016125dc565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146118fe57600080fd5b6000806040838503121561264157600080fd5b823561264c81612619565b946020939093013593505050565b60006020828403121561266c57600080fd5b81356123ec81612619565b60006020828403121561268957600080fd5b5035919050565b6000806000606084860312156126a557600080fd5b83356126b081612619565b925060208401356126c081612619565b929592945050506040919091013590565b600080604083850312156126e457600080fd5b82356126ef81612619565b915060208301356126ff81612619565b809150509250929050565b80151581146118fe57600080fd5b6000806040838503121561272b57600080fd5b823561273681612619565b915060208301356126ff8161270a565b60006020828403121561275857600080fd5b81356123ec8161270a565b600181811c9082168061277757607f821691505b60208210810361279757634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610a7a57610a7a6127d2565b60008261281c57634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115610a7a57610a7a6127d2565b60006020828403121561284657600080fd5b5051919050565b60006020828403121561285f57600080fd5b81516123ec8161270a565b60006020828403121561287c57600080fd5b81516123ec81612619565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b81810381811115610a7a57610a7a6127d2565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156129885784516001600160a01b031683529383019391830191600101612963565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220b02f669d07f904b76d387b71a06c5f18958818e5e15e2f258d6bb68a74ab7afd64736f6c63430008140033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.