ETH Price: $3,163.89 (-8.05%)
Gas: 3 Gwei

Contract

0x8EBAa08EF3b4C0B1c3e34922167a70dB1D121698
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Select Winners143317862022-03-06 6:37:30871 days ago1646548650IN
0x8EBAa08E...B1D121698
0 ETH0.0329144519.7730981
Select Winners143317832022-03-06 6:37:10871 days ago1646548630IN
0x8EBAa08E...B1D121698
0 ETH0.0418500425.14416354
Select Winners143317822022-03-06 6:37:00871 days ago1646548620IN
0x8EBAa08E...B1D121698
0 ETH0.039832423.93331489
Select Winners143317812022-03-06 6:36:47871 days ago1646548607IN
0x8EBAa08E...B1D121698
0 ETH0.0423879325.46494597
Select Winners143317802022-03-06 6:36:39871 days ago1646548599IN
0x8EBAa08E...B1D121698
0 ETH0.0447147826.85779193
Select Winners143317792022-03-06 6:36:35871 days ago1646548595IN
0x8EBAa08E...B1D121698
0 ETH0.04314525.9199543
Select Winners143317752022-03-06 6:35:54871 days ago1646548554IN
0x8EBAa08E...B1D121698
0 ETH0.0403212424.22616201
Select Winners143317742022-03-06 6:35:45871 days ago1646548545IN
0x8EBAa08E...B1D121698
0 ETH0.0346916220.839513
Select Winners143317722022-03-06 6:34:44871 days ago1646548484IN
0x8EBAa08E...B1D121698
0 ETH0.0408684124.55314727
Select Winners143317712022-03-06 6:34:13871 days ago1646548453IN
0x8EBAa08E...B1D121698
0 ETH0.0365223521.9360843
Select Winners143317692022-03-06 6:33:44871 days ago1646548424IN
0x8EBAa08E...B1D121698
0 ETH0.0371420122.31036015
Select Winners143317682022-03-06 6:33:30871 days ago1646548410IN
0x8EBAa08E...B1D121698
0 ETH0.0362141621.75631153
Select Winners143317672022-03-06 6:33:18871 days ago1646548398IN
0x8EBAa08E...B1D121698
0 ETH0.0381780422.93383246
Select Winners143317662022-03-06 6:32:53871 days ago1646548373IN
0x8EBAa08E...B1D121698
0 ETH0.0334749220.10848797
Select Winners143317652022-03-06 6:32:39871 days ago1646548359IN
0x8EBAa08E...B1D121698
0 ETH0.0353501921.2342034
Select Winners143317642022-03-06 6:32:22871 days ago1646548342IN
0x8EBAa08E...B1D121698
0 ETH0.0334758520.11078891
Select Winners143317632022-03-06 6:32:10871 days ago1646548330IN
0x8EBAa08E...B1D121698
0 ETH0.0337523120.27541305
Select Winners143317622022-03-06 6:31:46871 days ago1646548306IN
0x8EBAa08E...B1D121698
0 ETH0.0308365818.52403095
Select Winners143317612022-03-06 6:31:38871 days ago1646548298IN
0x8EBAa08E...B1D121698
0 ETH0.0312869418.7936193
Transfer143266182022-03-05 11:32:46872 days ago1646479966IN
0x8EBAa08E...B1D121698
0.00130523 ETH0.0006343930.20917586
Transfer Ownersh...143085432022-03-02 15:56:59875 days ago1646236619IN
0x8EBAa08E...B1D121698
0 ETH0.0023642381.40467432
Initialize143085422022-03-02 15:56:45875 days ago1646236605IN
0x8EBAa08E...B1D121698
0 ETH0.0174544784.81855871
0x60806040143085392022-03-02 15:56:23875 days ago1646236583IN
 Create: Auction
0 ETH0.27600487100.14262079

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

Contract Source Code Verified (Exact Match)

Contract Name:
Auction

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 9 : Auction.sol
// SPDX-License-Identifier: Apache-2.0
pragma solidity ^0.8.0;

import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC20/utils/SafeERC20Upgradeable.sol";
import "./interfaces/IERC721.sol";
import "./ERC712Domain.sol";

contract Auction is Initializable, OwnableUpgradeable, ERC712Domain {
    using SafeERC20Upgradeable for IERC20Upgradeable;

    address public beneficiary;
    address public operator;
    uint256 public items;
    IERC20Upgradeable public weth;
    IERC721 public nft;

    mapping(address => uint256) public used;

    modifier onlyOperator() {
        require(_msgSender() == operator, "Must be the operator");
        _;
    }

    function initialize(
        IERC721 nft_,
        uint256 items_,
        IERC20Upgradeable weth_,
        address beneficiary_,
        address operator_
    ) external initializer {
        __Ownable_init();
        _erc712DomainInit('$CAR Auction', '1');

        nft = nft_;
        items = items_;
        weth = weth_;
        beneficiary = beneficiary_;
        operator = operator_;
    }

    function setBeneficiary(address beneficiary_) external onlyOwner {
        beneficiary = beneficiary_;
    }

    function setOperator(address operator_) external onlyOwner {
        operator = operator_;
    }

    function setWeth(IERC20Upgradeable weth_) external onlyOwner {
        weth = weth_;
    }

    function setNFT(IERC721 nft_) external onlyOwner {
        nft = nft_;
    }

    function selectWinners(
        address[] calldata bidders,
        uint256[] calldata bids,
        bytes32[] calldata formattedAmountHashes,
        bytes32[] memory sigsR,
        bytes32[] memory sigsS,
        uint8[] memory sigsV,
        uint256 startID
    ) external onlyOperator returns (uint256) {
        require(bidders.length <= items, "Too much winners");
        require(bidders.length == bids.length, "Incorrect number of bids");
        require(bidders.length == formattedAmountHashes.length, "Incorrect number of formatted amount hashes");
        require(
            bidders.length == sigsV.length &&
                sigsV.length == sigsR.length &&
                sigsV.length == sigsS.length,
            "Incorrect number of signatures"
        );
        uint256 minted = 0;
        for (uint256 i = 0; i < bidders.length; i++) {
            require(used[bidders[i]] == 0, "Already used");
            used[bidders[i]] = bids[i];
            if (
                !erc712Verify(
                    bidders[i], hashBid(bids[i], formattedAmountHashes[i]), sigsV[i], sigsR[i], sigsS[i]
                )
            ) {
                continue;
            }
            if (
                weth.allowance(bidders[i], address(this)) < bids[i] ||
                weth.balanceOf(bidders[i]) < bids[i]
            ) {
                continue;
            }
            weth.safeTransferFrom(bidders[i], beneficiary, bids[i]);
            nft.mint(bidders[i], startID + minted);
            minted++;
        }
        items -= minted;
        return minted;
    }

    bytes32 constant BID_CONTENTS_HASH = keccak256(bytes(
        'Please sign to confirm your bid. The amounts are shown in WEI and ETH.'
    ));

    bytes32 constant BID_TYPEHASH = keccak256(bytes(
        'Bid(uint256 amount,string contents,address tokenContract,string formattedAmount)'
    ));

    function hashBid(uint256 amount, bytes32 formattedAmountHash) public view returns (bytes32) {
        return keccak256(abi.encode(
            BID_TYPEHASH,
            amount,
            BID_CONTENTS_HASH,
            address(weth),
            formattedAmountHash
        ));
    }
}

