ETH Price: $3,178.87 (-7.86%)
Gas: 4 Gwei

Token

Labrats (LABRATS)
 

Overview

Max Total Supply

992 LABRATS

Holders

434

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 LABRATS
0xC03fe5A6a856adcb1b2A1f3080D44888F47385CD
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
Labrats

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Multiple files format)

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

import "./ERC721Enumerable.sol";
import "./ERC721Burnable.sol";
import "./Ownable.sol";


import "./toxin.sol";




contract Labrats is ERC721Enumerable, Ownable {

    using Strings for uint256;

    string _baseTokenURI;

    address addr_1 = 0x0a2f65DEF20B868D23Ba7cF1DA40424CFB1ae080;

    uint256 private _reserved = 100;
    uint256 private _price = 0.045 ether;
    uint256 private _generatorPrice = 0.00 ether;
    uint256 public _generatorStartCount = 10000;
    bool public _paused = true;
    bool public _generatorPaused = true;

    //rewards
    mapping(address => uint256) public balanceOG;
    YieldToken public yieldToken;

	//bio
	uint256 public BIO_CHANGE_PRICE = 100 ether;
	mapping(uint256 => string) public bio;
	event BioChange (uint256 indexed tokenId, string bio);


    constructor(string memory baseURI) ERC721("Labrats", "LABRATS")  {
        setBaseURI(baseURI);
    }

    function preMint(uint256 _amount) external onlyOwner {
         uint256 supply = totalSupply();
        //pre-mint
        for(uint256 i; i < _amount; i++){
            _safeMint( addr_1, supply + i );
            yieldToken.updateRewardOnMint(msg.sender, 1);
		    balanceOG[msg.sender]++;
        }
    }


	function setYieldToken(address _yield) external onlyOwner {
		yieldToken = YieldToken(_yield);
	}

    function payReward() external {
		yieldToken.updateReward(msg.sender, address(0), 0);
		yieldToken.payReward(msg.sender);
	}

	function setBioChangePrice(uint256 _bioChangePrice) external onlyOwner {
		BIO_CHANGE_PRICE = _bioChangePrice;
	}

	function changeBio(uint256 _tokenId, string memory _bio) public {
		address owner = ownerOf(_tokenId);
		require(_msgSender() == owner, "ERC721: caller is not the owner");
		yieldToken.burn(msg.sender, BIO_CHANGE_PRICE);
		bio[_tokenId] = _bio;
		emit BioChange(_tokenId, _bio); 
	}

    function transferFrom(address from, address to, uint256 tokenId) public override {
		yieldToken.updateReward(from, to, tokenId);
		if (tokenId < 10001)
		{
			balanceOG[from]--;
			balanceOG[to]++;
		}
		ERC721.transferFrom(from, to, tokenId);
	}

	function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public override {
		yieldToken.updateReward(from, to, tokenId);
		if (tokenId < 10001)
		{
			balanceOG[from]--;
			balanceOG[to]++;
		}
		ERC721.safeTransferFrom(from, to, tokenId, _data);
	}





    function purchase(uint256 num) public payable {
        uint256 supply = totalSupply();
        require( !_paused,                              "Sale paused" );
        require( num < 21,                              "You can purchase a maximum of 20 NFTs" );
        require( supply + num < 10000 - _reserved,      "Exceeds maximum NFTs supply" );
        require( msg.value >= _price * num,             "Ether sent is not correct" );

        for(uint256 i; i < num; i++){
            _safeMint( msg.sender, supply + i );
            // yieldToken.updateRewardOnMint(msg.sender, 1);
		    balanceOG[msg.sender]++;
        }
    }

    function walletOfOwner(address _owner) public view returns(uint256[] memory) {
        uint256 tokenCount = balanceOf(_owner);

        uint256[] memory tokensId = new uint256[](tokenCount);
        for(uint256 i; i < tokenCount; i++){
            tokensId[i] = tokenOfOwnerByIndex(_owner, i);
        }
        return tokensId;
    }

    function setPrice(uint256 _newPrice) public onlyOwner() {
        _price = _newPrice;
    }

    function setGeneratorPrice(uint256 _newPrice) public onlyOwner() {
        _generatorPrice = _newPrice;
    }

    function _baseURI() internal view virtual override returns (string memory) {
        return _baseTokenURI;
    }

    function setBaseURI(string memory baseURI) public onlyOwner {
        _baseTokenURI = baseURI;
    }

    function getPrice() public view returns (uint256){
        return _price;
    }

    function getGeneratorPrice() public view returns (uint256){
        return _generatorPrice;
    }

    function giveAway(address _to, uint256 _amount) external onlyOwner() {
        require( _amount <= _reserved, "Exceeds reserved NFTs supply" );

        uint256 supply = totalSupply();
        for(uint256 i; i < _amount; i++){
            _safeMint( _to, supply + i );
            yieldToken.updateRewardOnMint(msg.sender, 1);
		    balanceOG[msg.sender]++;
        }

        _reserved -= _amount;
    }

    function _generateProcess() private  {
        require( _generatorStartCount + 1 < 15000,         "Exceeds maximum NFTs that can be created" );
        yieldToken.burn(msg.sender, _generatorPrice);

        _safeMint( msg.sender, _generatorStartCount + 1 );
        yieldToken.updateRewardOnMint(msg.sender, 1);
		balanceOG[msg.sender]++;
        _generatorStartCount = _generatorStartCount+1;
    }

    function sendGenerator(uint256 nft1, uint256 nft2) public {
        require( !_generatorPaused,                  "Generator is offline" );
        require(_exists(nft1),                    "sendGenerator: NFT 1 does not exist.");
        require(_exists(nft2),                    "sendGenerator: NFT 2 does not exist.");
        require(ownerOf(nft1) == _msgSender(),    "sendGenerator: NFT 1 caller is not token owner.");
        require(ownerOf(nft2) == _msgSender(),    "sendGenerator: NFT 2 caller is not token owner.");
        require( nft1 <=  10000,             "NFT 1 is not a genesis NFT" );
        require( nft2 <=  10000,             "NFT 2 is not a genesis NFT" );

        require(nft1 != nft2, "Both NFTs can't be the same ");
        _burn(nft1);
        _burn(nft2);
        _generateProcess();
    }

    function _beforeTokenTransfer(address _from, address _to, uint256 _tokenId) internal virtual override(ERC721Enumerable) {
        super._beforeTokenTransfer(_from, _to, _tokenId);
    }

    function pause(bool val) public onlyOwner {
        _paused = val;
    }

    function generatorPause(bool val) public onlyOwner {
        _generatorPaused = val;
    }

    function withdrawAll() public payable onlyOwner {
        uint256 _all = address(this).balance;
        require(payable(addr_1).send(_all));
    }
}

File 1 of 18: 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 2 of 18: 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 3 of 18: 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 4 of 18: ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.3.2 (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

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

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - amount);
        }

        return true;
    }

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

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

        return true;
    }

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

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

File 5 of 18: ERC721.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be 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 6 of 18: ERC721Burnable.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "./ERC721.sol";
import "./Context.sol";

/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
        _burn(tokenId);
    }
}

