Contract 0xb9a2867a5050eab60a7b2e347da2a750e7f23bd3

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x211128d460d58cc9d6f4e98a312d6f0fc1ede011ad0ae5c7c412fec4ba1284f10x60806040104134512022-04-23 17:37:38159 days 2 hrs agoToadstoolz: Deployer IN  Create: HuntingGrounds0 ETH0.011273280889 ETH
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x96b21fbef4dc25078099194370321ec3c0b069f0481f4473a2e7f3aa80b015e0129453452022-05-25 18:03:27127 days 1 hr ago 0x5808773d6ce80e365ec001982c666fb44a69abf3 0xb9a2867a5050eab60a7b2e347da2a750e7f23bd30 ETH
0x7bb73bedd46c6a65f89c0b06171d83be9bf615f0631243efbcf56fb92794d5c4129448582022-05-25 17:55:08127 days 1 hr ago 0x5808773d6ce80e365ec001982c666fb44a69abf3 0xb9a2867a5050eab60a7b2e347da2a750e7f23bd30 ETH
0xf88cf03219a0c9bc21a764630872a6734fb7620a8fad8b8ac86a806280c243f8129440972022-05-25 17:33:50127 days 2 hrs ago 0x5808773d6ce80e365ec001982c666fb44a69abf3 0xb9a2867a5050eab60a7b2e347da2a750e7f23bd30 ETH
0x7b05226272333ef4b69372f615123ce07d31f1602fb5ad634c2141fe67e1dde4129438832022-05-25 17:27:42127 days 2 hrs ago 0x5808773d6ce80e365ec001982c666fb44a69abf3 0xb9a2867a5050eab60a7b2e347da2a750e7f23bd30 ETH
0x53c7f1926099e0e5c39c2e3d5945d37cfcc7be5588799ca83b25de17510235f0129423832022-05-25 16:46:47127 days 3 hrs ago 0x5808773d6ce80e365ec001982c666fb44a69abf3 0xb9a2867a5050eab60a7b2e347da2a750e7f23bd30 ETH
0xe8ba78a9ec984d39c1c790a05afb4a6c18894b8305cbb1caec2139c5dda226d2129420292022-05-25 16:37:17127 days 3 hrs ago 0x5808773d6ce80e365ec001982c666fb44a69abf3 0xb9a2867a5050eab60a7b2e347da2a750e7f23bd30 ETH
0xce8eadaf0979811afdfa758a6afc2e8fe187df69bfd5e8b3d49181a17243a531129419972022-05-25 16:36:24127 days 3 hrs ago 0x5808773d6ce80e365ec001982c666fb44a69abf3 0xb9a2867a5050eab60a7b2e347da2a750e7f23bd30 ETH
0xa94126f66243fb0e044f5bb465193105e79a43bbda9dab8c13d742c04c60ff2b129412482022-05-25 16:16:42127 days 3 hrs ago 0x5808773d6ce80e365ec001982c666fb44a69abf3 0xb9a2867a5050eab60a7b2e347da2a750e7f23bd30 ETH
0x19cb29cceebe5ca33a3cece6d79043412dd99d74ff910216015f6ecb63b54910129408252022-05-25 16:06:52127 days 3 hrs ago 0x5808773d6ce80e365ec001982c666fb44a69abf3 0xb9a2867a5050eab60a7b2e347da2a750e7f23bd30 ETH
0xfd10df5e049f204ddb2a6799207f62592114b159772bce6161140fa68d8a7a96129403032022-05-25 15:53:05127 days 4 hrs ago 0x5808773d6ce80e365ec001982c666fb44a69abf3 0xb9a2867a5050eab60a7b2e347da2a750e7f23bd30 ETH
0xbca53c52157a8235cbe88a485621f6c7a0a46eb03db1bfac75279c603867d64d129400122022-05-25 15:44:40127 days 4 hrs ago 0x5808773d6ce80e365ec001982c666fb44a69abf3 0xb9a2867a5050eab60a7b2e347da2a750e7f23bd30 ETH
0x796943abe6ffd494a13ec3658c3b000e6998e5b083b1dcb1b2f0a70bac3f1c50129381662022-05-25 15:10:29127 days 4 hrs ago 0x5808773d6ce80e365ec001982c666fb44a69abf3 0xb9a2867a5050eab60a7b2e347da2a750e7f23bd30 ETH
0x796943abe6ffd494a13ec3658c3b000e6998e5b083b1dcb1b2f0a70bac3f1c50129381662022-05-25 15:10:29127 days 4 hrs ago 0x5808773d6ce80e365ec001982c666fb44a69abf3 0xb9a2867a5050eab60a7b2e347da2a750e7f23bd30 ETH
0x796943abe6ffd494a13ec3658c3b000e6998e5b083b1dcb1b2f0a70bac3f1c50129381662022-05-25 15:10:29127 days 4 hrs ago 0x5808773d6ce80e365ec001982c666fb44a69abf3 0xb9a2867a5050eab60a7b2e347da2a750e7f23bd30 ETH
0x796943abe6ffd494a13ec3658c3b000e6998e5b083b1dcb1b2f0a70bac3f1c50129381662022-05-25 15:10:29127 days 4 hrs ago 0x5808773d6ce80e365ec001982c666fb44a69abf3 0xb9a2867a5050eab60a7b2e347da2a750e7f23bd30 ETH
0x796943abe6ffd494a13ec3658c3b000e6998e5b083b1dcb1b2f0a70bac3f1c50129381662022-05-25 15:10:29127 days 4 hrs ago 0x5808773d6ce80e365ec001982c666fb44a69abf3 0xb9a2867a5050eab60a7b2e347da2a750e7f23bd30 ETH
0x796943abe6ffd494a13ec3658c3b000e6998e5b083b1dcb1b2f0a70bac3f1c50129381662022-05-25 15:10:29127 days 4 hrs ago 0x5808773d6ce80e365ec001982c666fb44a69abf3 0xb9a2867a5050eab60a7b2e347da2a750e7f23bd30 ETH
0x796943abe6ffd494a13ec3658c3b000e6998e5b083b1dcb1b2f0a70bac3f1c50129381662022-05-25 15:10:29127 days 4 hrs ago 0x5808773d6ce80e365ec001982c666fb44a69abf3 0xb9a2867a5050eab60a7b2e347da2a750e7f23bd30 ETH
0x796943abe6ffd494a13ec3658c3b000e6998e5b083b1dcb1b2f0a70bac3f1c50129381662022-05-25 15:10:29127 days 4 hrs ago 0x5808773d6ce80e365ec001982c666fb44a69abf3 0xb9a2867a5050eab60a7b2e347da2a750e7f23bd30 ETH
0x2d04c2e27c4bf68fbc11e0f06039513868edf22e15b168aaf8df401132b05aed129381152022-05-25 15:09:31127 days 4 hrs ago 0x5808773d6ce80e365ec001982c666fb44a69abf3 0xb9a2867a5050eab60a7b2e347da2a750e7f23bd30 ETH
0xc7744c6476cca0b835c4c0580258cc5f23979ef8cf2cde2be5e400c539a9c16c129351342022-05-25 14:14:39127 days 5 hrs ago 0x5808773d6ce80e365ec001982c666fb44a69abf3 0xb9a2867a5050eab60a7b2e347da2a750e7f23bd30 ETH
0xc7744c6476cca0b835c4c0580258cc5f23979ef8cf2cde2be5e400c539a9c16c129351342022-05-25 14:14:39127 days 5 hrs ago 0x5808773d6ce80e365ec001982c666fb44a69abf3 0xb9a2867a5050eab60a7b2e347da2a750e7f23bd30 ETH
0xe20fca3bacdb0b10b17148bf17478f389555a233f417a98a9bc131a8a640578d129349142022-05-25 14:11:04127 days 5 hrs ago 0x5808773d6ce80e365ec001982c666fb44a69abf3 0xb9a2867a5050eab60a7b2e347da2a750e7f23bd30 ETH
0xc41d170bfa3c2016e64b1196415465711192b16ba4206b5a1ab280ff43991666129340202022-05-25 13:56:30127 days 5 hrs ago 0x5808773d6ce80e365ec001982c666fb44a69abf3 0xb9a2867a5050eab60a7b2e347da2a750e7f23bd30 ETH
0x827cb1ce77e93438f35815ed29b86adcb08214b0daa1652a3d13d5d37fd6aef7129328232022-05-25 13:38:55127 days 6 hrs ago 0x5808773d6ce80e365ec001982c666fb44a69abf3 0xb9a2867a5050eab60a7b2e347da2a750e7f23bd30 ETH
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
HuntingGrounds

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 18 : 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 2 of 18 : 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 3 of 18 : PausableUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

