ETH Price: $3,330.85 (-3.95%)

Token

Metamaticians (METAMATH)
 

Overview

Max Total Supply

635 METAMATH

Holders

153

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 METAMATH
0x66C25a700F9c762891b4d6fbf5aF9Dc2eb04266A
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Metamaticians

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 8000 runs

Other Settings:
default evmVersion
File 1 of 24 : Metamaticians.sol
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.7;

import "./interfaces/IMetamaticiansAttributes.sol";
import "./ERC721Checkpointable.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@chainlink/contracts/src/v0.8/VRFConsumerBase.sol";
import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";
import "base64-sol/base64.sol";
import "hardhat/console.sol";

contract Metamaticians is
    ERC721Checkpointable,
    Ownable,
    ReentrancyGuard,
    VRFConsumerBase {

    using Counters for Counters.Counter;
    Counters.Counter private _tokenIds;

    using Strings for string;
    using Strings for uint256;

    IUniswapV2Router02 public uniswapRouter;

    bytes32 internal keyHash;
    uint256 internal fee;
    address public VRFCoordinator;
    address public LinkToken;
    uint256 public royaltyFee;
    address public MetamaticianAttributesAddress;

    uint constant public MAX_MINTS = 8000;
    uint constant public OWNER_MINTS = 1600;
    uint constant public PUBLIC_MINTS = 6400;
    uint constant public MINT_LIMIT_PER_ADDRESS = 50;
    uint constant public MINT_FEE = 0.618 ether;
    uint constant RESERVE_TREASURY_MINTING_FEE = 500000000000000000;

    mapping(bytes32 => address) public requestIdToMinter;
    mapping(address => bytes32) public minterToRequestId;
    mapping(uint256 => address) public tokenIdToOwner;
    mapping(uint256 => uint256) public tokenIdToPieceOfPi;
    mapping(bytes32 => uint256) public requestIdToToken;

    event MintAttempt(address indexed _minter, uint _quantity);
    event OwnerMintAttempt(address indexed _minter, uint _quantity);
    event TokenGeneration(address indexed _minter, uint _tokenId, uint _randomNumber);
    event RandomNumberFullfilled(address indexed _minter, uint _tokenId, uint _randomNumber);
    event NewRoyaltySet(uint _oldRoyalty, uint _newRoyalty);
    event RandomnessRequested(address indexed _minter);
    event SwapCompleted(uint _amount);

    // EXAMPLE:
    /**
        * Constructor inherits VRFConsumerBase
        *
        * Network: Kovan
        * Chainlink VRF Coordinator address: 0xdD3782915140c8f3b190B5D67eAc6dc5760C46E9
        * LINK token address:                0xa36085F69e2889c224210F603D836748e7dC0088
        * Key Hash: 0x6c3699283bda56ad74f6b855546325b68d482e983852a7a82979cc4807b641f4
    */

    constructor(address _VRFCoordinator, address _LinkToken, bytes32 _keyhash, uint256 _fee, address _metamaticianAttributesAddress, address _uniswapRouter)
        VRFConsumerBase(_VRFCoordinator, _LinkToken)
        ERC721("Metamaticians", "METAMATH")
    {
        VRFCoordinator = _VRFCoordinator;
        LinkToken = _LinkToken;
        keyHash = _keyhash;
        fee = _fee;
        MetamaticianAttributesAddress = _metamaticianAttributesAddress;
        royaltyFee = 500;

        uniswapRouter = IUniswapV2Router02(_uniswapRouter);
    }

    function mintItem(uint256 _quantity, uint256 _deadline)
        external
        payable
        nonReentrant
    {
        require(_quantity <= MINT_LIMIT_PER_ADDRESS, "Max quantity 50");
        require((_tokenIds.current() + _quantity) <= PUBLIC_MINTS, "Exceeding public mints");
        require(msg.value == (MINT_FEE * _quantity), "Required amount per NFT: 0.618 ETH");
        require((ERC721.balanceOf(msg.sender) + _quantity) <= MINT_LIMIT_PER_ADDRESS, "Mint limit reached per account");

        emit MintAttempt(msg.sender, _quantity);

        uint256 amountOut = (fee + RESERVE_TREASURY_MINTING_FEE) * _quantity;
		address[] memory path = new address[](2);
        path[0] = uniswapRouter.WETH();
        path[1] = LinkToken;

        uniswapRouter.swapETHForExactTokens{value: msg.value}(amountOut, path, address(this), _deadline);

        for (uint256 i = 0; i < _quantity; i++) {
            emit RandomnessRequested(msg.sender);

            bytes32 requestId = requestRandomness(keyHash, fee);
            requestIdToMinter[requestId] = msg.sender;
            minterToRequestId[msg.sender] = requestId;

            _tokenIds.increment();
            uint tokenId = _tokenIds.current();

            requestIdToToken[requestId] = tokenId;
            tokenIdToOwner[tokenId] = msg.sender;
            _safeMint(requestIdToMinter[requestId], tokenId);
        }
    }

    function ownerMintItem(uint256 _quantity)
        external
        onlyOwner
    {
        require((_tokenIds.current() + _quantity) <= MAX_MINTS, "Owner mints not available");

        emit OwnerMintAttempt(msg.sender, _quantity);

        for (uint256 i = 0; i < _quantity; i++) {
            emit RandomnessRequested(msg.sender);

            bytes32 requestId = requestRandomness(keyHash, fee);
            requestIdToMinter[requestId] = msg.sender;
            minterToRequestId[msg.sender] = requestId;

            _tokenIds.increment();
            uint tokenId = _tokenIds.current();

            requestIdToToken[requestId] = tokenId;
            tokenIdToOwner[tokenId] = msg.sender;
            _safeMint(requestIdToMinter[requestId], tokenId);
        }
    }

    function fulfillRandomness(bytes32 requestId, uint256 randomNumber)
        internal
        override
    {
        bytes32 randomHash = keccak256(abi.encode(requestId, randomNumber));
        string memory randomHashString = uint(randomHash).toString();
        string memory subString = substring(randomHashString, 8, 0);
        uint pieceOfPi = stringToUint(subString);

        address owner = requestIdToMinter[requestId];
        uint tokenId = requestIdToToken[requestId];
        tokenIdToPieceOfPi[tokenId] = pieceOfPi;

        emit RandomNumberFullfilled(owner, tokenId, randomNumber);
    }

    function svg(uint256 tokenId) public view returns (string memory) {
        uint pieceOfPi = tokenIdToPieceOfPi[tokenId];
        require(pieceOfPi != 0, "does not exist");

        return IMetamaticiansAttributes(MetamaticianAttributesAddress).getSVG(pieceOfPi, tokenId);
    }

    function tokenURI(uint256 tokenId) public view override returns (string memory) {
        uint pieceOfPi = tokenIdToPieceOfPi[tokenId];

        require(pieceOfPi != 0, "does not yet exist");

        string memory name = getName(pieceOfPi);
        string memory suffix = getSuffix(pieceOfPi);
        string memory greekName = getGreekName(pieceOfPi);

        string memory json = string(
            abi.encodePacked(
                '{',
                    '"description": "Metamaticians are randomly generated and have 100% on-chain art and metadata",',
                    '"external_url": "https://defrag.fi/",',
                    '"image": "', svg(tokenId), '",',
                    '"attributes": [',
                        '{',
                            '"trait_type": "Name",',
                            '"value": "', name, '"',
                        '},',
                        '{',
                            '"trait_type": "Suffix",',
                            '"value": "', suffix, '"',
                        '},',
                        '{',
                            '"trait_type": "Greek",',
                            '"value": "', greekName, '"',
                        '},',
                        '{',
                            '"trait_type": "Piece of Pi",',
                            '"value": "', pieceOfPi.toString(), '"',
                        '},',
                        '{',
                            '"display_type": "date",',
                            '"trait_type": "Birthday",',
                            '"value": "', block.timestamp.toString(), '"',
                        '}',
                    ']',
                '}'
            )
        );

        string memory encodedJson = Base64.encode(bytes(json));
        string memory output = string(abi.encodePacked("data:application/json;base64,", encodedJson));
        return output;
    }

    function contractURI() public view returns (string memory) {
        address owner = owner();
        string memory json = string(
            abi.encodePacked(
                '{',
                    '"name": "Metamaticians",',
                    '"description": "Metamaticians are randomly generated and have 100% on-chain art and metadata. All of the minting proceeds are deposited into the DeFrag DAO Treasury and will be used to jumpstart the first NFT underwriting pool. Each Metamatician NFT has an attached ETH staked value in this underwriting pool which will accrue option premium fees in perpetuity. Learn more on our docs!",',
                    '"image": "https://defrag.fi/opensea-image.png",',
                    '"external_link": "https://defrag.fi/",',
                    '"seller_fee_basis_points": ', royaltyFee.toString(), ',',
                    '"fee_recipient": "', addressToString(owner), '"',
                '}'
            )
        );
        string memory encodedJson = Base64.encode(bytes(json));
        string memory output = string(abi.encodePacked("data:application/json;base64,", encodedJson));
        return output;
    }

    function withdrawLINK(address to, uint256 value) public onlyOwner {
        require(LINK.transfer(to, value), "Not enough LINK");
    }

    function withdraw() public onlyOwner {
		(bool success, ) = msg.sender.call{value: address(this).balance}("");
		require(success, "Withdrawal failed");
	}

    function setNewRoyaltyFeeBasisPoints(uint newRoyalty) public onlyOwner {
        uint oldRoyalty = royaltyFee;
		royaltyFee = newRoyalty;
        emit NewRoyaltySet(oldRoyalty, newRoyalty);
	}

    receive() external payable {
        emit SwapCompleted(msg.value);
    }

    function getName(uint pieceOfPie) internal view returns (string memory) {
        return IMetamaticiansAttributes(MetamaticianAttributesAddress).getName(pieceOfPie);
    }

    function getSuffix(uint pieceOfPie) internal view returns (string memory) {
        return IMetamaticiansAttributes(MetamaticianAttributesAddress).getSuffix(pieceOfPie);
    }

    function getGreek(uint pieceOfPie) internal view returns (string memory) {
        return IMetamaticiansAttributes(MetamaticianAttributesAddress).getGreek(pieceOfPie);
    }

    function getGreekName(uint pieceOfPie) internal view returns (string memory) {
        return IMetamaticiansAttributes(MetamaticianAttributesAddress).getGreekName(pieceOfPie);
    }

    function addressToString(address _addr) internal pure returns (string memory) {
        bytes32 value = bytes32(uint256(uint160(_addr)));
        bytes memory alphabet = "0123456789abcdef";

        bytes memory str = new bytes(42);
        str[0] = "0";
        str[1] = "x";
        for (uint i = 0; i < 20; i++) {
            str[2+i*2] = alphabet[uint(uint8(value[i + 12] >> 4))];
            str[3+i*2] = alphabet[uint(uint8(value[i + 12] & 0x0f))];
        }

        return string(str);
    }

    function substring(string memory _base, int _length, int _offset)
        internal
        pure
        returns (string memory) {
        bytes memory _baseBytes = bytes(_base);

        assert(uint(_offset + _length) <= _baseBytes.length);

        string memory _tmp = new string(uint(_length));
        bytes memory _tmpBytes = bytes(_tmp);

        uint j = 0;
        for (uint i = uint(_offset); i < uint(_offset + _length); i++) {
            _tmpBytes[j++] = _baseBytes[i];
        }

        return string(_tmpBytes);
    }

    function stringToUint(string memory numString) internal pure returns(uint) {
        uint  val=0;
        bytes   memory stringBytes = bytes(numString);
        for (uint  i =  0; i < stringBytes.length; i++) {
            uint exp = stringBytes.length - i;
            bytes1 ival = stringBytes[i];
            uint8 uval = uint8(ival);
            uint jval = uval - uint(0x30);

           val +=  (uint(jval) * (10**(exp-1)));
        }
      return val;
    }
}

File 2 of 24 : IMetamaticiansAttributes.sol
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.7;

interface IMetamaticiansAttributes {
   function getName(uint pieceOfPie) external view returns (string memory);
   function getSuffix(uint pieceOfPie) external view returns (string memory);
   function getGreek(uint pieceOfPie) external view returns (string memory);
   function getGreekName(uint pieceOfPie) external view returns (string memory);
   function getSVG(uint256 pieceOfPi, uint256 tokenId) external view returns (string memory);
}

File 3 of 24 : ERC721Checkpointable.sol
// SPDX-License-Identifier: BSD-3-Clause

/// @title Vote checkpointing for an ERC-721 token

// LICENSE
// ERC721Checkpointable.sol uses and modifies part of Compound Lab's Comp.sol:
// https://github.com/compound-finance/compound-protocol/blob/ae4388e780a8d596d97619d9704a931a2752c2bc/contracts/Governance/Comp.sol
//
// Comp.sol source code Copyright 2020 Compound Labs, Inc. licensed under the BSD-3-Clause license.
//
// Additional conditions of BSD-3-Clause can be found here: https://opensource.org/licenses/BSD-3-Clause
//
// MODIFICATIONS
// Checkpointing logic from Comp.sol has been used with the following modifications:
// - `delegates` is renamed to `_delegates` and is set to private
// - `delegates` is a public function that uses the `_delegates` mapping look-up, but unlike
//   Comp.sol, returns the delegator's own address if there is no delegate.
//   This avoids the delegator needing to "delegate to self" with an additional transaction
// - `_transferTokens()` is renamed `_beforeTokenTransfer()` and adapted to hook into OpenZeppelin's ERC721 hooks.

pragma solidity ^0.8.7;

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";

