Token migration announcement. Brick Block token contract has migrated to a new address.
ERC-20
Old Contract
Overview
Max Total Supply
100,000,000 Brick Block
Holders
1,471 (0.00%)
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
986.478273473998737504 Brick BlockValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
BB
Compiler Version
v0.8.25+commit.b61c2a91
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/**** Telegram: https://t.me/brickblockETH Twitter: https://twitter.com/brickblockETH Website: https://brickblock.estate/ ****/ // SPDX-License-Identifier: MIT pragma solidity ^0.8.19; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } /** * @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); } /** * @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); } /** * @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 {} } interface IUniswapV2Factory { event PairCreated( address indexed token0, address indexed token1, address pair, uint256 ); 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(uint256) external view returns (address pair); function allPairsLength() external view returns (uint256); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } interface IUniswapV2Router02 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns ( uint256 amountA, uint256 amountB, uint256 liquidity ); function addLiquidityETH( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external payable returns ( uint256 amountToken, uint256 amountETH, uint256 liquidity ); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external; } contract BB is ERC20, Ownable { IUniswapV2Router02 public immutable uniswapV2Router; bool private swapping; address public marketingWallet; address public devWallet; address public treasuryWallet; uint256 public maxTransactionAmount; uint256 public swapTokensAtAmount; uint256 public maxWallet; bool public limitsInEffect = true; bool public tradingActive = false; bool public swapEnabled = false; uint256 public buyTotalFees; uint256 public buyMarketingFee; uint256 public buyDevFee; uint256 public buyTreasuryFee; uint256 public sellTotalFees; uint256 public sellMarketingFee; uint256 public sellDevFee; uint256 public sellTreasuryFee; uint256 public tokensForMarketing; uint256 public tokensForDev; uint256 public tokensForTreasury; mapping(address => bool) private _isExcludedFromFees; mapping(address => bool) public _isExcludedMaxTransactionAmount; mapping(address => bool) public automatedMarketMakerPairs; event ExcludeFromFees(address indexed account, bool isExcluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); constructor() ERC20("BB", "Brick Block") {// IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); excludeFromMaxTransaction(address(_uniswapV2Router), true); uniswapV2Router = _uniswapV2Router; uint256 totalSupply = 100_000_000 * 1e18; maxTransactionAmount = 1_000_000 * 1e18; // 1.0% from total supply maxTransactionAmount maxWallet = 1_000_000 * 1e18; // 1.0% from total supply maxWallet swapTokensAtAmount = 50_000 * 1e18; // 0.05% swap wallet buyMarketingFee = 10; // 10% initial buy fee for marketing wallet buyDevFee = 10; // 10% initial buy fee for dev wallet buyTreasuryFee = 15; // 15% initial buy fee for treasury wallet buyTotalFees = buyMarketingFee + buyDevFee + buyTreasuryFee; sellMarketingFee = 10; // 10% initial sell fee for marketing wallet sellDevFee = 10; // 10% initial sell fee for dev wallet sellTreasuryFee = 15; // 15% initial sell fee for treasury wallet sellTotalFees = sellMarketingFee + sellDevFee + sellTreasuryFee; marketingWallet = address(0x5F0517656D4237272A969a38B2e321A4B905D5e9); // devWallet = address(0x5e1a478E351Bd852eCa2C30775DB146A8da24078); // treasuryWallet = address(0x95e008d2C6E156634BA25D8F0A94d5deD49b5ed6); // // exclude from paying fees or having max transaction amount excludeFromFees(owner(), true); excludeFromFees(marketingWallet, true); excludeFromFees(devWallet, true); excludeFromFees(treasuryWallet, true); excludeFromFees(address(this), true); excludeFromFees(address(0xdead), true); excludeFromMaxTransaction(owner(), true); excludeFromMaxTransaction(marketingWallet, true); excludeFromMaxTransaction(devWallet, true); excludeFromMaxTransaction(treasuryWallet, true); excludeFromMaxTransaction(address(this), true); excludeFromMaxTransaction(address(0xdead), true); /* _mint is an internal function in TokenV2.sol that is only called here, and CANNOT be called ever again */ _mint(msg.sender, totalSupply); } receive() external payable {} function enableTrading(uint256 blockNumber) external onlyOwner { require(blockNumber == block.number, "not a target block"); tradingActive = true; swapEnabled = true; } function removeLimits() external onlyOwner returns (bool) { limitsInEffect = false; return true; } function updateSwapTokensAtAmount(uint256 newAmount) external onlyOwner returns (bool){ require(newAmount >= (totalSupply() * 1) / 100000, "Swap amount cannot be lower than 0.001% total supply."); require(newAmount <= (totalSupply() * 5) / 1000, "Swap amount cannot be higher than 0.5% total supply."); swapTokensAtAmount = newAmount; return true; } function updateMaxTxnAmount(uint256 newNum) external onlyOwner { require(newNum >= ((totalSupply() * 15) / 1000) / 1e18, "Cannot set maxTransactionAmount lower than 1.5%"); maxTransactionAmount = newNum * (10 ** 18); } function updateMaxWalletAmount(uint256 newNum) external onlyOwner { require(newNum >= ((totalSupply() * 15) / 1000) / 1e18, "Cannot set maxWalletAmount lower than 1.5%"); maxWallet = newNum * (10 ** 18); } function excludeFromMaxTransaction(address updAds, bool isEx) public onlyOwner { _isExcludedMaxTransactionAmount[updAds] = isEx; } function updateSwapEnabled(bool enabled) external onlyOwner { swapEnabled = enabled; } function updateBuyFees(uint256 _marketingFee, uint256 _devFee, uint256 _treasuryFee) external onlyOwner { require(_marketingFee <= 10, "Cannot set marketingFee higher than 10%"); require(_devFee <= 10, "Cannot set devFee higher than 10%"); require(_treasuryFee <= 15, "Cannot set treasuryFee higher than 15%"); buyMarketingFee = _marketingFee; buyDevFee = _devFee; buyTreasuryFee = _treasuryFee; buyTotalFees = buyMarketingFee + buyDevFee + buyTreasuryFee; } function updateSellFees(uint256 _marketingFee, uint256 _devFee, uint256 _treasuryFee) external onlyOwner { require(_marketingFee <= 10, "Cannot set marketingFee higher than 10%"); require(_devFee <= 10, "Cannot set devFee higher than 10%"); require(_treasuryFee <= 15, "Cannot set treasuryFee higher than 15%"); sellMarketingFee = _marketingFee; sellDevFee = _devFee; sellTreasuryFee = _treasuryFee; sellTotalFees = sellMarketingFee + sellDevFee + sellTreasuryFee; } function excludeFromFees(address account, bool excluded) public onlyOwner { _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function setAutomatedMarketMakerPair(address pair, bool value) public onlyOwner { automatedMarketMakerPairs[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } function updateMarketingWallet(address _marketingWallet) external onlyOwner { marketingWallet = _marketingWallet; } function updateDevWallet(address _devWallet) external onlyOwner { devWallet = _devWallet; } function updateTreasuryWallet(address _treasuryWallet) external onlyOwner { treasuryWallet = _treasuryWallet; } function isExcludedFromFees(address account) public view returns (bool) { return _isExcludedFromFees[account]; } function _transfer(address from, address to, uint256 amount) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); if (amount == 0) { super._transfer(from, to, 0); return; } bool takeFee = !swapping; if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } uint256 fees = 0; if (takeFee) { if (automatedMarketMakerPairs[to] && sellTotalFees > 0) { fees = (amount * sellTotalFees) / 100; tokensForMarketing += fees * sellMarketingFee / sellTotalFees; tokensForDev += fees * sellDevFee / sellTotalFees; tokensForTreasury += fees * sellTreasuryFee / sellTotalFees; } else if (automatedMarketMakerPairs[from] && buyTotalFees > 0) { fees = (amount * buyTotalFees) / 100; tokensForMarketing += fees * buyMarketingFee / buyTotalFees; tokensForDev += fees * buyDevFee / buyTotalFees; tokensForTreasury += fees * buyTreasuryFee / buyTotalFees; } amount -= fees; } 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"); } // when buy if (automatedMarketMakerPairs[from] && !_isExcludedMaxTransactionAmount[to]) { require( amount <= maxTransactionAmount, "Buy transfer amount exceeds the max tx" ); require( amount + balanceOf(to) <= maxWallet, "Max wallet exceeded" ); } // when sell else if (automatedMarketMakerPairs[to] && !_isExcludedMaxTransactionAmount[from]) { require( amount <= maxTransactionAmount, "Sell transfer amount exceeds the max tx" ); } else if (!_isExcludedMaxTransactionAmount[to]) { require( amount + balanceOf(to) <= maxWallet, "Max wallet exceeded" ); } } } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount; if ( canSwap && swapEnabled && !swapping && !automatedMarketMakerPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to] ) { swapping = true; swapBack(); swapping = false; } if (fees > 0) { super._transfer(from, address(this), fees); } super._transfer(from, to, amount); } function swapTokensForEth(uint256 tokenAmount) private { address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(this), block.timestamp ); } function swapBack() private { uint256 totalTokensFor = tokensForMarketing + tokensForDev + tokensForTreasury; uint256 contractBalance = balanceOf(address(this)); uint256 totalTokensToSwap = swapTokensAtAmount; if (contractBalance > swapTokensAtAmount * 40) { totalTokensToSwap = swapTokensAtAmount * 40; } uint256 initialETHBalance = address(this).balance; swapTokensForEth(totalTokensToSwap); uint256 ethBalance = address(this).balance - initialETHBalance; uint256 ethForMarketing = (ethBalance * tokensForMarketing) / totalTokensFor; uint256 ethForDev = (ethBalance * tokensForDev) / totalTokensFor; uint256 ethForTreasury = (ethBalance * tokensForTreasury) / totalTokensFor; tokensForMarketing = 0; tokensForDev = 0; tokensForTreasury = 0; bool success; (success,) = address(marketingWallet).call{value : ethForMarketing}(""); (success,) = address(devWallet).call{value : ethForDev}(""); (success,) = address(treasuryWallet).call{value : ethForTreasury}(""); } }
{ "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":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"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":"buyDevFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyMarketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTreasuryFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"devWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellDevFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellMarketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTreasuryFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForDev","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForMarketing","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForTreasury","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasuryWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingFee","type":"uint256"},{"internalType":"uint256","name":"_devFee","type":"uint256"},{"internalType":"uint256","name":"_treasuryFee","type":"uint256"}],"name":"updateBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_devWallet","type":"address"}],"name":"updateDevWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_marketingWallet","type":"address"}],"name":"updateMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxTxnAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingFee","type":"uint256"},{"internalType":"uint256","name":"_devFee","type":"uint256"},{"internalType":"uint256","name":"_treasuryFee","type":"uint256"}],"name":"updateSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"updateSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasuryWallet","type":"address"}],"name":"updateTreasuryWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60a0604052600c805462ffffff1916600117905534801561001e575f80fd5b5060405180604001604052806002815260200161212160f11b8152506040518060400160405280600b81526020016a427269636b20426c6f636b60a81b815250816003908161006d9190610592565b50600461007a8282610592565b50505061009361008e6102aa60201b60201c565b6102ae565b737a250d5630b4cf539739df2c5dacb4c659f2488d6100b38160016102ff565b6001600160a01b03811660805269d3c21bcecceda10000006009819055600b55690a968163f0a57b400000600a908155600e819055600f81815560108190556a52b7d2dcc80cd2e4000000916101099080610651565b6101139190610651565b600d55600a60128190556013819055600f6014819055906101349080610651565b61013e9190610651565b601155600680546001600160a01b0319908116735f0517656d4237272a969a38b2e321a4b905d5e917909155600780548216735e1a478e351bd852eca2c30775db146a8da24078179055600880549091167395e008d2c6e156634ba25d8f0a94d5ded49b5ed61790556101c36101bc6005546001600160a01b031690565b6001610375565b6006546101da906001600160a01b03166001610375565b6007546101f1906001600160a01b03166001610375565b600854610208906001600160a01b03166001610375565b610213306001610375565b61022061dead6001610375565b61023c6102356005546001600160a01b031690565b60016102ff565b600654610253906001600160a01b031660016102ff565b60075461026a906001600160a01b031660016102ff565b600854610281906001600160a01b031660016102ff565b61028c3060016102ff565b61029961dead60016102ff565b6102a3338261041a565b5050610676565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6005546001600160a01b0316331461034b5760405162461bcd60e51b815260206004820181905260248201525f80516020612c9083398151915260448201526064015b60405180910390fd5b6001600160a01b03919091165f908152601960205260409020805460ff1916911515919091179055565b6005546001600160a01b031633146103bc5760405162461bcd60e51b815260206004820181905260248201525f80516020612c908339815191526044820152606401610342565b6001600160a01b0382165f81815260186020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b0382166104705760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610342565b8060025f8282546104819190610651565b90915550506001600160a01b0382165f90815260208190526040812080548392906104ad908490610651565b90915550506040518181526001600160a01b038316905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061052357607f821691505b60208210810361054157634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156104f657805f5260205f20601f840160051c8101602085101561056c5750805b601f840160051c820191505b8181101561058b575f8155600101610578565b5050505050565b81516001600160401b038111156105ab576105ab6104fb565b6105bf816105b9845461050f565b84610547565b602080601f8311600181146105f2575f84156105db5750858301515b5f19600386901b1c1916600185901b178555610649565b5f85815260208120601f198616915b8281101561062057888601518255948401946001909101908401610601565b508582101561063d57878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b8082018082111561067057634e487b7160e01b5f52601160045260245ffd5b92915050565b6080516125ed6106a35f395f818161039901528181611fde0152818161209501526120d101526125ed5ff3fe6080604052600436106102f6575f3560e01c806382aa7c6811610189578063b62496f5116100d8578063cc2ffe7c11610092578063dd62ed3e1161006d578063dd62ed3e146108be578063e2f4560514610902578063f2fde38b14610917578063f8b45b0514610936575f80fd5b8063cc2ffe7c14610875578063d257b34f1461088a578063d85ba063146108a9575f80fd5b8063b62496f5146107b7578063bbc0c742146107e5578063c024666814610803578063c17b5b8c14610822578063c18bc19514610841578063c8c8ebe414610860575f80fd5b80639a7a23d611610143578063a0d82dc51161011e578063a0d82dc514610745578063a457c2d71461075a578063a9059cbb14610779578063aacebbe314610798575f80fd5b80639a7a23d6146106fc5780639c3b4fdc1461071b5780639fccce3214610730575f80fd5b806382aa7c68146106595780638da5cb5b146106785780638ea5220f1461069557806392136913146106b4578063924de9b7146106c957806395d89b41146106e8575f80fd5b80634fbee19311610245578063715018a6116101ff57806375f0a874116101da57806375f0a874146105e75780637bce5a04146106065780638095d5641461061b578063809d458d1461063a575f80fd5b8063715018a6146105a0578063751039fc146105b45780637571336a146105c8575f80fd5b80634fbee193146104d75780635c068a8c1461050e5780636a486a8e146105235780636b2fb124146105385780636ddd17131461054d57806370a082311461056c575f80fd5b80631f3fed8f116102b0578063313ce5671161028b578063313ce5671461046557806339509351146104805780634626402b1461049f5780634a62bb65146104be575f80fd5b80631f3fed8f14610412578063203e727e1461042757806323b872dd14610446575f80fd5b806306fdde0314610301578063095ea7b31461032b57806310d5de531461035a5780631694505e1461038857806318160ddd146103d35780631816467f146103f1575f80fd5b366102fd57005b5f80fd5b34801561030c575f80fd5b5061031561094b565b604051610322919061213f565b60405180910390f35b348015610336575f80fd5b5061034a610345366004612188565b6109db565b6040519015158152602001610322565b348015610365575f80fd5b5061034a6103743660046121b2565b60196020525f908152604090205460ff1681565b348015610393575f80fd5b506103bb7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610322565b3480156103de575f80fd5b506002545b604051908152602001610322565b3480156103fc575f80fd5b5061041061040b3660046121b2565b6109f1565b005b34801561041d575f80fd5b506103e360155481565b348015610432575f80fd5b506104106104413660046121d4565b610a46565b348015610451575f80fd5b5061034a6104603660046121eb565b610b23565b348015610470575f80fd5b5060405160128152602001610322565b34801561048b575f80fd5b5061034a61049a366004612188565b610bcb565b3480156104aa575f80fd5b506008546103bb906001600160a01b031681565b3480156104c9575f80fd5b50600c5461034a9060ff1681565b3480156104e2575f80fd5b5061034a6104f13660046121b2565b6001600160a01b03165f9081526018602052604090205460ff1690565b348015610519575f80fd5b506103e360105481565b34801561052e575f80fd5b506103e360115481565b348015610543575f80fd5b506103e360145481565b348015610558575f80fd5b50600c5461034a9062010000900460ff1681565b348015610577575f80fd5b506103e36105863660046121b2565b6001600160a01b03165f9081526020819052604090205490565b3480156105ab575f80fd5b50610410610c06565b3480156105bf575f80fd5b5061034a610c3b565b3480156105d3575f80fd5b506104106105e2366004612238565b610c77565b3480156105f2575f80fd5b506006546103bb906001600160a01b031681565b348015610611575f80fd5b506103e3600e5481565b348015610626575f80fd5b5061041061063536600461226b565b610ccb565b348015610645575f80fd5b506104106106543660046121b2565b610d84565b348015610664575f80fd5b506104106106733660046121d4565b610dd0565b348015610683575f80fd5b506005546001600160a01b03166103bb565b3480156106a0575f80fd5b506007546103bb906001600160a01b031681565b3480156106bf575f80fd5b506103e360125481565b3480156106d4575f80fd5b506104106106e3366004612294565b610e52565b3480156106f3575f80fd5b50610315610e98565b348015610707575f80fd5b50610410610716366004612238565b610ea7565b348015610726575f80fd5b506103e3600f5481565b34801561073b575f80fd5b506103e360165481565b348015610750575f80fd5b506103e360135481565b348015610765575f80fd5b5061034a610774366004612188565b610f24565b348015610784575f80fd5b5061034a610793366004612188565b610fbc565b3480156107a3575f80fd5b506104106107b23660046121b2565b610fc8565b3480156107c2575f80fd5b5061034a6107d13660046121b2565b601a6020525f908152604090205460ff1681565b3480156107f0575f80fd5b50600c5461034a90610100900460ff1681565b34801561080e575f80fd5b5061041061081d366004612238565b611014565b34801561082d575f80fd5b5061041061083c36600461226b565b61109c565b34801561084c575f80fd5b5061041061085b3660046121d4565b611155565b34801561086b575f80fd5b506103e360095481565b348015610880575f80fd5b506103e360175481565b348015610895575f80fd5b5061034a6108a43660046121d4565b61122d565b3480156108b4575f80fd5b506103e3600d5481565b3480156108c9575f80fd5b506103e36108d83660046122ad565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b34801561090d575f80fd5b506103e3600a5481565b348015610922575f80fd5b506104106109313660046121b2565b611383565b348015610941575f80fd5b506103e3600b5481565b60606003805461095a906122e4565b80601f0160208091040260200160405190810160405280929190818152602001828054610986906122e4565b80156109d15780601f106109a8576101008083540402835291602001916109d1565b820191905f5260205f20905b8154815290600101906020018083116109b457829003601f168201915b5050505050905090565b5f6109e733848461141e565b5060015b92915050565b6005546001600160a01b03163314610a245760405162461bcd60e51b8152600401610a1b9061231c565b60405180910390fd5b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610a705760405162461bcd60e51b8152600401610a1b9061231c565b670de0b6b3a76400006103e8610a8560025490565b610a9090600f612365565b610a9a919061237c565b610aa4919061237c565b811015610b0b5760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20312e352560881b6064820152608401610a1b565b610b1d81670de0b6b3a7640000612365565b60095550565b5f610b2f848484611541565b6001600160a01b0384165f90815260016020908152604080832033845290915290205482811015610bb35760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610a1b565b610bc0853385840361141e565b506001949350505050565b335f8181526001602090815260408083206001600160a01b038716845290915281205490916109e7918590610c0190869061239b565b61141e565b6005546001600160a01b03163314610c305760405162461bcd60e51b8152600401610a1b9061231c565b610c395f611c0f565b565b6005545f906001600160a01b03163314610c675760405162461bcd60e51b8152600401610a1b9061231c565b50600c805460ff19169055600190565b6005546001600160a01b03163314610ca15760405162461bcd60e51b8152600401610a1b9061231c565b6001600160a01b03919091165f908152601960205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610cf55760405162461bcd60e51b8152600401610a1b9061231c565b600a831115610d165760405162461bcd60e51b8152600401610a1b906123ae565b600a821115610d375760405162461bcd60e51b8152600401610a1b906123f5565b600f811115610d585760405162461bcd60e51b8152600401610a1b90612436565b600e839055600f829055601081905580610d72838561239b565b610d7c919061239b565b600d55505050565b6005546001600160a01b03163314610dae5760405162461bcd60e51b8152600401610a1b9061231c565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610dfa5760405162461bcd60e51b8152600401610a1b9061231c565b438114610e3e5760405162461bcd60e51b81526020600482015260126024820152716e6f7420612074617267657420626c6f636b60701b6044820152606401610a1b565b50600c805462ffff00191662010100179055565b6005546001600160a01b03163314610e7c5760405162461bcd60e51b8152600401610a1b9061231c565b600c8054911515620100000262ff000019909216919091179055565b60606004805461095a906122e4565b6005546001600160a01b03163314610ed15760405162461bcd60e51b8152600401610a1b9061231c565b6001600160a01b0382165f818152601a6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b335f9081526001602090815260408083206001600160a01b038616845290915281205482811015610fa55760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610a1b565b610fb2338585840361141e565b5060019392505050565b5f6109e7338484611541565b6005546001600160a01b03163314610ff25760405162461bcd60e51b8152600401610a1b9061231c565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b0316331461103e5760405162461bcd60e51b8152600401610a1b9061231c565b6001600160a01b0382165f81815260186020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146110c65760405162461bcd60e51b8152600401610a1b9061231c565b600a8311156110e75760405162461bcd60e51b8152600401610a1b906123ae565b600a8211156111085760405162461bcd60e51b8152600401610a1b906123f5565b600f8111156111295760405162461bcd60e51b8152600401610a1b90612436565b60128390556013829055601481905580611143838561239b565b61114d919061239b565b601155505050565b6005546001600160a01b0316331461117f5760405162461bcd60e51b8152600401610a1b9061231c565b670de0b6b3a76400006103e861119460025490565b61119f90600f612365565b6111a9919061237c565b6111b3919061237c565b8110156112155760405162461bcd60e51b815260206004820152602a60248201527f43616e6e6f7420736574206d617857616c6c6574416d6f756e74206c6f776572604482015269207468616e20312e352560b01b6064820152608401610a1b565b61122781670de0b6b3a7640000612365565b600b5550565b6005545f906001600160a01b031633146112595760405162461bcd60e51b8152600401610a1b9061231c565b620186a061126660025490565b611271906001612365565b61127b919061237c565b8210156112e85760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610a1b565b6103e86112f460025490565b6112ff906005612365565b611309919061237c565b8211156113755760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610a1b565b50600a81905560015b919050565b6005546001600160a01b031633146113ad5760405162461bcd60e51b8152600401610a1b9061231c565b6001600160a01b0381166114125760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a1b565b61141b81611c0f565b50565b6001600160a01b0383166114805760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a1b565b6001600160a01b0382166114e15760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a1b565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166115675760405162461bcd60e51b8152600401610a1b9061247c565b6001600160a01b03821661158d5760405162461bcd60e51b8152600401610a1b906124c1565b805f036115a45761159f83835f611c60565b505050565b6005546001600160a01b0384165f9081526018602052604090205460ff600160a01b9092048216159116806115f057506001600160a01b0383165f9081526018602052604090205460ff165b156115f857505f5b5f81156117c1576001600160a01b0384165f908152601a602052604090205460ff16801561162757505f601154115b156116dc5760646011548461163c9190612365565b611646919061237c565b9050601154601254826116599190612365565b611663919061237c565b60155f828254611673919061239b565b90915550506011546013546116889083612365565b611692919061237c565b60165f8282546116a2919061239b565b90915550506011546014546116b79083612365565b6116c1919061237c565b60175f8282546116d1919061239b565b909155506117b49050565b6001600160a01b0385165f908152601a602052604090205460ff16801561170457505f600d54115b156117b4576064600d54846117199190612365565b611723919061237c565b9050600d54600e54826117369190612365565b611740919061237c565b60155f828254611750919061239b565b9091555050600d54600f546117659083612365565b61176f919061237c565b60165f82825461177f919061239b565b9091555050600d546010546117949083612365565b61179e919061237c565b60175f8282546117ae919061239b565b90915550505b6117be8184612504565b92505b600c5460ff1615611b0f576005546001600160a01b038681169116148015906117f857506005546001600160a01b03858116911614155b801561180c57506001600160a01b03841615155b801561182357506001600160a01b03841661dead14155b80156118395750600554600160a01b900460ff16155b15611b0f57600c54610100900460ff166118ce576001600160a01b0385165f9081526018602052604090205460ff168061188a57506001600160a01b0384165f9081526018602052604090205460ff165b6118ce5760405162461bcd60e51b815260206004820152601560248201527454726164696e67206973206e6f742061637469766560581b6044820152606401610a1b565b6001600160a01b0385165f908152601a602052604090205460ff16801561190d57506001600160a01b0384165f9081526019602052604090205460ff16155b156119e1576009548311156119735760405162461bcd60e51b815260206004820152602660248201527f427579207472616e7366657220616d6f756e74206578636565647320746865206044820152650dac2f040e8f60d31b6064820152608401610a1b565b600b546001600160a01b0385165f90815260208190526040902054611998908561239b565b11156119dc5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610a1b565b611b0f565b6001600160a01b0384165f908152601a602052604090205460ff168015611a2057506001600160a01b0385165f9081526019602052604090205460ff16155b15611a87576009548311156119dc5760405162461bcd60e51b815260206004820152602760248201527f53656c6c207472616e7366657220616d6f756e74206578636565647320746865604482015266040dac2f040e8f60cb1b6064820152608401610a1b565b6001600160a01b0384165f9081526019602052604090205460ff16611b0f57600b546001600160a01b0385165f90815260208190526040902054611acb908561239b565b1115611b0f5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610a1b565b305f90815260208190526040902054600a5481108015908190611b3a5750600c5462010000900460ff165b8015611b505750600554600160a01b900460ff16155b8015611b7457506001600160a01b0387165f908152601a602052604090205460ff16155b8015611b9857506001600160a01b0387165f9081526018602052604090205460ff16155b8015611bbc57506001600160a01b0386165f9081526018602052604090205460ff16155b15611bea576005805460ff60a01b1916600160a01b179055611bdc611db3565b6005805460ff60a01b191690555b8215611bfb57611bfb873085611c60565b611c06878787611c60565b50505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038316611c865760405162461bcd60e51b8152600401610a1b9061247c565b6001600160a01b038216611cac5760405162461bcd60e51b8152600401610a1b906124c1565b6001600160a01b0383165f9081526020819052604090205481811015611d235760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610a1b565b6001600160a01b038085165f90815260208190526040808220858503905591851681529081208054849290611d5990849061239b565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611da591815260200190565b60405180910390a350505050565b5f601754601654601554611dc7919061239b565b611dd1919061239b565b305f90815260208190526040902054600a5491925090611df2816028612365565b821115611e0a57600a54611e07906028612365565b90505b47611e1482611f89565b5f611e1f8247612504565b90505f8560155483611e319190612365565b611e3b919061237c565b90505f8660165484611e4d9190612365565b611e57919061237c565b90505f8760175485611e699190612365565b611e73919061237c565b5f60158190556016819055601781905560065460405192935090916001600160a01b039091169085908381818185875af1925050503d805f8114611ed2576040519150601f19603f3d011682016040523d82523d5f602084013e611ed7565b606091505b50506007546040519192506001600160a01b03169084905f81818185875af1925050503d805f8114611f24576040519150601f19603f3d011682016040523d82523d5f602084013e611f29565b606091505b50506008546040519192506001600160a01b03169083905f81818185875af1925050503d805f8114611f76576040519150601f19603f3d011682016040523d82523d5f602084013e611f7b565b606091505b505050505050505050505050565b6040805160028082526060820183525f9260208301908036833701905050905030815f81518110611fbc57611fbc612517565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612038573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061205c919061252b565b8160018151811061206f5761206f612517565b60200260200101906001600160a01b031690816001600160a01b0316815250506120ba307f00000000000000000000000000000000000000000000000000000000000000008461141e565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac9479061210e9085905f90869030904290600401612546565b5f604051808303815f87803b158015612125575f80fd5b505af1158015612137573d5f803e3d5ffd5b505050505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b038116811461141b575f80fd5b5f8060408385031215612199575f80fd5b82356121a481612174565b946020939093013593505050565b5f602082840312156121c2575f80fd5b81356121cd81612174565b9392505050565b5f602082840312156121e4575f80fd5b5035919050565b5f805f606084860312156121fd575f80fd5b833561220881612174565b9250602084013561221881612174565b929592945050506040919091013590565b8035801515811461137e575f80fd5b5f8060408385031215612249575f80fd5b823561225481612174565b915061226260208401612229565b90509250929050565b5f805f6060848603121561227d575f80fd5b505081359360208301359350604090920135919050565b5f602082840312156122a4575f80fd5b6121cd82612229565b5f80604083850312156122be575f80fd5b82356122c981612174565b915060208301356122d981612174565b809150509250929050565b600181811c908216806122f857607f821691505b60208210810361231657634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b80820281158282048414176109eb576109eb612351565b5f8261239657634e487b7160e01b5f52601260045260245ffd5b500490565b808201808211156109eb576109eb612351565b60208082526027908201527f43616e6e6f7420736574206d61726b6574696e6746656520686967686572207460408201526668616e2031302560c81b606082015260800190565b60208082526021908201527f43616e6e6f74207365742064657646656520686967686572207468616e2031306040820152602560f81b606082015260800190565b60208082526026908201527f43616e6e6f742073657420747265617375727946656520686967686572207468604082015265616e2031352560d01b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b818103818111156109eb576109eb612351565b634e487b7160e01b5f52603260045260245ffd5b5f6020828403121561253b575f80fd5b81516121cd81612174565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b818110156125965784516001600160a01b031683529383019391830191600101612571565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122024678858ce6f0d5fd26259f9ff9f5685c5131142d381d582d3655b486bff1f9964736f6c634300081900334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572
Deployed Bytecode
0x6080604052600436106102f6575f3560e01c806382aa7c6811610189578063b62496f5116100d8578063cc2ffe7c11610092578063dd62ed3e1161006d578063dd62ed3e146108be578063e2f4560514610902578063f2fde38b14610917578063f8b45b0514610936575f80fd5b8063cc2ffe7c14610875578063d257b34f1461088a578063d85ba063146108a9575f80fd5b8063b62496f5146107b7578063bbc0c742146107e5578063c024666814610803578063c17b5b8c14610822578063c18bc19514610841578063c8c8ebe414610860575f80fd5b80639a7a23d611610143578063a0d82dc51161011e578063a0d82dc514610745578063a457c2d71461075a578063a9059cbb14610779578063aacebbe314610798575f80fd5b80639a7a23d6146106fc5780639c3b4fdc1461071b5780639fccce3214610730575f80fd5b806382aa7c68146106595780638da5cb5b146106785780638ea5220f1461069557806392136913146106b4578063924de9b7146106c957806395d89b41146106e8575f80fd5b80634fbee19311610245578063715018a6116101ff57806375f0a874116101da57806375f0a874146105e75780637bce5a04146106065780638095d5641461061b578063809d458d1461063a575f80fd5b8063715018a6146105a0578063751039fc146105b45780637571336a146105c8575f80fd5b80634fbee193146104d75780635c068a8c1461050e5780636a486a8e146105235780636b2fb124146105385780636ddd17131461054d57806370a082311461056c575f80fd5b80631f3fed8f116102b0578063313ce5671161028b578063313ce5671461046557806339509351146104805780634626402b1461049f5780634a62bb65146104be575f80fd5b80631f3fed8f14610412578063203e727e1461042757806323b872dd14610446575f80fd5b806306fdde0314610301578063095ea7b31461032b57806310d5de531461035a5780631694505e1461038857806318160ddd146103d35780631816467f146103f1575f80fd5b366102fd57005b5f80fd5b34801561030c575f80fd5b5061031561094b565b604051610322919061213f565b60405180910390f35b348015610336575f80fd5b5061034a610345366004612188565b6109db565b6040519015158152602001610322565b348015610365575f80fd5b5061034a6103743660046121b2565b60196020525f908152604090205460ff1681565b348015610393575f80fd5b506103bb7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b039091168152602001610322565b3480156103de575f80fd5b506002545b604051908152602001610322565b3480156103fc575f80fd5b5061041061040b3660046121b2565b6109f1565b005b34801561041d575f80fd5b506103e360155481565b348015610432575f80fd5b506104106104413660046121d4565b610a46565b348015610451575f80fd5b5061034a6104603660046121eb565b610b23565b348015610470575f80fd5b5060405160128152602001610322565b34801561048b575f80fd5b5061034a61049a366004612188565b610bcb565b3480156104aa575f80fd5b506008546103bb906001600160a01b031681565b3480156104c9575f80fd5b50600c5461034a9060ff1681565b3480156104e2575f80fd5b5061034a6104f13660046121b2565b6001600160a01b03165f9081526018602052604090205460ff1690565b348015610519575f80fd5b506103e360105481565b34801561052e575f80fd5b506103e360115481565b348015610543575f80fd5b506103e360145481565b348015610558575f80fd5b50600c5461034a9062010000900460ff1681565b348015610577575f80fd5b506103e36105863660046121b2565b6001600160a01b03165f9081526020819052604090205490565b3480156105ab575f80fd5b50610410610c06565b3480156105bf575f80fd5b5061034a610c3b565b3480156105d3575f80fd5b506104106105e2366004612238565b610c77565b3480156105f2575f80fd5b506006546103bb906001600160a01b031681565b348015610611575f80fd5b506103e3600e5481565b348015610626575f80fd5b5061041061063536600461226b565b610ccb565b348015610645575f80fd5b506104106106543660046121b2565b610d84565b348015610664575f80fd5b506104106106733660046121d4565b610dd0565b348015610683575f80fd5b506005546001600160a01b03166103bb565b3480156106a0575f80fd5b506007546103bb906001600160a01b031681565b3480156106bf575f80fd5b506103e360125481565b3480156106d4575f80fd5b506104106106e3366004612294565b610e52565b3480156106f3575f80fd5b50610315610e98565b348015610707575f80fd5b50610410610716366004612238565b610ea7565b348015610726575f80fd5b506103e3600f5481565b34801561073b575f80fd5b506103e360165481565b348015610750575f80fd5b506103e360135481565b348015610765575f80fd5b5061034a610774366004612188565b610f24565b348015610784575f80fd5b5061034a610793366004612188565b610fbc565b3480156107a3575f80fd5b506104106107b23660046121b2565b610fc8565b3480156107c2575f80fd5b5061034a6107d13660046121b2565b601a6020525f908152604090205460ff1681565b3480156107f0575f80fd5b50600c5461034a90610100900460ff1681565b34801561080e575f80fd5b5061041061081d366004612238565b611014565b34801561082d575f80fd5b5061041061083c36600461226b565b61109c565b34801561084c575f80fd5b5061041061085b3660046121d4565b611155565b34801561086b575f80fd5b506103e360095481565b348015610880575f80fd5b506103e360175481565b348015610895575f80fd5b5061034a6108a43660046121d4565b61122d565b3480156108b4575f80fd5b506103e3600d5481565b3480156108c9575f80fd5b506103e36108d83660046122ad565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b34801561090d575f80fd5b506103e3600a5481565b348015610922575f80fd5b506104106109313660046121b2565b611383565b348015610941575f80fd5b506103e3600b5481565b60606003805461095a906122e4565b80601f0160208091040260200160405190810160405280929190818152602001828054610986906122e4565b80156109d15780601f106109a8576101008083540402835291602001916109d1565b820191905f5260205f20905b8154815290600101906020018083116109b457829003601f168201915b5050505050905090565b5f6109e733848461141e565b5060015b92915050565b6005546001600160a01b03163314610a245760405162461bcd60e51b8152600401610a1b9061231c565b60405180910390fd5b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610a705760405162461bcd60e51b8152600401610a1b9061231c565b670de0b6b3a76400006103e8610a8560025490565b610a9090600f612365565b610a9a919061237c565b610aa4919061237c565b811015610b0b5760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20312e352560881b6064820152608401610a1b565b610b1d81670de0b6b3a7640000612365565b60095550565b5f610b2f848484611541565b6001600160a01b0384165f90815260016020908152604080832033845290915290205482811015610bb35760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610a1b565b610bc0853385840361141e565b506001949350505050565b335f8181526001602090815260408083206001600160a01b038716845290915281205490916109e7918590610c0190869061239b565b61141e565b6005546001600160a01b03163314610c305760405162461bcd60e51b8152600401610a1b9061231c565b610c395f611c0f565b565b6005545f906001600160a01b03163314610c675760405162461bcd60e51b8152600401610a1b9061231c565b50600c805460ff19169055600190565b6005546001600160a01b03163314610ca15760405162461bcd60e51b8152600401610a1b9061231c565b6001600160a01b03919091165f908152601960205260409020805460ff1916911515919091179055565b6005546001600160a01b03163314610cf55760405162461bcd60e51b8152600401610a1b9061231c565b600a831115610d165760405162461bcd60e51b8152600401610a1b906123ae565b600a821115610d375760405162461bcd60e51b8152600401610a1b906123f5565b600f811115610d585760405162461bcd60e51b8152600401610a1b90612436565b600e839055600f829055601081905580610d72838561239b565b610d7c919061239b565b600d55505050565b6005546001600160a01b03163314610dae5760405162461bcd60e51b8152600401610a1b9061231c565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610dfa5760405162461bcd60e51b8152600401610a1b9061231c565b438114610e3e5760405162461bcd60e51b81526020600482015260126024820152716e6f7420612074617267657420626c6f636b60701b6044820152606401610a1b565b50600c805462ffff00191662010100179055565b6005546001600160a01b03163314610e7c5760405162461bcd60e51b8152600401610a1b9061231c565b600c8054911515620100000262ff000019909216919091179055565b60606004805461095a906122e4565b6005546001600160a01b03163314610ed15760405162461bcd60e51b8152600401610a1b9061231c565b6001600160a01b0382165f818152601a6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b335f9081526001602090815260408083206001600160a01b038616845290915281205482811015610fa55760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610a1b565b610fb2338585840361141e565b5060019392505050565b5f6109e7338484611541565b6005546001600160a01b03163314610ff25760405162461bcd60e51b8152600401610a1b9061231c565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b0316331461103e5760405162461bcd60e51b8152600401610a1b9061231c565b6001600160a01b0382165f81815260186020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b031633146110c65760405162461bcd60e51b8152600401610a1b9061231c565b600a8311156110e75760405162461bcd60e51b8152600401610a1b906123ae565b600a8211156111085760405162461bcd60e51b8152600401610a1b906123f5565b600f8111156111295760405162461bcd60e51b8152600401610a1b90612436565b60128390556013829055601481905580611143838561239b565b61114d919061239b565b601155505050565b6005546001600160a01b0316331461117f5760405162461bcd60e51b8152600401610a1b9061231c565b670de0b6b3a76400006103e861119460025490565b61119f90600f612365565b6111a9919061237c565b6111b3919061237c565b8110156112155760405162461bcd60e51b815260206004820152602a60248201527f43616e6e6f7420736574206d617857616c6c6574416d6f756e74206c6f776572604482015269207468616e20312e352560b01b6064820152608401610a1b565b61122781670de0b6b3a7640000612365565b600b5550565b6005545f906001600160a01b031633146112595760405162461bcd60e51b8152600401610a1b9061231c565b620186a061126660025490565b611271906001612365565b61127b919061237c565b8210156112e85760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b6064820152608401610a1b565b6103e86112f460025490565b6112ff906005612365565b611309919061237c565b8211156113755760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171a92903a37ba30b61039bab838363c9760611b6064820152608401610a1b565b50600a81905560015b919050565b6005546001600160a01b031633146113ad5760405162461bcd60e51b8152600401610a1b9061231c565b6001600160a01b0381166114125760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a1b565b61141b81611c0f565b50565b6001600160a01b0383166114805760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a1b565b6001600160a01b0382166114e15760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a1b565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166115675760405162461bcd60e51b8152600401610a1b9061247c565b6001600160a01b03821661158d5760405162461bcd60e51b8152600401610a1b906124c1565b805f036115a45761159f83835f611c60565b505050565b6005546001600160a01b0384165f9081526018602052604090205460ff600160a01b9092048216159116806115f057506001600160a01b0383165f9081526018602052604090205460ff165b156115f857505f5b5f81156117c1576001600160a01b0384165f908152601a602052604090205460ff16801561162757505f601154115b156116dc5760646011548461163c9190612365565b611646919061237c565b9050601154601254826116599190612365565b611663919061237c565b60155f828254611673919061239b565b90915550506011546013546116889083612365565b611692919061237c565b60165f8282546116a2919061239b565b90915550506011546014546116b79083612365565b6116c1919061237c565b60175f8282546116d1919061239b565b909155506117b49050565b6001600160a01b0385165f908152601a602052604090205460ff16801561170457505f600d54115b156117b4576064600d54846117199190612365565b611723919061237c565b9050600d54600e54826117369190612365565b611740919061237c565b60155f828254611750919061239b565b9091555050600d54600f546117659083612365565b61176f919061237c565b60165f82825461177f919061239b565b9091555050600d546010546117949083612365565b61179e919061237c565b60175f8282546117ae919061239b565b90915550505b6117be8184612504565b92505b600c5460ff1615611b0f576005546001600160a01b038681169116148015906117f857506005546001600160a01b03858116911614155b801561180c57506001600160a01b03841615155b801561182357506001600160a01b03841661dead14155b80156118395750600554600160a01b900460ff16155b15611b0f57600c54610100900460ff166118ce576001600160a01b0385165f9081526018602052604090205460ff168061188a57506001600160a01b0384165f9081526018602052604090205460ff165b6118ce5760405162461bcd60e51b815260206004820152601560248201527454726164696e67206973206e6f742061637469766560581b6044820152606401610a1b565b6001600160a01b0385165f908152601a602052604090205460ff16801561190d57506001600160a01b0384165f9081526019602052604090205460ff16155b156119e1576009548311156119735760405162461bcd60e51b815260206004820152602660248201527f427579207472616e7366657220616d6f756e74206578636565647320746865206044820152650dac2f040e8f60d31b6064820152608401610a1b565b600b546001600160a01b0385165f90815260208190526040902054611998908561239b565b11156119dc5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610a1b565b611b0f565b6001600160a01b0384165f908152601a602052604090205460ff168015611a2057506001600160a01b0385165f9081526019602052604090205460ff16155b15611a87576009548311156119dc5760405162461bcd60e51b815260206004820152602760248201527f53656c6c207472616e7366657220616d6f756e74206578636565647320746865604482015266040dac2f040e8f60cb1b6064820152608401610a1b565b6001600160a01b0384165f9081526019602052604090205460ff16611b0f57600b546001600160a01b0385165f90815260208190526040902054611acb908561239b565b1115611b0f5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610a1b565b305f90815260208190526040902054600a5481108015908190611b3a5750600c5462010000900460ff165b8015611b505750600554600160a01b900460ff16155b8015611b7457506001600160a01b0387165f908152601a602052604090205460ff16155b8015611b9857506001600160a01b0387165f9081526018602052604090205460ff16155b8015611bbc57506001600160a01b0386165f9081526018602052604090205460ff16155b15611bea576005805460ff60a01b1916600160a01b179055611bdc611db3565b6005805460ff60a01b191690555b8215611bfb57611bfb873085611c60565b611c06878787611c60565b50505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038316611c865760405162461bcd60e51b8152600401610a1b9061247c565b6001600160a01b038216611cac5760405162461bcd60e51b8152600401610a1b906124c1565b6001600160a01b0383165f9081526020819052604090205481811015611d235760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610a1b565b6001600160a01b038085165f90815260208190526040808220858503905591851681529081208054849290611d5990849061239b565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611da591815260200190565b60405180910390a350505050565b5f601754601654601554611dc7919061239b565b611dd1919061239b565b305f90815260208190526040902054600a5491925090611df2816028612365565b821115611e0a57600a54611e07906028612365565b90505b47611e1482611f89565b5f611e1f8247612504565b90505f8560155483611e319190612365565b611e3b919061237c565b90505f8660165484611e4d9190612365565b611e57919061237c565b90505f8760175485611e699190612365565b611e73919061237c565b5f60158190556016819055601781905560065460405192935090916001600160a01b039091169085908381818185875af1925050503d805f8114611ed2576040519150601f19603f3d011682016040523d82523d5f602084013e611ed7565b606091505b50506007546040519192506001600160a01b03169084905f81818185875af1925050503d805f8114611f24576040519150601f19603f3d011682016040523d82523d5f602084013e611f29565b606091505b50506008546040519192506001600160a01b03169083905f81818185875af1925050503d805f8114611f76576040519150601f19603f3d011682016040523d82523d5f602084013e611f7b565b606091505b505050505050505050505050565b6040805160028082526060820183525f9260208301908036833701905050905030815f81518110611fbc57611fbc612517565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612038573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061205c919061252b565b8160018151811061206f5761206f612517565b60200260200101906001600160a01b031690816001600160a01b0316815250506120ba307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d8461141e565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac9479061210e9085905f90869030904290600401612546565b5f604051808303815f87803b158015612125575f80fd5b505af1158015612137573d5f803e3d5ffd5b505050505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b038116811461141b575f80fd5b5f8060408385031215612199575f80fd5b82356121a481612174565b946020939093013593505050565b5f602082840312156121c2575f80fd5b81356121cd81612174565b9392505050565b5f602082840312156121e4575f80fd5b5035919050565b5f805f606084860312156121fd575f80fd5b833561220881612174565b9250602084013561221881612174565b929592945050506040919091013590565b8035801515811461137e575f80fd5b5f8060408385031215612249575f80fd5b823561225481612174565b915061226260208401612229565b90509250929050565b5f805f6060848603121561227d575f80fd5b505081359360208301359350604090920135919050565b5f602082840312156122a4575f80fd5b6121cd82612229565b5f80604083850312156122be575f80fd5b82356122c981612174565b915060208301356122d981612174565b809150509250929050565b600181811c908216806122f857607f821691505b60208210810361231657634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b80820281158282048414176109eb576109eb612351565b5f8261239657634e487b7160e01b5f52601260045260245ffd5b500490565b808201808211156109eb576109eb612351565b60208082526027908201527f43616e6e6f7420736574206d61726b6574696e6746656520686967686572207460408201526668616e2031302560c81b606082015260800190565b60208082526021908201527f43616e6e6f74207365742064657646656520686967686572207468616e2031306040820152602560f81b606082015260800190565b60208082526026908201527f43616e6e6f742073657420747265617375727946656520686967686572207468604082015265616e2031352560d01b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b818103818111156109eb576109eb612351565b634e487b7160e01b5f52603260045260245ffd5b5f6020828403121561253b575f80fd5b81516121cd81612174565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b818110156125965784516001600160a01b031683529383019391830191600101612571565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122024678858ce6f0d5fd26259f9ff9f5685c5131142d381d582d3655b486bff1f9964736f6c63430008190033
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.