Contract 0x7d65254e85484b5ea062753d4b0f8a66d22b5e35 1

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x5a63f43de6e35928f25bfa6a137fe5e0af00b85dad1881defeeb6bac98d47196Withdraw118381122021-10-17 1:38:501 hr 5 mins ago0xb6d3569d5cf0eee53ba22d0c549f9471b07e20ed IN  0x7d65254e85484b5ea062753d4b0f8a66d22b5e350 BNB0.001022505
0xb6607150c4cca51c283df4266e539344b9b2f1caef1dab54d711833077ecacdeWithdraw118380702021-10-17 1:36:441 hr 7 mins ago0xb6d3569d5cf0eee53ba22d0c549f9471b07e20ed IN  0x7d65254e85484b5ea062753d4b0f8a66d22b5e350 BNB0.001
0xd11be120d998e9be000fad696b829b411b4cbd9b3992c036d82125a9e609bbcbWithdraw114094662021-10-02 2:08:3915 days 35 mins ago0x0a8c31a3e3146f15a72fb5dd0f383093c7a26fc0 IN  0x7d65254e85484b5ea062753d4b0f8a66d22b5e350 BNB0.007130988
0x8499cb9a684a25880ddedf9536695c8fbefb5a486c2d9fc4a7f1589ad9877ee4Withdraw113274122021-09-29 5:01:1217 days 21 hrs ago0x9b9cd3a34fa52c7cf5e6c7e25611e93e4bfacda9 IN  0x7d65254e85484b5ea062753d4b0f8a66d22b5e350 BNB0.00600918
0xa6411ccff78496da96d6441f77f69ee9b1cb0d7df8dfb64d548bcc52e5e87189Withdraw112536722021-09-26 14:53:5020 days 11 hrs ago0xa3d4f5443d25f98de3e974103325cf7bcd9e0e1a IN  0x7d65254e85484b5ea062753d4b0f8a66d22b5e350 BNB0.001172505
0x6199f9b364104bacf9e26b599588756b529628eb42e64fd38ad8ac04ad5e6bbbWithdraw111263862021-09-22 4:11:5024 days 22 hrs ago0xdbc5aeaf4f0ea1d8a44ebaae2feb6591a4249749 IN  0x7d65254e85484b5ea062753d4b0f8a66d22b5e350 BNB0.001097505
0x2cc165e4dc2a9fbce8799f7be3a951112a78a7678722ceb5026c92fc678e546eWithdraw109334782021-09-15 10:47:4931 days 15 hrs ago0x51f16370d88516ee6c506f0ac9da4bc3ff9be9a5 IN  0x7d65254e85484b5ea062753d4b0f8a66d22b5e350 BNB0.006008635
0x8a12c47c1e478092738a3764817dbf80e06cdbf630c9cc59ef63a30dd54babe0Withdraw108938092021-09-14 1:35:0833 days 1 hr ago0x060b596295c73e945d4e2354a32aae622a278c79 IN  0x7d65254e85484b5ea062753d4b0f8a66d22b5e350 BNB0.0001253
0xea89bcf2d6b785c7979b7fa9c01b1ffbc79470ed42f252f3b7c7d8ae42861bf3Withdraw108938072021-09-14 1:35:0233 days 1 hr ago0x060b596295c73e945d4e2354a32aae622a278c79 IN  0x7d65254e85484b5ea062753d4b0f8a66d22b5e350 BNB0.0058664
0x382c01e536c91bc91b5d3011b43dd7582979628e1135433bb08b9a2ea5731946Withdraw108464922021-09-12 10:05:0834 days 16 hrs ago0x85f8aed234b78a2bf6a26d126b545abae3e8101e IN  0x7d65254e85484b5ea062753d4b0f8a66d22b5e350 BNB0.001172505
0x78d468739263d575d98fa7384bcc1b1e7238928ec77d13a2eef4b386c5a322faWithdraw107787972021-09-10 1:08:0637 days 1 hr ago0x10ecd15a8743d784f542bf85bba6c2c863b878a9 IN  0x7d65254e85484b5ea062753d4b0f8a66d22b5e350 BNB0.001172505
0xef341aa655c1b195d9ab41a5ac52ec07a520fa5a951a9cdf72129349693609fdWithdraw107787642021-09-10 1:06:2737 days 1 hr ago0x940dfcb9b2268a598e3af057ddeadad2bdbd546f IN  0x7d65254e85484b5ea062753d4b0f8a66d22b5e350 BNB0.001172505
0xc2fccbbc819c0730382f5b1fd3e74369fab1687b7f0e6242be2bb9b7ee5b4290Withdraw107787272021-09-10 1:04:3637 days 1 hr ago0x5b2a81a686d6e298e42d22cce1ab5790d28f1d80 IN  0x7d65254e85484b5ea062753d4b0f8a66d22b5e350 BNB0.001172505
0xd64a188df9064c6032a93e59203165c66d12a50ae3bcd0c193b2355a18c01e30Withdraw107786392021-09-10 1:00:1237 days 1 hr ago0x11257fca6c4f6b121ddd1581e06e458c241dfed6 IN  0x7d65254e85484b5ea062753d4b0f8a66d22b5e350 BNB0.001172505
0x91d671262eb323c699d15dd8f4be5092270fcb391eedb9b071b51379ae796aadWithdraw107785992021-09-10 0:58:1237 days 1 hr ago0xc57460e2fd4925944e5db87f644e19270550af85 IN  0x7d65254e85484b5ea062753d4b0f8a66d22b5e350 BNB0.001172505
0x753c7f980b57b306f017077d672659e192db464be7b060bcb0290d8b235d2c5dWithdraw107785722021-09-10 0:56:4637 days 1 hr ago0xe07433bc72836f0a74c5526ba6ba46e8a47d167e IN  0x7d65254e85484b5ea062753d4b0f8a66d22b5e350 BNB0.001172505
0x1addaca742a119af1f42d61e7e2fce2e8f61d3b6ffaf586a00f5c224e5228607Withdraw107785382021-09-10 0:54:5737 days 1 hr ago0x2bfe6a9e62bde72ed110e0fb5fda0e1e82180f4b IN  0x7d65254e85484b5ea062753d4b0f8a66d22b5e350 BNB0.001172505
0x4b956b248208ce9858b68d038974050bb64c51c2fa767582f2d5e3791d338416Withdraw107785062021-09-10 0:53:1137 days 1 hr ago0x148f62f03053598bb5e90a35e0f05a34d6d175d8 IN  0x7d65254e85484b5ea062753d4b0f8a66d22b5e350 BNB0.001172505
0xdc0804bda6976f427b849a88baa3fa4fb126e40d1b16b5f25b237dc4f13f405dWithdraw107696602021-09-09 17:26:1837 days 9 hrs ago0x5541c1a994f3da3295cb2884b776ca3cd6870a8c IN  0x7d65254e85484b5ea062753d4b0f8a66d22b5e350 BNB0.006276555
0xbdf6d8ea1ab7e1dc653ae618d89b5320e586372cc3b6f99761aa0e1e0c556bf9Withdraw107309112021-09-08 8:49:1438 days 17 hrs ago0x3309f342b2cf738b9fef5b441fcb6f80269f11d5 IN  0x7d65254e85484b5ea062753d4b0f8a66d22b5e350 BNB0.001172505
0xd5f3bdec9ea280a6cbdabfc56782abb90fade799255ad19f1e8e25d123e1c7c7Withdraw107121052021-09-07 16:54:0639 days 9 hrs ago0xa10889924a515e92f40b1ab66e6c1b624c46c22d IN  0x7d65254e85484b5ea062753d4b0f8a66d22b5e350 BNB0.001097505
0x95b34fc73617cefbfbd37f3c88b445b9706ea083aee6e79a968f378c27282f93Withdraw106770632021-09-06 11:11:5540 days 15 hrs ago0x90119f86433ef0046f1f9c2eba1a62c274e58fea IN  0x7d65254e85484b5ea062753d4b0f8a66d22b5e350 BNB0.006261535
0x30bac264716377dbe4ab999722ce18e65549b033d580f1600b735357e625e1d3Withdraw105628362021-09-02 11:21:5044 days 15 hrs ago0xee7164c2a20ca710433e6e9c68b33c6549fd91d7 IN  0x7d65254e85484b5ea062753d4b0f8a66d22b5e350 BNB0.0001253
0x2e6321e43e29c81e4b3813c77ddfbd443f8981800034ce12648604aff801a157Withdraw105628352021-09-02 11:21:4744 days 15 hrs ago0xee7164c2a20ca710433e6e9c68b33c6549fd91d7 IN  0x7d65254e85484b5ea062753d4b0f8a66d22b5e350 BNB0.00614207
0x2ae3815ace9dd5875dafbf7a80489d141db03a5df4eec4016a78add9c887e85bWithdraw105325052021-09-01 9:47:1545 days 16 hrs ago0xece968b9a02e2ef17b1e584baba7cdc955dd906c IN  0x7d65254e85484b5ea062753d4b0f8a66d22b5e350 BNB0.001172505
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Similar Match)
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0xDa71A0c09b51c69A970566063053e11fc14802B6

