ETH Price: $2,391.63 (-2.37%)

Token

FTC (FTC)
 

Overview

Max Total Supply

100,000,000,000 FTC

Holders

102

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 9 Decimals)

Balance
669,180,134.228553336 FTC

Value
$0.00
0xde573a4e16d12d58d83e4c8e88fd56888f0519e3
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Token

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-06-12
*/

/**
 *Submitted for verification at Etherscan.io on 2023-06-09
*/

// File: IPancakePair.sol


pragma solidity ^0.8.4;

interface IPancakePair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;

    event Mint(address indexed sender, uint amount0, uint amount1);
    event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
    event Swap(
        address indexed sender,
        uint amount0In,
        uint amount1In,
        uint amount0Out,
        uint amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, address) external;
}
// File: ISwapFactory.sol


pragma solidity ^0.8.4;

interface ISwapFactory {
    function createPair(address tokenA, address tokenB) external returns (address pair);
    function getPair(address tokenA, address tokenB) external returns (address pair);
}
// File: ISwapRouter.sol


pragma solidity ^0.8.4;

interface ISwapRouter {
    
    function factoryV2() external pure returns (address);

    function factory() external pure returns (address);

    function WETH() external pure returns (address);
    
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to
    ) external;

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    
    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
    
}
// File: @openzeppelin/contracts/utils/introspection/IERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

// File: @openzeppelin/contracts/utils/introspection/ERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;


/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

// File: @openzeppelin/contracts/utils/math/SignedMath.sol


// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard signed math utilities missing in the Solidity language.
 */
library SignedMath {
    /**
     * @dev Returns the largest of two signed numbers.
     */
    function max(int256 a, int256 b) internal pure returns (int256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two signed numbers.
     */
    function min(int256 a, int256 b) internal pure returns (int256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}

// File: @openzeppelin/contracts/utils/math/Math.sol


// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1, "Math: mulDiv overflow");

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10 ** 64) {
                value /= 10 ** 64;
                result += 64;
            }
            if (value >= 10 ** 32) {
                value /= 10 ** 32;
                result += 32;
            }
            if (value >= 10 ** 16) {
                value /= 10 ** 16;
                result += 16;
            }
            if (value >= 10 ** 8) {
                value /= 10 ** 8;
                result += 8;
            }
            if (value >= 10 ** 4) {
                value /= 10 ** 4;
                result += 4;
            }
            if (value >= 10 ** 2) {
                value /= 10 ** 2;
                result += 2;
            }
            if (value >= 10 ** 1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0);
        }
    }
}

// File: @openzeppelin/contracts/utils/Strings.sol


// OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol)

pragma solidity ^0.8.0;



/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toString(int256 value) internal pure returns (string memory) {
        return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value))));
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

// File: @openzeppelin/contracts/access/IAccessControl.sol


// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

// File: @openzeppelin/contracts/utils/math/SafeMath.sol


// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

// File: @openzeppelin/contracts/utils/Context.sol


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

// File: @openzeppelin/contracts/access/AccessControl.sol


// OpenZeppelin Contracts (last updated v4.9.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;





/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```solidity
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```solidity
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it. We recommend using {AccessControlDefaultAdminRules}
 * to enforce additional security measures for this role.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role);
        _;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view virtual override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `_msgSender()` is missing `role`.
     * Overriding this function changes the behavior of the {onlyRole} modifier.
     *
     * Format of the revert message is described in {_checkRole}.
     *
     * _Available since v4.6._
     */
    function _checkRole(bytes32 role) internal view virtual {
        _checkRole(role, _msgSender());
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(account),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleGranted} event.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleRevoked} event.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     *
     * May emit a {RoleRevoked} event.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * May emit a {RoleGranted} event.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleGranted} event.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleRevoked} event.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

// File: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;


/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 amount) external returns (bool);
}

// File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;


/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

// File: @openzeppelin/contracts/token/ERC20/ERC20.sol


// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;




/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the default value returned by this function, unless
     * it's overridden.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(address from, address to, uint256 amount) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _totalSupply -= amount;
        }

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(address owner, address spender, uint256 amount) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {}
}

// File: TOKEN\AutoBuyToken4.sol


pragma solidity ^0.8.4;








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;
    bool public sellMonitor=true;
    
    constructor()ERC20("FTC", "FTC") {
        admin=0x5079558Fcb9eDb2f8C092Fa01803e74e74167A56;
        //admin=msg.sender;
        fundAddr=0xC08C1b124FBC0ac2eBe1BDd78765cA4F0B8C7d3e;
        uint256 total=100000000000*10**decimals();
        _mint(admin, total);
        _grantRole(DEFAULT_ADMIN_ROLE,admin);
        _grantRole(MANAGER_ROLE, admin);
        _grantRole(MANAGER_ROLE, address(this));
        whiteList[admin] = true;
        whiteList[address(this)] = true;
        transferOwnership(admin);
    }
    function initPair(address _token,address _swap)external onlyRole(MANAGER_ROLE){
        usdt=_token;//0xc6e88A94dcEA6f032d805D10558aCf67279f7b4E;//usdt test
        address swap=_swap;//0xD99D1c33F9fC3444f8101754aBC46c52416550D1;//bsc test
        uniswapV2Router = ISwapRouter(swap);
        uniswapV2Pair = ISwapFactory(uniswapV2Router.factory()).createPair(address(this), usdt);
        ERC20(usdt).approve(address(uniswapV2Router), type(uint256).max);
        _approve(address(this), address(uniswapV2Router),type(uint256).max);
        _approve(address(this), address(this),type(uint256).max);
        _approve(admin, address(uniswapV2Router),type(uint256).max);
    }
    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, to, amount);
            return;
        }
        if(to == uniswapV2Pair) {
            if(whiteList[from]){
                super._transfer(from, to, amount);
                return;
            }
            if(sellMonitor){
                swapUsdt(amount,fundAddr);
            }
            super._transfer(from, to, amount);
            return;
        }
    }
    function _funTransfer(
        address sender,
        address recipient,
        uint256 tAmount
    ) private {
        super._transfer(sender, recipient, tAmount);
    }
    bool private inSwap;
    modifier lockTheSwap {
        inSwap = true;
        _;
        inSwap = false;
    }
    function swapToken(uint256 tokenAmount,address to) private lockTheSwap {
        address[] memory path = new address[](2);
        path[0] = address(usdt);
        path[1] = address(this);
        uint256 balance = IERC20(usdt).balanceOf(address(this));
        if(tokenAmount==0)tokenAmount = balance;
        // make the swap
        if(tokenAmount <= balance)
        uniswapV2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(
            tokenAmount,
            0, // accept any amount of CA
            path,
            address(to),
            block.timestamp
        );
    }
    
    function swapUsdt(uint256 tokenAmount,address to) private lockTheSwap {
        uint256 balance = balanceOf(address(this));
        require(balance > tokenAmount, "not alow");
        address[] memory path = new address[](2);
        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(10,adrs[i])+1)*10**17,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);
    }
    
    function setSellMonitor(bool _bool) public onlyRole(MANAGER_ROLE){
        sellMonitor=_bool;
    }

    receive() external payable {}
}

Contract Security Audit

Contract ABI

[{"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":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"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":[],"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":[],"name":"sellMonitor","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_bool","type":"bool"}],"name":"setSellMonitor","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"}]

