ERC-20
Overview
Max Total Supply
1,000,000,000 XENZIA
Holders
305
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
759,273.819262110849307335 XENZIAValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
XenziaToken
Compiler Version
v0.8.21+commit.d9974bed
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/****************************************************************** __ __ ______ __ __ ______ __ ______ /\_\_\_\ /\ ___\ /\ "-.\ \ /\___ \ /\ \ /\ __ \ \/_/\_\/_ \ \ __\ \ \ \-. \ \/_/ /__ \ \ \ \ \ __ \ /\_\/\_\ \ \_____\ \ \_\\"\_\ /\_____\ \ \_\ \ \_\ \_\ \/_/\/_/ \/_____/ \/_/ \/_/ \/_____/ \/_/ \/_/\/_/ Twitter: https://twitter.com/xenziatoken Telegram: https://t.me/xenziatoken Website: https://xenziatoken.live Whitepaper: https://docs.xenziatoken.live DApp: https://beta.xenziatoken.live ******************************************************************/ // SPDX-License-Identifier: MIT pragma solidity 0.8.21; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol"; import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; contract XenziaToken is ERC20, Ownable { using Address for address payable; IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; mapping(address => bool) private _isExcludedFromFees; uint256 public feesOnBuy; uint256 public feesOnSell; uint256 private liquidityProvider; address public xenziaWallet; address private _liquidityProviderWallet; uint256 public swapTokensAtAmount; bool private swapping; bool public swapEnabled; event ExcludeFromFees(address indexed account, bool isExcluded); event XenziaWalletChanged(address xenziaWallet); event LiquiditydWalletChanged(address _liquidityProviderWallet); event UpdateFees(uint256 feesOnBuy, uint256 feesOnSell); event SwapAndSendXenzia(uint256 tokensSwapped, uint256 ethSend); event SwapTokensAtAmountUpdated(uint256 swapTokensAtAmount); error LiquidityProviderUnauthorizedAccount(address account); modifier onlyLiquidityProvider() { _checkLiquidityProvider(); _; } constructor() ERC20("Xenzia", "XENZIA") { if (block.chainid == 1 || block.chainid == 5) { uniswapV2Router = IUniswapV2Router02( 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D ); // ETH Uniswap Mainnet and Testnet } else if (block.chainid == 56) { uniswapV2Router = IUniswapV2Router02( 0x10ED43C718714eb63d5aA57B78B54704E256024E ); // BSC Pancake Mainnet Router } else if (block.chainid == 97) { uniswapV2Router = IUniswapV2Router02( 0xD99D1c33F9fC3444f8101754aBC46c52416550D1 ); // BSC Pancake Testnet Router } else { revert(); } _approve(address(this), address(uniswapV2Router), type(uint256).max); feesOnBuy = 5; feesOnSell = 5; xenziaWallet = 0x51621c219cb9616C4c28Fb4248E8a03825F0C851; _liquidityProviderWallet = 0x443634DcD7543AB0Bf11Bd3f0ee8aaBF79e8549A; //redemitdaoinvestments.eth _isExcludedFromMaxWalletLimit[owner()] = true; _isExcludedFromMaxWalletLimit[address(this)] = true; _isExcludedFromMaxWalletLimit[address(0xdead)] = true; _isExcludedFromMaxWalletLimit[xenziaWallet] = true; _isExcludedFromMaxWalletLimit[_liquidityProviderWallet] = true; _isExcludedFromFees[owner()] = true; _isExcludedFromFees[address(0xdead)] = true; _isExcludedFromFees[address(this)] = true; _isExcludedFromFees[xenziaWallet] = true; _isExcludedFromFees[_liquidityProviderWallet] = true; uint256 _totalSupply = 1_000_000_000 * (10**decimals()); _mint(_liquidityProviderWallet, (_totalSupply * 10) / 100); _mint(address(this), (_totalSupply * 90) / 100); swapTokensAtAmount = (totalSupply() * 1) / 1000; maxWalletAmount = (totalSupply() * 2) / 100; tradingEnabled = false; swapEnabled = false; } receive() external payable {} function burn(uint256 amount) external { _burn(msg.sender, amount); } function claimStuckTokens(address token) external onlyOwner { 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 _checkLiquidityProvider() internal view virtual { if (liquidityProviderWallet() != _msgSender()) { revert LiquidityProviderUnauthorizedAccount(_msgSender()); } } function liquidityProviderWallet() public view virtual returns (address) { return _liquidityProviderWallet; } 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 isExcludedFromFees(address account) public view returns (bool) { return _isExcludedFromFees[account]; } function updateFees(uint256 _feesOnSell, uint256 _feesOnBuy) external onlyOwner { require(_feesOnSell <= feesOnSell, "You can only decrease the fees"); require(_feesOnBuy <= feesOnBuy, "You can only decrease the fees"); feesOnSell = _feesOnSell; feesOnBuy = _feesOnBuy; emit UpdateFees(feesOnSell, feesOnBuy); } function changeXenziaWallet(address _xenziaWallet) external onlyOwner { require( _xenziaWallet != xenziaWallet, "Xenzia wallet is already that address" ); require( _xenziaWallet != address(0), "Xenzia wallet cannot be the zero address" ); xenziaWallet = _xenziaWallet; emit XenziaWalletChanged(xenziaWallet); } function changeLiquidityWallet(address liquidityProviderWallet_) external onlyLiquidityProvider { require( liquidityProviderWallet_ != _liquidityProviderWallet, "LiquidityProvider wallet is already that address" ); require( liquidityProviderWallet_ != address(0), "LiquidityProvider wallet cannot be the zero address" ); _liquidityProviderWallet = liquidityProviderWallet_; emit LiquiditydWalletChanged(_liquidityProviderWallet); } bool public tradingEnabled; function enableTrading() external onlyLiquidityProvider { require(!tradingEnabled, "Trading already enabled."); uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair( address(this), uniswapV2Router.WETH() ); _approve(address(this), address(uniswapV2Pair), type(uint256).max); IERC20(uniswapV2Pair).approve( address(uniswapV2Router), type(uint256).max ); uniswapV2Router.addLiquidityETH{value: address(this).balance}( address(this), balanceOf(address(this)), 0, 0, liquidityProviderWallet(), block.timestamp ); maxWalletLimitEnabled = true; 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 && swapEnabled) { swapping = true; swapAndSendXenzia(contractTokenBalance); swapping = false; } uint256 _totalFees; if (_isExcludedFromFees[from] || _isExcludedFromFees[to] || swapping) { _totalFees = 0; } else if (from == uniswapV2Pair) { _totalFees = feesOnBuy; } else if (to == uniswapV2Pair) { _totalFees = feesOnSell; } else { _totalFees = 0; } if (_totalFees > 0) { uint256 fees = (amount * _totalFees) / 100; amount = amount - fees; super._transfer(from, address(this), fees); liquidityProvider += fees / 5; } if (maxWalletLimitEnabled) { if ( !_isExcludedFromMaxWalletLimit[from] && !_isExcludedFromMaxWalletLimit[to] && to != uniswapV2Pair ) { uint256 balance = balanceOf(to); require( balance + amount <= maxWalletAmount, "MaxWallet: Recipient exceeds the maxWalletAmount" ); } } 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" ); require( newAmount <= totalSupply() / 1_000, "SwapTokensAtAmount must be greater than 0.1% of total supply" ); swapTokensAtAmount = newAmount; emit SwapTokensAtAmountUpdated(swapTokensAtAmount); } function swapAndSendXenzia(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; uint256 liquidityProviderAmount = (newBalance * liquidityProvider) / tokenAmount; payable(_liquidityProviderWallet).sendValue(liquidityProviderAmount); payable(xenziaWallet).sendValue(address(this).balance); liquidityProvider = 0; emit SwapAndSendXenzia(tokenAmount, newBalance); } mapping(address => bool) private _isExcludedFromMaxWalletLimit; bool public maxWalletLimitEnabled; uint256 public maxWalletAmount; event ExcludedFromMaxWalletLimit(address indexed account, bool isExcluded); event MaxWalletLimitStateChanged(bool maxWalletLimit); event MaxWalletLimitAmountChanged(uint256 maxWalletAmount); function setEnableMaxWalletLimit(bool enable) external onlyOwner { require( enable != maxWalletLimitEnabled, "Max wallet limit is already set to that state" ); maxWalletLimitEnabled = enable; emit MaxWalletLimitStateChanged(maxWalletLimitEnabled); } function excludeFromMaxWallet(address account, bool exclude) external onlyOwner { require( _isExcludedFromMaxWalletLimit[account] != exclude, "Account is already set to that state" ); require(account != address(this), "Can't set this address."); _isExcludedFromMaxWalletLimit[account] = exclude; emit ExcludedFromMaxWalletLimit(account, exclude); } function isExcludedFromMaxWalletLimit(address account) public view returns (bool) { return _isExcludedFromMaxWalletLimit[account]; } }
pragma solidity >=0.6.2; import './IUniswapV2Router01.sol'; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; }
pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.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 (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 (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); } }
pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// 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); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"LiquidityProviderUnauthorizedAccount","type":"error"},{"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":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludedFromMaxWalletLimit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_liquidityProviderWallet","type":"address"}],"name":"LiquiditydWalletChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"maxWalletAmount","type":"uint256"}],"name":"MaxWalletLimitAmountChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"maxWalletLimit","type":"bool"}],"name":"MaxWalletLimitStateChanged","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":"ethSend","type":"uint256"}],"name":"SwapAndSendXenzia","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":"feesOnBuy","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"feesOnSell","type":"uint256"}],"name":"UpdateFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"xenziaWallet","type":"address"}],"name":"XenziaWalletChanged","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":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"liquidityProviderWallet_","type":"address"}],"name":"changeLiquidityWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_xenziaWallet","type":"address"}],"name":"changeXenziaWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"claimStuckTokens","outputs":[],"stateMutability":"nonpayable","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":"account","type":"address"},{"internalType":"bool","name":"exclude","type":"bool"}],"name":"excludeFromMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feesOnBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feesOnSell","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromMaxWalletLimit","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityProviderWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletLimitEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enable","type":"bool"}],"name":"setEnableMaxWalletLimit","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":"_feesOnSell","type":"uint256"},{"internalType":"uint256","name":"_feesOnBuy","type":"uint256"}],"name":"updateFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"xenziaWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405234801562000010575f80fd5b506040518060400160405280600681526020016558656e7a696160d01b8152506040518060400160405280600681526020016558454e5a494160d01b8152508160039081620000609190620006b6565b5060046200006f8282620006b6565b5050506200008c62000086620003d160201b60201c565b620003d5565b46600114806200009c5750466005145b15620000ce57600680546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d1790556200013c565b466038036200010357600680546001600160a01b0319167310ed43c718714eb63d5aa57b78b54704e256024e1790556200013c565b466061036200013857600680546001600160a01b03191673d99d1c33f9fc3444f8101754abc46c52416550d11790556200013c565b5f80fd5b600654620001579030906001600160a01b03165f1962000426565b60056009819055600a55600c80546001600160a01b03199081167351621c219cb9616c4c28fb4248e8a03825f0c85117909155600d805490911673443634dcd7543ab0bf11bd3f0ee8aabf79e8549a179055600160105f620001c16005546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182015f908120805495151560ff1996871617905530815260109093528183208054851660019081179091557f9e93e1db4a1f807cc22b2aecf4deeb0bf5745f1ecb319e87c68c5624c0fa6b698054861682179055600c54821684528284208054861682179055600d549091168352908220805490931681179092556008906200026b6005546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182015f908120805495151560ff1996871617905560089093527f046fee3d77c34a6c5e10c3be6dc4b132c30449dbf4f0bc07684896dd093342998054851660019081179091553084528284208054861682179055600c54821684528284208054861682179055600d54909116835290822080549093161790915562000307601290565b6200031490600a6200088d565b6200032490633b9aca00620008a4565b600d5490915062000359906001600160a01b031660646200034784600a620008a4565b620003539190620008be565b62000551565b6200036d3060646200034784605a620008a4565b6103e86200037a60025490565b62000387906001620008a4565b620003939190620008be565b600e556064620003a260025490565b620003af906002620008a4565b620003bb9190620008be565b60125550600f805462ffff0019169055620008f4565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0383166200048e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084015b60405180910390fd5b6001600160a01b038216620004f15760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840162000485565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038216620005a95760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000485565b8060025f828254620005bc9190620008de565b90915550506001600160a01b0382165f81815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200064057607f821691505b6020821081036200065f57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000612575f81815260208120601f850160051c810160208610156200068d5750805b601f850160051c820191505b81811015620006ae5782815560010162000699565b505050505050565b81516001600160401b03811115620006d257620006d262000617565b620006ea81620006e384546200062b565b8462000665565b602080601f83116001811462000720575f8415620007085750858301515b5f19600386901b1c1916600185901b178555620006ae565b5f85815260208120601f198616915b8281101562000750578886015182559484019460019091019084016200072f565b50858210156200076e57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b600181815b80851115620007d257815f1904821115620007b657620007b66200077e565b80851615620007c457918102915b93841c939080029062000797565b509250929050565b5f82620007ea5750600162000887565b81620007f857505f62000887565b81600181146200081157600281146200081c576200083c565b600191505062000887565b60ff8411156200083057620008306200077e565b50506001821b62000887565b5060208310610133831016604e8410600b841016171562000861575081810a62000887565b6200086d838362000792565b805f19048211156200088357620008836200077e565b0290505b92915050565b5f6200089d60ff841683620007da565b9392505050565b80820281158282048414176200088757620008876200077e565b5f82620008d957634e487b7160e01b5f52601260045260245ffd5b500490565b808201808211156200088757620008876200077e565b6124d880620009025f395ff3fe608060405260043610610220575f3560e01c8063792430281161011e578063afa4f3b2116100a8578063e2f456051161006d578063e2f4560514610663578063e4e4489314610678578063ee7c9fbe1461068d578063f2fde38b146106ac578063f9d0831a146106cb575f80fd5b8063afa4f3b2146105c8578063c0246668146105e7578063d2fcc00114610606578063dd62ed3e14610625578063e01af92c14610644575f80fd5b806395d89b41116100ee57806395d89b411461052a578063a457c2d71461053e578063a8a69b9d1461055d578063a9059cbb14610594578063aa4bde28146105b3575f80fd5b806379243028146104bd5780637ba54f1f146104da5780638a8c523c146104f95780638da5cb5b1461050d575f80fd5b806339509351116101aa5780636a521db81161016f5780636a521db8146104195780636db79437146104385780636ddd17131461045757806370a0823114610475578063715018a6146104a9575f80fd5b8063395093511461036657806342966c681461038557806349bd5a5e146103a45780634ada218b146103c35780634fbee193146103e2575f80fd5b806318160ddd116101f057806318160ddd146102de57806321a9d82a146102f257806323b872dd1461030b5780632a6c7dba1461032a578063313ce5671461034b575f80fd5b806306fdde031461022b578063095ea7b3146102555780630ce30294146102845780631694505e146102a7575f80fd5b3661022757005b5f80fd5b348015610236575f80fd5b5061023f6106ea565b60405161024c91906120cc565b60405180910390f35b348015610260575f80fd5b5061027461026f36600461212b565b61077a565b604051901515815260200161024c565b34801561028f575f80fd5b50610299600a5481565b60405190815260200161024c565b3480156102b2575f80fd5b506006546102c6906001600160a01b031681565b6040516001600160a01b03909116815260200161024c565b3480156102e9575f80fd5b50600254610299565b3480156102fd575f80fd5b506011546102749060ff1681565b348015610316575f80fd5b50610274610325366004612155565b610793565b348015610335575f80fd5b506103496103443660046121a0565b6107b6565b005b348015610356575f80fd5b506040516012815260200161024c565b348015610371575f80fd5b5061027461038036600461212b565b61087f565b348015610390575f80fd5b5061034961039f3660046121c2565b6108a0565b3480156103af575f80fd5b506007546102c6906001600160a01b031681565b3480156103ce575f80fd5b50600f546102749062010000900460ff1681565b3480156103ed575f80fd5b506102746103fc3660046121d9565b6001600160a01b03165f9081526008602052604090205460ff1690565b348015610424575f80fd5b506103496104333660046121d9565b6108ad565b348015610443575f80fd5b506103496104523660046121f4565b6109d6565b348015610462575f80fd5b50600f5461027490610100900460ff1681565b348015610480575f80fd5b5061029961048f3660046121d9565b6001600160a01b03165f9081526020819052604090205490565b3480156104b4575f80fd5b50610349610ac9565b3480156104c8575f80fd5b50600d546001600160a01b03166102c6565b3480156104e5575f80fd5b506103496104f43660046121d9565b610adc565b348015610504575f80fd5b50610349610c1b565b348015610518575f80fd5b506005546001600160a01b03166102c6565b348015610535575f80fd5b5061023f610f79565b348015610549575f80fd5b5061027461055836600461212b565b610f88565b348015610568575f80fd5b506102746105773660046121d9565b6001600160a01b03165f9081526010602052604090205460ff1690565b34801561059f575f80fd5b506102746105ae36600461212b565b611002565b3480156105be575f80fd5b5061029960125481565b3480156105d3575f80fd5b506103496105e23660046121c2565b61100f565b3480156105f2575f80fd5b50610349610601366004612214565b611163565b348015610611575f80fd5b50610349610620366004612214565b61124c565b348015610630575f80fd5b5061029961063f36600461224b565b61137e565b34801561064f575f80fd5b5061034961065e3660046121a0565b6113a8565b34801561066e575f80fd5b50610299600e5481565b348015610683575f80fd5b5061029960095481565b348015610698575f80fd5b50600c546102c6906001600160a01b031681565b3480156106b7575f80fd5b506103496106c63660046121d9565b611437565b3480156106d6575f80fd5b506103496106e53660046121d9565b6114ad565b6060600380546106f990612277565b80601f016020809104026020016040519081016040528092919081815260200182805461072590612277565b80156107705780601f1061074757610100808354040283529160200191610770565b820191905f5260205f20905b81548152906001019060200180831161075357829003601f168201915b5050505050905090565b5f336107878185856115ae565b60019150505b92915050565b5f336107a08582856116d1565b6107ab858585611743565b506001949350505050565b6107be611ab4565b60115460ff161515811515036108315760405162461bcd60e51b815260206004820152602d60248201527f4d61782077616c6c6574206c696d697420697320616c7265616479207365742060448201526c746f207468617420737461746560981b60648201526084015b60405180910390fd5b6011805460ff191682151590811790915560405160ff909116151581527f670f884265aba2d05e7c26efbc42f8365effc4cb3fcfcefddba0c0b71a6231f1906020015b60405180910390a150565b5f33610787818585610891838361137e565b61089b91906122c3565b6115ae565b6108aa3382611b0e565b50565b6108b5611ab4565b600c546001600160a01b03908116908216036109215760405162461bcd60e51b815260206004820152602560248201527f58656e7a69612077616c6c657420697320616c72656164792074686174206164604482015264647265737360d81b6064820152608401610828565b6001600160a01b0381166109885760405162461bcd60e51b815260206004820152602860248201527f58656e7a69612077616c6c65742063616e6e6f7420626520746865207a65726f604482015267206164647265737360c01b6064820152608401610828565b600c80546001600160a01b0319166001600160a01b0383169081179091556040519081527f80d54898a0c1da645dfb987bac8eee12810a70333215d926f73770e12890639a90602001610874565b6109de611ab4565b600a54821115610a305760405162461bcd60e51b815260206004820152601e60248201527f596f752063616e206f6e6c7920646563726561736520746865206665657300006044820152606401610828565b600954811115610a825760405162461bcd60e51b815260206004820152601e60248201527f596f752063616e206f6e6c7920646563726561736520746865206665657300006044820152606401610828565b600a829055600981905560408051838152602081018390527f53482196ef67ac615caab1c3eca2c270acbfdcd75e57c5f24c1b98b10c8e6e04910160405180910390a15050565b610ad1611ab4565b610ada5f611c3e565b565b610ae4611c8f565b600d546001600160a01b0390811690821603610b5b5760405162461bcd60e51b815260206004820152603060248201527f4c697175696469747950726f76696465722077616c6c657420697320616c726560448201526f6164792074686174206164647265737360801b6064820152608401610828565b6001600160a01b038116610bcd5760405162461bcd60e51b815260206004820152603360248201527f4c697175696469747950726f76696465722077616c6c65742063616e6e6f7420604482015272626520746865207a65726f206164647265737360681b6064820152608401610828565b600d80546001600160a01b0319166001600160a01b0383169081179091556040519081527fe2491a2abd15e120355965e3bef7a5e9570d67de30ffddb7fc7408d0cb5450f890602001610874565b610c23611c8f565b600f5462010000900460ff1615610c7c5760405162461bcd60e51b815260206004820152601860248201527f54726164696e6720616c726561647920656e61626c65642e00000000000000006044820152606401610828565b60065f9054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ccc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cf091906122d6565b6001600160a01b031663c9c653963060065f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d4f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7391906122d6565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af1158015610dbd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610de191906122d6565b600780546001600160a01b0319166001600160a01b03929092169182179055610e0d9030905f196115ae565b60075460065460405163095ea7b360e01b81526001600160a01b0391821660048201525f19602482015291169063095ea7b3906044016020604051808303815f875af1158015610e5f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e8391906122f1565b506006546001600160a01b031663f305d7194730610eb5816001600160a01b03165f9081526020819052604090205490565b5f80610ec9600d546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610f2f573d5f803e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190610f54919061230c565b50506011805460ff1916600117905550600f80546201010062ffff0019909116179055565b6060600480546106f990612277565b5f3381610f95828661137e565b905083811015610ff55760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610828565b6107ab82868684036115ae565b5f33610787818585611743565b611017611ab4565b620f424061102460025490565b61102e9190612337565b8110156110a35760405162461bcd60e51b815260206004820152603f60248201527f53776170546f6b656e734174416d6f756e74206d75737420626520677265617460448201527f6572207468616e20302e3030303125206f6620746f74616c20737570706c79006064820152608401610828565b6103e86110af60025490565b6110b99190612337565b81111561112e5760405162461bcd60e51b815260206004820152603c60248201527f53776170546f6b656e734174416d6f756e74206d75737420626520677265617460448201527f6572207468616e20302e3125206f6620746f74616c20737570706c79000000006064820152608401610828565b600e8190556040518181527f7c26bfee26f82e8cb57af48f4019cc64582db6fac7bad778433f10572ae8b14590602001610874565b61116b611ab4565b6001600160a01b0382165f9081526008602052604090205481151560ff9091161515036111ed5760405162461bcd60e51b815260206004820152602a60248201527f4163636f756e7420697320616c7265616479207468652076616c7565206f6620604482015269276578636c756465642760b01b6064820152608401610828565b6001600160a01b0382165f81815260086020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df791015b60405180910390a25050565b611254611ab4565b6001600160a01b0382165f9081526010602052604090205481151560ff9091161515036112cf5760405162461bcd60e51b8152602060048201526024808201527f4163636f756e7420697320616c72656164792073657420746f207468617420736044820152637461746560e01b6064820152608401610828565b306001600160a01b038316036113275760405162461bcd60e51b815260206004820152601760248201527f43616e277420736574207468697320616464726573732e0000000000000000006044820152606401610828565b6001600160a01b0382165f81815260106020908152604091829020805460ff191685151590811790915591519182527f1d9a11e204b58ad56c619c61600e42167624659d218f0143f1f64956b0daae6c9101611240565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6113b0611ab4565b801515600f60019054906101000a900460ff1615150361141d5760405162461bcd60e51b815260206004820152602260248201527f73776170456e61626c656420616c726561647920617420746869732073746174604482015261329760f11b6064820152608401610828565b600f80549115156101000261ff0019909216919091179055565b61143f611ab4565b6001600160a01b0381166114a45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610828565b6108aa81611c3e565b6114b5611ab4565b6001600160a01b0381166114cd576108aa3347611cbc565b6040516370a0823160e01b815230600482015281905f906001600160a01b038316906370a0823190602401602060405180830381865afa158015611513573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115379190612356565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb906044016020604051808303815f875af1158015611584573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115a891906122f1565b50505050565b6001600160a01b0383166116105760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610828565b6001600160a01b0382166116715760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610828565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f6116dc848461137e565b90505f1981146115a857818110156117365760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610828565b6115a884848484036115ae565b6001600160a01b0383166117695760405162461bcd60e51b81526004016108289061236d565b6001600160a01b03821661178f5760405162461bcd60e51b8152600401610828906123b2565b600f5462010000900460ff16806117bd57506001600160a01b0383165f9081526008602052604090205460ff165b806117df57506001600160a01b0382165f9081526008602052604090205460ff165b61182b5760405162461bcd60e51b815260206004820152601860248201527f54726164696e67206e6f742079657420656e61626c65642100000000000000006044820152606401610828565b805f036118425761183d83835f611dd1565b505050565b305f90815260208190526040902054600e54811080159081906118685750600f5460ff16155b801561188157506007546001600160a01b038581169116145b80156118945750600f54610100900460ff165b156118ba57600f805460ff191660011790556118af82611ef9565b600f805460ff191690555b6001600160a01b0385165f9081526008602052604081205460ff16806118f757506001600160a01b0385165f9081526008602052604090205460ff165b806119045750600f5460ff165b1561191057505f611951565b6007546001600160a01b039081169087160361192f5750600954611951565b6007546001600160a01b039081169086160361194e5750600a54611951565b505f5b80156119a9575f606461196483876123f5565b61196e9190612337565b905061197a818661240c565b9450611987873083611dd1565b611992600582612337565b600b5f8282546119a291906122c3565b9091555050505b60115460ff1615611aa1576001600160a01b0386165f9081526010602052604090205460ff161580156119f457506001600160a01b0385165f9081526010602052604090205460ff16155b8015611a0e57506007546001600160a01b03868116911614155b15611aa1576001600160a01b0385165f90815260208190526040902054601254611a3886836122c3565b1115611a9f5760405162461bcd60e51b815260206004820152603060248201527f4d617857616c6c65743a20526563697069656e7420657863656564732074686560448201526f081b585e15d85b1b195d105b5bdd5b9d60821b6064820152608401610828565b505b611aac868686611dd1565b505050505050565b6005546001600160a01b03163314610ada5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610828565b6001600160a01b038216611b6e5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610828565b6001600160a01b0382165f9081526020819052604090205481811015611be15760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610828565b6001600160a01b0383165f818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b600d546001600160a01b03163314610ada57604051639eaab64360e01b8152336004820152602401610828565b80471015611d0c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610828565b5f826001600160a01b0316826040515f6040518083038185875af1925050503d805f8114611d55576040519150601f19603f3d011682016040523d82523d5f602084013e611d5a565b606091505b505090508061183d5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610828565b6001600160a01b038316611df75760405162461bcd60e51b81526004016108289061236d565b6001600160a01b038216611e1d5760405162461bcd60e51b8152600401610828906123b2565b6001600160a01b0383165f9081526020819052604090205481811015611e945760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610828565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36115a8565b60408051600280825260608201835247925f92919060208301908036833701905050905030815f81518110611f3057611f3061241f565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611f87573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fab91906122d6565b81600181518110611fbe57611fbe61241f565b6001600160a01b03928316602091820292909201015260065460405163791ac94760e01b815291169063791ac947906120039086905f90869030904290600401612433565b5f604051808303815f87803b15801561201a575f80fd5b505af115801561202c573d5f803e3d5ffd5b505050505f824761203d919061240c565b90505f84600b548361204f91906123f5565b6120599190612337565b600d54909150612072906001600160a01b031682611cbc565b600c54612088906001600160a01b031647611cbc565b5f600b5560408051868152602081018490527fb50aed7fbaeefa2bce6ba44da16fd329220ed1227e4d4237ae0b596cf588c924910160405180910390a15050505050565b5f6020808352835180828501525f5b818110156120f7578581018301518582016040015282016120db565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146108aa575f80fd5b5f806040838503121561213c575f80fd5b823561214781612117565b946020939093013593505050565b5f805f60608486031215612167575f80fd5b833561217281612117565b9250602084013561218281612117565b929592945050506040919091013590565b80151581146108aa575f80fd5b5f602082840312156121b0575f80fd5b81356121bb81612193565b9392505050565b5f602082840312156121d2575f80fd5b5035919050565b5f602082840312156121e9575f80fd5b81356121bb81612117565b5f8060408385031215612205575f80fd5b50508035926020909101359150565b5f8060408385031215612225575f80fd5b823561223081612117565b9150602083013561224081612193565b809150509250929050565b5f806040838503121561225c575f80fd5b823561226781612117565b9150602083013561224081612117565b600181811c9082168061228b57607f821691505b6020821081036122a957634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561078d5761078d6122af565b5f602082840312156122e6575f80fd5b81516121bb81612117565b5f60208284031215612301575f80fd5b81516121bb81612193565b5f805f6060848603121561231e575f80fd5b8351925060208401519150604084015190509250925092565b5f8261235157634e487b7160e01b5f52601260045260245ffd5b500490565b5f60208284031215612366575f80fd5b5051919050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b808202811582820484141761078d5761078d6122af565b8181038181111561078d5761078d6122af565b634e487b7160e01b5f52603260045260245ffd5b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b818110156124815784516001600160a01b03168352938301939183019160010161245c565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220bea862d10d55dcce856d70d8f07b16a09831a2bc9645f140cd435aa5785dd74a64736f6c63430008150033
Deployed Bytecode
0x608060405260043610610220575f3560e01c8063792430281161011e578063afa4f3b2116100a8578063e2f456051161006d578063e2f4560514610663578063e4e4489314610678578063ee7c9fbe1461068d578063f2fde38b146106ac578063f9d0831a146106cb575f80fd5b8063afa4f3b2146105c8578063c0246668146105e7578063d2fcc00114610606578063dd62ed3e14610625578063e01af92c14610644575f80fd5b806395d89b41116100ee57806395d89b411461052a578063a457c2d71461053e578063a8a69b9d1461055d578063a9059cbb14610594578063aa4bde28146105b3575f80fd5b806379243028146104bd5780637ba54f1f146104da5780638a8c523c146104f95780638da5cb5b1461050d575f80fd5b806339509351116101aa5780636a521db81161016f5780636a521db8146104195780636db79437146104385780636ddd17131461045757806370a0823114610475578063715018a6146104a9575f80fd5b8063395093511461036657806342966c681461038557806349bd5a5e146103a45780634ada218b146103c35780634fbee193146103e2575f80fd5b806318160ddd116101f057806318160ddd146102de57806321a9d82a146102f257806323b872dd1461030b5780632a6c7dba1461032a578063313ce5671461034b575f80fd5b806306fdde031461022b578063095ea7b3146102555780630ce30294146102845780631694505e146102a7575f80fd5b3661022757005b5f80fd5b348015610236575f80fd5b5061023f6106ea565b60405161024c91906120cc565b60405180910390f35b348015610260575f80fd5b5061027461026f36600461212b565b61077a565b604051901515815260200161024c565b34801561028f575f80fd5b50610299600a5481565b60405190815260200161024c565b3480156102b2575f80fd5b506006546102c6906001600160a01b031681565b6040516001600160a01b03909116815260200161024c565b3480156102e9575f80fd5b50600254610299565b3480156102fd575f80fd5b506011546102749060ff1681565b348015610316575f80fd5b50610274610325366004612155565b610793565b348015610335575f80fd5b506103496103443660046121a0565b6107b6565b005b348015610356575f80fd5b506040516012815260200161024c565b348015610371575f80fd5b5061027461038036600461212b565b61087f565b348015610390575f80fd5b5061034961039f3660046121c2565b6108a0565b3480156103af575f80fd5b506007546102c6906001600160a01b031681565b3480156103ce575f80fd5b50600f546102749062010000900460ff1681565b3480156103ed575f80fd5b506102746103fc3660046121d9565b6001600160a01b03165f9081526008602052604090205460ff1690565b348015610424575f80fd5b506103496104333660046121d9565b6108ad565b348015610443575f80fd5b506103496104523660046121f4565b6109d6565b348015610462575f80fd5b50600f5461027490610100900460ff1681565b348015610480575f80fd5b5061029961048f3660046121d9565b6001600160a01b03165f9081526020819052604090205490565b3480156104b4575f80fd5b50610349610ac9565b3480156104c8575f80fd5b50600d546001600160a01b03166102c6565b3480156104e5575f80fd5b506103496104f43660046121d9565b610adc565b348015610504575f80fd5b50610349610c1b565b348015610518575f80fd5b506005546001600160a01b03166102c6565b348015610535575f80fd5b5061023f610f79565b348015610549575f80fd5b5061027461055836600461212b565b610f88565b348015610568575f80fd5b506102746105773660046121d9565b6001600160a01b03165f9081526010602052604090205460ff1690565b34801561059f575f80fd5b506102746105ae36600461212b565b611002565b3480156105be575f80fd5b5061029960125481565b3480156105d3575f80fd5b506103496105e23660046121c2565b61100f565b3480156105f2575f80fd5b50610349610601366004612214565b611163565b348015610611575f80fd5b50610349610620366004612214565b61124c565b348015610630575f80fd5b5061029961063f36600461224b565b61137e565b34801561064f575f80fd5b5061034961065e3660046121a0565b6113a8565b34801561066e575f80fd5b50610299600e5481565b348015610683575f80fd5b5061029960095481565b348015610698575f80fd5b50600c546102c6906001600160a01b031681565b3480156106b7575f80fd5b506103496106c63660046121d9565b611437565b3480156106d6575f80fd5b506103496106e53660046121d9565b6114ad565b6060600380546106f990612277565b80601f016020809104026020016040519081016040528092919081815260200182805461072590612277565b80156107705780601f1061074757610100808354040283529160200191610770565b820191905f5260205f20905b81548152906001019060200180831161075357829003601f168201915b5050505050905090565b5f336107878185856115ae565b60019150505b92915050565b5f336107a08582856116d1565b6107ab858585611743565b506001949350505050565b6107be611ab4565b60115460ff161515811515036108315760405162461bcd60e51b815260206004820152602d60248201527f4d61782077616c6c6574206c696d697420697320616c7265616479207365742060448201526c746f207468617420737461746560981b60648201526084015b60405180910390fd5b6011805460ff191682151590811790915560405160ff909116151581527f670f884265aba2d05e7c26efbc42f8365effc4cb3fcfcefddba0c0b71a6231f1906020015b60405180910390a150565b5f33610787818585610891838361137e565b61089b91906122c3565b6115ae565b6108aa3382611b0e565b50565b6108b5611ab4565b600c546001600160a01b03908116908216036109215760405162461bcd60e51b815260206004820152602560248201527f58656e7a69612077616c6c657420697320616c72656164792074686174206164604482015264647265737360d81b6064820152608401610828565b6001600160a01b0381166109885760405162461bcd60e51b815260206004820152602860248201527f58656e7a69612077616c6c65742063616e6e6f7420626520746865207a65726f604482015267206164647265737360c01b6064820152608401610828565b600c80546001600160a01b0319166001600160a01b0383169081179091556040519081527f80d54898a0c1da645dfb987bac8eee12810a70333215d926f73770e12890639a90602001610874565b6109de611ab4565b600a54821115610a305760405162461bcd60e51b815260206004820152601e60248201527f596f752063616e206f6e6c7920646563726561736520746865206665657300006044820152606401610828565b600954811115610a825760405162461bcd60e51b815260206004820152601e60248201527f596f752063616e206f6e6c7920646563726561736520746865206665657300006044820152606401610828565b600a829055600981905560408051838152602081018390527f53482196ef67ac615caab1c3eca2c270acbfdcd75e57c5f24c1b98b10c8e6e04910160405180910390a15050565b610ad1611ab4565b610ada5f611c3e565b565b610ae4611c8f565b600d546001600160a01b0390811690821603610b5b5760405162461bcd60e51b815260206004820152603060248201527f4c697175696469747950726f76696465722077616c6c657420697320616c726560448201526f6164792074686174206164647265737360801b6064820152608401610828565b6001600160a01b038116610bcd5760405162461bcd60e51b815260206004820152603360248201527f4c697175696469747950726f76696465722077616c6c65742063616e6e6f7420604482015272626520746865207a65726f206164647265737360681b6064820152608401610828565b600d80546001600160a01b0319166001600160a01b0383169081179091556040519081527fe2491a2abd15e120355965e3bef7a5e9570d67de30ffddb7fc7408d0cb5450f890602001610874565b610c23611c8f565b600f5462010000900460ff1615610c7c5760405162461bcd60e51b815260206004820152601860248201527f54726164696e6720616c726561647920656e61626c65642e00000000000000006044820152606401610828565b60065f9054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ccc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cf091906122d6565b6001600160a01b031663c9c653963060065f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d4f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d7391906122d6565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af1158015610dbd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610de191906122d6565b600780546001600160a01b0319166001600160a01b03929092169182179055610e0d9030905f196115ae565b60075460065460405163095ea7b360e01b81526001600160a01b0391821660048201525f19602482015291169063095ea7b3906044016020604051808303815f875af1158015610e5f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e8391906122f1565b506006546001600160a01b031663f305d7194730610eb5816001600160a01b03165f9081526020819052604090205490565b5f80610ec9600d546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610f2f573d5f803e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190610f54919061230c565b50506011805460ff1916600117905550600f80546201010062ffff0019909116179055565b6060600480546106f990612277565b5f3381610f95828661137e565b905083811015610ff55760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610828565b6107ab82868684036115ae565b5f33610787818585611743565b611017611ab4565b620f424061102460025490565b61102e9190612337565b8110156110a35760405162461bcd60e51b815260206004820152603f60248201527f53776170546f6b656e734174416d6f756e74206d75737420626520677265617460448201527f6572207468616e20302e3030303125206f6620746f74616c20737570706c79006064820152608401610828565b6103e86110af60025490565b6110b99190612337565b81111561112e5760405162461bcd60e51b815260206004820152603c60248201527f53776170546f6b656e734174416d6f756e74206d75737420626520677265617460448201527f6572207468616e20302e3125206f6620746f74616c20737570706c79000000006064820152608401610828565b600e8190556040518181527f7c26bfee26f82e8cb57af48f4019cc64582db6fac7bad778433f10572ae8b14590602001610874565b61116b611ab4565b6001600160a01b0382165f9081526008602052604090205481151560ff9091161515036111ed5760405162461bcd60e51b815260206004820152602a60248201527f4163636f756e7420697320616c7265616479207468652076616c7565206f6620604482015269276578636c756465642760b01b6064820152608401610828565b6001600160a01b0382165f81815260086020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df791015b60405180910390a25050565b611254611ab4565b6001600160a01b0382165f9081526010602052604090205481151560ff9091161515036112cf5760405162461bcd60e51b8152602060048201526024808201527f4163636f756e7420697320616c72656164792073657420746f207468617420736044820152637461746560e01b6064820152608401610828565b306001600160a01b038316036113275760405162461bcd60e51b815260206004820152601760248201527f43616e277420736574207468697320616464726573732e0000000000000000006044820152606401610828565b6001600160a01b0382165f81815260106020908152604091829020805460ff191685151590811790915591519182527f1d9a11e204b58ad56c619c61600e42167624659d218f0143f1f64956b0daae6c9101611240565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6113b0611ab4565b801515600f60019054906101000a900460ff1615150361141d5760405162461bcd60e51b815260206004820152602260248201527f73776170456e61626c656420616c726561647920617420746869732073746174604482015261329760f11b6064820152608401610828565b600f80549115156101000261ff0019909216919091179055565b61143f611ab4565b6001600160a01b0381166114a45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610828565b6108aa81611c3e565b6114b5611ab4565b6001600160a01b0381166114cd576108aa3347611cbc565b6040516370a0823160e01b815230600482015281905f906001600160a01b038316906370a0823190602401602060405180830381865afa158015611513573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115379190612356565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb906044016020604051808303815f875af1158015611584573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115a891906122f1565b50505050565b6001600160a01b0383166116105760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610828565b6001600160a01b0382166116715760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610828565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f6116dc848461137e565b90505f1981146115a857818110156117365760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610828565b6115a884848484036115ae565b6001600160a01b0383166117695760405162461bcd60e51b81526004016108289061236d565b6001600160a01b03821661178f5760405162461bcd60e51b8152600401610828906123b2565b600f5462010000900460ff16806117bd57506001600160a01b0383165f9081526008602052604090205460ff165b806117df57506001600160a01b0382165f9081526008602052604090205460ff165b61182b5760405162461bcd60e51b815260206004820152601860248201527f54726164696e67206e6f742079657420656e61626c65642100000000000000006044820152606401610828565b805f036118425761183d83835f611dd1565b505050565b305f90815260208190526040902054600e54811080159081906118685750600f5460ff16155b801561188157506007546001600160a01b038581169116145b80156118945750600f54610100900460ff165b156118ba57600f805460ff191660011790556118af82611ef9565b600f805460ff191690555b6001600160a01b0385165f9081526008602052604081205460ff16806118f757506001600160a01b0385165f9081526008602052604090205460ff165b806119045750600f5460ff165b1561191057505f611951565b6007546001600160a01b039081169087160361192f5750600954611951565b6007546001600160a01b039081169086160361194e5750600a54611951565b505f5b80156119a9575f606461196483876123f5565b61196e9190612337565b905061197a818661240c565b9450611987873083611dd1565b611992600582612337565b600b5f8282546119a291906122c3565b9091555050505b60115460ff1615611aa1576001600160a01b0386165f9081526010602052604090205460ff161580156119f457506001600160a01b0385165f9081526010602052604090205460ff16155b8015611a0e57506007546001600160a01b03868116911614155b15611aa1576001600160a01b0385165f90815260208190526040902054601254611a3886836122c3565b1115611a9f5760405162461bcd60e51b815260206004820152603060248201527f4d617857616c6c65743a20526563697069656e7420657863656564732074686560448201526f081b585e15d85b1b195d105b5bdd5b9d60821b6064820152608401610828565b505b611aac868686611dd1565b505050505050565b6005546001600160a01b03163314610ada5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610828565b6001600160a01b038216611b6e5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610828565b6001600160a01b0382165f9081526020819052604090205481811015611be15760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610828565b6001600160a01b0383165f818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b600d546001600160a01b03163314610ada57604051639eaab64360e01b8152336004820152602401610828565b80471015611d0c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610828565b5f826001600160a01b0316826040515f6040518083038185875af1925050503d805f8114611d55576040519150601f19603f3d011682016040523d82523d5f602084013e611d5a565b606091505b505090508061183d5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610828565b6001600160a01b038316611df75760405162461bcd60e51b81526004016108289061236d565b6001600160a01b038216611e1d5760405162461bcd60e51b8152600401610828906123b2565b6001600160a01b0383165f9081526020819052604090205481811015611e945760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610828565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36115a8565b60408051600280825260608201835247925f92919060208301908036833701905050905030815f81518110611f3057611f3061241f565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611f87573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fab91906122d6565b81600181518110611fbe57611fbe61241f565b6001600160a01b03928316602091820292909201015260065460405163791ac94760e01b815291169063791ac947906120039086905f90869030904290600401612433565b5f604051808303815f87803b15801561201a575f80fd5b505af115801561202c573d5f803e3d5ffd5b505050505f824761203d919061240c565b90505f84600b548361204f91906123f5565b6120599190612337565b600d54909150612072906001600160a01b031682611cbc565b600c54612088906001600160a01b031647611cbc565b5f600b5560408051868152602081018490527fb50aed7fbaeefa2bce6ba44da16fd329220ed1227e4d4237ae0b596cf588c924910160405180910390a15050505050565b5f6020808352835180828501525f5b818110156120f7578581018301518582016040015282016120db565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146108aa575f80fd5b5f806040838503121561213c575f80fd5b823561214781612117565b946020939093013593505050565b5f805f60608486031215612167575f80fd5b833561217281612117565b9250602084013561218281612117565b929592945050506040919091013590565b80151581146108aa575f80fd5b5f602082840312156121b0575f80fd5b81356121bb81612193565b9392505050565b5f602082840312156121d2575f80fd5b5035919050565b5f602082840312156121e9575f80fd5b81356121bb81612117565b5f8060408385031215612205575f80fd5b50508035926020909101359150565b5f8060408385031215612225575f80fd5b823561223081612117565b9150602083013561224081612193565b809150509250929050565b5f806040838503121561225c575f80fd5b823561226781612117565b9150602083013561224081612117565b600181811c9082168061228b57607f821691505b6020821081036122a957634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561078d5761078d6122af565b5f602082840312156122e6575f80fd5b81516121bb81612117565b5f60208284031215612301575f80fd5b81516121bb81612193565b5f805f6060848603121561231e575f80fd5b8351925060208401519150604084015190509250925092565b5f8261235157634e487b7160e01b5f52601260045260245ffd5b500490565b5f60208284031215612366575f80fd5b5051919050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b808202811582820484141761078d5761078d6122af565b8181038181111561078d5761078d6122af565b634e487b7160e01b5f52603260045260245ffd5b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b818110156124815784516001600160a01b03168352938301939183019160010161245c565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220bea862d10d55dcce856d70d8f07b16a09831a2bc9645f140cd435aa5785dd74a64736f6c63430008150033
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.