Contract 0x1a5261041e9340579f58401389d6dee185b62804 4

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x50f31c36aef29088ce31330d1221b978a9681398d46196c58324c0e7fa8c9801Chonkify300011572022-10-14 4:52:0445 days 17 hrs ago0xaafa21ed47f390ca6f1de7b947efe28083912306 IN  0x1a5261041e9340579f58401389d6dee185b628040 ETH0.00001718
0x19be4670c3bf5406ad2bee4fdad98e6328a6a5e16ed4dbfa30b633a302a7c9f5Chonkify300011102022-10-14 4:51:4745 days 17 hrs ago0xaafa21ed47f390ca6f1de7b947efe28083912306 IN  0x1a5261041e9340579f58401389d6dee185b628040 ETH0.00001718
0xfb3177e0c2371d0dd954c25fc0f8f4786766da7d3e17460593d2ce1f7a56240bChonkify297695202022-10-12 20:30:4747 days 1 hr ago0xaafa21ed47f390ca6f1de7b947efe28083912306 IN  0x1a5261041e9340579f58401389d6dee185b628040 ETH0.00002684
0x0e428fa3e5e3cec798f2c81b25185b9731e7e6f34ea808355008c9459227582fChonkify297694392022-10-12 20:29:5347 days 1 hr ago0xaafa21ed47f390ca6f1de7b947efe28083912306 IN  0x1a5261041e9340579f58401389d6dee185b628040 ETH0.00002684
0xdac477433453f8cad289c3e627b36c90c7259c433d2c363f574b69ca008a6b0cChonkify290343302022-10-08 7:40:5551 days 14 hrs ago0x00d153ab2ef484abbca29f8c896808687ddb54b3 IN  0x1a5261041e9340579f58401389d6dee185b628040 ETH0.00001223
0xda33dbe2e3bdb230ac650a01c20bb92c5364231b7551d346e68674e093fd225cChonkify290342592022-10-08 7:40:3651 days 14 hrs ago0x00d153ab2ef484abbca29f8c896808687ddb54b3 IN  0x1a5261041e9340579f58401389d6dee185b628040 ETH0.00001271
0x0a2c76b91bd3f3a77db7544299c0bd9963a1c040caec6410f8bc0a0b771bef17Chonkify290329642022-10-08 7:34:1351 days 14 hrs ago0x5601d73c16fc7790cb934efc8dbb92f81cc6d871 IN  0x1a5261041e9340579f58401389d6dee185b628040 ETH0.00001219
0xff25574937e8511fb30e6026a01248356d9f5886f895fd9bb473b593666abae8Chonkify290092282022-10-08 5:15:0851 days 17 hrs ago0x7b41f235e12ae2d3696caae3f921412d7c2fca2b IN  0x1a5261041e9340579f58401389d6dee185b628040 ETH0.00001012
0xf53c7565fe9b94e73d5870675fd4b9e9fae1f102057924fdd662d034e3606276Chonkify290092172022-10-08 5:15:0351 days 17 hrs ago0x7b41f235e12ae2d3696caae3f921412d7c2fca2b IN  0x1a5261041e9340579f58401389d6dee185b628040 ETH0.00001012
0x94d17980bd148ed9532ffd0b03fba4d6d69cfc004772d7d3d5799ab73a5abddcChonkify288288682022-10-07 6:53:5852 days 15 hrs ago0x00d153ab2ef484abbca29f8c896808687ddb54b3 IN  0x1a5261041e9340579f58401389d6dee185b628040 ETH0.00000799
0xc940c42272e65fa91cab46a98667d36f1b13e16a5dfe8d526e64dcce75c811ebChonkify288288162022-10-07 6:53:3952 days 15 hrs ago0x00d153ab2ef484abbca29f8c896808687ddb54b3 IN  0x1a5261041e9340579f58401389d6dee185b628040 ETH0.00000799
0x764c0417bca024605a885e21efe492c91367164d9cbab5d920862b735c8575d9Chonkify288283712022-10-07 6:50:5352 days 15 hrs ago0x5601d73c16fc7790cb934efc8dbb92f81cc6d871 IN  0x1a5261041e9340579f58401389d6dee185b628040 ETH0.00000786
0x0334426382877b9a432ee0d1230fa2265ad47ae1a76c82586bda948bf7c85088Chonkify288278632022-10-07 6:47:4352 days 15 hrs ago0x0e9a07d491efa11581936f6da6d5679992729139 IN  0x1a5261041e9340579f58401389d6dee185b628040 ETH0.00001121
0xfdcc4d084928ff6aec5324572a742eadbdd0f7ae7aeec78f7eb7fabf6c3b93a3Chonkify288278132022-10-07 6:47:2652 days 15 hrs ago0x0e9a07d491efa11581936f6da6d5679992729139 IN  0x1a5261041e9340579f58401389d6dee185b628040 ETH0.00001169
0x6e522632835e55bcf26cc9d496b31e4d71a9d913e5b02bc2e99465433020e7beChonkify287776682022-10-07 0:04:4752 days 22 hrs ago0x7b41f235e12ae2d3696caae3f921412d7c2fca2b IN  0x1a5261041e9340579f58401389d6dee185b628040 ETH0.00001366
0xb13c5af3f97908506205a9c5d95ae86a5f609a575d84648487d3becba80eb745Chonkify287776592022-10-07 0:04:3952 days 22 hrs ago0x7b41f235e12ae2d3696caae3f921412d7c2fca2b IN  0x1a5261041e9340579f58401389d6dee185b628040 ETH0.00001366
0x3a2d307fe90d8e21d6bbcb5cd0538c50167231f990abcffd45681a48a0551883Chonkify287693572022-10-06 22:19:3253 days 5 mins ago0xfda1a9bdefe94a1856a32849b0c915b62cc0d7b2 IN  0x1a5261041e9340579f58401389d6dee185b628040 ETH0.00002188
0x70ae02468ccd9e35a8eea49ed586b94ea2bb773627c6d8bde4b3657e7db60e7dChonkify286372352022-10-06 6:30:2353 days 15 hrs ago0x00d153ab2ef484abbca29f8c896808687ddb54b3 IN  0x1a5261041e9340579f58401389d6dee185b628040 ETH0.00000766
0xfce8f545ab14478eef0145db34d2653a7efd7fa560217ac6853a9f335c0a2e72Chonkify286371862022-10-06 6:30:0353 days 15 hrs ago0x00d153ab2ef484abbca29f8c896808687ddb54b3 IN  0x1a5261041e9340579f58401389d6dee185b628040 ETH0.00000766
0x9ea0f9231065e20191381fb71cb3967cde62ff433f8c29dffd17ad9ce8e9cf86Chonkify286370692022-10-06 6:29:0653 days 15 hrs ago0x5601d73c16fc7790cb934efc8dbb92f81cc6d871 IN  0x1a5261041e9340579f58401389d6dee185b628040 ETH0.00000766
0xf64d588b3703644bdf91c42e23f6e8e82046245e78092d2fe6519230f638acb3Chonkify286368052022-10-06 6:27:1753 days 15 hrs ago0x0e9a07d491efa11581936f6da6d5679992729139 IN  0x1a5261041e9340579f58401389d6dee185b628040 ETH0.00000768
0x3c15e84d9086cac148d2e4dc123aa676108f1ea3ecd4f88c49ed99686729ddbaChonkify286367632022-10-06 6:26:5853 days 15 hrs ago0x0e9a07d491efa11581936f6da6d5679992729139 IN  0x1a5261041e9340579f58401389d6dee185b628040 ETH0.00000768
0xba7ff730dfb251e87c2fa1a9e52e93dbf9708b19c65f98a2e2d87f4f7da6e93fChonkify286364842022-10-06 6:24:4753 days 16 hrs ago0x246181547aadb8d8060b20158762cef81cd666e9 IN  0x1a5261041e9340579f58401389d6dee185b628040 ETH0.00001103
0xe80bd0abe485fb91620075db8ab163d0e511bdbc3cecb8c9b9f9ca0c9966de31Chonkify286355332022-10-06 6:18:3953 days 16 hrs ago0x3e8c7e7bb012f349d3166f8cbdb2767cff4df732 IN  0x1a5261041e9340579f58401389d6dee185b628040 ETH0.00001122
0xaf80bced614d3770bf5a52493551eb9a7d2c2fbe214f6f21d19f8dcf69e2fe6cChonkify285190332022-10-05 13:28:1454 days 8 hrs ago0xfda1a9bdefe94a1856a32849b0c915b62cc0d7b2 IN  0x1a5261041e9340579f58401389d6dee185b628040 ETH0.00001277
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x50f31c36aef29088ce31330d1221b978a9681398d46196c58324c0e7fa8c9801300011572022-10-14 4:52:0445 days 17 hrs ago 0x1a5261041e9340579f58401389d6dee185b62804 0x1f245e83fb88a1e85b4a1c3e4b3c16660d54319a0 ETH
0x19be4670c3bf5406ad2bee4fdad98e6328a6a5e16ed4dbfa30b633a302a7c9f5300011102022-10-14 4:51:4745 days 17 hrs ago 0x1a5261041e9340579f58401389d6dee185b62804 0x1f245e83fb88a1e85b4a1c3e4b3c16660d54319a0 ETH
0xfb3177e0c2371d0dd954c25fc0f8f4786766da7d3e17460593d2ce1f7a56240b297695202022-10-12 20:30:4747 days 1 hr ago 0x1a5261041e9340579f58401389d6dee185b62804 0x1f245e83fb88a1e85b4a1c3e4b3c16660d54319a0 ETH
0x0e428fa3e5e3cec798f2c81b25185b9731e7e6f34ea808355008c9459227582f297694392022-10-12 20:29:5347 days 1 hr ago 0x1a5261041e9340579f58401389d6dee185b62804 0x1f245e83fb88a1e85b4a1c3e4b3c16660d54319a0 ETH
0xdac477433453f8cad289c3e627b36c90c7259c433d2c363f574b69ca008a6b0c290343302022-10-08 7:40:5551 days 14 hrs ago 0xc5295c6a183f29b7c962df076819d44e0076860e 0x1a5261041e9340579f58401389d6dee185b628040 ETH
0xdac477433453f8cad289c3e627b36c90c7259c433d2c363f574b69ca008a6b0c290343302022-10-08 7:40:5551 days 14 hrs ago 0x1a5261041e9340579f58401389d6dee185b62804 0xc5295c6a183f29b7c962df076819d44e0076860e0 ETH
0xdac477433453f8cad289c3e627b36c90c7259c433d2c363f574b69ca008a6b0c290343302022-10-08 7:40:5551 days 14 hrs ago 0x1a5261041e9340579f58401389d6dee185b62804 0xc5295c6a183f29b7c962df076819d44e0076860e0 ETH
0xdac477433453f8cad289c3e627b36c90c7259c433d2c363f574b69ca008a6b0c290343302022-10-08 7:40:5551 days 14 hrs ago 0x1a5261041e9340579f58401389d6dee185b62804 0x1f245e83fb88a1e85b4a1c3e4b3c16660d54319a0 ETH
0xda33dbe2e3bdb230ac650a01c20bb92c5364231b7551d346e68674e093fd225c290342592022-10-08 7:40:3651 days 14 hrs ago 0xc5295c6a183f29b7c962df076819d44e0076860e 0x1a5261041e9340579f58401389d6dee185b628040 ETH
0xda33dbe2e3bdb230ac650a01c20bb92c5364231b7551d346e68674e093fd225c290342592022-10-08 7:40:3651 days 14 hrs ago 0x1a5261041e9340579f58401389d6dee185b62804 0xc5295c6a183f29b7c962df076819d44e0076860e0 ETH
0xda33dbe2e3bdb230ac650a01c20bb92c5364231b7551d346e68674e093fd225c290342592022-10-08 7:40:3651 days 14 hrs ago 0x1a5261041e9340579f58401389d6dee185b62804 0xc5295c6a183f29b7c962df076819d44e0076860e0 ETH
0xda33dbe2e3bdb230ac650a01c20bb92c5364231b7551d346e68674e093fd225c290342592022-10-08 7:40:3651 days 14 hrs ago 0x1a5261041e9340579f58401389d6dee185b62804 0x1f245e83fb88a1e85b4a1c3e4b3c16660d54319a0 ETH
0x0a2c76b91bd3f3a77db7544299c0bd9963a1c040caec6410f8bc0a0b771bef17290329642022-10-08 7:34:1351 days 14 hrs ago 0xc5295c6a183f29b7c962df076819d44e0076860e 0x1a5261041e9340579f58401389d6dee185b628040 ETH
0x0a2c76b91bd3f3a77db7544299c0bd9963a1c040caec6410f8bc0a0b771bef17290329642022-10-08 7:34:1351 days 14 hrs ago 0x1a5261041e9340579f58401389d6dee185b62804 0xc5295c6a183f29b7c962df076819d44e0076860e0 ETH
0x0a2c76b91bd3f3a77db7544299c0bd9963a1c040caec6410f8bc0a0b771bef17290329642022-10-08 7:34:1351 days 14 hrs ago 0x1a5261041e9340579f58401389d6dee185b62804 0xc5295c6a183f29b7c962df076819d44e0076860e0 ETH
0x0a2c76b91bd3f3a77db7544299c0bd9963a1c040caec6410f8bc0a0b771bef17290329642022-10-08 7:34:1351 days 14 hrs ago 0x1a5261041e9340579f58401389d6dee185b62804 0x1f245e83fb88a1e85b4a1c3e4b3c16660d54319a0 ETH
0xff25574937e8511fb30e6026a01248356d9f5886f895fd9bb473b593666abae8290092282022-10-08 5:15:0851 days 17 hrs ago 0x1a5261041e9340579f58401389d6dee185b62804 0x1f245e83fb88a1e85b4a1c3e4b3c16660d54319a0 ETH
0xf53c7565fe9b94e73d5870675fd4b9e9fae1f102057924fdd662d034e3606276290092172022-10-08 5:15:0351 days 17 hrs ago 0x1a5261041e9340579f58401389d6dee185b62804 0x1f245e83fb88a1e85b4a1c3e4b3c16660d54319a0 ETH
0x94d17980bd148ed9532ffd0b03fba4d6d69cfc004772d7d3d5799ab73a5abddc288288682022-10-07 6:53:5852 days 15 hrs ago 0x1a5261041e9340579f58401389d6dee185b62804 0x1f245e83fb88a1e85b4a1c3e4b3c16660d54319a0 ETH
0xc940c42272e65fa91cab46a98667d36f1b13e16a5dfe8d526e64dcce75c811eb288288162022-10-07 6:53:3952 days 15 hrs ago 0x1a5261041e9340579f58401389d6dee185b62804 0x1f245e83fb88a1e85b4a1c3e4b3c16660d54319a0 ETH
0x764c0417bca024605a885e21efe492c91367164d9cbab5d920862b735c8575d9288283712022-10-07 6:50:5352 days 15 hrs ago 0x1a5261041e9340579f58401389d6dee185b62804 0x1f245e83fb88a1e85b4a1c3e4b3c16660d54319a0 ETH
0x0334426382877b9a432ee0d1230fa2265ad47ae1a76c82586bda948bf7c85088288278632022-10-07 6:47:4352 days 15 hrs ago 0xc5295c6a183f29b7c962df076819d44e0076860e 0x1a5261041e9340579f58401389d6dee185b628040 ETH
0x0334426382877b9a432ee0d1230fa2265ad47ae1a76c82586bda948bf7c85088288278632022-10-07 6:47:4352 days 15 hrs ago 0x1a5261041e9340579f58401389d6dee185b62804 0xc5295c6a183f29b7c962df076819d44e0076860e0 ETH
0x0334426382877b9a432ee0d1230fa2265ad47ae1a76c82586bda948bf7c85088288278632022-10-07 6:47:4352 days 15 hrs ago 0x1a5261041e9340579f58401389d6dee185b62804 0xc5295c6a183f29b7c962df076819d44e0076860e0 ETH
0x0334426382877b9a432ee0d1230fa2265ad47ae1a76c82586bda948bf7c85088288278632022-10-07 6:47:4352 days 15 hrs ago 0x1a5261041e9340579f58401389d6dee185b62804 0x1f245e83fb88a1e85b4a1c3e4b3c16660d54319a0 ETH
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
EpisodeOne

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 10 : Episode1.sol
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
import "@openzeppelin/contracts/token/ERC1155/utils/ERC1155Holder.sol";


