ETH Price: $2,757.21 (+4.47%)

Contract

0x5B05ecaeF0cDb84E06A25D4eb8EA02e805a5EBc7
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve204108312024-07-29 7:49:4725 days ago1722239387IN
0x5B05ecae...805a5EBc7
0 ETH0.000217174.59664332
Approve191023552024-01-28 3:26:47208 days ago1706412407IN
0x5B05ecae...805a5EBc7
0 ETH0.0005108110.82561685
Approve190834912024-01-25 12:01:11211 days ago1706184071IN
0x5B05ecae...805a5EBc7
0 ETH0.0009508635.11044481
Approve190834882024-01-25 12:00:35211 days ago1706184035IN
0x5B05ecae...805a5EBc7
0 ETH0.0016137834.34890613
Approve190815112024-01-25 5:21:35211 days ago1706160095IN
0x5B05ecae...805a5EBc7
0 ETH0.0005054710.71245642
Approve190719702024-01-23 21:14:11213 days ago1706044451IN
0x5B05ecae...805a5EBc7
0 ETH0.0003100611.33842242
Approve190719692024-01-23 21:13:59213 days ago1706044439IN
0x5B05ecae...805a5EBc7
0 ETH0.0005436911.50776265
Approve190667242024-01-23 3:32:11213 days ago1705980731IN
0x5B05ecae...805a5EBc7
0 ETH0.000380388.06131933
Approve190654712024-01-22 23:18:59214 days ago1705965539IN
0x5B05ecae...805a5EBc7
0 ETH0.0005191311.00178903
Approve190642522024-01-22 19:10:47214 days ago1705950647IN
0x5B05ecae...805a5EBc7
0 ETH0.0008938218.94251624
Approve190629192024-01-22 14:40:11214 days ago1705934411IN
0x5B05ecae...805a5EBc7
0 ETH0.0009152619.3970115
Approve190626662024-01-22 13:48:11214 days ago1705931291IN
0x5B05ecae...805a5EBc7
0 ETH0.0007187915.23326585
Transfer190626612024-01-22 13:46:59214 days ago1705931219IN
0x5B05ecae...805a5EBc7
0 ETH0.0006171814.4733696
Approve190624202024-01-22 12:57:47214 days ago1705928267IN
0x5B05ecae...805a5EBc7
0 ETH0.0006531813.84281581
Approve190623252024-01-22 12:38:11214 days ago1705927091IN
0x5B05ecae...805a5EBc7
0 ETH0.0008448217.90414756
Approve190601012024-01-22 5:07:59214 days ago1705900079IN
0x5B05ecae...805a5EBc7
0 ETH0.0005386111.41477488
Approve190599832024-01-22 4:43:47214 days ago1705898627IN
0x5B05ecae...805a5EBc7
0 ETH0.0008279617.52447031
Approve190595162024-01-22 3:09:35214 days ago1705892975IN
0x5B05ecae...805a5EBc7
0 ETH0.0007049115
Approve190594152024-01-22 2:48:47214 days ago1705891727IN
0x5B05ecae...805a5EBc7
0 ETH0.0004924810.49320126
Approve190594082024-01-22 2:47:23214 days ago1705891643IN
0x5B05ecae...805a5EBc7
0 ETH0.0006360513.46266618
Approve190594062024-01-22 2:46:59214 days ago1705891619IN
0x5B05ecae...805a5EBc7
0 ETH0.0007260515.36760577
Approve190594032024-01-22 2:46:23214 days ago1705891583IN
0x5B05ecae...805a5EBc7
0 ETH0.0008494717.97983468
Approve190594032024-01-22 2:46:23214 days ago1705891583IN
0x5B05ecae...805a5EBc7
0 ETH0.0008494717.97983468
Approve190592392024-01-22 2:13:11214 days ago1705889591IN
0x5B05ecae...805a5EBc7
0 ETH0.0004933710.45595881
Approve190592192024-01-22 2:09:11214 days ago1705889351IN
0x5B05ecae...805a5EBc7
0 ETH0.0005242211.09570537
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PepeMax

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 10 : PepeMax.sol
// SPDX-License-Identifier: UNLICENSED

pragma solidity ^0.8.19;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";

