ETH Price: $1,939.90 (-2.33%)
 

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
Transfer168124172023-03-12 14:03:351085 days ago1678629815IN
0xED2789D4...c50255c88
0.02011345 ETH0.0031449618.83181691
Transfer168123792023-03-12 13:55:591085 days ago1678629359IN
0xED2789D4...c50255c88
0.00446965 ETH0.0048838918.38975281
Transfer167799282023-03-08 0:17:351090 days ago1678234655IN
0xED2789D4...c50255c88
0.00425716 ETH0.0053313733.38304685
Transfer167588732023-03-05 1:15:591093 days ago1677978959IN
0xED2789D4...c50255c88
0.00429706 ETH0.003216920.14303687
Transfer165013812023-01-27 23:18:231129 days ago1674861503IN
0xED2789D4...c50255c88
0.00446251 ETH0.0023599414.13113165
Transfer164812212023-01-25 3:42:111132 days ago1674618131IN
0xED2789D4...c50255c88
0.00459104 ETH0.0026864116.82133401
Transfer164177672023-01-16 7:09:591141 days ago1673852999IN
0xED2789D4...c50255c88
0.00444834 ETH0.0027708515.05054829
Transfer162038142022-12-17 10:26:591170 days ago1671272819IN
0xED2789D4...c50255c88
0.00568804 ETH0.0021644312.96045235
Transfer161761252022-12-13 13:37:591174 days ago1670938679IN
0xED2789D4...c50255c88
0.01019 ETH0.0098967361.96961719
Transfer160951912022-12-02 6:00:351186 days ago1669960835IN
0xED2789D4...c50255c88
0.00534988 ETH0.0017787211.13770309
Transfer158341202022-10-26 18:44:111222 days ago1666809851IN
0xED2789D4...c50255c88
0.02078959 ETH0.0046784725.41228628
Transfer155711062022-09-20 0:25:111259 days ago1663633511IN
0xED2789D4...c50255c88
0.0048822 ETH0.000737744.57143611
Transfer155637432022-09-18 23:37:111260 days ago1663544231IN
0xED2789D4...c50255c88
0.00651957 ETH0.000415132.69426855
Transfer153817362022-08-21 4:06:031289 days ago1661054763IN
0xED2789D4...c50255c88
0.00649999 ETH0.000581613.60398461
Transfer153692102022-08-19 4:15:401291 days ago1660882540IN
0xED2789D4...c50255c88
0.00380171 ETH0.0019034611.79487133
Transfer153564492022-08-17 3:58:111293 days ago1660708691IN
0xED2789D4...c50255c88
0.00405723 ETH0.000913315.65934958
Transfer152540002022-08-01 2:45:341309 days ago1659321934IN
0xED2789D4...c50255c88
0.00618837 ETH0.001475199.14108531
Transfer152539282022-08-01 2:27:561309 days ago1659320876IN
0xED2789D4...c50255c88
0.00823099 ETH0.00141419.17765706
0xbd0b9bf4152225612022-07-27 5:18:491314 days ago1658899129IN
0xED2789D4...c50255c88
0.00478751 ETH0.0016998710.99995946
Transfer151173252022-07-10 21:34:431330 days ago1657488883IN
0xED2789D4...c50255c88
0.02314228 ETH0.0017656711.45936408
Transfer150733422022-07-04 2:25:591337 days ago1656901559IN
0xED2789D4...c50255c88
0.00665255 ETH0.0018921112.27997175
Transfer150722592022-07-03 22:21:531337 days ago1656886913IN
0xED2789D4...c50255c88
0.00633632 ETH0.0016961510.51028064
Transfer150429802022-06-29 3:20:181342 days ago1656472818IN
0xED2789D4...c50255c88
0.00842239 ETH0.0051223931.74100108
Transfer150422782022-06-29 0:02:501342 days ago1656460970IN
0xED2789D4...c50255c88
0.00725874 ETH0.0066885143.40908351
Transfer*149239832022-06-08 1:16:411363 days ago1654651001IN
0xED2789D4...c50255c88
0.00801834 ETH0.0168188363.48094697
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
Transfer168124172023-03-12 14:03:351085 days ago1678629815
0xED2789D4...c50255c88
0.02011345 ETH
Transfer168123792023-03-12 13:55:591085 days ago1678629359
0xED2789D4...c50255c88
0.00446965 ETH
Transfer167799282023-03-08 0:17:351090 days ago1678234655
0xED2789D4...c50255c88
0.00425716 ETH
Transfer167588732023-03-05 1:15:591093 days ago1677978959
0xED2789D4...c50255c88
0.00429706 ETH
Transfer165013812023-01-27 23:18:231129 days ago1674861503
0xED2789D4...c50255c88
0.00446251 ETH
Transfer164812212023-01-25 3:42:111132 days ago1674618131
0xED2789D4...c50255c88
0.00459104 ETH
Transfer164177672023-01-16 7:09:591141 days ago1673852999
0xED2789D4...c50255c88
0.00444834 ETH
Transfer162038142022-12-17 10:26:591170 days ago1671272819
0xED2789D4...c50255c88
0.00568804 ETH
Transfer161761252022-12-13 13:37:591174 days ago1670938679
0xED2789D4...c50255c88
0.01019 ETH
Transfer160951912022-12-02 6:00:351186 days ago1669960835
0xED2789D4...c50255c88
0.00534988 ETH
Transfer158341202022-10-26 18:44:111222 days ago1666809851
0xED2789D4...c50255c88
0.02078959 ETH
Transfer155711062022-09-20 0:25:111259 days ago1663633511
0xED2789D4...c50255c88
0.0048822 ETH
Transfer155637432022-09-18 23:37:111260 days ago1663544231
0xED2789D4...c50255c88
0.00651957 ETH
Transfer153817362022-08-21 4:06:031289 days ago1661054763
0xED2789D4...c50255c88
0.00649999 ETH
Transfer153692102022-08-19 4:15:401291 days ago1660882540
0xED2789D4...c50255c88
0.00380171 ETH
Transfer153564492022-08-17 3:58:111293 days ago1660708691
0xED2789D4...c50255c88
0.00405723 ETH
Transfer152540002022-08-01 2:45:341309 days ago1659321934
0xED2789D4...c50255c88
0.00618837 ETH
Transfer152539282022-08-01 2:27:561309 days ago1659320876
0xED2789D4...c50255c88
0.00823099 ETH
Transfer152225612022-07-27 5:18:491314 days ago1658899129
0xED2789D4...c50255c88
0.00478751 ETH
Transfer151173252022-07-10 21:34:431330 days ago1657488883
0xED2789D4...c50255c88
0.02314228 ETH
Transfer150733422022-07-04 2:25:591337 days ago1656901559
0xED2789D4...c50255c88
0.00665255 ETH
Transfer150722592022-07-03 22:21:531337 days ago1656886913
0xED2789D4...c50255c88
0.00633632 ETH
Transfer150429802022-06-29 3:20:181342 days ago1656472818
0xED2789D4...c50255c88
0.00842239 ETH
Transfer150422782022-06-29 0:02:501342 days ago1656460970
0xED2789D4...c50255c88
0.00725874 ETH
-149239832022-06-08 1:16:411363 days ago1654651001
0xED2789D4...c50255c88
0.00801834 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:
Crowdsale_HYBX