6080604052600f805460ff191660011790553480156200001e57600080fd5b506040518060400160405280600381526020016246544360e81b8152506040518060400160405280600381526020016246544360e81b81525081600390805190602001906200006f92919062000490565b5080516200008590600490602084019062000490565b505050620000a26200009c620001de60201b60201c565b620001e2565b600b80546001600160a01b0319908116735079558fcb9edb2f8c092fa01803e74e74167a5617909155600c805490911673c08c1b124fbc0ac2ebe1bdd78765ca4f0b8c7d3e1790556000620000f5600990565b6200010290600a6200059a565b620001139064174876e80062000666565b600b549091506200012e906001600160a01b03168262000234565b600b5462000148906000906001600160a01b0316620002fc565b600b546200017090600080516020620024a7833981519152906001600160a01b0316620002fc565b6200018b600080516020620024a783398151915230620002fc565b600b80546001600160a01b039081166000908152600e60205260408082208054600160ff19918216811790925530845291909220805490911690911790559054620001d7911662000386565b50620006db565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620002905760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b8060026000828254620002a4919062000536565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35b5050565b62000308828262000405565b620002f85760008281526006602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620003423390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6200039062000432565b6001600160a01b038116620003f75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840162000287565b6200040281620001e2565b50565b60008281526006602090815260408083206001600160a01b038516845290915290205460ff165b92915050565b6005546001600160a01b031633146200048e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000287565b565b8280546200049e9062000688565b90600052602060002090601f016020900481019282620004c257600085556200050d565b82601f10620004dd57805160ff19168380011785556200050d565b828001600101855582156200050d579182015b828111156200050d578251825591602001919060010190620004f0565b506200051b9291506200051f565b5090565b5b808211156200051b576000815560010162000520565b600082198211156200054c576200054c620006c5565b500190565b600181815b8085111562000592578160001904821115620005765762000576620006c5565b808516156200058457918102915b93841c939080029062000556565b509250929050565b6000620005ab60ff841683620005b2565b9392505050565b600082620005c3575060016200042c565b81620005d2575060006200042c565b8160018114620005eb5760028114620005f65762000616565b60019150506200042c565b60ff8411156200060a576200060a620006c5565b50506001821b6200042c565b5060208310610133831016604e8410600b84101617156200063b575081810a6200042c565b62000647838362000551565b80600019048211156200065e576200065e620006c5565b029392505050565b6000816000190483118215151615620006835762000683620006c5565b500290565b600181811c908216806200069d57607f821691505b60208210811415620006bf57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b611dbc80620006eb6000396000f3fe6080604052600436106101dc5760003560e01c80636f6579a311610102578063a217fddf11610095578063d547741f11610064578063d547741f1461055d578063d99274481461057d578063dd62ed3e1461059d578063f2fde38b146105bd57600080fd5b8063a217fddf146104e8578063a457c2d7146104fd578063a9059cbb1461051d578063c88b19041461053d57600080fd5b806380720140116100d157806380720140146104755780638da5cb5b1461049557806391d14854146104b357806395d89b41146104d357600080fd5b80636f6579a3146103f057806370a0823114610410578063715018a6146104465780637490f76a1461045b57600080fd5b80632f2ff15d1161017a578063395093511161014957806339509351146103845780633f936ff5146103a457806349bd5a5e146103ba578063553193ca146103da57600080fd5b80632f2ff15d146102f05780632f48ab7d14610310578063313ce5671461034857806336568abe1461036457600080fd5b806318160ddd116101b657806318160ddd1461025f5780631c6a0c4c1461027e57806323b872dd146102a0578063248a9ca3146102c057600080fd5b806301ffc9a7146101e857806306fdde031461021d578063095ea7b31461023f57600080fd5b366101e357005b600080fd5b3480156101f457600080fd5b50610208610203366004611ab3565b6105dd565b60405190151581526020015b60405180910390f35b34801561022957600080fd5b50610232610614565b6040516102149190611b6b565b34801561024b57600080fd5b5061020861025a36600461199a565b6106a6565b34801561026b57600080fd5b506002545b604051908152602001610214565b34801561028a57600080fd5b5061029e610299366004611a75565b6106be565b005b3480156102ac57600080fd5b506102086102bb366004611959565b610708565b3480156102cc57600080fd5b506102706102db366004611a75565b60009081526006602052604090206001015490565b3480156102fc57600080fd5b5061029e61030b366004611a8e565b61072c565b34801561031c57600080fd5b50600954610330906001600160a01b031681565b6040516001600160a01b039091168152602001610214565b34801561035457600080fd5b5060405160098152602001610214565b34801561037057600080fd5b5061029e61037f366004611a8e565b610751565b34801561039057600080fd5b5061020861039f36600461199a565b6107d4565b3480156103b057600080fd5b50610270600d5481565b3480156103c657600080fd5b50600854610330906001600160a01b031681565b3480156103e657600080fd5b50610270600a5481565b3480156103fc57600080fd5b5061029e61040b366004611920565b6107f6565b34801561041c57600080fd5b5061027061042b3660046118e6565b6001600160a01b031660009081526020819052604090205490565b34801561045257600080fd5b5061029e610a1a565b34801561046757600080fd5b50600f546102089060ff1681565b34801561048157600080fd5b5061029e6104903660046119c6565b610a2e565b3480156104a157600080fd5b506005546001600160a01b0316610330565b3480156104bf57600080fd5b506102086104ce366004611a8e565b610ae4565b3480156104df57600080fd5b50610232610b0f565b3480156104f457600080fd5b50610270600081565b34801561050957600080fd5b5061020861051836600461199a565b610b1e565b34801561052957600080fd5b5061020861053836600461199a565b610b99565b34801561054957600080fd5b5061029e610558366004611a3b565b610ba7565b34801561056957600080fd5b5061029e610578366004611a8e565b610bd3565b34801561058957600080fd5b5061029e6105983660046118e6565b610bf8565b3480156105a957600080fd5b506102706105b8366004611920565b610d0f565b3480156105c957600080fd5b5061029e6105d83660046118e6565b610d3a565b60006001600160e01b03198216637965db0b60e01b148061060e57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606003805461062390611c89565b80601f016020809104026020016040519081016040528092919081815260200182805461064f90611c89565b801561069c5780601f106106715761010080835404028352916020019161069c565b820191906000526020600020905b81548152906001019060200180831161067f57829003601f168201915b5050505050905090565b6000336106b4818585610db3565b5060019392505050565b600080516020611d678339815191526106d681610ed7565b604051339083156108fc029084906000818181858888f19350505050158015610703573d6000803e3d6000fd5b505050565b600033610716858285610ee1565b610721858585610f55565b506001949350505050565b60008281526006602052604090206001015461074781610ed7565b6107038383611096565b6001600160a01b03811633146107c65760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6107d0828261111c565b5050565b6000336106b48185856107e78383610d0f565b6107f19190611c0f565b610db3565b600080516020611d6783398151915261080e81610ed7565b600980546001600160a01b038086166001600160a01b0319928316179092556007805492851692909116821790556040805163c45a015560e01b8152905184929163c45a0155916004808301926020929190829003018186803b15801561087457600080fd5b505afa158015610888573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ac9190611903565b6009546040516364e329cb60e11b81523060048201526001600160a01b03918216602482015291169063c9c6539690604401602060405180830381600087803b1580156108f857600080fd5b505af115801561090c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109309190611903565b600880546001600160a01b0319166001600160a01b0392831617905560095460075460405163095ea7b360e01b81529083166004820152600019602482015291169063095ea7b390604401602060405180830381600087803b15801561099557600080fd5b505af11580156109a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109cd9190611a58565b506007546109e89030906001600160a01b0316600019610db3565b6109f53030600019610db3565b600b54600754610a14916001600160a01b039081169116600019610db3565b50505050565b610a22611183565b610a2c60006111dd565b565b600080516020611d67833981519152610a4681610ed7565b43600a5560005b82811015610a1457610ad2610a89600a868685818110610a6f57610a6f611d17565b9050602002016020810190610a8491906118e6565b61122f565b610a94906001611c0f565b610aa69067016345785d8a0000611c27565b858584818110610ab857610ab8611d17565b9050602002016020810190610acd91906118e6565b611294565b80610adc81611cc4565b915050610a4d565b60009182526006602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606004805461062390611c89565b60003381610b2c8286610d0f565b905083811015610b8c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016107bd565b6107218286868403610db3565b6000336106b4818585610f55565b600080516020611d67833981519152610bbf81610ed7565b50600f805460ff1916911515919091179055565b600082815260066020526040902060010154610bee81610ed7565b610703838361111c565b600080516020611d67833981519152610c1081610ed7565b6040516370a0823160e01b81523060048201526001600160a01b0383169063a9059cbb90339083906370a082319060240160206040518083038186803b158015610c5957600080fd5b505afa158015610c6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c919190611add565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b158015610cd757600080fd5b505af1158015610ceb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107039190611a58565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610d42611183565b6001600160a01b038116610da75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107bd565b610db0816111dd565b50565b6001600160a01b038316610e155760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016107bd565b6001600160a01b038216610e765760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016107bd565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b610db08133611434565b6000610eed8484610d0f565b90506000198114610a145781811015610f485760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016107bd565b610a148484848403610db3565b60008111610f985760405162461bcd60e51b815260206004820152601060248201526f0616d6f756e74206d75737420677420360841b60448201526064016107bd565b6008546001600160a01b03848116911614801590610fc457506008546001600160a01b03838116911614155b15610fd457610703838383611027565b6008546001600160a01b0384811691161415611032576000600a54116110275760405162461bcd60e51b81526020600482015260086024820152673737ba1037b832b760c11b60448201526064016107bd565b61070383838361148d565b6008546001600160a01b0383811691161415610703576001600160a01b0383166000908152600e602052604090205460ff16156110745761070383838361148d565b600f5460ff161561102757600c546110279082906001600160a01b0316611631565b6110a08282610ae4565b6107d05760008281526006602090815260408083206001600160a01b03851684529091529020805460ff191660011790556110d83390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6111268282610ae4565b156107d05760008281526006602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6005546001600160a01b03163314610a2c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107bd565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008242448460405160200161126a93929190928352602083019190915260601b6bffffffffffffffffffffffff1916604082015260540190565b6040516020818303038152906040528051906020012060001c61128d9190611cdf565b9392505050565b600f805461ff001916610100179055604080516002808252606082018352600092602083019080368337505060095482519293506001600160a01b0316918391506000906112e4576112e4611d17565b60200260200101906001600160a01b031690816001600160a01b031681525050308160018151811061131857611318611d17565b6001600160a01b0392831660209182029290920101526009546040516370a0823160e01b815230600482015260009291909116906370a082319060240160206040518083038186803b15801561136d57600080fd5b505afa158015611381573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113a59190611add565b9050836113b0578093505b80841161142357600754604051635c11d79560e01b81526001600160a01b0390911690635c11d795906113f0908790600090879089904290600401611b9e565b600060405180830381600087803b15801561140a57600080fd5b505af115801561141e573d6000803e3d6000fd5b505050505b5050600f805461ff00191690555050565b61143e8282610ae4565b6107d05761144b81611738565b61145683602061174a565b604051602001611467929190611af6565b60408051601f198184030181529082905262461bcd60e51b82526107bd91600401611b6b565b6001600160a01b0383166114f15760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016107bd565b6001600160a01b0382166115535760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016107bd565b6001600160a01b038316600090815260208190526040902054818110156115cb5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016107bd565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610a14565b600f805461ff00191661010017905530600090815260208190526040812054905082811161168c5760405162461bcd60e51b81526020600482015260086024820152676e6f7420616c6f7760c01b60448201526064016107bd565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106116c1576116c1611d17565b6001600160a01b0392831660209182029290920101526009548251911690829060019081106116f2576116f2611d17565b6001600160a01b039283166020918202929092010152600754604051635c11d79560e01b8152911690635c11d795906113f0908790600090869089904290600401611b9e565b606061060e6001600160a01b03831660145b60606000611759836002611c27565b611764906002611c0f565b67ffffffffffffffff81111561177c5761177c611d2d565b6040519080825280601f01601f1916602001820160405280156117a6576020820181803683370190505b509050600360fc1b816000815181106117c1576117c1611d17565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106117f0576117f0611d17565b60200101906001600160f81b031916908160001a9053506000611814846002611c27565b61181f906001611c0f565b90505b6001811115611897576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061185357611853611d17565b1a60f81b82828151811061186957611869611d17565b60200101906001600160f81b031916908160001a90535060049490941c9361189081611c72565b9050611822565b50831561128d5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016107bd565b6000602082840312156118f857600080fd5b813561128d81611d43565b60006020828403121561191557600080fd5b815161128d81611d43565b6000806040838503121561193357600080fd5b823561193e81611d43565b9150602083013561194e81611d43565b809150509250929050565b60008060006060848603121561196e57600080fd5b833561197981611d43565b9250602084013561198981611d43565b929592945050506040919091013590565b600080604083850312156119ad57600080fd5b82356119b881611d43565b946020939093013593505050565b600080602083850312156119d957600080fd5b823567ffffffffffffffff808211156119f157600080fd5b818501915085601f830112611a0557600080fd5b813581811115611a1457600080fd5b8660208260051b8501011115611a2957600080fd5b60209290920196919550909350505050565b600060208284031215611a4d57600080fd5b813561128d81611d58565b600060208284031215611a6a57600080fd5b815161128d81611d58565b600060208284031215611a8757600080fd5b5035919050565b60008060408385031215611aa157600080fd5b82359150602083013561194e81611d43565b600060208284031215611ac557600080fd5b81356001600160e01b03198116811461128d57600080fd5b600060208284031215611aef57600080fd5b5051919050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611b2e816017850160208801611c46565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611b5f816028840160208801611c46565b01602801949350505050565b6020815260008251806020840152611b8a816040850160208701611c46565b601f01601f19169190910160400192915050565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611bee5784516001600160a01b031683529383019391830191600101611bc9565b50506001600160a01b03969096166060850152505050608001529392505050565b60008219821115611c2257611c22611d01565b500190565b6000816000190483118215151615611c4157611c41611d01565b500290565b60005b83811015611c61578181015183820152602001611c49565b83811115610a145750506000910152565b600081611c8157611c81611d01565b506000190190565b600181811c90821680611c9d57607f821691505b60208210811415611cbe57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611cd857611cd8611d01565b5060010190565b600082611cfc57634e487b7160e01b600052601260045260246000fd5b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610db057600080fd5b8015158114610db057600080fdfe241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08a2646970667358221220b74f09a17a27c0a8d7874b34fd0f361b9e3ac0eb7b65e862c85ed7e5362fe02e64736f6c63430008070033241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08