contract PepeMax is ERC20, Ownable {
    using SafeMath for uint256;
    uint256 public saleStartTime;
    uint256 public totalTax;
    uint256 public numTokensToMint = 420000000000000;
    uint constant taxDenominator = 10000;
    uint constant maxTax = 10000;
    bool public isPaused;
    address public taxFundAddress = 0xb5bfCC8a1A3294051c32Fe01E15D753A174Ac735;
    address public teamAddress = 0xDb5704cB53FAf410112Def642F588083eb01c60a;
    address public maketingAddress = 0xF9417452c5FaDcfeA78e9683Efc1835FC4282149;
    address public cexAddress = 0x48b9827b32005350c6fE894707473b7573C0973C;
    address public allocatorAddress = 0xfc1B7066B643F811EF1Fc371fFFb3aD20e5aa2e8;
    mapping(address => bool) public taxExcludedAddress;

    event SaleStarted(uint256 _epochTime);
    event SaleStopped(uint256 _epochTime);
    // event TaxBpsUpdated(uint _old, uint _new);
    event MaxTaxUpdated(uint _old, uint _new);
    event TaxExcludedAddressAdded(address _account);
    event TaxExcludedAddressRemoved(address _account);
    event TaxFundAddressUpdated(address _old, address _new);

    constructor () ERC20 ("Pepe Max", "PEPEMAX") {
        taxExcludedAddress[_msgSender()] = true;
        taxExcludedAddress[taxFundAddress] = true;
        taxExcludedAddress[address(this)] = true;

        isPaused = true;    // Initially contract paused for trading

        uint256 _teamSupply = numTokensToMint.mul(490).div(10000);
        uint256 _marketingSupply = numTokensToMint.mul(490).div(10000);
        uint256 _cexSupply = numTokensToMint.mul(490).div(10000);
        uint256 _remainingSupply = numTokensToMint.sub(_teamSupply).sub(_marketingSupply).sub(_cexSupply);

        _mint(teamAddress, _teamSupply.mul(10**decimals()));
        _mint(maketingAddress, _marketingSupply.mul(10**decimals()));
        _mint(cexAddress, _cexSupply.mul(10**decimals()));
        _mint(allocatorAddress, _remainingSupply.mul(10**decimals()));
    }

    function taxBps() public view returns (uint) {
        uint256 currentTime = block.timestamp;
        uint256 timeDiffInSeconds = currentTime - saleStartTime;
        uint _taxBps;

        if (timeDiffInSeconds <= (2 * 60)) {
            // taxBps to 90%
            _taxBps = 9000;

        } else if (timeDiffInSeconds <= (60 * 60)) {
            // taxBps to 25%
            _taxBps = 2500;

        } else if (timeDiffInSeconds <= (4 * 60 * 60)) {
            // taxBps to 5%
            _taxBps = 500;

        } else {
            // taxBps to 0%
            _taxBps = 0;
        }

        return _taxBps;
    }

    function decimals() public pure override returns (uint8) {
        return 12;
    }

    function _isExcludeAddress(address to, address from) internal view returns (bool) {
        if (taxExcludedAddress[to] || taxExcludedAddress[from] || (to == owner()) || (from == owner())) {
            return true;
        }
        return false;
    }

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal override {
        if (isPaused) {
            require(_isExcludeAddress(to, from), "PepeMax: Contract is Paused!");
        }

        uint _taxAmount = 0;
        if (!_isExcludeAddress(to, from)) {
            _taxAmount = (amount * taxBps()) / taxDenominator;
        }
        uint _transferAmount = amount - _taxAmount;
        super._transfer(from, to, _transferAmount);

        if (_taxAmount > 0) {
            totalTax += _taxAmount;
            super._transfer(from, taxFundAddress, _taxAmount);
        }
    }

    function burn(uint256 amount) public {
        _burn(_msgSender(), amount);
    }

    /// Can be executed only once
    function startSale() public onlyOwner {
        require(isPaused == true, "PepeMax: Sale is already active!");
        if (saleStartTime == 0) {
            saleStartTime = block.timestamp;
        }
        isPaused = false;
        emit SaleStarted(saleStartTime);
    }

    function stopSale() public onlyOwner {
        require(isPaused == false, "PepeMax: Sale is already stopped!");
        isPaused = true;
        emit SaleStopped(block.timestamp);
    }

    function addTaxExcludedAddress(address _account) public onlyOwner {
        require(_account != address(0), "PepeMax: Address cannot be zero address!");
        taxExcludedAddress[_account] = true;
        emit TaxExcludedAddressAdded(_account);
    }

    function removeTaxExcludedAddress(address _account) public onlyOwner {
        require(_account != address(0), "PepeMax: Address cannot be zero address!");
        taxExcludedAddress[_account] = false;
        emit TaxExcludedAddressRemoved(_account);
    }

    function setTaxFundAddress(address _account) public onlyOwner {
        require(_account != address(0), "PepeMax: Address cannot be zero address!");
        emit TaxFundAddressUpdated(taxFundAddress, _account);
        taxFundAddress = _account;
    }

    // Withdraw ETH from contract to contract owner wallet
    function withdrawETH() external onlyOwner {
        payable(owner()).transfer(address(this).balance);
    }

    // Withdraw Tokens from contract to walletAddress
    function withdrawTokens(IERC20 tokenAddress, address walletAddress)
        external
        onlyOwner
    {
        require(
            walletAddress != address(0),
            "walletAddress can't be 0 address"
        );
        SafeERC20.safeTransfer(
            tokenAddress,
            walletAddress,
            tokenAddress.balanceOf(address(this))
        );
    }
}

File 2 of 10 : SafeMath.sol
// SPDX-License-Identifier: MIT
// 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 3 of 10 : Context.sol
// SPDX-License-Identifier: MIT
// 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 4 of 10 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

File 5 of 10 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.3) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../extensions/IERC20Permit.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    /**
     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    /**
     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
     */
    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    /**
     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 oldAllowance = token.allowance(address(this), spender);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value));
    }

    /**
     * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value));
        }
    }

    /**
     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval
     * to be set to zero before setting it to a non-zero value, such as USDT.
     */
    function forceApprove(IERC20 token, address spender, uint256 value) internal {
        bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value);

        if (!_callOptionalReturnBool(token, approvalCall)) {
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0));
            _callOptionalReturn(token, approvalCall);
        }
    }

    /**
     * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`.
     * Revert on invalid signature.
     */
    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        require(returndata.length == 0 || abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     *
     * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.
     */
    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false
        // and not revert is the subcall reverts.

        (bool success, bytes memory returndata) = address(token).call(data);
        return
            success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token));
    }
}

File 6 of 10 : IERC20Permit.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/IERC20Permit.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

File 7 of 10 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

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

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

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

