ETH Price: $2,420.27 (+3.52%)

Contract

0xc3c123438f4068CBaF4eb7eADB1762Ce8464F36E
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Safe Transfer Fr...164066952023-01-14 17:59:47608 days ago1673719187IN
(0xc3c123438f4068cbaf4eb7eadb1762ce8464f36e)'>Witty Creatures EthCC'5: WC3 Token
0 ETH0.0014580424.06407742
Mint159984702022-11-18 17:44:23665 days ago1668793463IN
(0xc3c123438f4068cbaf4eb7eadb1762ce8464f36e)'>Witty Creatures EthCC'5: WC3 Token
0 ETH0.0069182915.60912751
Set Approval For...159655252022-11-14 3:15:47670 days ago1668395747IN
(0xc3c123438f4068cbaf4eb7eadb1762ce8464f36e)'>Witty Creatures EthCC'5: WC3 Token
0 ETH0.0005967512.91536087
Mint159655092022-11-14 3:12:35670 days ago1668395555IN
(0xc3c123438f4068cbaf4eb7eadb1762ce8464f36e)'>Witty Creatures EthCC'5: WC3 Token
0 ETH0.0051398212
Transfer From155410382022-09-15 19:02:11729 days ago1663268531IN
(0xc3c123438f4068cbaf4eb7eadb1762ce8464f36e)'>Witty Creatures EthCC'5: WC3 Token
0 ETH0.000693412.0241718
Set Approval For...154236392022-08-27 20:19:09748 days ago1661631549IN
(0xc3c123438f4068cbaf4eb7eadb1762ce8464f36e)'>Witty Creatures EthCC'5: WC3 Token
0 ETH0.000320436.93513623
Set Signator154145752022-08-26 9:30:08749 days ago1661506208IN
(0xc3c123438f4068cbaf4eb7eadb1762ce8464f36e)'>Witty Creatures EthCC'5: WC3 Token
0 ETH0.000155845.1656081
Set Signator154097802022-08-25 15:07:48750 days ago1661440068IN
(0xc3c123438f4068cbaf4eb7eadb1762ce8464f36e)'>Witty Creatures EthCC'5: WC3 Token
0 ETH0.0006220320.61782445
Set Signator154084222022-08-25 9:49:19750 days ago1661420959IN
(0xc3c123438f4068cbaf4eb7eadb1762ce8464f36e)'>Witty Creatures EthCC'5: WC3 Token
0 ETH0.000200146.63393754
Mint153571382022-08-17 6:31:37758 days ago1660717897IN
(0xc3c123438f4068cbaf4eb7eadb1762ce8464f36e)'>Witty Creatures EthCC'5: WC3 Token
0 ETH0.003999949.47960252
Mint153467242022-08-15 15:11:38760 days ago1660576298IN
(0xc3c123438f4068cbaf4eb7eadb1762ce8464f36e)'>Witty Creatures EthCC'5: WC3 Token
0 ETH0.0125873428.44
Mint153466882022-08-15 15:02:01760 days ago1660575721IN
(0xc3c123438f4068cbaf4eb7eadb1762ce8464f36e)'>Witty Creatures EthCC'5: WC3 Token
0 ETH0.0202824550
Mint153466392022-08-15 14:50:16760 days ago1660575016IN
(0xc3c123438f4068cbaf4eb7eadb1762ce8464f36e)'>Witty Creatures EthCC'5: WC3 Token
0 ETH0.0121694730
Mint153466322022-08-15 14:49:23760 days ago1660574963IN
(0xc3c123438f4068cbaf4eb7eadb1762ce8464f36e)'>Witty Creatures EthCC'5: WC3 Token
0 ETH0.0053923113.29304596
Mint153466272022-08-15 14:48:04760 days ago1660574884IN
(0xc3c123438f4068cbaf4eb7eadb1762ce8464f36e)'>Witty Creatures EthCC'5: WC3 Token
0 ETH0.0056572613.94621229
Mint152789992022-08-05 0:12:47771 days ago1659658367IN
(0xc3c123438f4068cbaf4eb7eadb1762ce8464f36e)'>Witty Creatures EthCC'5: WC3 Token
0 ETH0.002320455.5
Set Approval For...152570272022-08-01 13:49:41774 days ago1659361781IN
(0xc3c123438f4068cbaf4eb7eadb1762ce8464f36e)'>Witty Creatures EthCC'5: WC3 Token
0 ETH0.000448439.70526678
Mint152561722022-08-01 10:43:48774 days ago1659350628IN
(0xc3c123438f4068cbaf4eb7eadb1762ce8464f36e)'>Witty Creatures EthCC'5: WC3 Token
0 ETH0.004238569.56352556
Set Approval For...152502032022-07-31 12:21:43775 days ago1659270103IN
(0xc3c123438f4068cbaf4eb7eadb1762ce8464f36e)'>Witty Creatures EthCC'5: WC3 Token
0 ETH0.000376618.151008
Mint152432412022-07-30 10:28:28776 days ago1659176908IN
(0xc3c123438f4068cbaf4eb7eadb1762ce8464f36e)'>Witty Creatures EthCC'5: WC3 Token
0 ETH0.002140275.05600553
Mint152343412022-07-29 0:59:28778 days ago1659056368IN
(0xc3c123438f4068cbaf4eb7eadb1762ce8464f36e)'>Witty Creatures EthCC'5: WC3 Token
0 ETH0.0051993512.32282583
Mint152307182022-07-28 11:21:04778 days ago1659007264IN
(0xc3c123438f4068cbaf4eb7eadb1762ce8464f36e)'>Witty Creatures EthCC'5: WC3 Token
0 ETH0.002816276.63457138
Mint152234412022-07-27 8:29:39779 days ago1658910579IN
(0xc3c123438f4068cbaf4eb7eadb1762ce8464f36e)'>Witty Creatures EthCC'5: WC3 Token
0 ETH0.00308037.29997297
Mint152233272022-07-27 8:06:52779 days ago1658909212IN
(0xc3c123438f4068cbaf4eb7eadb1762ce8464f36e)'>Witty Creatures EthCC'5: WC3 Token
0 ETH0.003129057.41507808
Mint152140952022-07-25 21:23:11781 days ago1658784191IN
(0xc3c123438f4068cbaf4eb7eadb1762ce8464f36e)'>Witty Creatures EthCC'5: WC3 Token
0 ETH0.0052184911.79211377
View all transactions

Latest 3 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
151886352022-07-21 22:20:12785 days ago1658442012
(0xc3c123438f4068cbaf4eb7eadb1762ce8464f36e)'>Witty Creatures EthCC'5: WC3 Token
0.005345 ETH
151886352022-07-21 22:20:12785 days ago1658442012
(0xc3c123438f4068cbaf4eb7eadb1762ce8464f36e)'>Witty Creatures EthCC'5: WC3 Token
0.005345 ETH
151886352022-07-21 22:20:12785 days ago1658442012
(0xc3c123438f4068cbaf4eb7eadb1762ce8464f36e)'>Witty Creatures EthCC'5: WC3 Token
0.01 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Wc3Token

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Multiple files format)

File 1 of 24: Wc3Token.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "./ERC721.sol";
import "./Ownable.sol";
import "./ReentrancyGuard.sol";

import "./IWitnetPriceFeed.sol";

import "./IWc3Admin.sol";
import "./IWc3Events.sol";
import "./IWc3Surrogates.sol";
import "./IWc3View.sol";

/// @title Witty Creatures 3.0 - ERC721 Token contract
/// @author Otherplane Labs, 2022.
contract Wc3Token
    is
        ERC721,
        Ownable,
        ReentrancyGuard,
        IWc3Admin,
        IWc3Events,
        IWc3Surrogates,
        IWc3View
{
    using Strings for uint256;
    using Wc3Lib for bytes32;
    using Wc3Lib for string;
    using Wc3Lib for Wc3Lib.Status;
    using Wc3Lib for Wc3Lib.Storage;
    using Wc3Lib for Wc3Lib.WittyCreatureStatus;

    IWitnetRandomness immutable public override randomizer;
    IWitnetPriceRouter immutable public override router;
    uint256 immutable override public guildId;
    bytes32 immutable override public usdPriceAssetId;

    bytes32 immutable internal __version;
    Wc3Lib.Storage internal __storage;    

    modifier inStatus(Wc3Lib.Status _status) {
        require(
            __storage.status(randomizer) == _status,
            Wc3Lib.statusRevertMessage(_status)
        );
        _;
    }

    modifier selfMintUsdCost6(uint _tokenId) {
        uint _initGas = gasleft();
        {
            _;
        }
        Wc3Lib.WittyCreature storage __wc3 = __storage.intrinsics[_tokenId];
        (int _lastPrice, bytes32 _witnetProof) = _estimateUsdPrice6();
        __wc3.mintBlock = block.number;
        __wc3.mintGasPrice = tx.gasprice;
        __wc3.mintTimestamp = block.timestamp;
        __wc3.mintUsdPriceWitnetProof = _witnetProof;
        uint _mintGas = __storage.mintGasOverhead + _initGas - gasleft();
        __wc3.mintGas = _mintGas;
        __wc3.mintUsdCost6 = (uint(_lastPrice) * tx.gasprice * _mintGas) / 10 ** 18; 
    }

    modifier tokenExists(uint256 _tokenId) {
        require(
            _exists(_tokenId),
            "Wc3Token: void token"
        );
        _;
    }

    constructor(
            string memory _version,
            address _randomizer,
            address _router,
            address _decorator,
            address _signator,
            uint8[] memory _percentileMarks,
            uint256 _expirationBlocks,
            uint256 _totalEggs,
            string memory _usdPriceCaption,
            uint256 _mintGasOverhead            
        )
        ERC721("Witty Creatures EthCC'5", "WC3")
    {
        assert(_randomizer != address(0));
        assert(_router != address(0));

        guildId = block.chainid;        
        __version = _version.toBytes32();      

        randomizer = IWitnetRandomness(_randomizer);
        router = IWitnetPriceRouter(_router);

        setDecorator(
            IWc3Decorator(_decorator)
        );
        setMintGasOverhead(
            _mintGasOverhead
        );
        setSettings(
            _expirationBlocks,
            _totalEggs,
            _percentileMarks
        );
        setSignator(
            _signator
        );        

        usdPriceAssetId = router.currencyPairId(_usdPriceCaption);
        require(
            router.supportsCurrencyPair(usdPriceAssetId),
            string(abi.encodePacked(
                bytes("Wc3Token: unsupported currency pair: "),
                _usdPriceCaption
            ))
        );
    }

    /// @dev Required for receiving unused funds back when calling to `randomizer.randomize()`
    receive() external payable {}


    // ========================================================================
    // --- 'ERC721Metadata' overriden functions -------------------------------
  
    function baseURI()
        public view
        virtual
        returns (string memory)
    {
        return decorator().baseURI();
    }
    
    function metadata(uint256 _tokenId)
        external view 
        virtual 
        tokenExists(_tokenId)
        returns (string memory)
    {
        return decorator().toJSON(
            randomizer.getRandomnessAfter(__storage.hatchingBlock),
            __storage.intrinsics[_tokenId]
        );
    }

    function tokenURI(uint256 _tokenId)
        public view
        virtual override
        tokenExists(_tokenId)
        returns (string memory)
    {
        return string(abi.encodePacked(
            baseURI(),
            "metadata/",
            block.chainid.toString(),
            "/",
            _tokenId.toString()
        ));
    }


    // ========================================================================
    // --- Implementation of 'IWc3Admin' --------------------------------------

    /// Sets Opensea-compliant Decorator contract
    /// @dev Only callable by the owner, when in 'Batching' status.
    function setDecorator(IWc3Decorator _decorator)
        public
        override
        onlyOwner
        inStatus(Wc3Lib.Status.Batching)
    {
        require(
            address(_decorator) != address(0),
            "Wc3Token: no decorator"
        );
        __storage.decorator = address(_decorator);
        emit Decorator(address(_decorator));
    }

    /// Set estimated gas units required for minting one single token.
    /// @dev Only callable by the owner, at any time.
    function setMintGasOverhead(
            uint256 _mintGasOverhead
        )
        public override
        onlyOwner
    {
        __storage.mintGasOverhead = _mintGasOverhead;
        emit MintGasOverhead(_mintGasOverhead);
    }

    /// Sets Externally Owned Account that is authorized to sign tokens' intrinsics before getting minted.
    /// @dev Only callable by the owner, at any time.
    /// @dev Cannot be set to zero address.
    /// @param _signator Externally-owned account to be authorized    
    function setSignator(address _signator)
        public override
        onlyOwner
    {
        require(
            _signator != address(0),
            "Wc3Token: no signator"
        );
        __storage.signator = _signator;
        emit Signator(_signator);
    }

    /// Change batch parameters. Only possible while in 'Batching' status.
    /// @dev Only callable by the owner, while on 'Batching' status.
    /// @param _expirationBlocks Number of blocks after Witnet randomness is generated, during which creatures may get minted.
    /// @param _totalEggs Max number of tokens that may eventually get minted.
    /// @param _percentileMarks Creature-category ordered percentile marks (Legendary first).   
    function setSettings(
            uint256 _expirationBlocks,
            uint256 _totalEggs,
            uint8[] memory _percentileMarks
        )
        public
        virtual override
        onlyOwner
        inStatus(Wc3Lib.Status.Batching)
    {
        require(
            _totalEggs > 0,
            "Wc3Token: zero eggs"
        );
        require(
            _percentileMarks.length == uint8(Wc3Lib.WittyCreatureRarity.Common) + 1,
            "Wc3Token: bad percentile marks"
        );        

        __storage.settings.expirationBlocks = _expirationBlocks;
        __storage.settings.totalEggs = _totalEggs;
        __storage.settings.percentileMarks = new uint8[](_percentileMarks.length);

        uint8 _checkSum; for (uint8 _i = 0; _i < _percentileMarks.length; _i ++) {
            uint8 _mark = _percentileMarks[_i];
            __storage.settings.percentileMarks[_i] = _mark;
            _checkSum += _mark;
        }
        require(_checkSum == 100, "Wc3Token: bad percentile checksum");

        emit Settings(
            _expirationBlocks,
            _totalEggs,
            _percentileMarks
        );
    }

    /// Starts hatching, which means: (a) game settings cannot be altered anymore, (b) a 
    /// random number will be requested to the Witnet Decentralized Oracle Network, and (c)
    /// the contract will automatically turn to the 'Hatching' status as soon as the randomness
    /// gets solved by the Witnet oracle. While the randomness request gets solved, the contract will 
    /// remain in 'Randomizing' status.
    /// @dev Only callable by the owner, while in 'Batching' status.
    function startHatching()
        external payable
        virtual
        nonReentrant
        onlyOwner
        inStatus(Wc3Lib.Status.Batching)
    {   
        // Decorator must be forged first:
        require(
            decorator().forged(),
            "Wc3Token: unforged decorator"
        );

        // Request randomness from the Witnet oracle:
        uint _usedFunds = randomizer.randomize{ value: msg.value }();

        // Sets hatching block number:
        __storage.hatchingBlock = block.number;
        
        // Transfer back unused funds:
        if (_usedFunds < msg.value ) {
            payable(msg.sender).transfer(msg.value - _usedFunds);   
        }
    }

    // ========================================================================
    // --- Implementation of 'IWc3Surrogates' -------------------------------

    function mint(
            address _tokenOwner,
            string calldata _name,
            uint256 _globalRanking,
            uint256 _guildId,
            uint256 _guildPlayers,
            uint256 _guildRanking,
            uint256 _index,
            uint256 _score,
            bytes calldata _signature
        )
        external
        virtual override
        selfMintUsdCost6(_guildRanking)
        nonReentrant
        inStatus(Wc3Lib.Status.Hatching)
    {
        // Verify guildfundamental facts:
        _verifyGuildFacts(
            _guildId,
            _guildPlayers,
            _guildRanking
        );

        // Verify signature:
        _verifySignature(
            _tokenOwner,
            _name,
            _globalRanking,
            _guildId,
            _guildPlayers,
            _guildRanking,
            _index,
            _score,            
            _signature
        );

        // Token id will be the same as the achieved guild ranking for this egg during EthCC'5:
        uint256 _tokenId = _guildRanking;

        // Verify the token has not been already minted:
        require(
            __storage.intrinsics[_tokenId].mintTimestamp == 0,
            "Wc3Token: already minted"
        );

        // Save token intrinsics to storage:
        __mintWittyCreature(
            _name,
            _globalRanking,
            _guildPlayers,
            _guildRanking,
            _index,
            _score
        );

        // Mint the actual ERC-721 token:
        _safeMint(_tokenOwner, _tokenId);

        // Increment token supply:
        __storage.totalSupply ++;
    }


    // ========================================================================
    // --- Implementation of 'IWc3View' ------------------------------------

    
    function decorator()
        public view
        override
        returns (IWc3Decorator)
    {
        return IWc3Decorator(__storage.decorator);
    }
    
    function getHatchingBlock()
        public view
        override
        returns (uint256)
    {
        return __storage.hatchingBlock;
    }

    function getHatchingRandomness()
        public view
        override
        returns (bytes32 _hatchingRandomness)
    {
        return randomizer.getRandomnessAfter(__storage.hatchingBlock);
    }

    function getMintGasOverhead()
        public view
        override
        returns (uint256)
    {
        return __storage.mintGasOverhead;
    }

    function getSettings()
        external view
        override
        returns (Wc3Lib.Settings memory)
    {
        return __storage.settings;
    }

    function getStatus()
        public view
        override
        returns (Wc3Lib.Status)
    {
        return __storage.status(randomizer);
    }

    function getStatusString()
        external view
        override
        returns (string memory)
    {
        return getStatus().toString();
    }

    function getTokenIntrinsics(uint256 _tokenId)
        external view
        override
        returns (Wc3Lib.WittyCreature memory)
    {
        return __storage.intrinsics[_tokenId];
    }

    function getTokenRandomTraits(uint256 _tokenId)
        external view
        override
        returns (Wc3Lib.WittyCreatureTraits memory _traits)
    {
        bytes32 _randomness = getHatchingRandomness();
        if (_randomness != 0) {
            _traits = decorator().randomTraits(
                _randomness,
                __storage.intrinsics[_tokenId].eggIndex
            );
        }
    }

    function getTokenStatus(uint256 _tokenId)
        public view
        override
        returns (Wc3Lib.WittyCreatureStatus)
    {
        return __storage.tokenStatus(randomizer, _tokenId);
    }

    function getTokenStatusString(uint256 _tokenId)
        external view
        override
        returns (string memory)
    {
        return getTokenStatus(_tokenId).toString();
    }

    function preview(
            string memory _name,
            uint256 _globalRanking,
            uint256 _guildId,
            uint256 _guildPlayers,
            uint256 _guildRanking,
            uint256 _index,
            uint256 _score
        )
        public view
        virtual override
        inStatus(Wc3Lib.Status.Hatching)
        returns (string memory)
    {
        // Verify guild facts:
        _verifyGuildFacts(
            _guildId,
            _guildPlayers,
            _guildRanking
        );

        // Preview creature image:
        return decorator().toJSON(
            randomizer.getRandomnessAfter(__storage.hatchingBlock),
            Wc3Lib.WittyCreature({
                eggName: _name,
                eggGlobalRanking: _globalRanking,
                eggGuildRanking: _guildRanking,
                eggIndex: _index,
                eggRarity: __storage.eggRarity((_guildRanking * 100) / _guildPlayers),
                eggScore: _score,
                mintBlock: 0,
                mintGas: 0,
                mintGasPrice: 0,
                mintTimestamp: 0,
                mintUsdCost6: 0,
                mintUsdPriceWitnetProof: 0
            })
        );
    }

    function signator()
        external view
        override
        returns (address)
    {
        return __storage.signator;
    }

    function totalSupply()
        public view
        override
        returns (uint256)
    {
        return __storage.totalSupply;
    }

    function usdPriceCaption()
        public view
        override
        returns (string memory)
    {
        return router.lookupERC2362ID(usdPriceAssetId);
    }

    function version()
        external view
        override
        returns (string memory)
    {
        return __version.toString();
    }

    
    // ------------------------------------------------------------------------
    // --- INTERNAL VIRTUAL METHODS -------------------------------------------
    // ------------------------------------------------------------------------

    /// @dev Rely on the Witnet oracle to fetch current USD price, and verification proof
    function _estimateUsdPrice6()
        internal view
        returns (int _lastKnownPrice, bytes32 _priceWitnetProof)
    {
        IWitnetPriceFeed _pf = IWitnetPriceFeed(address(router.getPriceFeed(usdPriceAssetId)));
        if (address(_pf) != address(0)) {
            (_lastKnownPrice,, _priceWitnetProof,) = _pf.lastValue();
        }
    }
    
    function __mintWittyCreature(
            string calldata _name,
            uint256 _globalRanking,
            uint256 _guildPlayers,
            uint256 _guildRanking,
            uint256 _index,
            uint256 _score
        )
        internal
        virtual
    {
        // Save intrinsics into storage:
        Wc3Lib.WittyCreature storage __wc3 = __storage.intrinsics[_guildRanking];
        __wc3.eggName = _name;
        __wc3.eggGlobalRanking = _globalRanking;
        __wc3.eggGuildRanking = _guildRanking;
        __wc3.eggIndex = _index;
        __wc3.eggRarity = __storage.eggRarity((_guildRanking * 100) / _guildPlayers);
        __wc3.eggScore = _score;
    }

    function _verifyGuildFacts(
            uint _guildId,
            uint _guildPlayers,
            uint _guildRanking
        )
        internal view
        virtual
    {
        require(_guildId == guildId, "Wc3Token: bad guild");
        
        require(_guildPlayers > 0, "Wc3Token: no players");
        require(_guildPlayers <= __storage.settings.totalEggs, "Wc3Token: bad players");
        
        require(_guildRanking > 0, "Wc3Token: no ranking");
        require(_guildRanking <= _guildPlayers, "Wc3Token: bad ranking");
    }

    function _verifySignature(
            address _tokenOwner,
            string memory _name,
            uint256 _globalRanking,
            uint256 _guildId,
            uint256 _guildPlayers,
            uint256 _guildRanking,
            uint256 _index,
            uint256 _score,
            bytes memory _signature
        )
        internal view
        virtual
    {
        bytes32 _hash = keccak256(abi.encode(
            _tokenOwner,
            _name,
            _globalRanking,
            _guildId,
            _guildPlayers,
            _guildRanking,
            _index,
            _score
        ));
        require(
            Wc3Lib.recoverAddr(_hash, _signature) == __storage.signator,
            "Wc3Token: bad signature"
        );
    }

}

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

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

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

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

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

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

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

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

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

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

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

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

File 3 of 24: 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 4 of 24: 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;
    }
}

File 5 of 24: ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./IERC721Metadata.sol";
import "./Address.sol";
import "./Context.sol";
import "./Strings.sol";
import "./ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @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.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);

        _afterTokenTransfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);

        _afterTokenTransfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` 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 tokenId
    ) 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.
     * - `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 tokenId
    ) internal virtual {}
}

File 6 of 24: 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 7 of 24: IERC2362.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.5.0 <0.9.0;

/**
* @dev EIP2362 Interface for pull oracles
* https://github.com/adoracles/EIPs/blob/erc-2362/EIPS/eip-2362.md
*/
interface IERC2362
{
	/**
	 * @dev Exposed function pertaining to EIP standards
	 * @param _id bytes32 ID of the query
	 * @return int,uint,uint returns the value, timestamp, and status code of query
	 */
	function valueFor(bytes32 _id) external view returns(int256,uint256,uint256);
}

File 8 of 24: IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "./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 9 of 24: IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

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

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

File 10 of 24: IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

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

import "./IWc3Decorator.sol";

/// @title Witty Creatures 3.0 Token only-owner interface.
/// @author Otherplane Labs, 2022.
interface IWc3Admin {

    /// Sets Opensea-compliant Decorator contract
    function setDecorator(
        IWc3Decorator
    ) external;

    /// Set estimated gas units required for minting one single token.
    /// @param _estimatedGasLimit Estimated gas units.
    function setMintGasOverhead(
        uint256 _estimatedGasLimit
    ) external;

    /// Change batch parameters. Only possible while in 'Batching' status.
    /// @param _expirationBlocks Number of blocks after Witnet randomness is generated, during which creatures may get minted.
    /// @param _totalEggs Max number of tokens that may eventually get minted.
    /// @param _percentileMarks Creature-category ordered percentile marks (Legendary first).    
    function setSettings(
        uint256 _expirationBlocks,
        uint256 _totalEggs,
        uint8[] calldata _percentileMarks
    ) external;

    /// Sets Externally Owned Account that is authorized to sign tokens' intrinsics before getting minted.
    /// @param _signator Externally-owned account to be authorized
    function setSignator(address _signator) external;

    /// Starts hatching, which means: (a) game settings cannot be altered anymore, (b) a 
    /// random number will be requested to the Witnet Decentralized Oracle Network, and (c)
    /// the contract will automatically turn to the 'Hatching' status as soon as the randomness
    /// gets solved by the Witnet oracle. While the randomness request gets solved, the contract will 
    /// remain in 'Randomizing' status.
    function startHatching() external payable;
}

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

import "./Wc3Lib.sol";

/// @title Witty Creatures 3.0 Decorating interface.
/// @author Otherplane Labs, 2022.
interface IWc3Decorator {
    function baseURI() external view returns (string memory);
    function forged() external view returns (bool);
    function guildId() external view returns (uint256);
    function randomTraits(bytes32, uint256) external view returns (Wc3Lib.WittyCreatureTraits memory);
    function toJSON(bytes32, Wc3Lib.WittyCreature memory) external view returns (string memory);
    function version() external view returns (string memory);
}

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

/// @title Witty Creatures 3.0 Token events.
/// @author Otherplane Labs, 2022.
interface IWc3Events {
    event Decorator(address decorator);
    event MintGasOverhead(uint256 gas);
    event Settings(uint256 expirationBlocks, uint256 totalEggs, uint8[] percentileMarks);    
    event Signator(address signator);
}

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

/// @title Witty Creatures 3.0 Token surrogating interface.
/// @author Otherplane Labs, 2022.
interface IWc3Surrogates {
    function mint(
        address _tokenOwner,
        string calldata _name,
        uint256 _globalRanking,
        uint256 _guildId,
        uint256 _guildPlayers,
        uint256 _guildRanking,
        uint256 _index,
        uint256 _score,
        bytes calldata _signature
    ) external;
}

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