Contract Name:
IDO

Compiler Version
v0.7.4+commit.3f05b770

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 6 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 2 of 6 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 GSN 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 payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 3 of 6 : IDO.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0;
import "@openzeppelin/contracts/access/Ownable.sol";

import "../interfaces/IBEP20.sol";
import "../libraries/SafeMath.sol";
import "../libraries/Address.sol";

/**
 * @title SafeBEP20
 * @dev Wrappers around BEP20 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 SafeBEP20 for IBEP20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeBEP20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(
        IBEP20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(
            token,
            abi.encodeWithSelector(token.transfer.selector, to, value)
        );
    }

    function safeTransferFrom(
        IBEP20 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
     * {IBEP20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IBEP20 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'
        // solhint-disable-next-line max-line-length
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeBEP20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(
            token,
            abi.encodeWithSelector(token.approve.selector, spender, value)
        );
    }

    function safeIncreaseAllowance(
        IBEP20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(
            value
        );
        _callOptionalReturn(
            token,
            abi.encodeWithSelector(
                token.approve.selector,
                spender,
                newAllowance
            )
        );
    }

    function safeDecreaseAllowance(
        IBEP20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(
            value,
            "SafeBEP20: decreased allowance below zero"
        );
        _callOptionalReturn(
            token,
            abi.encodeWithSelector(
                token.approve.selector,
                spender,
                newAllowance
            )
        );
    }

    /**
     * @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(IBEP20 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,
            "SafeBEP20: low-level call failed"
        );
        if (returndata.length > 0) {
            // Return data is optional
            // solhint-disable-next-line max-line-length
            require(
                abi.decode(returndata, (bool)),
                "SafeBEP20: BEP20 operation did not succeed"
            );
        }
    }
}

contract IDO is Ownable {
    using SafeMath for uint256;
    using SafeBEP20 for IBEP20;
    struct IDORecord {
        uint256 issue;
        IBEP20 idoToken;
        IBEP20 receiveToken;
        //decimals 18
        uint256 price;
        //IDO总量
        uint256 idoTotal;
        //开始时间
        uint256 startTime;
        //时长
        uint256 duration;
        uint256 maxLimit;
        //接收的总量
        uint256 receivedTotal;
        mapping(address => uint256) payAmount;
        mapping(address => bool) isWithdraw;
    }

    uint256 public IDOIssue = 0;
    mapping(uint256 => IDORecord) public IDODB;
    mapping(uint256 => bool) private isCharge;
    event IDOCreate(
        uint256 issue,
        address idoToken,
        address receiveToken,
        uint256 price,
        uint256 maxLimit,
        uint256 idoTotal,
        uint256 startTime,
        uint256 duration
    );
    event Staked(uint256 issue, address account, uint256 value);
    event Withdraw(
        uint256 issue,
        address account,
        uint256 idoValue,
        uint256 backValue
    );
    event IDOCharge(uint256 issue, uint256 receiveValue, uint256 leftValue);

    event IDORemove(uint256 issue);

    function createIDO(
        IBEP20 idoToken,
        IBEP20 receiveToken,
        uint256 price,
        uint256 idoTotal,
        uint256 maxLimit,
        uint256 startTime,
        uint256 duration
    ) external onlyOwner {
        require(
            block.timestamp >
                IDODB[IDOIssue].startTime.add(IDODB[IDOIssue].duration),
            "ido is not over yet."
        );
        require(
            address(idoToken) != address(0),
            "idoToken address cannot be 0"
        );
        require(
            address(receiveToken) != address(0),
            "receiveToken address cannot be 0"
        );

        IDOIssue = IDOIssue.add(1);
        IDORecord storage ido = IDODB[IDOIssue];
        ido.issue = IDOIssue;
        ido.idoToken = idoToken;
        ido.receiveToken = receiveToken;
        ido.price = price;
        ido.maxLimit = maxLimit;
        ido.idoTotal = idoTotal;
        ido.startTime = startTime;
        ido.duration = duration;

        idoToken.safeTransferFrom(msg.sender, address(this), idoTotal);
        emit IDOCreate(
            IDOIssue,
            address(idoToken),
            address(receiveToken),
            price,
            maxLimit,
            idoTotal,
            startTime,
            duration
        );
    }

    function removeIDO() external onlyOwner {
        require(
            IDODB[IDOIssue].startTime > block.timestamp,
            "There is no ido that can be deleted."
        );
        IDODB[IDOIssue].idoToken.safeTransfer(
            msg.sender,
            IDODB[IDOIssue].idoTotal
        );
        delete IDODB[IDOIssue];
        emit IDORemove(IDOIssue);
        IDOIssue = IDOIssue.sub(1);
    }

    function chargeIDO(uint256 issue) external onlyOwner {
        IDORecord storage record = IDODB[issue];
        require(issue <= IDOIssue && issue > 0, "IDO that does not exist.");
        require(!isCharge[issue], "Cannot claim repeatedly.");
        require(
            block.timestamp > record.startTime.add(record.duration),
            "ido is not over yet."
        );

        uint256 receiveValue;
        uint256 backValue;

        isCharge[issue] = true;

        uint256 prop = record.receivedTotal.mul(1e36).div(
            record.idoTotal.mul(record.price)
        );
        if (prop >= 1e18) {
            receiveValue = record.idoTotal.mul(record.price).div(1e18);
            record.receiveToken.safeTransfer(msg.sender, receiveValue);
        } else {
            receiveValue = record.receivedTotal;
            record.receiveToken.safeTransfer(msg.sender, record.receivedTotal);
            backValue = record.idoTotal.sub(
                record.idoTotal.mul(prop).div(1e18)
            );
            record.idoToken.safeTransfer(msg.sender, backValue);
        }

        emit IDOCharge(issue, receiveValue, backValue);
    }

    function stake(uint256 value) external {
        require(IDOIssue > 0, "IDO that does not exist.");
        IDORecord storage record = IDODB[IDOIssue];
        require(
            block.timestamp > record.startTime &&
                block.timestamp < record.startTime.add(record.duration),
            "IDO is not in progress."
        );
        require(
            record.payAmount[msg.sender].add(value) <= record.maxLimit,
            "Limit Exceeded"
        );

        record.payAmount[msg.sender] = record.payAmount[msg.sender].add(value);
        record.receivedTotal = record.receivedTotal.add(value);
        record.receiveToken.safeTransferFrom(msg.sender, address(this), value);
        emit Staked(IDOIssue, msg.sender, value);
    }

    function available(address account, uint256 issue)
        public
        view
        returns (uint256 _idoAmount, uint256 _sendBack)
    {
        IDORecord storage record = IDODB[issue];
        require(issue <= IDOIssue && issue > 0, "IDO that does not exist.");

        uint256 prop = record.receivedTotal.mul(1e36).div(
            record.idoTotal.mul(record.price)
        );

        if (prop > 1e18) {
            _idoAmount = record.payAmount[account].mul(1e36).div(prop).div(
                record.price
            );

            _sendBack = record.payAmount[account].sub(
                _idoAmount.mul(record.price).div(1e18)
            );
        } else {
            _idoAmount = record.payAmount[account].mul(1e18).div(record.price);
        }
    }

    function userPayValue(uint256 issue, address account)
        public
        view
        returns (uint256)
    {
        return IDODB[issue].payAmount[account];
    }

    function isWithdraw(uint256 issue, address account)
        public
        view
        returns (bool)
    {
        return IDODB[issue].isWithdraw[account];
    }

    function withdraw(uint256 issue) external {
        require(issue <= IDOIssue && issue > 0, "IDO that does not exist.");
        IDORecord storage record = IDODB[issue];
        require(
            block.timestamp > IDODB[issue].startTime.add(record.duration),
            "ido is not over yet."
        );
        require(!record.isWithdraw[msg.sender], "Cannot claim repeatedly.");

        uint256 idoAmount;
        uint256 sendBack;

        record.isWithdraw[msg.sender] = true;

        (idoAmount, sendBack) = available(msg.sender, issue);

        record.idoToken.safeTransfer(msg.sender, idoAmount);
        if (sendBack > 0) {
            record.receiveToken.safeTransfer(msg.sender, sendBack);
        }

        emit Withdraw(issue, msg.sender, idoAmount, sendBack);
    }
}

File 4 of 6 : IBEP20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.4.0;

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

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

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

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

    /**
     * @dev Returns the bep token owner.
     */
    function getOwner() external view returns (address);

    /**
     * @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 `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, 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 `sender` to `recipient` 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 sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

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

File 5 of 6 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.6;

/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly {
            codehash := extcodehash(account)
        }
        return (codehash != accountHash && codehash != 0x0);
    }

    /**
     * @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://diligence.consensys.net/posts/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.5.11/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');

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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 functionCall(target, data, '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');
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(
        address target,
        bytes memory data,
        uint256 weiValue,
        string memory errorMessage
    ) private returns (bytes memory) {
        require(isContract(target), 'Address: call to non-contract');

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{value: weiValue}(data);
        if (success) {
            return returndata;
        } else {
            // 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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 6 of 6 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.4.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @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) {
        uint256 c = a + b;
        require(c >= a, 'SafeMath: addition overflow');

        return c;
    }

    /**
     * @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 sub(a, b, 'SafeMath: subtraction overflow');
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

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

        uint256 c = a * b;
        require(c / a == b, 'SafeMath: multiplication overflow');

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts 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) internal pure returns (uint256) {
        return div(a, b, 'SafeMath: division by zero');
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts 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) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts 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 mod(a, b, 'SafeMath: modulo by zero');
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message 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,
        string memory errorMessage
    ) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }

    function min(uint256 x, uint256 y) internal pure returns (uint256 z) {
        z = x < y ? x : y;
    }

    // babylonian method (https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method)
    function sqrt(uint256 y) internal pure returns (uint256 z) {
        if (y > 3) {
            z = y;
            uint256 x = y / 2 + 1;
            while (x < z) {
                z = x;
                x = (y / x + x) / 2;
            }
        } else if (y != 0) {
            z = 1;
        }
    }
}

Settings
{
  "evmVersion": "istanbul",
  "libraries": {},
  "metadata": {
    "bytecodeHash": "ipfs",
    "useLiteralContent": true
  },
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "remappings": [],
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"issue","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"receiveValue","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"leftValue","type":"uint256"}],"name":"IDOCharge","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"issue","type":"uint256"},{"indexed":false,"internalType":"address","name":"idoToken","type":"address"},{"indexed":false,"internalType":"address","name":"receiveToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"maxLimit","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"idoTotal","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"startTime","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"duration","type":"uint256"}],"name":"IDOCreate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"issue","type":"uint256"}],"name":"IDORemove","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":"issue","type":"uint256"},{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"issue","type":"uint256"},{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"idoValue","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"backValue","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"IDODB","outputs":[{"internalType":"uint256","name":"issue","type":"uint256"},{"internalType":"contract IBEP20","name":"idoToken","type":"address"},{"internalType":"contract IBEP20","name":"receiveToken","type":"address"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"idoTotal","type":"uint256"},{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"duration","type":"uint256"},{"internalType":"uint256","name":"maxLimit","type":"uint256"},{"internalType":"uint256","name":"receivedTotal","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"IDOIssue","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"issue","type":"uint256"}],"name":"available","outputs":[{"internalType":"uint256","name":"_idoAmount","type":"uint256"},{"internalType":"uint256","name":"_sendBack","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"issue","type":"uint256"}],"name":"chargeIDO","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IBEP20","name":"idoToken","type":"address"},{"internalType":"contract IBEP20","name":"receiveToken","type":"address"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"idoTotal","type":"uint256"},{"internalType":"uint256","name":"maxLimit","type":"uint256"},{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"duration","type":"uint256"}],"name":"createIDO","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"issue","type":"uint256"},{"internalType":"address","name":"account","type":"address"}],"name":"isWithdraw","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeIDO","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"issue","type":"uint256"},{"internalType":"address","name":"account","type":"address"}],"name":"userPayValue","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"issue","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600060015534801561001557600080fd5b50600061002061006f565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350610073565b3390565b611829806100826000396000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c8063ac0f7bee1161008c578063ef11545611610066578063ef1154561461022d578063f15c9c5d14610235578063f2fde38b146102a5578063f8724aba146102cb576100cf565b8063ac0f7bee146101ca578063ad3cef2d146101e4578063b1a69a4114610201576100cf565b806305bdb4d8146100d45780632e1a7d4d14610114578063715018a6146101335780638da5cb5b1461013b5780639ff2627a1461015f578063a694fc3a146101ad575b600080fd5b610100600480360360408110156100ea57600080fd5b50803590602001356001600160a01b0316610310565b604080519115158252519081900360200190f35b6101316004803603602081101561012a57600080fd5b5035610340565b005b61013161051d565b6101436105c9565b604080516001600160a01b039092168252519081900360200190f35b610131600480360360e081101561017557600080fd5b506001600160a01b03813581169160208101359091169060408101359060608101359060808101359060a08101359060c001356105d8565b610131600480360360208110156101c357600080fd5b5035610860565b6101d2610a3e565b60408051918252519081900360200190f35b610131600480360360208110156101fa57600080fd5b5035610a44565b6101d26004803603604081101561021757600080fd5b50803590602001356001600160a01b0316610d35565b610131610d61565b6102526004803603602081101561024b57600080fd5b5035610eee565b60408051998a526001600160a01b0398891660208b015296909716888701526060880194909452608087019290925260a086015260c085015260e084015261010083019190915251908190036101200190f35b610131600480360360208110156102bb57600080fd5b50356001600160a01b0316610f45565b6102f7600480360360408110156102e157600080fd5b506001600160a01b038135169060200135611047565b6040805192835260208301919091528051918290030190f35b60008281526002602090815260408083206001600160a01b0385168452600a0190915290205460ff165b92915050565b60015481111580156103525750600081115b61039e576040805162461bcd60e51b815260206004820152601860248201527724a227903a3430ba103237b2b9903737ba1032bc34b9ba1760411b604482015290519081900360640190fd5b6000818152600260205260409020600681015460058201546103bf916111db565b4211610409576040805162461bcd60e51b815260206004820152601460248201527334b2379034b9903737ba1037bb32b9103cb2ba1760611b604482015290519081900360640190fd5b336000908152600a8201602052604090205460ff161561046b576040805162461bcd60e51b815260206004820152601860248201527721b0b73737ba1031b630b4b6903932b832b0ba32b2363c9760411b604482015290519081900360640190fd5b336000818152600a830160205260408120805460ff191660011790559081906104949085611047565b600185015491935091506104b2906001600160a01b0316338461123c565b80156104d15760028301546104d1906001600160a01b0316338361123c565b604080518581523360208201528082018490526060810183905290517fb0ecf14e184effded5473bba77dcfab32b094b77ac1fbb36beec2aef555879709181900360800190a150505050565b610525611293565b6001600160a01b03166105366105c9565b6001600160a01b03161461057f576040805162461bcd60e51b815260206004820181905260248201526000805160206117b0833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b6105e0611293565b6001600160a01b03166105f16105c9565b6001600160a01b03161461063a576040805162461bcd60e51b815260206004820181905260248201526000805160206117b0833981519152604482015290519081900360640190fd5b6001546000908152600260205260409020600681015460059091015461065f916111db565b42116106a9576040805162461bcd60e51b815260206004820152601460248201527334b2379034b9903737ba1037bb32b9103cb2ba1760611b604482015290519081900360640190fd5b6001600160a01b038716610704576040805162461bcd60e51b815260206004820152601c60248201527f69646f546f6b656e20616464726573732063616e6e6f74206265203000000000604482015290519081900360640190fd5b6001600160a01b03861661075f576040805162461bcd60e51b815260206004820181905260248201527f72656365697665546f6b656e20616464726573732063616e6e6f742062652030604482015290519081900360640190fd5b6001805461076c916111db565b6001818155600082815260026020819052604090912092835590820180546001600160a01b03199081166001600160a01b038c81169182179093559284018054909116918a1691909117905560038201879055600782018590556004820186905560058201849055600682018390556107e790333088611297565b600154604080519182526001600160a01b03808b166020840152891682820152606082018890526080820186905260a0820187905260c0820185905260e08201849052517f5ad99f837520e1304d89d3ef33e4c51c50dd5cb2736d30689cf5fa8af6cddebc918190036101000190a15050505050505050565b6000600154116108b2576040805162461bcd60e51b815260206004820152601860248201527724a227903a3430ba103237b2b9903737ba1032bc34b9ba1760411b604482015290519081900360640190fd5b60015460009081526002602052604090206005810154421180156108e75750600681015460058201546108e4916111db565b42105b610938576040805162461bcd60e51b815260206004820152601760248201527f49444f206973206e6f7420696e2070726f67726573732e000000000000000000604482015290519081900360640190fd5b600781015433600090815260098301602052604090205461095990846111db565b111561099d576040805162461bcd60e51b815260206004820152600e60248201526d131a5b5a5d08115e18d95959195960921b604482015290519081900360640190fd5b3360009081526009820160205260409020546109b990836111db565b33600090815260098301602052604090205560088101546109da90836111db565b600882015560028101546109f9906001600160a01b0316333085611297565b60015460408051918252336020830152818101849052517f18dcd430020e4d4899772fd94a8b40451dc5044dfb70bc46b532eeae431c864f9181900360600190a15050565b60015481565b610a4c611293565b6001600160a01b0316610a5d6105c9565b6001600160a01b031614610aa6576040805162461bcd60e51b815260206004820181905260248201526000805160206117b0833981519152604482015290519081900360640190fd5b60008181526002602052604090206001548211801590610ac65750600082115b610b12576040805162461bcd60e51b815260206004820152601860248201527724a227903a3430ba103237b2b9903737ba1032bc34b9ba1760411b604482015290519081900360640190fd5b60008281526003602052604090205460ff1615610b71576040805162461bcd60e51b815260206004820152601860248201527721b0b73737ba1031b630b4b6903932b832b0ba32b2363c9760411b604482015290519081900360640190fd5b60068101546005820154610b84916111db565b4211610bce576040805162461bcd60e51b815260206004820152601460248201527334b2379034b9903737ba1037bb32b9103cb2ba1760611b604482015290519081900360640190fd5b60008281526003602081905260408220805460ff19166001179055820154600483015482918291610c2791610c0391906112f7565b6008860154610c21906ec097ce7bc90715b34b9f10000000006112f7565b90611350565b9050670de0b6b3a76400008110610c8057610c5f670de0b6b3a7640000610c21866003015487600401546112f790919063ffffffff16565b6002850154909350610c7b906001600160a01b0316338561123c565b610cee565b60088401546002850154909350610ca1906001600160a01b0316338561123c565b610cd2610cc7670de0b6b3a7640000610c218488600401546112f790919063ffffffff16565b600486015490611392565b6001850154909250610cee906001600160a01b0316338461123c565b604080518681526020810185905280820184905290517f9d25a809e06fd4eff5b9ccc67acacbeaa4544bdbe618468068f3be55ebf961489181900360600190a15050505050565b60008281526002602090815260408083206001600160a01b038516845260090190915290205492915050565b610d69611293565b6001600160a01b0316610d7a6105c9565b6001600160a01b031614610dc3576040805162461bcd60e51b815260206004820181905260248201526000805160206117b0833981519152604482015290519081900360640190fd5b6001546000908152600260205260409020600501544210610e155760405162461bcd60e51b81526004018080602001828103825260248152602001806117d06024913960400191505060405180910390fd5b6001805460009081526002602052604090206004810154910154610e46916001600160a01b0390911690339061123c565b60018054600090815260026020818152604080842084815580860180546001600160a01b0319908116909155938101805490941690935560038301849055600483018490556005830184905560068301849055600783018490556008909201929092559154825190815291517f063d5d62e7ac8263afaa587c5bdb4b844f29613ef64330771f00e31a63fd25b29281900390910190a160018054610ee991611392565b600155565b600260208190526000918252604090912080546001820154928201546003830154600484015460058501546006860154600787015460089097015495976001600160a01b0390811697951695939492939192909189565b610f4d611293565b6001600160a01b0316610f5e6105c9565b6001600160a01b031614610fa7576040805162461bcd60e51b815260206004820181905260248201526000805160206117b0833981519152604482015290519081900360640190fd5b6001600160a01b038116610fec5760405162461bcd60e51b81526004018080602001828103825260268152602001806117696026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000818152600260205260408120600154829190841180159061106a5750600084115b6110b6576040805162461bcd60e51b815260206004820152601860248201527724a227903a3430ba103237b2b9903737ba1032bc34b9ba1760411b604482015290519081900360640190fd5b60006110f46110d6836003015484600401546112f790919063ffffffff16565b6008840154610c21906ec097ce7bc90715b34b9f10000000006112f7565b9050670de0b6b3a76400008111156111985760038201546001600160a01b03871660009081526009840160205260409020546111489190610c2190849082906ec097ce7bc90715b34b9f10000000006112f7565b9350611191611170670de0b6b3a7640000610c218560030154886112f790919063ffffffff16565b6001600160a01b038816600090815260098501602052604090205490611392565b92506111d2565b60038201546001600160a01b03871660009081526009840160205260409020546111cf9190610c2190670de0b6b3a76400006112f7565b93505b50509250929050565b600082820183811015611235576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261128e9084906113d4565b505050565b3390565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526112f19085906113d4565b50505050565b6000826113065750600061033a565b8282028284828161131357fe5b04146112355760405162461bcd60e51b815260040180806020018281038252602181526020018061178f6021913960400191505060405180910390fd5b600061123583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611485565b600061123583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611527565b6060611429826040518060400160405280602081526020017f5361666542455032303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166115819092919063ffffffff16565b80519091501561128e5780806020019051602081101561144857600080fd5b505161128e5760405162461bcd60e51b815260040180806020018281038252602a81526020018061173f602a913960400191505060405180910390fd5b600081836115115760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156114d65781810151838201526020016114be565b50505050905090810190601f1680156115035780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161151d57fe5b0495945050505050565b600081848411156115795760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156114d65781810151838201526020016114be565b505050900390565b60606115908484600085611598565b949350505050565b60606115a385611705565b6115f4576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106116335780518252601f199092019160209182019101611614565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611695576040519150601f19603f3d011682016040523d82523d6000602084013e61169a565b606091505b509150915081156116ae5791506115909050565b8051156116be5780518082602001fd5b60405162461bcd60e51b81526020600482018181528651602484015286518793919283926044019190850190808383600083156114d65781810151838201526020016114be565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061159057505015159291505056fe5361666542455032303a204245503230206f7065726174696f6e20646964206e6f7420737563636565644f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725468657265206973206e6f2069646f20746861742063616e2062652064656c657465642ea2646970667358221220fa26f4521fbbab4ca2eb8daf87adfad9f4a760fafe3e943036e96caccceb47eb64736f6c63430007040033

Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.