Compiler Version
v0.5.17+commit.d19bba13

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at Etherscan.io on 2022-01-29
*/

// File: node_modules\@openzeppelin\contracts\GSN\Context.sol

pragma solidity ^0.5.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.
 */
contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor () internal { }
    // solhint-disable-previous-line no-empty-blocks

    function _msgSender() internal view returns (address payable) {
        return msg.sender;
    }

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

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

pragma solidity ^0.5.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP. Does not include
 * the optional functions; to access them see {ERC20Detailed}.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

    /**
     * @dev Moves `amount` tokens from the caller's account to `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);

    function mint(address to, uint256 amount) external;


    /**
     * @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: node_modules\@openzeppelin\contracts\math\SafeMath.sol

pragma solidity ^0.5.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.
     *
     * _Available since v2.4.0._
     */
    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.
     *
     * _Available since v2.4.0._
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        // Solidity only automatically asserts when dividing by 0
        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.
     *
     * _Available since v2.4.0._
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

// File: node_modules\@openzeppelin\contracts\utils\Address.sol

pragma solidity ^0.5.5;

/**
 * @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 Converts an `address` into `address payable`. Note that this is
     * simply a type cast: the actual underlying value is not changed.
     *
     * _Available since v2.4.0._
     */
    function toPayable(address account) internal pure returns (address payable) {
        return address(uint160(account));
    }

    /**
     * @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].
     *
     * _Available since v2.4.0._
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-call-value
        (bool success, ) = recipient.call.value(amount)("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }
}

// File: node_modules\@openzeppelin\contracts\token\ERC20\SafeERC20.sol

pragma solidity ^0.5.0;




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

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

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 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(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: 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(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves.

        // A Solidity high level call has three parts:
        //  1. The target address is checked to verify it contains contract code
        //  2. The call itself is made, and success asserted
        //  3. The return value is decoded, which in turn checks the size of the returned data.
        // solhint-disable-next-line max-line-length
        require(address(token).isContract(), "SafeERC20: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = address(token).call(data);
        require(success, "SafeERC20: low-level call failed");

        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

// File: node_modules\@openzeppelin\contracts\utils\ReentrancyGuard.sol

pragma solidity ^0.5.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].
 *
 * _Since v2.5.0:_ this module is now much more gas efficient, given net gas
 * metering changes introduced in the Istanbul hardfork.
 */