import "./IWitnetPriceRouter.sol";
import "./IWc3Decorator.sol";

/// @title Witty Creatures 3.0 Token viewing interface.
/// @author Otherplane Labs, 2022.
interface IWc3View {
    function decorator() external view returns (IWc3Decorator);
    function guildId() external view returns (uint256);
    function randomizer() external view returns (IWitnetRandomness);
    function router() external view returns (IWitnetPriceRouter);
    function signator() external view returns (address);
    
    function getHatchingBlock() external view returns (uint256);
    function getHatchingRandomness() external view returns (bytes32);
    function getMintGasOverhead() external view returns (uint256);
    function getSettings() external view returns (Wc3Lib.Settings memory);    
    function getStatus() external view returns (Wc3Lib.Status);
    function getStatusString() external view returns (string memory);
    function getTokenIntrinsics(uint256 _tokenId) external view returns (Wc3Lib.WittyCreature memory);
    function getTokenRandomTraits(uint256 _tokenId) external view returns (Wc3Lib.WittyCreatureTraits memory);
    function getTokenStatus(uint256 _tokenId) external view returns (Wc3Lib.WittyCreatureStatus);
    function getTokenStatusString(uint256 _tokenId) external view returns (string memory);

    function preview(
        string calldata _name,
        uint256 _globalRanking,
        uint256 _guildId,
        uint256 _guildPlayers,
        uint256 _guildRanking,
        uint256 _index,
        uint256 _score
    ) external view returns (string memory);
    
    function totalSupply() external view returns (uint256);
    function usdPriceAssetId() external view returns (bytes32);
    function usdPriceCaption() external view returns (string memory);
    function version() external view returns (string memory);
}

File 16 of 24: IWitnetPriceFeed.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.7.0 <0.9.0;
pragma experimental ABIEncoderV2;

/// @title The Witnet Price Feed basic interface.
/// @dev Guides implementation of active price feed polling contracts.
/// @author The Witnet Foundation.

interface IWitnetPriceFeed {

    /// Signals that a new price update request is being posted to the Witnet Request Board
    event PriceFeeding(address indexed from, uint256 queryId, uint256 extraFee);

    /// Estimates minimum fee amount in native currency to be paid when 
    /// requesting a new price update.
    /// @dev Actual fee depends on the gas price of the `requestUpdate()` transaction.
    /// @param _gasPrice Gas price expected to be paid when calling `requestUpdate()`
    function estimateUpdateFee(uint256 _gasPrice) external view returns (uint256);

    /// Returns result of the last valid price update request successfully solved by the Witnet oracle.
    function lastPrice() external view returns (int256);

    /// Returns the EVM-timestamp when last valid price was reported back from the Witnet oracle.
    function lastTimestamp() external view returns (uint256);    

    /// Returns tuple containing last valid price and timestamp, as well as status code of latest update
    /// request that got posted to the Witnet Request Board.
    /// @return _lastPrice Last valid price reported back from the Witnet oracle.
    /// @return _lastTimestamp EVM-timestamp of the last valid price.
    /// @return _lastDrTxHash Hash of the Witnet Data Request that solved the last valid price.
    /// @return _latestUpdateStatus Status code of the latest update request.
    function lastValue() external view returns (
        int _lastPrice,
        uint _lastTimestamp,
        bytes32 _lastDrTxHash,
        uint _latestUpdateStatus
    );

    /// Returns identifier of the latest update request posted to the Witnet Request Board.
    function latestQueryId() external view returns (uint256);

    /// Returns hash of the Witnet Data Request that solved the latest update request.
    /// @dev Returning 0 while the latest update request remains unsolved.
    function latestUpdateDrTxHash() external view returns (bytes32);

    /// Returns error message of latest update request posted to the Witnet Request Board.
    /// @dev Returning empty string if the latest update request remains unsolved, or
    /// @dev if it was succesfully solved with no errors.
    function latestUpdateErrorMessage() external view returns (string memory);

    /// Returns status code of latest update request posted to the Witnet Request Board:
    /// @dev Status codes:
    /// @dev   - 200: update request was succesfully solved with no errors
    /// @dev   - 400: update request was solved with errors
    /// @dev   - 404: update request was not solved yet 
    function latestUpdateStatus() external view returns (uint256);

    /// Returns `true` if latest update request posted to the Witnet Request Board 
    /// has not been solved yet by the Witnet oracle.
    function pendingUpdate() external view returns (bool);

    /// Posts a new price update request to the Witnet Request Board. Requires payment of a fee
    /// that depends on the value of `tx.gasprice`. See `estimateUpdateFee(uint256)`.
    /// @dev If previous update request was not solved yet, calling this method again allows
    /// @dev upgrading the update fee if called with a higher `tx.gasprice` value.
    function requestUpdate() external payable;

    /// Tells whether this contract implements the interface defined by `interfaceId`. 
    /// @dev See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
    /// @dev to learn more about how these ids are created.
    function supportsInterface(bytes4) external view returns (bool);
}

File 17 of 24: IWitnetPriceRouter.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.7.0 <0.9.0;
pragma experimental ABIEncoderV2;

import "./IERC2362.sol";
import "./IERC165.sol";

/// @title The Witnet Price Router basic interface.
/// @dev Guides implementation of price feeds aggregation contracts.
/// @author The Witnet Foundation.
abstract contract IWitnetPriceRouter
    is
        IERC2362 
{
    /// Emitted everytime a currency pair is attached to a new price feed contract
    /// @dev See https://github.com/adoracles/ADOIPs/blob/main/adoip-0010.md 
    /// @dev to learn how these ids are created.
    event CurrencyPairSet(bytes32 indexed erc2362ID, IERC165 pricefeed);

    /// Helper pure function: returns hash of the provided ERC2362-compliant currency pair caption (aka ID).
    function currencyPairId(string memory) external pure virtual returns (bytes32);

    /// Returns the ERC-165-compliant price feed contract currently serving 
    /// updates on the given currency pair.
    function getPriceFeed(bytes32 _erc2362id) external view virtual returns (IERC165);

    /// Returns human-readable ERC2362-based caption of the currency pair being
    /// served by the given price feed contract address. 
    /// @dev Should fail if the given price feed contract address is not currently
    /// @dev registered in the router.
    function getPriceFeedCaption(IERC165) external view virtual returns (string memory);

    /// Returns human-readable caption of the ERC2362-based currency pair identifier, if known.
    function lookupERC2362ID(bytes32 _erc2362id) external view virtual returns (string memory);

    /// Register a price feed contract that will serve updates for the given currency pair.
    /// @dev Setting zero address to a currency pair implies that it will not be served any longer.
    /// @dev Otherwise, should fail if the price feed contract does not support the `IWitnetPriceFeed` interface,
    /// @dev or if given price feed is already serving another currency pair (within this WitnetPriceRouter instance).
    function setPriceFeed(
            IERC165 _pricefeed,
            uint256 _decimals,
            string calldata _base,
            string calldata _quote
        )
        external virtual;

    /// Returns list of known currency pairs IDs.
    function supportedCurrencyPairs() external view virtual returns (bytes32[] memory);

    /// Returns `true` if given pair is currently being served by a compliant price feed contract.
    function supportsCurrencyPair(bytes32 _erc2362id) external view virtual returns (bool);

    /// Returns `true` if given price feed contract is currently serving updates to any known currency pair. 
    function supportsPriceFeed(IERC165 _priceFeed) external view virtual returns (bool);
}

File 18 of 24: IWitnetRandomness.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.7.0 <0.9.0;

import "./Witnet.sol";

/// @title The Witnet Randomness generator interface.
/// @author Witnet Foundation.
interface IWitnetRandomness {

    /// Thrown every time a new WitnetRandomnessRequest gets succesfully posted to the WitnetRequestBoard.
    /// @param from Address from which the randomize() function was called. 
    /// @param prevBlock Block number in which a randomness request got posted just before this one. 0 if none.
    /// @param witnetQueryId Unique query id assigned to this request by the WRB.
    /// @param witnetRequestHash SHA-256 hash of the WitnetRandomnessRequest actual bytecode just posted to the WRB.
    event Randomized(
        address indexed from,
        uint256 indexed prevBlock,
        uint256 witnetQueryId,
        bytes32 witnetRequestHash
    );

    /// Returns amount of wei required to be paid as a fee when requesting randomization with a 
    /// transaction gas price as the one given.
    function estimateRandomizeFee(uint256 _gasPrice) external view returns (uint256);

    /// Retrieves data of a randomization request that got successfully posted to the WRB within a given block.
    /// @dev Returns zero values if no randomness request was actually posted within a given block.
    /// @param _block Block number whose randomness request is being queried for.
    /// @return _from Address from which the latest randomness request was posted.
    /// @return _id Unique request identifier as provided by the WRB.
    /// @return _prevBlock Block number in which a randomness request got posted just before this one. 0 if none.
    /// @return _nextBlock Block number in which a randomness request got posted just after this one, 0 if none.
    function getRandomizeData(uint256 _block)
        external view returns (address _from, uint256 _id, uint256 _prevBlock, uint256 _nextBlock);

    /// Retrieves the randomness generated upon solving a request that was posted within a given block,
    /// if any, or to the _first_ request posted after that block, otherwise. Should the intended 
    /// request happen to be finalized with errors on the Witnet oracle network side, this function 
    /// will recursively try to return randomness from the next non-faulty randomization request found 
    /// in storage, if any. 
    /// @dev Fails if:
    /// @dev   i.   no `randomize()` was not called in either the given block, or afterwards.
    /// @dev   ii.  a request posted in/after given block does exist, but no result has been provided yet.
    /// @dev   iii. all requests in/after the given block were solved with errors.
    /// @param _block Block number from which the search will start.
    function getRandomnessAfter(uint256 _block) external view returns (bytes32); 

    /// Tells what is the number of the next block in which a randomization request was posted after the given one. 
    /// @param _block Block number from which the search will start.
    /// @return Number of the first block found after the given one, or `0` otherwise.
    function getRandomnessNextBlock(uint256 _block) external view returns (uint256); 

    /// Gets previous block in which a randomness request was posted before the given one.
    /// @param _block Block number from which the search will start.
    /// @return First block found before the given one, or `0` otherwise.
    function getRandomnessPrevBlock(uint256 _block) external view returns (uint256);

    /// Returns `true` only when the randomness request that got posted within given block was already
    /// reported back from the Witnet oracle, either successfully or with an error of any kind.
    function isRandomized(uint256 _block) external view returns (bool);

    /// Returns latest block in which a randomness request got sucessfully posted to the WRB.
    function latestRandomizeBlock() external view returns (uint256);

    /// Generates a pseudo-random number uniformly distributed within the range [0 .. _range), by using 
    /// the given `_nonce` value and the randomness returned by `getRandomnessAfter(_block)`. 
    /// @dev Fails under same conditions as `getRandomnessAfter(uint256)` may do.
    /// @param _range Range within which the uniformly-distributed random number will be generated.
    /// @param _nonce Nonce value enabling multiple random numbers from the same randomness value.
    /// @param _block Block number from which the search will start.
    function random(uint32 _range, uint256 _nonce, uint256 _block) external view returns (uint32);

    /// Generates a pseudo-random number uniformly distributed within the range [0 .. _range), by using 
    /// the given `_nonce` value and the given `_seed` as a source of entropy.
    /// @param _range Range within which the uniformly-distributed random number will be generated.
    /// @param _nonce Nonce value enabling multiple random numbers from the same randomness value.
    /// @param _seed Seed value used as entropy source.
    function random(uint32 _range, uint256 _nonce, bytes32 _seed) external pure returns (uint32);

    /// Requests the Witnet oracle to generate an EVM-agnostic and trustless source of randomness. 
    /// Only one randomness request per block will be actually posted to the WRB. Should there 
    /// already be a posted request within current block, it will try to upgrade Witnet fee of current's 
    /// block randomness request according to current gas price. In both cases, all unused funds shall 
    /// be transfered back to the tx sender.
    /// @return _usedFunds Amount of funds actually used from those provided by the tx sender.
    function randomize() external payable returns (uint256 _usedFunds);

    /// Increases Witnet fee related to a pending-to-be-solved randomness request, as much as it
    /// may be required in proportion to how much bigger the current tx gas price is with respect the 
    /// highest gas price that was paid in either previous fee upgrades, or when the given randomness 
    /// request was posted. All unused funds shall be transferred back to the tx sender.
    /// @return _usedFunds Amount of dunds actually used from those provided by the tx sender.
    function upgradeRandomizeFee(uint256 _block) external payable returns (uint256 _usedFunds);
}

File 19 of 24: IWitnetRequest.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.7.0 <0.9.0;

/// @title The Witnet Data Request basic interface.
/// @author The Witnet Foundation.
interface IWitnetRequest {
    /// A `IWitnetRequest` is constructed around a `bytes` value containing 
    /// a well-formed Witnet Data Request using Protocol Buffers.
    function bytecode() external view returns (bytes memory);

    /// Returns SHA256 hash of Witnet Data Request as CBOR-encoded bytes.
    function hash() external view returns (bytes32);
}

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

pragma solidity ^0.8.0;

import "./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 21 of 24: 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 22 of 24: Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

File 23 of 24: Wc3Lib.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "./IWitnetRandomness.sol";

/// @title Wc3Lib Library: data model and helper functions
/// @author Otherplane Labs, 2022.
library Wc3Lib {

    struct Storage {
        address decorator;
        address signator;
        Settings settings;

        uint256 mintGasOverhead;
        uint256 hatchingBlock;
        uint256 totalSupply;

        mapping (/* tokenId => WittyCreature */ uint256 => WittyCreature) intrinsics;
    }

    struct Settings {        
        uint256 expirationBlocks;
        uint256 totalEggs;
        uint8[] percentileMarks;
    }

    enum Status {
        Batching,
        Randomizing,
        Hatching,
        Frozen
    }

    struct WittyCreature {
        string  eggName;
        uint256 eggGlobalRanking;
        uint256 eggGuildRanking; /// @dev same as tokenId
        uint256 eggIndex;
        WittyCreatureRarity eggRarity;
        uint256 eggScore;
        uint256 mintBlock;
        uint256 mintGas;
        uint256 mintGasPrice;
        uint256 mintTimestamp;
        uint256 mintUsdCost6;
        bytes32 mintUsdPriceWitnetProof;
    }

    struct WittyCreatureTraits {
        uint8 background;
        uint8 eyes;
        uint8 head;
        uint8 mouth;
        uint8 object;
        uint8 outfit;  
    }

    enum WittyCreatureRarity {
        Legendary,  // 0
        Rare,       // 1
        Common      // 2
    }

    enum WittyCreatureStatus {
        Void,        // 0
        Incubating,  // 1
        Randomizing, // 2
        Hatching,    // 3
        Minted,      // 4
        Frozen       // 5
    }

    // Calculate length of string-equivalent to given bytes32.
    function length(bytes32 _bytes32)
        internal pure
        returns (uint _length)
    {
        for (; _length < 32; _length ++) {
            if (_bytes32[_length] == 0) {
                break;
            }
        }
    }

    /// Generates pseudo-random number uniformly distributed in range [0 .. _range).
    function randomUint8(bytes32 _seed, uint256 _index, uint _range)
        internal pure
        returns (uint8)
    {
        assert(_range > 0 && _range <= 256);
        uint8 _flagBits = uint8(255 - _msbDeBruijn32(uint32(_range)));
        uint256 _number = uint256(keccak256(abi.encode(_seed, _index))) & uint256(2 ** _flagBits - 1);
        return uint8((_number * _range) >> _flagBits); 
    }

    /// Calculate rarity index based on a creature's ranking percentile.
    function eggRarity(
            Storage storage self,
            uint _percentile100
        )
        internal view
        returns (WittyCreatureRarity)
    {
        uint8 _i; uint8 _cumuled;
        if (_percentile100 > 100) {
            _percentile100 = 100;
        }
        uint _length = self.settings.percentileMarks.length; 
        for (; _i < _length; _i ++) {
            _cumuled += self.settings.percentileMarks[_i];
            if (_percentile100 <= _cumuled) {
                break;
            }
        }
        return WittyCreatureRarity(_i);
    }

    /// Recovers address from hash and signature.
    function recoverAddr(bytes32 _hash, bytes memory _signature)
        internal pure
        returns (address)
    {
        if (_signature.length != 65) {
            return (address(0));
        }
        bytes32 r;
        bytes32 s;
        uint8 v;
        assembly {
            r := mload(add(_signature, 0x20))
            s := mload(add(_signature, 0x40))
            v := byte(0, mload(add(_signature, 0x60)))
        }
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return address(0);
        }
        if (v != 27 && v != 28) {
            return address(0);
        }
        return ecrecover(_hash, v, r, s);
    }    

    /// Gets tender's current status.
    function status(Storage storage self, IWitnetRandomness _randomizer)
        internal view
        returns (Status)
    {
        uint _hatchingBlock = self.hatchingBlock;
        uint _expirationBlocks = self.settings.expirationBlocks;
        if (_hatchingBlock > 0) {
            if (_randomizer.isRandomized(_hatchingBlock)) {
                if (_expirationBlocks > 0 && block.number > _hatchingBlock + _expirationBlocks) {
                    return Status.Frozen;
                } else {
                    return Status.Hatching;
                }
            } else {
                return Status.Randomizing;
            }
        } else {
            return Status.Batching;
        }
    }

    /// @dev Produces revert message when tender is not in expected status.
    function statusRevertMessage(Status _status)
        internal pure
        returns (string memory)
    {
        if (_status == Status.Frozen) {
            return "Wc3Lib: not in Frozen status";
        } else if (_status == Status.Batching) {
            return "Wc3Lib: not in Batching status";
        } else if (_status == Status.Randomizing) {
            return "Wc3Lib: not in Randomizing status";
        } else if (_status == Status.Hatching) {
            return "Wc3Lib: not in Hatching status";
        } else {
            return "Wc3Lib: bad mood";
        }
    }

    /// Gets tokens's current status.
    function tokenStatus(Storage storage self, IWitnetRandomness _randomizer, uint256 _tokenId)
        internal view
        returns (WittyCreatureStatus)
    {
        WittyCreature memory _wc3 = self.intrinsics[_tokenId];
        if (
            _tokenId == 0
                || _tokenId > self.settings.totalEggs
        ) {
            return WittyCreatureStatus.Void;
        }
        else if (_wc3.mintTimestamp > 0) {
            return WittyCreatureStatus.Minted;
        }
        else {
            uint _hatchingBlock = self.hatchingBlock;
            if (_hatchingBlock > 0) {
                if (_randomizer.isRandomized(_hatchingBlock)) {
                    uint _expirationBlocks = self.settings.expirationBlocks;
                    if (
                        _expirationBlocks > 0
                            && block.number > _hatchingBlock + _expirationBlocks
                    ) {
                        return WittyCreatureStatus.Frozen;
                    } else {
                        return WittyCreatureStatus.Hatching;
                    }
                } else {
                    return WittyCreatureStatus.Randomizing;
                }
            } else {
                return WittyCreatureStatus.Incubating;
            }
        }
    }

    /// Reduces string into bytes32.
    function toBytes32(string memory _string)
        internal pure
        returns (bytes32 _result)
    {
        if (bytes(_string).length == 0) {
            return 0x0;
        } else {
            assembly {
                _result := mload(add(_string, 32))
            }
        }
    }

    /// Converts bytes32 into hex string.
    function toHexString(bytes32 _bytes32)
        internal pure
        returns (string memory)
    {
        if (_bytes32 == 0) {
            return "0";
        } else {
            bytes32 _temp = _bytes32;
            uint _length;
            while (_temp != 0) {
                _length ++;
                _temp = _temp >> 4;
            }
            bytes memory _bstr = new bytes(_length);
            uint _k = _length;
            while (_bytes32 != 0) {
                uint _char = uint(_bytes32) & 0xf;
                _bstr[-- _k] = (_char > 9
                    ? bytes1(uint8(87 + _char)) // lower-case letters
                    : bytes1(uint8(48 + _char)) // decimal digits
                );
                _bytes32 = _bytes32 >> 4;
            }
            return string(_bstr);
        }
    }

    /// Converts bytes32 into string.
    function toString(bytes32 _bytes32)
        internal pure
        returns (string memory)
    {
        bytes memory _bytes = new bytes(length(_bytes32));
        for (uint _i = 0; _i < _bytes.length; _i ++) {
            _bytes[_i] = _bytes32[_i];
        }
        return string(_bytes);
    }

    /// Translate rarity index into a literal string.
    function toString(WittyCreatureRarity _rarity)
        internal pure
        returns (string memory)
    {
        if (_rarity == WittyCreatureRarity.Legendary) {
            return "Legendary";
        } else if (_rarity == WittyCreatureRarity.Rare) {
            return "Rare";
        } else {
            return "Common";
        }
    }

    /// Returns contract status string.
    function toString(Status _status)
        internal pure
        returns (string memory)
    {
        if (_status == Status.Batching) {
            return "Batching";
        } else if (_status == Status.Randomizing) {
            return "Randomizing";
        } else if (_status == Status.Hatching) {
            return "Hatching";
        } else {
            return "Frozen";
        }
    }
    
    /// Returns token status string.
    function toString(WittyCreatureStatus _status)
        internal pure
        returns (string memory)
    {
        if (_status == WittyCreatureStatus.Incubating) {
            return "Incubating";
        } else if (_status == WittyCreatureStatus.Randomizing) {
            return "Randomizing";
        } else if (_status == WittyCreatureStatus.Hatching) {
            return "Hatching";
        } else if (_status == WittyCreatureStatus.Minted) {
            return "Minted";
        } else if (_status == WittyCreatureStatus.Frozen) {
            return "Frozen";
        } else {
            return "Void";
        }
    }

    /// Returns index of Most Significant Bit of given number, applying De Bruijn O(1) algorithm.
    function _msbDeBruijn32(uint32 _v)
        private pure
        returns (uint8)
    {
        uint8[32] memory _bitPosition = [
                0, 9, 1, 10, 13, 21, 2, 29, 11, 14, 16, 18, 22, 25, 3, 30,
                8, 12, 20, 28, 15, 17, 24, 7, 19, 27, 23, 6, 26, 5, 4, 31
            ];
        _v |= _v >> 1;
        _v |= _v >> 2;
        _v |= _v >> 4;
        _v |= _v >> 8;
        _v |= _v >> 16;
        return _bitPosition[
            uint32(_v * uint256(0x07c4acdd)) >> 27
        ];
    }
}

File 24 of 24: Witnet.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.7.0 <0.9.0;
pragma experimental ABIEncoderV2;

import "./IWitnetRequest.sol";

