ETH Price: $3,191.65 (+2.41%)
Gas: 2 Gwei

Contract

0x022D456108b57777383443359c91FaF446Be9430
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
0x60806040178680662023-08-08 5:17:59340 days ago1691471879IN
 Create: HONO
0 ETH0.0408079817.54143129

Advanced mode:
Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
HONO

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : HONO.sol
pragma solidity ^0.8.0;

abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

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

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

library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

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

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

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

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

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

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

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

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

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

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

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

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

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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://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");

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

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

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

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

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

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

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

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

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

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

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

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

interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

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

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

abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

abstract contract Ownable is Context {
    address private _owner;

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

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

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

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions 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 {
        _transferOwnership(address(0));
    }

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

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

interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

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

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

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

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

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

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

library SafeERC20 {
    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));
    }

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

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

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

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

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

interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

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

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

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


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

pragma solidity ^0.8.0;

contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

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

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

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

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

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

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

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

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

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

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

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

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

contract HONO is ERC20("HONO3", "HONO3"), Ownable , ReentrancyGuard{ 

    address public arbitragor;
    constructor() {
        arbitragor = msg.sender;
    }
    event BackPriceUpdate(uint256 HonoPerFancoin,uint256 totalFanCoinSupply, uint256 TotalHonoBacking, uint256 blockTimeStamp, uint256 blockNumber);    

    using SafeERC20 for IERC20;
    using SafeMath for uint256;
    mapping(address => bool) minters;

    function updateArbitragor(address _newArbitragor) external onlyOwner {
        arbitragor = _newArbitragor;
    }
    function updateMinter(address _newMinter, bool mintable) external onlyOwner {
        minters[_newMinter] = mintable;
    }

    function GenesisMint(uint256 _amount) external payable nonReentrant onlyOwner{
        _mint(msg.sender, _amount);
    }


    function mint() external payable nonReentrant {
        require(msg.sender == arbitragor || minters[msg.sender] || msg.sender == owner(), "not minters");
        uint256 honoAmount = ETHToHONO(msg.value);
        _mint(msg.sender, honoAmount);
        emit BackPriceUpdate(HONOToETH(1000000000000000000),totalSupply(), address(this).balance, block.timestamp, block.number);    
    }

    function redeem(uint256 _amount) external nonReentrant {
        require(msg.sender == arbitragor || minters[msg.sender]  || msg.sender == owner(), "not minters");
        uint256 ethOut = HONOToETH(_amount);
        _burn(msg.sender, _amount);
        sendEth(msg.sender, ethOut);
        emit BackPriceUpdate(HONOToETH(1000000000000000000),totalSupply(), address(this).balance, block.timestamp, block.number);  
    }

    function burn(uint256 _amount) external nonReentrant {
        _burn(msg.sender, _amount);
        emit BackPriceUpdate(HONOToETH(1000000000000000000),totalSupply(), address(this).balance, block.timestamp, block.number);  
    }

    function HONOToETH(uint256 value) public view returns (uint256) {
        return (value * address(this).balance) / totalSupply();
    }

    function ETHToHONO(uint256 value) public view returns (uint256) {
        return (value * totalSupply()) / (address(this).balance - value);
    }
    
    function deposit() public payable {
        emit BackPriceUpdate(HONOToETH(1000000000000000000),totalSupply(), address(this).balance, block.timestamp, block.number);    
    }

    function sendEth(address _address, uint256 _value) internal {
        (bool success, ) = _address.call{value: _value}("");
        require(success, "ETH Transfer failed.");
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"HonoPerFancoin","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalFanCoinSupply","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"TotalHonoBacking","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"blockTimeStamp","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"BackPriceUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"ETHToHONO","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"GenesisMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"HONOToETH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"arbitragor","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deposit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"redeem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newArbitragor","type":"address"}],"name":"updateArbitragor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newMinter","type":"address"},{"internalType":"bool","name":"mintable","type":"bool"}],"name":"updateMinter","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040518060400160405280600581526020017f484f4e4f330000000000000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f484f4e4f3300000000000000000000000000000000000000000000000000000081525081600390816200008f91906200045b565b508060049081620000a191906200045b565b505050620000c4620000b86200011360201b60201c565b6200011b60201b60201c565b600160068190555033600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555062000542565b600033905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200026357607f821691505b6020821081036200027957620002786200021b565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620002e37fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620002a4565b620002ef8683620002a4565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b60006200033c62000336620003308462000307565b62000311565b62000307565b9050919050565b6000819050919050565b62000358836200031b565b62000370620003678262000343565b848454620002b1565b825550505050565b600090565b6200038762000378565b620003948184846200034d565b505050565b5b81811015620003bc57620003b06000826200037d565b6001810190506200039a565b5050565b601f8211156200040b57620003d5816200027f565b620003e08462000294565b81016020851015620003f0578190505b62000408620003ff8562000294565b83018262000399565b50505b505050565b600082821c905092915050565b6000620004306000198460080262000410565b1980831691505092915050565b60006200044b83836200041d565b9150826002028217905092915050565b6200046682620001e1565b67ffffffffffffffff811115620004825762000481620001ec565b5b6200048e82546200024a565b6200049b828285620003c0565b600060209050601f831160018114620004d35760008415620004be578287015190505b620004ca85826200043d565b8655506200053a565b601f198416620004e3866200027f565b60005b828110156200050d57848901518255600182019150602085019450602081019050620004e6565b868310156200052d578489015162000529601f8916826200041d565b8355505b6001600288020188555050505b505050505050565b6126e580620005526000396000f3fe60806040526004361061014b5760003560e01c80636a53a7bf116100b6578063a457c2d71161006f578063a457c2d714610478578063a9059cbb146104b5578063d0e30db0146104f2578063db006a75146104fc578063dd62ed3e14610525578063f2fde38b146105625761014b565b80636a53a7bf1461037557806370a08231146103b2578063715018a6146103ef57806373ed7535146104065780638da5cb5b1461042257806395d89b411461044d5761014b565b8063313ce56711610108578063313ce567146102675780633323739d1461029257806339509351146102bd57806342966c68146102fa57806343620e7114610323578063577322471461034c5761014b565b8063025da47e1461015057806306fdde031461018d578063095ea7b3146101b85780631249c58b146101f557806318160ddd146101ff57806323b872dd1461022a575b600080fd5b34801561015c57600080fd5b5061017760048036038101906101729190611969565b61058b565b60405161018491906119a5565b60405180910390f35b34801561019957600080fd5b506101a26105b2565b6040516101af9190611a50565b60405180910390f35b3480156101c457600080fd5b506101df60048036038101906101da9190611ad0565b610644565b6040516101ec9190611b2b565b60405180910390f35b6101fd610667565b005b34801561020b57600080fd5b50610214610808565b60405161022191906119a5565b60405180910390f35b34801561023657600080fd5b50610251600480360381019061024c9190611b46565b610812565b60405161025e9190611b2b565b60405180910390f35b34801561027357600080fd5b5061027c610841565b6040516102899190611bb5565b60405180910390f35b34801561029e57600080fd5b506102a761084a565b6040516102b49190611bdf565b60405180910390f35b3480156102c957600080fd5b506102e460048036038101906102df9190611ad0565b610870565b6040516102f19190611b2b565b60405180910390f35b34801561030657600080fd5b50610321600480360381019061031c9190611969565b6108a7565b005b34801561032f57600080fd5b5061034a60048036038101906103459190611c26565b61091a565b005b34801561035857600080fd5b50610373600480360381019061036e9190611c66565b61097d565b005b34801561038157600080fd5b5061039c60048036038101906103979190611969565b6109c9565b6040516103a991906119a5565b60405180910390f35b3480156103be57600080fd5b506103d960048036038101906103d49190611c66565b6109fb565b6040516103e691906119a5565b60405180910390f35b3480156103fb57600080fd5b50610404610a43565b005b610420600480360381019061041b9190611969565b610a57565b005b34801561042e57600080fd5b50610437610a7c565b6040516104449190611bdf565b60405180910390f35b34801561045957600080fd5b50610462610aa6565b60405161046f9190611a50565b60405180910390f35b34801561048457600080fd5b5061049f600480360381019061049a9190611ad0565b610b38565b6040516104ac9190611b2b565b60405180910390f35b3480156104c157600080fd5b506104dc60048036038101906104d79190611ad0565b610baf565b6040516104e99190611b2b565b60405180910390f35b6104fa610bd2565b005b34801561050857600080fd5b50610523600480360381019061051e9190611969565b610c2a565b005b34801561053157600080fd5b5061054c60048036038101906105479190611c93565b610dd6565b60405161055991906119a5565b60405180910390f35b34801561056e57600080fd5b5061058960048036038101906105849190611c66565b610e5d565b005b6000610595610808565b47836105a19190611d02565b6105ab9190611d73565b9050919050565b6060600380546105c190611dd3565b80601f01602080910402602001604051908101604052809291908181526020018280546105ed90611dd3565b801561063a5780601f1061060f5761010080835404028352916020019161063a565b820191906000526020600020905b81548152906001019060200180831161061d57829003601f168201915b5050505050905090565b60008061064f610ee0565b905061065c818585610ee8565b600191505092915050565b61066f6110b1565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806107145750600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b806107515750610722610a7c565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610790576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078790611e50565b60405180910390fd5b600061079b346109c9565b90506107a73382611100565b7f616cb05a05f3a9bd3f361c48502cd069e6f32cd4a1ea079748f336a93ff4c03c6107d9670de0b6b3a764000061058b565b6107e1610808565b4742436040516107f5959493929190611e70565b60405180910390a150610806611256565b565b6000600254905090565b60008061081d610ee0565b905061082a858285611260565b6108358585856112ec565b60019150509392505050565b60006012905090565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008061087b610ee0565b905061089c81858561088d8589610dd6565b6108979190611ec3565b610ee8565b600191505092915050565b6108af6110b1565b6108b93382611562565b7f616cb05a05f3a9bd3f361c48502cd069e6f32cd4a1ea079748f336a93ff4c03c6108eb670de0b6b3a764000061058b565b6108f3610808565b474243604051610907959493929190611e70565b60405180910390a1610917611256565b50565b61092261172f565b80600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b61098561172f565b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600081476109d79190611ef7565b6109df610808565b836109ea9190611d02565b6109f49190611d73565b9050919050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610a4b61172f565b610a5560006117ad565b565b610a5f6110b1565b610a6761172f565b610a713382611100565b610a79611256565b50565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054610ab590611dd3565b80601f0160208091040260200160405190810160405280929190818152602001828054610ae190611dd3565b8015610b2e5780601f10610b0357610100808354040283529160200191610b2e565b820191906000526020600020905b815481529060010190602001808311610b1157829003601f168201915b5050505050905090565b600080610b43610ee0565b90506000610b518286610dd6565b905083811015610b96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8d90611f9d565b60405180910390fd5b610ba38286868403610ee8565b60019250505092915050565b600080610bba610ee0565b9050610bc78185856112ec565b600191505092915050565b7f616cb05a05f3a9bd3f361c48502cd069e6f32cd4a1ea079748f336a93ff4c03c610c04670de0b6b3a764000061058b565b610c0c610808565b474243604051610c20959493929190611e70565b60405180910390a1565b610c326110b1565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610cd75750600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b80610d145750610ce5610a7c565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610d53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4a90611e50565b60405180910390fd5b6000610d5e8261058b565b9050610d6a3383611562565b610d743382611873565b7f616cb05a05f3a9bd3f361c48502cd069e6f32cd4a1ea079748f336a93ff4c03c610da6670de0b6b3a764000061058b565b610dae610808565b474243604051610dc2959493929190611e70565b60405180910390a150610dd3611256565b50565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610e6561172f565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610ed4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ecb9061202f565b60405180910390fd5b610edd816117ad565b50565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610f57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4e906120c1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610fc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbd90612153565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516110a491906119a5565b60405180910390a3505050565b6002600654036110f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ed906121bf565b60405180910390fd5b6002600681905550565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361116f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111669061222b565b60405180910390fd5b61117b60008383611924565b806002600082825461118d9190611ec3565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161123e91906119a5565b60405180910390a361125260008383611929565b5050565b6001600681905550565b600061126c8484610dd6565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146112e657818110156112d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112cf90612297565b60405180910390fd5b6112e58484848403610ee8565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361135b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135290612329565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036113ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c1906123bb565b60405180910390fd5b6113d5838383611924565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561145b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114529061244d565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161154991906119a5565b60405180910390a361155c848484611929565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036115d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c8906124df565b60405180910390fd5b6115dd82600083611924565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611663576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165a90612571565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161171691906119a5565b60405180910390a361172a83600084611929565b505050565b611737610ee0565b73ffffffffffffffffffffffffffffffffffffffff16611755610a7c565b73ffffffffffffffffffffffffffffffffffffffff16146117ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a2906125dd565b60405180910390fd5b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008273ffffffffffffffffffffffffffffffffffffffff16826040516118999061262e565b60006040518083038185875af1925050503d80600081146118d6576040519150601f19603f3d011682016040523d82523d6000602084013e6118db565b606091505b505090508061191f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119169061268f565b60405180910390fd5b505050565b505050565b505050565b600080fd5b6000819050919050565b61194681611933565b811461195157600080fd5b50565b6000813590506119638161193d565b92915050565b60006020828403121561197f5761197e61192e565b5b600061198d84828501611954565b91505092915050565b61199f81611933565b82525050565b60006020820190506119ba6000830184611996565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156119fa5780820151818401526020810190506119df565b60008484015250505050565b6000601f19601f8301169050919050565b6000611a22826119c0565b611a2c81856119cb565b9350611a3c8185602086016119dc565b611a4581611a06565b840191505092915050565b60006020820190508181036000830152611a6a8184611a17565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611a9d82611a72565b9050919050565b611aad81611a92565b8114611ab857600080fd5b50565b600081359050611aca81611aa4565b92915050565b60008060408385031215611ae757611ae661192e565b5b6000611af585828601611abb565b9250506020611b0685828601611954565b9150509250929050565b60008115159050919050565b611b2581611b10565b82525050565b6000602082019050611b406000830184611b1c565b92915050565b600080600060608486031215611b5f57611b5e61192e565b5b6000611b6d86828701611abb565b9350506020611b7e86828701611abb565b9250506040611b8f86828701611954565b9150509250925092565b600060ff82169050919050565b611baf81611b99565b82525050565b6000602082019050611bca6000830184611ba6565b92915050565b611bd981611a92565b82525050565b6000602082019050611bf46000830184611bd0565b92915050565b611c0381611b10565b8114611c0e57600080fd5b50565b600081359050611c2081611bfa565b92915050565b60008060408385031215611c3d57611c3c61192e565b5b6000611c4b85828601611abb565b9250506020611c5c85828601611c11565b9150509250929050565b600060208284031215611c7c57611c7b61192e565b5b6000611c8a84828501611abb565b91505092915050565b60008060408385031215611caa57611ca961192e565b5b6000611cb885828601611abb565b9250506020611cc985828601611abb565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611d0d82611933565b9150611d1883611933565b9250828202611d2681611933565b91508282048414831517611d3d57611d3c611cd3565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000611d7e82611933565b9150611d8983611933565b925082611d9957611d98611d44565b5b828204905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680611deb57607f821691505b602082108103611dfe57611dfd611da4565b5b50919050565b7f6e6f74206d696e74657273000000000000000000000000000000000000000000600082015250565b6000611e3a600b836119cb565b9150611e4582611e04565b602082019050919050565b60006020820190508181036000830152611e6981611e2d565b9050919050565b600060a082019050611e856000830188611996565b611e926020830187611996565b611e9f6040830186611996565b611eac6060830185611996565b611eb96080830184611996565b9695505050505050565b6000611ece82611933565b9150611ed983611933565b9250828201905080821115611ef157611ef0611cd3565b5b92915050565b6000611f0282611933565b9150611f0d83611933565b9250828203905081811115611f2557611f24611cd3565b5b92915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000611f876025836119cb565b9150611f9282611f2b565b604082019050919050565b60006020820190508181036000830152611fb681611f7a565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006120196026836119cb565b915061202482611fbd565b604082019050919050565b600060208201905081810360008301526120488161200c565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006120ab6024836119cb565b91506120b68261204f565b604082019050919050565b600060208201905081810360008301526120da8161209e565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b600061213d6022836119cb565b9150612148826120e1565b604082019050919050565b6000602082019050818103600083015261216c81612130565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006121a9601f836119cb565b91506121b482612173565b602082019050919050565b600060208201905081810360008301526121d88161219c565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000612215601f836119cb565b9150612220826121df565b602082019050919050565b6000602082019050818103600083015261224481612208565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000612281601d836119cb565b915061228c8261224b565b602082019050919050565b600060208201905081810360008301526122b081612274565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006123136025836119cb565b915061231e826122b7565b604082019050919050565b6000602082019050818103600083015261234281612306565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006123a56023836119cb565b91506123b082612349565b604082019050919050565b600060208201905081810360008301526123d481612398565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006124376026836119cb565b9150612442826123db565b604082019050919050565b600060208201905081810360008301526124668161242a565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006124c96021836119cb565b91506124d48261246d565b604082019050919050565b600060208201905081810360008301526124f8816124bc565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b600061255b6022836119cb565b9150612566826124ff565b604082019050919050565b6000602082019050818103600083015261258a8161254e565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006125c76020836119cb565b91506125d282612591565b602082019050919050565b600060208201905081810360008301526125f6816125ba565b9050919050565b600081905092915050565b50565b60006126186000836125fd565b915061262382612608565b600082019050919050565b60006126398261260b565b9150819050919050565b7f455448205472616e73666572206661696c65642e000000000000000000000000600082015250565b60006126796014836119cb565b915061268482612643565b602082019050919050565b600060208201905081810360008301526126a88161266c565b905091905056fea2646970667358221220c75d9d5a1b48328b6863ad2287efebf1653c09fc466ddd95274fd4b796ccadc364736f6c63430008120033

