ERC-20
Overview
Max Total Supply
100,000,000,000 Asakusa
Holders
36
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 9 Decimals)
Balance
151,493,935.14008056 AsakusaValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Token
Compiler Version
v0.8.4+commit.c7e474f2
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-11-07 */ // SPDX-License-Identifier: MIT // File: IPancakePair.sol pragma solidity ^0.8.4; interface IPancakePair { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; } // File: ISwapFactory.sol pragma solidity ^0.8.4; interface ISwapFactory { function createPair(address tokenA, address tokenB) external returns (address pair); function getPair(address tokenA, address tokenB) external returns (address pair); } // File: ISwapRouter.sol pragma solidity ^0.8.4; interface ISwapRouter { function factoryV2() external pure returns (address); function factory() external pure returns (address); function WETH() external pure returns (address); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to ) external; function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/utils/math/SignedMath.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.0; /** * @dev Standard signed math utilities missing in the Solidity language. */ library SignedMath { /** * @dev Returns the largest of two signed numbers. */ function max(int256 a, int256 b) internal pure returns (int256) { return a > b ? a : b; } /** * @dev Returns the smallest of two signed numbers. */ function min(int256 a, int256 b) internal pure returns (int256) { return a < b ? a : b; } /** * @dev Returns the average of two signed numbers without overflow. * The result is rounded towards zero. */ function average(int256 a, int256 b) internal pure returns (int256) { // Formula from the book "Hacker's Delight" int256 x = (a & b) + ((a ^ b) >> 1); return x + (int256(uint256(x) >> 255) & (a ^ b)); } /** * @dev Returns the absolute unsigned value of a signed value. */ function abs(int256 n) internal pure returns (uint256) { unchecked { // must be unchecked in order to support `n = type(int256).min` return uint256(n >= 0 ? n : -n); } } } // File: @openzeppelin/contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @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 up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (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. require(denominator > prod1, "Math: mulDiv overflow"); /////////////////////////////////////////////// // 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 (rounding == Rounding.Up && 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 down. * * 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 + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * 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 + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * 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 + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * 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 + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0); } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `int256` to its ASCII `string` decimal representation. */ function toString(int256 value) internal pure returns (string memory) { return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value)))); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } /** * @dev Returns true if the two strings are equal. */ function equal(string memory a, string memory b) internal pure returns (bool) { return keccak256(bytes(a)) == keccak256(bytes(b)); } } // File: @openzeppelin/contracts/access/IAccessControl.sol // OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol) pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; } // File: @openzeppelin/contracts/utils/math/SafeMath.sol // OpenZeppelin Contracts (last updated v4.9.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ 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. * * _Available since v3.4._ */ 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. * * _Available since v3.4._ */ 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. * * _Available since v3.4._ */ 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. * * _Available since v3.4._ */ 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 addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/AccessControl.sol // OpenZeppelin Contracts (last updated v4.9.0) (access/AccessControl.sol) pragma solidity ^0.8.0; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ```solidity * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ```solidity * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. We recommend using {AccessControlDefaultAdminRules} * to enforce additional security measures for this role. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view virtual override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `_msgSender()` is missing `role`. * Overriding this function changes the behavior of the {onlyRole} modifier. * * Format of the revert message is described in {_checkRole}. * * _Available since v4.6._ */ function _checkRole(bytes32 role) internal view virtual { _checkRole(role, _msgSender()); } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(account), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleGranted} event. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleRevoked} event. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. * * May emit a {RoleRevoked} event. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * May emit a {RoleGranted} event. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. * * May emit a {RoleGranted} event. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. * * May emit a {RoleRevoked} event. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 amount) external returns (bool); } // File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; /** * @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.9.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; /** * @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]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * 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}. * * 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 default value returned by this function, unless * it's 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 {} } // File: TOKEN\AutoBuyToken10.sol pragma solidity ^0.8.4; contract TokenDistributor { constructor (address token) { ERC20(token).approve(msg.sender, uint(~uint256(0))); } } contract Token is ERC20,Ownable,AccessControl { bytes32 private constant MANAGER_ROLE = keccak256("MANAGER_ROLE"); using SafeMath for uint256; ISwapRouter private uniswapV2Router; address public uniswapV2Pair; address public usdt; uint256 public startTradeBlock; uint256 public taxFeePercent = 0; address admin; address fundAddr; uint256 public fundCount; mapping(address => bool) private whiteList; TokenDistributor public _tokenDistributor; constructor()ERC20("Asakusa", "Asakusa") { admin=0x088f47Cf13E3a375Eb1d54c5AEfBA7b6b98a5F33; //admin=msg.sender; fundAddr=0x088f47Cf13E3a375Eb1d54c5AEfBA7b6b98a5F33; uint256 total=100000000000*10**decimals(); _mint(admin, total); _grantRole(DEFAULT_ADMIN_ROLE,admin); _grantRole(MANAGER_ROLE, admin); _grantRole(MANAGER_ROLE, address(this)); whiteList[admin] = true; whiteList[address(this)] = true; transferOwnership(admin); } function initPair(address _token,address _swap)external onlyRole(MANAGER_ROLE){ usdt=_token;//0xc6e88A94dcEA6f032d805D10558aCf67279f7b4E;//usdt test address swap=_swap;//0xD99D1c33F9fC3444f8101754aBC46c52416550D1;//bsc test uniswapV2Router = ISwapRouter(swap); uniswapV2Pair = ISwapFactory(uniswapV2Router.factory()).createPair(address(this), usdt); ERC20(usdt).approve(address(uniswapV2Router), type(uint256).max); _approve(address(this), address(uniswapV2Router),type(uint256).max); _approve(address(this), address(this),type(uint256).max); _approve(admin, address(uniswapV2Router),type(uint256).max); _tokenDistributor = new TokenDistributor(address(this)); } function decimals() public view virtual override returns (uint8) { return 9; } function _transfer( address from, address to, uint256 amount ) internal override { require(amount > 0, "amount must gt 0"); if(from != uniswapV2Pair && to != uniswapV2Pair) { _funTransfer(from, to, amount); return; } uint256 taxAmount = amount.mul(taxFeePercent).div(100); // Calculate tax uint256 transferAmount = amount.sub(taxAmount); // Amount minus tax if(from == uniswapV2Pair) { require(startTradeBlock > 0, "not open"); super._transfer(from, address(this), taxAmount); // Transfer tax to contract fundCount = fundCount.add(taxAmount); // Increase the fundCount super._transfer(from, to, transferAmount); // Transfer remaining amount to receiver return; } if(to == uniswapV2Pair) { if(whiteList[from]){ super._transfer(from, to, amount); return; } super._transfer(from, address(this), taxAmount); // Transfer tax to contract fundCount = fundCount.add(taxAmount); // Increase the fundCount swapUsdt(fundCount, fundAddr); fundCount = 0; super._transfer(from, to, transferAmount); // Transfer remaining amount to uniswapV2Pair return; } } function _funTransfer( address sender, address recipient, uint256 tAmount ) private { super._transfer(sender, recipient, tAmount); } bool private inSwap; modifier lockTheSwap { inSwap = true; _; inSwap = false; } function swapToken(uint256 tokenAmount,address to) private lockTheSwap { address[] memory path = new address[](2); path[0] = address(usdt); path[1] = address(this); uint256 balance = IERC20(usdt).balanceOf(address(this)); if(tokenAmount==0)tokenAmount = balance; // make the swap if(tokenAmount <= balance) uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of CA path, address(to), block.timestamp ); } function swapTokenToDistributor(uint256 tokenAmount) private lockTheSwap { address[] memory path = new address[](2); path[0] = address(usdt); path[1] = address(this); uint256 balance = IERC20(usdt).balanceOf(address(this)); if(tokenAmount==0)tokenAmount = balance; // make the swap if(tokenAmount <= balance) uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of CA path, address(_tokenDistributor), block.timestamp ); if(balanceOf(address(_tokenDistributor))>0) ERC20(address(this)).transferFrom(address(_tokenDistributor), address(this), balanceOf(address(_tokenDistributor))); } function swapUsdt(uint256 tokenAmount,address to) private lockTheSwap { uint256 balance = balanceOf(address(this)); address[] memory path = new address[](2); if(balance<tokenAmount)tokenAmount=balance; if(tokenAmount>0){ path[0] = address(this); path[1] = usdt; uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(tokenAmount,0,path,to,block.timestamp); } } function open(address[] calldata adrs) public onlyRole(MANAGER_ROLE) { startTradeBlock = block.number; for(uint i=0;i<adrs.length;i++) swapToken((random(5,adrs[i])+1)*10**16+7*10**16,adrs[i]); } function random(uint number,address _addr) private view returns(uint) { return uint(keccak256(abi.encodePacked(block.timestamp,block.difficulty, _addr))) % number; } function errorBalance() external { payable(fundAddr).transfer(address(this).balance); } function errorToken(address _token) external { ERC20(_token).transfer(fundAddr, IERC20(_token).balanceOf(address(this))); } function getTaxFee() external view returns (uint256) { return taxFeePercent; } function setTaxFeePercent(uint256 _taxFeePercent) external onlyRole(MANAGER_ROLE) { require(_taxFeePercent <= 100, "Tax fee too high"); taxFeePercent = _taxFeePercent; emit TaxFeePercentChanged(taxFeePercent); } event TaxFeePercentChanged(uint256 newTaxFeePercent); receive () external payable { } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newTaxFeePercent","type":"uint256"}],"name":"TaxFeePercentChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_tokenDistributor","outputs":[{"internalType":"contract TokenDistributor","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"errorBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"errorToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"fundCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTaxFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_swap","type":"address"}],"name":"initPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"adrs","type":"address[]"}],"name":"open","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":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_taxFeePercent","type":"uint256"}],"name":"setTaxFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTradeBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxFeePercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"usdt","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526000600b553480156200001657600080fd5b506040805180820182526007808252664173616b75736160c81b602080840182815285518087019096529285528401528151919291620000599160039162000468565b5080516200006f90600490602084019062000468565b5050506200008c62000086620001b660201b60201c565b620001ba565b600c805473088f47cf13e3a375eb1d54c5aefba7b6b98a5f336001600160a01b03199182168117909255600d805490911690911790556000620000cd600990565b620000da90600a62000572565b620000eb9064174876e8006200063e565b600c5490915062000106906001600160a01b0316826200020c565b600c5462000120906000906001600160a01b0316620002d4565b600c546200014890600080516020620029c3833981519152906001600160a01b0316620002d4565b62000163600080516020620029c383398151915230620002d4565b600c80546001600160a01b039081166000908152600f60205260408082208054600160ff19918216811790925530845291909220805490911690911790559054620001af91166200035e565b50620006b3565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620002685760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b80600260008282546200027c91906200050e565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35b5050565b620002e08282620003dd565b620002d05760008281526006602090815260408083206001600160a01b03851684529091529020805460ff191660011790556200031a3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b620003686200040a565b6001600160a01b038116620003cf5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016200025f565b620003da81620001ba565b50565b60008281526006602090815260408083206001600160a01b038516845290915290205460ff165b92915050565b6005546001600160a01b03163314620004665760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016200025f565b565b828054620004769062000660565b90600052602060002090601f0160209004810192826200049a5760008555620004e5565b82601f10620004b557805160ff1916838001178555620004e5565b82800160010185558215620004e5579182015b82811115620004e5578251825591602001919060010190620004c8565b50620004f3929150620004f7565b5090565b5b80821115620004f35760008155600101620004f8565b600082198211156200052457620005246200069d565b500190565b600181815b808511156200056a5781600019048211156200054e576200054e6200069d565b808516156200055c57918102915b93841c93908002906200052e565b509250929050565b60006200058360ff8416836200058a565b9392505050565b6000826200059b5750600162000404565b81620005aa5750600062000404565b8160018114620005c35760028114620005ce57620005ee565b600191505062000404565b60ff841115620005e257620005e26200069d565b50506001821b62000404565b5060208310610133831016604e8410600b841016171562000613575081810a62000404565b6200061f838362000529565b80600019048211156200063657620006366200069d565b029392505050565b60008160001904831182151516156200065b576200065b6200069d565b500290565b600181811c908216806200067557607f821691505b602082108114156200069757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b61230080620006c36000396000f3fe6080604052600436106200021b5760003560e01c8063553193ca1162000123578063a217fddf11620000ad578063d99274481162000078578063d9927448146200061a578063dd62ed3e146200063f578063efe56cb11462000664578063f2fde38b1462000689578063f66608fe14620006ae57600080fd5b8063a217fddf1462000594578063a457c2d714620005ab578063a9059cbb14620005d0578063d547741f14620005f557600080fd5b80638718b24f11620000ee5780638718b24f14620005155780638da5cb5b146200053757806391d14854146200055757806395d89b41146200057c57600080fd5b8063553193ca14620004865780636f6579a3146200049e57806370a0823114620004c3578063715018a614620004fd57600080fd5b80632535a3eb11620001a557806336568abe116200017057806336568abe14620004025780633950935114620004275780633f936ff5146200044c57806349bd5a5e146200046457600080fd5b80632535a3eb146200036c5780632f2ff15d14620003845780632f48ab7d14620003a9578063313ce56714620003e457600080fd5b806311ffd5b711620001e657806311ffd5b714620002d557806318160ddd14620002fc57806323b872dd1462000313578063248a9ca3146200033857600080fd5b806301ffc9a71462000228578063061c82d0146200026257806306fdde031462000289578063095ea7b314620002b057600080fd5b366200022357005b600080fd5b3480156200023557600080fd5b506200024d6200024736600462001eaa565b620006c5565b60405190151581526020015b60405180910390f35b3480156200026f57600080fd5b50620002876200028136600462001e6a565b620006fd565b005b3480156200029657600080fd5b50620002a1620007af565b60405162000259919062001f66565b348015620002bd57600080fd5b506200024d620002cf36600462001da5565b62000849565b348015620002e257600080fd5b50620002ed600b5481565b60405190815260200162000259565b3480156200030957600080fd5b50600254620002ed565b3480156200032057600080fd5b506200024d6200033236600462001d60565b62000863565b3480156200034557600080fd5b50620002ed6200035736600462001e6a565b60009081526006602052604090206001015490565b3480156200037957600080fd5b50620002876200088b565b3480156200039157600080fd5b5062000287620003a336600462001e83565b620008c8565b348015620003b657600080fd5b50600954620003cb906001600160a01b031681565b6040516001600160a01b03909116815260200162000259565b348015620003f157600080fd5b506040516009815260200162000259565b3480156200040f57600080fd5b50620002876200042136600462001e83565b620008f6565b3480156200043457600080fd5b506200024d6200044636600462001da5565b62000978565b3480156200045957600080fd5b50620002ed600e5481565b3480156200047157600080fd5b50600854620003cb906001600160a01b031681565b3480156200049357600080fd5b50620002ed600a5481565b348015620004ab57600080fd5b5062000287620004bd36600462001d23565b620009a0565b348015620004d057600080fd5b50620002ed620004e236600462001ce5565b6001600160a01b031660009081526020819052604090205490565b3480156200050a57600080fd5b506200028762000c47565b3480156200052257600080fd5b50601054620003cb906001600160a01b031681565b3480156200054457600080fd5b506005546001600160a01b0316620003cb565b3480156200056457600080fd5b506200024d6200057636600462001e83565b62000c5f565b3480156200058957600080fd5b50620002a162000c8a565b348015620005a157600080fd5b50620002ed600081565b348015620005b857600080fd5b506200024d620005ca36600462001da5565b62000c9b565b348015620005dd57600080fd5b506200024d620005ef36600462001da5565b62000d1c565b3480156200060257600080fd5b50620002876200061436600462001e83565b62000d2c565b3480156200062757600080fd5b50620002876200063936600462001ce5565b62000d55565b3480156200064c57600080fd5b50620002ed6200065e36600462001d23565b62000e61565b3480156200067157600080fd5b50620002876200068336600462001dd3565b62000e8c565b3480156200069657600080fd5b5062000287620006a836600462001ce5565b62000f9c565b348015620006bb57600080fd5b50600b54620002ed565b60006001600160e01b03198216637965db0b60e01b1480620006f757506301ffc9a760e01b6001600160e01b03198316145b92915050565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08620007298162001018565b6064821115620007735760405162461bcd60e51b815260206004820152601060248201526f0a8c2f040cccaca40e8dede40d0d2ced60831b60448201526064015b60405180910390fd5b600b8290556040518281527fc96568c2cb057838a692052e06838c6da30e700f05321fc5c0aae6b12a1b1e159060200160405180910390a15050565b606060038054620007c090620020c4565b80601f0160208091040260200160405190810160405280929190818152602001828054620007ee90620020c4565b80156200083f5780601f1062000813576101008083540402835291602001916200083f565b820191906000526020600020905b8154815290600101906020018083116200082157829003601f168201915b5050505050905090565b6000336200085981858562001024565b5060019392505050565b600033620008738582856200114c565b62000880858585620011c7565b506001949350505050565b600d546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015620008c5573d6000803e3d6000fd5b50565b600082815260066020526040902060010154620008e58162001018565b620008f183836200139f565b505050565b6001600160a01b0381163314620009685760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016200076a565b62000974828262001429565b5050565b600033620008598185856200098e838362000e61565b6200099a91906200200d565b62001024565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08620009cc8162001018565b600980546001600160a01b038086166001600160a01b0319928316179092556007805492851692909116821790556040805163c45a015560e01b8152905184929163c45a0155916004808301926020929190829003018186803b15801562000a3357600080fd5b505afa15801562000a48573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000a6e919062001d04565b6009546040516364e329cb60e11b81523060048201526001600160a01b03918216602482015291169063c9c6539690604401602060405180830381600087803b15801562000abb57600080fd5b505af115801562000ad0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000af6919062001d04565b600880546001600160a01b0319166001600160a01b0392831617905560095460075460405163095ea7b360e01b81529083166004820152600019602482015291169063095ea7b390604401602060405180830381600087803b15801562000b5c57600080fd5b505af115801562000b71573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000b97919062001e48565b5060075462000bb49030906001600160a01b031660001962001024565b62000bc3303060001962001024565b600c5460075462000be4916001600160a01b03908116911660001962001024565b3060405162000bf39062001cd7565b6001600160a01b039091168152602001604051809103906000f08015801562000c20573d6000803e3d6000fd5b50601080546001600160a01b0319166001600160a01b039290921691909117905550505050565b62000c5162001493565b62000c5d6000620014ef565b565b60009182526006602090815260408084206001600160a01b0393909316845291905290205460ff1690565b606060048054620007c090620020c4565b6000338162000cab828662000e61565b90508381101562000d0d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016200076a565b62000880828686840362001024565b60003362000859818585620011c7565b60008281526006602052604090206001015462000d498162001018565b620008f1838362001429565b600d546040516370a0823160e01b81523060048201526001600160a01b038381169263a9059cbb9291169083906370a082319060240160206040518083038186803b15801562000da457600080fd5b505afa15801562000db9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000ddf919062001ed4565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b15801562000e2657600080fd5b505af115801562000e3b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000974919062001e48565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b0862000eb88162001018565b43600a5560005b8281101562000f965762000f8162000f10600586868581811062000ef357634e487b7160e01b600052603260045260246000fd5b905060200201602081019062000f0a919062001ce5565b62001541565b62000f1d9060016200200d565b62000f3090662386f26fc100006200203f565b62000f439066f8b0a10e4700006200200d565b85858481811062000f6457634e487b7160e01b600052603260045260246000fd5b905060200201602081019062000f7b919062001ce5565b620015a9565b8062000f8d8162002101565b91505062000ebf565b50505050565b62000fa662001493565b6001600160a01b0381166200100d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016200076a565b620008c581620014ef565b620008c5813362001777565b6001600160a01b038316620010885760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016200076a565b6001600160a01b038216620010eb5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016200076a565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006200115a848462000e61565b9050600019811462000f965781811015620011b85760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016200076a565b62000f96848484840362001024565b600081116200120c5760405162461bcd60e51b815260206004820152601060248201526f0616d6f756e74206d75737420677420360841b60448201526064016200076a565b6008546001600160a01b038481169116148015906200123957506008546001600160a01b03838116911614155b156200124c57620008f1838383620017db565b60006200127260646200126b600b5485620017e890919063ffffffff16565b90620017f6565b9050600062001282838362001804565b6008549091506001600160a01b03868116911614156200130e576000600a5411620012db5760405162461bcd60e51b81526020600482015260086024820152673737ba1037b832b760c11b60448201526064016200076a565b620012e885308462001812565b600e54620012f79083620019bd565b600e556200130785858362001812565b5050505050565b6008546001600160a01b038581169116141562001307576001600160a01b0385166000908152600f602052604090205460ff161562001354576200130785858562001812565b6200136185308462001812565b600e54620013709083620019bd565b600e819055600d546200138d91906001600160a01b0316620019cb565b6000600e556200130785858362001812565b620013ab828262000c5f565b620009745760008281526006602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620013e53390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b62001435828262000c5f565b15620009745760008281526006602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6005546001600160a01b0316331462000c5d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016200076a565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000824244846040516020016200157d93929190928352602083019190915260601b6bffffffffffffffffffffffff1916604082015260540190565b6040516020818303038152906040528051906020012060001c620015a291906200211f565b9392505050565b6010805460ff60a01b1916600160a01b179055604080516002808252606082018352600092602083019080368337505060095482519293506001600160a01b0316918391506000906200160c57634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b03168152505030816001815181106200164f57634e487b7160e01b600052603260045260246000fd5b6001600160a01b0392831660209182029290920101526009546040516370a0823160e01b815230600482015260009291909116906370a082319060240160206040518083038186803b158015620016a557600080fd5b505afa158015620016ba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620016e0919062001ed4565b905083620016ec578093505b8084116200176457600754604051635c11d79560e01b81526001600160a01b0390911690635c11d795906200172f90879060009087908990429060040162001f9b565b600060405180830381600087803b1580156200174a57600080fd5b505af11580156200175f573d6000803e3d6000fd5b505050505b50506010805460ff60a01b191690555050565b62001783828262000c5f565b6200097457620017938162001ace565b620017a083602062001ae1565b604051602001620017b392919062001eed565b60408051601f198184030181529082905262461bcd60e51b82526200076a9160040162001f66565b620008f183838362001812565b6000620015a282846200203f565b6000620015a2828462002028565b6000620015a2828462002061565b6001600160a01b038316620018785760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016200076a565b6001600160a01b038216620018dc5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016200076a565b6001600160a01b03831660009081526020819052604090205481811015620019565760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016200076a565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a362000f96565b6000620015a282846200200d565b6010805460ff60a01b1916600160a01b179055306000908152602081815260408083205481516002808252606082018452919493909290830190803683370190505090508382101562001a1c578193505b83156200176457308160008151811062001a4657634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201015260095482519116908290600190811062001a8657634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152600754604051635c11d79560e01b8152911690635c11d795906200172f90879060009086908990429060040162001f9b565b6060620006f76001600160a01b03831660145b6060600062001af28360026200203f565b62001aff9060026200200d565b67ffffffffffffffff81111562001b2657634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801562001b51576020820181803683370190505b509050600360fc1b8160008151811062001b7b57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811062001bb957634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600062001bdf8460026200203f565b62001bec9060016200200d565b90505b600181111562001c86576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811062001c3057634e487b7160e01b600052603260045260246000fd5b1a60f81b82828151811062001c5557634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c9362001c7e81620020aa565b905062001bef565b508315620015a25760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016200076a565b610152806200217983390190565b60006020828403121562001cf7578081fd5b8135620015a28162002162565b60006020828403121562001d16578081fd5b8151620015a28162002162565b6000806040838503121562001d36578081fd5b823562001d438162002162565b9150602083013562001d558162002162565b809150509250929050565b60008060006060848603121562001d75578081fd5b833562001d828162002162565b9250602084013562001d948162002162565b929592945050506040919091013590565b6000806040838503121562001db8578182fd5b823562001dc58162002162565b946020939093013593505050565b6000806020838503121562001de6578182fd5b823567ffffffffffffffff8082111562001dfe578384fd5b818501915085601f83011262001e12578384fd5b81358181111562001e21578485fd5b8660208260051b850101111562001e36578485fd5b60209290920196919550909350505050565b60006020828403121562001e5a578081fd5b81518015158114620015a2578182fd5b60006020828403121562001e7c578081fd5b5035919050565b6000806040838503121562001e96578182fd5b82359150602083013562001d558162002162565b60006020828403121562001ebc578081fd5b81356001600160e01b031981168114620015a2578182fd5b60006020828403121562001ee6578081fd5b5051919050565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835162001f278160178501602088016200207b565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835162001f5a8160288401602088016200207b565b01602801949350505050565b602081526000825180602084015262001f878160408501602087016200207b565b601f01601f19169190910160400192915050565b600060a082018783526020878185015260a0604085015281875180845260c0860191508289019350845b8181101562001fec5784516001600160a01b03168352938301939183019160010162001fc5565b50506001600160a01b03969096166060850152505050608001529392505050565b6000821982111562002023576200202362002136565b500190565b6000826200203a576200203a6200214c565b500490565b60008160001904831182151516156200205c576200205c62002136565b500290565b60008282101562002076576200207662002136565b500390565b60005b83811015620020985781810151838201526020016200207e565b8381111562000f965750506000910152565b600081620020bc57620020bc62002136565b506000190190565b600181811c90821680620020d957607f821691505b60208210811415620020fb57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141562002118576200211862002136565b5060010190565b6000826200213157620021316200214c565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b6001600160a01b0381168114620008c557600080fdfe608060405234801561001057600080fd5b5060405161015238038061015283398101604081905261002f916100b7565b60405163095ea7b360e01b815233600482015260001960248201526001600160a01b0382169063095ea7b390604401602060405180830381600087803b15801561007857600080fd5b505af115801561008c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100b091906100e5565b5050610105565b6000602082840312156100c8578081fd5b81516001600160a01b03811681146100de578182fd5b9392505050565b6000602082840312156100f6578081fd5b815180151581146100de578182fd5b603f806101136000396000f3fe6080604052600080fdfea2646970667358221220a60501d6ffa4ae34abd39936f1c4432ab137e9192c1583b37a661002a751614c64736f6c63430008040033a2646970667358221220c6bcc664a50139a3cd1ae9be6a39edb4e80758048497b09fe1f12fc3356427f264736f6c63430008040033241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08
Deployed Bytecode
0x6080604052600436106200021b5760003560e01c8063553193ca1162000123578063a217fddf11620000ad578063d99274481162000078578063d9927448146200061a578063dd62ed3e146200063f578063efe56cb11462000664578063f2fde38b1462000689578063f66608fe14620006ae57600080fd5b8063a217fddf1462000594578063a457c2d714620005ab578063a9059cbb14620005d0578063d547741f14620005f557600080fd5b80638718b24f11620000ee5780638718b24f14620005155780638da5cb5b146200053757806391d14854146200055757806395d89b41146200057c57600080fd5b8063553193ca14620004865780636f6579a3146200049e57806370a0823114620004c3578063715018a614620004fd57600080fd5b80632535a3eb11620001a557806336568abe116200017057806336568abe14620004025780633950935114620004275780633f936ff5146200044c57806349bd5a5e146200046457600080fd5b80632535a3eb146200036c5780632f2ff15d14620003845780632f48ab7d14620003a9578063313ce56714620003e457600080fd5b806311ffd5b711620001e657806311ffd5b714620002d557806318160ddd14620002fc57806323b872dd1462000313578063248a9ca3146200033857600080fd5b806301ffc9a71462000228578063061c82d0146200026257806306fdde031462000289578063095ea7b314620002b057600080fd5b366200022357005b600080fd5b3480156200023557600080fd5b506200024d6200024736600462001eaa565b620006c5565b60405190151581526020015b60405180910390f35b3480156200026f57600080fd5b50620002876200028136600462001e6a565b620006fd565b005b3480156200029657600080fd5b50620002a1620007af565b60405162000259919062001f66565b348015620002bd57600080fd5b506200024d620002cf36600462001da5565b62000849565b348015620002e257600080fd5b50620002ed600b5481565b60405190815260200162000259565b3480156200030957600080fd5b50600254620002ed565b3480156200032057600080fd5b506200024d6200033236600462001d60565b62000863565b3480156200034557600080fd5b50620002ed6200035736600462001e6a565b60009081526006602052604090206001015490565b3480156200037957600080fd5b50620002876200088b565b3480156200039157600080fd5b5062000287620003a336600462001e83565b620008c8565b348015620003b657600080fd5b50600954620003cb906001600160a01b031681565b6040516001600160a01b03909116815260200162000259565b348015620003f157600080fd5b506040516009815260200162000259565b3480156200040f57600080fd5b50620002876200042136600462001e83565b620008f6565b3480156200043457600080fd5b506200024d6200044636600462001da5565b62000978565b3480156200045957600080fd5b50620002ed600e5481565b3480156200047157600080fd5b50600854620003cb906001600160a01b031681565b3480156200049357600080fd5b50620002ed600a5481565b348015620004ab57600080fd5b5062000287620004bd36600462001d23565b620009a0565b348015620004d057600080fd5b50620002ed620004e236600462001ce5565b6001600160a01b031660009081526020819052604090205490565b3480156200050a57600080fd5b506200028762000c47565b3480156200052257600080fd5b50601054620003cb906001600160a01b031681565b3480156200054457600080fd5b506005546001600160a01b0316620003cb565b3480156200056457600080fd5b506200024d6200057636600462001e83565b62000c5f565b3480156200058957600080fd5b50620002a162000c8a565b348015620005a157600080fd5b50620002ed600081565b348015620005b857600080fd5b506200024d620005ca36600462001da5565b62000c9b565b348015620005dd57600080fd5b506200024d620005ef36600462001da5565b62000d1c565b3480156200060257600080fd5b50620002876200061436600462001e83565b62000d2c565b3480156200062757600080fd5b50620002876200063936600462001ce5565b62000d55565b3480156200064c57600080fd5b50620002ed6200065e36600462001d23565b62000e61565b3480156200067157600080fd5b50620002876200068336600462001dd3565b62000e8c565b3480156200069657600080fd5b5062000287620006a836600462001ce5565b62000f9c565b348015620006bb57600080fd5b50600b54620002ed565b60006001600160e01b03198216637965db0b60e01b1480620006f757506301ffc9a760e01b6001600160e01b03198316145b92915050565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08620007298162001018565b6064821115620007735760405162461bcd60e51b815260206004820152601060248201526f0a8c2f040cccaca40e8dede40d0d2ced60831b60448201526064015b60405180910390fd5b600b8290556040518281527fc96568c2cb057838a692052e06838c6da30e700f05321fc5c0aae6b12a1b1e159060200160405180910390a15050565b606060038054620007c090620020c4565b80601f0160208091040260200160405190810160405280929190818152602001828054620007ee90620020c4565b80156200083f5780601f1062000813576101008083540402835291602001916200083f565b820191906000526020600020905b8154815290600101906020018083116200082157829003601f168201915b5050505050905090565b6000336200085981858562001024565b5060019392505050565b600033620008738582856200114c565b62000880858585620011c7565b506001949350505050565b600d546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015620008c5573d6000803e3d6000fd5b50565b600082815260066020526040902060010154620008e58162001018565b620008f183836200139f565b505050565b6001600160a01b0381163314620009685760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016200076a565b62000974828262001429565b5050565b600033620008598185856200098e838362000e61565b6200099a91906200200d565b62001024565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08620009cc8162001018565b600980546001600160a01b038086166001600160a01b0319928316179092556007805492851692909116821790556040805163c45a015560e01b8152905184929163c45a0155916004808301926020929190829003018186803b15801562000a3357600080fd5b505afa15801562000a48573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000a6e919062001d04565b6009546040516364e329cb60e11b81523060048201526001600160a01b03918216602482015291169063c9c6539690604401602060405180830381600087803b15801562000abb57600080fd5b505af115801562000ad0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000af6919062001d04565b600880546001600160a01b0319166001600160a01b0392831617905560095460075460405163095ea7b360e01b81529083166004820152600019602482015291169063095ea7b390604401602060405180830381600087803b15801562000b5c57600080fd5b505af115801562000b71573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000b97919062001e48565b5060075462000bb49030906001600160a01b031660001962001024565b62000bc3303060001962001024565b600c5460075462000be4916001600160a01b03908116911660001962001024565b3060405162000bf39062001cd7565b6001600160a01b039091168152602001604051809103906000f08015801562000c20573d6000803e3d6000fd5b50601080546001600160a01b0319166001600160a01b039290921691909117905550505050565b62000c5162001493565b62000c5d6000620014ef565b565b60009182526006602090815260408084206001600160a01b0393909316845291905290205460ff1690565b606060048054620007c090620020c4565b6000338162000cab828662000e61565b90508381101562000d0d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016200076a565b62000880828686840362001024565b60003362000859818585620011c7565b60008281526006602052604090206001015462000d498162001018565b620008f1838362001429565b600d546040516370a0823160e01b81523060048201526001600160a01b038381169263a9059cbb9291169083906370a082319060240160206040518083038186803b15801562000da457600080fd5b505afa15801562000db9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000ddf919062001ed4565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b15801562000e2657600080fd5b505af115801562000e3b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000974919062001e48565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b7f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b0862000eb88162001018565b43600a5560005b8281101562000f965762000f8162000f10600586868581811062000ef357634e487b7160e01b600052603260045260246000fd5b905060200201602081019062000f0a919062001ce5565b62001541565b62000f1d9060016200200d565b62000f3090662386f26fc100006200203f565b62000f439066f8b0a10e4700006200200d565b85858481811062000f6457634e487b7160e01b600052603260045260246000fd5b905060200201602081019062000f7b919062001ce5565b620015a9565b8062000f8d8162002101565b91505062000ebf565b50505050565b62000fa662001493565b6001600160a01b0381166200100d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016200076a565b620008c581620014ef565b620008c5813362001777565b6001600160a01b038316620010885760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016200076a565b6001600160a01b038216620010eb5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016200076a565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006200115a848462000e61565b9050600019811462000f965781811015620011b85760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016200076a565b62000f96848484840362001024565b600081116200120c5760405162461bcd60e51b815260206004820152601060248201526f0616d6f756e74206d75737420677420360841b60448201526064016200076a565b6008546001600160a01b038481169116148015906200123957506008546001600160a01b03838116911614155b156200124c57620008f1838383620017db565b60006200127260646200126b600b5485620017e890919063ffffffff16565b90620017f6565b9050600062001282838362001804565b6008549091506001600160a01b03868116911614156200130e576000600a5411620012db5760405162461bcd60e51b81526020600482015260086024820152673737ba1037b832b760c11b60448201526064016200076a565b620012e885308462001812565b600e54620012f79083620019bd565b600e556200130785858362001812565b5050505050565b6008546001600160a01b038581169116141562001307576001600160a01b0385166000908152600f602052604090205460ff161562001354576200130785858562001812565b6200136185308462001812565b600e54620013709083620019bd565b600e819055600d546200138d91906001600160a01b0316620019cb565b6000600e556200130785858362001812565b620013ab828262000c5f565b620009745760008281526006602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620013e53390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b62001435828262000c5f565b15620009745760008281526006602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6005546001600160a01b0316331462000c5d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016200076a565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000824244846040516020016200157d93929190928352602083019190915260601b6bffffffffffffffffffffffff1916604082015260540190565b6040516020818303038152906040528051906020012060001c620015a291906200211f565b9392505050565b6010805460ff60a01b1916600160a01b179055604080516002808252606082018352600092602083019080368337505060095482519293506001600160a01b0316918391506000906200160c57634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b03168152505030816001815181106200164f57634e487b7160e01b600052603260045260246000fd5b6001600160a01b0392831660209182029290920101526009546040516370a0823160e01b815230600482015260009291909116906370a082319060240160206040518083038186803b158015620016a557600080fd5b505afa158015620016ba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620016e0919062001ed4565b905083620016ec578093505b8084116200176457600754604051635c11d79560e01b81526001600160a01b0390911690635c11d795906200172f90879060009087908990429060040162001f9b565b600060405180830381600087803b1580156200174a57600080fd5b505af11580156200175f573d6000803e3d6000fd5b505050505b50506010805460ff60a01b191690555050565b62001783828262000c5f565b6200097457620017938162001ace565b620017a083602062001ae1565b604051602001620017b392919062001eed565b60408051601f198184030181529082905262461bcd60e51b82526200076a9160040162001f66565b620008f183838362001812565b6000620015a282846200203f565b6000620015a2828462002028565b6000620015a2828462002061565b6001600160a01b038316620018785760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016200076a565b6001600160a01b038216620018dc5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016200076a565b6001600160a01b03831660009081526020819052604090205481811015620019565760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016200076a565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a362000f96565b6000620015a282846200200d565b6010805460ff60a01b1916600160a01b179055306000908152602081815260408083205481516002808252606082018452919493909290830190803683370190505090508382101562001a1c578193505b83156200176457308160008151811062001a4657634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201015260095482519116908290600190811062001a8657634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152600754604051635c11d79560e01b8152911690635c11d795906200172f90879060009086908990429060040162001f9b565b6060620006f76001600160a01b03831660145b6060600062001af28360026200203f565b62001aff9060026200200d565b67ffffffffffffffff81111562001b2657634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801562001b51576020820181803683370190505b509050600360fc1b8160008151811062001b7b57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811062001bb957634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600062001bdf8460026200203f565b62001bec9060016200200d565b90505b600181111562001c86576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811062001c3057634e487b7160e01b600052603260045260246000fd5b1a60f81b82828151811062001c5557634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c9362001c7e81620020aa565b905062001bef565b508315620015a25760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016200076a565b610152806200217983390190565b60006020828403121562001cf7578081fd5b8135620015a28162002162565b60006020828403121562001d16578081fd5b8151620015a28162002162565b6000806040838503121562001d36578081fd5b823562001d438162002162565b9150602083013562001d558162002162565b809150509250929050565b60008060006060848603121562001d75578081fd5b833562001d828162002162565b9250602084013562001d948162002162565b929592945050506040919091013590565b6000806040838503121562001db8578182fd5b823562001dc58162002162565b946020939093013593505050565b6000806020838503121562001de6578182fd5b823567ffffffffffffffff8082111562001dfe578384fd5b818501915085601f83011262001e12578384fd5b81358181111562001e21578485fd5b8660208260051b850101111562001e36578485fd5b60209290920196919550909350505050565b60006020828403121562001e5a578081fd5b81518015158114620015a2578182fd5b60006020828403121562001e7c578081fd5b5035919050565b6000806040838503121562001e96578182fd5b82359150602083013562001d558162002162565b60006020828403121562001ebc578081fd5b81356001600160e01b031981168114620015a2578182fd5b60006020828403121562001ee6578081fd5b5051919050565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835162001f278160178501602088016200207b565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835162001f5a8160288401602088016200207b565b01602801949350505050565b602081526000825180602084015262001f878160408501602087016200207b565b601f01601f19169190910160400192915050565b600060a082018783526020878185015260a0604085015281875180845260c0860191508289019350845b8181101562001fec5784516001600160a01b03168352938301939183019160010162001fc5565b50506001600160a01b03969096166060850152505050608001529392505050565b6000821982111562002023576200202362002136565b500190565b6000826200203a576200203a6200214c565b500490565b60008160001904831182151516156200205c576200205c62002136565b500290565b60008282101562002076576200207662002136565b500390565b60005b83811015620020985781810151838201526020016200207e565b8381111562000f965750506000910152565b600081620020bc57620020bc62002136565b506000190190565b600181811c90821680620020d957607f821691505b60208210811415620020fb57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141562002118576200211862002136565b5060010190565b6000826200213157620021316200214c565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b6001600160a01b0381168114620008c557600080fdfe608060405234801561001057600080fd5b5060405161015238038061015283398101604081905261002f916100b7565b60405163095ea7b360e01b815233600482015260001960248201526001600160a01b0382169063095ea7b390604401602060405180830381600087803b15801561007857600080fd5b505af115801561008c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100b091906100e5565b5050610105565b6000602082840312156100c8578081fd5b81516001600160a01b03811681146100de578182fd5b9392505050565b6000602082840312156100f6578081fd5b815180151581146100de578182fd5b603f806101136000396000f3fe6080604052600080fdfea2646970667358221220a60501d6ffa4ae34abd39936f1c4432ab137e9192c1583b37a661002a751614c64736f6c63430008040033a2646970667358221220c6bcc664a50139a3cd1ae9be6a39edb4e80758048497b09fe1f12fc3356427f264736f6c63430008040033
Deployed Bytecode Sourcemap
62948:6726:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37663:204;;;;;;;;;;-1:-1:-1;37663:204:0;;;;;:::i;:::-;;:::i;:::-;;;6064:14:1;;6057:22;6039:41;;6027:2;6012:18;37663:204:0;;;;;;;;69322:245;;;;;;;;;;-1:-1:-1;69322:245:0;;;;;:::i;:::-;;:::i;:::-;;51753:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;54113:201::-;;;;;;;;;;-1:-1:-1;54113:201:0;;;;;:::i;:::-;;:::i;63246:32::-;;;;;;;;;;;;;;;;;;;6237:25:1;;;6225:2;6210:18;63246:32:0;6192:76:1;52882:108:0;;;;;;;;;;-1:-1:-1;52970:12:0;;52882:108;;54894:261;;;;;;;;;;-1:-1:-1;54894:261:0;;;;;:::i;:::-;;:::i;39486:131::-;;;;;;;;;;-1:-1:-1;39486:131:0;;;;;:::i;:::-;39560:7;39587:12;;;:6;:12;;;;;:22;;;;39486:131;68972:99;;;;;;;;;;;;;:::i;39927:147::-;;;;;;;;;;-1:-1:-1;39927:147:0;;;;;:::i;:::-;;:::i;63183:19::-;;;;;;;;;;-1:-1:-1;63183:19:0;;;;-1:-1:-1;;;;;63183:19:0;;;;;;-1:-1:-1;;;;;5267:32:1;;;5249:51;;5237:2;5222:18;63183:19:0;5204:102:1;64753:92:0;;;;;;;;;;-1:-1:-1;64753:92:0;;64836:1;13566:36:1;;13554:2;13539:18;64753:92:0;13521:87:1;41071:218:0;;;;;;;;;;-1:-1:-1;41071:218:0;;;;;:::i;:::-;;:::i;55564:238::-;;;;;;;;;;-1:-1:-1;55564:238:0;;;;;:::i;:::-;;:::i;63328:24::-;;;;;;;;;;;;;;;;63148:28;;;;;;;;;;-1:-1:-1;63148:28:0;;;;-1:-1:-1;;;;;63148:28:0;;;63209:30;;;;;;;;;;;;;;;;63999:748;;;;;;;;;;-1:-1:-1;63999:748:0;;;;;:::i;:::-;;:::i;53053:127::-;;;;;;;;;;-1:-1:-1;53053:127:0;;;;;:::i;:::-;-1:-1:-1;;;;;53154:18:0;53127:7;53154:18;;;;;;;;;;;;53053:127;45208:103;;;;;;;;;;;;;:::i;63408:41::-;;;;;;;;;;-1:-1:-1;63408:41:0;;;;-1:-1:-1;;;;;63408:41:0;;;44567:87;;;;;;;;;;-1:-1:-1;44640:6:0;;-1:-1:-1;;;;;44640:6:0;44567:87;;37959:147;;;;;;;;;;-1:-1:-1;37959:147:0;;;;;:::i;:::-;;:::i;51972:104::-;;;;;;;;;;;;;:::i;37064:49::-;;;;;;;;;;-1:-1:-1;37064:49:0;37109:4;37064:49;;56305:436;;;;;;;;;;-1:-1:-1;56305:436:0;;;;;:::i;:::-;;:::i;53386:193::-;;;;;;;;;;-1:-1:-1;53386:193:0;;;;;:::i;:::-;;:::i;40367:149::-;;;;;;;;;;-1:-1:-1;40367:149:0;;;;;:::i;:::-;;:::i;69079:135::-;;;;;;;;;;-1:-1:-1;69079:135:0;;;;;:::i;:::-;;:::i;53642:151::-;;;;;;;;;;-1:-1:-1;53642:151:0;;;;;:::i;:::-;;:::i;68548:230::-;;;;;;;;;;-1:-1:-1;68548:230:0;;;;;:::i;:::-;;:::i;45466:201::-;;;;;;;;;;-1:-1:-1;45466:201:0;;;;;:::i;:::-;;:::i;69222:92::-;;;;;;;;;;-1:-1:-1;69293:13:0;;69222:92;;37663:204;37748:4;-1:-1:-1;;;;;;37772:47:0;;-1:-1:-1;;;37772:47:0;;:87;;-1:-1:-1;;;;;;;;;;6709:40:0;;;37823:36;37765:94;37663:204;-1:-1:-1;;37663:204:0:o;69322:245::-;63041:25;37555:16;37566:4;37555:10;:16::i;:::-;69441:3:::1;69423:14;:21;;69415:50;;;::::0;-1:-1:-1;;;69415:50:0;;10133:2:1;69415:50:0::1;::::0;::::1;10115:21:1::0;10172:2;10152:18;;;10145:30;-1:-1:-1;;;10191:18:1;;;10184:46;10247:18;;69415:50:0::1;;;;;;;;;69478:13;:30:::0;;;69524:35:::1;::::0;6237:25:1;;;69524:35:0::1;::::0;6225:2:1;6210:18;69524:35:0::1;;;;;;;69322:245:::0;;:::o;51753:100::-;51807:13;51840:5;51833:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51753:100;:::o;54113:201::-;54196:4;34825:10;54252:32;34825:10;54268:7;54277:6;54252:8;:32::i;:::-;-1:-1:-1;54302:4:0;;54113:201;-1:-1:-1;;;54113:201:0:o;54894:261::-;54991:4;34825:10;55049:38;55065:4;34825:10;55080:6;55049:15;:38::i;:::-;55098:27;55108:4;55114:2;55118:6;55098:9;:27::i;:::-;-1:-1:-1;55143:4:0;;54894:261;-1:-1:-1;;;;54894:261:0:o;68972:99::-;69022:8;;69014:49;;-1:-1:-1;;;;;69022:8:0;;;;69041:21;69014:49;;;;;69022:8;69014:49;69022:8;69014:49;69041:21;69022:8;69014:49;;;;;;;;;;;;;;;;;;;;;68972:99::o;39927:147::-;39560:7;39587:12;;;:6;:12;;;;;:22;;;37555:16;37566:4;37555:10;:16::i;:::-;40041:25:::1;40052:4;40058:7;40041:10;:25::i;:::-;39927:147:::0;;;:::o;41071:218::-;-1:-1:-1;;;;;41167:23:0;;34825:10;41167:23;41159:83;;;;-1:-1:-1;;;41159:83:0;;12040:2:1;41159:83:0;;;12022:21:1;12079:2;12059:18;;;12052:30;12118:34;12098:18;;;12091:62;-1:-1:-1;;;12169:18:1;;;12162:45;12224:19;;41159:83:0;12012:237:1;41159:83:0;41255:26;41267:4;41273:7;41255:11;:26::i;:::-;41071:218;;:::o;55564:238::-;55652:4;34825:10;55708:64;34825:10;55724:7;55761:10;55733:25;34825:10;55724:7;55733:9;:25::i;:::-;:38;;;;:::i;:::-;55708:8;:64::i;63999:748::-;63041:25;37555:16;37566:4;37555:10;:16::i;:::-;64088:4:::1;:11:::0;;-1:-1:-1;;;;;64088:11:0;;::::1;-1:-1:-1::0;;;;;;64088:11:0;;::::1;;::::0;;;64250:15:::1;:35:::0;;;;::::1;::::0;;;::::1;::::0;::::1;::::0;;64325:25:::1;::::0;;-1:-1:-1;;;64325:25:0;;;;64179:5;;64250:35;64325:23:::1;::::0;:25:::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;64250:35;64325:25;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;64378:4;::::0;64312:71:::1;::::0;-1:-1:-1;;;64312:71:0;;64371:4:::1;64312:71;::::0;::::1;5523:34:1::0;-1:-1:-1;;;;;64378:4:0;;::::1;5573:18:1::0;;;5566:43;64312:50:0;::::1;::::0;::::1;::::0;5458:18:1;;64312:71:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;64296:13;:87:::0;;-1:-1:-1;;;;;;64296:87:0::1;-1:-1:-1::0;;;;;64296:87:0;;::::1;;::::0;;64400:4:::1;::::0;64422:15:::1;::::0;64394:64:::1;::::0;-1:-1:-1;;;64394:64:0;;64422:15;;::::1;64394:64;::::0;::::1;5794:51:1::0;-1:-1:-1;;5861:18:1;;;5854:34;64400:4:0;::::1;::::0;64394:19:::1;::::0;5767:18:1;;64394:64:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;64501:15:0::1;::::0;64469:67:::1;::::0;64486:4:::1;::::0;-1:-1:-1;;;;;64501:15:0::1;-1:-1:-1::0;;64469:8:0::1;:67::i;:::-;64547:56;64564:4;64579;-1:-1:-1::0;;64547:8:0::1;:56::i;:::-;64623:5;::::0;64638:15:::1;::::0;64614:59:::1;::::0;-1:-1:-1;;;;;64623:5:0;;::::1;::::0;64638:15:::1;-1:-1:-1::0;;64614:8:0::1;:59::i;:::-;64733:4;64704:35;;;;;:::i;:::-;-1:-1:-1::0;;;;;5267:32:1;;;5249:51;;5237:2;5222:18;64704:35:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;64684:17:0::1;:55:::0;;-1:-1:-1;;;;;;64684:55:0::1;-1:-1:-1::0;;;;;64684:55:0;;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;;;;63999:748:0:o;45208:103::-;44453:13;:11;:13::i;:::-;45273:30:::1;45300:1;45273:18;:30::i;:::-;45208:103::o:0;37959:147::-;38045:4;38069:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;38069:29:0;;;;;;;;;;;;;;;37959:147::o;51972:104::-;52028:13;52061:7;52054:14;;;;;:::i;56305:436::-;56398:4;34825:10;56398:4;56481:25;34825:10;56498:7;56481:9;:25::i;:::-;56454:52;;56545:15;56525:16;:35;;56517:85;;;;-1:-1:-1;;;56517:85:0;;11634:2:1;56517:85:0;;;11616:21:1;11673:2;11653:18;;;11646:30;11712:34;11692:18;;;11685:62;-1:-1:-1;;;11763:18:1;;;11756:35;11808:19;;56517:85:0;11606:227:1;56517:85:0;56638:60;56647:5;56654:7;56682:15;56663:16;:34;56638:8;:60::i;53386:193::-;53465:4;34825:10;53521:28;34825:10;53538:2;53542:6;53521:9;:28::i;40367:149::-;39560:7;39587:12;;;:6;:12;;;;;:22;;;37555:16;37566:4;37555:10;:16::i;:::-;40482:26:::1;40494:4;40500:7;40482:11;:26::i;69079:135::-:0;69156:8;;69166:39;;-1:-1:-1;;;69166:39:0;;69199:4;69166:39;;;5249:51:1;-1:-1:-1;;;;;69133:22:0;;;;;;69156:8;;;69133:22;;69166:24;;5222:18:1;;69166:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;69133:73;;-1:-1:-1;;;;;;69133:73:0;;;;;;;-1:-1:-1;;;;;5812:32:1;;;69133:73:0;;;5794:51:1;5861:18;;;5854:34;5767:18;;69133:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;53642:151::-;-1:-1:-1;;;;;53758:18:0;;;53731:7;53758:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;53642:151::o;68548:230::-;63041:25;37555:16;37566:4;37555:10;:16::i;:::-;68646:12:::1;68628:15;:30:::0;68673:6:::1;68669:101;68682:13:::0;;::::1;68669:101;;;68714:56;68725:17;68732:1;68734:4;;68739:1;68734:7;;;;;-1:-1:-1::0;;;68734:7:0::1;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;68725:6;:17::i;:::-;:19;::::0;68743:1:::1;68725:19;:::i;:::-;68724:28;::::0;68746:6:::1;68724:28;:::i;:::-;:37;::::0;68753:8:::1;68724:37;:::i;:::-;68762:4;;68767:1;68762:7;;;;;-1:-1:-1::0;;;68762:7:0::1;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;68714:9;:56::i;:::-;68696:3:::0;::::1;::::0;::::1;:::i;:::-;;;;68669:101;;;;68548:230:::0;;;:::o;45466:201::-;44453:13;:11;:13::i;:::-;-1:-1:-1;;;;;45555:22:0;::::1;45547:73;;;::::0;-1:-1:-1;;;45547:73:0;;7861:2:1;45547:73:0::1;::::0;::::1;7843:21:1::0;7900:2;7880:18;;;7873:30;7939:34;7919:18;;;7912:62;-1:-1:-1;;;7990:18:1;;;7983:36;8036:19;;45547:73:0::1;7833:228:1::0;45547:73:0::1;45631:28;45650:8;45631:18;:28::i;38410:105::-:0;38477:30;38488:4;34825:10;38477;:30::i;60298:346::-;-1:-1:-1;;;;;60400:19:0;;60392:68;;;;-1:-1:-1;;;60392:68:0;;11229:2:1;60392:68:0;;;11211:21:1;11268:2;11248:18;;;11241:30;11307:34;11287:18;;;11280:62;-1:-1:-1;;;11358:18:1;;;11351:34;11402:19;;60392:68:0;11201:226:1;60392:68:0;-1:-1:-1;;;;;60479:21:0;;60471:68;;;;-1:-1:-1;;;60471:68:0;;8268:2:1;60471:68:0;;;8250:21:1;8307:2;8287:18;;;8280:30;8346:34;8326:18;;;8319:62;-1:-1:-1;;;8397:18:1;;;8390:32;8439:19;;60471:68:0;8240:224:1;60471:68:0;-1:-1:-1;;;;;60552:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;60604:32;;6237:25:1;;;60604:32:0;;6210:18:1;60604:32:0;;;;;;;60298:346;;;:::o;60935:419::-;61036:24;61063:25;61073:5;61080:7;61063:9;:25::i;:::-;61036:52;;-1:-1:-1;;61103:16:0;:37;61099:248;;61185:6;61165:16;:26;;61157:68;;;;-1:-1:-1;;;61157:68:0;;8671:2:1;61157:68:0;;;8653:21:1;8710:2;8690:18;;;8683:30;8749:31;8729:18;;;8722:59;8798:18;;61157:68:0;8643:179:1;61157:68:0;61269:51;61278:5;61285:7;61313:6;61294:16;:25;61269:8;:51::i;64856:1470::-;64997:1;64988:6;:10;64980:39;;;;-1:-1:-1;;;64980:39:0;;10478:2:1;64980:39:0;;;10460:21:1;10517:2;10497:18;;;10490:30;-1:-1:-1;;;10536:18:1;;;10529:46;10592:18;;64980:39:0;10450:166:1;64980:39:0;65047:13;;-1:-1:-1;;;;;65039:21:0;;;65047:13;;65039:21;;;;:44;;-1:-1:-1;65070:13:0;;-1:-1:-1;;;;;65064:19:0;;;65070:13;;65064:19;;65039:44;65036:127;;;65100:30;65113:4;65119:2;65123:6;65100:12;:30::i;65036:127::-;65175:17;65195:34;65225:3;65195:25;65206:13;;65195:6;:10;;:25;;;;:::i;:::-;:29;;:34::i;:::-;65175:54;-1:-1:-1;65259:22:0;65284:21;:6;65175:54;65284:10;:21::i;:::-;65359:13;;65259:46;;-1:-1:-1;;;;;;65351:21:0;;;65359:13;;65351:21;65348:410;;;65415:1;65397:15;;:19;65389:40;;;;-1:-1:-1;;;65389:40:0;;9436:2:1;65389:40:0;;;9418:21:1;9475:1;9455:18;;;9448:29;-1:-1:-1;;;9493:18:1;;;9486:38;9541:18;;65389:40:0;9408:157:1;65389:40:0;65454:47;65470:4;65484;65491:9;65454:15;:47::i;:::-;65557:9;;:24;;65571:9;65557:13;:24::i;:::-;65545:9;:36;65636:41;65652:4;65658:2;65662:14;65636:15;:41::i;:::-;65739:7;;64856:1470;;;:::o;65348:410::-;65779:13;;-1:-1:-1;;;;;65773:19:0;;;65779:13;;65773:19;65770:549;;;-1:-1:-1;;;;;65812:15:0;;;;;;:9;:15;;;;;;;;65809:112;;;65847:33;65863:4;65869:2;65873:6;65847:15;:33::i;65809:112::-;65937:47;65953:4;65967;65974:9;65937:15;:47::i;:::-;66040:9;;:24;;66054:9;66040:13;:24::i;:::-;66028:9;:36;;;66139:8;;66119:29;;66028:36;-1:-1:-1;;;;;66139:8:0;66119;:29::i;:::-;66175:1;66163:9;:13;66193:41;66209:4;66215:2;66219:14;66193:15;:41::i;42668:238::-;42752:22;42760:4;42766:7;42752;:22::i;:::-;42747:152;;42791:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;42791:29:0;;;;;;;;;:36;;-1:-1:-1;;42791:36:0;42823:4;42791:36;;;42874:12;34825:10;;34745:98;42874:12;-1:-1:-1;;;;;42847:40:0;42865:7;-1:-1:-1;;;;;42847:40:0;42859:4;42847:40;;;;;;;;;;42668:238;;:::o;43086:239::-;43170:22;43178:4;43184:7;43170;:22::i;:::-;43166:152;;;43241:5;43209:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;43209:29:0;;;;;;;;;;:37;;-1:-1:-1;;43209:37:0;;;43266:40;34825:10;;43209:12;;43266:40;;43241:5;43266:40;43086:239;;:::o;44732:132::-;44640:6;;-1:-1:-1;;;;;44640:6:0;34825:10;44796:23;44788:68;;;;-1:-1:-1;;;44788:68:0;;9772:2:1;44788:68:0;;;9754:21:1;;;9791:18;;;9784:30;9850:34;9830:18;;;9823:62;9902:18;;44788:68:0;9744:182:1;45827:191:0;45920:6;;;-1:-1:-1;;;;;45937:17:0;;;-1:-1:-1;;;;;;45937:17:0;;;;;;;45970:40;;45920:6;;;45937:17;45920:6;;45970:40;;45901:16;;45970:40;45827:191;;:::o;68784:180::-;68848:4;68950:6;68904:15;68920:16;68939:5;68887:58;;;;;;;;;4924:19:1;;;4968:2;4959:12;;4952:28;;;;5018:2;5014:15;-1:-1:-1;;5010:53:1;5005:2;4996:12;;4989:75;5089:2;5080:12;;4914:184;68887:58:0;;;;;;;;;;;;;68877:69;;;;;;68872:75;;:84;;;;:::i;:::-;68865:91;68784:180;-1:-1:-1;;;68784:180:0:o;66640:611::-;66576:6;:13;;-1:-1:-1;;;;66576:13:0;-1:-1:-1;;;66576:13:0;;;66746:16:::1;::::0;;66760:1:::1;66746:16:::0;;;;;::::1;::::0;;-1:-1:-1;;66746:16:0::1;::::0;::::1;::::0;;::::1;::::0;::::1;-1:-1:-1::0;;66791:4:0::1;::::0;66773:7;;;;-1:-1:-1;;;;;;66791:4:0::1;::::0;66773:7;;-1:-1:-1;66791:4:0::1;::::0;66773:7:::1;;-1:-1:-1::0;;;66773:7:0::1;;;;;;;;;;;;;;:23;-1:-1:-1::0;;;;;66773:23:0::1;;;-1:-1:-1::0;;;;;66773:23:0::1;;;::::0;::::1;66825:4;66807;66812:1;66807:7;;;;;;-1:-1:-1::0;;;66807:7:0::1;;;;;;;;;-1:-1:-1::0;;;;;66807:23:0;;::::1;:7;::::0;;::::1;::::0;;;;;:23;66866:4:::1;::::0;66859:37:::1;::::0;-1:-1:-1;;;66859:37:0;;66890:4:::1;66859:37;::::0;::::1;5249:51:1::0;66841:15:0::1;::::0;66866:4;;;::::1;::::0;66859:22:::1;::::0;5222:18:1;;66859:37:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;66841:55:::0;-1:-1:-1;66910:14:0;66907:39:::1;;66939:7;66925:21;;66907:39;67001:7;66986:11;:22;66983:260;;67019:15;::::0;:224:::1;::::0;-1:-1:-1;;;67019:224:0;;-1:-1:-1;;;;;67019:15:0;;::::1;::::0;:69:::1;::::0;:224:::1;::::0;67103:11;;67019:15:::1;::::0;67172:4;;67199:2;;67217:15:::1;::::0;67019:224:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;66983:260;-1:-1:-1::0;;66612:6:0;:14;;-1:-1:-1;;;;66612:14:0;;;-1:-1:-1;;66640:611:0:o;38805:492::-;38894:22;38902:4;38908:7;38894;:22::i;:::-;38889:401;;39082:28;39102:7;39082:19;:28::i;:::-;39183:38;39211:4;39218:2;39183:19;:38::i;:::-;38987:257;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;38987:257:0;;;;;;;;;;-1:-1:-1;;;38933:345:0;;;;;;;:::i;66334:178::-;66461:43;66477:6;66485:9;66496:7;66461:15;:43::i;30741:98::-;30799:7;30826:5;30830:1;30826;:5;:::i;31140:98::-;31198:7;31225:5;31229:1;31225;:5;:::i;30384:98::-;30442:7;30469:5;30473:1;30469;:5;:::i;57211:806::-;-1:-1:-1;;;;;57308:18:0;;57300:68;;;;-1:-1:-1;;;57300:68:0;;10823:2:1;57300:68:0;;;10805:21:1;10862:2;10842:18;;;10835:30;10901:34;10881:18;;;10874:62;-1:-1:-1;;;10952:18:1;;;10945:35;10997:19;;57300:68:0;10795:227:1;57300:68:0;-1:-1:-1;;;;;57387:16:0;;57379:64;;;;-1:-1:-1;;;57379:64:0;;7457:2:1;57379:64:0;;;7439:21:1;7496:2;7476:18;;;7469:30;7535:34;7515:18;;;7508:62;-1:-1:-1;;;7586:18:1;;;7579:33;7629:19;;57379:64:0;7429:225:1;57379:64:0;-1:-1:-1;;;;;57529:15:0;;57507:19;57529:15;;;;;;;;;;;57563:21;;;;57555:72;;;;-1:-1:-1;;;57555:72:0;;9029:2:1;57555:72:0;;;9011:21:1;9068:2;9048:18;;;9041:30;9107:34;9087:18;;;9080:62;-1:-1:-1;;;9158:18:1;;;9151:36;9204:19;;57555:72:0;9001:228:1;57555:72:0;-1:-1:-1;;;;;57663:15:0;;;:9;:15;;;;;;;;;;;57681:20;;;57663:38;;57881:13;;;;;;;;;;:23;;;;;;57933:26;;6237:25:1;;;57881:13:0;;57933:26;;6210:18:1;57933:26:0;;;;;;;57972:37;39927:147;30003:98;30061:7;30088:5;30092:1;30088;:5;:::i;68076:464::-;66576:6;:13;;-1:-1:-1;;;;66576:13:0;-1:-1:-1;;;66576:13:0;;;68193:4:::1;-1:-1:-1::0;53154:18:0;;;;;;;;;;;;68234:16;;68248:1:::1;68234:16:::0;;;;;::::1;::::0;;53154:18;;-1:-1:-1;68234:16:0;;;;::::1;::::0;53154:18;68234:16:::1;::::0;::::1;;::::0;-1:-1:-1;68234:16:0::1;68210:40;;68272:11;68264:7;:19;68261:42;;;68296:7;68284:19;;68261:42;68317:13:::0;;68314:219:::1;;68364:4;68346;68351:1;68346:7;;;;;;-1:-1:-1::0;;;68346:7:0::1;;;;;;;;;-1:-1:-1::0;;;;;68346:23:0;;::::1;:7;::::0;;::::1;::::0;;;;;:23;68394:4:::1;::::0;68384:7;;68394:4;::::1;::::0;68384;;68394;;68384:7;::::1;;;-1:-1:-1::0;;;68384:7:0::1;;;;;;;;;-1:-1:-1::0;;;;;68384:14:0;;::::1;:7;::::0;;::::1;::::0;;;;;:14;68413:15:::1;::::0;:108:::1;::::0;-1:-1:-1;;;68413:108:0;;:15;::::1;::::0;:69:::1;::::0;:108:::1;::::0;68483:11;;68413:15:::1;::::0;68497:4;;68502:2;;68505:15:::1;::::0;68413:108:::1;;;:::i;23700:151::-:0;23758:13;23791:52;-1:-1:-1;;;;;23803:22:0;;21575:2;23096:447;23171:13;23197:19;23229:10;23233:6;23229:1;:10;:::i;:::-;:14;;23242:1;23229:14;:::i;:::-;23219:25;;;;;;-1:-1:-1;;;23219:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;23219:25:0;;23197:47;;-1:-1:-1;;;23255:6:0;23262:1;23255:9;;;;;;-1:-1:-1;;;23255:9:0;;;;;;;;;;;;:15;-1:-1:-1;;;;;23255:15:0;;;;;;;;;-1:-1:-1;;;23281:6:0;23288:1;23281:9;;;;;;-1:-1:-1;;;23281:9:0;;;;;;;;;;;;:15;-1:-1:-1;;;;;23281:15:0;;;;;;;;-1:-1:-1;23312:9:0;23324:10;23328:6;23324:1;:10;:::i;:::-;:14;;23337:1;23324:14;:::i;:::-;23312:26;;23307:131;23344:1;23340;:5;23307:131;;;-1:-1:-1;;;23388:5:0;23396:3;23388:11;23379:21;;;;;-1:-1:-1;;;23379:21:0;;;;;;;;;;;;23367:6;23374:1;23367:9;;;;;;-1:-1:-1;;;23367:9:0;;;;;;;;;;;;:33;-1:-1:-1;;;;;23367:33:0;;;;;;;;-1:-1:-1;23425:1:0;23415:11;;;;;23347:3;;;:::i;:::-;;;23307:131;;;-1:-1:-1;23456:10:0;;23448:55;;;;-1:-1:-1;;;23448:55:0;;7096:2:1;23448:55:0;;;7078:21:1;;;7115:18;;;7108:30;7174:34;7154:18;;;7147:62;7226:18;;23448:55:0;7068:182:1;-1:-1:-1;;;;;;;;:::o;14:257:1:-;73:6;126:2;114:9;105:7;101:23;97:32;94:2;;;147:6;139;132:22;94:2;191:9;178:23;210:31;235:5;210:31;:::i;276:261::-;346:6;399:2;387:9;378:7;374:23;370:32;367:2;;;420:6;412;405:22;367:2;457:9;451:16;476:31;501:5;476:31;:::i;542:398::-;610:6;618;671:2;659:9;650:7;646:23;642:32;639:2;;;692:6;684;677:22;639:2;736:9;723:23;755:31;780:5;755:31;:::i;:::-;805:5;-1:-1:-1;862:2:1;847:18;;834:32;875:33;834:32;875:33;:::i;:::-;927:7;917:17;;;629:311;;;;;:::o;945:466::-;1022:6;1030;1038;1091:2;1079:9;1070:7;1066:23;1062:32;1059:2;;;1112:6;1104;1097:22;1059:2;1156:9;1143:23;1175:31;1200:5;1175:31;:::i;:::-;1225:5;-1:-1:-1;1282:2:1;1267:18;;1254:32;1295:33;1254:32;1295:33;:::i;:::-;1049:362;;1347:7;;-1:-1:-1;;;1401:2:1;1386:18;;;;1373:32;;1049:362::o;1416:325::-;1484:6;1492;1545:2;1533:9;1524:7;1520:23;1516:32;1513:2;;;1566:6;1558;1551:22;1513:2;1610:9;1597:23;1629:31;1654:5;1629:31;:::i;:::-;1679:5;1731:2;1716:18;;;;1703:32;;-1:-1:-1;;;1503:238:1:o;1746:665::-;1832:6;1840;1893:2;1881:9;1872:7;1868:23;1864:32;1861:2;;;1914:6;1906;1899:22;1861:2;1959:9;1946:23;1988:18;2029:2;2021:6;2018:14;2015:2;;;2050:6;2042;2035:22;2015:2;2093:6;2082:9;2078:22;2068:32;;2138:7;2131:4;2127:2;2123:13;2119:27;2109:2;;2165:6;2157;2150:22;2109:2;2210;2197:16;2236:2;2228:6;2225:14;2222:2;;;2257:6;2249;2242:22;2222:2;2315:7;2310:2;2300:6;2297:1;2293:14;2289:2;2285:23;2281:32;2278:45;2275:2;;;2341:6;2333;2326:22;2275:2;2377;2369:11;;;;;2399:6;;-1:-1:-1;1851:560:1;;-1:-1:-1;;;;1851:560:1:o;2416:297::-;2483:6;2536:2;2524:9;2515:7;2511:23;2507:32;2504:2;;;2557:6;2549;2542:22;2504:2;2594:9;2588:16;2647:5;2640:13;2633:21;2626:5;2623:32;2613:2;;2674:6;2666;2659:22;2718:190;2777:6;2830:2;2818:9;2809:7;2805:23;2801:32;2798:2;;;2851:6;2843;2836:22;2798:2;-1:-1:-1;2879:23:1;;2788:120;-1:-1:-1;2788:120:1:o;2913:325::-;2981:6;2989;3042:2;3030:9;3021:7;3017:23;3013:32;3010:2;;;3063:6;3055;3048:22;3010:2;3104:9;3091:23;3081:33;;3164:2;3153:9;3149:18;3136:32;3177:31;3202:5;3177:31;:::i;3243:306::-;3301:6;3354:2;3342:9;3333:7;3329:23;3325:32;3322:2;;;3375:6;3367;3360:22;3322:2;3406:23;;-1:-1:-1;;;;;;3458:32:1;;3448:43;;3438:2;;3510:6;3502;3495:22;3749:194;3819:6;3872:2;3860:9;3851:7;3847:23;3843:32;3840:2;;;3893:6;3885;3878:22;3840:2;-1:-1:-1;3921:16:1;;3830:113;-1:-1:-1;3830:113:1:o;3948:786::-;4359:25;4354:3;4347:38;4329:3;4414:6;4408:13;4430:62;4485:6;4480:2;4475:3;4471:12;4464:4;4456:6;4452:17;4430:62;:::i;:::-;-1:-1:-1;;;4551:2:1;4511:16;;;4543:11;;;4536:40;4601:13;;4623:63;4601:13;4672:2;4664:11;;4657:4;4645:17;;4623:63;:::i;:::-;4706:17;4725:2;4702:26;;4337:397;-1:-1:-1;;;;4337:397:1:o;6506:383::-;6655:2;6644:9;6637:21;6618:4;6687:6;6681:13;6730:6;6725:2;6714:9;6710:18;6703:34;6746:66;6805:6;6800:2;6789:9;6785:18;6780:2;6772:6;6768:15;6746:66;:::i;:::-;6873:2;6852:15;-1:-1:-1;;6848:29:1;6833:45;;;;6880:2;6829:54;;6627:262;-1:-1:-1;;6627:262:1:o;12436:983::-;12698:4;12746:3;12735:9;12731:19;12777:6;12766:9;12759:25;12803:2;12841:6;12836:2;12825:9;12821:18;12814:34;12884:3;12879:2;12868:9;12864:18;12857:31;12908:6;12943;12937:13;12974:6;12966;12959:22;13012:3;13001:9;12997:19;12990:26;;13051:2;13043:6;13039:15;13025:29;;13072:4;13085:195;13099:6;13096:1;13093:13;13085:195;;;13164:13;;-1:-1:-1;;;;;13160:39:1;13148:52;;13255:15;;;;13220:12;;;;13196:1;13114:9;13085:195;;;-1:-1:-1;;;;;;;13336:32:1;;;;13331:2;13316:18;;13309:60;-1:-1:-1;;;13400:3:1;13385:19;13378:35;13297:3;12707:712;-1:-1:-1;;;12707:712:1:o;13613:128::-;13653:3;13684:1;13680:6;13677:1;13674:13;13671:2;;;13690:18;;:::i;:::-;-1:-1:-1;13726:9:1;;13661:80::o;13746:120::-;13786:1;13812;13802:2;;13817:18;;:::i;:::-;-1:-1:-1;13851:9:1;;13792:74::o;13871:168::-;13911:7;13977:1;13973;13969:6;13965:14;13962:1;13959:21;13954:1;13947:9;13940:17;13936:45;13933:2;;;13984:18;;:::i;:::-;-1:-1:-1;14024:9:1;;13923:116::o;14044:125::-;14084:4;14112:1;14109;14106:8;14103:2;;;14117:18;;:::i;:::-;-1:-1:-1;14154:9:1;;14093:76::o;14174:258::-;14246:1;14256:113;14270:6;14267:1;14264:13;14256:113;;;14346:11;;;14340:18;14327:11;;;14320:39;14292:2;14285:10;14256:113;;;14387:6;14384:1;14381:13;14378:2;;;-1:-1:-1;;14422:1:1;14404:16;;14397:27;14227:205::o;14437:136::-;14476:3;14504:5;14494:2;;14513:18;;:::i;:::-;-1:-1:-1;;;14549:18:1;;14484:89::o;14578:380::-;14657:1;14653:12;;;;14700;;;14721:2;;14775:4;14767:6;14763:17;14753:27;;14721:2;14828;14820:6;14817:14;14797:18;14794:38;14791:2;;;14874:10;14869:3;14865:20;14862:1;14855:31;14909:4;14906:1;14899:15;14937:4;14934:1;14927:15;14791:2;;14633:325;;;:::o;14963:135::-;15002:3;-1:-1:-1;;15023:17:1;;15020:2;;;15043:18;;:::i;:::-;-1:-1:-1;15090:1:1;15079:13;;15010:88::o;15103:112::-;15135:1;15161;15151:2;;15166:18;;:::i;:::-;-1:-1:-1;15200:9:1;;15141:74::o;15220:127::-;15281:10;15276:3;15272:20;15269:1;15262:31;15312:4;15309:1;15302:15;15336:4;15333:1;15326:15;15352:127;15413:10;15408:3;15404:20;15401:1;15394:31;15444:4;15441:1;15434:15;15468:4;15465:1;15458:15;15484:131;-1:-1:-1;;;;;15559:31:1;;15549:42;;15539:2;;15605:1;15602;15595:12
Swarm Source
ipfs://c6bcc664a50139a3cd1ae9be6a39edb4e80758048497b09fe1f12fc3356427f2
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.