abstract contract ERC721Checkpointable is ERC721Enumerable {
    /// @notice Defines decimals as per ERC-20 convention to make integrations with 3rd party governance platforms easier
    uint8 public constant decimals = 0;

    /// @notice A record of each accounts delegate
    mapping(address => address) private _delegates;

    /// @notice A checkpoint for marking number of votes from a given block
    struct Checkpoint {
        uint32 fromBlock;
        uint96 votes;
    }

    /// @notice A record of votes checkpoints for each account, by index
    mapping(address => mapping(uint32 => Checkpoint)) public checkpoints;

    /// @notice The number of checkpoints for each account
    mapping(address => uint32) public numCheckpoints;

    /// @notice The EIP-712 typehash for the contract's domain
    bytes32 public constant DOMAIN_TYPEHASH =
        keccak256("EIP712Domain(string name,uint256 chainId,address verifyingContract)");

    /// @notice The EIP-712 typehash for the delegation struct used by the contract
    bytes32 public constant DELEGATION_TYPEHASH =
        keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)");

    /// @notice A record of states for signing / validating signatures
    mapping(address => uint256) public nonces;

    /// @notice An event thats emitted when an account changes its delegate
    event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);

    /// @notice An event thats emitted when a delegate account's vote balance changes
    event DelegateVotesChanged(address indexed delegate, uint256 previousBalance, uint256 newBalance);

    /**
     * @notice The votes a delegator can delegate, which is the current balance of the delegator.
     * @dev Used when calling `_delegate()`
     */
    function votesToDelegate(address delegator) public view returns (uint96) {
        return safe96(balanceOf(delegator), "ERC721Checkpointable::votesToDelegate: amount exceeds 96 bits");
    }

    /**
     * @notice Overrides the standard `Comp.sol` delegates mapping to return
     * the delegator's own address if they haven't delegated.
     * This avoids having to delegate to oneself.
     */
    function delegates(address delegator) public view returns (address) {
        address current = _delegates[delegator];
        return current == address(0) ? delegator : current;
    }

    /**
     * @notice Adapted from `_transferTokens()` in `Comp.sol` to update delegate votes.
     * @dev hooks into OpenZeppelin's `ERC721._transfer`
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal override {
        super._beforeTokenTransfer(from, to, tokenId);

        /// @notice Differs from `_transferTokens()` to use `delegates` override method to simulate auto-delegation
        _moveDelegates(delegates(from), delegates(to), 1);
    }

    /**
     * @notice Delegate votes from `msg.sender` to `delegatee`
     * @param delegatee The address to delegate votes to
     */
    function delegate(address delegatee) public {
        if (delegatee == address(0)) delegatee = msg.sender;
        return _delegate(msg.sender, delegatee);
    }

    /**
     * @notice Delegates votes from signatory to `delegatee`
     * @param delegatee The address to delegate votes to
     * @param nonce The contract state required to match the signature
     * @param expiry The time at which to expire the signature
     * @param v The recovery byte of the signature
     * @param r Half of the ECDSA signature pair
     * @param s Half of the ECDSA signature pair
     */
    function delegateBySig(
        address delegatee,
        uint256 nonce,
        uint256 expiry,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) public {
        bytes32 domainSeparator = keccak256(
            abi.encode(DOMAIN_TYPEHASH, keccak256(bytes(name())), getChainId(), address(this))
        );
        bytes32 structHash = keccak256(abi.encode(DELEGATION_TYPEHASH, delegatee, nonce, expiry));
        bytes32 digest = keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
        address signatory = ecrecover(digest, v, r, s);
        require(signatory != address(0), "ERC721Checkpointable::delegateBySig: invalid signature");
        require(nonce == nonces[signatory]++, "ERC721Checkpointable::delegateBySig: invalid nonce");
        require(block.timestamp <= expiry, "ERC721Checkpointable::delegateBySig: signature expired");
        return _delegate(signatory, delegatee);
    }

    /**
     * @notice Gets the current votes balance for `account`
     * @param account The address to get votes balance
     * @return The number of current votes for `account`
     */
    function getCurrentVotes(address account) external view returns (uint96) {
        uint32 nCheckpoints = numCheckpoints[account];
        return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0;
    }

    /**
     * @notice Determine the prior number of votes for an account as of a block number
     * @dev Block number must be a finalized block or else this function will revert to prevent misinformation.
     * @param account The address of the account to check
     * @param blockNumber The block number to get the vote balance at
     * @return The number of votes the account had as of the given block
     */
    function getPriorVotes(address account, uint256 blockNumber) public view returns (uint96) {
        require(blockNumber < block.number, "ERC721Checkpointable::getPriorVotes: not yet determined");

        uint32 nCheckpoints = numCheckpoints[account];
        if (nCheckpoints == 0) {
            return 0;
        }

        // First check most recent balance
        if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) {
            return checkpoints[account][nCheckpoints - 1].votes;
        }

        // Next check implicit zero balance
        if (checkpoints[account][0].fromBlock > blockNumber) {
            return 0;
        }

        uint32 lower = 0;
        uint32 upper = nCheckpoints - 1;
        while (upper > lower) {
            uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow
            Checkpoint memory cp = checkpoints[account][center];
            if (cp.fromBlock == blockNumber) {
                return cp.votes;
            } else if (cp.fromBlock < blockNumber) {
                lower = center;
            } else {
                upper = center - 1;
            }
        }
        return checkpoints[account][lower].votes;
    }

    function _delegate(address delegator, address delegatee) internal {
        /// @notice differs from `_delegate()` in `Comp.sol` to use `delegates` override method to simulate auto-delegation
        address currentDelegate = delegates(delegator);

        _delegates[delegator] = delegatee;

        emit DelegateChanged(delegator, currentDelegate, delegatee);

        uint96 amount = votesToDelegate(delegator);

        _moveDelegates(currentDelegate, delegatee, amount);
    }

    function _moveDelegates(
        address srcRep,
        address dstRep,
        uint96 amount
    ) internal {
        if (srcRep != dstRep && amount > 0) {
            if (srcRep != address(0)) {
                uint32 srcRepNum = numCheckpoints[srcRep];
                uint96 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0;
                uint96 srcRepNew = sub96(srcRepOld, amount, "ERC721Checkpointable::_moveDelegates: amount underflows");
                _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew);
            }

            if (dstRep != address(0)) {
                uint32 dstRepNum = numCheckpoints[dstRep];
                uint96 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0;
                uint96 dstRepNew = add96(dstRepOld, amount, "ERC721Checkpointable::_moveDelegates: amount overflows");
                _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew);
            }
        }
    }

    function _writeCheckpoint(
        address delegatee,
        uint32 nCheckpoints,
        uint96 oldVotes,
        uint96 newVotes
    ) internal {
        uint32 blockNumber = safe32(
            block.number,
            "ERC721Checkpointable::_writeCheckpoint: block number exceeds 32 bits"
        );

        if (nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber) {
            checkpoints[delegatee][nCheckpoints - 1].votes = newVotes;
        } else {
            checkpoints[delegatee][nCheckpoints] = Checkpoint(blockNumber, newVotes);
            numCheckpoints[delegatee] = nCheckpoints + 1;
        }

        emit DelegateVotesChanged(delegatee, oldVotes, newVotes);
    }

    function safe32(uint256 n, string memory errorMessage) internal pure returns (uint32) {
        require(n < 2**32, errorMessage);
        return uint32(n);
    }

    function safe96(uint256 n, string memory errorMessage) internal pure returns (uint96) {
        require(n < 2**96, errorMessage);
        return uint96(n);
    }

    function add96(
        uint96 a,
        uint96 b,
        string memory errorMessage
    ) internal pure returns (uint96) {
        uint96 c = a + b;
        require(c >= a, errorMessage);
        return c;
    }

    function sub96(
        uint96 a,
        uint96 b,
        string memory errorMessage
    ) internal pure returns (uint96) {
        require(b <= a, errorMessage);
        return a - b;
    }

    function getChainId() internal view returns (uint256) {
        uint256 chainId;
        assembly {
            chainId := chainid()
        }
        return chainId;
    }
}

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

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/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 overriden 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 {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_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 || getApproved(tokenId) == spender || isApprovedForAll(owner, 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);
    }

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

    /**
     * @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 of token that is not own");
        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);
    }

    /**
     * @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 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 {}
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, 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 Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @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 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);

    /**
     * @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;
}

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

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 make 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 7 of 24 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

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

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

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

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 10 of 24 : VRFConsumerBase.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "./interfaces/LinkTokenInterface.sol";

import "./VRFRequestIDBase.sol";

/** ****************************************************************************
 * @notice Interface for contracts using VRF randomness
 * *****************************************************************************
 * @dev PURPOSE
 *
 * @dev Reggie the Random Oracle (not his real job) wants to provide randomness
 * @dev to Vera the verifier in such a way that Vera can be sure he's not
 * @dev making his output up to suit himself. Reggie provides Vera a public key
 * @dev to which he knows the secret key. Each time Vera provides a seed to
 * @dev Reggie, he gives back a value which is computed completely
 * @dev deterministically from the seed and the secret key.
 *
 * @dev Reggie provides a proof by which Vera can verify that the output was
 * @dev correctly computed once Reggie tells it to her, but without that proof,
 * @dev the output is indistinguishable to her from a uniform random sample
 * @dev from the output space.
 *
 * @dev The purpose of this contract is to make it easy for unrelated contracts
 * @dev to talk to Vera the verifier about the work Reggie is doing, to provide
 * @dev simple access to a verifiable source of randomness.
 * *****************************************************************************
 * @dev USAGE
 *
 * @dev Calling contracts must inherit from VRFConsumerBase, and can
 * @dev initialize VRFConsumerBase's attributes in their constructor as
 * @dev shown:
 *
 * @dev   contract VRFConsumer {
 * @dev     constuctor(<other arguments>, address _vrfCoordinator, address _link)
 * @dev       VRFConsumerBase(_vrfCoordinator, _link) public {
 * @dev         <initialization with other arguments goes here>
 * @dev       }
 * @dev   }
 *
 * @dev The oracle will have given you an ID for the VRF keypair they have
 * @dev committed to (let's call it keyHash), and have told you the minimum LINK
 * @dev price for VRF service. Make sure your contract has sufficient LINK, and
 * @dev call requestRandomness(keyHash, fee, seed), where seed is the input you
 * @dev want to generate randomness from.
 *
 * @dev Once the VRFCoordinator has received and validated the oracle's response
 * @dev to your request, it will call your contract's fulfillRandomness method.
 *
 * @dev The randomness argument to fulfillRandomness is the actual random value
 * @dev generated from your seed.
 *
 * @dev The requestId argument is generated from the keyHash and the seed by
 * @dev makeRequestId(keyHash, seed). If your contract could have concurrent
 * @dev requests open, you can use the requestId to track which seed is
 * @dev associated with which randomness. See VRFRequestIDBase.sol for more
 * @dev details. (See "SECURITY CONSIDERATIONS" for principles to keep in mind,
 * @dev if your contract could have multiple requests in flight simultaneously.)
 *
 * @dev Colliding `requestId`s are cryptographically impossible as long as seeds
 * @dev differ. (Which is critical to making unpredictable randomness! See the
 * @dev next section.)
 *
 * *****************************************************************************
 * @dev SECURITY CONSIDERATIONS
 *
 * @dev A method with the ability to call your fulfillRandomness method directly
 * @dev could spoof a VRF response with any random value, so it's critical that
 * @dev it cannot be directly called by anything other than this base contract
 * @dev (specifically, by the VRFConsumerBase.rawFulfillRandomness method).
 *
 * @dev For your users to trust that your contract's random behavior is free
 * @dev from malicious interference, it's best if you can write it so that all
 * @dev behaviors implied by a VRF response are executed *during* your
 * @dev fulfillRandomness method. If your contract must store the response (or
 * @dev anything derived from it) and use it later, you must ensure that any
 * @dev user-significant behavior which depends on that stored value cannot be
 * @dev manipulated by a subsequent VRF request.
 *
 * @dev Similarly, both miners and the VRF oracle itself have some influence
 * @dev over the order in which VRF responses appear on the blockchain, so if
 * @dev your contract could have multiple VRF requests in flight simultaneously,
 * @dev you must ensure that the order in which the VRF responses arrive cannot
 * @dev be used to manipulate your contract's user-significant behavior.
 *
 * @dev Since the ultimate input to the VRF is mixed with the block hash of the
 * @dev block in which the request is made, user-provided seeds have no impact
 * @dev on its economic security properties. They are only included for API
 * @dev compatability with previous versions of this contract.
 *
 * @dev Since the block hash of the block which contains the requestRandomness
 * @dev call is mixed into the input to the VRF *last*, a sufficiently powerful
 * @dev miner could, in principle, fork the blockchain to evict the block
 * @dev containing the request, forcing the request to be included in a
 * @dev different block with a different hash, and therefore a different input
 * @dev to the VRF. However, such an attack would incur a substantial economic
 * @dev cost. This cost scales with the number of blocks the VRF oracle waits
 * @dev until it calls responds to a request.
 */
abstract contract VRFConsumerBase is VRFRequestIDBase {

  /**
   * @notice fulfillRandomness handles the VRF response. Your contract must
   * @notice implement it. See "SECURITY CONSIDERATIONS" above for important
   * @notice principles to keep in mind when implementing your fulfillRandomness
   * @notice method.
   *
   * @dev VRFConsumerBase expects its subcontracts to have a method with this
   * @dev signature, and will call it once it has verified the proof
   * @dev associated with the randomness. (It is triggered via a call to
   * @dev rawFulfillRandomness, below.)
   *
   * @param requestId The Id initially returned by requestRandomness
   * @param randomness the VRF output
   */
  function fulfillRandomness(
    bytes32 requestId,
    uint256 randomness
  )
    internal
    virtual;

  /**
   * @dev In order to keep backwards compatibility we have kept the user
   * seed field around. We remove the use of it because given that the blockhash
   * enters later, it overrides whatever randomness the used seed provides.
   * Given that it adds no security, and can easily lead to misunderstandings,
   * we have removed it from usage and can now provide a simpler API.
   */
  uint256 constant private USER_SEED_PLACEHOLDER = 0;

  /**
   * @notice requestRandomness initiates a request for VRF output given _seed
   *
   * @dev The fulfillRandomness method receives the output, once it's provided
   * @dev by the Oracle, and verified by the vrfCoordinator.
   *
   * @dev The _keyHash must already be registered with the VRFCoordinator, and
   * @dev the _fee must exceed the fee specified during registration of the
   * @dev _keyHash.
   *
   * @dev The _seed parameter is vestigial, and is kept only for API
   * @dev compatibility with older versions. It can't *hurt* to mix in some of
   * @dev your own randomness, here, but it's not necessary because the VRF
   * @dev oracle will mix the hash of the block containing your request into the
   * @dev VRF seed it ultimately uses.
   *
   * @param _keyHash ID of public key against which randomness is generated
   * @param _fee The amount of LINK to send with the request
   *
   * @return requestId unique ID for this request
   *
   * @dev The returned requestId can be used to distinguish responses to
   * @dev concurrent requests. It is passed as the first argument to
   * @dev fulfillRandomness.
   */
  function requestRandomness(
    bytes32 _keyHash,
    uint256 _fee
  )
    internal
    returns (
      bytes32 requestId
    )
  {
    LINK.transferAndCall(vrfCoordinator, _fee, abi.encode(_keyHash, USER_SEED_PLACEHOLDER));
    // This is the seed passed to VRFCoordinator. The oracle will mix this with
    // the hash of the block containing this request to obtain the seed/input
    // which is finally passed to the VRF cryptographic machinery.
    uint256 vRFSeed  = makeVRFInputSeed(_keyHash, USER_SEED_PLACEHOLDER, address(this), nonces[_keyHash]);
    // nonces[_keyHash] must stay in sync with
    // VRFCoordinator.nonces[_keyHash][this], which was incremented by the above
    // successful LINK.transferAndCall (in VRFCoordinator.randomnessRequest).
    // This provides protection against the user repeating their input seed,
    // which would result in a predictable/duplicate output, if multiple such
    // requests appeared in the same block.
    nonces[_keyHash] = nonces[_keyHash] + 1;
    return makeRequestId(_keyHash, vRFSeed);
  }

  LinkTokenInterface immutable internal LINK;
  address immutable private vrfCoordinator;

  // Nonces for each VRF key from which randomness has been requested.
  //
  // Must stay in sync with VRFCoordinator[_keyHash][this]
  mapping(bytes32 /* keyHash */ => uint256 /* nonce */) private nonces;

  /**
   * @param _vrfCoordinator address of VRFCoordinator contract
   * @param _link address of LINK token contract
   *
   * @dev https://docs.chain.link/docs/link-token-contracts
   */
  constructor(
    address _vrfCoordinator,
    address _link
  ) {
    vrfCoordinator = _vrfCoordinator;
    LINK = LinkTokenInterface(_link);
  }

  // rawFulfillRandomness is called by VRFCoordinator when it receives a valid VRF
  // proof. rawFulfillRandomness then calls fulfillRandomness, after validating
  // the origin of the call
  function rawFulfillRandomness(
    bytes32 requestId,
    uint256 randomness
  )
    external
  {
    require(msg.sender == vrfCoordinator, "Only VRFCoordinator can fulfill");
    fulfillRandomness(requestId, randomness);
  }
}

File 11 of 24 : IUniswapV2Router02.sol
pragma solidity >=0.6.2;

import './IUniswapV2Router01.sol';

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}

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

pragma solidity >=0.6.0;

/// @title Base64
/// @author Brecht Devos - <[email protected]>
/// @notice Provides functions for encoding/decoding base64
library Base64 {
    string internal constant TABLE_ENCODE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
    bytes  internal constant TABLE_DECODE = hex"0000000000000000000000000000000000000000000000000000000000000000"
                                            hex"00000000000000000000003e0000003f3435363738393a3b3c3d000000000000"
                                            hex"00000102030405060708090a0b0c0d0e0f101112131415161718190000000000"
                                            hex"001a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132330000000000";

    function encode(bytes memory data) internal pure returns (string memory) {
        if (data.length == 0) return '';

        // load the table into memory
        string memory table = TABLE_ENCODE;

        // multiply by 4/3 rounded up
        uint256 encodedLen = 4 * ((data.length + 2) / 3);

        // add some extra buffer at the end required for the writing
        string memory result = new string(encodedLen + 32);

        assembly {
            // set the actual output length
            mstore(result, encodedLen)

            // prepare the lookup table
            let tablePtr := add(table, 1)

            // input ptr
            let dataPtr := data
            let endPtr := add(dataPtr, mload(data))

            // result ptr, jump over length
            let resultPtr := add(result, 32)

            // run over the input, 3 bytes at a time
            for {} lt(dataPtr, endPtr) {}
            {
                // read 3 bytes
                dataPtr := add(dataPtr, 3)
                let input := mload(dataPtr)

                // write 4 characters
                mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F))))
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F))))
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, mload(add(tablePtr, and(shr( 6, input), 0x3F))))
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, mload(add(tablePtr, and(        input,  0x3F))))
                resultPtr := add(resultPtr, 1)
            }

            // padding with '='
            switch mod(mload(data), 3)
            case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) }
            case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) }
        }

        return result;
    }

    function decode(string memory _data) internal pure returns (bytes memory) {
        bytes memory data = bytes(_data);

        if (data.length == 0) return new bytes(0);
        require(data.length % 4 == 0, "invalid base64 decoder input");

        // load the table into memory
        bytes memory table = TABLE_DECODE;

        // every 4 characters represent 3 bytes
        uint256 decodedLen = (data.length / 4) * 3;

        // add some extra buffer at the end required for the writing
        bytes memory result = new bytes(decodedLen + 32);

        assembly {
            // padding with '='
            let lastBytes := mload(add(data, mload(data)))
            if eq(and(lastBytes, 0xFF), 0x3d) {
                decodedLen := sub(decodedLen, 1)
                if eq(and(lastBytes, 0xFFFF), 0x3d3d) {
                    decodedLen := sub(decodedLen, 1)
                }
            }

            // set the actual output length
            mstore(result, decodedLen)

            // prepare the lookup table
            let tablePtr := add(table, 1)

            // input ptr
            let dataPtr := data
            let endPtr := add(dataPtr, mload(data))

            // result ptr, jump over length
            let resultPtr := add(result, 32)

            // run over the input, 4 characters at a time
            for {} lt(dataPtr, endPtr) {}
            {
               // read 4 characters
               dataPtr := add(dataPtr, 4)
               let input := mload(dataPtr)

               // write 3 bytes
               let output := add(
                   add(
                       shl(18, and(mload(add(tablePtr, and(shr(24, input), 0xFF))), 0xFF)),
                       shl(12, and(mload(add(tablePtr, and(shr(16, input), 0xFF))), 0xFF))),
                   add(
                       shl( 6, and(mload(add(tablePtr, and(shr( 8, input), 0xFF))), 0xFF)),
                               and(mload(add(tablePtr, and(        input , 0xFF))), 0xFF)
                    )
                )
                mstore(resultPtr, shl(232, output))
                resultPtr := add(resultPtr, 3)
            }
        }

        return result;
    }
}

File 13 of 24 : console.sol
// SPDX-License-Identifier: MIT
pragma solidity >= 0.4.22 <0.9.0;