/*

try not to forget to put a fat smol here ok

*/


contract EpisodeOne is Ownable, ERC1155Holder {

    IERC721 public wSMOL;
    IERC1155 public smolTreasures;      // 0xc5295C6a183F29b7c962dF076819D44E0076860E
    string public baseURI;
    uint public timeToEat; // = 1 days;

    uint public MAX_CHONK_SIZE;
    mapping(uint => uint) public episodeStat;
    mapping(uint => uint) public lastChonk;

    constructor(IERC721 _wsmol, IERC1155 _smolTreasures) {
        wSMOL = _wsmol;
        smolTreasures = _smolTreasures;
        MAX_CHONK_SIZE = 6;
        baseURI = "https://smolart.mypinata.cloud/ipfs/QmTvTJvA6qsDL75M5X8iAmZfMdWdtLNmZsRcmZXaBQAkeC/";
        timeToEat = 1 days;
    }

    function setBaseURI(string memory _baseuri) external onlyOwner {
        baseURI = _baseuri;
    }

    function setMaxChonkSize(uint _size) external onlyOwner {
        MAX_CHONK_SIZE = _size;
    }

    function setTimeToEat(uint _time) external onlyOwner {
        timeToEat = _time;
    }

    function tokenURI(uint _id) public view returns (string memory) {
        return string(abi.encodePacked(baseURI, _uint2str(_id), "/", _uint2str(episodeStat[_id]), ".json"));
    }

    function getEpisodeStat(uint _tokenid) external view returns (uint) {
        return episodeStat[_tokenid];
    }

    function chonkify(uint _id) external {
        require(msg.sender == wSMOL.ownerOf(_id), "not owner");
        require(episodeStat[_id] < MAX_CHONK_SIZE, "try dieting");
        require(lastChonk[_id] + timeToEat < block.timestamp, "not time to eat yet");
        if (episodeStat[_id] == MAX_CHONK_SIZE - 1) {
            require(smolTreasures.balanceOf(msg.sender, 1) >= 50, "need 50 moonrox");
            smolTreasures.safeTransferFrom(msg.sender, address(this), 1, 50, "");  
        }
        episodeStat[_id]++;
        lastChonk[_id] = block.timestamp;
    }

    function _uint2str(uint256 _value) internal pure returns (string memory) {
		uint256 _digits = 1;
		uint256 _n = _value;
		while (_n > 9) {
			_n /= 10;
			_digits++;
		}
		bytes memory _out = new bytes(_digits);
		for (uint256 i = 0; i < _out.length; i++) {
			uint256 _dec = (_value / (10**(_out.length - i - 1))) % 10;
			_out[i] = bytes1(uint8(_dec) + 48);
		}
		return string(_out);
	}
}