File 2 of 9 : OwnableUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/ContextUpgradeable.sol";
import "../proxy/utils/Initializable.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract OwnableUpgradeable is Initializable, ContextUpgradeable {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    function __Ownable_init() internal onlyInitializing {
        __Ownable_init_unchained();
    }

    function __Ownable_init_unchained() internal onlyInitializing {
        _transferOwnership(_msgSender());
    }

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

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

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

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[49] private __gap;
}

File 3 of 9 : Initializable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (proxy/utils/Initializable.sol)

pragma solidity ^0.8.0;

import "../../utils/AddressUpgradeable.sol";

/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 *
 * [CAUTION]
 * ====
 * Avoid leaving a contract uninitialized.
 *
 * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation
 * contract, which may impact the proxy. To initialize the implementation contract, you can either invoke the
 * initializer manually, or you can include a constructor to automatically mark it as initialized when it is deployed:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * /// @custom:oz-upgrades-unsafe-allow constructor
 * constructor() initializer {}
 * ```
 * ====
 */
abstract contract Initializable {
    /**
     * @dev Indicates that the contract has been initialized.
     */
    bool private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Modifier to protect an initializer function from being invoked twice.
     */
    modifier initializer() {
        // If the contract is initializing we ignore whether _initialized is set in order to support multiple
        // inheritance patterns, but we only do this in the context of a constructor, because in other contexts the
        // contract may have been reentered.
        require(_initializing ? _isConstructor() : !_initialized, "Initializable: contract is already initialized");

        bool isTopLevelCall = !_initializing;
        if (isTopLevelCall) {
            _initializing = true;
            _initialized = true;
        }

        _;

        if (isTopLevelCall) {
            _initializing = false;
        }
    }

    /**
     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the
     * {initializer} modifier, directly or indirectly.
     */
    modifier onlyInitializing() {
        require(_initializing, "Initializable: contract is not initializing");
        _;
    }

    function _isConstructor() private view returns (bool) {
        return !AddressUpgradeable.isContract(address(this));
    }
}

File 4 of 9 : IERC20Upgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20Upgradeable {
    /**
     * @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);

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

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

File 5 of 9 : SafeERC20Upgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20Upgradeable.sol";
import "../../../utils/AddressUpgradeable.sol";

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

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

    function safeTransferFrom(
        IERC20Upgradeable 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(
        IERC20Upgradeable 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(
        IERC20Upgradeable 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(
        IERC20Upgradeable 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));
        }
    }

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

File 6 of 9 : IERC721.sol
// SPDX-License-Identifier: Apache-2.0
pragma solidity ^0.8.0;

interface IERC721 {
    function mint(address to, uint256 id) external;
}

File 7 of 9 : ERC712Domain.sol
// SPDX-License-Identifier: Apache-2.0
pragma solidity ^0.8.0;

abstract contract ERC712Domain {
    bytes32 constant DOMAIN_TYPEHASH = keccak256(
        'EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)'
    );

    struct Domain {
        string name;
        string version;
    }

    bytes32 domainHash = 0x00;

    function _erc712DomainInit(string memory name,string memory version) internal {
        require(domainHash == 0x00, 'ERC712Domain can only be initialized once');

        domainHash = keccak256(abi.encode(
            DOMAIN_TYPEHASH,
            keccak256(bytes(name)),
            keccak256(bytes(version)),
            block.chainid,
            address(this)
        ));
    }

    function erc712Hash(bytes32 msgHash) public view returns (bytes32) {
        return keccak256(abi.encodePacked('\x19\x01', domainHash, msgHash));
    }

    function erc712Verify(address signer, bytes32 msgHash, uint8 v, bytes32 r, bytes32 s) public view returns (bool) {
        return ecrecover(erc712Hash(msgHash), v, r, s) == signer;
    }
}

File 8 of 9 : ContextUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;
import "../proxy/utils/Initializable.sol";

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

    function __Context_init_unchained() internal onlyInitializing {
    }
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[50] private __gap;
}

File 9 of 9 : AddressUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library AddressUpgradeable {
    /**
     * @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 functionCall(target, data, "Address: low-level call failed");
    }

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

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

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

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(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) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason 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 {
            // 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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"beneficiary","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"msgHash","type":"bytes32"}],"name":"erc712Hash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"signer","type":"address"},{"internalType":"bytes32","name":"msgHash","type":"bytes32"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"erc712Verify","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32","name":"formattedAmountHash","type":"bytes32"}],"name":"hashBid","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC721","name":"nft_","type":"address"},{"internalType":"uint256","name":"items_","type":"uint256"},{"internalType":"contract IERC20Upgradeable","name":"weth_","type":"address"},{"internalType":"address","name":"beneficiary_","type":"address"},{"internalType":"address","name":"operator_","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"items","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nft","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"bidders","type":"address[]"},{"internalType":"uint256[]","name":"bids","type":"uint256[]"},{"internalType":"bytes32[]","name":"formattedAmountHashes","type":"bytes32[]"},{"internalType":"bytes32[]","name":"sigsR","type":"bytes32[]"},{"internalType":"bytes32[]","name":"sigsS","type":"bytes32[]"},{"internalType":"uint8[]","name":"sigsV","type":"uint8[]"},{"internalType":"uint256","name":"startID","type":"uint256"}],"name":"selectWinners","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"beneficiary_","type":"address"}],"name":"setBeneficiary","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC721","name":"nft_","type":"address"}],"name":"setNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator_","type":"address"}],"name":"setOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20Upgradeable","name":"weth_","type":"address"}],"name":"setWeth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"used","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"weth","outputs":[{"internalType":"contract IERC20Upgradeable","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60806040526000801b60655534801561001757600080fd5b5061312a806100276000396000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c8063a01ef25f116100a2578063c06fad0611610071578063c06fad06146102bb578063c497da8d146102d9578063ea0a78f514610309578063f2fde38b14610339578063f56e9c661461035557610116565b8063a01ef25f14610237578063a21aff3314610253578063b3ab15fb14610283578063b8d1452f1461029f57610116565b806347ccca02116100e957806347ccca02146101a3578063570ca735146101c15780635768320a146101df578063715018a61461020f5780638da5cb5b1461021957610116565b8063011db1171461011b5780631c31f7101461014b57806338af3eed146101675780633fc8cef314610185575b600080fd5b61013560048036038101906101309190612083565b610371565b60405161014291906125de565b60405180910390f35b61016560048036038101906101609190611e7f565b6103a5565b005b61016f610465565b60405161017c919061251f565b60405180910390f35b61018d61048b565b60405161019a91906126e4565b60405180910390f35b6101ab6104b1565b6040516101b891906126ff565b60405180910390f35b6101c96104d7565b6040516101d6919061251f565b60405180910390f35b6101f960048036038101906101f4919061219e565b6104fd565b60405161020691906125de565b60405180910390f35b610217610596565b005b61022161061e565b60405161022e919061251f565b60405180910390f35b610251600480360381019061024c91906120fe565b610648565b005b61026d60048036038101906102689190611ea8565b6108b8565b60405161027a91906125c3565b60405180910390f35b61029d60048036038101906102989190611e7f565b61094a565b005b6102b960048036038101906102b491906120ac565b610a0a565b005b6102c3610aca565b6040516102d091906128fc565b60405180910390f35b6102f360048036038101906102ee9190611e7f565b610ad0565b60405161030091906128fc565b60405180910390f35b610323600480360381019061031e9190611f1f565b610ae8565b60405161033091906128fc565b60405180910390f35b610353600480360381019061034e9190611e7f565b6114c8565b005b61036f600480360381019061036a91906120d5565b6115c0565b005b6000606554826040516020016103889291906124e8565b604051602081830303815290604052805190602001209050919050565b6103ad611680565b73ffffffffffffffffffffffffffffffffffffffff166103cb61061e565b73ffffffffffffffffffffffffffffffffffffffff1614610421576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104189061283c565b60405180910390fd5b80606660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b606660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060405180608001604052806050815260200161305f6050913980519060200120836040518060800160405280604681526020016130af6046913980519060200120606960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168560405160200161057895949392919061264c565b60405160208183030381529060405280519060200120905092915050565b61059e611680565b73ffffffffffffffffffffffffffffffffffffffff166105bc61061e565b73ffffffffffffffffffffffffffffffffffffffff1614610612576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106099061283c565b60405180910390fd5b61061c6000611688565b565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600060019054906101000a900460ff166106705760008054906101000a900460ff1615610679565b61067861174e565b5b6106b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106af906127fc565b60405180910390fd5b60008060019054906101000a900460ff161590508015610708576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b61071061175f565b6107846040518060400160405280600c81526020017f244341522041756374696f6e00000000000000000000000000000000000000008152506040518060400160405280600181526020017f31000000000000000000000000000000000000000000000000000000000000008152506117b8565b85606a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508460688190555083606960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082606660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081606760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080156108b05760008060016101000a81548160ff0219169083151502179055505b505050505050565b60008573ffffffffffffffffffffffffffffffffffffffff1660016108dc87610371565b868686604051600081526020016040526040516108fc949392919061269f565b6020604051602081039080840390855afa15801561091e573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff1614905095945050505050565b610952611680565b73ffffffffffffffffffffffffffffffffffffffff1661097061061e565b73ffffffffffffffffffffffffffffffffffffffff16146109c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bd9061283c565b60405180910390fd5b80606760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610a12611680565b73ffffffffffffffffffffffffffffffffffffffff16610a3061061e565b73ffffffffffffffffffffffffffffffffffffffff1614610a86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7d9061283c565b60405180910390fd5b80606960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60685481565b606b6020528060005260406000206000915090505481565b6000606760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610b2b611680565b73ffffffffffffffffffffffffffffffffffffffff1614610b81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b789061287c565b60405180910390fd5b6068548b8b90501115610bc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc0906127bc565b60405180910390fd5b888890508b8b905014610c11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c089061281c565b60405180910390fd5b868690508b8b905014610c59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c509061275c565b60405180910390fd5b82518b8b9050148015610c6d575084518351145b8015610c7a575083518351145b610cb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb0906128dc565b60405180910390fd5b6000805b8c8c905081101561149c576000606b60008f8f85818110610d07577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190610d1c9190611e7f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414610d97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8e9061273c565b60405180910390fd5b8a8a82818110610dd0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135606b60008f8f85818110610e14577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190610e299190611e7f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506110088d8d83818110610ea3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190610eb89190611e7f565b610f408d8d85818110610ef4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201358c8c86818110610f34577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201356104fd565b878481518110610f79577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518a8581518110610fba577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518a8681518110610ffb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516108b8565b61101157611489565b8a8a8281811061104a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135606960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e8f8f858181106110c8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906110dd9190611e7f565b306040518363ffffffff1660e01b81526004016110fb92919061253a565b60206040518083038186803b15801561111357600080fd5b505afa158015611127573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061114b9190612175565b108061128c57508a8a8281811061118b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135606960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a082318f8f85818110611209577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201602081019061121e9190611e7f565b6040518263ffffffff1660e01b815260040161123a919061251f565b60206040518083038186803b15801561125257600080fd5b505afa158015611266573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128a9190612175565b105b1561129657611489565b6113938d8d838181106112d2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906112e79190611e7f565b606660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168d8d85818110611343577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135606960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611866909392919063ffffffff16565b606a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f198e8e8481811061140a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201602081019061141f9190611e7f565b848761142b91906129d1565b6040518363ffffffff1660e01b815260040161144892919061259a565b600060405180830381600087803b15801561146257600080fd5b505af1158015611476573d6000803e3d6000fd5b50505050818061148590612b8a565b9250505b808061149490612b8a565b915050610cbd565b5080606860008282546114af9190612a27565b92505081905550809150509a9950505050505050505050565b6114d0611680565b73ffffffffffffffffffffffffffffffffffffffff166114ee61061e565b73ffffffffffffffffffffffffffffffffffffffff1614611544576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153b9061283c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156115b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ab9061277c565b60405180910390fd5b6115bd81611688565b50565b6115c8611680565b73ffffffffffffffffffffffffffffffffffffffff166115e661061e565b73ffffffffffffffffffffffffffffffffffffffff161461163c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116339061283c565b60405180910390fd5b80606a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600033905090565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000611759306118ef565b15905090565b600060019054906101000a900460ff166117ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a59061289c565b60405180910390fd5b6117b6611912565b565b6000801b606554146117ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f69061279c565b60405180910390fd5b7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f8280519060200120828051906020012046306040516020016118469594939291906125f9565b604051602081830303815290604052805190602001206065819055505050565b6118e9846323b872dd60e01b85858560405160240161188793929190612563565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611973565b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600060019054906101000a900460ff16611961576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119589061289c565b60405180910390fd5b61197161196c611680565b611688565b565b60006119d5826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16611a3a9092919063ffffffff16565b9050600081511115611a3557808060200190518101906119f5919061205a565b611a34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2b906128bc565b60405180910390fd5b5b505050565b6060611a498484600085611a52565b90509392505050565b606082471015611a97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8e906127dc565b60405180910390fd5b611aa0856118ef565b611adf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad69061285c565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051611b0891906124d1565b60006040518083038185875af1925050503d8060008114611b45576040519150601f19603f3d011682016040523d82523d6000602084013e611b4a565b606091505b5091509150611b5a828286611b66565b92505050949350505050565b60608315611b7657829050611bc6565b600083511115611b895782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bbd919061271a565b60405180910390fd5b9392505050565b6000611be0611bdb8461293c565b612917565b90508083825260208201905082856020860282011115611bff57600080fd5b60005b85811015611c2f5781611c158882611e01565b845260208401935060208301925050600181019050611c02565b5050509392505050565b6000611c4c611c4784612968565b612917565b90508083825260208201905082856020860282011115611c6b57600080fd5b60005b85811015611c9b5781611c818882611e6a565b845260208401935060208301925050600181019050611c6e565b5050509392505050565b600081359050611cb481612fbd565b92915050565b60008083601f840112611ccc57600080fd5b8235905067ffffffffffffffff811115611ce557600080fd5b602083019150836020820283011115611cfd57600080fd5b9250929050565b60008083601f840112611d1657600080fd5b8235905067ffffffffffffffff811115611d2f57600080fd5b602083019150836020820283011115611d4757600080fd5b9250929050565b600082601f830112611d5f57600080fd5b8135611d6f848260208601611bcd565b91505092915050565b60008083601f840112611d8a57600080fd5b8235905067ffffffffffffffff811115611da357600080fd5b602083019150836020820283011115611dbb57600080fd5b9250929050565b600082601f830112611dd357600080fd5b8135611de3848260208601611c39565b91505092915050565b600081519050611dfb81612fd4565b92915050565b600081359050611e1081612feb565b92915050565b600081359050611e2581613002565b92915050565b600081359050611e3a81613019565b92915050565b600081359050611e4f81613030565b92915050565b600081519050611e6481613030565b92915050565b600081359050611e7981613047565b92915050565b600060208284031215611e9157600080fd5b6000611e9f84828501611ca5565b91505092915050565b600080600080600060a08688031215611ec057600080fd5b6000611ece88828901611ca5565b9550506020611edf88828901611e01565b9450506040611ef088828901611e6a565b9350506060611f0188828901611e01565b9250506080611f1288828901611e01565b9150509295509295909350565b60008060008060008060008060008060e08b8d031215611f3e57600080fd5b60008b013567ffffffffffffffff811115611f5857600080fd5b611f648d828e01611cba565b9a509a505060208b013567ffffffffffffffff811115611f8357600080fd5b611f8f8d828e01611d78565b985098505060408b013567ffffffffffffffff811115611fae57600080fd5b611fba8d828e01611d04565b965096505060608b013567ffffffffffffffff811115611fd957600080fd5b611fe58d828e01611d4e565b94505060808b013567ffffffffffffffff81111561200257600080fd5b61200e8d828e01611d4e565b93505060a08b013567ffffffffffffffff81111561202b57600080fd5b6120378d828e01611dc2565b92505060c06120488d828e01611e40565b9150509295989b9194979a5092959850565b60006020828403121561206c57600080fd5b600061207a84828501611dec565b91505092915050565b60006020828403121561209557600080fd5b60006120a384828501611e01565b91505092915050565b6000602082840312156120be57600080fd5b60006120cc84828501611e16565b91505092915050565b6000602082840312156120e757600080fd5b60006120f584828501611e2b565b91505092915050565b600080600080600060a0868803121561211657600080fd5b600061212488828901611e2b565b955050602061213588828901611e40565b945050604061214688828901611e16565b935050606061215788828901611ca5565b925050608061216888828901611ca5565b9150509295509295909350565b60006020828403121561218757600080fd5b600061219584828501611e55565b91505092915050565b600080604083850312156121b157600080fd5b60006121bf85828601611e40565b92505060206121d085828601611e01565b9150509250929050565b6121e381612a5b565b82525050565b6121f281612a6d565b82525050565b61220181612a79565b82525050565b61221861221382612a79565b612bd3565b82525050565b600061222982612994565b61223381856129aa565b9350612243818560208601612b26565b80840191505092915050565b61225881612ade565b82525050565b61226781612b02565b82525050565b60006122788261299f565b61228281856129b5565b9350612292818560208601612b26565b61229b81612c3b565b840191505092915050565b60006122b3600c836129b5565b91506122be82612c4c565b602082019050919050565b60006122d6602b836129b5565b91506122e182612c75565b604082019050919050565b60006122f96026836129b5565b915061230482612cc4565b604082019050919050565b600061231c6002836129c6565b915061232782612d13565b600282019050919050565b600061233f6029836129b5565b915061234a82612d3c565b604082019050919050565b60006123626010836129b5565b915061236d82612d8b565b602082019050919050565b60006123856026836129b5565b915061239082612db4565b604082019050919050565b60006123a8602e836129b5565b91506123b382612e03565b604082019050919050565b60006123cb6018836129b5565b91506123d682612e52565b602082019050919050565b60006123ee6020836129b5565b91506123f982612e7b565b602082019050919050565b6000612411601d836129b5565b915061241c82612ea4565b602082019050919050565b60006124346014836129b5565b915061243f82612ecd565b602082019050919050565b6000612457602b836129b5565b915061246282612ef6565b604082019050919050565b600061247a602a836129b5565b915061248582612f45565b604082019050919050565b600061249d601e836129b5565b91506124a882612f94565b602082019050919050565b6124bc81612ac7565b82525050565b6124cb81612ad1565b82525050565b60006124dd828461221e565b915081905092915050565b60006124f38261230f565b91506124ff8285612207565b60208201915061250f8284612207565b6020820191508190509392505050565b600060208201905061253460008301846121da565b92915050565b600060408201905061254f60008301856121da565b61255c60208301846121da565b9392505050565b600060608201905061257860008301866121da565b61258560208301856121da565b61259260408301846124b3565b949350505050565b60006040820190506125af60008301856121da565b6125bc60208301846124b3565b9392505050565b60006020820190506125d860008301846121e9565b92915050565b60006020820190506125f360008301846121f8565b92915050565b600060a08201905061260e60008301886121f8565b61261b60208301876121f8565b61262860408301866121f8565b61263560608301856124b3565b61264260808301846121da565b9695505050505050565b600060a08201905061266160008301886121f8565b61266e60208301876124b3565b61267b60408301866121f8565b61268860608301856121da565b61269560808301846121f8565b9695505050505050565b60006080820190506126b460008301876121f8565b6126c160208301866124c2565b6126ce60408301856121f8565b6126db60608301846121f8565b95945050505050565b60006020820190506126f9600083018461224f565b92915050565b6000602082019050612714600083018461225e565b92915050565b60006020820190508181036000830152612734818461226d565b905092915050565b60006020820190508181036000830152612755816122a6565b9050919050565b60006020820190508181036000830152612775816122c9565b9050919050565b60006020820190508181036000830152612795816122ec565b9050919050565b600060208201905081810360008301526127b581612332565b9050919050565b600060208201905081810360008301526127d581612355565b9050919050565b600060208201905081810360008301526127f581612378565b9050919050565b600060208201905081810360008301526128158161239b565b9050919050565b60006020820190508181036000830152612835816123be565b9050919050565b60006020820190508181036000830152612855816123e1565b9050919050565b6000602082019050818103600083015261287581612404565b9050919050565b6000602082019050818103600083015261289581612427565b9050919050565b600060208201905081810360008301526128b58161244a565b9050919050565b600060208201905081810360008301526128d58161246d565b9050919050565b600060208201905081810360008301526128f581612490565b9050919050565b600060208201905061291160008301846124b3565b92915050565b6000612921612932565b905061292d8282612b59565b919050565b6000604051905090565b600067ffffffffffffffff82111561295757612956612c0c565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561298357612982612c0c565b5b602082029050602081019050919050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006129dc82612ac7565b91506129e783612ac7565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612a1c57612a1b612bdd565b5b828201905092915050565b6000612a3282612ac7565b9150612a3d83612ac7565b925082821015612a5057612a4f612bdd565b5b828203905092915050565b6000612a6682612aa7565b9050919050565b60008115159050919050565b6000819050919050565b6000612a8e82612a5b565b9050919050565b6000612aa082612a5b565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000612ae982612af0565b9050919050565b6000612afb82612aa7565b9050919050565b6000612b0d82612b14565b9050919050565b6000612b1f82612aa7565b9050919050565b60005b83811015612b44578082015181840152602081019050612b29565b83811115612b53576000848401525b50505050565b612b6282612c3b565b810181811067ffffffffffffffff82111715612b8157612b80612c0c565b5b80604052505050565b6000612b9582612ac7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612bc857612bc7612bdd565b5b600182019050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f416c726561647920757365640000000000000000000000000000000000000000600082015250565b7f496e636f7272656374206e756d626572206f6620666f726d617474656420616d60008201527f6f756e7420686173686573000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f455243373132446f6d61696e2063616e206f6e6c7920626520696e697469616c60008201527f697a6564206f6e63650000000000000000000000000000000000000000000000602082015250565b7f546f6f206d7563682077696e6e65727300000000000000000000000000000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b7f496e636f7272656374206e756d626572206f6620626964730000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f4d75737420626520746865206f70657261746f72000000000000000000000000600082015250565b7f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960008201527f6e697469616c697a696e67000000000000000000000000000000000000000000602082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f496e636f7272656374206e756d626572206f66207369676e6174757265730000600082015250565b612fc681612a5b565b8114612fd157600080fd5b50565b612fdd81612a6d565b8114612fe857600080fd5b50565b612ff481612a79565b8114612fff57600080fd5b50565b61300b81612a83565b811461301657600080fd5b50565b61302281612a95565b811461302d57600080fd5b50565b61303981612ac7565b811461304457600080fd5b50565b61305081612ad1565b811461305b57600080fd5b5056fe4269642875696e7432353620616d6f756e742c737472696e6720636f6e74656e74732c6164647265737320746f6b656e436f6e74726163742c737472696e6720666f726d6174746564416d6f756e7429506c65617365207369676e20746f20636f6e6669726d20796f7572206269642e2054686520616d6f756e7473206172652073686f776e20696e2057454920616e64204554482ea26469706673582212200dd2f8c440196c77b9e2cd4dada1e07a42ebe3167722a480d7e01be4cd8a84af64736f6c63430008040033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101165760003560e01c8063a01ef25f116100a2578063c06fad0611610071578063c06fad06146102bb578063c497da8d146102d9578063ea0a78f514610309578063f2fde38b14610339578063f56e9c661461035557610116565b8063a01ef25f14610237578063a21aff3314610253578063b3ab15fb14610283578063b8d1452f1461029f57610116565b806347ccca02116100e957806347ccca02146101a3578063570ca735146101c15780635768320a146101df578063715018a61461020f5780638da5cb5b1461021957610116565b8063011db1171461011b5780631c31f7101461014b57806338af3eed146101675780633fc8cef314610185575b600080fd5b61013560048036038101906101309190612083565b610371565b60405161014291906125de565b60405180910390f35b61016560048036038101906101609190611e7f565b6103a5565b005b61016f610465565b60405161017c919061251f565b60405180910390f35b61018d61048b565b60405161019a91906126e4565b60405180910390f35b6101ab6104b1565b6040516101b891906126ff565b60405180910390f35b6101c96104d7565b6040516101d6919061251f565b60405180910390f35b6101f960048036038101906101f4919061219e565b6104fd565b60405161020691906125de565b60405180910390f35b610217610596565b005b61022161061e565b60405161022e919061251f565b60405180910390f35b610251600480360381019061024c91906120fe565b610648565b005b61026d60048036038101906102689190611ea8565b6108b8565b60405161027a91906125c3565b60405180910390f35b61029d60048036038101906102989190611e7f565b61094a565b005b6102b960048036038101906102b491906120ac565b610a0a565b005b6102c3610aca565b6040516102d091906128fc565b60405180910390f35b6102f360048036038101906102ee9190611e7f565b610ad0565b60405161030091906128fc565b60405180910390f35b610323600480360381019061031e9190611f1f565b610ae8565b60405161033091906128fc565b60405180910390f35b610353600480360381019061034e9190611e7f565b6114c8565b005b61036f600480360381019061036a91906120d5565b6115c0565b005b6000606554826040516020016103889291906124e8565b604051602081830303815290604052805190602001209050919050565b6103ad611680565b73ffffffffffffffffffffffffffffffffffffffff166103cb61061e565b73ffffffffffffffffffffffffffffffffffffffff1614610421576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104189061283c565b60405180910390fd5b80606660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b606660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600060405180608001604052806050815260200161305f6050913980519060200120836040518060800160405280604681526020016130af6046913980519060200120606960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168560405160200161057895949392919061264c565b60405160208183030381529060405280519060200120905092915050565b61059e611680565b73ffffffffffffffffffffffffffffffffffffffff166105bc61061e565b73ffffffffffffffffffffffffffffffffffffffff1614610612576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106099061283c565b60405180910390fd5b61061c6000611688565b565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600060019054906101000a900460ff166106705760008054906101000a900460ff1615610679565b61067861174e565b5b6106b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106af906127fc565b60405180910390fd5b60008060019054906101000a900460ff161590508015610708576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b61071061175f565b6107846040518060400160405280600c81526020017f244341522041756374696f6e00000000000000000000000000000000000000008152506040518060400160405280600181526020017f31000000000000000000000000000000000000000000000000000000000000008152506117b8565b85606a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508460688190555083606960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082606660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081606760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080156108b05760008060016101000a81548160ff0219169083151502179055505b505050505050565b60008573ffffffffffffffffffffffffffffffffffffffff1660016108dc87610371565b868686604051600081526020016040526040516108fc949392919061269f565b6020604051602081039080840390855afa15801561091e573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff1614905095945050505050565b610952611680565b73ffffffffffffffffffffffffffffffffffffffff1661097061061e565b73ffffffffffffffffffffffffffffffffffffffff16146109c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bd9061283c565b60405180910390fd5b80606760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610a12611680565b73ffffffffffffffffffffffffffffffffffffffff16610a3061061e565b73ffffffffffffffffffffffffffffffffffffffff1614610a86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7d9061283c565b60405180910390fd5b80606960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60685481565b606b6020528060005260406000206000915090505481565b6000606760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610b2b611680565b73ffffffffffffffffffffffffffffffffffffffff1614610b81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b789061287c565b60405180910390fd5b6068548b8b90501115610bc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc0906127bc565b60405180910390fd5b888890508b8b905014610c11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c089061281c565b60405180910390fd5b868690508b8b905014610c59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c509061275c565b60405180910390fd5b82518b8b9050148015610c6d575084518351145b8015610c7a575083518351145b610cb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb0906128dc565b60405180910390fd5b6000805b8c8c905081101561149c576000606b60008f8f85818110610d07577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190610d1c9190611e7f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414610d97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8e9061273c565b60405180910390fd5b8a8a82818110610dd0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135606b60008f8f85818110610e14577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190610e299190611e7f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506110088d8d83818110610ea3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190610eb89190611e7f565b610f408d8d85818110610ef4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201358c8c86818110610f34577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201356104fd565b878481518110610f79577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518a8581518110610fba577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518a8681518110610ffb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516108b8565b61101157611489565b8a8a8281811061104a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135606960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e8f8f858181106110c8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906110dd9190611e7f565b306040518363ffffffff1660e01b81526004016110fb92919061253a565b60206040518083038186803b15801561111357600080fd5b505afa158015611127573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061114b9190612175565b108061128c57508a8a8281811061118b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135606960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a082318f8f85818110611209577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201602081019061121e9190611e7f565b6040518263ffffffff1660e01b815260040161123a919061251f565b60206040518083038186803b15801561125257600080fd5b505afa158015611266573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128a9190612175565b105b1561129657611489565b6113938d8d838181106112d2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906112e79190611e7f565b606660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168d8d85818110611343577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135606960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611866909392919063ffffffff16565b606a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f198e8e8481811061140a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201602081019061141f9190611e7f565b848761142b91906129d1565b6040518363ffffffff1660e01b815260040161144892919061259a565b600060405180830381600087803b15801561146257600080fd5b505af1158015611476573d6000803e3d6000fd5b50505050818061148590612b8a565b9250505b808061149490612b8a565b915050610cbd565b5080606860008282546114af9190612a27565b92505081905550809150509a9950505050505050505050565b6114d0611680565b73ffffffffffffffffffffffffffffffffffffffff166114ee61061e565b73ffffffffffffffffffffffffffffffffffffffff1614611544576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153b9061283c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156115b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ab9061277c565b60405180910390fd5b6115bd81611688565b50565b6115c8611680565b73ffffffffffffffffffffffffffffffffffffffff166115e661061e565b73ffffffffffffffffffffffffffffffffffffffff161461163c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116339061283c565b60405180910390fd5b80606a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600033905090565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000611759306118ef565b15905090565b600060019054906101000a900460ff166117ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a59061289c565b60405180910390fd5b6117b6611912565b565b6000801b606554146117ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f69061279c565b60405180910390fd5b7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f8280519060200120828051906020012046306040516020016118469594939291906125f9565b604051602081830303815290604052805190602001206065819055505050565b6118e9846323b872dd60e01b85858560405160240161188793929190612563565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611973565b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600060019054906101000a900460ff16611961576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119589061289c565b60405180910390fd5b61197161196c611680565b611688565b565b60006119d5826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16611a3a9092919063ffffffff16565b9050600081511115611a3557808060200190518101906119f5919061205a565b611a34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2b906128bc565b60405180910390fd5b5b505050565b6060611a498484600085611a52565b90509392505050565b606082471015611a97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8e906127dc565b60405180910390fd5b611aa0856118ef565b611adf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad69061285c565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051611b0891906124d1565b60006040518083038185875af1925050503d8060008114611b45576040519150601f19603f3d011682016040523d82523d6000602084013e611b4a565b606091505b5091509150611b5a828286611b66565b92505050949350505050565b60608315611b7657829050611bc6565b600083511115611b895782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bbd919061271a565b60405180910390fd5b9392505050565b6000611be0611bdb8461293c565b612917565b90508083825260208201905082856020860282011115611bff57600080fd5b60005b85811015611c2f5781611c158882611e01565b845260208401935060208301925050600181019050611c02565b5050509392505050565b6000611c4c611c4784612968565b612917565b90508083825260208201905082856020860282011115611c6b57600080fd5b60005b85811015611c9b5781611c818882611e6a565b845260208401935060208301925050600181019050611c6e565b5050509392505050565b600081359050611cb481612fbd565b92915050565b60008083601f840112611ccc57600080fd5b8235905067ffffffffffffffff811115611ce557600080fd5b602083019150836020820283011115611cfd57600080fd5b9250929050565b60008083601f840112611d1657600080fd5b8235905067ffffffffffffffff811115611d2f57600080fd5b602083019150836020820283011115611d4757600080fd5b9250929050565b600082601f830112611d5f57600080fd5b8135611d6f848260208601611bcd565b91505092915050565b60008083601f840112611d8a57600080fd5b8235905067ffffffffffffffff811115611da357600080fd5b602083019150836020820283011115611dbb57600080fd5b9250929050565b600082601f830112611dd357600080fd5b8135611de3848260208601611c39565b91505092915050565b600081519050611dfb81612fd4565b92915050565b600081359050611e1081612feb565b92915050565b600081359050611e2581613002565b92915050565b600081359050611e3a81613019565b92915050565b600081359050611e4f81613030565b92915050565b600081519050611e6481613030565b92915050565b600081359050611e7981613047565b92915050565b600060208284031215611e9157600080fd5b6000611e9f84828501611ca5565b91505092915050565b600080600080600060a08688031215611ec057600080fd5b6000611ece88828901611ca5565b9550506020611edf88828901611e01565b9450506040611ef088828901611e6a565b9350506060611f0188828901611e01565b9250506080611f1288828901611e01565b9150509295509295909350565b60008060008060008060008060008060e08b8d031215611f3e57600080fd5b60008b013567ffffffffffffffff811115611f5857600080fd5b611f648d828e01611cba565b9a509a505060208b013567ffffffffffffffff811115611f8357600080fd5b611f8f8d828e01611d78565b985098505060408b013567ffffffffffffffff811115611fae57600080fd5b611fba8d828e01611d04565b965096505060608b013567ffffffffffffffff811115611fd957600080fd5b611fe58d828e01611d4e565b94505060808b013567ffffffffffffffff81111561200257600080fd5b61200e8d828e01611d4e565b93505060a08b013567ffffffffffffffff81111561202b57600080fd5b6120378d828e01611dc2565b92505060c06120488d828e01611e40565b9150509295989b9194979a5092959850565b60006020828403121561206c57600080fd5b600061207a84828501611dec565b91505092915050565b60006020828403121561209557600080fd5b60006120a384828501611e01565b91505092915050565b6000602082840312156120be57600080fd5b60006120cc84828501611e16565b91505092915050565b6000602082840312156120e757600080fd5b60006120f584828501611e2b565b91505092915050565b600080600080600060a0868803121561211657600080fd5b600061212488828901611e2b565b955050602061213588828901611e40565b945050604061214688828901611e16565b935050606061215788828901611ca5565b925050608061216888828901611ca5565b9150509295509295909350565b60006020828403121561218757600080fd5b600061219584828501611e55565b91505092915050565b600080604083850312156121b157600080fd5b60006121bf85828601611e40565b92505060206121d085828601611e01565b9150509250929050565b6121e381612a5b565b82525050565b6121f281612a6d565b82525050565b61220181612a79565b82525050565b61221861221382612a79565b612bd3565b82525050565b600061222982612994565b61223381856129aa565b9350612243818560208601612b26565b80840191505092915050565b61225881612ade565b82525050565b61226781612b02565b82525050565b60006122788261299f565b61228281856129b5565b9350612292818560208601612b26565b61229b81612c3b565b840191505092915050565b60006122b3600c836129b5565b91506122be82612c4c565b602082019050919050565b60006122d6602b836129b5565b91506122e182612c75565b604082019050919050565b60006122f96026836129b5565b915061230482612cc4565b604082019050919050565b600061231c6002836129c6565b915061232782612d13565b600282019050919050565b600061233f6029836129b5565b915061234a82612d3c565b604082019050919050565b60006123626010836129b5565b915061236d82612d8b565b602082019050919050565b60006123856026836129b5565b915061239082612db4565b604082019050919050565b60006123a8602e836129b5565b91506123b382612e03565b604082019050919050565b60006123cb6018836129b5565b91506123d682612e52565b602082019050919050565b60006123ee6020836129b5565b91506123f982612e7b565b602082019050919050565b6000612411601d836129b5565b915061241c82612ea4565b602082019050919050565b60006124346014836129b5565b915061243f82612ecd565b602082019050919050565b6000612457602b836129b5565b915061246282612ef6565b604082019050919050565b600061247a602a836129b5565b915061248582612f45565b604082019050919050565b600061249d601e836129b5565b91506124a882612f94565b602082019050919050565b6124bc81612ac7565b82525050565b6124cb81612ad1565b82525050565b60006124dd828461221e565b915081905092915050565b60006124f38261230f565b91506124ff8285612207565b60208201915061250f8284612207565b6020820191508190509392505050565b600060208201905061253460008301846121da565b92915050565b600060408201905061254f60008301856121da565b61255c60208301846121da565b9392505050565b600060608201905061257860008301866121da565b61258560208301856121da565b61259260408301846124b3565b949350505050565b60006040820190506125af60008301856121da565b6125bc60208301846124b3565b9392505050565b60006020820190506125d860008301846121e9565b92915050565b60006020820190506125f360008301846121f8565b92915050565b600060a08201905061260e60008301886121f8565b61261b60208301876121f8565b61262860408301866121f8565b61263560608301856124b3565b61264260808301846121da565b9695505050505050565b600060a08201905061266160008301886121f8565b61266e60208301876124b3565b61267b60408301866121f8565b61268860608301856121da565b61269560808301846121f8565b9695505050505050565b60006080820190506126b460008301876121f8565b6126c160208301866124c2565b6126ce60408301856121f8565b6126db60608301846121f8565b95945050505050565b60006020820190506126f9600083018461224f565b92915050565b6000602082019050612714600083018461225e565b92915050565b60006020820190508181036000830152612734818461226d565b905092915050565b60006020820190508181036000830152612755816122a6565b9050919050565b60006020820190508181036000830152612775816122c9565b9050919050565b60006020820190508181036000830152612795816122ec565b9050919050565b600060208201905081810360008301526127b581612332565b9050919050565b600060208201905081810360008301526127d581612355565b9050919050565b600060208201905081810360008301526127f581612378565b9050919050565b600060208201905081810360008301526128158161239b565b9050919050565b60006020820190508181036000830152612835816123be565b9050919050565b60006020820190508181036000830152612855816123e1565b9050919050565b6000602082019050818103600083015261287581612404565b9050919050565b6000602082019050818103600083015261289581612427565b9050919050565b600060208201905081810360008301526128b58161244a565b9050919050565b600060208201905081810360008301526128d58161246d565b9050919050565b600060208201905081810360008301526128f581612490565b9050919050565b600060208201905061291160008301846124b3565b92915050565b6000612921612932565b905061292d8282612b59565b919050565b6000604051905090565b600067ffffffffffffffff82111561295757612956612c0c565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561298357612982612c0c565b5b602082029050602081019050919050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006129dc82612ac7565b91506129e783612ac7565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612a1c57612a1b612bdd565b5b828201905092915050565b6000612a3282612ac7565b9150612a3d83612ac7565b925082821015612a5057612a4f612bdd565b5b828203905092915050565b6000612a6682612aa7565b9050919050565b60008115159050919050565b6000819050919050565b6000612a8e82612a5b565b9050919050565b6000612aa082612a5b565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000612ae982612af0565b9050919050565b6000612afb82612aa7565b9050919050565b6000612b0d82612b14565b9050919050565b6000612b1f82612aa7565b9050919050565b60005b83811015612b44578082015181840152602081019050612b29565b83811115612b53576000848401525b50505050565b612b6282612c3b565b810181811067ffffffffffffffff82111715612b8157612b80612c0c565b5b80604052505050565b6000612b9582612ac7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612bc857612bc7612bdd565b5b600182019050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f416c726561647920757365640000000000000000000000000000000000000000600082015250565b7f496e636f7272656374206e756d626572206f6620666f726d617474656420616d60008201527f6f756e7420686173686573000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f455243373132446f6d61696e2063616e206f6e6c7920626520696e697469616c60008201527f697a6564206f6e63650000000000000000000000000000000000000000000000602082015250565b7f546f6f206d7563682077696e6e65727300000000000000000000000000000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b7f496e636f7272656374206e756d626572206f6620626964730000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f4d75737420626520746865206f70657261746f72000000000000000000000000600082015250565b7f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960008201527f6e697469616c697a696e67000000000000000000000000000000000000000000602082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f496e636f7272656374206e756d626572206f66207369676e6174757265730000600082015250565b612fc681612a5b565b8114612fd157600080fd5b50565b612fdd81612a6d565b8114612fe857600080fd5b50565b612ff481612a79565b8114612fff57600080fd5b50565b61300b81612a83565b811461301657600080fd5b50565b61302281612a95565b811461302d57600080fd5b50565b61303981612ac7565b811461304457600080fd5b50565b61305081612ad1565b811461305b57600080fd5b5056fe4269642875696e7432353620616d6f756e742c737472696e6720636f6e74656e74732c6164647265737320746f6b656e436f6e74726163742c737472696e6720666f726d6174746564416d6f756e7429506c65617365207369676e20746f20636f6e6669726d20796f7572206269642e2054686520616d6f756e7473206172652073686f776e20696e2057454920616e64204554482ea26469706673582212200dd2f8c440196c77b9e2cd4dada1e07a42ebe3167722a480d7e01be4cd8a84af64736f6c63430008040033

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.