library Witnet {

    /// @notice Witnet function that computes the hash of a CBOR-encoded Data Request.
    /// @param _bytecode CBOR-encoded RADON.
    function hash(bytes memory _bytecode) internal pure returns (bytes32) {
        return sha256(_bytecode);
    }

    /// Struct containing both request and response data related to every query posted to the Witnet Request Board
    struct Query {
        Request request;
        Response response;
        address from;      // Address from which the request was posted.
    }

    /// Possible status of a Witnet query.
    enum QueryStatus {
        Unknown,
        Posted,
        Reported,
        Deleted
    }

    /// Data kept in EVM-storage for every Request posted to the Witnet Request Board.
    struct Request {
        IWitnetRequest addr;    // The contract containing the Data Request which execution has been requested.
        address requester;      // Address from which the request was posted.
        bytes32 hash;           // Hash of the Data Request whose execution has been requested.
        uint256 gasprice;       // Minimum gas price the DR resolver should pay on the solving tx.
        uint256 reward;         // Escrowed reward to be paid to the DR resolver.
    }

    /// Data kept in EVM-storage containing Witnet-provided response metadata and result.
    struct Response {
        address reporter;       // Address from which the result was reported.
        uint256 timestamp;      // Timestamp of the Witnet-provided result.
        bytes32 drTxHash;       // Hash of the Witnet transaction that solved the queried Data Request.
        bytes   cborBytes;      // Witnet-provided result CBOR-bytes to the queried Data Request.
    }

    /// Data struct containing the Witnet-provided result to a Data Request.
    struct Result {
        bool success;           // Flag stating whether the request could get solved successfully, or not.
        CBOR value;             // Resulting value, in CBOR-serialized bytes.
    }

    /// Data struct following the RFC-7049 standard: Concise Binary Object Representation.
    struct CBOR {
        Buffer buffer;
        uint8 initialByte;
        uint8 majorType;
        uint8 additionalInformation;
        uint64 len;
        uint64 tag;
    }

    /// Iterable bytes buffer.
    struct Buffer {
        bytes data;
        uint32 cursor;
    }

    /// Witnet error codes table.
    enum ErrorCodes {
        // 0x00: Unknown error. Something went really bad!
        Unknown,
        // Script format errors
        /// 0x01: At least one of the source scripts is not a valid CBOR-encoded value.
        SourceScriptNotCBOR,
        /// 0x02: The CBOR value decoded from a source script is not an Array.
        SourceScriptNotArray,
        /// 0x03: The Array value decoded form a source script is not a valid Data Request.
        SourceScriptNotRADON,
        /// Unallocated
        ScriptFormat0x04,
        ScriptFormat0x05,
        ScriptFormat0x06,
        ScriptFormat0x07,
        ScriptFormat0x08,
        ScriptFormat0x09,
        ScriptFormat0x0A,
        ScriptFormat0x0B,
        ScriptFormat0x0C,
        ScriptFormat0x0D,
        ScriptFormat0x0E,
        ScriptFormat0x0F,
        // Complexity errors
        /// 0x10: The request contains too many sources.
        RequestTooManySources,
        /// 0x11: The script contains too many calls.
        ScriptTooManyCalls,
        /// Unallocated
        Complexity0x12,
        Complexity0x13,
        Complexity0x14,
        Complexity0x15,
        Complexity0x16,
        Complexity0x17,
        Complexity0x18,
        Complexity0x19,
        Complexity0x1A,
        Complexity0x1B,
        Complexity0x1C,
        Complexity0x1D,
        Complexity0x1E,
        Complexity0x1F,
        // Operator errors
        /// 0x20: The operator does not exist.
        UnsupportedOperator,
        /// Unallocated
        Operator0x21,
        Operator0x22,
        Operator0x23,
        Operator0x24,
        Operator0x25,
        Operator0x26,
        Operator0x27,
        Operator0x28,
        Operator0x29,
        Operator0x2A,
        Operator0x2B,
        Operator0x2C,
        Operator0x2D,
        Operator0x2E,
        Operator0x2F,
        // Retrieval-specific errors
        /// 0x30: At least one of the sources could not be retrieved, but returned HTTP error.
        HTTP,
        /// 0x31: Retrieval of at least one of the sources timed out.
        RetrievalTimeout,
        /// Unallocated
        Retrieval0x32,
        Retrieval0x33,
        Retrieval0x34,
        Retrieval0x35,
        Retrieval0x36,
        Retrieval0x37,
        Retrieval0x38,
        Retrieval0x39,
        Retrieval0x3A,
        Retrieval0x3B,
        Retrieval0x3C,
        Retrieval0x3D,
        Retrieval0x3E,
        Retrieval0x3F,
        // Math errors
        /// 0x40: Math operator caused an underflow.
        Underflow,
        /// 0x41: Math operator caused an overflow.
        Overflow,
        /// 0x42: Tried to divide by zero.
        DivisionByZero,
        /// Unallocated
        Math0x43,
        Math0x44,
        Math0x45,
        Math0x46,
        Math0x47,
        Math0x48,
        Math0x49,
        Math0x4A,
        Math0x4B,
        Math0x4C,
        Math0x4D,
        Math0x4E,
        Math0x4F,
        // Other errors
        /// 0x50: Received zero reveals
        NoReveals,
        /// 0x51: Insufficient consensus in tally precondition clause
        InsufficientConsensus,
        /// 0x52: Received zero commits
        InsufficientCommits,
        /// 0x53: Generic error during tally execution
        TallyExecution,
        /// Unallocated
        OtherError0x54,
        OtherError0x55,
        OtherError0x56,
        OtherError0x57,
        OtherError0x58,
        OtherError0x59,
        OtherError0x5A,
        OtherError0x5B,
        OtherError0x5C,
        OtherError0x5D,
        OtherError0x5E,
        OtherError0x5F,
        /// 0x60: Invalid reveal serialization (malformed reveals are converted to this value)
        MalformedReveal,
        /// Unallocated
        OtherError0x61,
        OtherError0x62,
        OtherError0x63,
        OtherError0x64,
        OtherError0x65,
        OtherError0x66,
        OtherError0x67,
        OtherError0x68,
        OtherError0x69,
        OtherError0x6A,
        OtherError0x6B,
        OtherError0x6C,
        OtherError0x6D,
        OtherError0x6E,
        OtherError0x6F,
        // Access errors
        /// 0x70: Tried to access a value from an index using an index that is out of bounds
        ArrayIndexOutOfBounds,
        /// 0x71: Tried to access a value from a map using a key that does not exist
        MapKeyNotFound,
        /// Unallocated
        OtherError0x72,
        OtherError0x73,
        OtherError0x74,
        OtherError0x75,
        OtherError0x76,
        OtherError0x77,
        OtherError0x78,
        OtherError0x79,
        OtherError0x7A,
        OtherError0x7B,
        OtherError0x7C,
        OtherError0x7D,
        OtherError0x7E,
        OtherError0x7F,
        OtherError0x80,
        OtherError0x81,
        OtherError0x82,
        OtherError0x83,
        OtherError0x84,
        OtherError0x85,
        OtherError0x86,
        OtherError0x87,
        OtherError0x88,
        OtherError0x89,
        OtherError0x8A,
        OtherError0x8B,
        OtherError0x8C,
        OtherError0x8D,
        OtherError0x8E,
        OtherError0x8F,
        OtherError0x90,
        OtherError0x91,
        OtherError0x92,
        OtherError0x93,
        OtherError0x94,
        OtherError0x95,
        OtherError0x96,
        OtherError0x97,
        OtherError0x98,
        OtherError0x99,
        OtherError0x9A,
        OtherError0x9B,
        OtherError0x9C,
        OtherError0x9D,
        OtherError0x9E,
        OtherError0x9F,
        OtherError0xA0,
        OtherError0xA1,
        OtherError0xA2,
        OtherError0xA3,
        OtherError0xA4,
        OtherError0xA5,
        OtherError0xA6,
        OtherError0xA7,
        OtherError0xA8,
        OtherError0xA9,
        OtherError0xAA,
        OtherError0xAB,
        OtherError0xAC,
        OtherError0xAD,
        OtherError0xAE,
        OtherError0xAF,
        OtherError0xB0,
        OtherError0xB1,
        OtherError0xB2,
        OtherError0xB3,
        OtherError0xB4,
        OtherError0xB5,
        OtherError0xB6,
        OtherError0xB7,
        OtherError0xB8,
        OtherError0xB9,
        OtherError0xBA,
        OtherError0xBB,
        OtherError0xBC,
        OtherError0xBD,
        OtherError0xBE,
        OtherError0xBF,
        OtherError0xC0,
        OtherError0xC1,
        OtherError0xC2,
        OtherError0xC3,
        OtherError0xC4,
        OtherError0xC5,
        OtherError0xC6,
        OtherError0xC7,
        OtherError0xC8,
        OtherError0xC9,
        OtherError0xCA,
        OtherError0xCB,
        OtherError0xCC,
        OtherError0xCD,
        OtherError0xCE,
        OtherError0xCF,
        OtherError0xD0,
        OtherError0xD1,
        OtherError0xD2,
        OtherError0xD3,
        OtherError0xD4,
        OtherError0xD5,
        OtherError0xD6,
        OtherError0xD7,
        OtherError0xD8,
        OtherError0xD9,
        OtherError0xDA,
        OtherError0xDB,
        OtherError0xDC,
        OtherError0xDD,
        OtherError0xDE,
        OtherError0xDF,
        // Bridge errors: errors that only belong in inter-client communication
        /// 0xE0: Requests that cannot be parsed must always get this error as their result.
        /// However, this is not a valid result in a Tally transaction, because invalid requests
        /// are never included into blocks and therefore never get a Tally in response.
        BridgeMalformedRequest,
        /// 0xE1: Witnesses exceeds 100
        BridgePoorIncentives,
        /// 0xE2: The request is rejected on the grounds that it may cause the submitter to spend or stake an
        /// amount of value that is unjustifiably high when compared with the reward they will be getting
        BridgeOversizedResult,
        /// Unallocated
        OtherError0xE3,
        OtherError0xE4,
        OtherError0xE5,
        OtherError0xE6,
        OtherError0xE7,
        OtherError0xE8,
        OtherError0xE9,
        OtherError0xEA,
        OtherError0xEB,
        OtherError0xEC,
        OtherError0xED,
        OtherError0xEE,
        OtherError0xEF,
        OtherError0xF0,
        OtherError0xF1,
        OtherError0xF2,
        OtherError0xF3,
        OtherError0xF4,
        OtherError0xF5,
        OtherError0xF6,
        OtherError0xF7,
        OtherError0xF8,
        OtherError0xF9,
        OtherError0xFA,
        OtherError0xFB,
        OtherError0xFC,
        OtherError0xFD,
        OtherError0xFE,
        // This should not exist:
        /// 0xFF: Some tally error is not intercepted but should
        UnhandledIntercept
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_version","type":"string"},{"internalType":"address","name":"_randomizer","type":"address"},{"internalType":"address","name":"_router","type":"address"},{"internalType":"address","name":"_decorator","type":"address"},{"internalType":"address","name":"_signator","type":"address"},{"internalType":"uint8[]","name":"_percentileMarks","type":"uint8[]"},{"internalType":"uint256","name":"_expirationBlocks","type":"uint256"},{"internalType":"uint256","name":"_totalEggs","type":"uint256"},{"internalType":"string","name":"_usdPriceCaption","type":"string"},{"internalType":"uint256","name":"_mintGasOverhead","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"decorator","type":"address"}],"name":"Decorator","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"gas","type":"uint256"}],"name":"MintGasOverhead","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"expirationBlocks","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalEggs","type":"uint256"},{"indexed":false,"internalType":"uint8[]","name":"percentileMarks","type":"uint8[]"}],"name":"Settings","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"signator","type":"address"}],"name":"Signator","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decorator","outputs":[{"internalType":"contract IWc3Decorator","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getHatchingBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getHatchingRandomness","outputs":[{"internalType":"bytes32","name":"_hatchingRandomness","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintGasOverhead","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSettings","outputs":[{"components":[{"internalType":"uint256","name":"expirationBlocks","type":"uint256"},{"internalType":"uint256","name":"totalEggs","type":"uint256"},{"internalType":"uint8[]","name":"percentileMarks","type":"uint8[]"}],"internalType":"struct Wc3Lib.Settings","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getStatus","outputs":[{"internalType":"enum Wc3Lib.Status","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getStatusString","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getTokenIntrinsics","outputs":[{"components":[{"internalType":"string","name":"eggName","type":"string"},{"internalType":"uint256","name":"eggGlobalRanking","type":"uint256"},{"internalType":"uint256","name":"eggGuildRanking","type":"uint256"},{"internalType":"uint256","name":"eggIndex","type":"uint256"},{"internalType":"enum Wc3Lib.WittyCreatureRarity","name":"eggRarity","type":"uint8"},{"internalType":"uint256","name":"eggScore","type":"uint256"},{"internalType":"uint256","name":"mintBlock","type":"uint256"},{"internalType":"uint256","name":"mintGas","type":"uint256"},{"internalType":"uint256","name":"mintGasPrice","type":"uint256"},{"internalType":"uint256","name":"mintTimestamp","type":"uint256"},{"internalType":"uint256","name":"mintUsdCost6","type":"uint256"},{"internalType":"bytes32","name":"mintUsdPriceWitnetProof","type":"bytes32"}],"internalType":"struct Wc3Lib.WittyCreature","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getTokenRandomTraits","outputs":[{"components":[{"internalType":"uint8","name":"background","type":"uint8"},{"internalType":"uint8","name":"eyes","type":"uint8"},{"internalType":"uint8","name":"head","type":"uint8"},{"internalType":"uint8","name":"mouth","type":"uint8"},{"internalType":"uint8","name":"object","type":"uint8"},{"internalType":"uint8","name":"outfit","type":"uint8"}],"internalType":"struct Wc3Lib.WittyCreatureTraits","name":"_traits","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getTokenStatus","outputs":[{"internalType":"enum Wc3Lib.WittyCreatureStatus","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getTokenStatusString","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"guildId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"metadata","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenOwner","type":"address"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"uint256","name":"_globalRanking","type":"uint256"},{"internalType":"uint256","name":"_guildId","type":"uint256"},{"internalType":"uint256","name":"_guildPlayers","type":"uint256"},{"internalType":"uint256","name":"_guildRanking","type":"uint256"},{"internalType":"uint256","name":"_index","type":"uint256"},{"internalType":"uint256","name":"_score","type":"uint256"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"uint256","name":"_globalRanking","type":"uint256"},{"internalType":"uint256","name":"_guildId","type":"uint256"},{"internalType":"uint256","name":"_guildPlayers","type":"uint256"},{"internalType":"uint256","name":"_guildRanking","type":"uint256"},{"internalType":"uint256","name":"_index","type":"uint256"},{"internalType":"uint256","name":"_score","type":"uint256"}],"name":"preview","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"randomizer","outputs":[{"internalType":"contract IWitnetRandomness","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IWitnetPriceRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IWc3Decorator","name":"_decorator","type":"address"}],"name":"setDecorator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintGasOverhead","type":"uint256"}],"name":"setMintGasOverhead","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_expirationBlocks","type":"uint256"},{"internalType":"uint256","name":"_totalEggs","type":"uint256"},{"internalType":"uint8[]","name":"_percentileMarks","type":"uint8[]"}],"name":"setSettings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_signator","type":"address"}],"name":"setSignator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"signator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startHatching","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"usdPriceAssetId","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"usdPriceCaption","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