File 8 of 10 : IERC20.sol
// SPDX-License-Identifier: MIT
// 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 9 of 10 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * 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 10 of 10 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @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);
    }
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "evmVersion": "paris",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

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":false,"internalType":"uint256","name":"_old","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_new","type":"uint256"}],"name":"MaxTaxUpdated","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":false,"internalType":"uint256","name":"_epochTime","type":"uint256"}],"name":"SaleStarted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_epochTime","type":"uint256"}],"name":"SaleStopped","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_account","type":"address"}],"name":"TaxExcludedAddressAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_account","type":"address"}],"name":"TaxExcludedAddressRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_old","type":"address"},{"indexed":false,"internalType":"address","name":"_new","type":"address"}],"name":"TaxFundAddressUpdated","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":[{"internalType":"address","name":"_account","type":"address"}],"name":"addTaxExcludedAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"allocatorAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cexAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maketingAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numTokensToMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"removeTaxExcludedAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"setTaxFundAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxBps","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"taxExcludedAddress","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxFundAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalTax","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":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"tokenAddress","type":"address"},{"internalType":"address","name":"walletAddress","type":"address"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405266017dfcdece400060085573b5bfcc8a1a3294051c32fe01e15d753a174ac735600960016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073db5704cb53faf410112def642f588083eb01c60a600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073f9417452c5fadcfea78e9683efc1835fc4282149600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507348b9827b32005350c6fe894707473b7573c0973c600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073fc1b7066b643f811ef1fc371fffb3ad20e5aa2e8600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550348015620001c557600080fd5b506040518060400160405280600881526020017f50657065204d61780000000000000000000000000000000000000000000000008152506040518060400160405280600781526020017f504550454d415800000000000000000000000000000000000000000000000000815250816003908162000243919062000b56565b50806004908162000255919062000b56565b505050620002786200026c6200064660201b60201c565b6200064e60201b60201c565b6001600e60006200028e6200064660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600e6000600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600e60003073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600960006101000a81548160ff0219169083151502179055506000620003fd612710620003ee6101ea6008546200071460201b90919060201c565b6200072c60201b90919060201c565b9050600062000430612710620004216101ea6008546200071460201b90919060201c565b6200072c60201b90919060201c565b9050600062000463612710620004546101ea6008546200071460201b90919060201c565b6200072c60201b90919060201c565b90506000620004a682620004978562000488886008546200074460201b90919060201c565b6200074460201b90919060201c565b6200074460201b90919060201c565b90506200050d600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1662000501620004e36200075c60201b60201c565b600a620004f1919062000dcd565b876200071460201b90919060201c565b6200076560201b60201c565b62000572600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1662000566620005486200075c60201b60201c565b600a62000556919062000dcd565b866200071460201b90919060201c565b6200076560201b60201c565b620005d7600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16620005cb620005ad6200075c60201b60201c565b600a620005bb919062000dcd565b856200071460201b90919060201c565b6200076560201b60201c565b6200063c600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1662000630620006126200075c60201b60201c565b600a62000620919062000dcd565b846200071460201b90919060201c565b6200076560201b60201c565b5050505062000ff7565b600033905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000818362000724919062000e1e565b905092915050565b600081836200073c919062000e98565b905092915050565b6000818362000754919062000ed0565b905092915050565b6000600c905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620007d7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620007ce9062000f6c565b60405180910390fd5b620007eb60008383620008d260201b60201c565b8060026000828254620007ff919062000f8e565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620008b2919062000fda565b60405180910390a3620008ce60008383620008d760201b60201c565b5050565b505050565b505050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200095e57607f821691505b60208210810362000974576200097362000916565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620009de7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200099f565b620009ea86836200099f565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000a3762000a3162000a2b8462000a02565b62000a0c565b62000a02565b9050919050565b6000819050919050565b62000a538362000a16565b62000a6b62000a628262000a3e565b848454620009ac565b825550505050565b600090565b62000a8262000a73565b62000a8f81848462000a48565b505050565b5b8181101562000ab75762000aab60008262000a78565b60018101905062000a95565b5050565b601f82111562000b065762000ad0816200097a565b62000adb846200098f565b8101602085101562000aeb578190505b62000b0362000afa856200098f565b83018262000a94565b50505b505050565b600082821c905092915050565b600062000b2b6000198460080262000b0b565b1980831691505092915050565b600062000b46838362000b18565b9150826002028217905092915050565b62000b6182620008dc565b67ffffffffffffffff81111562000b7d5762000b7c620008e7565b5b62000b89825462000945565b62000b9682828562000abb565b600060209050601f83116001811462000bce576000841562000bb9578287015190505b62000bc5858262000b38565b86555062000c35565b601f19841662000bde866200097a565b60005b8281101562000c085784890151825560018201915060208501945060208101905062000be1565b8683101562000c28578489015162000c24601f89168262000b18565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b600185111562000ccb5780860481111562000ca35762000ca262000c3d565b5b600185161562000cb35780820291505b808102905062000cc38562000c6c565b945062000c83565b94509492505050565b60008262000ce6576001905062000db9565b8162000cf6576000905062000db9565b816001811462000d0f576002811462000d1a5762000d50565b600191505062000db9565b60ff84111562000d2f5762000d2e62000c3d565b5b8360020a91508482111562000d495762000d4862000c3d565b5b5062000db9565b5060208310610133831016604e8410600b841016171562000d8a5782820a90508381111562000d845762000d8362000c3d565b5b62000db9565b62000d99848484600162000c79565b9250905081840481111562000db35762000db262000c3d565b5b81810290505b9392505050565b600060ff82169050919050565b600062000dda8262000a02565b915062000de78362000dc0565b925062000e167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848462000cd4565b905092915050565b600062000e2b8262000a02565b915062000e388362000a02565b925082820262000e488162000a02565b9150828204841483151762000e625762000e6162000c3d565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600062000ea58262000a02565b915062000eb28362000a02565b92508262000ec55762000ec462000e69565b5b828204905092915050565b600062000edd8262000a02565b915062000eea8362000a02565b925082820390508181111562000f055762000f0462000c3d565b5b92915050565b600082825260208201905092915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b600062000f54601f8362000f0b565b915062000f618262000f1c565b602082019050919050565b6000602082019050818103600083015262000f878162000f45565b9050919050565b600062000f9b8262000a02565b915062000fa88362000a02565b925082820190508082111562000fc35762000fc262000c3d565b5b92915050565b62000fd48162000a02565b82525050565b600060208201905062000ff1600083018462000fc9565b92915050565b612f7280620010076000396000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c80638da5cb5b1161011a578063b66a0e5d116100ad578063dd62ed3e1161007c578063dd62ed3e14610594578063e086e5ec146105c4578063e36b0b37146105ce578063f2fde38b146105d8578063fe85b42b146105f4576101fb565b8063b66a0e5d14610534578063ca3dcd0b1461053e578063cc9c49a61461055c578063cdca708314610578576101fb565b8063a457c2d7116100e9578063a457c2d71461049a578063a522ad25146104ca578063a9059cbb146104e6578063b187bd2614610516576101fb565b80638da5cb5b1461042257806395d89b4114610440578063a0abdba01461045e578063a25d4e521461047c576101fb565b806339509351116101925780635da0f6eb116101615780635da0f6eb1461039c57806370a08231146103cc578063715018a6146103fc5780637fd5a64a14610406576101fb565b806339509351146103145780633eacd2f81461034457806342966c68146103625780635b008dc01461037e576101fb565b80631c75f085116101ce5780631c75f0851461028a5780631cbaee2d146102a857806323b872dd146102c6578063313ce567146102f6576101fb565b806306fdde0314610200578063095ea7b31461021e57806318160ddd1461024e5780631892079b1461026c575b600080fd5b610208610612565b6040516102159190611f3f565b60405180910390f35b61023860048036038101906102339190611ffa565b6106a4565b6040516102459190612055565b60405180910390f35b6102566106c7565b604051610263919061207f565b60405180910390f35b6102746106d1565b60405161028191906120a9565b60405180910390f35b6102926106f7565b60405161029f91906120a9565b60405180910390f35b6102b061071d565b6040516102bd919061207f565b60405180910390f35b6102e060048036038101906102db91906120c4565b610723565b6040516102ed9190612055565b60405180910390f35b6102fe610752565b60405161030b9190612133565b60405180910390f35b61032e60048036038101906103299190611ffa565b61075b565b60405161033b9190612055565b60405180910390f35b61034c610792565b604051610359919061207f565b60405180910390f35b61037c6004803603810190610377919061214e565b6107f4565b005b610386610808565b60405161039391906120a9565b60405180910390f35b6103b660048036038101906103b1919061217b565b61082e565b6040516103c39190612055565b60405180910390f35b6103e660048036038101906103e1919061217b565b61084e565b6040516103f3919061207f565b60405180910390f35b610404610896565b005b610420600480360381019061041b919061217b565b6108aa565b005b61042a6109c0565b60405161043791906120a9565b60405180910390f35b6104486109ea565b6040516104559190611f3f565b60405180910390f35b610466610a7c565b60405161047391906120a9565b60405180910390f35b610484610aa2565b60405161049191906120a9565b60405180910390f35b6104b460048036038101906104af9190611ffa565b610ac8565b6040516104c19190612055565b60405180910390f35b6104e460048036038101906104df91906121e6565b610b3f565b005b61050060048036038101906104fb9190611ffa565b610c3e565b60405161050d9190612055565b60405180910390f35b61051e610c61565b60405161052b9190612055565b60405180910390f35b61053c610c74565b005b610546610d3a565b604051610553919061207f565b60405180910390f35b6105766004803603810190610571919061217b565b610d40565b005b610592600480360381019061058d919061217b565b610e49565b005b6105ae60048036038101906105a99190612226565b610f52565b6040516105bb919061207f565b60405180910390f35b6105cc610fd9565b005b6105d6611031565b005b6105f260048036038101906105ed919061217b565b6110e3565b005b6105fc611166565b604051610609919061207f565b60405180910390f35b60606003805461062190612295565b80601f016020809104026020016040519081016040528092919081815260200182805461064d90612295565b801561069a5780601f1061066f5761010080835404028352916020019161069a565b820191906000526020600020905b81548152906001019060200180831161067d57829003601f168201915b5050505050905090565b6000806106af61116c565b90506106bc818585611174565b600191505092915050565b6000600254905090565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60065481565b60008061072e61116c565b905061073b85828561133d565b6107468585856113c9565b60019150509392505050565b6000600c905090565b60008061076661116c565b90506107878185856107788589610f52565b61078291906122f5565b611174565b600191505092915050565b6000804290506000600654826107a89190612329565b90506000607882116107be5761232890506107eb565b610e1082116107d1576109c490506107ea565b61384082116107e4576101f490506107e9565b600090505b5b5b80935050505090565b6108056107ff61116c565b826114cd565b50565b600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600e6020528060005260406000206000915054906101000a900460ff1681565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61089e61169a565b6108a86000611718565b565b6108b261169a565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610921576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610918906123cf565b60405180910390fd5b7f50bbfec2d77358bb49d471d9866b729186a20f3b672227458a1266a5fb0635e0600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16826040516109749291906123ef565b60405180910390a180600960016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600480546109f990612295565b80601f0160208091040260200160405190810160405280929190818152602001828054610a2590612295565b8015610a725780601f10610a4757610100808354040283529160200191610a72565b820191906000526020600020905b815481529060010190602001808311610a5557829003601f168201915b5050505050905090565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080610ad361116c565b90506000610ae18286610f52565b905083811015610b26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1d9061248a565b60405180910390fd5b610b338286868403611174565b60019250505092915050565b610b4761169a565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610bb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bad906124f6565b60405180910390fd5b610c3a82828473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610bf491906120a9565b602060405180830381865afa158015610c11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c35919061252b565b6117de565b5050565b600080610c4961116c565b9050610c568185856113c9565b600191505092915050565b600960009054906101000a900460ff1681565b610c7c61169a565b60011515600960009054906101000a900460ff16151514610cd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc9906125a4565b60405180910390fd5b600060065403610ce457426006819055505b6000600960006101000a81548160ff0219169083151502179055507fa78c547613f6306e7a70d1bd161c18a496cae1eeb8d4f9e58b60d69ad72ddf58600654604051610d30919061207f565b60405180910390a1565b60085481565b610d4861169a565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610db7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dae906123cf565b60405180910390fd5b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507fb6566a1dbab171d7e2fd793b5524d74d272f4d7306cf32fa7119daffa537adf281604051610e3e91906120a9565b60405180910390a150565b610e5161169a565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610ec0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb7906123cf565b60405180910390fd5b6001600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507ff4ce97b5f2c437716808a7e5f02bc55af527d6ce050724b3c5b6ad4b65a1b70e81604051610f4791906120a9565b60405180910390a150565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610fe161169a565b610fe96109c0565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505015801561102e573d6000803e3d6000fd5b50565b61103961169a565b60001515600960009054906101000a900460ff1615151461108f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108690612636565b60405180910390fd5b6001600960006101000a81548160ff0219169083151502179055507f47f75dd68b479a7dc904baeb75498ebb157246edcc056bb28bf42d12f1d8e364426040516110d9919061207f565b60405180910390a1565b6110eb61169a565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361115a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611151906126c8565b60405180910390fd5b61116381611718565b50565b60075481565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036111e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111da9061275a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611252576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611249906127ec565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051611330919061207f565b60405180910390a3505050565b60006113498484610f52565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146113c357818110156113b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ac90612858565b60405180910390fd5b6113c28484848403611174565b5b50505050565b600960009054906101000a900460ff1615611428576113e88284611864565b611427576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141e906128c4565b60405180910390fd5b5b60006114348385611864565b61145b57612710611443610792565b8361144e91906128e4565b6114589190612955565b90505b600081836114699190612329565b905061147685858361199a565b60008211156114c657816007600082825461149191906122f5565b925050819055506114c585600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff168461199a565b5b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361153c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611533906129f8565b60405180910390fd5b61154882600083611c10565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156115ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c590612a8a565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611681919061207f565b60405180910390a361169583600084611c15565b505050565b6116a261116c565b73ffffffffffffffffffffffffffffffffffffffff166116c06109c0565b73ffffffffffffffffffffffffffffffffffffffff1614611716576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170d90612af6565b60405180910390fd5b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61185f8363a9059cbb60e01b84846040516024016117fd929190612b16565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611c1a565b505050565b6000600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806119075750600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b8061194457506119156109c0565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16145b8061198157506119526109c0565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b1561198f5760019050611994565b600090505b92915050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611a09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0090612bb1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611a78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6f90612c43565b60405180910390fd5b611a83838383611c10565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611b09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0090612cd5565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611bf7919061207f565b60405180910390a3611c0a848484611c15565b50505050565b505050565b505050565b6000611c7c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16611ce29092919063ffffffff16565b9050600081511480611c9e575080806020019051810190611c9d9190612d21565b5b611cdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd490612dc0565b60405180910390fd5b505050565b6060611cf18484600085611cfa565b90509392505050565b606082471015611d3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3690612e52565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051611d689190612eb9565b60006040518083038185875af1925050503d8060008114611da5576040519150601f19603f3d011682016040523d82523d6000602084013e611daa565b606091505b5091509150611dbb87838387611dc7565b92505050949350505050565b60608315611e29576000835103611e2157611de185611e3c565b611e20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1790612f1c565b60405180910390fd5b5b829050611e34565b611e338383611e5f565b5b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082511115611e725781518083602001fd5b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea69190611f3f565b60405180910390fd5b600081519050919050565b600082825260208201905092915050565b60005b83811015611ee9578082015181840152602081019050611ece565b60008484015250505050565b6000601f19601f8301169050919050565b6000611f1182611eaf565b611f1b8185611eba565b9350611f2b818560208601611ecb565b611f3481611ef5565b840191505092915050565b60006020820190508181036000830152611f598184611f06565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611f9182611f66565b9050919050565b611fa181611f86565b8114611fac57600080fd5b50565b600081359050611fbe81611f98565b92915050565b6000819050919050565b611fd781611fc4565b8114611fe257600080fd5b50565b600081359050611ff481611fce565b92915050565b6000806040838503121561201157612010611f61565b5b600061201f85828601611faf565b925050602061203085828601611fe5565b9150509250929050565b60008115159050919050565b61204f8161203a565b82525050565b600060208201905061206a6000830184612046565b92915050565b61207981611fc4565b82525050565b60006020820190506120946000830184612070565b92915050565b6120a381611f86565b82525050565b60006020820190506120be600083018461209a565b92915050565b6000806000606084860312156120dd576120dc611f61565b5b60006120eb86828701611faf565b93505060206120fc86828701611faf565b925050604061210d86828701611fe5565b9150509250925092565b600060ff82169050919050565b61212d81612117565b82525050565b60006020820190506121486000830184612124565b92915050565b60006020828403121561216457612163611f61565b5b600061217284828501611fe5565b91505092915050565b60006020828403121561219157612190611f61565b5b600061219f84828501611faf565b91505092915050565b60006121b382611f86565b9050919050565b6121c3816121a8565b81146121ce57600080fd5b50565b6000813590506121e0816121ba565b92915050565b600080604083850312156121fd576121fc611f61565b5b600061220b858286016121d1565b925050602061221c85828601611faf565b9150509250929050565b6000806040838503121561223d5761223c611f61565b5b600061224b85828601611faf565b925050602061225c85828601611faf565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806122ad57607f821691505b6020821081036122c0576122bf612266565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061230082611fc4565b915061230b83611fc4565b9250828201905080821115612323576123226122c6565b5b92915050565b600061233482611fc4565b915061233f83611fc4565b9250828203905081811115612357576123566122c6565b5b92915050565b7f506570654d61783a20416464726573732063616e6e6f74206265207a65726f2060008201527f6164647265737321000000000000000000000000000000000000000000000000602082015250565b60006123b9602883611eba565b91506123c48261235d565b604082019050919050565b600060208201905081810360008301526123e8816123ac565b9050919050565b6000604082019050612404600083018561209a565b612411602083018461209a565b9392505050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000612474602583611eba565b915061247f82612418565b604082019050919050565b600060208201905081810360008301526124a381612467565b9050919050565b7f77616c6c6574416464726573732063616e277420626520302061646472657373600082015250565b60006124e0602083611eba565b91506124eb826124aa565b602082019050919050565b6000602082019050818103600083015261250f816124d3565b9050919050565b60008151905061252581611fce565b92915050565b60006020828403121561254157612540611f61565b5b600061254f84828501612516565b91505092915050565b7f506570654d61783a2053616c6520697320616c72656164792061637469766521600082015250565b600061258e602083611eba565b915061259982612558565b602082019050919050565b600060208201905081810360008301526125bd81612581565b9050919050565b7f506570654d61783a2053616c6520697320616c72656164792073746f7070656460008201527f2100000000000000000000000000000000000000000000000000000000000000602082015250565b6000612620602183611eba565b915061262b826125c4565b604082019050919050565b6000602082019050818103600083015261264f81612613565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006126b2602683611eba565b91506126bd82612656565b604082019050919050565b600060208201905081810360008301526126e1816126a5565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000612744602483611eba565b915061274f826126e8565b604082019050919050565b6000602082019050818103600083015261277381612737565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b60006127d6602283611eba565b91506127e18261277a565b604082019050919050565b60006020820190508181036000830152612805816127c9565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000612842601d83611eba565b915061284d8261280c565b602082019050919050565b6000602082019050818103600083015261287181612835565b9050919050565b7f506570654d61783a20436f6e7472616374206973205061757365642100000000600082015250565b60006128ae601c83611eba565b91506128b982612878565b602082019050919050565b600060208201905081810360008301526128dd816128a1565b9050919050565b60006128ef82611fc4565b91506128fa83611fc4565b925082820261290881611fc4565b9150828204841483151761291f5761291e6122c6565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061296082611fc4565b915061296b83611fc4565b92508261297b5761297a612926565b5b828204905092915050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006129e2602183611eba565b91506129ed82612986565b604082019050919050565b60006020820190508181036000830152612a11816129d5565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b6000612a74602283611eba565b9150612a7f82612a18565b604082019050919050565b60006020820190508181036000830152612aa381612a67565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612ae0602083611eba565b9150612aeb82612aaa565b602082019050919050565b60006020820190508181036000830152612b0f81612ad3565b9050919050565b6000604082019050612b2b600083018561209a565b612b386020830184612070565b9392505050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000612b9b602583611eba565b9150612ba682612b3f565b604082019050919050565b60006020820190508181036000830152612bca81612b8e565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000612c2d602383611eba565b9150612c3882612bd1565b604082019050919050565b60006020820190508181036000830152612c5c81612c20565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000612cbf602683611eba565b9150612cca82612c63565b604082019050919050565b60006020820190508181036000830152612cee81612cb2565b9050919050565b612cfe8161203a565b8114612d0957600080fd5b50565b600081519050612d1b81612cf5565b92915050565b600060208284031215612d3757612d36611f61565b5b6000612d4584828501612d0c565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000612daa602a83611eba565b9150612db582612d4e565b604082019050919050565b60006020820190508181036000830152612dd981612d9d565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000612e3c602683611eba565b9150612e4782612de0565b604082019050919050565b60006020820190508181036000830152612e6b81612e2f565b9050919050565b600081519050919050565b600081905092915050565b6000612e9382612e72565b612e9d8185612e7d565b9350612ead818560208601611ecb565b80840191505092915050565b6000612ec58284612e88565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000612f06601d83611eba565b9150612f1182612ed0565b602082019050919050565b60006020820190508181036000830152612f3581612ef9565b905091905056fea2646970667358221220c03553c9581ee7916fccfd0e92df02abcd1b79313d5503c9eef798d3f48047e864736f6c63430008130033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101fb5760003560e01c80638da5cb5b1161011a578063b66a0e5d116100ad578063dd62ed3e1161007c578063dd62ed3e14610594578063e086e5ec146105c4578063e36b0b37146105ce578063f2fde38b146105d8578063fe85b42b146105f4576101fb565b8063b66a0e5d14610534578063ca3dcd0b1461053e578063cc9c49a61461055c578063cdca708314610578576101fb565b8063a457c2d7116100e9578063a457c2d71461049a578063a522ad25146104ca578063a9059cbb146104e6578063b187bd2614610516576101fb565b80638da5cb5b1461042257806395d89b4114610440578063a0abdba01461045e578063a25d4e521461047c576101fb565b806339509351116101925780635da0f6eb116101615780635da0f6eb1461039c57806370a08231146103cc578063715018a6146103fc5780637fd5a64a14610406576101fb565b806339509351146103145780633eacd2f81461034457806342966c68146103625780635b008dc01461037e576101fb565b80631c75f085116101ce5780631c75f0851461028a5780631cbaee2d146102a857806323b872dd146102c6578063313ce567146102f6576101fb565b806306fdde0314610200578063095ea7b31461021e57806318160ddd1461024e5780631892079b1461026c575b600080fd5b610208610612565b6040516102159190611f3f565b60405180910390f35b61023860048036038101906102339190611ffa565b6106a4565b6040516102459190612055565b60405180910390f35b6102566106c7565b604051610263919061207f565b60405180910390f35b6102746106d1565b60405161028191906120a9565b60405180910390f35b6102926106f7565b60405161029f91906120a9565b60405180910390f35b6102b061071d565b6040516102bd919061207f565b60405180910390f35b6102e060048036038101906102db91906120c4565b610723565b6040516102ed9190612055565b60405180910390f35b6102fe610752565b60405161030b9190612133565b60405180910390f35b61032e60048036038101906103299190611ffa565b61075b565b60405161033b9190612055565b60405180910390f35b61034c610792565b604051610359919061207f565b60405180910390f35b61037c6004803603810190610377919061214e565b6107f4565b005b610386610808565b60405161039391906120a9565b60405180910390f35b6103b660048036038101906103b1919061217b565b61082e565b6040516103c39190612055565b60405180910390f35b6103e660048036038101906103e1919061217b565b61084e565b6040516103f3919061207f565b60405180910390f35b610404610896565b005b610420600480360381019061041b919061217b565b6108aa565b005b61042a6109c0565b60405161043791906120a9565b60405180910390f35b6104486109ea565b6040516104559190611f3f565b60405180910390f35b610466610a7c565b60405161047391906120a9565b60405180910390f35b610484610aa2565b60405161049191906120a9565b60405180910390f35b6104b460048036038101906104af9190611ffa565b610ac8565b6040516104c19190612055565b60405180910390f35b6104e460048036038101906104df91906121e6565b610b3f565b005b61050060048036038101906104fb9190611ffa565b610c3e565b60405161050d9190612055565b60405180910390f35b61051e610c61565b60405161052b9190612055565b60405180910390f35b61053c610c74565b005b610546610d3a565b604051610553919061207f565b60405180910390f35b6105766004803603810190610571919061217b565b610d40565b005b610592600480360381019061058d919061217b565b610e49565b005b6105ae60048036038101906105a99190612226565b610f52565b6040516105bb919061207f565b60405180910390f35b6105cc610fd9565b005b6105d6611031565b005b6105f260048036038101906105ed919061217b565b6110e3565b005b6105fc611166565b604051610609919061207f565b60405180910390f35b60606003805461062190612295565b80601f016020809104026020016040519081016040528092919081815260200182805461064d90612295565b801561069a5780601f1061066f5761010080835404028352916020019161069a565b820191906000526020600020905b81548152906001019060200180831161067d57829003601f168201915b5050505050905090565b6000806106af61116c565b90506106bc818585611174565b600191505092915050565b6000600254905090565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60065481565b60008061072e61116c565b905061073b85828561133d565b6107468585856113c9565b60019150509392505050565b6000600c905090565b60008061076661116c565b90506107878185856107788589610f52565b61078291906122f5565b611174565b600191505092915050565b6000804290506000600654826107a89190612329565b90506000607882116107be5761232890506107eb565b610e1082116107d1576109c490506107ea565b61384082116107e4576101f490506107e9565b600090505b5b5b80935050505090565b6108056107ff61116c565b826114cd565b50565b600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600e6020528060005260406000206000915054906101000a900460ff1681565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61089e61169a565b6108a86000611718565b565b6108b261169a565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610921576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610918906123cf565b60405180910390fd5b7f50bbfec2d77358bb49d471d9866b729186a20f3b672227458a1266a5fb0635e0600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16826040516109749291906123ef565b60405180910390a180600960016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600480546109f990612295565b80601f0160208091040260200160405190810160405280929190818152602001828054610a2590612295565b8015610a725780601f10610a4757610100808354040283529160200191610a72565b820191906000526020600020905b815481529060010190602001808311610a5557829003601f168201915b5050505050905090565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080610ad361116c565b90506000610ae18286610f52565b905083811015610b26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1d9061248a565b60405180910390fd5b610b338286868403611174565b60019250505092915050565b610b4761169a565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610bb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bad906124f6565b60405180910390fd5b610c3a82828473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610bf491906120a9565b602060405180830381865afa158015610c11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c35919061252b565b6117de565b5050565b600080610c4961116c565b9050610c568185856113c9565b600191505092915050565b600960009054906101000a900460ff1681565b610c7c61169a565b60011515600960009054906101000a900460ff16151514610cd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc9906125a4565b60405180910390fd5b600060065403610ce457426006819055505b6000600960006101000a81548160ff0219169083151502179055507fa78c547613f6306e7a70d1bd161c18a496cae1eeb8d4f9e58b60d69ad72ddf58600654604051610d30919061207f565b60405180910390a1565b60085481565b610d4861169a565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610db7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dae906123cf565b60405180910390fd5b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507fb6566a1dbab171d7e2fd793b5524d74d272f4d7306cf32fa7119daffa537adf281604051610e3e91906120a9565b60405180910390a150565b610e5161169a565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610ec0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb7906123cf565b60405180910390fd5b6001600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507ff4ce97b5f2c437716808a7e5f02bc55af527d6ce050724b3c5b6ad4b65a1b70e81604051610f4791906120a9565b60405180910390a150565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610fe161169a565b610fe96109c0565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505015801561102e573d6000803e3d6000fd5b50565b61103961169a565b60001515600960009054906101000a900460ff1615151461108f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108690612636565b60405180910390fd5b6001600960006101000a81548160ff0219169083151502179055507f47f75dd68b479a7dc904baeb75498ebb157246edcc056bb28bf42d12f1d8e364426040516110d9919061207f565b60405180910390a1565b6110eb61169a565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361115a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611151906126c8565b60405180910390fd5b61116381611718565b50565b60075481565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036111e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111da9061275a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611252576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611249906127ec565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92583604051611330919061207f565b60405180910390a3505050565b60006113498484610f52565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146113c357818110156113b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ac90612858565b60405180910390fd5b6113c28484848403611174565b5b50505050565b600960009054906101000a900460ff1615611428576113e88284611864565b611427576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141e906128c4565b60405180910390fd5b5b60006114348385611864565b61145b57612710611443610792565b8361144e91906128e4565b6114589190612955565b90505b600081836114699190612329565b905061147685858361199a565b60008211156114c657816007600082825461149191906122f5565b925050819055506114c585600960019054906101000a900473ffffffffffffffffffffffffffffffffffffffff168461199a565b5b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361153c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611533906129f8565b60405180910390fd5b61154882600083611c10565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156115ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c590612a8a565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611681919061207f565b60405180910390a361169583600084611c15565b505050565b6116a261116c565b73ffffffffffffffffffffffffffffffffffffffff166116c06109c0565b73ffffffffffffffffffffffffffffffffffffffff1614611716576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170d90612af6565b60405180910390fd5b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61185f8363a9059cbb60e01b84846040516024016117fd929190612b16565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611c1a565b505050565b6000600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806119075750600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b8061194457506119156109c0565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16145b8061198157506119526109c0565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b1561198f5760019050611994565b600090505b92915050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611a09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0090612bb1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611a78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6f90612c43565b60405180910390fd5b611a83838383611c10565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611b09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0090612cd5565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611bf7919061207f565b60405180910390a3611c0a848484611c15565b50505050565b505050565b505050565b6000611c7c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16611ce29092919063ffffffff16565b9050600081511480611c9e575080806020019051810190611c9d9190612d21565b5b611cdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd490612dc0565b60405180910390fd5b505050565b6060611cf18484600085611cfa565b90509392505050565b606082471015611d3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3690612e52565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051611d689190612eb9565b60006040518083038185875af1925050503d8060008114611da5576040519150601f19603f3d011682016040523d82523d6000602084013e611daa565b606091505b5091509150611dbb87838387611dc7565b92505050949350505050565b60608315611e29576000835103611e2157611de185611e3c565b611e20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1790612f1c565b60405180910390fd5b5b829050611e34565b611e338383611e5f565b5b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082511115611e725781518083602001fd5b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea69190611f3f565b60405180910390fd5b600081519050919050565b600082825260208201905092915050565b60005b83811015611ee9578082015181840152602081019050611ece565b60008484015250505050565b6000601f19601f8301169050919050565b6000611f1182611eaf565b611f1b8185611eba565b9350611f2b818560208601611ecb565b611f3481611ef5565b840191505092915050565b60006020820190508181036000830152611f598184611f06565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611f9182611f66565b9050919050565b611fa181611f86565b8114611fac57600080fd5b50565b600081359050611fbe81611f98565b92915050565b6000819050919050565b611fd781611fc4565b8114611fe257600080fd5b50565b600081359050611ff481611fce565b92915050565b6000806040838503121561201157612010611f61565b5b600061201f85828601611faf565b925050602061203085828601611fe5565b9150509250929050565b60008115159050919050565b61204f8161203a565b82525050565b600060208201905061206a6000830184612046565b92915050565b61207981611fc4565b82525050565b60006020820190506120946000830184612070565b92915050565b6120a381611f86565b82525050565b60006020820190506120be600083018461209a565b92915050565b6000806000606084860312156120dd576120dc611f61565b5b60006120eb86828701611faf565b93505060206120fc86828701611faf565b925050604061210d86828701611fe5565b9150509250925092565b600060ff82169050919050565b61212d81612117565b82525050565b60006020820190506121486000830184612124565b92915050565b60006020828403121561216457612163611f61565b5b600061217284828501611fe5565b91505092915050565b60006020828403121561219157612190611f61565b5b600061219f84828501611faf565b91505092915050565b60006121b382611f86565b9050919050565b6121c3816121a8565b81146121ce57600080fd5b50565b6000813590506121e0816121ba565b92915050565b600080604083850312156121fd576121fc611f61565b5b600061220b858286016121d1565b925050602061221c85828601611faf565b9150509250929050565b6000806040838503121561223d5761223c611f61565b5b600061224b85828601611faf565b925050602061225c85828601611faf565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806122ad57607f821691505b6020821081036122c0576122bf612266565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061230082611fc4565b915061230b83611fc4565b9250828201905080821115612323576123226122c6565b5b92915050565b600061233482611fc4565b915061233f83611fc4565b9250828203905081811115612357576123566122c6565b5b92915050565b7f506570654d61783a20416464726573732063616e6e6f74206265207a65726f2060008201527f6164647265737321000000000000000000000000000000000000000000000000602082015250565b60006123b9602883611eba565b91506123c48261235d565b604082019050919050565b600060208201905081810360008301526123e8816123ac565b9050919050565b6000604082019050612404600083018561209a565b612411602083018461209a565b9392505050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000612474602583611eba565b915061247f82612418565b604082019050919050565b600060208201905081810360008301526124a381612467565b9050919050565b7f77616c6c6574416464726573732063616e277420626520302061646472657373600082015250565b60006124e0602083611eba565b91506124eb826124aa565b602082019050919050565b6000602082019050818103600083015261250f816124d3565b9050919050565b60008151905061252581611fce565b92915050565b60006020828403121561254157612540611f61565b5b600061254f84828501612516565b91505092915050565b7f506570654d61783a2053616c6520697320616c72656164792061637469766521600082015250565b600061258e602083611eba565b915061259982612558565b602082019050919050565b600060208201905081810360008301526125bd81612581565b9050919050565b7f506570654d61783a2053616c6520697320616c72656164792073746f7070656460008201527f2100000000000000000000000000000000000000000000000000000000000000602082015250565b6000612620602183611eba565b915061262b826125c4565b604082019050919050565b6000602082019050818103600083015261264f81612613565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006126b2602683611eba565b91506126bd82612656565b604082019050919050565b600060208201905081810360008301526126e1816126a5565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000612744602483611eba565b915061274f826126e8565b604082019050919050565b6000602082019050818103600083015261277381612737565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b60006127d6602283611eba565b91506127e18261277a565b604082019050919050565b60006020820190508181036000830152612805816127c9565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000612842601d83611eba565b915061284d8261280c565b602082019050919050565b6000602082019050818103600083015261287181612835565b9050919050565b7f506570654d61783a20436f6e7472616374206973205061757365642100000000600082015250565b60006128ae601c83611eba565b91506128b982612878565b602082019050919050565b600060208201905081810360008301526128dd816128a1565b9050919050565b60006128ef82611fc4565b91506128fa83611fc4565b925082820261290881611fc4565b9150828204841483151761291f5761291e6122c6565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061296082611fc4565b915061296b83611fc4565b92508261297b5761297a612926565b5b828204905092915050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006129e2602183611eba565b91506129ed82612986565b604082019050919050565b60006020820190508181036000830152612a11816129d5565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b6000612a74602283611eba565b9150612a7f82612a18565b604082019050919050565b60006020820190508181036000830152612aa381612a67565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612ae0602083611eba565b9150612aeb82612aaa565b602082019050919050565b60006020820190508181036000830152612b0f81612ad3565b9050919050565b6000604082019050612b2b600083018561209a565b612b386020830184612070565b9392505050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000612b9b602583611eba565b9150612ba682612b3f565b604082019050919050565b60006020820190508181036000830152612bca81612b8e565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000612c2d602383611eba565b9150612c3882612bd1565b604082019050919050565b60006020820190508181036000830152612c5c81612c20565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000612cbf602683611eba565b9150612cca82612c63565b604082019050919050565b60006020820190508181036000830152612cee81612cb2565b9050919050565b612cfe8161203a565b8114612d0957600080fd5b50565b600081519050612d1b81612cf5565b92915050565b600060208284031215612d3757612d36611f61565b5b6000612d4584828501612d0c565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000612daa602a83611eba565b9150612db582612d4e565b604082019050919050565b60006020820190508181036000830152612dd981612d9d565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000612e3c602683611eba565b9150612e4782612de0565b604082019050919050565b60006020820190508181036000830152612e6b81612e2f565b9050919050565b600081519050919050565b600081905092915050565b6000612e9382612e72565b612e9d8185612e7d565b9350612ead818560208601611ecb565b80840191505092915050565b6000612ec58284612e88565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000612f06601d83611eba565b9150612f1182612ed0565b602082019050919050565b60006020820190508181036000830152612f3581612ef9565b905091905056fea2646970667358221220c03553c9581ee7916fccfd0e92df02abcd1b79313d5503c9eef798d3f48047e864736f6c63430008130033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.