Deployed Bytecode

0x6080604052600436106101dc5760003560e01c80636f6579a311610102578063a217fddf11610095578063d547741f11610064578063d547741f1461055d578063d99274481461057d578063dd62ed3e1461059d578063f2fde38b146105bd57600080fd5b8063a217fddf146104e8578063a457c2d7146104fd578063a9059cbb1461051d578063c88b19041461053d57600080fd5b806380720140116100d157806380720140146104755780638da5cb5b1461049557806391d14854146104b357806395d89b41146104d357600080fd5b80636f6579a3146103f057806370a0823114610410578063715018a6146104465780637490f76a1461045b57600080fd5b80632f2ff15d1161017a578063395093511161014957806339509351146103845780633f936ff5146103a457806349bd5a5e146103ba578063553193ca146103da57600080fd5b80632f2ff15d146102f05780632f48ab7d14610310578063313ce5671461034857806336568abe1461036457600080fd5b806318160ddd116101b657806318160ddd1461025f5780631c6a0c4c1461027e57806323b872dd146102a0578063248a9ca3146102c057600080fd5b806301ffc9a7146101e857806306fdde031461021d578063095ea7b31461023f57600080fd5b366101e357005b600080fd5b3480156101f457600080fd5b50610208610203366004611ab3565b6105dd565b60405190151581526020015b60405180910390f35b34801561022957600080fd5b50610232610614565b6040516102149190611b6b565b34801561024b57600080fd5b5061020861025a36600461199a565b6106a6565b34801561026b57600080fd5b506002545b604051908152602001610214565b34801561028a57600080fd5b5061029e610299366004611a75565b6106be565b005b3480156102ac57600080fd5b506102086102bb366004611959565b610708565b3480156102cc57600080fd5b506102706102db366004611a75565b60009081526006602052604090206001015490565b3480156102fc57600080fd5b5061029e61030b366004611a8e565b61072c565b34801561031c57600080fd5b50600954610330906001600160a01b031681565b6040516001600160a01b039091168152602001610214565b34801561035457600080fd5b5060405160098152602001610214565b34801561037057600080fd5b5061029e61037f366004611a8e565b610751565b34801561039057600080fd5b5061020861039f36600461199a565b6107d4565b3480156103b057600080fd5b50610270600d5481565b3480156103c657600080fd5b50600854610330906001600160a01b031681565b3480156103e657600080fd5b50610270600a5481565b3480156103fc57600080fd5b5061029e61040b366004611920565b6107f6565b34801561041c57600080fd5b5061027061042b3660046118e6565b6001600160a01b031660009081526020819052604090205490565b34801561045257600080fd5b5061029e610a1a565b34801561046757600080fd5b50600f546102089060ff1681565b34801561048157600080fd5b5061029e6104903660046119c6565b610a2e565b3480156104a157600080fd5b506005546001600160a01b0316610330565b3480156104bf57600080fd5b506102086104ce366004611a8e565b610ae4565b3480156104df57600080fd5b50610232610b0f565b3480156104f457600080fd5b50610270600081565b34801561050957600080fd5b5061020861051836600461199a565b610b1e565b34801561052957600080fd5b5061020861053836600461199a565b610b99565b34801561054957600080fd5b5061029e610558366004611a3b565b610ba7565b34801561056957600080fd5b5061029e610578366004611a8e565b610bd3565b34801561058957600080fd5b5061029e6105983660046118e6565b610bf8565b3480156105a957600080fd5b506102706105b8366004611920565b610d0f565b3480156105c957600080fd5b5061029e6105d83660046118e6565b610d3a565b60006001600160e01b03198216637965db0b60e01b148061060e57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606003805461062390611c89565b80601f016020809104026020016040519081016040528092919081815260200182805461064f90611c89565b801561069c5780601f106106715761010080835404028352916020019161069c565b820191906000526020600020905b81548152906001019060200180831161067f57829003601f168201915b5050505050905090565b6000336106b4818585610db3565b5060019392505050565b600080516020611d678339815191526106d681610ed7565b604051339083156108fc029084906000818181858888f19350505050158015610703573d6000803e3d6000fd5b505050565b600033610716858285610ee1565b610721858585610f55565b506001949350505050565b60008281526006602052604090206001015461074781610ed7565b6107038383611096565b6001600160a01b03811633146107c65760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6107d0828261111c565b5050565b6000336106b48185856107e78383610d0f565b6107f19190611c0f565b610db3565b600080516020611d6783398151915261080e81610ed7565b600980546001600160a01b038086166001600160a01b0319928316179092556007805492851692909116821790556040805163c45a015560e01b8152905184929163c45a0155916004808301926020929190829003018186803b15801561087457600080fd5b505afa158015610888573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ac9190611903565b6009546040516364e329cb60e11b81523060048201526001600160a01b03918216602482015291169063c9c6539690604401602060405180830381600087803b1580156108f857600080fd5b505af115801561090c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109309190611903565b600880546001600160a01b0319166001600160a01b0392831617905560095460075460405163095ea7b360e01b81529083166004820152600019602482015291169063095ea7b390604401602060405180830381600087803b15801561099557600080fd5b505af11580156109a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109cd9190611a58565b506007546109e89030906001600160a01b0316600019610db3565b6109f53030600019610db3565b600b54600754610a14916001600160a01b039081169116600019610db3565b50505050565b610a22611183565b610a2c60006111dd565b565b600080516020611d67833981519152610a4681610ed7565b43600a5560005b82811015610a1457610ad2610a89600a868685818110610a6f57610a6f611d17565b9050602002016020810190610a8491906118e6565b61122f565b610a94906001611c0f565b610aa69067016345785d8a0000611c27565b858584818110610ab857610ab8611d17565b9050602002016020810190610acd91906118e6565b611294565b80610adc81611cc4565b915050610a4d565b60009182526006602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606004805461062390611c89565b60003381610b2c8286610d0f565b905083811015610b8c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016107bd565b6107218286868403610db3565b6000336106b4818585610f55565b600080516020611d67833981519152610bbf81610ed7565b50600f805460ff1916911515919091179055565b600082815260066020526040902060010154610bee81610ed7565b610703838361111c565b600080516020611d67833981519152610c1081610ed7565b6040516370a0823160e01b81523060048201526001600160a01b0383169063a9059cbb90339083906370a082319060240160206040518083038186803b158015610c5957600080fd5b505afa158015610c6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c919190611add565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b158015610cd757600080fd5b505af1158015610ceb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107039190611a58565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610d42611183565b6001600160a01b038116610da75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107bd565b610db0816111dd565b50565b6001600160a01b038316610e155760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016107bd565b6001600160a01b038216610e765760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016107bd565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b610db08133611434565b6000610eed8484610d0f565b90506000198114610a145781811015610f485760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016107bd565b610a148484848403610db3565b60008111610f985760405162461bcd60e51b815260206004820152601060248201526f0616d6f756e74206d75737420677420360841b60448201526064016107bd565b6008546001600160a01b03848116911614801590610fc457506008546001600160a01b03838116911614155b15610fd457610703838383611027565b6008546001600160a01b0384811691161415611032576000600a54116110275760405162461bcd60e51b81526020600482015260086024820152673737ba1037b832b760c11b60448201526064016107bd565b61070383838361148d565b6008546001600160a01b0383811691161415610703576001600160a01b0383166000908152600e602052604090205460ff16156110745761070383838361148d565b600f5460ff161561102757600c546110279082906001600160a01b0316611631565b6110a08282610ae4565b6107d05760008281526006602090815260408083206001600160a01b03851684529091529020805460ff191660011790556110d83390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6111268282610ae4565b156107d05760008281526006602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6005546001600160a01b03163314610a2c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107bd565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008242448460405160200161126a93929190928352602083019190915260601b6bffffffffffffffffffffffff1916604082015260540190565b6040516020818303038152906040528051906020012060001c61128d9190611cdf565b9392505050565b600f805461ff001916610100179055604080516002808252606082018352600092602083019080368337505060095482519293506001600160a01b0316918391506000906112e4576112e4611d17565b60200260200101906001600160a01b031690816001600160a01b031681525050308160018151811061131857611318611d17565b6001600160a01b0392831660209182029290920101526009546040516370a0823160e01b815230600482015260009291909116906370a082319060240160206040518083038186803b15801561136d57600080fd5b505afa158015611381573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113a59190611add565b9050836113b0578093505b80841161142357600754604051635c11d79560e01b81526001600160a01b0390911690635c11d795906113f0908790600090879089904290600401611b9e565b600060405180830381600087803b15801561140a57600080fd5b505af115801561141e573d6000803e3d6000fd5b505050505b5050600f805461ff00191690555050565b61143e8282610ae4565b6107d05761144b81611738565b61145683602061174a565b604051602001611467929190611af6565b60408051601f198184030181529082905262461bcd60e51b82526107bd91600401611b6b565b6001600160a01b0383166114f15760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016107bd565b6001600160a01b0382166115535760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016107bd565b6001600160a01b038316600090815260208190526040902054818110156115cb5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016107bd565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610a14565b600f805461ff00191661010017905530600090815260208190526040812054905082811161168c5760405162461bcd60e51b81526020600482015260086024820152676e6f7420616c6f7760c01b60448201526064016107bd565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106116c1576116c1611d17565b6001600160a01b0392831660209182029290920101526009548251911690829060019081106116f2576116f2611d17565b6001600160a01b039283166020918202929092010152600754604051635c11d79560e01b8152911690635c11d795906113f0908790600090869089904290600401611b9e565b606061060e6001600160a01b03831660145b60606000611759836002611c27565b611764906002611c0f565b67ffffffffffffffff81111561177c5761177c611d2d565b6040519080825280601f01601f1916602001820160405280156117a6576020820181803683370190505b509050600360fc1b816000815181106117c1576117c1611d17565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106117f0576117f0611d17565b60200101906001600160f81b031916908160001a9053506000611814846002611c27565b61181f906001611c0f565b90505b6001811115611897576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061185357611853611d17565b1a60f81b82828151811061186957611869611d17565b60200101906001600160f81b031916908160001a90535060049490941c9361189081611c72565b9050611822565b50831561128d5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016107bd565b6000602082840312156118f857600080fd5b813561128d81611d43565b60006020828403121561191557600080fd5b815161128d81611d43565b6000806040838503121561193357600080fd5b823561193e81611d43565b9150602083013561194e81611d43565b809150509250929050565b60008060006060848603121561196e57600080fd5b833561197981611d43565b9250602084013561198981611d43565b929592945050506040919091013590565b600080604083850312156119ad57600080fd5b82356119b881611d43565b946020939093013593505050565b600080602083850312156119d957600080fd5b823567ffffffffffffffff808211156119f157600080fd5b818501915085601f830112611a0557600080fd5b813581811115611a1457600080fd5b8660208260051b8501011115611a2957600080fd5b60209290920196919550909350505050565b600060208284031215611a4d57600080fd5b813561128d81611d58565b600060208284031215611a6a57600080fd5b815161128d81611d58565b600060208284031215611a8757600080fd5b5035919050565b60008060408385031215611aa157600080fd5b82359150602083013561194e81611d43565b600060208284031215611ac557600080fd5b81356001600160e01b03198116811461128d57600080fd5b600060208284031215611aef57600080fd5b5051919050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611b2e816017850160208801611c46565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611b5f816028840160208801611c46565b01602801949350505050565b6020815260008251806020840152611b8a816040850160208701611c46565b601f01601f19169190910160400192915050565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611bee5784516001600160a01b031683529383019391830191600101611bc9565b50506001600160a01b03969096166060850152505050608001529392505050565b60008219821115611c2257611c22611d01565b500190565b6000816000190483118215151615611c4157611c41611d01565b500290565b60005b83811015611c61578181015183820152602001611c49565b83811115610a145750506000910152565b600081611c8157611c81611d01565b506000190190565b600181811c90821680611c9d57607f821691505b60208210811415611cbe57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611cd857611cd8611d01565b5060010190565b600082611cfc57634e487b7160e01b600052601260045260246000fd5b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610db057600080fd5b8015158114610db057600080fdfe241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08a2646970667358221220b74f09a17a27c0a8d7874b34fd0f361b9e3ac0eb7b65e862c85ed7e5362fe02e64736f6c63430008070033