6101206040523480156200001257600080fd5b506040516200590738038062005907833981016040819052620000359162000ddb565b6040518060400160405280601781526020017f57697474792043726561747572657320457468434327350000000000000000008152506040518060400160405280600381526020016257433360e81b815250816000908162000098919062000f65565b506001620000a7828262000f65565b505050620000c4620000be620002be60201b60201c565b620002c2565b60016007556001600160a01b038916620000e257620000e262001031565b6001600160a01b038816620000fb57620000fb62001031565b4660c08181525050620001198a6200031460201b620021791760201c565b610100526001600160a01b03808a16608052881660a0526200013b8762000334565b620001468162000499565b6200015384848762000520565b6200015e866200083e565b60a0516001600160a01b031663835262f5836040518263ffffffff1660e01b81526004016200018e919062001047565b602060405180830381865afa158015620001ac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001d291906200107c565b60e081905260a051604051630329931560e61b815260048101929092526001600160a01b03169063ca64c54090602401602060405180830381865afa15801562000220573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000246919062001096565b604051806060016040528060258152602001620058a1602591398360405160200162000274929190620010c1565b60405160208183030381529060405290620002ad5760405162461bcd60e51b8152600401620002a4919062001047565b60405180910390fd5b5050505050505050505050620011f5565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600081516000036200032857506000919050565b5060208101515b919050565b6006546001600160a01b031633146200037f5760405162461bcd60e51b81526020600482018190526024820152600080516020620058c68339815191526044820152606401620002a4565b6000806200039f60805160086200093060201b620021981790919060201c565b6003811115620003b357620003b3620010f4565b14620003ca8262000a0960201b620022631760201c565b90620003eb5760405162461bcd60e51b8152600401620002a4919062001047565b506001600160a01b038216620004445760405162461bcd60e51b815260206004820152601660248201527f576333546f6b656e3a206e6f206465636f7261746f72000000000000000000006044820152606401620002a4565b600880546001600160a01b0319166001600160a01b0384169081179091556040519081527feb91e75b1f77f3a89f92cfc9b609aa648e7b12d37afe4bdad7429f0e3ab693a89060200160405180910390a15050565b6006546001600160a01b03163314620004e45760405162461bcd60e51b81526020600482018190526024820152600080516020620058c68339815191526044820152606401620002a4565b600d8190556040518181527fa34face3b6f728090e8703050228800cdd52c286a59c56dfcffa62d84727636c906020015b60405180910390a150565b6006546001600160a01b031633146200056b5760405162461bcd60e51b81526020600482018190526024820152600080516020620058c68339815191526044820152606401620002a4565b6000806200058b60805160086200093060201b620021981790919060201c565b60038111156200059f576200059f620010f4565b14620005b68262000a0960201b620022631760201c565b90620005d75760405162461bcd60e51b8152600401620002a4919062001047565b50600083116200062a5760405162461bcd60e51b815260206004820152601360248201527f576333546f6b656e3a207a65726f2065676773000000000000000000000000006044820152606401620002a4565b620006386002600162001120565b60ff168251146200068c5760405162461bcd60e51b815260206004820152601e60248201527f576333546f6b656e3a206261642070657263656e74696c65206d61726b7300006044820152606401620002a4565b600a849055600b83905581516001600160401b03811115620006b257620006b262000c3a565b604051908082528060200260200182016040528015620006dc578160200160208202803683370190505b508051620006f391600c9160209091019062000b76565b506000805b83518160ff1610156200079a576000848260ff16815181106200071f576200071f62001148565b602002602001015190508060086002016002018360ff168154811062000749576200074962001148565b90600052602060002090602091828204019190066101000a81548160ff021916908360ff160217905550808362000781919062001120565b925050808062000791906200115e565b915050620006f8565b508060ff16606414620007fa5760405162461bcd60e51b815260206004820152602160248201527f576333546f6b656e3a206261642070657263656e74696c6520636865636b73756044820152606d60f81b6064820152608401620002a4565b7f97e4bb3c9cf360cc5e716debf2ff635d83bd85c8bde6c7624a5c193a39be26458585856040516200082f9392919062001180565b60405180910390a15050505050565b6006546001600160a01b03163314620008895760405162461bcd60e51b81526020600482018190526024820152600080516020620058c68339815191526044820152606401620002a4565b6001600160a01b038116620008e15760405162461bcd60e51b815260206004820152601560248201527f576333546f6b656e3a206e6f207369676e61746f7200000000000000000000006044820152606401620002a4565b600980546001600160a01b0319166001600160a01b0383169081179091556040519081527f304d9534b8ab3e7b259372f3117f22242e9762b37decb6409405fec84a8158019060200162000515565b60068201546002830154600091908115620009fc576040516326f21bfb60e21b8152600481018390526001600160a01b03851690639bc86fec90602401602060405180830381865afa1580156200098b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620009b1919062001096565b15620009f057600081118015620009d25750620009cf8183620011da565b43115b15620009e45760039250505062000a03565b60029250505062000a03565b60019250505062000a03565b6000925050505b92915050565b6060600382600381111562000a225762000a22620010f4565b0362000a6157505060408051808201909152601c81527f5763334c69623a206e6f7420696e2046726f7a656e2073746174757300000000602082015290565b600082600381111562000a785762000a78620010f4565b0362000ab757505060408051808201909152601e81527f5763334c69623a206e6f7420696e204261746368696e67207374617475730000602082015290565b600182600381111562000ace5762000ace620010f4565b0362000af457604051806060016040528060218152602001620058e66021913992915050565b600282600381111562000b0b5762000b0b620010f4565b0362000b4a57505060408051808201909152601e81527f5763334c69623a206e6f7420696e204861746368696e67207374617475730000602082015290565b505060408051808201909152601081526f15d8ccd31a588e88189859081b5bdbd960821b602082015290565b82805482825590600052602060002090601f0160209004810192821562000c115791602002820160005b8382111562000be057835183826101000a81548160ff021916908360ff160217905550926020019260010160208160000104928301926001030262000ba0565b801562000c0f5782816101000a81549060ff021916905560010160208160000104928301926001030262000be0565b505b5062000c1f92915062000c23565b5090565b5b8082111562000c1f576000815560010162000c24565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171562000c7b5762000c7b62000c3a565b604052919050565b60005b8381101562000ca057818101518382015260200162000c86565b8381111562000cb0576000848401525b50505050565b600082601f83011262000cc857600080fd5b81516001600160401b0381111562000ce45762000ce462000c3a565b62000cf9601f8201601f191660200162000c50565b81815284602083860101111562000d0f57600080fd5b62000d2282602083016020870162000c83565b949350505050565b80516001600160a01b03811681146200032f57600080fd5b600082601f83011262000d5457600080fd5b815160206001600160401b0382111562000d725762000d7262000c3a565b8160051b62000d8382820162000c50565b928352848101820192828101908785111562000d9e57600080fd5b83870192505b8483101562000dd057825160ff8116811462000dc05760008081fd5b8252918301919083019062000da4565b979650505050505050565b6000806000806000806000806000806101408b8d03121562000dfc57600080fd5b8a516001600160401b038082111562000e1457600080fd5b62000e228e838f0162000cb6565b9b5062000e3260208e0162000d2a565b9a5062000e4260408e0162000d2a565b995062000e5260608e0162000d2a565b985062000e6260808e0162000d2a565b975060a08d015191508082111562000e7957600080fd5b62000e878e838f0162000d42565b965060c08d0151955060e08d015194506101008d015191508082111562000ead57600080fd5b5062000ebc8d828e0162000cb6565b9250506101208b015190509295989b9194979a5092959850565b600181811c9082168062000eeb57607f821691505b60208210810362000f0c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000f6057600081815260208120601f850160051c8101602086101562000f3b5750805b601f850160051c820191505b8181101562000f5c5782815560010162000f47565b5050505b505050565b81516001600160401b0381111562000f815762000f8162000c3a565b62000f998162000f92845462000ed6565b8462000f12565b602080601f83116001811462000fd1576000841562000fb85750858301515b600019600386901b1c1916600185901b17855562000f5c565b600085815260208120601f198616915b82811015620010025788860151825594840194600190910190840162000fe1565b5085821015620010215787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052600160045260246000fd5b60208152600082518060208401526200106881604085016020870162000c83565b601f01601f19169190910160400192915050565b6000602082840312156200108f57600080fd5b5051919050565b600060208284031215620010a957600080fd5b81518015158114620010ba57600080fd5b9392505050565b60008351620010d581846020880162000c83565b835190830190620010eb81836020880162000c83565b01949350505050565b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060ff821660ff84168060ff038211156200114057620011406200110a565b019392505050565b634e487b7160e01b600052603260045260246000fd5b600060ff821660ff81036200117757620011776200110a565b60010192915050565b6000606082018583526020858185015260606040850152818551808452608086019150828701935060005b81811015620011cc57845160ff1683529383019391830191600101620011ab565b509098975050505050505050565b60008219821115620011f057620011f06200110a565b500190565b60805160a05160c05160e051610100516145f7620012aa6000396000610e7b01526000818161073001528181610eae015261268f01526000818161065c01526123c101526000818161084d01528181610ed701526126c40152600081816107f9015281816109bf01528181610e4b015281816112d2015281816113ed015281816115dc0152818161171301528181611860015281816118e501528181611b5101528181611cd60152611e1201526145f76000f3fe60806040526004361061026b5760003560e01c80637b07126e11610144578063c54d841b116100b6578063e3684e391161007a578063e3684e3914610787578063e6f1caeb146107a7578063e985e9c5146107c7578063f10fb584146107e7578063f2fde38b1461081b578063f887ea401461083b57600080fd5b8063c54d841b146106de578063c87b56dd146106fe578063c9320e4d1461071e578063d782549714610752578063d9be41451461076757600080fd5b80638f07c2b4116101085780638f07c2b41461060857806395d89b4114610635578063990db1fc1461064a578063a22cb4651461067e578063a5ef8a1d1461069e578063b88d4fde146106be57600080fd5b80637b07126e146105235780637b5190db146105385780637d185861146105b357806385b4bb53146105c85780638da5cb5b146105ea57600080fd5b80634e69d560116101dd5780636c0360eb116101a15780636c0360eb1461048f57806370a08231146104a4578063715018a6146104c4578063739e624e146104d957806375fab7b11461050657806376e933e41461051b57600080fd5b80634e69d5601461040357806354fd4d50146104255780635ec8f2c41461043a5780636352211e1461044f57806367dd86301461046f57600080fd5b8063109b70921161022f578063109b70921461034857806318160ddd146103685780632065ce0b1461038757806323b872dd146103a557806342842e0e146103c55780634de2f2cd146103e557600080fd5b806301ffc9a71461027757806306fdde03146102ac57806307989488146102ce578063081812fc146102f0578063095ea7b31461032857600080fd5b3661027257005b600080fd5b34801561028357600080fd5b506102976102923660046137a2565b61086f565b60405190151581526020015b60405180910390f35b3480156102b857600080fd5b506102c16108c1565b6040516102a39190613817565b3480156102da57600080fd5b506102ee6102e9366004613887565b610953565b005b3480156102fc57600080fd5b5061031061030b36600461394b565b610be6565b6040516001600160a01b0390911681526020016102a3565b34801561033457600080fd5b506102ee610343366004613964565b610c7b565b34801561035457600080fd5b506102ee61036336600461394b565b610d90565b34801561037457600080fd5b50600f545b6040519081526020016102a3565b34801561039357600080fd5b506008546001600160a01b0316610310565b3480156103b157600080fd5b506102ee6103c0366004613990565b610df6565b3480156103d157600080fd5b506102ee6103e0366004613990565b610e27565b3480156103f157600080fd5b506009546001600160a01b0316610310565b34801561040f57600080fd5b50610418610e42565b6040516102a391906139e7565b34801561043157600080fd5b506102c1610e74565b34801561044657600080fd5b506102c1610e9f565b34801561045b57600080fd5b5061031061046a36600461394b565b610f4e565b34801561047b57600080fd5b506102c161048a36600461394b565b610fc5565b34801561049b57600080fd5b506102c1610fe9565b3480156104b057600080fd5b506103796104bf366004613a01565b61103a565b3480156104d057600080fd5b506102ee6110c1565b3480156104e557600080fd5b506104f96104f436600461394b565b6110f7565b6040516102a39190613ace565b34801561051257600080fd5b50600d54610379565b6102ee611247565b34801561052f57600080fd5b506102c16114bf565b34801561054457600080fd5b5061055861055336600461394b565b6114e2565b6040516102a39190600060c08201905060ff8084511683528060208501511660208401528060408501511660408401528060608501511660608401528060808501511660808401528060a08501511660a08401525092915050565b3480156105bf57600080fd5b506103796115bf565b3480156105d457600080fd5b506105dd611654565b6040516102a39190613b1f565b3480156105f657600080fd5b506006546001600160a01b0316610310565b34801561061457600080fd5b5061062861062336600461394b565b61170a565b6040516102a39190613b4e565b34801561064157600080fd5b506102c1611738565b34801561065657600080fd5b506103797f000000000000000000000000000000000000000000000000000000000000000081565b34801561068a57600080fd5b506102ee610699366004613b70565b611747565b3480156106aa57600080fd5b506102ee6106b9366004613a01565b611756565b3480156106ca57600080fd5b506102ee6106d9366004613c54565b61181c565b3480156106ea57600080fd5b506102c16106f9366004613cd3565b611854565b34801561070a57600080fd5b506102c161071936600461394b565b611a73565b34801561072a57600080fd5b506103797f000000000000000000000000000000000000000000000000000000000000000081565b34801561075e57600080fd5b50600e54610379565b34801561077357600080fd5b506102ee610782366004613a01565b611b1d565b34801561079357600080fd5b506102c16107a236600461394b565b611c53565b3480156107b357600080fd5b506102ee6107c2366004613d63565b611dde565b3480156107d357600080fd5b506102976107e2366004613e29565b6120b0565b3480156107f357600080fd5b506103107f000000000000000000000000000000000000000000000000000000000000000081565b34801561082757600080fd5b506102ee610836366004613a01565b6120de565b34801561084757600080fd5b506103107f000000000000000000000000000000000000000000000000000000000000000081565b60006001600160e01b031982166380ac58cd60e01b14806108a057506001600160e01b03198216635b5e139f60e01b145b806108bb57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546108d090613e57565b80601f01602080910402602001604051908101604052809291908181526020018280546108fc90613e57565b80156109495780601f1061091e57610100808354040283529160200191610949565b820191906000526020600020905b81548152906001019060200180831161092c57829003601f168201915b5050505050905090565b8460005a90506002600754036109b05760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b60026007819055806109e360087f0000000000000000000000000000000000000000000000000000000000000000612198565b60038111156109f4576109f46139d1565b146109fe82612263565b90610a1c5760405162461bcd60e51b81526004016109a79190613817565b50610a288a8a8a6123bf565b610ab38e8e8e8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050508d8d8d8d8d8d8d8d8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061254492505050565b600088815260106020526040902060090154889015610b145760405162461bcd60e51b815260206004820152601860248201527f576333546f6b656e3a20616c7265616479206d696e746564000000000000000060448201526064016109a7565b610b238e8e8e8d8d8d8d6125f8565b610b2d8f82612666565b600f8054906000610b3d83613ea1565b90915550506001600755505060008281526010602052604081209080610b61612680565b4360068601553a6008860155426009860155600b8501819055909250905060005a600d54610b90908790613eba565b610b9a9190613ed2565b600785018190559050670de0b6b3a764000081610bb73a86613ee9565b610bc19190613ee9565b610bcb9190613f1e565b84600a01819055505050505050505050505050505050505050565b6000818152600260205260408120546001600160a01b0316610c5f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016109a7565b506000908152600460205260409020546001600160a01b031690565b6000610c8682610f4e565b9050806001600160a01b0316836001600160a01b031603610cf35760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016109a7565b336001600160a01b0382161480610d0f5750610d0f81336120b0565b610d815760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016109a7565b610d8b83836127b0565b505050565b6006546001600160a01b03163314610dba5760405162461bcd60e51b81526004016109a790613f32565b600d8190556040518181527fa34face3b6f728090e8703050228800cdd52c286a59c56dfcffa62d84727636c906020015b60405180910390a150565b610e00338261281e565b610e1c5760405162461bcd60e51b81526004016109a790613f67565b610d8b8383836128f5565b610d8b8383836040518060200160405280600081525061181c565b6000610e6f60087f0000000000000000000000000000000000000000000000000000000000000000612198565b905090565b6060610e6f7f0000000000000000000000000000000000000000000000000000000000000000612a91565b604051632674ca8160e21b81527f000000000000000000000000000000000000000000000000000000000000000060048201526060907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906399d32a0490602401600060405180830381865afa158015610f26573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e6f9190810190613fb8565b6000818152600260205260408120546001600160a01b0316806108bb5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016109a7565b60606108bb610fd38361170a565b6005811115610fe457610fe46139d1565b612b46565b6060610ffd6008546001600160a01b031690565b6001600160a01b0316636c0360eb6040518163ffffffff1660e01b8152600401600060405180830381865afa158015610f26573d6000803e3d6000fd5b60006001600160a01b0382166110a55760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016109a7565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146110eb5760405162461bcd60e51b81526004016109a790613f32565b6110f56000612c9a565b565b6110ff61365c565b600082815260106020526040908190208151610180810190925280548290829061112890613e57565b80601f016020809104026020016040519081016040528092919081815260200182805461115490613e57565b80156111a15780601f10611176576101008083540402835291602001916111a1565b820191906000526020600020905b81548152906001019060200180831161118457829003601f168201915b505050918352505060018201546020820152600280830154604083015260038301546060830152600483015460809092019160ff16908111156111e6576111e66139d1565b60028111156111f7576111f76139d1565b815260058201546020820152600682015460408201526007820154606082015260088201546080820152600982015460a0820152600a82015460c0820152600b9091015460e09091015292915050565b6002600754036112995760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016109a7565b60026007556006546001600160a01b031633146112c85760405162461bcd60e51b81526004016109a790613f32565b6000806112f660087f0000000000000000000000000000000000000000000000000000000000000000612198565b6003811115611307576113076139d1565b1461131182612263565b9061132f5760405162461bcd60e51b81526004016109a79190613817565b506008546001600160a01b03166001600160a01b031663d1caa6e66040518163ffffffff1660e01b8152600401602060405180830381865afa158015611379573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061139d919061402e565b6113e95760405162461bcd60e51b815260206004820152601c60248201527f576333546f6b656e3a20756e666f72676564206465636f7261746f720000000060448201526064016109a7565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663699b328a346040518263ffffffff1660e01b815260040160206040518083038185885af115801561144b573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611470919061404b565b43600e559050348110156114b657336108fc61148c8334613ed2565b6040518115909202916000818181858888f193505050501580156114b4573d6000803e3d6000fd5b505b50506001600755565b6060610e6f6114cc610e42565b60038111156114dd576114dd6139d1565b612cec565b6040805160c081018252600080825260208201819052918101829052606081018290526080810182905260a081018290529061151c6115bf565b905080156115b9576008546001600160a01b03166000848152601060205260409081902060030154905163fbb6239f60e01b81526004810184905260248101919091526001600160a01b03919091169063fbb6239f9060440160c060405180830381865afa158015611592573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115b69190614064565b91505b50919050565b600e5460405163fb476cad60e01b81526000916001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163fb476cad916116139160040190815260200190565b602060405180830381865afa158015611630573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e6f919061404b565b61167860405180606001604052806000815260200160008152602001606081525090565b60408051606081018252600a80548252600b54602080840191909152600c805485518184028101840187528181529495939493860193928301828280156116fc57602002820191906000526020600020906000905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116116cd5790505b505050505081525050905090565b60006108bb60087f000000000000000000000000000000000000000000000000000000000000000084612dca565b6060600180546108d090613e57565b611752338383613012565b5050565b6006546001600160a01b031633146117805760405162461bcd60e51b81526004016109a790613f32565b6001600160a01b0381166117ce5760405162461bcd60e51b81526020600482015260156024820152742bb199aa37b5b2b71d1037379039b4b3b730ba37b960591b60448201526064016109a7565b600980546001600160a01b0319166001600160a01b0383169081179091556040519081527f304d9534b8ab3e7b259372f3117f22242e9762b37decb6409405fec84a81580190602001610deb565b611826338361281e565b6118425760405162461bcd60e51b81526004016109a790613f67565b61184e848484846130e0565b50505050565b606060028061188460087f0000000000000000000000000000000000000000000000000000000000000000612198565b6003811115611895576118956139d1565b1461189f82612263565b906118bd5760405162461bcd60e51b81526004016109a79190613817565b506118c98787876123bf565b6008546001600160a01b03166001600160a01b0316632c04565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663fb476cad6008600601546040518263ffffffff1660e01b815260040161193691815260200190565b602060405180830381865afa158015611953573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611977919061404b565b6040518061018001604052808d81526020018c81526020018981526020018881526020016119be8b8b60646119ac9190613ee9565b6119b69190613f1e565b600890613113565b60028111156119cf576119cf6139d1565b815260200187815260200160008152602001600081526020016000815260200160008152602001600081526020016000801b8152506040518363ffffffff1660e01b8152600401611a2192919061410e565b600060405180830381865afa158015611a3e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a669190810190613fb8565b9998505050505050505050565b606081611a97816000908152600260205260409020546001600160a01b0316151590565b611ada5760405162461bcd60e51b81526020600482015260146024820152732bb199aa37b5b2b71d103b37b4b2103a37b5b2b760611b60448201526064016109a7565b611ae2610fe9565b611aeb466131b9565b611af4856131b9565b604051602001611b0693929190614127565b604051602081830303815290604052915050919050565b6006546001600160a01b03163314611b475760405162461bcd60e51b81526004016109a790613f32565b600080611b7560087f0000000000000000000000000000000000000000000000000000000000000000612198565b6003811115611b8657611b866139d1565b14611b9082612263565b90611bae5760405162461bcd60e51b81526004016109a79190613817565b506001600160a01b038216611bfe5760405162461bcd60e51b81526020600482015260166024820152752bb199aa37b5b2b71d103737903232b1b7b930ba37b960511b60448201526064016109a7565b600880546001600160a01b0319166001600160a01b0384169081179091556040519081527feb91e75b1f77f3a89f92cfc9b609aa648e7b12d37afe4bdad7429f0e3ab693a89060200160405180910390a15050565b606081611c77816000908152600260205260409020546001600160a01b0316151590565b611cba5760405162461bcd60e51b81526020600482015260146024820152732bb199aa37b5b2b71d103b37b4b2103a37b5b2b760611b60448201526064016109a7565b6008546001600160a01b03166001600160a01b0316632c04565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663fb476cad6008600601546040518263ffffffff1660e01b8152600401611d2791815260200190565b602060405180830381865afa158015611d44573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d68919061404b565b6000868152601060205260409081902090516001600160e01b031960e085901b168152611d9992919060040161420b565b600060405180830381865afa158015611db6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115b69190810190613fb8565b6006546001600160a01b03163314611e085760405162461bcd60e51b81526004016109a790613f32565b600080611e3660087f0000000000000000000000000000000000000000000000000000000000000000612198565b6003811115611e4757611e476139d1565b14611e5182612263565b90611e6f5760405162461bcd60e51b81526004016109a79190613817565b5060008311611eb65760405162461bcd60e51b8152602060048201526013602482015272576333546f6b656e3a207a65726f206567677360681b60448201526064016109a7565b611ec2600260016142b8565b60ff16825114611f145760405162461bcd60e51b815260206004820152601e60248201527f576333546f6b656e3a206261642070657263656e74696c65206d61726b73000060448201526064016109a7565b600a849055600b83905581516001600160401b03811115611f3757611f37613ba9565b604051908082528060200260200182016040528015611f60578160200160208202803683370190505b508051611f7591600c916020909101906136d1565b506000805b83518160ff161015612010576000848260ff1681518110611f9d57611f9d6142dd565b602002602001015190508060086002016002018360ff1681548110611fc457611fc46142dd565b90600052602060002090602091828204019190066101000a81548160ff021916908360ff1602179055508083611ffa91906142b8565b9250508080612008906142f3565b915050611f7a565b508060ff1660641461206e5760405162461bcd60e51b815260206004820152602160248201527f576333546f6b656e3a206261642070657263656e74696c6520636865636b73756044820152606d60f81b60648201526084016109a7565b7f97e4bb3c9cf360cc5e716debf2ff635d83bd85c8bde6c7624a5c193a39be26458585856040516120a193929190614312565b60405180910390a15050505050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6006546001600160a01b031633146121085760405162461bcd60e51b81526004016109a790613f32565b6001600160a01b03811661216d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109a7565b61217681612c9a565b50565b6000815160000361218c57506000919050565b5060208101515b919050565b60068201546002830154600091908115612258576040516326f21bfb60e21b8152600481018390526001600160a01b03851690639bc86fec90602401602060405180830381865afa1580156121f1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612215919061402e565b1561224d57600081118015612232575061222f8183613eba565b43115b15612242576003925050506108bb565b6002925050506108bb565b6001925050506108bb565b6000925050506108bb565b60606003826003811115612279576122796139d1565b036122b757505060408051808201909152601c81527f5763334c69623a206e6f7420696e2046726f7a656e2073746174757300000000602082015290565b60008260038111156122cb576122cb6139d1565b0361230957505060408051808201909152601e81527f5763334c69623a206e6f7420696e204261746368696e67207374617475730000602082015290565b600182600381111561231d5761231d6139d1565b03612341576040518060600160405280602181526020016145a16021913992915050565b6002826003811115612355576123556139d1565b0361239357505060408051808201909152601e81527f5763334c69623a206e6f7420696e204861746368696e67207374617475730000602082015290565b505060408051808201909152601081526f15d8ccd31a588e88189859081b5bdbd960821b602082015290565b7f000000000000000000000000000000000000000000000000000000000000000083146124245760405162461bcd60e51b815260206004820152601360248201527215d8ccd51bdad95b8e881898590819dd5a5b19606a1b60448201526064016109a7565b6000821161246b5760405162461bcd60e51b8152602060048201526014602482015273576333546f6b656e3a206e6f20706c617965727360601b60448201526064016109a7565b600b548211156124b55760405162461bcd60e51b8152602060048201526015602482015274576333546f6b656e3a2062616420706c617965727360581b60448201526064016109a7565b600081116124fc5760405162461bcd60e51b8152602060048201526014602482015273576333546f6b656e3a206e6f2072616e6b696e6760601b60448201526064016109a7565b81811115610d8b5760405162461bcd60e51b8152602060048201526015602482015274576333546f6b656e3a206261642072616e6b696e6760581b60448201526064016109a7565b60008989898989898989604051602001612565989796959493929190614331565b60408051601f1981840301815291905280516020909101206009549091506001600160a01b031661259682846132b9565b6001600160a01b0316146125ec5760405162461bcd60e51b815260206004820152601760248201527f576333546f6b656e3a20626164207369676e617475726500000000000000000060448201526064016109a7565b50505050505050505050565b600083815260106020526040902080612612888a836143d7565b50600181018690556002810184905560038101839055612637856119ac866064613ee9565b60048201805460ff19166001836002811115612655576126556139d1565b021790555060050155505050505050565b6117528282604051806020016040528060008152506133a3565b6040516346056fb160e11b81527f00000000000000000000000000000000000000000000000000000000000000006004820152600090819081906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690638c0adf6290602401602060405180830381865afa15801561270b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061272f9190614497565b90506001600160a01b038116156127ab57806001600160a01b031663431838346040518163ffffffff1660e01b8152600401608060405180830381865afa15801561277e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127a291906144b4565b50919450909250505b509091565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906127e582610f4e565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166128975760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016109a7565b60006128a283610f4e565b9050806001600160a01b0316846001600160a01b031614806128c957506128c981856120b0565b806128ed5750836001600160a01b03166128e284610be6565b6001600160a01b0316145b949350505050565b826001600160a01b031661290882610f4e565b6001600160a01b03161461296c5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016109a7565b6001600160a01b0382166129ce5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016109a7565b6129d96000826127b0565b6001600160a01b0383166000908152600360205260408120805460019290612a02908490613ed2565b90915550506001600160a01b0382166000908152600360205260408120805460019290612a30908490613eba565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60606000612a9e836133d6565b6001600160401b03811115612ab557612ab5613ba9565b6040519080825280601f01601f191660200182016040528015612adf576020820181803683370190505b50905060005b8151811015612b3f57838160208110612b0057612b006142dd565b1a60f81b828281518110612b1657612b166142dd565b60200101906001600160f81b031916908160001a90535080612b3781613ea1565b915050612ae5565b5092915050565b60606001826005811115612b5c57612b5c6139d1565b03612b8757505060408051808201909152600a815269496e6375626174696e6760b01b602082015290565b6002826005811115612b9b57612b9b6139d1565b03612bc757505060408051808201909152600b81526a52616e646f6d697a696e6760a81b602082015290565b6003826005811115612bdb57612bdb6139d1565b03612c045750506040805180820190915260088152674861746368696e6760c01b602082015290565b6004826005811115612c1857612c186139d1565b03612c3f575050604080518082019091526006815265135a5b9d195960d21b602082015290565b6005826005811115612c5357612c536139d1565b03612c7a575050604080518082019091526006815265233937bd32b760d11b602082015290565b5050604080518082019091526004815263159bda5960e21b602082015290565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60606000826003811115612d0257612d026139d1565b03612d2b5750506040805180820190915260088152674261746368696e6760c01b602082015290565b6001826003811115612d3f57612d3f6139d1565b03612d6b57505060408051808201909152600b81526a52616e646f6d697a696e6760a81b602082015290565b6002826003811115612d7f57612d7f6139d1565b03612da85750506040805180820190915260088152674861746368696e6760c01b602082015290565b5050604080518082019091526006815265233937bd32b760d11b602082015290565b60008181526008840160205260408082208151610180810190925280548392919082908290612df890613e57565b80601f0160208091040260200160405190810160405280929190818152602001828054612e2490613e57565b8015612e715780601f10612e4657610100808354040283529160200191612e71565b820191906000526020600020905b815481529060010190602001808311612e5457829003601f168201915b505050918352505060018201546020820152600280830154604083015260038301546060830152600483015460809092019160ff1690811115612eb657612eb66139d1565b6002811115612ec757612ec76139d1565b815260058201546020820152600682015460408201526007820154606082015260088201546080820152600982015460a0820152600a82015460c0820152600b9091015460e0909101529050821580612f235750600385015483115b15612f3257600091505061300b565b61012081015115612f4757600491505061300b565b60068501548015613004576040516326f21bfb60e21b8152600481018290526001600160a01b03861690639bc86fec90602401602060405180830381865afa158015612f97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fbb919061402e565b15612ff95760028601548015801590612fdc5750612fd98183613eba565b43115b15612fed576005935050505061300b565b6003935050505061300b565b60029250505061300b565b6001925050505b9392505050565b816001600160a01b0316836001600160a01b0316036130735760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016109a7565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6130eb8484846128f5565b6130f784848484613419565b61184e5760405162461bcd60e51b81526004016109a7906144ea565b6000806000606484111561312657606493505b60048501545b808360ff16101561319a5760048601805460ff8516908110613150576131506142dd565b90600052602060002090602091828204019190069054906101000a900460ff168261317b91906142b8565b91508160ff1685111561319a5782613192816142f3565b93505061312c565b8260ff1660028111156131af576131af6139d1565b9695505050505050565b6060816000036131e05750506040805180820190915260018152600360fc1b602082015290565b8160005b811561320a57806131f481613ea1565b91506132039050600a83613f1e565b91506131e4565b6000816001600160401b0381111561322457613224613ba9565b6040519080825280601f01601f19166020018201604052801561324e576020820181803683370190505b5090505b84156128ed57613263600183613ed2565b9150613270600a8661453c565b61327b906030613eba565b60f81b818381518110613290576132906142dd565b60200101906001600160f81b031916908160001a9053506132b2600a86613f1e565b9450613252565b600081516041146132cc575060006108bb565b60208201516040830151606084015160001a7f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a082111561331257600093505050506108bb565b8060ff16601b1415801561332a57508060ff16601c14155b1561333b57600093505050506108bb565b60408051600081526020810180835288905260ff831691810191909152606081018490526080810183905260019060a0016020604051602081039080840390855afa15801561338e573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b6133ad838361351a565b6133ba6000848484613419565b610d8b5760405162461bcd60e51b81526004016109a7906144ea565b60005b6020811015612193578181602081106133f4576133f46142dd565b1a60f81b6001600160f81b03191615612193578061341181613ea1565b9150506133d9565b60006001600160a01b0384163b1561350f57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061345d903390899088908890600401614550565b6020604051808303816000875af1925050508015613498575060408051601f3d908101601f1916820190925261349591810190614583565b60015b6134f5573d8080156134c6576040519150601f19603f3d011682016040523d82523d6000602084013e6134cb565b606091505b5080516000036134ed5760405162461bcd60e51b81526004016109a7906144ea565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506128ed565b506001949350505050565b6001600160a01b0382166135705760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016109a7565b6000818152600260205260409020546001600160a01b0316156135d55760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016109a7565b6001600160a01b03821660009081526003602052604081208054600192906135fe908490613eba565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6040518061018001604052806060815260200160008152602001600081526020016000815260200160006002811115613697576136976139d1565b8152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600080191681525090565b82805482825590600052602060002090601f016020900481019282156137675791602002820160005b8382111561373857835183826101000a81548160ff021916908360ff16021790555092602001926001016020816000010492830192600103026136fa565b80156137655782816101000a81549060ff0219169055600101602081600001049283019260010302613738565b505b50613773929150613777565b5090565b5b808211156137735760008155600101613778565b6001600160e01b03198116811461217657600080fd5b6000602082840312156137b457600080fd5b813561300b8161378c565b60005b838110156137da5781810151838201526020016137c2565b8381111561184e5750506000910152565b600081518084526138038160208601602086016137bf565b601f01601f19169290920160200192915050565b60208152600061300b60208301846137eb565b6001600160a01b038116811461217657600080fd5b60008083601f84011261385157600080fd5b5081356001600160401b0381111561386857600080fd5b60208301915083602082850101111561388057600080fd5b9250929050565b60008060008060008060008060008060006101208c8e0312156138a957600080fd5b6138b38c3561382a565b8b359a506001600160401b038060208e013511156138d057600080fd5b6138e08e60208f01358f0161383f565b909b50995060408d0135985060608d0135975060808d0135965060a08d0135955060c08d0135945060e08d013593506101008d013581101561392157600080fd5b506139338d6101008e01358e0161383f565b81935080925050509295989b509295989b9093969950565b60006020828403121561395d57600080fd5b5035919050565b6000806040838503121561397757600080fd5b82356139828161382a565b946020939093013593505050565b6000806000606084860312156139a557600080fd5b83356139b08161382a565b925060208401356139c08161382a565b929592945050506040919091013590565b634e487b7160e01b600052602160045260246000fd5b60208101600483106139fb576139fb6139d1565b91905290565b600060208284031215613a1357600080fd5b813561300b8161382a565b60038110613a2e57613a2e6139d1565b9052565b60006101808251818552613a48828601826137eb565b9150506020830151602085015260408301516040850152606083015160608501526080830151613a7b6080860182613a1e565b5060a0838101519085015260c0808401519085015260e080840151908501526101008084015190850152610120808401519085015261014080840151908501526101609283015192909301919091525090565b60208152600061300b6020830184613a32565b600081518084526020808501945080840160005b83811015613b1457815160ff1687529582019590820190600101613af5565b509495945050505050565b602081528151602082015260208201516040820152600060408301516060808401526128ed6080840182613ae1565b60208101600683106139fb576139fb6139d1565b801515811461217657600080fd5b60008060408385031215613b8357600080fd5b8235613b8e8161382a565b91506020830135613b9e81613b62565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715613be757613be7613ba9565b604052919050565b60006001600160401b03821115613c0857613c08613ba9565b50601f01601f191660200190565b6000613c29613c2484613bef565b613bbf565b9050828152838383011115613c3d57600080fd5b828260208301376000602084830101529392505050565b60008060008060808587031215613c6a57600080fd5b8435613c758161382a565b93506020850135613c858161382a565b92506040850135915060608501356001600160401b03811115613ca757600080fd5b8501601f81018713613cb857600080fd5b613cc787823560208401613c16565b91505092959194509250565b600080600080600080600060e0888a031215613cee57600080fd5b87356001600160401b03811115613d0457600080fd5b8801601f81018a13613d1557600080fd5b613d248a823560208401613c16565b9a60208a01359a5060408a013599606081013599506080810135985060a0810135975060c0013595509350505050565b60ff8116811461217657600080fd5b600080600060608486031215613d7857600080fd5b83359250602080850135925060408501356001600160401b0380821115613d9e57600080fd5b818701915087601f830112613db257600080fd5b813581811115613dc457613dc4613ba9565b8060051b9150613dd5848301613bbf565b818152918301840191848101908a841115613def57600080fd5b938501935b83851015613e195784359250613e0983613d54565b8282529385019390850190613df4565b8096505050505050509250925092565b60008060408385031215613e3c57600080fd5b8235613e478161382a565b91506020830135613b9e8161382a565b600181811c90821680613e6b57607f821691505b6020821081036115b957634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201613eb357613eb3613e8b565b5060010190565b60008219821115613ecd57613ecd613e8b565b500190565b600082821015613ee457613ee4613e8b565b500390565b6000816000190483118215151615613f0357613f03613e8b565b500290565b634e487b7160e01b600052601260045260246000fd5b600082613f2d57613f2d613f08565b500490565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600060208284031215613fca57600080fd5b81516001600160401b03811115613fe057600080fd5b8201601f81018413613ff157600080fd5b8051613fff613c2482613bef565b81815285602083850101111561401457600080fd5b6140258260208301602086016137bf565b95945050505050565b60006020828403121561404057600080fd5b815161300b81613b62565b60006020828403121561405d57600080fd5b5051919050565b600060c0828403121561407657600080fd5b60405160c081018181106001600160401b038211171561409857614098613ba9565b60405282516140a681613d54565b815260208301516140b681613d54565b602082015260408301516140c981613d54565b604082015260608301516140dc81613d54565b606082015260808301516140ef81613d54565b608082015260a083015161410281613d54565b60a08201529392505050565b8281526040602082015260006128ed6040830184613a32565b600084516141398184602089016137bf565b686d657461646174612f60b81b908301908152845161415f8160098401602089016137bf565b602f60f81b60099290910191820152835161418181600a8401602088016137bf565b01600a0195945050505050565b6000815461419b81613e57565b8085526020600183811680156141b857600181146141d257614200565b60ff1985168884015283151560051b880183019550614200565b866000528260002060005b858110156141f85781548a82018601529083019084016141dd565b890184019650505b505050505092915050565b82815260406020820152600061018080604084015261422e6101c084018561418e565b6001850154606085015260028501546080850152600385015460a0850152600485015460ff1661426160c0860182613a1e565b50600585015460e08501526006850154610100850152600785015461012085015260088501546101408501526009850154610160850152600a85015482850152600b8501546101a085015280925050509392505050565b600060ff821660ff84168060ff038211156142d5576142d5613e8b565b019392505050565b634e487b7160e01b600052603260045260246000fd5b600060ff821660ff810361430957614309613e8b565b60010192915050565b8381528260208201526060604082015260006140256060830184613ae1565b6001600160a01b0389168152610100602082018190526000906143568382018b6137eb565b604084019990995250506060810195909552608085019390935260a084019190915260c083015260e09091015292915050565b601f821115610d8b57600081815260208120601f850160051c810160208610156143b05750805b601f850160051c820191505b818110156143cf578281556001016143bc565b505050505050565b6001600160401b038311156143ee576143ee613ba9565b614402836143fc8354613e57565b83614389565b6000601f841160018114614436576000851561441e5750838201355b600019600387901b1c1916600186901b178355614490565b600083815260209020601f19861690835b828110156144675786850135825560209485019460019092019101614447565b50868210156144845760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b6000602082840312156144a957600080fd5b815161300b8161382a565b600080600080608085870312156144ca57600080fd5b505082516020840151604085015160609095015191969095509092509050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60008261454b5761454b613f08565b500690565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906131af908301846137eb565b60006020828403121561459557600080fd5b815161300b8161378c56fe5763334c69623a206e6f7420696e2052616e646f6d697a696e6720737461747573a26469706673582212209347b6533420a72a13df2bdf48b1842f934700f04583cfe7e087cb5ed11bdbf064736f6c634300080f0033576333546f6b656e3a20756e737570706f727465642063757272656e637920706169723a204f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725763334c69623a206e6f7420696e2052616e646f6d697a696e67207374617475730000000000000000000000000000000000000000000000000000000000000140000000000000000000000000894907c7ab64c1092620b5c8ba039bb6e611eba800000000000000000000000083a757eae821ad7b520d9a74952337138a80b2af0000000000000000000000003a1e624b1d8830abacface65839baaf7ee84ec7d000000000000000000000000f8a654c0328ba4bae1af69eb5856fc807c8e57310000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004e200000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000010ec80000000000000000000000000000000000000000000000000000000000000005332e332e390000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001e000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000f50726963652d4554482f5553442d360000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061026b5760003560e01c80637b07126e11610144578063c54d841b116100b6578063e3684e391161007a578063e3684e3914610787578063e6f1caeb146107a7578063e985e9c5146107c7578063f10fb584146107e7578063f2fde38b1461081b578063f887ea401461083b57600080fd5b8063c54d841b146106de578063c87b56dd146106fe578063c9320e4d1461071e578063d782549714610752578063d9be41451461076757600080fd5b80638f07c2b4116101085780638f07c2b41461060857806395d89b4114610635578063990db1fc1461064a578063a22cb4651461067e578063a5ef8a1d1461069e578063b88d4fde146106be57600080fd5b80637b07126e146105235780637b5190db146105385780637d185861146105b357806385b4bb53146105c85780638da5cb5b146105ea57600080fd5b80634e69d560116101dd5780636c0360eb116101a15780636c0360eb1461048f57806370a08231146104a4578063715018a6146104c4578063739e624e146104d957806375fab7b11461050657806376e933e41461051b57600080fd5b80634e69d5601461040357806354fd4d50146104255780635ec8f2c41461043a5780636352211e1461044f57806367dd86301461046f57600080fd5b8063109b70921161022f578063109b70921461034857806318160ddd146103685780632065ce0b1461038757806323b872dd146103a557806342842e0e146103c55780634de2f2cd146103e557600080fd5b806301ffc9a71461027757806306fdde03146102ac57806307989488146102ce578063081812fc146102f0578063095ea7b31461032857600080fd5b3661027257005b600080fd5b34801561028357600080fd5b506102976102923660046137a2565b61086f565b60405190151581526020015b60405180910390f35b3480156102b857600080fd5b506102c16108c1565b6040516102a39190613817565b3480156102da57600080fd5b506102ee6102e9366004613887565b610953565b005b3480156102fc57600080fd5b5061031061030b36600461394b565b610be6565b6040516001600160a01b0390911681526020016102a3565b34801561033457600080fd5b506102ee610343366004613964565b610c7b565b34801561035457600080fd5b506102ee61036336600461394b565b610d90565b34801561037457600080fd5b50600f545b6040519081526020016102a3565b34801561039357600080fd5b506008546001600160a01b0316610310565b3480156103b157600080fd5b506102ee6103c0366004613990565b610df6565b3480156103d157600080fd5b506102ee6103e0366004613990565b610e27565b3480156103f157600080fd5b506009546001600160a01b0316610310565b34801561040f57600080fd5b50610418610e42565b6040516102a391906139e7565b34801561043157600080fd5b506102c1610e74565b34801561044657600080fd5b506102c1610e9f565b34801561045b57600080fd5b5061031061046a36600461394b565b610f4e565b34801561047b57600080fd5b506102c161048a36600461394b565b610fc5565b34801561049b57600080fd5b506102c1610fe9565b3480156104b057600080fd5b506103796104bf366004613a01565b61103a565b3480156104d057600080fd5b506102ee6110c1565b3480156104e557600080fd5b506104f96104f436600461394b565b6110f7565b6040516102a39190613ace565b34801561051257600080fd5b50600d54610379565b6102ee611247565b34801561052f57600080fd5b506102c16114bf565b34801561054457600080fd5b5061055861055336600461394b565b6114e2565b6040516102a39190600060c08201905060ff8084511683528060208501511660208401528060408501511660408401528060608501511660608401528060808501511660808401528060a08501511660a08401525092915050565b3480156105bf57600080fd5b506103796115bf565b3480156105d457600080fd5b506105dd611654565b6040516102a39190613b1f565b3480156105f657600080fd5b506006546001600160a01b0316610310565b34801561061457600080fd5b5061062861062336600461394b565b61170a565b6040516102a39190613b4e565b34801561064157600080fd5b506102c1611738565b34801561065657600080fd5b506103797f000000000000000000000000000000000000000000000000000000000000000181565b34801561068a57600080fd5b506102ee610699366004613b70565b611747565b3480156106aa57600080fd5b506102ee6106b9366004613a01565b611756565b3480156106ca57600080fd5b506102ee6106d9366004613c54565b61181c565b3480156106ea57600080fd5b506102c16106f9366004613cd3565b611854565b34801561070a57600080fd5b506102c161071936600461394b565b611a73565b34801561072a57600080fd5b506103797f3d15f7018db5cc80838b684361aaa100bfadf8a11e02d5c1c92e9c6af47626c881565b34801561075e57600080fd5b50600e54610379565b34801561077357600080fd5b506102ee610782366004613a01565b611b1d565b34801561079357600080fd5b506102c16107a236600461394b565b611c53565b3480156107b357600080fd5b506102ee6107c2366004613d63565b611dde565b3480156107d357600080fd5b506102976107e2366004613e29565b6120b0565b3480156107f357600080fd5b506103107f000000000000000000000000894907c7ab64c1092620b5c8ba039bb6e611eba881565b34801561082757600080fd5b506102ee610836366004613a01565b6120de565b34801561084757600080fd5b506103107f00000000000000000000000083a757eae821ad7b520d9a74952337138a80b2af81565b60006001600160e01b031982166380ac58cd60e01b14806108a057506001600160e01b03198216635b5e139f60e01b145b806108bb57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546108d090613e57565b80601f01602080910402602001604051908101604052809291908181526020018280546108fc90613e57565b80156109495780601f1061091e57610100808354040283529160200191610949565b820191906000526020600020905b81548152906001019060200180831161092c57829003601f168201915b5050505050905090565b8460005a90506002600754036109b05760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b60026007819055806109e360087f000000000000000000000000894907c7ab64c1092620b5c8ba039bb6e611eba8612198565b60038111156109f4576109f46139d1565b146109fe82612263565b90610a1c5760405162461bcd60e51b81526004016109a79190613817565b50610a288a8a8a6123bf565b610ab38e8e8e8080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050508d8d8d8d8d8d8d8d8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061254492505050565b600088815260106020526040902060090154889015610b145760405162461bcd60e51b815260206004820152601860248201527f576333546f6b656e3a20616c7265616479206d696e746564000000000000000060448201526064016109a7565b610b238e8e8e8d8d8d8d6125f8565b610b2d8f82612666565b600f8054906000610b3d83613ea1565b90915550506001600755505060008281526010602052604081209080610b61612680565b4360068601553a6008860155426009860155600b8501819055909250905060005a600d54610b90908790613eba565b610b9a9190613ed2565b600785018190559050670de0b6b3a764000081610bb73a86613ee9565b610bc19190613ee9565b610bcb9190613f1e565b84600a01819055505050505050505050505050505050505050565b6000818152600260205260408120546001600160a01b0316610c5f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016109a7565b506000908152600460205260409020546001600160a01b031690565b6000610c8682610f4e565b9050806001600160a01b0316836001600160a01b031603610cf35760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016109a7565b336001600160a01b0382161480610d0f5750610d0f81336120b0565b610d815760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016109a7565b610d8b83836127b0565b505050565b6006546001600160a01b03163314610dba5760405162461bcd60e51b81526004016109a790613f32565b600d8190556040518181527fa34face3b6f728090e8703050228800cdd52c286a59c56dfcffa62d84727636c906020015b60405180910390a150565b610e00338261281e565b610e1c5760405162461bcd60e51b81526004016109a790613f67565b610d8b8383836128f5565b610d8b8383836040518060200160405280600081525061181c565b6000610e6f60087f000000000000000000000000894907c7ab64c1092620b5c8ba039bb6e611eba8612198565b905090565b6060610e6f7f332e332e39000000000000000000000000000000000000000000000000000000612a91565b604051632674ca8160e21b81527f3d15f7018db5cc80838b684361aaa100bfadf8a11e02d5c1c92e9c6af47626c860048201526060907f00000000000000000000000083a757eae821ad7b520d9a74952337138a80b2af6001600160a01b0316906399d32a0490602401600060405180830381865afa158015610f26573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e6f9190810190613fb8565b6000818152600260205260408120546001600160a01b0316806108bb5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016109a7565b60606108bb610fd38361170a565b6005811115610fe457610fe46139d1565b612b46565b6060610ffd6008546001600160a01b031690565b6001600160a01b0316636c0360eb6040518163ffffffff1660e01b8152600401600060405180830381865afa158015610f26573d6000803e3d6000fd5b60006001600160a01b0382166110a55760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016109a7565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146110eb5760405162461bcd60e51b81526004016109a790613f32565b6110f56000612c9a565b565b6110ff61365c565b600082815260106020526040908190208151610180810190925280548290829061112890613e57565b80601f016020809104026020016040519081016040528092919081815260200182805461115490613e57565b80156111a15780601f10611176576101008083540402835291602001916111a1565b820191906000526020600020905b81548152906001019060200180831161118457829003601f168201915b505050918352505060018201546020820152600280830154604083015260038301546060830152600483015460809092019160ff16908111156111e6576111e66139d1565b60028111156111f7576111f76139d1565b815260058201546020820152600682015460408201526007820154606082015260088201546080820152600982015460a0820152600a82015460c0820152600b9091015460e09091015292915050565b6002600754036112995760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016109a7565b60026007556006546001600160a01b031633146112c85760405162461bcd60e51b81526004016109a790613f32565b6000806112f660087f000000000000000000000000894907c7ab64c1092620b5c8ba039bb6e611eba8612198565b6003811115611307576113076139d1565b1461131182612263565b9061132f5760405162461bcd60e51b81526004016109a79190613817565b506008546001600160a01b03166001600160a01b031663d1caa6e66040518163ffffffff1660e01b8152600401602060405180830381865afa158015611379573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061139d919061402e565b6113e95760405162461bcd60e51b815260206004820152601c60248201527f576333546f6b656e3a20756e666f72676564206465636f7261746f720000000060448201526064016109a7565b60007f000000000000000000000000894907c7ab64c1092620b5c8ba039bb6e611eba86001600160a01b031663699b328a346040518263ffffffff1660e01b815260040160206040518083038185885af115801561144b573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611470919061404b565b43600e559050348110156114b657336108fc61148c8334613ed2565b6040518115909202916000818181858888f193505050501580156114b4573d6000803e3d6000fd5b505b50506001600755565b6060610e6f6114cc610e42565b60038111156114dd576114dd6139d1565b612cec565b6040805160c081018252600080825260208201819052918101829052606081018290526080810182905260a081018290529061151c6115bf565b905080156115b9576008546001600160a01b03166000848152601060205260409081902060030154905163fbb6239f60e01b81526004810184905260248101919091526001600160a01b03919091169063fbb6239f9060440160c060405180830381865afa158015611592573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115b69190614064565b91505b50919050565b600e5460405163fb476cad60e01b81526000916001600160a01b037f000000000000000000000000894907c7ab64c1092620b5c8ba039bb6e611eba8169163fb476cad916116139160040190815260200190565b602060405180830381865afa158015611630573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e6f919061404b565b61167860405180606001604052806000815260200160008152602001606081525090565b60408051606081018252600a80548252600b54602080840191909152600c805485518184028101840187528181529495939493860193928301828280156116fc57602002820191906000526020600020906000905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116116cd5790505b505050505081525050905090565b60006108bb60087f000000000000000000000000894907c7ab64c1092620b5c8ba039bb6e611eba884612dca565b6060600180546108d090613e57565b611752338383613012565b5050565b6006546001600160a01b031633146117805760405162461bcd60e51b81526004016109a790613f32565b6001600160a01b0381166117ce5760405162461bcd60e51b81526020600482015260156024820152742bb199aa37b5b2b71d1037379039b4b3b730ba37b960591b60448201526064016109a7565b600980546001600160a01b0319166001600160a01b0383169081179091556040519081527f304d9534b8ab3e7b259372f3117f22242e9762b37decb6409405fec84a81580190602001610deb565b611826338361281e565b6118425760405162461bcd60e51b81526004016109a790613f67565b61184e848484846130e0565b50505050565b606060028061188460087f000000000000000000000000894907c7ab64c1092620b5c8ba039bb6e611eba8612198565b6003811115611895576118956139d1565b1461189f82612263565b906118bd5760405162461bcd60e51b81526004016109a79190613817565b506118c98787876123bf565b6008546001600160a01b03166001600160a01b0316632c04565b7f000000000000000000000000894907c7ab64c1092620b5c8ba039bb6e611eba86001600160a01b031663fb476cad6008600601546040518263ffffffff1660e01b815260040161193691815260200190565b602060405180830381865afa158015611953573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611977919061404b565b6040518061018001604052808d81526020018c81526020018981526020018881526020016119be8b8b60646119ac9190613ee9565b6119b69190613f1e565b600890613113565b60028111156119cf576119cf6139d1565b815260200187815260200160008152602001600081526020016000815260200160008152602001600081526020016000801b8152506040518363ffffffff1660e01b8152600401611a2192919061410e565b600060405180830381865afa158015611a3e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a669190810190613fb8565b9998505050505050505050565b606081611a97816000908152600260205260409020546001600160a01b0316151590565b611ada5760405162461bcd60e51b81526020600482015260146024820152732bb199aa37b5b2b71d103b37b4b2103a37b5b2b760611b60448201526064016109a7565b611ae2610fe9565b611aeb466131b9565b611af4856131b9565b604051602001611b0693929190614127565b604051602081830303815290604052915050919050565b6006546001600160a01b03163314611b475760405162461bcd60e51b81526004016109a790613f32565b600080611b7560087f000000000000000000000000894907c7ab64c1092620b5c8ba039bb6e611eba8612198565b6003811115611b8657611b866139d1565b14611b9082612263565b90611bae5760405162461bcd60e51b81526004016109a79190613817565b506001600160a01b038216611bfe5760405162461bcd60e51b81526020600482015260166024820152752bb199aa37b5b2b71d103737903232b1b7b930ba37b960511b60448201526064016109a7565b600880546001600160a01b0319166001600160a01b0384169081179091556040519081527feb91e75b1f77f3a89f92cfc9b609aa648e7b12d37afe4bdad7429f0e3ab693a89060200160405180910390a15050565b606081611c77816000908152600260205260409020546001600160a01b0316151590565b611cba5760405162461bcd60e51b81526020600482015260146024820152732bb199aa37b5b2b71d103b37b4b2103a37b5b2b760611b60448201526064016109a7565b6008546001600160a01b03166001600160a01b0316632c04565b7f000000000000000000000000894907c7ab64c1092620b5c8ba039bb6e611eba86001600160a01b031663fb476cad6008600601546040518263ffffffff1660e01b8152600401611d2791815260200190565b602060405180830381865afa158015611d44573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d68919061404b565b6000868152601060205260409081902090516001600160e01b031960e085901b168152611d9992919060040161420b565b600060405180830381865afa158015611db6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115b69190810190613fb8565b6006546001600160a01b03163314611e085760405162461bcd60e51b81526004016109a790613f32565b600080611e3660087f000000000000000000000000894907c7ab64c1092620b5c8ba039bb6e611eba8612198565b6003811115611e4757611e476139d1565b14611e5182612263565b90611e6f5760405162461bcd60e51b81526004016109a79190613817565b5060008311611eb65760405162461bcd60e51b8152602060048201526013602482015272576333546f6b656e3a207a65726f206567677360681b60448201526064016109a7565b611ec2600260016142b8565b60ff16825114611f145760405162461bcd60e51b815260206004820152601e60248201527f576333546f6b656e3a206261642070657263656e74696c65206d61726b73000060448201526064016109a7565b600a849055600b83905581516001600160401b03811115611f3757611f37613ba9565b604051908082528060200260200182016040528015611f60578160200160208202803683370190505b508051611f7591600c916020909101906136d1565b506000805b83518160ff161015612010576000848260ff1681518110611f9d57611f9d6142dd565b602002602001015190508060086002016002018360ff1681548110611fc457611fc46142dd565b90600052602060002090602091828204019190066101000a81548160ff021916908360ff1602179055508083611ffa91906142b8565b9250508080612008906142f3565b915050611f7a565b508060ff1660641461206e5760405162461bcd60e51b815260206004820152602160248201527f576333546f6b656e3a206261642070657263656e74696c6520636865636b73756044820152606d60f81b60648201526084016109a7565b7f97e4bb3c9cf360cc5e716debf2ff635d83bd85c8bde6c7624a5c193a39be26458585856040516120a193929190614312565b60405180910390a15050505050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6006546001600160a01b031633146121085760405162461bcd60e51b81526004016109a790613f32565b6001600160a01b03811661216d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109a7565b61217681612c9a565b50565b6000815160000361218c57506000919050565b5060208101515b919050565b60068201546002830154600091908115612258576040516326f21bfb60e21b8152600481018390526001600160a01b03851690639bc86fec90602401602060405180830381865afa1580156121f1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612215919061402e565b1561224d57600081118015612232575061222f8183613eba565b43115b15612242576003925050506108bb565b6002925050506108bb565b6001925050506108bb565b6000925050506108bb565b60606003826003811115612279576122796139d1565b036122b757505060408051808201909152601c81527f5763334c69623a206e6f7420696e2046726f7a656e2073746174757300000000602082015290565b60008260038111156122cb576122cb6139d1565b0361230957505060408051808201909152601e81527f5763334c69623a206e6f7420696e204261746368696e67207374617475730000602082015290565b600182600381111561231d5761231d6139d1565b03612341576040518060600160405280602181526020016145a16021913992915050565b6002826003811115612355576123556139d1565b0361239357505060408051808201909152601e81527f5763334c69623a206e6f7420696e204861746368696e67207374617475730000602082015290565b505060408051808201909152601081526f15d8ccd31a588e88189859081b5bdbd960821b602082015290565b7f000000000000000000000000000000000000000000000000000000000000000183146124245760405162461bcd60e51b815260206004820152601360248201527215d8ccd51bdad95b8e881898590819dd5a5b19606a1b60448201526064016109a7565b6000821161246b5760405162461bcd60e51b8152602060048201526014602482015273576333546f6b656e3a206e6f20706c617965727360601b60448201526064016109a7565b600b548211156124b55760405162461bcd60e51b8152602060048201526015602482015274576333546f6b656e3a2062616420706c617965727360581b60448201526064016109a7565b600081116124fc5760405162461bcd60e51b8152602060048201526014602482015273576333546f6b656e3a206e6f2072616e6b696e6760601b60448201526064016109a7565b81811115610d8b5760405162461bcd60e51b8152602060048201526015602482015274576333546f6b656e3a206261642072616e6b696e6760581b60448201526064016109a7565b60008989898989898989604051602001612565989796959493929190614331565b60408051601f1981840301815291905280516020909101206009549091506001600160a01b031661259682846132b9565b6001600160a01b0316146125ec5760405162461bcd60e51b815260206004820152601760248201527f576333546f6b656e3a20626164207369676e617475726500000000000000000060448201526064016109a7565b50505050505050505050565b600083815260106020526040902080612612888a836143d7565b50600181018690556002810184905560038101839055612637856119ac866064613ee9565b60048201805460ff19166001836002811115612655576126556139d1565b021790555060050155505050505050565b6117528282604051806020016040528060008152506133a3565b6040516346056fb160e11b81527f3d15f7018db5cc80838b684361aaa100bfadf8a11e02d5c1c92e9c6af47626c86004820152600090819081906001600160a01b037f00000000000000000000000083a757eae821ad7b520d9a74952337138a80b2af1690638c0adf6290602401602060405180830381865afa15801561270b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061272f9190614497565b90506001600160a01b038116156127ab57806001600160a01b031663431838346040518163ffffffff1660e01b8152600401608060405180830381865afa15801561277e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127a291906144b4565b50919450909250505b509091565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906127e582610f4e565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166128975760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016109a7565b60006128a283610f4e565b9050806001600160a01b0316846001600160a01b031614806128c957506128c981856120b0565b806128ed5750836001600160a01b03166128e284610be6565b6001600160a01b0316145b949350505050565b826001600160a01b031661290882610f4e565b6001600160a01b03161461296c5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016109a7565b6001600160a01b0382166129ce5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016109a7565b6129d96000826127b0565b6001600160a01b0383166000908152600360205260408120805460019290612a02908490613ed2565b90915550506001600160a01b0382166000908152600360205260408120805460019290612a30908490613eba565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60606000612a9e836133d6565b6001600160401b03811115612ab557612ab5613ba9565b6040519080825280601f01601f191660200182016040528015612adf576020820181803683370190505b50905060005b8151811015612b3f57838160208110612b0057612b006142dd565b1a60f81b828281518110612b1657612b166142dd565b60200101906001600160f81b031916908160001a90535080612b3781613ea1565b915050612ae5565b5092915050565b60606001826005811115612b5c57612b5c6139d1565b03612b8757505060408051808201909152600a815269496e6375626174696e6760b01b602082015290565b6002826005811115612b9b57612b9b6139d1565b03612bc757505060408051808201909152600b81526a52616e646f6d697a696e6760a81b602082015290565b6003826005811115612bdb57612bdb6139d1565b03612c045750506040805180820190915260088152674861746368696e6760c01b602082015290565b6004826005811115612c1857612c186139d1565b03612c3f575050604080518082019091526006815265135a5b9d195960d21b602082015290565b6005826005811115612c5357612c536139d1565b03612c7a575050604080518082019091526006815265233937bd32b760d11b602082015290565b5050604080518082019091526004815263159bda5960e21b602082015290565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60606000826003811115612d0257612d026139d1565b03612d2b5750506040805180820190915260088152674261746368696e6760c01b602082015290565b6001826003811115612d3f57612d3f6139d1565b03612d6b57505060408051808201909152600b81526a52616e646f6d697a696e6760a81b602082015290565b6002826003811115612d7f57612d7f6139d1565b03612da85750506040805180820190915260088152674861746368696e6760c01b602082015290565b5050604080518082019091526006815265233937bd32b760d11b602082015290565b60008181526008840160205260408082208151610180810190925280548392919082908290612df890613e57565b80601f0160208091040260200160405190810160405280929190818152602001828054612e2490613e57565b8015612e715780601f10612e4657610100808354040283529160200191612e71565b820191906000526020600020905b815481529060010190602001808311612e5457829003601f168201915b505050918352505060018201546020820152600280830154604083015260038301546060830152600483015460809092019160ff1690811115612eb657612eb66139d1565b6002811115612ec757612ec76139d1565b815260058201546020820152600682015460408201526007820154606082015260088201546080820152600982015460a0820152600a82015460c0820152600b9091015460e0909101529050821580612f235750600385015483115b15612f3257600091505061300b565b61012081015115612f4757600491505061300b565b60068501548015613004576040516326f21bfb60e21b8152600481018290526001600160a01b03861690639bc86fec90602401602060405180830381865afa158015612f97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fbb919061402e565b15612ff95760028601548015801590612fdc5750612fd98183613eba565b43115b15612fed576005935050505061300b565b6003935050505061300b565b60029250505061300b565b6001925050505b9392505050565b816001600160a01b0316836001600160a01b0316036130735760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016109a7565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6130eb8484846128f5565b6130f784848484613419565b61184e5760405162461bcd60e51b81526004016109a7906144ea565b6000806000606484111561312657606493505b60048501545b808360ff16101561319a5760048601805460ff8516908110613150576131506142dd565b90600052602060002090602091828204019190069054906101000a900460ff168261317b91906142b8565b91508160ff1685111561319a5782613192816142f3565b93505061312c565b8260ff1660028111156131af576131af6139d1565b9695505050505050565b6060816000036131e05750506040805180820190915260018152600360fc1b602082015290565b8160005b811561320a57806131f481613ea1565b91506132039050600a83613f1e565b91506131e4565b6000816001600160401b0381111561322457613224613ba9565b6040519080825280601f01601f19166020018201604052801561324e576020820181803683370190505b5090505b84156128ed57613263600183613ed2565b9150613270600a8661453c565b61327b906030613eba565b60f81b818381518110613290576132906142dd565b60200101906001600160f81b031916908160001a9053506132b2600a86613f1e565b9450613252565b600081516041146132cc575060006108bb565b60208201516040830151606084015160001a7f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a082111561331257600093505050506108bb565b8060ff16601b1415801561332a57508060ff16601c14155b1561333b57600093505050506108bb565b60408051600081526020810180835288905260ff831691810191909152606081018490526080810183905260019060a0016020604051602081039080840390855afa15801561338e573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b6133ad838361351a565b6133ba6000848484613419565b610d8b5760405162461bcd60e51b81526004016109a7906144ea565b60005b6020811015612193578181602081106133f4576133f46142dd565b1a60f81b6001600160f81b03191615612193578061341181613ea1565b9150506133d9565b60006001600160a01b0384163b1561350f57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061345d903390899088908890600401614550565b6020604051808303816000875af1925050508015613498575060408051601f3d908101601f1916820190925261349591810190614583565b60015b6134f5573d8080156134c6576040519150601f19603f3d011682016040523d82523d6000602084013e6134cb565b606091505b5080516000036134ed5760405162461bcd60e51b81526004016109a7906144ea565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506128ed565b506001949350505050565b6001600160a01b0382166135705760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016109a7565b6000818152600260205260409020546001600160a01b0316156135d55760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016109a7565b6001600160a01b03821660009081526003602052604081208054600192906135fe908490613eba565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6040518061018001604052806060815260200160008152602001600081526020016000815260200160006002811115613697576136976139d1565b8152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600080191681525090565b82805482825590600052602060002090601f016020900481019282156137675791602002820160005b8382111561373857835183826101000a81548160ff021916908360ff16021790555092602001926001016020816000010492830192600103026136fa565b80156137655782816101000a81549060ff0219169055600101602081600001049283019260010302613738565b505b50613773929150613777565b5090565b5b808211156137735760008155600101613778565b6001600160e01b03198116811461217657600080fd5b6000602082840312156137b457600080fd5b813561300b8161378c565b60005b838110156137da5781810151838201526020016137c2565b8381111561184e5750506000910152565b600081518084526138038160208601602086016137bf565b601f01601f19169290920160200192915050565b60208152600061300b60208301846137eb565b6001600160a01b038116811461217657600080fd5b60008083601f84011261385157600080fd5b5081356001600160401b0381111561386857600080fd5b60208301915083602082850101111561388057600080fd5b9250929050565b60008060008060008060008060008060006101208c8e0312156138a957600080fd5b6138b38c3561382a565b8b359a506001600160401b038060208e013511156138d057600080fd5b6138e08e60208f01358f0161383f565b909b50995060408d0135985060608d0135975060808d0135965060a08d0135955060c08d0135945060e08d013593506101008d013581101561392157600080fd5b506139338d6101008e01358e0161383f565b81935080925050509295989b509295989b9093969950565b60006020828403121561395d57600080fd5b5035919050565b6000806040838503121561397757600080fd5b82356139828161382a565b946020939093013593505050565b6000806000606084860312156139a557600080fd5b83356139b08161382a565b925060208401356139c08161382a565b929592945050506040919091013590565b634e487b7160e01b600052602160045260246000fd5b60208101600483106139fb576139fb6139d1565b91905290565b600060208284031215613a1357600080fd5b813561300b8161382a565b60038110613a2e57613a2e6139d1565b9052565b60006101808251818552613a48828601826137eb565b9150506020830151602085015260408301516040850152606083015160608501526080830151613a7b6080860182613a1e565b5060a0838101519085015260c0808401519085015260e080840151908501526101008084015190850152610120808401519085015261014080840151908501526101609283015192909301919091525090565b60208152600061300b6020830184613a32565b600081518084526020808501945080840160005b83811015613b1457815160ff1687529582019590820190600101613af5565b509495945050505050565b602081528151602082015260208201516040820152600060408301516060808401526128ed6080840182613ae1565b60208101600683106139fb576139fb6139d1565b801515811461217657600080fd5b60008060408385031215613b8357600080fd5b8235613b8e8161382a565b91506020830135613b9e81613b62565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715613be757613be7613ba9565b604052919050565b60006001600160401b03821115613c0857613c08613ba9565b50601f01601f191660200190565b6000613c29613c2484613bef565b613bbf565b9050828152838383011115613c3d57600080fd5b828260208301376000602084830101529392505050565b60008060008060808587031215613c6a57600080fd5b8435613c758161382a565b93506020850135613c858161382a565b92506040850135915060608501356001600160401b03811115613ca757600080fd5b8501601f81018713613cb857600080fd5b613cc787823560208401613c16565b91505092959194509250565b600080600080600080600060e0888a031215613cee57600080fd5b87356001600160401b03811115613d0457600080fd5b8801601f81018a13613d1557600080fd5b613d248a823560208401613c16565b9a60208a01359a5060408a013599606081013599506080810135985060a0810135975060c0013595509350505050565b60ff8116811461217657600080fd5b600080600060608486031215613d7857600080fd5b83359250602080850135925060408501356001600160401b0380821115613d9e57600080fd5b818701915087601f830112613db257600080fd5b813581811115613dc457613dc4613ba9565b8060051b9150613dd5848301613bbf565b818152918301840191848101908a841115613def57600080fd5b938501935b83851015613e195784359250613e0983613d54565b8282529385019390850190613df4565b8096505050505050509250925092565b60008060408385031215613e3c57600080fd5b8235613e478161382a565b91506020830135613b9e8161382a565b600181811c90821680613e6b57607f821691505b6020821081036115b957634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201613eb357613eb3613e8b565b5060010190565b60008219821115613ecd57613ecd613e8b565b500190565b600082821015613ee457613ee4613e8b565b500390565b6000816000190483118215151615613f0357613f03613e8b565b500290565b634e487b7160e01b600052601260045260246000fd5b600082613f2d57613f2d613f08565b500490565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600060208284031215613fca57600080fd5b81516001600160401b03811115613fe057600080fd5b8201601f81018413613ff157600080fd5b8051613fff613c2482613bef565b81815285602083850101111561401457600080fd5b6140258260208301602086016137bf565b95945050505050565b60006020828403121561404057600080fd5b815161300b81613b62565b60006020828403121561405d57600080fd5b5051919050565b600060c0828403121561407657600080fd5b60405160c081018181106001600160401b038211171561409857614098613ba9565b60405282516140a681613d54565b815260208301516140b681613d54565b602082015260408301516140c981613d54565b604082015260608301516140dc81613d54565b606082015260808301516140ef81613d54565b608082015260a083015161410281613d54565b60a08201529392505050565b8281526040602082015260006128ed6040830184613a32565b600084516141398184602089016137bf565b686d657461646174612f60b81b908301908152845161415f8160098401602089016137bf565b602f60f81b60099290910191820152835161418181600a8401602088016137bf565b01600a0195945050505050565b6000815461419b81613e57565b8085526020600183811680156141b857600181146141d257614200565b60ff1985168884015283151560051b880183019550614200565b866000528260002060005b858110156141f85781548a82018601529083019084016141dd565b890184019650505b505050505092915050565b82815260406020820152600061018080604084015261422e6101c084018561418e565b6001850154606085015260028501546080850152600385015460a0850152600485015460ff1661426160c0860182613a1e565b50600585015460e08501526006850154610100850152600785015461012085015260088501546101408501526009850154610160850152600a85015482850152600b8501546101a085015280925050509392505050565b600060ff821660ff84168060ff038211156142d5576142d5613e8b565b019392505050565b634e487b7160e01b600052603260045260246000fd5b600060ff821660ff810361430957614309613e8b565b60010192915050565b8381528260208201526060604082015260006140256060830184613ae1565b6001600160a01b0389168152610100602082018190526000906143568382018b6137eb565b604084019990995250506060810195909552608085019390935260a084019190915260c083015260e09091015292915050565b601f821115610d8b57600081815260208120601f850160051c810160208610156143b05750805b601f850160051c820191505b818110156143cf578281556001016143bc565b505050505050565b6001600160401b038311156143ee576143ee613ba9565b614402836143fc8354613e57565b83614389565b6000601f841160018114614436576000851561441e5750838201355b600019600387901b1c1916600186901b178355614490565b600083815260209020601f19861690835b828110156144675786850135825560209485019460019092019101614447565b50868210156144845760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b6000602082840312156144a957600080fd5b815161300b8161382a565b600080600080608085870312156144ca57600080fd5b505082516020840151604085015160609095015191969095509092509050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60008261454b5761454b613f08565b500690565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906131af908301846137eb565b60006020828403121561459557600080fd5b815161300b8161378c56fe5763334c69623a206e6f7420696e2052616e646f6d697a696e6720737461747573a26469706673582212209347b6533420a72a13df2bdf48b1842f934700f04583cfe7e087cb5ed11bdbf064736f6c634300080f0033

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