pragma solidity ^0.8.0;

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

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

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

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    function __Pausable_init() internal onlyInitializing {
        __Pausable_init_unchained();
    }

    function __Pausable_init_unchained() internal onlyInitializing {
        _paused = false;
    }

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

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

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

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

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

    /**
     * @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 4 of 18 : IERC1155Upgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165Upgradeable.sol";

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155Upgradeable is IERC165Upgradeable {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}

File 5 of 18 : 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 6 of 18 : 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);
            }
        }
    }
}

File 7 of 18 : 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 8 of 18 : IERC165Upgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165Upgradeable {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

File 9 of 18 : AdminableUpgradeable.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";

import "./UtilitiesUpgradeable.sol";

// Do not add state to this contract.
//
contract AdminableUpgradeable is UtilitiesUpgradeable {

    mapping(address => bool) private admins;

    function __Adminable_init() internal initializer {
        UtilitiesUpgradeable.__Utilities__init();
    }

    function addAdmin(address _address) external onlyOwner {
        admins[_address] = true;
    }

    function addAdmins(address[] calldata _addresses) external onlyOwner {
        for(uint256 i = 0; i < _addresses.length; i++) {
            admins[_addresses[i]] = true;
        }
    }

    function removeAdmin(address _address) external onlyOwner {
        admins[_address] = false;
    }

    function removeAdmins(address[] calldata _addresses) external onlyOwner {
        for(uint256 i = 0; i < _addresses.length; i++) {
            admins[_addresses[i]] = false;
        }
    }

    function setPause(bool _shouldPause) external onlyAdminOrOwner {
        if(_shouldPause) {
            _pause();
        } else {
            _unpause();
        }
    }

    function isAdmin(address _address) public view returns(bool) {
        return admins[_address];
    }

    modifier onlyAdmin() {
        require(admins[msg.sender], "Not admin");
        _;
    }

    modifier onlyAdminOrOwner() {
        require(admins[msg.sender] || isOwner(), "Not admin or owner");
        _;
    }

    uint256[50] private __gap;
}

File 10 of 18 : UtilitiesUpgradeable.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";

contract UtilitiesUpgradeable is Initializable, OwnableUpgradeable, PausableUpgradeable {

    function __Utilities__init() internal initializer {
        OwnableUpgradeable.__Ownable_init();
        PausableUpgradeable.__Pausable_init();

        _pause();
    }

    modifier nonZeroAddress(address _address) {
        require(address(0) != _address, "0 address");
        _;
    }

    modifier nonZeroLength(uint[] memory _array) {
        require(_array.length > 0, "Empty array");
        _;
    }

    modifier lengthsAreEqual(uint[] memory _array1, uint[] memory _array2) {
        require(_array1.length == _array2.length, "Unequal lengths");
        _;
    }

    modifier onlyEOA() {
        /* solhint-disable avoid-tx-origin */
        require(msg.sender == tx.origin, "No contracts");
        _;
    }

    function isOwner() internal view returns(bool) {
        return owner() == msg.sender;
    }

    function compareStrings(string memory a, string memory b) internal pure returns (bool) {
        return (keccak256(abi.encodePacked((a))) == keccak256(abi.encodePacked((b))));
    }
}

