ETH Price: $2,090.41 (-2.83%)

Contract

0x65DCA283eF2bc683f3E42DaF1bcCCE44967A5Cd1
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Buy With USDT194354962024-03-14 20:06:59721 days ago1710446819IN
0x65DCA283...4967A5Cd1
0 ETH0.0136117469.14427354
Buy With USDT194197672024-03-12 15:02:47723 days ago1710255767IN
0x65DCA283...4967A5Cd1
0 ETH0.0193974990.55615515
Buy With Eth193528772024-03-03 6:32:47732 days ago1709447567IN
0x65DCA283...4967A5Cd1
0.03098105 ETH0.0088760444.97044645
Buy With USDT193431892024-03-01 22:03:23733 days ago1709330603IN
0x65DCA283...4967A5Cd1
0 ETH0.0145962363.16745541
Transfer Ownersh...193424632024-03-01 19:37:47734 days ago1709321867IN
0x65DCA283...4967A5Cd1
0 ETH0.0016677957.49431068
Buy With Eth192616832024-02-19 12:08:59745 days ago1708344539IN
0x65DCA283...4967A5Cd1
0.19975446 ETH0.0051832526.26092753
Buy With USDT192526612024-02-18 5:37:23746 days ago1708234643IN
0x65DCA283...4967A5Cd1
0 ETH0.0031357114.65478723
Buy With USDT192436872024-02-16 23:20:35747 days ago1708125635IN
0x65DCA283...4967A5Cd1
0 ETH0.0035879116.74999851
Buy With Eth192360502024-02-15 21:36:11748 days ago1708032971IN
0x65DCA283...4967A5Cd1
0.0469983 ETH0.0061270933.98975171
Withdraw Tokens192182642024-02-13 9:40:59751 days ago1707817259IN
0x65DCA283...4967A5Cd1
0 ETH0.0018440421.33098251
Withdraw Tokens192182492024-02-13 9:37:59751 days ago1707817079IN
0x65DCA283...4967A5Cd1
0 ETH0.0017629720.39329418
Buy With Eth191980302024-02-10 13:33:35754 days ago1707572015IN
0x65DCA283...4967A5Cd1
0.05212998 ETH0.0054849530.42548287
Buy With Eth191731912024-02-07 1:56:11757 days ago1707270971IN
0x65DCA283...4967A5Cd1
0.01005757 ETH0.0050114927.76528728
Buy With Eth191502302024-02-03 20:33:11761 days ago1706992391IN
0x65DCA283...4967A5Cd1
0.11534328 ETH0.0029456614.92418128
Buy With Eth191277652024-01-31 16:51:59764 days ago1706719919IN
0x65DCA283...4967A5Cd1
0.07818621 ETH0.0062104834.4500756
Buy With USDT191246792024-01-31 6:27:23764 days ago1706682443IN
0x65DCA283...4967A5Cd1
0 ETH0.0046468515.89179082
Buy With USDT191246782024-01-31 6:27:11764 days ago1706682431IN
0x65DCA283...4967A5Cd1
0 ETH0.0031160115.82759656
Withdraw Tokens191152932024-01-29 22:55:11765 days ago1706568911IN
0x65DCA283...4967A5Cd1
0 ETH0.0013458112.99835713
Buy With Eth191149222024-01-29 21:40:35765 days ago1706564435IN
0x65DCA283...4967A5Cd1
0.30441739 ETH0.0032015917.7595022
Buy With Eth191062182024-01-28 16:27:35767 days ago1706459255IN
0x65DCA283...4967A5Cd1
0.01613713 ETH0.0021603611.96834048
Buy With USDT191047802024-01-28 11:36:35767 days ago1706441795IN
0x65DCA283...4967A5Cd1
0 ETH0.0028749613.42162663
Buy With Eth191038262024-01-28 8:24:23767 days ago1706430263IN
0x65DCA283...4967A5Cd1
0.02575198 ETH0.0024510613.57880111
Buy With Eth190990562024-01-27 16:17:35768 days ago1706372255IN
0x65DCA283...4967A5Cd1
0.02052456 ETH0.0027299215.12364699
Buy With USDT190958762024-01-27 5:36:47768 days ago1706333807IN
0x65DCA283...4967A5Cd1
0 ETH0.0022192711.27268649
Buy With Eth190918852024-01-26 16:10:59769 days ago1706285459IN
0x65DCA283...4967A5Cd1
0.20940225 ETH0.0039047819.78357085
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
Transfer193528772024-03-03 6:32:47732 days ago1709447567
0x65DCA283...4967A5Cd1
0.00983934 ETH
Transfer193528772024-03-03 6:32:47732 days ago1709447567
0x65DCA283...4967A5Cd1
0.02114171 ETH
Transfer192616832024-02-19 12:08:59745 days ago1708344539
0x65DCA283...4967A5Cd1
0.00432448 ETH
Transfer192616832024-02-19 12:08:59745 days ago1708344539
0x65DCA283...4967A5Cd1
0.19542998 ETH
Transfer192360502024-02-15 21:36:11748 days ago1708032971
0x65DCA283...4967A5Cd1
0.00973887 ETH
Transfer192360502024-02-15 21:36:11748 days ago1708032971
0x65DCA283...4967A5Cd1
0.03725942 ETH
Transfer191980302024-02-10 13:33:35754 days ago1707572015
0x65DCA283...4967A5Cd1
0.00970247 ETH
Transfer191980302024-02-10 13:33:35754 days ago1707572015
0x65DCA283...4967A5Cd1
0.04242751 ETH
Transfer191731912024-02-07 1:56:11757 days ago1707270971
0x65DCA283...4967A5Cd1
0.00995249 ETH
Transfer191731912024-02-07 1:56:11757 days ago1707270971
0x65DCA283...4967A5Cd1
0.00010507 ETH
Transfer191502302024-02-03 20:33:11761 days ago1706992391
0x65DCA283...4967A5Cd1
0.00869976 ETH
Transfer191502302024-02-03 20:33:11761 days ago1706992391
0x65DCA283...4967A5Cd1
0.10664351 ETH
Transfer191277652024-01-31 16:51:59764 days ago1706719919
0x65DCA283...4967A5Cd1
0.00950233 ETH
Transfer191277652024-01-31 16:51:59764 days ago1706719919
0x65DCA283...4967A5Cd1
0.06868388 ETH
Transfer191149222024-01-29 21:40:35765 days ago1706564435
0x65DCA283...4967A5Cd1
0.00167788 ETH
Transfer191149222024-01-29 21:40:35765 days ago1706564435
0x65DCA283...4967A5Cd1
0.30273951 ETH
Transfer191062182024-01-28 16:27:35767 days ago1706459255
0x65DCA283...4967A5Cd1
0.00994893 ETH
Transfer191062182024-01-28 16:27:35767 days ago1706459255
0x65DCA283...4967A5Cd1
0.00618819 ETH
Transfer191038262024-01-28 8:24:23767 days ago1706430263
0x65DCA283...4967A5Cd1
0.00992923 ETH
Transfer191038262024-01-28 8:24:23767 days ago1706430263
0x65DCA283...4967A5Cd1
0.01582274 ETH
Transfer190990562024-01-27 16:17:35768 days ago1706372255
0x65DCA283...4967A5Cd1
0.00994213 ETH
Transfer190990562024-01-27 16:17:35768 days ago1706372255
0x65DCA283...4967A5Cd1
0.01058242 ETH
Transfer190918852024-01-26 16:10:59769 days ago1706285459
0x65DCA283...4967A5Cd1
0.00610677 ETH
Transfer190918852024-01-26 16:10:59769 days ago1706285459
0x65DCA283...4967A5Cd1
0.20329547 ETH
Transfer190915032024-01-26 14:53:59769 days ago1706280839
0x65DCA283...4967A5Cd1
0.00926795 ETH
View All Internal Transactions
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
LateSale_Deelance

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";

