ETH Price: $3,822.54 (+5.67%)

Token

WormVigils (LUMEN)
 

Overview

Max Total Supply

4,726 LUMEN

Holders

3,190

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
daoists.eth
Balance
1 LUMEN
0xbb214c93187e55cb74d24da8e44717aed3045cb8
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

2,112 on-chain, animated Vigil Lights were minted at The Vigil! The Worm then Resurrected to continue its mission to visit every wallet on the Ethereum blockchain.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
WormVigils

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : WormVigils.sol
// SPDX-License-Identifier: UNLICENSE
pragma solidity ^0.8.0;

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

import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/utils/Counters.sol';
import '@openzeppelin/contracts/utils/Strings.sol';

import 'base64-sol/base64.sol';

/*

from Ambition.wtf
	"learning how to create magical experiences"


Presenting … … … … The Worm Vigils
	A contract for creating the light needed to resurrect The Worm.


Every great magic trick consists of three parts or acts:

1 — "THE PLEDGE"

	The magician shows you something ordinary: a worm.
	You can inspects it to see if it is indeed normal.
		But of course… it probably isn't. 

2 — "THE TURN"

	The magician takes the worm and makes it disappear. 
	Now you're looking for the secret…
		But you won't find it, unless you read the code.
	
	But you wouldn't clap yet.
		Because making something disappear isn't enough;
			you have to bring it back. 
		
	That's why every magic trick has a third act,
		the hardest part,
			the part we call…

3 — "THE PRESTIGE"


——//——

In an effort to make contracts more accessible to non-developers,
We have left more detailed comments to explain how things work.

This contract consists of these parts:
0. Declaring
	Created the variables to be used
1. Minting
	Functions for creating the NFTs
2. Displaying
	Functions for getting and assembling the
	on-chain art (SVG) and metadata (JSON)
3. Managing
	Owner functions for creating and updating
	the on-chain art & metadata

*/

contract WormVigils is Ownable, ERC721Enumerable {
	using Counters for Counters.Counter;
	using Strings for uint256;
	Counters.Counter private _tokenIdTracker;

	//
	// 0 — DECLARING
	//

	// store the addresses of the Worm contracts
	// (they don't needs to be public which lowers gas)
	address edworm;
	address edwone;

	// current vigil number
	uint64 public vigil;

	// track the number of candles lit per vigil
	mapping(uint64 => uint) public vigilCandles;
	// track the candle specific data (discipleId, level, vigil)
	mapping(uint => uint) candleDna;

	// on-chain SVG & JSON data to store and assemble the NFT art
	// this part is complicated, don't worry about it
	mapping(bytes16 => string) variables;
	mapping(bytes16 => bytes16[]) sequences;
	// uint128 templateId is a mashup of:
	//   uint56 vigil
	//   uint8 isDisciple
	//   uint64 level
	mapping(uint128 => Template) templates;

	struct Template {
		bytes16 name; // title of the NFT
		bytes16 desc; // description of the NFT (text under image)
		bytes16 graphics; // how to assemble the SVG
		bytes16 metadata; // how to assemble the JSON
		bytes16 imageURI; // encoding of the SVG for URIs
		bytes16 tokenURI; // encoding of the JSON for URIs
	}

	// uint256 lumenLevel is a mashup of:
	//   uint64 lumen
	//   uint192 price
	uint[] lumenLevels;

	constructor(address _edworm, address _edwone) ERC721('WormVigils', 'LUMEN') {
		// store the addresses of the Worm contracts so that
		// we can know if a disciple minted a token
		edworm = _edworm;
		edwone = _edwone;

		// when minting a candle, if a donation is included
		// these are the Ether increments that will
		// increase the level of light for an NFT
		lumenLevels = [
			encodeLumenLevel(12, 1 ether),
			encodeLumenLevel(6, 0.1 ether),
			encodeLumenLevel(3, 0.01 ether),
			encodeLumenLevel(1, 0 ether)
		];
	}

	//
	// 1 — MINTING
	//

	function mintCandle() public payable {
		mintCandleWithPrestige(0);
	}

	function mintCandleWithPrestige(uint64 prestige) public payable {
		// 1. get the disicple ID from Worm contracts

		uint discipleId;

		if (IERC721(edworm).balanceOf(msg.sender) > 0) {
			discipleId = IERC721Enumerable(edworm).tokenOfOwnerByIndex(msg.sender, 0);
		} else if (IERC721(edwone).balanceOf(msg.sender) > 0) {
			discipleId = IERC721Enumerable(edwone).tokenOfOwnerByIndex(msg.sender, 0);
		}

		// 2. get level & lumen by comparing msg.value to the lumenLevels

		uint64 level;
		uint64 lumen;

		for (uint i; i < lumenLevels.length; i++) {
			(uint64 _lumen, uint192 _price) = decodeLumenLevel(lumenLevels[i]);

			if (msg.value >= _price) {
				level = uint64(lumenLevels.length - 1 - i);
				lumen = _lumen;
				break;
			}
			// If level is not found, lumen & level will be 0
		}

		// ಠ_ಠ
		if (prestige > lumenLevels.length) {
			level = prestige;
		}

		// 3. put it all together into one uint256

		uint256 dna = uint256(discipleId);
		dna |= uint(level) << 128;
		dna |= uint(vigil) << 192;

		// 4. store candle data
		uint newTokenId = _tokenIdTracker.current();

		candleDna[newTokenId] = dna;

		// 5. increment the candles in this vigil
		vigilCandles[vigil] += 1;

		// 6. do the mint
		_safeMint(msg.sender, newTokenId);

		// increment AFTER because starts at 0
		_tokenIdTracker.increment();
	}

	//
	// 2 — DISPLAYING
	//

	function getTemplate(uint _tokenId) internal view returns (Template memory) {
		// 1. get candle dna

		(uint128 _discipleId, uint64 _level, uint64 _vigil) = getCandleData(
			_tokenId
		);
		uint8 _isDisciple;
		if (_discipleId > 0) {
			_isDisciple = 1;
		}

		// 2. extract level & vigil

		uint128 templateId = uint128(_vigil);
		templateId |= uint128(_isDisciple) << 56;
		templateId |= uint128(_level) << 64;

		// 3. get template from the mapping

		Template memory maybeTemplate = templates[templateId];

		// it might not exist, so confirm it does first
		if (maybeTemplate.name != bytes16(0)) {
			return maybeTemplate;
		}

		// if not, this is the fallback template
		templateId = uint128(_vigil);
		templateId |= uint128(_isDisciple) << 56;

		maybeTemplate = templates[templateId];

		return maybeTemplate;
	}

	// for a tokenId, return the SVG raw text
	function getGraphics(uint tokenId) public view returns (string memory) {
		Template memory template = getTemplate(tokenId);

		return assembleSequence(tokenId, template.graphics);
	}

	// for a tokenId, return the JSON raw text
	function getMetadata(uint tokenId) public view returns (string memory) {
		Template memory template = getTemplate(tokenId);

		return assembleSequence(tokenId, template.metadata);
	}

	// for a tokenId, return the SVG base64 encoded for data URI
	function imageURI(uint tokenId) public view returns (string memory) {
		Template memory template = getTemplate(tokenId);

		return assembleSequence(tokenId, template.imageURI);
	}

	// for a tokenId, return the JSON base64 encoded for data URI
	function tokenURI(uint tokenId) public view override returns (string memory) {
		Template memory template = getTemplate(tokenId);

		return assembleSequence(tokenId, template.tokenURI);
	}

	function assembleSequence(uint tokenId, bytes16 _sequence)
		internal
		view
		returns (string memory)
	{
		bytes16[] memory sequence = sequences[_sequence];

		return assembleSequence(tokenId, sequence);
	}

	function assembleSequence(uint tokenId, bytes16[] memory sequence)
		internal
		view
		returns (string memory)
	{
		string memory acc;

		(uint128 _discipleId, uint64 _level, uint64 _vigil) = getCandleData(
			tokenId
		);

		/*
		This loop does these things:
			1. replace '_token_id' with the actual token id
			2. replace '_disciple_id' with the actual disciple id
			3. replace '_level' with the actual level
			4. replace '_vigil' with the actual vigil id
			5. recursively assemble any nested sequences (start with `$`)
			6. encode sequence into base64
			7. accumulate the variables
		*/

		for (uint i; i < sequence.length; i++) {
			if (sequence[i] == bytes16('_token_id')) {
				// 1. replace '_token_id' with the actual token id
				acc = join(acc, tokenId.toString());
			} else if (sequence[i] == bytes16('_disciple_id')) {
				// 2. replace '_disciple_id' with the actual disciple id
				acc = join(acc, uint(_discipleId).toString());
			} else if (sequence[i] == bytes16('_level')) {
				// 3. replace '_level' with the actual level
				acc = join(acc, uint(_level).toString());
			} else if (sequence[i] == bytes16('_vigil')) {
				// 4. replace '_vigil' with the actual vigil id
				acc = join(acc, uint(_vigil).toString());
			} else if (sequence[i][0] == '$') {
				// 5. recursively assemble any nested sequences
				acc = join(acc, assembleSequence(tokenId, sequence[i]));
			} else if (sequence[i][0] == '{') {
				// 6. encode sequence into base64

				string memory ecc;
				uint numEncode;
				// step 1: figure out how many variables are to be encoded
				for (uint j = i + 1; j < sequence.length; j++) {
					if (sequence[j][0] == '}' && sequence[j][1] == sequence[i][1]) {
						break;
					} else {
						numEncode++;
					}
				}
				// step 2: create a new build sequence
				bytes16[] memory encodeSequence = new bytes16[](numEncode);
				// step 3: populate the new build sequence
				uint k;
				for (uint j = i + 1; j < sequence.length; j++) {
					if (k < numEncode) {
						encodeSequence[k] = sequence[j];
						k++;
						i++; // CRITICAL: this increments the MAIN loop to prevent duplicates
					} else {
						break;
					}
				}
				// step 4: encode & assemble the new build sequence
				ecc = assembleSequence(tokenId, encodeSequence);
				// step 5: join the encoded string to the accumulated string
				acc = join(acc, encodeBase64(ecc));
			} else {
				// 7. accumulate the variables
				acc = join(acc, variables[sequence[i]]);
			}
		}
		return acc;
	}

	// utils

	function getCandleData(uint _tokenId)
		public
		view
		returns (
			uint128 _discipleId,
			uint64 _level,
			uint64 _vigil
		)
	{
		uint dna = candleDna[_tokenId];

		_discipleId = uint128(dna);
		_level = uint64(dna >> 128);
		_vigil = uint64(dna >> 192);
	}

	function encodeLumenLevel(uint64 _lumen, uint192 _price)
		internal
		pure
		returns (uint256 _lumenLevel)
	{
		_lumenLevel = uint(_lumen);
		_lumenLevel |= uint(_price) << 64;
	}

	function decodeLumenLevel(uint256 _lumenLevel)
		internal
		pure
		returns (uint64 _lumen, uint192 _price)
	{
		_lumen = uint64(_lumenLevel);
		_price = uint192(_lumenLevel >> 64);
	}

	function join(string memory _a, string memory _b)
		internal
		pure
		returns (string memory)
	{
		return string(abi.encodePacked(bytes(_a), bytes(_b)));
	}

	function encodeBase64(string memory _str)
		internal
		pure
		returns (string memory)
	{
		return string(abi.encodePacked(Base64.encode(bytes(_str))));
	}

	//
	// 3 — MANAGING
	//

	function setVigil(uint64 _vigil) external onlyOwner {
		vigil = _vigil;
	}

	// MUST be ordered in descending lumens/price
	function setLevels(uint64[] memory _lumens, uint128[] memory _prices)
		external
		onlyOwner
	{
		uint[] memory _lumenLevels = new uint[](_lumens.length);

		for (uint i = 0; i < _lumens.length; i++) {
			_lumenLevels[i] = encodeLumenLevel(_lumens[i], _prices[i]);
		}

		lumenLevels = _lumenLevels;
	}

	function addVariables(bytes16[] memory keys, string[] memory vals)
		external
		onlyOwner
	{
		for (uint i; i < keys.length; i++) {
			variables[keys[i]] = vals[i];
		}
	}

	function addSequences(bytes16[] memory keys, bytes16[][] memory vals)
		external
		onlyOwner
	{
		for (uint i; i < keys.length; i++) {
			sequences[keys[i]] = vals[i];
		}
	}

	function addTemplate(
		uint56 _vigil,
		uint8 _isDisciple,
		uint64 _level,
		bytes16 _name,
		bytes16 _desc,
		bytes16 _graphics,
		bytes16 _metadata,
		bytes16 _imageURI,
		bytes16 _tokenURI
	) external onlyOwner {
		Template memory template = Template({
			name: _name,
			desc: _desc,
			graphics: _graphics,
			metadata: _metadata,
			imageURI: _imageURI,
			tokenURI: _tokenURI
		});

		uint128 templateId = uint128(_vigil);
		templateId |= uint128(_isDisciple) << 56;
		templateId |= uint128(_level) << 64;

		templates[templateId] = template;
	}

	// withdraw balance
	function getPaid() public payable onlyOwner {
		require(payable(_msgSender()).send(address(this).balance));
	}

	// accept ether sent
	receive() external payable {}
}

