ETH Price: $2,484.80 (-0.41%)
Gas: 0.74 Gwei

Contract

0x813d326B565e19e5cD4fC06bcd909C6955B01458
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Create Market Sa...213849522024-12-12 7:32:2375 days ago1733988743IN
0x813d326B...955B01458
0 ETH0.0016217914.22841537
Create Market Sa...213849402024-12-12 7:29:5975 days ago1733988599IN
0x813d326B...955B01458
0 ETH0.0015612413.69715512
Create Market Sa...213849382024-12-12 7:29:3575 days ago1733988575IN
0x813d326B...955B01458
0 ETH0.0015829713.88926469
Create Market Sa...201563182024-06-23 18:56:23247 days ago1719168983IN
0x813d326B...955B01458
0 ETH0.000336292.95039276
Create Market Sa...201562872024-06-23 18:50:11247 days ago1719168611IN
0x813d326B...955B01458
0 ETH0.00031222.73907643
Create Market Sa...187081522023-12-03 20:10:59450 days ago1701634259IN
0x813d326B...955B01458
0 ETH0.0055499746.57384077
Create Market Sa...185518132023-11-11 22:57:23472 days ago1699743443IN
0x813d326B...955B01458
0 ETH0.0030356926.63284925
Create Market Sa...185518082023-11-11 22:56:11472 days ago1699743371IN
0x813d326B...955B01458
0 ETH0.0027064823.74467978
Create Market Sa...185518052023-11-11 22:55:35472 days ago1699743335IN
0x813d326B...955B01458
0 ETH0.0026507623.25576235
Create Market Sa...185518032023-11-11 22:55:11472 days ago1699743311IN
0x813d326B...955B01458
0 ETH0.0027892124.47304704
Create Market Sa...169108762023-03-26 10:01:47702 days ago1679824907IN
0x813d326B...955B01458
0 ETH0.0016675214.6295625
Create Market Sa...168994982023-03-24 19:40:23704 days ago1679686823IN
0x813d326B...955B01458
0 ETH0.0025006821.94141097
Create Market Sa...167481752023-03-03 13:07:35725 days ago1677848855IN
0x813d326B...955B01458
0 ETH0.0022780720.86703331
Create Market Sa...167074692023-02-25 19:49:11731 days ago1677354551IN
0x813d326B...955B01458
0 ETH0.0024897421.84313252
Create Market Sa...167074582023-02-25 19:46:47731 days ago1677354407IN
0x813d326B...955B01458
0 ETH0.0023233720.38351577
Create Market Sa...167074362023-02-25 19:42:23731 days ago1677354143IN
0x813d326B...955B01458
0 ETH0.0025286922.18721763
Create Market Sa...166577672023-02-18 20:04:23738 days ago1676750663IN
0x813d326B...955B01458
0 ETH0.0029813526.15609677
Create Market Sa...166577612023-02-18 20:03:11738 days ago1676750591IN
0x813d326B...955B01458
0 ETH0.0030723226.95426966
Create Market Sa...166577552023-02-18 20:01:59738 days ago1676750519IN
0x813d326B...955B01458
0 ETH0.0029191825.61068545
Create Market Sa...166577452023-02-18 19:59:59738 days ago1676750399IN
0x813d326B...955B01458
0 ETH0.0023552820.66566361
Create Market Sa...166096352023-02-12 2:16:35744 days ago1676168195IN
0x813d326B...955B01458
0 ETH0.0017789515.60721818
Create Market Sa...166096312023-02-12 2:15:47744 days ago1676168147IN
0x813d326B...955B01458
0 ETH0.0016875114.80648912
Create Market Sa...166096272023-02-12 2:14:59744 days ago1676168099IN
0x813d326B...955B01458
0 ETH0.0016406814.39416343
Create Market Sa...166096232023-02-12 2:14:11744 days ago1676168051IN
0x813d326B...955B01458
0 ETH0.0017736515.56073485
Create Market Sa...165715102023-02-06 18:22:11750 days ago1675707731IN
0x813d326B...955B01458
0 ETH0.004777941.91765498
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
JungleMarketplace

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 11 : JungleMarketplace.sol
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
import "@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";

