ETH Price: $3,414.36 (+3.08%)

Token

BurnyBoy (BURN)
 

Overview

Max Total Supply

1,353 BURN

Holders

679

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
vonsoh.eth
Balance
1 BURN
0xdd32231c664f6e3456e81ec6c27c6f429c7dc3b3
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Welcome to the home of BurnyBoy on OpenSea.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
BurnNFT

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 100 runs

Other Settings:
default evmVersion, MIT license
File 1 of 14 : BurnNFT.sol
// SPDX-License-Identifier: MIT
/*
   (                          (
 ( )\   (  (         (      ( )\      (
 )((_) ))\ )(   (    )\ )   )((_)  (  )\ ) (
((_)_ /((_|()\  )\ )(()/(  ((_)_   )\(()/( )\
 | _ |_))( ((_)_(_/( )(_))  | _ ) ((_))(_)|(_)
 | _ \ || | '_| ' \)) || |  | _ \/ _ \ || (_-<
 |___/\_,_|_| |_||_| \_, |  |___/\___/\_, /__/
                     |__/             |__/
*/

pragma solidity ^0.8.7;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "./MetaDataGenerator.sol";

contract BurnNFT is ERC721 {

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

    event NewToken(address _minter, uint256 _tokenId, uint256 _baseFee);

    uint public limit;
    uint256 public price;
    address public beneficiary;
    uint256 public minBaseFee = 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff;
    uint256 public maxBaseFee = 1;

    mapping(uint256 => uint256) public tokenBaseFee;

    constructor(uint _limit, uint256 _price, address _beneficiary) ERC721("BurnyBoy", "BURN") {
      limit = _limit;
      price = _price;
      beneficiary = _beneficiary;
    }

    function mint() public payable returns (uint256) {

        require(msg.value >= price, "price too low");

        _tokenIds.increment();
        uint256 newItemId = _tokenIds.current();
        require(newItemId <= limit, "at limit");

        _safeMint(msg.sender, newItemId);

        uint256 baseFee = block.basefee;
        tokenBaseFee[newItemId] = baseFee;

        if(baseFee > maxBaseFee) {
          maxBaseFee = baseFee;
        }
        if(baseFee < minBaseFee) {
          minBaseFee = baseFee;
        }

        emit NewToken(msg.sender, newItemId, baseFee);

        return newItemId;
    }

    function withdrawFunds() public {
      require(msg.sender == beneficiary, 'only beneficiary');
      uint amount = address(this).balance;

      (bool success,) = beneficiary.call{value: amount}("");
      require(success, "Failed");
    }

    function totalSupply() public view returns (uint256) {
      return _tokenIds.current();
    }

    function tokenURI(uint256 id) public view override returns (string memory) {

        require(_exists(id), "not exist");

        return MetaDataGenerator.tokenURI(
          MetaDataGenerator.MetaDataParams({
            tokenId: id,
            tokenBaseFee:
            tokenBaseFee[id],
            owner: ownerOf(id),
            minBaseFee: minBaseFee,
            maxBaseFee: maxBaseFee,
            fireHeight: 0,
            readableBaseFee: '',
            ownerOrBurniest: ''
            }));

    }
}

File 2 of 14 : 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(to).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 3 of 14 : 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 4 of 14 : 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 5 of 14 : 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 6 of 14 : 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);
    }

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

File 7 of 14 : 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 8 of 14 : 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 14 : 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 14 : 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 11 of 14 : 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 12 of 14 : base64.sol
// SPDX-License-Identifier: MIT

/// @title Base64
/// @author Brecht Devos - <[email protected]>
/// @notice Provides a function for encoding some bytes in base64
library Base64 {
    string internal constant TABLE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';

    function encode(bytes memory data) internal pure returns (string memory) {
        if (data.length == 0) return '';
        
        // load the table into memory
        string memory table = TABLE;

        // 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) {}
            {
               dataPtr := add(dataPtr, 3)
               
               // read 3 bytes
               let input := mload(dataPtr)
               
               // write 4 characters
               mstore(resultPtr, shl(248, mload(add(tablePtr, and(shr(18, input), 0x3F)))))
               resultPtr := add(resultPtr, 1)
               mstore(resultPtr, shl(248, mload(add(tablePtr, and(shr(12, input), 0x3F)))))
               resultPtr := add(resultPtr, 1)
               mstore(resultPtr, shl(248, mload(add(tablePtr, and(shr( 6, input), 0x3F)))))
               resultPtr := add(resultPtr, 1)
               mstore(resultPtr, shl(248, 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;
    }
}

File 13 of 14 : HexStrings.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;

library HexStrings {
    bytes16 internal constant ALPHABET = '0123456789abcdef';

    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] = ALPHABET[value & 0xf];
            value >>= 4;
        }
        return string(buffer);
    }
}

File 14 of 14 : MetaDataGenerator.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;