File 11 of 18 : IBadgez.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts-upgradeable/token/ERC1155/IERC1155Upgradeable.sol";

interface IBadgez is IERC1155Upgradeable {

    function mintIfNeeded(address _to, uint256 _id) external;
}

File 12 of 18 : IBugz.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol";

interface IBugz is IERC20Upgradeable {

    function mint(address _to, uint256 _amount) external;

    function burn(address _from, uint256 _amount) external;
}

File 13 of 18 : HuntingGrounds.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";

import "./HuntingGroundsSettings.sol";

contract HuntingGrounds is Initializable, HuntingGroundsSettings {

    function initialize() external initializer {
        HuntingGroundsSettings.__HuntingGroundsSettings_init();
    }

    function startHunting(
        uint256 _tokenId)
    external
    override
    whenNotPaused
    onlyAdminOrOwner
    contractsAreSet
    {
        tokenIdToLastClaimedTime[_tokenId] = block.timestamp;

        emit StartedHunting(_tokenId, block.timestamp);
    }

    function stopHunting(
        uint256 _tokenId,
        address _owner)
    external
    override
    whenNotPaused
    onlyAdminOrOwner
    contractsAreSet
    {
        _claimBugz(_tokenId, _owner);

        delete tokenIdToLastClaimedTime[_tokenId];

        emit StoppedHunting(_tokenId);
    }

    function claimBugz(
        uint256[] calldata _tokenIds)
    external
    whenNotPaused
    contractsAreSet
    onlyEOA
    nonZeroLength(_tokenIds)
    {

        for(uint256 i = 0; i < _tokenIds.length; i++) {
            require(world.ownerForStakedToad(_tokenIds[i]) == msg.sender, "HuntingGrounds: User does not own Toad");
            require(world.locationForStakedToad(_tokenIds[i]) == Location.HUNTING_GROUNDS, "HuntingGrounds: Toad is not at hunting grounds");

            _claimBugz(_tokenIds[i], msg.sender);
        }
    }

    function _claimBugz(uint256 _tokenId, address _to) private {
        uint256 _lastClaimTime = tokenIdToLastClaimedTime[_tokenId];
        require(_lastClaimTime > 0, "HuntingGrounds: Cannot have a last claim time of 0");

        uint256 _bugzAmount = (block.timestamp - tokenIdToLastClaimedTime[_tokenId]) * bugzAmountPerDay / 1 days;
        require(_bugzAmount > 0, "HuntingGrounds: Cannot claim 0 bugz");

        tokenIdToLastClaimedTime[_tokenId] = block.timestamp;

        ownerToTokenIdToTotalBugzClaimed[_to][_tokenId] += _bugzAmount;

        _mintBadgezIfNeeded(_to, _tokenId);

        bugz.mint(_to, _bugzAmount);

        emit ClaimedBugz(_tokenId, _bugzAmount, block.timestamp);
    }

    function _mintBadgezIfNeeded(address _to, uint256 _tokenId) private {
        for(uint256 i = 0; i < bugzBadgezAmounts.length; i++) {
            uint256 _bugzBadgeAmount = bugzBadgezAmounts[i];

            if(ownerToTokenIdToTotalBugzClaimed[_to][_tokenId] >= _bugzBadgeAmount) {
                require(bugzAmountToBadgeId[_bugzBadgeAmount] > 0, "HuntingGrounds: Badge id not set");

                badgez.mintIfNeeded(_to, bugzAmountToBadgeId[_bugzBadgeAmount]);
            }
        }
    }
}