interface Aggregator {
    function latestRoundData() external view returns (
        uint80 roundId,
        int256 answer,
        uint256 startedAt,
        uint256 updatedAt,
        uint80 answeredInRound
    );
}

interface IRouter {
  function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);

  function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);

  function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);

  function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}

contract LateSale_Deelance is Ownable(msg.sender), ReentrancyGuard, Pausable {
    uint256 public totalTokensSold;
    uint256 public baseDecimals;
    uint256 public maxTokensToBuy;
    uint256 public usdRaised;
    address public paymentWallet;
    uint256 public percent = 5;
    Aggregator public aggregatorInterface;
    IERC20 public saleToken;
    IERC20 public USDTInterface;
    uint256 public maxTokensToSell;
    IRouter public router;
    uint256 public bonusThreshold = 50 * 10**18; // Initially set to $50
    uint256 public bonusTokenAmount = 5000 * 10**18; // Initially set to 5000 tokens



        address dataOracle = 0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419; 
        address dAddress = 0x077C72ECEc1c4EC5D0A2f0CfF278007F4Db3BED7;
        address routerAddress = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D; 
        address USDTtoken = 0xdAC17F958D2ee523a2206206994597C13D831ec7;


    event TokensBought(
        address indexed user,
        uint256 indexed tokensBought,
        address indexed purchaseToken,
        uint256 amountPaid,
        uint256 usdEq,
        uint256 timestamp
    );
    event MaxTokensUpdated(
        uint256 prevValue,
        uint256 newValue,
        uint256 timestamp
    );

    constructor()  {
        USDTInterface = IERC20(USDTtoken);
        paymentWallet = dAddress;
        baseDecimals = 1000000000000000000;
        router = IRouter(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
    }

    /**
     * @dev To pause the presale
     */
    function pause() external onlyOwner {
        _pause();
    }

    /**
     * @dev To unpause the presale
     */
    function unpause() external onlyOwner {
        _unpause();
    }

    /**
     * @dev To get latest ETH price in 10**18 format
     */
    function getLatestPrice() public view returns (uint256) {
       (, int256 price, , , ) = Aggregator(dataOracle).latestRoundData();
        price = (price * (10**10));
       return uint256(price);
    }


      function setRouter(address _router) external onlyOwner {
    router = IRouter(_router);
     }


    modifier checkSaleState(uint256 amount) {
        require(amount > 0, "Invalid sale amount");
        require(amount <= maxTokensToBuy, "Amount exceeds max tokens to buy");
        require(
            (amount * baseDecimals) <= saleToken.balanceOf(address(this)),
            "Amount exceeds tokens remaining for sale"
        );
        _;
    }


  function sendValue(address payable recipient, uint256 amount) internal {
    require(address(this).balance >= amount, 'Low balance');
    (bool success, ) = recipient.call{value: amount}('');
    require(success, 'ETH Payment failed');
  }


function buyWithEth(uint256 amount) external payable checkSaleState(amount) whenNotPaused nonReentrant returns (bool) {
    uint256 ethAmount = fetchPrice(amount * baseDecimals);
    require(msg.value >= ethAmount, 'Less payment');
    uint256 excess = msg.value - ethAmount;
    sendValue(payable(paymentWallet), ethAmount);
    if (excess > 0) sendValue(payable(_msgSender()), excess);
    bool success = IERC20(saleToken).transfer(_msgSender(), (amount * baseDecimals));
    require(success, 'Token transfer failed');
    
    uint256 usdValue = (ethAmount * getLatestPrice()) / baseDecimals;
    if (usdValue >= bonusThreshold) {
        require(saleToken.transfer(_msgSender(), bonusTokenAmount), "Bonus token transfer failed");
    }

    emit TokensBought(_msgSender(), amount, address(0), ethAmount, usdValue, block.timestamp);
    return true;
}

function buyWithUSDT(uint256 amount) external checkSaleState(amount) whenNotPaused returns (bool) {
    uint256 ethAmount = fetchPrice(amount * baseDecimals);
    uint256 usdPrice = (ethAmount * getLatestPrice()) / baseDecimals;
    uint256 usdAmount = usdPrice / (10 ** 12); // Convert to USDT decimals if necessary
    (bool success, ) = address(USDTInterface).call(abi.encodeWithSignature('transferFrom(address,address,uint256)', _msgSender(), paymentWallet, usdAmount));
    require(success, 'Token payment failed');
    bool tokenTransferSuccess = IERC20(saleToken).transfer(_msgSender(), (amount * baseDecimals));
    require(tokenTransferSuccess, 'Token transfer failed');

    if (usdPrice >= bonusThreshold) {
        require(saleToken.transfer(_msgSender(), bonusTokenAmount), "Bonus token transfer failed");
    }

    emit TokensBought(_msgSender(), amount, address(USDTInterface), usdAmount, usdPrice, block.timestamp);
    return true;
}

    function fetchPrice(uint256 amountOut) public view returns (uint256) {
    address[] memory path = new address[](2);
    path[0] = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2;
    path[1] = 0x7D60dE2E7D92Cb5C863bC82f8d59b37C59fC0A7A;
    uint256[] memory amounts = router.getAmountsIn(amountOut, path);
    return amounts[0] + ((amounts[0] * percent) / 100);
  }

    function setMaxTokensToBuy(uint256 _maxTokensToBuy) external onlyOwner {
        require(_maxTokensToBuy > 0, "Zero max tokens to buy value");
        uint256 prevValue = maxTokensToBuy;
        maxTokensToBuy = _maxTokensToBuy;
        emit MaxTokensUpdated(prevValue, _maxTokensToBuy, block.timestamp);
    }

    function setPaymentWallet(address _newPaymentWallet) external onlyOwner {
        require(_newPaymentWallet != address(0), "address cannot be zero");
        paymentWallet = _newPaymentWallet;
    }


    function setDecimals(uint256  _decimals) external onlyOwner {
    baseDecimals = _decimals;
    }

    function setSaleTokenAddress(address _saleTokenAddress) external onlyOwner {
        require(_saleTokenAddress != address(0), "Invalid address");
        saleToken = IERC20(_saleTokenAddress);
    }

   function withdrawTokens(address token, uint256 amount) external onlyOwner   {
        IERC20(token).transfer(owner(), amount);
    }

    function withdrawETHs() external onlyOwner  {
        (bool success, ) = payable(owner()).call{value: address(this).balance}("");
        require(success, "Failed to withdraw");
    } 

    function setBonusThreshold(uint256 _newBonusThreshold) external onlyOwner {
        require(_newBonusThreshold > 0, "Bonus threshold must be greater than 0");
        bonusThreshold = _newBonusThreshold;
    }

    function setBonusTokenAmount(uint256 _newBonusTokenAmount) external onlyOwner {
        require(_newBonusTokenAmount > 0, "Bonus token amount must be greater than 0");
        bonusTokenAmount = _newBonusTokenAmount;
    }

}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        _requireNotPaused();
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        _requirePaused();
        _;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity 0.8.19;

import {Context} from "../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.
 *
 * The initial owner is set to the address provided by the deployer. 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;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @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 {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @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 {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _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);
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == _ENTERED;
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)

pragma solidity 0.8.19;

/**
 * @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 value of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

    /**
     * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the
     * allowance mechanism. `value` 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 value) external returns (bool);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Context.sol)

pragma solidity 0.8.19;

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

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

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

Contract Security Audit

Contract ABI

API
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"prevValue","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newValue","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"MaxTokensUpdated","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":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokensBought","type":"uint256"},{"indexed":true,"internalType":"address","name":"purchaseToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountPaid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"usdEq","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"TokensBought","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"USDTInterface","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"aggregatorInterface","outputs":[{"internalType":"contract Aggregator","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseDecimals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bonusThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bonusTokenAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"buyWithEth","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"buyWithUSDT","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"}],"name":"fetchPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLatestPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokensToBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokensToSell","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paymentWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"percent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"saleToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newBonusThreshold","type":"uint256"}],"name":"setBonusThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newBonusTokenAmount","type":"uint256"}],"name":"setBonusTokenAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_decimals","type":"uint256"}],"name":"setDecimals","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxTokensToBuy","type":"uint256"}],"name":"setMaxTokensToBuy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newPaymentWallet","type":"address"}],"name":"setPaymentWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_router","type":"address"}],"name":"setRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_saleTokenAddress","type":"address"}],"name":"setSaleTokenAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalTokensSold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"usdRaised","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawETHs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405260056008556802b5e3af16b1880000600e5569010f0cf064dd59200000600f55735f4ec3df9cbd43714fe2740f5e3616155c5b8419601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073077c72ecec1c4ec5d0a2f0cff278007f4db3bed7601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550737a250d5630b4cf539739df2c5dacb4c659f2488d601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073dac17f958d2ee523a2206206994597c13d831ec7601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200018557600080fd5b5033600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603620001fc5760006040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401620001f3919062000469565b60405180910390fd5b6200020d816200036060201b60201c565b50600180819055506000600260006101000a81548160ff021916908315150217905550601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550670de0b6b3a7640000600481905550737a250d5630b4cf539739df2c5dacb4c659f2488d600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555062000486565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620004518262000424565b9050919050565b620004638162000444565b82525050565b600060208201905062000480600083018462000458565b92915050565b61314a80620004966000396000f3fe6080604052600436106101e35760003560e01c80639cfa0f7c11610102578063d623786d11610095578063f2fde38b11610064578063f2fde38b14610667578063f597573f14610690578063f887ea40146106bb578063fd6cb613146106e6576101e3565b8063d623786d146105bd578063e32204dd146105e6578063e985e36714610611578063eadd94ec1461063c576101e3565b8063b5f6b1f6116100d1578063b5f6b1f614610515578063bc4eaa3e1461053e578063c0d7865514610569578063c49cc64514610592576101e3565b80639cfa0f7c1461046d578063a7c6016014610498578063aa9c641b146104d5578063b32c7dc1146104fe576101e3565b8063715018a61161017a5780638456cb59116101495780638456cb59146103d75780638c8885c8146103ee5780638da5cb5b146104175780638e15f47314610442576101e3565b8063715018a61461033c57806373294d4b146103535780637649b9571461037e57806381311451146103ae576101e3565b80635a03d679116101b65780635a03d679146102905780635c975abb146102bb57806363b20117146102e657806370ba111314610311576101e3565b806306b091f9146101e85780631559f7821461021157806333f761781461024e5780633f4ba83a14610279575b600080fd5b3480156101f457600080fd5b5061020f600480360381019061020a9190611f8b565b61070f565b005b34801561021d57600080fd5b5061023860048036038101906102339190611fcb565b6107a1565b6040516102459190612007565b60405180910390f35b34801561025a57600080fd5b506102636109c1565b6040516102709190612007565b60405180910390f35b34801561028557600080fd5b5061028e6109c7565b005b34801561029c57600080fd5b506102a56109d9565b6040516102b29190612007565b60405180910390f35b3480156102c757600080fd5b506102d06109df565b6040516102dd919061203d565b60405180910390f35b3480156102f257600080fd5b506102fb6109f6565b6040516103089190612007565b60405180910390f35b34801561031d57600080fd5b506103266109fc565b6040516103339190612007565b60405180910390f35b34801561034857600080fd5b50610351610a02565b005b34801561035f57600080fd5b50610368610a16565b6040516103759190612007565b60405180910390f35b61039860048036038101906103939190611fcb565b610a1c565b6040516103a5919061203d565b60405180910390f35b3480156103ba57600080fd5b506103d560048036038101906103d09190611fcb565b610eec565b005b3480156103e357600080fd5b506103ec610f41565b005b3480156103fa57600080fd5b5061041560048036038101906104109190611fcb565b610f53565b005b34801561042357600080fd5b5061042c610f65565b6040516104399190612067565b60405180910390f35b34801561044e57600080fd5b50610457610f8e565b6040516104649190612007565b60405180910390f35b34801561047957600080fd5b50610482611042565b60405161048f9190612007565b60405180910390f35b3480156104a457600080fd5b506104bf60048036038101906104ba9190611fcb565b611048565b6040516104cc919061203d565b60405180910390f35b3480156104e157600080fd5b506104fc60048036038101906104f79190611fcb565b61162e565b005b34801561050a57600080fd5b506105136116c6565b005b34801561052157600080fd5b5061053c60048036038101906105379190611fcb565b611784565b005b34801561054a57600080fd5b506105536117d9565b6040516105609190612007565b60405180910390f35b34801561057557600080fd5b50610590600480360381019061058b9190612082565b6117df565b005b34801561059e57600080fd5b506105a761182b565b6040516105b4919061210e565b60405180910390f35b3480156105c957600080fd5b506105e460048036038101906105df9190612082565b611851565b005b3480156105f257600080fd5b506105fb61190c565b6040516106089190612067565b60405180910390f35b34801561061d57600080fd5b50610626611932565b604051610633919061214a565b60405180910390f35b34801561064857600080fd5b50610651611958565b60405161065e9190612007565b60405180910390f35b34801561067357600080fd5b5061068e60048036038101906106899190612082565b61195e565b005b34801561069c57600080fd5b506106a56119e4565b6040516106b2919061214a565b60405180910390f35b3480156106c757600080fd5b506106d0611a0a565b6040516106dd9190612186565b60405180910390f35b3480156106f257600080fd5b5061070d60048036038101906107089190612082565b611a30565b005b610717611aeb565b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb61073b610f65565b836040518363ffffffff1660e01b81526004016107599291906121a1565b6020604051808303816000875af1158015610778573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061079c91906121f6565b505050565b600080600267ffffffffffffffff8111156107bf576107be612223565b5b6040519080825280602002602001820160405280156107ed5781602001602082028036833780820191505090505b50905073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc28160008151811061081957610818612252565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050737d60de2e7d92cb5c863bc82f8d59b37c59fc0a7a8160018151811061087c5761087b612252565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631f00ca7485846040518363ffffffff1660e01b815260040161091592919061233f565b600060405180830381865afa158015610932573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061095b91906124ae565b905060646008548260008151811061097657610975612252565b5b60200260200101516109889190612526565b6109929190612597565b816000815181106109a6576109a5612252565b5b60200260200101516109b891906125c8565b92505050919050565b60045481565b6109cf611aeb565b6109d7611b72565b565b600c5481565b6000600260009054906101000a900460ff16905090565b60035481565b60085481565b610a0a611aeb565b610a146000611bd5565b565b600f5481565b60008160008111610a62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5990612659565b60405180910390fd5b600554811115610aa7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9e906126c5565b60405180910390fd5b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610b029190612067565b602060405180830381865afa158015610b1f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b4391906126e5565b60045482610b519190612526565b1115610b92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8990612784565b60405180910390fd5b610b9a611c99565b610ba2611ce3565b6000610bba60045485610bb59190612526565b6107a1565b905080341015610bff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf6906127f0565b60405180910390fd5b60008134610c0d9190612810565b9050610c3b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683611d32565b6000811115610c5657610c55610c4f611e26565b82611d32565b5b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb610c9e611e26565b60045489610cac9190612526565b6040518363ffffffff1660e01b8152600401610cc99291906121a1565b6020604051808303816000875af1158015610ce8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d0c91906121f6565b905080610d4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4590612890565b60405180910390fd5b6000600454610d5b610f8e565b85610d669190612526565b610d709190612597565b9050600e548110610e6457600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb610dc1611e26565b600f546040518363ffffffff1660e01b8152600401610de19291906121a1565b6020604051808303816000875af1158015610e00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2491906121f6565b610e63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5a906128fc565b60405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff1687610e85611e26565b73ffffffffffffffffffffffffffffffffffffffff167f4d8aead3491b7eba4b5c7a65fc17e493b9e63f9e433522fc5f6a85a168fc9d36878542604051610ece9392919061291c565b60405180910390a46001955050505050610ee6611e2e565b50919050565b610ef4611aeb565b60008111610f37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2e906129c5565b60405180910390fd5b80600f8190555050565b610f49611aeb565b610f51611e37565b565b610f5b611aeb565b8060048190555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663feaf968c6040518163ffffffff1660e01b815260040160a060405180830381865afa158015610ffe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110229190612a5d565b5050509150506402540be400816110399190612ad8565b90508091505090565b60055481565b6000816000811161108e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108590612659565b60405180910390fd5b6005548111156110d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ca906126c5565b60405180910390fd5b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161112e9190612067565b602060405180830381865afa15801561114b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061116f91906126e5565b6004548261117d9190612526565b11156111be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b590612784565b60405180910390fd5b6111c6611c99565b60006111de600454856111d99190612526565b6107a1565b905060006004546111ed610f8e565b836111f89190612526565b6112029190612597565b9050600064e8d4a51000826112179190612597565b90506000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661125c611e26565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168460405160240161129293929190612b50565b6040516020818303038152906040527f23b872dd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505060405161131c9190612bf8565b6000604051808303816000865af19150503d8060008114611359576040519150601f19603f3d011682016040523d82523d6000602084013e61135e565b606091505b50509050806113a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139990612c5b565b60405180910390fd5b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6113ea611e26565b6004548b6113f89190612526565b6040518363ffffffff1660e01b81526004016114159291906121a1565b6020604051808303816000875af1158015611434573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061145891906121f6565b90508061149a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149190612890565b60405180910390fd5b600e54841061158c57600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6114e9611e26565b600f546040518363ffffffff1660e01b81526004016115099291906121a1565b6020604051808303816000875af1158015611528573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061154c91906121f6565b61158b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611582906128fc565b60405180910390fd5b5b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16886115ce611e26565b73ffffffffffffffffffffffffffffffffffffffff167f4d8aead3491b7eba4b5c7a65fc17e493b9e63f9e433522fc5f6a85a168fc9d368688426040516116179392919061291c565b60405180910390a460019650505050505050919050565b611636611aeb565b60008111611679576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167090612cc7565b60405180910390fd5b60006005549050816005819055507f76f9e5e1f6af6a9f180708b77a5c99210fbf19b91f1f194f3918c262b8edf77c8183426040516116ba9392919061291c565b60405180910390a15050565b6116ce611aeb565b60006116d8610f65565b73ffffffffffffffffffffffffffffffffffffffff16476040516116fb90612d0d565b60006040518083038185875af1925050503d8060008114611738576040519150601f19603f3d011682016040523d82523d6000602084013e61173d565b606091505b5050905080611781576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177890612d6e565b60405180910390fd5b50565b61178c611aeb565b600081116117cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c690612e00565b60405180910390fd5b80600e8190555050565b600e5481565b6117e7611aeb565b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611859611aeb565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036118c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118bf90612e6c565b60405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60065481565b611966611aeb565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036119d85760006040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016119cf9190612067565b60405180910390fd5b6119e181611bd5565b50565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611a38611aeb565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611aa7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9e90612ed8565b60405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611af3611e26565b73ffffffffffffffffffffffffffffffffffffffff16611b11610f65565b73ffffffffffffffffffffffffffffffffffffffff1614611b7057611b34611e26565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401611b679190612067565b60405180910390fd5b565b611b7a611e9a565b6000600260006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611bbe611e26565b604051611bcb9190612067565b60405180910390a1565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611ca16109df565b15611ce1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd890612f44565b60405180910390fd5b565b600260015403611d28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1f90612fb0565b60405180910390fd5b6002600181905550565b80471015611d75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6c9061301c565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051611d9b90612d0d565b60006040518083038185875af1925050503d8060008114611dd8576040519150601f19603f3d011682016040523d82523d6000602084013e611ddd565b606091505b5050905080611e21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1890613088565b60405180910390fd5b505050565b600033905090565b60018081905550565b611e3f611c99565b6001600260006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611e83611e26565b604051611e909190612067565b60405180910390a1565b611ea26109df565b611ee1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed8906130f4565b60405180910390fd5b565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611f2282611ef7565b9050919050565b611f3281611f17565b8114611f3d57600080fd5b50565b600081359050611f4f81611f29565b92915050565b6000819050919050565b611f6881611f55565b8114611f7357600080fd5b50565b600081359050611f8581611f5f565b92915050565b60008060408385031215611fa257611fa1611eed565b5b6000611fb085828601611f40565b9250506020611fc185828601611f76565b9150509250929050565b600060208284031215611fe157611fe0611eed565b5b6000611fef84828501611f76565b91505092915050565b61200181611f55565b82525050565b600060208201905061201c6000830184611ff8565b92915050565b60008115159050919050565b61203781612022565b82525050565b6000602082019050612052600083018461202e565b92915050565b61206181611f17565b82525050565b600060208201905061207c6000830184612058565b92915050565b60006020828403121561209857612097611eed565b5b60006120a684828501611f40565b91505092915050565b6000819050919050565b60006120d46120cf6120ca84611ef7565b6120af565b611ef7565b9050919050565b60006120e6826120b9565b9050919050565b60006120f8826120db565b9050919050565b612108816120ed565b82525050565b600060208201905061212360008301846120ff565b92915050565b6000612134826120db565b9050919050565b61214481612129565b82525050565b600060208201905061215f600083018461213b565b92915050565b6000612170826120db565b9050919050565b61218081612165565b82525050565b600060208201905061219b6000830184612177565b92915050565b60006040820190506121b66000830185612058565b6121c36020830184611ff8565b9392505050565b6121d381612022565b81146121de57600080fd5b50565b6000815190506121f0816121ca565b92915050565b60006020828403121561220c5761220b611eed565b5b600061221a848285016121e1565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6122b681611f17565b82525050565b60006122c883836122ad565b60208301905092915050565b6000602082019050919050565b60006122ec82612281565b6122f6818561228c565b93506123018361229d565b8060005b8381101561233257815161231988826122bc565b9750612324836122d4565b925050600181019050612305565b5085935050505092915050565b60006040820190506123546000830185611ff8565b818103602083015261236681846122e1565b90509392505050565b600080fd5b6000601f19601f8301169050919050565b61238e82612374565b810181811067ffffffffffffffff821117156123ad576123ac612223565b5b80604052505050565b60006123c0611ee3565b90506123cc8282612385565b919050565b600067ffffffffffffffff8211156123ec576123eb612223565b5b602082029050602081019050919050565b600080fd5b60008151905061241181611f5f565b92915050565b600061242a612425846123d1565b6123b6565b9050808382526020820190506020840283018581111561244d5761244c6123fd565b5b835b8181101561247657806124628882612402565b84526020840193505060208101905061244f565b5050509392505050565b600082601f8301126124955761249461236f565b5b81516124a5848260208601612417565b91505092915050565b6000602082840312156124c4576124c3611eed565b5b600082015167ffffffffffffffff8111156124e2576124e1611ef2565b5b6124ee84828501612480565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061253182611f55565b915061253c83611f55565b925082820261254a81611f55565b91508282048414831517612561576125606124f7565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006125a282611f55565b91506125ad83611f55565b9250826125bd576125bc612568565b5b828204905092915050565b60006125d382611f55565b91506125de83611f55565b92508282019050808211156125f6576125f56124f7565b5b92915050565b600082825260208201905092915050565b7f496e76616c69642073616c6520616d6f756e7400000000000000000000000000600082015250565b60006126436013836125fc565b915061264e8261260d565b602082019050919050565b6000602082019050818103600083015261267281612636565b9050919050565b7f416d6f756e742065786365656473206d617820746f6b656e7320746f20627579600082015250565b60006126af6020836125fc565b91506126ba82612679565b602082019050919050565b600060208201905081810360008301526126de816126a2565b9050919050565b6000602082840312156126fb576126fa611eed565b5b600061270984828501612402565b91505092915050565b7f416d6f756e74206578636565647320746f6b656e732072656d61696e696e672060008201527f666f722073616c65000000000000000000000000000000000000000000000000602082015250565b600061276e6028836125fc565b915061277982612712565b604082019050919050565b6000602082019050818103600083015261279d81612761565b9050919050565b7f4c657373207061796d656e740000000000000000000000000000000000000000600082015250565b60006127da600c836125fc565b91506127e5826127a4565b602082019050919050565b60006020820190508181036000830152612809816127cd565b9050919050565b600061281b82611f55565b915061282683611f55565b925082820390508181111561283e5761283d6124f7565b5b92915050565b7f546f6b656e207472616e73666572206661696c65640000000000000000000000600082015250565b600061287a6015836125fc565b915061288582612844565b602082019050919050565b600060208201905081810360008301526128a98161286d565b9050919050565b7f426f6e757320746f6b656e207472616e73666572206661696c65640000000000600082015250565b60006128e6601b836125fc565b91506128f1826128b0565b602082019050919050565b60006020820190508181036000830152612915816128d9565b9050919050565b60006060820190506129316000830186611ff8565b61293e6020830185611ff8565b61294b6040830184611ff8565b949350505050565b7f426f6e757320746f6b656e20616d6f756e74206d75737420626520677265617460008201527f6572207468616e20300000000000000000000000000000000000000000000000602082015250565b60006129af6029836125fc565b91506129ba82612953565b604082019050919050565b600060208201905081810360008301526129de816129a2565b9050919050565b600069ffffffffffffffffffff82169050919050565b612a04816129e5565b8114612a0f57600080fd5b50565b600081519050612a21816129fb565b92915050565b6000819050919050565b612a3a81612a27565b8114612a4557600080fd5b50565b600081519050612a5781612a31565b92915050565b600080600080600060a08688031215612a7957612a78611eed565b5b6000612a8788828901612a12565b9550506020612a9888828901612a48565b9450506040612aa988828901612402565b9350506060612aba88828901612402565b9250506080612acb88828901612a12565b9150509295509295909350565b6000612ae382612a27565b9150612aee83612a27565b9250828202612afc81612a27565b91507f80000000000000000000000000000000000000000000000000000000000000008414600084121615612b3457612b336124f7565b5b8282058414831517612b4957612b486124f7565b5b5092915050565b6000606082019050612b656000830186612058565b612b726020830185612058565b612b7f6040830184611ff8565b949350505050565b600081519050919050565b600081905092915050565b60005b83811015612bbb578082015181840152602081019050612ba0565b60008484015250505050565b6000612bd282612b87565b612bdc8185612b92565b9350612bec818560208601612b9d565b80840191505092915050565b6000612c048284612bc7565b915081905092915050565b7f546f6b656e207061796d656e74206661696c6564000000000000000000000000600082015250565b6000612c456014836125fc565b9150612c5082612c0f565b602082019050919050565b60006020820190508181036000830152612c7481612c38565b9050919050565b7f5a65726f206d617820746f6b656e7320746f206275792076616c756500000000600082015250565b6000612cb1601c836125fc565b9150612cbc82612c7b565b602082019050919050565b60006020820190508181036000830152612ce081612ca4565b9050919050565b50565b6000612cf7600083612b92565b9150612d0282612ce7565b600082019050919050565b6000612d1882612cea565b9150819050919050565b7f4661696c656420746f2077697468647261770000000000000000000000000000600082015250565b6000612d586012836125fc565b9150612d6382612d22565b602082019050919050565b60006020820190508181036000830152612d8781612d4b565b9050919050565b7f426f6e7573207468726573686f6c64206d75737420626520677265617465722060008201527f7468616e20300000000000000000000000000000000000000000000000000000602082015250565b6000612dea6026836125fc565b9150612df582612d8e565b604082019050919050565b60006020820190508181036000830152612e1981612ddd565b9050919050565b7f496e76616c696420616464726573730000000000000000000000000000000000600082015250565b6000612e56600f836125fc565b9150612e6182612e20565b602082019050919050565b60006020820190508181036000830152612e8581612e49565b9050919050565b7f616464726573732063616e6e6f74206265207a65726f00000000000000000000600082015250565b6000612ec26016836125fc565b9150612ecd82612e8c565b602082019050919050565b60006020820190508181036000830152612ef181612eb5565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000612f2e6010836125fc565b9150612f3982612ef8565b602082019050919050565b60006020820190508181036000830152612f5d81612f21565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000612f9a601f836125fc565b9150612fa582612f64565b602082019050919050565b60006020820190508181036000830152612fc981612f8d565b9050919050565b7f4c6f772062616c616e6365000000000000000000000000000000000000000000600082015250565b6000613006600b836125fc565b915061301182612fd0565b602082019050919050565b6000602082019050818103600083015261303581612ff9565b9050919050565b7f455448205061796d656e74206661696c65640000000000000000000000000000600082015250565b60006130726012836125fc565b915061307d8261303c565b602082019050919050565b600060208201905081810360008301526130a181613065565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006130de6014836125fc565b91506130e9826130a8565b602082019050919050565b6000602082019050818103600083015261310d816130d1565b905091905056fea2646970667358221220f7deb91ad1b71813cd018f5f4bc41bb65a70f93e42558a338e94f2743652ae2564736f6c63430008130033

Deployed Bytecode

0x6080604052600436106101e35760003560e01c80639cfa0f7c11610102578063d623786d11610095578063f2fde38b11610064578063f2fde38b14610667578063f597573f14610690578063f887ea40146106bb578063fd6cb613146106e6576101e3565b8063d623786d146105bd578063e32204dd146105e6578063e985e36714610611578063eadd94ec1461063c576101e3565b8063b5f6b1f6116100d1578063b5f6b1f614610515578063bc4eaa3e1461053e578063c0d7865514610569578063c49cc64514610592576101e3565b80639cfa0f7c1461046d578063a7c6016014610498578063aa9c641b146104d5578063b32c7dc1146104fe576101e3565b8063715018a61161017a5780638456cb59116101495780638456cb59146103d75780638c8885c8146103ee5780638da5cb5b146104175780638e15f47314610442576101e3565b8063715018a61461033c57806373294d4b146103535780637649b9571461037e57806381311451146103ae576101e3565b80635a03d679116101b65780635a03d679146102905780635c975abb146102bb57806363b20117146102e657806370ba111314610311576101e3565b806306b091f9146101e85780631559f7821461021157806333f761781461024e5780633f4ba83a14610279575b600080fd5b3480156101f457600080fd5b5061020f600480360381019061020a9190611f8b565b61070f565b005b34801561021d57600080fd5b5061023860048036038101906102339190611fcb565b6107a1565b6040516102459190612007565b60405180910390f35b34801561025a57600080fd5b506102636109c1565b6040516102709190612007565b60405180910390f35b34801561028557600080fd5b5061028e6109c7565b005b34801561029c57600080fd5b506102a56109d9565b6040516102b29190612007565b60405180910390f35b3480156102c757600080fd5b506102d06109df565b6040516102dd919061203d565b60405180910390f35b3480156102f257600080fd5b506102fb6109f6565b6040516103089190612007565b60405180910390f35b34801561031d57600080fd5b506103266109fc565b6040516103339190612007565b60405180910390f35b34801561034857600080fd5b50610351610a02565b005b34801561035f57600080fd5b50610368610a16565b6040516103759190612007565b60405180910390f35b61039860048036038101906103939190611fcb565b610a1c565b6040516103a5919061203d565b60405180910390f35b3480156103ba57600080fd5b506103d560048036038101906103d09190611fcb565b610eec565b005b3480156103e357600080fd5b506103ec610f41565b005b3480156103fa57600080fd5b5061041560048036038101906104109190611fcb565b610f53565b005b34801561042357600080fd5b5061042c610f65565b6040516104399190612067565b60405180910390f35b34801561044e57600080fd5b50610457610f8e565b6040516104649190612007565b60405180910390f35b34801561047957600080fd5b50610482611042565b60405161048f9190612007565b60405180910390f35b3480156104a457600080fd5b506104bf60048036038101906104ba9190611fcb565b611048565b6040516104cc919061203d565b60405180910390f35b3480156104e157600080fd5b506104fc60048036038101906104f79190611fcb565b61162e565b005b34801561050a57600080fd5b506105136116c6565b005b34801561052157600080fd5b5061053c60048036038101906105379190611fcb565b611784565b005b34801561054a57600080fd5b506105536117d9565b6040516105609190612007565b60405180910390f35b34801561057557600080fd5b50610590600480360381019061058b9190612082565b6117df565b005b34801561059e57600080fd5b506105a761182b565b6040516105b4919061210e565b60405180910390f35b3480156105c957600080fd5b506105e460048036038101906105df9190612082565b611851565b005b3480156105f257600080fd5b506105fb61190c565b6040516106089190612067565b60405180910390f35b34801561061d57600080fd5b50610626611932565b604051610633919061214a565b60405180910390f35b34801561064857600080fd5b50610651611958565b60405161065e9190612007565b60405180910390f35b34801561067357600080fd5b5061068e60048036038101906106899190612082565b61195e565b005b34801561069c57600080fd5b506106a56119e4565b6040516106b2919061214a565b60405180910390f35b3480156106c757600080fd5b506106d0611a0a565b6040516106dd9190612186565b60405180910390f35b3480156106f257600080fd5b5061070d60048036038101906107089190612082565b611a30565b005b610717611aeb565b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb61073b610f65565b836040518363ffffffff1660e01b81526004016107599291906121a1565b6020604051808303816000875af1158015610778573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061079c91906121f6565b505050565b600080600267ffffffffffffffff8111156107bf576107be612223565b5b6040519080825280602002602001820160405280156107ed5781602001602082028036833780820191505090505b50905073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc28160008151811061081957610818612252565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050737d60de2e7d92cb5c863bc82f8d59b37c59fc0a7a8160018151811061087c5761087b612252565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631f00ca7485846040518363ffffffff1660e01b815260040161091592919061233f565b600060405180830381865afa158015610932573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061095b91906124ae565b905060646008548260008151811061097657610975612252565b5b60200260200101516109889190612526565b6109929190612597565b816000815181106109a6576109a5612252565b5b60200260200101516109b891906125c8565b92505050919050565b60045481565b6109cf611aeb565b6109d7611b72565b565b600c5481565b6000600260009054906101000a900460ff16905090565b60035481565b60085481565b610a0a611aeb565b610a146000611bd5565b565b600f5481565b60008160008111610a62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5990612659565b60405180910390fd5b600554811115610aa7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9e906126c5565b60405180910390fd5b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610b029190612067565b602060405180830381865afa158015610b1f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b4391906126e5565b60045482610b519190612526565b1115610b92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8990612784565b60405180910390fd5b610b9a611c99565b610ba2611ce3565b6000610bba60045485610bb59190612526565b6107a1565b905080341015610bff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf6906127f0565b60405180910390fd5b60008134610c0d9190612810565b9050610c3b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683611d32565b6000811115610c5657610c55610c4f611e26565b82611d32565b5b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb610c9e611e26565b60045489610cac9190612526565b6040518363ffffffff1660e01b8152600401610cc99291906121a1565b6020604051808303816000875af1158015610ce8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d0c91906121f6565b905080610d4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4590612890565b60405180910390fd5b6000600454610d5b610f8e565b85610d669190612526565b610d709190612597565b9050600e548110610e6457600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb610dc1611e26565b600f546040518363ffffffff1660e01b8152600401610de19291906121a1565b6020604051808303816000875af1158015610e00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2491906121f6565b610e63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5a906128fc565b60405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff1687610e85611e26565b73ffffffffffffffffffffffffffffffffffffffff167f4d8aead3491b7eba4b5c7a65fc17e493b9e63f9e433522fc5f6a85a168fc9d36878542604051610ece9392919061291c565b60405180910390a46001955050505050610ee6611e2e565b50919050565b610ef4611aeb565b60008111610f37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2e906129c5565b60405180910390fd5b80600f8190555050565b610f49611aeb565b610f51611e37565b565b610f5b611aeb565b8060048190555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663feaf968c6040518163ffffffff1660e01b815260040160a060405180830381865afa158015610ffe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110229190612a5d565b5050509150506402540be400816110399190612ad8565b90508091505090565b60055481565b6000816000811161108e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108590612659565b60405180910390fd5b6005548111156110d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ca906126c5565b60405180910390fd5b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161112e9190612067565b602060405180830381865afa15801561114b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061116f91906126e5565b6004548261117d9190612526565b11156111be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b590612784565b60405180910390fd5b6111c6611c99565b60006111de600454856111d99190612526565b6107a1565b905060006004546111ed610f8e565b836111f89190612526565b6112029190612597565b9050600064e8d4a51000826112179190612597565b90506000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661125c611e26565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168460405160240161129293929190612b50565b6040516020818303038152906040527f23b872dd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505060405161131c9190612bf8565b6000604051808303816000865af19150503d8060008114611359576040519150601f19603f3d011682016040523d82523d6000602084013e61135e565b606091505b50509050806113a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139990612c5b565b60405180910390fd5b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6113ea611e26565b6004548b6113f89190612526565b6040518363ffffffff1660e01b81526004016114159291906121a1565b6020604051808303816000875af1158015611434573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061145891906121f6565b90508061149a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149190612890565b60405180910390fd5b600e54841061158c57600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6114e9611e26565b600f546040518363ffffffff1660e01b81526004016115099291906121a1565b6020604051808303816000875af1158015611528573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061154c91906121f6565b61158b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611582906128fc565b60405180910390fd5b5b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16886115ce611e26565b73ffffffffffffffffffffffffffffffffffffffff167f4d8aead3491b7eba4b5c7a65fc17e493b9e63f9e433522fc5f6a85a168fc9d368688426040516116179392919061291c565b60405180910390a460019650505050505050919050565b611636611aeb565b60008111611679576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167090612cc7565b60405180910390fd5b60006005549050816005819055507f76f9e5e1f6af6a9f180708b77a5c99210fbf19b91f1f194f3918c262b8edf77c8183426040516116ba9392919061291c565b60405180910390a15050565b6116ce611aeb565b60006116d8610f65565b73ffffffffffffffffffffffffffffffffffffffff16476040516116fb90612d0d565b60006040518083038185875af1925050503d8060008114611738576040519150601f19603f3d011682016040523d82523d6000602084013e61173d565b606091505b5050905080611781576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177890612d6e565b60405180910390fd5b50565b61178c611aeb565b600081116117cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c690612e00565b60405180910390fd5b80600e8190555050565b600e5481565b6117e7611aeb565b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611859611aeb565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036118c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118bf90612e6c565b60405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60065481565b611966611aeb565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036119d85760006040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016119cf9190612067565b60405180910390fd5b6119e181611bd5565b50565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611a38611aeb565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611aa7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9e90612ed8565b60405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611af3611e26565b73ffffffffffffffffffffffffffffffffffffffff16611b11610f65565b73ffffffffffffffffffffffffffffffffffffffff1614611b7057611b34611e26565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401611b679190612067565b60405180910390fd5b565b611b7a611e9a565b6000600260006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611bbe611e26565b604051611bcb9190612067565b60405180910390a1565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611ca16109df565b15611ce1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd890612f44565b60405180910390fd5b565b600260015403611d28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1f90612fb0565b60405180910390fd5b6002600181905550565b80471015611d75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6c9061301c565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051611d9b90612d0d565b60006040518083038185875af1925050503d8060008114611dd8576040519150601f19603f3d011682016040523d82523d6000602084013e611ddd565b606091505b5050905080611e21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1890613088565b60405180910390fd5b505050565b600033905090565b60018081905550565b611e3f611c99565b6001600260006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611e83611e26565b604051611e909190612067565b60405180910390a1565b611ea26109df565b611ee1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed8906130f4565b60405180910390fd5b565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611f2282611ef7565b9050919050565b611f3281611f17565b8114611f3d57600080fd5b50565b600081359050611f4f81611f29565b92915050565b6000819050919050565b611f6881611f55565b8114611f7357600080fd5b50565b600081359050611f8581611f5f565b92915050565b60008060408385031215611fa257611fa1611eed565b5b6000611fb085828601611f40565b9250506020611fc185828601611f76565b9150509250929050565b600060208284031215611fe157611fe0611eed565b5b6000611fef84828501611f76565b91505092915050565b61200181611f55565b82525050565b600060208201905061201c6000830184611ff8565b92915050565b60008115159050919050565b61203781612022565b82525050565b6000602082019050612052600083018461202e565b92915050565b61206181611f17565b82525050565b600060208201905061207c6000830184612058565b92915050565b60006020828403121561209857612097611eed565b5b60006120a684828501611f40565b91505092915050565b6000819050919050565b60006120d46120cf6120ca84611ef7565b6120af565b611ef7565b9050919050565b60006120e6826120b9565b9050919050565b60006120f8826120db565b9050919050565b612108816120ed565b82525050565b600060208201905061212360008301846120ff565b92915050565b6000612134826120db565b9050919050565b61214481612129565b82525050565b600060208201905061215f600083018461213b565b92915050565b6000612170826120db565b9050919050565b61218081612165565b82525050565b600060208201905061219b6000830184612177565b92915050565b60006040820190506121b66000830185612058565b6121c36020830184611ff8565b9392505050565b6121d381612022565b81146121de57600080fd5b50565b6000815190506121f0816121ca565b92915050565b60006020828403121561220c5761220b611eed565b5b600061221a848285016121e1565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6122b681611f17565b82525050565b60006122c883836122ad565b60208301905092915050565b6000602082019050919050565b60006122ec82612281565b6122f6818561228c565b93506123018361229d565b8060005b8381101561233257815161231988826122bc565b9750612324836122d4565b925050600181019050612305565b5085935050505092915050565b60006040820190506123546000830185611ff8565b818103602083015261236681846122e1565b90509392505050565b600080fd5b6000601f19601f8301169050919050565b61238e82612374565b810181811067ffffffffffffffff821117156123ad576123ac612223565b5b80604052505050565b60006123c0611ee3565b90506123cc8282612385565b919050565b600067ffffffffffffffff8211156123ec576123eb612223565b5b602082029050602081019050919050565b600080fd5b60008151905061241181611f5f565b92915050565b600061242a612425846123d1565b6123b6565b9050808382526020820190506020840283018581111561244d5761244c6123fd565b5b835b8181101561247657806124628882612402565b84526020840193505060208101905061244f565b5050509392505050565b600082601f8301126124955761249461236f565b5b81516124a5848260208601612417565b91505092915050565b6000602082840312156124c4576124c3611eed565b5b600082015167ffffffffffffffff8111156124e2576124e1611ef2565b5b6124ee84828501612480565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061253182611f55565b915061253c83611f55565b925082820261254a81611f55565b91508282048414831517612561576125606124f7565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006125a282611f55565b91506125ad83611f55565b9250826125bd576125bc612568565b5b828204905092915050565b60006125d382611f55565b91506125de83611f55565b92508282019050808211156125f6576125f56124f7565b5b92915050565b600082825260208201905092915050565b7f496e76616c69642073616c6520616d6f756e7400000000000000000000000000600082015250565b60006126436013836125fc565b915061264e8261260d565b602082019050919050565b6000602082019050818103600083015261267281612636565b9050919050565b7f416d6f756e742065786365656473206d617820746f6b656e7320746f20627579600082015250565b60006126af6020836125fc565b91506126ba82612679565b602082019050919050565b600060208201905081810360008301526126de816126a2565b9050919050565b6000602082840312156126fb576126fa611eed565b5b600061270984828501612402565b91505092915050565b7f416d6f756e74206578636565647320746f6b656e732072656d61696e696e672060008201527f666f722073616c65000000000000000000000000000000000000000000000000602082015250565b600061276e6028836125fc565b915061277982612712565b604082019050919050565b6000602082019050818103600083015261279d81612761565b9050919050565b7f4c657373207061796d656e740000000000000000000000000000000000000000600082015250565b60006127da600c836125fc565b91506127e5826127a4565b602082019050919050565b60006020820190508181036000830152612809816127cd565b9050919050565b600061281b82611f55565b915061282683611f55565b925082820390508181111561283e5761283d6124f7565b5b92915050565b7f546f6b656e207472616e73666572206661696c65640000000000000000000000600082015250565b600061287a6015836125fc565b915061288582612844565b602082019050919050565b600060208201905081810360008301526128a98161286d565b9050919050565b7f426f6e757320746f6b656e207472616e73666572206661696c65640000000000600082015250565b60006128e6601b836125fc565b91506128f1826128b0565b602082019050919050565b60006020820190508181036000830152612915816128d9565b9050919050565b60006060820190506129316000830186611ff8565b61293e6020830185611ff8565b61294b6040830184611ff8565b949350505050565b7f426f6e757320746f6b656e20616d6f756e74206d75737420626520677265617460008201527f6572207468616e20300000000000000000000000000000000000000000000000602082015250565b60006129af6029836125fc565b91506129ba82612953565b604082019050919050565b600060208201905081810360008301526129de816129a2565b9050919050565b600069ffffffffffffffffffff82169050919050565b612a04816129e5565b8114612a0f57600080fd5b50565b600081519050612a21816129fb565b92915050565b6000819050919050565b612a3a81612a27565b8114612a4557600080fd5b50565b600081519050612a5781612a31565b92915050565b600080600080600060a08688031215612a7957612a78611eed565b5b6000612a8788828901612a12565b9550506020612a9888828901612a48565b9450506040612aa988828901612402565b9350506060612aba88828901612402565b9250506080612acb88828901612a12565b9150509295509295909350565b6000612ae382612a27565b9150612aee83612a27565b9250828202612afc81612a27565b91507f80000000000000000000000000000000000000000000000000000000000000008414600084121615612b3457612b336124f7565b5b8282058414831517612b4957612b486124f7565b5b5092915050565b6000606082019050612b656000830186612058565b612b726020830185612058565b612b7f6040830184611ff8565b949350505050565b600081519050919050565b600081905092915050565b60005b83811015612bbb578082015181840152602081019050612ba0565b60008484015250505050565b6000612bd282612b87565b612bdc8185612b92565b9350612bec818560208601612b9d565b80840191505092915050565b6000612c048284612bc7565b915081905092915050565b7f546f6b656e207061796d656e74206661696c6564000000000000000000000000600082015250565b6000612c456014836125fc565b9150612c5082612c0f565b602082019050919050565b60006020820190508181036000830152612c7481612c38565b9050919050565b7f5a65726f206d617820746f6b656e7320746f206275792076616c756500000000600082015250565b6000612cb1601c836125fc565b9150612cbc82612c7b565b602082019050919050565b60006020820190508181036000830152612ce081612ca4565b9050919050565b50565b6000612cf7600083612b92565b9150612d0282612ce7565b600082019050919050565b6000612d1882612cea565b9150819050919050565b7f4661696c656420746f2077697468647261770000000000000000000000000000600082015250565b6000612d586012836125fc565b9150612d6382612d22565b602082019050919050565b60006020820190508181036000830152612d8781612d4b565b9050919050565b7f426f6e7573207468726573686f6c64206d75737420626520677265617465722060008201527f7468616e20300000000000000000000000000000000000000000000000000000602082015250565b6000612dea6026836125fc565b9150612df582612d8e565b604082019050919050565b60006020820190508181036000830152612e1981612ddd565b9050919050565b7f496e76616c696420616464726573730000000000000000000000000000000000600082015250565b6000612e56600f836125fc565b9150612e6182612e20565b602082019050919050565b60006020820190508181036000830152612e8581612e49565b9050919050565b7f616464726573732063616e6e6f74206265207a65726f00000000000000000000600082015250565b6000612ec26016836125fc565b9150612ecd82612e8c565b602082019050919050565b60006020820190508181036000830152612ef181612eb5565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000612f2e6010836125fc565b9150612f3982612ef8565b602082019050919050565b60006020820190508181036000830152612f5d81612f21565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000612f9a601f836125fc565b9150612fa582612f64565b602082019050919050565b60006020820190508181036000830152612fc981612f8d565b9050919050565b7f4c6f772062616c616e6365000000000000000000000000000000000000000000600082015250565b6000613006600b836125fc565b915061301182612fd0565b602082019050919050565b6000602082019050818103600083015261303581612ff9565b9050919050565b7f455448205061796d656e74206661696c65640000000000000000000000000000600082015250565b60006130726012836125fc565b915061307d8261303c565b602082019050919050565b600060208201905081810360008301526130a181613065565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006130de6014836125fc565b91506130e9826130a8565b602082019050919050565b6000602082019050818103600083015261310d816130d1565b905091905056fea2646970667358221220f7deb91ad1b71813cd018f5f4bc41bb65a70f93e42558a338e94f2743652ae2564736f6c63430008130033

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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