contract ReentrancyGuard {
    bool private _notEntered;

    constructor () internal {
        // Storing an initial 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 percetange 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.
        _notEntered = true;
    }

    /**
     * @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 make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_notEntered, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _notEntered = false;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _notEntered = true;
    }
}

// File: @openzeppelin\contracts\crowdsale\Crowdsale.sol

pragma solidity ^0.5.0;






/**
 * @title Crowdsale
 * @dev Crowdsale is a base contract for managing a token crowdsale,
 * allowing investors to purchase tokens with ether. This contract implements
 * such functionality in its most fundamental form and can be extended to provide additional
 * functionality and/or custom behavior.
 * The external interface represents the basic interface for purchasing tokens, and conforms
 * the base architecture for crowdsales. It is *not* intended to be modified / overridden.
 * The internal interface conforms the extensible and modifiable surface of crowdsales. Override
 * the methods to add functionality. Consider using 'super' where appropriate to concatenate
 * behavior.
 */
contract Crowdsale is Context, ReentrancyGuard {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    // The token being sold
    IERC20 private _token;

    // Address where funds are collected
    address payable private _wallet;

    // How many token units a buyer gets per wei.
    // The rate is the conversion between wei and the smallest and indivisible token unit.
    // So, if you are using a rate of 1 with a ERC20Detailed token with 3 decimals called TOK
    // 1 wei will give you 1 unit, or 0.001 TOK.
    uint256 private _rate;

    // Amount of wei raised
    uint256 private _weiRaised;

    /**
     * Event for token purchase logging
     * @param purchaser who paid for the tokens
     * @param beneficiary who got the tokens
     * @param value weis paid for purchase
     * @param amount amount of tokens purchased
     */
    event TokensPurchased(address indexed purchaser, address indexed beneficiary, uint256 value, uint256 amount);

    /**
     * @param rate Number of token units a buyer gets per wei
     * @dev The rate is the conversion between wei and the smallest and indivisible
     * token unit. So, if you are using a rate of 1 with a ERC20Detailed token
     * with 3 decimals called TOK, 1 wei will give you 1 unit, or 0.001 TOK.
     * @param wallet Address where collected funds will be forwarded to
     * @param token Address of the token being sold
     */
    constructor (uint256 rate, address payable wallet, IERC20 token) public {
        require(rate > 0, "Crowdsale: rate is 0");
        require(wallet != address(0), "Crowdsale: wallet is the zero address");
        require(address(token) != address(0), "Crowdsale: token is the zero address");

        _rate = rate;
        _wallet = wallet;
        _token = token;
    }

    /**
     * @dev fallback function ***DO NOT OVERRIDE***
     * Note that other contracts will transfer funds with a base gas stipend
     * of 2300, which is not enough to call buyTokens. Consider calling
     * buyTokens directly when purchasing tokens from a contract.
     */
    function () external payable {
        buyTokens(_msgSender());
    }

    /**
     * @return the token being sold.
     */
    function token() public view returns (IERC20) {
        return _token;
    }

    /**
     * @return the address where funds are collected.
     */
    function wallet() public view returns (address payable) {
        return _wallet;
    }

    /**
     * @return the number of token units a buyer gets per wei.
     */
    function rate() public view returns (uint256) {
        return _rate;
    }

    /**
     * @return the amount of wei raised.
     */
    function weiRaised() public view returns (uint256) {
        return _weiRaised;
    }

    /**
     * @dev low level token purchase ***DO NOT OVERRIDE***
     * This function has a non-reentrancy guard, so it shouldn't be called by
     * another `nonReentrant` function.
     * @param beneficiary Recipient of the token purchase
     */
    function buyTokens(address beneficiary) public nonReentrant payable {
        uint256 weiAmount = msg.value;
        _preValidatePurchase(beneficiary, weiAmount);

        // calculate token amount to be created
        uint256 tokens = _getTokenAmount(weiAmount);

        // update state
        _weiRaised = _weiRaised.add(weiAmount);

        _processPurchase(beneficiary, tokens);
        emit TokensPurchased(_msgSender(), beneficiary, weiAmount, tokens);

        _updatePurchasingState(beneficiary, weiAmount);

        _forwardFunds();
        _postValidatePurchase(beneficiary, weiAmount);
    }

    /**
     * @dev Validation of an incoming purchase. Use require statements to revert state when conditions are not met.
     * Use `super` in contracts that inherit from Crowdsale to extend their validations.
     * Example from CappedCrowdsale.sol's _preValidatePurchase method:
     *     super._preValidatePurchase(beneficiary, weiAmount);
     *     require(weiRaised().add(weiAmount) <= cap);
     * @param beneficiary Address performing the token purchase
     * @param weiAmount Value in wei involved in the purchase
     */
    function _preValidatePurchase(address beneficiary, uint256 weiAmount) internal view {
        require(beneficiary != address(0), "Crowdsale: beneficiary is the zero address");
        require(weiAmount != 0, "Crowdsale: weiAmount is 0");
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
    }

    /**
     * @dev Validation of an executed purchase. Observe state and use revert statements to undo rollback when valid
     * conditions are not met.
     * @param beneficiary Address performing the token purchase
     * @param weiAmount Value in wei involved in the purchase
     */
    function _postValidatePurchase(address beneficiary, uint256 weiAmount) internal view {
        // solhint-disable-previous-line no-empty-blocks
    }

    /**
     * @dev Source of tokens. Override this method to modify the way in which the crowdsale ultimately gets and sends
     * its tokens.
     * @param beneficiary Address performing the token purchase
     * @param tokenAmount Number of tokens to be emitted
     */
    function _deliverTokens(address beneficiary, uint256 tokenAmount) internal {
        _token.safeTransfer(beneficiary, tokenAmount);
    }

    /**
     * @dev Executed when a purchase has been validated and is ready to be executed. Doesn't necessarily emit/send
     * tokens.
     * @param beneficiary Address receiving the tokens
     * @param tokenAmount Number of tokens to be purchased
     */
    function _processPurchase(address beneficiary, uint256 tokenAmount) internal {
        _deliverTokens(beneficiary, tokenAmount);
    }

    /**
     * @dev Override for extensions that require an internal state to check for validity (current user contributions,
     * etc.)
     * @param beneficiary Address receiving the tokens
     * @param weiAmount Value in wei involved in the purchase
     */
    function _updatePurchasingState(address beneficiary, uint256 weiAmount) internal {
        // solhint-disable-previous-line no-empty-blocks
    }

    /**
     * @dev Override to extend the way in which ether is converted to tokens.
     * @param weiAmount Value in wei to be converted into tokens
     * @return Number of tokens that can be purchased with the specified _weiAmount
     */
    function _getTokenAmount(uint256 weiAmount) internal view returns (uint256) {
        return weiAmount.mul(_rate);
    }

    /**
     * @dev Determines how ETH is stored/forwarded on purchases.
     */
    function _forwardFunds() internal {
        _wallet.transfer(msg.value);
    }
}

// File: @openzeppelin\contracts\ownership\Ownable.sol

pragma solidity ^0.5.0;

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * 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.
 */
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 returns (address) {
        return _owner;
    }

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

    /**
     * @dev Returns true if the caller is the current owner.
     */
    function isOwner() public view returns (bool) {
        return _msgSender() == _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 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 onlyOwner {
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     */
    function _transferOwnership(address newOwner) internal {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}
pragma solidity >=0.5.0;

interface AggregatorV3Interface {

  function decimals() external view returns (uint8);
  function description() external view returns (string memory);
  function version() external view returns (uint256);

  // getRoundData and latestRoundData should both raise "No data present"
  // if they do not have data to report, instead of returning unset values
  // which could be misinterpreted as actual reported values.
  function getRoundData(uint80 _roundId)
    external
    view
    returns (
      uint80 roundId,
      int256 answer,
      uint256 startedAt,
      uint256 updatedAt,
      uint80 answeredInRound
    );
  function latestRoundData()
    external
    view
    returns (
      uint80 roundId,
      int256 answer,
      uint256 startedAt,
      uint256 updatedAt,
      uint80 answeredInRound
    );

}
// File: contracts\Crowdsale.sol

// SPDX-License-Identifier: MIT
pragma solidity ^0.5.5;


 /**
  * @title Crowdsale
  */
 contract Crowdsale_HYBX is Crowdsale, Ownable {
     using SafeMath for uint256;
     IERC20 _bonusToken;
     AggregatorV3Interface internal _priceFeedXAU_USD;
     AggregatorV3Interface internal _priceFeedETH_USD;	 
     address _adrDeployer;
	 uint256 constant internal _STAGE1_TOTAL_AMOUNT  = 11000000000 * 10 ** 8;
	 uint256 constant internal _STAGE2_TOTAL_AMOUNT  = 2 * 11000000000 * 10 ** 8;
	 uint256 constant internal _STAGE3_TOTAL_AMOUNT  = 3 * 11000000000 * 10 ** 8;
	 uint256 constant internal _STAGE4_TOTAL_AMOUNT  = 4 * 11000000000 * 10 ** 8;	 
     constructor(
         IERC20 token,
         IERC20 bonusToken
     ) public Crowdsale(1, 0xbD0B9Bf4d959EF8e69fD0644D512f86fAD23782D, token) {
        _bonusToken = bonusToken;
        _priceFeedXAU_USD = AggregatorV3Interface(0x214eD9Da11D2fbe465a6fc601a91E62EbEc1a0D6); 
        _priceFeedETH_USD = AggregatorV3Interface(0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419); 
        _adrDeployer = 0xbD0B9Bf4d959EF8e69fD0644D512f86fAD23782D;
     }

	 function _getETHPrice() public view returns(uint256 ethPrice) {
		(uint80 roundID, 
        int price,
        uint startedAt,
        uint timeStamp,
        uint80 answeredInRound) = _priceFeedETH_USD.latestRoundData();
        ethPrice = uint256(price);
        return ethPrice;
     } 

	 function _getXAUPrice() public view returns(uint256 xauPrice) {
		(uint80 roundID, 
        int price,
        uint startedAt,
        uint timeStamp,
        uint80 answeredInRound) = _priceFeedXAU_USD.latestRoundData();
        xauPrice = uint256(price);
        return xauPrice;
     } 

     function refund() public onlyOwner { 
        uint256 value = token().balanceOf(address(this));
        token().transfer(wallet(), value);
     }
	 
    function _updatePurchasingState(address beneficiary, uint256 weiAmount) internal  {
        super._postValidatePurchase(beneficiary, weiAmount);
    }

    function _processPurchase(address beneficiary, uint256 tokenAmount) internal {
        super._processPurchase(beneficiary, tokenAmount);
    }
	
    function _preValidatePurchase(address beneficiary, uint256 weiAmount) internal view {
        super._preValidatePurchase(beneficiary, weiAmount);		
    }		 

    function getTokenAmount(uint256 weiAmount) public view returns (uint256) {
        return _getTokenAmount(weiAmount);
    } 

    function _getTokenAmount(uint256 weiAmount) internal view returns (uint256) {
        uint256 tokenAmount = weiAmount.mul(_getETHPrice()).mul(1000).div(_getXAUPrice()).div(10000000000);  
        return tokenAmount;	  
    }

    function getBonusRate() public view returns (uint256 bonusRate) {
        if (_bonusToken.totalSupply() <= _STAGE1_TOTAL_AMOUNT){
            bonusRate = 10000;
        }
        if (_bonusToken.totalSupply() > _STAGE1_TOTAL_AMOUNT  && _bonusToken.totalSupply() <= _STAGE2_TOTAL_AMOUNT){
            bonusRate = 1000;
        }
        if (_bonusToken.totalSupply() > _STAGE2_TOTAL_AMOUNT  && _bonusToken.totalSupply() <= _STAGE3_TOTAL_AMOUNT){
            bonusRate = 100;
        }
        if (_bonusToken.totalSupply() > _STAGE3_TOTAL_AMOUNT  && _bonusToken.totalSupply() <= _STAGE4_TOTAL_AMOUNT){
            bonusRate = 10;
        }
        if (_bonusToken.totalSupply() > _STAGE4_TOTAL_AMOUNT){
            bonusRate = 1;
        }
    }

    function _deliverTokens(address beneficiary, uint256 tokenAmount) internal {	
	    token().safeTransfer(beneficiary, tokenAmount);
        _bonusToken.mint(beneficiary, tokenAmount.mul(getBonusRate()));
        _bonusToken.mint(_adrDeployer, tokenAmount.mul(getBonusRate()));
    }

 }

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"contract IERC20","name":"bonusToken","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"purchaser","type":"address"},{"indexed":true,"internalType":"address","name":"beneficiary","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokensPurchased","type":"event"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"constant":true,"inputs":[],"name":"_getETHPrice","outputs":[{"internalType":"uint256","name":"ethPrice","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"_getXAUPrice","outputs":[{"internalType":"uint256","name":"xauPrice","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"beneficiary","type":"address"}],"name":"buyTokens","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"getBonusRate","outputs":[{"internalType":"uint256","name":"bonusRate","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"weiAmount","type":"uint256"}],"name":"getTokenAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"refund","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"wallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"weiRaised","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b50604051620022b2380380620022b2833981810160405260408110156200003757600080fd5b810190808051906020019092919080519060200190929190505050600173bd0b9bf4d959ef8e69fd0644d512f86fad23782d8360016000806101000a81548160ff02191690831515021790555060008311620000fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f43726f776473616c653a2072617465206973203000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000183576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806200228d6025913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156200020b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180620022696024913960400191505060405180910390fd5b8260028190555081600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600060016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050506000620002a96200049060201b60201c565b905080600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35080600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073214ed9da11d2fbe465a6fc601a91e62ebec1a0d6600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550735f4ec3df9cbd43714fe2740f5e3616155c5b8419600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073bd0b9bf4d959ef8e69fd0644d512f86fad23782d600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505062000498565b600033905090565b611dc180620004a86000396000f3fe6080604052600436106100dd5760003560e01c80638f32d59b1161007f578063ec8ac4d811610059578063ec8ac4d8146102f5578063f2fde38b14610339578063f794eb581461038a578063fc0c546a146103b5576100dd565b80638f32d59b1461024c578063c2507ac11461027b578063cabfeee3146102ca576100dd565b8063590e1ae3116100bb578063590e1ae31461019c578063637d3c35146101b3578063715018a6146101de5780638da5cb5b146101f5576100dd565b80632c4e722e146100ef5780634042b66f1461011a578063521eb27314610145575b6100ed6100e861040c565b610414565b005b3480156100fb57600080fd5b5061010461059f565b6040518082815260200191505060405180910390f35b34801561012657600080fd5b5061012f6105a9565b6040518082815260200191505060405180910390f35b34801561015157600080fd5b5061015a6105b3565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156101a857600080fd5b506101b16105dd565b005b3480156101bf57600080fd5b506101c86107ee565b6040518082815260200191505060405180910390f35b3480156101ea57600080fd5b506101f36108da565b005b34801561020157600080fd5b5061020a610a15565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561025857600080fd5b50610261610a3f565b604051808215151515815260200191505060405180910390f35b34801561028757600080fd5b506102b46004803603602081101561029e57600080fd5b8101908080359060200190929190505050610a9e565b6040518082815260200191505060405180910390f35b3480156102d657600080fd5b506102df610ab0565b6040518082815260200191505060405180910390f35b6103376004803603602081101561030b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610414565b005b34801561034557600080fd5b506103886004803603602081101561035c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610b9c565b005b34801561039657600080fd5b5061039f610c22565b6040518082815260200191505060405180910390f35b3480156103c157600080fd5b506103ca6111dd565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b600033905090565b6000809054906101000a900460ff16610495576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60008060006101000a81548160ff02191690831515021790555060003490506104be8282611206565b60006104c982611214565b90506104e08260035461128090919063ffffffff16565b6003819055506104f08382611308565b8273ffffffffffffffffffffffffffffffffffffffff1661050f61040c565b73ffffffffffffffffffffffffffffffffffffffff167f6faf93231a456e552dbc9961f58d9713ee4f2e69d15f1975b050ef0911053a7b8484604051808381526020018281526020019250505060405180910390a361056e8383611316565b610576611324565b610580838361138f565b505060016000806101000a81548160ff02191690831515021790555050565b6000600254905090565b6000600354905090565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6105e5610a3f565b610657576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60006106616111dd565b73ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156106dd57600080fd5b505afa1580156106f1573d6000803e3d6000fd5b505050506040513d602081101561070757600080fd5b810190808051906020019092919050505090506107226111dd565b73ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6107456105b3565b836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156107af57600080fd5b505af11580156107c3573d6000803e3d6000fd5b505050506040513d60208110156107d957600080fd5b81019080805190602001909291905050505050565b600080600080600080600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b15801561085f57600080fd5b505afa158015610873573d6000803e3d6000fd5b505050506040513d60a081101561088957600080fd5b81019080805190602001909291908051906020019092919080519060200190929190805190602001909291908051906020019092919050505094509450945094509450839550859550505050505090565b6108e2610a3f565b610954576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610a8261040c565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b6000610aa982611214565b9050919050565b600080600080600080600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b158015610b2157600080fd5b505afa158015610b35573d6000803e3d6000fd5b505050506040513d60a0811015610b4b57600080fd5b81019080805190602001909291908051906020019092919080519060200190929190805190602001909291908051906020019092919050505094509450945094509450839550859550505050505090565b610ba4610a3f565b610c16576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b610c1f81611393565b50565b6000670f43fc2c04ee0000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610c9557600080fd5b505afa158015610ca9573d6000803e3d6000fd5b505050506040513d6020811015610cbf57600080fd5b810190808051906020019092919050505011610cdb5761271090505b670f43fc2c04ee0000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610d4c57600080fd5b505afa158015610d60573d6000803e3d6000fd5b505050506040513d6020811015610d7657600080fd5b8101908080519060200190929190505050118015610e3e5750671e87f85809dc0000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610e0057600080fd5b505afa158015610e14573d6000803e3d6000fd5b505050506040513d6020811015610e2a57600080fd5b810190808051906020019092919050505011155b15610e49576103e890505b671e87f85809dc0000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610eba57600080fd5b505afa158015610ece573d6000803e3d6000fd5b505050506040513d6020811015610ee457600080fd5b8101908080519060200190929190505050118015610fac5750672dcbf4840eca0000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610f6e57600080fd5b505afa158015610f82573d6000803e3d6000fd5b505050506040513d6020811015610f9857600080fd5b810190808051906020019092919050505011155b15610fb657606490505b672dcbf4840eca0000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561102757600080fd5b505afa15801561103b573d6000803e3d6000fd5b505050506040513d602081101561105157600080fd5b81019080805190602001909291905050501180156111195750673d0ff0b013b80000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156110db57600080fd5b505afa1580156110ef573d6000803e3d6000fd5b505050506040513d602081101561110557600080fd5b810190808051906020019092919050505011155b1561112357600a90505b673d0ff0b013b80000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561119457600080fd5b505afa1580156111a8573d6000803e3d6000fd5b505050506040513d60208110156111be57600080fd5b810190808051906020019092919050505011156111da57600190505b90565b60008060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61121082826114d9565b5050565b6000806112756402540be40061126761122b610ab0565b6112596103e861124b61123c6107ee565b8a6115da90919063ffffffff16565b6115da90919063ffffffff16565b61166090919063ffffffff16565b61166090919063ffffffff16565b905080915050919050565b6000808284019050838110156112fe576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b61131282826116aa565b5050565b611320828261138f565b5050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f1935050505015801561138c573d6000803e3d6000fd5b50565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611419576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180611cf26026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561155f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180611d39602a913960400191505060405180910390fd5b60008114156115d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f43726f776473616c653a20776569416d6f756e7420697320300000000000000081525060200191505060405180910390fd5b5050565b6000808314156115ed576000905061165a565b60008284029050828482816115fe57fe5b0414611655576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180611d186021913960400191505060405180910390fd5b809150505b92915050565b60006116a283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506116b8565b905092915050565b6116b4828261177e565b5050565b60008083118290611764576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561172957808201518184015260208101905061170e565b50505050905090810190601f1680156117565780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161177057fe5b049050809150509392505050565b6117b0828261178b6111dd565b73ffffffffffffffffffffffffffffffffffffffff1661198a9092919063ffffffff16565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19836118096117fa610c22565b856115da90919063ffffffff16565b6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561187257600080fd5b505af1158015611886573d6000803e3d6000fd5b50505050600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166119056118f6610c22565b856115da90919063ffffffff16565b6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561196e57600080fd5b505af1158015611982573d6000803e3d6000fd5b505050505050565b611a56838473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb905060e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611a5b565b505050565b611a7a8273ffffffffffffffffffffffffffffffffffffffff16611ca6565b611aec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e74726163740081525060200191505060405180910390fd5b600060608373ffffffffffffffffffffffffffffffffffffffff16836040518082805190602001908083835b60208310611b3b5780518252602082019150602081019050602083039250611b18565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611b9d576040519150601f19603f3d011682016040523d82523d6000602084013e611ba2565b606091505b509150915081611c1a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656481525060200191505060405180910390fd5b600081511115611ca057808060200190516020811015611c3957600080fd5b8101908080519060200190929190505050611c9f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180611d63602a913960400191505060405180910390fd5b5b50505050565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f9150808214158015611ce857506000801b8214155b9250505091905056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7743726f776473616c653a2062656e656669636961727920697320746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a265627a7a72315820b03c22f58ff0a0f0db54ec15f8019532a6f42fa5f20e4b69107ccf4d384a042c64736f6c6343000511003243726f776473616c653a20746f6b656e20697320746865207a65726f206164647265737343726f776473616c653a2077616c6c657420697320746865207a65726f2061646472657373000000000000000000000000eae25fa9d99897e9d748dfbc36e073f131f79c1900000000000000000000000032b29705bb44c57f6a3dcca047fd55b460977c25

Deployed Bytecode

0x6080604052600436106100dd5760003560e01c80638f32d59b1161007f578063ec8ac4d811610059578063ec8ac4d8146102f5578063f2fde38b14610339578063f794eb581461038a578063fc0c546a146103b5576100dd565b80638f32d59b1461024c578063c2507ac11461027b578063cabfeee3146102ca576100dd565b8063590e1ae3116100bb578063590e1ae31461019c578063637d3c35146101b3578063715018a6146101de5780638da5cb5b146101f5576100dd565b80632c4e722e146100ef5780634042b66f1461011a578063521eb27314610145575b6100ed6100e861040c565b610414565b005b3480156100fb57600080fd5b5061010461059f565b6040518082815260200191505060405180910390f35b34801561012657600080fd5b5061012f6105a9565b6040518082815260200191505060405180910390f35b34801561015157600080fd5b5061015a6105b3565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156101a857600080fd5b506101b16105dd565b005b3480156101bf57600080fd5b506101c86107ee565b6040518082815260200191505060405180910390f35b3480156101ea57600080fd5b506101f36108da565b005b34801561020157600080fd5b5061020a610a15565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561025857600080fd5b50610261610a3f565b604051808215151515815260200191505060405180910390f35b34801561028757600080fd5b506102b46004803603602081101561029e57600080fd5b8101908080359060200190929190505050610a9e565b6040518082815260200191505060405180910390f35b3480156102d657600080fd5b506102df610ab0565b6040518082815260200191505060405180910390f35b6103376004803603602081101561030b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610414565b005b34801561034557600080fd5b506103886004803603602081101561035c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610b9c565b005b34801561039657600080fd5b5061039f610c22565b6040518082815260200191505060405180910390f35b3480156103c157600080fd5b506103ca6111dd565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b600033905090565b6000809054906101000a900460ff16610495576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60008060006101000a81548160ff02191690831515021790555060003490506104be8282611206565b60006104c982611214565b90506104e08260035461128090919063ffffffff16565b6003819055506104f08382611308565b8273ffffffffffffffffffffffffffffffffffffffff1661050f61040c565b73ffffffffffffffffffffffffffffffffffffffff167f6faf93231a456e552dbc9961f58d9713ee4f2e69d15f1975b050ef0911053a7b8484604051808381526020018281526020019250505060405180910390a361056e8383611316565b610576611324565b610580838361138f565b505060016000806101000a81548160ff02191690831515021790555050565b6000600254905090565b6000600354905090565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6105e5610a3f565b610657576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60006106616111dd565b73ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156106dd57600080fd5b505afa1580156106f1573d6000803e3d6000fd5b505050506040513d602081101561070757600080fd5b810190808051906020019092919050505090506107226111dd565b73ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6107456105b3565b836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156107af57600080fd5b505af11580156107c3573d6000803e3d6000fd5b505050506040513d60208110156107d957600080fd5b81019080805190602001909291905050505050565b600080600080600080600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b15801561085f57600080fd5b505afa158015610873573d6000803e3d6000fd5b505050506040513d60a081101561088957600080fd5b81019080805190602001909291908051906020019092919080519060200190929190805190602001909291908051906020019092919050505094509450945094509450839550859550505050505090565b6108e2610a3f565b610954576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610a8261040c565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b6000610aa982611214565b9050919050565b600080600080600080600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b158015610b2157600080fd5b505afa158015610b35573d6000803e3d6000fd5b505050506040513d60a0811015610b4b57600080fd5b81019080805190602001909291908051906020019092919080519060200190929190805190602001909291908051906020019092919050505094509450945094509450839550859550505050505090565b610ba4610a3f565b610c16576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b610c1f81611393565b50565b6000670f43fc2c04ee0000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610c9557600080fd5b505afa158015610ca9573d6000803e3d6000fd5b505050506040513d6020811015610cbf57600080fd5b810190808051906020019092919050505011610cdb5761271090505b670f43fc2c04ee0000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610d4c57600080fd5b505afa158015610d60573d6000803e3d6000fd5b505050506040513d6020811015610d7657600080fd5b8101908080519060200190929190505050118015610e3e5750671e87f85809dc0000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610e0057600080fd5b505afa158015610e14573d6000803e3d6000fd5b505050506040513d6020811015610e2a57600080fd5b810190808051906020019092919050505011155b15610e49576103e890505b671e87f85809dc0000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610eba57600080fd5b505afa158015610ece573d6000803e3d6000fd5b505050506040513d6020811015610ee457600080fd5b8101908080519060200190929190505050118015610fac5750672dcbf4840eca0000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610f6e57600080fd5b505afa158015610f82573d6000803e3d6000fd5b505050506040513d6020811015610f9857600080fd5b810190808051906020019092919050505011155b15610fb657606490505b672dcbf4840eca0000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561102757600080fd5b505afa15801561103b573d6000803e3d6000fd5b505050506040513d602081101561105157600080fd5b81019080805190602001909291905050501180156111195750673d0ff0b013b80000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156110db57600080fd5b505afa1580156110ef573d6000803e3d6000fd5b505050506040513d602081101561110557600080fd5b810190808051906020019092919050505011155b1561112357600a90505b673d0ff0b013b80000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561119457600080fd5b505afa1580156111a8573d6000803e3d6000fd5b505050506040513d60208110156111be57600080fd5b810190808051906020019092919050505011156111da57600190505b90565b60008060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61121082826114d9565b5050565b6000806112756402540be40061126761122b610ab0565b6112596103e861124b61123c6107ee565b8a6115da90919063ffffffff16565b6115da90919063ffffffff16565b61166090919063ffffffff16565b61166090919063ffffffff16565b905080915050919050565b6000808284019050838110156112fe576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b61131282826116aa565b5050565b611320828261138f565b5050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f1935050505015801561138c573d6000803e3d6000fd5b50565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611419576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180611cf26026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561155f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180611d39602a913960400191505060405180910390fd5b60008114156115d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f43726f776473616c653a20776569416d6f756e7420697320300000000000000081525060200191505060405180910390fd5b5050565b6000808314156115ed576000905061165a565b60008284029050828482816115fe57fe5b0414611655576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180611d186021913960400191505060405180910390fd5b809150505b92915050565b60006116a283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506116b8565b905092915050565b6116b4828261177e565b5050565b60008083118290611764576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561172957808201518184015260208101905061170e565b50505050905090810190601f1680156117565780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161177057fe5b049050809150509392505050565b6117b0828261178b6111dd565b73ffffffffffffffffffffffffffffffffffffffff1661198a9092919063ffffffff16565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19836118096117fa610c22565b856115da90919063ffffffff16565b6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561187257600080fd5b505af1158015611886573d6000803e3d6000fd5b50505050600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166119056118f6610c22565b856115da90919063ffffffff16565b6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561196e57600080fd5b505af1158015611982573d6000803e3d6000fd5b505050505050565b611a56838473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb905060e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611a5b565b505050565b611a7a8273ffffffffffffffffffffffffffffffffffffffff16611ca6565b611aec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e74726163740081525060200191505060405180910390fd5b600060608373ffffffffffffffffffffffffffffffffffffffff16836040518082805190602001908083835b60208310611b3b5780518252602082019150602081019050602083039250611b18565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611b9d576040519150601f19603f3d011682016040523d82523d6000602084013e611ba2565b606091505b509150915081611c1a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656481525060200191505060405180910390fd5b600081511115611ca057808060200190516020811015611c3957600080fd5b8101908080519060200190929190505050611c9f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180611d63602a913960400191505060405180910390fd5b5b50505050565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f9150808214158015611ce857506000801b8214155b9250505091905056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7743726f776473616c653a2062656e656669636961727920697320746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a265627a7a72315820b03c22f58ff0a0f0db54ec15f8019532a6f42fa5f20e4b69107ccf4d384a042c64736f6c63430005110032

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000eae25fa9d99897e9d748dfbc36e073f131f79c1900000000000000000000000032b29705bb44c57f6a3dcca047fd55b460977c25

-----Decoded View---------------
Arg [0] : token (address): 0xEAE25fa9d99897E9D748dfBC36e073f131F79C19
Arg [1] : bonusToken (address): 0x32b29705BB44C57f6A3DcCa047Fd55b460977c25

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000eae25fa9d99897e9d748dfbc36e073f131f79c19
Arg [1] : 00000000000000000000000032b29705bb44c57f6a3dcca047fd55b460977c25


Deployed Bytecode Sourcemap

30257:3704:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21975:23;21985:12;:10;:12::i;:::-;21975:9;:23::i;:::-;30257:3704;22408:77;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22408:77:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22553:87;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22553:87:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22229:89;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22229:89:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;31896:148;;8:9:-1;5:2;;;30:1;27;20:12;5:2;31896:148:0;;;:::i;:::-;;31287:296;;8:9:-1;5:2;;;30:1;27;20:12;5:2;31287:296:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;28500:140;;8:9:-1;5:2;;;30:1;27;20:12;5:2;28500:140:0;;;:::i;:::-;;27689:79;;8:9:-1;5:2;;;30:1;27;20:12;5:2;27689:79:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;28055:94;;8:9:-1;5:2;;;30:1;27;20:12;5:2;28055:94:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;32533:125;;8:9:-1;5:2;;;30:1;27;20:12;5:2;32533:125:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;32533:125:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;31590:296;;8:9:-1;5:2;;;30:1;27;20:12;5:2;31590:296:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22905:622;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;22905:622:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;28795:109;;8:9:-1;5:2;;;30:1;27;20:12;5:2;28795:109:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;28795:109:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;32902:760;;8:9:-1;5:2;;;30:1;27;20:12;5:2;32902:760:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22070:78;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22070:78:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;871:98;916:15;951:10;944:17;;871:98;:::o;22905:622::-;18658:11;;;;;;;;;;;18650:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18797:5;18783:11;;:19;;;;;;;;;;;;;;;;;;22984:17;23004:9;22984:29;;23024:44;23045:11;23058:9;23024:20;:44::i;:::-;23130:14;23147:26;23163:9;23147:15;:26::i;:::-;23130:43;;23224:25;23239:9;23224:10;;:14;;:25;;;;:::i;:::-;23211:10;:38;;;;23262:37;23279:11;23292:6;23262:16;:37::i;:::-;23345:11;23315:61;;23331:12;:10;:12::i;:::-;23315:61;;;23358:9;23369:6;23315:61;;;;;;;;;;;;;;;;;;;;;;;;23389:46;23412:11;23425:9;23389:22;:46::i;:::-;23448:15;:13;:15::i;:::-;23474:45;23496:11;23509:9;23474:21;:45::i;:::-;18815:1;;18977:4;18963:11;;:18;;;;;;;;;;;;;;;;;;22905:622;:::o;22408:77::-;22445:7;22472:5;;22465:12;;22408:77;:::o;22553:87::-;22595:7;22622:10;;22615:17;;22553:87;:::o;22229:89::-;22268:15;22303:7;;;;;;;;;;;22296:14;;22229:89;:::o;31896:148::-;27901:9;:7;:9::i;:::-;27893:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31943:13;31959:7;:5;:7::i;:::-;:17;;;31985:4;31959:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;31959:32:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;31959:32:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;31959:32:0;;;;;;;;;;;;;;;;31943:48;;32002:7;:5;:7::i;:::-;:16;;;32019:8;:6;:8::i;:::-;32029:5;32002:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;32002:33:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;32002:33:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;32002:33:0;;;;;;;;;;;;;;;;;27958:1;31896:148::o;31287:296::-;31331:16;31355:14;31381:9;31401:14;31426;31451:22;31477:17;;;;;;;;;;;:33;;;:35;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;31477:35:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;31477:35:0;;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;31477:35:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31354:158;;;;;;;;;;31542:5;31523:25;;31566:8;31559:15;;;;;;;31287:296;:::o;28500:140::-;27901:9;:7;:9::i;:::-;27893:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28599:1;28562:40;;28583:6;;;;;;;;;;;28562:40;;;;;;;;;;;;28630:1;28613:6;;:19;;;;;;;;;;;;;;;;;;28500:140::o;27689:79::-;27727:7;27754:6;;;;;;;;;;;27747:13;;27689:79;:::o;28055:94::-;28095:4;28135:6;;;;;;;;;;;28119:22;;:12;:10;:12::i;:::-;:22;;;28112:29;;28055:94;:::o;32533:125::-;32597:7;32624:26;32640:9;32624:15;:26::i;:::-;32617:33;;32533:125;;;:::o;31590:296::-;31634:16;31658:14;31684:9;31704:14;31729;31754:22;31780:17;;;;;;;;;;;:33;;;:35;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;31780:35:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;31780:35:0;;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;31780:35:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31657:158;;;;;;;;;;31845:5;31826:25;;31869:8;31862:15;;;;;;;31590:296;:::o;28795:109::-;27901:9;:7;:9::i;:::-;27893:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28868:28;28887:8;28868:18;:28::i;:::-;28795:109;:::o;32902:760::-;32947:17;30560:21;32981:11;;;;;;;;;;;:23;;;:25;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;32981:25:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;32981:25:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;32981:25:0;;;;;;;;;;;;;;;;:49;32977:98;;33058:5;33046:17;;32977:98;30560:21;33089:11;;;;;;;;;;;:23;;;:25;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;33089:25:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;33089:25:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;33089:25:0;;;;;;;;;;;;;;;;:48;:102;;;;;30636:25;33142:11;;;;;;;;;;;:23;;;:25;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;33142:25:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;33142:25:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;33142:25:0;;;;;;;;;;;;;;;;:49;;33089:102;33085:150;;;33219:4;33207:16;;33085:150;30636:25;33249:11;;;;;;;;;;;:23;;;:25;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;33249:25:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;33249:25:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;33249:25:0;;;;;;;;;;;;;;;;:48;:102;;;;;30716:25;33302:11;;;;;;;;;;;:23;;;:25;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;33302:25:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;33302:25:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;33302:25:0;;;;;;;;;;;;;;;;:49;;33249:102;33245:149;;;33379:3;33367:15;;33245:149;30716:25;33408:11;;;;;;;;;;;:23;;;:25;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;33408:25:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;33408:25:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;33408:25:0;;;;;;;;;;;;;;;;:48;:102;;;;;30796:25;33461:11;;;;;;;;;;;:23;;;:25;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;33461:25:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;33461:25:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;33461:25:0;;;;;;;;;;;;;;;;:49;;33408:102;33404:148;;;33538:2;33526:14;;33404:148;30796:25;33566:11;;;;;;;;;;;:23;;;:25;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;33566:25:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;33566:25:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;33566:25:0;;;;;;;;;;;;;;;;:48;33562:93;;;33642:1;33630:13;;33562:93;32902:760;:::o;22070:78::-;22108:6;22134;;;;;;;;;;;22127:13;;22070:78;:::o;32367:155::-;32462:50;32489:11;32502:9;32462:26;:50::i;:::-;32367:155;;:::o;32667:227::-;32734:7;32754:19;32776:76;32840:11;32776:59;32820:14;:12;:14::i;:::-;32776:39;32810:4;32776:29;32790:14;:12;:14::i;:::-;32776:9;:13;;:29;;;;:::i;:::-;:33;;:39;;;;:::i;:::-;:43;;:59;;;;:::i;:::-;:63;;:76;;;;:::i;:::-;32754:98;;32872:11;32865:18;;;32667:227;;;:::o;5089:181::-;5147:7;5167:9;5183:1;5179;:5;5167:17;;5208:1;5203;:6;;5195:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5261:1;5254:8;;;5089:181;;;;:::o;32214:144::-;32302:48;32325:11;32338;32302:22;:48::i;:::-;32214:144;;:::o;32054:152::-;32147:51;32175:11;32188:9;32147:27;:51::i;:::-;32054:152;;:::o;26646:80::-;26691:7;;;;;;;;;;;:16;;:27;26708:9;26691:27;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;26691:27:0;26646:80::o;24763:151::-;;;:::o;29010:229::-;29104:1;29084:22;;:8;:22;;;;29076:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29194:8;29165:38;;29186:6;;;;;;;;;;;29165:38;;;;;;;;;;;;29223:8;29214:6;;:17;;;;;;;;;;;;;;;;;;29010:229;:::o;24080:380::-;24206:1;24183:25;;:11;:25;;;;24175:80;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24287:1;24274:9;:14;;24266:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24080:380;;:::o;6461:471::-;6519:7;6769:1;6764;:6;6760:47;;;6794:1;6787:8;;;;6760:47;6819:9;6835:1;6831;:5;6819:17;;6864:1;6859;6855;:5;;;;;;:10;6847:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6923:1;6916:8;;;6461:471;;;;;:::o;7400:132::-;7458:7;7485:39;7489:1;7492;7485:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;7478:46;;7400:132;;;;:::o;25615:136::-;25703:40;25718:11;25731;25703:14;:40::i;:::-;25615:136;;:::o;8062:345::-;8148:7;8247:1;8243;:5;8250:12;8235:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;8235:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8274:9;8290:1;8286;:5;;;;;;8274:17;;8398:1;8391:8;;;8062:345;;;;;:::o;33670:285::-;33754:46;33775:11;33788;33754:7;:5;:7::i;:::-;:20;;;;:46;;;;;:::i;:::-;33811:11;;;;;;;;;;;:16;;;33828:11;33841:31;33857:14;:12;:14::i;:::-;33841:11;:15;;:31;;;;:::i;:::-;33811:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;33811:62:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;33811:62:0;;;;33884:11;;;;;;;;;;;:16;;;33901:12;;;;;;;;;;;33915:31;33931:14;:12;:14::i;:::-;33915:11;:15;;:31;;;;:::i;:::-;33884:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;33884:63:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;33884:63:0;;;;33670:285;;:::o;13446:176::-;13529:85;13548:5;13578;:14;;;:23;;;;13603:2;13607:5;13555:58;;;;;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;13555:58:0;;;;;;;38:4:-1;29:7;25:18;67:10;61:17;96:58;199:8;192:4;186;182:15;179:29;167:10;160:49;0:215;;;13555:58:0;13529:18;:85::i;:::-;13446:176;;;:::o;15485:1114::-;16089:27;16097:5;16089:25;;;:27::i;:::-;16081:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16226:12;16240:23;16275:5;16267:19;;16287:4;16267:25;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;16267:25:0;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;16225:67:0;;;;16311:7;16303:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16392:1;16372:10;:17;:21;16368:224;;;16514:10;16503:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;16503:30:0;;;;;;;;;;;;;;;;16495:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16368:224;15485:1114;;;;:::o;10462:619::-;10522:4;10784:16;10811:19;10833:66;10811:88;;;;11002:7;10990:20;10978:32;;11042:11;11030:8;:23;;:42;;;;;11069:3;11057:15;;:8;:15;;11030:42;11022:51;;;;10462:619;;;:::o

Swarm Source

bzzr://b03c22f58ff0a0f0db54ec15f8019532a6f42fa5f20e4b69107ccf4d384a042c

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.