File 2 of 10 : 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 10 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);
}

File 4 of 10 : 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 10 : ERC1155Holder.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/utils/ERC1155Holder.sol)

pragma solidity ^0.8.0;

import "./ERC1155Receiver.sol";

/**
 * Simple implementation of `ERC1155Receiver` that will allow a contract to hold ERC1155 tokens.
 *
 * IMPORTANT: When inheriting this contract, you must include a way to use the received tokens, otherwise they will be
 * stuck.
 *
 * @dev _Available since v3.1._
 */
contract ERC1155Holder is ERC1155Receiver {
    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;
    }
}

File 6 of 10 : 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 7 of 10 : 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 8 of 10 : ERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/utils/ERC1155Receiver.sol)

pragma solidity ^0.8.0;

import "../IERC1155Receiver.sol";
import "../../../utils/introspection/ERC165.sol";

/**
 * @dev _Available since v3.1._
 */
abstract contract ERC1155Receiver is ERC165, IERC1155Receiver {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return interfaceId == type(IERC1155Receiver).interfaceId || super.supportsInterface(interfaceId);
    }
}

File 9 of 10 : 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 10 of 10 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

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

Contract ABI

[{"inputs":[{"internalType":"contract IERC721","name":"_wsmol","type":"address"},{"internalType":"contract IERC1155","name":"_smolTreasures","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":[],"name":"MAX_CHONK_SIZE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"chonkify","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"episodeStat","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenid","type":"uint256"}],"name":"getEpisodeStat","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"lastChonk","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":"string","name":"_baseuri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_size","type":"uint256"}],"name":"setMaxChonkSize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_time","type":"uint256"}],"name":"setTimeToEat","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"smolTreasures","outputs":[{"internalType":"contract IERC1155","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"timeToEat","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wSMOL","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b506040516200268b3803806200268b833981810160405281019062000037919062000364565b620000576200004b6200012560201b60201c565b6200012d60201b60201c565b81600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600660058190555060405180608001604052806053815260200162002638605391396003908051906020019062000112929190620001f1565b506201518060048190555050506200040f565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001ff90620003da565b90600052602060002090601f0160209004810192826200022357600085556200026f565b82601f106200023e57805160ff19168380011785556200026f565b828001600101855582156200026f579182015b828111156200026e57825182559160200191906001019062000251565b5b5090506200027e919062000282565b5090565b5b808211156200029d57600081600090555060010162000283565b5090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620002d382620002a6565b9050919050565b6000620002e782620002c6565b9050919050565b620002f981620002da565b81146200030557600080fd5b50565b6000815190506200031981620002ee565b92915050565b60006200032c82620002c6565b9050919050565b6200033e816200031f565b81146200034a57600080fd5b50565b6000815190506200035e8162000333565b92915050565b600080604083850312156200037e576200037d620002a1565b5b60006200038e8582860162000308565b9250506020620003a1858286016200034d565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620003f357607f821691505b602082108103620004095762000408620003ab565b5b50919050565b612219806200041f6000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c80638da5cb5b116100ad578063df33c19e11610071578063df33c19e1461030c578063e4a449121461033c578063e7c6133b14610358578063f23a6e6114610374578063f2fde38b146103a457610121565b80638da5cb5b14610254578063995b1e48146102725780639b538d2b1461028e578063bc197c81146102ac578063c87b56dd146102dc57610121565b806355f804b3116100f457806355f804b3146101c25780636c0360eb146101de578063715018a6146101fc578063764ceba71461020657806386168f5b1461023657610121565b806301ffc9a71461012657806318f6c83914610156578063291e5fe0146101865780634ca92de7146101a4575b600080fd5b610140600480360381019061013b9190611064565b6103c0565b60405161014d91906110ac565b60405180910390f35b610170600480360381019061016b91906110fd565b61043a565b60405161017d9190611139565b60405180910390f35b61018e610452565b60405161019b9190611139565b60405180910390f35b6101ac610458565b6040516101b991906111d3565b60405180910390f35b6101dc60048036038101906101d79190611334565b61047e565b005b6101e6610514565b6040516101f39190611405565b60405180910390f35b6102046105a2565b005b610220600480360381019061021b91906110fd565b61062a565b60405161022d9190611139565b60405180910390f35b61023e610647565b60405161024b9190611139565b60405180910390f35b61025c61064d565b6040516102699190611448565b60405180910390f35b61028c600480360381019061028791906110fd565b610676565b005b6102966106fc565b6040516102a39190611484565b60405180910390f35b6102c660048036038101906102c19190611634565b610722565b6040516102d39190611712565b60405180910390f35b6102f660048036038101906102f191906110fd565b610737565b6040516103039190611405565b60405180910390f35b610326600480360381019061032191906110fd565b610788565b6040516103339190611139565b60405180910390f35b610356600480360381019061035191906110fd565b6107a0565b005b610372600480360381019061036d91906110fd565b610826565b005b61038e6004803603810190610389919061172d565b610bcb565b60405161039b9190611712565b60405180910390f35b6103be60048036038101906103b991906117c4565b610be0565b005b60007f4e2312e0000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610433575061043282610cd7565b5b9050919050565b60066020528060005260406000206000915090505481565b60045481565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610486610d41565b73ffffffffffffffffffffffffffffffffffffffff166104a461064d565b73ffffffffffffffffffffffffffffffffffffffff16146104fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104f19061183d565b60405180910390fd5b8060039080519060200190610510929190610f55565b5050565b600380546105219061188c565b80601f016020809104026020016040519081016040528092919081815260200182805461054d9061188c565b801561059a5780601f1061056f5761010080835404028352916020019161059a565b820191906000526020600020905b81548152906001019060200180831161057d57829003601f168201915b505050505081565b6105aa610d41565b73ffffffffffffffffffffffffffffffffffffffff166105c861064d565b73ffffffffffffffffffffffffffffffffffffffff161461061e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106159061183d565b60405180910390fd5b6106286000610d49565b565b600060066000838152602001908152602001600020549050919050565b60055481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61067e610d41565b73ffffffffffffffffffffffffffffffffffffffff1661069c61064d565b73ffffffffffffffffffffffffffffffffffffffff16146106f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106e99061183d565b60405180910390fd5b8060058190555050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600063bc197c8160e01b905095945050505050565b6060600361074483610e0d565b6107606006600086815260200190815260200160002054610e0d565b60405160200161077293929190611a25565b6040516020818303038152906040529050919050565b60076020528060005260406000206000915090505481565b6107a8610d41565b73ffffffffffffffffffffffffffffffffffffffff166107c661064d565b73ffffffffffffffffffffffffffffffffffffffff161461081c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108139061183d565b60405180910390fd5b8060048190555050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e826040518263ffffffff1660e01b81526004016108819190611139565b602060405180830381865afa15801561089e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c29190611a81565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461092f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092690611afa565b60405180910390fd5b600554600660008381526020019081526020016000205410610986576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097d90611b66565b60405180910390fd5b4260045460076000848152602001908152602001600020546109a89190611bb5565b106109e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109df90611c57565b60405180910390fd5b60016005546109f79190611c77565b600660008381526020019081526020016000205403610b87576032600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662fdd58e3360016040518363ffffffff1660e01b8152600401610a6f929190611ce6565b602060405180830381865afa158015610a8c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ab09190611d24565b1015610af1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae890611d9d565b60405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f242432a3330600160326040518563ffffffff1660e01b8152600401610b549493929190611e2f565b600060405180830381600087803b158015610b6e57600080fd5b505af1158015610b82573d6000803e3d6000fd5b505050505b600660008281526020019081526020016000206000815480929190610bab90611e87565b919050555042600760008381526020019081526020016000208190555050565b600063f23a6e6160e01b905095945050505050565b610be8610d41565b73ffffffffffffffffffffffffffffffffffffffff16610c0661064d565b73ffffffffffffffffffffffffffffffffffffffff1614610c5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c539061183d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610ccb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc290611f41565b60405180910390fd5b610cd481610d49565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b606060006001905060008390505b6009811115610e4657600a81610e319190611f90565b90508180610e3e90611e87565b925050610e1b565b60008267ffffffffffffffff811115610e6257610e61611209565b5b6040519080825280601f01601f191660200182016040528015610e945781602001600182028036833780820191505090505b50905060005b8151811015610f49576000600a6001838551610eb69190611c77565b610ec09190611c77565b600a610ecc91906120f4565b88610ed79190611f90565b610ee1919061213f565b9050603081610ef0919061217d565b60f81b838381518110610f0657610f056121b4565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350508080610f4190611e87565b915050610e9a565b50809350505050919050565b828054610f619061188c565b90600052602060002090601f016020900481019282610f835760008555610fca565b82601f10610f9c57805160ff1916838001178555610fca565b82800160010185558215610fca579182015b82811115610fc9578251825591602001919060010190610fae565b5b509050610fd79190610fdb565b5090565b5b80821115610ff4576000816000905550600101610fdc565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6110418161100c565b811461104c57600080fd5b50565b60008135905061105e81611038565b92915050565b60006020828403121561107a57611079611002565b5b60006110888482850161104f565b91505092915050565b60008115159050919050565b6110a681611091565b82525050565b60006020820190506110c1600083018461109d565b92915050565b6000819050919050565b6110da816110c7565b81146110e557600080fd5b50565b6000813590506110f7816110d1565b92915050565b60006020828403121561111357611112611002565b5b6000611121848285016110e8565b91505092915050565b611133816110c7565b82525050565b600060208201905061114e600083018461112a565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600061119961119461118f84611154565b611174565b611154565b9050919050565b60006111ab8261117e565b9050919050565b60006111bd826111a0565b9050919050565b6111cd816111b2565b82525050565b60006020820190506111e860008301846111c4565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611241826111f8565b810181811067ffffffffffffffff821117156112605761125f611209565b5b80604052505050565b6000611273610ff8565b905061127f8282611238565b919050565b600067ffffffffffffffff82111561129f5761129e611209565b5b6112a8826111f8565b9050602081019050919050565b82818337600083830152505050565b60006112d76112d284611284565b611269565b9050828152602081018484840111156112f3576112f26111f3565b5b6112fe8482856112b5565b509392505050565b600082601f83011261131b5761131a6111ee565b5b813561132b8482602086016112c4565b91505092915050565b60006020828403121561134a57611349611002565b5b600082013567ffffffffffffffff81111561136857611367611007565b5b61137484828501611306565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156113b757808201518184015260208101905061139c565b838111156113c6576000848401525b50505050565b60006113d78261137d565b6113e18185611388565b93506113f1818560208601611399565b6113fa816111f8565b840191505092915050565b6000602082019050818103600083015261141f81846113cc565b905092915050565b600061143282611154565b9050919050565b61144281611427565b82525050565b600060208201905061145d6000830184611439565b92915050565b600061146e826111a0565b9050919050565b61147e81611463565b82525050565b60006020820190506114996000830184611475565b92915050565b6114a881611427565b81146114b357600080fd5b50565b6000813590506114c58161149f565b92915050565b600067ffffffffffffffff8211156114e6576114e5611209565b5b602082029050602081019050919050565b600080fd5b600061150f61150a846114cb565b611269565b90508083825260208201905060208402830185811115611532576115316114f7565b5b835b8181101561155b578061154788826110e8565b845260208401935050602081019050611534565b5050509392505050565b600082601f83011261157a576115796111ee565b5b813561158a8482602086016114fc565b91505092915050565b600067ffffffffffffffff8211156115ae576115ad611209565b5b6115b7826111f8565b9050602081019050919050565b60006115d76115d284611593565b611269565b9050828152602081018484840111156115f3576115f26111f3565b5b6115fe8482856112b5565b509392505050565b600082601f83011261161b5761161a6111ee565b5b813561162b8482602086016115c4565b91505092915050565b600080600080600060a086880312156116505761164f611002565b5b600061165e888289016114b6565b955050602061166f888289016114b6565b945050604086013567ffffffffffffffff8111156116905761168f611007565b5b61169c88828901611565565b935050606086013567ffffffffffffffff8111156116bd576116bc611007565b5b6116c988828901611565565b925050608086013567ffffffffffffffff8111156116ea576116e9611007565b5b6116f688828901611606565b9150509295509295909350565b61170c8161100c565b82525050565b60006020820190506117276000830184611703565b92915050565b600080600080600060a0868803121561174957611748611002565b5b6000611757888289016114b6565b9550506020611768888289016114b6565b9450506040611779888289016110e8565b935050606061178a888289016110e8565b925050608086013567ffffffffffffffff8111156117ab576117aa611007565b5b6117b788828901611606565b9150509295509295909350565b6000602082840312156117da576117d9611002565b5b60006117e8848285016114b6565b91505092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000611827602083611388565b9150611832826117f1565b602082019050919050565b600060208201905081810360008301526118568161181a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806118a457607f821691505b6020821081036118b7576118b661185d565b5b50919050565b600081905092915050565b60008190508160005260206000209050919050565b600081546118ea8161188c565b6118f481866118bd565b9450600182166000811461190f576001811461192057611953565b60ff19831686528186019350611953565b611929856118c8565b60005b8381101561194b5781548189015260018201915060208101905061192c565b838801955050505b50505092915050565b60006119678261137d565b61197181856118bd565b9350611981818560208601611399565b80840191505092915050565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b60006119c36001836118bd565b91506119ce8261198d565b600182019050919050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000611a0f6005836118bd565b9150611a1a826119d9565b600582019050919050565b6000611a3182866118dd565b9150611a3d828561195c565b9150611a48826119b6565b9150611a54828461195c565b9150611a5f82611a02565b9150819050949350505050565b600081519050611a7b8161149f565b92915050565b600060208284031215611a9757611a96611002565b5b6000611aa584828501611a6c565b91505092915050565b7f6e6f74206f776e65720000000000000000000000000000000000000000000000600082015250565b6000611ae4600983611388565b9150611aef82611aae565b602082019050919050565b60006020820190508181036000830152611b1381611ad7565b9050919050565b7f7472792064696574696e67000000000000000000000000000000000000000000600082015250565b6000611b50600b83611388565b9150611b5b82611b1a565b602082019050919050565b60006020820190508181036000830152611b7f81611b43565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611bc0826110c7565b9150611bcb836110c7565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115611c0057611bff611b86565b5b828201905092915050565b7f6e6f742074696d6520746f206561742079657400000000000000000000000000600082015250565b6000611c41601383611388565b9150611c4c82611c0b565b602082019050919050565b60006020820190508181036000830152611c7081611c34565b9050919050565b6000611c82826110c7565b9150611c8d836110c7565b925082821015611ca057611c9f611b86565b5b828203905092915050565b6000819050919050565b6000611cd0611ccb611cc684611cab565b611174565b6110c7565b9050919050565b611ce081611cb5565b82525050565b6000604082019050611cfb6000830185611439565b611d086020830184611cd7565b9392505050565b600081519050611d1e816110d1565b92915050565b600060208284031215611d3a57611d39611002565b5b6000611d4884828501611d0f565b91505092915050565b7f6e656564203530206d6f6f6e726f780000000000000000000000000000000000600082015250565b6000611d87600f83611388565b9150611d9282611d51565b602082019050919050565b60006020820190508181036000830152611db681611d7a565b9050919050565b6000819050919050565b6000611de2611ddd611dd884611dbd565b611174565b6110c7565b9050919050565b611df281611dc7565b82525050565b600082825260208201905092915050565b50565b6000611e19600083611df8565b9150611e2482611e09565b600082019050919050565b600060a082019050611e446000830187611439565b611e516020830186611439565b611e5e6040830185611cd7565b611e6b6060830184611de9565b8181036080830152611e7c81611e0c565b905095945050505050565b6000611e92826110c7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611ec457611ec3611b86565b5b600182019050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000611f2b602683611388565b9150611f3682611ecf565b604082019050919050565b60006020820190508181036000830152611f5a81611f1e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000611f9b826110c7565b9150611fa6836110c7565b925082611fb657611fb5611f61565b5b828204905092915050565b60008160011c9050919050565b6000808291508390505b600185111561201857808604811115611ff457611ff3611b86565b5b60018516156120035780820291505b808102905061201185611fc1565b9450611fd8565b94509492505050565b60008261203157600190506120ed565b8161203f57600090506120ed565b8160018114612055576002811461205f5761208e565b60019150506120ed565b60ff84111561207157612070611b86565b5b8360020a91508482111561208857612087611b86565b5b506120ed565b5060208310610133831016604e8410600b84101617156120c35782820a9050838111156120be576120bd611b86565b5b6120ed565b6120d08484846001611fce565b925090508184048111156120e7576120e6611b86565b5b81810290505b9392505050565b60006120ff826110c7565b915061210a836110c7565b92506121377fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484612021565b905092915050565b600061214a826110c7565b9150612155836110c7565b92508261216557612164611f61565b5b828206905092915050565b600060ff82169050919050565b600061218882612170565b915061219383612170565b92508260ff038211156121a9576121a8611b86565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea26469706673582212205756b02c86e0c8d8f3d843c5ccdbade49b5bf1b91cb5bfe759904516ea5ab8c264736f6c634300080d003368747470733a2f2f736d6f6c6172742e6d7970696e6174612e636c6f75642f697066732f516d5476544a7641367173444c37354d35583869416d5a664d645764744c4e6d5a7352636d5a58614251416b65432f0000000000000000000000001f245e83fb88a1e85b4a1c3e4b3c16660d54319a000000000000000000000000c5295c6a183f29b7c962df076819d44e0076860e

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

0000000000000000000000001f245e83fb88a1e85b4a1c3e4b3c16660d54319a000000000000000000000000c5295c6a183f29b7c962df076819d44e0076860e

-----Decoded View---------------
Arg [0] : _wsmol (address): 0x1f245e83fb88a1e85b4a1c3e4b3c16660d54319a
Arg [1] : _smolTreasures (address): 0xc5295c6a183f29b7c962df076819d44e0076860e

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000001f245e83fb88a1e85b4a1c3e4b3c16660d54319a
Arg [1] : 000000000000000000000000c5295c6a183f29b7c962df076819d44e0076860e


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