ERC-20
Staking
Overview
Max Total Supply
1,000,000,000 TREASURE
Holders
726 (0.00%)
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
9,394.007813091267416029 TREASUREValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x4d59A8CD...6788fAB1D The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
TREASURE
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/** THIS CONTRACT IS PROVIDED ON AN “AS IS” BASIS. USE THIS SOFTWARE AT YOUR OWN RISK. THERE IS NO WARRANTY, EXPRESSED OR IMPLIED, THAT DESCRIBED FUNCTIONALITY WILL FUNCTION AS EXPECTED OR INTENDED. PRODUCT MAY CEASE TO EXIST. NOT AN INVESTMENT, SECURITY OR A SWAP. TOKENS HAVE NO RIGHTS, USES, PURPOSE, ATTRIBUTES, FUNCTIONALITIES OR FEATURES, EXPRESS OR IMPLIED, INCLUDING, WITHOUT LIMITATION, ANY USES, PURPOSE OR ATTRIBUTES. TOKENS MAY HAVE NO VALUE. PRODUCT MAY CONTAIN BUGS AND SERIOUS BREACHES IN THE SECURITY THAT MAY RESULT IN LOSS OF YOUR ASSETS OR THEIR IMPLIED VALUE. ALL THE CRYPTOCURRENCY TRANSFERRED TO THIS SMART CONTRACT MAY BE LOST. THE CONTRACT DEVLOPERS ARE NOT RESPONSIBLE FOR ANY MONETARY LOSS, PROFIT LOSS OR ANY OTHER LOSSES DUE TO USE OF DESCRIBED PRODUCT. CHANGES COULD BE MADE BEFORE AND AFTER THE RELEASE OF THE PRODUCT. NO PRIOR NOTICE MAY BE GIVEN. ALL TRANSACTION ON THE BLOCKCHAIN ARE FINAL, NO REFUND, COMPENSATION OR REIMBURSEMENT POSSIBLE. YOU MAY LOOSE ALL THE CRYPTOCURRENCY USED TO INTERACT WITH THIS CONTRACT. IT IS YOUR RESPONSIBILITY TO REVIEW THE PROJECT, TEAM, TERMS & CONDITIONS BEFORE USING THE PRODUCT. **/ // SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "../lib/IUniswapV2Pair.sol"; import "../lib/IUniswapV2Factory.sol"; import "../lib/IUniswapV2Router.sol"; contract TREASURE is ERC20, Ownable { using SafeMath for uint256; IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; uint256 public _totalSupply = 1e9 * 1e18; // 1 B tokens uint256 public swapTokensAtAmount = 1e6 * 1e18; // 1M = Threshold for swap (0.1%) uint256 public maxWalletHoldings = 3e6 * 1e18; // 0.3% max wallet holdings (mutable) address public marketingAddress; uint256 public marketingFee = 4; address public treasuryAddress; uint256 public treasuryFee = 3; uint256 public liquidityBuyFee = 5; uint256 public liquiditySellFee = 5; address private devAddress; address private lpAddress; bool public _hasLiqBeenAdded = false; uint256 public launchedAt = 0; uint256 public swapAndLiquifycount = 0; uint256 public snipersCaught = 0; mapping(address => bool) private whitelisted; mapping(address => bool) public blacklisted; bool private swapping; mapping(address => bool) public automatedMarketMakerPairs; event UpdateUniswapV2Router( address indexed newAddress, address indexed oldAddress ); event SendDividends(uint256 tokensSwapped, uint256 amount); event AddToWhitelist(address indexed account, bool isWhitelisted); event AddToBlacklist(address indexed account, bool isBlacklisted); event MarketingAddressUpdated( address indexed newMarketingWallet, address indexed oldMarketingWallet ); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event SwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiqudity ); receive() external payable {} constructor( address _marketingAddress, address _treasuryAdress, address _devAddress, address _lpAddress, address _uniswapAddress ) ERC20("TreasureToken", "TREASURE") { marketingAddress = _marketingAddress; treasuryAddress = _treasuryAdress; devAddress = _devAddress; lpAddress = _lpAddress; // Set Uniswap Address IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02( address(_uniswapAddress) ); address _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = _uniswapV2Pair; _setAutomatedMarketMakerPair(_uniswapV2Pair, true); whitelist(address(this), true); whitelist(owner(), true); whitelist(marketingAddress, true); whitelist(treasuryAddress, true); super._mint(owner(), _totalSupply); } /** * ADMIN SETTINGS */ function updateAddresses(address newmarketingAddress, address newLpAddress) public onlyOwner { whitelist(newmarketingAddress, true); whitelist(newLpAddress, true); emit MarketingAddressUpdated(newmarketingAddress, marketingAddress); marketingAddress = newmarketingAddress; lpAddress = newLpAddress; } function updateMarketingVariables( uint256 _marketingFee, uint256 _swapTokensAtAmount, uint256 _liquidityBuyFee, uint256 _liquiditySellFee, uint256 _maxWalletHoldings ) public onlyOwner { marketingFee = _marketingFee; swapTokensAtAmount = _swapTokensAtAmount; liquidityBuyFee = _liquidityBuyFee; liquiditySellFee = _liquiditySellFee; maxWalletHoldings = _maxWalletHoldings; } function updateUniswapV2Router(address newAddress) public onlyOwner { require( newAddress != address(uniswapV2Router), "TREASURE: The router already has that address" ); emit UpdateUniswapV2Router(newAddress, address(uniswapV2Router)); uniswapV2Router = IUniswapV2Router02(newAddress); } function swapAndSendDividendsAndLiquidity(uint256 tokens) private { uint256 totalFeeBps = (liquiditySellFee.add(liquidityBuyFee)).mul(100).div(2) .add(marketingFee.add(treasuryFee).mul(100)); // Handle Marketing & Treasury Fee uint256 marketingTreasuryBps = (marketingFee.add(treasuryFee)).mul(10000).div(totalFeeBps); uint256 tokensForMarketingTreasury = tokens.mul(marketingTreasuryBps).div(100); //Handle Liquidity Fee uint256 tokensForLiquify = tokens.sub(tokensForMarketingTreasury); swapTokensForEth(tokensForMarketingTreasury); uint256 dividends = address(this).balance; (bool successMarketing, ) = address(marketingAddress).call{ value: address(this).balance.mul(marketingFee).div(marketingFee.add(treasuryFee)) }(""); (bool successTreasury, ) = address(treasuryAddress).call{ value: address(this).balance.mul(treasuryFee).div(marketingFee.add(treasuryFee)) }(""); require(successMarketing && successTreasury, "Error Sending tokens"); emit SendDividends(tokens, dividends); swapAndLiquify(tokensForLiquify); swapAndLiquifycount = swapAndLiquifycount.add(1); } function manualSwapandLiquify(uint256 _balance) external onlyOwner { swapAndSendDividendsAndLiquidity(_balance); } function swapAndLiquify(uint256 contractTokenBalance) internal { // split the contract balance into halves uint256 half = contractTokenBalance.div(2); uint256 otherHalf = contractTokenBalance.sub(half); uint256 initialBalance = address(this).balance; // swap tokens for ETH swapTokensForEth(half); // how much BNB did we just swap into? uint256 newBalance = address(this).balance.sub(initialBalance); // add liquidity addLiquidity(otherHalf, newBalance); initialBalance = address(this).balance; emit SwapAndLiquify(half, newBalance, otherHalf); } function _transfer( address from, address to, uint256 amount ) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require(!blacklisted[from], "TREASURE: Blocked Transfer"); // Sniper Protection if (!_hasLiqBeenAdded) { // If no liquidity yet, allow owner to add liquidity _checkLiquidityAdd(from, to); } else { // if liquidity has already been added. if ( launchedAt > 0 && from == uniswapV2Pair && devAddress != from && devAddress != to ) { if (block.number - launchedAt < 10) { _blacklist(to, true); snipersCaught++; } } } if (amount == 0) { super._transfer(from, to, 0); return; } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount; if ( canSwap && !swapping && !automatedMarketMakerPairs[from] && from != marketingAddress && to != marketingAddress ) { swapping = true; swapAndSendDividendsAndLiquidity(swapTokensAtAmount); swapping = false; } bool takeFee = !swapping; // if any account is whitelisted account then remove the fee if (whitelisted[from] || whitelisted[to]) { takeFee = false; } if (takeFee) { if (!automatedMarketMakerPairs[to]) { require( balanceOf(address(to)).add(amount) < maxWalletHoldings, "Max Wallet Limit" ); } uint256 fees = amount.mul(marketingFee.add(treasuryFee)).div(100); if (automatedMarketMakerPairs[from]) { fees = fees.add(amount.mul(liquidityBuyFee).div(100)); } else { fees = fees.add(amount.mul(liquiditySellFee).div(100)); } amount = amount.sub(fees); super._transfer(from, address(this), fees); } super._transfer(from, to, amount); } function _checkLiquidityAdd(address from, address to) private { // if liquidity is added by the _liquidityholders set // trading enables to true and start the anti sniper timer require(!_hasLiqBeenAdded, "Liquidity already added and marked."); // require liquidity has been added == false (not added). // This is basically only called when owner is adding liquidity. if (from == devAddress && to == uniswapV2Pair) { _hasLiqBeenAdded = true; launchedAt = block.number; } } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { // Approve token transfer to cover all possible scenarios _approve(address(this), address(uniswapV2Router), tokenAmount); // Add the liquidity uniswapV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // Slippage is unavoidable 0, // Slippage is unavoidable lpAddress, block.timestamp ); } function whitelist(address account, bool isWhitelisted) public onlyOwner { whitelisted[account] = isWhitelisted; emit AddToWhitelist(account, isWhitelisted); (account, isWhitelisted); } function blacklist(address account, bool isBlacklisted) public onlyOwner { _blacklist(account, isBlacklisted); } function launched() internal view returns (bool) { return launchedAt != 0; } function launch() public onlyOwner { launchedAt = block.number; _hasLiqBeenAdded = true; } /**********/ /* PRIVATE FUNCTIONS */ /**********/ function _blacklist(address account, bool isBlacklisted) private { blacklisted[account] = isBlacklisted; emit AddToBlacklist(account, isBlacklisted); (account, isBlacklisted); } 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 uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } function setAutomatedMarketMakerPair(address pair, bool value) public onlyOwner { require( pair != uniswapV2Pair, "TREASURE: The Uniswap pair cannot be removed from automatedMarketMakerPairs" ); _setAutomatedMarketMakerPair(pair, value); } function _setAutomatedMarketMakerPair(address pair, bool value) private { require( automatedMarketMakerPairs[pair] != value, "TREASURE: Automated market maker pair is already set to that value" ); automatedMarketMakerPairs[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; 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; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; 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; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; 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); } // pragma solidity >=0.6.2; 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; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_marketingAddress","type":"address"},{"internalType":"address","name":"_treasuryAdress","type":"address"},{"internalType":"address","name":"_devAddress","type":"address"},{"internalType":"address","name":"_lpAddress","type":"address"},{"internalType":"address","name":"_uniswapAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isBlacklisted","type":"bool"}],"name":"AddToBlacklist","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isWhitelisted","type":"bool"}],"name":"AddToWhitelist","type":"event"},{"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":"newMarketingWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldMarketingWallet","type":"address"}],"name":"MarketingAddressUpdated","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":"amount","type":"uint256"}],"name":"SendDividends","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":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiqudity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateUniswapV2Router","type":"event"},{"inputs":[],"name":"_hasLiqBeenAdded","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"isBlacklisted","type":"bool"}],"name":"blacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"blacklisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"launch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"launchedAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityBuyFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquiditySellFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_balance","type":"uint256"}],"name":"manualSwapandLiquify","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"marketingAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletHoldings","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"snipersCaught","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapAndLiquifycount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"treasuryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"treasuryFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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","name":"newmarketingAddress","type":"address"},{"internalType":"address","name":"newLpAddress","type":"address"}],"name":"updateAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingFee","type":"uint256"},{"internalType":"uint256","name":"_swapTokensAtAmount","type":"uint256"},{"internalType":"uint256","name":"_liquidityBuyFee","type":"uint256"},{"internalType":"uint256","name":"_liquiditySellFee","type":"uint256"},{"internalType":"uint256","name":"_maxWalletHoldings","type":"uint256"}],"name":"updateMarketingVariables","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateUniswapV2Router","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"isWhitelisted","type":"bool"}],"name":"whitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526b033b2e3c9fd0803ce800000060085569d3c21bcecceda10000006009556a027b46536c66c8e3000000600a556004600c556003600e556005600f8190556010556012805460ff60a01b191690556000601381905560148190556015553480156200006e57600080fd5b506040516200297d3803806200297d83398101604081905262000091916200078f565b604080518082018252600d81526c2a3932b0b9bab932aa37b5b2b760991b602080830191825283518085019094526008845267545245415355524560c01b908401528151919291620000e691600391620006a8565b508051620000fc906004906020840190620006a8565b5050506200011962000113620003b860201b60201c565b620003bc565b600b80546001600160a01b03199081166001600160a01b0388811691909117909255600d80548216878416179055601180548216868416179055601280549091168483161790556040805163c45a015560e01b8152905183926000929084169163c45a015591600480820192602092909190829003018186803b158015620001a057600080fd5b505afa158015620001b5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001db91906200076b565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156200022457600080fd5b505afa15801562000239573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200025f91906200076b565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b158015620002a857600080fd5b505af1158015620002bd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002e391906200076b565b600680546001600160a01b038086166001600160a01b03199283161790925560078054928416929091169190911790559050620003228160016200040e565b6200032f30600162000508565b6200034e620003466005546001600160a01b031690565b600162000508565b600b5462000367906001600160a01b0316600162000508565b600d5462000380906001600160a01b0316600162000508565b620003ab620003976005546001600160a01b031690565b600854620005c360201b62000e301760201c565b5050505050505062000860565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821660009081526019602052604090205460ff1615158115151415620004b45760405162461bcd60e51b815260206004820152604260248201527f54524541535552453a204175746f6d61746564206d61726b6574206d616b657260448201527f207061697220697320616c72656164792073657420746f20746861742076616c606482015261756560f01b608482015260a4015b60405180910390fd5b6001600160a01b038216600081815260196020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6005546001600160a01b03163314620005645760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620004ab565b6001600160a01b038216600081815260166020908152604091829020805460ff191685151590811790915591519182527fd627be9538764938ab0ab9b7e4544d40e75a47cf106975754afbd1010eb74110910160405180910390a25050565b6001600160a01b0382166200061b5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620004ab565b80600260008282546200062f9190620007fe565b90915550506001600160a01b038216600090815260208190526040812080548392906200065e908490620007fe565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b828054620006b69062000823565b90600052602060002090601f016020900481019282620006da576000855562000725565b82601f10620006f557805160ff191683800117855562000725565b8280016001018555821562000725579182015b828111156200072557825182559160200191906001019062000708565b506200073392915062000737565b5090565b5b8082111562000733576000815560010162000738565b80516001600160a01b03811681146200076657600080fd5b919050565b6000602082840312156200077d578081fd5b62000788826200074e565b9392505050565b600080600080600060a08688031215620007a7578081fd5b620007b2866200074e565b9450620007c2602087016200074e565b9350620007d2604087016200074e565b9250620007e2606087016200074e565b9150620007f2608087016200074e565b90509295509295909350565b600082198211156200081e57634e487b7160e01b81526011600452602481fd5b500190565b600181811c908216806200083857607f821691505b602082108114156200085a57634e487b7160e01b600052602260045260246000fd5b50919050565b61210d80620008706000396000f3fe6080604052600436106102345760003560e01c806395d89b411161012e578063cc32d176116100ab578063e2f456051161006f578063e2f456051461069e578063e79d4160146106b4578063e9492bdb146106ca578063f2fde38b146106ea578063f59c37081461070a57600080fd5b8063cc32d176146105dc578063ccb61358146105f2578063d060ad8d14610608578063dbac26e914610628578063dd62ed3e1461065857600080fd5b8063b62496f5116100f2578063b62496f514610540578063b7ea78b514610570578063bf56b37114610586578063c1d110371461059c578063c5f956af146105bc57600080fd5b806395d89b41146104ab5780639a7a23d6146104c0578063a457c2d7146104e0578063a5ece94114610500578063a9059cbb1461052057600080fd5b80633eaaf86b116101bc5780636b67c4df116101805780636b67c4df1461041657806370a082311461042c578063715018a6146104625780638da5cb5b1461047757806392b5d0461461049557600080fd5b80633eaaf86b1461037f578063404e51291461039557806349bd5a5e146103b557806350a8e016146103d557806365b8dbc0146103f657600080fd5b80631694505e116102035780631694505e146102d657806318160ddd1461030e57806323b872dd14610323578063313ce56714610343578063395093511461035f57600080fd5b806301339c211461024057806306fdde0314610257578063095ea7b314610282578063099d0d30146102b257600080fd5b3661023b57005b600080fd5b34801561024c57600080fd5b5061025561072a565b005b34801561026357600080fd5b5061026c610776565b6040516102799190611e68565b60405180910390f35b34801561028e57600080fd5b506102a261029d366004611dbe565b610808565b6040519015158152602001610279565b3480156102be57600080fd5b506102c860105481565b604051908152602001610279565b3480156102e257600080fd5b506006546102f6906001600160a01b031681565b6040516001600160a01b039091168152602001610279565b34801561031a57600080fd5b506002546102c8565b34801561032f57600080fd5b506102a261033e366004611d4d565b61081e565b34801561034f57600080fd5b5060405160128152602001610279565b34801561036b57600080fd5b506102a261037a366004611dbe565b6108c8565b34801561038b57600080fd5b506102c860085481565b3480156103a157600080fd5b506102556103b0366004611d8d565b610904565b3480156103c157600080fd5b506007546102f6906001600160a01b031681565b3480156103e157600080fd5b506012546102a290600160a01b900460ff1681565b34801561040257600080fd5b50610255610411366004611cdd565b61093c565b34801561042257600080fd5b506102c8600c5481565b34801561043857600080fd5b506102c8610447366004611cdd565b6001600160a01b031660009081526020819052604090205490565b34801561046e57600080fd5b50610255610a37565b34801561048357600080fd5b506005546001600160a01b03166102f6565b3480156104a157600080fd5b506102c860145481565b3480156104b757600080fd5b5061026c610a6d565b3480156104cc57600080fd5b506102556104db366004611d8d565b610a7c565b3480156104ec57600080fd5b506102a26104fb366004611dbe565b610b48565b34801561050c57600080fd5b50600b546102f6906001600160a01b031681565b34801561052c57600080fd5b506102a261053b366004611dbe565b610be1565b34801561054c57600080fd5b506102a261055b366004611cdd565b60196020526000908152604090205460ff1681565b34801561057c57600080fd5b506102c8600a5481565b34801561059257600080fd5b506102c860135481565b3480156105a857600080fd5b506102556105b7366004611d15565b610bee565b3480156105c857600080fd5b50600d546102f6906001600160a01b031681565b3480156105e857600080fd5b506102c8600e5481565b3480156105fe57600080fd5b506102c8600f5481565b34801561061457600080fd5b50610255610623366004611de9565b610c97565b34801561063457600080fd5b506102a2610643366004611cdd565b60176020526000908152604090205460ff1681565b34801561066457600080fd5b506102c8610673366004611d15565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156106aa57600080fd5b506102c860095481565b3480156106c057600080fd5b506102c860155481565b3480156106d657600080fd5b506102556106e5366004611e2e565b610ccd565b3480156106f657600080fd5b50610255610705366004611cdd565b610d0e565b34801561071657600080fd5b50610255610725366004611d8d565b610da6565b6005546001600160a01b0316331461075d5760405162461bcd60e51b815260040161075490611efe565b60405180910390fd5b436013556012805460ff60a01b1916600160a01b179055565b60606003805461078590612056565b80601f01602080910402602001604051908101604052809291908181526020018280546107b190612056565b80156107fe5780601f106107d3576101008083540402835291602001916107fe565b820191906000526020600020905b8154815290600101906020018083116107e157829003601f168201915b5050505050905090565b6000610815338484610f0f565b50600192915050565b600061082b848484611033565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156108b05760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610754565b6108bd8533858403610f0f565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916108159185906108ff908690611fe8565b610f0f565b6005546001600160a01b0316331461092e5760405162461bcd60e51b815260040161075490611efe565b6109388282611401565b5050565b6005546001600160a01b031633146109665760405162461bcd60e51b815260040161075490611efe565b6006546001600160a01b03828116911614156109da5760405162461bcd60e51b815260206004820152602d60248201527f54524541535552453a2054686520726f7574657220616c72656164792068617360448201526c2074686174206164647265737360981b6064820152608401610754565b6006546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610a615760405162461bcd60e51b815260040161075490611efe565b610a6b6000611459565b565b60606004805461078590612056565b6005546001600160a01b03163314610aa65760405162461bcd60e51b815260040161075490611efe565b6007546001600160a01b0383811691161415610b3e5760405162461bcd60e51b815260206004820152604b60248201527f54524541535552453a2054686520556e697377617020706169722063616e6e6f60448201527f742062652072656d6f7665642066726f6d206175746f6d617465644d61726b6560648201526a744d616b6572506169727360a81b608482015260a401610754565b61093882826114ab565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610bca5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610754565b610bd73385858403610f0f565b5060019392505050565b6000610815338484611033565b6005546001600160a01b03163314610c185760405162461bcd60e51b815260040161075490611efe565b610c23826001610da6565b610c2e816001610da6565b600b546040516001600160a01b03918216918416907fa8efc72ed34f90017df79620d1972d42b8e3b17eb0077fc5fc46cbf1a19ed9a990600090a3600b80546001600160a01b039384166001600160a01b03199182161790915560128054929093169116179055565b6005546001600160a01b03163314610cc15760405162461bcd60e51b815260040161075490611efe565b610cca8161159f565b50565b6005546001600160a01b03163314610cf75760405162461bcd60e51b815260040161075490611efe565b600c94909455600992909255600f55601055600a55565b6005546001600160a01b03163314610d385760405162461bcd60e51b815260040161075490611efe565b6001600160a01b038116610d9d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610754565b610cca81611459565b6005546001600160a01b03163314610dd05760405162461bcd60e51b815260040161075490611efe565b6001600160a01b038216600081815260166020908152604091829020805460ff191685151590811790915591519182527fd627be9538764938ab0ab9b7e4544d40e75a47cf106975754afbd1010eb7411091015b60405180910390a25050565b6001600160a01b038216610e865760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610754565b8060026000828254610e989190611fe8565b90915550506001600160a01b03821660009081526020819052604081208054839290610ec5908490611fe8565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b038316610f715760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610754565b6001600160a01b038216610fd25760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610754565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166110595760405162461bcd60e51b815260040161075490611f33565b6001600160a01b03821661107f5760405162461bcd60e51b815260040161075490611ebb565b6001600160a01b03831660009081526017602052604090205460ff16156110e85760405162461bcd60e51b815260206004820152601a60248201527f54524541535552453a20426c6f636b6564205472616e736665720000000000006044820152606401610754565b601254600160a01b900460ff166111085761110383836117d7565b611197565b600060135411801561112757506007546001600160a01b038481169116145b801561114157506011546001600160a01b03848116911614155b801561115b57506011546001600160a01b03838116911614155b1561119757600a60135443611170919061203f565b101561119757611181826001611401565b6015805490600061119183612091565b91905055505b806111ad576111a883836000611887565b505050565b30600090815260208190526040902054600954811080159081906111d4575060185460ff16155b80156111f957506001600160a01b03851660009081526019602052604090205460ff16155b80156112135750600b546001600160a01b03868116911614155b801561122d5750600b546001600160a01b03858116911614155b15611256576018805460ff1916600117905560095461124b9061159f565b6018805460ff191690555b6018546001600160a01b03861660009081526016602052604090205460ff9182161591168061129d57506001600160a01b03851660009081526016602052604090205460ff165b156112a6575060005b80156113ee576001600160a01b03851660009081526019602052604090205460ff1661133857600a546112f8856112f2886001600160a01b031660009081526020819052604090205490565b906119dc565b106113385760405162461bcd60e51b815260206004820152601060248201526f13585e0815d85b1b195d08131a5b5a5d60821b6044820152606401610754565b60006113666064611360611359600e54600c546119dc90919063ffffffff16565b88906119ef565b906119fb565b6001600160a01b03881660009081526019602052604090205490915060ff16156113b5576113ae6113a76064611360600f54896119ef90919063ffffffff16565b82906119dc565b90506113d5565b6113d26113a76064611360601054896119ef90919063ffffffff16565b90505b6113df8582611a07565b94506113ec873083611887565b505b6113f9868686611887565b505050505050565b6001600160a01b038216600081815260176020908152604091829020805460ff191685151590811790915591519182527fb8824340387d9ff86d985cc1c359540b0cb256a1023a53c8916f8927e05541109101610e24565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821660009081526019602052604090205460ff161515811515141561154b5760405162461bcd60e51b815260206004820152604260248201527f54524541535552453a204175746f6d61746564206d61726b6574206d616b657260448201527f207061697220697320616c72656164792073657420746f20746861742076616c606482015261756560f01b608482015260a401610754565b6001600160a01b038216600081815260196020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b60006115e76115c660646115c0600e54600c546119dc90919063ffffffff16565b906119ef565b6112f2600261136060646115c0600f546010546119dc90919063ffffffff16565b9050600061160c826113606127106115c0600e54600c546119dc90919063ffffffff16565b9050600061161f606461136086856119ef565b9050600061162d8583611a07565b905061163882611a13565b600b54600e54600c5447926000926001600160a01b039091169161166e9161166091906119dc565b600c546113609047906119ef565b604051600081818185875af1925050503d80600081146116aa576040519150601f19603f3d011682016040523d82523d6000602084013e6116af565b606091505b5050600d54600e54600c549293506000926001600160a01b03909216916116e8916116da91906119dc565b600e546113609047906119ef565b604051600081818185875af1925050503d8060008114611724576040519150601f19603f3d011682016040523d82523d6000602084013e611729565b606091505b505090508180156117375750805b61177a5760405162461bcd60e51b81526020600482015260146024820152734572726f722053656e64696e6720746f6b656e7360601b6044820152606401610754565b60408051898152602081018590527f80195cc573b02cc48460cbca6e6e4cc85ddb91959d946e1c3025ea3d87942dc3910160405180910390a16117bc84611b90565b6014546117ca9060016119dc565b6014555050505050505050565b601254600160a01b900460ff161561183d5760405162461bcd60e51b815260206004820152602360248201527f4c697175696469747920616c726561647920616464656420616e64206d61726b60448201526232b21760e91b6064820152608401610754565b6011546001600160a01b03838116911614801561186757506007546001600160a01b038281169116145b15610938576012805460ff60a01b1916600160a01b179055436013555050565b6001600160a01b0383166118ad5760405162461bcd60e51b815260040161075490611f33565b6001600160a01b0382166118d35760405162461bcd60e51b815260040161075490611ebb565b6001600160a01b0383166000908152602081905260409020548181101561194b5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610754565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611982908490611fe8565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516119ce91815260200190565b60405180910390a350505050565b60006119e88284611fe8565b9392505050565b60006119e88284612020565b60006119e88284612000565b60006119e8828461203f565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611a5657634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015611aaa57600080fd5b505afa158015611abe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ae29190611cf9565b81600181518110611b0357634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152600654611b299130911684610f0f565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac94790611b62908590600090869030904290600401611f78565b600060405180830381600087803b158015611b7c57600080fd5b505af11580156113f9573d6000803e3d6000fd5b6000611b9d8260026119fb565b90506000611bab8383611a07565b905047611bb783611a13565b6000611bc34783611a07565b9050611bcf8382611c1a565b60408051858152602081018390529081018490524792507f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a15050505050565b600654611c329030906001600160a01b031684610f0f565b60065460125460405163f305d71960e01b81523060048201526024810185905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c4016060604051808303818588803b158015611c9d57600080fd5b505af1158015611cb1573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611cd69190611e01565b5050505050565b600060208284031215611cee578081fd5b81356119e8816120c2565b600060208284031215611d0a578081fd5b81516119e8816120c2565b60008060408385031215611d27578081fd5b8235611d32816120c2565b91506020830135611d42816120c2565b809150509250929050565b600080600060608486031215611d61578081fd5b8335611d6c816120c2565b92506020840135611d7c816120c2565b929592945050506040919091013590565b60008060408385031215611d9f578182fd5b8235611daa816120c2565b915060208301358015158114611d42578182fd5b60008060408385031215611dd0578182fd5b8235611ddb816120c2565b946020939093013593505050565b600060208284031215611dfa578081fd5b5035919050565b600080600060608486031215611e15578283fd5b8351925060208401519150604084015190509250925092565b600080600080600060a08688031215611e45578081fd5b505083359560208501359550604085013594606081013594506080013592509050565b6000602080835283518082850152825b81811015611e9457858101830151858201604001528201611e78565b81811115611ea55783604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b600060a082018783526020878185015260a0604085015281875180845260c0860191508289019350845b81811015611fc75784516001600160a01b031683529383019391830191600101611fa2565b50506001600160a01b03969096166060850152505050608001529392505050565b60008219821115611ffb57611ffb6120ac565b500190565b60008261201b57634e487b7160e01b81526012600452602481fd5b500490565b600081600019048311821515161561203a5761203a6120ac565b500290565b600082821015612051576120516120ac565b500390565b600181811c9082168061206a57607f821691505b6020821081141561208b57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156120a5576120a56120ac565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0381168114610cca57600080fdfea2646970667358221220cd0342df62e8e10c1e730ae185bafa8515ccf842a701a4eca1281fe536c0fcf664736f6c63430008040033000000000000000000000000f20860aa4dfc67147c12df739a8e41cd3d34e0ca000000000000000000000000c6895f00cfb06cb5c914bd6b58efc54d069ae995000000000000000000000000b75a08e82a1bf0fcceb89bbdaf9aae00be8ca29a000000000000000000000000b75a08e82a1bf0fcceb89bbdaf9aae00be8ca29a0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Deployed Bytecode
0x6080604052600436106102345760003560e01c806395d89b411161012e578063cc32d176116100ab578063e2f456051161006f578063e2f456051461069e578063e79d4160146106b4578063e9492bdb146106ca578063f2fde38b146106ea578063f59c37081461070a57600080fd5b8063cc32d176146105dc578063ccb61358146105f2578063d060ad8d14610608578063dbac26e914610628578063dd62ed3e1461065857600080fd5b8063b62496f5116100f2578063b62496f514610540578063b7ea78b514610570578063bf56b37114610586578063c1d110371461059c578063c5f956af146105bc57600080fd5b806395d89b41146104ab5780639a7a23d6146104c0578063a457c2d7146104e0578063a5ece94114610500578063a9059cbb1461052057600080fd5b80633eaaf86b116101bc5780636b67c4df116101805780636b67c4df1461041657806370a082311461042c578063715018a6146104625780638da5cb5b1461047757806392b5d0461461049557600080fd5b80633eaaf86b1461037f578063404e51291461039557806349bd5a5e146103b557806350a8e016146103d557806365b8dbc0146103f657600080fd5b80631694505e116102035780631694505e146102d657806318160ddd1461030e57806323b872dd14610323578063313ce56714610343578063395093511461035f57600080fd5b806301339c211461024057806306fdde0314610257578063095ea7b314610282578063099d0d30146102b257600080fd5b3661023b57005b600080fd5b34801561024c57600080fd5b5061025561072a565b005b34801561026357600080fd5b5061026c610776565b6040516102799190611e68565b60405180910390f35b34801561028e57600080fd5b506102a261029d366004611dbe565b610808565b6040519015158152602001610279565b3480156102be57600080fd5b506102c860105481565b604051908152602001610279565b3480156102e257600080fd5b506006546102f6906001600160a01b031681565b6040516001600160a01b039091168152602001610279565b34801561031a57600080fd5b506002546102c8565b34801561032f57600080fd5b506102a261033e366004611d4d565b61081e565b34801561034f57600080fd5b5060405160128152602001610279565b34801561036b57600080fd5b506102a261037a366004611dbe565b6108c8565b34801561038b57600080fd5b506102c860085481565b3480156103a157600080fd5b506102556103b0366004611d8d565b610904565b3480156103c157600080fd5b506007546102f6906001600160a01b031681565b3480156103e157600080fd5b506012546102a290600160a01b900460ff1681565b34801561040257600080fd5b50610255610411366004611cdd565b61093c565b34801561042257600080fd5b506102c8600c5481565b34801561043857600080fd5b506102c8610447366004611cdd565b6001600160a01b031660009081526020819052604090205490565b34801561046e57600080fd5b50610255610a37565b34801561048357600080fd5b506005546001600160a01b03166102f6565b3480156104a157600080fd5b506102c860145481565b3480156104b757600080fd5b5061026c610a6d565b3480156104cc57600080fd5b506102556104db366004611d8d565b610a7c565b3480156104ec57600080fd5b506102a26104fb366004611dbe565b610b48565b34801561050c57600080fd5b50600b546102f6906001600160a01b031681565b34801561052c57600080fd5b506102a261053b366004611dbe565b610be1565b34801561054c57600080fd5b506102a261055b366004611cdd565b60196020526000908152604090205460ff1681565b34801561057c57600080fd5b506102c8600a5481565b34801561059257600080fd5b506102c860135481565b3480156105a857600080fd5b506102556105b7366004611d15565b610bee565b3480156105c857600080fd5b50600d546102f6906001600160a01b031681565b3480156105e857600080fd5b506102c8600e5481565b3480156105fe57600080fd5b506102c8600f5481565b34801561061457600080fd5b50610255610623366004611de9565b610c97565b34801561063457600080fd5b506102a2610643366004611cdd565b60176020526000908152604090205460ff1681565b34801561066457600080fd5b506102c8610673366004611d15565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156106aa57600080fd5b506102c860095481565b3480156106c057600080fd5b506102c860155481565b3480156106d657600080fd5b506102556106e5366004611e2e565b610ccd565b3480156106f657600080fd5b50610255610705366004611cdd565b610d0e565b34801561071657600080fd5b50610255610725366004611d8d565b610da6565b6005546001600160a01b0316331461075d5760405162461bcd60e51b815260040161075490611efe565b60405180910390fd5b436013556012805460ff60a01b1916600160a01b179055565b60606003805461078590612056565b80601f01602080910402602001604051908101604052809291908181526020018280546107b190612056565b80156107fe5780601f106107d3576101008083540402835291602001916107fe565b820191906000526020600020905b8154815290600101906020018083116107e157829003601f168201915b5050505050905090565b6000610815338484610f0f565b50600192915050565b600061082b848484611033565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156108b05760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610754565b6108bd8533858403610f0f565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916108159185906108ff908690611fe8565b610f0f565b6005546001600160a01b0316331461092e5760405162461bcd60e51b815260040161075490611efe565b6109388282611401565b5050565b6005546001600160a01b031633146109665760405162461bcd60e51b815260040161075490611efe565b6006546001600160a01b03828116911614156109da5760405162461bcd60e51b815260206004820152602d60248201527f54524541535552453a2054686520726f7574657220616c72656164792068617360448201526c2074686174206164647265737360981b6064820152608401610754565b6006546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610a615760405162461bcd60e51b815260040161075490611efe565b610a6b6000611459565b565b60606004805461078590612056565b6005546001600160a01b03163314610aa65760405162461bcd60e51b815260040161075490611efe565b6007546001600160a01b0383811691161415610b3e5760405162461bcd60e51b815260206004820152604b60248201527f54524541535552453a2054686520556e697377617020706169722063616e6e6f60448201527f742062652072656d6f7665642066726f6d206175746f6d617465644d61726b6560648201526a744d616b6572506169727360a81b608482015260a401610754565b61093882826114ab565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610bca5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610754565b610bd73385858403610f0f565b5060019392505050565b6000610815338484611033565b6005546001600160a01b03163314610c185760405162461bcd60e51b815260040161075490611efe565b610c23826001610da6565b610c2e816001610da6565b600b546040516001600160a01b03918216918416907fa8efc72ed34f90017df79620d1972d42b8e3b17eb0077fc5fc46cbf1a19ed9a990600090a3600b80546001600160a01b039384166001600160a01b03199182161790915560128054929093169116179055565b6005546001600160a01b03163314610cc15760405162461bcd60e51b815260040161075490611efe565b610cca8161159f565b50565b6005546001600160a01b03163314610cf75760405162461bcd60e51b815260040161075490611efe565b600c94909455600992909255600f55601055600a55565b6005546001600160a01b03163314610d385760405162461bcd60e51b815260040161075490611efe565b6001600160a01b038116610d9d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610754565b610cca81611459565b6005546001600160a01b03163314610dd05760405162461bcd60e51b815260040161075490611efe565b6001600160a01b038216600081815260166020908152604091829020805460ff191685151590811790915591519182527fd627be9538764938ab0ab9b7e4544d40e75a47cf106975754afbd1010eb7411091015b60405180910390a25050565b6001600160a01b038216610e865760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610754565b8060026000828254610e989190611fe8565b90915550506001600160a01b03821660009081526020819052604081208054839290610ec5908490611fe8565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b038316610f715760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610754565b6001600160a01b038216610fd25760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610754565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166110595760405162461bcd60e51b815260040161075490611f33565b6001600160a01b03821661107f5760405162461bcd60e51b815260040161075490611ebb565b6001600160a01b03831660009081526017602052604090205460ff16156110e85760405162461bcd60e51b815260206004820152601a60248201527f54524541535552453a20426c6f636b6564205472616e736665720000000000006044820152606401610754565b601254600160a01b900460ff166111085761110383836117d7565b611197565b600060135411801561112757506007546001600160a01b038481169116145b801561114157506011546001600160a01b03848116911614155b801561115b57506011546001600160a01b03838116911614155b1561119757600a60135443611170919061203f565b101561119757611181826001611401565b6015805490600061119183612091565b91905055505b806111ad576111a883836000611887565b505050565b30600090815260208190526040902054600954811080159081906111d4575060185460ff16155b80156111f957506001600160a01b03851660009081526019602052604090205460ff16155b80156112135750600b546001600160a01b03868116911614155b801561122d5750600b546001600160a01b03858116911614155b15611256576018805460ff1916600117905560095461124b9061159f565b6018805460ff191690555b6018546001600160a01b03861660009081526016602052604090205460ff9182161591168061129d57506001600160a01b03851660009081526016602052604090205460ff165b156112a6575060005b80156113ee576001600160a01b03851660009081526019602052604090205460ff1661133857600a546112f8856112f2886001600160a01b031660009081526020819052604090205490565b906119dc565b106113385760405162461bcd60e51b815260206004820152601060248201526f13585e0815d85b1b195d08131a5b5a5d60821b6044820152606401610754565b60006113666064611360611359600e54600c546119dc90919063ffffffff16565b88906119ef565b906119fb565b6001600160a01b03881660009081526019602052604090205490915060ff16156113b5576113ae6113a76064611360600f54896119ef90919063ffffffff16565b82906119dc565b90506113d5565b6113d26113a76064611360601054896119ef90919063ffffffff16565b90505b6113df8582611a07565b94506113ec873083611887565b505b6113f9868686611887565b505050505050565b6001600160a01b038216600081815260176020908152604091829020805460ff191685151590811790915591519182527fb8824340387d9ff86d985cc1c359540b0cb256a1023a53c8916f8927e05541109101610e24565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821660009081526019602052604090205460ff161515811515141561154b5760405162461bcd60e51b815260206004820152604260248201527f54524541535552453a204175746f6d61746564206d61726b6574206d616b657260448201527f207061697220697320616c72656164792073657420746f20746861742076616c606482015261756560f01b608482015260a401610754565b6001600160a01b038216600081815260196020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b60006115e76115c660646115c0600e54600c546119dc90919063ffffffff16565b906119ef565b6112f2600261136060646115c0600f546010546119dc90919063ffffffff16565b9050600061160c826113606127106115c0600e54600c546119dc90919063ffffffff16565b9050600061161f606461136086856119ef565b9050600061162d8583611a07565b905061163882611a13565b600b54600e54600c5447926000926001600160a01b039091169161166e9161166091906119dc565b600c546113609047906119ef565b604051600081818185875af1925050503d80600081146116aa576040519150601f19603f3d011682016040523d82523d6000602084013e6116af565b606091505b5050600d54600e54600c549293506000926001600160a01b03909216916116e8916116da91906119dc565b600e546113609047906119ef565b604051600081818185875af1925050503d8060008114611724576040519150601f19603f3d011682016040523d82523d6000602084013e611729565b606091505b505090508180156117375750805b61177a5760405162461bcd60e51b81526020600482015260146024820152734572726f722053656e64696e6720746f6b656e7360601b6044820152606401610754565b60408051898152602081018590527f80195cc573b02cc48460cbca6e6e4cc85ddb91959d946e1c3025ea3d87942dc3910160405180910390a16117bc84611b90565b6014546117ca9060016119dc565b6014555050505050505050565b601254600160a01b900460ff161561183d5760405162461bcd60e51b815260206004820152602360248201527f4c697175696469747920616c726561647920616464656420616e64206d61726b60448201526232b21760e91b6064820152608401610754565b6011546001600160a01b03838116911614801561186757506007546001600160a01b038281169116145b15610938576012805460ff60a01b1916600160a01b179055436013555050565b6001600160a01b0383166118ad5760405162461bcd60e51b815260040161075490611f33565b6001600160a01b0382166118d35760405162461bcd60e51b815260040161075490611ebb565b6001600160a01b0383166000908152602081905260409020548181101561194b5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610754565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611982908490611fe8565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516119ce91815260200190565b60405180910390a350505050565b60006119e88284611fe8565b9392505050565b60006119e88284612020565b60006119e88284612000565b60006119e8828461203f565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611a5657634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015611aaa57600080fd5b505afa158015611abe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ae29190611cf9565b81600181518110611b0357634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152600654611b299130911684610f0f565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac94790611b62908590600090869030904290600401611f78565b600060405180830381600087803b158015611b7c57600080fd5b505af11580156113f9573d6000803e3d6000fd5b6000611b9d8260026119fb565b90506000611bab8383611a07565b905047611bb783611a13565b6000611bc34783611a07565b9050611bcf8382611c1a565b60408051858152602081018390529081018490524792507f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a15050505050565b600654611c329030906001600160a01b031684610f0f565b60065460125460405163f305d71960e01b81523060048201526024810185905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c4016060604051808303818588803b158015611c9d57600080fd5b505af1158015611cb1573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611cd69190611e01565b5050505050565b600060208284031215611cee578081fd5b81356119e8816120c2565b600060208284031215611d0a578081fd5b81516119e8816120c2565b60008060408385031215611d27578081fd5b8235611d32816120c2565b91506020830135611d42816120c2565b809150509250929050565b600080600060608486031215611d61578081fd5b8335611d6c816120c2565b92506020840135611d7c816120c2565b929592945050506040919091013590565b60008060408385031215611d9f578182fd5b8235611daa816120c2565b915060208301358015158114611d42578182fd5b60008060408385031215611dd0578182fd5b8235611ddb816120c2565b946020939093013593505050565b600060208284031215611dfa578081fd5b5035919050565b600080600060608486031215611e15578283fd5b8351925060208401519150604084015190509250925092565b600080600080600060a08688031215611e45578081fd5b505083359560208501359550604085013594606081013594506080013592509050565b6000602080835283518082850152825b81811015611e9457858101830151858201604001528201611e78565b81811115611ea55783604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b600060a082018783526020878185015260a0604085015281875180845260c0860191508289019350845b81811015611fc75784516001600160a01b031683529383019391830191600101611fa2565b50506001600160a01b03969096166060850152505050608001529392505050565b60008219821115611ffb57611ffb6120ac565b500190565b60008261201b57634e487b7160e01b81526012600452602481fd5b500490565b600081600019048311821515161561203a5761203a6120ac565b500290565b600082821015612051576120516120ac565b500390565b600181811c9082168061206a57607f821691505b6020821081141561208b57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156120a5576120a56120ac565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0381168114610cca57600080fdfea2646970667358221220cd0342df62e8e10c1e730ae185bafa8515ccf842a701a4eca1281fe536c0fcf664736f6c63430008040033
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.