library console {
	address constant CONSOLE_ADDRESS = address(0x000000000000000000636F6e736F6c652e6c6f67);

	function _sendLogPayload(bytes memory payload) private view {
		uint256 payloadLength = payload.length;
		address consoleAddress = CONSOLE_ADDRESS;
		assembly {
			let payloadStart := add(payload, 32)
			let r := staticcall(gas(), consoleAddress, payloadStart, payloadLength, 0, 0)
		}
	}

	function log() internal view {
		_sendLogPayload(abi.encodeWithSignature("log()"));
	}

	function logInt(int p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(int)", p0));
	}

	function logUint(uint p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint)", p0));
	}

	function logString(string memory p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string)", p0));
	}

	function logBool(bool p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool)", p0));
	}

	function logAddress(address p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address)", p0));
	}

	function logBytes(bytes memory p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes)", p0));
	}

	function logBytes1(bytes1 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes1)", p0));
	}

	function logBytes2(bytes2 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes2)", p0));
	}

	function logBytes3(bytes3 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes3)", p0));
	}

	function logBytes4(bytes4 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes4)", p0));
	}

	function logBytes5(bytes5 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes5)", p0));
	}

	function logBytes6(bytes6 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes6)", p0));
	}

	function logBytes7(bytes7 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes7)", p0));
	}

	function logBytes8(bytes8 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes8)", p0));
	}

	function logBytes9(bytes9 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes9)", p0));
	}

	function logBytes10(bytes10 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes10)", p0));
	}

	function logBytes11(bytes11 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes11)", p0));
	}

	function logBytes12(bytes12 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes12)", p0));
	}

	function logBytes13(bytes13 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes13)", p0));
	}

	function logBytes14(bytes14 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes14)", p0));
	}

	function logBytes15(bytes15 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes15)", p0));
	}

	function logBytes16(bytes16 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes16)", p0));
	}

	function logBytes17(bytes17 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes17)", p0));
	}

	function logBytes18(bytes18 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes18)", p0));
	}

	function logBytes19(bytes19 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes19)", p0));
	}

	function logBytes20(bytes20 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes20)", p0));
	}

	function logBytes21(bytes21 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes21)", p0));
	}

	function logBytes22(bytes22 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes22)", p0));
	}

	function logBytes23(bytes23 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes23)", p0));
	}

	function logBytes24(bytes24 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes24)", p0));
	}

	function logBytes25(bytes25 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes25)", p0));
	}

	function logBytes26(bytes26 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes26)", p0));
	}

	function logBytes27(bytes27 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes27)", p0));
	}

	function logBytes28(bytes28 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes28)", p0));
	}

	function logBytes29(bytes29 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes29)", p0));
	}

	function logBytes30(bytes30 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes30)", p0));
	}

	function logBytes31(bytes31 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes31)", p0));
	}

	function logBytes32(bytes32 p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bytes32)", p0));
	}

	function log(uint p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint)", p0));
	}

	function log(string memory p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string)", p0));
	}

	function log(bool p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool)", p0));
	}

	function log(address p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address)", p0));
	}

	function log(uint p0, uint p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint)", p0, p1));
	}

	function log(uint p0, string memory p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string)", p0, p1));
	}

	function log(uint p0, bool p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool)", p0, p1));
	}

	function log(uint p0, address p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address)", p0, p1));
	}

	function log(string memory p0, uint p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint)", p0, p1));
	}

	function log(string memory p0, string memory p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string)", p0, p1));
	}

	function log(string memory p0, bool p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool)", p0, p1));
	}

	function log(string memory p0, address p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address)", p0, p1));
	}

	function log(bool p0, uint p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint)", p0, p1));
	}

	function log(bool p0, string memory p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string)", p0, p1));
	}

	function log(bool p0, bool p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool)", p0, p1));
	}

	function log(bool p0, address p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address)", p0, p1));
	}

	function log(address p0, uint p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint)", p0, p1));
	}

	function log(address p0, string memory p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string)", p0, p1));
	}

	function log(address p0, bool p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool)", p0, p1));
	}

	function log(address p0, address p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address)", p0, p1));
	}

	function log(uint p0, uint p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint)", p0, p1, p2));
	}

	function log(uint p0, uint p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,string)", p0, p1, p2));
	}

	function log(uint p0, uint p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool)", p0, p1, p2));
	}

	function log(uint p0, uint p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,address)", p0, p1, p2));
	}

	function log(uint p0, string memory p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,uint)", p0, p1, p2));
	}

	function log(uint p0, string memory p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,string)", p0, p1, p2));
	}

	function log(uint p0, string memory p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,bool)", p0, p1, p2));
	}

	function log(uint p0, string memory p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,address)", p0, p1, p2));
	}

	function log(uint p0, bool p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint)", p0, p1, p2));
	}

	function log(uint p0, bool p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,string)", p0, p1, p2));
	}

	function log(uint p0, bool p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool)", p0, p1, p2));
	}

	function log(uint p0, bool p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,address)", p0, p1, p2));
	}

	function log(uint p0, address p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,uint)", p0, p1, p2));
	}

	function log(uint p0, address p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,string)", p0, p1, p2));
	}

	function log(uint p0, address p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,bool)", p0, p1, p2));
	}

	function log(uint p0, address p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,address)", p0, p1, p2));
	}

	function log(string memory p0, uint p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,uint)", p0, p1, p2));
	}

	function log(string memory p0, uint p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,string)", p0, p1, p2));
	}

	function log(string memory p0, uint p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,bool)", p0, p1, p2));
	}

	function log(string memory p0, uint p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,address)", p0, p1, p2));
	}

	function log(string memory p0, string memory p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,uint)", p0, p1, p2));
	}

	function log(string memory p0, string memory p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,string)", p0, p1, p2));
	}

	function log(string memory p0, string memory p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,bool)", p0, p1, p2));
	}

	function log(string memory p0, string memory p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,address)", p0, p1, p2));
	}

	function log(string memory p0, bool p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint)", p0, p1, p2));
	}

	function log(string memory p0, bool p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,string)", p0, p1, p2));
	}

	function log(string memory p0, bool p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool)", p0, p1, p2));
	}

	function log(string memory p0, bool p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,address)", p0, p1, p2));
	}

	function log(string memory p0, address p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,uint)", p0, p1, p2));
	}

	function log(string memory p0, address p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,string)", p0, p1, p2));
	}

	function log(string memory p0, address p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,bool)", p0, p1, p2));
	}

	function log(string memory p0, address p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,address)", p0, p1, p2));
	}

	function log(bool p0, uint p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint)", p0, p1, p2));
	}

	function log(bool p0, uint p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,string)", p0, p1, p2));
	}

	function log(bool p0, uint p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool)", p0, p1, p2));
	}

	function log(bool p0, uint p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,address)", p0, p1, p2));
	}

	function log(bool p0, string memory p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint)", p0, p1, p2));
	}

	function log(bool p0, string memory p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,string)", p0, p1, p2));
	}

	function log(bool p0, string memory p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool)", p0, p1, p2));
	}

	function log(bool p0, string memory p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,address)", p0, p1, p2));
	}

	function log(bool p0, bool p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint)", p0, p1, p2));
	}

	function log(bool p0, bool p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string)", p0, p1, p2));
	}

	function log(bool p0, bool p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool)", p0, p1, p2));
	}

	function log(bool p0, bool p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address)", p0, p1, p2));
	}

	function log(bool p0, address p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint)", p0, p1, p2));
	}

	function log(bool p0, address p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,string)", p0, p1, p2));
	}

	function log(bool p0, address p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool)", p0, p1, p2));
	}

	function log(bool p0, address p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,address)", p0, p1, p2));
	}

	function log(address p0, uint p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,uint)", p0, p1, p2));
	}

	function log(address p0, uint p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,string)", p0, p1, p2));
	}

	function log(address p0, uint p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,bool)", p0, p1, p2));
	}

	function log(address p0, uint p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,address)", p0, p1, p2));
	}

	function log(address p0, string memory p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,uint)", p0, p1, p2));
	}

	function log(address p0, string memory p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,string)", p0, p1, p2));
	}

	function log(address p0, string memory p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,bool)", p0, p1, p2));
	}

	function log(address p0, string memory p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,address)", p0, p1, p2));
	}

	function log(address p0, bool p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint)", p0, p1, p2));
	}

	function log(address p0, bool p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,string)", p0, p1, p2));
	}

	function log(address p0, bool p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool)", p0, p1, p2));
	}

	function log(address p0, bool p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,address)", p0, p1, p2));
	}

	function log(address p0, address p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,uint)", p0, p1, p2));
	}

	function log(address p0, address p1, string memory p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,string)", p0, p1, p2));
	}

	function log(address p0, address p1, bool p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,bool)", p0, p1, p2));
	}

	function log(address p0, address p1, address p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,address)", p0, p1, p2));
	}

	function log(uint p0, uint p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,string)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,address)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,string)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,address)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,string)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,address)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,string)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, uint p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,address)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,string)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,address)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,string,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,string,string)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,string,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,string,address)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,string)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,address)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,address,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,address,string)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,address,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, string memory p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,string,address,address)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,string)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,address)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,string)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,address)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,string)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,address)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,string)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, bool p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,address)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,string)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,address)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,string,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,string,string)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,string,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,string,address)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,string)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,address)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,address,uint)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,address,string)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,address,bool)", p0, p1, p2, p3));
	}

	function log(uint p0, address p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,address,address,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,string,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,string,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,string,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,string,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,address,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,address,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,address,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, uint p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint,address,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,uint,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,uint,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,uint,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,uint,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,string,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,string,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,string,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,string,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,address,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,address,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,address,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, string memory p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,address,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, bool p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,uint,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,uint,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,uint,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,uint,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,string,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,string,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,string,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,string,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,address)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,address,uint)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,address,string)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,address,bool)", p0, p1, p2, p3));
	}

	function log(string memory p0, address p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,address,address)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,string)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,address)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,string)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,address)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,string)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,address)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,string)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, uint p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,address)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,string)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,address)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,string)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,address)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,string)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,address)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,string)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, string memory p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,address)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,string)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,address)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,string)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,address)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,string)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,address)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,string)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, bool p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,address)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,string)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,address)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,string)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,address)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,string)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,address)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,uint)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,string)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,bool)", p0, p1, p2, p3));
	}

	function log(bool p0, address p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,address)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,uint)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,string)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,bool)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,address)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,string,uint)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,string,string)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,string,bool)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,string,address)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,uint)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,string)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,bool)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,address)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,address,uint)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,address,string)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,address,bool)", p0, p1, p2, p3));
	}

	function log(address p0, uint p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,address,address)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,uint,uint)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,uint,string)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,uint,bool)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,uint,address)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,string,uint)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,string,string)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,string,bool)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,string,address)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,uint)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,string)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,bool)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,address)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,address,uint)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,address,string)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,address,bool)", p0, p1, p2, p3));
	}

	function log(address p0, string memory p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,address,address)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,uint)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,string)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,bool)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,address)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,uint)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,string)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,bool)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,address)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,uint)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,string)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,bool)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,address)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,uint)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,string)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,bool)", p0, p1, p2, p3));
	}

	function log(address p0, bool p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,address)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,uint,uint)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, uint p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,uint,string)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, uint p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,uint,bool)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, uint p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,uint,address)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,string,uint)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, string memory p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,string,string)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, string memory p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,string,bool)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, string memory p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,string,address)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, bool p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,uint)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, bool p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,string)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, bool p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,bool)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, bool p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,address)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, address p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,address,uint)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, address p2, string memory p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,address,string)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, address p2, bool p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,address,bool)", p0, p1, p2, p3));
	}

	function log(address p0, address p1, address p2, address p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,address,address)", p0, p1, p2, p3));
	}

}

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

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

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

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @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` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * 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 override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

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

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 `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

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

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 18 of 24 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 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 19 of 24 : Context.sol
// SPDX-License-Identifier: MIT

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 20 of 24 : ERC165.sol
// SPDX-License-Identifier: MIT

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 21 of 24 : IERC165.sol
// SPDX-License-Identifier: MIT

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 22 of 24 : LinkTokenInterface.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface LinkTokenInterface {

  function allowance(
    address owner,
    address spender
  )
    external
    view
    returns (
      uint256 remaining
    );

  function approve(
    address spender,
    uint256 value
  )
    external
    returns (
      bool success
    );

  function balanceOf(
    address owner
  )
    external
    view
    returns (
      uint256 balance
    );

  function decimals()
    external
    view
    returns (
      uint8 decimalPlaces
    );

  function decreaseApproval(
    address spender,
    uint256 addedValue
  )
    external
    returns (
      bool success
    );

  function increaseApproval(
    address spender,
    uint256 subtractedValue
  ) external;

  function name()
    external
    view
    returns (
      string memory tokenName
    );

  function symbol()
    external
    view
    returns (
      string memory tokenSymbol
    );

  function totalSupply()
    external
    view
    returns (
      uint256 totalTokensIssued
    );

  function transfer(
    address to,
    uint256 value
  )
    external
    returns (
      bool success
    );

  function transferAndCall(
    address to,
    uint256 value,
    bytes calldata data
  )
    external
    returns (
      bool success
    );

  function transferFrom(
    address from,
    address to,
    uint256 value
  )
    external
    returns (
      bool success
    );

}

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

contract VRFRequestIDBase {

  /**
   * @notice returns the seed which is actually input to the VRF coordinator
   *
   * @dev To prevent repetition of VRF output due to repetition of the
   * @dev user-supplied seed, that seed is combined in a hash with the
   * @dev user-specific nonce, and the address of the consuming contract. The
   * @dev risk of repetition is mostly mitigated by inclusion of a blockhash in
   * @dev the final seed, but the nonce does protect against repetition in
   * @dev requests which are included in a single block.
   *
   * @param _userSeed VRF seed input provided by user
   * @param _requester Address of the requesting contract
   * @param _nonce User-specific nonce at the time of the request
   */
  function makeVRFInputSeed(
    bytes32 _keyHash,
    uint256 _userSeed,
    address _requester,
    uint256 _nonce
  )
    internal
    pure
    returns (
      uint256
    )
  {
    return uint256(keccak256(abi.encode(_keyHash, _userSeed, _requester, _nonce)));
  }

  /**
   * @notice Returns the id for this request
   * @param _keyHash The serviceAgreement ID to be used for this request
   * @param _vRFInputSeed The seed to be passed directly to the VRF
   * @return The id for this request
   *
   * @dev Note that _vRFInputSeed is not the seed passed by the consuming
   * @dev contract, but the one generated by makeVRFInputSeed
   */
  function makeRequestId(
    bytes32 _keyHash,
    uint256 _vRFInputSeed
  )
    internal
    pure
    returns (
      bytes32
    )
  {
    return keccak256(abi.encodePacked(_keyHash, _vRFInputSeed));
  }
}

File 24 of 24 : IUniswapV2Router01.sol
pragma solidity >=0.6.2;