File 2 of 15 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Base URI for computing {tokenURI}. 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 {
                    // solhint-disable-next-line no-inline-assembly
                    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` 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 { }
}

File 3 of 15 : 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 4 of 15 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 5 of 15 : Counters.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

File 6 of 15 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant alphabet = "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] = alphabet[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

}

File 7 of 15 : base64.sol
// SPDX-License-Identifier: MIT

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

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

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

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

        assembly {
            // set the actual output length
            mstore(result, encodedLen)
            
            // prepare the lookup table
            let tablePtr := add(table, 1)
            
            // input ptr
            let dataPtr := data
            let endPtr := add(dataPtr, mload(data))
            
            // result ptr, jump over length
            let resultPtr := add(result, 32)
            
            // run over the input, 3 bytes at a time
            for {} lt(dataPtr, endPtr) {}
            {
               dataPtr := add(dataPtr, 3)
               
               // read 3 bytes
               let input := mload(dataPtr)
               
               // write 4 characters
               mstore(resultPtr, shl(248, mload(add(tablePtr, and(shr(18, input), 0x3F)))))
               resultPtr := add(resultPtr, 1)
               mstore(resultPtr, shl(248, mload(add(tablePtr, and(shr(12, input), 0x3F)))))
               resultPtr := add(resultPtr, 1)
               mstore(resultPtr, shl(248, mload(add(tablePtr, and(shr( 6, input), 0x3F)))))
               resultPtr := add(resultPtr, 1)
               mstore(resultPtr, shl(248, mload(add(tablePtr, and(        input,  0x3F)))))
               resultPtr := add(resultPtr, 1)
            }
            
            // padding with '='
            switch mod(mload(data), 3)
            case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) }
            case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) }
        }
        
        return result;
    }
}

File 8 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 9 of 15 : 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 10 of 15 : 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 11 of 15 : 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;
        // solhint-disable-next-line no-inline-assembly
        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");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 12 of 15 : 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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 13 of 15 : 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 14 of 15 : 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 15 of 15 : 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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_edworm","type":"address"},{"internalType":"address","name":"_edwone","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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":[{"internalType":"bytes16[]","name":"keys","type":"bytes16[]"},{"internalType":"bytes16[][]","name":"vals","type":"bytes16[][]"}],"name":"addSequences","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint56","name":"_vigil","type":"uint56"},{"internalType":"uint8","name":"_isDisciple","type":"uint8"},{"internalType":"uint64","name":"_level","type":"uint64"},{"internalType":"bytes16","name":"_name","type":"bytes16"},{"internalType":"bytes16","name":"_desc","type":"bytes16"},{"internalType":"bytes16","name":"_graphics","type":"bytes16"},{"internalType":"bytes16","name":"_metadata","type":"bytes16"},{"internalType":"bytes16","name":"_imageURI","type":"bytes16"},{"internalType":"bytes16","name":"_tokenURI","type":"bytes16"}],"name":"addTemplate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes16[]","name":"keys","type":"bytes16[]"},{"internalType":"string[]","name":"vals","type":"string[]"}],"name":"addVariables","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getCandleData","outputs":[{"internalType":"uint128","name":"_discipleId","type":"uint128"},{"internalType":"uint64","name":"_level","type":"uint64"},{"internalType":"uint64","name":"_vigil","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getGraphics","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getMetadata","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPaid","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"imageURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintCandle","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint64","name":"prestige","type":"uint64"}],"name":"mintCandleWithPrestige","outputs":[],"stateMutability":"payable","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":[],"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":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64[]","name":"_lumens","type":"uint64[]"},{"internalType":"uint128[]","name":"_prices","type":"uint128[]"}],"name":"setLevels","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"_vigil","type":"uint64"}],"name":"setVigil","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":[],"name":"vigil","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"","type":"uint64"}],"name":"vigilCandles","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b50604051620063f5380380620063f58339818101604052810190620000379190620003fe565b6040518060400160405280600a81526020017f576f726d566967696c73000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f4c554d454e0000000000000000000000000000000000000000000000000000008152506000620000b5620002a560201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35081600190805190602001906200016b929190620002e5565b50806002908051906020019062000184929190620002e5565b50505081600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060405180608001604052806200022f600c670de0b6b3a7640000620002ad60201b60201c565b81526020016200024f600667016345785d8a0000620002ad60201b60201c565b81526020016200026e6003662386f26fc10000620002ad60201b60201c565b81526020016200028760016000620002ad60201b60201c565b81525060139060046200029c92919062000376565b505050620004fd565b600033905090565b60008267ffffffffffffffff16905060408277ffffffffffffffffffffffffffffffffffffffffffffffff16901b8117905092915050565b828054620002f39062000479565b90600052602060002090601f01602090048101928262000317576000855562000363565b82601f106200033257805160ff191683800117855562000363565b8280016001018555821562000363579182015b828111156200036257825182559160200191906001019062000345565b5b509050620003729190620003c8565b5090565b828054828255906000526020600020908101928215620003b5579160200282015b82811115620003b457825182559160200191906001019062000397565b5b509050620003c49190620003c8565b5090565b5b80821115620003e3576000816000905550600101620003c9565b5090565b600081519050620003f881620004e3565b92915050565b60008060408385031215620004185762000417620004de565b5b60006200042885828601620003e7565b92505060206200043b85828601620003e7565b9150509250929050565b6000620004528262000459565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600060028204905060018216806200049257607f821691505b60208210811415620004a957620004a8620004af565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600080fd5b620004ee8162000445565b8114620004fa57600080fd5b50565b615ee8806200050d6000396000f3fe6080604052600436106101f25760003560e01c8063715018a61161010d578063b4f0345e116100a0578063cf41d6f81161006f578063cf41d6f814610738578063e7ee20d914610742578063e985e9c51461076b578063f2fde38b146107a8578063f94c20b9146107d1576101f9565b8063b4f0345e14610668578063b88d4fde14610693578063c87b56dd146106bc578063ca1d6cee146106f9576101f9565b806395d89b41116100dc57806395d89b41146105cd578063a22cb465146105f8578063a574cea414610621578063a7ba3dff1461065e576101f9565b8063715018a61461051157806378a882e8146105285780638da5cb5b146105655780638f742d1614610590576101f9565b80632cb62796116101855780634f6ccce7116101545780634f6ccce7146104315780636352211e1461046e5780636b73e23f146104ab57806370a08231146104d4576101f9565b80632cb62796146103655780632f745c59146103a25780632fc9e885146103df57806342842e0e14610408576101f9565b8063095ea7b3116101c1578063095ea7b3146102cc5780630a5fb137146102f557806318160ddd1461031157806323b872dd1461033c576101f9565b806301ffc9a7146101fe57806305e631fe1461023b57806306fdde0314610264578063081812fc1461028f576101f9565b366101f957005b600080fd5b34801561020a57600080fd5b5061022560048036038101906102209190614a10565b6107fa565b6040516102329190615007565b60405180910390f35b34801561024757600080fd5b50610262600480360381019061025d9190614998565b610874565b005b34801561027057600080fd5b506102796109e9565b6040516102869190615022565b60405180910390f35b34801561029b57600080fd5b506102b660048036038101906102b19190614a6a565b610a7b565b6040516102c39190614f77565b60405180910390f35b3480156102d857600080fd5b506102f360048036038101906102ee9190614868565b610b00565b005b61030f600480360381019061030a9190614b8e565b610c18565b005b34801561031d57600080fd5b5061032661107a565b604051610333919061529b565b60405180910390f35b34801561034857600080fd5b50610363600480360381019061035e9190614752565b611087565b005b34801561037157600080fd5b5061038c60048036038101906103879190614b8e565b6110e7565b604051610399919061529b565b60405180910390f35b3480156103ae57600080fd5b506103c960048036038101906103c49190614868565b6110ff565b6040516103d6919061529b565b60405180910390f35b3480156103eb57600080fd5b5061040660048036038101906104019190614ac4565b6111a4565b005b34801561041457600080fd5b5061042f600480360381019061042a9190614752565b61147c565b005b34801561043d57600080fd5b5061045860048036038101906104539190614a6a565b61149c565b604051610465919061529b565b60405180910390f35b34801561047a57600080fd5b5061049560048036038101906104909190614a6a565b61150d565b6040516104a29190614f77565b60405180910390f35b3480156104b757600080fd5b506104d260048036038101906104cd9190614920565b6115bf565b005b3480156104e057600080fd5b506104fb60048036038101906104f691906146e5565b6116e1565b604051610508919061529b565b60405180910390f35b34801561051d57600080fd5b50610526611799565b005b34801561053457600080fd5b5061054f600480360381019061054a9190614a6a565b6118d3565b60405161055c9190615022565b60405180910390f35b34801561057157600080fd5b5061057a6118f8565b6040516105879190614f77565b60405180910390f35b34801561059c57600080fd5b506105b760048036038101906105b29190614a6a565b611921565b6040516105c49190615022565b60405180910390f35b3480156105d957600080fd5b506105e2611946565b6040516105ef9190615022565b60405180910390f35b34801561060457600080fd5b5061061f600480360381019061061a9190614828565b6119d8565b005b34801561062d57600080fd5b5061064860048036038101906106439190614a6a565b611b59565b6040516106559190615022565b60405180910390f35b610666611b7e565b005b34801561067457600080fd5b5061067d611b8a565b60405161068a91906152b6565b60405180910390f35b34801561069f57600080fd5b506106ba60048036038101906106b591906147a5565b611ba4565b005b3480156106c857600080fd5b506106e360048036038101906106de9190614a6a565b611c06565b6040516106f09190615022565b60405180910390f35b34801561070557600080fd5b50610720600480360381019061071b9190614a6a565b611c2b565b60405161072f93929190615264565b60405180910390f35b610740611c60565b005b34801561074e57600080fd5b5061076960048036038101906107649190614b8e565b611d23565b005b34801561077757600080fd5b50610792600480360381019061078d9190614712565b611dcb565b60405161079f9190615007565b60405180910390f35b3480156107b457600080fd5b506107cf60048036038101906107ca91906146e5565b611e5f565b005b3480156107dd57600080fd5b506107f860048036038101906107f391906148a8565b612008565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061086d575061086c8261212a565b5b9050919050565b61087c61220c565b73ffffffffffffffffffffffffffffffffffffffff1661089a6118f8565b73ffffffffffffffffffffffffffffffffffffffff16146108f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108e7906151c4565b60405180910390fd5b6000825167ffffffffffffffff81111561090d5761090c6158a3565b5b60405190808252806020026020018201604052801561093b5781602001602082028036833780820191505090505b50905060005b83518110156109cc5761099a8482815181106109605761095f615874565b5b602002602001015184838151811061097b5761097a615874565b5b60200260200101516fffffffffffffffffffffffffffffffff16612214565b8282815181106109ad576109ac615874565b5b60200260200101818152505080806109c49061573e565b915050610941565b5080601390805190602001906109e3929190613f6f565b50505050565b6060600180546109f8906156db565b80601f0160208091040260200160405190810160405280929190818152602001828054610a24906156db565b8015610a715780601f10610a4657610100808354040283529160200191610a71565b820191906000526020600020905b815481529060010190602001808311610a5457829003601f168201915b5050505050905090565b6000610a868261224c565b610ac5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610abc906151a4565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b0b8261150d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7390615204565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b9b61220c565b73ffffffffffffffffffffffffffffffffffffffff161480610bca5750610bc981610bc461220c565b611dcb565b5b610c09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0090615124565b60405180910390fd5b610c1383836122b8565b505050565b600080600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401610c769190614f77565b60206040518083038186803b158015610c8e57600080fd5b505afa158015610ca2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cc69190614a97565b1115610d8157600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c593360006040518363ffffffff1660e01b8152600401610d2a929190614fde565b60206040518083038186803b158015610d4257600080fd5b505afa158015610d56573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d7a9190614a97565b9050610ee6565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401610dde9190614f77565b60206040518083038186803b158015610df657600080fd5b505afa158015610e0a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2e9190614a97565b1115610ee557600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c593360006040518363ffffffff1660e01b8152600401610e92929190614fde565b60206040518083038186803b158015610eaa57600080fd5b505afa158015610ebe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ee29190614a97565b90505b5b60008060005b601380549050811015610f8657600080610f2360138481548110610f1357610f12615874565b5b9060005260206000200154612371565b915091508077ffffffffffffffffffffffffffffffffffffffffffffffff163410610f7157826001601380549050610f5b9190615563565b610f659190615563565b94508193505050610f86565b50508080610f7e9061573e565b915050610eec565b506013805490508467ffffffffffffffff161115610fa2578391505b600083905060808367ffffffffffffffff16901b8117905060c0600d60149054906101000a900467ffffffffffffffff1667ffffffffffffffff16901b811790506000610fef600b612383565b905081600f6000838152602001908152602001600020819055506001600e6000600d60149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200190815260200160002060008282546110579190615482565b925050819055506110683382612391565b611072600b6123af565b505050505050565b6000600980549050905090565b61109861109261220c565b826123c5565b6110d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ce90615224565b60405180910390fd5b6110e28383836124a3565b505050565b600e6020528060005260406000206000915090505481565b600061110a836116e1565b821061114b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114290615044565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6111ac61220c565b73ffffffffffffffffffffffffffffffffffffffff166111ca6118f8565b73ffffffffffffffffffffffffffffffffffffffff1614611220576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611217906151c4565b60405180910390fd5b60006040518060c00160405280886fffffffffffffffffffffffffffffffff19168152602001876fffffffffffffffffffffffffffffffff19168152602001866fffffffffffffffffffffffffffffffff19168152602001856fffffffffffffffffffffffffffffffff19168152602001846fffffffffffffffffffffffffffffffff19168152602001836fffffffffffffffffffffffffffffffff1916815250905060008a66ffffffffffffff16905060388a60ff166fffffffffffffffffffffffffffffffff16901b8117905060408967ffffffffffffffff166fffffffffffffffffffffffffffffffff16901b811790508160126000836fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff021916908360801c021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff021916908360801c021790555060408201518160010160006101000a8154816fffffffffffffffffffffffffffffffff021916908360801c021790555060608201518160010160106101000a8154816fffffffffffffffffffffffffffffffff021916908360801c021790555060808201518160020160006101000a8154816fffffffffffffffffffffffffffffffff021916908360801c021790555060a08201518160020160106101000a8154816fffffffffffffffffffffffffffffffff021916908360801c02179055509050505050505050505050505050565b61149783838360405180602001604052806000815250611ba4565b505050565b60006114a661107a565b82106114e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114de90615244565b60405180910390fd5b600982815481106114fb576114fa615874565b5b90600052602060002001549050919050565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156115b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ad90615164565b60405180910390fd5b80915050919050565b6115c761220c565b73ffffffffffffffffffffffffffffffffffffffff166115e56118f8565b73ffffffffffffffffffffffffffffffffffffffff161461163b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611632906151c4565b60405180910390fd5b60005b82518110156116dc5781818151811061165a57611659615874565b5b60200260200101516010600085848151811061167957611678615874565b5b60200260200101516fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff1916815260200190815260200160002090805190602001906116c8929190613fbc565b5080806116d49061573e565b91505061163e565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611752576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174990615144565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6117a161220c565b73ffffffffffffffffffffffffffffffffffffffff166117bf6118f8565b73ffffffffffffffffffffffffffffffffffffffff1614611815576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180c906151c4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b606060006118e0836126ff565b90506118f0838260400151612b71565b915050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600061192e836126ff565b905061193e838260800151612b71565b915050919050565b606060028054611955906156db565b80601f0160208091040260200160405190810160405280929190818152602001828054611981906156db565b80156119ce5780601f106119a3576101008083540402835291602001916119ce565b820191906000526020600020905b8154815290600101906020018083116119b157829003601f168201915b5050505050905090565b6119e061220c565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a45906150e4565b60405180910390fd5b8060066000611a5b61220c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611b0861220c565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611b4d9190615007565b60405180910390a35050565b60606000611b66836126ff565b9050611b76838260600151612b71565b915050919050565b611b886000610c18565b565b600d60149054906101000a900467ffffffffffffffff1681565b611bb5611baf61220c565b836123c5565b611bf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611beb90615224565b60405180910390fd5b611c0084848484612c48565b50505050565b60606000611c13836126ff565b9050611c23838260a00151612b71565b915050919050565b600080600080600f6000868152602001908152602001600020549050809350608081901c925060c081901c9150509193909250565b611c6861220c565b73ffffffffffffffffffffffffffffffffffffffff16611c866118f8565b73ffffffffffffffffffffffffffffffffffffffff1614611cdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd3906151c4565b60405180910390fd5b611ce461220c565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050611d2157600080fd5b565b611d2b61220c565b73ffffffffffffffffffffffffffffffffffffffff16611d496118f8565b73ffffffffffffffffffffffffffffffffffffffff1614611d9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d96906151c4565b60405180910390fd5b80600d60146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611e6761220c565b73ffffffffffffffffffffffffffffffffffffffff16611e856118f8565b73ffffffffffffffffffffffffffffffffffffffff1614611edb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed2906151c4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4290615084565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61201061220c565b73ffffffffffffffffffffffffffffffffffffffff1661202e6118f8565b73ffffffffffffffffffffffffffffffffffffffff1614612084576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207b906151c4565b60405180910390fd5b60005b8251811015612125578181815181106120a3576120a2615874565b5b6020026020010151601160008584815181106120c2576120c1615874565b5b60200260200101516fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020019081526020016000209080519060200190612111929190614042565b50808061211d9061573e565b915050612087565b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806121f557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612205575061220482612ca4565b5b9050919050565b600033905090565b60008267ffffffffffffffff16905060408277ffffffffffffffffffffffffffffffffffffffffffffffff16901b8117905092915050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661232b8361150d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080829150604083901c9050915091565b600081600001549050919050565b6123ab828260405180602001604052806000815250612d0e565b5050565b6001816000016000828254019250508190555050565b60006123d08261224c565b61240f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240690615104565b60405180910390fd5b600061241a8361150d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061248957508373ffffffffffffffffffffffffffffffffffffffff1661247184610a7b565b73ffffffffffffffffffffffffffffffffffffffff16145b8061249a57506124998185611dcb565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166124c38261150d565b73ffffffffffffffffffffffffffffffffffffffff1614612519576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612510906151e4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612589576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612580906150c4565b60405180910390fd5b612594838383612d69565b61259f6000826122b8565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125ef9190615563565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126469190615482565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612707614107565b600080600061271585611c2b565b925092509250600080846fffffffffffffffffffffffffffffffff16111561273c57600190505b60008267ffffffffffffffff16905060388260ff166fffffffffffffffffffffffffffffffff16901b8117905060408467ffffffffffffffff166fffffffffffffffffffffffffffffffff16901b81179050600060126000836fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060c00160405290816000820160009054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016000820160109054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016001820160009054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016001820160109054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016002820160009054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016002820160109054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff1916815250509050600060801b6fffffffffffffffffffffffffffffffff191681600001516fffffffffffffffffffffffffffffffff19161461298557809650505050505050612b6c565b8367ffffffffffffffff16915060388360ff166fffffffffffffffffffffffffffffffff16901b8217915060126000836fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060c00160405290816000820160009054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016000820160109054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016001820160009054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016001820160109054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016002820160009054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016002820160109054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff19168152505090508096505050505050505b919050565b6060600060116000846fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff19168152602001908152602001600020805480602002602001604051908101604052809291908181526020018280548015612c2e57602002820191906000526020600020906000905b82829054906101000a900460801b6fffffffffffffffffffffffffffffffff191681526020019060100190602082600f01049283019260010382029150808411612be75790505b50505050509050612c3f8482612e7d565b91505092915050565b612c538484846124a3565b612c5f848484846135a9565b612c9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c9590615064565b60405180910390fd5b50505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612d188383613740565b612d2560008484846135a9565b612d64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d5b90615064565b60405180910390fd5b505050565b612d7483838361390e565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612db757612db281613913565b612df6565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612df557612df4838261395c565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e3957612e3481613ac9565b612e78565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612e7757612e768282613b9a565b5b5b505050565b6060806000806000612e8e87611c2b565b92509250925060005b865181101561359b577f5f746f6b656e5f696400000000000000000000000000000000000000000000006fffffffffffffffffffffffffffffffff1916878281518110612ee757612ee6615874565b5b60200260200101516fffffffffffffffffffffffffffffffff19161415612f2157612f1a85612f158a613c19565b613d7a565b9450613588565b7f5f6469736369706c655f696400000000000000000000000000000000000000006fffffffffffffffffffffffffffffffff1916878281518110612f6857612f67615874565b5b60200260200101516fffffffffffffffffffffffffffffffff19161415612fb457612fad85612fa8866fffffffffffffffffffffffffffffffff16613c19565b613d7a565b9450613587565b7f5f6c6576656c00000000000000000000000000000000000000000000000000006fffffffffffffffffffffffffffffffff1916878281518110612ffb57612ffa615874565b5b60200260200101516fffffffffffffffffffffffffffffffff1916141561303f57613038856130338567ffffffffffffffff16613c19565b613d7a565b9450613586565b7f5f766967696c00000000000000000000000000000000000000000000000000006fffffffffffffffffffffffffffffffff191687828151811061308657613085615874565b5b60200260200101516fffffffffffffffffffffffffffffffff191614156130ca576130c3856130be8467ffffffffffffffff16613c19565b613d7a565b9450613585565b7f24000000000000000000000000000000000000000000000000000000000000008782815181106130fe576130fd615874565b5b602002602001015160006010811061311957613118615874565b5b1a60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415613179576131728561316d8a8a85815181106131605761315f615874565b5b6020026020010151612b71565b613d7a565b9450613584565b7f7b000000000000000000000000000000000000000000000000000000000000008782815181106131ad576131ac615874565b5b60200260200101516000601081106131c8576131c7615874565b5b1a60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916141561349b5760606000806001846132069190615482565b90505b8951811015613364577f7d000000000000000000000000000000000000000000000000000000000000008a828151811061324657613245615874565b5b602002602001015160006010811061326157613260615874565b5b1a60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614801561333957508984815181106132a2576132a1615874565b5b60200260200101516001601081106132bd576132bc615874565b5b1a60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168a82815181106132f6576132f5615874565b5b602002602001015160016010811061331157613310615874565b5b1a60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b1561334357613364565b818061334e9061573e565b925050808061335c9061573e565b915050613209565b5060008167ffffffffffffffff811115613381576133806158a3565b5b6040519080825280602002602001820160405280156133af5781602001602082028036833780820191505090505b5090506000806001866133c29190615482565b90505b8b518110156134715783821015613459578b81815181106133e9576133e8615874565b5b602002602001015183838151811061340457613403615874565b5b60200260200101906fffffffffffffffffffffffffffffffff191690816fffffffffffffffffffffffffffffffff19168152505081806134439061573e565b92505085806134519061573e565b96505061345e565b613471565b80806134699061573e565b9150506133c5565b5061347c8c83612e7d565b93506134908961348b86613da6565b613d7a565b985050505050613583565b61358085601060008a85815181106134b6576134b5615874565b5b60200260200101516fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff1916815260200190815260200160002080546134fd906156db565b80601f0160208091040260200160405190810160405280929190818152602001828054613529906156db565b80156135765780601f1061354b57610100808354040283529160200191613576565b820191906000526020600020905b81548152906001019060200180831161355957829003601f168201915b5050505050613d7a565b94505b5b5b5b5b5b80806135939061573e565b915050612e97565b508394505050505092915050565b60006135ca8473ffffffffffffffffffffffffffffffffffffffff16613dd7565b15613733578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026135f361220c565b8786866040518563ffffffff1660e01b81526004016136159493929190614f92565b602060405180830381600087803b15801561362f57600080fd5b505af192505050801561366057506040513d601f19601f8201168201806040525081019061365d9190614a3d565b60015b6136e3573d8060008114613690576040519150601f19603f3d011682016040523d82523d6000602084013e613695565b606091505b506000815114156136db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136d290615064565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613738565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156137b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137a790615184565b60405180910390fd5b6137b98161224c565b156137f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137f0906150a4565b60405180910390fd5b61380560008383612d69565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546138559190615482565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613969846116e1565b6139739190615563565b9050600060086000848152602001908152602001600020549050818114613a58576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600980549050613add9190615563565b90506000600a6000848152602001908152602001600020549050600060098381548110613b0d57613b0c615874565b5b906000526020600020015490508060098381548110613b2f57613b2e615874565b5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a6000858152602001908152602001600020600090556009805480613b7e57613b7d615845565b5b6001900381819060005260206000200160009055905550505050565b6000613ba5836116e1565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b60606000821415613c61576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613d75565b600082905060005b60008214613c93578080613c7c9061573e565b915050600a82613c8c91906154d8565b9150613c69565b60008167ffffffffffffffff811115613caf57613cae6158a3565b5b6040519080825280601f01601f191660200182016040528015613ce15781602001600182028036833780820191505090505b5090505b60008514613d6e57600182613cfa9190615563565b9150600a85613d099190615787565b6030613d159190615482565b60f81b818381518110613d2b57613d2a615874565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613d6791906154d8565b9450613ce5565b8093505050505b919050565b60608282604051602001613d8f929190614f3c565b604051602081830303815290604052905092915050565b6060613db182613dea565b604051602001613dc19190614f60565b6040516020818303038152906040529050919050565b600080823b905060008111915050919050565b6060600082511415613e0d57604051806020016040528060008152509050613f6a565b6000604051806060016040528060408152602001615e736040913990506000600360028551613e3c9190615482565b613e4691906154d8565b6004613e529190615509565b90506000602082613e639190615482565b67ffffffffffffffff811115613e7c57613e7b6158a3565b5b6040519080825280601f01601f191660200182016040528015613eae5781602001600182028036833780820191505090505b509050818152600183018586518101602084015b81831015613f29576003830192508251603f8160121c1685015160f81b8252600182019150603f81600c1c1685015160f81b8252600182019150603f8160061c1685015160f81b8252600182019150603f811685015160f81b825260018201915050613ec2565b600389510660018114613f435760028114613f5357613f5e565b613d3d60f01b6002830352613f5e565b603d60f81b60018303525b50505050508093505050505b919050565b828054828255906000526020600020908101928215613fab579160200282015b82811115613faa578251825591602001919060010190613f8f565b5b509050613fb891906141af565b5090565b828054613fc8906156db565b90600052602060002090601f016020900481019282613fea5760008555614031565b82601f1061400357805160ff1916838001178555614031565b82800160010185558215614031579182015b82811115614030578251825591602001919060010190614015565b5b50905061403e91906141af565b5090565b828054828255906000526020600020906001016002900481019282156140f65791602002820160005b838211156140b857835183826101000a8154816fffffffffffffffffffffffffffffffff021916908360801c02179055509260200192601001602081600f0104928301926001030261406b565b80156140f45782816101000a8154906fffffffffffffffffffffffffffffffff0219169055601001602081600f010492830192600103026140b8565b505b50905061410391906141af565b5090565b6040518060c0016040528060006fffffffffffffffffffffffffffffffff1916815260200160006fffffffffffffffffffffffffffffffff1916815260200160006fffffffffffffffffffffffffffffffff1916815260200160006fffffffffffffffffffffffffffffffff1916815260200160006fffffffffffffffffffffffffffffffff1916815260200160006fffffffffffffffffffffffffffffffff191681525090565b5b808211156141c85760008160009055506001016141b0565b5090565b60006141df6141da846152f6565b6152d1565b90508083825260208201905082856020860282011115614202576142016158d7565b5b60005b8581101561425057813567ffffffffffffffff811115614228576142276158d2565b5b80860161423589826144ff565b85526020850194506020840193505050600181019050614205565b5050509392505050565b600061426d61426884615322565b6152d1565b905080838252602082019050828560208602820111156142905761428f6158d7565b5b60005b858110156142c057816142a688826145cc565b845260208401935060208301925050600181019050614293565b5050509392505050565b60006142dd6142d88461534e565b6152d1565b90508083825260208201905082856020860282011115614300576142ff6158d7565b5b60005b8581101561434e57813567ffffffffffffffff811115614326576143256158d2565b5b8086016143338982614639565b85526020850194506020840193505050600181019050614303565b5050509392505050565b600061436b6143668461537a565b6152d1565b9050808382526020820190508285602086028201111561438e5761438d6158d7565b5b60005b858110156143be57816143a48882614667565b845260208401935060208301925050600181019050614391565b5050509392505050565b60006143db6143d6846153a6565b6152d1565b905080838252602082019050828560208602820111156143fe576143fd6158d7565b5b60005b8581101561442e578161441488826146bb565b845260208401935060208301925050600181019050614401565b5050509392505050565b600061444b614446846153d2565b6152d1565b905082815260208101848484011115614467576144666158dc565b5b614472848285615699565b509392505050565b600061448d61448884615403565b6152d1565b9050828152602081018484840111156144a9576144a86158dc565b5b6144b4848285615699565b509392505050565b6000813590506144cb81615da3565b92915050565b600082601f8301126144e6576144e56158d2565b5b81356144f68482602086016141cc565b91505092915050565b600082601f830112614514576145136158d2565b5b813561452484826020860161425a565b91505092915050565b600082601f830112614542576145416158d2565b5b81356145528482602086016142ca565b91505092915050565b600082601f8301126145705761456f6158d2565b5b8135614580848260208601614358565b91505092915050565b600082601f83011261459e5761459d6158d2565b5b81356145ae8482602086016143c8565b91505092915050565b6000813590506145c681615dba565b92915050565b6000813590506145db81615dd1565b92915050565b6000813590506145f081615de8565b92915050565b60008151905061460581615de8565b92915050565b600082601f8301126146205761461f6158d2565b5b8135614630848260208601614438565b91505092915050565b600082601f83011261464e5761464d6158d2565b5b813561465e84826020860161447a565b91505092915050565b60008135905061467681615dff565b92915050565b60008135905061468b81615e16565b92915050565b6000815190506146a081615e16565b92915050565b6000813590506146b581615e2d565b92915050565b6000813590506146ca81615e44565b92915050565b6000813590506146df81615e5b565b92915050565b6000602082840312156146fb576146fa6158e6565b5b6000614709848285016144bc565b91505092915050565b60008060408385031215614729576147286158e6565b5b6000614737858286016144bc565b9250506020614748858286016144bc565b9150509250929050565b60008060006060848603121561476b5761476a6158e6565b5b6000614779868287016144bc565b935050602061478a868287016144bc565b925050604061479b8682870161467c565b9150509250925092565b600080600080608085870312156147bf576147be6158e6565b5b60006147cd878288016144bc565b94505060206147de878288016144bc565b93505060406147ef8782880161467c565b925050606085013567ffffffffffffffff8111156148105761480f6158e1565b5b61481c8782880161460b565b91505092959194509250565b6000806040838503121561483f5761483e6158e6565b5b600061484d858286016144bc565b925050602061485e858286016145b7565b9150509250929050565b6000806040838503121561487f5761487e6158e6565b5b600061488d858286016144bc565b925050602061489e8582860161467c565b9150509250929050565b600080604083850312156148bf576148be6158e6565b5b600083013567ffffffffffffffff8111156148dd576148dc6158e1565b5b6148e9858286016144ff565b925050602083013567ffffffffffffffff81111561490a576149096158e1565b5b614916858286016144d1565b9150509250929050565b60008060408385031215614937576149366158e6565b5b600083013567ffffffffffffffff811115614955576149546158e1565b5b614961858286016144ff565b925050602083013567ffffffffffffffff811115614982576149816158e1565b5b61498e8582860161452d565b9150509250929050565b600080604083850312156149af576149ae6158e6565b5b600083013567ffffffffffffffff8111156149cd576149cc6158e1565b5b6149d985828601614589565b925050602083013567ffffffffffffffff8111156149fa576149f96158e1565b5b614a068582860161455b565b9150509250929050565b600060208284031215614a2657614a256158e6565b5b6000614a34848285016145e1565b91505092915050565b600060208284031215614a5357614a526158e6565b5b6000614a61848285016145f6565b91505092915050565b600060208284031215614a8057614a7f6158e6565b5b6000614a8e8482850161467c565b91505092915050565b600060208284031215614aad57614aac6158e6565b5b6000614abb84828501614691565b91505092915050565b60008060008060008060008060006101208a8c031215614ae757614ae66158e6565b5b6000614af58c828d016146a6565b9950506020614b068c828d016146d0565b9850506040614b178c828d016146bb565b9750506060614b288c828d016145cc565b9650506080614b398c828d016145cc565b95505060a0614b4a8c828d016145cc565b94505060c0614b5b8c828d016145cc565b93505060e0614b6c8c828d016145cc565b925050610100614b7e8c828d016145cc565b9150509295985092959850929598565b600060208284031215614ba457614ba36158e6565b5b6000614bb2848285016146bb565b91505092915050565b614bc481615597565b82525050565b614bd3816155a9565b82525050565b6000614be482615434565b614bee818561544a565b9350614bfe8185602086016156a8565b614c07816158eb565b840191505092915050565b6000614c1d82615434565b614c27818561545b565b9350614c378185602086016156a8565b80840191505092915050565b614c4c81615687565b82525050565b6000614c5d8261543f565b614c678185615466565b9350614c778185602086016156a8565b614c80816158eb565b840191505092915050565b6000614c968261543f565b614ca08185615477565b9350614cb08185602086016156a8565b80840191505092915050565b6000614cc9602b83615466565b9150614cd4826158fc565b604082019050919050565b6000614cec603283615466565b9150614cf78261594b565b604082019050919050565b6000614d0f602683615466565b9150614d1a8261599a565b604082019050919050565b6000614d32601c83615466565b9150614d3d826159e9565b602082019050919050565b6000614d55602483615466565b9150614d6082615a12565b604082019050919050565b6000614d78601983615466565b9150614d8382615a61565b602082019050919050565b6000614d9b602c83615466565b9150614da682615a8a565b604082019050919050565b6000614dbe603883615466565b9150614dc982615ad9565b604082019050919050565b6000614de1602a83615466565b9150614dec82615b28565b604082019050919050565b6000614e04602983615466565b9150614e0f82615b77565b604082019050919050565b6000614e27602083615466565b9150614e3282615bc6565b602082019050919050565b6000614e4a602c83615466565b9150614e5582615bef565b604082019050919050565b6000614e6d602083615466565b9150614e7882615c3e565b602082019050919050565b6000614e90602983615466565b9150614e9b82615c67565b604082019050919050565b6000614eb3602183615466565b9150614ebe82615cb6565b604082019050919050565b6000614ed6603183615466565b9150614ee182615d05565b604082019050919050565b6000614ef9602c83615466565b9150614f0482615d54565b604082019050919050565b614f188161560d565b82525050565b614f2781615649565b82525050565b614f3681615666565b82525050565b6000614f488285614c12565b9150614f548284614c12565b91508190509392505050565b6000614f6c8284614c8b565b915081905092915050565b6000602082019050614f8c6000830184614bbb565b92915050565b6000608082019050614fa76000830187614bbb565b614fb46020830186614bbb565b614fc16040830185614f1e565b8181036060830152614fd38184614bd9565b905095945050505050565b6000604082019050614ff36000830185614bbb565b6150006020830184614c43565b9392505050565b600060208201905061501c6000830184614bca565b92915050565b6000602082019050818103600083015261503c8184614c52565b905092915050565b6000602082019050818103600083015261505d81614cbc565b9050919050565b6000602082019050818103600083015261507d81614cdf565b9050919050565b6000602082019050818103600083015261509d81614d02565b9050919050565b600060208201905081810360008301526150bd81614d25565b9050919050565b600060208201905081810360008301526150dd81614d48565b9050919050565b600060208201905081810360008301526150fd81614d6b565b9050919050565b6000602082019050818103600083015261511d81614d8e565b9050919050565b6000602082019050818103600083015261513d81614db1565b9050919050565b6000602082019050818103600083015261515d81614dd4565b9050919050565b6000602082019050818103600083015261517d81614df7565b9050919050565b6000602082019050818103600083015261519d81614e1a565b9050919050565b600060208201905081810360008301526151bd81614e3d565b9050919050565b600060208201905081810360008301526151dd81614e60565b9050919050565b600060208201905081810360008301526151fd81614e83565b9050919050565b6000602082019050818103600083015261521d81614ea6565b9050919050565b6000602082019050818103600083015261523d81614ec9565b9050919050565b6000602082019050818103600083015261525d81614eec565b9050919050565b60006060820190506152796000830186614f0f565b6152866020830185614f2d565b6152936040830184614f2d565b949350505050565b60006020820190506152b06000830184614f1e565b92915050565b60006020820190506152cb6000830184614f2d565b92915050565b60006152db6152ec565b90506152e7828261570d565b919050565b6000604051905090565b600067ffffffffffffffff821115615311576153106158a3565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561533d5761533c6158a3565b5b602082029050602081019050919050565b600067ffffffffffffffff821115615369576153686158a3565b5b602082029050602081019050919050565b600067ffffffffffffffff821115615395576153946158a3565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156153c1576153c06158a3565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156153ed576153ec6158a3565b5b6153f6826158eb565b9050602081019050919050565b600067ffffffffffffffff82111561541e5761541d6158a3565b5b615427826158eb565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061548d82615649565b915061549883615649565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156154cd576154cc6157b8565b5b828201905092915050565b60006154e382615649565b91506154ee83615649565b9250826154fe576154fd6157e7565b5b828204905092915050565b600061551482615649565b915061551f83615649565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615558576155576157b8565b5b828202905092915050565b600061556e82615649565b915061557983615649565b92508282101561558c5761558b6157b8565b5b828203905092915050565b60006155a282615629565b9050919050565b60008115159050919050565b60007fffffffffffffffffffffffffffffffff0000000000000000000000000000000082169050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600066ffffffffffffff82169050919050565b600067ffffffffffffffff82169050919050565b600060ff82169050919050565b600061569282615649565b9050919050565b82818337600083830152505050565b60005b838110156156c65780820151818401526020810190506156ab565b838111156156d5576000848401525b50505050565b600060028204905060018216806156f357607f821691505b6020821081141561570757615706615816565b5b50919050565b615716826158eb565b810181811067ffffffffffffffff82111715615735576157346158a3565b5b80604052505050565b600061574982615649565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561577c5761577b6157b8565b5b600182019050919050565b600061579282615649565b915061579d83615649565b9250826157ad576157ac6157e7565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b615dac81615597565b8114615db757600080fd5b50565b615dc3816155a9565b8114615dce57600080fd5b50565b615dda816155b5565b8114615de557600080fd5b50565b615df1816155e1565b8114615dfc57600080fd5b50565b615e088161560d565b8114615e1357600080fd5b50565b615e1f81615649565b8114615e2a57600080fd5b50565b615e3681615653565b8114615e4157600080fd5b50565b615e4d81615666565b8114615e5857600080fd5b50565b615e648161567a565b8114615e6f57600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa26469706673582212209638b380d3d7ca6643a26491bb7e7950c35b0e17b4f4122ebf387ede3329547e64736f6c63430008070033000000000000000000000000acd3cf818efe8ddce84c585ddcb147c4c844d3b3000000000000000000000000f65d6475869f61c6dce6ac194b6a7dbe45a91c63

Deployed Bytecode

0x6080604052600436106101f25760003560e01c8063715018a61161010d578063b4f0345e116100a0578063cf41d6f81161006f578063cf41d6f814610738578063e7ee20d914610742578063e985e9c51461076b578063f2fde38b146107a8578063f94c20b9146107d1576101f9565b8063b4f0345e14610668578063b88d4fde14610693578063c87b56dd146106bc578063ca1d6cee146106f9576101f9565b806395d89b41116100dc57806395d89b41146105cd578063a22cb465146105f8578063a574cea414610621578063a7ba3dff1461065e576101f9565b8063715018a61461051157806378a882e8146105285780638da5cb5b146105655780638f742d1614610590576101f9565b80632cb62796116101855780634f6ccce7116101545780634f6ccce7146104315780636352211e1461046e5780636b73e23f146104ab57806370a08231146104d4576101f9565b80632cb62796146103655780632f745c59146103a25780632fc9e885146103df57806342842e0e14610408576101f9565b8063095ea7b3116101c1578063095ea7b3146102cc5780630a5fb137146102f557806318160ddd1461031157806323b872dd1461033c576101f9565b806301ffc9a7146101fe57806305e631fe1461023b57806306fdde0314610264578063081812fc1461028f576101f9565b366101f957005b600080fd5b34801561020a57600080fd5b5061022560048036038101906102209190614a10565b6107fa565b6040516102329190615007565b60405180910390f35b34801561024757600080fd5b50610262600480360381019061025d9190614998565b610874565b005b34801561027057600080fd5b506102796109e9565b6040516102869190615022565b60405180910390f35b34801561029b57600080fd5b506102b660048036038101906102b19190614a6a565b610a7b565b6040516102c39190614f77565b60405180910390f35b3480156102d857600080fd5b506102f360048036038101906102ee9190614868565b610b00565b005b61030f600480360381019061030a9190614b8e565b610c18565b005b34801561031d57600080fd5b5061032661107a565b604051610333919061529b565b60405180910390f35b34801561034857600080fd5b50610363600480360381019061035e9190614752565b611087565b005b34801561037157600080fd5b5061038c60048036038101906103879190614b8e565b6110e7565b604051610399919061529b565b60405180910390f35b3480156103ae57600080fd5b506103c960048036038101906103c49190614868565b6110ff565b6040516103d6919061529b565b60405180910390f35b3480156103eb57600080fd5b5061040660048036038101906104019190614ac4565b6111a4565b005b34801561041457600080fd5b5061042f600480360381019061042a9190614752565b61147c565b005b34801561043d57600080fd5b5061045860048036038101906104539190614a6a565b61149c565b604051610465919061529b565b60405180910390f35b34801561047a57600080fd5b5061049560048036038101906104909190614a6a565b61150d565b6040516104a29190614f77565b60405180910390f35b3480156104b757600080fd5b506104d260048036038101906104cd9190614920565b6115bf565b005b3480156104e057600080fd5b506104fb60048036038101906104f691906146e5565b6116e1565b604051610508919061529b565b60405180910390f35b34801561051d57600080fd5b50610526611799565b005b34801561053457600080fd5b5061054f600480360381019061054a9190614a6a565b6118d3565b60405161055c9190615022565b60405180910390f35b34801561057157600080fd5b5061057a6118f8565b6040516105879190614f77565b60405180910390f35b34801561059c57600080fd5b506105b760048036038101906105b29190614a6a565b611921565b6040516105c49190615022565b60405180910390f35b3480156105d957600080fd5b506105e2611946565b6040516105ef9190615022565b60405180910390f35b34801561060457600080fd5b5061061f600480360381019061061a9190614828565b6119d8565b005b34801561062d57600080fd5b5061064860048036038101906106439190614a6a565b611b59565b6040516106559190615022565b60405180910390f35b610666611b7e565b005b34801561067457600080fd5b5061067d611b8a565b60405161068a91906152b6565b60405180910390f35b34801561069f57600080fd5b506106ba60048036038101906106b591906147a5565b611ba4565b005b3480156106c857600080fd5b506106e360048036038101906106de9190614a6a565b611c06565b6040516106f09190615022565b60405180910390f35b34801561070557600080fd5b50610720600480360381019061071b9190614a6a565b611c2b565b60405161072f93929190615264565b60405180910390f35b610740611c60565b005b34801561074e57600080fd5b5061076960048036038101906107649190614b8e565b611d23565b005b34801561077757600080fd5b50610792600480360381019061078d9190614712565b611dcb565b60405161079f9190615007565b60405180910390f35b3480156107b457600080fd5b506107cf60048036038101906107ca91906146e5565b611e5f565b005b3480156107dd57600080fd5b506107f860048036038101906107f391906148a8565b612008565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061086d575061086c8261212a565b5b9050919050565b61087c61220c565b73ffffffffffffffffffffffffffffffffffffffff1661089a6118f8565b73ffffffffffffffffffffffffffffffffffffffff16146108f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108e7906151c4565b60405180910390fd5b6000825167ffffffffffffffff81111561090d5761090c6158a3565b5b60405190808252806020026020018201604052801561093b5781602001602082028036833780820191505090505b50905060005b83518110156109cc5761099a8482815181106109605761095f615874565b5b602002602001015184838151811061097b5761097a615874565b5b60200260200101516fffffffffffffffffffffffffffffffff16612214565b8282815181106109ad576109ac615874565b5b60200260200101818152505080806109c49061573e565b915050610941565b5080601390805190602001906109e3929190613f6f565b50505050565b6060600180546109f8906156db565b80601f0160208091040260200160405190810160405280929190818152602001828054610a24906156db565b8015610a715780601f10610a4657610100808354040283529160200191610a71565b820191906000526020600020905b815481529060010190602001808311610a5457829003601f168201915b5050505050905090565b6000610a868261224c565b610ac5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610abc906151a4565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b0b8261150d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7390615204565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b9b61220c565b73ffffffffffffffffffffffffffffffffffffffff161480610bca5750610bc981610bc461220c565b611dcb565b5b610c09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0090615124565b60405180910390fd5b610c1383836122b8565b505050565b600080600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401610c769190614f77565b60206040518083038186803b158015610c8e57600080fd5b505afa158015610ca2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cc69190614a97565b1115610d8157600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c593360006040518363ffffffff1660e01b8152600401610d2a929190614fde565b60206040518083038186803b158015610d4257600080fd5b505afa158015610d56573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d7a9190614a97565b9050610ee6565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401610dde9190614f77565b60206040518083038186803b158015610df657600080fd5b505afa158015610e0a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2e9190614a97565b1115610ee557600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c593360006040518363ffffffff1660e01b8152600401610e92929190614fde565b60206040518083038186803b158015610eaa57600080fd5b505afa158015610ebe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ee29190614a97565b90505b5b60008060005b601380549050811015610f8657600080610f2360138481548110610f1357610f12615874565b5b9060005260206000200154612371565b915091508077ffffffffffffffffffffffffffffffffffffffffffffffff163410610f7157826001601380549050610f5b9190615563565b610f659190615563565b94508193505050610f86565b50508080610f7e9061573e565b915050610eec565b506013805490508467ffffffffffffffff161115610fa2578391505b600083905060808367ffffffffffffffff16901b8117905060c0600d60149054906101000a900467ffffffffffffffff1667ffffffffffffffff16901b811790506000610fef600b612383565b905081600f6000838152602001908152602001600020819055506001600e6000600d60149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200190815260200160002060008282546110579190615482565b925050819055506110683382612391565b611072600b6123af565b505050505050565b6000600980549050905090565b61109861109261220c565b826123c5565b6110d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ce90615224565b60405180910390fd5b6110e28383836124a3565b505050565b600e6020528060005260406000206000915090505481565b600061110a836116e1565b821061114b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114290615044565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6111ac61220c565b73ffffffffffffffffffffffffffffffffffffffff166111ca6118f8565b73ffffffffffffffffffffffffffffffffffffffff1614611220576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611217906151c4565b60405180910390fd5b60006040518060c00160405280886fffffffffffffffffffffffffffffffff19168152602001876fffffffffffffffffffffffffffffffff19168152602001866fffffffffffffffffffffffffffffffff19168152602001856fffffffffffffffffffffffffffffffff19168152602001846fffffffffffffffffffffffffffffffff19168152602001836fffffffffffffffffffffffffffffffff1916815250905060008a66ffffffffffffff16905060388a60ff166fffffffffffffffffffffffffffffffff16901b8117905060408967ffffffffffffffff166fffffffffffffffffffffffffffffffff16901b811790508160126000836fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff021916908360801c021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff021916908360801c021790555060408201518160010160006101000a8154816fffffffffffffffffffffffffffffffff021916908360801c021790555060608201518160010160106101000a8154816fffffffffffffffffffffffffffffffff021916908360801c021790555060808201518160020160006101000a8154816fffffffffffffffffffffffffffffffff021916908360801c021790555060a08201518160020160106101000a8154816fffffffffffffffffffffffffffffffff021916908360801c02179055509050505050505050505050505050565b61149783838360405180602001604052806000815250611ba4565b505050565b60006114a661107a565b82106114e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114de90615244565b60405180910390fd5b600982815481106114fb576114fa615874565b5b90600052602060002001549050919050565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156115b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ad90615164565b60405180910390fd5b80915050919050565b6115c761220c565b73ffffffffffffffffffffffffffffffffffffffff166115e56118f8565b73ffffffffffffffffffffffffffffffffffffffff161461163b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611632906151c4565b60405180910390fd5b60005b82518110156116dc5781818151811061165a57611659615874565b5b60200260200101516010600085848151811061167957611678615874565b5b60200260200101516fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff1916815260200190815260200160002090805190602001906116c8929190613fbc565b5080806116d49061573e565b91505061163e565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611752576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174990615144565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6117a161220c565b73ffffffffffffffffffffffffffffffffffffffff166117bf6118f8565b73ffffffffffffffffffffffffffffffffffffffff1614611815576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180c906151c4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b606060006118e0836126ff565b90506118f0838260400151612b71565b915050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600061192e836126ff565b905061193e838260800151612b71565b915050919050565b606060028054611955906156db565b80601f0160208091040260200160405190810160405280929190818152602001828054611981906156db565b80156119ce5780601f106119a3576101008083540402835291602001916119ce565b820191906000526020600020905b8154815290600101906020018083116119b157829003601f168201915b5050505050905090565b6119e061220c565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a45906150e4565b60405180910390fd5b8060066000611a5b61220c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611b0861220c565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611b4d9190615007565b60405180910390a35050565b60606000611b66836126ff565b9050611b76838260600151612b71565b915050919050565b611b886000610c18565b565b600d60149054906101000a900467ffffffffffffffff1681565b611bb5611baf61220c565b836123c5565b611bf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611beb90615224565b60405180910390fd5b611c0084848484612c48565b50505050565b60606000611c13836126ff565b9050611c23838260a00151612b71565b915050919050565b600080600080600f6000868152602001908152602001600020549050809350608081901c925060c081901c9150509193909250565b611c6861220c565b73ffffffffffffffffffffffffffffffffffffffff16611c866118f8565b73ffffffffffffffffffffffffffffffffffffffff1614611cdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd3906151c4565b60405180910390fd5b611ce461220c565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050611d2157600080fd5b565b611d2b61220c565b73ffffffffffffffffffffffffffffffffffffffff16611d496118f8565b73ffffffffffffffffffffffffffffffffffffffff1614611d9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d96906151c4565b60405180910390fd5b80600d60146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611e6761220c565b73ffffffffffffffffffffffffffffffffffffffff16611e856118f8565b73ffffffffffffffffffffffffffffffffffffffff1614611edb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed2906151c4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4290615084565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61201061220c565b73ffffffffffffffffffffffffffffffffffffffff1661202e6118f8565b73ffffffffffffffffffffffffffffffffffffffff1614612084576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207b906151c4565b60405180910390fd5b60005b8251811015612125578181815181106120a3576120a2615874565b5b6020026020010151601160008584815181106120c2576120c1615874565b5b60200260200101516fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020019081526020016000209080519060200190612111929190614042565b50808061211d9061573e565b915050612087565b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806121f557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612205575061220482612ca4565b5b9050919050565b600033905090565b60008267ffffffffffffffff16905060408277ffffffffffffffffffffffffffffffffffffffffffffffff16901b8117905092915050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661232b8361150d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080829150604083901c9050915091565b600081600001549050919050565b6123ab828260405180602001604052806000815250612d0e565b5050565b6001816000016000828254019250508190555050565b60006123d08261224c565b61240f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240690615104565b60405180910390fd5b600061241a8361150d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061248957508373ffffffffffffffffffffffffffffffffffffffff1661247184610a7b565b73ffffffffffffffffffffffffffffffffffffffff16145b8061249a57506124998185611dcb565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166124c38261150d565b73ffffffffffffffffffffffffffffffffffffffff1614612519576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612510906151e4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612589576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612580906150c4565b60405180910390fd5b612594838383612d69565b61259f6000826122b8565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125ef9190615563565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126469190615482565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612707614107565b600080600061271585611c2b565b925092509250600080846fffffffffffffffffffffffffffffffff16111561273c57600190505b60008267ffffffffffffffff16905060388260ff166fffffffffffffffffffffffffffffffff16901b8117905060408467ffffffffffffffff166fffffffffffffffffffffffffffffffff16901b81179050600060126000836fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060c00160405290816000820160009054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016000820160109054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016001820160009054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016001820160109054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016002820160009054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016002820160109054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff1916815250509050600060801b6fffffffffffffffffffffffffffffffff191681600001516fffffffffffffffffffffffffffffffff19161461298557809650505050505050612b6c565b8367ffffffffffffffff16915060388360ff166fffffffffffffffffffffffffffffffff16901b8217915060126000836fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060c00160405290816000820160009054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016000820160109054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016001820160009054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016001820160109054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016002820160009054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016002820160109054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff19168152505090508096505050505050505b919050565b6060600060116000846fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff19168152602001908152602001600020805480602002602001604051908101604052809291908181526020018280548015612c2e57602002820191906000526020600020906000905b82829054906101000a900460801b6fffffffffffffffffffffffffffffffff191681526020019060100190602082600f01049283019260010382029150808411612be75790505b50505050509050612c3f8482612e7d565b91505092915050565b612c538484846124a3565b612c5f848484846135a9565b612c9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c9590615064565b60405180910390fd5b50505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612d188383613740565b612d2560008484846135a9565b612d64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d5b90615064565b60405180910390fd5b505050565b612d7483838361390e565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612db757612db281613913565b612df6565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612df557612df4838261395c565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e3957612e3481613ac9565b612e78565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612e7757612e768282613b9a565b5b5b505050565b6060806000806000612e8e87611c2b565b92509250925060005b865181101561359b577f5f746f6b656e5f696400000000000000000000000000000000000000000000006fffffffffffffffffffffffffffffffff1916878281518110612ee757612ee6615874565b5b60200260200101516fffffffffffffffffffffffffffffffff19161415612f2157612f1a85612f158a613c19565b613d7a565b9450613588565b7f5f6469736369706c655f696400000000000000000000000000000000000000006fffffffffffffffffffffffffffffffff1916878281518110612f6857612f67615874565b5b60200260200101516fffffffffffffffffffffffffffffffff19161415612fb457612fad85612fa8866fffffffffffffffffffffffffffffffff16613c19565b613d7a565b9450613587565b7f5f6c6576656c00000000000000000000000000000000000000000000000000006fffffffffffffffffffffffffffffffff1916878281518110612ffb57612ffa615874565b5b60200260200101516fffffffffffffffffffffffffffffffff1916141561303f57613038856130338567ffffffffffffffff16613c19565b613d7a565b9450613586565b7f5f766967696c00000000000000000000000000000000000000000000000000006fffffffffffffffffffffffffffffffff191687828151811061308657613085615874565b5b60200260200101516fffffffffffffffffffffffffffffffff191614156130ca576130c3856130be8467ffffffffffffffff16613c19565b613d7a565b9450613585565b7f24000000000000000000000000000000000000000000000000000000000000008782815181106130fe576130fd615874565b5b602002602001015160006010811061311957613118615874565b5b1a60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415613179576131728561316d8a8a85815181106131605761315f615874565b5b6020026020010151612b71565b613d7a565b9450613584565b7f7b000000000000000000000000000000000000000000000000000000000000008782815181106131ad576131ac615874565b5b60200260200101516000601081106131c8576131c7615874565b5b1a60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916141561349b5760606000806001846132069190615482565b90505b8951811015613364577f7d000000000000000000000000000000000000000000000000000000000000008a828151811061324657613245615874565b5b602002602001015160006010811061326157613260615874565b5b1a60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614801561333957508984815181106132a2576132a1615874565b5b60200260200101516001601081106132bd576132bc615874565b5b1a60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168a82815181106132f6576132f5615874565b5b602002602001015160016010811061331157613310615874565b5b1a60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b1561334357613364565b818061334e9061573e565b925050808061335c9061573e565b915050613209565b5060008167ffffffffffffffff811115613381576133806158a3565b5b6040519080825280602002602001820160405280156133af5781602001602082028036833780820191505090505b5090506000806001866133c29190615482565b90505b8b518110156134715783821015613459578b81815181106133e9576133e8615874565b5b602002602001015183838151811061340457613403615874565b5b60200260200101906fffffffffffffffffffffffffffffffff191690816fffffffffffffffffffffffffffffffff19168152505081806134439061573e565b92505085806134519061573e565b96505061345e565b613471565b80806134699061573e565b9150506133c5565b5061347c8c83612e7d565b93506134908961348b86613da6565b613d7a565b985050505050613583565b61358085601060008a85815181106134b6576134b5615874565b5b60200260200101516fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff1916815260200190815260200160002080546134fd906156db565b80601f0160208091040260200160405190810160405280929190818152602001828054613529906156db565b80156135765780601f1061354b57610100808354040283529160200191613576565b820191906000526020600020905b81548152906001019060200180831161355957829003601f168201915b5050505050613d7a565b94505b5b5b5b5b5b80806135939061573e565b915050612e97565b508394505050505092915050565b60006135ca8473ffffffffffffffffffffffffffffffffffffffff16613dd7565b15613733578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026135f361220c565b8786866040518563ffffffff1660e01b81526004016136159493929190614f92565b602060405180830381600087803b15801561362f57600080fd5b505af192505050801561366057506040513d601f19601f8201168201806040525081019061365d9190614a3d565b60015b6136e3573d8060008114613690576040519150601f19603f3d011682016040523d82523d6000602084013e613695565b606091505b506000815114156136db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136d290615064565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613738565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156137b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137a790615184565b60405180910390fd5b6137b98161224c565b156137f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137f0906150a4565b60405180910390fd5b61380560008383612d69565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546138559190615482565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613969846116e1565b6139739190615563565b9050600060086000848152602001908152602001600020549050818114613a58576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600980549050613add9190615563565b90506000600a6000848152602001908152602001600020549050600060098381548110613b0d57613b0c615874565b5b906000526020600020015490508060098381548110613b2f57613b2e615874565b5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a6000858152602001908152602001600020600090556009805480613b7e57613b7d615845565b5b6001900381819060005260206000200160009055905550505050565b6000613ba5836116e1565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b60606000821415613c61576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613d75565b600082905060005b60008214613c93578080613c7c9061573e565b915050600a82613c8c91906154d8565b9150613c69565b60008167ffffffffffffffff811115613caf57613cae6158a3565b5b6040519080825280601f01601f191660200182016040528015613ce15781602001600182028036833780820191505090505b5090505b60008514613d6e57600182613cfa9190615563565b9150600a85613d099190615787565b6030613d159190615482565b60f81b818381518110613d2b57613d2a615874565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613d6791906154d8565b9450613ce5565b8093505050505b919050565b60608282604051602001613d8f929190614f3c565b604051602081830303815290604052905092915050565b6060613db182613dea565b604051602001613dc19190614f60565b6040516020818303038152906040529050919050565b600080823b905060008111915050919050565b6060600082511415613e0d57604051806020016040528060008152509050613f6a565b6000604051806060016040528060408152602001615e736040913990506000600360028551613e3c9190615482565b613e4691906154d8565b6004613e529190615509565b90506000602082613e639190615482565b67ffffffffffffffff811115613e7c57613e7b6158a3565b5b6040519080825280601f01601f191660200182016040528015613eae5781602001600182028036833780820191505090505b509050818152600183018586518101602084015b81831015613f29576003830192508251603f8160121c1685015160f81b8252600182019150603f81600c1c1685015160f81b8252600182019150603f8160061c1685015160f81b8252600182019150603f811685015160f81b825260018201915050613ec2565b600389510660018114613f435760028114613f5357613f5e565b613d3d60f01b6002830352613f5e565b603d60f81b60018303525b50505050508093505050505b919050565b828054828255906000526020600020908101928215613fab579160200282015b82811115613faa578251825591602001919060010190613f8f565b5b509050613fb891906141af565b5090565b828054613fc8906156db565b90600052602060002090601f016020900481019282613fea5760008555614031565b82601f1061400357805160ff1916838001178555614031565b82800160010185558215614031579182015b82811115614030578251825591602001919060010190614015565b5b50905061403e91906141af565b5090565b828054828255906000526020600020906001016002900481019282156140f65791602002820160005b838211156140b857835183826101000a8154816fffffffffffffffffffffffffffffffff021916908360801c02179055509260200192601001602081600f0104928301926001030261406b565b80156140f45782816101000a8154906fffffffffffffffffffffffffffffffff0219169055601001602081600f010492830192600103026140b8565b505b50905061410391906141af565b5090565b6040518060c0016040528060006fffffffffffffffffffffffffffffffff1916815260200160006fffffffffffffffffffffffffffffffff1916815260200160006fffffffffffffffffffffffffffffffff1916815260200160006fffffffffffffffffffffffffffffffff1916815260200160006fffffffffffffffffffffffffffffffff1916815260200160006fffffffffffffffffffffffffffffffff191681525090565b5b808211156141c85760008160009055506001016141b0565b5090565b60006141df6141da846152f6565b6152d1565b90508083825260208201905082856020860282011115614202576142016158d7565b5b60005b8581101561425057813567ffffffffffffffff811115614228576142276158d2565b5b80860161423589826144ff565b85526020850194506020840193505050600181019050614205565b5050509392505050565b600061426d61426884615322565b6152d1565b905080838252602082019050828560208602820111156142905761428f6158d7565b5b60005b858110156142c057816142a688826145cc565b845260208401935060208301925050600181019050614293565b5050509392505050565b60006142dd6142d88461534e565b6152d1565b90508083825260208201905082856020860282011115614300576142ff6158d7565b5b60005b8581101561434e57813567ffffffffffffffff811115614326576143256158d2565b5b8086016143338982614639565b85526020850194506020840193505050600181019050614303565b5050509392505050565b600061436b6143668461537a565b6152d1565b9050808382526020820190508285602086028201111561438e5761438d6158d7565b5b60005b858110156143be57816143a48882614667565b845260208401935060208301925050600181019050614391565b5050509392505050565b60006143db6143d6846153a6565b6152d1565b905080838252602082019050828560208602820111156143fe576143fd6158d7565b5b60005b8581101561442e578161441488826146bb565b845260208401935060208301925050600181019050614401565b5050509392505050565b600061444b614446846153d2565b6152d1565b905082815260208101848484011115614467576144666158dc565b5b614472848285615699565b509392505050565b600061448d61448884615403565b6152d1565b9050828152602081018484840111156144a9576144a86158dc565b5b6144b4848285615699565b509392505050565b6000813590506144cb81615da3565b92915050565b600082601f8301126144e6576144e56158d2565b5b81356144f68482602086016141cc565b91505092915050565b600082601f830112614514576145136158d2565b5b813561452484826020860161425a565b91505092915050565b600082601f830112614542576145416158d2565b5b81356145528482602086016142ca565b91505092915050565b600082601f8301126145705761456f6158d2565b5b8135614580848260208601614358565b91505092915050565b600082601f83011261459e5761459d6158d2565b5b81356145ae8482602086016143c8565b91505092915050565b6000813590506145c681615dba565b92915050565b6000813590506145db81615dd1565b92915050565b6000813590506145f081615de8565b92915050565b60008151905061460581615de8565b92915050565b600082601f8301126146205761461f6158d2565b5b8135614630848260208601614438565b91505092915050565b600082601f83011261464e5761464d6158d2565b5b813561465e84826020860161447a565b91505092915050565b60008135905061467681615dff565b92915050565b60008135905061468b81615e16565b92915050565b6000815190506146a081615e16565b92915050565b6000813590506146b581615e2d565b92915050565b6000813590506146ca81615e44565b92915050565b6000813590506146df81615e5b565b92915050565b6000602082840312156146fb576146fa6158e6565b5b6000614709848285016144bc565b91505092915050565b60008060408385031215614729576147286158e6565b5b6000614737858286016144bc565b9250506020614748858286016144bc565b9150509250929050565b60008060006060848603121561476b5761476a6158e6565b5b6000614779868287016144bc565b935050602061478a868287016144bc565b925050604061479b8682870161467c565b9150509250925092565b600080600080608085870312156147bf576147be6158e6565b5b60006147cd878288016144bc565b94505060206147de878288016144bc565b93505060406147ef8782880161467c565b925050606085013567ffffffffffffffff8111156148105761480f6158e1565b5b61481c8782880161460b565b91505092959194509250565b6000806040838503121561483f5761483e6158e6565b5b600061484d858286016144bc565b925050602061485e858286016145b7565b9150509250929050565b6000806040838503121561487f5761487e6158e6565b5b600061488d858286016144bc565b925050602061489e8582860161467c565b9150509250929050565b600080604083850312156148bf576148be6158e6565b5b600083013567ffffffffffffffff8111156148dd576148dc6158e1565b5b6148e9858286016144ff565b925050602083013567ffffffffffffffff81111561490a576149096158e1565b5b614916858286016144d1565b9150509250929050565b60008060408385031215614937576149366158e6565b5b600083013567ffffffffffffffff811115614955576149546158e1565b5b614961858286016144ff565b925050602083013567ffffffffffffffff811115614982576149816158e1565b5b61498e8582860161452d565b9150509250929050565b600080604083850312156149af576149ae6158e6565b5b600083013567ffffffffffffffff8111156149cd576149cc6158e1565b5b6149d985828601614589565b925050602083013567ffffffffffffffff8111156149fa576149f96158e1565b5b614a068582860161455b565b9150509250929050565b600060208284031215614a2657614a256158e6565b5b6000614a34848285016145e1565b91505092915050565b600060208284031215614a5357614a526158e6565b5b6000614a61848285016145f6565b91505092915050565b600060208284031215614a8057614a7f6158e6565b5b6000614a8e8482850161467c565b91505092915050565b600060208284031215614aad57614aac6158e6565b5b6000614abb84828501614691565b91505092915050565b60008060008060008060008060006101208a8c031215614ae757614ae66158e6565b5b6000614af58c828d016146a6565b9950506020614b068c828d016146d0565b9850506040614b178c828d016146bb565b9750506060614b288c828d016145cc565b9650506080614b398c828d016145cc565b95505060a0614b4a8c828d016145cc565b94505060c0614b5b8c828d016145cc565b93505060e0614b6c8c828d016145cc565b925050610100614b7e8c828d016145cc565b9150509295985092959850929598565b600060208284031215614ba457614ba36158e6565b5b6000614bb2848285016146bb565b91505092915050565b614bc481615597565b82525050565b614bd3816155a9565b82525050565b6000614be482615434565b614bee818561544a565b9350614bfe8185602086016156a8565b614c07816158eb565b840191505092915050565b6000614c1d82615434565b614c27818561545b565b9350614c378185602086016156a8565b80840191505092915050565b614c4c81615687565b82525050565b6000614c5d8261543f565b614c678185615466565b9350614c778185602086016156a8565b614c80816158eb565b840191505092915050565b6000614c968261543f565b614ca08185615477565b9350614cb08185602086016156a8565b80840191505092915050565b6000614cc9602b83615466565b9150614cd4826158fc565b604082019050919050565b6000614cec603283615466565b9150614cf78261594b565b604082019050919050565b6000614d0f602683615466565b9150614d1a8261599a565b604082019050919050565b6000614d32601c83615466565b9150614d3d826159e9565b602082019050919050565b6000614d55602483615466565b9150614d6082615a12565b604082019050919050565b6000614d78601983615466565b9150614d8382615a61565b602082019050919050565b6000614d9b602c83615466565b9150614da682615a8a565b604082019050919050565b6000614dbe603883615466565b9150614dc982615ad9565b604082019050919050565b6000614de1602a83615466565b9150614dec82615b28565b604082019050919050565b6000614e04602983615466565b9150614e0f82615b77565b604082019050919050565b6000614e27602083615466565b9150614e3282615bc6565b602082019050919050565b6000614e4a602c83615466565b9150614e5582615bef565b604082019050919050565b6000614e6d602083615466565b9150614e7882615c3e565b602082019050919050565b6000614e90602983615466565b9150614e9b82615c67565b604082019050919050565b6000614eb3602183615466565b9150614ebe82615cb6565b604082019050919050565b6000614ed6603183615466565b9150614ee182615d05565b604082019050919050565b6000614ef9602c83615466565b9150614f0482615d54565b604082019050919050565b614f188161560d565b82525050565b614f2781615649565b82525050565b614f3681615666565b82525050565b6000614f488285614c12565b9150614f548284614c12565b91508190509392505050565b6000614f6c8284614c8b565b915081905092915050565b6000602082019050614f8c6000830184614bbb565b92915050565b6000608082019050614fa76000830187614bbb565b614fb46020830186614bbb565b614fc16040830185614f1e565b8181036060830152614fd38184614bd9565b905095945050505050565b6000604082019050614ff36000830185614bbb565b6150006020830184614c43565b9392505050565b600060208201905061501c6000830184614bca565b92915050565b6000602082019050818103600083015261503c8184614c52565b905092915050565b6000602082019050818103600083015261505d81614cbc565b9050919050565b6000602082019050818103600083015261507d81614cdf565b9050919050565b6000602082019050818103600083015261509d81614d02565b9050919050565b600060208201905081810360008301526150bd81614d25565b9050919050565b600060208201905081810360008301526150dd81614d48565b9050919050565b600060208201905081810360008301526150fd81614d6b565b9050919050565b6000602082019050818103600083015261511d81614d8e565b9050919050565b6000602082019050818103600083015261513d81614db1565b9050919050565b6000602082019050818103600083015261515d81614dd4565b9050919050565b6000602082019050818103600083015261517d81614df7565b9050919050565b6000602082019050818103600083015261519d81614e1a565b9050919050565b600060208201905081810360008301526151bd81614e3d565b9050919050565b600060208201905081810360008301526151dd81614e60565b9050919050565b600060208201905081810360008301526151fd81614e83565b9050919050565b6000602082019050818103600083015261521d81614ea6565b9050919050565b6000602082019050818103600083015261523d81614ec9565b9050919050565b6000602082019050818103600083015261525d81614eec565b9050919050565b60006060820190506152796000830186614f0f565b6152866020830185614f2d565b6152936040830184614f2d565b949350505050565b60006020820190506152b06000830184614f1e565b92915050565b60006020820190506152cb6000830184614f2d565b92915050565b60006152db6152ec565b90506152e7828261570d565b919050565b6000604051905090565b600067ffffffffffffffff821115615311576153106158a3565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561533d5761533c6158a3565b5b602082029050602081019050919050565b600067ffffffffffffffff821115615369576153686158a3565b5b602082029050602081019050919050565b600067ffffffffffffffff821115615395576153946158a3565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156153c1576153c06158a3565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156153ed576153ec6158a3565b5b6153f6826158eb565b9050602081019050919050565b600067ffffffffffffffff82111561541e5761541d6158a3565b5b615427826158eb565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061548d82615649565b915061549883615649565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156154cd576154cc6157b8565b5b828201905092915050565b60006154e382615649565b91506154ee83615649565b9250826154fe576154fd6157e7565b5b828204905092915050565b600061551482615649565b915061551f83615649565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615558576155576157b8565b5b828202905092915050565b600061556e82615649565b915061557983615649565b92508282101561558c5761558b6157b8565b5b828203905092915050565b60006155a282615629565b9050919050565b60008115159050919050565b60007fffffffffffffffffffffffffffffffff0000000000000000000000000000000082169050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600066ffffffffffffff82169050919050565b600067ffffffffffffffff82169050919050565b600060ff82169050919050565b600061569282615649565b9050919050565b82818337600083830152505050565b60005b838110156156c65780820151818401526020810190506156ab565b838111156156d5576000848401525b50505050565b600060028204905060018216806156f357607f821691505b6020821081141561570757615706615816565b5b50919050565b615716826158eb565b810181811067ffffffffffffffff82111715615735576157346158a3565b5b80604052505050565b600061574982615649565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561577c5761577b6157b8565b5b600182019050919050565b600061579282615649565b915061579d83615649565b9250826157ad576157ac6157e7565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b615dac81615597565b8114615db757600080fd5b50565b615dc3816155a9565b8114615dce57600080fd5b50565b615dda816155b5565b8114615de557600080fd5b50565b615df1816155e1565b8114615dfc57600080fd5b50565b615e088161560d565b8114615e1357600080fd5b50565b615e1f81615649565b8114615e2a57600080fd5b50565b615e3681615653565b8114615e4157600080fd5b50565b615e4d81615666565b8114615e5857600080fd5b50565b615e648161567a565b8114615e6f57600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa26469706673582212209638b380d3d7ca6643a26491bb7e7950c35b0e17b4f4122ebf387ede3329547e64736f6c63430008070033

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

000000000000000000000000acd3cf818efe8ddce84c585ddcb147c4c844d3b3000000000000000000000000f65d6475869f61c6dce6ac194b6a7dbe45a91c63

-----Decoded View---------------
Arg [0] : _edworm (address): 0xACd3CF818EFe8ddce84C585ddCB147c4C844D3b3
Arg [1] : _edwone (address): 0xf65D6475869F61c6dce6aC194B6a7dbE45a91c63

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000acd3cf818efe8ddce84c585ddcb147c4c844d3b3
Arg [1] : 000000000000000000000000f65d6475869f61c6dce6ac194b6a7dbe45a91c63


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.