/**
* On-chain marketplace pricing state/logic for JungleverseItem ERC1155 tokens.
* Admins will be able to mint supplies of ERC1155 tokens to this address 
* and sell them here for purchase in JUNGLE as an official "Primary Sale".
* All sale proceeds go to the contract which can be redeemed by the owner.
*/
contract JungleMarketplace is IERC1155Receiver, Ownable {

  IERC1155 public jungleverseItem;
  ERC20Burnable public jungleToken;
  uint256 public maxPurchaseAmount;

  mapping(uint256 => uint256) public tokenIdToJunglePrice;
  mapping(address => mapping(uint256 => uint256)) public userPurchasedTokenIdAmount;

  // NOTE: You'll also need to run setJungleverseItemContract before creating listings.
  constructor(address jungleTokenAddress) {
    jungleToken = ERC20Burnable(jungleTokenAddress);
  }

  /* 
  * Places a JungleverseItem "for sale" on the marketplace, priced in $JUNGLE. 
  * NOTE: SINCE THIS IS A CONTRACT-ONLY OPERATION, SUPPLY THE AMOUNT IN "WHOLE" $JUNGLE.
  * SOLIDITY WILL MULTIPLY THE 10^18 TO ENSURE LESS FAT-FINGERING/HUMAN ERROR.
  * 
  * NOTE: To fetch market prices, utilize the public `tokenIdToJunglePrice`. 
  * The client must manually dictates what tokenIds will be shown at a time.
  * This is to save gas for read-path calls.
  */
  function createMarketListing(
    uint256 tokenId,
    uint256 priceInJungleInteger
  ) public onlyOwner {
    require(address(jungleverseItem) != 0x0000000000000000000000000000000000000000, 
      "Please configure sellable ERC1155 contract via setJungleverseItemContract.");
    require(priceInJungleInteger > 0, "Price must be at least 1 $JUNGLE. BE SURE TO USE THE INTEGER VALUE.");

    tokenIdToJunglePrice[tokenId] = priceInJungleInteger * 1e18;
  }

  /* 
  * Creates the sale of a JungleverseItem from the "seller" to the msg.sender.
  * Transfers ownership of "amount" instances of an ERC1155 with a given id, 
  * and $JUNGLE from the buyer to the contract based on the tokens price.
  */
  function createMarketSale(uint256 tokenId, uint256 amount) public {
    require(address(jungleverseItem) != 0x0000000000000000000000000000000000000000, 
      "Please configure sellable ERC1155 contract via setJungleverseItemContract.");
    require(amount > 0, "Purchasable amount must be non-zero.");

    uint price = tokenIdToJunglePrice[tokenId] * amount;
    uint supply = jungleverseItem.balanceOf(address(this), tokenId);
    require(price > 0, "This item is not listed for sale!");
    require(supply > 0, "This item is sold out.");

    uint256 buyerJungleBalance = jungleToken.balanceOf(msg.sender);
    require(buyerJungleBalance >= price, "Insufficient funds: Not enough $JUNGLE for sale price");

    require(userPurchasedTokenIdAmount[msg.sender][tokenId] + amount <= maxPurchaseAmount, "Max amount");
    userPurchasedTokenIdAmount[msg.sender][tokenId] += amount;

    jungleToken.burnFrom(msg.sender, price);
    jungleverseItem.safeTransferFrom(address(this), msg.sender, tokenId, amount, "0x0");
  }


  /*********** ADMIN FUNCTIONS ************/


  /* 
  * Sets the ERC1155 contract which the Marketplace is holding and selling.
  * 
  * In conjunction with `deleteMarketListing` and `withdrawAllJungle`, allows owner to  
  * migrate Marketplace to sell items from a different ERC1155 NFT contract.
  */
  function setJungleverseItemContract(IERC1155 _contract) public onlyOwner {
    jungleverseItem = _contract;
  }

  function setMaxPurchaseAmount(uint256 _maxPurchaseAmount) public onlyOwner {
    maxPurchaseAmount = _maxPurchaseAmount;
  }

  /* 
  * Delete item price listing from Marketplace. 
  * Only do this if its sold out and you don't want to it show up on the site again.
  */
  function deleteMarketListing(uint256 _tokenId) public onlyOwner {
    delete tokenIdToJunglePrice[_tokenId];
  }


  function withdrawJungle(uint256 _amount) public onlyOwner {
    uint256 jungleBalance = jungleToken.balanceOf(address(this));
    require(jungleBalance >= _amount, "Insufficient funds: not enough $JUNGLE");
    jungleToken.transfer(msg.sender, _amount);
  }

  function withdrawAllJungle() public onlyOwner {
    uint256 jungleBalance = jungleToken.balanceOf(address(this));
    require(jungleBalance > 0, "No $JUNGLE within this contract");
    jungleToken.transfer(msg.sender, jungleBalance);
  }


  function withdrawItems(uint256 _tokenId, uint256 _amount) public onlyOwner {
    uint256 contractBalance = jungleverseItem.balanceOf(address(this), _tokenId);
    require(contractBalance >= _amount, "Insufficient funds: not enough unsold Items");
    jungleverseItem.safeTransferFrom(address(this), msg.sender, _tokenId, _amount, "0x0");
  }

  function withdrawAllItems(uint256 _tokenId) public onlyOwner {
    uint256 contractBalance = jungleverseItem.balanceOf(address(this), _tokenId);
    require(contractBalance > 0, "No unsold Items left on the contract!");
    jungleverseItem.safeTransferFrom(address(this), msg.sender, _tokenId, contractBalance, "0x0");
  }


  // Just in case anyone sends us any random shitcoins ;)
  function withdrawErc20(address erc20Contract, uint256 _amount) public onlyOwner {
    uint256 erc20Balance = jungleToken.balanceOf(address(this));
    require(erc20Balance >= _amount, "Insufficient funds: not enough ERC20");
    IERC20(erc20Contract).transfer(msg.sender, _amount);
  }


  // Required for SC to hold ERC1155. Copypasta from OZ cuz node bein caca.
  // https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC1155/utils/ERC1155Holder.sol
  function onERC1155Received(
        address,
        address,
        uint256,
        uint256,
        bytes memory
    ) public virtual override returns (bytes4) {
        return this.onERC1155Received.selector;
    }

    function onERC1155BatchReceived(
        address,
        address,
        uint256[] memory,
        uint256[] memory,
        bytes memory
    ) public virtual override returns (bytes4) {
        return this.onERC1155BatchReceived.selector;
    }

  function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
      return interfaceId == type(IERC1155Receiver).interfaceId;
  }

}

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

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _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);
    }
}

File 3 of 11 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

        _;

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

File 4 of 11 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.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 IERC1155 is IERC165 {
    /**
     * @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 11 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {
    /**
     * @dev Handles the receipt of a single ERC1155 token type. This function is
     * called at the end of a `safeTransferFrom` after the balance has been updated.
     *
     * NOTE: To accept the transfer, this must return
     * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
     * (i.e. 0xf23a6e61, or its own function selector).
     *
     * @param operator The address which initiated the transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param id The ID of the token being transferred
     * @param value The amount of tokens being transferred
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
     */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

    /**
     * @dev Handles the receipt of a multiple ERC1155 token types. This function
     * is called at the end of a `safeBatchTransferFrom` after the balances have
     * been updated.
     *
     * NOTE: To accept the transfer(s), this must return
     * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
     * (i.e. 0xbc197c81, or its own function selector).
     *
     * @param operator The address which initiated the batch transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param ids An array containing ids of each token being transferred (order and length must match values array)
     * @param values An array containing amounts of each token being transferred (order and length must match ids array)
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
     */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}