import 'base64-sol/base64.sol';
import "@openzeppelin/contracts/utils/Strings.sol";
import './HexStrings.sol';
/// @title NFTSVG
/// @notice Provides a function for generating an SVG associated with a Uniswap NFT
library MetaDataGenerator {

  using Strings for uint256;
  using HexStrings for uint160;

  struct MetaDataParams {
    uint256 tokenId;
    uint256 tokenBaseFee;
    address owner;
    uint256 minBaseFee;
    uint256 maxBaseFee;
    uint fireHeight;
    string readableBaseFee;
    string ownerOrBurniest;
  }

  string internal constant svgStart = '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 300 300"><defs><linearGradient id="linear-gradient" x1="150" x2="150" y2="300" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#00bdd0"/><stop offset="1" stop-color="#008ad0"/></linearGradient><linearGradient id="linear-gradient-2" x1="30.7" y1="-8.2" x2="30.7" y2="141.5" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#f16d76"/><stop offset="1" stop-color="#ffa358"/></linearGradient><linearGradient id="linear-gradient-3" x1="34.5" y1="29.9" x2="34.5" y2="144.9" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ffbd58"/><stop offset="1" stop-color="#f6ec47"/></linearGradient><linearGradient id="linear-gradient-4" x1="31.9" y1="2.5" x2="31.9" y2="146.3" xlink:href="#linear-gradient-2"/><linearGradient id="linear-gradient-5" x1="67.8" y1="27.9" x2="67.8" y2="74.5" xlink:href="#linear-gradient-2"/><linearGradient id="linear-gradient-6" x1="36.5" y1="-15.1" x2="36.5" y2="52.8" xlink:href="#linear-gradient-2"/><linearGradient id="linear-gradient-7" x1="33.6" y1="22.5" x2="33.6" y2="148.5" xlink:href="#linear-gradient-3"/><linearGradient id="linear-gradient-8" x1="23.1" y1="-8.3" x2="23.1" y2="155.9" xlink:href="#linear-gradient-2"/><linearGradient id="linear-gradient-9" x1="64.9" y1="6.7" x2="64.9" y2="100" xlink:href="#linear-gradient-2"/><linearGradient id="linear-gradient-10" x1="48.4" y1="-45.8" x2="48.4" y2="80.7" xlink:href="#linear-gradient-2"/><linearGradient id="linear-gradient-11" x1="25.6" y1="8.2" x2="25.6" y2="149.8" xlink:href="#linear-gradient-3"/><linearGradient id="linear-gradient-12" x1="150" y1="300" x2="150" y2="139.8" xlink:href="#linear-gradient-3"/><linearGradient id="linear-gradient-13" x1="96" y1="202.4" x2="150" y2="202.4" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#574581"/><stop offset="1" stop-color="#4c235b"/></linearGradient><linearGradient id="linear-gradient-14" x1="150" y1="202.4" x2="204" y2="202.4" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ea496a"/><stop offset="1" stop-color="#ea6b60"/></linearGradient><linearGradient id="linear-gradient-15" x1="150" y1="153.7" x2="204" y2="153.7" xlink:href="#linear-gradient-14"/><linearGradient id="linear-gradient-16" x1="204" y1="105" x2="150" y2="105" xlink:href="#linear-gradient"/><linearGradient id="linear-gradient-17" x1="96" y1="105" x2="150" y2="105" xlink:href="#linear-gradient-14"/><linearGradient id="linear-gradient-18" x1="96" y1="153.7" x2="150" y2="153.7" xlink:href="#linear-gradient-13"/><linearGradient id="linear-gradient-19" x1="149.1" y1="24" x2="149.1" y2="276" xlink:href="#linear-gradient-13"/><clipPath id="clip-path"><path class="cls-1" d="M0-42.3h300v188.6H0z"/></clipPath><clipPath id="clip-path-2"><path class="cls-1" d="M.4 0h300v300H.4z"/></clipPath><style>.cls-1{fill:none}.cls-2{fill:url(#linear-gradient)}.cls-4{fill:url(#linear-gradient-2)}.cls-5{fill:url(#linear-gradient-3)}.cls-14{fill:url(#linear-gradient-12)}.cls-15{opacity:.2}.cls-16{clip-path:url(#clip-path-2)}.cls-17{fill:#e75a00}.cls-18{fill:url(#linear-gradient-13)}.cls-19{fill:#fff}.cls-20{fill:url(#linear-gradient-14)}.cls-21{fill:url(#linear-gradient-15)}.cls-22{fill:url(#linear-gradient-16)}.cls-23{fill:url(#linear-gradient-17)}.cls-24{fill:url(#linear-gradient-18)}.cls-25{stroke:#fff;stroke-miterlimit:10;fill:url(#linear-gradient-19)}</style></defs><path class="cls-2" d="M0 0h300v300H0z" id="background"/><g id="fire-layer"><g id="Fire_to_move" data-name="Fire to move"><g id="Fire1"><g id="fire-001"><path class="cls-4" d="M-4.4 139.2c-.4-12.2-17.5-31.5-9.6-49s21-13 24-30c0 0 10.3 9.6 1.1 21.6 0 0 13.3-3.8 12.8-14.6s1.5-15.7-7.4-18-22.2-18.4-9.3-35.5c0 0 2.4 14.4 13.8 8.1s20.7-26 1-26.5c0 0 12.3-8.1 19.7.4s-9.4 27-3.5 31.5S52 33.1 51.5 43 35.8 61.8 41.2 66.3s19.3 1.5 19.7-3.3c.3-4.8-7.9-10.6-1-20a18.7 18.7 0 009 11.8c9.9 5.5 12.2 17.8 2.3 26.8-6.7 6.2-15-3.4-15.9 5.9-.6 5.4 21 13 19 29.1-3.7 29.7 9.3 24.5-33.1 24.5-47.6 0-45.6-1.9-45.6-1.9z"/><path class="cls-5" d="M35 145c-62.2 0-33.8-7.3-27-16.2C19.8 113.2-2.7 113.6-2.2 100s8.9-20.3 8.9-20.3-5.2 16 2.2 16.5S24 91 27.9 76c6.6-26.2.5-40.3-8.4-46.2A37.5 37.5 0 0138 39.6c6 6-4.6 17.3-4.3 26.7.7 24.6 34.8 5 31.7-5.8 0 0 9.5 14.8-2.9 17-22.4 4.2-21.4 20.6-13 26s6 16.3 13.6 24.6c10 11 26 16.8-28.3 16.8z"/></g><use href="#fire-001" x="77"/><use href="#fire-001" x="154"/><use href="#fire-001" x="231"/></g><path class="cls-14" d="M0 139.8h300V300H0z"/></g></g><g class="cls-15" id="ray"><g class="cls-16"><path id="ray1" class="cls-17" d="M153.4 383q8.5-.1 16.9-.8L153.4 211z"/></g>';

  string internal constant svgMiddle = '</g><g id="Ether"><path class="cls-18" d="M150 197.4v44.5l-54-79 54 34.5z"/><path class="cls-19" d="M150 242.3a.4.4 0 01-.3-.2l-54-78.9a.4.4 0 01.5-.5l54 34.3a.4.4 0 01.2.4v44.5a.4.4 0 01-.3.4.4.4 0 01-.1 0zm-52.6-78l52.2 76.3v-43z"/><path class="cls-20" d="M204 163l-54 78.9v-44.5l54-34.4z"/><path class="cls-19" d="M150 242.3a.4.4 0 01-.1 0 .4.4 0 01-.3-.4v-44.5a.4.4 0 01.2-.4l54-34.3a.4.4 0 01.5.5l-54 78.9a.4.4 0 01-.3.2zm.4-44.7v43l52.2-76.2z"/><path class="cls-21" d="M204 151.9l-54-30.7v65l54-34.3z"/><path class="cls-19" d="M150 186.7a.4.4 0 01-.4-.4v-65.1a.4.4 0 01.6-.4l54 30.7a.4.4 0 010 .7l-54 34.4a.4.4 0 01-.2 0zm.4-64.8v63.6l52.8-33.6z"/><g><path class="cls-22" d="M204 151.9L150 58v63l54 30.8z"/><path class="cls-19" d="M204 152.3a.4.4 0 01-.2 0l-54-30.8a.4.4 0 01-.2-.3v-63a.4.4 0 01.7-.3l54 93.8a.4.4 0 01-.3.6zM150.4 121l52.5 29.8-52.5-91.2z"/></g><g><path class="cls-23" d="M150 58.1v63L96 152 150 58z"/><path class="cls-19" d="M96 152.3a.4.4 0 01-.3-.6l54-93.8a.4.4 0 01.7.2v63a.4.4 0 01-.2.4l-54 30.7a.4.4 0 01-.2 0zm53.6-92.7l-52.5 91.2 52.5-29.8z"/></g><g><path class="cls-24" d="M150 121.2v65L96 152l54-30.7z"/><path class="cls-19" d="M150 186.7a.4.4 0 01-.2 0l-54-34.5a.4.4 0 010-.7l54-30.7a.4.4 0 01.6.4v65a.4.4 0 01-.4.5zm-53.2-34.8l52.8 33.6V122z"/></g><g><path class="cls-19" d="M203.8 162.7L150 196.9l-53.8-34.2a.4.4 0 00-.5.5l54 78.9a.4.4 0 00.2.1.4.4 0 00.2 0 .4.4 0 00.2 0v-.1l54-78.9a.4.4 0 00-.5-.5zm-54.2 34.9v43l-52.2-76.2zm.8 43v-43l52.2-33.2z"/><path class="cls-19" d="M95.6 151.9a.4.4 0 00.1.2v.1l54 34.4h.1a.4.4 0 00.4 0l54-34.4h.1a.4.4 0 000-.2.4.4 0 000-.1h.1a.4.4 0 000-.2l-54-93.8a.4.4 0 00-.1 0 .3.3 0 00-.1-.1.2.2 0 00-.1 0 .4.4 0 00-.1 0h-.1a.3.3 0 00-.1 0 .3.3 0 00-.1.1l-54 93.8a.4.4 0 000 .2c-.1 0 0 0 0 0zm54-30v63.6L96.8 152zm.8 63.6V122l52.8 30zm0-64.5V59.6l52.5 91.2zm-.8-61.4V121l-52.5 29.8z"/></g></g><g id="Ring"><g id="rotatethis"><path class="cls-25" d="M149 24a126 126 0 10126 126A126 126 0 00149 24zm0 225.3a99.3 99.3 0 1199.4-99.3 99.3 99.3 0 01-99.3 99.3z"/><path id="textcircle" class="cls-1" d="M32 150a118 118 0 10236 0 118 118 0 10-236 0"><animateTransform attributeName="transform" begin="0s" dur="50s" type="rotate" from="0 150 150" to="360 150 150" repeatCount="indefinite"/></path></g></g><defs><style>@keyframes ff{0%,49.9%,to{transform:translate(0,0) scale(1,1)}50%,99.9%{transform:translate(300px,0) scale(-1,1)}}#Fire1{animation:ff 300ms linear infinite normal forwards}text{font-size:16px;font-family:Helvetica,sans-serif;font-weight:900;fill:#fff;letter-spacing:1px}#Ether,#Ring,#background{filter:hue-rotate(';

  function generateConfigString(MetaDataParams memory params) internal pure returns (string memory) {

    if(params.tokenBaseFee < 10000000) {
      params.readableBaseFee = '&lt;0.01 Gwei';
    }

    return string(abi.encodePacked(Strings.toString((params.tokenBaseFee + (params.tokenId * 30)) % 360),
    'deg)}#Fire_to_move{transform:translate(0px,',
    params.fireHeight.toString(),
    'px)}</style></defs><text dy="0"><textPath xlink:href="#textcircle"> / EIP-1559 / #',
    params.tokenId.toString(),
    ' / Basefee: ',
    params.readableBaseFee,
    ' / ',
    params.ownerOrBurniest,
    unicode'🔥🔥🔥🔥🔥🔥🔥🔥',
    '</textPath></text></svg>'));
  }

  function generateRayString() internal pure returns (string memory) {
    uint16[59] memory rotations = [6,12,18,24,30,36,42,48,54,60,66,72,78,84,90,96,102,108,114,120,126,132,138,144,150,156,162,168,174,180,186,192,198,204,210,216,222,228,234,240,246,252,258,264,270,276,282,288,294,300,306,312,318,324,330,336,342,348,354];
    string memory rays = '';
    for (uint i=0; i<rotations.length; i++) {
      rays = string(abi.encodePacked(rays,
        '<use href="#ray1" transform="rotate(',
        Strings.toString(rotations[i]),
        ' 150 150)" />'));
    }

    return rays;
  }

  function appendEmoji(string memory start, string memory emoji, uint emojiCount) internal pure returns (string memory) {
    for (uint i=0; i<emojiCount; i++) {
      start = string(abi.encodePacked(start, emoji));
    }
    return start;
  }

  function generateSVGofTokenById(MetaDataParams memory params) internal pure returns (string memory) {

      uint height = 270;

      if(params.minBaseFee == params.maxBaseFee) {
        params.fireHeight = 0;
      } else {
        params.fireHeight = height*(uint(100)-(uint(100)*(params.tokenBaseFee-params.minBaseFee)/(params.maxBaseFee-params.minBaseFee))) / uint(100);
      }

      if(params.maxBaseFee == params.tokenBaseFee) {
        params.ownerOrBurniest = appendEmoji(unicode'Burniest Boy ',unicode'🔥',30);
      } else if(params.minBaseFee == params.tokenBaseFee) {
        params.ownerOrBurniest = appendEmoji(unicode'Ice cold ',unicode'🧊',30);
      } else if((params.tokenBaseFee / uint(1_000_000_000)) == 69) {
        params.ownerOrBurniest = appendEmoji(unicode'Nice. ',unicode'♋',30);
      } else if((params.tokenBaseFee / uint(1_000_000_000)) == 420) {
        params.ownerOrBurniest = appendEmoji(unicode'Nice. ',unicode'🌲',30);
      } else {
        params.ownerOrBurniest = (uint160(params.owner)).toHexString(20);
      }

      string memory svg = string(abi.encodePacked(
        svgStart,
        generateRayString(),
        svgMiddle,
        generateConfigString(params)
        ));

      return svg;
  }

  function tokenURI(MetaDataParams memory params) internal pure returns (string memory) {

      string memory name = string(abi.encodePacked('Burny Boy #',params.tokenId.toString()));

      if(params.tokenBaseFee < uint(10_000_000)) {
        params.readableBaseFee = string(abi.encodePacked(params.tokenBaseFee.toString(), ' wei'));
        } else if(params.tokenBaseFee < uint(100_000_000)) {
          params.readableBaseFee = string(abi.encodePacked('0.0',Strings.toString(params.tokenBaseFee/uint(10_000_000)), ' Gwei'));
        } else if(params.tokenBaseFee < uint(10_000_000_000)) {
          params.readableBaseFee = string(abi.encodePacked(Strings.toString(params.tokenBaseFee/uint(1_000_000_000)),'.',Strings.toString((params.tokenBaseFee/uint(10_000_000)) % uint(100)), ' Gwei'));
        } else {
          params.readableBaseFee = string(abi.encodePacked(Strings.toString(params.tokenBaseFee/uint(1_000_000_000)), ' Gwei'));
        }

      string memory description = string(abi.encodePacked('When this burny boy was minted, the basefee was ',params.readableBaseFee));
      string memory image = Base64.encode(bytes(generateSVGofTokenById(params)));

      return
          string(
              abi.encodePacked(
                'data:application/json;base64,',
                Base64.encode(
                    bytes(
                          abi.encodePacked(
                              '{"name":"',
                              name,
                              '", "description":"',
                              description,
                              '", "external_url":"https://burnyboys.com/token/',
                              params.tokenId.toString(),
                              '", "attributes": [{"trait_type": "Base fee per gas (wei)", "value": ',
                              Strings.toString(params.tokenBaseFee),
                              '}], "owner":"',
                              (uint160(params.owner)).toHexString(20),
                              '", "image": "',
                              'data:image/svg+xml;base64,',
                              image,
                              '"}'
                          )
                        )
                    )
              )
          );
  }

}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"},{"internalType":"uint256","name":"_price","type":"uint256"},{"internalType":"address","name":"_beneficiary","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":false,"internalType":"address","name":"_minter","type":"address"},{"indexed":false,"internalType":"uint256","name":"_tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_baseFee","type":"uint256"}],"name":"NewToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"beneficiary","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":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBaseFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minBaseFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","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":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenBaseFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":[],"name":"withdrawFunds","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600019600a556001600b553480156200001c57600080fd5b50604051620046dd380380620046dd8339810160408190526200003f9162000178565b60408051808201825260088152674275726e79426f7960c01b602080830191825283518085019094526004845263212aa92760e11b9084015281519192916200008b91600091620000d2565b508051620000a1906001906020840190620000d2565b505050600792909255600855600980546001600160a01b0319166001600160a01b03909216919091179055620001fd565b828054620000e090620001c0565b90600052602060002090601f0160209004810192826200010457600085556200014f565b82601f106200011f57805160ff19168380011785556200014f565b828001600101855582156200014f579182015b828111156200014f57825182559160200191906001019062000132565b506200015d92915062000161565b5090565b5b808211156200015d576000815560010162000162565b6000806000606084860312156200018e57600080fd5b83516020850151604086015191945092506001600160a01b0381168114620001b557600080fd5b809150509250925092565b600181811c90821680620001d557607f821691505b60208210811415620001f757634e487b7160e01b600052602260045260246000fd5b50919050565b6144d0806200020d6000396000f3fe6080604052600436106101355760003560e01c806342842e0e116100ab578063a22cb4651161006f578063a22cb46514610339578063a4d66daf14610359578063a62611a21461036f578063b88d4fde14610385578063c87b56dd146103a5578063e985e9c5146103c557600080fd5b806342842e0e146102ae5780636352211e146102ce57806370a08231146102ee57806395d89b411461030e578063a035b1fe1461032357600080fd5b806318160ddd116100fd57806318160ddd1461020157806323b872dd1461021657806324600fc3146102365780632ccdc9751461024b578063310e6aba1461027857806338af3eed1461028e57600080fd5b806301ffc9a71461013a57806306fdde031461016f578063081812fc14610191578063095ea7b3146101c95780631249c58b146101eb575b600080fd5b34801561014657600080fd5b5061015a610155366004611f3d565b6103e5565b60405190151581526020015b60405180910390f35b34801561017b57600080fd5b50610184610437565b60405161016691906125f7565b34801561019d57600080fd5b506101b16101ac366004611f77565b6104c9565b6040516001600160a01b039091168152602001610166565b3480156101d557600080fd5b506101e96101e4366004611f13565b610556565b005b6101f3610667565b604051908152602001610166565b34801561020d57600080fd5b506101f3610787565b34801561022257600080fd5b506101e9610231366004611dbf565b610797565b34801561024257600080fd5b506101e96107c8565b34801561025757600080fd5b506101f3610266366004611f77565b600c6020526000908152604090205481565b34801561028457600080fd5b506101f3600b5481565b34801561029a57600080fd5b506009546101b1906001600160a01b031681565b3480156102ba57600080fd5b506101e96102c9366004611dbf565b6108a9565b3480156102da57600080fd5b506101b16102e9366004611f77565b6108c4565b3480156102fa57600080fd5b506101f3610309366004611d6a565b61093b565b34801561031a57600080fd5b506101846109c2565b34801561032f57600080fd5b506101f360085481565b34801561034557600080fd5b506101e9610354366004611ed7565b6109d1565b34801561036557600080fd5b506101f360075481565b34801561037b57600080fd5b506101f3600a5481565b34801561039157600080fd5b506101e96103a0366004611dfb565b610a92565b3480156103b157600080fd5b506101846103c0366004611f77565b610aca565b3480156103d157600080fd5b5061015a6103e0366004611d8c565b610b96565b60006001600160e01b031982166380ac58cd60e01b148061041657506001600160e01b03198216635b5e139f60e01b145b8061043157506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461044690612752565b80601f016020809104026020016040519081016040528092919081815260200182805461047290612752565b80156104bf5780601f10610494576101008083540402835291602001916104bf565b820191906000526020600020905b8154815290600101906020018083116104a257829003601f168201915b5050505050905090565b60006104d482610bc4565b61053a5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610561826108c4565b9050806001600160a01b0316836001600160a01b031614156105cf5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610531565b336001600160a01b03821614806105eb57506105eb8133610b96565b6106585760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776044820152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b6064820152608401610531565b6106628383610be1565b505050565b60006008543410156106ab5760405162461bcd60e51b815260206004820152600d60248201526c707269636520746f6f206c6f7760981b6044820152606401610531565b6106b9600680546001019055565b60006106c460065490565b90506007548111156107035760405162461bcd60e51b8152602060048201526008602482015267185d081b1a5b5a5d60c21b6044820152606401610531565b61070d3382610c4f565b6000818152600c602052604090204890819055600b5481111561073057600b8190555b600a5481101561074057600a8190555b60408051338152602081018490529081018290527fbc7d7d143abd25a4c46468a8dc71a9fc8c12d3f5969c388d86dce39f1507a8569060600160405180910390a150919050565b600061079260065490565b905090565b6107a13382610c69565b6107bd5760405162461bcd60e51b81526004016105319061265c565b610662838383610d33565b6009546001600160a01b031633146108155760405162461bcd60e51b815260206004820152601060248201526f6f6e6c792062656e656669636961727960801b6044820152606401610531565b60095460405147916000916001600160a01b039091169083908381818185875af1925050503d8060008114610866576040519150601f19603f3d011682016040523d82523d6000602084013e61086b565b606091505b50509050806108a55760405162461bcd60e51b815260206004820152600660248201526511985a5b195960d21b6044820152606401610531565b5050565b61066283838360405180602001604052806000815250610a92565b6000818152600260205260408120546001600160a01b0316806104315760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610531565b60006001600160a01b0382166109a65760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610531565b506001600160a01b031660009081526003602052604090205490565b60606001805461044690612752565b6001600160a01b038216331415610a265760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b6044820152606401610531565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610a9c3383610c69565b610ab85760405162461bcd60e51b81526004016105319061265c565b610ac484848484610ed3565b50505050565b6060610ad582610bc4565b610b0d5760405162461bcd60e51b81526020600482015260096024820152681b9bdd08195e1a5cdd60ba1b6044820152606401610531565b610431604051806101000160405280848152602001600c6000868152602001908152602001600020548152602001610b44856108c4565b6001600160a01b03168152602001600a548152602001600b5481526020016000815260200160405180602001604052806000815250815260200160405180602001604052806000815250815250610f06565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610c16826108c4565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6108a5828260405180602001604052806000815250611119565b6000610c7482610bc4565b610cd55760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610531565b6000610ce0836108c4565b9050806001600160a01b0316846001600160a01b03161480610d1b5750836001600160a01b0316610d10846104c9565b6001600160a01b0316145b80610d2b5750610d2b8185610b96565b949350505050565b826001600160a01b0316610d46826108c4565b6001600160a01b031614610dae5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610531565b6001600160a01b038216610e105760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610531565b610e1b600082610be1565b6001600160a01b0383166000908152600360205260408120805460019290610e449084906126f8565b90915550506001600160a01b0382166000908152600360205260408120805460019290610e729084906126ad565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610ede848484610d33565b610eea8484848461114c565b610ac45760405162461bcd60e51b81526004016105319061260a565b60606000610f178360000151611259565b604051602001610f2791906124e4565b60405160208183030381529060405290506298968083602001511015610f7e57610f548360200151611259565b604051602001610f6491906121ec565b60408051601f1981840301815291905260c0840152611051565b6305f5e10083602001511015610fb957610fa9629896808460200151610fa491906126c5565b611259565b604051602001610f6491906124aa565b6402540be4008360200151101561101457610fe1633b9aca008460200151610fa491906126c5565b6110036064629896808660200151610ff991906126c5565b610fa491906127a8565b604051602001610f64929190612214565b61102b633b9aca008460200151610fa491906126c5565b60405160200161103b9190612262565b60408051601f1981840301815291905260c08401525b60008360c001516040516020016110689190612517565b6040516020818303038152906040529050600061108c61108786611357565b6115f9565b90506110f083836110a08860000151611259565b6110ad8960200151611259565b60408a01516110c6906001600160a01b03166014611761565b866040516020016110dc9695949392919061230b565b6040516020818303038152906040526115f9565b6040516020016111009190612575565b6040516020818303038152906040529350505050919050565b61112383836118b6565b611130600084848461114c565b6106625760405162461bcd60e51b81526004016105319061260a565b60006001600160a01b0384163b1561124e57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906111909033908990889088906004016125ba565b602060405180830381600087803b1580156111aa57600080fd5b505af19250505080156111da575060408051601f3d908101601f191682019092526111d791810190611f5a565b60015b611234573d808015611208576040519150601f19603f3d011682016040523d82523d6000602084013e61120d565b606091505b50805161122c5760405162461bcd60e51b81526004016105319061260a565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610d2b565b506001949350505050565b60608161127d5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156112a757806112918161278d565b91506112a09050600a836126c5565b9150611281565b60008167ffffffffffffffff8111156112c2576112c26127fe565b6040519080825280601f01601f1916602001820160405280156112ec576020820181803683370190505b5090505b8415610d2b576113016001836126f8565b915061130e600a866127a8565b6113199060306126ad565b60f81b81838151811061132e5761132e6127e8565b60200101906001600160f81b031916908160001a905350611350600a866126c5565b94506112f0565b6060600061010e905082608001518360600151141561137c57600060a08401526113e0565b60648360600151846080015161139291906126f8565b846060015185602001516113a691906126f8565b6113b19060646126d9565b6113bb91906126c5565b6113c69060646126f8565b6113d090836126d9565b6113da91906126c5565b60a08401525b8260200151836080015114156114475761143d6040518060400160405280600d81526020016c0213ab93734b2b9ba102137bc9609d1b81525060405180604001604052806004815260200163f09f94a560e01b815250601e6119e9565b60e0840152611583565b8260200151836060015114156114a05761143d60405180604001604052806009815260200168024b1b29031b7b632160bd1b81525060405180604001604052806004815260200163784fd3c560e11b815250601e6119e9565b633b9aca0083602001516114b491906126c5565b604514156115015761143d6040518060400160405280600681526020016502734b1b297160d51b81525060405180604001604052806003815260200162e2998b60e81b815250601e6119e9565b633b9aca00836020015161151591906126c5565b6101a414156115645761143d6040518060400160405280600681526020016502734b1b297160d51b81525060405180604001604052806004815260200163784fc65960e11b815250601e6119e9565b604083015161157d906001600160a01b03166014611761565b60e08401525b6000604051806112400160405280611210815260200161286e61121091396115a9611a36565b60405180610a400160405280610a1d8152602001613a7e610a1d91396115ce87611ca3565b6040516020016115e19493929190612007565b60408051601f19818403018152919052949350505050565b606081516000141561161957505060408051602081019091526000815290565b600060405180606001604052806040815260200161282e604091399050600060038451600261164891906126ad565b61165291906126c5565b61165d9060046126d9565b9050600061166c8260206126ad565b67ffffffffffffffff811115611684576116846127fe565b6040519080825280601f01601f1916602001820160405280156116ae576020820181803683370190505b509050818152600183018586518101602084015b8183101561171c5760039283018051603f601282901c811687015160f890811b8552600c83901c8216880151811b6001860152600683901c8216880151811b60028601529116860151901b938201939093526004016116c2565b600389510660018114611736576002811461174757611753565b613d3d60f01b600119830152611753565b603d60f81b6000198301525b509398975050505050505050565b606060006117708360026126d9565b61177b9060026126ad565b67ffffffffffffffff811115611793576117936127fe565b6040519080825280601f01601f1916602001820160405280156117bd576020820181803683370190505b509050600360fc1b816000815181106117d8576117d86127e8565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611807576118076127e8565b60200101906001600160f81b031916908160001a905350600061182b8460026126d9565b6118369060016126ad565b90505b60018111156118ae576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061186a5761186a6127e8565b1a60f81b828281518110611880576118806127e8565b60200101906001600160f81b031916908160001a90535060049490941c936118a78161273b565b9050611839565b509392505050565b6001600160a01b03821661190c5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610531565b61191581610bc4565b156119625760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610531565b6001600160a01b038216600090815260036020526040812080546001929061198b9084906126ad565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b606060005b82811015611a2d578484604051602001611a09929190611fd8565b60405160208183030381529060405294508080611a259061278d565b9150506119ee565b50929392505050565b604080516107608101825260068152600c6020808301919091526012828401526018606083810191909152601e6080840152602460a0840152602a60c080850191909152603060e08501526036610100850152603c6101208086019190915260426101408601526048610160860152604e61018086015260546101a0860152605a6101c08601526101e085018390526066610200860152606c61022086015260726102408601526078610260860152607e61028086015260846102a0860152608a6102c086015260906102e08601526096610300860152609c61032086015260a261034086015260a861036086015260ae61038086015260b46103a086015260ba6103c08601526103e085019190915260c661040085015260cc61042085015260d261044085015260d861046085015260de61048085015260e46104a085015260ea6104c085015260f06104e085015260f661050085015260fc61052085015261010261054085015261010861056085015261010e6105808501526101146105a085015261011a6105c08501526105e084015261012661060084015261012c61062084015261013261064084015261013861066084015261013e6106808401526101446106a084015261014a6106c08401526101506106e084015261015661070084015261015c610720840152610162610740840152835191820190935260008082525b603b811015611c9c5781611c678483603b8110611c5957611c596127e8565b602002015161ffff16611259565b604051602001611c7892919061228b565b60405160208183030381529060405291508080611c949061278d565b915050611c3a565b5092915050565b60606298968082602001511015611cde5760408051808201909152600d81526c266c743b302e3031204777656960981b602082015260c08301525b8151611d029061016890611cf390601e6126d9565b8460200151610ff991906126ad565b611d0f8360a00151611259565b8351611d1a90611259565b8460c001518560e00151604051602001611d3895949392919061205e565b6040516020818303038152906040529050919050565b80356001600160a01b0381168114611d6557600080fd5b919050565b600060208284031215611d7c57600080fd5b611d8582611d4e565b9392505050565b60008060408385031215611d9f57600080fd5b611da883611d4e565b9150611db660208401611d4e565b90509250929050565b600080600060608486031215611dd457600080fd5b611ddd84611d4e565b9250611deb60208501611d4e565b9150604084013590509250925092565b60008060008060808587031215611e1157600080fd5b611e1a85611d4e565b9350611e2860208601611d4e565b925060408501359150606085013567ffffffffffffffff80821115611e4c57600080fd5b818701915087601f830112611e6057600080fd5b813581811115611e7257611e726127fe565b604051601f8201601f19908116603f01168101908382118183101715611e9a57611e9a6127fe565b816040528281528a6020848701011115611eb357600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611eea57600080fd5b611ef383611d4e565b915060208301358015158114611f0857600080fd5b809150509250929050565b60008060408385031215611f2657600080fd5b611f2f83611d4e565b946020939093013593505050565b600060208284031215611f4f57600080fd5b8135611d8581612814565b600060208284031215611f6c57600080fd5b8151611d8581612814565b600060208284031215611f8957600080fd5b5035919050565b60008151808452611fa881602086016020860161270f565b601f01601f19169290920160200192915050565b60008151611fce81856020860161270f565b9290920192915050565b60008351611fea81846020880161270f565b835190830190611ffe81836020880161270f565b01949350505050565b60008551612019818460208a0161270f565b85519083019061202d818360208a0161270f565b855191019061204081836020890161270f565b845191019061205381836020880161270f565b019695505050505050565b60008651612070818460208b0161270f565b80830190507f646567297d23466972655f746f5f6d6f76657b7472616e73666f726d3a74726181526a1b9cdb185d194a0c1c1e0b60aa1b602082015286516120bf81602b840160208b0161270f565b7f7078297d3c2f7374796c653e3c2f646566733e3c746578742064793d2230223e602b92909101918201527f3c746578745061746820786c696e6b3a687265663d222374657874636972636c604b8201527165223e202f204549502d31353539202f202360701b606b820152855161213e81607d840160208a0161270f565b6b01017902130b9b2b332b29d160a51b607d9290910191820152845161216b81608984016020890161270f565b6121df6121bb61219261218c6089858701016201017960ed1b815260030190565b88611fbc565b7ff09f94a5f09f94a5f09f94a5f09f94a5f09f94a5f09f94a5f09f94a5f09f94a5815260200190565b771e17ba32bc3a2830ba341f1e17ba32bc3a1f1e17b9bb339f60411b815260180190565b9998505050505050505050565b600082516121fe81846020870161270f565b632077656960e01b920191825250600401919050565b6000835161222681846020880161270f565b601760f91b908301908152835161224481600184016020880161270f565b64204777656960d81b60019290910191820152600601949350505050565b6000825161227481846020870161270f565b64204777656960d81b920191825250600501919050565b6000835161229d81846020880161270f565b80830190507f3c75736520687265663d22237261793122207472616e73666f726d3d22726f748152630c2e8ca560e31b602082015283516122e581602484016020880161270f565b6c10189a9810189a98149110179f60991b60249290910191820152603101949350505050565b683d913730b6b2911d1160b91b81528651600090612330816009850160208c0161270f565b71111610113232b9b1b934b83a34b7b7111d1160711b600991840191820152875161236281601b840160208c0161270f565b7f222c202265787465726e616c5f75726c223a2268747470733a2f2f6275726e79601b92909101918201526e626f79732e636f6d2f746f6b656e2f60881b603b82015286516123b881604a840160208b0161270f565b7f222c202261747472696275746573223a205b7b2274726169745f74797065223a604a92909101918201527f202242617365206665652070657220676173202877656929222c202276616c75606a82015263032911d160e51b608a8201526121df61249c61249661246d61245461244e612435608e88018d611fbc565b6c3eae96101137bbb732b9111d1160991b8152600d0190565b8a611fbc565b6c1116101134b6b0b3b2911d101160991b8152600d0190565b7f646174613a696d6167652f7376672b786d6c3b6261736536342c0000000000008152601a0190565b86611fbc565b61227d60f01b815260020190565b620302e360ec1b8152600082516124c881600385016020870161270f565b64204777656960d81b6003939091019283015250600801919050565b6a4275726e7920426f79202360a81b81526000825161250a81600b85016020870161270f565b91909101600b0192915050565b7f5768656e2074686973206275726e7920626f7920776173206d696e7465642c2081526f03a3432903130b9b2b332b2903bb0b9960851b60208201526000825161256881603085016020870161270f565b9190910160300192915050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000008152600082516125ad81601d85016020870161270f565b91909101601d0192915050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906125ed90830184611f90565b9695505050505050565b602081526000611d856020830184611f90565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156126c0576126c06127bc565b500190565b6000826126d4576126d46127d2565b500490565b60008160001904831182151516156126f3576126f36127bc565b500290565b60008282101561270a5761270a6127bc565b500390565b60005b8381101561272a578181015183820152602001612712565b83811115610ac45750506000910152565b60008161274a5761274a6127bc565b506000190190565b600181811c9082168061276657607f821691505b6020821081141561278757634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156127a1576127a16127bc565b5060010190565b6000826127b7576127b76127d2565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461282a57600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f7376672220786d6c6e733a786c696e6b3d22687474703a2f2f7777772e77332e6f72672f313939392f786c696e6b222076696577426f783d223020302033303020333030223e3c646566733e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e74222078313d22313530222078323d22313530222079323d2233303022206772616469656e74556e6974733d227573657253706163654f6e557365223e3c73746f70206f66667365743d2230222073746f702d636f6c6f723d2223303062646430222f3e3c73746f70206f66667365743d2231222073746f702d636f6c6f723d2223303038616430222f3e3c2f6c696e6561724772616469656e743e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d32222078313d2233302e37222079313d222d382e32222078323d2233302e37222079323d223134312e3522206772616469656e74556e6974733d227573657253706163654f6e557365223e3c73746f70206f66667365743d2230222073746f702d636f6c6f723d2223663136643736222f3e3c73746f70206f66667365743d2231222073746f702d636f6c6f723d2223666661333538222f3e3c2f6c696e6561724772616469656e743e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d33222078313d2233342e35222079313d2232392e39222078323d2233342e35222079323d223134342e3922206772616469656e74556e6974733d227573657253706163654f6e557365223e3c73746f70206f66667365743d2230222073746f702d636f6c6f723d2223666662643538222f3e3c73746f70206f66667365743d2231222073746f702d636f6c6f723d2223663665633437222f3e3c2f6c696e6561724772616469656e743e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d34222078313d2233312e39222079313d22322e35222078323d2233312e39222079323d223134362e332220786c696e6b3a687265663d22236c696e6561722d6772616469656e742d32222f3e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d35222078313d2236372e38222079313d2232372e39222078323d2236372e38222079323d2237342e352220786c696e6b3a687265663d22236c696e6561722d6772616469656e742d32222f3e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d36222078313d2233362e35222079313d222d31352e31222078323d2233362e35222079323d2235322e382220786c696e6b3a687265663d22236c696e6561722d6772616469656e742d32222f3e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d37222078313d2233332e36222079313d2232322e35222078323d2233332e36222079323d223134382e352220786c696e6b3a687265663d22236c696e6561722d6772616469656e742d33222f3e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d38222078313d2232332e31222079313d222d382e33222078323d2232332e31222079323d223135352e392220786c696e6b3a687265663d22236c696e6561722d6772616469656e742d32222f3e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d39222078313d2236342e39222079313d22362e37222078323d2236342e39222079323d223130302220786c696e6b3a687265663d22236c696e6561722d6772616469656e742d32222f3e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d3130222078313d2234382e34222079313d222d34352e38222078323d2234382e34222079323d2238302e372220786c696e6b3a687265663d22236c696e6561722d6772616469656e742d32222f3e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d3131222078313d2232352e36222079313d22382e32222078323d2232352e36222079323d223134392e382220786c696e6b3a687265663d22236c696e6561722d6772616469656e742d33222f3e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d3132222078313d22313530222079313d22333030222078323d22313530222079323d223133392e382220786c696e6b3a687265663d22236c696e6561722d6772616469656e742d33222f3e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d3133222078313d223936222079313d223230322e34222078323d22313530222079323d223230322e3422206772616469656e74556e6974733d227573657253706163654f6e557365223e3c73746f70206f66667365743d2230222073746f702d636f6c6f723d2223353734353831222f3e3c73746f70206f66667365743d2231222073746f702d636f6c6f723d2223346332333562222f3e3c2f6c696e6561724772616469656e743e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d3134222078313d22313530222079313d223230322e34222078323d22323034222079323d223230322e3422206772616469656e74556e6974733d227573657253706163654f6e557365223e3c73746f70206f66667365743d2230222073746f702d636f6c6f723d2223656134393661222f3e3c73746f70206f66667365743d2231222073746f702d636f6c6f723d2223656136623630222f3e3c2f6c696e6561724772616469656e743e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d3135222078313d22313530222079313d223135332e37222078323d22323034222079323d223135332e372220786c696e6b3a687265663d22236c696e6561722d6772616469656e742d3134222f3e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d3136222078313d22323034222079313d22313035222078323d22313530222079323d223130352220786c696e6b3a687265663d22236c696e6561722d6772616469656e74222f3e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d3137222078313d223936222079313d22313035222078323d22313530222079323d223130352220786c696e6b3a687265663d22236c696e6561722d6772616469656e742d3134222f3e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d3138222078313d223936222079313d223135332e37222078323d22313530222079323d223135332e372220786c696e6b3a687265663d22236c696e6561722d6772616469656e742d3133222f3e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d3139222078313d223134392e31222079313d223234222078323d223134392e31222079323d223237362220786c696e6b3a687265663d22236c696e6561722d6772616469656e742d3133222f3e3c636c6970506174682069643d22636c69702d70617468223e3c7061746820636c6173733d22636c732d312220643d224d302d34322e3368333030763138382e3648307a222f3e3c2f636c6970506174683e3c636c6970506174682069643d22636c69702d706174682d32223e3c7061746820636c6173733d22636c732d312220643d224d2e3420306833303076333030482e347a222f3e3c2f636c6970506174683e3c7374796c653e2e636c732d317b66696c6c3a6e6f6e657d2e636c732d327b66696c6c3a75726c28236c696e6561722d6772616469656e74297d2e636c732d347b66696c6c3a75726c28236c696e6561722d6772616469656e742d32297d2e636c732d357b66696c6c3a75726c28236c696e6561722d6772616469656e742d33297d2e636c732d31347b66696c6c3a75726c28236c696e6561722d6772616469656e742d3132297d2e636c732d31357b6f7061636974793a2e327d2e636c732d31367b636c69702d706174683a75726c2823636c69702d706174682d32297d2e636c732d31377b66696c6c3a236537356130307d2e636c732d31387b66696c6c3a75726c28236c696e6561722d6772616469656e742d3133297d2e636c732d31397b66696c6c3a236666667d2e636c732d32307b66696c6c3a75726c28236c696e6561722d6772616469656e742d3134297d2e636c732d32317b66696c6c3a75726c28236c696e6561722d6772616469656e742d3135297d2e636c732d32327b66696c6c3a75726c28236c696e6561722d6772616469656e742d3136297d2e636c732d32337b66696c6c3a75726c28236c696e6561722d6772616469656e742d3137297d2e636c732d32347b66696c6c3a75726c28236c696e6561722d6772616469656e742d3138297d2e636c732d32357b7374726f6b653a236666663b7374726f6b652d6d697465726c696d69743a31303b66696c6c3a75726c28236c696e6561722d6772616469656e742d3139297d3c2f7374796c653e3c2f646566733e3c7061746820636c6173733d22636c732d322220643d224d302030683330307633303048307a222069643d226261636b67726f756e64222f3e3c672069643d22666972652d6c61796572223e3c672069643d22466972655f746f5f6d6f76652220646174612d6e616d653d224669726520746f206d6f7665223e3c672069643d224669726531223e3c672069643d22666972652d303031223e3c7061746820636c6173733d22636c732d342220643d224d2d342e34203133392e32632d2e342d31322e322d31372e352d33312e352d392e362d34397332312d31332032342d3330633020302031302e3320392e3620312e312032312e36203020302031332e332d332e382031322e382d31342e3673312e352d31352e372d372e342d31382d32322e322d31382e342d392e332d33352e356330203020322e342031342e342031332e3820382e317332302e372d323620312d32362e35633020302031322e332d382e312031392e372e34732d392e342032372d332e352033312e355335322033332e312035312e352034332033352e382036312e382034312e322036362e337331392e3320312e352031392e372d332e33632e332d342e382d372e392d31302e362d312d32306131382e372031382e372030203030392031312e3863392e3920352e352031322e322031372e3820322e332032362e382d362e3720362e322d31352d332e342d31352e3920352e392d2e3620352e342032312031332031392032392e312d332e372032392e3720392e332032342e352d33332e312032342e352d34372e3620302d34352e362d312e392d34352e362d312e397a222f3e3c7061746820636c6173733d22636c732d352220643d224d333520313435632d36322e3220302d33332e382d372e332d32372d31362e324331392e38203131332e322d322e37203131332e362d322e322031303073382e392d32302e3320382e392d32302e332d352e3220313620322e322031362e355332342039312032372e3920373663362e362d32362e322e352d34302e332d382e342d34362e324133372e352033372e35203020303133382033392e36633620362d342e362031372e332d342e332032362e372e372032342e362033342e3820352033312e372d352e382030203020392e352031342e382d322e392031372d32322e3420342e322d32312e342032302e362d313320323673362031362e332031332e362032342e366331302031312032362031362e382d32382e332031362e387a222f3e3c2f673e3c75736520687265663d2223666972652d3030312220783d223737222f3e3c75736520687265663d2223666972652d3030312220783d22313534222f3e3c75736520687265663d2223666972652d3030312220783d22323331222f3e3c2f673e3c7061746820636c6173733d22636c732d31342220643d224d30203133392e38683330305633303048307a222f3e3c2f673e3c2f673e3c6720636c6173733d22636c732d3135222069643d22726179223e3c6720636c6173733d22636c732d3136223e3c706174682069643d22726179312220636c6173733d22636c732d31372220643d224d3135332e342033383371382e352d2e312031362e392d2e384c3135332e34203231317a222f3e3c2f673e3c2f673e3c672069643d224574686572223e3c7061746820636c6173733d22636c732d31382220643d224d313530203139372e347634342e356c2d35342d37392035342033342e357a222f3e3c7061746820636c6173733d22636c732d31392220643d224d313530203234322e33612e342e3420302030312d2e332d2e326c2d35342d37382e39612e342e3420302030312e352d2e356c35342033342e33612e342e3420302030312e322e347634342e35612e342e3420302030312d2e332e342e342e3420302030312d2e3120307a6d2d35322e362d37386c35322e322037362e33762d34337a222f3e3c7061746820636c6173733d22636c732d32302220643d224d323034203136336c2d35342037382e39762d34342e356c35342d33342e347a222f3e3c7061746820636c6173733d22636c732d31392220643d224d313530203234322e33612e342e3420302030312d2e312030202e342e3420302030312d2e332d2e34762d34342e35612e342e3420302030312e322d2e346c35342d33342e33612e342e3420302030312e352e356c2d35342037382e39612e342e3420302030312d2e332e327a6d2e342d34342e377634336c35322e322d37362e327a222f3e3c7061746820636c6173733d22636c732d32312220643d224d323034203135312e396c2d35342d33302e377636356c35342d33342e337a222f3e3c7061746820636c6173733d22636c732d31392220643d224d313530203138362e37612e342e3420302030312d2e342d2e34762d36352e31612e342e3420302030312e362d2e346c35342033302e37612e342e34203020303130202e376c2d35342033342e34612e342e3420302030312d2e3220307a6d2e342d36342e387636332e366c35322e382d33332e367a222f3e3c673e3c7061746820636c6173733d22636c732d32322220643d224d323034203135312e394c3135302035387636336c35342033302e387a222f3e3c7061746820636c6173733d22636c732d31392220643d224d323034203135322e33612e342e3420302030312d2e3220306c2d35342d33302e38612e342e3420302030312d2e322d2e33762d3633612e342e3420302030312e372d2e336c35342039332e38612e342e3420302030312d2e332e367a4d3135302e34203132316c35322e352032392e382d35322e352d39312e327a222f3e3c2f673e3c673e3c7061746820636c6173733d22636c732d32332220643d224d3135302035382e317636334c393620313532203135302035387a222f3e3c7061746820636c6173733d22636c732d31392220643d224d3936203135322e33612e342e3420302030312d2e332d2e366c35342d39332e38612e342e3420302030312e372e32763633612e342e3420302030312d2e322e346c2d35342033302e37612e342e3420302030312d2e3220307a6d35332e362d39322e376c2d35322e352039312e322035322e352d32392e387a222f3e3c2f673e3c673e3c7061746820636c6173733d22636c732d32342220643d224d313530203132312e327636354c3936203135326c35342d33302e377a222f3e3c7061746820636c6173733d22636c732d31392220643d224d313530203138362e37612e342e3420302030312d2e3220306c2d35342d33342e35612e342e342030203031302d2e376c35342d33302e37612e342e3420302030312e362e34763635612e342e3420302030312d2e342e357a6d2d35332e322d33342e386c35322e382033332e36563132327a222f3e3c2f673e3c673e3c7061746820636c6173733d22636c732d31392220643d224d3230332e38203136322e374c313530203139362e396c2d35332e382d33342e32612e342e3420302030302d2e352e356c35342037382e39612e342e3420302030302e322e312e342e3420302030302e322030202e342e3420302030302e322030762d2e316c35342d37382e39612e342e3420302030302d2e352d2e357a6d2d35342e322033342e397634336c2d35322e322d37362e327a6d2e38203433762d34336c35322e322d33332e327a222f3e3c7061746820636c6173733d22636c732d31392220643d224d39352e36203135312e39612e342e3420302030302e312e32762e316c35342033342e34682e31612e342e3420302030302e3420306c35342d33342e34682e31612e342e342030203030302d2e322e342e342030203030302d2e31682e31612e342e342030203030302d2e326c2d35342d39332e38612e342e3420302030302d2e312030202e332e3320302030302d2e312d2e312e322e3220302030302d2e312030202e342e3420302030302d2e312030682d2e31612e332e3320302030302d2e312030202e332e3320302030302d2e312e316c2d35342039332e38612e342e34203020303030202e32632d2e31203020302030203020307a6d35342d33307636332e364c39362e38203135327a6d2e382036332e36563132326c35322e382033307a6d302d36342e355635392e366c35322e352039312e327a6d2d2e382d36312e34563132316c2d35322e352032392e387a222f3e3c2f673e3c2f673e3c672069643d2252696e67223e3c672069643d22726f7461746574686973223e3c7061746820636c6173733d22636c732d32352220643d224d3134392032346131323620313236203020313031323620313236413132362031323620302030303134392032347a6d30203232352e336139392e332039392e33203020313139392e342d39392e332039392e332039392e3320302030312d39392e332039392e337a222f3e3c706174682069643d2274657874636972636c652220636c6173733d22636c732d312220643d224d333220313530613131382031313820302031303233362030203131382031313820302031302d3233362030223e3c616e696d6174655472616e73666f726d206174747269627574654e616d653d227472616e73666f726d2220626567696e3d22307322206475723d223530732220747970653d22726f74617465222066726f6d3d223020313530203135302220746f3d2233363020313530203135302220726570656174436f756e743d22696e646566696e697465222f3e3c2f706174683e3c2f673e3c2f673e3c646566733e3c7374796c653e406b65796672616d65732066667b30252c34392e39252c746f7b7472616e73666f726d3a7472616e736c61746528302c3029207363616c6528312c31297d3530252c39392e39257b7472616e73666f726d3a7472616e736c6174652833303070782c3029207363616c65282d312c31297d7d2346697265317b616e696d6174696f6e3a6666203330306d73206c696e65617220696e66696e697465206e6f726d616c20666f7277617264737d746578747b666f6e742d73697a653a313670783b666f6e742d66616d696c793a48656c7665746963612c73616e732d73657269663b666f6e742d7765696768743a3930303b66696c6c3a236666663b6c65747465722d73706163696e673a3170787d2345746865722c2352696e672c236261636b67726f756e647b66696c7465723a6875652d726f7461746528a26469706673582212209a44ca7741ab805bbba608aadeb4414dbf3e7ee61d244c9e5824bf60d3a2b0df64736f6c63430008070033000000000000000000000000000000000000000000000000000000000000061700000000000000000000000000000000000000000000000000376305bc0c600000000000000000000000000097843608a00e2bbc75ab0c1911387e002565dede