File 14 of 18 : HuntingGroundsContracts.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";

import "./HuntingGroundsState.sol";

abstract contract HuntingGroundsContracts is Initializable, HuntingGroundsState {

    function __HuntingGroundsContracts_init() internal initializer {
        HuntingGroundsState.__HuntingGroundsState_init();
    }

    function setContracts(
        address _worldAddress,
        address _bugzAddress,
        address _badgezAddress)
    external
    onlyAdminOrOwner
    {
        world = IWorld(_worldAddress);
        bugz = IBugz(_bugzAddress);
        badgez = IBadgez(_badgezAddress);
    }

    modifier contractsAreSet() {
        require(areContractsSet(), "HuntingGrounds: Contracts aren't set");
        _;
    }

    function areContractsSet() public view returns(bool) {
        return address(world) != address(0)
            && address(bugz) != address(0)
            && address(badgez) != address(0);
    }
}

File 15 of 18 : HuntingGroundsSettings.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";

import "./HuntingGroundsContracts.sol";

abstract contract HuntingGroundsSettings is Initializable, HuntingGroundsContracts {

    function __HuntingGroundsSettings_init() internal initializer {
        HuntingGroundsContracts.__HuntingGroundsContracts_init();
    }

    function setBugzBadgezAmounts(
        uint256[] calldata _badgezAmounts,
        uint256[] calldata _badgezIds)
    external
    nonZeroLength(_badgezIds)
    onlyAdminOrOwner
    {
        require(_badgezAmounts.length == _badgezIds.length, "HuntingGrounds: Bad badgez array lengths");

        delete bugzBadgezAmounts;

        bugzBadgezAmounts = _badgezAmounts;

        for(uint256 i = 0; i < _badgezIds.length; i++) {
            require(_badgezIds[i] > 0, "HuntingGrounds: Bad badgez ids");
            bugzAmountToBadgeId[_badgezAmounts[i]] = _badgezIds[i];
        }
    }
}

