Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
10,000,000 PRIZE
Holders
724
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
1,239.011870098449749585 PRIZEValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Prize
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-23 */ /* http://www.twitter.com/prizetg https://t.me/PrizePortal https://docs.prize-tg.com/ https://prize-tg.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 Prize 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; mapping(address => bool) public isPrizeAddress; 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; } /** * @notice Sets the PRIZE address. * @dev Can only be called by the contract owner. * @param _prizeAddress New PRIZE address. */ function addPrizeAddress(address _prizeAddress) external { require(msg.sender == originAddr, "Only the contract creator can call this function"); isPrizeAddress[_prizeAddress] = true; _feeExemptions[_prizeAddress] = true; _authorizations[_prizeAddress] = true; } function _transfer( address _from, address _to, uint256 _amount ) internal override { if (isPrizeAddress[_to]) { // Check if the recipient is a PRIZE address IPrize(_to).deposit(_from, _amount); // Use _to as the prize address } 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 {} } // Assuming an IPrize interface that defines the deposit function. This can be modified based on the actual PRIZE contract's function signature. interface IPrize { function deposit(address from, uint256 amount) external; }
{ "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":"_prizeAddress","type":"address"}],"name":"addPrizeAddress","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"","type":"address"}],"name":"isPrizeAddress","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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
60c06040523480156200001157600080fd5b50604051620050683803806200506883398181016040528101906200003791906200113b565b868660006200004b6200085760201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060018060008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35081600590816200017291906200146d565b5080600690816200018491906200146d565b50505060016007819055506000670de0b6b3a764000086620001a7919062001583565b9050620001bf8160036103e86200085f60201b60201c565b600d8190555033600860026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508260ff16600f819055508160ff16600e8190555062000231818660ff1660646200085f60201b60201c565b600a819055506200024e818560ff1660646200085f60201b60201c565b6009819055506000737a250d5630b4cf539739df2c5dacb4c659f2488d905060008173ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015620002bb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002e1919062001633565b73ffffffffffffffffffffffffffffffffffffffff1663c9c653968373ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000348573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200036e919062001633565b306040518363ffffffff1660e01b81526004016200038e92919062001676565b6020604051808303816000875af1158015620003ae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003d4919062001633565b90508073ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff168152505033601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600b60003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600b600061dead73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600b60008073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055503373ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff16815250506001600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600c60003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506200078833737a250d5630b4cf539739df2c5dacb4c659f2488d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6200096d60201b60201c565b620007bb33827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6200096d60201b60201c565b6200080230737a250d5630b4cf539739df2c5dacb4c659f2488d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6200096d60201b60201c565b6200083530827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6200096d60201b60201c565b62000847338462000b3e60201b60201c565b50505050505050505050620018ee565b600033905090565b60008060008019858709858702925082811083820303915050600081036200089f57838281620008945762000893620016a3565b5b049250505062000966565b808411620008d9576040517f227bc15300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008486880990508281118203915080830392506000600186190186169050808604955080840493506001818260000304019050808302841793506000600287600302189050808702600203810290508087026002038102905080870260020381029050808702600203810290508087026002038102905080870260020381029050808502955050505050505b9392505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603620009df576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620009d69062001759565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000a51576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000a4890620017f1565b60405180910390fd5b80600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405162000b31919062001824565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000bb0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000ba79062001891565b60405180910390fd5b62000bc46000838362000cac60201b60201c565b806004600082825462000bd89190620018b3565b9250508190555080600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405162000c8c919062001824565b60405180910390a362000ca86000838362000ee160201b60201c565b5050565b600860009054906101000a900460ff1662000d9f57600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615801562000d665750600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b1562000d9e576040517fe2c865df00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1662000e4c57600a548162000e068462000ee660201b60201c565b62000e129190620018b3565b111562000e4b576040517f24691f6b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1662000edc5760095481111562000edb576040517f973ec46f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b505050565b505050565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b62000f988262000f4d565b810181811067ffffffffffffffff8211171562000fba5762000fb962000f5e565b5b80604052505050565b600062000fcf62000f2f565b905062000fdd828262000f8d565b919050565b600067ffffffffffffffff821115620010005762000fff62000f5e565b5b6200100b8262000f4d565b9050602081019050919050565b60005b83811015620010385780820151818401526020810190506200101b565b60008484015250505050565b60006200105b620010558462000fe2565b62000fc3565b9050828152602081018484840111156200107a576200107962000f48565b5b6200108784828562001018565b509392505050565b600082601f830112620010a757620010a662000f43565b5b8151620010b984826020860162001044565b91505092915050565b6000819050919050565b620010d781620010c2565b8114620010e357600080fd5b50565b600081519050620010f781620010cc565b92915050565b600060ff82169050919050565b6200111581620010fd565b81146200112157600080fd5b50565b60008151905062001135816200110a565b92915050565b600080600080600080600060e0888a0312156200115d576200115c62000f39565b5b600088015167ffffffffffffffff8111156200117e576200117d62000f3e565b5b6200118c8a828b016200108f565b975050602088015167ffffffffffffffff811115620011b057620011af62000f3e565b5b620011be8a828b016200108f565b9650506040620011d18a828b01620010e6565b9550506060620011e48a828b0162001124565b9450506080620011f78a828b0162001124565b93505060a06200120a8a828b0162001124565b92505060c06200121d8a828b0162001124565b91505092959891949750929550565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200127f57607f821691505b60208210810362001295576200129462001237565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620012ff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620012c0565b6200130b8683620012c0565b95508019841693508086168417925050509392505050565b6000819050919050565b60006200134e620013486200134284620010c2565b62001323565b620010c2565b9050919050565b6000819050919050565b6200136a836200132d565b62001382620013798262001355565b848454620012cd565b825550505050565b600090565b620013996200138a565b620013a68184846200135f565b505050565b5b81811015620013ce57620013c26000826200138f565b600181019050620013ac565b5050565b601f8211156200141d57620013e7816200129b565b620013f284620012b0565b8101602085101562001402578190505b6200141a6200141185620012b0565b830182620013ab565b50505b505050565b600082821c905092915050565b6000620014426000198460080262001422565b1980831691505092915050565b60006200145d83836200142f565b9150826002028217905092915050565b62001478826200122c565b67ffffffffffffffff81111562001494576200149362000f5e565b5b620014a0825462001266565b620014ad828285620013d2565b600060209050601f831160018114620014e55760008415620014d0578287015190505b620014dc85826200144f565b8655506200154c565b601f198416620014f5866200129b565b60005b828110156200151f57848901518255600182019150602085019450602081019050620014f8565b868310156200153f57848901516200153b601f8916826200142f565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006200159082620010c2565b91506200159d83620010c2565b9250828202620015ad81620010c2565b91508282048414831517620015c757620015c662001554565b5b5092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620015fb82620015ce565b9050919050565b6200160d81620015ee565b81146200161957600080fd5b50565b6000815190506200162d8162001602565b92915050565b6000602082840312156200164c576200164b62000f39565b5b60006200165c848285016200161c565b91505092915050565b6200167081620015ee565b82525050565b60006040820190506200168d600083018562001665565b6200169c602083018462001665565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082825260208201905092915050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600062001741602483620016d2565b91506200174e82620016e3565b604082019050919050565b60006020820190508181036000830152620017748162001732565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000620017d9602283620016d2565b9150620017e6826200177b565b604082019050919050565b600060208201905081810360008301526200180c81620017ca565b9050919050565b6200181e81620010c2565b82525050565b60006020820190506200183b600083018462001813565b92915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b600062001879601f83620016d2565b9150620018868262001841565b602082019050919050565b60006020820190508181036000830152620018ac816200186a565b9050919050565b6000620018c082620010c2565b9150620018cd83620010c2565b9250828201905080821115620018e857620018e762001554565b5b92915050565b60805160a0516137426200192660003960008181610ac101528181611f4d0152818161255101526125b90152600050506137426000f3fe6080604052600436106101f25760003560e01c8063844866041161010d578063bedafd01116100a0578063dd62ed3e1161006f578063dd62ed3e146106f7578063e96fada214610734578063f19bc4771461075f578063f2fde38b1461079c578063ffb54a99146107c5576101f9565b8063bedafd0114610663578063c647b20e1461068c578063c9567bf9146106b5578063cc1776d3146106cc576101f9565b8063a457c2d7116100dc578063a457c2d714610593578063a9059cbb146105d0578063b2bdfa7b1461060d578063bbde77c114610638576101f9565b806384486604146104e95780638c0b5e22146105125780638da5cb5b1461053d57806395d89b4114610568576101f9565b806349bd5a5e1161018557806370a082311161015457806370a082311461042f578063715018a61461046c57806377b54bad14610483578063796431d0146104c0576101f9565b806349bd5a5e146103875780634ab7cb58146103b25780634f7041a5146103db5780635d098b3814610406576101f9565b806323b872dd116101c157806323b872dd146102b95780632a8e3fac146102f6578063313ce5671461031f578063395093511461034a576101f9565b80630445b667146101fb57806306fdde0314610226578063095ea7b31461025157806318160ddd1461028e576101f9565b366101f957005b005b34801561020757600080fd5b506102106107f0565b60405161021d91906128bd565b60405180910390f35b34801561023257600080fd5b5061023b6107f6565b6040516102489190612968565b60405180910390f35b34801561025d57600080fd5b5061027860048036038101906102739190612a19565b610888565b6040516102859190612a74565b60405180910390f35b34801561029a57600080fd5b506102a36108ab565b6040516102b091906128bd565b60405180910390f35b3480156102c557600080fd5b506102e060048036038101906102db9190612a8f565b6108b5565b6040516102ed9190612a74565b60405180910390f35b34801561030257600080fd5b5061031d60048036038101906103189190612ae2565b6108e4565b005b34801561032b57600080fd5b50610334610a7f565b6040516103419190612b2b565b60405180910390f35b34801561035657600080fd5b50610371600480360381019061036c9190612a19565b610a88565b60405161037e9190612a74565b60405180910390f35b34801561039357600080fd5b5061039c610abf565b6040516103a99190612b55565b60405180910390f35b3480156103be57600080fd5b506103d960048036038101906103d49190612b70565b610ae3565b005b3480156103e757600080fd5b506103f0610c39565b6040516103fd91906128bd565b60405180910390f35b34801561041257600080fd5b5061042d60048036038101906104289190612ae2565b610c3f565b005b34801561043b57600080fd5b5061045660048036038101906104519190612ae2565b610d18565b60405161046391906128bd565b60405180910390f35b34801561047857600080fd5b50610481610d61565b005b34801561048f57600080fd5b506104aa60048036038101906104a59190612a19565b610eb4565b6040516104b79190612a74565b60405180910390f35b3480156104cc57600080fd5b506104e760048036038101906104e29190612bb0565b6110ef565b005b3480156104f557600080fd5b50610510600480360381019061050b9190612c09565b61121c565b005b34801561051e57600080fd5b5061052761130c565b60405161053491906128bd565b60405180910390f35b34801561054957600080fd5b50610552611312565b60405161055f9190612b55565b60405180910390f35b34801561057457600080fd5b5061057d61133b565b60405161058a9190612968565b60405180910390f35b34801561059f57600080fd5b506105ba60048036038101906105b59190612a19565b6113cd565b6040516105c79190612a74565b60405180910390f35b3480156105dc57600080fd5b506105f760048036038101906105f29190612a19565b611444565b6040516106049190612a74565b60405180910390f35b34801561061957600080fd5b50610622611467565b60405161062f9190612b55565b60405180910390f35b34801561064457600080fd5b5061064d61148b565b60405161065a91906128bd565b60405180910390f35b34801561066f57600080fd5b5061068a60048036038101906106859190612c09565b611491565b005b34801561069857600080fd5b506106b360048036038101906106ae9190612b70565b611581565b005b3480156106c157600080fd5b506106ca6116a0565b005b3480156106d857600080fd5b506106e1611752565b6040516106ee91906128bd565b60405180910390f35b34801561070357600080fd5b5061071e60048036038101906107199190612c49565b611758565b60405161072b91906128bd565b60405180910390f35b34801561074057600080fd5b506107496117df565b6040516107569190612b55565b60405180910390f35b34801561076b57600080fd5b5061078660048036038101906107819190612ae2565b611805565b6040516107939190612a74565b60405180910390f35b3480156107a857600080fd5b506107c360048036038101906107be9190612ae2565b611825565b005b3480156107d157600080fd5b506107da6119e6565b6040516107e79190612a74565b60405180910390f35b600d5481565b60606005805461080590612cb8565b80601f016020809104026020016040519081016040528092919081815260200182805461083190612cb8565b801561087e5780601f106108535761010080835404028352916020019161087e565b820191906000526020600020905b81548152906001019060200180831161086157829003601f168201915b5050505050905090565b6000806108936119f9565b90506108a0818585611a01565b600191505092915050565b6000600454905090565b6000806108c06119f9565b90506108cd858285611bca565b6108d8858585611c56565b60019150509392505050565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610974576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096b90612d5b565b60405180910390fd5b6001601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60006012905090565b600080610a936119f9565b9050610ab4818585610aa58589611758565b610aaf9190612daa565b611a01565b600191505092915050565b7f000000000000000000000000000000000000000000000000000000000000000081565b610aeb6119f9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610b78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6f90612e2a565b60405180910390fd5b6000821480610b875750606482115b15610bbe576040517fd58822aa00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000811480610bcd5750606481115b15610c04576040517fd58822aa00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610c0e6108ab565b9050610c1c81846064611e41565b600a81905550610c2e81836064611e41565b600981905550505050565b600f5481565b610c476119f9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610cd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ccb90612e2a565b60405180910390fd5b80600860026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610d696119f9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610df6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ded90612e2a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60003073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610f1b576040517f34131c8500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008203611046578273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610f5c9190612b55565b602060405180830381865afa158015610f79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f9d9190612e5f565b91508273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600860029054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518363ffffffff1660e01b8152600401610ffc929190612e8c565b6020604051808303816000875af115801561101b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061103f9190612eca565b90506110e9565b8273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600860029054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518363ffffffff1660e01b81526004016110a3929190612e8c565b6020604051808303816000875af11580156110c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e69190612eca565b90505b92915050565b6110f76119f9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611184576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117b90612e2a565b60405180910390fd5b600061118e6108ab565b90506000670de0b6b3a7640000836111a69190612ef7565b90506103e8826111b69190612f68565b81101580156111d157506014826111cd9190612f68565b8111155b611210576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112079061300b565b60405180910390fd5b80600d81905550505050565b6112246119f9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146112b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a890612e2a565b60405180910390fd5b80600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b60095481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606006805461134a90612cb8565b80601f016020809104026020016040519081016040528092919081815260200182805461137690612cb8565b80156113c35780601f10611398576101008083540402835291602001916113c3565b820191906000526020600020905b8154815290600101906020018083116113a657829003601f168201915b5050505050905090565b6000806113d86119f9565b905060006113e68286611758565b90508381101561142b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114229061309d565b60405180910390fd5b6114388286868403611a01565b60019250505092915050565b60008061144f6119f9565b905061145c818585611c56565b600191505092915050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a5481565b6114996119f9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611526576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151d90612e2a565b60405180910390fd5b80600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6115896119f9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611616576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160d90612e2a565b60405180910390fd5b6064600e5410611652576040517fd58822aa00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6064600f541061168e576040517fd58822aa00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600e8190555081600f819055505050565b6116a86119f9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611735576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172c90612e2a565b60405180910390fd5b6001600860006101000a81548160ff021916908315150217905550565b600e5481565b6000600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600860029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60106020528060005260406000206000915054906101000a900460ff1681565b61182d6119f9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146118ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b190612e2a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611929576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119209061312f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600860009054906101000a900460ff1681565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611a70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a67906131c1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611adf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad690613253565b60405180910390fd5b80600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051611bbd91906128bd565b60405180910390a3505050565b6000611bd68484611758565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611c505781811015611c42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c39906132bf565b60405180910390fd5b611c4f8484848403611a01565b5b50505050565b601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611d16578173ffffffffffffffffffffffffffffffffffffffff166347e7ef2484836040518363ffffffff1660e01b8152600401611ce3929190612e8c565b600060405180830381600087803b158015611cfd57600080fd5b505af1158015611d11573d6000803e3d6000fd5b505050505b611d1e611f49565b15611d2c57611d2b611fcf565b5b600860019054906101000a900460ff1615611d5157611d4c8383836122d4565b611e3c565b6000600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680611df45750600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b611e0857611e0384848461254d565b611e0b565b60005b905060008114611e2f57611e208430836122d4565b8082611e2c91906132df565b91505b611e3a8484846122d4565b505b505050565b6000806000801985870985870292508281108382030391505060008103611e7c57838281611e7257611e71612f39565b5b0492505050611f42565b808411611eb5576040517f227bc15300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008486880990508281118203915080830392506000600186190186169050808604955080840493506001818260000304019050808302841793506000600287600302189050808702600203810290508087026002038102905080870260020381029050808702600203810290508087026002038102905080870260020381029050808502955050505050505b9392505050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614158015611fb45750600860019054906101000a900460ff16155b8015611fca5750600d54611fc730610d18565b10155b905090565b6001600860016101000a81548160ff021916908315150217905550611ff261262b565b6000737a250d5630b4cf539739df2c5dacb4c659f2488d90506000600267ffffffffffffffff81111561202857612027613313565b5b6040519080825280602002602001820160405280156120565781602001602082028036833780820191505090505b509050308160008151811061206e5761206d613342565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508173ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156120f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121179190613386565b8160018151811061212b5761212a613342565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508173ffffffffffffffffffffffffffffffffffffffff1663791ac94761218a30610d18565b60008430426040518663ffffffff1660e01b81526004016121af9594939291906134b6565b600060405180830381600087803b1580156121c957600080fd5b505af11580156121dd573d6000803e3d6000fd5b5050505060004790506000600860029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168260405161222e90613541565b60006040518083038185875af1925050503d806000811461226b576040519150601f19603f3d011682016040523d82523d6000602084013e612270565b606091505b50509050806122ab576040517f90b8ec1800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050506122b7612671565b6000600860016101000a81548160ff021916908315150217905550565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612343576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233a906135c8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036123b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a99061365a565b60405180910390fd5b6123bd83838361267b565b6000600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612444576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243b906136ec565b60405180910390fd5b818103600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161253491906128bd565b60405180910390a361254784848461289f565b50505050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036125b7576125b082600e546064611e41565b9050612624565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361261f5761261882600f546064611e41565b9050612624565b600090505b9392505050565b600260075403612667576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002600781905550565b6001600781905550565b600860009054906101000a900460ff1661276b57600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161580156127335750600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b1561276a576040517fe2c865df00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661280c57600a54816127c984610d18565b6127d39190612daa565b111561280b576040517f24691f6b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661289a57600954811115612899576040517f973ec46f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b505050565b505050565b6000819050919050565b6128b7816128a4565b82525050565b60006020820190506128d260008301846128ae565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156129125780820151818401526020810190506128f7565b60008484015250505050565b6000601f19601f8301169050919050565b600061293a826128d8565b61294481856128e3565b93506129548185602086016128f4565b61295d8161291e565b840191505092915050565b60006020820190508181036000830152612982818461292f565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006129ba8261298f565b9050919050565b6129ca816129af565b81146129d557600080fd5b50565b6000813590506129e7816129c1565b92915050565b6129f6816128a4565b8114612a0157600080fd5b50565b600081359050612a13816129ed565b92915050565b60008060408385031215612a3057612a2f61298a565b5b6000612a3e858286016129d8565b9250506020612a4f85828601612a04565b9150509250929050565b60008115159050919050565b612a6e81612a59565b82525050565b6000602082019050612a896000830184612a65565b92915050565b600080600060608486031215612aa857612aa761298a565b5b6000612ab6868287016129d8565b9350506020612ac7868287016129d8565b9250506040612ad886828701612a04565b9150509250925092565b600060208284031215612af857612af761298a565b5b6000612b06848285016129d8565b91505092915050565b600060ff82169050919050565b612b2581612b0f565b82525050565b6000602082019050612b406000830184612b1c565b92915050565b612b4f816129af565b82525050565b6000602082019050612b6a6000830184612b46565b92915050565b60008060408385031215612b8757612b8661298a565b5b6000612b9585828601612a04565b9250506020612ba685828601612a04565b9150509250929050565b600060208284031215612bc657612bc561298a565b5b6000612bd484828501612a04565b91505092915050565b612be681612a59565b8114612bf157600080fd5b50565b600081359050612c0381612bdd565b92915050565b60008060408385031215612c2057612c1f61298a565b5b6000612c2e858286016129d8565b9250506020612c3f85828601612bf4565b9150509250929050565b60008060408385031215612c6057612c5f61298a565b5b6000612c6e858286016129d8565b9250506020612c7f858286016129d8565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612cd057607f821691505b602082108103612ce357612ce2612c89565b5b50919050565b7f4f6e6c792074686520636f6e74726163742063726561746f722063616e20636160008201527f6c6c20746869732066756e6374696f6e00000000000000000000000000000000602082015250565b6000612d456030836128e3565b9150612d5082612ce9565b604082019050919050565b60006020820190508181036000830152612d7481612d38565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612db5826128a4565b9150612dc0836128a4565b9250828201905080821115612dd857612dd7612d7b565b5b92915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612e146020836128e3565b9150612e1f82612dde565b602082019050919050565b60006020820190508181036000830152612e4381612e07565b9050919050565b600081519050612e59816129ed565b92915050565b600060208284031215612e7557612e7461298a565b5b6000612e8384828501612e4a565b91505092915050565b6000604082019050612ea16000830185612b46565b612eae60208301846128ae565b9392505050565b600081519050612ec481612bdd565b92915050565b600060208284031215612ee057612edf61298a565b5b6000612eee84828501612eb5565b91505092915050565b6000612f02826128a4565b9150612f0d836128a4565b9250828202612f1b816128a4565b91508282048414831517612f3257612f31612d7b565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612f73826128a4565b9150612f7e836128a4565b925082612f8e57612f8d612f39565b5b828204905092915050565b7f54686520616d6f756e742073686f756c64206265206265747765656e20302e3160008201527f2520616e64203525206f6620746f74616c20737570706c790000000000000000602082015250565b6000612ff56038836128e3565b915061300082612f99565b604082019050919050565b6000602082019050818103600083015261302481612fe8565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b60006130876025836128e3565b91506130928261302b565b604082019050919050565b600060208201905081810360008301526130b68161307a565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006131196026836128e3565b9150613124826130bd565b604082019050919050565b600060208201905081810360008301526131488161310c565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006131ab6024836128e3565b91506131b68261314f565b604082019050919050565b600060208201905081810360008301526131da8161319e565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b600061323d6022836128e3565b9150613248826131e1565b604082019050919050565b6000602082019050818103600083015261326c81613230565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b60006132a9601d836128e3565b91506132b482613273565b602082019050919050565b600060208201905081810360008301526132d88161329c565b9050919050565b60006132ea826128a4565b91506132f5836128a4565b925082820390508181111561330d5761330c612d7b565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050613380816129c1565b92915050565b60006020828403121561339c5761339b61298a565b5b60006133aa84828501613371565b91505092915050565b6000819050919050565b6000819050919050565b60006133e26133dd6133d8846133b3565b6133bd565b6128a4565b9050919050565b6133f2816133c7565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61342d816129af565b82525050565b600061343f8383613424565b60208301905092915050565b6000602082019050919050565b6000613463826133f8565b61346d8185613403565b935061347883613414565b8060005b838110156134a95781516134908882613433565b975061349b8361344b565b92505060018101905061347c565b5085935050505092915050565b600060a0820190506134cb60008301886128ae565b6134d860208301876133e9565b81810360408301526134ea8186613458565b90506134f96060830185612b46565b61350660808301846128ae565b9695505050505050565b600081905092915050565b50565b600061352b600083613510565b91506135368261351b565b600082019050919050565b600061354c8261351e565b9150819050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006135b26025836128e3565b91506135bd82613556565b604082019050919050565b600060208201905081810360008301526135e1816135a5565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006136446023836128e3565b915061364f826135e8565b604082019050919050565b6000602082019050818103600083015261367381613637565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006136d66026836128e3565b91506136e18261367a565b604082019050919050565b60006020820190508181036000830152613705816136c9565b905091905056fea264697066735822122076b3a641da028e5301ba5496972c7c757c58892cbb40c3360406ae709f380fc564736f6c6343000813003300000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000989680000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000055072697a6500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000055052495a45000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101f25760003560e01c8063844866041161010d578063bedafd01116100a0578063dd62ed3e1161006f578063dd62ed3e146106f7578063e96fada214610734578063f19bc4771461075f578063f2fde38b1461079c578063ffb54a99146107c5576101f9565b8063bedafd0114610663578063c647b20e1461068c578063c9567bf9146106b5578063cc1776d3146106cc576101f9565b8063a457c2d7116100dc578063a457c2d714610593578063a9059cbb146105d0578063b2bdfa7b1461060d578063bbde77c114610638576101f9565b806384486604146104e95780638c0b5e22146105125780638da5cb5b1461053d57806395d89b4114610568576101f9565b806349bd5a5e1161018557806370a082311161015457806370a082311461042f578063715018a61461046c57806377b54bad14610483578063796431d0146104c0576101f9565b806349bd5a5e146103875780634ab7cb58146103b25780634f7041a5146103db5780635d098b3814610406576101f9565b806323b872dd116101c157806323b872dd146102b95780632a8e3fac146102f6578063313ce5671461031f578063395093511461034a576101f9565b80630445b667146101fb57806306fdde0314610226578063095ea7b31461025157806318160ddd1461028e576101f9565b366101f957005b005b34801561020757600080fd5b506102106107f0565b60405161021d91906128bd565b60405180910390f35b34801561023257600080fd5b5061023b6107f6565b6040516102489190612968565b60405180910390f35b34801561025d57600080fd5b5061027860048036038101906102739190612a19565b610888565b6040516102859190612a74565b60405180910390f35b34801561029a57600080fd5b506102a36108ab565b6040516102b091906128bd565b60405180910390f35b3480156102c557600080fd5b506102e060048036038101906102db9190612a8f565b6108b5565b6040516102ed9190612a74565b60405180910390f35b34801561030257600080fd5b5061031d60048036038101906103189190612ae2565b6108e4565b005b34801561032b57600080fd5b50610334610a7f565b6040516103419190612b2b565b60405180910390f35b34801561035657600080fd5b50610371600480360381019061036c9190612a19565b610a88565b60405161037e9190612a74565b60405180910390f35b34801561039357600080fd5b5061039c610abf565b6040516103a99190612b55565b60405180910390f35b3480156103be57600080fd5b506103d960048036038101906103d49190612b70565b610ae3565b005b3480156103e757600080fd5b506103f0610c39565b6040516103fd91906128bd565b60405180910390f35b34801561041257600080fd5b5061042d60048036038101906104289190612ae2565b610c3f565b005b34801561043b57600080fd5b5061045660048036038101906104519190612ae2565b610d18565b60405161046391906128bd565b60405180910390f35b34801561047857600080fd5b50610481610d61565b005b34801561048f57600080fd5b506104aa60048036038101906104a59190612a19565b610eb4565b6040516104b79190612a74565b60405180910390f35b3480156104cc57600080fd5b506104e760048036038101906104e29190612bb0565b6110ef565b005b3480156104f557600080fd5b50610510600480360381019061050b9190612c09565b61121c565b005b34801561051e57600080fd5b5061052761130c565b60405161053491906128bd565b60405180910390f35b34801561054957600080fd5b50610552611312565b60405161055f9190612b55565b60405180910390f35b34801561057457600080fd5b5061057d61133b565b60405161058a9190612968565b60405180910390f35b34801561059f57600080fd5b506105ba60048036038101906105b59190612a19565b6113cd565b6040516105c79190612a74565b60405180910390f35b3480156105dc57600080fd5b506105f760048036038101906105f29190612a19565b611444565b6040516106049190612a74565b60405180910390f35b34801561061957600080fd5b50610622611467565b60405161062f9190612b55565b60405180910390f35b34801561064457600080fd5b5061064d61148b565b60405161065a91906128bd565b60405180910390f35b34801561066f57600080fd5b5061068a60048036038101906106859190612c09565b611491565b005b34801561069857600080fd5b506106b360048036038101906106ae9190612b70565b611581565b005b3480156106c157600080fd5b506106ca6116a0565b005b3480156106d857600080fd5b506106e1611752565b6040516106ee91906128bd565b60405180910390f35b34801561070357600080fd5b5061071e60048036038101906107199190612c49565b611758565b60405161072b91906128bd565b60405180910390f35b34801561074057600080fd5b506107496117df565b6040516107569190612b55565b60405180910390f35b34801561076b57600080fd5b5061078660048036038101906107819190612ae2565b611805565b6040516107939190612a74565b60405180910390f35b3480156107a857600080fd5b506107c360048036038101906107be9190612ae2565b611825565b005b3480156107d157600080fd5b506107da6119e6565b6040516107e79190612a74565b60405180910390f35b600d5481565b60606005805461080590612cb8565b80601f016020809104026020016040519081016040528092919081815260200182805461083190612cb8565b801561087e5780601f106108535761010080835404028352916020019161087e565b820191906000526020600020905b81548152906001019060200180831161086157829003601f168201915b5050505050905090565b6000806108936119f9565b90506108a0818585611a01565b600191505092915050565b6000600454905090565b6000806108c06119f9565b90506108cd858285611bca565b6108d8858585611c56565b60019150509392505050565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610974576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096b90612d5b565b60405180910390fd5b6001601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60006012905090565b600080610a936119f9565b9050610ab4818585610aa58589611758565b610aaf9190612daa565b611a01565b600191505092915050565b7f000000000000000000000000d96005904c7a37ebcd97b56db3d3863f8f54527181565b610aeb6119f9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610b78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6f90612e2a565b60405180910390fd5b6000821480610b875750606482115b15610bbe576040517fd58822aa00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000811480610bcd5750606481115b15610c04576040517fd58822aa00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610c0e6108ab565b9050610c1c81846064611e41565b600a81905550610c2e81836064611e41565b600981905550505050565b600f5481565b610c476119f9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610cd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ccb90612e2a565b60405180910390fd5b80600860026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610d696119f9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610df6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ded90612e2a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60003073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610f1b576040517f34131c8500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008203611046578273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610f5c9190612b55565b602060405180830381865afa158015610f79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f9d9190612e5f565b91508273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600860029054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518363ffffffff1660e01b8152600401610ffc929190612e8c565b6020604051808303816000875af115801561101b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061103f9190612eca565b90506110e9565b8273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600860029054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518363ffffffff1660e01b81526004016110a3929190612e8c565b6020604051808303816000875af11580156110c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e69190612eca565b90505b92915050565b6110f76119f9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611184576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117b90612e2a565b60405180910390fd5b600061118e6108ab565b90506000670de0b6b3a7640000836111a69190612ef7565b90506103e8826111b69190612f68565b81101580156111d157506014826111cd9190612f68565b8111155b611210576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112079061300b565b60405180910390fd5b80600d81905550505050565b6112246119f9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146112b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a890612e2a565b60405180910390fd5b80600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b60095481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606006805461134a90612cb8565b80601f016020809104026020016040519081016040528092919081815260200182805461137690612cb8565b80156113c35780601f10611398576101008083540402835291602001916113c3565b820191906000526020600020905b8154815290600101906020018083116113a657829003601f168201915b5050505050905090565b6000806113d86119f9565b905060006113e68286611758565b90508381101561142b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114229061309d565b60405180910390fd5b6114388286868403611a01565b60019250505092915050565b60008061144f6119f9565b905061145c818585611c56565b600191505092915050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a5481565b6114996119f9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611526576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151d90612e2a565b60405180910390fd5b80600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6115896119f9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611616576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160d90612e2a565b60405180910390fd5b6064600e5410611652576040517fd58822aa00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6064600f541061168e576040517fd58822aa00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600e8190555081600f819055505050565b6116a86119f9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611735576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172c90612e2a565b60405180910390fd5b6001600860006101000a81548160ff021916908315150217905550565b600e5481565b6000600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600860029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60106020528060005260406000206000915054906101000a900460ff1681565b61182d6119f9565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146118ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b190612e2a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611929576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119209061312f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600860009054906101000a900460ff1681565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611a70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a67906131c1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611adf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad690613253565b60405180910390fd5b80600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051611bbd91906128bd565b60405180910390a3505050565b6000611bd68484611758565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114611c505781811015611c42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c39906132bf565b60405180910390fd5b611c4f8484848403611a01565b5b50505050565b601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611d16578173ffffffffffffffffffffffffffffffffffffffff166347e7ef2484836040518363ffffffff1660e01b8152600401611ce3929190612e8c565b600060405180830381600087803b158015611cfd57600080fd5b505af1158015611d11573d6000803e3d6000fd5b505050505b611d1e611f49565b15611d2c57611d2b611fcf565b5b600860019054906101000a900460ff1615611d5157611d4c8383836122d4565b611e3c565b6000600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680611df45750600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b611e0857611e0384848461254d565b611e0b565b60005b905060008114611e2f57611e208430836122d4565b8082611e2c91906132df565b91505b611e3a8484846122d4565b505b505050565b6000806000801985870985870292508281108382030391505060008103611e7c57838281611e7257611e71612f39565b5b0492505050611f42565b808411611eb5576040517f227bc15300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008486880990508281118203915080830392506000600186190186169050808604955080840493506001818260000304019050808302841793506000600287600302189050808702600203810290508087026002038102905080870260020381029050808702600203810290508087026002038102905080870260020381029050808502955050505050505b9392505050565b60007f000000000000000000000000d96005904c7a37ebcd97b56db3d3863f8f54527173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614158015611fb45750600860019054906101000a900460ff16155b8015611fca5750600d54611fc730610d18565b10155b905090565b6001600860016101000a81548160ff021916908315150217905550611ff261262b565b6000737a250d5630b4cf539739df2c5dacb4c659f2488d90506000600267ffffffffffffffff81111561202857612027613313565b5b6040519080825280602002602001820160405280156120565781602001602082028036833780820191505090505b509050308160008151811061206e5761206d613342565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508173ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156120f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121179190613386565b8160018151811061212b5761212a613342565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508173ffffffffffffffffffffffffffffffffffffffff1663791ac94761218a30610d18565b60008430426040518663ffffffff1660e01b81526004016121af9594939291906134b6565b600060405180830381600087803b1580156121c957600080fd5b505af11580156121dd573d6000803e3d6000fd5b5050505060004790506000600860029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168260405161222e90613541565b60006040518083038185875af1925050503d806000811461226b576040519150601f19603f3d011682016040523d82523d6000602084013e612270565b606091505b50509050806122ab576040517f90b8ec1800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050506122b7612671565b6000600860016101000a81548160ff021916908315150217905550565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612343576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233a906135c8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036123b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a99061365a565b60405180910390fd5b6123bd83838361267b565b6000600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612444576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243b906136ec565b60405180910390fd5b818103600260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161253491906128bd565b60405180910390a361254784848461289f565b50505050565b60007f000000000000000000000000d96005904c7a37ebcd97b56db3d3863f8f54527173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036125b7576125b082600e546064611e41565b9050612624565b7f000000000000000000000000d96005904c7a37ebcd97b56db3d3863f8f54527173ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361261f5761261882600f546064611e41565b9050612624565b600090505b9392505050565b600260075403612667576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002600781905550565b6001600781905550565b600860009054906101000a900460ff1661276b57600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161580156127335750600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b1561276a576040517fe2c865df00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661280c57600a54816127c984610d18565b6127d39190612daa565b111561280b576040517f24691f6b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661289a57600954811115612899576040517f973ec46f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b505050565b505050565b6000819050919050565b6128b7816128a4565b82525050565b60006020820190506128d260008301846128ae565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156129125780820151818401526020810190506128f7565b60008484015250505050565b6000601f19601f8301169050919050565b600061293a826128d8565b61294481856128e3565b93506129548185602086016128f4565b61295d8161291e565b840191505092915050565b60006020820190508181036000830152612982818461292f565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006129ba8261298f565b9050919050565b6129ca816129af565b81146129d557600080fd5b50565b6000813590506129e7816129c1565b92915050565b6129f6816128a4565b8114612a0157600080fd5b50565b600081359050612a13816129ed565b92915050565b60008060408385031215612a3057612a2f61298a565b5b6000612a3e858286016129d8565b9250506020612a4f85828601612a04565b9150509250929050565b60008115159050919050565b612a6e81612a59565b82525050565b6000602082019050612a896000830184612a65565b92915050565b600080600060608486031215612aa857612aa761298a565b5b6000612ab6868287016129d8565b9350506020612ac7868287016129d8565b9250506040612ad886828701612a04565b9150509250925092565b600060208284031215612af857612af761298a565b5b6000612b06848285016129d8565b91505092915050565b600060ff82169050919050565b612b2581612b0f565b82525050565b6000602082019050612b406000830184612b1c565b92915050565b612b4f816129af565b82525050565b6000602082019050612b6a6000830184612b46565b92915050565b60008060408385031215612b8757612b8661298a565b5b6000612b9585828601612a04565b9250506020612ba685828601612a04565b9150509250929050565b600060208284031215612bc657612bc561298a565b5b6000612bd484828501612a04565b91505092915050565b612be681612a59565b8114612bf157600080fd5b50565b600081359050612c0381612bdd565b92915050565b60008060408385031215612c2057612c1f61298a565b5b6000612c2e858286016129d8565b9250506020612c3f85828601612bf4565b9150509250929050565b60008060408385031215612c6057612c5f61298a565b5b6000612c6e858286016129d8565b9250506020612c7f858286016129d8565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612cd057607f821691505b602082108103612ce357612ce2612c89565b5b50919050565b7f4f6e6c792074686520636f6e74726163742063726561746f722063616e20636160008201527f6c6c20746869732066756e6374696f6e00000000000000000000000000000000602082015250565b6000612d456030836128e3565b9150612d5082612ce9565b604082019050919050565b60006020820190508181036000830152612d7481612d38565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612db5826128a4565b9150612dc0836128a4565b9250828201905080821115612dd857612dd7612d7b565b5b92915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612e146020836128e3565b9150612e1f82612dde565b602082019050919050565b60006020820190508181036000830152612e4381612e07565b9050919050565b600081519050612e59816129ed565b92915050565b600060208284031215612e7557612e7461298a565b5b6000612e8384828501612e4a565b91505092915050565b6000604082019050612ea16000830185612b46565b612eae60208301846128ae565b9392505050565b600081519050612ec481612bdd565b92915050565b600060208284031215612ee057612edf61298a565b5b6000612eee84828501612eb5565b91505092915050565b6000612f02826128a4565b9150612f0d836128a4565b9250828202612f1b816128a4565b91508282048414831517612f3257612f31612d7b565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612f73826128a4565b9150612f7e836128a4565b925082612f8e57612f8d612f39565b5b828204905092915050565b7f54686520616d6f756e742073686f756c64206265206265747765656e20302e3160008201527f2520616e64203525206f6620746f74616c20737570706c790000000000000000602082015250565b6000612ff56038836128e3565b915061300082612f99565b604082019050919050565b6000602082019050818103600083015261302481612fe8565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b60006130876025836128e3565b91506130928261302b565b604082019050919050565b600060208201905081810360008301526130b68161307a565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006131196026836128e3565b9150613124826130bd565b604082019050919050565b600060208201905081810360008301526131488161310c565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006131ab6024836128e3565b91506131b68261314f565b604082019050919050565b600060208201905081810360008301526131da8161319e565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b600061323d6022836128e3565b9150613248826131e1565b604082019050919050565b6000602082019050818103600083015261326c81613230565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b60006132a9601d836128e3565b91506132b482613273565b602082019050919050565b600060208201905081810360008301526132d88161329c565b9050919050565b60006132ea826128a4565b91506132f5836128a4565b925082820390508181111561330d5761330c612d7b565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050613380816129c1565b92915050565b60006020828403121561339c5761339b61298a565b5b60006133aa84828501613371565b91505092915050565b6000819050919050565b6000819050919050565b60006133e26133dd6133d8846133b3565b6133bd565b6128a4565b9050919050565b6133f2816133c7565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61342d816129af565b82525050565b600061343f8383613424565b60208301905092915050565b6000602082019050919050565b6000613463826133f8565b61346d8185613403565b935061347883613414565b8060005b838110156134a95781516134908882613433565b975061349b8361344b565b92505060018101905061347c565b5085935050505092915050565b600060a0820190506134cb60008301886128ae565b6134d860208301876133e9565b81810360408301526134ea8186613458565b90506134f96060830185612b46565b61350660808301846128ae565b9695505050505050565b600081905092915050565b50565b600061352b600083613510565b91506135368261351b565b600082019050919050565b600061354c8261351e565b9150819050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006135b26025836128e3565b91506135bd82613556565b604082019050919050565b600060208201905081810360008301526135e1816135a5565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006136446023836128e3565b915061364f826135e8565b604082019050919050565b6000602082019050818103600083015261367381613637565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006136d66026836128e3565b91506136e18261367a565b604082019050919050565b60006020820190508181036000830152613705816136c9565b905091905056fea264697066735822122076b3a641da028e5301ba5496972c7c757c58892cbb40c3360406ae709f380fc564736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000989680000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000055072697a6500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000055052495a45000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Prize
Arg [1] : _symbol (string): PRIZE
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] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [8] : 5072697a65000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [10] : 5052495a45000000000000000000000000000000000000000000000000000000
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.