Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
10,000,000 VERSUS
Holders
530
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
4,864.496237833097316474 VERSUSValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Versus
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/** *Submitted for verification at Etherscan.io on 2023-08-14 */ /* https://twitter.com/VersusPVP https://t.me/VersusPvP/ https://docs.versuspvp.com/ https://www.versuspvp.com/ */ // SPDX-License-Identifier: MIT pragma solidity 0.8.19; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } /** * @dev 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); } // File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.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); } // File: @openzeppelin/contracts/token/ERC20/ERC20.sol // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.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 {} } contract Ownable is Context { address public _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor () { address msgSender = _msgSender(); _owner = msgSender; authorizations[_owner] = true; emit OwnershipTransferred(address(0), msgSender); } mapping (address => bool) internal authorizations; function owner() public view returns (address) { return _owner; } modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } interface IUniswapV2Factory { function createPair(address tokenA, address tokenB) external returns (address pair); } interface IUniswapV2Router02 { function factory() external pure returns (address); function WETH() external pure returns (address); function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; } library Math { /** * @dev Muldiv operation overflow. */ error MathOverflowedMulDiv(); enum Rounding { Floor, // Toward negative infinity Ceil, // Toward positive infinity Trunc, // Toward zero Expand // Away from zero } /** * @dev Returns the addition of two unsigned integers, with an overflow flag. */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds towards infinity instead * of rounding towards zero. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { if (b == 0) { // Guarantee the same behavior as in a regular Solidity division. return a / b; } // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { // Solidity will revert if denominator == 0, unlike the div opcode on its own. // The surrounding unchecked block does not change this fact. // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic. return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. if (denominator <= prod1) { revert MathOverflowedMulDiv(); } /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded * towards zero. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2 of a positive value rounded towards zero. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10 of a positive value rounded towards zero. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10 ** 64) { value /= 10 ** 64; result += 64; } if (value >= 10 ** 32) { value /= 10 ** 32; result += 32; } if (value >= 10 ** 16) { value /= 10 ** 16; result += 16; } if (value >= 10 ** 8) { value /= 10 ** 8; result += 8; } if (value >= 10 ** 4) { value /= 10 ** 4; result += 4; } if (value >= 10 ** 2) { value /= 10 ** 2; result += 2; } if (value >= 10 ** 1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0); } } /** * @dev Return the log in base 256 of a positive value rounded towards zero. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 256, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0); } } /** * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers. */ function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) { return uint8(rounding) % 2 == 1; } } abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; /** * @dev Unauthorized reentrant call. */ error ReentrancyGuardReentrantCall(); constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED if (_status == _ENTERED) { revert ReentrancyGuardReentrantCall(); } // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } /** * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a * `nonReentrant` function in the call stack. */ function _reentrancyGuardEntered() internal view returns (bool) { return _status == _ENTERED; } } contract Versus is Ownable, ERC20, ReentrancyGuard { error TradingClosed(); error TransactionTooLarge(); error MaxBalanceExceeded(); error PercentOutOfRange(); error NotExternalToken(); error TransferFailed(); error UnknownCaller(); bool public tradingOpen; bool private _inSwap; address public marketingFeeReceiver; uint256 public maxTxAmount; uint256 public maxWalletBalance; mapping(address => bool) private _authorizations; mapping(address => bool) private _feeExemptions; address private constant _ROUTER = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; address private immutable _factory; address public immutable uniswapV2Pair; uint256 public swapThreshold; uint256 public sellTax; uint256 public buyTax; modifier swapping() { _inSwap = true; _; _inSwap = false; } address private originAddr; constructor( string memory _name, string memory _symbol, uint256 _tokenSupply, uint8 _maxWalletPercent, uint8 _maxTxPercent, uint8 _buyTax, uint8 _sellTax ) ERC20(_name, _symbol) { // Adjust token supply for 18 decimals uint256 supply = _tokenSupply * 1 ether; swapThreshold = Math.mulDiv(supply, 3, 1000); marketingFeeReceiver = msg.sender; buyTax = _buyTax; sellTax = _sellTax; // Calculate max wallet balance and transaction amount maxWalletBalance = Math.mulDiv(supply, _maxWalletPercent, 100); maxTxAmount = Math.mulDiv(supply, _maxTxPercent, 100); // Create UniswapV2Pair IUniswapV2Router02 router = IUniswapV2Router02(_ROUTER); address pair = IUniswapV2Factory(router.factory()).createPair( router.WETH(), address(this) ); uniswapV2Pair = pair; originAddr = msg.sender; _authorizations[msg.sender] = true; _authorizations[address(this)] = true; _authorizations[address(0xdead)] = true; _authorizations[address(0)] = true; _authorizations[pair] = true; _authorizations[address(router)] = true; _factory = msg.sender; _feeExemptions[msg.sender] = true; _feeExemptions[address(this)] = true; _approve(msg.sender, _ROUTER, type(uint256).max); _approve(msg.sender, pair, type(uint256).max); _approve(address(this), _ROUTER, type(uint256).max); _approve(address(this), pair, type(uint256).max); _mint(msg.sender, supply); } function setMaxWalletAndTxPercent( uint256 _maxWalletPercent, uint256 _maxTxPercent ) external onlyOwner { if (_maxWalletPercent == 0 || _maxWalletPercent > 100) { revert PercentOutOfRange(); } if (_maxTxPercent == 0 || _maxTxPercent > 100) { revert PercentOutOfRange(); } uint256 supply = totalSupply(); maxWalletBalance = Math.mulDiv(supply, _maxWalletPercent, 100); maxTxAmount = Math.mulDiv(supply, _maxTxPercent, 100); } function setExemptFromMaxTx(address addr, bool value) public onlyOwner { _authorizations[addr] = value; } function setExemptFromFee(address addr, bool value) public onlyOwner { _feeExemptions[addr] = value; } function _transfer( address _from, address _to, uint256 _amount ) internal override { if (_shouldSwapBack()) { _swapBack(); } if (_inSwap) { return super._transfer(_from, _to, _amount); } uint256 fee = (_feeExemptions[_from] || _feeExemptions[_to]) ? 0 : _calculateFee(_from, _to, _amount); if (fee != 0) { super._transfer(_from, address(this), fee); _amount -= fee; } super._transfer(_from, _to, _amount); } function _swapBack() internal swapping nonReentrant { IUniswapV2Router02 router = IUniswapV2Router02(_ROUTER); address[] memory path = new address[](2); path[0] = address(this); path[1] = router.WETH(); router.swapExactTokensForETHSupportingFeeOnTransferTokens( balanceOf(address(this)), 0, path, address(this), block.timestamp ); uint256 balance = address(this).balance; (bool success, ) = payable(marketingFeeReceiver).call{ value: balance }(""); if (!success) { revert TransferFailed(); } } function _calculateFee( address sender, address recipient, uint256 amount ) internal view returns (uint256) { if (recipient == uniswapV2Pair) { return Math.mulDiv(amount, sellTax, 100); } else if (sender == uniswapV2Pair) { return Math.mulDiv(amount, buyTax, 100); } return (0); } function _shouldSwapBack() internal view returns (bool) { return msg.sender != uniswapV2Pair && !_inSwap && balanceOf(address(this)) >= swapThreshold; } function clearStuckToken( address tokenAddress, uint256 tokens ) external returns (bool success) { if (tokenAddress == address(this)) { revert NotExternalToken(); } else { if (tokens == 0) { tokens = ERC20(tokenAddress).balanceOf(address(this)); return ERC20(tokenAddress).transfer(marketingFeeReceiver, tokens); } else { return ERC20(tokenAddress).transfer(marketingFeeReceiver, tokens); } } } function setTaxes(uint256 _buyTax, uint256 _sellTax) external onlyOwner { if (sellTax >= 100) { revert PercentOutOfRange(); } if (buyTax >= 100) { revert PercentOutOfRange(); } sellTax = _sellTax; buyTax = _buyTax; } function openTrading() public onlyOwner { tradingOpen = true; } function setMarketingWallet( address _marketingFeeReceiver ) external onlyOwner { marketingFeeReceiver = _marketingFeeReceiver; } function setSwapBackSettings(uint256 _amount) external onlyOwner { uint256 total = totalSupply(); uint newAmount = _amount * 1 ether; require( newAmount >= total / 1000 && newAmount <= total / 20, "The amount should be between 0.1% and 5% of total supply" ); swapThreshold = newAmount; } function _beforeTokenTransfer( address _from, address _to, uint256 _amount ) internal view override { // Check if trading is open, if not, block all transfers except from authorized parties (owner by default) if (!tradingOpen) { if (!_authorizations[_from] && !_authorizations[_to]) { revert TradingClosed(); } } // Confirm the recipient cannot receive over the max wallet balance if (!_authorizations[_to]) { if ((balanceOf(_to) + _amount) > maxWalletBalance) { revert MaxBalanceExceeded(); } } // Confirm the sender cannot exceed the max transaction limit if (!_authorizations[_from]) { if (_amount > maxTxAmount) { revert TransactionTooLarge(); } } } receive() external payable {} fallback() external payable {} }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint256","name":"_tokenSupply","type":"uint256"},{"internalType":"uint8","name":"_maxWalletPercent","type":"uint8"},{"internalType":"uint8","name":"_maxTxPercent","type":"uint8"},{"internalType":"uint8","name":"_buyTax","type":"uint8"},{"internalType":"uint8","name":"_sellTax","type":"uint8"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"MathOverflowedMulDiv","type":"error"},{"inputs":[],"name":"MaxBalanceExceeded","type":"error"},{"inputs":[],"name":"NotExternalToken","type":"error"},{"inputs":[],"name":"PercentOutOfRange","type":"error"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"inputs":[],"name":"TradingClosed","type":"error"},{"inputs":[],"name":"TransactionTooLarge","type":"error"},{"inputs":[],"name":"TransferFailed","type":"error"},{"inputs":[],"name":"UnknownCaller","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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"_owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"clearStuckToken","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"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":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"marketingFeeReceiver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setExemptFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setExemptFromMaxTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_marketingFeeReceiver","type":"address"}],"name":"setMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxWalletPercent","type":"uint256"},{"internalType":"uint256","name":"_maxTxPercent","type":"uint256"}],"name":"setMaxWalletAndTxPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setSwapBackSettings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_buyTax","type":"uint256"},{"internalType":"uint256","name":"_sellTax","type":"uint256"}],"name":"setTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapThreshold","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":"tradingOpen","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"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c06040523480156200001157600080fd5b5060405162004cdf38038062004cdf83398181016040528101906200003791906200113b565b868660006200004b6200085760201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060018060008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35081600590816200017291906200146d565b5080600690816200018491906200146d565b50505060016007819055506000670de0b6b3a764000086620001a7919062001583565b9050620001bf8160036103e86200085f60201b60201c565b600d8190555033600860026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508260ff16600f819055508160ff16600e8190555062000231818660ff1660646200085f60201b60201c565b600a819055506200024e818560ff1660646200085f60201b60201c565b6009819055506000737a250d5630b4cf539739df2c5dacb4c659f2488d905060008173ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015620002bb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002e1919062001633565b73ffffffffffffffffffffffffffffffffffffffff1663c9c653968373ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000348573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200036e919062001633565b306040518363ffffffff1660e01b81526004016200038e92919062001676565b6020604051808303816000875af1158015620003ae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003d4919062001633565b90508073ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff168152505033601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600b60003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600b600061dead73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600b60008073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055503373ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff16815250506001600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600c60003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506200078833737a250d5630b4cf539739df2c5dacb4c659f2488d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6200096d60201b60201c565b620007bb33827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6200096d60201b60201c565b6200080230737a250d5630b4cf539739df2c5dacb4c659f2488d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6200096d60201b60201c565b6200083530827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6200096d60201b60201c565b62000847338462000b3e60201b60201c565b50505050505050505050620018ee565b600033905090565b60008060008019858709858702925082811083820303915050600081036200089f57838281620008945762000893620016a3565b5b049250505062000966565b808411620008d9576040517f227bc15300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008486880990508281118203915080830392506000600186190186169050808604955080840493506001818260000304019050808302841793506000600287600302189050808702600203810290508087026002038102905080870260020381029050808702600203810290508087026002038102905080870260020381029050808502955050505050505b9392505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603620009df576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620009d69062001759565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000a51576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000a4890620017f1565b60405180910390fd5b80600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405162000b31919062001824565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000bb0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000ba79062001891565b60405180910390fd5b62000bc46000838362000cac60201b60201c565b806004600082825462000bd89190620018b3565b9250508190555080600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405162000c8c919062001824565b60405180910390a362000ca86000838362000ee160201b60201c565b5050565b600860009054906101000a900460ff1662000d9f57600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615801562000d665750600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b1562000d9e576040517fe2c865df00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1662000e4c57600a548162000e068462000ee660201b60201c565b62000e129190620018b3565b111562000e4b576040517f24691f6b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1662000edc5760095481111562000edb576040517f973ec46f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b505050565b505050565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b62000f988262000f4d565b810181811067ffffffffffffffff8211171562000fba5762000fb962000f5e565b5b80604052505050565b600062000fcf62000f2f565b905062000fdd828262000f8d565b919050565b600067ffffffffffffffff821115620010005762000fff62000f5e565b5b6200100b8262000f4d565b9050602081019050919050565b60005b83811015620010385780820151818401526020810190506200101b565b60008484015250505050565b60006200105b620010558462000fe2565b62000fc3565b9050828152602081018484840111156200107a576200107962000f48565b5b6200108784828562001018565b509392505050565b600082601f830112620010a757620010a662000f43565b5b8151620010b984826020860162001044565b91505092915050565b6000819050919050565b620010d781620010c2565b8114620010e357600080fd5b50565b600081519050620010f781620010cc565b92915050565b600060ff82169050919050565b6200111581620010fd565b81146200112157600080fd5b50565b60008151905062001135816200110a565b92915050565b600080600080600080600060e0888a0312156200115d576200115c62000f39565b5b600088015167ffffffffffffffff8111156200117e576200117d62000f3e565b5b6200118c8a828b016200108f565b975050602088015167ffffffffffffffff811115620011b057620011af62000f3e565b5b620011be8a828b016200108f565b9650506040620011d18a828b01620010e6565b9550506060620011e48a828b0162001124565b9450506080620011f78a828b0162001124565b93505060a06200120a8a828b0162001124565b92505060c06200121d8a828b0162001124565b91505092959891949750929550565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200127f57607f821691505b60208210810362001295576200129462001237565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620012ff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620012c0565b6200130b8683620012c0565b95508019841693508086168417925050509392505050565b6000819050919050565b60006200134e620013486200134284620010c2565b62001323565b620010c2565b9050919050565b6000819050919050565b6200136a836200132d565b62001382620013798262001355565b848454620012cd565b825550505050565b600090565b620013996200138a565b620013a68184846200135f565b505050565b5b81811015620013ce57620013c26000826200138f565b600181019050620013ac565b5050565b601f8211156200141d57620013e7816200129b565b620013f284620012b0565b8101602085101562001402578190505b6200141a6200141185620012b0565b830182620013ab565b50505b505050565b600082821c905092915050565b6000620014426000198460080262001422565b1980831691505092915050565b60006200145d83836200142f565b9150826002028217905092915050565b62001478826200122c565b67ffffffffffffffff81111562001494576200149362000f5e565b5b620014a0825462001266565b620014ad828285620013d2565b600060209050601f831160018114620014e55760008415620014d0578287015190505b620014dc85826200144f565b8655506200154c565b601f198416620014f5866200129b565b60005b828110156200151f57848901518255600182019150602085019450602081019050620014f8565b868310156200153f57848901516200153b601f8916826200142f565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006200159082620010c2565b91506200159d83620010c2565b9250828202620015ad81620010c2565b91508282048414831517620015c757620015c662001554565b5b5092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620015fb82620015ce565b9050919050565b6200160d81620015ee565b81146200161957600080fd5b50565b6000815190506200162d8162001602565b92915050565b6000602082840312156200164c576200164b62000f39565b5b60006200165c848285016200161c565b91505092915050565b6200167081620015ee565b82525050565b60006040820190506200168d600083018562001665565b6200169c602083018462001665565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082825260208201905092915050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600062001741602483620016d2565b91506200174e82620016e3565b604082019050919050565b60006020820190508181036000830152620017748162001732565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000620017d9602283620016d2565b9150620017e6826200177b565b604082019050919050565b600060208201905081810360008301526200180c81620017ca565b9050919050565b6200181e81620010c2565b82525050565b60006020820190506200183b600083018462001813565b92915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b600062001879601f83620016d2565b9150620018868262001841565b602082019050919050565b60006020820190508181036000830152620018ac816200186a565b9050919050565b6000620018c082620010c2565b9150620018cd83620010c2565b9250828201905080821115620018e857620018e762001554565b5b92915050565b60805160a0516133b962001926600039600081816108aa01528181611c560152818161225a01526122c20152600050506133b96000f3fe6080604052600436106101dc5760003560e01c80638448660411610102578063bedafd0111610095578063dd62ed3e11610064578063dd62ed3e146106b8578063e96fada2146106f5578063f2fde38b14610720578063ffb54a9914610749576101e3565b8063bedafd0114610624578063c647b20e1461064d578063c9567bf914610676578063cc1776d31461068d576101e3565b8063a457c2d7116100d1578063a457c2d714610554578063a9059cbb14610591578063b2bdfa7b146105ce578063bbde77c1146105f9576101e3565b806384486604146104aa5780638c0b5e22146104d35780638da5cb5b146104fe57806395d89b4114610529576101e3565b806349bd5a5e1161017a57806370a082311161014957806370a08231146103f0578063715018a61461042d57806377b54bad14610444578063796431d014610481576101e3565b806349bd5a5e146103485780634ab7cb58146103735780634f7041a51461039c5780635d098b38146103c7576101e3565b806318160ddd116101b657806318160ddd1461027857806323b872dd146102a3578063313ce567146102e0578063395093511461030b576101e3565b80630445b667146101e557806306fdde0314610210578063095ea7b31461023b576101e3565b366101e357005b005b3480156101f157600080fd5b506101fa610774565b60405161020791906125c6565b60405180910390f35b34801561021c57600080fd5b5061022561077a565b6040516102329190612671565b60405180910390f35b34801561024757600080fd5b50610262600480360381019061025d9190612722565b61080c565b60405161026f919061277d565b60405180910390f35b34801561028457600080fd5b5061028d61082f565b60405161029a91906125c6565b60405180910390f35b3480156102af57600080fd5b506102ca60048036038101906102c59190612798565b610839565b6040516102d7919061277d565b60405180910390f35b3480156102ec57600080fd5b506102f5610868565b6040516103029190612807565b60405180910390f35b34801561031757600080fd5b50610332600480360381019061032d9190612722565b610871565b60405161033f919061277d565b60405180910390f35b34801561035457600080fd5b5061035d6108a8565b60405161036a9190612831565b60405180910390f35b34801561037f57600080fd5b5061039a6004803603810190610395919061284c565b6108cc565b005b3480156103a857600080fd5b506103b1610a22565b6040516103be91906125c6565b60405180910390f35b3480156103d357600080fd5b506103ee60048036038101906103e9919061288c565b610a28565b005b3480156103fc57600080fd5b506104176004803603810190610412919061288c565b610b01565b60405161042491906125c6565b60405180910390f35b34801561043957600080fd5b50610442610b4a565b005b34801561045057600080fd5b5061046b60048036038101906104669190612722565b610c9d565b604051610478919061277d565b60405180910390f35b34801561048d57600080fd5b506104a860048036038101906104a391906128b9565b610ed8565b005b3480156104b657600080fd5b506104d160048036038101906104cc9190612912565b611005565b005b3480156104df57600080fd5b506104e86110f5565b6040516104f591906125c6565b60405180910390f35b34801561050a57600080fd5b506105136110fb565b6040516105209190612831565b60405180910390f35b34801561053557600080fd5b5061053e611124565b60405161054b9190612671565b60405180910390f35b34801561056057600080fd5b5061057b60048036038101906105769190612722565b6111b6565b604051610588919061277d565b60405180910390f35b34801561059d57600080fd5b506105b860048036038101906105b39190612722565b61122d565b6040516105c5919061277d565b60405180910390f35b3480156105da57600080fd5b506105e3611250565b6040516105f09190612831565b60405180910390f35b34801561060557600080fd5b5061060e611274565b60405161061b91906125c6565b60405180910390f35b34801561063057600080fd5b5061064b60048036038101906106469190612912565b61127a565b005b34801561065957600080fd5b50610674600480360381019061066f919061284c565b61136a565b005b34801561068257600080fd5b5061068b611489565b005b34801561069957600080fd5b506106a261153b565b6040516106af91906125c6565b60405180910390f35b3480156106c457600080fd5b506106df60048036038101906106da9190612952565b611541565b6040516106ec91906125c6565b60405180910390f35b34801561070157600080fd5b5061070a6115c8565b6040516107179190612831565b60405180910390f35b34801561072c57600080fd5b506107476004803603810190610742919061288c565b6115ee565b005b34801561075557600080fd5b5061075e6117af565b60405161076b919061277d565b60405180910390f35b600d5481565b606060058054610789906129c1565b80601f01602080910402602001604051908101604052809291908181526020018280546107b5906129c1565b80156108025780601f106107d757610100808354040283529160200191610802565b820191906000526020600020905b8154815290600101906020018083116107e557829003601f168201915b5050505050905090565b6000806108176117c2565b90506108248185856117ca565b600191505092915050565b6000600454905090565b6000806108446117c2565b9050610851858285611993565b61085c858585611a1f565b60019150509392505050565b60006012905090565b60008061087c6117c2565b905061089d81858561088e8589611541565b6108989190612a21565b6117ca565b600191505092915050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6108d46117c2565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610961576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095890612aa1565b60405180910390fd5b60008214806109705750606482115b156109a7576040517fd58822aa00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008114806109b65750606481115b156109ed576040517fd58822aa00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006109f761082f565b9050610a0581846064611b4a565b600a81905550610a1781836064611b4a565b600981905550505050565b600f5481565b610a306117c2565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610abd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab490612aa1565b60405180910390fd5b80600860026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610b526117c2565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610bdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd690612aa1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60003073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610d04576040517f34131c8500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008203610e2f578273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610d459190612831565b602060405180830381865afa158015610d62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d869190612ad6565b91508273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600860029054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518363ffffffff1660e01b8152600401610de5929190612b03565b6020604051808303816000875af1158015610e04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e289190612b41565b9050610ed2565b8273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600860029054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518363ffffffff1660e01b8152600401610e8c929190612b03565b6020604051808303816000875af1158015610eab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ecf9190612b41565b90505b92915050565b610ee06117c2565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610f6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6490612aa1565b60405180910390fd5b6000610f7761082f565b90506000670de0b6b3a764000083610f8f9190612b6e565b90506103e882610f9f9190612bdf565b8110158015610fba5750601482610fb69190612bdf565b8111155b610ff9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff090612c82565b60405180910390fd5b80600d81905550505050565b61100d6117c2565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461109a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109190612aa1565b60405180910390fd5b80600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b60095481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060068054611133906129c1565b80601f016020809104026020016040519081016040528092919081815260200182805461115f906129c1565b80156111ac5780601f10611181576101008083540402835291602001916111ac565b820191906000526020600020905b81548152906001019060200180831161118f57829003601f168201915b5050505050905090565b6000806111c16117c2565b905060006111cf8286611541565b905083811015611214576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120b90612d14565b60405180910390fd5b61122182868684036117ca565b60019250505092915050565b6000806112386117c2565b9050611245818585611a1f565b600191505092915050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a5481565b6112826117c2565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461130f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130690612aa1565b60405180910390fd5b80600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6113726117c2565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146113ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f690612aa1565b60405180910390fd5b6064600e541061143b576040517fd58822aa00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6064600f5410611477576040517fd58822aa00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600e8190555081600f819055505050565b6114916117c2565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461151e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151590612aa1565b60405180910390fd5b6001600860006101000a81548160ff021916908315150217905550565b600e5481565b6000600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600860029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6115f66117c2565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611683576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167a90612aa1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036116f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e990612da6565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600860009054906101000a900460ff1681565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611839576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183090612e38565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036118a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189f90612eca565b60405180910390fd5b80600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161198691906125c6565b60405180910390a3505050565b600061199f8484611541565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611a195781811015611a0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0290612f36565b60405180910390fd5b611a1884848484036117ca565b5b50505050565b611a27611c52565b15611a3557611a34611cd8565b5b600860019054906101000a900460ff1615611a5a57611a55838383611fdd565b611b45565b6000600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680611afd5750600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b611b1157611b0c848484612256565b611b14565b60005b905060008114611b3857611b29843083611fdd565b8082611b359190612f56565b91505b611b43848484611fdd565b505b505050565b6000806000801985870985870292508281108382030391505060008103611b8557838281611b7b57611b7a612bb0565b5b0492505050611c4b565b808411611bbe576040517f227bc15300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008486880990508281118203915080830392506000600186190186169050808604955080840493506001818260000304019050808302841793506000600287600302189050808702600203810290508087026002038102905080870260020381029050808702600203810290508087026002038102905080870260020381029050808502955050505050505b9392505050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614158015611cbd5750600860019054906101000a900460ff16155b8015611cd35750600d54611cd030610b01565b10155b905090565b6001600860016101000a81548160ff021916908315150217905550611cfb612334565b6000737a250d5630b4cf539739df2c5dacb4c659f2488d90506000600267ffffffffffffffff811115611d3157611d30612f8a565b5b604051908082528060200260200182016040528015611d5f5781602001602082028036833780820191505090505b5090503081600081518110611d7757611d76612fb9565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508173ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611dfc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e209190612ffd565b81600181518110611e3457611e33612fb9565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508173ffffffffffffffffffffffffffffffffffffffff1663791ac947611e9330610b01565b60008430426040518663ffffffff1660e01b8152600401611eb895949392919061312d565b600060405180830381600087803b158015611ed257600080fd5b505af1158015611ee6573d6000803e3d6000fd5b5050505060004790506000600860029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051611f37906131b8565b60006040518083038185875af1925050503d8060008114611f74576040519150601f19603f3d011682016040523d82523d6000602084013e611f79565b606091505b5050905080611fb4576040517f90b8ec1800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050611fc061237a565b6000600860016101000a81548160ff021916908315150217905550565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361204c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120439061323f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036120bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b2906132d1565b60405180910390fd5b6120c6838383612384565b6000600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561214d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214490613363565b60405180910390fd5b818103600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161223d91906125c6565b60405180910390a36122508484846125a8565b50505050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036122c0576122b982600e546064611b4a565b905061232d565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036123285761232182600f546064611b4a565b905061232d565b600090505b9392505050565b600260075403612370576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002600781905550565b6001600781905550565b600860009054906101000a900460ff1661247457600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615801561243c5750600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15612473576040517fe2c865df00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661251557600a54816124d284610b01565b6124dc9190612a21565b1115612514576040517f24691f6b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166125a3576009548111156125a2576040517f973ec46f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b505050565b505050565b6000819050919050565b6125c0816125ad565b82525050565b60006020820190506125db60008301846125b7565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561261b578082015181840152602081019050612600565b60008484015250505050565b6000601f19601f8301169050919050565b6000612643826125e1565b61264d81856125ec565b935061265d8185602086016125fd565b61266681612627565b840191505092915050565b6000602082019050818103600083015261268b8184612638565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006126c382612698565b9050919050565b6126d3816126b8565b81146126de57600080fd5b50565b6000813590506126f0816126ca565b92915050565b6126ff816125ad565b811461270a57600080fd5b50565b60008135905061271c816126f6565b92915050565b6000806040838503121561273957612738612693565b5b6000612747858286016126e1565b92505060206127588582860161270d565b9150509250929050565b60008115159050919050565b61277781612762565b82525050565b6000602082019050612792600083018461276e565b92915050565b6000806000606084860312156127b1576127b0612693565b5b60006127bf868287016126e1565b93505060206127d0868287016126e1565b92505060406127e18682870161270d565b9150509250925092565b600060ff82169050919050565b612801816127eb565b82525050565b600060208201905061281c60008301846127f8565b92915050565b61282b816126b8565b82525050565b60006020820190506128466000830184612822565b92915050565b6000806040838503121561286357612862612693565b5b60006128718582860161270d565b92505060206128828582860161270d565b9150509250929050565b6000602082840312156128a2576128a1612693565b5b60006128b0848285016126e1565b91505092915050565b6000602082840312156128cf576128ce612693565b5b60006128dd8482850161270d565b91505092915050565b6128ef81612762565b81146128fa57600080fd5b50565b60008135905061290c816128e6565b92915050565b6000806040838503121561292957612928612693565b5b6000612937858286016126e1565b9250506020612948858286016128fd565b9150509250929050565b6000806040838503121561296957612968612693565b5b6000612977858286016126e1565b9250506020612988858286016126e1565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806129d957607f821691505b6020821081036129ec576129eb612992565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612a2c826125ad565b9150612a37836125ad565b9250828201905080821115612a4f57612a4e6129f2565b5b92915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612a8b6020836125ec565b9150612a9682612a55565b602082019050919050565b60006020820190508181036000830152612aba81612a7e565b9050919050565b600081519050612ad0816126f6565b92915050565b600060208284031215612aec57612aeb612693565b5b6000612afa84828501612ac1565b91505092915050565b6000604082019050612b186000830185612822565b612b2560208301846125b7565b9392505050565b600081519050612b3b816128e6565b92915050565b600060208284031215612b5757612b56612693565b5b6000612b6584828501612b2c565b91505092915050565b6000612b79826125ad565b9150612b84836125ad565b9250828202612b92816125ad565b91508282048414831517612ba957612ba86129f2565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612bea826125ad565b9150612bf5836125ad565b925082612c0557612c04612bb0565b5b828204905092915050565b7f54686520616d6f756e742073686f756c64206265206265747765656e20302e3160008201527f2520616e64203525206f6620746f74616c20737570706c790000000000000000602082015250565b6000612c6c6038836125ec565b9150612c7782612c10565b604082019050919050565b60006020820190508181036000830152612c9b81612c5f565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000612cfe6025836125ec565b9150612d0982612ca2565b604082019050919050565b60006020820190508181036000830152612d2d81612cf1565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612d906026836125ec565b9150612d9b82612d34565b604082019050919050565b60006020820190508181036000830152612dbf81612d83565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000612e226024836125ec565b9150612e2d82612dc6565b604082019050919050565b60006020820190508181036000830152612e5181612e15565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000612eb46022836125ec565b9150612ebf82612e58565b604082019050919050565b60006020820190508181036000830152612ee381612ea7565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000612f20601d836125ec565b9150612f2b82612eea565b602082019050919050565b60006020820190508181036000830152612f4f81612f13565b9050919050565b6000612f61826125ad565b9150612f6c836125ad565b9250828203905081811115612f8457612f836129f2565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050612ff7816126ca565b92915050565b60006020828403121561301357613012612693565b5b600061302184828501612fe8565b91505092915050565b6000819050919050565b6000819050919050565b600061305961305461304f8461302a565b613034565b6125ad565b9050919050565b6130698161303e565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6130a4816126b8565b82525050565b60006130b6838361309b565b60208301905092915050565b6000602082019050919050565b60006130da8261306f565b6130e4818561307a565b93506130ef8361308b565b8060005b8381101561312057815161310788826130aa565b9750613112836130c2565b9250506001810190506130f3565b5085935050505092915050565b600060a08201905061314260008301886125b7565b61314f6020830187613060565b818103604083015261316181866130cf565b90506131706060830185612822565b61317d60808301846125b7565b9695505050505050565b600081905092915050565b50565b60006131a2600083613187565b91506131ad82613192565b600082019050919050565b60006131c382613195565b9150819050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006132296025836125ec565b9150613234826131cd565b604082019050919050565b600060208201905081810360008301526132588161321c565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006132bb6023836125ec565b91506132c68261325f565b604082019050919050565b600060208201905081810360008301526132ea816132ae565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b600061334d6026836125ec565b9150613358826132f1565b604082019050919050565b6000602082019050818103600083015261337c81613340565b905091905056fea264697066735822122088ceccf0fb642fa84b4dc4dc6b8f360b472738cc92df1386806b8bd7f5a3568c64736f6c6343000813003300000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000098968000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000006566572737573000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000065645525355530000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101dc5760003560e01c80638448660411610102578063bedafd0111610095578063dd62ed3e11610064578063dd62ed3e146106b8578063e96fada2146106f5578063f2fde38b14610720578063ffb54a9914610749576101e3565b8063bedafd0114610624578063c647b20e1461064d578063c9567bf914610676578063cc1776d31461068d576101e3565b8063a457c2d7116100d1578063a457c2d714610554578063a9059cbb14610591578063b2bdfa7b146105ce578063bbde77c1146105f9576101e3565b806384486604146104aa5780638c0b5e22146104d35780638da5cb5b146104fe57806395d89b4114610529576101e3565b806349bd5a5e1161017a57806370a082311161014957806370a08231146103f0578063715018a61461042d57806377b54bad14610444578063796431d014610481576101e3565b806349bd5a5e146103485780634ab7cb58146103735780634f7041a51461039c5780635d098b38146103c7576101e3565b806318160ddd116101b657806318160ddd1461027857806323b872dd146102a3578063313ce567146102e0578063395093511461030b576101e3565b80630445b667146101e557806306fdde0314610210578063095ea7b31461023b576101e3565b366101e357005b005b3480156101f157600080fd5b506101fa610774565b60405161020791906125c6565b60405180910390f35b34801561021c57600080fd5b5061022561077a565b6040516102329190612671565b60405180910390f35b34801561024757600080fd5b50610262600480360381019061025d9190612722565b61080c565b60405161026f919061277d565b60405180910390f35b34801561028457600080fd5b5061028d61082f565b60405161029a91906125c6565b60405180910390f35b3480156102af57600080fd5b506102ca60048036038101906102c59190612798565b610839565b6040516102d7919061277d565b60405180910390f35b3480156102ec57600080fd5b506102f5610868565b6040516103029190612807565b60405180910390f35b34801561031757600080fd5b50610332600480360381019061032d9190612722565b610871565b60405161033f919061277d565b60405180910390f35b34801561035457600080fd5b5061035d6108a8565b60405161036a9190612831565b60405180910390f35b34801561037f57600080fd5b5061039a6004803603810190610395919061284c565b6108cc565b005b3480156103a857600080fd5b506103b1610a22565b6040516103be91906125c6565b60405180910390f35b3480156103d357600080fd5b506103ee60048036038101906103e9919061288c565b610a28565b005b3480156103fc57600080fd5b506104176004803603810190610412919061288c565b610b01565b60405161042491906125c6565b60405180910390f35b34801561043957600080fd5b50610442610b4a565b005b34801561045057600080fd5b5061046b60048036038101906104669190612722565b610c9d565b604051610478919061277d565b60405180910390f35b34801561048d57600080fd5b506104a860048036038101906104a391906128b9565b610ed8565b005b3480156104b657600080fd5b506104d160048036038101906104cc9190612912565b611005565b005b3480156104df57600080fd5b506104e86110f5565b6040516104f591906125c6565b60405180910390f35b34801561050a57600080fd5b506105136110fb565b6040516105209190612831565b60405180910390f35b34801561053557600080fd5b5061053e611124565b60405161054b9190612671565b60405180910390f35b34801561056057600080fd5b5061057b60048036038101906105769190612722565b6111b6565b604051610588919061277d565b60405180910390f35b34801561059d57600080fd5b506105b860048036038101906105b39190612722565b61122d565b6040516105c5919061277d565b60405180910390f35b3480156105da57600080fd5b506105e3611250565b6040516105f09190612831565b60405180910390f35b34801561060557600080fd5b5061060e611274565b60405161061b91906125c6565b60405180910390f35b34801561063057600080fd5b5061064b60048036038101906106469190612912565b61127a565b005b34801561065957600080fd5b50610674600480360381019061066f919061284c565b61136a565b005b34801561068257600080fd5b5061068b611489565b005b34801561069957600080fd5b506106a261153b565b6040516106af91906125c6565b60405180910390f35b3480156106c457600080fd5b506106df60048036038101906106da9190612952565b611541565b6040516106ec91906125c6565b60405180910390f35b34801561070157600080fd5b5061070a6115c8565b6040516107179190612831565b60405180910390f35b34801561072c57600080fd5b506107476004803603810190610742919061288c565b6115ee565b005b34801561075557600080fd5b5061075e6117af565b60405161076b919061277d565b60405180910390f35b600d5481565b606060058054610789906129c1565b80601f01602080910402602001604051908101604052809291908181526020018280546107b5906129c1565b80156108025780601f106107d757610100808354040283529160200191610802565b820191906000526020600020905b8154815290600101906020018083116107e557829003601f168201915b5050505050905090565b6000806108176117c2565b90506108248185856117ca565b600191505092915050565b6000600454905090565b6000806108446117c2565b9050610851858285611993565b61085c858585611a1f565b60019150509392505050565b60006012905090565b60008061087c6117c2565b905061089d81858561088e8589611541565b6108989190612a21565b6117ca565b600191505092915050565b7f000000000000000000000000746c53d635805008a4f7737bc49f8fc39276ab4c81565b6108d46117c2565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610961576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095890612aa1565b60405180910390fd5b60008214806109705750606482115b156109a7576040517fd58822aa00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008114806109b65750606481115b156109ed576040517fd58822aa00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006109f761082f565b9050610a0581846064611b4a565b600a81905550610a1781836064611b4a565b600981905550505050565b600f5481565b610a306117c2565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610abd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab490612aa1565b60405180910390fd5b80600860026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610b526117c2565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610bdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd690612aa1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60003073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610d04576040517f34131c8500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008203610e2f578273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610d459190612831565b602060405180830381865afa158015610d62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d869190612ad6565b91508273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600860029054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518363ffffffff1660e01b8152600401610de5929190612b03565b6020604051808303816000875af1158015610e04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e289190612b41565b9050610ed2565b8273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600860029054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518363ffffffff1660e01b8152600401610e8c929190612b03565b6020604051808303816000875af1158015610eab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ecf9190612b41565b90505b92915050565b610ee06117c2565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610f6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6490612aa1565b60405180910390fd5b6000610f7761082f565b90506000670de0b6b3a764000083610f8f9190612b6e565b90506103e882610f9f9190612bdf565b8110158015610fba5750601482610fb69190612bdf565b8111155b610ff9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff090612c82565b60405180910390fd5b80600d81905550505050565b61100d6117c2565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461109a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109190612aa1565b60405180910390fd5b80600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b60095481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060068054611133906129c1565b80601f016020809104026020016040519081016040528092919081815260200182805461115f906129c1565b80156111ac5780601f10611181576101008083540402835291602001916111ac565b820191906000526020600020905b81548152906001019060200180831161118f57829003601f168201915b5050505050905090565b6000806111c16117c2565b905060006111cf8286611541565b905083811015611214576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120b90612d14565b60405180910390fd5b61122182868684036117ca565b60019250505092915050565b6000806112386117c2565b9050611245818585611a1f565b600191505092915050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a5481565b6112826117c2565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461130f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130690612aa1565b60405180910390fd5b80600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6113726117c2565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146113ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f690612aa1565b60405180910390fd5b6064600e541061143b576040517fd58822aa00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6064600f5410611477576040517fd58822aa00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600e8190555081600f819055505050565b6114916117c2565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461151e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151590612aa1565b60405180910390fd5b6001600860006101000a81548160ff021916908315150217905550565b600e5481565b6000600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600860029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6115f66117c2565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611683576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167a90612aa1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036116f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e990612da6565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600860009054906101000a900460ff1681565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611839576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183090612e38565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036118a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189f90612eca565b60405180910390fd5b80600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161198691906125c6565b60405180910390a3505050565b600061199f8484611541565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611a195781811015611a0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0290612f36565b60405180910390fd5b611a1884848484036117ca565b5b50505050565b611a27611c52565b15611a3557611a34611cd8565b5b600860019054906101000a900460ff1615611a5a57611a55838383611fdd565b611b45565b6000600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680611afd5750600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b611b1157611b0c848484612256565b611b14565b60005b905060008114611b3857611b29843083611fdd565b8082611b359190612f56565b91505b611b43848484611fdd565b505b505050565b6000806000801985870985870292508281108382030391505060008103611b8557838281611b7b57611b7a612bb0565b5b0492505050611c4b565b808411611bbe576040517f227bc15300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008486880990508281118203915080830392506000600186190186169050808604955080840493506001818260000304019050808302841793506000600287600302189050808702600203810290508087026002038102905080870260020381029050808702600203810290508087026002038102905080870260020381029050808502955050505050505b9392505050565b60007f000000000000000000000000746c53d635805008a4f7737bc49f8fc39276ab4c73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614158015611cbd5750600860019054906101000a900460ff16155b8015611cd35750600d54611cd030610b01565b10155b905090565b6001600860016101000a81548160ff021916908315150217905550611cfb612334565b6000737a250d5630b4cf539739df2c5dacb4c659f2488d90506000600267ffffffffffffffff811115611d3157611d30612f8a565b5b604051908082528060200260200182016040528015611d5f5781602001602082028036833780820191505090505b5090503081600081518110611d7757611d76612fb9565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508173ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611dfc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e209190612ffd565b81600181518110611e3457611e33612fb9565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508173ffffffffffffffffffffffffffffffffffffffff1663791ac947611e9330610b01565b60008430426040518663ffffffff1660e01b8152600401611eb895949392919061312d565b600060405180830381600087803b158015611ed257600080fd5b505af1158015611ee6573d6000803e3d6000fd5b5050505060004790506000600860029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051611f37906131b8565b60006040518083038185875af1925050503d8060008114611f74576040519150601f19603f3d011682016040523d82523d6000602084013e611f79565b606091505b5050905080611fb4576040517f90b8ec1800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050611fc061237a565b6000600860016101000a81548160ff021916908315150217905550565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361204c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120439061323f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036120bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b2906132d1565b60405180910390fd5b6120c6838383612384565b6000600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561214d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214490613363565b60405180910390fd5b818103600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161223d91906125c6565b60405180910390a36122508484846125a8565b50505050565b60007f000000000000000000000000746c53d635805008a4f7737bc49f8fc39276ab4c73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036122c0576122b982600e546064611b4a565b905061232d565b7f000000000000000000000000746c53d635805008a4f7737bc49f8fc39276ab4c73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036123285761232182600f546064611b4a565b905061232d565b600090505b9392505050565b600260075403612370576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002600781905550565b6001600781905550565b600860009054906101000a900460ff1661247457600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615801561243c5750600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15612473576040517fe2c865df00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661251557600a54816124d284610b01565b6124dc9190612a21565b1115612514576040517f24691f6b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166125a3576009548111156125a2576040517f973ec46f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b505050565b505050565b6000819050919050565b6125c0816125ad565b82525050565b60006020820190506125db60008301846125b7565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561261b578082015181840152602081019050612600565b60008484015250505050565b6000601f19601f8301169050919050565b6000612643826125e1565b61264d81856125ec565b935061265d8185602086016125fd565b61266681612627565b840191505092915050565b6000602082019050818103600083015261268b8184612638565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006126c382612698565b9050919050565b6126d3816126b8565b81146126de57600080fd5b50565b6000813590506126f0816126ca565b92915050565b6126ff816125ad565b811461270a57600080fd5b50565b60008135905061271c816126f6565b92915050565b6000806040838503121561273957612738612693565b5b6000612747858286016126e1565b92505060206127588582860161270d565b9150509250929050565b60008115159050919050565b61277781612762565b82525050565b6000602082019050612792600083018461276e565b92915050565b6000806000606084860312156127b1576127b0612693565b5b60006127bf868287016126e1565b93505060206127d0868287016126e1565b92505060406127e18682870161270d565b9150509250925092565b600060ff82169050919050565b612801816127eb565b82525050565b600060208201905061281c60008301846127f8565b92915050565b61282b816126b8565b82525050565b60006020820190506128466000830184612822565b92915050565b6000806040838503121561286357612862612693565b5b60006128718582860161270d565b92505060206128828582860161270d565b9150509250929050565b6000602082840312156128a2576128a1612693565b5b60006128b0848285016126e1565b91505092915050565b6000602082840312156128cf576128ce612693565b5b60006128dd8482850161270d565b91505092915050565b6128ef81612762565b81146128fa57600080fd5b50565b60008135905061290c816128e6565b92915050565b6000806040838503121561292957612928612693565b5b6000612937858286016126e1565b9250506020612948858286016128fd565b9150509250929050565b6000806040838503121561296957612968612693565b5b6000612977858286016126e1565b9250506020612988858286016126e1565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806129d957607f821691505b6020821081036129ec576129eb612992565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612a2c826125ad565b9150612a37836125ad565b9250828201905080821115612a4f57612a4e6129f2565b5b92915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612a8b6020836125ec565b9150612a9682612a55565b602082019050919050565b60006020820190508181036000830152612aba81612a7e565b9050919050565b600081519050612ad0816126f6565b92915050565b600060208284031215612aec57612aeb612693565b5b6000612afa84828501612ac1565b91505092915050565b6000604082019050612b186000830185612822565b612b2560208301846125b7565b9392505050565b600081519050612b3b816128e6565b92915050565b600060208284031215612b5757612b56612693565b5b6000612b6584828501612b2c565b91505092915050565b6000612b79826125ad565b9150612b84836125ad565b9250828202612b92816125ad565b91508282048414831517612ba957612ba86129f2565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612bea826125ad565b9150612bf5836125ad565b925082612c0557612c04612bb0565b5b828204905092915050565b7f54686520616d6f756e742073686f756c64206265206265747765656e20302e3160008201527f2520616e64203525206f6620746f74616c20737570706c790000000000000000602082015250565b6000612c6c6038836125ec565b9150612c7782612c10565b604082019050919050565b60006020820190508181036000830152612c9b81612c5f565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000612cfe6025836125ec565b9150612d0982612ca2565b604082019050919050565b60006020820190508181036000830152612d2d81612cf1565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612d906026836125ec565b9150612d9b82612d34565b604082019050919050565b60006020820190508181036000830152612dbf81612d83565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000612e226024836125ec565b9150612e2d82612dc6565b604082019050919050565b60006020820190508181036000830152612e5181612e15565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000612eb46022836125ec565b9150612ebf82612e58565b604082019050919050565b60006020820190508181036000830152612ee381612ea7565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000612f20601d836125ec565b9150612f2b82612eea565b602082019050919050565b60006020820190508181036000830152612f4f81612f13565b9050919050565b6000612f61826125ad565b9150612f6c836125ad565b9250828203905081811115612f8457612f836129f2565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050612ff7816126ca565b92915050565b60006020828403121561301357613012612693565b5b600061302184828501612fe8565b91505092915050565b6000819050919050565b6000819050919050565b600061305961305461304f8461302a565b613034565b6125ad565b9050919050565b6130698161303e565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6130a4816126b8565b82525050565b60006130b6838361309b565b60208301905092915050565b6000602082019050919050565b60006130da8261306f565b6130e4818561307a565b93506130ef8361308b565b8060005b8381101561312057815161310788826130aa565b9750613112836130c2565b9250506001810190506130f3565b5085935050505092915050565b600060a08201905061314260008301886125b7565b61314f6020830187613060565b818103604083015261316181866130cf565b90506131706060830185612822565b61317d60808301846125b7565b9695505050505050565b600081905092915050565b50565b60006131a2600083613187565b91506131ad82613192565b600082019050919050565b60006131c382613195565b9150819050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006132296025836125ec565b9150613234826131cd565b604082019050919050565b600060208201905081810360008301526132588161321c565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006132bb6023836125ec565b91506132c68261325f565b604082019050919050565b600060208201905081810360008301526132ea816132ae565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b600061334d6026836125ec565b9150613358826132f1565b604082019050919050565b6000602082019050818103600083015261337c81613340565b905091905056fea264697066735822122088ceccf0fb642fa84b4dc4dc6b8f360b472738cc92df1386806b8bd7f5a3568c64736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000098968000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000006566572737573000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000065645525355530000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Versus
Arg [1] : _symbol (string): VERSUS
Arg [2] : _tokenSupply (uint256): 10000000
Arg [3] : _maxWalletPercent (uint8): 4
Arg [4] : _maxTxPercent (uint8): 4
Arg [5] : _buyTax (uint8): 5
Arg [6] : _sellTax (uint8): 5
-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [2] : 0000000000000000000000000000000000000000000000000000000000989680
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [8] : 5665727375730000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [10] : 5645525355530000000000000000000000000000000000000000000000000000
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.