interface IUniswapV2Router01 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 8000,
    "details": {
      "yul": false
    }
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_VRFCoordinator","type":"address"},{"internalType":"address","name":"_LinkToken","type":"address"},{"internalType":"bytes32","name":"_keyhash","type":"bytes32"},{"internalType":"uint256","name":"_fee","type":"uint256"},{"internalType":"address","name":"_metamaticianAttributesAddress","type":"address"},{"internalType":"address","name":"_uniswapRouter","type":"address"}],"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":true,"internalType":"address","name":"delegator","type":"address"},{"indexed":true,"internalType":"address","name":"fromDelegate","type":"address"},{"indexed":true,"internalType":"address","name":"toDelegate","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"DelegateVotesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_minter","type":"address"},{"indexed":false,"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"MintAttempt","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_oldRoyalty","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_newRoyalty","type":"uint256"}],"name":"NewRoyaltySet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_minter","type":"address"},{"indexed":false,"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"OwnerMintAttempt","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":true,"internalType":"address","name":"_minter","type":"address"},{"indexed":false,"internalType":"uint256","name":"_tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_randomNumber","type":"uint256"}],"name":"RandomNumberFullfilled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_minter","type":"address"}],"name":"RandomnessRequested","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"SwapCompleted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_minter","type":"address"},{"indexed":false,"internalType":"uint256","name":"_tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_randomNumber","type":"uint256"}],"name":"TokenGeneration","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":[],"name":"DELEGATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"LinkToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINTS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_LIMIT_PER_ADDRESS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MetamaticianAttributesAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OWNER_MINTS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_MINTS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"VRFCoordinator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"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":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint32","name":"","type":"uint32"}],"name":"checkpoints","outputs":[{"internalType":"uint32","name":"fromBlock","type":"uint32"},{"internalType":"uint96","name":"votes","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"}],"name":"delegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegator","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","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":[{"internalType":"address","name":"account","type":"address"}],"name":"getCurrentVotes","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPriorVotes","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"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":"_quantity","type":"uint256"},{"internalType":"uint256","name":"_deadline","type":"uint256"}],"name":"mintItem","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minterToRequestId","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"ownerMintItem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"requestId","type":"bytes32"},{"internalType":"uint256","name":"randomness","type":"uint256"}],"name":"rawFulfillRandomness","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"requestIdToMinter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"requestIdToToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyFee","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":"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":"uint256","name":"newRoyalty","type":"uint256"}],"name":"setNewRoyaltyFeeBasisPoints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"svg","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenIdToOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenIdToPieceOfPi","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"uniswapRouter","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"delegator","type":"address"}],"name":"votesToDelegate","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"withdrawLINK","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60c06040523480156200001157600080fd5b50604051620061413803806200614183398101604081905262000034916200025f565b604080518082018252600d81526c4d6574616d6174696369616e7360981b60208083019182528351808501909452600884526709a8aa8829a82a8960c31b908401528151899389939290916200008d9160009162000199565b508051620000a390600190602084019062000199565b505050620000c0620000ba6200014360201b60201c565b62000147565b6001600f556001600160601b0319606092831b811660a052911b16608052601580546001600160a01b039788166001600160a01b0319918216179091556016805496881696821696909617909555601393909355601491909155601880549185169184169190911790556101f46017556012805491909316911617905562000371565b3390565b600e80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001a79062000309565b90600052602060002090601f016020900481019282620001cb576000855562000216565b82601f10620001e657805160ff191683800117855562000216565b8280016001018555821562000216579182015b8281111562000216578251825591602001919060010190620001f9565b506200022492915062000228565b5090565b5b8082111562000224576000815560010162000229565b80516200024c8162000350565b92915050565b80516200024c816200036a565b60008060008060008060c087890312156200027d576200027d600080fd5b60006200028b89896200023f565b96505060206200029e89828a016200023f565b9550506040620002b189828a0162000252565b9450506060620002c489828a0162000252565b9350506080620002d789828a016200023f565b92505060a0620002ea89828a016200023f565b9150509295509295509295565b60006001600160a01b0382166200024c565b6002810460018216806200031e57607f821691505b602082108114156200033457620003346200033a565b50919050565b634e487b7160e01b600052602260045260246000fd5b6200035b81620002f7565b81146200036757600080fd5b50565b806200035b565b60805160601c60a05160601c615d96620003ab6000396000818161170001526123530152600081816117b401526123240152615d966000f3fe6080604052600436106103595760003560e01c806370a08231116101bb578063b8997a97116100f7578063dd146bb411610095578063e9580e911161006f578063e9580e9114610a53578063e985e9c514610a73578063f1127ed814610abc578063f2fde38b14610b2057600080fd5b8063dd146bb4146109d4578063e7a324dc14610a0a578063e8a3d48514610a3e57600080fd5b8063cbccdc1f116100d1578063cbccdc1f14610962578063cce132d114610982578063cfdcfa6914610998578063d7bf81a3146109b857600080fd5b8063b8997a971461090c578063c3cda52014610922578063c87b56dd1461094257600080fd5b806394985ddd1161016457806399f793cc1161013e57806399f793cc1461087f578063a22cb465146108ac578063b4b5ea57146108cc578063b88d4fde146108ec57600080fd5b806394985ddd1461082a57806395d89b411461084a578063983fbab21461085f57600080fd5b8063782d6fe111610195578063782d6fe1146107b25780637ecebe00146107df5780638da5cb5b1461080c57600080fd5b806370a0823114610750578063715018a614610770578063735de9f71461078557600080fd5b80633ccfd60b11610295578063587cde1e11610233578063639e576d1161020d578063639e576d146106975780636d883bd9146106ad5780636e9e48ef146106da5780636fcfff451461071057600080fd5b8063587cde1e146106375780635c19a95c146106575780636352211e1461067757600080fd5b8063449de7791161026f578063449de779146105c457806344b285db146105d75780634f6ccce7146105f75780634f8e2fdf1461061757600080fd5b80633ccfd60b146105625780633cffd8841461057757806342842e0e146105a457600080fd5b80631a5030371161030257806323b872dd116102dc57806323b872dd146104e05780632f745c5914610500578063313ce5671461052057806333b608631461054257600080fd5b80631a503037146104815780631bb85b4f1461049657806320606b70146104ac57600080fd5b8063095ea7b311610333578063095ea7b3146104215780630f16d1241461044357806318160ddd1461046357600080fd5b806301ffc9a71461039c57806306fdde03146103d2578063081812fc146103f457600080fd5b36610397577f02f857175b5562dc8e8fe1cc6d39215bf823a07a685f52fba82f1e637d4185133460405161038d91906152a8565b60405180910390a1005b600080fd5b3480156103a857600080fd5b506103bc6103b7366004613e88565b610b40565b6040516103c9919061529a565b60405180910390f35b3480156103de57600080fd5b506103e7610b9c565b6040516103c9919061537f565b34801561040057600080fd5b5061041461040f366004613e45565b610c2e565b6040516103c991906151f7565b34801561042d57600080fd5b5061044161043c366004613cf9565b610c87565b005b34801561044f57600080fd5b50601854610414906001600160a01b031681565b34801561046f57600080fd5b506008545b6040516103c991906152a8565b34801561048d57600080fd5b50610474603281565b3480156104a257600080fd5b5061047461190081565b3480156104b857600080fd5b506104747f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b3480156104ec57600080fd5b506104416104fb366004613bf7565b610d0d565b34801561050c57600080fd5b5061047461051b366004613cf9565b610d3e565b34801561052c57600080fd5b50610535600081565b6040516103c991906155e8565b34801561054e57600080fd5b50601554610414906001600160a01b031681565b34801561056e57600080fd5b50610441610d90565b34801561058357600080fd5b50610474610592366004613b78565b601a6020526000908152604090205481565b3480156105b057600080fd5b506104416105bf366004613bf7565b610e39565b6104416105d2366004613e66565b610e54565b3480156105e357600080fd5b506103e76105f2366004613e45565b61127f565b34801561060357600080fd5b50610474610612366004613e45565b611354565b34801561062357600080fd5b50601654610414906001600160a01b031681565b34801561064357600080fd5b50610414610652366004613b78565b6113a2565b34801561066357600080fd5b50610441610672366004613b78565b6113d2565b34801561068357600080fd5b50610414610692366004613e45565b6113ed565b3480156106a357600080fd5b5061047461064081565b3480156106b957600080fd5b506104746106c8366004613e45565b601d6020526000908152604090205481565b3480156106e657600080fd5b506104146106f5366004613e45565b601b602052600090815260409020546001600160a01b031681565b34801561071c57600080fd5b5061074361072b366004613b78565b600c6020526000908152604090205463ffffffff1681565b6040516103c991906155bf565b34801561075c57600080fd5b5061047461076b366004613b78565b611422565b34801561077c57600080fd5b50610441611466565b34801561079157600080fd5b506012546107a5906001600160a01b031681565b6040516103c99190615371565b3480156107be57600080fd5b506107d26107cd366004613cf9565b61149c565b6040516103c991906155f6565b3480156107eb57600080fd5b506104746107fa366004613b78565b600d6020526000908152604090205481565b34801561081857600080fd5b50600e546001600160a01b0316610414565b34801561083657600080fd5b50610441610845366004613e66565b6116f5565b34801561085657600080fd5b506103e761174b565b34801561086b57600080fd5b5061044161087a366004613cf9565b61175a565b34801561088b57600080fd5b5061047461089a366004613e45565b601c6020526000908152604090205481565b3480156108b857600080fd5b506104416108c7366004613cc6565b611859565b3480156108d857600080fd5b506107d26108e7366004613b78565b61190f565b3480156108f857600080fd5b50610441610907366004613c47565b611992565b34801561091857600080fd5b5061047460175481565b34801561092e57600080fd5b5061044161093d366004613d2c565b6119ca565b34801561094e57600080fd5b506103e761095d366004613e45565b611ba4565b34801561096e57600080fd5b5061044161097d366004613e45565b611c7d565b34801561098e57600080fd5b50610474611f4081565b3480156109a457600080fd5b506104416109b3366004613e45565b611e42565b3480156109c457600080fd5b5061047467089393b9c731000081565b3480156109e057600080fd5b506104146109ef366004613e45565b6019602052600090815260409020546001600160a01b031681565b348015610a1657600080fd5b506104747fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b348015610a4a57600080fd5b506103e7611eb2565b348015610a5f57600080fd5b506107d2610a6e366004613b78565b611f3b565b348015610a7f57600080fd5b506103bc610a8e366004613bba565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610ac857600080fd5b50610b12610ad7366004613db6565b600b60209081526000928352604080842090915290825290205463ffffffff81169064010000000090046bffffffffffffffffffffffff1682565b6040516103c99291906155cd565b348015610b2c57600080fd5b50610441610b3b366004613b78565b611f67565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d63000000000000000000000000000000000000000000000000000000001480610b965750610b9682611fc0565b92915050565b606060008054610bab906159ea565b80601f0160208091040260200160405190810160405280929190818152602001828054610bd7906159ea565b8015610c245780601f10610bf957610100808354040283529160200191610c24565b820191906000526020600020905b815481529060010190602001808311610c0757829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610c6b5760405162461bcd60e51b8152600401610c62906154d0565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610c92826113ed565b9050806001600160a01b0316836001600160a01b03161415610cc65760405162461bcd60e51b8152600401610c6290615510565b336001600160a01b0382161480610ce25750610ce28133610a8e565b610cfe5760405162461bcd60e51b8152600401610c6290615470565b610d0883836120a3565b505050565b610d173382612129565b610d335760405162461bcd60e51b8152600401610c6290615520565b610d088383836121db565b6000610d4983611422565b8210610d675760405162461bcd60e51b8152600401610c62906153a0565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600e546001600160a01b03163314610dba5760405162461bcd60e51b8152600401610c62906154e0565b6000336001600160a01b031647604051610dd3906151ef565b60006040518083038185875af1925050503d8060008114610e10576040519150601f19603f3d011682016040523d82523d6000602084013e610e15565b606091505b5050905080610e365760405162461bcd60e51b8152600401610c6290615560565b50565b610d0883838360405180602001604052806000815250611992565b6002600f541415610e775760405162461bcd60e51b8152600401610c6290615550565b6002600f556032821115610e9d5760405162461bcd60e51b8152600401610c6290615450565b61190082610eaa60115490565b610eb49190615700565b1115610ed25760405162461bcd60e51b8152600401610c6290615480565b610ee48267089393b9c73100006158e4565b3414610f025760405162461bcd60e51b8152600401610c6290615580565b603282610f0e33611422565b610f189190615700565b1115610f365760405162461bcd60e51b8152600401610c62906154c0565b336001600160a01b03167fbad43499e79621fa90281bd86a7ca9a849c7dfd4497986cf42d2492f9f2b24d083604051610f6f91906152a8565b60405180910390a26000826706f05b59d3b20000601454610f909190615700565b610f9a91906158e4565b60408051600280825260608201835292935060009290916020830190803683375050601254604080517fad5c464800000000000000000000000000000000000000000000000000000000815290519394506001600160a01b039091169263ad5c464892506004808301926020929190829003018186803b15801561101d57600080fd5b505afa158015611031573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110559190613b99565b8160008151811061106857611068615b75565b6001600160a01b03928316602091820292909201015260165482519116908290600190811061109957611099615b75565b6001600160a01b0392831660209182029290920101526012546040517ffb3bdb4100000000000000000000000000000000000000000000000000000000815291169063fb3bdb419034906110f7908690869030908a90600401615590565b6000604051808303818588803b15801561111057600080fd5b505af1158015611124573d6000803e3d6000fd5b50505050506040513d6000823e601f3d908101601f1916820160405261114d9190810190613de9565b5060005b848110156112735760405133907f6871e329198b319adcce5196458d56b81939284c334a427d776ebdc356dd5acb90600090a26000611194601354601454612320565b600081815260196020908152604080832080547fffffffffffffffffffffffff000000000000000000000000000000000000000016339081179091558352601a909152902081905590506111ec601180546001019055565b60006111f760115490565b6000838152601d60209081526040808320849055838352601b825280832080547fffffffffffffffffffffffff00000000000000000000000000000000000000001633179055858352601990915290205490915061125e906001600160a01b03168261245b565b5050808061126b90615a44565b915050611151565b50506001600f55505050565b6000818152601c6020526040902054606090806112ae5760405162461bcd60e51b8152600401610c62906153d0565b6018546040517f2ede0bda0000000000000000000000000000000000000000000000000000000081526001600160a01b0390911690632ede0bda906112f99084908790600401615320565b60006040518083038186803b15801561131157600080fd5b505afa158015611325573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261134d9190810190613eca565b9392505050565b600061135f60085490565b821061137d5760405162461bcd60e51b8152600401610c6290615540565b6008828154811061139057611390615b75565b90600052602060002001549050919050565b6001600160a01b038082166000908152600a602052604081205490911680156113cb578061134d565b5090919050565b6001600160a01b0381166113e35750335b610e363382612475565b6000818152600260205260408120546001600160a01b031680610b965760405162461bcd60e51b8152600401610c62906154a0565b60006001600160a01b03821661144a5760405162461bcd60e51b8152600401610c6290615490565b506001600160a01b031660009081526003602052604090205490565b600e546001600160a01b031633146114905760405162461bcd60e51b8152600401610c62906154e0565b61149a600061250d565b565b60004382106114bd5760405162461bcd60e51b8152600401610c6290615530565b6001600160a01b0383166000908152600c602052604090205463ffffffff16806114eb576000915050610b96565b6001600160a01b0384166000908152600b60205260408120849161151060018561593c565b63ffffffff90811682526020820192909252604001600020541611611589576001600160a01b0384166000908152600b602052604081209061155360018461593c565b63ffffffff16815260208101919091526040016000205464010000000090046bffffffffffffffffffffffff169150610b969050565b6001600160a01b0384166000908152600b6020908152604080832083805290915290205463ffffffff168310156115c4576000915050610b96565b6000806115d260018461593c565b90505b8163ffffffff168163ffffffff1611156116aa57600060026115f7848461593c565b6116019190615797565b61160b908361593c565b6001600160a01b0388166000908152600b6020908152604080832063ffffffff8581168552908352928190208151808301909252549283168082526401000000009093046bffffffffffffffffffffffff169181019190915291925087141561167e57602001519450610b969350505050565b805163ffffffff16871115611695578193506116a3565b6116a060018361593c565b92505b50506115d5565b506001600160a01b0385166000908152600b6020908152604080832063ffffffff909416835292905220546bffffffffffffffffffffffff6401000000009091041691505092915050565b336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461173d5760405162461bcd60e51b8152600401610c6290615500565b6117478282612577565b5050565b606060018054610bab906159ea565b600e546001600160a01b031633146117845760405162461bcd60e51b8152600401610c62906154e0565b6040517fa9059cbb0000000000000000000000000000000000000000000000000000000081526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063a9059cbb906117eb9085908590600401615249565b602060405180830381600087803b15801561180557600080fd5b505af1158015611819573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061183d9190613e24565b6117475760405162461bcd60e51b8152600401610c6290615460565b6001600160a01b0382163314156118825760405162461bcd60e51b8152600401610c6290615420565b3360008181526005602090815260408083206001600160a01b03871680855292529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001685151517905590519091907f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319061190390859061529a565b60405180910390a35050565b6001600160a01b0381166000908152600c602052604081205463ffffffff168061193a57600061134d565b6001600160a01b0383166000908152600b602052604081209061195e60018461593c565b63ffffffff16815260208101919091526040016000205464010000000090046bffffffffffffffffffffffff169392505050565b61199c3383612129565b6119b85760405162461bcd60e51b8152600401610c6290615520565b6119c48484848461264c565b50505050565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8666119f5610b9c565b80519060200120611a034690565b30604051602001611a1794939291906152eb565b60405160208183030381529060405280519060200120905060007fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf888888604051602001611a6894939291906152b6565b60405160208183030381529060405280519060200120905060008282604051602001611a95929190614b66565b604051602081830303815290604052805190602001209050600060018288888860405160008152602001604052604051611ad29493929190615356565b6020604051602081039080840390855afa158015611af4573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611b275760405162461bcd60e51b8152600401610c6290615430565b6001600160a01b0381166000908152600d60205260408120805491611b4b83615a44565b919050558914611b6d5760405162461bcd60e51b8152600401610c62906153f0565b87421115611b8d5760405162461bcd60e51b8152600401610c6290615390565b611b97818b612475565b505050505b505050505050565b6000818152601c602052604090205460609080611bd35760405162461bcd60e51b8152600401610c6290615400565b6000611bde8261267f565b90506000611beb8361271d565b90506000611bf884612767565b90506000611c058761127f565b848484611c11896127b1565b611c1a426127b1565b604051602001611c2f96959493929190614b7d565b60405160208183030381529060405290506000611c4b826128e3565b9050600081604051602001611c6091906151bd565b60408051601f198184030181529190529998505050505050505050565b600e546001600160a01b03163314611ca75760405162461bcd60e51b8152600401610c62906154e0565b611f4081611cb460115490565b611cbe9190615700565b1115611cdc5760405162461bcd60e51b8152600401610c6290615570565b336001600160a01b03167f61084549675d28ada8b6027e61699292f23587234eeafe7cdb6f089c0ca9ed0d82604051611d1591906152a8565b60405180910390a260005b818110156117475760405133907f6871e329198b319adcce5196458d56b81939284c334a427d776ebdc356dd5acb90600090a26000611d63601354601454612320565b600081815260196020908152604080832080547fffffffffffffffffffffffff000000000000000000000000000000000000000016339081179091558352601a90915290208190559050611dbb601180546001019055565b6000611dc660115490565b6000838152601d60209081526040808320849055838352601b825280832080547fffffffffffffffffffffffff000000000000000000000000000000000000000016331790558583526019909152902054909150611e2d906001600160a01b03168261245b565b50508080611e3a90615a44565b915050611d20565b600e546001600160a01b03163314611e6c5760405162461bcd60e51b8152600401610c62906154e0565b60178054908290556040517f523ea72c3a1cde7b663b995626d14957ab753ec5588552ccb1de677455a6301f90611ea69083908590615320565b60405180910390a15050565b60606000611ec8600e546001600160a01b031690565b90506000611ed76017546127b1565b611ee083612abc565b604051602001611ef1929190614e76565b60405160208183030381529060405290506000611f0d826128e3565b9050600081604051602001611f2291906151bd565b60408051601f1981840301815291905295945050505050565b6000610b96611f4983611422565b6040518060600160405280603d8152602001615ced603d9139612d94565b600e546001600160a01b03163314611f915760405162461bcd60e51b8152600401610c62906154e0565b6001600160a01b038116611fb75760405162461bcd60e51b8152600401610c62906153c0565b610e368161250d565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061205357507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610b9657507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610b96565b600081815260046020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03841690811790915581906120f0826113ed565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661215d5760405162461bcd60e51b8152600401610c6290615440565b6000612168836113ed565b9050806001600160a01b0316846001600160a01b031614806121a35750836001600160a01b031661219884610c2e565b6001600160a01b0316145b806121d357506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166121ee826113ed565b6001600160a01b0316146122145760405162461bcd60e51b8152600401610c62906154f0565b6001600160a01b03821661223a5760405162461bcd60e51b8152600401610c6290615410565b612245838383612dcc565b6122506000826120a3565b6001600160a01b0383166000908152600360205260408120805460019290612279908490615921565b90915550506001600160a01b03821660009081526003602052604081208054600192906122a7908490615700565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316634000aea07f000000000000000000000000000000000000000000000000000000000000000084866000604051602001612387929190615320565b6040516020818303038152906040526040518463ffffffff1660e01b81526004016123b493929190615264565b602060405180830381600087803b1580156123ce57600080fd5b505af11580156123e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124069190613e24565b5060008381526010602052604081205461242590859083903090612df3565b600085815260106020526040902054909150612442906001615700565b6000858152601060205260409020556121d38482612e2d565b611747828260405180602001604052806000815250612e60565b6000612480836113a2565b6001600160a01b038481166000818152600a602052604080822080547fffffffffffffffffffffffff000000000000000000000000000000000000000016888616908117909155905194955093928516927f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4600061250084611f3b565b90506119c4828483612e93565b600e80546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000828260405160200161258c929190615320565b60405160208183030381529060405280519060200120905060006125b28260001c6127b1565b905060006125c38260086000613050565b905060006125d082613171565b600087815260196020908152604080832054601d835281842054808552601c90935292819020849055519293506001600160a01b039091169182907fc2269261f215b72aa04ef79ca7de52c34283d6eb6184d96658f97918c72bea0c9061263a9084908b90615320565b60405180910390a25050505050505050565b6126578484846121db565b6126638484848461322d565b6119c45760405162461bcd60e51b8152600401610c62906153b0565b6018546040517f6b8ff5740000000000000000000000000000000000000000000000000000000081526060916001600160a01b031690636b8ff574906126c99085906004016152a8565b60006040518083038186803b1580156126e157600080fd5b505afa1580156126f5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b969190810190613eca565b6018546040517f6a3ef3800000000000000000000000000000000000000000000000000000000081526060916001600160a01b031690636a3ef380906126c99085906004016152a8565b6018546040517fd38d2b580000000000000000000000000000000000000000000000000000000081526060916001600160a01b03169063d38d2b58906126c99085906004016152a8565b6060816127f157505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561281b578061280581615a44565b91506128149050600a8361577f565b91506127f5565b60008167ffffffffffffffff81111561283657612836615ba4565b6040519080825280601f01601f191660200182016040528015612860576020820181803683370190505b5090505b84156121d357612875600183615921565b9150612882600a86615a76565b61288d906030615700565b60f81b8183815181106128a2576128a2615b75565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506128dc600a8661577f565b9450612864565b606081516000141561290357505060408051602081019091526000815290565b6000604051806060016040528060408152602001615cad60409139905060006003845160026129329190615700565b61293c919061577f565b6129479060046158e4565b90506000612956826020615700565b67ffffffffffffffff81111561296e5761296e615ba4565b6040519080825280601f01601f191660200182016040528015612998576020820181803683370190505b509050818152600183018586518101602084015b81831015612a04576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f81168501518253506001016129ac565b600389510660018114612a1e5760028114612a6857612aae565b7f3d3d0000000000000000000000000000000000000000000000000000000000007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe830152612aae565b7f3d000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8301525b509398975050505050505050565b604080518082018252601081527f303132333435363738396162636465660000000000000000000000000000000060208201528151602a80825260608281019094526001600160a01b03851692916000916020820181803683370190505090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612b5057612b50615b75565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612bb357612bb3615b75565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060005b6014811015612d8b5782600485612bfd84600c615700565b60208110612c0d57612c0d615b75565b1a60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916901c60f81c60ff1681518110612c4b57612c4b615b75565b01602001517fff000000000000000000000000000000000000000000000000000000000000001682612c7e8360026158e4565b612c89906002615700565b81518110612c9957612c99615b75565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508284612cd583600c615700565b60208110612ce557612ce5615b75565b825191901a600f16908110612cfc57612cfc615b75565b01602001517fff000000000000000000000000000000000000000000000000000000000000001682612d2f8360026158e4565b612d3a906003615700565b81518110612d4a57612d4a615b75565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535080612d8381615a44565b915050612be5565b50949350505050565b6000816c010000000000000000000000008410612dc45760405162461bcd60e51b8152600401610c62919061537f565b509192915050565b612dd7838383613381565b610d08612de3846113a2565b612dec846113a2565b6001612e93565b600084848484604051602001612e0c949392919061532e565b60408051601f19818403018152919052805160209091012095945050505050565b60008282604051602001612e42929190614b40565b60405160208183030381529060405280519060200120905092915050565b612e6a8383613439565b612e77600084848461322d565b610d085760405162461bcd60e51b8152600401610c62906153b0565b816001600160a01b0316836001600160a01b031614158015612ec357506000816bffffffffffffffffffffffff16115b15610d08576001600160a01b03831615612f8e576001600160a01b0383166000908152600c602052604081205463ffffffff169081612f03576000612f55565b6001600160a01b0385166000908152600b6020526040812090612f2760018561593c565b63ffffffff16815260208101919091526040016000205464010000000090046bffffffffffffffffffffffff165b90506000612f7c8285604051806060016040528060378152602001615d2a6037913961353f565b9050612f8a8684848461358b565b5050505b6001600160a01b03821615610d08576001600160a01b0382166000908152600c602052604081205463ffffffff169081612fc957600061301b565b6001600160a01b0384166000908152600b6020526040812090612fed60018561593c565b63ffffffff16815260208101919091526040016000205464010000000090046bffffffffffffffffffffffff165b905060006130428285604051806060016040528060368152602001615c33603691396137bd565b9050611b9c8584848461358b565b82516060908490613061858561568a565b111561306f5761306f615a8a565b60008467ffffffffffffffff81111561308a5761308a615ba4565b6040519080825280601f01601f1916602001820160405280156130b4576020820181803683370190505b509050806000855b6130c6888861568a565b811015613164578481815181106130df576130df615b75565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016838361311181615a44565b94508151811061312357613123615b75565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508061315c81615a44565b9150506130bc565b5090979650505050505050565b60008082815b815181101561322457600081835161318f9190615921565b905060008383815181106131a5576131a5615b75565b01602001517fff000000000000000000000000000000000000000000000000000000000000008116915060f81c60006131df603083615921565b90506131ec600185615921565b6131f790600a6157f6565b61320190826158e4565b61320b9088615700565b965050505050808061321c90615a44565b915050613177565b50909392505050565b60006001600160a01b0384163b15613379576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a029061328a903390899088908890600401615205565b602060405180830381600087803b1580156132a457600080fd5b505af19250505080156132d4575060408051601f3d908101601f191682019092526132d191810190613ea9565b60015b61332e573d808015613302576040519150601f19603f3d011682016040523d82523d6000602084013e613307565b606091505b5080516133265760405162461bcd60e51b8152600401610c62906153b0565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490506121d3565b5060016121d3565b6001600160a01b0383166133dc576133d781600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6133ff565b816001600160a01b0316836001600160a01b0316146133ff576133ff838261380b565b6001600160a01b03821661341657610d08816138a8565b826001600160a01b0316826001600160a01b031614610d0857610d088282613957565b6001600160a01b03821661345f5760405162461bcd60e51b8152600401610c62906154b0565b6000818152600260205260409020546001600160a01b0316156134945760405162461bcd60e51b8152600401610c62906153e0565b6134a060008383612dcc565b6001600160a01b03821660009081526003602052604081208054600192906134c9908490615700565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000836bffffffffffffffffffffffff16836bffffffffffffffffffffffff16111582906135805760405162461bcd60e51b8152600401610c62919061537f565b506121d38385615953565b60006135af43604051806080016040528060448152602001615c696044913961399b565b905060008463ffffffff1611801561360957506001600160a01b0385166000908152600b6020526040812063ffffffff8316916135ed60018861593c565b63ffffffff908116825260208201929092526040016000205416145b15613692576001600160a01b0385166000908152600b60205260408120839161363360018861593c565b63ffffffff168152602081019190915260400160002080546bffffffffffffffffffffffff92909216640100000000027fffffffffffffffffffffffffffffffff000000000000000000000000ffffffff909216919091179055613773565b60408051808201825263ffffffff80841682526bffffffffffffffffffffffff80861660208085019182526001600160a01b038b166000908152600b82528681208b8616825290915294909420925183549451909116640100000000027fffffffffffffffffffffffffffffffff00000000000000000000000000000000909416911617919091179055613727846001615713565b6001600160a01b0386166000908152600c6020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000001663ffffffff929092169190911790555b846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a72484846040516137ae929190615604565b60405180910390a25050505050565b6000806137ca848661573d565b9050846bffffffffffffffffffffffff16816bffffffffffffffffffffffff1610158390612d8b5760405162461bcd60e51b8152600401610c62919061537f565b6000600161381884611422565b6138229190615921565b600083815260076020526040902054909150808214613875576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906138ba90600190615921565b600083815260096020526040812054600880549394509092849081106138e2576138e2615b75565b90600052602060002001549050806008838154811061390357613903615b75565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061393b5761393b615b46565b6001900381819060005260206000200160009055905550505050565b600061396283611422565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6000816401000000008410612dc45760405162461bcd60e51b8152600401610c62919061537f565b60006139d66139d18461563b565b61561f565b905080838252602082019050828560208602820111156139f8576139f8600080fd5b60005b85811015613a245781613a0e8882613b57565b84525060209283019291909101906001016139fb565b5050509392505050565b6000613a3c6139d18461565f565b905082815260208101848484011115613a5757613a57600080fd5b613a628482856159b2565b509392505050565b6000613a786139d18461565f565b905082815260208101848484011115613a9357613a93600080fd5b613a628482856159be565b8035610b9681615bd3565b8051610b9681615bd3565b600082601f830112613ac857613ac8600080fd5b81516121d38482602086016139c3565b8035610b9681615be7565b8051610b9681615be7565b8035610b9681615bef565b8035610b9681615bf5565b8051610b9681615bf5565b600082601f830112613b2357613b23600080fd5b81356121d3848260208601613a2e565b600082601f830112613b4757613b47600080fd5b81516121d3848260208601613a6a565b8051610b9681615bef565b8035610b9681615c1d565b8035610b9681615c29565b600060208284031215613b8d57613b8d600080fd5b60006121d38484613a9e565b600060208284031215613bae57613bae600080fd5b60006121d38484613aa9565b60008060408385031215613bd057613bd0600080fd5b6000613bdc8585613a9e565b9250506020613bed85828601613a9e565b9150509250929050565b600080600060608486031215613c0f57613c0f600080fd5b6000613c1b8686613a9e565b9350506020613c2c86828701613a9e565b9250506040613c3d86828701613aee565b9150509250925092565b60008060008060808587031215613c6057613c60600080fd5b6000613c6c8787613a9e565b9450506020613c7d87828801613a9e565b9350506040613c8e87828801613aee565b925050606085013567ffffffffffffffff811115613cae57613cae600080fd5b613cba87828801613b0f565b91505092959194509250565b60008060408385031215613cdc57613cdc600080fd5b6000613ce88585613a9e565b9250506020613bed85828601613ad8565b60008060408385031215613d0f57613d0f600080fd5b6000613d1b8585613a9e565b9250506020613bed85828601613aee565b60008060008060008060c08789031215613d4857613d48600080fd5b6000613d548989613a9e565b9650506020613d6589828a01613aee565b9550506040613d7689828a01613aee565b9450506060613d8789828a01613b6d565b9350506080613d9889828a01613aee565b92505060a0613da989828a01613aee565b9150509295509295509295565b60008060408385031215613dcc57613dcc600080fd5b6000613dd88585613a9e565b9250506020613bed85828601613b62565b600060208284031215613dfe57613dfe600080fd5b815167ffffffffffffffff811115613e1857613e18600080fd5b6121d384828501613ab4565b600060208284031215613e3957613e39600080fd5b60006121d38484613ae3565b600060208284031215613e5a57613e5a600080fd5b60006121d38484613aee565b60008060408385031215613e7c57613e7c600080fd5b6000613d1b8585613aee565b600060208284031215613e9d57613e9d600080fd5b60006121d38484613af9565b600060208284031215613ebe57613ebe600080fd5b60006121d38484613b04565b600060208284031215613edf57613edf600080fd5b815167ffffffffffffffff811115613ef957613ef9600080fd5b6121d384828501613b33565b6000613f118383613f19565b505060200190565b613f228161597a565b82525050565b6000613f32825190565b80845260209384019383018060005b83811015613f66578151613f558882613f05565b975060208301925050600101613f41565b509495945050505050565b801515613f22565b80613f22565b6000613f89825190565b808452602084019350613fa08185602086016159be565b601f01601f19169290920192915050565b613f228161598b565b6000613fc4825190565b613fd28185602086016159be565b9290920192915050565b7f7d2c000000000000000000000000000000000000000000000000000000000000815260005b5060020190565b603681526000602082017f455243373231436865636b706f696e7461626c653a3a64656c6567617465427981527f5369673a207369676e6174757265206578706972656400000000000000000000602082015291505b5060400190565b602b81526000602082017f455243373231456e756d657261626c653a206f776e657220696e646578206f7581527f74206f6620626f756e64730000000000000000000000000000000000000000006020820152915061405f565b603281526000602082017f4552433732313a207472616e7366657220746f206e6f6e20455243373231526581527f63656976657220696d706c656d656e74657200000000000000000000000000006020820152915061405f565b602681526000602082017f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206181527f64647265737300000000000000000000000000000000000000000000000000006020820152915061405f565b7f222c00000000000000000000000000000000000000000000000000000000000081526000614002565b600e81526000602082017f646f6573206e6f74206578697374000000000000000000000000000000000000815291505b5060200190565b601c81526000602082017f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000815291506141ce565b7f190100000000000000000000000000000000000000000000000000000000000081526000614002565b603281526000602082017f455243373231436865636b706f696e7461626c653a3a64656c6567617465427981527f5369673a20696e76616c6964206e6f6e636500000000000000000000000000006020820152915061405f565b601281526000602082017f646f6573206e6f74207965742065786973740000000000000000000000000000815291506141ce565b7f2c00000000000000000000000000000000000000000000000000000000000000815260005b5060010190565b602481526000602082017f4552433732313a207472616e7366657220746f20746865207a65726f2061646481527f72657373000000000000000000000000000000000000000000000000000000006020820152915061405f565b601981526000602082017f4552433732313a20617070726f766520746f2063616c6c657200000000000000815291506141ce565b603681526000602082017f455243373231436865636b706f696e7461626c653a3a64656c6567617465427981527f5369673a20696e76616c6964207369676e6174757265000000000000000000006020820152915061405f565b602c81526000602082017f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657881527f697374656e7420746f6b656e00000000000000000000000000000000000000006020820152915061405f565b600f81526000602082017f4d6178207175616e746974792035300000000000000000000000000000000000815291506141ce565b600f81526000602082017f4e6f7420656e6f756768204c494e4b0000000000000000000000000000000000815291506141ce565b603881526000602082017f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7781527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020820152915061405f565b7f2200000000000000000000000000000000000000000000000000000000000000815260006142e7565b601681526000602082017f457863656564696e67207075626c6963206d696e747300000000000000000000815291506141ce565b602a81526000602082017f4552433732313a2062616c616e636520717565727920666f7220746865207a6581527f726f2061646472657373000000000000000000000000000000000000000000006020820152915061405f565b602981526000602082017f4552433732313a206f776e657220717565727920666f72206e6f6e657869737481527f656e7420746f6b656e00000000000000000000000000000000000000000000006020820152915061405f565b7f22646973706c61795f74797065223a202264617465222c000000000000000000815260005b5060170190565b60208082527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373910190815260006141ce565b7f7d00000000000000000000000000000000000000000000000000000000000000815260006142e7565b601e81526000602082017f4d696e74206c696d6974207265616368656420706572206163636f756e740000815291506141ce565b602c81526000602082017f4552433732313a20617070726f76656420717565727920666f72206e6f6e657881527f697374656e7420746f6b656e00000000000000000000000000000000000000006020820152915061405f565b60208082527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572910190815260006141ce565b602981526000602082017f4552433732313a207472616e73666572206f6620746f6b656e2074686174206981527f73206e6f74206f776e00000000000000000000000000000000000000000000006020820152915061405f565b7f7b00000000000000000000000000000000000000000000000000000000000000815260006142e7565b601f81526000602082017f4f6e6c7920565246436f6f7264696e61746f722063616e2066756c66696c6c00815291506141ce565b7f2276616c7565223a202200000000000000000000000000000000000000000000815260005b50600a0190565b7f5d00000000000000000000000000000000000000000000000000000000000000815260006142e7565b602181526000602082017f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6581527f72000000000000000000000000000000000000000000000000000000000000006020820152915061405f565b603181526000602082017f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f81527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020820152915061405f565b603781526000602082017f455243373231436865636b706f696e7461626c653a3a6765745072696f72566f81527f7465733a206e6f74207965742064657465726d696e65640000000000000000006020820152915061405f565b602c81526000602082017f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f81527f7574206f6620626f756e647300000000000000000000000000000000000000006020820152915061405f565b7f22696d616765223a2022000000000000000000000000000000000000000000008152600061482b565b7f2274726169745f74797065223a2022537566666978222c0000000000000000008152600061462a565b601f81526000602082017f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00815291506141ce565b601181526000602082017f5769746864726177616c206661696c6564000000000000000000000000000000815291506141ce565b601981526000602082017f4f776e6572206d696e7473206e6f7420617661696c61626c6500000000000000815291506141ce565b602281526000602082017f526571756972656420616d6f756e7420706572204e46543a20302e363138204581527f54480000000000000000000000000000000000000000000000000000000000006020820152915061405f565b63ffffffff8116613f22565b60ff8116613f22565b613f228161599c565b6bffffffffffffffffffffffff8116613f22565b6000614b4c8285613f79565b602082019150614b5c8284613f79565b5060200192915050565b6000614b7182614209565b9150614b4c8285613f79565b6000614b88826147a7565b7f226465736372697074696f6e223a20224d6574616d6174696369616e7320617281527f652072616e646f6d6c792067656e65726174656420616e64206861766520313060208201527f3025206f6e2d636861696e2061727420616e64206d65746164617461222c000060408201527f2265787465726e616c5f75726c223a202268747470733a2f2f6465667261672e605e8201527f66692f222c000000000000000000000000000000000000000000000000000000607e8201526083019150614c51826149c4565b9150614c5d8289613fba565b9150614c6882614174565b7f2261747472696275746573223a205b00000000000000000000000000000000008152600f019150614c99826147a7565b7f2274726169745f74797065223a20224e616d65222c000000000000000000000081526015019150614cca82614805565b9150614cd68288613fba565b9150614ce1826144f2565b9150614cec82613fdc565b9150614cf7826147a7565b9150614d02826149ee565b9150614d0d82614805565b9150614d198287613fba565b9150614d24826144f2565b9150614d2f82613fdc565b9150614d3a826147a7565b7f2274726169745f74797065223a2022477265656b222c0000000000000000000081526016019150614d6b82614805565b9150614d778286613fba565b9150614d82826144f2565b9150614d8d82613fdc565b9150614d98826147a7565b7f2274726169745f74797065223a20225069656365206f66205069222c000000008152601c019150614dc982614805565b9150614dd58285613fba565b9150614de0826144f2565b9150614deb82613fdc565b9150614df6826147a7565b9150614e0182614604565b7f2274726169745f74797065223a20224269727468646179222c0000000000000081526019019150614e3282614805565b9150614e3e8284613fba565b9150614e49826144f2565b9150614e5482614663565b9150614e5f82614832565b9150614e6a82614663565b98975050505050505050565b6000614e81826147a7565b7f226e616d65223a20224d6574616d6174696369616e73222c000000000000000081527f226465736372697074696f6e223a20224d6574616d6174696369616e7320617260188201527f652072616e646f6d6c792067656e65726174656420616e64206861766520313060388201527f3025206f6e2d636861696e2061727420616e64206d657461646174612e20416c60588201527f6c206f6620746865206d696e74696e672070726f63656564732061726520646560788201527f706f736974656420696e746f20746865204465467261672044414f205472656160988201527f7375727920616e642077696c6c206265207573656420746f206a756d7073746160b88201527f727420746865206669727374204e465420756e64657277726974696e6720706f60d88201527f6f6c2e2045616368204d6574616d6174696369616e204e46542068617320616e60f88201527f20617474616368656420455448207374616b65642076616c756520696e2074686101188201527f697320756e64657277726974696e6720706f6f6c2077686963682077696c6c206101388201527f616363727565206f7074696f6e207072656d69756d206665657320696e2070656101588201527f72706574756974792e204c6561726e206d6f7265206f6e206f757220646f63736101788201527f21222c00000000000000000000000000000000000000000000000000000000006101988201527f22696d616765223a202268747470733a2f2f6465667261672e66692f6f70656e61019b8201527f7365612d696d6167652e706e67222c00000000000000000000000000000000006101bb8201527f2265787465726e616c5f6c696e6b223a202268747470733a2f2f6465667261676101ca8201527f2e66692f222c00000000000000000000000000000000000000000000000000006101ea8201527f2273656c6c65725f6665655f62617369735f706f696e7473223a2000000000006101f082015261020b01915061516a8285613fba565b9150615175826142c1565b7f226665655f726563697069656e74223a20220000000000000000000000000000815260120191506151a78284613fba565b91506151b2826144f2565b91506121d382614663565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000008152601d01600061134d8284613fba565b600081610b96565b60208101610b968284613f19565b608081016152138287613f19565b6152206020830186613f19565b61522d6040830185613f79565b818103606083015261523f8184613f7f565b9695505050505050565b604081016152578285613f19565b61134d6020830184613f79565b606081016152728286613f19565b61527f6020830185613f79565b81810360408301526152918184613f7f565b95945050505050565b60208101610b968284613f71565b60208101610b968284613f79565b608081016152c48287613f79565b6152d16020830186613f19565b6152de6040830185613f79565b6152916060830184613f79565b608081016152f98287613f79565b6153066020830186613f79565b6153136040830185613f79565b6152916060830184613f19565b604081016152578285613f79565b6080810161533c8287613f79565b6153496020830186613f79565b6152de6040830185613f19565b608081016153648287613f79565b6152d16020830186614b1a565b60208101610b968284613fb1565b6020808252810161134d8184613f7f565b60208082528101610b9681614009565b60208082528101610b9681614066565b60208082528101610b96816140c0565b60208082528101610b968161411a565b60208082528101610b968161419e565b60208082528101610b96816141d5565b60208082528101610b9681614233565b60208082528101610b968161428d565b60208082528101610b96816142ee565b60208082528101610b9681614348565b60208082528101610b968161437c565b60208082528101610b96816143d6565b60208082528101610b9681614430565b60208082528101610b9681614464565b60208082528101610b9681614498565b60208082528101610b968161451c565b60208082528101610b9681614550565b60208082528101610b96816145aa565b60208082528101610b9681614631565b60208082528101610b968161468d565b60208082528101610b96816146c1565b60208082528101610b968161471b565b60208082528101610b968161474d565b60208082528101610b96816147d1565b60208082528101610b968161485c565b60208082528101610b96816148b6565b60208082528101610b9681614910565b60208082528101610b968161496a565b60208082528101610b9681614a18565b60208082528101610b9681614a4c565b60208082528101610b9681614a80565b60208082528101610b9681614ab4565b6080810161559e8287613f79565b81810360208301526155b08186613f28565b90506152de6040830185613f19565b60208101610b968284614b0e565b604081016155db8285614b0e565b61134d6020830184614b2c565b60208101610b968284614b1a565b60208101610b968284614b2c565b604081016156128285614b23565b61134d6020830184614b23565b600061562a60405190565b90506156368282615a17565b919050565b600067ffffffffffffffff82111561565557615655615ba4565b5060209081020190565b600067ffffffffffffffff82111561567957615679615ba4565b601f19601f83011660200192915050565b6000817f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038313600083121516156156c4576156c4615ab9565b817f80000000000000000000000000000000000000000000000000000000000000000383126000831216156156fb576156fb615ab9565b500190565b600082198211156156fb576156fb615ab9565b600063ffffffff8216915063ffffffff831692508263ffffffff038211156156fb576156fb615ab9565b60006bffffffffffffffffffffffff821691506bffffffffffffffffffffffff83169250826bffffffffffffffffffffffff038211156156fb576156fb615ab9565b6000825b92508261579257615792615ae8565b500490565b600063ffffffff8216915063ffffffff8316615783565b80825b60018511156157ed578086048111156157cc576157cc615ab9565b60018516156157da57908102905b80026157e68560011c90565b94506157b1565b94509492505050565b600061134d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848460008261582d5750600161134d565b8161583a5750600061134d565b8160018114615850576002811461585a57615887565b600191505061134d565b60ff84111561586b5761586b615ab9565b8360020a91508482111561588157615881615ab9565b5061134d565b5060208310610133831016604e8410600b84101617156158ba575081810a838111156158b5576158b5615ab9565b61134d565b6158c784848460016157ae565b925090508184048111156158dd576158dd615ab9565b0292915050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561591c5761591c615ab9565b500290565b6000825b92508282101561593757615937615ab9565b500390565b600063ffffffff8216915063ffffffff8316615925565b60006bffffffffffffffffffffffff821691506bffffffffffffffffffffffff8316615925565b60006001600160a01b038216610b96565b6000610b96826000610b968261597a565b60006bffffffffffffffffffffffff8216610b96565b82818337506000910152565b60005b838110156159d95781810151838201526020016159c1565b838111156119c45750506000910152565b6002810460018216806159fe57607f821691505b60208210811415615a1157615a11615b17565b50919050565b601f19601f830116810181811067ffffffffffffffff82111715615a3d57615a3d615ba4565b6040525050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156142e7576142e7615ab9565b600082615a8557615a85615ae8565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b615bdc8161597a565b8114610e3657600080fd5b801515615bdc565b80615bdc565b7fffffffff000000000000000000000000000000000000000000000000000000008116615bdc565b63ffffffff8116615bdc565b60ff8116615bdc56fe455243373231436865636b706f696e7461626c653a3a5f6d6f766544656c6567617465733a20616d6f756e74206f766572666c6f7773455243373231436865636b706f696e7461626c653a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d626572206578636565647320333220626974734142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f455243373231436865636b706f696e7461626c653a3a766f746573546f44656c65676174653a20616d6f756e7420657863656564732039362062697473455243373231436865636b706f696e7461626c653a3a5f6d6f766544656c6567617465733a20616d6f756e7420756e646572666c6f7773a26469706673582212203a9fa2b4b60d194a4ad601664021b97a697adb5cbd6185cc4b4631fd1373dd4964736f6c63430008070033000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952000000000000000000000000514910771af9ca656af840dff83e8264ecf986caaa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af4450000000000000000000000000000000000000000000000001bc16d674ec80000000000000000000000000000d9db37db0ba9d07fd01c3166f7d557135d43f17b0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d