File 6 of 11 : ERC20Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol)

pragma solidity ^0.8.0;

import "../ERC20.sol";
import "../../../utils/Context.sol";

/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public virtual {
        _spendAllowance(account, _msgSender(), amount);
        _burn(account, amount);
    }
}

File 7 of 11 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 8 of 11 : IERC165.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 IERC165 {
    /**
     * @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 11 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

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

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

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

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

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

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

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

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

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

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

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

File 10 of 11 : IERC20.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 IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

    /**
     * @dev Moves `amount` tokens from the caller's account to `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 11 of 11 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"jungleTokenAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"priceInJungleInteger","type":"uint256"}],"name":"createMarketListing","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"createMarketSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"deleteMarketListing","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"jungleToken","outputs":[{"internalType":"contract ERC20Burnable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"jungleverseItem","outputs":[{"internalType":"contract IERC1155","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPurchaseAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC1155BatchReceived","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC1155Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","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":"contract IERC1155","name":"_contract","type":"address"}],"name":"setJungleverseItemContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPurchaseAmount","type":"uint256"}],"name":"setMaxPurchaseAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenIdToJunglePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"userPurchasedTokenIdAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"withdrawAllItems","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAllJungle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"erc20Contract","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawErc20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawItems","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawJungle","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162002d9c38038062002d9c833981810160405281019062000037919062000182565b620000576200004b6200009f60201b60201c565b620000a760201b60201c565b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050620001fc565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000815190506200017c81620001e2565b92915050565b6000602082840312156200019557600080fd5b6000620001a5848285016200016b565b91505092915050565b6000620001bb82620001c2565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b620001ed81620001ae565b8114620001f957600080fd5b50565b612b90806200020c6000396000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c80639e72f555116100b8578063bd0aa4fd1161007c578063bd0aa4fd14610310578063bd1f4b521461032e578063f23a6e611461034a578063f2fde38b1461037a578063f90c566d14610396578063f952fcad146103b257610137565b80639e72f55514610280578063a0a594841461028a578063a1c11ca8146102a8578063a5fa12f0146102c4578063bc197c81146102e057610137565b806362d711d9116100ff57806362d711d9146101f05780636456152a146102205780636d10db371461023c578063715018a6146102585780638da5cb5b1461026257610137565b806301ffc9a71461013c578063079458921461016c57806320517e64146101885780633b5e5e81146101b85780634cb25cfb146101d4575b600080fd5b61015660048036038101906101519190611dbd565b6103d0565b60405161016391906121a0565b60405180910390f35b61018660048036038101906101819190611e0f565b61043a565b005b6101a2600480360381019061019d9190611e0f565b6104d0565b6040516101af91906123cc565b60405180910390f35b6101d260048036038101906101cd9190611e61565b6104e8565b005b6101ee60048036038101906101e99190611e0f565b6106ef565b005b61020a60048036038101906102059190611d58565b6108f5565b60405161021791906123cc565b60405180910390f35b61023a60048036038101906102359190611e61565b61091a565b005b61025660048036038101906102519190611e0f565b610a9a565b005b610260610cbc565b005b61026a610d44565b6040516102779190612104565b60405180910390f35b610288610d6d565b005b610292610f8e565b60405161029f91906121d6565b60405180910390f35b6102c260048036038101906102bd9190611e61565b610fb4565b005b6102de60048036038101906102d99190611e0f565b611504565b005b6102fa60048036038101906102f59190611c0a565b61158a565b60405161030791906121bb565b60405180910390f35b61031861159f565b60405161032591906121f1565b60405180910390f35b61034860048036038101906103439190611d58565b6115c5565b005b610364600480360381019061035f9190611cc9565b6117c6565b60405161037191906121bb565b60405180910390f35b610394600480360381019061038f9190611be1565b6117db565b005b6103b060048036038101906103ab9190611de6565b6118d3565b005b6103ba611993565b6040516103c791906123cc565b60405180910390f35b60007f4e2312e0000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b610442611999565b73ffffffffffffffffffffffffffffffffffffffff16610460610d44565b73ffffffffffffffffffffffffffffffffffffffff16146104b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104ad906122ec565b60405180910390fd5b600460008281526020019081526020016000206000905550565b60046020528060005260406000206000915090505481565b6104f0611999565b73ffffffffffffffffffffffffffffffffffffffff1661050e610d44565b73ffffffffffffffffffffffffffffffffffffffff1614610564576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161055b906122ec565b60405180910390fd5b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662fdd58e30856040518363ffffffff1660e01b81526004016105c2929190612177565b60206040518083038186803b1580156105da57600080fd5b505afa1580156105ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106129190611e38565b905081811015610657576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161064e9061222c565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f242432a303386866040518563ffffffff1660e01b81526004016106b8949392919061211f565b600060405180830381600087803b1580156106d257600080fd5b505af11580156106e6573d6000803e3d6000fd5b50505050505050565b6106f7611999565b73ffffffffffffffffffffffffffffffffffffffff16610715610d44565b73ffffffffffffffffffffffffffffffffffffffff161461076b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610762906122ec565b60405180910390fd5b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662fdd58e30846040518363ffffffff1660e01b81526004016107c9929190612177565b60206040518083038186803b1580156107e157600080fd5b505afa1580156107f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108199190611e38565b90506000811161085e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610855906122ac565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f242432a303385856040518563ffffffff1660e01b81526004016108bf949392919061211f565b600060405180830381600087803b1580156108d957600080fd5b505af11580156108ed573d6000803e3d6000fd5b505050505050565b6005602052816000526040600020602052806000526040600020600091509150505481565b610922611999565b73ffffffffffffffffffffffffffffffffffffffff16610940610d44565b73ffffffffffffffffffffffffffffffffffffffff1614610996576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098d906122ec565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610a28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1f9061234c565b60405180910390fd5b60008111610a6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a629061232c565b60405180910390fd5b670de0b6b3a764000081610a7f91906124e1565b60046000848152602001908152602001600020819055505050565b610aa2611999565b73ffffffffffffffffffffffffffffffffffffffff16610ac0610d44565b73ffffffffffffffffffffffffffffffffffffffff1614610b16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0d906122ec565b60405180910390fd5b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610b739190612104565b60206040518083038186803b158015610b8b57600080fd5b505afa158015610b9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc39190611e38565b905081811015610c08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bff9061238c565b60405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33846040518363ffffffff1660e01b8152600401610c65929190612177565b602060405180830381600087803b158015610c7f57600080fd5b505af1158015610c93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cb79190611d94565b505050565b610cc4611999565b73ffffffffffffffffffffffffffffffffffffffff16610ce2610d44565b73ffffffffffffffffffffffffffffffffffffffff1614610d38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2f906122ec565b60405180910390fd5b610d4260006119a1565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610d75611999565b73ffffffffffffffffffffffffffffffffffffffff16610d93610d44565b73ffffffffffffffffffffffffffffffffffffffff1614610de9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de0906122ec565b60405180910390fd5b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610e469190612104565b60206040518083038186803b158015610e5e57600080fd5b505afa158015610e72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e969190611e38565b905060008111610edb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed29061228c565b60405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401610f38929190612177565b602060405180830381600087803b158015610f5257600080fd5b505af1158015610f66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f8a9190611d94565b5050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611046576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103d9061234c565b60405180910390fd5b60008111611089576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611080906122cc565b60405180910390fd5b60008160046000858152602001908152602001600020546110aa91906124e1565b90506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662fdd58e30866040518363ffffffff1660e01b815260040161110a929190612177565b60206040518083038186803b15801561112257600080fd5b505afa158015611136573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061115a9190611e38565b90506000821161119f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611196906123ac565b60405180910390fd5b600081116111e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d99061236c565b60405180910390fd5b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b815260040161123f9190612104565b60206040518083038186803b15801561125757600080fd5b505afa15801561126b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128f9190611e38565b9050828110156112d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112cb9061226c565b60405180910390fd5b60035484600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600088815260200190815260200160002054611333919061248b565b1115611374576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136b9061230c565b60405180910390fd5b83600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600087815260200190815260200160002060008282546113d4919061248b565b92505081905550600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166379cc679033856040518363ffffffff1660e01b8152600401611438929190612177565b600060405180830381600087803b15801561145257600080fd5b505af1158015611466573d6000803e3d6000fd5b50505050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f242432a303388886040518563ffffffff1660e01b81526004016114cb949392919061211f565b600060405180830381600087803b1580156114e557600080fd5b505af11580156114f9573d6000803e3d6000fd5b505050505050505050565b61150c611999565b73ffffffffffffffffffffffffffffffffffffffff1661152a610d44565b73ffffffffffffffffffffffffffffffffffffffff1614611580576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611577906122ec565b60405180910390fd5b8060038190555050565b600063bc197c8160e01b905095945050505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6115cd611999565b73ffffffffffffffffffffffffffffffffffffffff166115eb610d44565b73ffffffffffffffffffffffffffffffffffffffff1614611641576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611638906122ec565b60405180910390fd5b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161169e9190612104565b60206040518083038186803b1580156116b657600080fd5b505afa1580156116ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116ee9190611e38565b905081811015611733576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172a9061220c565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33846040518363ffffffff1660e01b815260040161176e929190612177565b602060405180830381600087803b15801561178857600080fd5b505af115801561179c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117c09190611d94565b50505050565b600063f23a6e6160e01b905095945050505050565b6117e3611999565b73ffffffffffffffffffffffffffffffffffffffff16611801610d44565b73ffffffffffffffffffffffffffffffffffffffff1614611857576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184e906122ec565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156118c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118be9061224c565b60405180910390fd5b6118d0816119a1565b50565b6118db611999565b73ffffffffffffffffffffffffffffffffffffffff166118f9610d44565b73ffffffffffffffffffffffffffffffffffffffff161461194f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611946906122ec565b60405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60035481565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000611a78611a738461240c565b6123e7565b90508083825260208201905082856020860282011115611a9757600080fd5b60005b85811015611ac75781611aad8882611bb7565b845260208401935060208301925050600181019050611a9a565b5050509392505050565b6000611ae4611adf84612438565b6123e7565b905082815260208101848484011115611afc57600080fd5b611b07848285612609565b509392505050565b600081359050611b1e81612ae7565b92915050565b600082601f830112611b3557600080fd5b8135611b45848260208601611a65565b91505092915050565b600081519050611b5d81612afe565b92915050565b600081359050611b7281612b15565b92915050565b600082601f830112611b8957600080fd5b8135611b99848260208601611ad1565b91505092915050565b600081359050611bb181612b2c565b92915050565b600081359050611bc681612b43565b92915050565b600081519050611bdb81612b43565b92915050565b600060208284031215611bf357600080fd5b6000611c0184828501611b0f565b91505092915050565b600080600080600060a08688031215611c2257600080fd5b6000611c3088828901611b0f565b9550506020611c4188828901611b0f565b945050604086013567ffffffffffffffff811115611c5e57600080fd5b611c6a88828901611b24565b935050606086013567ffffffffffffffff811115611c8757600080fd5b611c9388828901611b24565b925050608086013567ffffffffffffffff811115611cb057600080fd5b611cbc88828901611b78565b9150509295509295909350565b600080600080600060a08688031215611ce157600080fd5b6000611cef88828901611b0f565b9550506020611d0088828901611b0f565b9450506040611d1188828901611bb7565b9350506060611d2288828901611bb7565b925050608086013567ffffffffffffffff811115611d3f57600080fd5b611d4b88828901611b78565b9150509295509295909350565b60008060408385031215611d6b57600080fd5b6000611d7985828601611b0f565b9250506020611d8a85828601611bb7565b9150509250929050565b600060208284031215611da657600080fd5b6000611db484828501611b4e565b91505092915050565b600060208284031215611dcf57600080fd5b6000611ddd84828501611b63565b91505092915050565b600060208284031215611df857600080fd5b6000611e0684828501611ba2565b91505092915050565b600060208284031215611e2157600080fd5b6000611e2f84828501611bb7565b91505092915050565b600060208284031215611e4a57600080fd5b6000611e5884828501611bcc565b91505092915050565b60008060408385031215611e7457600080fd5b6000611e8285828601611bb7565b9250506020611e9385828601611bb7565b9150509250929050565b611ea68161253b565b82525050565b611eb58161254d565b82525050565b611ec481612559565b82525050565b611ed3816125c1565b82525050565b611ee2816125e5565b82525050565b6000611ef560248361247a565b9150611f00826126b8565b604082019050919050565b6000611f18602b8361247a565b9150611f2382612707565b604082019050919050565b6000611f3b60268361247a565b9150611f4682612756565b604082019050919050565b6000611f5e60358361247a565b9150611f69826127a5565b604082019050919050565b6000611f81601f8361247a565b9150611f8c826127f4565b602082019050919050565b6000611fa4600383612469565b9150611faf8261281d565b602082019050919050565b6000611fc760258361247a565b9150611fd282612846565b604082019050919050565b6000611fea60248361247a565b9150611ff582612895565b604082019050919050565b600061200d60208361247a565b9150612018826128e4565b602082019050919050565b6000612030600a8361247a565b915061203b8261290d565b602082019050919050565b600061205360438361247a565b915061205e82612936565b606082019050919050565b6000612076604a8361247a565b9150612081826129ab565b606082019050919050565b600061209960168361247a565b91506120a482612a20565b602082019050919050565b60006120bc60268361247a565b91506120c782612a49565b604082019050919050565b60006120df60218361247a565b91506120ea82612a98565b604082019050919050565b6120fe816125b7565b82525050565b60006020820190506121196000830184611e9d565b92915050565b600060a0820190506121346000830187611e9d565b6121416020830186611e9d565b61214e60408301856120f5565b61215b60608301846120f5565b818103608083015261216c81611f97565b905095945050505050565b600060408201905061218c6000830185611e9d565b61219960208301846120f5565b9392505050565b60006020820190506121b56000830184611eac565b92915050565b60006020820190506121d06000830184611ebb565b92915050565b60006020820190506121eb6000830184611eca565b92915050565b60006020820190506122066000830184611ed9565b92915050565b6000602082019050818103600083015261222581611ee8565b9050919050565b6000602082019050818103600083015261224581611f0b565b9050919050565b6000602082019050818103600083015261226581611f2e565b9050919050565b6000602082019050818103600083015261228581611f51565b9050919050565b600060208201905081810360008301526122a581611f74565b9050919050565b600060208201905081810360008301526122c581611fba565b9050919050565b600060208201905081810360008301526122e581611fdd565b9050919050565b6000602082019050818103600083015261230581612000565b9050919050565b6000602082019050818103600083015261232581612023565b9050919050565b6000602082019050818103600083015261234581612046565b9050919050565b6000602082019050818103600083015261236581612069565b9050919050565b600060208201905081810360008301526123858161208c565b9050919050565b600060208201905081810360008301526123a5816120af565b9050919050565b600060208201905081810360008301526123c5816120d2565b9050919050565b60006020820190506123e160008301846120f5565b92915050565b60006123f1612402565b90506123fd8282612618565b919050565b6000604051905090565b600067ffffffffffffffff82111561242757612426612678565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561245357612452612678565b5b61245c826126a7565b9050602081019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b6000612496826125b7565b91506124a1836125b7565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156124d6576124d5612649565b5b828201905092915050565b60006124ec826125b7565b91506124f7836125b7565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156125305761252f612649565b5b828202905092915050565b600061254682612597565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006125908261253b565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006125cc826125d3565b9050919050565b60006125de82612597565b9050919050565b60006125f0826125f7565b9050919050565b600061260282612597565b9050919050565b82818337600083830152505050565b612621826126a7565b810181811067ffffffffffffffff821117156126405761263f612678565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f496e73756666696369656e742066756e64733a206e6f7420656e6f756768204560008201527f5243323000000000000000000000000000000000000000000000000000000000602082015250565b7f496e73756666696369656e742066756e64733a206e6f7420656e6f756768207560008201527f6e736f6c64204974656d73000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f496e73756666696369656e742066756e64733a204e6f7420656e6f756768202460008201527f4a554e474c4520666f722073616c652070726963650000000000000000000000602082015250565b7f4e6f20244a554e474c452077697468696e207468697320636f6e747261637400600082015250565b7f3078300000000000000000000000000000000000000000000000000000000000600082015250565b7f4e6f20756e736f6c64204974656d73206c656674206f6e2074686520636f6e7460008201527f7261637421000000000000000000000000000000000000000000000000000000602082015250565b7f5075726368617361626c6520616d6f756e74206d757374206265206e6f6e2d7a60008201527f65726f2e00000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4d617820616d6f756e7400000000000000000000000000000000000000000000600082015250565b7f5072696365206d757374206265206174206c65617374203120244a554e474c4560008201527f2e204245205355524520544f205553452054484520494e54454745522056414c60208201527f55452e0000000000000000000000000000000000000000000000000000000000604082015250565b7f506c6561736520636f6e6669677572652073656c6c61626c652045524331313560008201527f3520636f6e747261637420766961207365744a756e676c65766572736549746560208201527f6d436f6e74726163742e00000000000000000000000000000000000000000000604082015250565b7f54686973206974656d20697320736f6c64206f75742e00000000000000000000600082015250565b7f496e73756666696369656e742066756e64733a206e6f7420656e6f756768202460008201527f4a554e474c450000000000000000000000000000000000000000000000000000602082015250565b7f54686973206974656d206973206e6f74206c697374656420666f722073616c6560008201527f2100000000000000000000000000000000000000000000000000000000000000602082015250565b612af08161253b565b8114612afb57600080fd5b50565b612b078161254d565b8114612b1257600080fd5b50565b612b1e81612559565b8114612b2957600080fd5b50565b612b3581612585565b8114612b4057600080fd5b50565b612b4c816125b7565b8114612b5757600080fd5b5056fea2646970667358221220d8d0064bc2be674d96eb61c6816ae07325e93e49ba7fb457cc4c7c133fa442da64736f6c63430008040033000000000000000000000000c5a848233ff7a2a1a17e329cf7829047d3503e1e

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101375760003560e01c80639e72f555116100b8578063bd0aa4fd1161007c578063bd0aa4fd14610310578063bd1f4b521461032e578063f23a6e611461034a578063f2fde38b1461037a578063f90c566d14610396578063f952fcad146103b257610137565b80639e72f55514610280578063a0a594841461028a578063a1c11ca8146102a8578063a5fa12f0146102c4578063bc197c81146102e057610137565b806362d711d9116100ff57806362d711d9146101f05780636456152a146102205780636d10db371461023c578063715018a6146102585780638da5cb5b1461026257610137565b806301ffc9a71461013c578063079458921461016c57806320517e64146101885780633b5e5e81146101b85780634cb25cfb146101d4575b600080fd5b61015660048036038101906101519190611dbd565b6103d0565b60405161016391906121a0565b60405180910390f35b61018660048036038101906101819190611e0f565b61043a565b005b6101a2600480360381019061019d9190611e0f565b6104d0565b6040516101af91906123cc565b60405180910390f35b6101d260048036038101906101cd9190611e61565b6104e8565b005b6101ee60048036038101906101e99190611e0f565b6106ef565b005b61020a60048036038101906102059190611d58565b6108f5565b60405161021791906123cc565b60405180910390f35b61023a60048036038101906102359190611e61565b61091a565b005b61025660048036038101906102519190611e0f565b610a9a565b005b610260610cbc565b005b61026a610d44565b6040516102779190612104565b60405180910390f35b610288610d6d565b005b610292610f8e565b60405161029f91906121d6565b60405180910390f35b6102c260048036038101906102bd9190611e61565b610fb4565b005b6102de60048036038101906102d99190611e0f565b611504565b005b6102fa60048036038101906102f59190611c0a565b61158a565b60405161030791906121bb565b60405180910390f35b61031861159f565b60405161032591906121f1565b60405180910390f35b61034860048036038101906103439190611d58565b6115c5565b005b610364600480360381019061035f9190611cc9565b6117c6565b60405161037191906121bb565b60405180910390f35b610394600480360381019061038f9190611be1565b6117db565b005b6103b060048036038101906103ab9190611de6565b6118d3565b005b6103ba611993565b6040516103c791906123cc565b60405180910390f35b60007f4e2312e0000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b610442611999565b73ffffffffffffffffffffffffffffffffffffffff16610460610d44565b73ffffffffffffffffffffffffffffffffffffffff16146104b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104ad906122ec565b60405180910390fd5b600460008281526020019081526020016000206000905550565b60046020528060005260406000206000915090505481565b6104f0611999565b73ffffffffffffffffffffffffffffffffffffffff1661050e610d44565b73ffffffffffffffffffffffffffffffffffffffff1614610564576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161055b906122ec565b60405180910390fd5b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662fdd58e30856040518363ffffffff1660e01b81526004016105c2929190612177565b60206040518083038186803b1580156105da57600080fd5b505afa1580156105ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106129190611e38565b905081811015610657576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161064e9061222c565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f242432a303386866040518563ffffffff1660e01b81526004016106b8949392919061211f565b600060405180830381600087803b1580156106d257600080fd5b505af11580156106e6573d6000803e3d6000fd5b50505050505050565b6106f7611999565b73ffffffffffffffffffffffffffffffffffffffff16610715610d44565b73ffffffffffffffffffffffffffffffffffffffff161461076b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610762906122ec565b60405180910390fd5b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662fdd58e30846040518363ffffffff1660e01b81526004016107c9929190612177565b60206040518083038186803b1580156107e157600080fd5b505afa1580156107f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108199190611e38565b90506000811161085e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610855906122ac565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f242432a303385856040518563ffffffff1660e01b81526004016108bf949392919061211f565b600060405180830381600087803b1580156108d957600080fd5b505af11580156108ed573d6000803e3d6000fd5b505050505050565b6005602052816000526040600020602052806000526040600020600091509150505481565b610922611999565b73ffffffffffffffffffffffffffffffffffffffff16610940610d44565b73ffffffffffffffffffffffffffffffffffffffff1614610996576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098d906122ec565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610a28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1f9061234c565b60405180910390fd5b60008111610a6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a629061232c565b60405180910390fd5b670de0b6b3a764000081610a7f91906124e1565b60046000848152602001908152602001600020819055505050565b610aa2611999565b73ffffffffffffffffffffffffffffffffffffffff16610ac0610d44565b73ffffffffffffffffffffffffffffffffffffffff1614610b16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0d906122ec565b60405180910390fd5b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610b739190612104565b60206040518083038186803b158015610b8b57600080fd5b505afa158015610b9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc39190611e38565b905081811015610c08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bff9061238c565b60405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33846040518363ffffffff1660e01b8152600401610c65929190612177565b602060405180830381600087803b158015610c7f57600080fd5b505af1158015610c93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cb79190611d94565b505050565b610cc4611999565b73ffffffffffffffffffffffffffffffffffffffff16610ce2610d44565b73ffffffffffffffffffffffffffffffffffffffff1614610d38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2f906122ec565b60405180910390fd5b610d4260006119a1565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610d75611999565b73ffffffffffffffffffffffffffffffffffffffff16610d93610d44565b73ffffffffffffffffffffffffffffffffffffffff1614610de9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de0906122ec565b60405180910390fd5b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610e469190612104565b60206040518083038186803b158015610e5e57600080fd5b505afa158015610e72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e969190611e38565b905060008111610edb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed29061228c565b60405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401610f38929190612177565b602060405180830381600087803b158015610f5257600080fd5b505af1158015610f66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f8a9190611d94565b5050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611046576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103d9061234c565b60405180910390fd5b60008111611089576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611080906122cc565b60405180910390fd5b60008160046000858152602001908152602001600020546110aa91906124e1565b90506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662fdd58e30866040518363ffffffff1660e01b815260040161110a929190612177565b60206040518083038186803b15801561112257600080fd5b505afa158015611136573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061115a9190611e38565b90506000821161119f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611196906123ac565b60405180910390fd5b600081116111e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d99061236c565b60405180910390fd5b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b815260040161123f9190612104565b60206040518083038186803b15801561125757600080fd5b505afa15801561126b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128f9190611e38565b9050828110156112d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112cb9061226c565b60405180910390fd5b60035484600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600088815260200190815260200160002054611333919061248b565b1115611374576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136b9061230c565b60405180910390fd5b83600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600087815260200190815260200160002060008282546113d4919061248b565b92505081905550600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166379cc679033856040518363ffffffff1660e01b8152600401611438929190612177565b600060405180830381600087803b15801561145257600080fd5b505af1158015611466573d6000803e3d6000fd5b50505050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f242432a303388886040518563ffffffff1660e01b81526004016114cb949392919061211f565b600060405180830381600087803b1580156114e557600080fd5b505af11580156114f9573d6000803e3d6000fd5b505050505050505050565b61150c611999565b73ffffffffffffffffffffffffffffffffffffffff1661152a610d44565b73ffffffffffffffffffffffffffffffffffffffff1614611580576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611577906122ec565b60405180910390fd5b8060038190555050565b600063bc197c8160e01b905095945050505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6115cd611999565b73ffffffffffffffffffffffffffffffffffffffff166115eb610d44565b73ffffffffffffffffffffffffffffffffffffffff1614611641576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611638906122ec565b60405180910390fd5b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161169e9190612104565b60206040518083038186803b1580156116b657600080fd5b505afa1580156116ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116ee9190611e38565b905081811015611733576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172a9061220c565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33846040518363ffffffff1660e01b815260040161176e929190612177565b602060405180830381600087803b15801561178857600080fd5b505af115801561179c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117c09190611d94565b50505050565b600063f23a6e6160e01b905095945050505050565b6117e3611999565b73ffffffffffffffffffffffffffffffffffffffff16611801610d44565b73ffffffffffffffffffffffffffffffffffffffff1614611857576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184e906122ec565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156118c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118be9061224c565b60405180910390fd5b6118d0816119a1565b50565b6118db611999565b73ffffffffffffffffffffffffffffffffffffffff166118f9610d44565b73ffffffffffffffffffffffffffffffffffffffff161461194f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611946906122ec565b60405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60035481565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000611a78611a738461240c565b6123e7565b90508083825260208201905082856020860282011115611a9757600080fd5b60005b85811015611ac75781611aad8882611bb7565b845260208401935060208301925050600181019050611a9a565b5050509392505050565b6000611ae4611adf84612438565b6123e7565b905082815260208101848484011115611afc57600080fd5b611b07848285612609565b509392505050565b600081359050611b1e81612ae7565b92915050565b600082601f830112611b3557600080fd5b8135611b45848260208601611a65565b91505092915050565b600081519050611b5d81612afe565b92915050565b600081359050611b7281612b15565b92915050565b600082601f830112611b8957600080fd5b8135611b99848260208601611ad1565b91505092915050565b600081359050611bb181612b2c565b92915050565b600081359050611bc681612b43565b92915050565b600081519050611bdb81612b43565b92915050565b600060208284031215611bf357600080fd5b6000611c0184828501611b0f565b91505092915050565b600080600080600060a08688031215611c2257600080fd5b6000611c3088828901611b0f565b9550506020611c4188828901611b0f565b945050604086013567ffffffffffffffff811115611c5e57600080fd5b611c6a88828901611b24565b935050606086013567ffffffffffffffff811115611c8757600080fd5b611c9388828901611b24565b925050608086013567ffffffffffffffff811115611cb057600080fd5b611cbc88828901611b78565b9150509295509295909350565b600080600080600060a08688031215611ce157600080fd5b6000611cef88828901611b0f565b9550506020611d0088828901611b0f565b9450506040611d1188828901611bb7565b9350506060611d2288828901611bb7565b925050608086013567ffffffffffffffff811115611d3f57600080fd5b611d4b88828901611b78565b9150509295509295909350565b60008060408385031215611d6b57600080fd5b6000611d7985828601611b0f565b9250506020611d8a85828601611bb7565b9150509250929050565b600060208284031215611da657600080fd5b6000611db484828501611b4e565b91505092915050565b600060208284031215611dcf57600080fd5b6000611ddd84828501611b63565b91505092915050565b600060208284031215611df857600080fd5b6000611e0684828501611ba2565b91505092915050565b600060208284031215611e2157600080fd5b6000611e2f84828501611bb7565b91505092915050565b600060208284031215611e4a57600080fd5b6000611e5884828501611bcc565b91505092915050565b60008060408385031215611e7457600080fd5b6000611e8285828601611bb7565b9250506020611e9385828601611bb7565b9150509250929050565b611ea68161253b565b82525050565b611eb58161254d565b82525050565b611ec481612559565b82525050565b611ed3816125c1565b82525050565b611ee2816125e5565b82525050565b6000611ef560248361247a565b9150611f00826126b8565b604082019050919050565b6000611f18602b8361247a565b9150611f2382612707565b604082019050919050565b6000611f3b60268361247a565b9150611f4682612756565b604082019050919050565b6000611f5e60358361247a565b9150611f69826127a5565b604082019050919050565b6000611f81601f8361247a565b9150611f8c826127f4565b602082019050919050565b6000611fa4600383612469565b9150611faf8261281d565b602082019050919050565b6000611fc760258361247a565b9150611fd282612846565b604082019050919050565b6000611fea60248361247a565b9150611ff582612895565b604082019050919050565b600061200d60208361247a565b9150612018826128e4565b602082019050919050565b6000612030600a8361247a565b915061203b8261290d565b602082019050919050565b600061205360438361247a565b915061205e82612936565b606082019050919050565b6000612076604a8361247a565b9150612081826129ab565b606082019050919050565b600061209960168361247a565b91506120a482612a20565b602082019050919050565b60006120bc60268361247a565b91506120c782612a49565b604082019050919050565b60006120df60218361247a565b91506120ea82612a98565b604082019050919050565b6120fe816125b7565b82525050565b60006020820190506121196000830184611e9d565b92915050565b600060a0820190506121346000830187611e9d565b6121416020830186611e9d565b61214e60408301856120f5565b61215b60608301846120f5565b818103608083015261216c81611f97565b905095945050505050565b600060408201905061218c6000830185611e9d565b61219960208301846120f5565b9392505050565b60006020820190506121b56000830184611eac565b92915050565b60006020820190506121d06000830184611ebb565b92915050565b60006020820190506121eb6000830184611eca565b92915050565b60006020820190506122066000830184611ed9565b92915050565b6000602082019050818103600083015261222581611ee8565b9050919050565b6000602082019050818103600083015261224581611f0b565b9050919050565b6000602082019050818103600083015261226581611f2e565b9050919050565b6000602082019050818103600083015261228581611f51565b9050919050565b600060208201905081810360008301526122a581611f74565b9050919050565b600060208201905081810360008301526122c581611fba565b9050919050565b600060208201905081810360008301526122e581611fdd565b9050919050565b6000602082019050818103600083015261230581612000565b9050919050565b6000602082019050818103600083015261232581612023565b9050919050565b6000602082019050818103600083015261234581612046565b9050919050565b6000602082019050818103600083015261236581612069565b9050919050565b600060208201905081810360008301526123858161208c565b9050919050565b600060208201905081810360008301526123a5816120af565b9050919050565b600060208201905081810360008301526123c5816120d2565b9050919050565b60006020820190506123e160008301846120f5565b92915050565b60006123f1612402565b90506123fd8282612618565b919050565b6000604051905090565b600067ffffffffffffffff82111561242757612426612678565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561245357612452612678565b5b61245c826126a7565b9050602081019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b6000612496826125b7565b91506124a1836125b7565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156124d6576124d5612649565b5b828201905092915050565b60006124ec826125b7565b91506124f7836125b7565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156125305761252f612649565b5b828202905092915050565b600061254682612597565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006125908261253b565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006125cc826125d3565b9050919050565b60006125de82612597565b9050919050565b60006125f0826125f7565b9050919050565b600061260282612597565b9050919050565b82818337600083830152505050565b612621826126a7565b810181811067ffffffffffffffff821117156126405761263f612678565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f496e73756666696369656e742066756e64733a206e6f7420656e6f756768204560008201527f5243323000000000000000000000000000000000000000000000000000000000602082015250565b7f496e73756666696369656e742066756e64733a206e6f7420656e6f756768207560008201527f6e736f6c64204974656d73000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f496e73756666696369656e742066756e64733a204e6f7420656e6f756768202460008201527f4a554e474c4520666f722073616c652070726963650000000000000000000000602082015250565b7f4e6f20244a554e474c452077697468696e207468697320636f6e747261637400600082015250565b7f3078300000000000000000000000000000000000000000000000000000000000600082015250565b7f4e6f20756e736f6c64204974656d73206c656674206f6e2074686520636f6e7460008201527f7261637421000000000000000000000000000000000000000000000000000000602082015250565b7f5075726368617361626c6520616d6f756e74206d757374206265206e6f6e2d7a60008201527f65726f2e00000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4d617820616d6f756e7400000000000000000000000000000000000000000000600082015250565b7f5072696365206d757374206265206174206c65617374203120244a554e474c4560008201527f2e204245205355524520544f205553452054484520494e54454745522056414c60208201527f55452e0000000000000000000000000000000000000000000000000000000000604082015250565b7f506c6561736520636f6e6669677572652073656c6c61626c652045524331313560008201527f3520636f6e747261637420766961207365744a756e676c65766572736549746560208201527f6d436f6e74726163742e00000000000000000000000000000000000000000000604082015250565b7f54686973206974656d20697320736f6c64206f75742e00000000000000000000600082015250565b7f496e73756666696369656e742066756e64733a206e6f7420656e6f756768202460008201527f4a554e474c450000000000000000000000000000000000000000000000000000602082015250565b7f54686973206974656d206973206e6f74206c697374656420666f722073616c6560008201527f2100000000000000000000000000000000000000000000000000000000000000602082015250565b612af08161253b565b8114612afb57600080fd5b50565b612b078161254d565b8114612b1257600080fd5b50565b612b1e81612559565b8114612b2957600080fd5b50565b612b3581612585565b8114612b4057600080fd5b50565b612b4c816125b7565b8114612b5757600080fd5b5056fea2646970667358221220d8d0064bc2be674d96eb61c6816ae07325e93e49ba7fb457cc4c7c133fa442da64736f6c63430008040033

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

000000000000000000000000c5a848233ff7a2a1a17e329cf7829047d3503e1e

-----Decoded View---------------
Arg [0] : jungleTokenAddress (address): 0xC5A848233Ff7A2A1a17E329CF7829047D3503e1E

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000c5a848233ff7a2a1a17e329cf7829047d3503e1e


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.