ERC-20
MEME
Overview
Max Total Supply
100,000,000 SWAG
Holders
3,947 (0.00%)
Market
Price
$0.06 @ 0.000016 ETH (+32.05%)
Onchain Market Cap
$5,673,300.00
Circulating Supply Market Cap
$0.00
Other Info
Token Contract (WITH 9 Decimals)
Balance
56,019.548229797 SWAGValue
$3,178.16 ( ~0.91677717034361 Eth) [0.0560%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
SWAG
Compiler Version
v0.8.26+commit.8a97fa7a
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// Website: https://swagcoin.xyz // Twitter: https://x.com/swagoneth // Telegram: https://t.me/Swag_eth // SPDX-License-Identifier: MIT pragma solidity ^0.8.9; abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } interface IUniswapV2Pair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap(address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; } interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } interface 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); } interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); } contract ERC20 is Context, IERC20, IERC20Metadata { using SafeMath for uint256; 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); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, 'ERC20: transfer amount exceeds allowance')); 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].add(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) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, 'ERC20: decreased allowance below zero')); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is 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); _balances[sender] = _balances[sender].sub(amount, 'ERC20: transfer amount exceeds balance'); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(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 = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(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); _balances[account] = _balances[account].sub(amount, 'ERC20: burn amount exceeds balance'); _totalSupply = _totalSupply.sub(amount); emit Transfer(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 to 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 {} } library SafeMath { /** * @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) { uint256 c = a + b; require(c >= a, 'SafeMath: addition overflow'); return c; } /** * @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 sub(a, b, 'SafeMath: subtraction overflow'); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @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) { // 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 0; } uint256 c = a * b; require(c / a == b, 'SafeMath: multiplication overflow'); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts 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) internal pure returns (uint256) { return div(a, b, 'SafeMath: division by zero'); } /** * @dev Returns the integer division of two unsigned integers. Reverts 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) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts 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 mod(a, b, 'SafeMath: modulo by zero'); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message 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, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } 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() { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), 'Ownable: caller is not the owner'); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), 'Ownable: new owner is the zero address'); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } library SafeMathInt { int256 private constant MIN_INT256 = int256(1) << 255; int256 private constant MAX_INT256 = ~(int256(1) << 255); /** * @dev Multiplies two int256 variables and fails on overflow. */ function mul(int256 a, int256 b) internal pure returns (int256) { int256 c = a * b; // Detect overflow when multiplying MIN_INT256 with -1 require(c != MIN_INT256 || (a & MIN_INT256) != (b & MIN_INT256)); require((b == 0) || (c / b == a)); return c; } /** * @dev Division of two int256 variables and fails on overflow. */ function div(int256 a, int256 b) internal pure returns (int256) { // Prevent overflow when dividing MIN_INT256 by -1 require(b != -1 || a != MIN_INT256); // Solidity already throws when dividing by 0. return a / b; } /** * @dev Subtracts two int256 variables and fails on overflow. */ function sub(int256 a, int256 b) internal pure returns (int256) { int256 c = a - b; require((b >= 0 && c <= a) || (b < 0 && c > a)); return c; } /** * @dev Adds two int256 variables and fails on overflow. */ function add(int256 a, int256 b) internal pure returns (int256) { int256 c = a + b; require((b >= 0 && c >= a) || (b < 0 && c < a)); return c; } /** * @dev Converts to absolute value, and fails on overflow. */ function abs(int256 a) internal pure returns (int256) { require(a != MIN_INT256); return a < 0 ? -a : a; } function toUint256Safe(int256 a) internal pure returns (uint256) { require(a >= 0); return uint256(a); } } library SafeMathUint { function toInt256Safe(uint256 a) internal pure returns (int256) { int256 b = int256(a); require(b >= 0); return b; } } interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity(address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH(address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity(address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline) external returns (uint amountA, uint amountB); function removeLiquidityETH(address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit(address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit(address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapTokensForExactTokens(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); } interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens(address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external; function swapExactETHForTokensSupportingFeeOnTransferTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external; } contract SWAG is ERC20, Ownable { using SafeMath for uint256; IUniswapV2Router02 public immutable uniswapV2Router; address public immutable uniswapV2Pair; address public constant deadAddress = address(0xdead); bool private swapping; address payable private marketingWallet; uint256 public maxTransactionAmount; uint256 public maxWallet; uint256 public taxSwap; uint8 private _decimals; bool public limitsInEffect = true; bool public tradingActive = false; bool public swapEnabled = false; bool public rescueSwap = false; uint256 public tradingActiveBlock; uint256 public buyTotalFees; uint256 public sellTotalFees; /******************/ // exlcude 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 UpdateUniswapV2Router(address indexed newAddress, address indexed oldAddress); event ExcludeFromFees(address indexed account, bool isExcluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event marketingWalletUpdated(address indexed newWallet, address indexed oldWallet); event OwnerForcedSwapBack(uint256 timestamp); constructor() ERC20('Swag', 'SWAG') { address _owner = _msgSender(); _decimals = 9; uint256 totalSupply = 1 * (10 ** 8) * (10 ** _decimals); maxTransactionAmount = (totalSupply * 1) / 100; // 1% maxTransactionAmountTxn maxWallet = (totalSupply * 1) / 100; // 1% maxWallet taxSwap = (totalSupply * 5) / 10000; buyTotalFees = 20; sellTotalFees = 20; marketingWallet = payable(0xbCE81996DE52B9781208894b4C5c897bbB8F79D5); // set as marketing wallet address currentRouter; //Adding Variables for all the routers for easier deployment for our customers. if (block.chainid == 11155111) { currentRouter = 0xC532a74256D3Db42D0Bf7a0400fEFDbad7694008; // Sepolia } else if (block.chainid == 1 || block.chainid == 4) { currentRouter = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; //Mainnet } else { revert(); } //End of Router Variables. IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(currentRouter); excludeFromMaxTransaction(address(_uniswapV2Router), true); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH()); excludeFromMaxTransaction(address(uniswapV2Pair), true); _setAutomatedMarketMakerPair(address(uniswapV2Pair), true); // exclude from paying fees or having max transaction amount excludeFromFees(_owner, true); excludeFromFees(address(this), true); excludeFromFees(address(0xdead), true); excludeFromMaxTransaction(_owner, true); excludeFromMaxTransaction(address(this), true); excludeFromMaxTransaction(address(0xdead), true); /* _mint is an internal function in ERC20.sol that is only called here, and CANNOT be called ever again */ _mint(_owner, totalSupply); transferOwnership(_owner); } receive() external payable {} // once enabled, can never be turned off function enableTrading() external onlyOwner { tradingActive = true; swapEnabled = true; tradingActiveBlock = block.number; } // remove limits after token is stable function removeLimits() external onlyOwner returns (bool) { buyTotalFees = 0; sellTotalFees = 0; limitsInEffect = false; return true; } function excludeFromMaxTransaction(address updAds, bool isEx) public onlyOwner { _isExcludedMaxTransactionAmount[updAds] = isEx; } function decimals() public view override returns (uint8) { return _decimals; } // only use to disable contract sales if absolutely necessary (emergency use only) function updateSwapEnabled(bool enabled) external onlyOwner { swapEnabled = enabled; } // only use this to disable swapback and send tax in form of tokens function updateRescueSwap(bool enabled) external onlyOwner { rescueSwap = enabled; } function excludeFromFees(address account, bool excluded) public onlyOwner { _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function setAutomatedMarketMakerPair(address pair, bool value) external 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 updateMarketingWallet(address payable newMarketingWallet) external onlyOwner { emit marketingWalletUpdated(newMarketingWallet, marketingWallet); marketingWallet = newMarketingWallet; } function isExcludedFromFees(address account) external view returns (bool) { return _isExcludedFromFees[account]; } function _transfer(address from, address to, uint256 amount) internal override { require(from != address(0), 'ERC20: transfer from the zero address'); require(to != address(0), 'ERC20: transfer to the zero address'); if (!tradingActive) { require(_isExcludedFromFees[from] || _isExcludedFromFees[to], 'Trading is not active.'); } if (amount == 0) { super._transfer(from, to, 0); return; } if (limitsInEffect) { if (from != owner() && to != owner() && to != address(0) && to != address(0xdead) && !(_isExcludedFromFees[from] || _isExcludedFromFees[to]) && !swapping) { //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 { require(amount + balanceOf(to) <= maxWallet, 'Max wallet exceeded'); } } } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance > taxSwap; if (canSwap && swapEnabled && !swapping && !automatedMarketMakerPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to]) { swapping = true; swapBack(amount); 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) { if (automatedMarketMakerPairs[to]) { if (sellTotalFees > 0) { fees = amount.mul(sellTotalFees).div(100); } } // on buy else if (automatedMarketMakerPairs[from]) { if (buyTotalFees > 0) { fees = amount.mul(buyTotalFees).div(100); } } if (fees > 0) { super._transfer(from, address(this), fees); } amount -= fees; } super._transfer(from, to, amount); } function swapTokensForEth(uint256 tokenAmount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); // make the swap try uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ) {} catch {} } function removeTax() public onlyOwner { buyTotalFees = 0; sellTotalFees = 0; } function swapBack(uint256 amount) private { uint256 contractBalance = balanceOf(address(this)); if (rescueSwap) { if (contractBalance > 0) { super._transfer(address(this), marketingWallet, contractBalance); } return; } if (contractBalance == 0) { return; } uint256 amountToSwapForETH = taxSwap>amount?amount:taxSwap; swapTokensForEth(amountToSwapForETH); sendETHToFee(address(this).balance); } function sendETHToFee(uint256 amount) private { marketingWallet.transfer(amount); } function manualSend() external { require(_msgSender() == marketingWallet); sendETHToFee(address(this).balance); } function manualSendToken() external { require(_msgSender() == marketingWallet); IERC20(address(this)).transfer(msg.sender, balanceOf(address(this))); } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
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":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"OwnerForcedSwapBack","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":"UpdateUniswapV2Router","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"marketingWalletUpdated","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deadAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"manualSend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"manualSendToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":"removeTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rescueSwap","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxSwap","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":[],"name":"tradingActiveBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"newMarketingWallet","type":"address"}],"name":"updateMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"updateRescueSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"updateSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c0604052600a805464ffffffff001916610100179055348015610021575f80fd5b50604051806040016040528060048152602001635377616760e01b815250604051806040016040528060048152602001635357414760e01b815250816003908161006b91906107eb565b50600461007882826107eb565b5050505f61008a6103a660201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250905f905f805160206129dc833981519152908290a350600a805460ff19166009908117825533915f916100e09161099c565b6100ee906305f5e1006109b1565b905060646100fd8260016109b1565b61010791906109c8565b60075560646101178260016109b1565b61012191906109c8565b6008556127106101328260056109b1565b61013c91906109c8565b6009556014600c819055600d55600680546001600160a01b03191673bce81996de52b9781208894b4c5c897bbb8f79d51790555f4662aa36a703610195575073c532a74256d3db42d0bf7a0400fefdbad76940086101c8565b46600114806101a45750466004145b156101c45750737a250d5630b4cf539739df2c5dacb4c659f2488d6101c8565b5f80fd5b806101d48160016103aa565b6001600160a01b03811660808190526040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa15801561021c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061024091906109e7565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561028b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102af91906109e7565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af11580156102f9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061031d91906109e7565b6001600160a01b031660a08190526103369060016103aa565b60a051610344906001610420565b61034f846001610473565b61035a306001610473565b61036761dead6001610473565b6103728460016103aa565b61037d3060016103aa565b61038a61dead60016103aa565b6103948484610518565b61039d846105f4565b50505050610a20565b3390565b6005546001600160a01b031633146103f65760405162461bcd60e51b815260206004820181905260248201525f805160206129bc83398151915260448201526064015b60405180910390fd5b6001600160a01b03919091165f908152600f60205260409020805460ff1916911515919091179055565b6001600160a01b0382165f81815260106020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6005546001600160a01b031633146104ba5760405162461bcd60e51b815260206004820181905260248201525f805160206129bc83398151915260448201526064016103ed565b6001600160a01b0382165f818152600e6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b03821661056e5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016103ed565b60025461057b90826106ed565b6002556001600160a01b0382165f908152602081905260409020546105a090826106ed565b6001600160a01b0383165f81815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6005546001600160a01b0316331461063b5760405162461bcd60e51b815260206004820181905260248201525f805160206129bc83398151915260448201526064016103ed565b6001600160a01b0381166106a05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103ed565b6005546040516001600160a01b038084169216905f805160206129dc833981519152905f90a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b505050565b5f806106f98385610a0d565b90508381101561074b5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016103ed565b90505b92915050565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061077c57607f821691505b60208210810361079a57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156106e857805f5260205f20601f840160051c810160208510156107c55750805b601f840160051c820191505b818110156107e4575f81556001016107d1565b5050505050565b81516001600160401b0381111561080457610804610754565b610818816108128454610768565b846107a0565b6020601f82116001811461084a575f83156108335750848201515b5f19600385901b1c1916600184901b1784556107e4565b5f84815260208120601f198516915b828110156108795787850151825560209485019460019092019101610859565b508482101561089657868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b6001815b60018411156108f4578085048111156108d8576108d86108a5565b60018416156108e657908102905b60019390931c9280026108bd565b935093915050565b5f8261090a5750600161074e565b8161091657505f61074e565b816001811461092c576002811461093657610952565b600191505061074e565b60ff841115610947576109476108a5565b50506001821b61074e565b5060208310610133831016604e8410600b8410161715610975575081810a61074e565b6109815f1984846108b9565b805f1904821115610994576109946108a5565b029392505050565b5f6109aa60ff8416836108fc565b9392505050565b808202811582820484141761074e5761074e6108a5565b5f826109e257634e487b7160e01b5f52601260045260245ffd5b500490565b5f602082840312156109f7575f80fd5b81516001600160a01b038116811461074b575f80fd5b8082018082111561074e5761074e6108a5565b60805160a051611f5f610a5d5f395f81816103d70152610bb301525f81816102e4015281816119b301528181611a6a0152611aa60152611f5f5ff3fe608060405260043610610241575f3560e01c8063751039fc11610134578063aacebbe3116100b3578063d85ba06311610078578063d85ba063146106c8578063dd62ed3e146106dd578063ee40166e14610721578063f2fde38b14610736578063f429389014610755578063f8b45b0514610769575f80fd5b8063aacebbe314610628578063b62496f514610647578063bbc0c74214610675578063c024666814610694578063c8c8ebe4146106b3575f80fd5b8063955b225b116100f9578063955b225b1461059857806395d89b41146105b75780639a7a23d6146105cb578063a457c2d7146105ea578063a9059cbb14610609575f80fd5b8063751039fc146105155780637571336a146105295780638a8c523c146105485780638da5cb5b1461055c578063924de9b714610579575f80fd5b806349bd5a5e116101c0578063503dfc4d11610185578063503dfc4d146104845780636a486a8e146104985780636ddd1713146104ad57806370a08231146104cd578063715018a614610501575f80fd5b806349bd5a5e146103c65780634a62bb65146103f95780634c24c51d146104175780634cdc8da4146104385780634fbee1931461044d575f80fd5b806323b872dd1161020657806323b872dd1461033c57806327c8f8351461035b5780632f5f257214610370578063313ce5671461038657806339509351146103a7575f80fd5b806306fdde031461024c578063095ea7b31461027657806310d5de53146102a55780631694505e146102d357806318160ddd1461031e575f80fd5b3661024857005b5f80fd5b348015610257575f80fd5b5061026061077e565b60405161026d9190611b40565b60405180910390f35b348015610281575f80fd5b50610295610290366004611b89565b61080e565b604051901515815260200161026d565b3480156102b0575f80fd5b506102956102bf366004611bb3565b600f6020525f908152604090205460ff1681565b3480156102de575f80fd5b506103067f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161026d565b348015610329575f80fd5b506002545b60405190815260200161026d565b348015610347575f80fd5b50610295610356366004611bce565b610824565b348015610366575f80fd5b5061030661dead81565b34801561037b575f80fd5b5061038461088b565b005b348015610391575f80fd5b50600a5460405160ff909116815260200161026d565b3480156103b2575f80fd5b506102956103c1366004611b89565b6108c9565b3480156103d1575f80fd5b506103067f000000000000000000000000000000000000000000000000000000000000000081565b348015610404575f80fd5b50600a5461029590610100900460ff1681565b348015610422575f80fd5b50600a5461029590640100000000900460ff1681565b348015610443575f80fd5b5061032e60095481565b348015610458575f80fd5b50610295610467366004611bb3565b6001600160a01b03165f908152600e602052604090205460ff1690565b34801561048f575f80fd5b506103846108fe565b3480156104a3575f80fd5b5061032e600d5481565b3480156104b8575f80fd5b50600a54610295906301000000900460ff1681565b3480156104d8575f80fd5b5061032e6104e7366004611bb3565b6001600160a01b03165f9081526020819052604090205490565b34801561050c575f80fd5b50610384610996565b348015610520575f80fd5b50610295610a09565b348015610534575f80fd5b50610384610543366004611c19565b610a4f565b348015610553575f80fd5b50610384610aa3565b348015610567575f80fd5b506005546001600160a01b0316610306565b348015610584575f80fd5b50610384610593366004611c50565b610ae6565b3480156105a3575f80fd5b506103846105b2366004611c50565b610b2e565b3480156105c2575f80fd5b50610260610b78565b3480156105d6575f80fd5b506103846105e5366004611c19565b610b87565b3480156105f5575f80fd5b50610295610604366004611b89565b610c66565b348015610614575f80fd5b50610295610623366004611b89565b610cb3565b348015610633575f80fd5b50610384610642366004611bb3565b610cbf565b348015610652575f80fd5b50610295610661366004611bb3565b60106020525f908152604090205460ff1681565b348015610680575f80fd5b50600a546102959062010000900460ff1681565b34801561069f575f80fd5b506103846106ae366004611c19565b610d45565b3480156106be575f80fd5b5061032e60075481565b3480156106d3575f80fd5b5061032e600c5481565b3480156106e8575f80fd5b5061032e6106f7366004611c6b565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b34801561072c575f80fd5b5061032e600b5481565b348015610741575f80fd5b50610384610750366004611bb3565b610dcd565b348015610760575f80fd5b50610384610eb7565b348015610774575f80fd5b5061032e60085481565b60606003805461078d90611c97565b80601f01602080910402602001604051908101604052809291908181526020018280546107b990611c97565b80156108045780601f106107db57610100808354040283529160200191610804565b820191905f5260205f20905b8154815290600101906020018083116107e757829003601f168201915b5050505050905090565b5f61081a338484610ee1565b5060015b92915050565b5f610830848484611005565b610881843361087c85604051806060016040528060288152602001611edd602891396001600160a01b038a165f90815260016020908152604080832033845290915290205491906115ff565b610ee1565b5060019392505050565b6005546001600160a01b031633146108be5760405162461bcd60e51b81526004016108b590611ccf565b60405180910390fd5b5f600c819055600d55565b335f8181526001602090815260408083206001600160a01b0387168452909152812054909161081a91859061087c9086611637565b6006546001600160a01b0316336001600160a01b03161461091d575f80fd5b305f8181526020818152604080832054815163a9059cbb60e01b81523360048201526024810191909152905163a9059cbb936044808401949383900301908290875af115801561096f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109939190611d04565b50565b6005546001600160a01b031633146109c05760405162461bcd60e51b81526004016108b590611ccf565b6005546040515f916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005545f906001600160a01b03163314610a355760405162461bcd60e51b81526004016108b590611ccf565b505f600c819055600d55600a805461ff0019169055600190565b6005546001600160a01b03163314610a795760405162461bcd60e51b81526004016108b590611ccf565b6001600160a01b03919091165f908152600f60205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610acd5760405162461bcd60e51b81526004016108b590611ccf565b600a805463ffff00001916630101000017905543600b55565b6005546001600160a01b03163314610b105760405162461bcd60e51b81526004016108b590611ccf565b600a805491151563010000000263ff00000019909216919091179055565b6005546001600160a01b03163314610b585760405162461bcd60e51b81526004016108b590611ccf565b600a80549115156401000000000264ff0000000019909216919091179055565b60606004805461078d90611c97565b6005546001600160a01b03163314610bb15760405162461bcd60e51b81526004016108b590611ccf565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031603610c585760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b657250616972730000000000000060648201526084016108b5565b610c62828261169c565b5050565b5f61081a338461087c85604051806060016040528060258152602001611f0560259139335f9081526001602090815260408083206001600160a01b038d16845290915290205491906115ff565b5f61081a338484611005565b6005546001600160a01b03163314610ce95760405162461bcd60e51b81526004016108b590611ccf565b6006546040516001600160a01b03918216918316907fa751787977eeb3902e30e1d19ca00c6ad274a1f622c31a206e32366700b05674905f90a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610d6f5760405162461bcd60e51b81526004016108b590611ccf565b6001600160a01b0382165f818152600e6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b03163314610df75760405162461bcd60e51b81526004016108b590611ccf565b6001600160a01b038116610e5c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108b5565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6006546001600160a01b0316336001600160a01b031614610ed6575f80fd5b610edf476116ef565b565b6001600160a01b038316610f435760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108b5565b6001600160a01b038216610fa45760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108b5565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b03831661102b5760405162461bcd60e51b81526004016108b590611d1f565b6001600160a01b0382166110515760405162461bcd60e51b81526004016108b590611d64565b600a5462010000900460ff166110e3576001600160a01b0383165f908152600e602052604090205460ff168061109e57506001600160a01b0382165f908152600e602052604090205460ff165b6110e35760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b60448201526064016108b5565b805f036110fa576110f583835f611726565b505050565b600a54610100900460ff1615611402576005546001600160a01b0384811691161480159061113657506005546001600160a01b03838116911614155b801561114a57506001600160a01b03821615155b801561116157506001600160a01b03821661dead14155b80156111a757506001600160a01b0383165f908152600e602052604090205460ff16806111a557506001600160a01b0382165f908152600e602052604090205460ff165b155b80156111bd5750600554600160a01b900460ff16155b15611402576001600160a01b0383165f9081526010602052604090205460ff16801561120157506001600160a01b0382165f908152600f602052604090205460ff16155b156112e4576007548111156112765760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b60648201526084016108b5565b6008546001600160a01b0383165f9081526020819052604090205461129b9083611dbb565b11156112df5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016108b5565b611402565b6001600160a01b0382165f9081526010602052604090205460ff16801561132357506001600160a01b0383165f908152600f602052604090205460ff16155b15611399576007548111156112df5760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b60648201526084016108b5565b6008546001600160a01b0383165f908152602081905260409020546113be9083611dbb565b11156114025760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016108b5565b305f90815260208190526040902054600954811180801561142c5750600a546301000000900460ff165b80156114425750600554600160a01b900460ff16155b801561146657506001600160a01b0385165f9081526010602052604090205460ff16155b801561148a57506001600160a01b0385165f908152600e602052604090205460ff16155b80156114ae57506001600160a01b0384165f908152600e602052604090205460ff16155b156114dd576005805460ff60a01b1916600160a01b1790556114cf8361182c565b6005805460ff60a01b191690555b6005546001600160a01b0386165f908152600e602052604090205460ff600160a01b90920482161591168061152957506001600160a01b0385165f908152600e602052604090205460ff165b1561153157505f5b5f81156115eb576001600160a01b0386165f9081526010602052604090205460ff161561158857600d541561158357611580606461157a600d548861189f90919063ffffffff16565b9061191d565b90505b6115cd565b6001600160a01b0387165f9081526010602052604090205460ff16156115cd57600c54156115cd576115ca606461157a600c548861189f90919063ffffffff16565b90505b80156115de576115de873083611726565b6115e88186611dce565b94505b6115f6878787611726565b50505050505050565b5f81848411156116225760405162461bcd60e51b81526004016108b59190611b40565b505f61162e8486611dce565b95945050505050565b5f806116438385611dbb565b9050838110156116955760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016108b5565b9392505050565b6001600160a01b0382165f81815260106020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6006546040516001600160a01b039091169082156108fc029083905f818181858888f19350505050158015610c62573d5f803e3d5ffd5b6001600160a01b03831661174c5760405162461bcd60e51b81526004016108b590611d1f565b6001600160a01b0382166117725760405162461bcd60e51b81526004016108b590611d64565b6117ae81604051806060016040528060268152602001611eb7602691396001600160a01b0386165f9081526020819052604090205491906115ff565b6001600160a01b038085165f9081526020819052604080822093909355908416815220546117dc9082611637565b6001600160a01b038381165f818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610ff8565b305f90815260208190526040902054600a54640100000000900460ff161561186c578015610c6257600654610c629030906001600160a01b031683611726565b805f03611877575050565b5f82600954116118895760095461188b565b825b90506118968161195e565b6110f5476116ef565b5f825f036118ae57505f61081e565b5f6118b98385611de1565b9050826118c68583611df8565b146116955760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016108b5565b5f61169583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611b14565b6040805160028082526060820183525f9260208301908036833701905050905030815f8151811061199157611991611e17565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a0d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a319190611e2b565b81600181518110611a4457611a44611e17565b60200260200101906001600160a01b031690816001600160a01b031681525050611a8f307f000000000000000000000000000000000000000000000000000000000000000084610ee1565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac94790611ae39085905f90869030904290600401611e46565b5f604051808303815f87803b158015611afa575f80fd5b505af1925050508015611b0b575060015b15610c62575050565b5f8183611b345760405162461bcd60e51b81526004016108b59190611b40565b505f61162e8486611df8565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b0381168114610993575f80fd5b5f8060408385031215611b9a575f80fd5b8235611ba581611b75565b946020939093013593505050565b5f60208284031215611bc3575f80fd5b813561169581611b75565b5f805f60608486031215611be0575f80fd5b8335611beb81611b75565b92506020840135611bfb81611b75565b929592945050506040919091013590565b8015158114610993575f80fd5b5f8060408385031215611c2a575f80fd5b8235611c3581611b75565b91506020830135611c4581611c0c565b809150509250929050565b5f60208284031215611c60575f80fd5b813561169581611c0c565b5f8060408385031215611c7c575f80fd5b8235611c8781611b75565b91506020830135611c4581611b75565b600181811c90821680611cab57607f821691505b602082108103611cc957634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b5f60208284031215611d14575f80fd5b815161169581611c0c565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561081e5761081e611da7565b8181038181111561081e5761081e611da7565b808202811582820484141761081e5761081e611da7565b5f82611e1257634e487b7160e01b5f52601260045260245ffd5b500490565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215611e3b575f80fd5b815161169581611b75565b5f60a0820187835286602084015260a0604084015280865180835260c0850191506020880192505f5b81811015611e965783516001600160a01b0316835260209384019390920191600101611e6f565b50506001600160a01b03959095166060840152505060800152939250505056fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220190d571f4ba86d37f685727bfbb42a25302bda28373a33cb11b993217eaae43664736f6c634300081a00334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65728be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0
Deployed Bytecode
0x608060405260043610610241575f3560e01c8063751039fc11610134578063aacebbe3116100b3578063d85ba06311610078578063d85ba063146106c8578063dd62ed3e146106dd578063ee40166e14610721578063f2fde38b14610736578063f429389014610755578063f8b45b0514610769575f80fd5b8063aacebbe314610628578063b62496f514610647578063bbc0c74214610675578063c024666814610694578063c8c8ebe4146106b3575f80fd5b8063955b225b116100f9578063955b225b1461059857806395d89b41146105b75780639a7a23d6146105cb578063a457c2d7146105ea578063a9059cbb14610609575f80fd5b8063751039fc146105155780637571336a146105295780638a8c523c146105485780638da5cb5b1461055c578063924de9b714610579575f80fd5b806349bd5a5e116101c0578063503dfc4d11610185578063503dfc4d146104845780636a486a8e146104985780636ddd1713146104ad57806370a08231146104cd578063715018a614610501575f80fd5b806349bd5a5e146103c65780634a62bb65146103f95780634c24c51d146104175780634cdc8da4146104385780634fbee1931461044d575f80fd5b806323b872dd1161020657806323b872dd1461033c57806327c8f8351461035b5780632f5f257214610370578063313ce5671461038657806339509351146103a7575f80fd5b806306fdde031461024c578063095ea7b31461027657806310d5de53146102a55780631694505e146102d357806318160ddd1461031e575f80fd5b3661024857005b5f80fd5b348015610257575f80fd5b5061026061077e565b60405161026d9190611b40565b60405180910390f35b348015610281575f80fd5b50610295610290366004611b89565b61080e565b604051901515815260200161026d565b3480156102b0575f80fd5b506102956102bf366004611bb3565b600f6020525f908152604090205460ff1681565b3480156102de575f80fd5b506103067f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b03909116815260200161026d565b348015610329575f80fd5b506002545b60405190815260200161026d565b348015610347575f80fd5b50610295610356366004611bce565b610824565b348015610366575f80fd5b5061030661dead81565b34801561037b575f80fd5b5061038461088b565b005b348015610391575f80fd5b50600a5460405160ff909116815260200161026d565b3480156103b2575f80fd5b506102956103c1366004611b89565b6108c9565b3480156103d1575f80fd5b506103067f0000000000000000000000000f388ecdbc128083bfe317b00de2c25fbe9f24d581565b348015610404575f80fd5b50600a5461029590610100900460ff1681565b348015610422575f80fd5b50600a5461029590640100000000900460ff1681565b348015610443575f80fd5b5061032e60095481565b348015610458575f80fd5b50610295610467366004611bb3565b6001600160a01b03165f908152600e602052604090205460ff1690565b34801561048f575f80fd5b506103846108fe565b3480156104a3575f80fd5b5061032e600d5481565b3480156104b8575f80fd5b50600a54610295906301000000900460ff1681565b3480156104d8575f80fd5b5061032e6104e7366004611bb3565b6001600160a01b03165f9081526020819052604090205490565b34801561050c575f80fd5b50610384610996565b348015610520575f80fd5b50610295610a09565b348015610534575f80fd5b50610384610543366004611c19565b610a4f565b348015610553575f80fd5b50610384610aa3565b348015610567575f80fd5b506005546001600160a01b0316610306565b348015610584575f80fd5b50610384610593366004611c50565b610ae6565b3480156105a3575f80fd5b506103846105b2366004611c50565b610b2e565b3480156105c2575f80fd5b50610260610b78565b3480156105d6575f80fd5b506103846105e5366004611c19565b610b87565b3480156105f5575f80fd5b50610295610604366004611b89565b610c66565b348015610614575f80fd5b50610295610623366004611b89565b610cb3565b348015610633575f80fd5b50610384610642366004611bb3565b610cbf565b348015610652575f80fd5b50610295610661366004611bb3565b60106020525f908152604090205460ff1681565b348015610680575f80fd5b50600a546102959062010000900460ff1681565b34801561069f575f80fd5b506103846106ae366004611c19565b610d45565b3480156106be575f80fd5b5061032e60075481565b3480156106d3575f80fd5b5061032e600c5481565b3480156106e8575f80fd5b5061032e6106f7366004611c6b565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b34801561072c575f80fd5b5061032e600b5481565b348015610741575f80fd5b50610384610750366004611bb3565b610dcd565b348015610760575f80fd5b50610384610eb7565b348015610774575f80fd5b5061032e60085481565b60606003805461078d90611c97565b80601f01602080910402602001604051908101604052809291908181526020018280546107b990611c97565b80156108045780601f106107db57610100808354040283529160200191610804565b820191905f5260205f20905b8154815290600101906020018083116107e757829003601f168201915b5050505050905090565b5f61081a338484610ee1565b5060015b92915050565b5f610830848484611005565b610881843361087c85604051806060016040528060288152602001611edd602891396001600160a01b038a165f90815260016020908152604080832033845290915290205491906115ff565b610ee1565b5060019392505050565b6005546001600160a01b031633146108be5760405162461bcd60e51b81526004016108b590611ccf565b60405180910390fd5b5f600c819055600d55565b335f8181526001602090815260408083206001600160a01b0387168452909152812054909161081a91859061087c9086611637565b6006546001600160a01b0316336001600160a01b03161461091d575f80fd5b305f8181526020818152604080832054815163a9059cbb60e01b81523360048201526024810191909152905163a9059cbb936044808401949383900301908290875af115801561096f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109939190611d04565b50565b6005546001600160a01b031633146109c05760405162461bcd60e51b81526004016108b590611ccf565b6005546040515f916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005545f906001600160a01b03163314610a355760405162461bcd60e51b81526004016108b590611ccf565b505f600c819055600d55600a805461ff0019169055600190565b6005546001600160a01b03163314610a795760405162461bcd60e51b81526004016108b590611ccf565b6001600160a01b03919091165f908152600f60205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610acd5760405162461bcd60e51b81526004016108b590611ccf565b600a805463ffff00001916630101000017905543600b55565b6005546001600160a01b03163314610b105760405162461bcd60e51b81526004016108b590611ccf565b600a805491151563010000000263ff00000019909216919091179055565b6005546001600160a01b03163314610b585760405162461bcd60e51b81526004016108b590611ccf565b600a80549115156401000000000264ff0000000019909216919091179055565b60606004805461078d90611c97565b6005546001600160a01b03163314610bb15760405162461bcd60e51b81526004016108b590611ccf565b7f0000000000000000000000000f388ecdbc128083bfe317b00de2c25fbe9f24d56001600160a01b0316826001600160a01b031603610c585760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b657250616972730000000000000060648201526084016108b5565b610c62828261169c565b5050565b5f61081a338461087c85604051806060016040528060258152602001611f0560259139335f9081526001602090815260408083206001600160a01b038d16845290915290205491906115ff565b5f61081a338484611005565b6005546001600160a01b03163314610ce95760405162461bcd60e51b81526004016108b590611ccf565b6006546040516001600160a01b03918216918316907fa751787977eeb3902e30e1d19ca00c6ad274a1f622c31a206e32366700b05674905f90a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610d6f5760405162461bcd60e51b81526004016108b590611ccf565b6001600160a01b0382165f818152600e6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b03163314610df75760405162461bcd60e51b81526004016108b590611ccf565b6001600160a01b038116610e5c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108b5565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6006546001600160a01b0316336001600160a01b031614610ed6575f80fd5b610edf476116ef565b565b6001600160a01b038316610f435760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108b5565b6001600160a01b038216610fa45760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108b5565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b03831661102b5760405162461bcd60e51b81526004016108b590611d1f565b6001600160a01b0382166110515760405162461bcd60e51b81526004016108b590611d64565b600a5462010000900460ff166110e3576001600160a01b0383165f908152600e602052604090205460ff168061109e57506001600160a01b0382165f908152600e602052604090205460ff165b6110e35760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b60448201526064016108b5565b805f036110fa576110f583835f611726565b505050565b600a54610100900460ff1615611402576005546001600160a01b0384811691161480159061113657506005546001600160a01b03838116911614155b801561114a57506001600160a01b03821615155b801561116157506001600160a01b03821661dead14155b80156111a757506001600160a01b0383165f908152600e602052604090205460ff16806111a557506001600160a01b0382165f908152600e602052604090205460ff165b155b80156111bd5750600554600160a01b900460ff16155b15611402576001600160a01b0383165f9081526010602052604090205460ff16801561120157506001600160a01b0382165f908152600f602052604090205460ff16155b156112e4576007548111156112765760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b60648201526084016108b5565b6008546001600160a01b0383165f9081526020819052604090205461129b9083611dbb565b11156112df5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016108b5565b611402565b6001600160a01b0382165f9081526010602052604090205460ff16801561132357506001600160a01b0383165f908152600f602052604090205460ff16155b15611399576007548111156112df5760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b60648201526084016108b5565b6008546001600160a01b0383165f908152602081905260409020546113be9083611dbb565b11156114025760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016108b5565b305f90815260208190526040902054600954811180801561142c5750600a546301000000900460ff165b80156114425750600554600160a01b900460ff16155b801561146657506001600160a01b0385165f9081526010602052604090205460ff16155b801561148a57506001600160a01b0385165f908152600e602052604090205460ff16155b80156114ae57506001600160a01b0384165f908152600e602052604090205460ff16155b156114dd576005805460ff60a01b1916600160a01b1790556114cf8361182c565b6005805460ff60a01b191690555b6005546001600160a01b0386165f908152600e602052604090205460ff600160a01b90920482161591168061152957506001600160a01b0385165f908152600e602052604090205460ff165b1561153157505f5b5f81156115eb576001600160a01b0386165f9081526010602052604090205460ff161561158857600d541561158357611580606461157a600d548861189f90919063ffffffff16565b9061191d565b90505b6115cd565b6001600160a01b0387165f9081526010602052604090205460ff16156115cd57600c54156115cd576115ca606461157a600c548861189f90919063ffffffff16565b90505b80156115de576115de873083611726565b6115e88186611dce565b94505b6115f6878787611726565b50505050505050565b5f81848411156116225760405162461bcd60e51b81526004016108b59190611b40565b505f61162e8486611dce565b95945050505050565b5f806116438385611dbb565b9050838110156116955760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016108b5565b9392505050565b6001600160a01b0382165f81815260106020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6006546040516001600160a01b039091169082156108fc029083905f818181858888f19350505050158015610c62573d5f803e3d5ffd5b6001600160a01b03831661174c5760405162461bcd60e51b81526004016108b590611d1f565b6001600160a01b0382166117725760405162461bcd60e51b81526004016108b590611d64565b6117ae81604051806060016040528060268152602001611eb7602691396001600160a01b0386165f9081526020819052604090205491906115ff565b6001600160a01b038085165f9081526020819052604080822093909355908416815220546117dc9082611637565b6001600160a01b038381165f818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610ff8565b305f90815260208190526040902054600a54640100000000900460ff161561186c578015610c6257600654610c629030906001600160a01b031683611726565b805f03611877575050565b5f82600954116118895760095461188b565b825b90506118968161195e565b6110f5476116ef565b5f825f036118ae57505f61081e565b5f6118b98385611de1565b9050826118c68583611df8565b146116955760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016108b5565b5f61169583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611b14565b6040805160028082526060820183525f9260208301908036833701905050905030815f8151811061199157611991611e17565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a0d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a319190611e2b565b81600181518110611a4457611a44611e17565b60200260200101906001600160a01b031690816001600160a01b031681525050611a8f307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84610ee1565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac94790611ae39085905f90869030904290600401611e46565b5f604051808303815f87803b158015611afa575f80fd5b505af1925050508015611b0b575060015b15610c62575050565b5f8183611b345760405162461bcd60e51b81526004016108b59190611b40565b505f61162e8486611df8565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b0381168114610993575f80fd5b5f8060408385031215611b9a575f80fd5b8235611ba581611b75565b946020939093013593505050565b5f60208284031215611bc3575f80fd5b813561169581611b75565b5f805f60608486031215611be0575f80fd5b8335611beb81611b75565b92506020840135611bfb81611b75565b929592945050506040919091013590565b8015158114610993575f80fd5b5f8060408385031215611c2a575f80fd5b8235611c3581611b75565b91506020830135611c4581611c0c565b809150509250929050565b5f60208284031215611c60575f80fd5b813561169581611c0c565b5f8060408385031215611c7c575f80fd5b8235611c8781611b75565b91506020830135611c4581611b75565b600181811c90821680611cab57607f821691505b602082108103611cc957634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b5f60208284031215611d14575f80fd5b815161169581611c0c565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561081e5761081e611da7565b8181038181111561081e5761081e611da7565b808202811582820484141761081e5761081e611da7565b5f82611e1257634e487b7160e01b5f52601260045260245ffd5b500490565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215611e3b575f80fd5b815161169581611b75565b5f60a0820187835286602084015260a0604084015280865180835260c0850191506020880192505f5b81811015611e965783516001600160a01b0316835260209384019390920191600101611e6f565b50506001600160a01b03959095166060840152505060800152939250505056fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220190d571f4ba86d37f685727bfbb42a25302bda28373a33cb11b993217eaae43664736f6c634300081a0033
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.