Deployed Bytecode

0x6080604052600436106103595760003560e01c806370a08231116101bb578063b8997a97116100f7578063dd146bb411610095578063e9580e911161006f578063e9580e9114610a53578063e985e9c514610a73578063f1127ed814610abc578063f2fde38b14610b2057600080fd5b8063dd146bb4146109d4578063e7a324dc14610a0a578063e8a3d48514610a3e57600080fd5b8063cbccdc1f116100d1578063cbccdc1f14610962578063cce132d114610982578063cfdcfa6914610998578063d7bf81a3146109b857600080fd5b8063b8997a971461090c578063c3cda52014610922578063c87b56dd1461094257600080fd5b806394985ddd1161016457806399f793cc1161013e57806399f793cc1461087f578063a22cb465146108ac578063b4b5ea57146108cc578063b88d4fde146108ec57600080fd5b806394985ddd1461082a57806395d89b411461084a578063983fbab21461085f57600080fd5b8063782d6fe111610195578063782d6fe1146107b25780637ecebe00146107df5780638da5cb5b1461080c57600080fd5b806370a0823114610750578063715018a614610770578063735de9f71461078557600080fd5b80633ccfd60b11610295578063587cde1e11610233578063639e576d1161020d578063639e576d146106975780636d883bd9146106ad5780636e9e48ef146106da5780636fcfff451461071057600080fd5b8063587cde1e146106375780635c19a95c146106575780636352211e1461067757600080fd5b8063449de7791161026f578063449de779146105c457806344b285db146105d75780634f6ccce7146105f75780634f8e2fdf1461061757600080fd5b80633ccfd60b146105625780633cffd8841461057757806342842e0e146105a457600080fd5b80631a5030371161030257806323b872dd116102dc57806323b872dd146104e05780632f745c5914610500578063313ce5671461052057806333b608631461054257600080fd5b80631a503037146104815780631bb85b4f1461049657806320606b70146104ac57600080fd5b8063095ea7b311610333578063095ea7b3146104215780630f16d1241461044357806318160ddd1461046357600080fd5b806301ffc9a71461039c57806306fdde03146103d2578063081812fc146103f457600080fd5b36610397577f02f857175b5562dc8e8fe1cc6d39215bf823a07a685f52fba82f1e637d4185133460405161038d91906152a8565b60405180910390a1005b600080fd5b3480156103a857600080fd5b506103bc6103b7366004613e88565b610b40565b6040516103c9919061529a565b60405180910390f35b3480156103de57600080fd5b506103e7610b9c565b6040516103c9919061537f565b34801561040057600080fd5b5061041461040f366004613e45565b610c2e565b6040516103c991906151f7565b34801561042d57600080fd5b5061044161043c366004613cf9565b610c87565b005b34801561044f57600080fd5b50601854610414906001600160a01b031681565b34801561046f57600080fd5b506008545b6040516103c991906152a8565b34801561048d57600080fd5b50610474603281565b3480156104a257600080fd5b5061047461190081565b3480156104b857600080fd5b506104747f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b3480156104ec57600080fd5b506104416104fb366004613bf7565b610d0d565b34801561050c57600080fd5b5061047461051b366004613cf9565b610d3e565b34801561052c57600080fd5b50610535600081565b6040516103c991906155e8565b34801561054e57600080fd5b50601554610414906001600160a01b031681565b34801561056e57600080fd5b50610441610d90565b34801561058357600080fd5b50610474610592366004613b78565b601a6020526000908152604090205481565b3480156105b057600080fd5b506104416105bf366004613bf7565b610e39565b6104416105d2366004613e66565b610e54565b3480156105e357600080fd5b506103e76105f2366004613e45565b61127f565b34801561060357600080fd5b50610474610612366004613e45565b611354565b34801561062357600080fd5b50601654610414906001600160a01b031681565b34801561064357600080fd5b50610414610652366004613b78565b6113a2565b34801561066357600080fd5b50610441610672366004613b78565b6113d2565b34801561068357600080fd5b50610414610692366004613e45565b6113ed565b3480156106a357600080fd5b5061047461064081565b3480156106b957600080fd5b506104746106c8366004613e45565b601d6020526000908152604090205481565b3480156106e657600080fd5b506104146106f5366004613e45565b601b602052600090815260409020546001600160a01b031681565b34801561071c57600080fd5b5061074361072b366004613b78565b600c6020526000908152604090205463ffffffff1681565b6040516103c991906155bf565b34801561075c57600080fd5b5061047461076b366004613b78565b611422565b34801561077c57600080fd5b50610441611466565b34801561079157600080fd5b506012546107a5906001600160a01b031681565b6040516103c99190615371565b3480156107be57600080fd5b506107d26107cd366004613cf9565b61149c565b6040516103c991906155f6565b3480156107eb57600080fd5b506104746107fa366004613b78565b600d6020526000908152604090205481565b34801561081857600080fd5b50600e546001600160a01b0316610414565b34801561083657600080fd5b50610441610845366004613e66565b6116f5565b34801561085657600080fd5b506103e761174b565b34801561086b57600080fd5b5061044161087a366004613cf9565b61175a565b34801561088b57600080fd5b5061047461089a366004613e45565b601c6020526000908152604090205481565b3480156108b857600080fd5b506104416108c7366004613cc6565b611859565b3480156108d857600080fd5b506107d26108e7366004613b78565b61190f565b3480156108f857600080fd5b50610441610907366004613c47565b611992565b34801561091857600080fd5b5061047460175481565b34801561092e57600080fd5b5061044161093d366004613d2c565b6119ca565b34801561094e57600080fd5b506103e761095d366004613e45565b611ba4565b34801561096e57600080fd5b5061044161097d366004613e45565b611c7d565b34801561098e57600080fd5b50610474611f4081565b3480156109a457600080fd5b506104416109b3366004613e45565b611e42565b3480156109c457600080fd5b5061047467089393b9c731000081565b3480156109e057600080fd5b506104146109ef366004613e45565b6019602052600090815260409020546001600160a01b031681565b348015610a1657600080fd5b506104747fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b348015610a4a57600080fd5b506103e7611eb2565b348015610a5f57600080fd5b506107d2610a6e366004613b78565b611f3b565b348015610a7f57600080fd5b506103bc610a8e366004613bba565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610ac857600080fd5b50610b12610ad7366004613db6565b600b60209081526000928352604080842090915290825290205463ffffffff81169064010000000090046bffffffffffffffffffffffff1682565b6040516103c99291906155cd565b348015610b2c57600080fd5b50610441610b3b366004613b78565b611f67565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d63000000000000000000000000000000000000000000000000000000001480610b965750610b9682611fc0565b92915050565b606060008054610bab906159ea565b80601f0160208091040260200160405190810160405280929190818152602001828054610bd7906159ea565b8015610c245780601f10610bf957610100808354040283529160200191610c24565b820191906000526020600020905b815481529060010190602001808311610c0757829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610c6b5760405162461bcd60e51b8152600401610c62906154d0565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610c92826113ed565b9050806001600160a01b0316836001600160a01b03161415610cc65760405162461bcd60e51b8152600401610c6290615510565b336001600160a01b0382161480610ce25750610ce28133610a8e565b610cfe5760405162461bcd60e51b8152600401610c6290615470565b610d0883836120a3565b505050565b610d173382612129565b610d335760405162461bcd60e51b8152600401610c6290615520565b610d088383836121db565b6000610d4983611422565b8210610d675760405162461bcd60e51b8152600401610c62906153a0565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600e546001600160a01b03163314610dba5760405162461bcd60e51b8152600401610c62906154e0565b6000336001600160a01b031647604051610dd3906151ef565b60006040518083038185875af1925050503d8060008114610e10576040519150601f19603f3d011682016040523d82523d6000602084013e610e15565b606091505b5050905080610e365760405162461bcd60e51b8152600401610c6290615560565b50565b610d0883838360405180602001604052806000815250611992565b6002600f541415610e775760405162461bcd60e51b8152600401610c6290615550565b6002600f556032821115610e9d5760405162461bcd60e51b8152600401610c6290615450565b61190082610eaa60115490565b610eb49190615700565b1115610ed25760405162461bcd60e51b8152600401610c6290615480565b610ee48267089393b9c73100006158e4565b3414610f025760405162461bcd60e51b8152600401610c6290615580565b603282610f0e33611422565b610f189190615700565b1115610f365760405162461bcd60e51b8152600401610c62906154c0565b336001600160a01b03167fbad43499e79621fa90281bd86a7ca9a849c7dfd4497986cf42d2492f9f2b24d083604051610f6f91906152a8565b60405180910390a26000826706f05b59d3b20000601454610f909190615700565b610f9a91906158e4565b60408051600280825260608201835292935060009290916020830190803683375050601254604080517fad5c464800000000000000000000000000000000000000000000000000000000815290519394506001600160a01b039091169263ad5c464892506004808301926020929190829003018186803b15801561101d57600080fd5b505afa158015611031573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110559190613b99565b8160008151811061106857611068615b75565b6001600160a01b03928316602091820292909201015260165482519116908290600190811061109957611099615b75565b6001600160a01b0392831660209182029290920101526012546040517ffb3bdb4100000000000000000000000000000000000000000000000000000000815291169063fb3bdb419034906110f7908690869030908a90600401615590565b6000604051808303818588803b15801561111057600080fd5b505af1158015611124573d6000803e3d6000fd5b50505050506040513d6000823e601f3d908101601f1916820160405261114d9190810190613de9565b5060005b848110156112735760405133907f6871e329198b319adcce5196458d56b81939284c334a427d776ebdc356dd5acb90600090a26000611194601354601454612320565b600081815260196020908152604080832080547fffffffffffffffffffffffff000000000000000000000000000000000000000016339081179091558352601a909152902081905590506111ec601180546001019055565b60006111f760115490565b6000838152601d60209081526040808320849055838352601b825280832080547fffffffffffffffffffffffff00000000000000000000000000000000000000001633179055858352601990915290205490915061125e906001600160a01b03168261245b565b5050808061126b90615a44565b915050611151565b50506001600f55505050565b6000818152601c6020526040902054606090806112ae5760405162461bcd60e51b8152600401610c62906153d0565b6018546040517f2ede0bda0000000000000000000000000000000000000000000000000000000081526001600160a01b0390911690632ede0bda906112f99084908790600401615320565b60006040518083038186803b15801561131157600080fd5b505afa158015611325573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261134d9190810190613eca565b9392505050565b600061135f60085490565b821061137d5760405162461bcd60e51b8152600401610c6290615540565b6008828154811061139057611390615b75565b90600052602060002001549050919050565b6001600160a01b038082166000908152600a602052604081205490911680156113cb578061134d565b5090919050565b6001600160a01b0381166113e35750335b610e363382612475565b6000818152600260205260408120546001600160a01b031680610b965760405162461bcd60e51b8152600401610c62906154a0565b60006001600160a01b03821661144a5760405162461bcd60e51b8152600401610c6290615490565b506001600160a01b031660009081526003602052604090205490565b600e546001600160a01b031633146114905760405162461bcd60e51b8152600401610c62906154e0565b61149a600061250d565b565b60004382106114bd5760405162461bcd60e51b8152600401610c6290615530565b6001600160a01b0383166000908152600c602052604090205463ffffffff16806114eb576000915050610b96565b6001600160a01b0384166000908152600b60205260408120849161151060018561593c565b63ffffffff90811682526020820192909252604001600020541611611589576001600160a01b0384166000908152600b602052604081209061155360018461593c565b63ffffffff16815260208101919091526040016000205464010000000090046bffffffffffffffffffffffff169150610b969050565b6001600160a01b0384166000908152600b6020908152604080832083805290915290205463ffffffff168310156115c4576000915050610b96565b6000806115d260018461593c565b90505b8163ffffffff168163ffffffff1611156116aa57600060026115f7848461593c565b6116019190615797565b61160b908361593c565b6001600160a01b0388166000908152600b6020908152604080832063ffffffff8581168552908352928190208151808301909252549283168082526401000000009093046bffffffffffffffffffffffff169181019190915291925087141561167e57602001519450610b969350505050565b805163ffffffff16871115611695578193506116a3565b6116a060018361593c565b92505b50506115d5565b506001600160a01b0385166000908152600b6020908152604080832063ffffffff909416835292905220546bffffffffffffffffffffffff6401000000009091041691505092915050565b336001600160a01b037f000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952161461173d5760405162461bcd60e51b8152600401610c6290615500565b6117478282612577565b5050565b606060018054610bab906159ea565b600e546001600160a01b031633146117845760405162461bcd60e51b8152600401610c62906154e0565b6040517fa9059cbb0000000000000000000000000000000000000000000000000000000081526001600160a01b037f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca169063a9059cbb906117eb9085908590600401615249565b602060405180830381600087803b15801561180557600080fd5b505af1158015611819573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061183d9190613e24565b6117475760405162461bcd60e51b8152600401610c6290615460565b6001600160a01b0382163314156118825760405162461bcd60e51b8152600401610c6290615420565b3360008181526005602090815260408083206001600160a01b03871680855292529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001685151517905590519091907f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319061190390859061529a565b60405180910390a35050565b6001600160a01b0381166000908152600c602052604081205463ffffffff168061193a57600061134d565b6001600160a01b0383166000908152600b602052604081209061195e60018461593c565b63ffffffff16815260208101919091526040016000205464010000000090046bffffffffffffffffffffffff169392505050565b61199c3383612129565b6119b85760405162461bcd60e51b8152600401610c6290615520565b6119c48484848461264c565b50505050565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8666119f5610b9c565b80519060200120611a034690565b30604051602001611a1794939291906152eb565b60405160208183030381529060405280519060200120905060007fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf888888604051602001611a6894939291906152b6565b60405160208183030381529060405280519060200120905060008282604051602001611a95929190614b66565b604051602081830303815290604052805190602001209050600060018288888860405160008152602001604052604051611ad29493929190615356565b6020604051602081039080840390855afa158015611af4573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611b275760405162461bcd60e51b8152600401610c6290615430565b6001600160a01b0381166000908152600d60205260408120805491611b4b83615a44565b919050558914611b6d5760405162461bcd60e51b8152600401610c62906153f0565b87421115611b8d5760405162461bcd60e51b8152600401610c6290615390565b611b97818b612475565b505050505b505050505050565b6000818152601c602052604090205460609080611bd35760405162461bcd60e51b8152600401610c6290615400565b6000611bde8261267f565b90506000611beb8361271d565b90506000611bf884612767565b90506000611c058761127f565b848484611c11896127b1565b611c1a426127b1565b604051602001611c2f96959493929190614b7d565b60405160208183030381529060405290506000611c4b826128e3565b9050600081604051602001611c6091906151bd565b60408051601f198184030181529190529998505050505050505050565b600e546001600160a01b03163314611ca75760405162461bcd60e51b8152600401610c62906154e0565b611f4081611cb460115490565b611cbe9190615700565b1115611cdc5760405162461bcd60e51b8152600401610c6290615570565b336001600160a01b03167f61084549675d28ada8b6027e61699292f23587234eeafe7cdb6f089c0ca9ed0d82604051611d1591906152a8565b60405180910390a260005b818110156117475760405133907f6871e329198b319adcce5196458d56b81939284c334a427d776ebdc356dd5acb90600090a26000611d63601354601454612320565b600081815260196020908152604080832080547fffffffffffffffffffffffff000000000000000000000000000000000000000016339081179091558352601a90915290208190559050611dbb601180546001019055565b6000611dc660115490565b6000838152601d60209081526040808320849055838352601b825280832080547fffffffffffffffffffffffff000000000000000000000000000000000000000016331790558583526019909152902054909150611e2d906001600160a01b03168261245b565b50508080611e3a90615a44565b915050611d20565b600e546001600160a01b03163314611e6c5760405162461bcd60e51b8152600401610c62906154e0565b60178054908290556040517f523ea72c3a1cde7b663b995626d14957ab753ec5588552ccb1de677455a6301f90611ea69083908590615320565b60405180910390a15050565b60606000611ec8600e546001600160a01b031690565b90506000611ed76017546127b1565b611ee083612abc565b604051602001611ef1929190614e76565b60405160208183030381529060405290506000611f0d826128e3565b9050600081604051602001611f2291906151bd565b60408051601f1981840301815291905295945050505050565b6000610b96611f4983611422565b6040518060600160405280603d8152602001615ced603d9139612d94565b600e546001600160a01b03163314611f915760405162461bcd60e51b8152600401610c62906154e0565b6001600160a01b038116611fb75760405162461bcd60e51b8152600401610c62906153c0565b610e368161250d565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061205357507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610b9657507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610b96565b600081815260046020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03841690811790915581906120f0826113ed565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661215d5760405162461bcd60e51b8152600401610c6290615440565b6000612168836113ed565b9050806001600160a01b0316846001600160a01b031614806121a35750836001600160a01b031661219884610c2e565b6001600160a01b0316145b806121d357506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166121ee826113ed565b6001600160a01b0316146122145760405162461bcd60e51b8152600401610c62906154f0565b6001600160a01b03821661223a5760405162461bcd60e51b8152600401610c6290615410565b612245838383612dcc565b6122506000826120a3565b6001600160a01b0383166000908152600360205260408120805460019290612279908490615921565b90915550506001600160a01b03821660009081526003602052604081208054600192906122a7908490615700565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60007f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca6001600160a01b0316634000aea07f000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb795284866000604051602001612387929190615320565b6040516020818303038152906040526040518463ffffffff1660e01b81526004016123b493929190615264565b602060405180830381600087803b1580156123ce57600080fd5b505af11580156123e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124069190613e24565b5060008381526010602052604081205461242590859083903090612df3565b600085815260106020526040902054909150612442906001615700565b6000858152601060205260409020556121d38482612e2d565b611747828260405180602001604052806000815250612e60565b6000612480836113a2565b6001600160a01b038481166000818152600a602052604080822080547fffffffffffffffffffffffff000000000000000000000000000000000000000016888616908117909155905194955093928516927f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4600061250084611f3b565b90506119c4828483612e93565b600e80546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000828260405160200161258c929190615320565b60405160208183030381529060405280519060200120905060006125b28260001c6127b1565b905060006125c38260086000613050565b905060006125d082613171565b600087815260196020908152604080832054601d835281842054808552601c90935292819020849055519293506001600160a01b039091169182907fc2269261f215b72aa04ef79ca7de52c34283d6eb6184d96658f97918c72bea0c9061263a9084908b90615320565b60405180910390a25050505050505050565b6126578484846121db565b6126638484848461322d565b6119c45760405162461bcd60e51b8152600401610c62906153b0565b6018546040517f6b8ff5740000000000000000000000000000000000000000000000000000000081526060916001600160a01b031690636b8ff574906126c99085906004016152a8565b60006040518083038186803b1580156126e157600080fd5b505afa1580156126f5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b969190810190613eca565b6018546040517f6a3ef3800000000000000000000000000000000000000000000000000000000081526060916001600160a01b031690636a3ef380906126c99085906004016152a8565b6018546040517fd38d2b580000000000000000000000000000000000000000000000000000000081526060916001600160a01b03169063d38d2b58906126c99085906004016152a8565b6060816127f157505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561281b578061280581615a44565b91506128149050600a8361577f565b91506127f5565b60008167ffffffffffffffff81111561283657612836615ba4565b6040519080825280601f01601f191660200182016040528015612860576020820181803683370190505b5090505b84156121d357612875600183615921565b9150612882600a86615a76565b61288d906030615700565b60f81b8183815181106128a2576128a2615b75565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506128dc600a8661577f565b9450612864565b606081516000141561290357505060408051602081019091526000815290565b6000604051806060016040528060408152602001615cad60409139905060006003845160026129329190615700565b61293c919061577f565b6129479060046158e4565b90506000612956826020615700565b67ffffffffffffffff81111561296e5761296e615ba4565b6040519080825280601f01601f191660200182016040528015612998576020820181803683370190505b509050818152600183018586518101602084015b81831015612a04576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f81168501518253506001016129ac565b600389510660018114612a1e5760028114612a6857612aae565b7f3d3d0000000000000000000000000000000000000000000000000000000000007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe830152612aae565b7f3d000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8301525b509398975050505050505050565b604080518082018252601081527f303132333435363738396162636465660000000000000000000000000000000060208201528151602a80825260608281019094526001600160a01b03851692916000916020820181803683370190505090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612b5057612b50615b75565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612bb357612bb3615b75565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060005b6014811015612d8b5782600485612bfd84600c615700565b60208110612c0d57612c0d615b75565b1a60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916901c60f81c60ff1681518110612c4b57612c4b615b75565b01602001517fff000000000000000000000000000000000000000000000000000000000000001682612c7e8360026158e4565b612c89906002615700565b81518110612c9957612c99615b75565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508284612cd583600c615700565b60208110612ce557612ce5615b75565b825191901a600f16908110612cfc57612cfc615b75565b01602001517fff000000000000000000000000000000000000000000000000000000000000001682612d2f8360026158e4565b612d3a906003615700565b81518110612d4a57612d4a615b75565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535080612d8381615a44565b915050612be5565b50949350505050565b6000816c010000000000000000000000008410612dc45760405162461bcd60e51b8152600401610c62919061537f565b509192915050565b612dd7838383613381565b610d08612de3846113a2565b612dec846113a2565b6001612e93565b600084848484604051602001612e0c949392919061532e565b60408051601f19818403018152919052805160209091012095945050505050565b60008282604051602001612e42929190614b40565b60405160208183030381529060405280519060200120905092915050565b612e6a8383613439565b612e77600084848461322d565b610d085760405162461bcd60e51b8152600401610c62906153b0565b816001600160a01b0316836001600160a01b031614158015612ec357506000816bffffffffffffffffffffffff16115b15610d08576001600160a01b03831615612f8e576001600160a01b0383166000908152600c602052604081205463ffffffff169081612f03576000612f55565b6001600160a01b0385166000908152600b6020526040812090612f2760018561593c565b63ffffffff16815260208101919091526040016000205464010000000090046bffffffffffffffffffffffff165b90506000612f7c8285604051806060016040528060378152602001615d2a6037913961353f565b9050612f8a8684848461358b565b5050505b6001600160a01b03821615610d08576001600160a01b0382166000908152600c602052604081205463ffffffff169081612fc957600061301b565b6001600160a01b0384166000908152600b6020526040812090612fed60018561593c565b63ffffffff16815260208101919091526040016000205464010000000090046bffffffffffffffffffffffff165b905060006130428285604051806060016040528060368152602001615c33603691396137bd565b9050611b9c8584848461358b565b82516060908490613061858561568a565b111561306f5761306f615a8a565b60008467ffffffffffffffff81111561308a5761308a615ba4565b6040519080825280601f01601f1916602001820160405280156130b4576020820181803683370190505b509050806000855b6130c6888861568a565b811015613164578481815181106130df576130df615b75565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016838361311181615a44565b94508151811061312357613123615b75565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508061315c81615a44565b9150506130bc565b5090979650505050505050565b60008082815b815181101561322457600081835161318f9190615921565b905060008383815181106131a5576131a5615b75565b01602001517fff000000000000000000000000000000000000000000000000000000000000008116915060f81c60006131df603083615921565b90506131ec600185615921565b6131f790600a6157f6565b61320190826158e4565b61320b9088615700565b965050505050808061321c90615a44565b915050613177565b50909392505050565b60006001600160a01b0384163b15613379576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a029061328a903390899088908890600401615205565b602060405180830381600087803b1580156132a457600080fd5b505af19250505080156132d4575060408051601f3d908101601f191682019092526132d191810190613ea9565b60015b61332e573d808015613302576040519150601f19603f3d011682016040523d82523d6000602084013e613307565b606091505b5080516133265760405162461bcd60e51b8152600401610c62906153b0565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490506121d3565b5060016121d3565b6001600160a01b0383166133dc576133d781600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6133ff565b816001600160a01b0316836001600160a01b0316146133ff576133ff838261380b565b6001600160a01b03821661341657610d08816138a8565b826001600160a01b0316826001600160a01b031614610d0857610d088282613957565b6001600160a01b03821661345f5760405162461bcd60e51b8152600401610c62906154b0565b6000818152600260205260409020546001600160a01b0316156134945760405162461bcd60e51b8152600401610c62906153e0565b6134a060008383612dcc565b6001600160a01b03821660009081526003602052604081208054600192906134c9908490615700565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000836bffffffffffffffffffffffff16836bffffffffffffffffffffffff16111582906135805760405162461bcd60e51b8152600401610c62919061537f565b506121d38385615953565b60006135af43604051806080016040528060448152602001615c696044913961399b565b905060008463ffffffff1611801561360957506001600160a01b0385166000908152600b6020526040812063ffffffff8316916135ed60018861593c565b63ffffffff908116825260208201929092526040016000205416145b15613692576001600160a01b0385166000908152600b60205260408120839161363360018861593c565b63ffffffff168152602081019190915260400160002080546bffffffffffffffffffffffff92909216640100000000027fffffffffffffffffffffffffffffffff000000000000000000000000ffffffff909216919091179055613773565b60408051808201825263ffffffff80841682526bffffffffffffffffffffffff80861660208085019182526001600160a01b038b166000908152600b82528681208b8616825290915294909420925183549451909116640100000000027fffffffffffffffffffffffffffffffff00000000000000000000000000000000909416911617919091179055613727846001615713565b6001600160a01b0386166000908152600c6020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000001663ffffffff929092169190911790555b846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a72484846040516137ae929190615604565b60405180910390a25050505050565b6000806137ca848661573d565b9050846bffffffffffffffffffffffff16816bffffffffffffffffffffffff1610158390612d8b5760405162461bcd60e51b8152600401610c62919061537f565b6000600161381884611422565b6138229190615921565b600083815260076020526040902054909150808214613875576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906138ba90600190615921565b600083815260096020526040812054600880549394509092849081106138e2576138e2615b75565b90600052602060002001549050806008838154811061390357613903615b75565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061393b5761393b615b46565b6001900381819060005260206000200160009055905550505050565b600061396283611422565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6000816401000000008410612dc45760405162461bcd60e51b8152600401610c62919061537f565b60006139d66139d18461563b565b61561f565b905080838252602082019050828560208602820111156139f8576139f8600080fd5b60005b85811015613a245781613a0e8882613b57565b84525060209283019291909101906001016139fb565b5050509392505050565b6000613a3c6139d18461565f565b905082815260208101848484011115613a5757613a57600080fd5b613a628482856159b2565b509392505050565b6000613a786139d18461565f565b905082815260208101848484011115613a9357613a93600080fd5b613a628482856159be565b8035610b9681615bd3565b8051610b9681615bd3565b600082601f830112613ac857613ac8600080fd5b81516121d38482602086016139c3565b8035610b9681615be7565b8051610b9681615be7565b8035610b9681615bef565b8035610b9681615bf5565b8051610b9681615bf5565b600082601f830112613b2357613b23600080fd5b81356121d3848260208601613a2e565b600082601f830112613b4757613b47600080fd5b81516121d3848260208601613a6a565b8051610b9681615bef565b8035610b9681615c1d565b8035610b9681615c29565b600060208284031215613b8d57613b8d600080fd5b60006121d38484613a9e565b600060208284031215613bae57613bae600080fd5b60006121d38484613aa9565b60008060408385031215613bd057613bd0600080fd5b6000613bdc8585613a9e565b9250506020613bed85828601613a9e565b9150509250929050565b600080600060608486031215613c0f57613c0f600080fd5b6000613c1b8686613a9e565b9350506020613c2c86828701613a9e565b9250506040613c3d86828701613aee565b9150509250925092565b60008060008060808587031215613c6057613c60600080fd5b6000613c6c8787613a9e565b9450506020613c7d87828801613a9e565b9350506040613c8e87828801613aee565b925050606085013567ffffffffffffffff811115613cae57613cae600080fd5b613cba87828801613b0f565b91505092959194509250565b60008060408385031215613cdc57613cdc600080fd5b6000613ce88585613a9e565b9250506020613bed85828601613ad8565b60008060408385031215613d0f57613d0f600080fd5b6000613d1b8585613a9e565b9250506020613bed85828601613aee565b60008060008060008060c08789031215613d4857613d48600080fd5b6000613d548989613a9e565b9650506020613d6589828a01613aee565b9550506040613d7689828a01613aee565b9450506060613d8789828a01613b6d565b9350506080613d9889828a01613aee565b92505060a0613da989828a01613aee565b9150509295509295509295565b60008060408385031215613dcc57613dcc600080fd5b6000613dd88585613a9e565b9250506020613bed85828601613b62565b600060208284031215613dfe57613dfe600080fd5b815167ffffffffffffffff811115613e1857613e18600080fd5b6121d384828501613ab4565b600060208284031215613e3957613e39600080fd5b60006121d38484613ae3565b600060208284031215613e5a57613e5a600080fd5b60006121d38484613aee565b60008060408385031215613e7c57613e7c600080fd5b6000613d1b8585613aee565b600060208284031215613e9d57613e9d600080fd5b60006121d38484613af9565b600060208284031215613ebe57613ebe600080fd5b60006121d38484613b04565b600060208284031215613edf57613edf600080fd5b815167ffffffffffffffff811115613ef957613ef9600080fd5b6121d384828501613b33565b6000613f118383613f19565b505060200190565b613f228161597a565b82525050565b6000613f32825190565b80845260209384019383018060005b83811015613f66578151613f558882613f05565b975060208301925050600101613f41565b509495945050505050565b801515613f22565b80613f22565b6000613f89825190565b808452602084019350613fa08185602086016159be565b601f01601f19169290920192915050565b613f228161598b565b6000613fc4825190565b613fd28185602086016159be565b9290920192915050565b7f7d2c000000000000000000000000000000000000000000000000000000000000815260005b5060020190565b603681526000602082017f455243373231436865636b706f696e7461626c653a3a64656c6567617465427981527f5369673a207369676e6174757265206578706972656400000000000000000000602082015291505b5060400190565b602b81526000602082017f455243373231456e756d657261626c653a206f776e657220696e646578206f7581527f74206f6620626f756e64730000000000000000000000000000000000000000006020820152915061405f565b603281526000602082017f4552433732313a207472616e7366657220746f206e6f6e20455243373231526581527f63656976657220696d706c656d656e74657200000000000000000000000000006020820152915061405f565b602681526000602082017f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206181527f64647265737300000000000000000000000000000000000000000000000000006020820152915061405f565b7f222c00000000000000000000000000000000000000000000000000000000000081526000614002565b600e81526000602082017f646f6573206e6f74206578697374000000000000000000000000000000000000815291505b5060200190565b601c81526000602082017f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000815291506141ce565b7f190100000000000000000000000000000000000000000000000000000000000081526000614002565b603281526000602082017f455243373231436865636b706f696e7461626c653a3a64656c6567617465427981527f5369673a20696e76616c6964206e6f6e636500000000000000000000000000006020820152915061405f565b601281526000602082017f646f6573206e6f74207965742065786973740000000000000000000000000000815291506141ce565b7f2c00000000000000000000000000000000000000000000000000000000000000815260005b5060010190565b602481526000602082017f4552433732313a207472616e7366657220746f20746865207a65726f2061646481527f72657373000000000000000000000000000000000000000000000000000000006020820152915061405f565b601981526000602082017f4552433732313a20617070726f766520746f2063616c6c657200000000000000815291506141ce565b603681526000602082017f455243373231436865636b706f696e7461626c653a3a64656c6567617465427981527f5369673a20696e76616c6964207369676e6174757265000000000000000000006020820152915061405f565b602c81526000602082017f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657881527f697374656e7420746f6b656e00000000000000000000000000000000000000006020820152915061405f565b600f81526000602082017f4d6178207175616e746974792035300000000000000000000000000000000000815291506141ce565b600f81526000602082017f4e6f7420656e6f756768204c494e4b0000000000000000000000000000000000815291506141ce565b603881526000602082017f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7781527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020820152915061405f565b7f2200000000000000000000000000000000000000000000000000000000000000815260006142e7565b601681526000602082017f457863656564696e67207075626c6963206d696e747300000000000000000000815291506141ce565b602a81526000602082017f4552433732313a2062616c616e636520717565727920666f7220746865207a6581527f726f2061646472657373000000000000000000000000000000000000000000006020820152915061405f565b602981526000602082017f4552433732313a206f776e657220717565727920666f72206e6f6e657869737481527f656e7420746f6b656e00000000000000000000000000000000000000000000006020820152915061405f565b7f22646973706c61795f74797065223a202264617465222c000000000000000000815260005b5060170190565b60208082527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373910190815260006141ce565b7f7d00000000000000000000000000000000000000000000000000000000000000815260006142e7565b601e81526000602082017f4d696e74206c696d6974207265616368656420706572206163636f756e740000815291506141ce565b602c81526000602082017f4552433732313a20617070726f76656420717565727920666f72206e6f6e657881527f697374656e7420746f6b656e00000000000000000000000000000000000000006020820152915061405f565b60208082527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572910190815260006141ce565b602981526000602082017f4552433732313a207472616e73666572206f6620746f6b656e2074686174206981527f73206e6f74206f776e00000000000000000000000000000000000000000000006020820152915061405f565b7f7b00000000000000000000000000000000000000000000000000000000000000815260006142e7565b601f81526000602082017f4f6e6c7920565246436f6f7264696e61746f722063616e2066756c66696c6c00815291506141ce565b7f2276616c7565223a202200000000000000000000000000000000000000000000815260005b50600a0190565b7f5d00000000000000000000000000000000000000000000000000000000000000815260006142e7565b602181526000602082017f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6581527f72000000000000000000000000000000000000000000000000000000000000006020820152915061405f565b603181526000602082017f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f81527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020820152915061405f565b603781526000602082017f455243373231436865636b706f696e7461626c653a3a6765745072696f72566f81527f7465733a206e6f74207965742064657465726d696e65640000000000000000006020820152915061405f565b602c81526000602082017f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f81527f7574206f6620626f756e647300000000000000000000000000000000000000006020820152915061405f565b7f22696d616765223a2022000000000000000000000000000000000000000000008152600061482b565b7f2274726169745f74797065223a2022537566666978222c0000000000000000008152600061462a565b601f81526000602082017f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00815291506141ce565b601181526000602082017f5769746864726177616c206661696c6564000000000000000000000000000000815291506141ce565b601981526000602082017f4f776e6572206d696e7473206e6f7420617661696c61626c6500000000000000815291506141ce565b602281526000602082017f526571756972656420616d6f756e7420706572204e46543a20302e363138204581527f54480000000000000000000000000000000000000000000000000000000000006020820152915061405f565b63ffffffff8116613f22565b60ff8116613f22565b613f228161599c565b6bffffffffffffffffffffffff8116613f22565b6000614b4c8285613f79565b602082019150614b5c8284613f79565b5060200192915050565b6000614b7182614209565b9150614b4c8285613f79565b6000614b88826147a7565b7f226465736372697074696f6e223a20224d6574616d6174696369616e7320617281527f652072616e646f6d6c792067656e65726174656420616e64206861766520313060208201527f3025206f6e2d636861696e2061727420616e64206d65746164617461222c000060408201527f2265787465726e616c5f75726c223a202268747470733a2f2f6465667261672e605e8201527f66692f222c000000000000000000000000000000000000000000000000000000607e8201526083019150614c51826149c4565b9150614c5d8289613fba565b9150614c6882614174565b7f2261747472696275746573223a205b00000000000000000000000000000000008152600f019150614c99826147a7565b7f2274726169745f74797065223a20224e616d65222c000000000000000000000081526015019150614cca82614805565b9150614cd68288613fba565b9150614ce1826144f2565b9150614cec82613fdc565b9150614cf7826147a7565b9150614d02826149ee565b9150614d0d82614805565b9150614d198287613fba565b9150614d24826144f2565b9150614d2f82613fdc565b9150614d3a826147a7565b7f2274726169745f74797065223a2022477265656b222c0000000000000000000081526016019150614d6b82614805565b9150614d778286613fba565b9150614d82826144f2565b9150614d8d82613fdc565b9150614d98826147a7565b7f2274726169745f74797065223a20225069656365206f66205069222c000000008152601c019150614dc982614805565b9150614dd58285613fba565b9150614de0826144f2565b9150614deb82613fdc565b9150614df6826147a7565b9150614e0182614604565b7f2274726169745f74797065223a20224269727468646179222c0000000000000081526019019150614e3282614805565b9150614e3e8284613fba565b9150614e49826144f2565b9150614e5482614663565b9150614e5f82614832565b9150614e6a82614663565b98975050505050505050565b6000614e81826147a7565b7f226e616d65223a20224d6574616d6174696369616e73222c000000000000000081527f226465736372697074696f6e223a20224d6574616d6174696369616e7320617260188201527f652072616e646f6d6c792067656e65726174656420616e64206861766520313060388201527f3025206f6e2d636861696e2061727420616e64206d657461646174612e20416c60588201527f6c206f6620746865206d696e74696e672070726f63656564732061726520646560788201527f706f736974656420696e746f20746865204465467261672044414f205472656160988201527f7375727920616e642077696c6c206265207573656420746f206a756d7073746160b88201527f727420746865206669727374204e465420756e64657277726974696e6720706f60d88201527f6f6c2e2045616368204d6574616d6174696369616e204e46542068617320616e60f88201527f20617474616368656420455448207374616b65642076616c756520696e2074686101188201527f697320756e64657277726974696e6720706f6f6c2077686963682077696c6c206101388201527f616363727565206f7074696f6e207072656d69756d206665657320696e2070656101588201527f72706574756974792e204c6561726e206d6f7265206f6e206f757220646f63736101788201527f21222c00000000000000000000000000000000000000000000000000000000006101988201527f22696d616765223a202268747470733a2f2f6465667261672e66692f6f70656e61019b8201527f7365612d696d6167652e706e67222c00000000000000000000000000000000006101bb8201527f2265787465726e616c5f6c696e6b223a202268747470733a2f2f6465667261676101ca8201527f2e66692f222c00000000000000000000000000000000000000000000000000006101ea8201527f2273656c6c65725f6665655f62617369735f706f696e7473223a2000000000006101f082015261020b01915061516a8285613fba565b9150615175826142c1565b7f226665655f726563697069656e74223a20220000000000000000000000000000815260120191506151a78284613fba565b91506151b2826144f2565b91506121d382614663565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000008152601d01600061134d8284613fba565b600081610b96565b60208101610b968284613f19565b608081016152138287613f19565b6152206020830186613f19565b61522d6040830185613f79565b818103606083015261523f8184613f7f565b9695505050505050565b604081016152578285613f19565b61134d6020830184613f79565b606081016152728286613f19565b61527f6020830185613f79565b81810360408301526152918184613f7f565b95945050505050565b60208101610b968284613f71565b60208101610b968284613f79565b608081016152c48287613f79565b6152d16020830186613f19565b6152de6040830185613f79565b6152916060830184613f79565b608081016152f98287613f79565b6153066020830186613f79565b6153136040830185613f79565b6152916060830184613f19565b604081016152578285613f79565b6080810161533c8287613f79565b6153496020830186613f79565b6152de6040830185613f19565b608081016153648287613f79565b6152d16020830186614b1a565b60208101610b968284613fb1565b6020808252810161134d8184613f7f565b60208082528101610b9681614009565b60208082528101610b9681614066565b60208082528101610b96816140c0565b60208082528101610b968161411a565b60208082528101610b968161419e565b60208082528101610b96816141d5565b60208082528101610b9681614233565b60208082528101610b968161428d565b60208082528101610b96816142ee565b60208082528101610b9681614348565b60208082528101610b968161437c565b60208082528101610b96816143d6565b60208082528101610b9681614430565b60208082528101610b9681614464565b60208082528101610b9681614498565b60208082528101610b968161451c565b60208082528101610b9681614550565b60208082528101610b96816145aa565b60208082528101610b9681614631565b60208082528101610b968161468d565b60208082528101610b96816146c1565b60208082528101610b968161471b565b60208082528101610b968161474d565b60208082528101610b96816147d1565b60208082528101610b968161485c565b60208082528101610b96816148b6565b60208082528101610b9681614910565b60208082528101610b968161496a565b60208082528101610b9681614a18565b60208082528101610b9681614a4c565b60208082528101610b9681614a80565b60208082528101610b9681614ab4565b6080810161559e8287613f79565b81810360208301526155b08186613f28565b90506152de6040830185613f19565b60208101610b968284614b0e565b604081016155db8285614b0e565b61134d6020830184614b2c565b60208101610b968284614b1a565b60208101610b968284614b2c565b604081016156128285614b23565b61134d6020830184614b23565b600061562a60405190565b90506156368282615a17565b919050565b600067ffffffffffffffff82111561565557615655615ba4565b5060209081020190565b600067ffffffffffffffff82111561567957615679615ba4565b601f19601f83011660200192915050565b6000817f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038313600083121516156156c4576156c4615ab9565b817f80000000000000000000000000000000000000000000000000000000000000000383126000831216156156fb576156fb615ab9565b500190565b600082198211156156fb576156fb615ab9565b600063ffffffff8216915063ffffffff831692508263ffffffff038211156156fb576156fb615ab9565b60006bffffffffffffffffffffffff821691506bffffffffffffffffffffffff83169250826bffffffffffffffffffffffff038211156156fb576156fb615ab9565b6000825b92508261579257615792615ae8565b500490565b600063ffffffff8216915063ffffffff8316615783565b80825b60018511156157ed578086048111156157cc576157cc615ab9565b60018516156157da57908102905b80026157e68560011c90565b94506157b1565b94509492505050565b600061134d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848460008261582d5750600161134d565b8161583a5750600061134d565b8160018114615850576002811461585a57615887565b600191505061134d565b60ff84111561586b5761586b615ab9565b8360020a91508482111561588157615881615ab9565b5061134d565b5060208310610133831016604e8410600b84101617156158ba575081810a838111156158b5576158b5615ab9565b61134d565b6158c784848460016157ae565b925090508184048111156158dd576158dd615ab9565b0292915050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561591c5761591c615ab9565b500290565b6000825b92508282101561593757615937615ab9565b500390565b600063ffffffff8216915063ffffffff8316615925565b60006bffffffffffffffffffffffff821691506bffffffffffffffffffffffff8316615925565b60006001600160a01b038216610b96565b6000610b96826000610b968261597a565b60006bffffffffffffffffffffffff8216610b96565b82818337506000910152565b60005b838110156159d95781810151838201526020016159c1565b838111156119c45750506000910152565b6002810460018216806159fe57607f821691505b60208210811415615a1157615a11615b17565b50919050565b601f19601f830116810181811067ffffffffffffffff82111715615a3d57615a3d615ba4565b6040525050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156142e7576142e7615ab9565b600082615a8557615a85615ae8565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b615bdc8161597a565b8114610e3657600080fd5b801515615bdc565b80615bdc565b7fffffffff000000000000000000000000000000000000000000000000000000008116615bdc565b63ffffffff8116615bdc565b60ff8116615bdc56fe455243373231436865636b706f696e7461626c653a3a5f6d6f766544656c6567617465733a20616d6f756e74206f766572666c6f7773455243373231436865636b706f696e7461626c653a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d626572206578636565647320333220626974734142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f455243373231436865636b706f696e7461626c653a3a766f746573546f44656c65676174653a20616d6f756e7420657863656564732039362062697473455243373231436865636b706f696e7461626c653a3a5f6d6f766544656c6567617465733a20616d6f756e7420756e646572666c6f7773a26469706673582212203a9fa2b4b60d194a4ad601664021b97a697adb5cbd6185cc4b4631fd1373dd4964736f6c63430008070033

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

000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952000000000000000000000000514910771af9ca656af840dff83e8264ecf986caaa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af4450000000000000000000000000000000000000000000000001bc16d674ec80000000000000000000000000000d9db37db0ba9d07fd01c3166f7d557135d43f17b0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d

-----Decoded View---------------
Arg [0] : _VRFCoordinator (address): 0xf0d54349aDdcf704F77AE15b96510dEA15cb7952
Arg [1] : _LinkToken (address): 0x514910771AF9Ca656af840dff83E8264EcF986CA
Arg [2] : _keyhash (bytes32): 0xaa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af445
Arg [3] : _fee (uint256): 2000000000000000000
Arg [4] : _metamaticianAttributesAddress (address): 0xd9DB37DB0Ba9d07fD01C3166F7d557135D43F17b
Arg [5] : _uniswapRouter (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952
Arg [1] : 000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca
Arg [2] : aa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af445
Arg [3] : 0000000000000000000000000000000000000000000000001bc16d674ec80000
Arg [4] : 000000000000000000000000d9db37db0ba9d07fd01c3166f7d557135d43f17b
Arg [5] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.