File 16 of 18 : HuntingGroundsState.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";

import "./IHuntingGrounds.sol";
import "../../shared/AdminableUpgradeable.sol";
import "../world/IWorld.sol";
import "../bugz/IBugz.sol";
import "../badgez/IBadgez.sol";

abstract contract HuntingGroundsState is Initializable, IHuntingGrounds, AdminableUpgradeable {

    event StartedHunting(uint256 _tokenId, uint256 _timestamp);
    event ClaimedBugz(uint256 _tokenId, uint256 _amount, uint256 _timestamp);
    event StoppedHunting(uint256 _tokenId);

    IWorld public world;
    IBugz public bugz;
    IBadgez public badgez;

    mapping(uint256 => uint256) tokenIdToLastClaimedTime;
    mapping(address => mapping(uint256 => uint256)) ownerToTokenIdToTotalBugzClaimed;

    uint256 public bugzAmountPerDay;

    uint256[] public bugzBadgezAmounts;
    mapping(uint256 => uint256) public bugzAmountToBadgeId;

    function __HuntingGroundsState_init() internal initializer {
        AdminableUpgradeable.__Adminable_init();

        bugzAmountPerDay = 10 ether;

        bugzBadgezAmounts = [10 ether, 300 ether, 3650 ether];
        bugzAmountToBadgeId[10 ether] = 2;
        bugzAmountToBadgeId[300 ether] = 3;
        bugzAmountToBadgeId[3650 ether] = 4;
    }
}

File 17 of 18 : IHuntingGrounds.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface IHuntingGrounds {

    function startHunting(uint256 _tokenId) external;

    function stopHunting(uint256 _tokenId, address _owner) external;
}

File 18 of 18 : IWorld.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface IWorld {

    function ownerForStakedToad(uint256 _tokenId) external view returns(address);

    function locationForStakedToad(uint256 _tokenId) external view returns(Location);

    function balanceOf(address _owner) external view returns (uint256);
}