0000000000000000000000000000000000000000000000000000000000000140000000000000000000000000894907c7ab64c1092620b5c8ba039bb6e611eba800000000000000000000000083a757eae821ad7b520d9a74952337138a80b2af0000000000000000000000003a1e624b1d8830abacface65839baaf7ee84ec7d000000000000000000000000f8a654c0328ba4bae1af69eb5856fc807c8e57310000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004e200000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000010ec80000000000000000000000000000000000000000000000000000000000000005332e332e390000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001e000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000f50726963652d4554482f5553442d360000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _version (string): 3.3.9
Arg [1] : _randomizer (address): 0x894907c7Ab64C1092620B5c8Ba039BB6E611eba8
Arg [2] : _router (address): 0x83A757eAe821Ad7B520D9A74952337138A80b2AF
Arg [3] : _decorator (address): 0x3A1e624B1d8830AbACFaCe65839baaF7Ee84ec7d
Arg [4] : _signator (address): 0xF8A654C0328Ba4bAE1aF69EB5856Fc807C8E5731
Arg [5] : _percentileMarks (uint8[]): 10,30,60
Arg [6] : _expirationBlocks (uint256): 0
Arg [7] : _totalEggs (uint256): 1250
Arg [8] : _usdPriceCaption (string): Price-ETH/USD-6
Arg [9] : _mintGasOverhead (uint256): 69320