Deployed Bytecode

0x6080604052600436106101355760003560e01c806342842e0e116100ab578063a22cb4651161006f578063a22cb46514610339578063a4d66daf14610359578063a62611a21461036f578063b88d4fde14610385578063c87b56dd146103a5578063e985e9c5146103c557600080fd5b806342842e0e146102ae5780636352211e146102ce57806370a08231146102ee57806395d89b411461030e578063a035b1fe1461032357600080fd5b806318160ddd116100fd57806318160ddd1461020157806323b872dd1461021657806324600fc3146102365780632ccdc9751461024b578063310e6aba1461027857806338af3eed1461028e57600080fd5b806301ffc9a71461013a57806306fdde031461016f578063081812fc14610191578063095ea7b3146101c95780631249c58b146101eb575b600080fd5b34801561014657600080fd5b5061015a610155366004611f3d565b6103e5565b60405190151581526020015b60405180910390f35b34801561017b57600080fd5b50610184610437565b60405161016691906125f7565b34801561019d57600080fd5b506101b16101ac366004611f77565b6104c9565b6040516001600160a01b039091168152602001610166565b3480156101d557600080fd5b506101e96101e4366004611f13565b610556565b005b6101f3610667565b604051908152602001610166565b34801561020d57600080fd5b506101f3610787565b34801561022257600080fd5b506101e9610231366004611dbf565b610797565b34801561024257600080fd5b506101e96107c8565b34801561025757600080fd5b506101f3610266366004611f77565b600c6020526000908152604090205481565b34801561028457600080fd5b506101f3600b5481565b34801561029a57600080fd5b506009546101b1906001600160a01b031681565b3480156102ba57600080fd5b506101e96102c9366004611dbf565b6108a9565b3480156102da57600080fd5b506101b16102e9366004611f77565b6108c4565b3480156102fa57600080fd5b506101f3610309366004611d6a565b61093b565b34801561031a57600080fd5b506101846109c2565b34801561032f57600080fd5b506101f360085481565b34801561034557600080fd5b506101e9610354366004611ed7565b6109d1565b34801561036557600080fd5b506101f360075481565b34801561037b57600080fd5b506101f3600a5481565b34801561039157600080fd5b506101e96103a0366004611dfb565b610a92565b3480156103b157600080fd5b506101846103c0366004611f77565b610aca565b3480156103d157600080fd5b5061015a6103e0366004611d8c565b610b96565b60006001600160e01b031982166380ac58cd60e01b148061041657506001600160e01b03198216635b5e139f60e01b145b8061043157506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461044690612752565b80601f016020809104026020016040519081016040528092919081815260200182805461047290612752565b80156104bf5780601f10610494576101008083540402835291602001916104bf565b820191906000526020600020905b8154815290600101906020018083116104a257829003601f168201915b5050505050905090565b60006104d482610bc4565b61053a5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610561826108c4565b9050806001600160a01b0316836001600160a01b031614156105cf5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610531565b336001600160a01b03821614806105eb57506105eb8133610b96565b6106585760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776044820152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b6064820152608401610531565b6106628383610be1565b505050565b60006008543410156106ab5760405162461bcd60e51b815260206004820152600d60248201526c707269636520746f6f206c6f7760981b6044820152606401610531565b6106b9600680546001019055565b60006106c460065490565b90506007548111156107035760405162461bcd60e51b8152602060048201526008602482015267185d081b1a5b5a5d60c21b6044820152606401610531565b61070d3382610c4f565b6000818152600c602052604090204890819055600b5481111561073057600b8190555b600a5481101561074057600a8190555b60408051338152602081018490529081018290527fbc7d7d143abd25a4c46468a8dc71a9fc8c12d3f5969c388d86dce39f1507a8569060600160405180910390a150919050565b600061079260065490565b905090565b6107a13382610c69565b6107bd5760405162461bcd60e51b81526004016105319061265c565b610662838383610d33565b6009546001600160a01b031633146108155760405162461bcd60e51b815260206004820152601060248201526f6f6e6c792062656e656669636961727960801b6044820152606401610531565b60095460405147916000916001600160a01b039091169083908381818185875af1925050503d8060008114610866576040519150601f19603f3d011682016040523d82523d6000602084013e61086b565b606091505b50509050806108a55760405162461bcd60e51b815260206004820152600660248201526511985a5b195960d21b6044820152606401610531565b5050565b61066283838360405180602001604052806000815250610a92565b6000818152600260205260408120546001600160a01b0316806104315760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610531565b60006001600160a01b0382166109a65760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610531565b506001600160a01b031660009081526003602052604090205490565b60606001805461044690612752565b6001600160a01b038216331415610a265760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b6044820152606401610531565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610a9c3383610c69565b610ab85760405162461bcd60e51b81526004016105319061265c565b610ac484848484610ed3565b50505050565b6060610ad582610bc4565b610b0d5760405162461bcd60e51b81526020600482015260096024820152681b9bdd08195e1a5cdd60ba1b6044820152606401610531565b610431604051806101000160405280848152602001600c6000868152602001908152602001600020548152602001610b44856108c4565b6001600160a01b03168152602001600a548152602001600b5481526020016000815260200160405180602001604052806000815250815260200160405180602001604052806000815250815250610f06565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610c16826108c4565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6108a5828260405180602001604052806000815250611119565b6000610c7482610bc4565b610cd55760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610531565b6000610ce0836108c4565b9050806001600160a01b0316846001600160a01b03161480610d1b5750836001600160a01b0316610d10846104c9565b6001600160a01b0316145b80610d2b5750610d2b8185610b96565b949350505050565b826001600160a01b0316610d46826108c4565b6001600160a01b031614610dae5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610531565b6001600160a01b038216610e105760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610531565b610e1b600082610be1565b6001600160a01b0383166000908152600360205260408120805460019290610e449084906126f8565b90915550506001600160a01b0382166000908152600360205260408120805460019290610e729084906126ad565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610ede848484610d33565b610eea8484848461114c565b610ac45760405162461bcd60e51b81526004016105319061260a565b60606000610f178360000151611259565b604051602001610f2791906124e4565b60405160208183030381529060405290506298968083602001511015610f7e57610f548360200151611259565b604051602001610f6491906121ec565b60408051601f1981840301815291905260c0840152611051565b6305f5e10083602001511015610fb957610fa9629896808460200151610fa491906126c5565b611259565b604051602001610f6491906124aa565b6402540be4008360200151101561101457610fe1633b9aca008460200151610fa491906126c5565b6110036064629896808660200151610ff991906126c5565b610fa491906127a8565b604051602001610f64929190612214565b61102b633b9aca008460200151610fa491906126c5565b60405160200161103b9190612262565b60408051601f1981840301815291905260c08401525b60008360c001516040516020016110689190612517565b6040516020818303038152906040529050600061108c61108786611357565b6115f9565b90506110f083836110a08860000151611259565b6110ad8960200151611259565b60408a01516110c6906001600160a01b03166014611761565b866040516020016110dc9695949392919061230b565b6040516020818303038152906040526115f9565b6040516020016111009190612575565b6040516020818303038152906040529350505050919050565b61112383836118b6565b611130600084848461114c565b6106625760405162461bcd60e51b81526004016105319061260a565b60006001600160a01b0384163b1561124e57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906111909033908990889088906004016125ba565b602060405180830381600087803b1580156111aa57600080fd5b505af19250505080156111da575060408051601f3d908101601f191682019092526111d791810190611f5a565b60015b611234573d808015611208576040519150601f19603f3d011682016040523d82523d6000602084013e61120d565b606091505b50805161122c5760405162461bcd60e51b81526004016105319061260a565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610d2b565b506001949350505050565b60608161127d5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156112a757806112918161278d565b91506112a09050600a836126c5565b9150611281565b60008167ffffffffffffffff8111156112c2576112c26127fe565b6040519080825280601f01601f1916602001820160405280156112ec576020820181803683370190505b5090505b8415610d2b576113016001836126f8565b915061130e600a866127a8565b6113199060306126ad565b60f81b81838151811061132e5761132e6127e8565b60200101906001600160f81b031916908160001a905350611350600a866126c5565b94506112f0565b6060600061010e905082608001518360600151141561137c57600060a08401526113e0565b60648360600151846080015161139291906126f8565b846060015185602001516113a691906126f8565b6113b19060646126d9565b6113bb91906126c5565b6113c69060646126f8565b6113d090836126d9565b6113da91906126c5565b60a08401525b8260200151836080015114156114475761143d6040518060400160405280600d81526020016c0213ab93734b2b9ba102137bc9609d1b81525060405180604001604052806004815260200163f09f94a560e01b815250601e6119e9565b60e0840152611583565b8260200151836060015114156114a05761143d60405180604001604052806009815260200168024b1b29031b7b632160bd1b81525060405180604001604052806004815260200163784fd3c560e11b815250601e6119e9565b633b9aca0083602001516114b491906126c5565b604514156115015761143d6040518060400160405280600681526020016502734b1b297160d51b81525060405180604001604052806003815260200162e2998b60e81b815250601e6119e9565b633b9aca00836020015161151591906126c5565b6101a414156115645761143d6040518060400160405280600681526020016502734b1b297160d51b81525060405180604001604052806004815260200163784fc65960e11b815250601e6119e9565b604083015161157d906001600160a01b03166014611761565b60e08401525b6000604051806112400160405280611210815260200161286e61121091396115a9611a36565b60405180610a400160405280610a1d8152602001613a7e610a1d91396115ce87611ca3565b6040516020016115e19493929190612007565b60408051601f19818403018152919052949350505050565b606081516000141561161957505060408051602081019091526000815290565b600060405180606001604052806040815260200161282e604091399050600060038451600261164891906126ad565b61165291906126c5565b61165d9060046126d9565b9050600061166c8260206126ad565b67ffffffffffffffff811115611684576116846127fe565b6040519080825280601f01601f1916602001820160405280156116ae576020820181803683370190505b509050818152600183018586518101602084015b8183101561171c5760039283018051603f601282901c811687015160f890811b8552600c83901c8216880151811b6001860152600683901c8216880151811b60028601529116860151901b938201939093526004016116c2565b600389510660018114611736576002811461174757611753565b613d3d60f01b600119830152611753565b603d60f81b6000198301525b509398975050505050505050565b606060006117708360026126d9565b61177b9060026126ad565b67ffffffffffffffff811115611793576117936127fe565b6040519080825280601f01601f1916602001820160405280156117bd576020820181803683370190505b509050600360fc1b816000815181106117d8576117d86127e8565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611807576118076127e8565b60200101906001600160f81b031916908160001a905350600061182b8460026126d9565b6118369060016126ad565b90505b60018111156118ae576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061186a5761186a6127e8565b1a60f81b828281518110611880576118806127e8565b60200101906001600160f81b031916908160001a90535060049490941c936118a78161273b565b9050611839565b509392505050565b6001600160a01b03821661190c5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610531565b61191581610bc4565b156119625760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610531565b6001600160a01b038216600090815260036020526040812080546001929061198b9084906126ad565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b606060005b82811015611a2d578484604051602001611a09929190611fd8565b60405160208183030381529060405294508080611a259061278d565b9150506119ee565b50929392505050565b604080516107608101825260068152600c6020808301919091526012828401526018606083810191909152601e6080840152602460a0840152602a60c080850191909152603060e08501526036610100850152603c6101208086019190915260426101408601526048610160860152604e61018086015260546101a0860152605a6101c08601526101e085018390526066610200860152606c61022086015260726102408601526078610260860152607e61028086015260846102a0860152608a6102c086015260906102e08601526096610300860152609c61032086015260a261034086015260a861036086015260ae61038086015260b46103a086015260ba6103c08601526103e085019190915260c661040085015260cc61042085015260d261044085015260d861046085015260de61048085015260e46104a085015260ea6104c085015260f06104e085015260f661050085015260fc61052085015261010261054085015261010861056085015261010e6105808501526101146105a085015261011a6105c08501526105e084015261012661060084015261012c61062084015261013261064084015261013861066084015261013e6106808401526101446106a084015261014a6106c08401526101506106e084015261015661070084015261015c610720840152610162610740840152835191820190935260008082525b603b811015611c9c5781611c678483603b8110611c5957611c596127e8565b602002015161ffff16611259565b604051602001611c7892919061228b565b60405160208183030381529060405291508080611c949061278d565b915050611c3a565b5092915050565b60606298968082602001511015611cde5760408051808201909152600d81526c266c743b302e3031204777656960981b602082015260c08301525b8151611d029061016890611cf390601e6126d9565b8460200151610ff991906126ad565b611d0f8360a00151611259565b8351611d1a90611259565b8460c001518560e00151604051602001611d3895949392919061205e565b6040516020818303038152906040529050919050565b80356001600160a01b0381168114611d6557600080fd5b919050565b600060208284031215611d7c57600080fd5b611d8582611d4e565b9392505050565b60008060408385031215611d9f57600080fd5b611da883611d4e565b9150611db660208401611d4e565b90509250929050565b600080600060608486031215611dd457600080fd5b611ddd84611d4e565b9250611deb60208501611d4e565b9150604084013590509250925092565b60008060008060808587031215611e1157600080fd5b611e1a85611d4e565b9350611e2860208601611d4e565b925060408501359150606085013567ffffffffffffffff80821115611e4c57600080fd5b818701915087601f830112611e6057600080fd5b813581811115611e7257611e726127fe565b604051601f8201601f19908116603f01168101908382118183101715611e9a57611e9a6127fe565b816040528281528a6020848701011115611eb357600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611eea57600080fd5b611ef383611d4e565b915060208301358015158114611f0857600080fd5b809150509250929050565b60008060408385031215611f2657600080fd5b611f2f83611d4e565b946020939093013593505050565b600060208284031215611f4f57600080fd5b8135611d8581612814565b600060208284031215611f6c57600080fd5b8151611d8581612814565b600060208284031215611f8957600080fd5b5035919050565b60008151808452611fa881602086016020860161270f565b601f01601f19169290920160200192915050565b60008151611fce81856020860161270f565b9290920192915050565b60008351611fea81846020880161270f565b835190830190611ffe81836020880161270f565b01949350505050565b60008551612019818460208a0161270f565b85519083019061202d818360208a0161270f565b855191019061204081836020890161270f565b845191019061205381836020880161270f565b019695505050505050565b60008651612070818460208b0161270f565b80830190507f646567297d23466972655f746f5f6d6f76657b7472616e73666f726d3a74726181526a1b9cdb185d194a0c1c1e0b60aa1b602082015286516120bf81602b840160208b0161270f565b7f7078297d3c2f7374796c653e3c2f646566733e3c746578742064793d2230223e602b92909101918201527f3c746578745061746820786c696e6b3a687265663d222374657874636972636c604b8201527165223e202f204549502d31353539202f202360701b606b820152855161213e81607d840160208a0161270f565b6b01017902130b9b2b332b29d160a51b607d9290910191820152845161216b81608984016020890161270f565b6121df6121bb61219261218c6089858701016201017960ed1b815260030190565b88611fbc565b7ff09f94a5f09f94a5f09f94a5f09f94a5f09f94a5f09f94a5f09f94a5f09f94a5815260200190565b771e17ba32bc3a2830ba341f1e17ba32bc3a1f1e17b9bb339f60411b815260180190565b9998505050505050505050565b600082516121fe81846020870161270f565b632077656960e01b920191825250600401919050565b6000835161222681846020880161270f565b601760f91b908301908152835161224481600184016020880161270f565b64204777656960d81b60019290910191820152600601949350505050565b6000825161227481846020870161270f565b64204777656960d81b920191825250600501919050565b6000835161229d81846020880161270f565b80830190507f3c75736520687265663d22237261793122207472616e73666f726d3d22726f748152630c2e8ca560e31b602082015283516122e581602484016020880161270f565b6c10189a9810189a98149110179f60991b60249290910191820152603101949350505050565b683d913730b6b2911d1160b91b81528651600090612330816009850160208c0161270f565b71111610113232b9b1b934b83a34b7b7111d1160711b600991840191820152875161236281601b840160208c0161270f565b7f222c202265787465726e616c5f75726c223a2268747470733a2f2f6275726e79601b92909101918201526e626f79732e636f6d2f746f6b656e2f60881b603b82015286516123b881604a840160208b0161270f565b7f222c202261747472696275746573223a205b7b2274726169745f74797065223a604a92909101918201527f202242617365206665652070657220676173202877656929222c202276616c75606a82015263032911d160e51b608a8201526121df61249c61249661246d61245461244e612435608e88018d611fbc565b6c3eae96101137bbb732b9111d1160991b8152600d0190565b8a611fbc565b6c1116101134b6b0b3b2911d101160991b8152600d0190565b7f646174613a696d6167652f7376672b786d6c3b6261736536342c0000000000008152601a0190565b86611fbc565b61227d60f01b815260020190565b620302e360ec1b8152600082516124c881600385016020870161270f565b64204777656960d81b6003939091019283015250600801919050565b6a4275726e7920426f79202360a81b81526000825161250a81600b85016020870161270f565b91909101600b0192915050565b7f5768656e2074686973206275726e7920626f7920776173206d696e7465642c2081526f03a3432903130b9b2b332b2903bb0b9960851b60208201526000825161256881603085016020870161270f565b9190910160300192915050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000008152600082516125ad81601d85016020870161270f565b91909101601d0192915050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906125ed90830184611f90565b9695505050505050565b602081526000611d856020830184611f90565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156126c0576126c06127bc565b500190565b6000826126d4576126d46127d2565b500490565b60008160001904831182151516156126f3576126f36127bc565b500290565b60008282101561270a5761270a6127bc565b500390565b60005b8381101561272a578181015183820152602001612712565b83811115610ac45750506000910152565b60008161274a5761274a6127bc565b506000190190565b600181811c9082168061276657607f821691505b6020821081141561278757634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156127a1576127a16127bc565b5060010190565b6000826127b7576127b76127d2565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461282a57600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f7376672220786d6c6e733a786c696e6b3d22687474703a2f2f7777772e77332e6f72672f313939392f786c696e6b222076696577426f783d223020302033303020333030223e3c646566733e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e74222078313d22313530222078323d22313530222079323d2233303022206772616469656e74556e6974733d227573657253706163654f6e557365223e3c73746f70206f66667365743d2230222073746f702d636f6c6f723d2223303062646430222f3e3c73746f70206f66667365743d2231222073746f702d636f6c6f723d2223303038616430222f3e3c2f6c696e6561724772616469656e743e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d32222078313d2233302e37222079313d222d382e32222078323d2233302e37222079323d223134312e3522206772616469656e74556e6974733d227573657253706163654f6e557365223e3c73746f70206f66667365743d2230222073746f702d636f6c6f723d2223663136643736222f3e3c73746f70206f66667365743d2231222073746f702d636f6c6f723d2223666661333538222f3e3c2f6c696e6561724772616469656e743e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d33222078313d2233342e35222079313d2232392e39222078323d2233342e35222079323d223134342e3922206772616469656e74556e6974733d227573657253706163654f6e557365223e3c73746f70206f66667365743d2230222073746f702d636f6c6f723d2223666662643538222f3e3c73746f70206f66667365743d2231222073746f702d636f6c6f723d2223663665633437222f3e3c2f6c696e6561724772616469656e743e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d34222078313d2233312e39222079313d22322e35222078323d2233312e39222079323d223134362e332220786c696e6b3a687265663d22236c696e6561722d6772616469656e742d32222f3e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d35222078313d2236372e38222079313d2232372e39222078323d2236372e38222079323d2237342e352220786c696e6b3a687265663d22236c696e6561722d6772616469656e742d32222f3e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d36222078313d2233362e35222079313d222d31352e31222078323d2233362e35222079323d2235322e382220786c696e6b3a687265663d22236c696e6561722d6772616469656e742d32222f3e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d37222078313d2233332e36222079313d2232322e35222078323d2233332e36222079323d223134382e352220786c696e6b3a687265663d22236c696e6561722d6772616469656e742d33222f3e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d38222078313d2232332e31222079313d222d382e33222078323d2232332e31222079323d223135352e392220786c696e6b3a687265663d22236c696e6561722d6772616469656e742d32222f3e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d39222078313d2236342e39222079313d22362e37222078323d2236342e39222079323d223130302220786c696e6b3a687265663d22236c696e6561722d6772616469656e742d32222f3e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d3130222078313d2234382e34222079313d222d34352e38222078323d2234382e34222079323d2238302e372220786c696e6b3a687265663d22236c696e6561722d6772616469656e742d32222f3e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d3131222078313d2232352e36222079313d22382e32222078323d2232352e36222079323d223134392e382220786c696e6b3a687265663d22236c696e6561722d6772616469656e742d33222f3e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d3132222078313d22313530222079313d22333030222078323d22313530222079323d223133392e382220786c696e6b3a687265663d22236c696e6561722d6772616469656e742d33222f3e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d3133222078313d223936222079313d223230322e34222078323d22313530222079323d223230322e3422206772616469656e74556e6974733d227573657253706163654f6e557365223e3c73746f70206f66667365743d2230222073746f702d636f6c6f723d2223353734353831222f3e3c73746f70206f66667365743d2231222073746f702d636f6c6f723d2223346332333562222f3e3c2f6c696e6561724772616469656e743e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d3134222078313d22313530222079313d223230322e34222078323d22323034222079323d223230322e3422206772616469656e74556e6974733d227573657253706163654f6e557365223e3c73746f70206f66667365743d2230222073746f702d636f6c6f723d2223656134393661222f3e3c73746f70206f66667365743d2231222073746f702d636f6c6f723d2223656136623630222f3e3c2f6c696e6561724772616469656e743e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d3135222078313d22313530222079313d223135332e37222078323d22323034222079323d223135332e372220786c696e6b3a687265663d22236c696e6561722d6772616469656e742d3134222f3e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d3136222078313d22323034222079313d22313035222078323d22313530222079323d223130352220786c696e6b3a687265663d22236c696e6561722d6772616469656e74222f3e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d3137222078313d223936222079313d22313035222078323d22313530222079323d223130352220786c696e6b3a687265663d22236c696e6561722d6772616469656e742d3134222f3e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d3138222078313d223936222079313d223135332e37222078323d22313530222079323d223135332e372220786c696e6b3a687265663d22236c696e6561722d6772616469656e742d3133222f3e3c6c696e6561724772616469656e742069643d226c696e6561722d6772616469656e742d3139222078313d223134392e31222079313d223234222078323d223134392e31222079323d223237362220786c696e6b3a687265663d22236c696e6561722d6772616469656e742d3133222f3e3c636c6970506174682069643d22636c69702d70617468223e3c7061746820636c6173733d22636c732d312220643d224d302d34322e3368333030763138382e3648307a222f3e3c2f636c6970506174683e3c636c6970506174682069643d22636c69702d706174682d32223e3c7061746820636c6173733d22636c732d312220643d224d2e3420306833303076333030482e347a222f3e3c2f636c6970506174683e3c7374796c653e2e636c732d317b66696c6c3a6e6f6e657d2e636c732d327b66696c6c3a75726c28236c696e6561722d6772616469656e74297d2e636c732d347b66696c6c3a75726c28236c696e6561722d6772616469656e742d32297d2e636c732d357b66696c6c3a75726c28236c696e6561722d6772616469656e742d33297d2e636c732d31347b66696c6c3a75726c28236c696e6561722d6772616469656e742d3132297d2e636c732d31357b6f7061636974793a2e327d2e636c732d31367b636c69702d706174683a75726c2823636c69702d706174682d32297d2e636c732d31377b66696c6c3a236537356130307d2e636c732d31387b66696c6c3a75726c28236c696e6561722d6772616469656e742d3133297d2e636c732d31397b66696c6c3a236666667d2e636c732d32307b66696c6c3a75726c28236c696e6561722d6772616469656e742d3134297d2e636c732d32317b66696c6c3a75726c28236c696e6561722d6772616469656e742d3135297d2e636c732d32327b66696c6c3a75726c28236c696e6561722d6772616469656e742d3136297d2e636c732d32337b66696c6c3a75726c28236c696e6561722d6772616469656e742d3137297d2e636c732d32347b66696c6c3a75726c28236c696e6561722d6772616469656e742d3138297d2e636c732d32357b7374726f6b653a236666663b7374726f6b652d6d697465726c696d69743a31303b66696c6c3a75726c28236c696e6561722d6772616469656e742d3139297d3c2f7374796c653e3c2f646566733e3c7061746820636c6173733d22636c732d322220643d224d302030683330307633303048307a222069643d226261636b67726f756e64222f3e3c672069643d22666972652d6c61796572223e3c672069643d22466972655f746f5f6d6f76652220646174612d6e616d653d224669726520746f206d6f7665223e3c672069643d224669726531223e3c672069643d22666972652d303031223e3c7061746820636c6173733d22636c732d342220643d224d2d342e34203133392e32632d2e342d31322e322d31372e352d33312e352d392e362d34397332312d31332032342d3330633020302031302e3320392e3620312e312032312e36203020302031332e332d332e382031322e382d31342e3673312e352d31352e372d372e342d31382d32322e322d31382e342d392e332d33352e356330203020322e342031342e342031332e3820382e317332302e372d323620312d32362e35633020302031322e332d382e312031392e372e34732d392e342032372d332e352033312e355335322033332e312035312e352034332033352e382036312e382034312e322036362e337331392e3320312e352031392e372d332e33632e332d342e382d372e392d31302e362d312d32306131382e372031382e372030203030392031312e3863392e3920352e352031322e322031372e3820322e332032362e382d362e3720362e322d31352d332e342d31352e3920352e392d2e3620352e342032312031332031392032392e312d332e372032392e3720392e332032342e352d33332e312032342e352d34372e3620302d34352e362d312e392d34352e362d312e397a222f3e3c7061746820636c6173733d22636c732d352220643d224d333520313435632d36322e3220302d33332e382d372e332d32372d31362e324331392e38203131332e322d322e37203131332e362d322e322031303073382e392d32302e3320382e392d32302e332d352e3220313620322e322031362e355332342039312032372e3920373663362e362d32362e322e352d34302e332d382e342d34362e324133372e352033372e35203020303133382033392e36633620362d342e362031372e332d342e332032362e372e372032342e362033342e3820352033312e372d352e382030203020392e352031342e382d322e392031372d32322e3420342e322d32312e342032302e362d313320323673362031362e332031332e362032342e366331302031312032362031362e382d32382e332031362e387a222f3e3c2f673e3c75736520687265663d2223666972652d3030312220783d223737222f3e3c75736520687265663d2223666972652d3030312220783d22313534222f3e3c75736520687265663d2223666972652d3030312220783d22323331222f3e3c2f673e3c7061746820636c6173733d22636c732d31342220643d224d30203133392e38683330305633303048307a222f3e3c2f673e3c2f673e3c6720636c6173733d22636c732d3135222069643d22726179223e3c6720636c6173733d22636c732d3136223e3c706174682069643d22726179312220636c6173733d22636c732d31372220643d224d3135332e342033383371382e352d2e312031362e392d2e384c3135332e34203231317a222f3e3c2f673e3c2f673e3c672069643d224574686572223e3c7061746820636c6173733d22636c732d31382220643d224d313530203139372e347634342e356c2d35342d37392035342033342e357a222f3e3c7061746820636c6173733d22636c732d31392220643d224d313530203234322e33612e342e3420302030312d2e332d2e326c2d35342d37382e39612e342e3420302030312e352d2e356c35342033342e33612e342e3420302030312e322e347634342e35612e342e3420302030312d2e332e342e342e3420302030312d2e3120307a6d2d35322e362d37386c35322e322037362e33762d34337a222f3e3c7061746820636c6173733d22636c732d32302220643d224d323034203136336c2d35342037382e39762d34342e356c35342d33342e347a222f3e3c7061746820636c6173733d22636c732d31392220643d224d313530203234322e33612e342e3420302030312d2e312030202e342e3420302030312d2e332d2e34762d34342e35612e342e3420302030312e322d2e346c35342d33342e33612e342e3420302030312e352e356c2d35342037382e39612e342e3420302030312d2e332e327a6d2e342d34342e377634336c35322e322d37362e327a222f3e3c7061746820636c6173733d22636c732d32312220643d224d323034203135312e396c2d35342d33302e377636356c35342d33342e337a222f3e3c7061746820636c6173733d22636c732d31392220643d224d313530203138362e37612e342e3420302030312d2e342d2e34762d36352e31612e342e3420302030312e362d2e346c35342033302e37612e342e34203020303130202e376c2d35342033342e34612e342e3420302030312d2e3220307a6d2e342d36342e387636332e366c35322e382d33332e367a222f3e3c673e3c7061746820636c6173733d22636c732d32322220643d224d323034203135312e394c3135302035387636336c35342033302e387a222f3e3c7061746820636c6173733d22636c732d31392220643d224d323034203135322e33612e342e3420302030312d2e3220306c2d35342d33302e38612e342e3420302030312d2e322d2e33762d3633612e342e3420302030312e372d2e336c35342039332e38612e342e3420302030312d2e332e367a4d3135302e34203132316c35322e352032392e382d35322e352d39312e327a222f3e3c2f673e3c673e3c7061746820636c6173733d22636c732d32332220643d224d3135302035382e317636334c393620313532203135302035387a222f3e3c7061746820636c6173733d22636c732d31392220643d224d3936203135322e33612e342e3420302030312d2e332d2e366c35342d39332e38612e342e3420302030312e372e32763633612e342e3420302030312d2e322e346c2d35342033302e37612e342e3420302030312d2e3220307a6d35332e362d39322e376c2d35322e352039312e322035322e352d32392e387a222f3e3c2f673e3c673e3c7061746820636c6173733d22636c732d32342220643d224d313530203132312e327636354c3936203135326c35342d33302e377a222f3e3c7061746820636c6173733d22636c732d31392220643d224d313530203138362e37612e342e3420302030312d2e3220306c2d35342d33342e35612e342e342030203031302d2e376c35342d33302e37612e342e3420302030312e362e34763635612e342e3420302030312d2e342e357a6d2d35332e322d33342e386c35322e382033332e36563132327a222f3e3c2f673e3c673e3c7061746820636c6173733d22636c732d31392220643d224d3230332e38203136322e374c313530203139362e396c2d35332e382d33342e32612e342e3420302030302d2e352e356c35342037382e39612e342e3420302030302e322e312e342e3420302030302e322030202e342e3420302030302e322030762d2e316c35342d37382e39612e342e3420302030302d2e352d2e357a6d2d35342e322033342e397634336c2d35322e322d37362e327a6d2e38203433762d34336c35322e322d33332e327a222f3e3c7061746820636c6173733d22636c732d31392220643d224d39352e36203135312e39612e342e3420302030302e312e32762e316c35342033342e34682e31612e342e3420302030302e3420306c35342d33342e34682e31612e342e342030203030302d2e322e342e342030203030302d2e31682e31612e342e342030203030302d2e326c2d35342d39332e38612e342e3420302030302d2e312030202e332e3320302030302d2e312d2e312e322e3220302030302d2e312030202e342e3420302030302d2e312030682d2e31612e332e3320302030302d2e312030202e332e3320302030302d2e312e316c2d35342039332e38612e342e34203020303030202e32632d2e31203020302030203020307a6d35342d33307636332e364c39362e38203135327a6d2e382036332e36563132326c35322e382033307a6d302d36342e355635392e366c35322e352039312e327a6d2d2e382d36312e34563132316c2d35322e352032392e387a222f3e3c2f673e3c2f673e3c672069643d2252696e67223e3c672069643d22726f7461746574686973223e3c7061746820636c6173733d22636c732d32352220643d224d3134392032346131323620313236203020313031323620313236413132362031323620302030303134392032347a6d30203232352e336139392e332039392e33203020313139392e342d39392e332039392e332039392e3320302030312d39392e332039392e337a222f3e3c706174682069643d2274657874636972636c652220636c6173733d22636c732d312220643d224d333220313530613131382031313820302031303233362030203131382031313820302031302d3233362030223e3c616e696d6174655472616e73666f726d206174747269627574654e616d653d227472616e73666f726d2220626567696e3d22307322206475723d223530732220747970653d22726f74617465222066726f6d3d223020313530203135302220746f3d2233363020313530203135302220726570656174436f756e743d22696e646566696e697465222f3e3c2f706174683e3c2f673e3c2f673e3c646566733e3c7374796c653e406b65796672616d65732066667b30252c34392e39252c746f7b7472616e73666f726d3a7472616e736c61746528302c3029207363616c6528312c31297d3530252c39392e39257b7472616e73666f726d3a7472616e736c6174652833303070782c3029207363616c65282d312c31297d7d2346697265317b616e696d6174696f6e3a6666203330306d73206c696e65617220696e66696e697465206e6f726d616c20666f7277617264737d746578747b666f6e742d73697a653a313670783b666f6e742d66616d696c793a48656c7665746963612c73616e732d73657269663b666f6e742d7765696768743a3930303b66696c6c3a236666663b6c65747465722d73706163696e673a3170787d2345746865722c2352696e672c236261636b67726f756e647b66696c7465723a6875652d726f7461746528a26469706673582212209a44ca7741ab805bbba608aadeb4414dbf3e7ee61d244c9e5824bf60d3a2b0df64736f6c63430008070033

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

000000000000000000000000000000000000000000000000000000000000061700000000000000000000000000000000000000000000000000376305bc0c600000000000000000000000000097843608a00e2bbc75ab0c1911387e002565dede

-----Decoded View---------------
Arg [0] : _limit (uint256): 1559
Arg [1] : _price (uint256): 15590000000000000
Arg [2] : _beneficiary (address): 0x97843608a00e2bbc75ab0C1911387E002565DEDE

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000617
Arg [1] : 00000000000000000000000000000000000000000000000000376305bc0c6000
Arg [2] : 00000000000000000000000097843608a00e2bbc75ab0c1911387e002565dede


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.