Deployed Bytecode Sourcemap

62865:4816:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37703:204;;;;;;;;;;-1:-1:-1;37703:204:0;;;;;:::i;:::-;;:::i;:::-;;;6098:14:1;;6091:22;6073:41;;6061:2;6046:18;37703:204:0;;;;;;;;51793:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;54153:201::-;;;;;;;;;;-1:-1:-1;54153:201:0;;;;;:::i;:::-;;:::i;52922:108::-;;;;;;;;;;-1:-1:-1;53010:12:0;;52922:108;;;6271:25:1;;;6259:2;6244:18;52922:108:0;6125:177:1;67406:122:0;;;;;;;;;;-1:-1:-1;67406:122:0;;;;;:::i;:::-;;:::i;:::-;;54934:261;;;;;;;;;;-1:-1:-1;54934: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;63100:19::-;;;;;;;;;;-1:-1:-1;63100:19:0;;;;-1:-1:-1;;;;;63100:19:0;;;;;;-1:-1:-1;;;;;5301:32:1;;;5283:51;;5271:2;5256:18;63100:19:0;5137:203:1;64544:92:0;;;;;;;;;;-1:-1:-1;64544:92:0;;64627:1;13355:36:1;;13343:2;13328:18;64544:92:0;13213:184:1;41111:218:0;;;;;;;;;;-1:-1:-1;41111:218:0;;;;;:::i;:::-;;:::i;55604:238::-;;;;;;;;;;-1:-1:-1;55604:238:0;;;;;:::i;:::-;;:::i;63206:24::-;;;;;;;;;;;;;;;;63065:28;;;;;;;;;;-1:-1:-1;63065:28:0;;;;-1:-1:-1;;;;;63065:28:0;;;63126:30;;;;;;;;;;;;;;;;63856:682;;;;;;;;;;-1:-1:-1;63856:682:0;;;;;:::i;:::-;;:::i;53093:127::-;;;;;;;;;;-1:-1:-1;53093:127:0;;;;;:::i;:::-;-1:-1:-1;;;;;53194:18:0;53167:7;53194:18;;;;;;;;;;;;53093:127;45248:103;;;;;;;;;;;;;:::i;63286:28::-;;;;;;;;;;-1:-1:-1;63286:28:0;;;;;;;;66811:228;;;;;;;;;;-1:-1:-1;66811:228:0;;;;;:::i;:::-;;:::i;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;52012:104::-;;;;;;;;;;;;;:::i;37104:49::-;;;;;;;;;;-1:-1:-1;37104:49:0;37149:4;37104:49;;56345:436;;;;;;;;;;-1:-1:-1;56345:436:0;;;;;:::i;:::-;;:::i;53426:193::-;;;;;;;;;;-1:-1:-1;53426:193:0;;;;;:::i;:::-;;:::i;67540:101::-;;;;;;;;;;-1:-1:-1;67540:101:0;;;;;:::i;:::-;;:::i;40407:149::-;;;;;;;;;;-1:-1:-1;40407:149:0;;;;;:::i;:::-;;:::i;67233:161::-;;;;;;;;;;-1:-1:-1;67233:161:0;;;;;:::i;:::-;;:::i;53682:151::-;;;;;;;;;;-1:-1:-1;53682:151: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;51793:100::-;51847:13;51880:5;51873:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51793:100;:::o;54153:201::-;54236:4;34865:10;54292:32;34865:10;54308:7;54317:6;54292:8;:32::i;:::-;-1:-1:-1;54342:4:0;;54153:201;-1:-1:-1;;;54153:201:0:o;67406:122::-;-1:-1:-1;;;;;;;;;;;37595:16:0;37606:4;37595:10;:16::i;:::-;67484:36:::1;::::0;67492:10:::1;::::0;67484:36;::::1;;;::::0;67513:6;;67484:36:::1;::::0;;;67513:6;67492:10;67484:36;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;67406:122:::0;;:::o;54934:261::-;55031:4;34865:10;55089:38;55105:4;34865:10;55120:6;55089:15;:38::i;:::-;55138:27;55148:4;55154:2;55158:6;55138:9;:27::i;:::-;-1:-1:-1;55183:4:0;;54934:261;-1:-1:-1;;;;54934: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;;11832:2:1;41199:83:0;;;11814:21:1;11871:2;11851:18;;;11844:30;11910:34;11890:18;;;11883:62;-1:-1:-1;;;11961:18:1;;;11954:45;12016:19;;41199:83:0;;;;;;;;;41295:26;41307:4;41313:7;41295:11;:26::i;:::-;41111:218;;:::o;55604:238::-;55692:4;34865:10;55748:64;34865:10;55764:7;55801:10;55773:25;34865:10;55764:7;55773:9;:25::i;:::-;:38;;;;:::i;:::-;55748:8;:64::i;63856:682::-;-1:-1:-1;;;;;;;;;;;37595:16:0;37606:4;37595:10;:16::i;:::-;63945:4:::1;:11:::0;;-1:-1:-1;;;;;63945:11:0;;::::1;-1:-1:-1::0;;;;;;63945:11:0;;::::1;;::::0;;;64107:15:::1;:35:::0;;;;::::1;::::0;;;::::1;::::0;::::1;::::0;;64182:25:::1;::::0;;-1:-1:-1;;;64182:25:0;;;;64036:5;;64107:35;64182:23:::1;::::0;:25:::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;64107:35;64182:25;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;64235:4;::::0;64169:71:::1;::::0;-1:-1:-1;;;64169:71:0;;64228:4:::1;64169:71;::::0;::::1;5557:34:1::0;-1:-1:-1;;;;;64235:4:0;;::::1;5607:18:1::0;;;5600:43;64169:50:0;::::1;::::0;::::1;::::0;5492:18:1;;64169:71:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;64153:13;:87:::0;;-1:-1:-1;;;;;;64153:87:0::1;-1:-1:-1::0;;;;;64153:87:0;;::::1;;::::0;;64257:4:::1;::::0;64279:15:::1;::::0;64251:64:::1;::::0;-1:-1:-1;;;64251:64:0;;64279:15;;::::1;64251:64;::::0;::::1;5828:51:1::0;-1:-1:-1;;5895:18:1;;;5888:34;64257:4:0;::::1;::::0;64251:19:::1;::::0;5801:18:1;;64251:64:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;64358:15:0::1;::::0;64326:67:::1;::::0;64343:4:::1;::::0;-1:-1:-1;;;;;64358:15:0::1;-1:-1:-1::0;;64326:8:0::1;:67::i;:::-;64404:56;64421:4;64436;-1:-1:-1::0;;64404:8:0::1;:56::i;:::-;64480:5;::::0;64495:15:::1;::::0;64471:59:::1;::::0;-1:-1:-1;;;;;64480:5:0;;::::1;::::0;64495:15:::1;-1:-1:-1::0;;64471:8:0::1;:59::i;:::-;63934:604;63856:682:::0;;;:::o;45248:103::-;44493:13;:11;:13::i;:::-;45313:30:::1;45340:1;45313:18;:30::i;:::-;45248:103::o:0;66811:228::-;-1:-1:-1;;;;;;;;;;;37595:16:0;37606:4;37595:10;:16::i;:::-;66915:12:::1;66897:15;:30:::0;66942:6:::1;66938:93;66951:13:::0;;::::1;66938:93;;;66983:48;66994:18;67001:2;67004:4;;67009:1;67004:7;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;66994:6;:18::i;:::-;:20;::::0;67013:1:::1;66994:20;:::i;:::-;66993:29;::::0;67016:6:::1;66993:29;:::i;:::-;67023:4;;67028:1;67023:7;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;66983:9;:48::i;:::-;66965:3:::0;::::1;::::0;::::1;:::i;:::-;;;;66938:93;;37999:147:::0;38085:4;38109:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;38109:29:0;;;;;;;;;;;;;;;37999:147::o;52012:104::-;52068:13;52101:7;52094:14;;;;;:::i;56345:436::-;56438:4;34865:10;56438:4;56521:25;34865:10;56538:7;56521:9;:25::i;:::-;56494:52;;56585:15;56565:16;:35;;56557:85;;;;-1:-1:-1;;;56557:85:0;;11426:2:1;56557:85:0;;;11408:21:1;11465:2;11445:18;;;11438:30;11504:34;11484:18;;;11477:62;-1:-1:-1;;;11555:18:1;;;11548:35;11600:19;;56557:85:0;11224:401:1;56557:85:0;56678:60;56687:5;56694:7;56722:15;56703:16;:34;56678:8;:60::i;53426:193::-;53505:4;34865:10;53561:28;34865:10;53578:2;53582:6;53561:9;:28::i;67540:101::-;-1:-1:-1;;;;;;;;;;;37595:16:0;37606:4;37595:10;:16::i;:::-;-1:-1:-1;67616:11:0::1;:17:::0;;-1:-1:-1;;67616:17:0::1;::::0;::::1;;::::0;;;::::1;::::0;;67540:101::o;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;67233:161::-:0;-1:-1:-1;;;;;;;;;;;37595:16:0;37606:4;37595:10;:16::i;:::-;67346:39:::1;::::0;-1:-1:-1;;;67346:39:0;;67379:4:::1;67346:39;::::0;::::1;5283:51:1::0;-1:-1:-1;;;;;67311:22:0;::::1;::::0;::::1;::::0;67334:10:::1;::::0;67311:22;;67346:24:::1;::::0;5256:18:1;;67346:39:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;67311:75;::::0;-1:-1:-1;;;;;;67311:75:0::1;::::0;;;;;;-1:-1:-1;;;;;5846:32:1;;;67311:75:0::1;::::0;::::1;5828:51:1::0;5895:18;;;5888:34;5801:18;;67311:75:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;53682:151::-:0;-1:-1:-1;;;;;53798:18:0;;;53771:7;53798:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;53682:151::o;45506:201::-;44493:13;:11;:13::i;:::-;-1:-1:-1;;;;;45595:22:0;::::1;45587:73;;;::::0;-1:-1:-1;;;45587:73:0;;7662:2:1;45587:73:0::1;::::0;::::1;7644:21:1::0;7701:2;7681:18;;;7674:30;7740:34;7720:18;;;7713:62;-1:-1:-1;;;7791:18:1;;;7784:36;7837:19;;45587:73:0::1;7460:402:1::0;45587:73:0::1;45671:28;45690:8;45671:18;:28::i;:::-;45506:201:::0;:::o;60338:346::-;-1:-1:-1;;;;;60440:19:0;;60432:68;;;;-1:-1:-1;;;60432:68:0;;11021:2:1;60432:68:0;;;11003:21:1;11060:2;11040:18;;;11033:30;11099:34;11079:18;;;11072:62;-1:-1:-1;;;11150:18:1;;;11143:34;11194:19;;60432:68:0;10819:400:1;60432:68:0;-1:-1:-1;;;;;60519:21:0;;60511:68;;;;-1:-1:-1;;;60511:68:0;;8069:2:1;60511:68:0;;;8051:21:1;8108:2;8088:18;;;8081:30;8147:34;8127:18;;;8120:62;-1:-1:-1;;;8198:18:1;;;8191:32;8240:19;;60511:68:0;7867:398:1;60511:68:0;-1:-1:-1;;;;;60592:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;60644:32;;6271:25:1;;;60644:32:0;;6244:18:1;60644:32:0;;;;;;;60338:346;;;:::o;38450:105::-;38517:30;38528:4;34865:10;38517;:30::i;60975:419::-;61076:24;61103:25;61113:5;61120:7;61103:9;:25::i;:::-;61076:52;;-1:-1:-1;;61143:16:0;:37;61139:248;;61225:6;61205:16;:26;;61197:68;;;;-1:-1:-1;;;61197:68:0;;8808:2:1;61197:68:0;;;8790:21:1;8847:2;8827:18;;;8820:30;8886:31;8866:18;;;8859:59;8935:18;;61197:68:0;8606:353:1;61197:68:0;61309:51;61318:5;61325:7;61353:6;61334:16;:25;61309:8;:51::i;64647:808::-;64788:1;64779:6;:10;64771:39;;;;-1:-1:-1;;;64771:39:0;;10270:2:1;64771:39:0;;;10252:21:1;10309:2;10289:18;;;10282:30;-1:-1:-1;;;10328:18:1;;;10321:46;10384:18;;64771:39:0;10068:340:1;64771:39:0;64832:13;;-1:-1:-1;;;;;64824:21:0;;;64832:13;;64824:21;;;;:44;;-1:-1:-1;64855:13:0;;-1:-1:-1;;;;;64849:19:0;;;64855:13;;64849:19;;64824:44;64821:127;;;64885:30;64898:4;64904:2;64908:6;64885:12;:30::i;64821:127::-;64969:13;;-1:-1:-1;;;;;64961:21:0;;;64969:13;;64961:21;64958:160;;;65023:1;65007:15;;:17;64999:38;;;;-1:-1:-1;;;64999:38:0;;9573:2:1;64999:38:0;;;9555:21:1;9612:1;9592:18;;;9585:29;-1:-1:-1;;;9630:18:1;;;9623:38;9678:18;;64999:38:0;9371:331:1;64999:38:0;65052:33;65068:4;65074:2;65078:6;65052:15;:33::i;64958:160::-;65137:13;;-1:-1:-1;;;;;65131:19:0;;;65137:13;;65131:19;65128:320;;;-1:-1:-1;;;;;65170:15:0;;;;;;:9;:15;;;;;;;;65167:112;;;65205:33;65221:4;65227:2;65231:6;65205:15;:33::i;65167:112::-;65296:11;;;;65293:75;;;65343:8;;65327:25;;65336:6;;-1:-1:-1;;;;;65343:8:0;65327;:25::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;;9909:2:1;44828:68:0;;;9891:21:1;;;9928:18;;;9921:30;9987:34;9967:18;;;9960:62;10039:18;;44828:68:0;9707: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;67045:180::-;67109:4;67211:6;67165:15;67181:16;67200:5;67148:58;;;;;;;;;4958:19:1;;;5002:2;4993:12;;4986:28;;;;5052:2;5048:15;-1:-1:-1;;5044:53:1;5039:2;5030:12;;5023:75;5123:2;5114:12;;4773:359;67148:58:0;;;;;;;;;;;;;67138:69;;;;;;67133:75;;:84;;;;:::i;:::-;67126:91;67045:180;-1:-1:-1;;;67045:180:0:o;65767:611::-;65703:6;:13;;-1:-1:-1;;65703:13:0;;;;;65873:16:::1;::::0;;65887:1:::1;65873:16:::0;;;;;::::1;::::0;;-1:-1:-1;;65873:16:0::1;::::0;::::1;::::0;;::::1;::::0;::::1;-1:-1:-1::0;;65918:4:0::1;::::0;65900:7;;;;-1:-1:-1;;;;;;65918:4:0::1;::::0;65900:7;;-1:-1:-1;65918:4:0::1;::::0;65900:7:::1;;;;:::i;:::-;;;;;;:23;-1:-1:-1::0;;;;;65900:23:0::1;;;-1:-1:-1::0;;;;;65900:23:0::1;;;::::0;::::1;65952:4;65934;65939:1;65934:7;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;65934:23:0;;::::1;:7;::::0;;::::1;::::0;;;;;:23;65993:4:::1;::::0;65986:37:::1;::::0;-1:-1:-1;;;65986:37:0;;66017:4:::1;65986:37;::::0;::::1;5283:51:1::0;65968:15:0::1;::::0;65993:4;;;::::1;::::0;65986:22:::1;::::0;5256:18:1;;65986:37:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;65968:55:::0;-1:-1:-1;66037:14:0;66034:39:::1;;66066:7;66052:21;;66034:39;66128:7;66113:11;:22;66110:260;;66146:15;::::0;:224:::1;::::0;-1:-1:-1;;;66146:224:0;;-1:-1:-1;;;;;66146:15:0;;::::1;::::0;:69:::1;::::0;:224:::1;::::0;66230:11;;66146:15:::1;::::0;66299:4;;66326:2;;66344:15:::1;::::0;66146:224:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;66110:260;-1:-1:-1::0;;65739:6:0;:14;;-1:-1:-1;;65739:14:0;;;-1:-1:-1;;65767:611: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;57251:806::-;-1:-1:-1;;;;;57348:18:0;;57340:68;;;;-1:-1:-1;;;57340:68:0;;10615:2:1;57340:68:0;;;10597:21:1;10654:2;10634:18;;;10627:30;10693:34;10673:18;;;10666:62;-1:-1:-1;;;10744:18:1;;;10737:35;10789:19;;57340:68:0;10413:401:1;57340:68:0;-1:-1:-1;;;;;57427:16:0;;57419:64;;;;-1:-1:-1;;;57419:64:0;;7258:2:1;57419:64:0;;;7240:21:1;7297:2;7277:18;;;7270:30;7336:34;7316:18;;;7309:62;-1:-1:-1;;;7387:18:1;;;7380:33;7430:19;;57419:64:0;7056:399:1;57419:64:0;-1:-1:-1;;;;;57569:15:0;;57547:19;57569:15;;;;;;;;;;;57603:21;;;;57595:72;;;;-1:-1:-1;;;57595:72:0;;9166:2:1;57595:72:0;;;9148:21:1;9205:2;9185:18;;;9178:30;9244:34;9224:18;;;9217:62;-1:-1:-1;;;9295:18:1;;;9288:36;9341:19;;57595:72:0;8964:402:1;57595:72:0;-1:-1:-1;;;;;57703:15:0;;;:9;:15;;;;;;;;;;;57721:20;;;57703:38;;57921:13;;;;;;;;;;:23;;;;;;57973:26;;6271:25:1;;;57921:13:0;;57973:26;;6244:18:1;57973:26:0;;;;;;;58012:37;67406:122;66390:413;65703:6;:13;;-1:-1:-1;;65703:13:0;;;;;66507:4:::1;-1:-1:-1::0;53194:18:0;;;;;;;;;;;66471:42:::1;;66542:11;66532:7;:21;66524:42;;;::::0;-1:-1:-1;;;66524:42:0;;8472:2:1;66524:42:0::1;::::0;::::1;8454:21:1::0;8511:1;8491:18;;;8484:29;-1:-1:-1;;;8529:18:1;;;8522:38;8577:18;;66524:42:0::1;8270:331:1::0;66524:42:0::1;66601:16;::::0;;66615:1:::1;66601:16:::0;;;;;::::1;::::0;;66577:21:::1;::::0;66601:16:::1;::::0;::::1;::::0;;::::1;::::0;::::1;;::::0;-1:-1:-1;66601:16:0::1;66577:40;;66646:4;66628;66633:1;66628:7;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;66628:23:0;;::::1;:7;::::0;;::::1;::::0;;;;;:23;66672:4:::1;::::0;66662:7;;66672:4;::::1;::::0;66662;;66672;;66662:7;::::1;;;;;:::i;:::-;-1:-1:-1::0;;;;;66662:14:0;;::::1;:7;::::0;;::::1;::::0;;;;;:14;66687:15:::1;::::0;:108:::1;::::0;-1:-1:-1;;;66687:108:0;;:15;::::1;::::0;:69:::1;::::0;:108:::1;::::0;66757:11;;66687:15:::1;::::0;66771:4;;66776:2;;66779:15:::1;::::0;66687: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;;6897:2:1;23488:55:0;;;6879:21:1;;;6916:18;;;6909:30;6975:34;6955:18;;;6948:62;7027:18;;23488:55:0;6695:356:1;14:247;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;181:9;168:23;200:31;225:5;200:31;:::i;266:251::-;336:6;389:2;377:9;368:7;364:23;360:32;357:52;;;405:1;402;395:12;357:52;437:9;431:16;456:31;481:5;456:31;:::i;522:388::-;590:6;598;651:2;639:9;630:7;626:23;622:32;619:52;;;667:1;664;657:12;619:52;706:9;693:23;725:31;750:5;725:31;:::i;:::-;775:5;-1:-1:-1;832:2:1;817:18;;804:32;845:33;804:32;845:33;:::i;:::-;897:7;887:17;;;522:388;;;;;:::o;915:456::-;992:6;1000;1008;1061:2;1049:9;1040:7;1036:23;1032:32;1029:52;;;1077:1;1074;1067:12;1029:52;1116:9;1103:23;1135:31;1160:5;1135:31;:::i;:::-;1185:5;-1:-1:-1;1242:2:1;1227:18;;1214:32;1255:33;1214:32;1255:33;:::i;:::-;915:456;;1307:7;;-1:-1:-1;;;1361:2:1;1346:18;;;;1333:32;;915:456::o;1376:315::-;1444:6;1452;1505:2;1493:9;1484:7;1480:23;1476:32;1473:52;;;1521:1;1518;1511:12;1473:52;1560:9;1547:23;1579:31;1604:5;1579:31;:::i;:::-;1629:5;1681:2;1666:18;;;;1653:32;;-1:-1:-1;;;1376:315:1:o;1696:615::-;1782:6;1790;1843:2;1831:9;1822:7;1818:23;1814:32;1811:52;;;1859:1;1856;1849:12;1811:52;1899:9;1886:23;1928:18;1969:2;1961:6;1958:14;1955:34;;;1985:1;1982;1975:12;1955:34;2023:6;2012:9;2008:22;1998:32;;2068:7;2061:4;2057:2;2053:13;2049:27;2039:55;;2090:1;2087;2080:12;2039:55;2130:2;2117:16;2156:2;2148:6;2145:14;2142:34;;;2172:1;2169;2162:12;2142:34;2225:7;2220:2;2210:6;2207:1;2203:14;2199:2;2195:23;2191:32;2188:45;2185:65;;;2246:1;2243;2236:12;2185:65;2277:2;2269:11;;;;;2299:6;;-1:-1:-1;1696:615:1;;-1:-1:-1;;;;1696:615:1:o;2316:241::-;2372:6;2425:2;2413:9;2404:7;2400:23;2396:32;2393:52;;;2441:1;2438;2431:12;2393:52;2480:9;2467:23;2499:28;2521:5;2499:28;:::i;2562:245::-;2629:6;2682:2;2670:9;2661:7;2657:23;2653:32;2650:52;;;2698:1;2695;2688:12;2650:52;2730:9;2724:16;2749:28;2771:5;2749:28;:::i;2812:180::-;2871:6;2924:2;2912:9;2903:7;2899:23;2895:32;2892:52;;;2940:1;2937;2930:12;2892:52;-1:-1:-1;2963:23:1;;2812:180;-1:-1:-1;2812:180:1:o;2997:315::-;3065:6;3073;3126:2;3114:9;3105:7;3101:23;3097:32;3094:52;;;3142:1;3139;3132:12;3094:52;3178:9;3165:23;3155:33;;3238:2;3227:9;3223:18;3210:32;3251:31;3276:5;3251:31;:::i;3317:286::-;3375:6;3428:2;3416:9;3407:7;3403:23;3399:32;3396:52;;;3444:1;3441;3434:12;3396:52;3470:23;;-1:-1:-1;;;;;;3522:32:1;;3512:43;;3502:71;;3569:1;3566;3559:12;3793:184;3863:6;3916:2;3904:9;3895:7;3891:23;3887:32;3884:52;;;3932:1;3929;3922:12;3884:52;-1:-1:-1;3955:16:1;;3793:184;-1:-1:-1;3793:184:1:o;3982:786::-;4393:25;4388:3;4381:38;4363:3;4448:6;4442:13;4464:62;4519:6;4514:2;4509:3;4505:12;4498:4;4490:6;4486:17;4464:62;:::i;:::-;-1:-1:-1;;;4585:2:1;4545:16;;;4577:11;;;4570:40;4635:13;;4657:63;4635:13;4706:2;4698:11;;4691:4;4679:17;;4657:63;:::i;:::-;4740:17;4759:2;4736:26;;3982:786;-1:-1:-1;;;;3982:786:1:o;6307:383::-;6456:2;6445:9;6438:21;6419:4;6488:6;6482:13;6531:6;6526:2;6515:9;6511:18;6504:34;6547:66;6606:6;6601:2;6590:9;6586:18;6581:2;6573:6;6569:15;6547:66;:::i;:::-;6674:2;6653:15;-1:-1:-1;;6649:29:1;6634:45;;;;6681:2;6630:54;;6307:383;-1:-1:-1;;6307:383:1:o;12228:980::-;12490:4;12538:3;12527:9;12523:19;12569:6;12558:9;12551:25;12595:2;12633:6;12628:2;12617:9;12613:18;12606:34;12676:3;12671:2;12660:9;12656:18;12649:31;12700:6;12735;12729:13;12766:6;12758;12751:22;12804:3;12793:9;12789:19;12782:26;;12843:2;12835:6;12831:15;12817:29;;12864:1;12874:195;12888:6;12885:1;12882:13;12874:195;;;12953:13;;-1:-1:-1;;;;;12949:39:1;12937:52;;13044:15;;;;13009:12;;;;12985:1;12903:9;12874:195;;;-1:-1:-1;;;;;;;13125:32:1;;;;13120:2;13105:18;;13098:60;-1:-1:-1;;;13189:3:1;13174:19;13167:35;13086:3;12228:980;-1:-1:-1;;;12228:980:1:o;13402:128::-;13442:3;13473:1;13469:6;13466:1;13463:13;13460:39;;;13479:18;;:::i;:::-;-1:-1:-1;13515:9:1;;13402:128::o;13535:168::-;13575:7;13641:1;13637;13633:6;13629:14;13626:1;13623:21;13618:1;13611:9;13604:17;13600:45;13597:71;;;13648:18;;:::i;:::-;-1:-1:-1;13688:9:1;;13535:168::o;13708:258::-;13780:1;13790:113;13804:6;13801:1;13798:13;13790:113;;;13880:11;;;13874:18;13861:11;;;13854:39;13826:2;13819:10;13790:113;;;13921:6;13918:1;13915:13;13912:48;;;-1:-1:-1;;13956:1:1;13938:16;;13931:27;13708:258::o;13971:136::-;14010:3;14038:5;14028:39;;14047:18;;:::i;:::-;-1:-1:-1;;;14083:18:1;;13971:136::o;14112:380::-;14191:1;14187:12;;;;14234;;;14255:61;;14309:4;14301:6;14297:17;14287:27;;14255:61;14362:2;14354:6;14351:14;14331:18;14328:38;14325:161;;;14408:10;14403:3;14399:20;14396:1;14389:31;14443:4;14440:1;14433:15;14471:4;14468:1;14461:15;14325:161;;14112:380;;;:::o;14497:135::-;14536:3;-1:-1:-1;;14557:17:1;;14554:43;;;14577:18;;:::i;:::-;-1:-1:-1;14624:1:1;14613:13;;14497:135::o;14637:209::-;14669:1;14695;14685:132;;14739:10;14734:3;14730:20;14727:1;14720:31;14774:4;14771:1;14764:15;14802:4;14799:1;14792:15;14685:132;-1:-1:-1;14831:9:1;;14637:209::o;14851:127::-;14912:10;14907:3;14903:20;14900:1;14893:31;14943:4;14940:1;14933:15;14967:4;14964:1;14957:15;14983:127;15044:10;15039:3;15035:20;15032:1;15025:31;15075:4;15072:1;15065:15;15099:4;15096:1;15089:15;15115:127;15176:10;15171:3;15167:20;15164:1;15157:31;15207:4;15204:1;15197:15;15231:4;15228:1;15221:15;15247:131;-1:-1:-1;;;;;15322:31:1;;15312:42;;15302:70;;15368:1;15365;15358:12;15383:118;15469:5;15462:13;15455:21;15448:5;15445:32;15435:60;;15491:1;15488;15481:12

Swarm Source

ipfs://b74f09a17a27c0a8d7874b34fd0f361b9e3ac0eb7b65e862c85ed7e5362fe02e
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.