-----Encoded View---------------
18 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [1] : 000000000000000000000000894907c7ab64c1092620b5c8ba039bb6e611eba8
Arg [2] : 00000000000000000000000083a757eae821ad7b520d9a74952337138a80b2af
Arg [3] : 0000000000000000000000003a1e624b1d8830abacface65839baaf7ee84ec7d
Arg [4] : 000000000000000000000000f8a654c0328ba4bae1af69eb5856fc807c8e5731
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [7] : 00000000000000000000000000000000000000000000000000000000000004e2
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000200
Arg [9] : 0000000000000000000000000000000000000000000000000000000000010ec8
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [11] : 332e332e39000000000000000000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [13] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [14] : 000000000000000000000000000000000000000000000000000000000000001e
Arg [15] : 000000000000000000000000000000000000000000000000000000000000003c
Arg [16] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [17] : 50726963652d4554482f5553442d360000000000000000000000000000000000


Deployed Bytecode Sourcemap

387:17639:22:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1505:300:3;;;;;;;;;;-1:-1:-1;1505:300:3;;;;;:::i;:::-;;:::i;:::-;;;565:14:24;;558:22;540:41;;528:2;513:18;1505:300:3;;;;;;;;2423:98;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;9286:1692:22:-;;;;;;;;;;-1:-1:-1;9286:1692:22;;;;;:::i;:::-;;:::i;:::-;;3935:217:3;;;;;;;;;;-1:-1:-1;3935:217:3;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;3439:32:24;;;3421:51;;3409:2;3394:18;3935:217:3;3275:203:24;3473:401:3;;;;;;;;;;-1:-1:-1;3473:401:3;;;;;:::i;:::-;;:::i;5464:239:22:-;;;;;;;;;;-1:-1:-1;5464:239:22;;;;;:::i;:::-;;:::i;14772:141::-;;;;;;;;;;-1:-1:-1;14884:21:22;;14772:141;;;3949:25:24;;;3937:2;3922:18;14772:141:22;3803:177:24;11155:158:22;;;;;;;;;;-1:-1:-1;11285:9:22;:19;-1:-1:-1;;;;;11285:19:22;11155:158;;4662:330:3;;;;;;;;;;-1:-1:-1;4662:330:3;;;;;:::i;:::-;;:::i;5058:179::-;;;;;;;;;;-1:-1:-1;5058:179:3;;;;;:::i;:::-;;:::i;14627:137:22:-;;;;;;;;;;-1:-1:-1;14738:18:22;;-1:-1:-1;;;;;14738:18:22;14627:137;;12016:152;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;15098:144::-;;;;;;;;;;;;;:::i;14921:169::-;;;;;;;;;;;;;:::i;2126:235:3:-;;;;;;;;;;-1:-1:-1;2126:235:3;;;;;:::i;:::-;;:::i;13173:188:22:-;;;;;;;;;;-1:-1:-1;13173:188:22;;;;;:::i;:::-;;:::i;3833:142::-;;;;;;;;;;;;;:::i;1864:205:3:-;;;;;;;;;;-1:-1:-1;1864:205:3;;;;;:::i;:::-;;:::i;1661:101:18:-;;;;;;;;;;;;;:::i;12338:195:22:-;;;;;;;;;;-1:-1:-1;12338:195:22;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;11693:152::-;;;;;;;;;;-1:-1:-1;11812:25:22;;11693:152;;8406:710;;;:::i;12176:154::-;;;;;;;;;;;;;:::i;12541:415::-;;;;;;;;;;-1:-1:-1;12541:415:22;;;;;:::i;:::-;;:::i;:::-;;;;;;6935:4:24;6977:3;6966:9;6962:19;6954:27;;7000:4;7050:2;7041:6;7035:13;7031:22;7020:9;7013:41;7122:2;7114:4;7106:6;7102:17;7096:24;7092:33;7085:4;7074:9;7070:20;7063:63;7194:2;7186:4;7178:6;7174:17;7168:24;7164:33;7157:4;7146:9;7142:20;7135:63;7266:2;7258:4;7250:6;7246:17;7240:24;7236:33;7229:4;7218:9;7214:20;7207:63;7338:2;7330:4;7322:6;7318:17;7312:24;7308:33;7301:4;7290:9;7286:20;7279:63;7410:2;7402:4;7394:6;7390:17;7384:24;7380:33;7373:4;7362:9;7358:20;7351:63;;6769:651;;;;;11481:204:22;;;;;;;;;;;;;:::i;11853:155::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;1029:85:18:-;;;;;;;;;;-1:-1:-1;1101:6:18;;-1:-1:-1;;;;;1101:6:18;1029:85;;12964:201:22;;;;;;;;;;-1:-1:-1;12964:201:22;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;2585:102:3:-;;;;;;;;;;;;;:::i;905:41:22:-;;;;;;;;;;;;;;;4219:153:3;;;;;;;;;;-1:-1:-1;4219:153:3;;;;;:::i;:::-;;:::i;5991:278:22:-;;;;;;;;;;-1:-1:-1;5991:278:22;;;;;:::i;:::-;;:::i;5303:320:3:-;;;;;;;;;;-1:-1:-1;5303:320:3;;;;;:::i;:::-;;:::i;13369:1250:22:-;;;;;;;;;;-1:-1:-1;13369:1250:22;;;;;:::i;:::-;;:::i;4311:354::-;;;;;;;;;;-1:-1:-1;4311:354:22;;;;;:::i;:::-;;:::i;953:49::-;;;;;;;;;;;;;;;11325:148;;;;;;;;;;-1:-1:-1;11442:23:22;;11325:148;;4959:370;;;;;;;;;;-1:-1:-1;4959:370:22;;;;;:::i;:::-;;:::i;3987:316::-;;;;;;;;;;-1:-1:-1;3987:316:22;;;;;:::i;:::-;;:::i;6729:1173::-;;;;;;;;;;-1:-1:-1;6729:1173:22;;;;;:::i;:::-;;:::i;4438:162:3:-;;;;;;;;;;-1:-1:-1;4438:162:3;;;;;:::i;:::-;;:::i;786:54:22:-;;;;;;;;;;;;;;;1911:198:18;;;;;;;;;;-1:-1:-1;1911:198:18;;;;;:::i;:::-;;:::i;847:51:22:-;;;;;;;;;;;;;;;1505:300:3;1607:4;-1:-1:-1;;;;;;1642:40:3;;-1:-1:-1;;;1642:40:3;;:104;;-1:-1:-1;;;;;;;1698:48:3;;-1:-1:-1;;;1698:48:3;1642:104;:156;;;-1:-1:-1;;;;;;;;;;937:40:2;;;1762:36:3;1623:175;1505:300;-1:-1:-1;;1505:300:3:o;2423:98::-;2477:13;2509:5;2502:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2423:98;:::o;9286:1692:22:-;9689:13;1354;1370:9;1354:25;;1744:1:19::1;2325:7;;:19:::0;2317:63:::1;;;::::0;-1:-1:-1;;;2317:63:19;;14916:2:24;2317:63:19::1;::::0;::::1;14898:21:24::0;14955:2;14935:18;;;14928:30;14994:33;14974:18;;;14967:61;15045:18;;2317:63:19::1;;;;;;;;;1744:1;2455:7;:18:::0;;;1744:1;1174:28:22::2;:9;1191:10;1174:16;:28::i;:::-;:39;;;;;;;;:::i;:::-;;1228:35;1255:7;1228:26;:35::i;:::-;1152:122;;;;;-1:-1:-1::0;;;1152:122:22::2;;;;;;;;:::i;:::-;;9827:107:::3;9859:8;9882:13;9910;9827:17;:107::i;:::-;9977:260;10008:11;10034:5;;9977:260;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10054:14;10083:8;10106:13;10134;10162:6;10183;10216:10;;9977:260;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::3;::::0;;;;-1:-1:-1;9977:16:22::3;::::0;-1:-1:-1;;;9977:260:22:i:3;:::-;10347:16;10472:30:::0;;;:20;:30:::3;::::0;;;;:44:::3;;::::0;10366:13;;10472:49;10450:123:::3;;;::::0;-1:-1:-1;;;10450:123:22;;15276:2:24;10450:123:22::3;::::0;::::3;15258:21:24::0;15315:2;15295:18;;;15288:30;15354:26;15334:18;;;15327:54;15398:18;;10450:123:22::3;15074:348:24::0;10450:123:22::3;10632:177;10666:5;;10686:14;10715:13;10743;10771:6;10792;10632:19;:177::i;:::-;10865:32;10875:11;10888:8;10865:9;:32::i;:::-;10946:21:::0;:24;;;:21:::3;:24;::::0;::::3;:::i;:::-;::::0;;;-1:-1:-1;;1701:1:19::1;2628:7;:22:::0;-1:-1:-1;;1428:34:22;1465:30;;;:20;:30;;;;;;1428:34;1547:20;:18;:20::i;:::-;1596:12;1578:15;;;:30;1640:11;1619:18;;;:32;1684:15;1662:19;;;:37;1710:29;;;:44;;;1506:61;;-1:-1:-1;1506:61:22;-1:-1:-1;;1820:9:22;1781:25;;:36;;1809:8;;1781:36;:::i;:::-;:48;;;;:::i;:::-;1840:13;;;:24;;;1765:64;-1:-1:-1;1942:8:22;1765:64;1897:30;1916:11;1902:10;1897:30;:::i;:::-;:41;;;;:::i;:::-;1896:54;;;;:::i;:::-;1875:5;:18;;:75;;;;1343:616;;;;;9286:1692;;;;;;;;;;;;:::o;3935:217:3:-;4011:7;7183:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7183:16:3;4030:73;;;;-1:-1:-1;;;4030:73:3;;16594:2:24;4030:73:3;;;16576:21:24;16633:2;16613:18;;;16606:30;16672:34;16652:18;;;16645:62;-1:-1:-1;;;16723:18:24;;;16716:42;16775:19;;4030:73:3;16392:408:24;4030:73:3;-1:-1:-1;4121:24:3;;;;:15;:24;;;;;;-1:-1:-1;;;;;4121:24:3;;3935:217::o;3473:401::-;3553:13;3569:23;3584:7;3569:14;:23::i;:::-;3553:39;;3616:5;-1:-1:-1;;;;;3610:11:3;:2;-1:-1:-1;;;;;3610:11:3;;3602:57;;;;-1:-1:-1;;;3602:57:3;;17007:2:24;3602:57:3;;;16989:21:24;17046:2;17026:18;;;17019:30;17085:34;17065:18;;;17058:62;-1:-1:-1;;;17136:18:24;;;17129:31;17177:19;;3602:57:3;16805:397:24;3602:57:3;719:10:1;-1:-1:-1;;;;;3691:21:3;;;;:62;;-1:-1:-1;3716:37:3;3733:5;719:10:1;4438:162:3;:::i;3716:37::-;3670:165;;;;-1:-1:-1;;;3670:165:3;;17409:2:24;3670:165:3;;;17391:21:24;17448:2;17428:18;;;17421:30;17487:34;17467:18;;;17460:62;17558:26;17538:18;;;17531:54;17602:19;;3670:165:3;17207:420:24;3670:165:3;3846:21;3855:2;3859:7;3846:8;:21::i;:::-;3543:331;3473:401;;:::o;5464:239:22:-;1101:6:18;;-1:-1:-1;;;;;1101:6:18;719:10:1;1241:23:18;1233:68;;;;-1:-1:-1;;;1233:68:18;;;;;;;:::i;:::-;5602:25:22;:44;;;5662:33:::1;::::0;3949:25:24;;;5662:33:22::1;::::0;3937:2:24;3922:18;5662:33:22::1;;;;;;;;5464:239:::0;:::o;4662:330:3:-;4851:41;719:10:1;4884:7:3;4851:18;:41::i;:::-;4843:103;;;;-1:-1:-1;;;4843:103:3;;;;;;;:::i;:::-;4957:28;4967:4;4973:2;4977:7;4957:9;:28::i;5058:179::-;5191:39;5208:4;5214:2;5218:7;5191:39;;;;;;;;;;;;:16;:39::i;12016:152:22:-;12094:13;12132:28;:9;12149:10;12132:16;:28::i;:::-;12125:35;;12016:152;:::o;15098:144::-;15176:13;15214:20;:9;:18;:20::i;14921:169::-;15043:39;;-1:-1:-1;;;15043:39:22;;15066:15;15043:39;;;3949:25:24;15005:13:22;;15043:6;-1:-1:-1;;;;;15043:22:22;;;;3922:18:24;;15043:39:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;15043:39:22;;;;;;;;;;;;:::i;2126:235:3:-;2198:7;2233:16;;;:7;:16;;;;;;-1:-1:-1;;;;;2233:16:3;;2259:73;;;;-1:-1:-1;;;2259:73:3;;19253:2:24;2259:73:3;;;19235:21:24;19292:2;19272:18;;;19265:30;19331:34;19311:18;;;19304:62;-1:-1:-1;;;19382:18:24;;;19375:39;19431:19;;2259:73:3;19051:405:24;13173:188:22;13280:13;13318:35;:24;13333:8;13318:14;:24::i;:::-;:33;;;;;;;;:::i;:::-;;:35::i;3833:142::-;3908:13;3946:11;11285:9;:19;-1:-1:-1;;;;;11285:19:22;;11155:158;3946:11;-1:-1:-1;;;;;3946:19:22;;:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1864:205:3;1936:7;-1:-1:-1;;;;;1963:19:3;;1955:74;;;;-1:-1:-1;;;1955:74:3;;19663:2:24;1955:74:3;;;19645:21:24;19702:2;19682:18;;;19675:30;19741:34;19721:18;;;19714:62;-1:-1:-1;;;19792:18:24;;;19785:40;19842:19;;1955:74:3;19461:406:24;1955:74:3;-1:-1:-1;;;;;;2046:16:3;;;;;:9;:16;;;;;;;1864:205::o;1661:101:18:-;1101:6;;-1:-1:-1;;;;;1101:6:18;719:10:1;1241:23:18;1233:68;;;;-1:-1:-1;;;1233:68:18;;;;;;;:::i;:::-;1725:30:::1;1752:1;1725:18;:30::i;:::-;1661:101::o:0;12338:195:22:-;12443:27;;:::i;:::-;12495:30;;;;:20;:30;;;;;;;12488:37;;;;;;;;;;;;12495:30;;12488:37;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;12488:37:22;;;-1:-1:-1;;12488:37:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12338:195;-1:-1:-1;;12338:195:22:o;8406:710::-;1744:1:19;2325:7;;:19;2317:63;;;;-1:-1:-1;;;2317:63:19;;14916:2:24;2317:63:19;;;14898:21:24;14955:2;14935:18;;;14928:30;14994:33;14974:18;;;14967:61;15045:18;;2317:63:19;14714:355:24;2317:63:19;1744:1;2455:7;:18;1101:6:18;;-1:-1:-1;;;;;1101:6:18;719:10:1;1241:23:18::1;1233:68;;;;-1:-1:-1::0;;;1233:68:18::1;;;;;;;:::i;:::-;8533:22:22::2;::::0;1174:28:::2;:9;1191:10;1174:16;:28::i;:::-;:39;;;;;;;;:::i;:::-;;1228:35;1255:7;1228:26;:35::i;:::-;1152:122;;;;;-1:-1:-1::0;;;1152:122:22::2;;;;;;;;:::i;:::-;-1:-1:-1::0;11285:9:22;:19;-1:-1:-1;;;;;11285:19:22;-1:-1:-1;;;;;8642:18:22::3;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;8620:98;;;::::0;-1:-1:-1;;;8620:98:22;;20324:2:24;8620:98:22::3;::::0;::::3;20306:21:24::0;20363:2;20343:18;;;20336:30;20402;20382:18;;;20375:58;20450:18;;8620:98:22::3;20122:352:24::0;8620:98:22::3;8786:15;8804:10;-1:-1:-1::0;;;;;8804:20:22::3;;8833:9;8804:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;8925:12;8899:23:::0;:38;8786:60;-1:-1:-1;9015:9:22::3;9002:22:::0;::::3;8998:111;;;9050:10;9042:52;9071:22;9083:10:::0;9071:9:::3;:22;:::i;:::-;9042:52;::::0;;::::3;::::0;;::::3;::::0;::::3;::::0;;;;;;::::3;;;;;;;;;;;;;::::0;::::3;;;;;;8998:111;-1:-1:-1::0;;1701:1:19;2628:7;:22;8406:710:22:o;12176:154::-;12262:13;12300:22;:11;:9;:11::i;:::-;:20;;;;;;;;:::i;:::-;;:22::i;12541:415::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12729:23:22;:21;:23::i;:::-;12707:45;-1:-1:-1;12767:16:22;;12763:186;;11285:9;:19;-1:-1:-1;;;;;11285:19:22;12883:30;;;;:20;:30;;;;;;;:39;;;12810:127;;-1:-1:-1;;;12810:127:22;;;;;20842:25:24;;;20883:18;;;20876:34;;;;-1:-1:-1;;;;;12810:24:22;;;;;;;20815:18:24;;12810:127:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;12800:137;;12763:186;12696:260;12541:415;;;:::o;11481:204::-;11653:23;;11623:54;;-1:-1:-1;;;11623:54:22;;11571:27;;-1:-1:-1;;;;;11623:10:22;:29;;;;:54;;;;3949:25:24;;;3937:2;3922:18;;3803:177;11623:54:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;11853:155::-;11935:22;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;11935:22:22;11975:25;;;;;;;;11982:18;11975:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11982:18;;11975:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11853:155;:::o;12964:201::-;13063:26;13114:43;:9;13136:10;13148:8;13114:21;:43::i;2585:102:3:-;2641:13;2673:7;2666:14;;;;;:::i;4219:153::-;4313:52;719:10:1;4346:8:3;4356;4313:18;:52::i;:::-;4219:153;;:::o;5991:278:22:-;1101:6:18;;-1:-1:-1;;;;;1101:6:18;719:10:1;1241:23:18;1233:68;;;;-1:-1:-1;;;1233:68:18;;;;;;;:::i;:::-;-1:-1:-1;;;;;6113:23:22;::::1;6091:94;;;::::0;-1:-1:-1;;;6091:94:22;;22492:2:24;6091:94:22::1;::::0;::::1;22474:21:24::0;22531:2;22511:18;;;22504:30;-1:-1:-1;;;22550:18:24;;;22543:51;22611:18;;6091:94:22::1;22290:345:24::0;6091:94:22::1;6196:18:::0;:30;;-1:-1:-1;;;;;;6196:30:22::1;-1:-1:-1::0;;;;;6196:30:22;::::1;::::0;;::::1;::::0;;;6242:19:::1;::::0;3421:51:24;;;6242:19:22::1;::::0;3409:2:24;3394:18;6242:19:22::1;3275:203:24::0;5303:320:3;5472:41;719:10:1;5505:7:3;5472:18;:41::i;:::-;5464:103;;;;-1:-1:-1;;;5464:103:3;;;;;;;:::i;:::-;5577:39;5591:4;5597:2;5601:7;5610:5;5577:13;:39::i;:::-;5303:320;;;;:::o;13369:1250:22:-;13736:13;13694:22;;1174:28;:9;1191:10;1174:16;:28::i;:::-;:39;;;;;;;;:::i;:::-;;1228:35;1255:7;1228:26;:35::i;:::-;1152:122;;;;;-1:-1:-1;;;1152:122:22;;;;;;;;:::i;:::-;;13799:107:::1;13831:8;13854:13;13882;13799:17;:107::i;:::-;11285:9:::0;:19;-1:-1:-1;;;;;11285:19:22;-1:-1:-1;;;;;13962:18:22::1;;13995:10;-1:-1:-1::0;;;;;13995:29:22::1;;14025:9;:23;;;13995:54;;;;;;;;;;;;;3949:25:24::0;;3937:2;3922:18;;3803:177;13995:54:22::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;14064:536;;;;;;;;14113:5;14064:536;;;;14155:14;14064:536;;;;14205:13;14064:536;;;;14247:6;14064:536;;;;14283:58;14327:13;14304;14320:3;14304:19;;;;:::i;:::-;14303:37;;;;:::i;:::-;14283:9;::::0;:19:::1;:58::i;:::-;14064:536;;;;;;;;:::i;:::-;;;;;14370:6;14064:536;;;;14406:1;14064:536;;;;14435:1;14064:536;;;;14469:1;14064:536;;;;14504:1;14064:536;;;;14538:1;14064:536;;;;14583:1;14064:536:::0;::::1;;;::::0;13962:649:::1;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;::::0;;::::1;-1:-1:-1::0;;13962:649:22::1;::::0;::::1;;::::0;::::1;::::0;;;::::1;::::0;::::1;:::i;:::-;13955:656:::0;13369:1250;-1:-1:-1;;;;;;;;;13369:1250:22:o;4311:354::-;4443:13;4415:8;2039:17;2047:8;7160:4:3;7183:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7183:16:3;:30;;;7095:125;2039:17:22;2017:87;;;;-1:-1:-1;;;2017:87:22;;23194:2:24;2017:87:22;;;23176:21:24;23233:2;23213:18;;;23206:30;-1:-1:-1;;;23252:18:24;;;23245:50;23312:18;;2017:87:22;22992:344:24;2017:87:22;4519:9:::1;:7;:9::i;:::-;4569:24;:13;:22;:24::i;:::-;4626:19;:8;:17;:19::i;:::-;4488:168;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;4474:183;;4311:354:::0;;;;:::o;4959:370::-;1101:6:18;;-1:-1:-1;;;;;1101:6:18;719:10:1;1241:23:18;1233:68;;;;-1:-1:-1;;;1233:68:18;;;;;;;:::i;:::-;5078:22:22::1;::::0;1174:28:::1;:9;1191:10;1174:16;:28::i;:::-;:39;;;;;;;;:::i;:::-;;1228:35;1255:7;1228:26;:35::i;:::-;1152:122;;;;;-1:-1:-1::0;;;1152:122:22::1;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;;5140:33:22;::::2;5118:105;;;::::0;-1:-1:-1;;;5118:105:22;;24498:2:24;5118:105:22::2;::::0;::::2;24480:21:24::0;24537:2;24517:18;;;24510:30;-1:-1:-1;;;24556:18:24;;;24549:52;24618:18;;5118:105:22::2;24296:346:24::0;5118:105:22::2;5234:9;:41:::0;;-1:-1:-1;;;;;;5234:41:22::2;-1:-1:-1::0;;;;;5234:41:22;::::2;::::0;;::::2;::::0;;;5291:30:::2;::::0;3421:51:24;;;5291:30:22::2;::::0;3409:2:24;3394:18;5291:30:22::2;;;;;;;1311:1:18::1;4959:370:22::0;:::o;3987:316::-;4114:13;4086:8;2039:17;2047:8;7160:4:3;7183:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7183:16:3;:30;;;7095:125;2039:17:22;2017:87;;;;-1:-1:-1;;;2017:87:22;;23194:2:24;2017:87:22;;;23176:21:24;23233:2;23213:18;;;23206:30;-1:-1:-1;;;23252:18:24;;;23245:50;23312:18;;2017:87:22;22992:344:24;2017:87:22;11285:9;:19;-1:-1:-1;;;;;11285:19:22;-1:-1:-1;;;;;4152:18:22::1;;4185:10;-1:-1:-1::0;;;;;4185:29:22::1;;4215:9;:23;;;4185:54;;;;;;;;;;;;;3949:25:24::0;;3937:2;3922:18;;3803:177;4185:54:22::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4254:30;::::0;;;:20;:30:::1;::::0;;;;;;4152:143;;-1:-1:-1;;;;;;4152:143:22::1;::::0;;;;;;::::1;::::0;;4254:30;4152:143:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;::::0;;::::1;-1:-1:-1::0;;4152:143:22::1;::::0;::::1;;::::0;::::1;::::0;;;::::1;::::0;::::1;:::i;6729:1173::-:0;1101:6:18;;-1:-1:-1;;;;;1101:6:18;719:10:1;1241:23:18;1233:68;;;;-1:-1:-1;;;1233:68:18;;;;;;;:::i;:::-;6959:22:22::1;::::0;1174:28:::1;:9;1191:10;1174:16;:28::i;:::-;:39;;;;;;;;:::i;:::-;;1228:35;1255:7;1228:26;:35::i;:::-;1152:122;;;;;-1:-1:-1::0;;;1152:122:22::1;;;;;;;;:::i;:::-;;7034:1:::2;7021:10;:14;6999:83;;;::::0;-1:-1:-1;;;6999:83:22;;27145:2:24;6999:83:22::2;::::0;::::2;27127:21:24::0;27184:2;27164:18;;;27157:30;-1:-1:-1;;;27203:18:24;;;27196:49;27262:18;;6999:83:22::2;26943:343:24::0;6999:83:22::2;7142:44;7148:33;7185:1;7142:44;:::i;:::-;7115:71;;:16;:23;:71;7093:151;;;::::0;-1:-1:-1;;;7093:151:22;;27702:2:24;7093:151:22::2;::::0;::::2;27684:21:24::0;27741:2;27721:18;;;27714:30;27780:32;27760:18;;;27753:60;27830:18;;7093:151:22::2;27500:354:24::0;7093:151:22::2;7265:18:::0;:55;;;7331:28;:41;;;7432:23;;-1:-1:-1;;;;;7420:36:22;::::2;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;-1:-1:-1;7420:36:22::2;-1:-1:-1::0;7383:73:22;;::::2;::::0;:34;;:73:::2;::::0;;::::2;::::0;::::2;:::i;:::-;-1:-1:-1::0;7469:15:22::2;::::0;7486:211:::2;7510:16;:23;7505:2;:28;;;7486:211;;;7557:11;7571:16;7588:2;7571:20;;;;;;;;;;:::i;:::-;;;;;;;7557:34;;7647:5;7606:9;:18;;:34;;7641:2;7606:38;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;:46;;;;;;;;;;;;;;;;;;7680:5;7667:18;;;;;:::i;:::-;;;7542:155;7535:5;;;;;:::i;:::-;;;;7486:211;;;;7715:9;:16;;7728:3;7715:16;7707:62;;;::::0;-1:-1:-1;;;7707:62:22;;28373:2:24;7707:62:22::2;::::0;::::2;28355:21:24::0;28412:2;28392:18;;;28385:30;28451:34;28431:18;;;28424:62;-1:-1:-1;;;28502:18:24;;;28495:31;28543:19;;7707:62:22::2;28171:397:24::0;7707:62:22::2;7787:107;7810:17;7842:10;7867:16;7787:107;;;;;;;;:::i;:::-;;;;;;;;6988:914;1311:1:18::1;6729:1173:22::0;;;:::o;4438:162:3:-;-1:-1:-1;;;;;4558:25:3;;;4535:4;4558:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;4438:162::o;1911:198:18:-;1101:6;;-1:-1:-1;;;;;1101:6:18;719:10:1;1241:23:18;1233:68;;;;-1:-1:-1;;;1233:68:18;;;;;;;:::i;:::-;-1:-1:-1;;;;;1999:22:18;::::1;1991:73;;;::::0;-1:-1:-1;;;1991:73:18;;29177:2:24;1991:73:18::1;::::0;::::1;29159:21:24::0;29216:2;29196:18;;;29189:30;29255:34;29235:18;;;29228:62;-1:-1:-1;;;29306:18:24;;;29299:36;29352:19;;1991:73:18::1;28975:402:24::0;1991:73:18::1;2074:28;2093:8;2074:18;:28::i;:::-;1911:198:::0;:::o;6811:301:21:-;6894:15;6937:7;6931:21;6956:1;6931:26;6927:178;;-1:-1:-1;6981:3:21;;6811:301;-1:-1:-1;6811:301:21:o;6927:178::-;-1:-1:-1;7075:2:21;7062:16;;7056:23;6927:178;6811:301;;;:::o;3998:723::-;4154:18;;;;4208:13;;;:30;4108:6;;4154:18;4253;;4249:465;;4292:40;;-1:-1:-1;;;4292:40:21;;;;;3949:25:24;;;-1:-1:-1;;;;;4292:24:21;;;;;3922:18:24;;4292:40:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4288:360;;;4377:1;4357:17;:21;:74;;;;-1:-1:-1;4397:34:21;4414:17;4397:14;:34;:::i;:::-;4382:12;:49;4357:74;4353:214;;;4463:13;4456:20;;;;;;4353:214;4532:15;4525:22;;;;;;4288:360;4614:18;4607:25;;;;;;4249:465;4687:15;4680:22;;;;;;4806:594;4892:13;4938;4927:7;:24;;;;;;;;:::i;:::-;;4923:470;;-1:-1:-1;;4968:37:21;;;;;;;;;;;;;;;;;;4806:594::o;4923:470::-;5038:15;5027:7;:26;;;;;;;;:::i;:::-;;5023:370;;-1:-1:-1;;5070:39:21;;;;;;;;;;;;;;;;;;4806:594::o;5023:370::-;5142:18;5131:7;:29;;;;;;;;:::i;:::-;;5127:266;;5177:42;;;;;;;;;;;;;;;;;;4806:594;-1:-1:-1;;4806:594:21:o;5127:266::-;5252:15;5241:7;:26;;;;;;;;:::i;:::-;;5237:156;;-1:-1:-1;;5284:39:21;;;;;;;;;;;;;;;;;;4806:594::o;5237:156::-;-1:-1:-1;;5356:25:21;;;;;;;;;;;;-1:-1:-1;;;5356:25:21;;;;;4806:594::o;16667:554:22:-;16875:7;16863:8;:19;16855:51;;;;-1:-1:-1;;;16855:51:22;;29584:2:24;16855:51:22;;;29566:21:24;29623:2;29603:18;;;29596:30;-1:-1:-1;;;29642:18:24;;;29635:49;29701:18;;16855:51:22;29382:343:24;16855:51:22;16951:1;16935:13;:17;16927:50;;;;-1:-1:-1;;;16927:50:22;;29932:2:24;16927:50:22;;;29914:21:24;29971:2;29951:18;;;29944:30;-1:-1:-1;;;29990:18:24;;;29983:50;30050:18;;16927:50:22;29730:344:24;16927:50:22;17013:28;;16996:45;;;16988:79;;;;-1:-1:-1;;;16988:79:22;;30281:2:24;16988:79:22;;;30263:21:24;30320:2;30300:18;;;30293:30;-1:-1:-1;;;30339:18:24;;;30332:51;30400:18;;16988:79:22;30079:345:24;16988:79:22;17112:1;17096:13;:17;17088:50;;;;-1:-1:-1;;;17088:50:22;;30631:2:24;17088:50:22;;;30613:21:24;30670:2;30650:18;;;30643:30;-1:-1:-1;;;30689:18:24;;;30682:50;30749:18;;17088:50:22;30429:344:24;17088:50:22;17174:13;17157;:30;;17149:64;;;;-1:-1:-1;;;17149:64:22;;30980:2:24;17149:64:22;;;30962:21:24;31019:2;30999:18;;;30992:30;-1:-1:-1;;;31038:18:24;;;31031:51;31099:18;;17149:64:22;30778:345:24;17229:792:22;17626:13;17677:11;17703:5;17723:14;17752:8;17775:13;17803;17831:6;17852;17652:217;;;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;17652:217:22;;;;;;;;;17642:228;;17652:217;17642:228;;;;17944:18;;17642:228;;-1:-1:-1;;;;;;17944:18:22;17903:37;17642:228;17929:10;17903:18;:37::i;:::-;-1:-1:-1;;;;;17903:59:22;;17881:132;;;;-1:-1:-1;;;17881:132:22;;32104:2:24;17881:132:22;;;32086:21:24;32143:2;32123:18;;;32116:30;32182:25;32162:18;;;32155:53;32225:18;;17881:132:22;31902:347:24;17881:132:22;17615:406;17229:792;;;;;;;;;:::o;15958:701::-;16294:34;16331:35;;;:20;:35;;;;;;16377:21;16393:5;;16331:35;16377:21;:::i;:::-;-1:-1:-1;16409:22:22;;;:39;;;16459:21;;;:37;;;16507:14;;;:23;;;16559:58;16603:13;16580:19;16483:13;16596:3;16580:19;:::i;16559:58::-;16541:15;;;:76;;-1:-1:-1;;16541:76:22;;;;;;;;;;;:::i;:::-;;;;;-1:-1:-1;16628:14:22;;:23;-1:-1:-1;;;;;;15958:701:22:o;8052:108:3:-;8127:26;8137:2;8141:7;8127:26;;;;;;;;;;;;:9;:26::i;15592:354:22:-;15775:36;;-1:-1:-1;;;15775:36:22;;15795:15;15775:36;;;3949:25:24;15663:19:22;;;;;;-1:-1:-1;;;;;15775:6:22;:19;;;;3922:18:24;;15775:36:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;15727:86;-1:-1:-1;;;;;;15828:26:22;;;15824:115;;15912:3;-1:-1:-1;;;;;15912:13:22;;:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;15871:56:22;;-1:-1:-1;15871:56:22;;-1:-1:-1;;15824:115:22;15716:230;15592:354;;:::o;11104:171:3:-;11178:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;11178:29:3;-1:-1:-1;;;;;11178:29:3;;;;;;;;:24;;11231:23;11178:24;11231:14;:23::i;:::-;-1:-1:-1;;;;;11222:46:3;;;;;;;;;;;11104:171;;:::o;7378:344::-;7471:4;7183:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7183:16:3;7487:73;;;;-1:-1:-1;;;7487:73:3;;35032:2:24;7487:73:3;;;35014:21:24;35071:2;35051:18;;;35044:30;35110:34;35090:18;;;35083:62;-1:-1:-1;;;35161:18:24;;;35154:42;35213:19;;7487:73:3;34830:408:24;7487:73:3;7570:13;7586:23;7601:7;7586:14;:23::i;:::-;7570:39;;7638:5;-1:-1:-1;;;;;7627:16:3;:7;-1:-1:-1;;;;;7627:16:3;;:52;;;;7647:32;7664:5;7671:7;7647:16;:32::i;:::-;7627:87;;;;7707:7;-1:-1:-1;;;;;7683:31:3;:20;7695:7;7683:11;:20::i;:::-;-1:-1:-1;;;;;7683:31:3;;7627:87;7619:96;7378:344;-1:-1:-1;;;;7378:344:3:o;10388:605::-;10542:4;-1:-1:-1;;;;;10515:31:3;:23;10530:7;10515:14;:23::i;:::-;-1:-1:-1;;;;;10515:31:3;;10507:81;;;;-1:-1:-1;;;10507:81:3;;35445:2:24;10507:81:3;;;35427:21:24;35484:2;35464:18;;;35457:30;35523:34;35503:18;;;35496:62;-1:-1:-1;;;35574:18:24;;;35567:35;35619:19;;10507:81:3;35243:401:24;10507:81:3;-1:-1:-1;;;;;10606:16:3;;10598:65;;;;-1:-1:-1;;;10598:65:3;;35851:2:24;10598:65:3;;;35833:21:24;35890:2;35870:18;;;35863:30;35929:34;35909:18;;;35902:62;-1:-1:-1;;;35980:18:24;;;35973:34;36024:19;;10598:65:3;35649:400:24;10598:65:3;10775:29;10792:1;10796:7;10775:8;:29::i;:::-;-1:-1:-1;;;;;10815:15:3;;;;;;:9;:15;;;;;:20;;10834:1;;10815:15;:20;;10834:1;;10815:20;:::i;:::-;;;;-1:-1:-1;;;;;;;10845:13:3;;;;;;:9;:13;;;;;:18;;10862:1;;10845:13;:18;;10862:1;;10845:18;:::i;:::-;;;;-1:-1:-1;;10873:16:3;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;10873:21:3;-1:-1:-1;;;;;10873:21:3;;;;;;;;;10910:27;;10873:16;;10910:27;;;;;;;3543:331;3473:401;;:::o;8052:304:21:-;8129:13;8160:19;8192:16;8199:8;8192:6;:16::i;:::-;-1:-1:-1;;;;;8182:27:21;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8182:27:21;;8160:49;;8225:7;8220:97;8243:6;:13;8238:2;:18;8220:97;;;8293:8;8302:2;8293:12;;;;;;;:::i;:::-;;;;8280:6;8287:2;8280:10;;;;;;;;:::i;:::-;;;;:25;-1:-1:-1;;;;;8280:25:21;;;;;;;;-1:-1:-1;8258:5:21;;;;:::i;:::-;;;;8220:97;;;-1:-1:-1;8341:6:21;8052:304;-1:-1:-1;;8052:304:21:o;9277:643::-;9365:13;9411:30;9400:7;:41;;;;;;;;:::i;:::-;;9396:517;;-1:-1:-1;;9458:19:21;;;;;;;;;;;;-1:-1:-1;;;9458:19:21;;;;;9277:643::o;9396:517::-;9510:31;9499:7;:42;;;;;;;;:::i;:::-;;9495:418;;-1:-1:-1;;9558:20:21;;;;;;;;;;;;-1:-1:-1;;;9558:20:21;;;;;9277:643::o;9495:418::-;9611:28;9600:7;:39;;;;;;;;:::i;:::-;;9596:317;;-1:-1:-1;;9656:17:21;;;;;;;;;;;;-1:-1:-1;;;9656:17:21;;;;;9277:643::o;9596:317::-;9706:26;9695:7;:37;;;;;;;;:::i;:::-;;9691:222;;-1:-1:-1;;9749:15:21;;;;;;;;;;;;-1:-1:-1;;;9749:15:21;;;;;9277:643::o;9691:222::-;9797:26;9786:7;:37;;;;;;;;:::i;:::-;;9782:131;;-1:-1:-1;;9840:15:21;;;;;;;;;;;;-1:-1:-1;;;9840:15:21;;;;;9277:643::o;9782:131::-;-1:-1:-1;;9888:13:21;;;;;;;;;;;;-1:-1:-1;;;9888:13:21;;;;;9277:643::o;2263:187:18:-;2355:6;;;-1:-1:-1;;;;;2371:17:18;;;-1:-1:-1;;;;;;2371:17:18;;;;;;;2403:40;;2355:6;;;2371:17;2355:6;;2403:40;;2336:16;;2403:40;2326:124;2263:187;:::o;8820:407:21:-;8895:13;8941:15;8930:7;:26;;;;;;;;:::i;:::-;;8926:294;;-1:-1:-1;;8973:17:21;;;;;;;;;;;;-1:-1:-1;;;8973:17:21;;;;;8820:407::o;8926:294::-;9023:18;9012:7;:29;;;;;;;;:::i;:::-;;9008:212;;-1:-1:-1;;9058:20:21;;;;;;;;;;;;-1:-1:-1;;;9058:20:21;;;;;8820:407::o;9008:212::-;9111:15;9100:7;:26;;;;;;;;:::i;:::-;;9096:124;;-1:-1:-1;;9143:17:21;;;;;;;;;;;;-1:-1:-1;;;9143:17:21;;;;;8820:407::o;9096:124::-;-1:-1:-1;;9193:15:21;;;;;;;;;;;;-1:-1:-1;;;9193:15:21;;;;;8820:407::o;5447:1318::-;5580:19;5645:25;;;:15;;;:25;;;;;;5617:53;;;;;;;;;;5580:19;;5617:53;5645:25;5617:53;;5645:25;;5617:53;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5617:53:21;;;-1:-1:-1;;5617:53:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5699:13:21;;;:68;;-1:-1:-1;5744:23:21;;;;5733:34;;5699:68;5681:1077;;;5801:24;5794:31;;;;;5681:1077;5856:18;;;;:22;5852:906;;5902:26;5895:33;;;;;5852:906;5992:18;;;;6029;;6025:722;;6072:40;;-1:-1:-1;;;6072:40:21;;;;;3949:25:24;;;-1:-1:-1;;;;;6072:24:21;;;;;3922:18:24;;6072:40:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6068:586;;;6162:13;;;:30;6245:21;;;;;:103;;-1:-1:-1;6314:34:21;6331:17;6314:14;:34;:::i;:::-;6299:12;:49;6245:103;6215:333;;;6406:26;6399:33;;;;;;;6215:333;6496:28;6489:35;;;;;;;6068:586;6603:31;6596:38;;;;;;6025:722;6701:30;6694:37;;;;5447:1318;;;;;;:::o;11410:307:3:-;11560:8;-1:-1:-1;;;;;11551:17:3;:5;-1:-1:-1;;;;;11551:17:3;;11543:55;;;;-1:-1:-1;;;11543:55:3;;36256:2:24;11543:55:3;;;36238:21:24;36295:2;36275:18;;;36268:30;36334:27;36314:18;;;36307:55;36379:18;;11543:55:3;36054:349:24;11543:55:3;-1:-1:-1;;;;;11608:25:3;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;11608:46:3;;;;;;;;;;11669:41;;540::24;;;11669::3;;513:18:24;11669:41:3;;;;;;;11410:307;;;:::o;6485:::-;6636:28;6646:4;6652:2;6656:7;6636:9;:28::i;:::-;6682:48;6705:4;6711:2;6715:7;6724:5;6682:22;:48::i;:::-;6674:111;;;;-1:-1:-1;;;6674:111:3;;;;;;;:::i;2588:592:21:-;2728:19;2765:8;2775:14;2821:3;2804:14;:20;2800:73;;;2858:3;2841:20;;2800:73;2898:29;;;:36;2946:186;2958:7;2953:2;:12;;;2946:186;;;3001:29;;;:33;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;2989:45;;;;;:::i;:::-;;;3071:8;3053:26;;:14;:26;3049:72;3100:5;3049:72;2967:5;;;;:::i;:::-;;;;2946:186;;;3169:2;3149:23;;;;;;;;;;:::i;:::-;3142:30;2588:592;-1:-1:-1;;;;;;2588:592:21:o;328:703:20:-;384:13;601:5;610:1;601:10;597:51;;-1:-1:-1;;627:10:20;;;;;;;;;;;;-1:-1:-1;;;627:10:20;;;;;328:703::o;597:51::-;672:5;657:12;711:75;718:9;;711:75;;743:8;;;;:::i;:::-;;-1:-1:-1;765:10:20;;-1:-1:-1;773:2:20;765:10;;:::i;:::-;;;711:75;;;795:19;827:6;-1:-1:-1;;;;;817:17:20;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;817:17:20;;795:39;;844:150;851:10;;844:150;;877:11;887:1;877:11;;:::i;:::-;;-1:-1:-1;945:10:20;953:2;945:5;:10;:::i;:::-;932:24;;:2;:24;:::i;:::-;919:39;;902:6;909;902:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;902:56:20;;;;;;;;-1:-1:-1;972:11:20;981:2;972:11;;:::i;:::-;;;844:150;;3239:708:21;3341:7;3370:10;:17;3391:2;3370:23;3366:75;;-1:-1:-1;3426:1:21;3410:19;;3366:75;3560:4;3544:21;;3538:28;3607:4;3591:21;;3585:28;3662:4;3646:21;;3640:28;3451:9;3632:37;3707:66;3694:79;;3690:129;;;3805:1;3790:17;;;;;;;3690:129;3833:1;:7;;3838:2;3833:7;;:18;;;;;3844:1;:7;;3849:2;3844:7;;3833:18;3829:68;;;3883:1;3868:17;;;;;;;3829:68;3914:25;;;;;;;;;;;;37171::24;;;37244:4;37232:17;;37212:18;;;37205:45;;;;37266:18;;;37259:34;;;37309:18;;;37302:34;;;3914:25:21;;37143:19:24;;3914:25:21;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3914:25:21;;-1:-1:-1;;3914:25:21;;;3239:708;-1:-1:-1;;;;;;;3239:708:21:o;8381:311:3:-;8506:18;8512:2;8516:7;8506:5;:18::i;:::-;8555:54;8586:1;8590:2;8594:7;8603:5;8555:22;:54::i;:::-;8534:151;;;;-1:-1:-1;;;8534:151:3;;;;;;;:::i;1768:239:21:-;1843:12;1873:127;1890:2;1880:7;:12;1873:127;;;1925:8;1934:7;1925:17;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;1925:22:21;1921:68;1968:5;1921:68;1894:10;;;;:::i;:::-;;;;1873:127;;12270:778:3;12420:4;-1:-1:-1;;;;;12440:13:3;;1465:19:0;:23;12436:606:3;;12475:72;;-1:-1:-1;;;12475:72:3;;-1:-1:-1;;;;;12475:36:3;;;;;:72;;719:10:1;;12526:4:3;;12532:7;;12541:5;;12475:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12475:72:3;;;;;;;;-1:-1:-1;;12475:72:3;;;;;;;;;;;;:::i;:::-;;;12471:519;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12714:6;:13;12731:1;12714:18;12710:266;;12756:60;;-1:-1:-1;;;12756:60:3;;;;;;;:::i;12710:266::-;12928:6;12922:13;12913:6;12909:2;12905:15;12898:38;12471:519;-1:-1:-1;;;;;;12597:51:3;-1:-1:-1;;;12597:51:3;;-1:-1:-1;12590:58:3;;12436:606;-1:-1:-1;13027:4:3;12270:778;;;;;;:::o;9014:427::-;-1:-1:-1;;;;;9093:16:3;;9085:61;;;;-1:-1:-1;;;9085:61:3;;38297:2:24;9085:61:3;;;38279:21:24;;;38316:18;;;38309:30;38375:34;38355:18;;;38348:62;38427:18;;9085:61:3;38095:356:24;9085:61:3;7160:4;7183:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7183:16:3;:30;9156:58;;;;-1:-1:-1;;;9156:58:3;;38658:2:24;9156:58:3;;;38640:21:24;38697:2;38677:18;;;38670:30;38736;38716:18;;;38709:58;38784:18;;9156:58:3;38456:352:24;9156:58:3;-1:-1:-1;;;;;9281:13:3;;;;;;:9;:13;;;;;:18;;9298:1;;9281:13;:18;;9298:1;;9281:18;:::i;:::-;;;;-1:-1:-1;;9309:16:3;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;9309:21:3;-1:-1:-1;;;;;9309:21:3;;;;;;;;9346:33;;9309:16;;;9346:33;;9309:16;;9346:33;4219:153;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:24;-1:-1:-1;;;;;;88:32:24;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:24;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:24;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:24:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:131::-;-1:-1:-1;;;;;1418:31:24;;1408:42;;1398:70;;1464:1;1461;1454:12;1479:348;1531:8;1541:6;1595:3;1588:4;1580:6;1576:17;1572:27;1562:55;;1613:1;1610;1603:12;1562:55;-1:-1:-1;1636:20:24;;-1:-1:-1;;;;;1668:30:24;;1665:50;;;1711:1;1708;1701:12;1665:50;1748:4;1740:6;1736:17;1724:29;;1800:3;1793:4;1784:6;1776;1772:19;1768:30;1765:39;1762:59;;;1817:1;1814;1807:12;1762:59;1479:348;;;;;:::o;1832:1253::-;1986:6;1994;2002;2010;2018;2026;2034;2042;2050;2058;2066:7;2120:3;2108:9;2099:7;2095:23;2091:33;2088:53;;;2137:1;2134;2127:12;2088:53;2150:49;2188:9;2175:23;2150:49;:::i;:::-;2231:9;2218:23;2208:33;;-1:-1:-1;;;;;2327:2:24;2321;2310:9;2306:18;2293:32;2290:40;2287:60;;;2343:1;2340;2333:12;2287:60;2382:85;2459:7;2452:2;2441:9;2437:18;2424:32;2413:9;2409:48;2382:85;:::i;:::-;2486:8;;-1:-1:-1;2513:8:24;-1:-1:-1;2568:2:24;2553:18;;2540:32;;-1:-1:-1;2619:2:24;2604:18;;2591:32;;-1:-1:-1;2670:3:24;2655:19;;2642:33;;-1:-1:-1;2722:3:24;2707:19;;2694:33;;-1:-1:-1;2774:3:24;2759:19;;2746:33;;-1:-1:-1;2826:3:24;2811:19;;2798:33;;-1:-1:-1;2874:3:24;2859:19;;2846:33;2843:41;-1:-1:-1;2840:61:24;;;2897:1;2894;2887:12;2840:61;;2937:86;3015:7;3007:3;2996:9;2992:19;2979:33;2968:9;2964:49;2937:86;:::i;:::-;3042:8;3032:18;;3070:9;3059:20;;;;1832:1253;;;;;;;;;;;;;;:::o;3090:180::-;3149:6;3202:2;3190:9;3181:7;3177:23;3173:32;3170:52;;;3218:1;3215;3208:12;3170:52;-1:-1:-1;3241:23:24;;3090:180;-1:-1:-1;3090:180:24:o;3483:315::-;3551:6;3559;3612:2;3600:9;3591:7;3587:23;3583:32;3580:52;;;3628:1;3625;3618:12;3580:52;3667:9;3654:23;3686:31;3711:5;3686:31;:::i;:::-;3736:5;3788:2;3773:18;;;;3760:32;;-1:-1:-1;;;3483:315:24:o;4215:456::-;4292:6;4300;4308;4361:2;4349:9;4340:7;4336:23;4332:32;4329:52;;;4377:1;4374;4367:12;4329:52;4416:9;4403:23;4435:31;4460:5;4435:31;:::i;:::-;4485:5;-1:-1:-1;4542:2:24;4527:18;;4514:32;4555:33;4514:32;4555:33;:::i;:::-;4215:456;;4607:7;;-1:-1:-1;;;4661:2:24;4646:18;;;;4633:32;;4215:456::o;4676:127::-;4737:10;4732:3;4728:20;4725:1;4718:31;4768:4;4765:1;4758:15;4792:4;4789:1;4782:15;4808:242;4951:2;4936:18;;4984:1;4973:13;;4963:47;;4990:18;;:::i;:::-;5019:25;;;4808:242;:::o;5055:247::-;5114:6;5167:2;5155:9;5146:7;5142:23;5138:32;5135:52;;;5183:1;5180;5173:12;5135:52;5222:9;5209:23;5241:31;5266:5;5241:31;:::i;5307:150::-;5398:1;5391:5;5388:12;5378:46;;5404:18;;:::i;:::-;5433;;5307:150::o;5462:1021::-;5518:3;5546:6;5587:5;5581:12;5614:2;5609:3;5602:15;5638:45;5679:2;5674:3;5670:12;5656;5638:45;:::i;:::-;5626:57;;;5732:4;5725:5;5721:16;5715:23;5708:4;5703:3;5699:14;5692:47;5788:4;5781:5;5777:16;5771:23;5764:4;5759:3;5755:14;5748:47;5844:4;5837:5;5833:16;5827:23;5820:4;5815:3;5811:14;5804:47;5899:4;5892:5;5888:16;5882:23;5914:67;5975:4;5970:3;5966:14;5950;5914:67;:::i;:::-;-1:-1:-1;6030:4:24;6019:16;;;6013:23;5997:14;;;5990:47;6086:4;6075:16;;;6069:23;6053:14;;;6046:47;6142:4;6131:16;;;6125:23;6109:14;;;6102:47;6168:6;6210:14;;;6204:21;6190:12;;;6183:43;6245:6;6287:14;;;6281:21;6267:12;;;6260:43;6322:6;6364:14;;;6358:21;6344:12;;;6337:43;6399:6;6441:14;;;6435:21;6421:12;;;;6414:43;;;;-1:-1:-1;6473:4:24;5462:1021::o;6488:276::-;6679:2;6668:9;6661:21;6642:4;6699:59;6754:2;6743:9;6739:18;6731:6;6699:59;:::i;7607:444::-;7658:3;7696:5;7690:12;7723:6;7718:3;7711:19;7749:4;7778:2;7773:3;7769:12;7762:19;;7815:2;7808:5;7804:14;7836:1;7846:180;7860:6;7857:1;7854:13;7846:180;;;7925:13;;7940:4;7921:24;7909:37;;7966:12;;;;8001:15;;;;7882:1;7875:9;7846:180;;;-1:-1:-1;8042:3:24;;7607:444;-1:-1:-1;;;;;7607:444:24:o;8056:471::-;8237:2;8226:9;8219:21;8282:6;8276:13;8271:2;8260:9;8256:18;8249:41;8344:2;8336:6;8332:15;8326:22;8321:2;8310:9;8306:18;8299:50;8200:4;8396:2;8388:6;8384:15;8378:22;8438:4;8431;8420:9;8416:20;8409:34;8460:61;8516:3;8505:9;8501:19;8487:12;8460:61;:::i;8532:255::-;8688:2;8673:18;;8721:1;8710:13;;8700:47;;8727:18;;:::i;8792:118::-;8878:5;8871:13;8864:21;8857:5;8854:32;8844:60;;8900:1;8897;8890:12;8915:382;8980:6;8988;9041:2;9029:9;9020:7;9016:23;9012:32;9009:52;;;9057:1;9054;9047:12;9009:52;9096:9;9083:23;9115:31;9140:5;9115:31;:::i;:::-;9165:5;-1:-1:-1;9222:2:24;9207:18;;9194:32;9235:30;9194:32;9235:30;:::i;:::-;9284:7;9274:17;;;8915:382;;;;;:::o;9302:127::-;9363:10;9358:3;9354:20;9351:1;9344:31;9394:4;9391:1;9384:15;9418:4;9415:1;9408:15;9434:275;9505:2;9499:9;9570:2;9551:13;;-1:-1:-1;;9547:27:24;9535:40;;-1:-1:-1;;;;;9590:34:24;;9626:22;;;9587:62;9584:88;;;9652:18;;:::i;:::-;9688:2;9681:22;9434:275;;-1:-1:-1;9434:275:24:o;9714:186::-;9762:4;-1:-1:-1;;;;;9787:6:24;9784:30;9781:56;;;9817:18;;:::i;:::-;-1:-1:-1;9883:2:24;9862:15;-1:-1:-1;;9858:29:24;9889:4;9854:40;;9714:186::o;9905:336::-;9969:5;9998:52;10014:35;10042:6;10014:35;:::i;:::-;9998:52;:::i;:::-;9989:61;;10073:6;10066:5;10059:21;10113:3;10104:6;10099:3;10095:16;10092:25;10089:45;;;10130:1;10127;10120:12;10089:45;10179:6;10174:3;10167:4;10160:5;10156:16;10143:43;10233:1;10226:4;10217:6;10210:5;10206:18;10202:29;10195:40;9905:336;;;;;:::o;10246:794::-;10341:6;10349;10357;10365;10418:3;10406:9;10397:7;10393:23;10389:33;10386:53;;;10435:1;10432;10425:12;10386:53;10474:9;10461:23;10493:31;10518:5;10493:31;:::i;:::-;10543:5;-1:-1:-1;10600:2:24;10585:18;;10572:32;10613:33;10572:32;10613:33;:::i;:::-;10665:7;-1:-1:-1;10719:2:24;10704:18;;10691:32;;-1:-1:-1;10774:2:24;10759:18;;10746:32;-1:-1:-1;;;;;10790:30:24;;10787:50;;;10833:1;10830;10823:12;10787:50;10856:22;;10909:4;10901:13;;10897:27;-1:-1:-1;10887:55:24;;10938:1;10935;10928:12;10887:55;10961:73;11026:7;11021:2;11008:16;11003:2;10999;10995:11;10961:73;:::i;:::-;10951:83;;;10246:794;;;;;;;:::o;11045:866::-;11168:6;11176;11184;11192;11200;11208;11216;11269:3;11257:9;11248:7;11244:23;11240:33;11237:53;;;11286:1;11283;11276:12;11237:53;11326:9;11313:23;-1:-1:-1;;;;;11351:6:24;11348:30;11345:50;;;11391:1;11388;11381:12;11345:50;11414:22;;11467:4;11459:13;;11455:27;-1:-1:-1;11445:55:24;;11496:1;11493;11486:12;11445:55;11519:75;11586:7;11581:2;11568:16;11561:4;11557:2;11553:13;11519:75;:::i;:::-;11509:85;11641:4;11626:20;;11613:34;;-1:-1:-1;11694:2:24;11679:18;;11666:32;;11745:2;11730:18;;11717:32;;-1:-1:-1;11796:3:24;11781:19;;11768:33;;-1:-1:-1;11848:3:24;11833:19;;11820:33;;-1:-1:-1;11900:3:24;11885:19;11872:33;;-1:-1:-1;11045:866:24;-1:-1:-1;;;;11045:866:24:o;12190:114::-;12274:4;12267:5;12263:16;12256:5;12253:27;12243:55;;12294:1;12291;12284:12;12309:1153;12409:6;12417;12425;12478:2;12466:9;12457:7;12453:23;12449:32;12446:52;;;12494:1;12491;12484:12;12446:52;12530:9;12517:23;12507:33;;12559:2;12608;12597:9;12593:18;12580:32;12570:42;;12663:2;12652:9;12648:18;12635:32;-1:-1:-1;;;;;12727:2:24;12719:6;12716:14;12713:34;;;12743:1;12740;12733:12;12713:34;12781:6;12770:9;12766:22;12756:32;;12826:7;12819:4;12815:2;12811:13;12807:27;12797:55;;12848:1;12845;12838:12;12797:55;12884:2;12871:16;12906:2;12902;12899:10;12896:36;;;12912:18;;:::i;:::-;12958:2;12955:1;12951:10;12941:20;;12981:28;13005:2;13001;12997:11;12981:28;:::i;:::-;13043:15;;;13113:11;;;13109:20;;;13074:12;;;;13141:19;;;13138:39;;;13173:1;13170;13163:12;13138:39;13197:11;;;;13217:215;13233:6;13228:3;13225:15;13217:215;;;13313:3;13300:17;13287:30;;13330:29;13353:5;13330:29;:::i;:::-;13372:18;;;13250:12;;;;13410;;;;13217:215;;;13451:5;13441:15;;;;;;;;12309:1153;;;;;:::o;13467:388::-;13535:6;13543;13596:2;13584:9;13575:7;13571:23;13567:32;13564:52;;;13612:1;13609;13602:12;13564:52;13651:9;13638:23;13670:31;13695:5;13670:31;:::i;:::-;13720:5;-1:-1:-1;13777:2:24;13762:18;;13749:32;13790:33;13749:32;13790:33;:::i;14329:380::-;14408:1;14404:12;;;;14451;;;14472:61;;14526:4;14518:6;14514:17;14504:27;;14472:61;14579:2;14571:6;14568:14;14548:18;14545:38;14542:161;;14625:10;14620:3;14616:20;14613:1;14606:31;14660:4;14657:1;14650:15;14688:4;14685:1;14678:15;15427:127;15488:10;15483:3;15479:20;15476:1;15469:31;15519:4;15516:1;15509:15;15543:4;15540:1;15533:15;15559:135;15598:3;15619:17;;;15616:43;;15639:18;;:::i;:::-;-1:-1:-1;15686:1:24;15675:13;;15559:135::o;15699:128::-;15739:3;15770:1;15766:6;15763:1;15760:13;15757:39;;;15776:18;;:::i;:::-;-1:-1:-1;15812:9:24;;15699:128::o;15832:125::-;15872:4;15900:1;15897;15894:8;15891:34;;;15905:18;;:::i;:::-;-1:-1:-1;15942:9:24;;15832:125::o;15962:168::-;16002:7;16068:1;16064;16060:6;16056:14;16053:1;16050:21;16045:1;16038:9;16031:17;16027:45;16024:71;;;16075:18;;:::i;:::-;-1:-1:-1;16115:9:24;;15962:168::o;16135:127::-;16196:10;16191:3;16187:20;16184:1;16177:31;16227:4;16224:1;16217:15;16251:4;16248:1;16241:15;16267:120;16307:1;16333;16323:35;;16338:18;;:::i;:::-;-1:-1:-1;16372:9:24;;16267:120::o;17632:356::-;17834:2;17816:21;;;17853:18;;;17846:30;17912:34;17907:2;17892:18;;17885:62;17979:2;17964:18;;17632:356::o;17993:413::-;18195:2;18177:21;;;18234:2;18214:18;;;18207:30;18273:34;18268:2;18253:18;;18246:62;-1:-1:-1;;;18339:2:24;18324:18;;18317:47;18396:3;18381:19;;17993:413::o;18411:635::-;18491:6;18544:2;18532:9;18523:7;18519:23;18515:32;18512:52;;;18560:1;18557;18550:12;18512:52;18593:9;18587:16;-1:-1:-1;;;;;18618:6:24;18615:30;18612:50;;;18658:1;18655;18648:12;18612:50;18681:22;;18734:4;18726:13;;18722:27;-1:-1:-1;18712:55:24;;18763:1;18760;18753:12;18712:55;18792:2;18786:9;18817:48;18833:31;18861:2;18833:31;:::i;18817:48::-;18888:2;18881:5;18874:17;18928:7;18923:2;18918;18914;18910:11;18906:20;18903:33;18900:53;;;18949:1;18946;18939:12;18900:53;18962:54;19013:2;19008;19001:5;18997:14;18992:2;18988;18984:11;18962:54;:::i;:::-;19035:5;18411:635;-1:-1:-1;;;;;18411:635:24:o;19872:245::-;19939:6;19992:2;19980:9;19971:7;19967:23;19963:32;19960:52;;;20008:1;20005;19998:12;19960:52;20040:9;20034:16;20059:28;20081:5;20059:28;:::i;20479:184::-;20549:6;20602:2;20590:9;20581:7;20577:23;20573:32;20570:52;;;20618:1;20615;20608:12;20570:52;-1:-1:-1;20641:16:24;;20479:184;-1:-1:-1;20479:184:24:o;20921:1175::-;21028:6;21081:3;21069:9;21060:7;21056:23;21052:33;21049:53;;;21098:1;21095;21088:12;21049:53;21131:2;21125:9;21173:3;21165:6;21161:16;21243:6;21231:10;21228:22;-1:-1:-1;;;;;21195:10:24;21192:34;21189:62;21186:88;;;21254:18;;:::i;:::-;21290:2;21283:22;21327:16;;21352:29;21327:16;21352:29;:::i;:::-;21390:21;;21456:2;21441:18;;21435:25;21469:31;21435:25;21469:31;:::i;:::-;21528:2;21516:15;;21509:32;21586:2;21571:18;;21565:25;21599:31;21565:25;21599:31;:::i;:::-;21658:2;21646:15;;21639:32;21716:2;21701:18;;21695:25;21729:31;21695:25;21729:31;:::i;:::-;21788:2;21776:15;;21769:32;21846:3;21831:19;;21825:26;21860:31;21825:26;21860:31;:::i;:::-;21919:3;21907:16;;21900:33;21978:3;21963:19;;21957:26;21992:31;21957:26;21992:31;:::i;:::-;22051:3;22039:16;;22032:33;22043:6;20921:1175;-1:-1:-1;;;20921:1175:24:o;22640:347::-;22859:6;22848:9;22841:25;22902:2;22897;22886:9;22882:18;22875:30;22822:4;22922:59;22977:2;22966:9;22962:18;22954:6;22922:59;:::i;23341:950::-;23770:3;23808:6;23802:13;23824:53;23870:6;23865:3;23858:4;23850:6;23846:17;23824:53;:::i;:::-;-1:-1:-1;;;23899:16:24;;;23924:26;;;23975:13;;23997:65;23975:13;24049:1;24038:13;;24031:4;24019:17;;23997:65;:::i;:::-;-1:-1:-1;;;24125:1:24;24081:20;;;;24117:10;;;24110:23;24158:13;;24180:63;24158:13;24229:2;24221:11;;24214:4;24202:17;;24180:63;:::i;:::-;24263:17;24282:2;24259:26;;23341:950;-1:-1:-1;;;;;23341:950:24:o;24773:772::-;24823:3;24864:5;24858:12;24893:36;24919:9;24893:36;:::i;:::-;24938:19;;;24976:4;24999:1;25016:18;;;25043:146;;;;25203:1;25198:341;;;;25009:530;;25043:146;-1:-1:-1;;25085:24:24;;25071:12;;;25064:46;25157:14;;25150:22;25147:1;25143:30;25134:40;;25130:49;;;-1:-1:-1;25043:146:24;;25198:341;25229:5;25226:1;25219:16;25276:2;25273:1;25263:16;25301:1;25315:174;25329:6;25326:1;25323:13;25315:174;;;25416:14;;25398:11;;;25394:20;;25387:44;25459:16;;;;25344:10;;25315:174;;;25513:11;;25509:20;;;-1:-1:-1;;25009:530:24;;;;;;24773:772;;;;:::o;25695:1243::-;25911:6;25900:9;25893:25;25954:2;25949;25938:9;25934:18;25927:30;25874:4;25976:6;26018:2;26013;26002:9;25998:18;25991:30;26044:54;26093:3;26082:9;26078:19;26070:6;26044:54;:::i;:::-;26152:4;26140:17;;26134:24;26129:2;26114:18;;26107:52;26214:4;26202:17;;26196:24;26190:3;26175:19;;26168:53;26276:4;26264:17;;26258:24;26252:3;26237:19;;26230:53;26390:4;26378:17;;26372:24;25679:4;25663:21;26406:70;26471:3;26460:9;26456:19;26442:12;26406:70;:::i;:::-;;26531:4;26523:6;26519:17;26513:24;26507:3;26496:9;26492:19;26485:53;26593:4;26585:6;26581:17;26575:24;26569:3;26558:9;26554:19;26547:53;26655:4;26647:6;26643:17;26637:24;26631:3;26620:9;26616:19;26609:53;26717:4;26709:6;26705:17;26699:24;26693:3;26682:9;26678:19;26671:53;26779:4;26771:6;26767:17;26761:24;26755:3;26744:9;26740:19;26733:53;26840:4;26832:6;26828:17;26822:24;26817:2;26806:9;26802:18;26795:52;26902:4;26894:6;26890:17;26884:24;26878:3;26867:9;26863:19;26856:53;26926:6;26918:14;;;;25695:1243;;;;;:::o;27291:204::-;27329:3;27365:4;27362:1;27358:12;27397:4;27394:1;27390:12;27432:3;27426:4;27422:14;27417:3;27414:23;27411:49;;;27440:18;;:::i;:::-;27476:13;;27291:204;-1:-1:-1;;;27291:204:24:o;27859:127::-;27920:10;27915:3;27911:20;27908:1;27901:31;27951:4;27948:1;27941:15;27975:4;27972:1;27965:15;27991:175;28028:3;28072:4;28065:5;28061:16;28101:4;28092:7;28089:17;28086:43;;28109:18;;:::i;:::-;28158:1;28145:15;;27991:175;-1:-1:-1;;27991:175:24:o;28573:397::-;28804:6;28793:9;28786:25;28847:6;28842:2;28831:9;28827:18;28820:34;28890:2;28885;28874:9;28870:18;28863:30;28767:4;28910:54;28960:2;28949:9;28945:18;28937:6;28910:54;:::i;31128:769::-;-1:-1:-1;;;;;31495:32:24;;31477:51;;31465:3;31559:2;31544:18;;31537:30;;;31436:4;;31584:45;31610:18;;;31602:6;31584:45;:::i;:::-;31660:2;31645:18;;31638:34;;;;-1:-1:-1;;31703:2:24;31688:18;;31681:34;;;;31746:3;31731:19;;31724:35;;;;31790:3;31775:19;;31768:35;;;;31834:3;31819:19;;31812:35;31878:3;31863:19;;;31856:35;31576:53;31128:769;-1:-1:-1;;31128:769:24:o;32254:545::-;32356:2;32351:3;32348:11;32345:448;;;32392:1;32417:5;32413:2;32406:17;32462:4;32458:2;32448:19;32532:2;32520:10;32516:19;32513:1;32509:27;32503:4;32499:38;32568:4;32556:10;32553:20;32550:47;;;-1:-1:-1;32591:4:24;32550:47;32646:2;32641:3;32637:12;32634:1;32630:20;32624:4;32620:31;32610:41;;32701:82;32719:2;32712:5;32709:13;32701:82;;;32764:17;;;32745:1;32734:13;32701:82;;;32705:3;;;32254:545;;;:::o;32975:1206::-;-1:-1:-1;;;;;33094:3:24;33091:27;33088:53;;;33121:18;;:::i;:::-;33150:94;33240:3;33200:38;33232:4;33226:11;33200:38;:::i;:::-;33194:4;33150:94;:::i;:::-;33270:1;33295:2;33290:3;33287:11;33312:1;33307:616;;;;33967:1;33984:3;33981:93;;;-1:-1:-1;34040:19:24;;;34027:33;33981:93;-1:-1:-1;;32932:1:24;32928:11;;;32924:24;32920:29;32910:40;32956:1;32952:11;;;32907:57;34087:78;;33280:895;;33307:616;24720:1;24713:14;;;24757:4;24744:18;;-1:-1:-1;;33343:17:24;;;33444:9;33466:229;33480:7;33477:1;33474:14;33466:229;;;33569:19;;;33556:33;33541:49;;33676:4;33661:20;;;;33629:1;33617:14;;;;33496:12;33466:229;;;33470:3;33723;33714:7;33711:16;33708:159;;;33847:1;33843:6;33837:3;33831;33828:1;33824:11;33820:21;33816:34;33812:39;33799:9;33794:3;33790:19;33777:33;33773:79;33765:6;33758:95;33708:159;;;33910:1;33904:3;33901:1;33897:11;33893:19;33887:4;33880:33;33280:895;;;32975:1206;;;:::o;34186:267::-;34272:6;34325:2;34313:9;34304:7;34300:23;34296:32;34293:52;;;34341:1;34338;34331:12;34293:52;34373:9;34367:16;34392:31;34417:5;34392:31;:::i;34458:367::-;34554:6;34562;34570;34578;34631:3;34619:9;34610:7;34606:23;34602:33;34599:53;;;34648:1;34645;34638:12;34599:53;-1:-1:-1;;34671:16:24;;34727:2;34712:18;;34706:25;34771:2;34756:18;;34750:25;34815:2;34800:18;;;34794:25;34671:16;;34706:25;;-1:-1:-1;34794:25:24;;-1:-1:-1;34458:367:24;-1:-1:-1;34458:367:24:o;36408:414::-;36610:2;36592:21;;;36649:2;36629:18;;;36622:30;36688:34;36683:2;36668:18;;36661:62;-1:-1:-1;;;36754:2:24;36739:18;;36732:48;36812:3;36797:19;;36408:414::o;36827:112::-;36859:1;36885;36875:35;;36890:18;;:::i;:::-;-1:-1:-1;36924:9:24;;36827:112::o;37347:489::-;-1:-1:-1;;;;;37616:15:24;;;37598:34;;37668:15;;37663:2;37648:18;;37641:43;37715:2;37700:18;;37693:34;;;37763:3;37758:2;37743:18;;37736:31;;;37541:4;;37784:46;;37810:19;;37802:6;37784:46;:::i;37841:249::-;37910:6;37963:2;37951:9;37942:7;37938:23;37934:32;37931:52;;;37979:1;37976;37969:12;37931:52;38011:9;38005:16;38030:30;38054:5;38030:30;:::i

Swarm Source

ipfs://9347b6533420a72a13df2bdf48b1842f934700f04583cfe7e087cb5ed11bdbf0

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

OVERVIEW

**WittyCreatures by Witnet — EthCC[5] Edition**. A gamified NFT minting ceremony, exclusive for EthCC[5] attendees, featuring the cutest creatures and powered by the Witnet multichain decentralized oracle and its 16+ supported chains.

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ 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.