Deployed Bytecode

0x60806040526004361061014b5760003560e01c80636a53a7bf116100b6578063a457c2d71161006f578063a457c2d714610478578063a9059cbb146104b5578063d0e30db0146104f2578063db006a75146104fc578063dd62ed3e14610525578063f2fde38b146105625761014b565b80636a53a7bf1461037557806370a08231146103b2578063715018a6146103ef57806373ed7535146104065780638da5cb5b1461042257806395d89b411461044d5761014b565b8063313ce56711610108578063313ce567146102675780633323739d1461029257806339509351146102bd57806342966c68146102fa57806343620e7114610323578063577322471461034c5761014b565b8063025da47e1461015057806306fdde031461018d578063095ea7b3146101b85780631249c58b146101f557806318160ddd146101ff57806323b872dd1461022a575b600080fd5b34801561015c57600080fd5b5061017760048036038101906101729190611969565b61058b565b60405161018491906119a5565b60405180910390f35b34801561019957600080fd5b506101a26105b2565b6040516101af9190611a50565b60405180910390f35b3480156101c457600080fd5b506101df60048036038101906101da9190611ad0565b610644565b6040516101ec9190611b2b565b60405180910390f35b6101fd610667565b005b34801561020b57600080fd5b50610214610808565b60405161022191906119a5565b60405180910390f35b34801561023657600080fd5b50610251600480360381019061024c9190611b46565b610812565b60405161025e9190611b2b565b60405180910390f35b34801561027357600080fd5b5061027c610841565b6040516102899190611bb5565b60405180910390f35b34801561029e57600080fd5b506102a761084a565b6040516102b49190611bdf565b60405180910390f35b3480156102c957600080fd5b506102e460048036038101906102df9190611ad0565b610870565b6040516102f19190611b2b565b60405180910390f35b34801561030657600080fd5b50610321600480360381019061031c9190611969565b6108a7565b005b34801561032f57600080fd5b5061034a60048036038101906103459190611c26565b61091a565b005b34801561035857600080fd5b50610373600480360381019061036e9190611c66565b61097d565b005b34801561038157600080fd5b5061039c60048036038101906103979190611969565b6109c9565b6040516103a991906119a5565b60405180910390f35b3480156103be57600080fd5b506103d960048036038101906103d49190611c66565b6109fb565b6040516103e691906119a5565b60405180910390f35b3480156103fb57600080fd5b50610404610a43565b005b610420600480360381019061041b9190611969565b610a57565b005b34801561042e57600080fd5b50610437610a7c565b6040516104449190611bdf565b60405180910390f35b34801561045957600080fd5b50610462610aa6565b60405161046f9190611a50565b60405180910390f35b34801561048457600080fd5b5061049f600480360381019061049a9190611ad0565b610b38565b6040516104ac9190611b2b565b60405180910390f35b3480156104c157600080fd5b506104dc60048036038101906104d79190611ad0565b610baf565b6040516104e99190611b2b565b60405180910390f35b6104fa610bd2565b005b34801561050857600080fd5b50610523600480360381019061051e9190611969565b610c2a565b005b34801561053157600080fd5b5061054c60048036038101906105479190611c93565b610dd6565b60405161055991906119a5565b60405180910390f35b34801561056e57600080fd5b5061058960048036038101906105849190611c66565b610e5d565b005b6000610595610808565b47836105a19190611d02565b6105ab9190611d73565b9050919050565b6060600380546105c190611dd3565b80601f01602080910402602001604051908101604052809291908181526020018280546105ed90611dd3565b801561063a5780601f1061060f5761010080835404028352916020019161063a565b820191906000526020600020905b81548152906001019060200180831161061d57829003601f168201915b5050505050905090565b60008061064f610ee0565b905061065c818585610ee8565b600191505092915050565b61066f6110b1565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806107145750600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b806107515750610722610a7c565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610790576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078790611e50565b60405180910390fd5b600061079b346109c9565b90506107a73382611100565b7f616cb05a05f3a9bd3f361c48502cd069e6f32cd4a1ea079748f336a93ff4c03c6107d9670de0b6b3a764000061058b565b6107e1610808565b4742436040516107f5959493929190611e70565b60405180910390a150610806611256565b565b6000600254905090565b60008061081d610ee0565b905061082a858285611260565b6108358585856112ec565b60019150509392505050565b60006012905090565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008061087b610ee0565b905061089c81858561088d8589610dd6565b6108979190611ec3565b610ee8565b600191505092915050565b6108af6110b1565b6108b93382611562565b7f616cb05a05f3a9bd3f361c48502cd069e6f32cd4a1ea079748f336a93ff4c03c6108eb670de0b6b3a764000061058b565b6108f3610808565b474243604051610907959493929190611e70565b60405180910390a1610917611256565b50565b61092261172f565b80600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b61098561172f565b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600081476109d79190611ef7565b6109df610808565b836109ea9190611d02565b6109f49190611d73565b9050919050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610a4b61172f565b610a5560006117ad565b565b610a5f6110b1565b610a6761172f565b610a713382611100565b610a79611256565b50565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054610ab590611dd3565b80601f0160208091040260200160405190810160405280929190818152602001828054610ae190611dd3565b8015610b2e5780601f10610b0357610100808354040283529160200191610b2e565b820191906000526020600020905b815481529060010190602001808311610b1157829003601f168201915b5050505050905090565b600080610b43610ee0565b90506000610b518286610dd6565b905083811015610b96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8d90611f9d565b60405180910390fd5b610ba38286868403610ee8565b60019250505092915050565b600080610bba610ee0565b9050610bc78185856112ec565b600191505092915050565b7f616cb05a05f3a9bd3f361c48502cd069e6f32cd4a1ea079748f336a93ff4c03c610c04670de0b6b3a764000061058b565b610c0c610808565b474243604051610c20959493929190611e70565b60405180910390a1565b610c326110b1565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610cd75750600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b80610d145750610ce5610a7c565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610d53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4a90611e50565b60405180910390fd5b6000610d5e8261058b565b9050610d6a3383611562565b610d743382611873565b7f616cb05a05f3a9bd3f361c48502cd069e6f32cd4a1ea079748f336a93ff4c03c610da6670de0b6b3a764000061058b565b610dae610808565b474243604051610dc2959493929190611e70565b60405180910390a150610dd3611256565b50565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610e6561172f565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610ed4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ecb9061202f565b60405180910390fd5b610edd816117ad565b50565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610f57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4e906120c1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610fc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbd90612153565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516110a491906119a5565b60405180910390a3505050565b6002600654036110f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ed906121bf565b60405180910390fd5b6002600681905550565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361116f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111669061222b565b60405180910390fd5b61117b60008383611924565b806002600082825461118d9190611ec3565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161123e91906119a5565b60405180910390a361125260008383611929565b5050565b6001600681905550565b600061126c8484610dd6565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146112e657818110156112d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112cf90612297565b60405180910390fd5b6112e58484848403610ee8565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361135b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135290612329565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036113ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c1906123bb565b60405180910390fd5b6113d5838383611924565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561145b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114529061244d565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161154991906119a5565b60405180910390a361155c848484611929565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036115d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c8906124df565b60405180910390fd5b6115dd82600083611924565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611663576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165a90612571565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161171691906119a5565b60405180910390a361172a83600084611929565b505050565b611737610ee0565b73ffffffffffffffffffffffffffffffffffffffff16611755610a7c565b73ffffffffffffffffffffffffffffffffffffffff16146117ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a2906125dd565b60405180910390fd5b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008273ffffffffffffffffffffffffffffffffffffffff16826040516118999061262e565b60006040518083038185875af1925050503d80600081146118d6576040519150601f19603f3d011682016040523d82523d6000602084013e6118db565b606091505b505090508061191f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119169061268f565b60405180910390fd5b505050565b505050565b505050565b600080fd5b6000819050919050565b61194681611933565b811461195157600080fd5b50565b6000813590506119638161193d565b92915050565b60006020828403121561197f5761197e61192e565b5b600061198d84828501611954565b91505092915050565b61199f81611933565b82525050565b60006020820190506119ba6000830184611996565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156119fa5780820151818401526020810190506119df565b60008484015250505050565b6000601f19601f8301169050919050565b6000611a22826119c0565b611a2c81856119cb565b9350611a3c8185602086016119dc565b611a4581611a06565b840191505092915050565b60006020820190508181036000830152611a6a8184611a17565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611a9d82611a72565b9050919050565b611aad81611a92565b8114611ab857600080fd5b50565b600081359050611aca81611aa4565b92915050565b60008060408385031215611ae757611ae661192e565b5b6000611af585828601611abb565b9250506020611b0685828601611954565b9150509250929050565b60008115159050919050565b611b2581611b10565b82525050565b6000602082019050611b406000830184611b1c565b92915050565b600080600060608486031215611b5f57611b5e61192e565b5b6000611b6d86828701611abb565b9350506020611b7e86828701611abb565b9250506040611b8f86828701611954565b9150509250925092565b600060ff82169050919050565b611baf81611b99565b82525050565b6000602082019050611bca6000830184611ba6565b92915050565b611bd981611a92565b82525050565b6000602082019050611bf46000830184611bd0565b92915050565b611c0381611b10565b8114611c0e57600080fd5b50565b600081359050611c2081611bfa565b92915050565b60008060408385031215611c3d57611c3c61192e565b5b6000611c4b85828601611abb565b9250506020611c5c85828601611c11565b9150509250929050565b600060208284031215611c7c57611c7b61192e565b5b6000611c8a84828501611abb565b91505092915050565b60008060408385031215611caa57611ca961192e565b5b6000611cb885828601611abb565b9250506020611cc985828601611abb565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611d0d82611933565b9150611d1883611933565b9250828202611d2681611933565b91508282048414831517611d3d57611d3c611cd3565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000611d7e82611933565b9150611d8983611933565b925082611d9957611d98611d44565b5b828204905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680611deb57607f821691505b602082108103611dfe57611dfd611da4565b5b50919050565b7f6e6f74206d696e74657273000000000000000000000000000000000000000000600082015250565b6000611e3a600b836119cb565b9150611e4582611e04565b602082019050919050565b60006020820190508181036000830152611e6981611e2d565b9050919050565b600060a082019050611e856000830188611996565b611e926020830187611996565b611e9f6040830186611996565b611eac6060830185611996565b611eb96080830184611996565b9695505050505050565b6000611ece82611933565b9150611ed983611933565b9250828201905080821115611ef157611ef0611cd3565b5b92915050565b6000611f0282611933565b9150611f0d83611933565b9250828203905081811115611f2557611f24611cd3565b5b92915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000611f876025836119cb565b9150611f9282611f2b565b604082019050919050565b60006020820190508181036000830152611fb681611f7a565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006120196026836119cb565b915061202482611fbd565b604082019050919050565b600060208201905081810360008301526120488161200c565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006120ab6024836119cb565b91506120b68261204f565b604082019050919050565b600060208201905081810360008301526120da8161209e565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b600061213d6022836119cb565b9150612148826120e1565b604082019050919050565b6000602082019050818103600083015261216c81612130565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006121a9601f836119cb565b91506121b482612173565b602082019050919050565b600060208201905081810360008301526121d88161219c565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000612215601f836119cb565b9150612220826121df565b602082019050919050565b6000602082019050818103600083015261224481612208565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000612281601d836119cb565b915061228c8261224b565b602082019050919050565b600060208201905081810360008301526122b081612274565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006123136025836119cb565b915061231e826122b7565b604082019050919050565b6000602082019050818103600083015261234281612306565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006123a56023836119cb565b91506123b082612349565b604082019050919050565b600060208201905081810360008301526123d481612398565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006124376026836119cb565b9150612442826123db565b604082019050919050565b600060208201905081810360008301526124668161242a565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006124c96021836119cb565b91506124d48261246d565b604082019050919050565b600060208201905081810360008301526124f8816124bc565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b600061255b6022836119cb565b9150612566826124ff565b604082019050919050565b6000602082019050818103600083015261258a8161254e565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006125c76020836119cb565b91506125d282612591565b602082019050919050565b600060208201905081810360008301526125f6816125ba565b9050919050565b600081905092915050565b50565b60006126186000836125fd565b915061262382612608565b600082019050919050565b60006126398261260b565b9150819050919050565b7f455448205472616e73666572206661696c65642e000000000000000000000000600082015250565b60006126796014836119cb565b915061268482612643565b602082019050919050565b600060208201905081810360008301526126a88161266c565b905091905056fea2646970667358221220c75d9d5a1b48328b6863ad2287efebf1653c09fc466ddd95274fd4b796ccadc364736f6c63430008120033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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