enum Location {
    NOT_STAKED,
    WORLD,
    HUNTING_GROUNDS,
    ADVENTURE
}

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

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_timestamp","type":"uint256"}],"name":"ClaimedBugz","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_timestamp","type":"uint256"}],"name":"StartedHunting","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"StoppedHunting","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"addAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"addAdmins","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"areContractsSet","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"badgez","outputs":[{"internalType":"contract IBadgez","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bugz","outputs":[{"internalType":"contract IBugz","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bugzAmountPerDay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"bugzAmountToBadgeId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"bugzBadgezAmounts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"claimBugz","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"isAdmin","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"removeAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"removeAdmins","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_badgezAmounts","type":"uint256[]"},{"internalType":"uint256[]","name":"_badgezIds","type":"uint256[]"}],"name":"setBugzBadgezAmounts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_worldAddress","type":"address"},{"internalType":"address","name":"_bugzAddress","type":"address"},{"internalType":"address","name":"_badgezAddress","type":"address"}],"name":"setContracts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_shouldPause","type":"bool"}],"name":"setPause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"startHunting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"address","name":"_owner","type":"address"}],"name":"stopHunting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"world","outputs":[{"internalType":"contract IWorld","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b50611c20806100206000396000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c8063856a8650116100c3578063bedb86fb1161007c578063bedb86fb146102c0578063c6041583146102d3578063df9abbf7146102e6578063e25349b4146102ef578063f2fde38b1461030f578063f91740bd1461032257600080fd5b8063856a86501461024d5780638cdcc4b4146102605780638da5cb5b14610268578063902c5dc5146102795780639c54df641461029a578063b3066d49146102ad57600080fd5b80634918864f116101155780634918864f146101f9578063584b13581461020c5780635c975abb1461021f578063704802751461022a578063715018a61461023d5780638129fc1c1461024557600080fd5b80631785f53c146101525780632438f4581461016757806324d7806c1461019757806330b67baa146101d3578063377e11e0146101e6575b600080fd5b6101656101603660046117a3565b610335565b005b60cb5461017a906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b6101c36101a53660046117a3565b6001600160a01b031660009081526097602052604090205460ff1690565b604051901515815260200161018e565b60ca5461017a906001600160a01b031681565b6101656101f4366004611813565b610389565b610165610207366004611813565b61042a565b60cc5461017a906001600160a01b031681565b60655460ff166101c3565b6101656102383660046117a3565b610775565b6101656107c3565b6101656107f9565b61016561025b366004611855565b610873565b6101c3610950565b6033546001600160a01b031661017a565b61028c610287366004611885565b610992565b60405190815260200161018e565b6101656102a8366004611813565b6109b3565b6101656102bb36600461189e565b610a4f565b6101656102ce3660046118e9565b610acb565b6101656102e1366004611885565b610b1e565b61028c60cf5481565b61028c6102fd366004611885565b60d16020526000908152604090205481565b61016561031d3660046117a3565b610bf0565b61016561033036600461190b565b610c88565b6033546001600160a01b031633146103685760405162461bcd60e51b815260040161035f90611977565b60405180910390fd5b6001600160a01b03166000908152609760205260409020805460ff19169055565b6033546001600160a01b031633146103b35760405162461bcd60e51b815260040161035f90611977565b60005b81811015610425576000609760008585858181106103d6576103d66119ac565b90506020020160208101906103eb91906117a3565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061041d816119d8565b9150506103b6565b505050565b60655460ff161561044d5760405162461bcd60e51b815260040161035f906119f3565b610455610950565b6104715760405162461bcd60e51b815260040161035f90611a1d565b3332146104af5760405162461bcd60e51b815260206004820152600c60248201526b4e6f20636f6e74726163747360a01b604482015260640161035f565b8181808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152505082511515915061052290505760405162461bcd60e51b815260206004820152600b60248201526a456d70747920617272617960a81b604482015260640161035f565b60005b8281101561076f5760ca5433906001600160a01b031663c37e2218868685818110610552576105526119ac565b905060200201356040518263ffffffff1660e01b815260040161057791815260200190565b60206040518083038186803b15801561058f57600080fd5b505afa1580156105a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105c79190611a61565b6001600160a01b03161461062c5760405162461bcd60e51b815260206004820152602660248201527f48756e74696e6747726f756e64733a205573657220646f6573206e6f74206f776044820152651b88151bd85960d21b606482015260840161035f565b600260ca546001600160a01b03166372e9b78e868685818110610651576106516119ac565b905060200201356040518263ffffffff1660e01b815260040161067691815260200190565b60206040518083038186803b15801561068e57600080fd5b505afa1580156106a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106c69190611a94565b60038111156106d7576106d7611a7e565b1461073b5760405162461bcd60e51b815260206004820152602e60248201527f48756e74696e6747726f756e64733a20546f6164206973206e6f74206174206860448201526d756e74696e672067726f756e647360901b606482015260840161035f565b61075d848483818110610750576107506119ac565b9050602002013533610e87565b80610767816119d8565b915050610525565b50505050565b6033546001600160a01b0316331461079f5760405162461bcd60e51b815260040161035f90611977565b6001600160a01b03166000908152609760205260409020805460ff19166001179055565b6033546001600160a01b031633146107ed5760405162461bcd60e51b815260040161035f90611977565b6107f7600061108e565b565b600054610100900460ff166108145760005460ff1615610818565b303b155b6108345760405162461bcd60e51b815260040161035f90611ab5565b600054610100900460ff16158015610856576000805461ffff19166101011790555b61085e6110e0565b8015610870576000805461ff00191690555b50565b60655460ff16156108965760405162461bcd60e51b815260040161035f906119f3565b3360009081526097602052604090205460ff16806108b757506108b7611145565b6108d35760405162461bcd60e51b815260040161035f90611b03565b6108db610950565b6108f75760405162461bcd60e51b815260040161035f90611a1d565b6109018282610e87565b600082815260cd602052604080822091909155517f9eb77d60baeddb5dd5597de083eeb248b5b97fd9ee548418f17c31d2bb3be3ed906109449084815260200190565b60405180910390a15050565b60ca546000906001600160a01b031615801590610977575060cb546001600160a01b031615155b801561098d575060cc546001600160a01b031615155b905090565b60d081815481106109a257600080fd5b600091825260209091200154905081565b6033546001600160a01b031633146109dd5760405162461bcd60e51b815260040161035f90611977565b60005b8181101561042557600160976000858585818110610a0057610a006119ac565b9050602002016020810190610a1591906117a3565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610a47816119d8565b9150506109e0565b3360009081526097602052604090205460ff1680610a705750610a70611145565b610a8c5760405162461bcd60e51b815260040161035f90611b03565b60ca80546001600160a01b039485166001600160a01b03199182161790915560cb80549385169382169390931790925560cc8054919093169116179055565b3360009081526097602052604090205460ff1680610aec5750610aec611145565b610b085760405162461bcd60e51b815260040161035f90611b03565b8015610b1657610870611169565b6108706111de565b60655460ff1615610b415760405162461bcd60e51b815260040161035f906119f3565b3360009081526097602052604090205460ff1680610b625750610b62611145565b610b7e5760405162461bcd60e51b815260040161035f90611b03565b610b86610950565b610ba25760405162461bcd60e51b815260040161035f90611a1d565b600081815260cd602090815260409182902042908190558251848152918201527f4b59123fb0d01b9c15dc362f2542b562817aeb20c8bb6a5cb39d9b24f88fd5d8910160405180910390a150565b6033546001600160a01b03163314610c1a5760405162461bcd60e51b815260040161035f90611977565b6001600160a01b038116610c7f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161035f565b6108708161108e565b81818080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050825115159150610cfb90505760405162461bcd60e51b815260206004820152600b60248201526a456d70747920617272617960a81b604482015260640161035f565b3360009081526097602052604090205460ff1680610d1c5750610d1c611145565b610d385760405162461bcd60e51b815260040161035f90611b03565b838214610d985760405162461bcd60e51b815260206004820152602860248201527f48756e74696e6747726f756e64733a204261642062616467657a206172726179604482015267206c656e6774687360c01b606482015260840161035f565b610da460d060006116c8565b610db060d086866116e6565b5060005b82811015610e7f576000848483818110610dd057610dd06119ac565b9050602002013511610e245760405162461bcd60e51b815260206004820152601e60248201527f48756e74696e6747726f756e64733a204261642062616467657a206964730000604482015260640161035f565b838382818110610e3657610e366119ac565b9050602002013560d16000888885818110610e5357610e536119ac565b905060200201358152602001908152602001600020819055508080610e77906119d8565b915050610db4565b505050505050565b600082815260cd602052604090205480610efe5760405162461bcd60e51b815260206004820152603260248201527f48756e74696e6747726f756e64733a2043616e6e6f7420686176652061206c616044820152710737420636c61696d2074696d65206f6620360741b606482015260840161035f565b60cf54600084815260cd602052604081205490916201518091610f219042611b2f565b610f2b9190611b46565b610f359190611b65565b905060008111610f935760405162461bcd60e51b815260206004820152602360248201527f48756e74696e6747726f756e64733a2043616e6e6f7420636c61696d203020626044820152623ab3bd60e91b606482015260840161035f565b600084815260cd602090815260408083204290556001600160a01b038616835260ce825280832087845290915281208054839290610fd2908490611b87565b90915550610fe290508385611258565b60cb546040516340c10f1960e01b81526001600160a01b03858116600483015260248201849052909116906340c10f1990604401600060405180830381600087803b15801561103057600080fd5b505af1158015611044573d6000803e3d6000fd5b50506040805187815260208101859052428183015290517fb8f75908f9fbaf5d07cb5c927f0d48879263be90b32d4e81ad9404f7865c98bc9350908190036060019150a150505050565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff166110fb5760005460ff16156110ff565b303b155b61111b5760405162461bcd60e51b815260040161035f90611ab5565b600054610100900460ff1615801561113d576000805461ffff19166101011790555b61085e611394565b60003361115a6033546001600160a01b031690565b6001600160a01b031614905090565b60655460ff161561118c5760405162461bcd60e51b815260040161035f906119f3565b6065805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586111c13390565b6040516001600160a01b03909116815260200160405180910390a1565b60655460ff166112275760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015260640161035f565b6065805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa336111c1565b60005b60d05481101561042557600060d0828154811061127a5761127a6119ac565b60009182526020808320909101546001600160a01b038716835260ce82526040808420878552909252912054909150811161138157600081815260d1602052604090205461130a5760405162461bcd60e51b815260206004820181905260248201527f48756e74696e6747726f756e64733a204261646765206964206e6f7420736574604482015260640161035f565b60cc54600082815260d1602052604090819020549051630ebe21d760e11b81526001600160a01b0387811660048301526024820192909252911690631d7c43ae90604401600060405180830381600087803b15801561136857600080fd5b505af115801561137c573d6000803e3d6000fd5b505050505b508061138c816119d8565b91505061125b565b600054610100900460ff166113af5760005460ff16156113b3565b303b155b6113cf5760405162461bcd60e51b815260040161035f90611ab5565b600054610100900460ff161580156113f1576000805461ffff19166101011790555b61085e600054610100900460ff1661140f5760005460ff1615611413565b303b155b61142f5760405162461bcd60e51b815260040161035f90611ab5565b600054610100900460ff16158015611451576000805461ffff19166101011790555b611459611532565b678ac7230489e8000060cf81905560408051606081018252918252681043561a8829300000602083015268c5ddeced789fc800009082015261149f9060d0906003611731565b5060d160205260027f6e885dad83e3ecacf3b31dd3e3c85fa636cd26c76f5cb8f3b4076767121ddf7e5560037f7e9c4ba765884446dd4fcc14c516e12bedd15eba98e056c2f194a29a84a995955568c5ddeced789fc8000060005260047f0b3088a9335db9a98fb2df7876a8a08f718fff4419fa318ac71b7e95e61ba15c558015610870576000805461ff001916905550565b600054610100900460ff1661154d5760005460ff1615611551565b303b155b61156d5760405162461bcd60e51b815260040161035f90611ab5565b600054610100900460ff1615801561158f576000805461ffff19166101011790555b61085e600054610100900460ff166115ad5760005460ff16156115b1565b303b155b6115cd5760405162461bcd60e51b815260040161035f90611ab5565b600054610100900460ff161580156115ef576000805461ffff19166101011790555b6115f7611607565b6115ff611636565b61085e611169565b600054610100900460ff1661162e5760405162461bcd60e51b815260040161035f90611b9f565b6107f7611665565b600054610100900460ff1661165d5760405162461bcd60e51b815260040161035f90611b9f565b6107f7611695565b600054610100900460ff1661168c5760405162461bcd60e51b815260040161035f90611b9f565b6107f73361108e565b600054610100900460ff166116bc5760405162461bcd60e51b815260040161035f90611b9f565b6065805460ff19169055565b50805460008255906000526020600020908101906108709190611779565b828054828255906000526020600020908101928215611721579160200282015b82811115611721578235825591602001919060010190611706565b5061172d929150611779565b5090565b828054828255906000526020600020908101928215611721579160200282015b82811115611721578251829068ffffffffffffffffff16905591602001919060010190611751565b5b8082111561172d576000815560010161177a565b6001600160a01b038116811461087057600080fd5b6000602082840312156117b557600080fd5b81356117c08161178e565b9392505050565b60008083601f8401126117d957600080fd5b50813567ffffffffffffffff8111156117f157600080fd5b6020830191508360208260051b850101111561180c57600080fd5b9250929050565b6000806020838503121561182657600080fd5b823567ffffffffffffffff81111561183d57600080fd5b611849858286016117c7565b90969095509350505050565b6000806040838503121561186857600080fd5b82359150602083013561187a8161178e565b809150509250929050565b60006020828403121561189757600080fd5b5035919050565b6000806000606084860312156118b357600080fd5b83356118be8161178e565b925060208401356118ce8161178e565b915060408401356118de8161178e565b809150509250925092565b6000602082840312156118fb57600080fd5b813580151581146117c057600080fd5b6000806000806040858703121561192157600080fd5b843567ffffffffffffffff8082111561193957600080fd5b611945888389016117c7565b9096509450602087013591508082111561195e57600080fd5b5061196b878288016117c7565b95989497509550505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006000198214156119ec576119ec6119c2565b5060010190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60208082526024908201527f48756e74696e6747726f756e64733a20436f6e747261637473206172656e2774604082015263081cd95d60e21b606082015260800190565b600060208284031215611a7357600080fd5b81516117c08161178e565b634e487b7160e01b600052602160045260246000fd5b600060208284031215611aa657600080fd5b8151600481106117c057600080fd5b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b6020808252601290820152712737ba1030b236b4b71037b91037bbb732b960711b604082015260600190565b600082821015611b4157611b416119c2565b500390565b6000816000190483118215151615611b6057611b606119c2565b500290565b600082611b8257634e487b7160e01b600052601260045260246000fd5b500490565b60008219821115611b9a57611b9a6119c2565b500190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b60608201526080019056fea26469706673582212200444015fd62ea36399b0688ad88889a8615fd17caac56d21048bed0d261b9aa664736f6c63430008090033

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