ERC-20
Artificial Intelligence
Overview
Max Total Supply
777,000,000,000 JOK
Holders
146 (0.00%)
Market
Price
$0.00 @ 0.000000 ETH (+2.31%)
Onchain Market Cap
$333,071.93
Circulating Supply Market Cap
$0.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
125,702,752.81139529601009544 JOKValue
$53.88 ( ~0.0205263659073914 Eth) [0.0162%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|---|---|---|---|---|
1 | ![]() | 0XA728AA2DE568766E2FA4544EC7A77F79C0BF9F97-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2 | $0.00 0.0000000 Eth | $2.10 4,925,706.424 0XA728AA2DE568766E2FA4544EC7A77F79C0BF9F97 | 100.0000% |
Contract Name:
Jok
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 10000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import {IUniswapV2Router02} from "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; import {IUniswapV2Factory} from "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; import {Address} from "@openzeppelin/contracts/utils/Address.sol"; contract Jok is ERC20, Ownable { using Address for address payable; IUniswapV2Router02 public uniswapV2Router = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D); address public uniswapV2Pair; mapping(address => bool) private _isExcludedFromFees; uint256 public liquidityFeeOnBuy; uint256 public liquidityFeeOnSell; uint256 public companyFeeOnBuy; uint256 public companyFeeOnSell; uint256 private _totalFeesOnBuy; uint256 private _totalFeesOnSell; address public companyWallet; address public liquidityWallet; uint256 public swapTokensAtAmount; bool private swapping; bool public swapEnabled; event ExcludeFromFees(address indexed account, bool isExcluded); event ExcludeMultipleAccountsFromFees( address[] indexed accounts, bool isExcluded ); event companyWalletChanged(address companyWallet); event LiquidityWalletChanged(address liquidityWallet); event UpdateBuyFees(uint256 liquidityFeeOnBuy, uint256 companyFeeOnBuy); event UpdateSellFees(uint256 liquidityFeeOnSell, uint256 companyFeeOnSell); event SwapAndLiquify( uint256 tokensSwapped, uint256 bnbReceived, uint256 tokensIntoLiqudity ); event SwapAndSendcompany(uint256 tokensSwapped, uint256 bnbSend); event SwapTokensAtAmountUpdated(uint256 swapTokensAtAmount); constructor() ERC20("Jok", "JOK") { _approve(address(this), address(uniswapV2Router), type(uint256).max); liquidityFeeOnBuy = 1; liquidityFeeOnSell = 1; companyFeeOnBuy = 1; companyFeeOnSell = 1; _totalFeesOnBuy = liquidityFeeOnBuy + companyFeeOnBuy; _totalFeesOnSell = liquidityFeeOnSell + companyFeeOnSell; companyWallet = 0x9d438A53b2e4E9d453331Da806EC4aE31eba1A0A; liquidityWallet = 0x9d438A53b2e4E9d453331Da806EC4aE31eba1A0A; _isExcludedFromFees[0x9d438A53b2e4E9d453331Da806EC4aE31eba1A0A] = true; _isExcludedFromFees[address(0xdead)] = true; _isExcludedFromFees[address(this)] = true; _mint( 0x9d438A53b2e4E9d453331Da806EC4aE31eba1A0A, 777 * 1e9 * (10 ** decimals()) ); swapTokensAtAmount = totalSupply() / 5_000; tradingEnabled = false; swapEnabled = false; } receive() external payable {} function claimStuckTokens(address token) external onlyOwner { require( token != address(this), "Owner cannot claim contract's balance of its own tokens" ); if (token == address(0x0)) { payable(msg.sender).sendValue(address(this).balance); return; } IERC20 ERC20token = IERC20(token); uint256 balance = ERC20token.balanceOf(address(this)); ERC20token.transfer(msg.sender, balance); } function excludeFromFees( address account, bool excluded ) external onlyOwner { require( _isExcludedFromFees[account] != excluded, "Account is already the value of 'excluded'" ); _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function excludeMultipleAccountsFromFees( address[] calldata accounts, bool excluded ) public onlyOwner { for (uint256 i = 0; i < accounts.length; i++) { _isExcludedFromFees[accounts[i]] = excluded; } emit ExcludeMultipleAccountsFromFees(accounts, excluded); } function isExcludedFromFees(address account) public view returns (bool) { return _isExcludedFromFees[account]; } function updateUniSwapV2Pair(address _uniswapV2Pair) external onlyOwner { uniswapV2Pair = _uniswapV2Pair; } function updateBuyFees( uint256 _liquidityFeeOnBuy, uint256 _companyFeeOnBuy ) external onlyOwner { liquidityFeeOnBuy = _liquidityFeeOnBuy; companyFeeOnBuy = _companyFeeOnBuy; _totalFeesOnBuy = liquidityFeeOnBuy + companyFeeOnBuy; require( _totalFeesOnBuy + _totalFeesOnSell <= 10, "Total Fees cannot exceed the maximum" ); emit UpdateBuyFees(liquidityFeeOnBuy, companyFeeOnBuy); } function updateSellFees( uint256 _liquidityFeeOnSell, uint256 _companyFeeOnSell ) external onlyOwner { liquidityFeeOnSell = _liquidityFeeOnSell; companyFeeOnSell = _companyFeeOnSell; _totalFeesOnSell = liquidityFeeOnSell + companyFeeOnSell; require( _totalFeesOnBuy + _totalFeesOnSell <= 10, "Total Fees cannot exceed the maximum" ); emit UpdateSellFees(liquidityFeeOnSell, companyFeeOnSell); } function changecompanyWallet(address _companyWallet) external onlyOwner { require( _companyWallet != companyWallet, "company wallet is already that address" ); require( _companyWallet != address(0), "company wallet cannot be the zero address" ); companyWallet = _companyWallet; emit companyWalletChanged(companyWallet); } function changeLiquidityWallet( address _liquidityWallet ) external onlyOwner { require( _liquidityWallet != liquidityWallet, "company wallet is already that address" ); require( _liquidityWallet != address(0), "company wallet cannot be the zero address" ); liquidityWallet = _liquidityWallet; emit LiquidityWalletChanged(liquidityWallet); } bool public tradingEnabled; function enableTrading() external onlyOwner { require(!tradingEnabled, "Trading already enabled."); tradingEnabled = true; swapEnabled = true; } 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( tradingEnabled || _isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading not yet enabled!" ); if (amount == 0) { super._transfer(from, to, 0); return; } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount; if ( canSwap && !swapping && to == uniswapV2Pair && _totalFeesOnBuy + _totalFeesOnSell > 0 && swapEnabled ) { swapping = true; uint256 totalFee = _totalFeesOnBuy + _totalFeesOnSell; uint256 liquidityShare = liquidityFeeOnBuy + liquidityFeeOnSell; uint256 companyShare = companyFeeOnBuy + companyFeeOnSell; if (liquidityShare > 0) { uint256 liquidityTokens = (contractTokenBalance * liquidityShare) / totalFee; swapAndLiquify(liquidityTokens); } if (companyShare > 0) { uint256 companyTokens = (contractTokenBalance * companyShare) / totalFee; swapAndSendcompany(companyTokens); } swapping = false; } uint256 _totalFees; if (_isExcludedFromFees[from] || _isExcludedFromFees[to] || swapping) { _totalFees = 0; } else if (from == uniswapV2Pair) { _totalFees = _totalFeesOnBuy; } else if (to == uniswapV2Pair) { _totalFees = _totalFeesOnSell; } else { _totalFees = 0; } if (_totalFees > 0) { uint256 fees = (amount * _totalFees) / 100; amount = amount - fees; super._transfer(from, address(this), fees); } super._transfer(from, to, amount); } function setSwapEnabled(bool _enabled) external onlyOwner { require(swapEnabled != _enabled, "swapEnabled already at this state."); swapEnabled = _enabled; } function setSwapTokensAtAmount(uint256 newAmount) external onlyOwner { require( newAmount > totalSupply() / 1_000_000, "SwapTokensAtAmount must be greater than 0.0001% of total supply" ); swapTokensAtAmount = newAmount; emit SwapTokensAtAmountUpdated(swapTokensAtAmount); } function swapAndLiquify(uint256 tokens) private { uint256 half = tokens / 2; uint256 otherHalf = tokens - half; uint256 initialBalance = address(this).balance; address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( half, 0, path, address(this), block.timestamp ); uint256 newBalance = address(this).balance - initialBalance; uniswapV2Router.addLiquidityETH{value: newBalance}( address(this), otherHalf, 0, 0, liquidityWallet, block.timestamp ); emit SwapAndLiquify(half, newBalance, otherHalf); } function swapAndSendcompany(uint256 tokenAmount) private { uint256 initialBalance = address(this).balance; address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, path, address(this), block.timestamp ); uint256 newBalance = address(this).balance - initialBalance; payable(companyWallet).sendValue(newBalance); emit SwapAndSendcompany(tokenAmount, newBalance); } }
// 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.8.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.openzeppelin.com/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; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _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; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _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; // Overflow not possible: amount <= accountBalance <= totalSupply. _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 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); }
// 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.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// 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; } }
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; }
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); }
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; }
{ "optimizer": { "enabled": true, "runs": 10000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address[]","name":"accounts","type":"address[]"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeMultipleAccountsFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"liquidityWallet","type":"address"}],"name":"LiquidityWalletChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"bnbReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiqudity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"bnbSend","type":"uint256"}],"name":"SwapAndSendcompany","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"swapTokensAtAmount","type":"uint256"}],"name":"SwapTokensAtAmountUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"liquidityFeeOnBuy","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"companyFeeOnBuy","type":"uint256"}],"name":"UpdateBuyFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"liquidityFeeOnSell","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"companyFeeOnSell","type":"uint256"}],"name":"UpdateSellFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"companyWallet","type":"address"}],"name":"companyWalletChanged","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_liquidityWallet","type":"address"}],"name":"changeLiquidityWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_companyWallet","type":"address"}],"name":"changecompanyWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"claimStuckTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"companyFeeOnBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"companyFeeOnSell","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"companyWallet","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":"accounts","type":"address[]"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeMultipleAccountsFromFees","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":"liquidityFeeOnBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityFeeOnSell","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"setSwapTokensAtAmount","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":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingEnabled","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":[{"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":"_liquidityFeeOnBuy","type":"uint256"},{"internalType":"uint256","name":"_companyFeeOnBuy","type":"uint256"}],"name":"updateBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_liquidityFeeOnSell","type":"uint256"},{"internalType":"uint256","name":"_companyFeeOnSell","type":"uint256"}],"name":"updateSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_uniswapV2Pair","type":"address"}],"name":"updateUniSwapV2Pair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052600680546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d1790553480156200003757600080fd5b506040805180820182526003808252624a6f6b60e81b60208084019182528451808601909552828552624a4f4b60e81b9085015282519293926200007d92919062000453565b5080516200009390600490602084019062000453565b505050620000b0620000aa6200020e60201b60201c565b62000212565b600654620000cc9030906001600160a01b031660001962000264565b60016009819055600a819055600b819055600c819055620000ee90806200050f565b600d55600c54600a546200010391906200050f565b600e55600f8054739d438a53b2e4e9d453331da806ec4ae31eba1a0a6001600160a01b03199182168117909255601080549091168217905560086020527f5f6a41d11b7aca660254840de1420c17736ab9b82ca4a7263be9972017f2c2cb805460ff1990811660019081179092557f046fee3d77c34a6c5e10c3be6dc4b132c30449dbf4f0bc07684896dd0933429980548216831790553060009081526040902080549091169091179055620001e090620001bc601290565b620001c990600a62000629565b620001da9064b4e8cf1a0062000641565b62000390565b611388620001ed60025490565b620001f9919062000663565b6011556012805462ffff0019169055620006c3565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316620002cc5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084015b60405180910390fd5b6001600160a01b0382166200032f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401620002c3565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038216620003e85760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620002c3565b8060026000828254620003fc91906200050f565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b828054620004619062000686565b90600052602060002090601f016020900481019282620004855760008555620004d0565b82601f10620004a057805160ff1916838001178555620004d0565b82800160010185558215620004d0579182015b82811115620004d0578251825591602001919060010190620004b3565b50620004de929150620004e2565b5090565b5b80821115620004de5760008155600101620004e3565b634e487b7160e01b600052601160045260246000fd5b60008219821115620005255762000525620004f9565b500190565b600181815b808511156200056b5781600019048211156200054f576200054f620004f9565b808516156200055d57918102915b93841c93908002906200052f565b509250929050565b600082620005845750600162000623565b81620005935750600062000623565b8160018114620005ac5760028114620005b757620005d7565b600191505062000623565b60ff841115620005cb57620005cb620004f9565b50506001821b62000623565b5060208310610133831016604e8410600b8410161715620005fc575081810a62000623565b6200060883836200052a565b80600019048211156200061f576200061f620004f9565b0290505b92915050565b60006200063a60ff84168362000573565b9392505050565b60008160001904831182151516156200065e576200065e620004f9565b500290565b6000826200068157634e487b7160e01b600052601260045260246000fd5b500490565b600181811c908216806200069b57607f821691505b60208210811415620006bd57634e487b7160e01b600052602260045260246000fd5b50919050565b61286f80620006d36000396000f3fe60806040526004361061026e5760003560e01c80636ddd171311610153578063a9059cbb116100cb578063dd62ed3e1161007f578063e2f4560511610064578063e2f45605146106f3578063f2fde38b14610709578063f9d0831a1461072957600080fd5b8063dd62ed3e1461068d578063e01af92c146106d357600080fd5b8063c0246668116100b0578063c02466681461062d578063c492f0461461064d578063d46980161461066d57600080fd5b8063a9059cbb146105ed578063afa4f3b21461060d57600080fd5b80637ba54f1f116101225780638da5cb5b116101075780638da5cb5b1461059a57806395d89b41146105b8578063a457c2d7146105cd57600080fd5b80637ba54f1f146105655780638a8c523c1461058557600080fd5b80636ddd1713146104e557806370a0823114610504578063715018a61461053a5780637b3c83b11461054f57600080fd5b806339509351116101e657806349bd5a5e116101b55780634e12b3a21161019a5780634e12b3a21461046c5780634fbee1931461048c57806366ca9b83146104c557600080fd5b806349bd5a5e1461042c5780634ada218b1461044c57600080fd5b806339509351146103c05780634322f727146103e057806343980b26146103f657806343fd58e21461040c57600080fd5b806318160ddd1161023d57806323b872dd1161022257806323b872dd1461036e5780632ce86fbf1461038e578063313ce567146103a457600080fd5b806318160ddd1461032f5780631ec32d151461034e57600080fd5b806302dbd8f81461027a57806306fdde031461029c578063095ea7b3146102c75780631694505e146102f757600080fd5b3661027557005b600080fd5b34801561028657600080fd5b5061029a610295366004612307565b610749565b005b3480156102a857600080fd5b506102b161083b565b6040516102be9190612329565b60405180910390f35b3480156102d357600080fd5b506102e76102e23660046123b1565b6108cd565b60405190151581526020016102be565b34801561030357600080fd5b50600654610317906001600160a01b031681565b6040516001600160a01b0390911681526020016102be565b34801561033b57600080fd5b506002545b6040519081526020016102be565b34801561035a57600080fd5b50600f54610317906001600160a01b031681565b34801561037a57600080fd5b506102e76103893660046123dd565b6108e5565b34801561039a57600080fd5b50610340600a5481565b3480156103b057600080fd5b50604051601281526020016102be565b3480156103cc57600080fd5b506102e76103db3660046123b1565b610909565b3480156103ec57600080fd5b50610340600b5481565b34801561040257600080fd5b50610340600c5481565b34801561041857600080fd5b5061029a61042736600461241e565b610948565b34801561043857600080fd5b50600754610317906001600160a01b031681565b34801561045857600080fd5b506012546102e79062010000900460ff1681565b34801561047857600080fd5b5061029a61048736600461241e565b61098a565b34801561049857600080fd5b506102e76104a736600461241e565b6001600160a01b031660009081526008602052604090205460ff1690565b3480156104d157600080fd5b5061029a6104e0366004612307565b610aff565b3480156104f157600080fd5b506012546102e790610100900460ff1681565b34801561051057600080fd5b5061034061051f36600461241e565b6001600160a01b031660009081526020819052604090205490565b34801561054657600080fd5b5061029a610be1565b34801561055b57600080fd5b5061034060095481565b34801561057157600080fd5b5061029a61058036600461241e565b610bf5565b34801561059157600080fd5b5061029a610d63565b3480156105a657600080fd5b506005546001600160a01b0316610317565b3480156105c457600080fd5b506102b1610df3565b3480156105d957600080fd5b506102e76105e83660046123b1565b610e02565b3480156105f957600080fd5b506102e76106083660046123b1565b610eac565b34801561061957600080fd5b5061029a610628366004612442565b610eba565b34801561063957600080fd5b5061029a610648366004612469565b610f82565b34801561065957600080fd5b5061029a6106683660046124a2565b61109c565b34801561067957600080fd5b50601054610317906001600160a01b031681565b34801561069957600080fd5b506103406106a8366004612528565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156106df57600080fd5b5061029a6106ee366004612556565b611185565b3480156106ff57600080fd5b5061034060115481565b34801561071557600080fd5b5061029a61072436600461241e565b611249565b34801561073557600080fd5b5061029a61074436600461241e565b6112d9565b6107516114af565b600a829055600c81905561076581836125a2565b600e819055600d54600a91610779916125a2565b11156107f15760405162461bcd60e51b8152602060048201526024808201527f546f74616c20466565732063616e6e6f742065786365656420746865206d617860448201527f696d756d0000000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b7f12dd4f8337f0c236c7994706854cca8cd53921c0032cb0fba8cdb797e73f67c6600a54600c5460405161082f929190918252602082015260400190565b60405180910390a15050565b60606003805461084a906125ba565b80601f0160208091040260200160405190810160405280929190818152602001828054610876906125ba565b80156108c35780601f10610898576101008083540402835291602001916108c3565b820191906000526020600020905b8154815290600101906020018083116108a657829003601f168201915b5050505050905090565b6000336108db818585611509565b5060019392505050565b6000336108f3858285611661565b6108fe85858561170b565b506001949350505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091906108db90829086906109439087906125a2565b611509565b6109506114af565b600780547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6109926114af565b600f546001600160a01b0382811691161415610a165760405162461bcd60e51b815260206004820152602660248201527f636f6d70616e792077616c6c657420697320616c72656164792074686174206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016107e8565b6001600160a01b038116610a925760405162461bcd60e51b815260206004820152602960248201527f636f6d70616e792077616c6c65742063616e6e6f7420626520746865207a657260448201527f6f2061646472657373000000000000000000000000000000000000000000000060648201526084016107e8565b600f80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0383169081179091556040519081527f9d07f9615871885b34eac6b31cb6f7c1659b2723f9a8b772604a5405130cada1906020015b60405180910390a150565b610b076114af565b6009829055600b819055610b1b81836125a2565b600d819055600e54600a91610b3091906125a2565b1115610ba35760405162461bcd60e51b8152602060048201526024808201527f546f74616c20466565732063616e6e6f742065786365656420746865206d617860448201527f696d756d0000000000000000000000000000000000000000000000000000000060648201526084016107e8565b7fccd61cb5df2cb048d1a7af40a431d6f247af01b6cf048f7a3f2aa9d313e2bc50600954600b5460405161082f929190918252602082015260400190565b610be96114af565b610bf36000611af8565b565b610bfd6114af565b6010546001600160a01b0382811691161415610c815760405162461bcd60e51b815260206004820152602660248201527f636f6d70616e792077616c6c657420697320616c72656164792074686174206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016107e8565b6001600160a01b038116610cfd5760405162461bcd60e51b815260206004820152602960248201527f636f6d70616e792077616c6c65742063616e6e6f7420626520746865207a657260448201527f6f2061646472657373000000000000000000000000000000000000000000000060648201526084016107e8565b601080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0383169081179091556040519081527f10413d0cc8c3c0053e98da584f98cddb72c3651c981730f85bb5340cf3a90ec890602001610af4565b610d6b6114af565b60125462010000900460ff1615610dc45760405162461bcd60e51b815260206004820152601860248201527f54726164696e6720616c726561647920656e61626c65642e000000000000000060448201526064016107e8565b601280547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000ff1662010100179055565b60606004805461084a906125ba565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015610e9f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016107e8565b6108fe8286868403611509565b6000336108db81858561170b565b610ec26114af565b620f4240610ecf60025490565b610ed9919061260e565b8111610f4d5760405162461bcd60e51b815260206004820152603f60248201527f53776170546f6b656e734174416d6f756e74206d75737420626520677265617460448201527f6572207468616e20302e3030303125206f6620746f74616c20737570706c790060648201526084016107e8565b60118190556040518181527f7c26bfee26f82e8cb57af48f4019cc64582db6fac7bad778433f10572ae8b14590602001610af4565b610f8a6114af565b6001600160a01b03821660009081526008602052604090205460ff161515811515141561101f5760405162461bcd60e51b815260206004820152602a60248201527f4163636f756e7420697320616c7265616479207468652076616c7565206f662060448201527f276578636c75646564270000000000000000000000000000000000000000000060648201526084016107e8565b6001600160a01b03821660008181526008602090815260409182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6110a46114af565b60005b828110156111335781600860008686858181106110c6576110c6612649565b90506020020160208101906110db919061241e565b6001600160a01b03168152602081019190915260400160002080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169115159190911790558061112b81612678565b9150506110a7565b5082826040516111449291906126b1565b6040519081900381208215158252907f7fdaf542373fa84f4ee8d662c642f44e4c2276a217d7d29e548b6eb29a233b359060200160405180910390a2505050565b61118d6114af565b60125460ff61010090910416151581151514156112125760405162461bcd60e51b815260206004820152602260248201527f73776170456e61626c656420616c72656164792061742074686973207374617460448201527f652e00000000000000000000000000000000000000000000000000000000000060648201526084016107e8565b60128054911515610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff909216919091179055565b6112516114af565b6001600160a01b0381166112cd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016107e8565b6112d681611af8565b50565b6112e16114af565b6001600160a01b0381163014156113605760405162461bcd60e51b815260206004820152603760248201527f4f776e65722063616e6e6f7420636c61696d20636f6e7472616374277320626160448201527f6c616e6365206f6620697473206f776e20746f6b656e7300000000000000000060648201526084016107e8565b6001600160a01b038116611378576112d63347611b62565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015281906000906001600160a01b038316906370a082319060240160206040518083038186803b1580156113d557600080fd5b505afa1580156113e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061140d91906126f3565b6040517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018290529091506001600160a01b0383169063a9059cbb90604401602060405180830381600087803b15801561147157600080fd5b505af1158015611485573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114a9919061270c565b50505050565b6005546001600160a01b03163314610bf35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107e8565b6001600160a01b0383166115845760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016107e8565b6001600160a01b0382166116005760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016107e8565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146114a957818110156116fe5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016107e8565b6114a98484848403611509565b6001600160a01b0383166117875760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016107e8565b6001600160a01b0382166118035760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016107e8565b60125462010000900460ff168061183257506001600160a01b03831660009081526008602052604090205460ff165b8061185557506001600160a01b03821660009081526008602052604090205460ff165b6118a15760405162461bcd60e51b815260206004820152601860248201527f54726164696e67206e6f742079657420656e61626c656421000000000000000060448201526064016107e8565b806118b7576118b283836000611c7b565b505050565b30600090815260208190526040902054601154811080159081906118de575060125460ff16155b80156118f757506007546001600160a01b038581169116145b801561191257506000600e54600d5461191091906125a2565b115b80156119255750601254610100900460ff165b15611a1157601280547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055600e54600d54600091611967916125a2565b90506000600a5460095461197b91906125a2565b90506000600c54600b5461198f91906125a2565b905081156119bb576000836119a48488612729565b6119ae919061260e565b90506119b981611e68565b505b80156119e5576000836119ce8388612729565b6119d8919061260e565b90506119e38161211f565b505b5050601280547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055505b6001600160a01b03851660009081526008602052604081205460ff1680611a5057506001600160a01b03851660009081526008602052604090205460ff165b80611a5d575060125460ff165b15611a6a57506000611aac565b6007546001600160a01b0387811691161415611a895750600d54611aac565b6007546001600160a01b0386811691161415611aa85750600e54611aac565b5060005b8015611ae55760006064611ac08387612729565b611aca919061260e565b9050611ad68186612766565b9450611ae3873083611c7b565b505b611af0868686611c7b565b505050505050565b600580546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b80471015611bb25760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016107e8565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611bff576040519150601f19603f3d011682016040523d82523d6000602084013e611c04565b606091505b50509050806118b25760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016107e8565b6001600160a01b038316611cf75760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016107e8565b6001600160a01b038216611d735760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016107e8565b6001600160a01b03831660009081526020819052604090205481811015611e025760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016107e8565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36114a9565b6000611e7560028361260e565b90506000611e838284612766565b60408051600280825260608201835292935047926000926020830190803683370190505090503081600081518110611ebd57611ebd612649565b6001600160a01b03928316602091820292909201810191909152600654604080517fad5c46480000000000000000000000000000000000000000000000000000000081529051919093169263ad5c4648926004808301939192829003018186803b158015611f2a57600080fd5b505afa158015611f3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f62919061277d565b81600181518110611f7557611f75612649565b6001600160a01b0392831660209182029290920101526006546040517f791ac94700000000000000000000000000000000000000000000000000000000815291169063791ac94790611fd490879060009086903090429060040161279a565b600060405180830381600087803b158015611fee57600080fd5b505af1158015612002573d6000803e3d6000fd5b50505050600082476120149190612766565b6006546010546040517ff305d7190000000000000000000000000000000000000000000000000000000081523060048201526024810188905260006044820181905260648201526001600160a01b0391821660848201524260a4820152929350169063f305d71990839060c4016060604051808303818588803b15801561209a57600080fd5b505af11580156120ae573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906120d3919061280b565b505060408051878152602081018490529081018690527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb561915060600160405180910390a1505050505050565b60408051600280825260608201835247926000929190602083019080368337019050509050308160008151811061215857612158612649565b6001600160a01b03928316602091820292909201810191909152600654604080517fad5c46480000000000000000000000000000000000000000000000000000000081529051919093169263ad5c4648926004808301939192829003018186803b1580156121c557600080fd5b505afa1580156121d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121fd919061277d565b8160018151811061221057612210612649565b6001600160a01b0392831660209182029290920101526006546040517f791ac94700000000000000000000000000000000000000000000000000000000815291169063791ac9479061226f90869060009086903090429060040161279a565b600060405180830381600087803b15801561228957600080fd5b505af115801561229d573d6000803e3d6000fd5b50505050600082476122af9190612766565b600f549091506122c8906001600160a01b031682611b62565b60408051858152602081018390527f94daab2fe3f3c99edbae0834bb51e5f2f86adadf8ec8299adfa8d8583620ca08910160405180910390a150505050565b6000806040838503121561231a57600080fd5b50508035926020909101359150565b600060208083528351808285015260005b818110156123565785810183015185820160400152820161233a565b81811115612368576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b6001600160a01b03811681146112d657600080fd5b600080604083850312156123c457600080fd5b82356123cf8161239c565b946020939093013593505050565b6000806000606084860312156123f257600080fd5b83356123fd8161239c565b9250602084013561240d8161239c565b929592945050506040919091013590565b60006020828403121561243057600080fd5b813561243b8161239c565b9392505050565b60006020828403121561245457600080fd5b5035919050565b80151581146112d657600080fd5b6000806040838503121561247c57600080fd5b82356124878161239c565b915060208301356124978161245b565b809150509250929050565b6000806000604084860312156124b757600080fd5b833567ffffffffffffffff808211156124cf57600080fd5b818601915086601f8301126124e357600080fd5b8135818111156124f257600080fd5b8760208260051b850101111561250757600080fd5b6020928301955093505084013561251d8161245b565b809150509250925092565b6000806040838503121561253b57600080fd5b82356125468161239c565b915060208301356124978161239c565b60006020828403121561256857600080fd5b813561243b8161245b565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082198211156125b5576125b5612573565b500190565b600181811c908216806125ce57607f821691505b60208210811415612608577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b600082612644577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156126aa576126aa612573565b5060010190565b60008184825b858110156126e85781356126ca8161239c565b6001600160a01b0316835260209283019291909101906001016126b7565b509095945050505050565b60006020828403121561270557600080fd5b5051919050565b60006020828403121561271e57600080fd5b815161243b8161245b565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561276157612761612573565b500290565b60008282101561277857612778612573565b500390565b60006020828403121561278f57600080fd5b815161243b8161239c565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156127ea5784516001600160a01b0316835293830193918301916001016127c5565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561282057600080fd5b835192506020840151915060408401519050925092509256fea26469706673582212206d74ad9aa92d223ff445480c69f2471e4cd009037f25a5f9cb24e3d376131ef464736f6c63430008090033
Deployed Bytecode
0x60806040526004361061026e5760003560e01c80636ddd171311610153578063a9059cbb116100cb578063dd62ed3e1161007f578063e2f4560511610064578063e2f45605146106f3578063f2fde38b14610709578063f9d0831a1461072957600080fd5b8063dd62ed3e1461068d578063e01af92c146106d357600080fd5b8063c0246668116100b0578063c02466681461062d578063c492f0461461064d578063d46980161461066d57600080fd5b8063a9059cbb146105ed578063afa4f3b21461060d57600080fd5b80637ba54f1f116101225780638da5cb5b116101075780638da5cb5b1461059a57806395d89b41146105b8578063a457c2d7146105cd57600080fd5b80637ba54f1f146105655780638a8c523c1461058557600080fd5b80636ddd1713146104e557806370a0823114610504578063715018a61461053a5780637b3c83b11461054f57600080fd5b806339509351116101e657806349bd5a5e116101b55780634e12b3a21161019a5780634e12b3a21461046c5780634fbee1931461048c57806366ca9b83146104c557600080fd5b806349bd5a5e1461042c5780634ada218b1461044c57600080fd5b806339509351146103c05780634322f727146103e057806343980b26146103f657806343fd58e21461040c57600080fd5b806318160ddd1161023d57806323b872dd1161022257806323b872dd1461036e5780632ce86fbf1461038e578063313ce567146103a457600080fd5b806318160ddd1461032f5780631ec32d151461034e57600080fd5b806302dbd8f81461027a57806306fdde031461029c578063095ea7b3146102c75780631694505e146102f757600080fd5b3661027557005b600080fd5b34801561028657600080fd5b5061029a610295366004612307565b610749565b005b3480156102a857600080fd5b506102b161083b565b6040516102be9190612329565b60405180910390f35b3480156102d357600080fd5b506102e76102e23660046123b1565b6108cd565b60405190151581526020016102be565b34801561030357600080fd5b50600654610317906001600160a01b031681565b6040516001600160a01b0390911681526020016102be565b34801561033b57600080fd5b506002545b6040519081526020016102be565b34801561035a57600080fd5b50600f54610317906001600160a01b031681565b34801561037a57600080fd5b506102e76103893660046123dd565b6108e5565b34801561039a57600080fd5b50610340600a5481565b3480156103b057600080fd5b50604051601281526020016102be565b3480156103cc57600080fd5b506102e76103db3660046123b1565b610909565b3480156103ec57600080fd5b50610340600b5481565b34801561040257600080fd5b50610340600c5481565b34801561041857600080fd5b5061029a61042736600461241e565b610948565b34801561043857600080fd5b50600754610317906001600160a01b031681565b34801561045857600080fd5b506012546102e79062010000900460ff1681565b34801561047857600080fd5b5061029a61048736600461241e565b61098a565b34801561049857600080fd5b506102e76104a736600461241e565b6001600160a01b031660009081526008602052604090205460ff1690565b3480156104d157600080fd5b5061029a6104e0366004612307565b610aff565b3480156104f157600080fd5b506012546102e790610100900460ff1681565b34801561051057600080fd5b5061034061051f36600461241e565b6001600160a01b031660009081526020819052604090205490565b34801561054657600080fd5b5061029a610be1565b34801561055b57600080fd5b5061034060095481565b34801561057157600080fd5b5061029a61058036600461241e565b610bf5565b34801561059157600080fd5b5061029a610d63565b3480156105a657600080fd5b506005546001600160a01b0316610317565b3480156105c457600080fd5b506102b1610df3565b3480156105d957600080fd5b506102e76105e83660046123b1565b610e02565b3480156105f957600080fd5b506102e76106083660046123b1565b610eac565b34801561061957600080fd5b5061029a610628366004612442565b610eba565b34801561063957600080fd5b5061029a610648366004612469565b610f82565b34801561065957600080fd5b5061029a6106683660046124a2565b61109c565b34801561067957600080fd5b50601054610317906001600160a01b031681565b34801561069957600080fd5b506103406106a8366004612528565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156106df57600080fd5b5061029a6106ee366004612556565b611185565b3480156106ff57600080fd5b5061034060115481565b34801561071557600080fd5b5061029a61072436600461241e565b611249565b34801561073557600080fd5b5061029a61074436600461241e565b6112d9565b6107516114af565b600a829055600c81905561076581836125a2565b600e819055600d54600a91610779916125a2565b11156107f15760405162461bcd60e51b8152602060048201526024808201527f546f74616c20466565732063616e6e6f742065786365656420746865206d617860448201527f696d756d0000000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b7f12dd4f8337f0c236c7994706854cca8cd53921c0032cb0fba8cdb797e73f67c6600a54600c5460405161082f929190918252602082015260400190565b60405180910390a15050565b60606003805461084a906125ba565b80601f0160208091040260200160405190810160405280929190818152602001828054610876906125ba565b80156108c35780601f10610898576101008083540402835291602001916108c3565b820191906000526020600020905b8154815290600101906020018083116108a657829003601f168201915b5050505050905090565b6000336108db818585611509565b5060019392505050565b6000336108f3858285611661565b6108fe85858561170b565b506001949350505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091906108db90829086906109439087906125a2565b611509565b6109506114af565b600780547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6109926114af565b600f546001600160a01b0382811691161415610a165760405162461bcd60e51b815260206004820152602660248201527f636f6d70616e792077616c6c657420697320616c72656164792074686174206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016107e8565b6001600160a01b038116610a925760405162461bcd60e51b815260206004820152602960248201527f636f6d70616e792077616c6c65742063616e6e6f7420626520746865207a657260448201527f6f2061646472657373000000000000000000000000000000000000000000000060648201526084016107e8565b600f80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0383169081179091556040519081527f9d07f9615871885b34eac6b31cb6f7c1659b2723f9a8b772604a5405130cada1906020015b60405180910390a150565b610b076114af565b6009829055600b819055610b1b81836125a2565b600d819055600e54600a91610b3091906125a2565b1115610ba35760405162461bcd60e51b8152602060048201526024808201527f546f74616c20466565732063616e6e6f742065786365656420746865206d617860448201527f696d756d0000000000000000000000000000000000000000000000000000000060648201526084016107e8565b7fccd61cb5df2cb048d1a7af40a431d6f247af01b6cf048f7a3f2aa9d313e2bc50600954600b5460405161082f929190918252602082015260400190565b610be96114af565b610bf36000611af8565b565b610bfd6114af565b6010546001600160a01b0382811691161415610c815760405162461bcd60e51b815260206004820152602660248201527f636f6d70616e792077616c6c657420697320616c72656164792074686174206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016107e8565b6001600160a01b038116610cfd5760405162461bcd60e51b815260206004820152602960248201527f636f6d70616e792077616c6c65742063616e6e6f7420626520746865207a657260448201527f6f2061646472657373000000000000000000000000000000000000000000000060648201526084016107e8565b601080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0383169081179091556040519081527f10413d0cc8c3c0053e98da584f98cddb72c3651c981730f85bb5340cf3a90ec890602001610af4565b610d6b6114af565b60125462010000900460ff1615610dc45760405162461bcd60e51b815260206004820152601860248201527f54726164696e6720616c726561647920656e61626c65642e000000000000000060448201526064016107e8565b601280547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000ff1662010100179055565b60606004805461084a906125ba565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015610e9f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016107e8565b6108fe8286868403611509565b6000336108db81858561170b565b610ec26114af565b620f4240610ecf60025490565b610ed9919061260e565b8111610f4d5760405162461bcd60e51b815260206004820152603f60248201527f53776170546f6b656e734174416d6f756e74206d75737420626520677265617460448201527f6572207468616e20302e3030303125206f6620746f74616c20737570706c790060648201526084016107e8565b60118190556040518181527f7c26bfee26f82e8cb57af48f4019cc64582db6fac7bad778433f10572ae8b14590602001610af4565b610f8a6114af565b6001600160a01b03821660009081526008602052604090205460ff161515811515141561101f5760405162461bcd60e51b815260206004820152602a60248201527f4163636f756e7420697320616c7265616479207468652076616c7565206f662060448201527f276578636c75646564270000000000000000000000000000000000000000000060648201526084016107e8565b6001600160a01b03821660008181526008602090815260409182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6110a46114af565b60005b828110156111335781600860008686858181106110c6576110c6612649565b90506020020160208101906110db919061241e565b6001600160a01b03168152602081019190915260400160002080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169115159190911790558061112b81612678565b9150506110a7565b5082826040516111449291906126b1565b6040519081900381208215158252907f7fdaf542373fa84f4ee8d662c642f44e4c2276a217d7d29e548b6eb29a233b359060200160405180910390a2505050565b61118d6114af565b60125460ff61010090910416151581151514156112125760405162461bcd60e51b815260206004820152602260248201527f73776170456e61626c656420616c72656164792061742074686973207374617460448201527f652e00000000000000000000000000000000000000000000000000000000000060648201526084016107e8565b60128054911515610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff909216919091179055565b6112516114af565b6001600160a01b0381166112cd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016107e8565b6112d681611af8565b50565b6112e16114af565b6001600160a01b0381163014156113605760405162461bcd60e51b815260206004820152603760248201527f4f776e65722063616e6e6f7420636c61696d20636f6e7472616374277320626160448201527f6c616e6365206f6620697473206f776e20746f6b656e7300000000000000000060648201526084016107e8565b6001600160a01b038116611378576112d63347611b62565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015281906000906001600160a01b038316906370a082319060240160206040518083038186803b1580156113d557600080fd5b505afa1580156113e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061140d91906126f3565b6040517fa9059cbb000000000000000000000000000000000000000000000000000000008152336004820152602481018290529091506001600160a01b0383169063a9059cbb90604401602060405180830381600087803b15801561147157600080fd5b505af1158015611485573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114a9919061270c565b50505050565b6005546001600160a01b03163314610bf35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107e8565b6001600160a01b0383166115845760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016107e8565b6001600160a01b0382166116005760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016107e8565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146114a957818110156116fe5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016107e8565b6114a98484848403611509565b6001600160a01b0383166117875760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016107e8565b6001600160a01b0382166118035760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016107e8565b60125462010000900460ff168061183257506001600160a01b03831660009081526008602052604090205460ff165b8061185557506001600160a01b03821660009081526008602052604090205460ff165b6118a15760405162461bcd60e51b815260206004820152601860248201527f54726164696e67206e6f742079657420656e61626c656421000000000000000060448201526064016107e8565b806118b7576118b283836000611c7b565b505050565b30600090815260208190526040902054601154811080159081906118de575060125460ff16155b80156118f757506007546001600160a01b038581169116145b801561191257506000600e54600d5461191091906125a2565b115b80156119255750601254610100900460ff165b15611a1157601280547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055600e54600d54600091611967916125a2565b90506000600a5460095461197b91906125a2565b90506000600c54600b5461198f91906125a2565b905081156119bb576000836119a48488612729565b6119ae919061260e565b90506119b981611e68565b505b80156119e5576000836119ce8388612729565b6119d8919061260e565b90506119e38161211f565b505b5050601280547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055505b6001600160a01b03851660009081526008602052604081205460ff1680611a5057506001600160a01b03851660009081526008602052604090205460ff165b80611a5d575060125460ff165b15611a6a57506000611aac565b6007546001600160a01b0387811691161415611a895750600d54611aac565b6007546001600160a01b0386811691161415611aa85750600e54611aac565b5060005b8015611ae55760006064611ac08387612729565b611aca919061260e565b9050611ad68186612766565b9450611ae3873083611c7b565b505b611af0868686611c7b565b505050505050565b600580546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b80471015611bb25760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016107e8565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611bff576040519150601f19603f3d011682016040523d82523d6000602084013e611c04565b606091505b50509050806118b25760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016107e8565b6001600160a01b038316611cf75760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016107e8565b6001600160a01b038216611d735760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016107e8565b6001600160a01b03831660009081526020819052604090205481811015611e025760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016107e8565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36114a9565b6000611e7560028361260e565b90506000611e838284612766565b60408051600280825260608201835292935047926000926020830190803683370190505090503081600081518110611ebd57611ebd612649565b6001600160a01b03928316602091820292909201810191909152600654604080517fad5c46480000000000000000000000000000000000000000000000000000000081529051919093169263ad5c4648926004808301939192829003018186803b158015611f2a57600080fd5b505afa158015611f3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f62919061277d565b81600181518110611f7557611f75612649565b6001600160a01b0392831660209182029290920101526006546040517f791ac94700000000000000000000000000000000000000000000000000000000815291169063791ac94790611fd490879060009086903090429060040161279a565b600060405180830381600087803b158015611fee57600080fd5b505af1158015612002573d6000803e3d6000fd5b50505050600082476120149190612766565b6006546010546040517ff305d7190000000000000000000000000000000000000000000000000000000081523060048201526024810188905260006044820181905260648201526001600160a01b0391821660848201524260a4820152929350169063f305d71990839060c4016060604051808303818588803b15801561209a57600080fd5b505af11580156120ae573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906120d3919061280b565b505060408051878152602081018490529081018690527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb561915060600160405180910390a1505050505050565b60408051600280825260608201835247926000929190602083019080368337019050509050308160008151811061215857612158612649565b6001600160a01b03928316602091820292909201810191909152600654604080517fad5c46480000000000000000000000000000000000000000000000000000000081529051919093169263ad5c4648926004808301939192829003018186803b1580156121c557600080fd5b505afa1580156121d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121fd919061277d565b8160018151811061221057612210612649565b6001600160a01b0392831660209182029290920101526006546040517f791ac94700000000000000000000000000000000000000000000000000000000815291169063791ac9479061226f90869060009086903090429060040161279a565b600060405180830381600087803b15801561228957600080fd5b505af115801561229d573d6000803e3d6000fd5b50505050600082476122af9190612766565b600f549091506122c8906001600160a01b031682611b62565b60408051858152602081018390527f94daab2fe3f3c99edbae0834bb51e5f2f86adadf8ec8299adfa8d8583620ca08910160405180910390a150505050565b6000806040838503121561231a57600080fd5b50508035926020909101359150565b600060208083528351808285015260005b818110156123565785810183015185820160400152820161233a565b81811115612368576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b6001600160a01b03811681146112d657600080fd5b600080604083850312156123c457600080fd5b82356123cf8161239c565b946020939093013593505050565b6000806000606084860312156123f257600080fd5b83356123fd8161239c565b9250602084013561240d8161239c565b929592945050506040919091013590565b60006020828403121561243057600080fd5b813561243b8161239c565b9392505050565b60006020828403121561245457600080fd5b5035919050565b80151581146112d657600080fd5b6000806040838503121561247c57600080fd5b82356124878161239c565b915060208301356124978161245b565b809150509250929050565b6000806000604084860312156124b757600080fd5b833567ffffffffffffffff808211156124cf57600080fd5b818601915086601f8301126124e357600080fd5b8135818111156124f257600080fd5b8760208260051b850101111561250757600080fd5b6020928301955093505084013561251d8161245b565b809150509250925092565b6000806040838503121561253b57600080fd5b82356125468161239c565b915060208301356124978161239c565b60006020828403121561256857600080fd5b813561243b8161245b565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082198211156125b5576125b5612573565b500190565b600181811c908216806125ce57607f821691505b60208210811415612608577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b600082612644577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156126aa576126aa612573565b5060010190565b60008184825b858110156126e85781356126ca8161239c565b6001600160a01b0316835260209283019291909101906001016126b7565b509095945050505050565b60006020828403121561270557600080fd5b5051919050565b60006020828403121561271e57600080fd5b815161243b8161245b565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561276157612761612573565b500290565b60008282101561277857612778612573565b500390565b60006020828403121561278f57600080fd5b815161243b8161239c565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156127ea5784516001600160a01b0316835293830193918301916001016127c5565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561282057600080fd5b835192506020840151915060408401519050925092509256fea26469706673582212206d74ad9aa92d223ff445480c69f2471e4cd009037f25a5f9cb24e3d376131ef464736f6c63430008090033
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.