ERC-20
Overview
Max Total Supply
1,000,000,000 VASINO
Holders
57
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
6,977,259.627845472 VASINOValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
VitalikCasino
Compiler Version
v0.8.16+commit.07a7930e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/** ♠ Vitalik Casino ♠ ♣ $VASINO ♣ Web3 Casino Games Website: https://vitalik.casino Telegram: https://t.me/vasinoportal */ // SPDX-License-Identifier: MIT pragma solidity 0.8.16; /** openzeppelin/contracts */ import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; /** uniswap/v2-core. */ import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol"; import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; contract VitalikCasino is ERC20, Ownable { using SafeMath for uint256; IUniswapV2Router02 public immutable uniswapV2Router; address public immutable uniswapV2Pair; bool private swapping; uint256 public swapTokensAtAmount; uint256 public maxTxAmount; bool public tradingActive = false; bool public limitsInEffect = true; bool public swapEnabled = false; address public casinoWallet; uint256 public constant feeDivisor = 1000; uint256 public casinoBuyFee; uint256 public totalBuyFees; uint256 public casinoSellFee; uint256 public totalSellFees; uint256 public tokensForFees; uint256 public tokensForCasino; // launch block number uint256 launchBlockNumber; bool public transferDelayEnabled = true; uint256 public maxWallet; // maggings mapping(address => bool) private _blacklist; mapping(address => bool) private _isExcludedFromFees; mapping(address => bool) public _isExcludedMaxTransactionAmount; mapping(address => bool) public automatedMarketMakerPairs; event ExcludeFromFees(address indexed account, bool isExcluded); event ExcludeMultipleAccountsFromFees(address[] accounts, bool isExcluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event SwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiqudity ); constructor() ERC20("Vitalik Casino", "VASINO") { casinoWallet = address(0xCe3BAB9741bAE4aaD49915eDcC2F42Cfaca1fF56); uint256 totalSupply = 1 * 1e9 * 1e18; swapTokensAtAmount = (totalSupply * 1) / 10000; // 0.01% swap tokens amount maxTxAmount = (totalSupply * 10) / 1000; // 1% maxTxAmountTxn maxWallet = (totalSupply * 20) / 1000; // 2% maxWallet casinoBuyFee = 40; // 4% totalBuyFees = casinoBuyFee; casinoSellFee = 50; // 5% totalSellFees = casinoSellFee; IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02( 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D ); // Create a uniswap pair for this new token address _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); uniswapV2Router = _uniswapV2Router; uniswapV2Pair = _uniswapV2Pair; _setAutomatedMarketMakerPair(_uniswapV2Pair, true); // exclude from paying fees or having max transaction amount excludeFromFees(owner(), true); excludeFromFees(address(this), true); excludeFromFees(address(0xdead), true); excludeFromFees(address(_uniswapV2Router), true); excludeFromFees(address(casinoWallet), true); excludeFromMaxTransaction(owner(), true); excludeFromMaxTransaction(address(this), true); excludeFromMaxTransaction(address(0xdead), true); excludeFromMaxTransaction(address(casinoWallet), true); _mint(address(owner()), totalSupply); } receive() external payable {} function enableTrading() external onlyOwner { require(!tradingActive, "Can not re-enable trading"); tradingActive = true; swapEnabled = true; launchBlockNumber = block.number; } function updateMaxTx(uint256 _val) external onlyOwner { require( _val >= ((totalSupply() * 10) / 1000) / 1e18, "Cannot set maxTxAmount lower than 1%." ); maxTxAmount = _val * (10**18); } function updateMaxWallet(uint256 _val) external onlyOwner { require( _val >= ((totalSupply() * 10) / 1000) / 1e18, "Cannot set maxWallet lower than 1%." ); maxWallet = _val * (10**18); } function excludeFromMaxTransaction(address updAds, bool isEx) public onlyOwner { _isExcludedMaxTransactionAmount[updAds] = isEx; } // only use to disable contract sales if absolutely necessary (emergency use only) function updateSwapEnabled(bool enabled) external onlyOwner { swapEnabled = enabled; } function updateSellFees(uint256 _casinoSellFee) external onlyOwner { casinoSellFee = _casinoSellFee; totalSellFees = casinoSellFee; require(totalSellFees <= 100, "Must keep fees at 10% or less"); } function updateBuyFees(uint256 _casinoBuyFee) external onlyOwner { casinoBuyFee = _casinoBuyFee; totalBuyFees = casinoBuyFee; require(totalSellFees <= 150, "Must keep fees at 15% or less"); } function excludeFromFees(address account, bool excluded) public onlyOwner { _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function excludeMultipleAccountsFromFees( address[] calldata accounts, bool excluded ) external onlyOwner { for (uint256 i = 0; i < accounts.length; i++) { _isExcludedFromFees[accounts[i]] = excluded; } emit ExcludeMultipleAccountsFromFees(accounts, excluded); } function setAutomatedMarketMakerPair(address pair, bool value) external onlyOwner { require( pair != uniswapV2Pair, "The Uniswap pair cannot be removed from automatedMarketMakerPairs" ); _setAutomatedMarketMakerPair(pair, value); } function _setAutomatedMarketMakerPair(address pair, bool value) private { automatedMarketMakerPairs[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } function isExcludedFromFees(address account) external view returns (bool) { return _isExcludedFromFees[account]; } function _transfer( address from, address to, uint256 amount ) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); require( !_blacklist[to] && !_blacklist[from], "You have been blacklisted from transfering tokens" ); if (amount == 0) { super._transfer(from, to, 0); return; } if (!tradingActive) { require( _isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active yet." ); } if (limitsInEffect) { if ( from != owner() && to != owner() && to != address(0) && to != address(0xdead) && !swapping ) { if (!tradingActive) { require( _isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active." ); } // buying if ( automatedMarketMakerPairs[from] && !_isExcludedMaxTransactionAmount[to] ) { require( amount <= maxTxAmount + 1 * 1e18, "Buy transfer amount exceeds the maxTxAmount." ); require( amount + balanceOf(to) <= maxWallet, "Max wallet exceeded" ); } // selling else if ( automatedMarketMakerPairs[to] && !_isExcludedMaxTransactionAmount[from] ) { require( amount <= maxTxAmount + 1 * 1e18, "Sell transfer amount exceeds the maxTxAmount." ); } else if (!_isExcludedMaxTransactionAmount[to]) { require( amount + balanceOf(to) <= maxWallet, "Max wallet exceeded" ); } } } // Anti-bot - blacklist snipers if (block.number <= (launchBlockNumber + 1) && to != uniswapV2Pair && to != address(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D) ) { _blacklist[to] = true; } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount; if ( canSwap && swapEnabled && !swapping && !automatedMarketMakerPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to] ) { swapping = true; swapBack(); swapping = false; } bool takeFees = !swapping; // if any account belongs to _isExcludedFromFee account then remove the fee if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFees = false; } uint256 fees = 0; // no taxes on transfers (non buys/sells) if (takeFees) { // on sell take fees, purchase token and burn it if (automatedMarketMakerPairs[to] && totalSellFees > 0) { fees = amount.mul(totalSellFees).div(feeDivisor); tokensForFees += fees; tokensForCasino += (fees * casinoSellFee) / totalSellFees; } // on buy else if (automatedMarketMakerPairs[from]) { fees = amount.mul(totalBuyFees).div(feeDivisor); tokensForFees += fees; tokensForCasino += (fees * casinoBuyFee) / totalBuyFees; } if (fees > 0) { super._transfer(from, address(this), fees); } amount -= fees; } super._transfer(from, to, amount); } function swapTokensForEth(uint256 tokenAmount) private { // generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); // make the swap uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { // approve token transfer to cover all possible scenarios _approve(address(this), address(uniswapV2Router), tokenAmount); // add the liquidity uniswapV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable address(0xdead), block.timestamp ); } function manualSwap() external onlyOwner { uint256 contractBalance = balanceOf(address(this)); swapTokensForEth(contractBalance); } // remove limits after token is stable. function removeLimits() external onlyOwner returns (bool) { limitsInEffect = false; return true; } function swapBack() private { uint256 contractBalance = balanceOf(address(this)); uint256 totalTokensToSwap = tokensForCasino; bool success; if (contractBalance == 0 || totalTokensToSwap == 0) { return; } uint256 amountToSwapForETH = contractBalance; swapTokensForEth(amountToSwapForETH); (success, ) = address(casinoWallet).call{ value: address(this).balance }(""); tokensForCasino = 0; tokensForFees = 0; } function withdrawStuckEth() external onlyOwner { (bool success, ) = address(msg.sender).call{ value: address(this).balance }(""); require(success, "failed to withdraw"); } }
pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; 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; }
pragma solidity >=0.5.0; 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; }
pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.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: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; } _balances[to] += amount; emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _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 Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) 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() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) 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 generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
pragma solidity >=0.6.2; 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"accounts","type":"address[]"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeMultipleAccountsFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":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"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"casinoBuyFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"casinoSellFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"casinoWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeMultipleAccountsFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeDivisor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"manualSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"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":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForCasino","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBuyFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSellFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferDelayEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_casinoBuyFee","type":"uint256"}],"name":"updateBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_val","type":"uint256"}],"name":"updateMaxTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_val","type":"uint256"}],"name":"updateMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_casinoSellFee","type":"uint256"}],"name":"updateSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"updateSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawStuckEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c06040526008805462ffffff19166101001790556010805460ff191660011790553480156200002e57600080fd5b506040518060400160405280600e81526020016d566974616c696b20436173696e6f60901b81525060405180604001604052806006815260200165564153494e4f60d01b815250816003908162000086919062000704565b50600462000095828262000704565b505050620000b2620000ac620003cc60201b60201c565b620003d0565b600880546301000000600160b81b03191676ce3bab9741bae4aad49915edcc2f42cfaca1ff560000001790556b033b2e3c9fd0803ce8000000612710620000fb826001620007e6565b62000107919062000808565b6006556103e86200011a82600a620007e6565b62000126919062000808565b6007556103e862000139826014620007e6565b62000145919062000808565b60115560286009819055600a556032600b819055600c556040805163c45a015560e01b81529051737a250d5630b4cf539739df2c5dacb4c659f2488d91600091839163c45a01559160048083019260209291908290030181865afa158015620001b2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001d891906200082b565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000226573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200024c91906200082b565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200029a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002c091906200082b565b6001600160a01b03808416608052811660a0529050620002e281600162000422565b62000301620002f96005546001600160a01b031690565b600162000476565b6200030e30600162000476565b6200031d61dead600162000476565b6200032a82600162000476565b6008546200034a90630100000090046001600160a01b0316600162000476565b62000369620003616005546001600160a01b031690565b6001620004df565b62000376306001620004df565b6200038561dead6001620004df565b600854620003a590630100000090046001600160a01b03166001620004df565b620003c3620003bc6005546001600160a01b031690565b8462000514565b50505062000879565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260156020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b62000480620005fd565b6001600160a01b038216600081815260136020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b620004e9620005fd565b6001600160a01b03919091166000908152601460205260409020805460ff1916911515919091179055565b6001600160a01b038216620005705760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b80600260008282546200058491906200085d565b90915550506001600160a01b03821660009081526020819052604081208054839290620005b39084906200085d565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6005546001600160a01b03163314620006595760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000567565b565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200068b57607f821691505b602082108103620006ac57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200065b57600081815260208120601f850160051c81016020861015620006db5750805b601f850160051c820191505b81811015620006fc57828155600101620006e7565b505050505050565b81516001600160401b0381111562000720576200072062000660565b620007388162000731845462000676565b84620006b2565b602080601f831160018114620007705760008415620007575750858301515b600019600386901b1c1916600185901b178555620006fc565b600085815260208120601f198616915b82811015620007a15788860151825594840194600190910190840162000780565b5085821015620007c05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615620008035762000803620007d0565b500290565b6000826200082657634e487b7160e01b600052601260045260246000fd5b500490565b6000602082840312156200083e57600080fd5b81516001600160a01b03811681146200085657600080fd5b9392505050565b80820180821115620008735762000873620007d0565b92915050565b60805160a0516123e5620008c26000396000818161044a01528181610c46015261179e01526000818161033501528181611b1101528181611bca0152611c0601526123e56000f3fe60806040526004361061028c5760003560e01c80637fa787ba1161015a578063bbc0c742116100c1578063d0a398141161007a578063d0a39814146107cf578063dd62ed3e146107e5578063e2f4560514610805578063eba4c3331461081b578063f2fde38b1461083b578063f8b45b051461085b57600080fd5b8063bbc0c74214610725578063c02466681461073f578063c2d0ffca1461075f578063c492f0461461077f578063c876d0b91461079f578063cc55a40a146107b957600080fd5b80639a36f932116101135780639a36f932146106695780639a7a23d61461067f578063a457c2d71461069f578063a9059cbb146106bf578063b62496f5146106df578063b9e937001461070f57600080fd5b80637fa787ba146105d65780638a8c523c146105eb5780638c0b5e22146106005780638da5cb5b14610616578063924de9b71461063457806395d89b411461065457600080fd5b806349bd5a5e116101fe5780636ddd1713116101b75780636ddd17131461051657806370a0823114610536578063715018a61461056c57806371fc468814610581578063751039fc146105a15780637571336a146105b657600080fd5b806349bd5a5e1461043857806349f36e941461046c5780634a62bb65146104825780634a97e0e8146104a15780634fbee193146104c857806351bc3c851461050157600080fd5b80631c499ab0116102505780631c499ab01461038e57806323b872dd146103b05780632a41380e146103d0578063313ce567146103e657806339509351146104025780633f8a62041461042257600080fd5b806306fdde0314610298578063095ea7b3146102c357806310d5de53146102f35780631694505e1461032357806318160ddd1461036f57600080fd5b3661029357005b600080fd5b3480156102a457600080fd5b506102ad610871565b6040516102ba9190611f32565b60405180910390f35b3480156102cf57600080fd5b506102e36102de366004611f95565b610903565b60405190151581526020016102ba565b3480156102ff57600080fd5b506102e361030e366004611fc1565b60146020526000908152604090205460ff1681565b34801561032f57600080fd5b506103577f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016102ba565b34801561037b57600080fd5b506002545b6040519081526020016102ba565b34801561039a57600080fd5b506103ae6103a9366004611fde565b61091d565b005b3480156103bc57600080fd5b506102e36103cb366004611ff7565b6109d1565b3480156103dc57600080fd5b5061038060095481565b3480156103f257600080fd5b50604051601281526020016102ba565b34801561040e57600080fd5b506102e361041d366004611f95565b6109f5565b34801561042e57600080fd5b50610380600d5481565b34801561044457600080fd5b506103577f000000000000000000000000000000000000000000000000000000000000000081565b34801561047857600080fd5b50610380600b5481565b34801561048e57600080fd5b506008546102e390610100900460ff1681565b3480156104ad57600080fd5b5060085461035790630100000090046001600160a01b031681565b3480156104d457600080fd5b506102e36104e3366004611fc1565b6001600160a01b031660009081526013602052604090205460ff1690565b34801561050d57600080fd5b506103ae610a17565b34801561052257600080fd5b506008546102e39062010000900460ff1681565b34801561054257600080fd5b50610380610551366004611fc1565b6001600160a01b031660009081526020819052604090205490565b34801561057857600080fd5b506103ae610a3b565b34801561058d57600080fd5b506103ae61059c366004611fde565b610a4f565b3480156105ad57600080fd5b506102e3610ab4565b3480156105c257600080fd5b506103ae6105d136600461204d565b610acf565b3480156105e257600080fd5b506103ae610b02565b3480156105f757600080fd5b506103ae610b97565b34801561060c57600080fd5b5061038060075481565b34801561062257600080fd5b506005546001600160a01b0316610357565b34801561064057600080fd5b506103ae61064f366004612082565b610c09565b34801561066057600080fd5b506102ad610c2d565b34801561067557600080fd5b506103806103e881565b34801561068b57600080fd5b506103ae61069a36600461204d565b610c3c565b3480156106ab57600080fd5b506102e36106ba366004611f95565b610d03565b3480156106cb57600080fd5b506102e36106da366004611f95565b610d7e565b3480156106eb57600080fd5b506102e36106fa366004611fc1565b60156020526000908152604090205460ff1681565b34801561071b57600080fd5b50610380600a5481565b34801561073157600080fd5b506008546102e39060ff1681565b34801561074b57600080fd5b506103ae61075a36600461204d565b610d8c565b34801561076b57600080fd5b506103ae61077a366004611fde565b610df3565b34801561078b57600080fd5b506103ae61079a36600461209d565b610ea4565b3480156107ab57600080fd5b506010546102e39060ff1681565b3480156107c557600080fd5b50610380600e5481565b3480156107db57600080fd5b50610380600c5481565b3480156107f157600080fd5b50610380610800366004612121565b610f5e565b34801561081157600080fd5b5061038060065481565b34801561082757600080fd5b506103ae610836366004611fde565b610f89565b34801561084757600080fd5b506103ae610856366004611fc1565b610fec565b34801561086757600080fd5b5061038060115481565b6060600380546108809061215a565b80601f01602080910402602001604051908101604052809291908181526020018280546108ac9061215a565b80156108f95780601f106108ce576101008083540402835291602001916108f9565b820191906000526020600020905b8154815290600101906020018083116108dc57829003601f168201915b5050505050905090565b600033610911818585611062565b60019150505b92915050565b610925611186565b670de0b6b3a76400006103e861093a60025490565b61094590600a6121aa565b61094f91906121c9565b61095991906121c9565b8110156109b95760405162461bcd60e51b815260206004820152602360248201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e2060448201526218929760e91b60648201526084015b60405180910390fd5b6109cb81670de0b6b3a76400006121aa565b60115550565b6000336109df8582856111e0565b6109ea85858561125a565b506001949350505050565b600033610911818585610a088383610f5e565b610a1291906121eb565b611062565b610a1f611186565b30600090815260208190526040902054610a3881611aba565b50565b610a43611186565b610a4d6000611c7a565b565b610a57611186565b6009819055600a819055600c5460961015610a385760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313525206f72206c65737300000060448201526064016109b0565b6000610abe611186565b506008805461ff0019169055600190565b610ad7611186565b6001600160a01b03919091166000908152601460205260409020805460ff1916911515919091179055565b610b0a611186565b604051600090339047908381818185875af1925050503d8060008114610b4c576040519150601f19603f3d011682016040523d82523d6000602084013e610b51565b606091505b5050905080610a385760405162461bcd60e51b81526020600482015260126024820152716661696c656420746f20776974686472617760701b60448201526064016109b0565b610b9f611186565b60085460ff1615610bf25760405162461bcd60e51b815260206004820152601960248201527f43616e206e6f742072652d656e61626c652074726164696e670000000000000060448201526064016109b0565b6008805462ff00ff19166201000117905543600f55565b610c11611186565b60088054911515620100000262ff000019909216919091179055565b6060600480546108809061215a565b610c44611186565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031603610cf55760405162461bcd60e51b815260206004820152604160248201527f54686520556e697377617020706169722063616e6e6f742062652072656d6f7660448201527f65642066726f6d206175746f6d617465644d61726b65744d616b6572506169726064820152607360f81b608482015260a4016109b0565b610cff8282611ccc565b5050565b60003381610d118286610f5e565b905083811015610d715760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016109b0565b6109ea8286868403611062565b60003361091181858561125a565b610d94611186565b6001600160a01b038216600081815260136020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610dfb611186565b670de0b6b3a76400006103e8610e1060025490565b610e1b90600a6121aa565b610e2591906121c9565b610e2f91906121c9565b811015610e8c5760405162461bcd60e51b815260206004820152602560248201527f43616e6e6f7420736574206d61785478416d6f756e74206c6f77657220746861604482015264371018929760d91b60648201526084016109b0565b610e9e81670de0b6b3a76400006121aa565b60075550565b610eac611186565b60005b82811015610f1d578160136000868685818110610ece57610ece6121fe565b9050602002016020810190610ee39190611fc1565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610f1581612214565b915050610eaf565b507f7fdaf542373fa84f4ee8d662c642f44e4c2276a217d7d29e548b6eb29a233b35838383604051610f519392919061222d565b60405180910390a1505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610f91611186565b600b819055600c8190556064811115610a385760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313025206f72206c65737300000060448201526064016109b0565b610ff4611186565b6001600160a01b0381166110595760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109b0565b610a3881611c7a565b6001600160a01b0383166110c45760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016109b0565b6001600160a01b0382166111255760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016109b0565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b03163314610a4d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109b0565b60006111ec8484610f5e565b9050600019811461125457818110156112475760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016109b0565b6112548484848403611062565b50505050565b6001600160a01b0383166112805760405162461bcd60e51b81526004016109b090612286565b6001600160a01b0382166112a65760405162461bcd60e51b81526004016109b0906122cb565b6001600160a01b03821660009081526012602052604090205460ff161580156112e857506001600160a01b03831660009081526012602052604090205460ff16155b61134e5760405162461bcd60e51b815260206004820152603160248201527f596f752068617665206265656e20626c61636b6c69737465642066726f6d207460448201527072616e73666572696e6720746f6b656e7360781b60648201526084016109b0565b806000036113675761136283836000611d20565b505050565b60085460ff166113fc576001600160a01b03831660009081526013602052604090205460ff16806113b057506001600160a01b03821660009081526013602052604090205460ff165b6113fc5760405162461bcd60e51b815260206004820152601a60248201527f54726164696e67206973206e6f7420616374697665207965742e00000000000060448201526064016109b0565b600854610100900460ff1615611784576005546001600160a01b0384811691161480159061143857506005546001600160a01b03838116911614155b801561144c57506001600160a01b03821615155b801561146357506001600160a01b03821661dead14155b80156114795750600554600160a01b900460ff16155b156117845760085460ff1661150c576001600160a01b03831660009081526013602052604090205460ff16806114c757506001600160a01b03821660009081526013602052604090205460ff165b61150c5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b60448201526064016109b0565b6001600160a01b03831660009081526015602052604090205460ff16801561154d57506001600160a01b03821660009081526014602052604090205460ff16155b1561163a5760075461156790670de0b6b3a76400006121eb565b8111156115cb5760405162461bcd60e51b815260206004820152602c60248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201526b36b0bc2a3c20b6b7bab73a1760a11b60648201526084016109b0565b6011546001600160a01b0383166000908152602081905260409020546115f190836121eb565b11156116355760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016109b0565b611784565b6001600160a01b03821660009081526015602052604090205460ff16801561167b57506001600160a01b03831660009081526014602052604090205460ff16155b156116fa5760075461169590670de0b6b3a76400006121eb565b8111156116355760405162461bcd60e51b815260206004820152602d60248201527f53656c6c207472616e7366657220616d6f756e7420657863656564732074686560448201526c1036b0bc2a3c20b6b7bab73a1760991b60648201526084016109b0565b6001600160a01b03821660009081526014602052604090205460ff16611784576011546001600160a01b03831660009081526020819052604090205461174090836121eb565b11156117845760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016109b0565b600f546117929060016121eb565b43111580156117d357507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614155b80156117fc57506001600160a01b038216737a250d5630b4cf539739df2c5dacb4c659f2488d14155b15611825576001600160a01b0382166000908152601260205260409020805460ff191660011790555b3060009081526020819052604090205460065481108015908190611851575060085462010000900460ff165b80156118675750600554600160a01b900460ff16155b801561188c57506001600160a01b03851660009081526015602052604090205460ff16155b80156118b157506001600160a01b03851660009081526013602052604090205460ff16155b80156118d657506001600160a01b03841660009081526013602052604090205460ff16155b15611904576005805460ff60a01b1916600160a01b1790556118f6611e74565b6005805460ff60a01b191690555b6005546001600160a01b03861660009081526013602052604090205460ff600160a01b90920482161591168061195257506001600160a01b03851660009081526013602052604090205460ff165b1561195b575060005b60008115611aa6576001600160a01b03861660009081526015602052604090205460ff16801561198d57506000600c54115b15611a02576119b36103e86119ad600c5488611f1390919063ffffffff16565b90611f26565b905080600d60008282546119c791906121eb565b9091555050600c54600b546119dc90836121aa565b6119e691906121c9565b600e60008282546119f791906121eb565b90915550611a889050565b6001600160a01b03871660009081526015602052604090205460ff1615611a8857611a3e6103e86119ad600a5488611f1390919063ffffffff16565b905080600d6000828254611a5291906121eb565b9091555050600a54600954611a6790836121aa565b611a7191906121c9565b600e6000828254611a8291906121eb565b90915550505b8015611a9957611a99873083611d20565b611aa3818661230e565b94505b611ab1878787611d20565b50505050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611aef57611aef6121fe565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b919190612321565b81600181518110611ba457611ba46121fe565b60200260200101906001600160a01b031690816001600160a01b031681525050611bef307f000000000000000000000000000000000000000000000000000000000000000084611062565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac94790611c4490859060009086903090429060040161233e565b600060405180830381600087803b158015611c5e57600080fd5b505af1158015611c72573d6000803e3d6000fd5b505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260156020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038316611d465760405162461bcd60e51b81526004016109b090612286565b6001600160a01b038216611d6c5760405162461bcd60e51b81526004016109b0906122cb565b6001600160a01b03831660009081526020819052604090205481811015611de45760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016109b0565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611e1b9084906121eb565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611e6791815260200190565b60405180910390a3611254565b30600090815260208190526040812054600e549091821580611e94575081155b15611e9e57505050565b82611ea881611aba565b60085460405163010000009091046001600160a01b0316904790600081818185875af1925050503d8060008114611efb576040519150601f19603f3d011682016040523d82523d6000602084013e611f00565b606091505b50506000600e819055600d555050505050565b6000611f1f82846121aa565b9392505050565b6000611f1f82846121c9565b600060208083528351808285015260005b81811015611f5f57858101830151858201604001528201611f43565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610a3857600080fd5b60008060408385031215611fa857600080fd5b8235611fb381611f80565b946020939093013593505050565b600060208284031215611fd357600080fd5b8135611f1f81611f80565b600060208284031215611ff057600080fd5b5035919050565b60008060006060848603121561200c57600080fd5b833561201781611f80565b9250602084013561202781611f80565b929592945050506040919091013590565b8035801515811461204857600080fd5b919050565b6000806040838503121561206057600080fd5b823561206b81611f80565b915061207960208401612038565b90509250929050565b60006020828403121561209457600080fd5b611f1f82612038565b6000806000604084860312156120b257600080fd5b833567ffffffffffffffff808211156120ca57600080fd5b818601915086601f8301126120de57600080fd5b8135818111156120ed57600080fd5b8760208260051b850101111561210257600080fd5b6020928301955093506121189186019050612038565b90509250925092565b6000806040838503121561213457600080fd5b823561213f81611f80565b9150602083013561214f81611f80565b809150509250929050565b600181811c9082168061216e57607f821691505b60208210810361218e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156121c4576121c4612194565b500290565b6000826121e657634e487b7160e01b600052601260045260246000fd5b500490565b8082018082111561091757610917612194565b634e487b7160e01b600052603260045260246000fd5b60006001820161222657612226612194565b5060010190565b6040808252810183905260008460608301825b8681101561227057823561225381611f80565b6001600160a01b0316825260209283019290910190600101612240565b5080925050508215156020830152949350505050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b8181038181111561091757610917612194565b60006020828403121561233357600080fd5b8151611f1f81611f80565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561238e5784516001600160a01b031683529383019391830191600101612369565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122084447f2f1fd7cc936dd015d3c937fe8c319058112d204f76d6b4ddf33234892264736f6c63430008100033
Deployed Bytecode
0x60806040526004361061028c5760003560e01c80637fa787ba1161015a578063bbc0c742116100c1578063d0a398141161007a578063d0a39814146107cf578063dd62ed3e146107e5578063e2f4560514610805578063eba4c3331461081b578063f2fde38b1461083b578063f8b45b051461085b57600080fd5b8063bbc0c74214610725578063c02466681461073f578063c2d0ffca1461075f578063c492f0461461077f578063c876d0b91461079f578063cc55a40a146107b957600080fd5b80639a36f932116101135780639a36f932146106695780639a7a23d61461067f578063a457c2d71461069f578063a9059cbb146106bf578063b62496f5146106df578063b9e937001461070f57600080fd5b80637fa787ba146105d65780638a8c523c146105eb5780638c0b5e22146106005780638da5cb5b14610616578063924de9b71461063457806395d89b411461065457600080fd5b806349bd5a5e116101fe5780636ddd1713116101b75780636ddd17131461051657806370a0823114610536578063715018a61461056c57806371fc468814610581578063751039fc146105a15780637571336a146105b657600080fd5b806349bd5a5e1461043857806349f36e941461046c5780634a62bb65146104825780634a97e0e8146104a15780634fbee193146104c857806351bc3c851461050157600080fd5b80631c499ab0116102505780631c499ab01461038e57806323b872dd146103b05780632a41380e146103d0578063313ce567146103e657806339509351146104025780633f8a62041461042257600080fd5b806306fdde0314610298578063095ea7b3146102c357806310d5de53146102f35780631694505e1461032357806318160ddd1461036f57600080fd5b3661029357005b600080fd5b3480156102a457600080fd5b506102ad610871565b6040516102ba9190611f32565b60405180910390f35b3480156102cf57600080fd5b506102e36102de366004611f95565b610903565b60405190151581526020016102ba565b3480156102ff57600080fd5b506102e361030e366004611fc1565b60146020526000908152604090205460ff1681565b34801561032f57600080fd5b506103577f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b0390911681526020016102ba565b34801561037b57600080fd5b506002545b6040519081526020016102ba565b34801561039a57600080fd5b506103ae6103a9366004611fde565b61091d565b005b3480156103bc57600080fd5b506102e36103cb366004611ff7565b6109d1565b3480156103dc57600080fd5b5061038060095481565b3480156103f257600080fd5b50604051601281526020016102ba565b34801561040e57600080fd5b506102e361041d366004611f95565b6109f5565b34801561042e57600080fd5b50610380600d5481565b34801561044457600080fd5b506103577f00000000000000000000000094fa28b442bae95e9eacc0e87e8b3db3e366d09981565b34801561047857600080fd5b50610380600b5481565b34801561048e57600080fd5b506008546102e390610100900460ff1681565b3480156104ad57600080fd5b5060085461035790630100000090046001600160a01b031681565b3480156104d457600080fd5b506102e36104e3366004611fc1565b6001600160a01b031660009081526013602052604090205460ff1690565b34801561050d57600080fd5b506103ae610a17565b34801561052257600080fd5b506008546102e39062010000900460ff1681565b34801561054257600080fd5b50610380610551366004611fc1565b6001600160a01b031660009081526020819052604090205490565b34801561057857600080fd5b506103ae610a3b565b34801561058d57600080fd5b506103ae61059c366004611fde565b610a4f565b3480156105ad57600080fd5b506102e3610ab4565b3480156105c257600080fd5b506103ae6105d136600461204d565b610acf565b3480156105e257600080fd5b506103ae610b02565b3480156105f757600080fd5b506103ae610b97565b34801561060c57600080fd5b5061038060075481565b34801561062257600080fd5b506005546001600160a01b0316610357565b34801561064057600080fd5b506103ae61064f366004612082565b610c09565b34801561066057600080fd5b506102ad610c2d565b34801561067557600080fd5b506103806103e881565b34801561068b57600080fd5b506103ae61069a36600461204d565b610c3c565b3480156106ab57600080fd5b506102e36106ba366004611f95565b610d03565b3480156106cb57600080fd5b506102e36106da366004611f95565b610d7e565b3480156106eb57600080fd5b506102e36106fa366004611fc1565b60156020526000908152604090205460ff1681565b34801561071b57600080fd5b50610380600a5481565b34801561073157600080fd5b506008546102e39060ff1681565b34801561074b57600080fd5b506103ae61075a36600461204d565b610d8c565b34801561076b57600080fd5b506103ae61077a366004611fde565b610df3565b34801561078b57600080fd5b506103ae61079a36600461209d565b610ea4565b3480156107ab57600080fd5b506010546102e39060ff1681565b3480156107c557600080fd5b50610380600e5481565b3480156107db57600080fd5b50610380600c5481565b3480156107f157600080fd5b50610380610800366004612121565b610f5e565b34801561081157600080fd5b5061038060065481565b34801561082757600080fd5b506103ae610836366004611fde565b610f89565b34801561084757600080fd5b506103ae610856366004611fc1565b610fec565b34801561086757600080fd5b5061038060115481565b6060600380546108809061215a565b80601f01602080910402602001604051908101604052809291908181526020018280546108ac9061215a565b80156108f95780601f106108ce576101008083540402835291602001916108f9565b820191906000526020600020905b8154815290600101906020018083116108dc57829003601f168201915b5050505050905090565b600033610911818585611062565b60019150505b92915050565b610925611186565b670de0b6b3a76400006103e861093a60025490565b61094590600a6121aa565b61094f91906121c9565b61095991906121c9565b8110156109b95760405162461bcd60e51b815260206004820152602360248201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e2060448201526218929760e91b60648201526084015b60405180910390fd5b6109cb81670de0b6b3a76400006121aa565b60115550565b6000336109df8582856111e0565b6109ea85858561125a565b506001949350505050565b600033610911818585610a088383610f5e565b610a1291906121eb565b611062565b610a1f611186565b30600090815260208190526040902054610a3881611aba565b50565b610a43611186565b610a4d6000611c7a565b565b610a57611186565b6009819055600a819055600c5460961015610a385760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313525206f72206c65737300000060448201526064016109b0565b6000610abe611186565b506008805461ff0019169055600190565b610ad7611186565b6001600160a01b03919091166000908152601460205260409020805460ff1916911515919091179055565b610b0a611186565b604051600090339047908381818185875af1925050503d8060008114610b4c576040519150601f19603f3d011682016040523d82523d6000602084013e610b51565b606091505b5050905080610a385760405162461bcd60e51b81526020600482015260126024820152716661696c656420746f20776974686472617760701b60448201526064016109b0565b610b9f611186565b60085460ff1615610bf25760405162461bcd60e51b815260206004820152601960248201527f43616e206e6f742072652d656e61626c652074726164696e670000000000000060448201526064016109b0565b6008805462ff00ff19166201000117905543600f55565b610c11611186565b60088054911515620100000262ff000019909216919091179055565b6060600480546108809061215a565b610c44611186565b7f00000000000000000000000094fa28b442bae95e9eacc0e87e8b3db3e366d0996001600160a01b0316826001600160a01b031603610cf55760405162461bcd60e51b815260206004820152604160248201527f54686520556e697377617020706169722063616e6e6f742062652072656d6f7660448201527f65642066726f6d206175746f6d617465644d61726b65744d616b6572506169726064820152607360f81b608482015260a4016109b0565b610cff8282611ccc565b5050565b60003381610d118286610f5e565b905083811015610d715760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016109b0565b6109ea8286868403611062565b60003361091181858561125a565b610d94611186565b6001600160a01b038216600081815260136020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610dfb611186565b670de0b6b3a76400006103e8610e1060025490565b610e1b90600a6121aa565b610e2591906121c9565b610e2f91906121c9565b811015610e8c5760405162461bcd60e51b815260206004820152602560248201527f43616e6e6f7420736574206d61785478416d6f756e74206c6f77657220746861604482015264371018929760d91b60648201526084016109b0565b610e9e81670de0b6b3a76400006121aa565b60075550565b610eac611186565b60005b82811015610f1d578160136000868685818110610ece57610ece6121fe565b9050602002016020810190610ee39190611fc1565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610f1581612214565b915050610eaf565b507f7fdaf542373fa84f4ee8d662c642f44e4c2276a217d7d29e548b6eb29a233b35838383604051610f519392919061222d565b60405180910390a1505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610f91611186565b600b819055600c8190556064811115610a385760405162461bcd60e51b815260206004820152601d60248201527f4d757374206b656570206665657320617420313025206f72206c65737300000060448201526064016109b0565b610ff4611186565b6001600160a01b0381166110595760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109b0565b610a3881611c7a565b6001600160a01b0383166110c45760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016109b0565b6001600160a01b0382166111255760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016109b0565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6005546001600160a01b03163314610a4d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109b0565b60006111ec8484610f5e565b9050600019811461125457818110156112475760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016109b0565b6112548484848403611062565b50505050565b6001600160a01b0383166112805760405162461bcd60e51b81526004016109b090612286565b6001600160a01b0382166112a65760405162461bcd60e51b81526004016109b0906122cb565b6001600160a01b03821660009081526012602052604090205460ff161580156112e857506001600160a01b03831660009081526012602052604090205460ff16155b61134e5760405162461bcd60e51b815260206004820152603160248201527f596f752068617665206265656e20626c61636b6c69737465642066726f6d207460448201527072616e73666572696e6720746f6b656e7360781b60648201526084016109b0565b806000036113675761136283836000611d20565b505050565b60085460ff166113fc576001600160a01b03831660009081526013602052604090205460ff16806113b057506001600160a01b03821660009081526013602052604090205460ff165b6113fc5760405162461bcd60e51b815260206004820152601a60248201527f54726164696e67206973206e6f7420616374697665207965742e00000000000060448201526064016109b0565b600854610100900460ff1615611784576005546001600160a01b0384811691161480159061143857506005546001600160a01b03838116911614155b801561144c57506001600160a01b03821615155b801561146357506001600160a01b03821661dead14155b80156114795750600554600160a01b900460ff16155b156117845760085460ff1661150c576001600160a01b03831660009081526013602052604090205460ff16806114c757506001600160a01b03821660009081526013602052604090205460ff165b61150c5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b60448201526064016109b0565b6001600160a01b03831660009081526015602052604090205460ff16801561154d57506001600160a01b03821660009081526014602052604090205460ff16155b1561163a5760075461156790670de0b6b3a76400006121eb565b8111156115cb5760405162461bcd60e51b815260206004820152602c60248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201526b36b0bc2a3c20b6b7bab73a1760a11b60648201526084016109b0565b6011546001600160a01b0383166000908152602081905260409020546115f190836121eb565b11156116355760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016109b0565b611784565b6001600160a01b03821660009081526015602052604090205460ff16801561167b57506001600160a01b03831660009081526014602052604090205460ff16155b156116fa5760075461169590670de0b6b3a76400006121eb565b8111156116355760405162461bcd60e51b815260206004820152602d60248201527f53656c6c207472616e7366657220616d6f756e7420657863656564732074686560448201526c1036b0bc2a3c20b6b7bab73a1760991b60648201526084016109b0565b6001600160a01b03821660009081526014602052604090205460ff16611784576011546001600160a01b03831660009081526020819052604090205461174090836121eb565b11156117845760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016109b0565b600f546117929060016121eb565b43111580156117d357507f00000000000000000000000094fa28b442bae95e9eacc0e87e8b3db3e366d0996001600160a01b0316826001600160a01b031614155b80156117fc57506001600160a01b038216737a250d5630b4cf539739df2c5dacb4c659f2488d14155b15611825576001600160a01b0382166000908152601260205260409020805460ff191660011790555b3060009081526020819052604090205460065481108015908190611851575060085462010000900460ff165b80156118675750600554600160a01b900460ff16155b801561188c57506001600160a01b03851660009081526015602052604090205460ff16155b80156118b157506001600160a01b03851660009081526013602052604090205460ff16155b80156118d657506001600160a01b03841660009081526013602052604090205460ff16155b15611904576005805460ff60a01b1916600160a01b1790556118f6611e74565b6005805460ff60a01b191690555b6005546001600160a01b03861660009081526013602052604090205460ff600160a01b90920482161591168061195257506001600160a01b03851660009081526013602052604090205460ff165b1561195b575060005b60008115611aa6576001600160a01b03861660009081526015602052604090205460ff16801561198d57506000600c54115b15611a02576119b36103e86119ad600c5488611f1390919063ffffffff16565b90611f26565b905080600d60008282546119c791906121eb565b9091555050600c54600b546119dc90836121aa565b6119e691906121c9565b600e60008282546119f791906121eb565b90915550611a889050565b6001600160a01b03871660009081526015602052604090205460ff1615611a8857611a3e6103e86119ad600a5488611f1390919063ffffffff16565b905080600d6000828254611a5291906121eb565b9091555050600a54600954611a6790836121aa565b611a7191906121c9565b600e6000828254611a8291906121eb565b90915550505b8015611a9957611a99873083611d20565b611aa3818661230e565b94505b611ab1878787611d20565b50505050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611aef57611aef6121fe565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b919190612321565b81600181518110611ba457611ba46121fe565b60200260200101906001600160a01b031690816001600160a01b031681525050611bef307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611062565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac94790611c4490859060009086903090429060040161233e565b600060405180830381600087803b158015611c5e57600080fd5b505af1158015611c72573d6000803e3d6000fd5b505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260156020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038316611d465760405162461bcd60e51b81526004016109b090612286565b6001600160a01b038216611d6c5760405162461bcd60e51b81526004016109b0906122cb565b6001600160a01b03831660009081526020819052604090205481811015611de45760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016109b0565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611e1b9084906121eb565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611e6791815260200190565b60405180910390a3611254565b30600090815260208190526040812054600e549091821580611e94575081155b15611e9e57505050565b82611ea881611aba565b60085460405163010000009091046001600160a01b0316904790600081818185875af1925050503d8060008114611efb576040519150601f19603f3d011682016040523d82523d6000602084013e611f00565b606091505b50506000600e819055600d555050505050565b6000611f1f82846121aa565b9392505050565b6000611f1f82846121c9565b600060208083528351808285015260005b81811015611f5f57858101830151858201604001528201611f43565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610a3857600080fd5b60008060408385031215611fa857600080fd5b8235611fb381611f80565b946020939093013593505050565b600060208284031215611fd357600080fd5b8135611f1f81611f80565b600060208284031215611ff057600080fd5b5035919050565b60008060006060848603121561200c57600080fd5b833561201781611f80565b9250602084013561202781611f80565b929592945050506040919091013590565b8035801515811461204857600080fd5b919050565b6000806040838503121561206057600080fd5b823561206b81611f80565b915061207960208401612038565b90509250929050565b60006020828403121561209457600080fd5b611f1f82612038565b6000806000604084860312156120b257600080fd5b833567ffffffffffffffff808211156120ca57600080fd5b818601915086601f8301126120de57600080fd5b8135818111156120ed57600080fd5b8760208260051b850101111561210257600080fd5b6020928301955093506121189186019050612038565b90509250925092565b6000806040838503121561213457600080fd5b823561213f81611f80565b9150602083013561214f81611f80565b809150509250929050565b600181811c9082168061216e57607f821691505b60208210810361218e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156121c4576121c4612194565b500290565b6000826121e657634e487b7160e01b600052601260045260246000fd5b500490565b8082018082111561091757610917612194565b634e487b7160e01b600052603260045260246000fd5b60006001820161222657612226612194565b5060010190565b6040808252810183905260008460608301825b8681101561227057823561225381611f80565b6001600160a01b0316825260209283019290910190600101612240565b5080925050508215156020830152949350505050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b8181038181111561091757610917612194565b60006020828403121561233357600080fd5b8151611f1f81611f80565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561238e5784516001600160a01b031683529383019391830191600101612369565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122084447f2f1fd7cc936dd015d3c937fe8c319058112d204f76d6b4ddf33234892264736f6c63430008100033
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.