File 7 of 18: ERC721Enumerable.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 8 of 18: 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 9 of 18: IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.3.2 (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 10 of 18: IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.3.2 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

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

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

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

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

import "./IERC165.sol";

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, 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 12 of 18: IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "./IERC721.sol";

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

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

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

File 13 of 18: 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 14 of 18: 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 16 of 18: Ownable.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "./Context.sol";

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _setOwner(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _setOwner(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _setOwner(newOwner);
    }

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

File 17 of 18: 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 18 of 18: toxin.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "./ERC20.sol";

interface ILabrats {
	function balanceOG(address _user) external view returns(uint256);
}






library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}






contract YieldToken is ERC20("Toxin", "TOXIN") {

	using SafeMath for uint256;

	uint256 constant public BASE_RATE = 10 ether; 
	uint256 constant public INITIAL_ISSUANCE = 300 ether;
	// Tue Mar 18 2031 17:46:47 GMT+0000
	uint256 constant public END = 1931622407;

	mapping(address => uint256) public rewards;
	mapping(address => uint256) public lastUpdate;

	ILabrats public labratsContract;

	event RewardPaid(address indexed user, uint256 reward);

	constructor(address _labrats) {
		labratsContract = ILabrats(_labrats);
	}


	function min(uint256 a, uint256 b) internal pure returns (uint256) {
		return a < b ? a : b;
	}

	// called when minting many NFTs
	// updated_amount = (balanceOG(user) * base_rate * delta / 86400) + amount * initial rate
	function updateRewardOnMint(address _user, uint256 _amount) external {
		require(msg.sender == address(labratsContract), "Can't call this");
		uint256 time = min(block.timestamp, END);
		uint256 timerUser = lastUpdate[_user];
		if (timerUser > 0)
			rewards[_user] = rewards[_user].add(labratsContract.balanceOG(_user).mul(BASE_RATE.mul((time.sub(timerUser)))).div(86400)
				.add(_amount.mul(INITIAL_ISSUANCE)));
		else 
			rewards[_user] = rewards[_user].add(_amount.mul(INITIAL_ISSUANCE));
		lastUpdate[_user] = time;
	}

	// called on transfers
	function updateReward(address _from, address _to, uint256 _tokenId) external {
		require(msg.sender == address(labratsContract));
		if (_tokenId < 10001) {
			uint256 time = min(block.timestamp, END);
			uint256 timerFrom = lastUpdate[_from];
			if (timerFrom > 0)
				rewards[_from] += labratsContract.balanceOG(_from).mul(BASE_RATE.mul((time.sub(timerFrom)))).div(86400);
			if (timerFrom != END)
				lastUpdate[_from] = time;
			if (_to != address(0)) {
				uint256 timerTo = lastUpdate[_to];
				if (timerTo > 0)
					rewards[_to] += labratsContract.balanceOG(_to).mul(BASE_RATE.mul((time.sub(timerTo)))).div(86400);
				if (timerTo != END)
					lastUpdate[_to] = time;
			}
		}
	}

	function payReward(address _to) external {
		require(msg.sender == address(labratsContract));
		uint256 reward = rewards[_to];
		if (reward > 0) {
			rewards[_to] = 0;
			_mint(_to, reward);
			emit RewardPaid(_to, reward);
		}
	}

	function burn(address _from, uint256 _amount) external {
		require(msg.sender == address(labratsContract));
		_burn(_from, _amount);
	}

	function getTotalClaimable(address _user) external view returns(uint256) {
		uint256 time = min(block.timestamp, END);
		uint256 pending = labratsContract.balanceOG(_user).mul(BASE_RATE.mul((time.sub(lastUpdate[_user])))).div(86400);
		return rewards[_user] + pending;
	}
}



Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"bio","type":"string"}],"name":"BioChange","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"BIO_CHANGE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_generatorPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_generatorStartCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOG","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"bio","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"_bio","type":"string"}],"name":"changeBio","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"val","type":"bool"}],"name":"generatorPause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getGeneratorPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"giveAway","outputs":[],"stateMutability":"nonpayable","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":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"val","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"payReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"preMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"num","type":"uint256"}],"name":"purchase","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","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":"uint256","name":"nft1","type":"uint256"},{"internalType":"uint256","name":"nft2","type":"uint256"}],"name":"sendGenerator","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":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_bioChangePrice","type":"uint256"}],"name":"setBioChangePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setGeneratorPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_yield","type":"address"}],"name":"setYieldToken","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"yieldToken","outputs":[{"internalType":"contract YieldToken","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

6080604052600c80546001600160a01b031916730a2f65def20b868d23ba7cf1da40424cfb1ae0801790556064600d55669fdf42f6e48000600e556000600f556127106010556011805461ff001960ff199091166001171661010017905568056bc75e2d631000006014553480156200007757600080fd5b50604051620037b7380380620037b78339810160408190526200009a91620002aa565b604051806040016040528060078152602001664c61627261747360c81b815250604051806040016040528060078152602001664c41425241545360c81b8152508160009080519060200190620000f292919062000204565b5080516200010890600190602084019062000204565b505050620001256200011f6200013760201b60201c565b6200013b565b62000130816200018d565b5062000401565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200019762000137565b6001600160a01b0316620001aa620001f5565b6001600160a01b031614620001dc5760405162461bcd60e51b8152600401620001d39062000379565b60405180910390fd5b8051620001f190600b90602084019062000204565b5050565b600a546001600160a01b031690565b8280546200021290620003ae565b90600052602060002090601f01602090048101928262000236576000855562000281565b82601f106200025157805160ff191683800117855562000281565b8280016001018555821562000281579182015b828111156200028157825182559160200191906001019062000264565b506200028f92915062000293565b5090565b5b808211156200028f576000815560010162000294565b60006020808385031215620002bd578182fd5b82516001600160401b0380821115620002d4578384fd5b818501915085601f830112620002e8578384fd5b815181811115620002fd57620002fd620003eb565b604051601f8201601f1916810185018381118282101715620003235762000323620003eb565b60405281815283820185018810156200033a578586fd5b8592505b818310156200035d57838301850151818401860152918401916200033e565b818311156200036e57858583830101525b979650505050505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600281046001821680620003c357607f821691505b60208210811415620003e557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6133a680620004116000396000f3fe60806040526004361061025a5760003560e01c806370a082311161014457806398d5fdca116100b6578063c87b56dd1161007a578063c87b56dd146106a4578063ca800144146106c4578063dae11b7c146106e4578063e985e9c514610704578063efef39a114610724578063f2fde38b146107375761025a565b806398d5fdca1461061a578063a22cb4651461062f578063b808f99c1461064f578063b8340c2314610664578063b88d4fde146106845761025a565b80637842a3a4116101085780637842a3a414610593578063853828b6146105a85780638ad433ac146105b05780638da5cb5b146105d057806391b7f5ed146105e557806395d89b41146106055761025a565b806370a082311461051f578063715018a61461053f57806374151be014610554578063766536af1461056957806376d5de851461057e5761025a565b806323ffce85116101dd5780634380053d116101a15780634380053d1461045d578063438b6300146104725780634d4265281461049f5780634f6ccce7146104bf57806355f804b3146104df5780636352211e146104ff5761025a565b806323ffce85146103bd5780632f745c59146103dd57806336033deb146103fd57806338712d8d1461041d57806342842e0e1461043d5761025a565b8063081812fc11610224578063081812fc14610319578063095ea7b31461034657806316c61ccc1461036657806318160ddd1461037b57806323b872dd1461039d5761025a565b80626d2a761461025f5780628578121461028157806301ffc9a7146102a157806302329a29146102d757806306fdde03146102f7575b600080fd5b34801561026b57600080fd5b5061027f61027a3660046127b3565b610757565b005b34801561028d57600080fd5b5061027f61029c36600461272e565b6107a4565b3480156102ad57600080fd5b506102c16102bc366004612748565b6107fd565b6040516102ce919061295e565b60405180910390f35b3480156102e357600080fd5b5061027f6102f236600461272e565b61082a565b34801561030357600080fd5b5061030c61087c565b6040516102ce9190612969565b34801561032557600080fd5b506103396103343660046127b3565b61090e565b6040516102ce919061288c565b34801561035257600080fd5b5061027f610361366004612705565b610951565b34801561037257600080fd5b506102c16109e9565b34801561038757600080fd5b506103906109f2565b6040516102ce9190613200565b3480156103a957600080fd5b5061027f6103b8366004612628565b6109f8565b3480156103c957600080fd5b5061027f6103d83660046125dc565b610ac6565b3480156103e957600080fd5b506103906103f8366004612705565b610b27565b34801561040957600080fd5b5061030c6104183660046127b3565b610b79565b34801561042957600080fd5b506103906104383660046125dc565b610c13565b34801561044957600080fd5b5061027f610458366004612628565b610c25565b34801561046957600080fd5b50610390610c40565b34801561047e57600080fd5b5061049261048d3660046125dc565b610c46565b6040516102ce919061291a565b3480156104ab57600080fd5b5061027f6104ba3660046127cb565b610d04565b3480156104cb57600080fd5b506103906104da3660046127b3565b610e0e565b3480156104eb57600080fd5b5061027f6104fa366004612780565b610e69565b34801561050b57600080fd5b5061033961051a3660046127b3565b610ebf565b34801561052b57600080fd5b5061039061053a3660046125dc565b610ef4565b34801561054b57600080fd5b5061027f610f38565b34801561056057600080fd5b50610390610f83565b34801561057557600080fd5b50610390610f89565b34801561058a57600080fd5b50610339610f8f565b34801561059f57600080fd5b5061027f610f9e565b61027f611069565b3480156105bc57600080fd5b5061027f6105cb3660046127b3565b6110dd565b3480156105dc57600080fd5b506103396111eb565b3480156105f157600080fd5b5061027f6106003660046127b3565b6111fa565b34801561061157600080fd5b5061030c61123e565b34801561062657600080fd5b5061039061124d565b34801561063b57600080fd5b5061027f61064a3660046126dc565b611253565b34801561065b57600080fd5b506102c1611321565b34801561067057600080fd5b5061027f61067f3660046127b3565b61132f565b34801561069057600080fd5b5061027f61069f366004612663565b611373565b3480156106b057600080fd5b5061030c6106bf3660046127b3565b611442565b3480156106d057600080fd5b5061027f6106df366004612705565b6114c5565b3480156106f057600080fd5b5061027f6106ff366004612810565b611601565b34801561071057600080fd5b506102c161071f3660046125f6565b611771565b61027f6107323660046127b3565b61179f565b34801561074357600080fd5b5061027f6107523660046125dc565b61189e565b61075f61190c565b6001600160a01b03166107706111eb565b6001600160a01b03161461079f5760405162461bcd60e51b815260040161079690612e2e565b60405180910390fd5b600f55565b6107ac61190c565b6001600160a01b03166107bd6111eb565b6001600160a01b0316146107e35760405162461bcd60e51b815260040161079690612e2e565b601180549115156101000261ff0019909216919091179055565b60006001600160e01b0319821663780e9d6360e01b1480610822575061082282611910565b90505b919050565b61083261190c565b6001600160a01b03166108436111eb565b6001600160a01b0316146108695760405162461bcd60e51b815260040161079690612e2e565b6011805460ff1916911515919091179055565b60606000805461088b906132ae565b80601f01602080910402602001604051908101604052809291908181526020018280546108b7906132ae565b80156109045780601f106108d957610100808354040283529160200191610904565b820191906000526020600020905b8154815290600101906020018083116108e757829003601f168201915b5050505050905090565b600061091982611950565b6109355760405162461bcd60e51b815260040161079690612dab565b506000908152600460205260409020546001600160a01b031690565b600061095c82610ebf565b9050806001600160a01b0316836001600160a01b031614156109905760405162461bcd60e51b815260040161079690612f32565b806001600160a01b03166109a261190c565b6001600160a01b031614806109be57506109be8161071f61190c565b6109da5760405162461bcd60e51b815260040161079690612c86565b6109e4838361196d565b505050565b60115460ff1681565b60085490565b60135460405163164746fd60e11b81526001600160a01b0390911690632c8e8dfa90610a2c908690869086906004016128a0565b600060405180830381600087803b158015610a4657600080fd5b505af1158015610a5a573d6000803e3d6000fd5b50505050612711811015610abb576001600160a01b0383166000908152601260205260408120805491610a8c83613297565b90915550506001600160a01b0382166000908152601260205260408120805491610ab5836132e9565b91905055505b6109e48383836119db565b610ace61190c565b6001600160a01b0316610adf6111eb565b6001600160a01b031614610b055760405162461bcd60e51b815260040161079690612e2e565b601380546001600160a01b0319166001600160a01b0392909216919091179055565b6000610b3283610ef4565b8210610b505760405162461bcd60e51b815260040161079690612a1d565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b60156020526000908152604090208054610b92906132ae565b80601f0160208091040260200160405190810160405280929190818152602001828054610bbe906132ae565b8015610c0b5780601f10610be057610100808354040283529160200191610c0b565b820191906000526020600020905b815481529060010190602001808311610bee57829003601f168201915b505050505081565b60126020526000908152604090205481565b6109e483838360405180602001604052806000815250611373565b600f5490565b60606000610c5383610ef4565b905060008167ffffffffffffffff811115610c7e57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610ca7578160200160208202803683370190505b50905060005b82811015610cfc57610cbf8582610b27565b828281518110610cdf57634e487b7160e01b600052603260045260246000fd5b602090810291909101015280610cf4816132e9565b915050610cad565b509392505050565b6000610d0f83610ebf565b9050806001600160a01b0316610d2361190c565b6001600160a01b031614610d495760405162461bcd60e51b8152600401610796906129e6565b601354601454604051632770a7eb60e21b81526001600160a01b0390921691639dc29fac91610d7d91339190600401612901565b600060405180830381600087803b158015610d9757600080fd5b505af1158015610dab573d6000803e3d6000fd5b50505060008481526015602090815260409091208451610dd09350909185019061248d565b50827fbe3e2fc72ea4bd0d860e908b1ee27aa9856809e62a75bfc0cb7f04b5d791873d83604051610e019190612969565b60405180910390a2505050565b6000610e186109f2565b8210610e365760405162461bcd60e51b8152600401610796906130a8565b60088281548110610e5757634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b610e7161190c565b6001600160a01b0316610e826111eb565b6001600160a01b031614610ea85760405162461bcd60e51b815260040161079690612e2e565b8051610ebb90600b90602084019061248d565b5050565b6000818152600260205260408120546001600160a01b0316806108225760405162461bcd60e51b815260040161079690612d2d565b60006001600160a01b038216610f1c5760405162461bcd60e51b815260040161079690612ce3565b506001600160a01b031660009081526003602052604090205490565b610f4061190c565b6001600160a01b0316610f516111eb565b6001600160a01b031614610f775760405162461bcd60e51b815260040161079690612e2e565b610f816000611a13565b565b60145481565b60105481565b6013546001600160a01b031681565b60135460405163164746fd60e11b81526001600160a01b0390911690632c8e8dfa90610fd390339060009081906004016128a0565b600060405180830381600087803b158015610fed57600080fd5b505af1158015611001573d6000803e3d6000fd5b5050601354604051638e9b277d60e01b81526001600160a01b039091169250638e9b277d915061103590339060040161288c565b600060405180830381600087803b15801561104f57600080fd5b505af1158015611063573d6000803e3d6000fd5b50505050565b61107161190c565b6001600160a01b03166110826111eb565b6001600160a01b0316146110a85760405162461bcd60e51b815260040161079690612e2e565b600c5460405147916001600160a01b03169082156108fc029083906000818181858888f193505050506110da57600080fd5b50565b6110e561190c565b6001600160a01b03166110f66111eb565b6001600160a01b03161461111c5760405162461bcd60e51b815260040161079690612e2e565b60006111266109f2565b905060005b828110156109e457600c54611152906001600160a01b031661114d8385613209565b611a65565b60135460405163cc240c0160e01b81526001600160a01b039091169063cc240c0190611185903390600190600401612901565b600060405180830381600087803b15801561119f57600080fd5b505af11580156111b3573d6000803e3d6000fd5b50503360009081526012602052604081208054935091506111d3836132e9565b919050555080806111e3906132e9565b91505061112b565b600a546001600160a01b031690565b61120261190c565b6001600160a01b03166112136111eb565b6001600160a01b0316146112395760405162461bcd60e51b815260040161079690612e2e565b600e55565b60606001805461088b906132ae565b600e5490565b61125b61190c565b6001600160a01b0316826001600160a01b0316141561128c5760405162461bcd60e51b815260040161079690612bbf565b806005600061129961190c565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff1916921515929092179091556112dd61190c565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611315919061295e565b60405180910390a35050565b601154610100900460ff1681565b61133761190c565b6001600160a01b03166113486111eb565b6001600160a01b03161461136e5760405162461bcd60e51b815260040161079690612e2e565b601455565b60135460405163164746fd60e11b81526001600160a01b0390911690632c8e8dfa906113a7908790879087906004016128a0565b600060405180830381600087803b1580156113c157600080fd5b505af11580156113d5573d6000803e3d6000fd5b50505050612711821015611436576001600160a01b038416600090815260126020526040812080549161140783613297565b90915550506001600160a01b0383166000908152601260205260408120805491611430836132e9565b91905055505b61106384848484611a7f565b606061144d82611950565b6114695760405162461bcd60e51b815260040161079690612ee3565b6000611473611ab8565b9050600081511161149357604051806020016040528060008152506114be565b8061149d84611ac7565b6040516020016114ae92919061285d565b6040516020818303038152906040525b9392505050565b6114cd61190c565b6001600160a01b03166114de6111eb565b6001600160a01b0316146115045760405162461bcd60e51b815260040161079690612e2e565b600d548111156115265760405162461bcd60e51b815260040161079690612df7565b60006115306109f2565b905060005b828110156115e45761154b8461114d8385613209565b60135460405163cc240c0160e01b81526001600160a01b039091169063cc240c019061157e903390600190600401612901565b600060405180830381600087803b15801561159857600080fd5b505af11580156115ac573d6000803e3d6000fd5b50503360009081526012602052604081208054935091506115cc836132e9565b919050555080806115dc906132e9565b915050611535565b5081600d60008282546115f79190613254565b9091555050505050565b601154610100900460ff16156116295760405162461bcd60e51b815260040161079690613043565b61163282611950565b61164e5760405162461bcd60e51b815260040161079690612bf6565b61165781611950565b6116735760405162461bcd60e51b815260040161079690612b00565b61167b61190c565b6001600160a01b031661168d83610ebf565b6001600160a01b0316146116b35760405162461bcd60e51b8152600401610796906130f4565b6116bb61190c565b6001600160a01b03166116cd82610ebf565b6001600160a01b0316146116f35760405162461bcd60e51b8152600401610796906131b1565b6127108211156117155760405162461bcd60e51b815260040161079690613071565b6127108111156117375760405162461bcd60e51b81526004016107969061317a565b808214156117575760405162461bcd60e51b815260040161079690612e63565b61176082611bea565b61176981611bea565b610ebb611c91565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006117a96109f2565b60115490915060ff16156117cf5760405162461bcd60e51b8152600401610796906129c1565b601582106117ef5760405162461bcd60e51b81526004016107969061297c565b600d546117fe90612710613254565b6118088383613209565b106118255760405162461bcd60e51b815260040161079690613143565b81600e546118339190613235565b3410156118525760405162461bcd60e51b815260040161079690612f73565b60005b828110156109e45761186b3361114d8385613209565b336000908152601260205260408120805491611886836132e9565b91905055508080611896906132e9565b915050611855565b6118a661190c565b6001600160a01b03166118b76111eb565b6001600160a01b0316146118dd5760405162461bcd60e51b815260040161079690612e2e565b6001600160a01b0381166119035760405162461bcd60e51b815260040161079690612aba565b6110da81611a13565b3390565b60006001600160e01b031982166380ac58cd60e01b148061194157506001600160e01b03198216635b5e139f60e01b145b80610822575061082282611dd2565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906119a282610ebf565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6119ec6119e661190c565b82611deb565b611a085760405162461bcd60e51b815260040161079690612ff2565b6109e4838383611e68565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610ebb828260405180602001604052806000815250611f95565b611a90611a8a61190c565b83611deb565b611aac5760405162461bcd60e51b815260040161079690612ff2565b61106384848484611fc8565b6060600b805461088b906132ae565b606081611aec57506040805180820190915260018152600360fc1b6020820152610825565b8160005b8115611b165780611b00816132e9565b9150611b0f9050600a83613221565b9150611af0565b60008167ffffffffffffffff811115611b3f57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611b69576020820181803683370190505b5090505b8415611be257611b7e600183613254565b9150611b8b600a86613304565b611b96906030613209565b60f81b818381518110611bb957634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611bdb600a86613221565b9450611b6d565b949350505050565b6000611bf582610ebf565b9050611c0381600084611ffb565b611c0e60008361196d565b6001600160a01b0381166000908152600360205260408120805460019290611c37908490613254565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b613a986010546001611ca39190613209565b10611cc05760405162461bcd60e51b815260040161079690612faa565b601354600f54604051632770a7eb60e21b81526001600160a01b0390921691639dc29fac91611cf491339190600401612901565b600060405180830381600087803b158015611d0e57600080fd5b505af1158015611d22573d6000803e3d6000fd5b50505050611d3933601054600161114d9190613209565b60135460405163cc240c0160e01b81526001600160a01b039091169063cc240c0190611d6c903390600190600401612901565b600060405180830381600087803b158015611d8657600080fd5b505af1158015611d9a573d6000803e3d6000fd5b5050336000908152601260205260408120805493509150611dba836132e9565b9091555050601054611dcd906001613209565b601055565b6001600160e01b031981166301ffc9a760e01b14919050565b6000611df682611950565b611e125760405162461bcd60e51b815260040161079690612c3a565b6000611e1d83610ebf565b9050806001600160a01b0316846001600160a01b03161480611e585750836001600160a01b0316611e4d8461090e565b6001600160a01b0316145b80611be25750611be28185611771565b826001600160a01b0316611e7b82610ebf565b6001600160a01b031614611ea15760405162461bcd60e51b815260040161079690612e9a565b6001600160a01b038216611ec75760405162461bcd60e51b815260040161079690612b7b565b611ed2838383611ffb565b611edd60008261196d565b6001600160a01b0383166000908152600360205260408120805460019290611f06908490613254565b90915550506001600160a01b0382166000908152600360205260408120805460019290611f34908490613209565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611f9f8383612006565b611fac60008484846120e5565b6109e45760405162461bcd60e51b815260040161079690612a68565b611fd3848484611e68565b611fdf848484846120e5565b6110635760405162461bcd60e51b815260040161079690612a68565b6109e4838383612200565b6001600160a01b03821661202c5760405162461bcd60e51b815260040161079690612d76565b61203581611950565b156120525760405162461bcd60e51b815260040161079690612b44565b61205e60008383611ffb565b6001600160a01b0382166000908152600360205260408120805460019290612087908490613209565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006120f9846001600160a01b0316612289565b156121f557836001600160a01b031663150b7a0261211561190c565b8786866040518563ffffffff1660e01b815260040161213794939291906128c4565b602060405180830381600087803b15801561215157600080fd5b505af1925050508015612181575060408051601f3d908101601f1916820190925261217e91810190612764565b60015b6121db573d8080156121af576040519150601f19603f3d011682016040523d82523d6000602084013e6121b4565b606091505b5080516121d35760405162461bcd60e51b815260040161079690612a68565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611be2565b506001949350505050565b61220b8383836109e4565b6001600160a01b038316612227576122228161228f565b61224a565b816001600160a01b0316836001600160a01b03161461224a5761224a83826122d3565b6001600160a01b0382166122665761226181612370565b6109e4565b826001600160a01b0316826001600160a01b0316146109e4576109e48282612449565b3b151590565b600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b600060016122e084610ef4565b6122ea9190613254565b60008381526007602052604090205490915080821461233d576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061238290600190613254565b600083815260096020526040812054600880549394509092849081106123b857634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080600883815481106123e757634e487b7160e01b600052603260045260246000fd5b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061242d57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061245483610ef4565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b828054612499906132ae565b90600052602060002090601f0160209004810192826124bb5760008555612501565b82601f106124d457805160ff1916838001178555612501565b82800160010185558215612501579182015b828111156125015782518255916020019190600101906124e6565b5061250d929150612511565b5090565b5b8082111561250d5760008155600101612512565b600067ffffffffffffffff8084111561254157612541613344565b604051601f8501601f19168101602001828111828210171561256557612565613344565b60405284815291508183850186101561257d57600080fd5b8484602083013760006020868301015250509392505050565b80356001600160a01b038116811461082557600080fd5b8035801515811461082557600080fd5b600082601f8301126125cd578081fd5b6114be83833560208501612526565b6000602082840312156125ed578081fd5b6114be82612596565b60008060408385031215612608578081fd5b61261183612596565b915061261f60208401612596565b90509250929050565b60008060006060848603121561263c578081fd5b61264584612596565b925061265360208501612596565b9150604084013590509250925092565b60008060008060808587031215612678578081fd5b61268185612596565b935061268f60208601612596565b925060408501359150606085013567ffffffffffffffff8111156126b1578182fd5b8501601f810187136126c1578182fd5b6126d087823560208401612526565b91505092959194509250565b600080604083850312156126ee578182fd5b6126f783612596565b915061261f602084016125ad565b60008060408385031215612717578182fd5b61272083612596565b946020939093013593505050565b60006020828403121561273f578081fd5b6114be826125ad565b600060208284031215612759578081fd5b81356114be8161335a565b600060208284031215612775578081fd5b81516114be8161335a565b600060208284031215612791578081fd5b813567ffffffffffffffff8111156127a7578182fd5b611be2848285016125bd565b6000602082840312156127c4578081fd5b5035919050565b600080604083850312156127dd578182fd5b82359150602083013567ffffffffffffffff8111156127fa578182fd5b612806858286016125bd565b9150509250929050565b60008060408385031215612822578182fd5b50508035926020909101359150565b6000815180845261284981602086016020860161326b565b601f01601f19169290920160200192915050565b6000835161286f81846020880161326b565b83519083019061288381836020880161326b565b01949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906128f790830184612831565b9695505050505050565b6001600160a01b03929092168252602082015260400190565b6020808252825182820181905260009190848201906040850190845b8181101561295257835183529284019291840191600101612936565b50909695505050505050565b901515815260200190565b6000602082526114be6020830184612831565b60208082526025908201527f596f752063616e2070757263686173652061206d6178696d756d206f66203230604082015264204e46547360d81b606082015260800190565b6020808252600b908201526a14d85b19481c185d5cd95960aa1b604082015260600190565b6020808252601f908201527f4552433732313a2063616c6c6572206973206e6f7420746865206f776e657200604082015260600190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526024908201527f73656e6447656e657261746f723a204e4654203220646f6573206e6f7420657860408201526334b9ba1760e11b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b60208082526024908201527f73656e6447656e657261746f723a204e4654203120646f6573206e6f7420657860408201526334b9ba1760e11b606082015260800190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252601c908201527f45786365656473207265736572766564204e46547320737570706c7900000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601c908201527f426f7468204e4654732063616e2774206265207468652073616d652000000000604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526019908201527f45746865722073656e74206973206e6f7420636f727265637400000000000000604082015260600190565b60208082526028908201527f45786365656473206d6178696d756d204e46547320746861742063616e2062656040820152670818dc99585d195960c21b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60208082526014908201527347656e657261746f72206973206f66666c696e6560601b604082015260600190565b6020808252601a908201527f4e46542031206973206e6f7420612067656e65736973204e4654000000000000604082015260600190565b6020808252602c908201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60408201526b7574206f6620626f756e647360a01b606082015260800190565b6020808252602f908201527f73656e6447656e657261746f723a204e465420312063616c6c6572206973206e60408201526e37ba103a37b5b2b71037bbb732b91760891b606082015260800190565b6020808252601b908201527f45786365656473206d6178696d756d204e46547320737570706c790000000000604082015260600190565b6020808252601a908201527f4e46542032206973206e6f7420612067656e65736973204e4654000000000000604082015260600190565b6020808252602f908201527f73656e6447656e657261746f723a204e465420322063616c6c6572206973206e60408201526e37ba103a37b5b2b71037bbb732b91760891b606082015260800190565b90815260200190565b6000821982111561321c5761321c613318565b500190565b6000826132305761323061332e565b500490565b600081600019048311821515161561324f5761324f613318565b500290565b60008282101561326657613266613318565b500390565b60005b8381101561328657818101518382015260200161326e565b838111156110635750506000910152565b6000816132a6576132a6613318565b506000190190565b6002810460018216806132c257607f821691505b602082108114156132e357634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156132fd576132fd613318565b5060010190565b6000826133135761331361332e565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146110da57600080fdfea264697066735822122000f3a248e62f8f57754956b98eb057b9dee084cc78dc5667ce884893efca93c564736f6c634300080000330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001d68747470733a2f2f6c6162726174736e66742e636f6d2f746f6b656e2f000000

Deployed Bytecode

0x60806040526004361061025a5760003560e01c806370a082311161014457806398d5fdca116100b6578063c87b56dd1161007a578063c87b56dd146106a4578063ca800144146106c4578063dae11b7c146106e4578063e985e9c514610704578063efef39a114610724578063f2fde38b146107375761025a565b806398d5fdca1461061a578063a22cb4651461062f578063b808f99c1461064f578063b8340c2314610664578063b88d4fde146106845761025a565b80637842a3a4116101085780637842a3a414610593578063853828b6146105a85780638ad433ac146105b05780638da5cb5b146105d057806391b7f5ed146105e557806395d89b41146106055761025a565b806370a082311461051f578063715018a61461053f57806374151be014610554578063766536af1461056957806376d5de851461057e5761025a565b806323ffce85116101dd5780634380053d116101a15780634380053d1461045d578063438b6300146104725780634d4265281461049f5780634f6ccce7146104bf57806355f804b3146104df5780636352211e146104ff5761025a565b806323ffce85146103bd5780632f745c59146103dd57806336033deb146103fd57806338712d8d1461041d57806342842e0e1461043d5761025a565b8063081812fc11610224578063081812fc14610319578063095ea7b31461034657806316c61ccc1461036657806318160ddd1461037b57806323b872dd1461039d5761025a565b80626d2a761461025f5780628578121461028157806301ffc9a7146102a157806302329a29146102d757806306fdde03146102f7575b600080fd5b34801561026b57600080fd5b5061027f61027a3660046127b3565b610757565b005b34801561028d57600080fd5b5061027f61029c36600461272e565b6107a4565b3480156102ad57600080fd5b506102c16102bc366004612748565b6107fd565b6040516102ce919061295e565b60405180910390f35b3480156102e357600080fd5b5061027f6102f236600461272e565b61082a565b34801561030357600080fd5b5061030c61087c565b6040516102ce9190612969565b34801561032557600080fd5b506103396103343660046127b3565b61090e565b6040516102ce919061288c565b34801561035257600080fd5b5061027f610361366004612705565b610951565b34801561037257600080fd5b506102c16109e9565b34801561038757600080fd5b506103906109f2565b6040516102ce9190613200565b3480156103a957600080fd5b5061027f6103b8366004612628565b6109f8565b3480156103c957600080fd5b5061027f6103d83660046125dc565b610ac6565b3480156103e957600080fd5b506103906103f8366004612705565b610b27565b34801561040957600080fd5b5061030c6104183660046127b3565b610b79565b34801561042957600080fd5b506103906104383660046125dc565b610c13565b34801561044957600080fd5b5061027f610458366004612628565b610c25565b34801561046957600080fd5b50610390610c40565b34801561047e57600080fd5b5061049261048d3660046125dc565b610c46565b6040516102ce919061291a565b3480156104ab57600080fd5b5061027f6104ba3660046127cb565b610d04565b3480156104cb57600080fd5b506103906104da3660046127b3565b610e0e565b3480156104eb57600080fd5b5061027f6104fa366004612780565b610e69565b34801561050b57600080fd5b5061033961051a3660046127b3565b610ebf565b34801561052b57600080fd5b5061039061053a3660046125dc565b610ef4565b34801561054b57600080fd5b5061027f610f38565b34801561056057600080fd5b50610390610f83565b34801561057557600080fd5b50610390610f89565b34801561058a57600080fd5b50610339610f8f565b34801561059f57600080fd5b5061027f610f9e565b61027f611069565b3480156105bc57600080fd5b5061027f6105cb3660046127b3565b6110dd565b3480156105dc57600080fd5b506103396111eb565b3480156105f157600080fd5b5061027f6106003660046127b3565b6111fa565b34801561061157600080fd5b5061030c61123e565b34801561062657600080fd5b5061039061124d565b34801561063b57600080fd5b5061027f61064a3660046126dc565b611253565b34801561065b57600080fd5b506102c1611321565b34801561067057600080fd5b5061027f61067f3660046127b3565b61132f565b34801561069057600080fd5b5061027f61069f366004612663565b611373565b3480156106b057600080fd5b5061030c6106bf3660046127b3565b611442565b3480156106d057600080fd5b5061027f6106df366004612705565b6114c5565b3480156106f057600080fd5b5061027f6106ff366004612810565b611601565b34801561071057600080fd5b506102c161071f3660046125f6565b611771565b61027f6107323660046127b3565b61179f565b34801561074357600080fd5b5061027f6107523660046125dc565b61189e565b61075f61190c565b6001600160a01b03166107706111eb565b6001600160a01b03161461079f5760405162461bcd60e51b815260040161079690612e2e565b60405180910390fd5b600f55565b6107ac61190c565b6001600160a01b03166107bd6111eb565b6001600160a01b0316146107e35760405162461bcd60e51b815260040161079690612e2e565b601180549115156101000261ff0019909216919091179055565b60006001600160e01b0319821663780e9d6360e01b1480610822575061082282611910565b90505b919050565b61083261190c565b6001600160a01b03166108436111eb565b6001600160a01b0316146108695760405162461bcd60e51b815260040161079690612e2e565b6011805460ff1916911515919091179055565b60606000805461088b906132ae565b80601f01602080910402602001604051908101604052809291908181526020018280546108b7906132ae565b80156109045780601f106108d957610100808354040283529160200191610904565b820191906000526020600020905b8154815290600101906020018083116108e757829003601f168201915b5050505050905090565b600061091982611950565b6109355760405162461bcd60e51b815260040161079690612dab565b506000908152600460205260409020546001600160a01b031690565b600061095c82610ebf565b9050806001600160a01b0316836001600160a01b031614156109905760405162461bcd60e51b815260040161079690612f32565b806001600160a01b03166109a261190c565b6001600160a01b031614806109be57506109be8161071f61190c565b6109da5760405162461bcd60e51b815260040161079690612c86565b6109e4838361196d565b505050565b60115460ff1681565b60085490565b60135460405163164746fd60e11b81526001600160a01b0390911690632c8e8dfa90610a2c908690869086906004016128a0565b600060405180830381600087803b158015610a4657600080fd5b505af1158015610a5a573d6000803e3d6000fd5b50505050612711811015610abb576001600160a01b0383166000908152601260205260408120805491610a8c83613297565b90915550506001600160a01b0382166000908152601260205260408120805491610ab5836132e9565b91905055505b6109e48383836119db565b610ace61190c565b6001600160a01b0316610adf6111eb565b6001600160a01b031614610b055760405162461bcd60e51b815260040161079690612e2e565b601380546001600160a01b0319166001600160a01b0392909216919091179055565b6000610b3283610ef4565b8210610b505760405162461bcd60e51b815260040161079690612a1d565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b60156020526000908152604090208054610b92906132ae565b80601f0160208091040260200160405190810160405280929190818152602001828054610bbe906132ae565b8015610c0b5780601f10610be057610100808354040283529160200191610c0b565b820191906000526020600020905b815481529060010190602001808311610bee57829003601f168201915b505050505081565b60126020526000908152604090205481565b6109e483838360405180602001604052806000815250611373565b600f5490565b60606000610c5383610ef4565b905060008167ffffffffffffffff811115610c7e57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610ca7578160200160208202803683370190505b50905060005b82811015610cfc57610cbf8582610b27565b828281518110610cdf57634e487b7160e01b600052603260045260246000fd5b602090810291909101015280610cf4816132e9565b915050610cad565b509392505050565b6000610d0f83610ebf565b9050806001600160a01b0316610d2361190c565b6001600160a01b031614610d495760405162461bcd60e51b8152600401610796906129e6565b601354601454604051632770a7eb60e21b81526001600160a01b0390921691639dc29fac91610d7d91339190600401612901565b600060405180830381600087803b158015610d9757600080fd5b505af1158015610dab573d6000803e3d6000fd5b50505060008481526015602090815260409091208451610dd09350909185019061248d565b50827fbe3e2fc72ea4bd0d860e908b1ee27aa9856809e62a75bfc0cb7f04b5d791873d83604051610e019190612969565b60405180910390a2505050565b6000610e186109f2565b8210610e365760405162461bcd60e51b8152600401610796906130a8565b60088281548110610e5757634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b610e7161190c565b6001600160a01b0316610e826111eb565b6001600160a01b031614610ea85760405162461bcd60e51b815260040161079690612e2e565b8051610ebb90600b90602084019061248d565b5050565b6000818152600260205260408120546001600160a01b0316806108225760405162461bcd60e51b815260040161079690612d2d565b60006001600160a01b038216610f1c5760405162461bcd60e51b815260040161079690612ce3565b506001600160a01b031660009081526003602052604090205490565b610f4061190c565b6001600160a01b0316610f516111eb565b6001600160a01b031614610f775760405162461bcd60e51b815260040161079690612e2e565b610f816000611a13565b565b60145481565b60105481565b6013546001600160a01b031681565b60135460405163164746fd60e11b81526001600160a01b0390911690632c8e8dfa90610fd390339060009081906004016128a0565b600060405180830381600087803b158015610fed57600080fd5b505af1158015611001573d6000803e3d6000fd5b5050601354604051638e9b277d60e01b81526001600160a01b039091169250638e9b277d915061103590339060040161288c565b600060405180830381600087803b15801561104f57600080fd5b505af1158015611063573d6000803e3d6000fd5b50505050565b61107161190c565b6001600160a01b03166110826111eb565b6001600160a01b0316146110a85760405162461bcd60e51b815260040161079690612e2e565b600c5460405147916001600160a01b03169082156108fc029083906000818181858888f193505050506110da57600080fd5b50565b6110e561190c565b6001600160a01b03166110f66111eb565b6001600160a01b03161461111c5760405162461bcd60e51b815260040161079690612e2e565b60006111266109f2565b905060005b828110156109e457600c54611152906001600160a01b031661114d8385613209565b611a65565b60135460405163cc240c0160e01b81526001600160a01b039091169063cc240c0190611185903390600190600401612901565b600060405180830381600087803b15801561119f57600080fd5b505af11580156111b3573d6000803e3d6000fd5b50503360009081526012602052604081208054935091506111d3836132e9565b919050555080806111e3906132e9565b91505061112b565b600a546001600160a01b031690565b61120261190c565b6001600160a01b03166112136111eb565b6001600160a01b0316146112395760405162461bcd60e51b815260040161079690612e2e565b600e55565b60606001805461088b906132ae565b600e5490565b61125b61190c565b6001600160a01b0316826001600160a01b0316141561128c5760405162461bcd60e51b815260040161079690612bbf565b806005600061129961190c565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff1916921515929092179091556112dd61190c565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611315919061295e565b60405180910390a35050565b601154610100900460ff1681565b61133761190c565b6001600160a01b03166113486111eb565b6001600160a01b03161461136e5760405162461bcd60e51b815260040161079690612e2e565b601455565b60135460405163164746fd60e11b81526001600160a01b0390911690632c8e8dfa906113a7908790879087906004016128a0565b600060405180830381600087803b1580156113c157600080fd5b505af11580156113d5573d6000803e3d6000fd5b50505050612711821015611436576001600160a01b038416600090815260126020526040812080549161140783613297565b90915550506001600160a01b0383166000908152601260205260408120805491611430836132e9565b91905055505b61106384848484611a7f565b606061144d82611950565b6114695760405162461bcd60e51b815260040161079690612ee3565b6000611473611ab8565b9050600081511161149357604051806020016040528060008152506114be565b8061149d84611ac7565b6040516020016114ae92919061285d565b6040516020818303038152906040525b9392505050565b6114cd61190c565b6001600160a01b03166114de6111eb565b6001600160a01b0316146115045760405162461bcd60e51b815260040161079690612e2e565b600d548111156115265760405162461bcd60e51b815260040161079690612df7565b60006115306109f2565b905060005b828110156115e45761154b8461114d8385613209565b60135460405163cc240c0160e01b81526001600160a01b039091169063cc240c019061157e903390600190600401612901565b600060405180830381600087803b15801561159857600080fd5b505af11580156115ac573d6000803e3d6000fd5b50503360009081526012602052604081208054935091506115cc836132e9565b919050555080806115dc906132e9565b915050611535565b5081600d60008282546115f79190613254565b9091555050505050565b601154610100900460ff16156116295760405162461bcd60e51b815260040161079690613043565b61163282611950565b61164e5760405162461bcd60e51b815260040161079690612bf6565b61165781611950565b6116735760405162461bcd60e51b815260040161079690612b00565b61167b61190c565b6001600160a01b031661168d83610ebf565b6001600160a01b0316146116b35760405162461bcd60e51b8152600401610796906130f4565b6116bb61190c565b6001600160a01b03166116cd82610ebf565b6001600160a01b0316146116f35760405162461bcd60e51b8152600401610796906131b1565b6127108211156117155760405162461bcd60e51b815260040161079690613071565b6127108111156117375760405162461bcd60e51b81526004016107969061317a565b808214156117575760405162461bcd60e51b815260040161079690612e63565b61176082611bea565b61176981611bea565b610ebb611c91565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006117a96109f2565b60115490915060ff16156117cf5760405162461bcd60e51b8152600401610796906129c1565b601582106117ef5760405162461bcd60e51b81526004016107969061297c565b600d546117fe90612710613254565b6118088383613209565b106118255760405162461bcd60e51b815260040161079690613143565b81600e546118339190613235565b3410156118525760405162461bcd60e51b815260040161079690612f73565b60005b828110156109e45761186b3361114d8385613209565b336000908152601260205260408120805491611886836132e9565b91905055508080611896906132e9565b915050611855565b6118a661190c565b6001600160a01b03166118b76111eb565b6001600160a01b0316146118dd5760405162461bcd60e51b815260040161079690612e2e565b6001600160a01b0381166119035760405162461bcd60e51b815260040161079690612aba565b6110da81611a13565b3390565b60006001600160e01b031982166380ac58cd60e01b148061194157506001600160e01b03198216635b5e139f60e01b145b80610822575061082282611dd2565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906119a282610ebf565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6119ec6119e661190c565b82611deb565b611a085760405162461bcd60e51b815260040161079690612ff2565b6109e4838383611e68565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610ebb828260405180602001604052806000815250611f95565b611a90611a8a61190c565b83611deb565b611aac5760405162461bcd60e51b815260040161079690612ff2565b61106384848484611fc8565b6060600b805461088b906132ae565b606081611aec57506040805180820190915260018152600360fc1b6020820152610825565b8160005b8115611b165780611b00816132e9565b9150611b0f9050600a83613221565b9150611af0565b60008167ffffffffffffffff811115611b3f57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611b69576020820181803683370190505b5090505b8415611be257611b7e600183613254565b9150611b8b600a86613304565b611b96906030613209565b60f81b818381518110611bb957634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611bdb600a86613221565b9450611b6d565b949350505050565b6000611bf582610ebf565b9050611c0381600084611ffb565b611c0e60008361196d565b6001600160a01b0381166000908152600360205260408120805460019290611c37908490613254565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b613a986010546001611ca39190613209565b10611cc05760405162461bcd60e51b815260040161079690612faa565b601354600f54604051632770a7eb60e21b81526001600160a01b0390921691639dc29fac91611cf491339190600401612901565b600060405180830381600087803b158015611d0e57600080fd5b505af1158015611d22573d6000803e3d6000fd5b50505050611d3933601054600161114d9190613209565b60135460405163cc240c0160e01b81526001600160a01b039091169063cc240c0190611d6c903390600190600401612901565b600060405180830381600087803b158015611d8657600080fd5b505af1158015611d9a573d6000803e3d6000fd5b5050336000908152601260205260408120805493509150611dba836132e9565b9091555050601054611dcd906001613209565b601055565b6001600160e01b031981166301ffc9a760e01b14919050565b6000611df682611950565b611e125760405162461bcd60e51b815260040161079690612c3a565b6000611e1d83610ebf565b9050806001600160a01b0316846001600160a01b03161480611e585750836001600160a01b0316611e4d8461090e565b6001600160a01b0316145b80611be25750611be28185611771565b826001600160a01b0316611e7b82610ebf565b6001600160a01b031614611ea15760405162461bcd60e51b815260040161079690612e9a565b6001600160a01b038216611ec75760405162461bcd60e51b815260040161079690612b7b565b611ed2838383611ffb565b611edd60008261196d565b6001600160a01b0383166000908152600360205260408120805460019290611f06908490613254565b90915550506001600160a01b0382166000908152600360205260408120805460019290611f34908490613209565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611f9f8383612006565b611fac60008484846120e5565b6109e45760405162461bcd60e51b815260040161079690612a68565b611fd3848484611e68565b611fdf848484846120e5565b6110635760405162461bcd60e51b815260040161079690612a68565b6109e4838383612200565b6001600160a01b03821661202c5760405162461bcd60e51b815260040161079690612d76565b61203581611950565b156120525760405162461bcd60e51b815260040161079690612b44565b61205e60008383611ffb565b6001600160a01b0382166000908152600360205260408120805460019290612087908490613209565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006120f9846001600160a01b0316612289565b156121f557836001600160a01b031663150b7a0261211561190c565b8786866040518563ffffffff1660e01b815260040161213794939291906128c4565b602060405180830381600087803b15801561215157600080fd5b505af1925050508015612181575060408051601f3d908101601f1916820190925261217e91810190612764565b60015b6121db573d8080156121af576040519150601f19603f3d011682016040523d82523d6000602084013e6121b4565b606091505b5080516121d35760405162461bcd60e51b815260040161079690612a68565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611be2565b506001949350505050565b61220b8383836109e4565b6001600160a01b038316612227576122228161228f565b61224a565b816001600160a01b0316836001600160a01b03161461224a5761224a83826122d3565b6001600160a01b0382166122665761226181612370565b6109e4565b826001600160a01b0316826001600160a01b0316146109e4576109e48282612449565b3b151590565b600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b600060016122e084610ef4565b6122ea9190613254565b60008381526007602052604090205490915080821461233d576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061238290600190613254565b600083815260096020526040812054600880549394509092849081106123b857634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080600883815481106123e757634e487b7160e01b600052603260045260246000fd5b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061242d57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061245483610ef4565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b828054612499906132ae565b90600052602060002090601f0160209004810192826124bb5760008555612501565b82601f106124d457805160ff1916838001178555612501565b82800160010185558215612501579182015b828111156125015782518255916020019190600101906124e6565b5061250d929150612511565b5090565b5b8082111561250d5760008155600101612512565b600067ffffffffffffffff8084111561254157612541613344565b604051601f8501601f19168101602001828111828210171561256557612565613344565b60405284815291508183850186101561257d57600080fd5b8484602083013760006020868301015250509392505050565b80356001600160a01b038116811461082557600080fd5b8035801515811461082557600080fd5b600082601f8301126125cd578081fd5b6114be83833560208501612526565b6000602082840312156125ed578081fd5b6114be82612596565b60008060408385031215612608578081fd5b61261183612596565b915061261f60208401612596565b90509250929050565b60008060006060848603121561263c578081fd5b61264584612596565b925061265360208501612596565b9150604084013590509250925092565b60008060008060808587031215612678578081fd5b61268185612596565b935061268f60208601612596565b925060408501359150606085013567ffffffffffffffff8111156126b1578182fd5b8501601f810187136126c1578182fd5b6126d087823560208401612526565b91505092959194509250565b600080604083850312156126ee578182fd5b6126f783612596565b915061261f602084016125ad565b60008060408385031215612717578182fd5b61272083612596565b946020939093013593505050565b60006020828403121561273f578081fd5b6114be826125ad565b600060208284031215612759578081fd5b81356114be8161335a565b600060208284031215612775578081fd5b81516114be8161335a565b600060208284031215612791578081fd5b813567ffffffffffffffff8111156127a7578182fd5b611be2848285016125bd565b6000602082840312156127c4578081fd5b5035919050565b600080604083850312156127dd578182fd5b82359150602083013567ffffffffffffffff8111156127fa578182fd5b612806858286016125bd565b9150509250929050565b60008060408385031215612822578182fd5b50508035926020909101359150565b6000815180845261284981602086016020860161326b565b601f01601f19169290920160200192915050565b6000835161286f81846020880161326b565b83519083019061288381836020880161326b565b01949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906128f790830184612831565b9695505050505050565b6001600160a01b03929092168252602082015260400190565b6020808252825182820181905260009190848201906040850190845b8181101561295257835183529284019291840191600101612936565b50909695505050505050565b901515815260200190565b6000602082526114be6020830184612831565b60208082526025908201527f596f752063616e2070757263686173652061206d6178696d756d206f66203230604082015264204e46547360d81b606082015260800190565b6020808252600b908201526a14d85b19481c185d5cd95960aa1b604082015260600190565b6020808252601f908201527f4552433732313a2063616c6c6572206973206e6f7420746865206f776e657200604082015260600190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526024908201527f73656e6447656e657261746f723a204e4654203220646f6573206e6f7420657860408201526334b9ba1760e11b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b60208082526024908201527f73656e6447656e657261746f723a204e4654203120646f6573206e6f7420657860408201526334b9ba1760e11b606082015260800190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252601c908201527f45786365656473207265736572766564204e46547320737570706c7900000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601c908201527f426f7468204e4654732063616e2774206265207468652073616d652000000000604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526019908201527f45746865722073656e74206973206e6f7420636f727265637400000000000000604082015260600190565b60208082526028908201527f45786365656473206d6178696d756d204e46547320746861742063616e2062656040820152670818dc99585d195960c21b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60208082526014908201527347656e657261746f72206973206f66666c696e6560601b604082015260600190565b6020808252601a908201527f4e46542031206973206e6f7420612067656e65736973204e4654000000000000604082015260600190565b6020808252602c908201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60408201526b7574206f6620626f756e647360a01b606082015260800190565b6020808252602f908201527f73656e6447656e657261746f723a204e465420312063616c6c6572206973206e60408201526e37ba103a37b5b2b71037bbb732b91760891b606082015260800190565b6020808252601b908201527f45786365656473206d6178696d756d204e46547320737570706c790000000000604082015260600190565b6020808252601a908201527f4e46542032206973206e6f7420612067656e65736973204e4654000000000000604082015260600190565b6020808252602f908201527f73656e6447656e657261746f723a204e465420322063616c6c6572206973206e60408201526e37ba103a37b5b2b71037bbb732b91760891b606082015260800190565b90815260200190565b6000821982111561321c5761321c613318565b500190565b6000826132305761323061332e565b500490565b600081600019048311821515161561324f5761324f613318565b500290565b60008282101561326657613266613318565b500390565b60005b8381101561328657818101518382015260200161326e565b838111156110635750506000910152565b6000816132a6576132a6613318565b506000190190565b6002810460018216806132c257607f821691505b602082108114156132e357634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156132fd576132fd613318565b5060010190565b6000826133135761331361332e565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146110da57600080fdfea264697066735822122000f3a248e62f8f57754956b98eb057b9dee084cc78dc5667ce884893efca93c564736f6c63430008000033

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001d68747470733a2f2f6c6162726174736e66742e636f6d2f746f6b656e2f000000

-----Decoded View---------------
Arg [0] : baseURI (string): https://labratsnft.com/token/

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 000000000000000000000000000000000000000000000000000000000000001d
Arg [2] : 68747470733a2f2f6c6162726174736e66742e636f6d2f746f6b656e2f000000


Deployed Bytecode Sourcemap

173:6024:16:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3518:109;;;;;;;;;;-1:-1:-1;3518:109:16;;;;;:::i;:::-;;:::i;:::-;;5953:90;;;;;;;;;;-1:-1:-1;5953:90:16;;;;;:::i;:::-;;:::i;908:222:6:-;;;;;;;;;;-1:-1:-1;908:222:6;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;5875:72:16;;;;;;;;;;-1:-1:-1;5875:72:16;;;;;:::i;:::-;;:::i;2348:98:4:-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;3859:217::-;;;;;;;;;;-1:-1:-1;3859:217:4;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;3397:401::-;;;;;;;;;;-1:-1:-1;3397:401:4;;;;;:::i;:::-;;:::i;529:26:16:-;;;;;;;;;;;;;:::i;1533:111:6:-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;1904:246:16:-;;;;;;;;;;-1:-1:-1;1904:246:16;;;;;:::i;:::-;;:::i;1270:97::-;;;;;;;;;;-1:-1:-1;1270:97:16;;;;;:::i;:::-;;:::i;1209:253:6:-;;;;;;;;;;-1:-1:-1;1209:253:6;;;;;:::i;:::-;;:::i;752:37:16:-;;;;;;;;;;-1:-1:-1;752:37:16;;;;;:::i;:::-;;:::i;617:44::-;;;;;;;;;;-1:-1:-1;617:44:16;;;;;:::i;:::-;;:::i;5119:179:4:-;;;;;;;;;;-1:-1:-1;5119:179:4;;;;;:::i;:::-;;:::i;3942:97:16:-;;;;;;;;;;;;;:::i;3081:334::-;;;;;;;;;;-1:-1:-1;3081:334:16;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;1616:282::-;;;;;;;;;;-1:-1:-1;1616:282:16;;;;;:::i;:::-;;:::i;1716:230:6:-;;;;;;;;;;-1:-1:-1;1716:230:6;;;;;:::i;:::-;;:::i;3751:100:16:-;;;;;;;;;;-1:-1:-1;3751:100:16;;;;;:::i;:::-;;:::i;2051:235:4:-;;;;;;;;;;-1:-1:-1;2051:235:4;;;;;:::i;:::-;;:::i;1789:205::-;;;;;;;;;;-1:-1:-1;1789:205:4;;;;;:::i;:::-;;:::i;1597:92:14:-;;;;;;;;;;;;;:::i;706:43:16:-;;;;;;;;;;;;;:::i;480:::-;;;;;;;;;;;;;:::i;667:28::-;;;;;;;;;;;;;:::i;1373:124::-;;;;;;;;;;;;;:::i;6049:146::-;;;:::i;960:306::-;;;;;;;;;;-1:-1:-1;960:306:16;;;;;:::i;:::-;;:::i;965:85:14:-;;;;;;;;;;;;;:::i;3421:91:16:-;;;;;;;;;;-1:-1:-1;3421:91:16;;;;;:::i;:::-;;:::i;2510:102:4:-;;;;;;;;;;;;;:::i;3857:79:16:-;;;;;;;;;;;;;:::i;4143:290:4:-;;;;;;;;;;-1:-1:-1;4143:290:4;;;;;:::i;:::-;;:::i;561:35:16:-;;;;;;;;;;;;;:::i;1500:113::-;;;;;;;;;;-1:-1:-1;1500:113:16;;;;;:::i;:::-;;:::i;2153:281::-;;;;;;;;;;-1:-1:-1;2153:281:16;;;;;:::i;:::-;;:::i;2678:329:4:-;;;;;;;;;;-1:-1:-1;2678:329:4;;;;;:::i;:::-;;:::i;4045:404:16:-;;;;;;;;;;-1:-1:-1;4045:404:16;;;;;:::i;:::-;;:::i;4860:818::-;;;;;;;;;;-1:-1:-1;4860:818:16;;;;;:::i;:::-;;:::i;4499:162:4:-;;;;;;;;;;-1:-1:-1;4499:162:4;;;;;:::i;:::-;;:::i;2444:631:16:-;;;;;;:::i;:::-;;:::i;1838:189:14:-;;;;;;;;;;-1:-1:-1;1838:189:14;;;;;:::i;:::-;;:::i;3518:109:16:-;1188:12:14;:10;:12::i;:::-;-1:-1:-1;;;;;1177:23:14;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1177:23:14;;1169:68;;;;-1:-1:-1;;;1169:68:14;;;;;;;:::i;:::-;;;;;;;;;3593:15:16::1;:27:::0;3518:109::o;5953:90::-;1188:12:14;:10;:12::i;:::-;-1:-1:-1;;;;;1177:23:14;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1177:23:14;;1169:68;;;;-1:-1:-1;;;1169:68:14;;;;;;;:::i;:::-;6014:16:16::1;:22:::0;;;::::1;;;;-1:-1:-1::0;;6014:22:16;;::::1;::::0;;;::::1;::::0;;5953:90::o;908:222:6:-;1010:4;-1:-1:-1;;;;;;1033:50:6;;-1:-1:-1;;;1033:50:6;;:90;;;1087:36;1111:11;1087:23;:36::i;:::-;1026:97;;908:222;;;;:::o;5875:72:16:-;1188:12:14;:10;:12::i;:::-;-1:-1:-1;;;;;1177:23:14;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1177:23:14;;1169:68;;;;-1:-1:-1;;;1169:68:14;;;;;;;:::i;:::-;5927:7:16::1;:13:::0;;-1:-1:-1;;5927:13:16::1;::::0;::::1;;::::0;;;::::1;::::0;;5875:72::o;2348:98:4:-;2402:13;2434:5;2427:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2348:98;:::o;3859:217::-;3935:7;3962:16;3970:7;3962;:16::i;:::-;3954:73;;;;-1:-1:-1;;;3954:73:4;;;;;;;:::i;:::-;-1:-1:-1;4045:24:4;;;;:15;:24;;;;;;-1:-1:-1;;;;;4045:24:4;;3859:217::o;3397:401::-;3477:13;3493:23;3508:7;3493:14;:23::i;:::-;3477:39;;3540:5;-1:-1:-1;;;;;3534:11:4;:2;-1:-1:-1;;;;;3534:11:4;;;3526:57;;;;-1:-1:-1;;;3526:57:4;;;;;;;:::i;:::-;3631:5;-1:-1:-1;;;;;3615:21:4;:12;:10;:12::i;:::-;-1:-1:-1;;;;;3615:21:4;;:62;;;;3640:37;3657:5;3664:12;:10;:12::i;3640:37::-;3594:165;;;;-1:-1:-1;;;3594:165:4;;;;;;;:::i;:::-;3770:21;3779:2;3783:7;3770:8;:21::i;:::-;3397:401;;;:::o;529:26:16:-;;;;;;:::o;1533:111:6:-;1620:10;:17;1533:111;:::o;1904:246:16:-;1989:10;;:42;;-1:-1:-1;;;1989:42:16;;-1:-1:-1;;;;;1989:10:16;;;;:23;;:42;;2013:4;;2019:2;;2023:7;;1989:42;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2049:5;2039:7;:15;2035:70;;;-1:-1:-1;;;;;2063:15:16;;;;;;:9;:15;;;;;:17;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;2085:13:16;;;;;;:9;:13;;;;;:15;;;;;;:::i;:::-;;;;;;2035:70;2108:38;2128:4;2134:2;2138:7;2108:19;:38::i;1270:97::-;1188:12:14;:10;:12::i;:::-;-1:-1:-1;;;;;1177:23:14;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1177:23:14;;1169:68;;;;-1:-1:-1;;;1169:68:14;;;;;;;:::i;:::-;1332:10:16::1;:31:::0;;-1:-1:-1;;;;;;1332:31:16::1;-1:-1:-1::0;;;;;1332:31:16;;;::::1;::::0;;;::::1;::::0;;1270:97::o;1209:253:6:-;1306:7;1341:23;1358:5;1341:16;:23::i;:::-;1333:5;:31;1325:87;;;;-1:-1:-1;;;1325:87:6;;;;;;;:::i;:::-;-1:-1:-1;;;;;;1429:19:6;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;1209:253::o;752:37:16:-;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;617:44::-;;;;;;;;;;;;;:::o;5119:179:4:-;5252:39;5269:4;5275:2;5279:7;5252:39;;;;;;;;;;;;:16;:39::i;3942:97:16:-;4017:15;;3942:97;:::o;3081:334::-;3140:16;3168:18;3189:17;3199:6;3189:9;:17::i;:::-;3168:38;;3217:25;3259:10;3245:25;;;;;;-1:-1:-1;;;3245:25:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3245:25:16;;3217:53;;3284:9;3280:104;3299:10;3295:1;:14;3280:104;;;3343:30;3363:6;3371:1;3343:19;:30::i;:::-;3329:8;3338:1;3329:11;;;;;;-1:-1:-1;;;3329:11:16;;;;;;;;;;;;;;;;;;:44;3311:3;;;;:::i;:::-;;;;3280:104;;;-1:-1:-1;3400:8:16;3081:334;-1:-1:-1;;;3081:334:16:o;1616:282::-;1684:13;1700:17;1708:8;1700:7;:17::i;:::-;1684:33;;1745:5;-1:-1:-1;;;;;1729:21:16;:12;:10;:12::i;:::-;-1:-1:-1;;;;;1729:21:16;;1721:65;;;;-1:-1:-1;;;1721:65:16;;;;;;;:::i;:::-;1790:10;;1818:16;;1790:45;;-1:-1:-1;;;1790:45:16;;-1:-1:-1;;;;;1790:10:16;;;;:15;;:45;;1806:10;;1818:16;1790:45;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1839:13:16;;;;:3;:13;;;;;;;;:20;;;;-1:-1:-1;1839:13:16;;:20;;;;:::i;:::-;;1878:8;1868:25;1888:4;1868:25;;;;;;:::i;:::-;;;;;;;;1616:282;;;:::o;1716:230:6:-;1791:7;1826:30;:28;:30::i;:::-;1818:5;:38;1810:95;;;;-1:-1:-1;;;1810:95:6;;;;;;;:::i;:::-;1922:10;1933:5;1922:17;;;;;;-1:-1:-1;;;1922:17:6;;;;;;;;;;;;;;;;;1915:24;;1716:230;;;:::o;3751:100:16:-;1188:12:14;:10;:12::i;:::-;-1:-1:-1;;;;;1177:23:14;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1177:23:14;;1169:68;;;;-1:-1:-1;;;1169:68:14;;;;;;;:::i;:::-;3821:23:16;;::::1;::::0;:13:::1;::::0;:23:::1;::::0;::::1;::::0;::::1;:::i;:::-;;3751:100:::0;:::o;2051:235:4:-;2123:7;2158:16;;;:7;:16;;;;;;-1:-1:-1;;;;;2158:16:4;2192:19;2184:73;;;;-1:-1:-1;;;2184:73:4;;;;;;;:::i;1789:205::-;1861:7;-1:-1:-1;;;;;1888:19:4;;1880:74;;;;-1:-1:-1;;;1880:74:4;;;;;;;:::i;:::-;-1:-1:-1;;;;;;1971:16:4;;;;;:9;:16;;;;;;;1789:205::o;1597:92:14:-;1188:12;:10;:12::i;:::-;-1:-1:-1;;;;;1177:23:14;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1177:23:14;;1169:68;;;;-1:-1:-1;;;1169:68:14;;;;;;;:::i;:::-;1661:21:::1;1679:1;1661:9;:21::i;:::-;1597:92::o:0;706:43:16:-;;;;:::o;480:::-;;;;:::o;667:28::-;;;-1:-1:-1;;;;;667:28:16;;:::o;1373:124::-;1407:10;;:50;;-1:-1:-1;;;1407:50:16;;-1:-1:-1;;;;;1407:10:16;;;;:23;;:50;;1431:10;;1407;;;;:50;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1461:10:16;;:32;;-1:-1:-1;;;1461:32:16;;-1:-1:-1;;;;;1461:10:16;;;;-1:-1:-1;1461:20:16;;-1:-1:-1;1461:32:16;;1482:10;;1461:32;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1373:124::o;6049:146::-;1188:12:14;:10;:12::i;:::-;-1:-1:-1;;;;;1177:23:14;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1177:23:14;;1169:68;;;;-1:-1:-1;;;1169:68:14;;;;;;;:::i;:::-;6169:6:16::1;::::0;6161:26:::1;::::0;6122:21:::1;::::0;-1:-1:-1;;;;;6169:6:16::1;::::0;6161:26;::::1;;;::::0;6122:21;;6107:12:::1;6161:26:::0;6107:12;6161:26;6122:21;6169:6;6161:26;::::1;;;;;;6153:35;;;::::0;::::1;;1247:1:14;6049:146:16:o:0;960:306::-;1188:12:14;:10;:12::i;:::-;-1:-1:-1;;;;;1177:23:14;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1177:23:14;;1169:68;;;;-1:-1:-1;;;1169:68:14;;;;;;;:::i;:::-;1024:14:16::1;1041:13;:11;:13::i;:::-;1024:30;;1087:9;1083:177;1102:7;1098:1;:11;1083:177;;;1140:6;::::0;1129:31:::1;::::0;-1:-1:-1;;;;;1140:6:16::1;1148:10;1157:1:::0;1148:6;:10:::1;:::i;:::-;1129:9;:31::i;:::-;1174:10;::::0;:44:::1;::::0;-1:-1:-1;;;1174:44:16;;-1:-1:-1;;;;;1174:10:16;;::::1;::::0;:29:::1;::::0;:44:::1;::::0;1204:10:::1;::::0;1174;;:44:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;1236:10:16::1;1226:21;::::0;;;:9:::1;:21;::::0;;;;:23;;;-1:-1:-1;1226:21:16;-1:-1:-1;1226:23:16::1;::::0;::::1;:::i;:::-;;;;;;1111:3;;;;;:::i;:::-;;;;1083:177;;965:85:14::0;1037:6;;-1:-1:-1;;;;;1037:6:14;965:85;:::o;3421:91:16:-;1188:12:14;:10;:12::i;:::-;-1:-1:-1;;;;;1177:23:14;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1177:23:14;;1169:68;;;;-1:-1:-1;;;1169:68:14;;;;;;;:::i;:::-;3487:6:16::1;:18:::0;3421:91::o;2510:102:4:-;2566:13;2598:7;2591:14;;;;;:::i;3857:79:16:-;3923:6;;3857:79;:::o;4143:290:4:-;4257:12;:10;:12::i;:::-;-1:-1:-1;;;;;4245:24:4;:8;-1:-1:-1;;;;;4245:24:4;;;4237:62;;;;-1:-1:-1;;;4237:62:4;;;;;;;:::i;:::-;4355:8;4310:18;:32;4329:12;:10;:12::i;:::-;-1:-1:-1;;;;;4310:32:4;;;;;;;;;;;;;;;;;-1:-1:-1;4310:32:4;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;4310:53:4;;;;;;;;;;;4393:12;:10;:12::i;:::-;-1:-1:-1;;;;;4378:48:4;;4417:8;4378:48;;;;;;:::i;:::-;;;;;;;;4143:290;;:::o;561:35:16:-;;;;;;;;;:::o;1500:113::-;1188:12:14;:10;:12::i;:::-;-1:-1:-1;;;;;1177:23:14;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1177:23:14;;1169:68;;;;-1:-1:-1;;;1169:68:14;;;;;;;:::i;:::-;1575:16:16::1;:34:::0;1500:113::o;2153:281::-;2262:10;;:42;;-1:-1:-1;;;2262:42:16;;-1:-1:-1;;;;;2262:10:16;;;;:23;;:42;;2286:4;;2292:2;;2296:7;;2262:42;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2322:5;2312:7;:15;2308:70;;;-1:-1:-1;;;;;2336:15:16;;;;;;:9;:15;;;;;:17;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;2358:13:16;;;;;;:9;:13;;;;;:15;;;;;;:::i;:::-;;;;;;2308:70;2381:49;2405:4;2411:2;2415:7;2424:5;2381:23;:49::i;2678:329:4:-;2751:13;2784:16;2792:7;2784;:16::i;:::-;2776:76;;;;-1:-1:-1;;;2776:76:4;;;;;;;:::i;:::-;2863:21;2887:10;:8;:10::i;:::-;2863:34;;2938:1;2920:7;2914:21;:25;:86;;;;;;;;;;;;;;;;;2966:7;2975:18;:7;:16;:18::i;:::-;2949:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;2914:86;2907:93;2678:329;-1:-1:-1;;;2678:329:4:o;4045:404:16:-;1188:12:14;:10;:12::i;:::-;-1:-1:-1;;;;;1177:23:14;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1177:23:14;;1169:68;;;;-1:-1:-1;;;1169:68:14;;;;;;;:::i;:::-;4144:9:16::1;;4133:7;:20;;4124:63;;;;-1:-1:-1::0;;;4124:63:16::1;;;;;;;:::i;:::-;4198:14;4215:13;:11;:13::i;:::-;4198:30;;4242:9;4238:174;4257:7;4253:1;:11;4238:174;;;4284:28;4295:3:::0;4300:10:::1;4309:1:::0;4300:6;:10:::1;:::i;4284:28::-;4326:10;::::0;:44:::1;::::0;-1:-1:-1;;;4326:44:16;;-1:-1:-1;;;;;4326:10:16;;::::1;::::0;:29:::1;::::0;:44:::1;::::0;4356:10:::1;::::0;4326;;:44:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;4388:10:16::1;4378:21;::::0;;;:9:::1;:21;::::0;;;;:23;;;-1:-1:-1;4378:21:16;-1:-1:-1;4378:23:16::1;::::0;::::1;:::i;:::-;;;;;;4266:3;;;;;:::i;:::-;;;;4238:174;;;;4435:7;4422:9;;:20;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;;;;4045:404:16:o;4860:818::-;4938:16;;;;;;;4937:17;4928:69;;;;-1:-1:-1;;;4928:69:16;;;;;;;:::i;:::-;5015:13;5023:4;5015:7;:13::i;:::-;5007:81;;;;-1:-1:-1;;;5007:81:16;;;;;;;:::i;:::-;5106:13;5114:4;5106:7;:13::i;:::-;5098:81;;;;-1:-1:-1;;;5098:81:16;;;;;;;:::i;:::-;5214:12;:10;:12::i;:::-;-1:-1:-1;;;;;5197:29:16;:13;5205:4;5197:7;:13::i;:::-;-1:-1:-1;;;;;5197:29:16;;5189:92;;;;-1:-1:-1;;;5189:92:16;;;;;;;:::i;:::-;5316:12;:10;:12::i;:::-;-1:-1:-1;;;;;5299:29:16;:13;5307:4;5299:7;:13::i;:::-;-1:-1:-1;;;;;5299:29:16;;5291:92;;;;-1:-1:-1;;;5291:92:16;;;;;;;:::i;:::-;5411:5;5402:4;:14;;5393:67;;;;-1:-1:-1;;;5393:67:16;;;;;;;:::i;:::-;5488:5;5479:4;:14;;5470:67;;;;-1:-1:-1;;;5470:67:16;;;;;;;:::i;:::-;5564:4;5556;:12;;5548:53;;;;-1:-1:-1;;;5548:53:16;;;;;;;:::i;:::-;5611:11;5617:4;5611:5;:11::i;:::-;5632;5638:4;5632:5;:11::i;:::-;5653:18;:16;:18::i;4499:162:4:-;-1:-1:-1;;;;;4619:25:4;;;4596:4;4619:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;4499:162::o;2444:631:16:-;2500:14;2517:13;:11;:13::i;:::-;2550:7;;2500:30;;-1:-1:-1;2550:7:16;;2549:8;2540:63;;;;-1:-1:-1;;;2540:63:16;;;;;;;:::i;:::-;2628:2;2622:3;:8;2613:89;;;;-1:-1:-1;;;2613:89:16;;;;;;;:::i;:::-;2744:9;;2736:17;;:5;:17;:::i;:::-;2721:12;2730:3;2721:6;:12;:::i;:::-;:32;2712:79;;;;-1:-1:-1;;;2712:79:16;;;;;;;:::i;:::-;2832:3;2823:6;;:12;;;;:::i;:::-;2810:9;:25;;2801:77;;;;-1:-1:-1;;;2801:77:16;;;;;;;:::i;:::-;2893:9;2889:180;2908:3;2904:1;:7;2889:180;;;2931:35;2942:10;2954;2963:1;2954:6;:10;:::i;2931:35::-;3045:10;3035:21;;;;:9;:21;;;;;:23;;;;;;:::i;:::-;;;;;;2913:3;;;;;:::i;:::-;;;;2889:180;;1838:189:14;1188:12;:10;:12::i;:::-;-1:-1:-1;;;;;1177:23:14;:7;:5;:7::i;:::-;-1:-1:-1;;;;;1177:23:14;;1169:68;;;;-1:-1:-1;;;1169:68:14;;;;;;;:::i;:::-;-1:-1:-1;;;;;1926:22:14;::::1;1918:73;;;;-1:-1:-1::0;;;1918:73:14::1;;;;;;;:::i;:::-;2001:19;2011:8;2001:9;:19::i;585:96:1:-:0;664:10;585:96;:::o;1430:300:4:-;1532:4;-1:-1:-1;;;;;;1567:40:4;;-1:-1:-1;;;1567:40:4;;:104;;-1:-1:-1;;;;;;;1623:48:4;;-1:-1:-1;;;1623:48:4;1567:104;:156;;;;1687:36;1711:11;1687:23;:36::i;7156:125::-;7221:4;7244:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7244:16:4;:30;;;7156:125::o;11007:171::-;11081:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;11081:29:4;-1:-1:-1;;;;;11081:29:4;;;;;;;;:24;;11134:23;11081:24;11134:14;:23::i;:::-;-1:-1:-1;;;;;11125:46:4;;;;;;;;;;;11007:171;;:::o;4723:330::-;4912:41;4931:12;:10;:12::i;:::-;4945:7;4912:18;:41::i;:::-;4904:103;;;;-1:-1:-1;;;4904:103:4;;;;;;;:::i;:::-;5018:28;5028:4;5034:2;5038:7;5018:9;:28::i;2033:169:14:-;2107:6;;;-1:-1:-1;;;;;2123:17:14;;;-1:-1:-1;;;;;;2123:17:14;;;;;;;2155:40;;2107:6;;;2123:17;2107:6;;2155:40;;2088:16;;2155:40;2033:169;;:::o;8113:108:4:-;8188:26;8198:2;8202:7;8188:26;;;;;;;;;;;;:9;:26::i;5364:320::-;5533:41;5552:12;:10;:12::i;:::-;5566:7;5533:18;:41::i;:::-;5525:103;;;;-1:-1:-1;;;5525:103:4;;;;;;;:::i;:::-;5638:39;5652:4;5658:2;5662:7;5671:5;5638:13;:39::i;3633:112:16:-;3693:13;3725;3718:20;;;;;:::i;274:703:15:-;330:13;547:10;543:51;;-1:-1:-1;573:10:15;;;;;;;;;;;;-1:-1:-1;;;573:10:15;;;;;;543:51;618:5;603:12;657:75;664:9;;657:75;;689:8;;;;:::i;:::-;;-1:-1:-1;711:10:15;;-1:-1:-1;719:2:15;711:10;;:::i;:::-;;;657:75;;;741:19;773:6;763:17;;;;;;-1:-1:-1;;;763:17:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;763:17:15;;741:39;;790:150;797:10;;790:150;;823:11;833:1;823:11;;:::i;:::-;;-1:-1:-1;891:10:15;899:2;891:5;:10;:::i;:::-;878:24;;:2;:24;:::i;:::-;865:39;;848:6;855;848:14;;;;;;-1:-1:-1;;;848:14:15;;;;;;;;;;;;:56;-1:-1:-1;;;;;848:56:15;;;;;;;;-1:-1:-1;918:11:15;927:2;918:11;;:::i;:::-;;;790:150;;;963:6;274:703;-1:-1:-1;;;;274:703:15:o;9664:348:4:-;9723:13;9739:23;9754:7;9739:14;:23::i;:::-;9723:39;;9773:48;9794:5;9809:1;9813:7;9773:20;:48::i;:::-;9859:29;9876:1;9880:7;9859:8;:29::i;:::-;-1:-1:-1;;;;;9899:16:4;;;;;;:9;:16;;;;;:21;;9919:1;;9899:16;:21;;9919:1;;9899:21;:::i;:::-;;;;-1:-1:-1;;9937:16:4;;;;:7;:16;;;;;;9930:23;;-1:-1:-1;;;;;;9930:23:4;;;9969:36;9945:7;;9937:16;-1:-1:-1;;;;;9969:36:4;;;;;9937:16;;9969:36;9664:348;;:::o;4455:399:16:-;4538:5;4511:20;;4534:1;4511:24;;;;:::i;:::-;:32;4502:95;;;;-1:-1:-1;;;4502:95:16;;;;;;;:::i;:::-;4607:10;;4635:15;;4607:44;;-1:-1:-1;;;4607:44:16;;-1:-1:-1;;;;;4607:10:16;;;;:15;;:44;;4623:10;;4635:15;4607:44;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4662:49;4673:10;4685:20;;4708:1;4685:24;;;;:::i;4662:49::-;4721:10;;:44;;-1:-1:-1;;;4721:44:16;;-1:-1:-1;;;;;4721:10:16;;;;:29;;:44;;4751:10;;4721;;:44;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4779:10:16;4769:21;;;;:9;:21;;;;;:23;;;-1:-1:-1;4769:21:16;-1:-1:-1;4769:23:16;;;:::i;:::-;;;;-1:-1:-1;;4825:20:16;;:22;;4846:1;4825:22;:::i;:::-;4802:20;:45;4455:399::o;762:155:2:-;-1:-1:-1;;;;;;870:40:2;;-1:-1:-1;;;870:40:2;762:155;;;:::o;7439:344:4:-;7532:4;7556:16;7564:7;7556;:16::i;:::-;7548:73;;;;-1:-1:-1;;;7548:73:4;;;;;;;:::i;:::-;7631:13;7647:23;7662:7;7647:14;:23::i;:::-;7631:39;;7699:5;-1:-1:-1;;;;;7688:16:4;:7;-1:-1:-1;;;;;7688:16:4;;:51;;;;7732:7;-1:-1:-1;;;;;7708:31:4;:20;7720:7;7708:11;:20::i;:::-;-1:-1:-1;;;;;7708:31:4;;7688:51;:87;;;;7743:32;7760:5;7767:7;7743:16;:32::i;10336:560::-;10490:4;-1:-1:-1;;;;;10463:31:4;:23;10478:7;10463:14;:23::i;:::-;-1:-1:-1;;;;;10463:31:4;;10455:85;;;;-1:-1:-1;;;10455:85:4;;;;;;;:::i;:::-;-1:-1:-1;;;;;10558:16:4;;10550:65;;;;-1:-1:-1;;;10550:65:4;;;;;;;:::i;:::-;10626:39;10647:4;10653:2;10657:7;10626:20;:39::i;:::-;10727:29;10744:1;10748:7;10727:8;:29::i;:::-;-1:-1:-1;;;;;10767:15:4;;;;;;:9;:15;;;;;:20;;10786:1;;10767:15;:20;;10786:1;;10767:20;:::i;:::-;;;;-1:-1:-1;;;;;;;10797:13:4;;;;;;:9;:13;;;;;:18;;10814:1;;10797:13;:18;;10814:1;;10797:18;:::i;:::-;;;;-1:-1:-1;;10825:16:4;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;10825:21:4;-1:-1:-1;;;;;10825:21:4;;;;;;;;;10862:27;;10825:16;;10862:27;;;;;;;10336:560;;;:::o;8442:311::-;8567:18;8573:2;8577:7;8567:5;:18::i;:::-;8616:54;8647:1;8651:2;8655:7;8664:5;8616:22;:54::i;:::-;8595:151;;;;-1:-1:-1;;;8595:151:4;;;;;;;:::i;6546:307::-;6697:28;6707:4;6713:2;6717:7;6697:9;:28::i;:::-;6743:48;6766:4;6772:2;6776:7;6785:5;6743:22;:48::i;:::-;6735:111;;;;-1:-1:-1;;;6735:111:4;;;;;;;:::i;5684:185:16:-;5814:48;5841:5;5848:3;5853:8;5814:26;:48::i;9075:372:4:-;-1:-1:-1;;;;;9154:16:4;;9146:61;;;;-1:-1:-1;;;9146:61:4;;;;;;;:::i;:::-;9226:16;9234:7;9226;:16::i;:::-;9225:17;9217:58;;;;-1:-1:-1;;;9217:58:4;;;;;;;:::i;:::-;9286:45;9315:1;9319:2;9323:7;9286:20;:45::i;:::-;-1:-1:-1;;;;;9342:13:4;;;;;;:9;:13;;;;;:18;;9359:1;;9342:13;:18;;9359:1;;9342:18;:::i;:::-;;;;-1:-1:-1;;9370:16:4;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;9370:21:4;-1:-1:-1;;;;;9370:21:4;;;;;;;;9407:33;;9370:16;;;9407:33;;9370:16;;9407:33;9075:372;;:::o;11731:782::-;11881:4;11901:15;:2;-1:-1:-1;;;;;11901:13:4;;:15::i;:::-;11897:610;;;11952:2;-1:-1:-1;;;;;11936:36:4;;11973:12;:10;:12::i;:::-;11987:4;11993:7;12002:5;11936:72;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11936:72:4;;;;;;;;-1:-1:-1;;11936:72:4;;;;;;;;;;;;:::i;:::-;;;11932:523;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12179:13:4;;12175:266;;12221:60;;-1:-1:-1;;;12221:60:4;;;;;;;:::i;12175:266::-;12393:6;12387:13;12378:6;12374:2;12370:15;12363:38;11932:523;-1:-1:-1;;;;;;12058:55:4;-1:-1:-1;;;12058:55:4;;-1:-1:-1;12051:62:4;;11897:610;-1:-1:-1;12492:4:4;11731:782;;;;;;:::o;2542:572:6:-;2681:45;2708:4;2714:2;2718:7;2681:26;:45::i;:::-;-1:-1:-1;;;;;2741:18:6;;2737:183;;2775:40;2807:7;2775:31;:40::i;:::-;2737:183;;;2844:2;-1:-1:-1;;;;;2836:10:6;:4;-1:-1:-1;;;;;2836:10:6;;2832:88;;2862:47;2895:4;2901:7;2862:32;:47::i;:::-;-1:-1:-1;;;;;2933:16:6;;2929:179;;2965:45;3002:7;2965:36;:45::i;:::-;2929:179;;;3037:4;-1:-1:-1;;;;;3031:10:6;:2;-1:-1:-1;;;;;3031:10:6;;3027:81;;3057:40;3085:2;3089:7;3057:27;:40::i;717:377:0:-;1033:20;1079:8;;;717:377::o;3820:161:6:-;3923:10;:17;;3896:24;;;;:15;:24;;;;;:44;;;3950:24;;;;;;;;;;;;3820:161::o;4598:970::-;4860:22;4910:1;4885:22;4902:4;4885:16;:22::i;:::-;:26;;;;:::i;:::-;4921:18;4942:26;;;:17;:26;;;;;;4860:51;;-1:-1:-1;5072:28:6;;;5068:323;;-1:-1:-1;;;;;5138:18:6;;5116:19;5138:18;;;:12;:18;;;;;;;;:34;;;;;;;;;5187:30;;;;;;:44;;;5303:30;;:17;:30;;;;;:43;;;5068:323;-1:-1:-1;5484:26:6;;;;:17;:26;;;;;;;;5477:33;;;-1:-1:-1;;;;;5527:18:6;;;;;:12;:18;;;;;:34;;;;;;;5520:41;4598:970::o;5856:1061::-;6130:10;:17;6105:22;;6130:21;;6150:1;;6130:21;:::i;:::-;6161:18;6182:24;;;:15;:24;;;;;;6550:10;:26;;6105:46;;-1:-1:-1;6182:24:6;;6105:46;;6550:26;;;;-1:-1:-1;;;6550:26:6;;;;;;;;;;;;;;;;;6528:48;;6612:11;6587:10;6598;6587:22;;;;;;-1:-1:-1;;;6587:22:6;;;;;;;;;;;;;;;;;;;;:36;;;;6691:28;;;:15;:28;;;;;;;:41;;;6860:24;;;;;6853:31;6894:10;:16;;;;;-1:-1:-1;;;6894:16:6;;;;;;;;;;;;;;;;;;;;;;;;;;5856:1061;;;;:::o;3408:217::-;3492:14;3509:20;3526:2;3509:16;:20::i;:::-;-1:-1:-1;;;;;3539:16:6;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;3583:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;3408:217:6:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:607:18;;110:18;151:2;143:6;140:14;137:2;;;157:18;;:::i;:::-;206:2;200:9;279:2;256:17;;-1:-1:-1;;252:31:18;240:44;;286:4;236:55;306:18;;;326:22;;;303:46;300:2;;;352:18;;:::i;:::-;388:2;381:22;436;;;421:6;-1:-1:-1;421:6:18;473:16;;;470:25;-1:-1:-1;467:2:18;;;508:1;505;498:12;467:2;558:6;553:3;546:4;538:6;534:17;521:44;613:1;606:4;597:6;589;585:19;581:30;574:41;;;90:531;;;;;:::o;626:175::-;696:20;;-1:-1:-1;;;;;745:31:18;;735:42;;725:2;;791:1;788;781:12;806:162;873:20;;929:13;;922:21;912:32;;902:2;;958:1;955;948:12;973:233;;1071:3;1064:4;1056:6;1052:17;1048:27;1038:2;;1093:5;1086;1079:20;1038:2;1119:81;1196:3;1187:6;1174:20;1167:4;1159:6;1155:17;1119:81;:::i;1211:198::-;;1323:2;1311:9;1302:7;1298:23;1294:32;1291:2;;;1344:6;1336;1329:22;1291:2;1372:31;1393:9;1372:31;:::i;1414:274::-;;;1543:2;1531:9;1522:7;1518:23;1514:32;1511:2;;;1564:6;1556;1549:22;1511:2;1592:31;1613:9;1592:31;:::i;:::-;1582:41;;1642:40;1678:2;1667:9;1663:18;1642:40;:::i;:::-;1632:50;;1501:187;;;;;:::o;1693:342::-;;;;1839:2;1827:9;1818:7;1814:23;1810:32;1807:2;;;1860:6;1852;1845:22;1807:2;1888:31;1909:9;1888:31;:::i;:::-;1878:41;;1938:40;1974:2;1963:9;1959:18;1938:40;:::i;:::-;1928:50;;2025:2;2014:9;2010:18;1997:32;1987:42;;1797:238;;;;;:::o;2040:702::-;;;;;2212:3;2200:9;2191:7;2187:23;2183:33;2180:2;;;2234:6;2226;2219:22;2180:2;2262:31;2283:9;2262:31;:::i;:::-;2252:41;;2312:40;2348:2;2337:9;2333:18;2312:40;:::i;:::-;2302:50;;2399:2;2388:9;2384:18;2371:32;2361:42;;2454:2;2443:9;2439:18;2426:32;2481:18;2473:6;2470:30;2467:2;;;2518:6;2510;2503:22;2467:2;2546:22;;2599:4;2591:13;;2587:27;-1:-1:-1;2577:2:18;;2633:6;2625;2618:22;2577:2;2661:75;2728:7;2723:2;2710:16;2705:2;2701;2697:11;2661:75;:::i;:::-;2651:85;;;2170:572;;;;;;;:::o;2747:268::-;;;2873:2;2861:9;2852:7;2848:23;2844:32;2841:2;;;2894:6;2886;2879:22;2841:2;2922:31;2943:9;2922:31;:::i;:::-;2912:41;;2972:37;3005:2;2994:9;2990:18;2972:37;:::i;3020:266::-;;;3149:2;3137:9;3128:7;3124:23;3120:32;3117:2;;;3170:6;3162;3155:22;3117:2;3198:31;3219:9;3198:31;:::i;:::-;3188:41;3276:2;3261:18;;;;3248:32;;-1:-1:-1;;;3107:179:18:o;3291:192::-;;3400:2;3388:9;3379:7;3375:23;3371:32;3368:2;;;3421:6;3413;3406:22;3368:2;3449:28;3467:9;3449:28;:::i;3488:257::-;;3599:2;3587:9;3578:7;3574:23;3570:32;3567:2;;;3620:6;3612;3605:22;3567:2;3664:9;3651:23;3683:32;3709:5;3683:32;:::i;3750:261::-;;3872:2;3860:9;3851:7;3847:23;3843:32;3840:2;;;3893:6;3885;3878:22;3840:2;3930:9;3924:16;3949:32;3975:5;3949:32;:::i;4016:344::-;;4138:2;4126:9;4117:7;4113:23;4109:32;4106:2;;;4159:6;4151;4144:22;4106:2;4204:9;4191:23;4237:18;4229:6;4226:30;4223:2;;;4274:6;4266;4259:22;4223:2;4302:52;4346:7;4337:6;4326:9;4322:22;4302:52;:::i;4365:190::-;;4477:2;4465:9;4456:7;4452:23;4448:32;4445:2;;;4498:6;4490;4483:22;4445:2;-1:-1:-1;4526:23:18;;4435:120;-1:-1:-1;4435:120:18:o;4560:412::-;;;4699:2;4687:9;4678:7;4674:23;4670:32;4667:2;;;4720:6;4712;4705:22;4667:2;4761:9;4748:23;4738:33;;4822:2;4811:9;4807:18;4794:32;4849:18;4841:6;4838:30;4835:2;;;4886:6;4878;4871:22;4835:2;4914:52;4958:7;4949:6;4938:9;4934:22;4914:52;:::i;:::-;4904:62;;;4657:315;;;;;:::o;4977:258::-;;;5106:2;5094:9;5085:7;5081:23;5077:32;5074:2;;;5127:6;5119;5112:22;5074:2;-1:-1:-1;;5155:23:18;;;5225:2;5210:18;;;5197:32;;-1:-1:-1;5064:171:18:o;5240:259::-;;5321:5;5315:12;5348:6;5343:3;5336:19;5364:63;5420:6;5413:4;5408:3;5404:14;5397:4;5390:5;5386:16;5364:63;:::i;:::-;5481:2;5460:15;-1:-1:-1;;5456:29:18;5447:39;;;;5488:4;5443:50;;5291:208;-1:-1:-1;;5291:208:18:o;5504:470::-;;5721:6;5715:13;5737:53;5783:6;5778:3;5771:4;5763:6;5759:17;5737:53;:::i;:::-;5853:13;;5812:16;;;;5875:57;5853:13;5812:16;5909:4;5897:17;;5875:57;:::i;:::-;5948:20;;5691:283;-1:-1:-1;;;;5691:283:18:o;5979:203::-;-1:-1:-1;;;;;6143:32:18;;;;6125:51;;6113:2;6098:18;;6080:102::o;6187:383::-;-1:-1:-1;;;;;6453:15:18;;;6435:34;;6505:15;;;;6500:2;6485:18;;6478:43;6552:2;6537:18;;6530:34;;;;6385:2;6370:18;;6352:218::o;6955:490::-;-1:-1:-1;;;;;7224:15:18;;;7206:34;;7276:15;;7271:2;7256:18;;7249:43;7323:2;7308:18;;7301:34;;;7371:3;7366:2;7351:18;;7344:31;;;6955:490;;7392:47;;7419:19;;7411:6;7392:47;:::i;:::-;7384:55;7158:287;-1:-1:-1;;;;;;7158:287:18:o;7450:282::-;-1:-1:-1;;;;;7650:32:18;;;;7632:51;;7714:2;7699:18;;7692:34;7620:2;7605:18;;7587:145::o;8016:635::-;8187:2;8239:21;;;8309:13;;8212:18;;;8331:22;;;8016:635;;8187:2;8410:15;;;;8384:2;8369:18;;;8016:635;8456:169;8470:6;8467:1;8464:13;8456:169;;;8531:13;;8519:26;;8600:15;;;;8565:12;;;;8492:1;8485:9;8456:169;;;-1:-1:-1;8642:3:18;;8167:484;-1:-1:-1;;;;;;8167:484:18:o;8656:187::-;8821:14;;8814:22;8796:41;;8784:2;8769:18;;8751:92::o;9075:221::-;;9224:2;9213:9;9206:21;9244:46;9286:2;9275:9;9271:18;9263:6;9244:46;:::i;9301:401::-;9503:2;9485:21;;;9542:2;9522:18;;;9515:30;9581:34;9576:2;9561:18;;9554:62;-1:-1:-1;;;9647:2:18;9632:18;;9625:35;9692:3;9677:19;;9475:227::o;9707:335::-;9909:2;9891:21;;;9948:2;9928:18;;;9921:30;-1:-1:-1;;;9982:2:18;9967:18;;9960:41;10033:2;10018:18;;9881:161::o;10047:355::-;10249:2;10231:21;;;10288:2;10268:18;;;10261:30;10327:33;10322:2;10307:18;;10300:61;10393:2;10378:18;;10221:181::o;10407:407::-;10609:2;10591:21;;;10648:2;10628:18;;;10621:30;10687:34;10682:2;10667:18;;10660:62;-1:-1:-1;;;10753:2:18;10738:18;;10731:41;10804:3;10789:19;;10581:233::o;10819:414::-;11021:2;11003:21;;;11060:2;11040:18;;;11033:30;11099:34;11094:2;11079:18;;11072:62;-1:-1:-1;;;11165:2:18;11150:18;;11143:48;11223:3;11208:19;;10993:240::o;11238:402::-;11440:2;11422:21;;;11479:2;11459:18;;;11452:30;11518:34;11513:2;11498:18;;11491:62;-1:-1:-1;;;11584:2:18;11569:18;;11562:36;11630:3;11615:19;;11412:228::o;11645:400::-;11847:2;11829:21;;;11886:2;11866:18;;;11859:30;11925:34;11920:2;11905:18;;11898:62;-1:-1:-1;;;11991:2:18;11976:18;;11969:34;12035:3;12020:19;;11819:226::o;12050:352::-;12252:2;12234:21;;;12291:2;12271:18;;;12264:30;12330;12325:2;12310:18;;12303:58;12393:2;12378:18;;12224:178::o;12407:400::-;12609:2;12591:21;;;12648:2;12628:18;;;12621:30;12687:34;12682:2;12667:18;;12660:62;-1:-1:-1;;;12753:2:18;12738:18;;12731:34;12797:3;12782:19;;12581:226::o;12812:349::-;13014:2;12996:21;;;13053:2;13033:18;;;13026:30;13092:27;13087:2;13072:18;;13065:55;13152:2;13137:18;;12986:175::o;13166:400::-;13368:2;13350:21;;;13407:2;13387:18;;;13380:30;13446:34;13441:2;13426:18;;13419:62;-1:-1:-1;;;13512:2:18;13497:18;;13490:34;13556:3;13541:19;;13340:226::o;13571:408::-;13773:2;13755:21;;;13812:2;13792:18;;;13785:30;13851:34;13846:2;13831:18;;13824:62;-1:-1:-1;;;13917:2:18;13902:18;;13895:42;13969:3;13954:19;;13745:234::o;13984:420::-;14186:2;14168:21;;;14225:2;14205:18;;;14198:30;14264:34;14259:2;14244:18;;14237:62;14335:26;14330:2;14315:18;;14308:54;14394:3;14379:19;;14158:246::o;14409:406::-;14611:2;14593:21;;;14650:2;14630:18;;;14623:30;14689:34;14684:2;14669:18;;14662:62;-1:-1:-1;;;14755:2:18;14740:18;;14733:40;14805:3;14790:19;;14583:232::o;14820:405::-;15022:2;15004:21;;;15061:2;15041:18;;;15034:30;15100:34;15095:2;15080:18;;15073:62;-1:-1:-1;;;15166:2:18;15151:18;;15144:39;15215:3;15200:19;;14994:231::o;15230:356::-;15432:2;15414:21;;;15451:18;;;15444:30;15510:34;15505:2;15490:18;;15483:62;15577:2;15562:18;;15404:182::o;15591:408::-;15793:2;15775:21;;;15832:2;15812:18;;;15805:30;15871:34;15866:2;15851:18;;15844:62;-1:-1:-1;;;15937:2:18;15922:18;;15915:42;15989:3;15974:19;;15765:234::o;16004:352::-;16206:2;16188:21;;;16245:2;16225:18;;;16218:30;16284;16279:2;16264:18;;16257:58;16347:2;16332:18;;16178:178::o;16361:356::-;16563:2;16545:21;;;16582:18;;;16575:30;16641:34;16636:2;16621:18;;16614:62;16708:2;16693:18;;16535:182::o;16722:352::-;16924:2;16906:21;;;16963:2;16943:18;;;16936:30;17002;16997:2;16982:18;;16975:58;17065:2;17050:18;;16896:178::o;17079:405::-;17281:2;17263:21;;;17320:2;17300:18;;;17293:30;17359:34;17354:2;17339:18;;17332:62;-1:-1:-1;;;17425:2:18;17410:18;;17403:39;17474:3;17459:19;;17253:231::o;17489:411::-;17691:2;17673:21;;;17730:2;17710:18;;;17703:30;17769:34;17764:2;17749:18;;17742:62;-1:-1:-1;;;17835:2:18;17820:18;;17813:45;17890:3;17875:19;;17663:237::o;17905:397::-;18107:2;18089:21;;;18146:2;18126:18;;;18119:30;18185:34;18180:2;18165:18;;18158:62;-1:-1:-1;;;18251:2:18;18236:18;;18229:31;18292:3;18277:19;;18079:223::o;18307:349::-;18509:2;18491:21;;;18548:2;18528:18;;;18521:30;18587:27;18582:2;18567:18;;18560:55;18647:2;18632:18;;18481:175::o;18661:404::-;18863:2;18845:21;;;18902:2;18882:18;;;18875:30;18941:34;18936:2;18921:18;;18914:62;-1:-1:-1;;;19007:2:18;18992:18;;18985:38;19055:3;19040:19;;18835:230::o;19070:413::-;19272:2;19254:21;;;19311:2;19291:18;;;19284:30;19350:34;19345:2;19330:18;;19323:62;-1:-1:-1;;;19416:2:18;19401:18;;19394:47;19473:3;19458:19;;19244:239::o;19488:344::-;19690:2;19672:21;;;19729:2;19709:18;;;19702:30;-1:-1:-1;;;19763:2:18;19748:18;;19741:50;19823:2;19808:18;;19662:170::o;19837:350::-;20039:2;20021:21;;;20078:2;20058:18;;;20051:30;20117:28;20112:2;20097:18;;20090:56;20178:2;20163:18;;20011:176::o;20192:408::-;20394:2;20376:21;;;20433:2;20413:18;;;20406:30;20472:34;20467:2;20452:18;;20445:62;-1:-1:-1;;;20538:2:18;20523:18;;20516:42;20590:3;20575:19;;20366:234::o;20605:411::-;20807:2;20789:21;;;20846:2;20826:18;;;20819:30;20885:34;20880:2;20865:18;;20858:62;-1:-1:-1;;;20951:2:18;20936:18;;20929:45;21006:3;20991:19;;20779:237::o;21021:351::-;21223:2;21205:21;;;21262:2;21242:18;;;21235:30;21301:29;21296:2;21281:18;;21274:57;21363:2;21348:18;;21195:177::o;21377:350::-;21579:2;21561:21;;;21618:2;21598:18;;;21591:30;21657:28;21652:2;21637:18;;21630:56;21718:2;21703:18;;21551:176::o;21732:411::-;21934:2;21916:21;;;21973:2;21953:18;;;21946:30;22012:34;22007:2;21992:18;;21985:62;-1:-1:-1;;;22078:2:18;22063:18;;22056:45;22133:3;22118:19;;21906:237::o;22148:177::-;22294:25;;;22282:2;22267:18;;22249:76::o;22330:128::-;;22401:1;22397:6;22394:1;22391:13;22388:2;;;22407:18;;:::i;:::-;-1:-1:-1;22443:9:18;;22378:80::o;22463:120::-;;22529:1;22519:2;;22534:18;;:::i;:::-;-1:-1:-1;22568:9:18;;22509:74::o;22588:168::-;;22694:1;22690;22686:6;22682:14;22679:1;22676:21;22671:1;22664:9;22657:17;22653:45;22650:2;;;22701:18;;:::i;:::-;-1:-1:-1;22741:9:18;;22640:116::o;22761:125::-;;22829:1;22826;22823:8;22820:2;;;22834:18;;:::i;:::-;-1:-1:-1;22871:9:18;;22810:76::o;22891:258::-;22963:1;22973:113;22987:6;22984:1;22981:13;22973:113;;;23063:11;;;23057:18;23044:11;;;23037:39;23009:2;23002:10;22973:113;;;23104:6;23101:1;23098:13;23095:2;;;-1:-1:-1;;23139:1:18;23121:16;;23114:27;22944:205::o;23154:136::-;;23221:5;23211:2;;23230:18;;:::i;:::-;-1:-1:-1;;;23266:18:18;;23201:89::o;23295:380::-;23380:1;23370:12;;23427:1;23417:12;;;23438:2;;23492:4;23484:6;23480:17;23470:27;;23438:2;23545;23537:6;23534:14;23514:18;23511:38;23508:2;;;23591:10;23586:3;23582:20;23579:1;23572:31;23626:4;23623:1;23616:15;23654:4;23651:1;23644:15;23508:2;;23350:325;;;:::o;23680:135::-;;-1:-1:-1;;23740:17:18;;23737:2;;;23760:18;;:::i;:::-;-1:-1:-1;23807:1:18;23796:13;;23727:88::o;23820:112::-;;23878:1;23868:2;;23883:18;;:::i;:::-;-1:-1:-1;23917:9:18;;23858:74::o;23937:127::-;23998:10;23993:3;23989:20;23986:1;23979:31;24029:4;24026:1;24019:15;24053:4;24050:1;24043:15;24069:127;24130:10;24125:3;24121:20;24118:1;24111:31;24161:4;24158:1;24151:15;24185:4;24182:1;24175:15;24201:127;24262:10;24257:3;24253:20;24250:1;24243:31;24293:4;24290:1;24283:15;24317:4;24314:1;24307:15;24333:133;-1:-1:-1;;;;;;24409:32:18;;24399:43;;24389:2;;24456:1;24453;24446:12

Swarm Source

ipfs://00f3a248e62f8f57754956b98eb057b9dee084cc78dc5667ce884893efca93c5
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.