ETH Price: $3,398.25 (+1.91%)

Token

Edwone (WONE)
 

Overview

Max Total Supply

1,138 WONE

Holders

1,138

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
poopshakes.eth
Balance
1 WONE
0x996a8f421435cf1f4e20f593facc87b18f1b95bd
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

The Worm is a the first Share-to-Mint NFT on a mission to visit every wallet on the blockchain! If The Worm visits your Eth wallet, it will drop a numbered Hologram of itself on the way out as a memento of your beautiful time together. Help The Worm on its journey by passin...

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Edwone

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : Edwone.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/Strings.sol';

import 'base64-sol/base64.sol';

/*

from Ambition.wtf

  creators of the NFT mechanics:
    - "share-to-mint" (transfer 0riginal to mint a new NFT)
    - "perma-nifties" (untransferrable holograms)


Presenting … … … … Edwone

  Reincarnation of Edworm, with new magical abilities.


Introducing: the "yoink-chain" mechanic.

should Edworm ever get stuck again,
  we can call the "yoink" function
    to free the NFT & bring it home.

from there Edworm may continue the mission
  to visit every wallet on the Ethereum blockchain.


——//——

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 Worm and Holograms
2. Transferring
	Override the default transfer functions to create
	"share-to-mint" and "permanent" holograms
3. Displaying
	Functions for getting and assembling the
	on-chain art (SVG) and metadata (JSON)
4. Managing
	Owner functions for creating and updating
	the on-chain art & metadata

*/

contract Edwone is Ownable, ERC721Enumerable {
	using Strings for uint256;

	//
	// 0 — DECLARING
	//

	// need to manually track IDs because we jump from 0 to 273
	// in order to start off where Edworm got stuck
	uint idTracker;

	// store the address of the old Edworm contract
	address public edworm;

	// 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;
	mapping(bytes16 => Template) public templates;
	bytes16[] public templateKeys; // used for finding the right template for a given ID

	struct Template {
		bytes16 key;
		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
		uint boundary; // upper limit of the range of Token IDs
	}

	// called when the contract is deployed
	constructor(address _edworm) ERC721('Edwone', 'WONE') {
		// set the address of the old Edworm contract so that Edwone
		// is aware of where it already went when it was Edworm
		edworm = _edworm;
	}

	//
	// 1 — MINTING
	//

	function resurrect() public onlyOwner {
		// 0. prevent multiple calls, just in case
		require(
			_exists(0) == false,
			'TOO LATE: The resurrection has already happened'
		);
		// 1. mint the new 0riginal
		_safeMint(msg.sender, 0);
		// 2. set ID to 273 to start where Edworm left off
		idTracker = 273;
	}

	// internal mint called by: transferOverride
	function mint(address to) internal {
		// do the mint
		_safeMint(to, idTracker);
		// increment AFTER
		idTracker += 1;
	}

	//
	// 2 — TRANSFERRING
	//

	// the primary transfer function
	// (doesn't require `from` or `tokenId`)
	function propagate(address to) public {
		transferOverride(msg.sender, to, 0);
	}

	// overriding ERC-721 transfer functions

	function transferFrom(
		address from,
		address to,
		uint tokenId
	) public override {
		transferOverride(from, to, tokenId);
	}

	function safeTransferFrom(
		address from,
		address to,
		uint tokenId
	) public override {
		transferOverride(from, to, tokenId);
	}

	function safeTransferFrom(
		address from,
		address to,
		uint tokenId,
		bytes memory _data
	) public override {
		transferOverride(from, to, tokenId, _data);
	}

	// overriding with the following functions

	function transferOverride(
		address from,
		address to,
		uint tokenId
	) internal {
		transferOverride(from, to, tokenId, '');
	}

	// this function is where the "share-to-mint" magic happens
	// first do the "transfer", then "mint" to the `from` address
	function transferOverride(
		address from,
		address to,
		uint tokenId,
		bytes memory _data
	) internal {
		// do the transfer
		transfer(from, to, tokenId, _data);
		// do NOT mint when transferring from the (contract) owner
		// (we don't want to leave a Hologram in the Worm's address)
		if (from != owner()) {
			mint(from);
		}
	}

	// internal transfer called by: transferOverride
	// this function is where the "perma-nifties" magic happens
	// only allow transferring of the 0riginal, not the Holograms
	function transfer(
		address from,
		address to,
		uint tokenId,
		bytes memory _data
	) internal {
		require(
			// require that the token IS the 0riginal
			tokenId == 0,
			'TOO BAD: only the 0riginal can be transferred'
		);

		require(
			// require that the owner was NOT previously an owner
			isDisciple(to) == false,
			'TOO BAD: you already had the 0riginal'
		);

		require(
			// require standard authorization because we overrode safeTransferFrom
			_isApprovedOrOwner(_msgSender(), tokenId),
			'ERC721: transfer caller is not owner nor approved'
		);

		_safeTransfer(from, to, tokenId, _data);
	}

	// check if the address has any Worm tokens
	// if they do, then they are a disciple
	// prettier-ignore
	function isDisciple(address _address) public view returns (bool) {
		return (
			// if balanceOf Edworm is 1 the address had the old Worm
			IERC721(edworm).balanceOf(_address) == 1
			||
			// if balanceOf Edwone is 1 the address had the new Worm
			balanceOf(_address) == 1
		);
	}

	// returns the 0riginal to the (contract) owner's wallet if it gets stuck
	function yoink() public onlyOwner {
		// get the address where the 0riginal is stuck
		address from = ownerOf(0);
		// do the steal
		_transfer(from, msg.sender, 0);
		// because we're nice, we'll leave a hologram
		mint(from);
	}

	//
	// 3 — DISPLAYING
	//

	// 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 getTemplate(uint tokenId) internal view returns (Template memory) {
		for (uint i = 0; i < templateKeys.length; i++) {
			if (tokenId < templates[templateKeys[i]].boundary) {
				return templates[templateKeys[i]];
			}
		}
		return templates[templateKeys[0]];
	}

	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;

		/*
		This loop does these things:
			1. replace '_token_id' with the actual token id
			2. recursively assemble any nested sequences (start with `$`)
			3. get the modulo of the token id
			4. encode sequence into base64
			5. 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][0] == '$') {
				// 2. recursively assemble any nested sequences
				acc = join(acc, assembleSequence(tokenId, sequence[i]));
			} else if (sequence[i][0] == '%') {
				// 3. get the modulo of the token id
				uint modBy = toUint(sequence[i] << 8);
				uint modId = tokenId;
				if (modBy != 0) {
					modId = tokenId % modBy;
				}
				acc = join(acc, modId.toString());
			} else if (sequence[i][0] == '{') {
				// 4. 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 {
				// 5. accumulate the variables
				acc = join(acc, variables[sequence[i]]);
			}
		}
		return acc;
	}

	// utils

	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))));
	}

	function toUint(bytes16 b) public pure returns (uint) {
		uint result;
		for (uint i; i < b.length; i++) {
			// 0 in ASCII is 48 in dec is 0x30 in hex
			// 9 in ASCII is 57 in dec is 0x39 in hex
			if (b[i] >= 0x30 && b[i] <= 0x39) {
				result = result * 10 + (uint8(b[i]) - 48); // bytes and int are not compatible with the operator -.
			}
		}
		return result; // this was missing
	}

	//
	// 4 — MANAGING
	//

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

	function addSequence(bytes16 key, bytes16[] memory vals) external onlyOwner {
		sequences[key] = vals;
	}

	function addTemplate(
		bytes16 _key,
		bytes16 _name,
		bytes16 _desc,
		bytes16 _graphics,
		bytes16 _metadata,
		bytes16 _imageURI,
		bytes16 _tokenURI,
		uint _boundary
	) external onlyOwner {
		Template memory template = Template({
			key: _key,
			name: _name,
			desc: _desc,
			graphics: _graphics,
			metadata: _metadata,
			imageURI: _imageURI,
			tokenURI: _tokenURI,
			boundary: _boundary
		});

		templates[_key] = template;

		templateKeys.push(_key);
	}

	function setTemplates(bytes16[] memory vals) external onlyOwner {
		templateKeys = vals;
	}

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

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

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Base URI for computing {tokenURI}. 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 14 : 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 14 : 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 14 : 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 6 of 14 : base64.sol
// SPDX-License-Identifier: MIT

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

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

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

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

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

File 7 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 8 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 9 of 14 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {

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

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

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

File 10 of 14 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // 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 11 of 14 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 12 of 14 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 13 of 14 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

File 14 of 14 : 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"}],"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":"key","type":"bytes16"},{"internalType":"bytes16[]","name":"vals","type":"bytes16[]"}],"name":"addSequence","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes16","name":"_key","type":"bytes16"},{"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"},{"internalType":"uint256","name":"_boundary","type":"uint256"}],"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":[],"name":"edworm","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":[{"internalType":"address","name":"_address","type":"address"}],"name":"isDisciple","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"propagate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"resurrect","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":"bytes16[]","name":"vals","type":"bytes16[]"}],"name":"setTemplates","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"templateKeys","outputs":[{"internalType":"bytes16","name":"","type":"bytes16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes16","name":"","type":"bytes16"}],"name":"templates","outputs":[{"internalType":"bytes16","name":"key","type":"bytes16"},{"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"},{"internalType":"uint256","name":"boundary","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes16","name":"b","type":"bytes16"}],"name":"toUint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","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":"yoink","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b5060405162005f5038038062005f5083398181016040528101906200003791906200029e565b6040518060400160405280600681526020017f4564776f6e6500000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f574f4e45000000000000000000000000000000000000000000000000000000008152506000620000b5620001cf60201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35081600190805190602001906200016b929190620001d7565b50806002908051906020019062000184929190620001d7565b50505080600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505062000388565b600033905090565b828054620001e59062000304565b90600052602060002090601f01602090048101928262000209576000855562000255565b82601f106200022457805160ff191683800117855562000255565b8280016001018555821562000255579182015b828111156200025457825182559160200191906001019062000237565b5b50905062000264919062000268565b5090565b5b808211156200028357600081600090555060010162000269565b5090565b60008151905062000298816200036e565b92915050565b600060208284031215620002b757620002b662000369565b5b6000620002c78482850162000287565b91505092915050565b6000620002dd82620002e4565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600060028204905060018216806200031d57607f821691505b602082108114156200033457620003336200033a565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600080fd5b6200037981620002d0565b81146200038557600080fd5b50565b615bb880620003986000396000f3fe6080604052600436106102085760003560e01c80637d8a8a2b11610118578063b88d4fde116100a0578063e968ca7d1161006f578063e968ca7d146107a2578063e985e9c5146107cb578063e994d5a014610808578063ee407e6c14610845578063f2fde38b1461086e5761020f565b8063b88d4fde1461071b578063c87b56dd14610744578063cf41d6f814610781578063db5472171461078b5761020f565b806395d89b41116100e757806395d89b41146106365780639846cd9e14610661578063a22cb46514610678578063a574cea4146106a1578063ab14ec2e146106de5761020f565b80637d8a8a2b1461056657806388072c79146105915780638da5cb5b146105ce5780638f742d16146105f95761020f565b806342842e0e1161019b5780636b73e23f1161016a5780636b73e23f1461046857806370a082311461049157806370edfc24146104ce578063715018a61461051257806378a882e8146105295761020f565b806342842e0e1461039c5780634f6ccce7146103c55780636352211e146104025780636811047d1461043f5761020f565b8063177b8050116101d7578063177b8050146102e257806318160ddd1461030b57806323b872dd146103365780632f745c591461035f5761020f565b806301ffc9a71461021457806306fdde0314610251578063081812fc1461027c578063095ea7b3146102b95761020f565b3661020f57005b600080fd5b34801561022057600080fd5b5061023b60048036038101906102369190614722565b610897565b6040516102489190614c44565b60405180910390f35b34801561025d57600080fd5b50610266610911565b6040516102739190614cf8565b60405180910390f35b34801561028857600080fd5b506102a3600480360381019061029e919061477c565b6109a3565b6040516102b09190614bdd565b60405180910390f35b3480156102c557600080fd5b506102e060048036038101906102db91906144e2565b610a28565b005b3480156102ee57600080fd5b5061030960048036038101906103049190614522565b610b40565b005b34801561031757600080fd5b50610320610bd6565b60405161032d9190614f9a565b60405180910390f35b34801561034257600080fd5b5061035d600480360381019061035891906143cc565b610be3565b005b34801561036b57600080fd5b50610386600480360381019061038191906144e2565b610bf3565b6040516103939190614f9a565b60405180910390f35b3480156103a857600080fd5b506103c360048036038101906103be91906143cc565b610c98565b005b3480156103d157600080fd5b506103ec60048036038101906103e7919061477c565b610ca8565b6040516103f99190614f9a565b60405180910390f35b34801561040e57600080fd5b506104296004803603810190610424919061477c565b610d19565b6040516104369190614bdd565b60405180910390f35b34801561044b57600080fd5b506104666004803603810190610461919061466c565b610dcb565b005b34801561047457600080fd5b5061048f600480360381019061048a919061456b565b611103565b005b34801561049d57600080fd5b506104b860048036038101906104b3919061435f565b611225565b6040516104c59190614f9a565b60405180910390f35b3480156104da57600080fd5b506104f560048036038101906104f091906145e3565b6112dd565b604051610509989796959493929190614c7a565b60405180910390f35b34801561051e57600080fd5b50610527611380565b005b34801561053557600080fd5b50610550600480360381019061054b919061477c565b6114ba565b60405161055d9190614cf8565b60405180910390f35b34801561057257600080fd5b5061057b6114df565b6040516105889190614bdd565b60405180910390f35b34801561059d57600080fd5b506105b860048036038101906105b3919061435f565b611505565b6040516105c59190614c44565b60405180910390f35b3480156105da57600080fd5b506105e36115cf565b6040516105f09190614bdd565b60405180910390f35b34801561060557600080fd5b50610620600480360381019061061b919061477c565b6115f8565b60405161062d9190614cf8565b60405180910390f35b34801561064257600080fd5b5061064b61161d565b6040516106589190614cf8565b60405180910390f35b34801561066d57600080fd5b506106766116af565b005b34801561068457600080fd5b5061069f600480360381019061069a91906144a2565b611751565b005b3480156106ad57600080fd5b506106c860048036038101906106c3919061477c565b6118d2565b6040516106d59190614cf8565b60405180910390f35b3480156106ea57600080fd5b50610705600480360381019061070091906145e3565b6118f7565b6040516107129190614f9a565b60405180910390f35b34801561072757600080fd5b50610742600480360381019061073d919061441f565b6119f6565b005b34801561075057600080fd5b5061076b6004803603810190610766919061477c565b611a08565b6040516107789190614cf8565b60405180910390f35b610789611a2d565b005b34801561079757600080fd5b506107a0611af0565b005b3480156107ae57600080fd5b506107c960048036038101906107c49190614610565b611bd2565b005b3480156107d757600080fd5b506107f260048036038101906107ed919061438c565b611ca0565b6040516107ff9190614c44565b60405180910390f35b34801561081457600080fd5b5061082f600480360381019061082a919061477c565b611d34565b60405161083c9190614c5f565b60405180910390f35b34801561085157600080fd5b5061086c6004803603810190610867919061435f565b611d6b565b005b34801561087a57600080fd5b506108956004803603810190610890919061435f565b611d7a565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061090a575061090982611f23565b5b9050919050565b6060600180546109209061531a565b80601f016020809104026020016040519081016040528092919081815260200182805461094c9061531a565b80156109995780601f1061096e57610100808354040283529160200191610999565b820191906000526020600020905b81548152906001019060200180831161097c57829003601f168201915b5050505050905090565b60006109ae82612005565b6109ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109e490614e9a565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a3382610d19565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610aa4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9b90614efa565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ac3612071565b73ffffffffffffffffffffffffffffffffffffffff161480610af25750610af181610aec612071565b611ca0565b5b610b31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2890614e1a565b60405180910390fd5b610b3b8383612079565b505050565b610b48612071565b73ffffffffffffffffffffffffffffffffffffffff16610b666115cf565b73ffffffffffffffffffffffffffffffffffffffff1614610bbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb390614eba565b60405180910390fd5b8060109080519060200190610bd2929190613e60565b5050565b6000600980549050905090565b610bee838383612132565b505050565b6000610bfe83611225565b8210610c3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3690614d1a565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610ca3838383612132565b505050565b6000610cb2610bd6565b8210610cf3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cea90614f3a565b60405180910390fd5b60098281548110610d0757610d066154b3565b5b90600052602060002001549050919050565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610dc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db990614e5a565b60405180910390fd5b80915050919050565b610dd3612071565b73ffffffffffffffffffffffffffffffffffffffff16610df16115cf565b73ffffffffffffffffffffffffffffffffffffffff1614610e47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3e90614eba565b60405180910390fd5b60006040518061010001604052808a6fffffffffffffffffffffffffffffffff19168152602001896fffffffffffffffffffffffffffffffff19168152602001886fffffffffffffffffffffffffffffffff19168152602001876fffffffffffffffffffffffffffffffff19168152602001866fffffffffffffffffffffffffffffffff19168152602001856fffffffffffffffffffffffffffffffff19168152602001846fffffffffffffffffffffffffffffffff1916815260200183815250905080600f60008b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff1916815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff021916908360801c021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff021916908360801c021790555060408201518160010160006101000a8154816fffffffffffffffffffffffffffffffff021916908360801c021790555060608201518160010160106101000a8154816fffffffffffffffffffffffffffffffff021916908360801c021790555060808201518160020160006101000a8154816fffffffffffffffffffffffffffffffff021916908360801c021790555060a08201518160020160106101000a8154816fffffffffffffffffffffffffffffffff021916908360801c021790555060c08201518160030160006101000a8154816fffffffffffffffffffffffffffffffff021916908360801c021790555060e0820151816004015590505060108990806001815401808255809150506001900390600052602060002090600291828204019190066010029091909190916101000a8154816fffffffffffffffffffffffffffffffff021916908360801c0217905550505050505050505050565b61110b612071565b73ffffffffffffffffffffffffffffffffffffffff166111296115cf565b73ffffffffffffffffffffffffffffffffffffffff161461117f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117690614eba565b60405180910390fd5b60005b82518110156112205781818151811061119e5761119d6154b3565b5b6020026020010151600d60008584815181106111bd576111bc6154b3565b5b60200260200101516fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff19168152602001908152602001600020908051906020019061120c929190613f25565b5080806112189061537d565b915050611182565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611296576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128d90614e3a565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600f6020528060005260406000206000915090508060000160009054906101000a900460801b908060000160109054906101000a900460801b908060010160009054906101000a900460801b908060010160109054906101000a900460801b908060020160009054906101000a900460801b908060020160109054906101000a900460801b908060030160009054906101000a900460801b908060040154905088565b611388612071565b73ffffffffffffffffffffffffffffffffffffffff166113a66115cf565b73ffffffffffffffffffffffffffffffffffffffff16146113fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f390614eba565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b606060006114c783612152565b90506114d7838260600151612669565b915050919050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006001600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b81526004016115649190614bdd565b60206040518083038186803b15801561157c57600080fd5b505afa158015611590573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115b491906147a9565b14806115c8575060016115c683611225565b145b9050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600061160583612152565b9050611615838260a00151612669565b915050919050565b60606002805461162c9061531a565b80601f01602080910402602001604051908101604052809291908181526020018280546116589061531a565b80156116a55780601f1061167a576101008083540402835291602001916116a5565b820191906000526020600020905b81548152906001019060200180831161168857829003601f168201915b5050505050905090565b6116b7612071565b73ffffffffffffffffffffffffffffffffffffffff166116d56115cf565b73ffffffffffffffffffffffffffffffffffffffff161461172b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172290614eba565b60405180910390fd5b60006117376000610d19565b905061174581336000612740565b61174e8161299c565b50565b611759612071565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117be90614dba565b60405180910390fd5b80600660006117d4612071565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611881612071565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516118c69190614c44565b60405180910390a35050565b606060006118df83612152565b90506118ef838260800151612669565b915050919050565b60008060005b601060ff168110156119ec57603060f81b848260108110611921576119206154b3565b5b1a60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916101580156119915750603960f81b848260108110611968576119676154b3565b5b1a60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b156119d95760308482601081106119ab576119aa6154b3565b5b1a60f81b60f81c6119bc91906151f7565b60ff16600a836119cc9190615169565b6119d691906150e2565b91505b80806119e49061537d565b9150506118fd565b5080915050919050565b611a02848484846129c5565b50505050565b60606000611a1583612152565b9050611a25838260c00151612669565b915050919050565b611a35612071565b73ffffffffffffffffffffffffffffffffffffffff16611a536115cf565b73ffffffffffffffffffffffffffffffffffffffff1614611aa9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa090614eba565b60405180910390fd5b611ab1612071565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050611aee57600080fd5b565b611af8612071565b73ffffffffffffffffffffffffffffffffffffffff16611b166115cf565b73ffffffffffffffffffffffffffffffffffffffff1614611b6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6390614eba565b60405180910390fd5b60001515611b7a6000612005565b151514611bbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb390614f7a565b60405180910390fd5b611bc7336000612a1b565b610111600b81905550565b611bda612071565b73ffffffffffffffffffffffffffffffffffffffff16611bf86115cf565b73ffffffffffffffffffffffffffffffffffffffff1614611c4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4590614eba565b60405180910390fd5b80600e6000846fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020019081526020016000209080519060200190611c9b929190613e60565b505050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60108181548110611d4457600080fd5b9060005260206000209060029182820401919006601002915054906101000a900460801b81565b611d7733826000612132565b50565b611d82612071565b73ffffffffffffffffffffffffffffffffffffffff16611da06115cf565b73ffffffffffffffffffffffffffffffffffffffff1614611df6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ded90614eba565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5d90614d5a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611fee57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611ffe5750611ffd82612a39565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166120ec83610d19565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b61214d838383604051806020016040528060008152506129c5565b505050565b61215a613fab565b60005b60108054905081101561242f57600f600060108381548110612182576121816154b3565b5b90600052602060002090600291828204019190066010029054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020019081526020016000206004015483101561241c57600f6000601083815481106121fc576121fb6154b3565b5b90600052602060002090600291828204019190066010029054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff19168152602001908152602001600020604051806101000160405290816000820160009054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016000820160109054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016001820160009054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016001820160109054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016002820160009054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016002820160109054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016003820160009054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff19168152602001600482015481525050915050612664565b80806124279061537d565b91505061215d565b50600f60006010600081548110612449576124486154b3565b5b90600052602060002090600291828204019190066010029054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff19168152602001908152602001600020604051806101000160405290816000820160009054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016000820160109054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016001820160009054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016001820160109054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016002820160009054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016002820160109054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016003820160009054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff1916815260200160048201548152505090505b919050565b60606000600e6000846fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff1916815260200190815260200160002080548060200260200160405190810160405280929190818152602001828054801561272657602002820191906000526020600020906000905b82829054906101000a900460801b6fffffffffffffffffffffffffffffffff191681526020019060100190602082600f010492830192600103820291508084116126df5790505b505050505090506127378482612aa3565b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661276082610d19565b73ffffffffffffffffffffffffffffffffffffffff16146127b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ad90614eda565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612826576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161281d90614d9a565b60405180910390fd5b6128318383836130fd565b61283c600082612079565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461288c91906151c3565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128e391906150e2565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6129a881600b54612a1b565b6001600b60008282546129bb91906150e2565b9250508190555050565b6129d184848484613211565b6129d96115cf565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614612a1557612a148461299c565b5b50505050565b612a35828260405180602001604052806000815250613305565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60608060005b83518110156130f2577f5f746f6b656e5f696400000000000000000000000000000000000000000000006fffffffffffffffffffffffffffffffff1916848281518110612af957612af86154b3565b5b60200260200101516fffffffffffffffffffffffffffffffff19161415612b3357612b2c82612b2787613360565b6134c1565b91506130df565b7f2400000000000000000000000000000000000000000000000000000000000000848281518110612b6757612b666154b3565b5b6020026020010151600060108110612b8257612b816154b3565b5b1a60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415612be257612bdb82612bd687878581518110612bc957612bc86154b3565b5b6020026020010151612669565b6134c1565b91506130de565b7f2500000000000000000000000000000000000000000000000000000000000000848281518110612c1657612c156154b3565b5b6020026020010151600060108110612c3157612c306154b3565b5b1a60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415612cd2576000612c996008868481518110612c7757612c766154b3565b5b60200260200101516fffffffffffffffffffffffffffffffff1916901b6118f7565b9050600086905060008214612cb7578187612cb491906153c6565b90505b612cc984612cc483613360565b6134c1565b935050506130dd565b7f7b00000000000000000000000000000000000000000000000000000000000000848281518110612d0657612d056154b3565b5b6020026020010151600060108110612d2157612d206154b3565b5b1a60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415612ff4576060600080600184612d5f91906150e2565b90505b8651811015612ebd577f7d00000000000000000000000000000000000000000000000000000000000000878281518110612d9f57612d9e6154b3565b5b6020026020010151600060108110612dba57612db96154b3565b5b1a60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148015612e925750868481518110612dfb57612dfa6154b3565b5b6020026020010151600160108110612e1657612e156154b3565b5b1a60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916878281518110612e4f57612e4e6154b3565b5b6020026020010151600160108110612e6a57612e696154b3565b5b1a60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b15612e9c57612ebd565b8180612ea79061537d565b9250508080612eb59061537d565b915050612d62565b5060008167ffffffffffffffff811115612eda57612ed96154e2565b5b604051908082528060200260200182016040528015612f085781602001602082028036833780820191505090505b509050600080600186612f1b91906150e2565b90505b8851811015612fca5783821015612fb257888181518110612f4257612f416154b3565b5b6020026020010151838381518110612f5d57612f5c6154b3565b5b60200260200101906fffffffffffffffffffffffffffffffff191690816fffffffffffffffffffffffffffffffff1916815250508180612f9c9061537d565b9250508580612faa9061537d565b965050612fb7565b612fca565b8080612fc29061537d565b915050612f1e565b50612fd58983612aa3565b9350612fe986612fe4866134ed565b6134c1565b9550505050506130dc565b6130d982600d600087858151811061300f5761300e6154b3565b5b60200260200101516fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff1916815260200190815260200160002080546130569061531a565b80601f01602080910402602001604051908101604052809291908181526020018280546130829061531a565b80156130cf5780601f106130a4576101008083540402835291602001916130cf565b820191906000526020600020905b8154815290600101906020018083116130b257829003601f168201915b50505050506134c1565b91505b5b5b5b80806130ea9061537d565b915050612aa9565b508091505092915050565b61310883838361351e565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561314b5761314681613523565b61318a565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461318957613188838261356c565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156131cd576131c8816136d9565b61320c565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461320b5761320a82826137aa565b5b5b505050565b60008214613254576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161324b90614dda565b60405180910390fd5b6000151561326184611505565b1515146132a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161329a90614f5a565b60405180910390fd5b6132b46132ae612071565b83613829565b6132f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132ea90614f1a565b60405180910390fd5b6132ff84848484613907565b50505050565b61330f8383613963565b61331c6000848484613b31565b61335b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161335290614d3a565b60405180910390fd5b505050565b606060008214156133a8576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506134bc565b600082905060005b600082146133da5780806133c39061537d565b915050600a826133d39190615138565b91506133b0565b60008167ffffffffffffffff8111156133f6576133f56154e2565b5b6040519080825280601f01601f1916602001820160405280156134285781602001600182028036833780820191505090505b5090505b600085146134b55760018261344191906151c3565b9150600a8561345091906153c6565b603061345c91906150e2565b60f81b818381518110613472576134716154b3565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856134ae9190615138565b945061342c565b8093505050505b919050565b606082826040516020016134d6929190614ba2565b604051602081830303815290604052905092915050565b60606134f882613cc8565b6040516020016135089190614bc6565b6040516020818303038152906040529050919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161357984611225565b61358391906151c3565b9050600060086000848152602001908152602001600020549050818114613668576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016009805490506136ed91906151c3565b90506000600a600084815260200190815260200160002054905060006009838154811061371d5761371c6154b3565b5b90600052602060002001549050806009838154811061373f5761373e6154b3565b5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a600085815260200190815260200160002060009055600980548061378e5761378d615484565b5b6001900381819060005260206000200160009055905550505050565b60006137b583611225565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b600061383482612005565b613873576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161386a90614dfa565b60405180910390fd5b600061387e83610d19565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806138ed57508373ffffffffffffffffffffffffffffffffffffffff166138d5846109a3565b73ffffffffffffffffffffffffffffffffffffffff16145b806138fe57506138fd8185611ca0565b5b91505092915050565b613912848484612740565b61391e84848484613b31565b61395d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161395490614d3a565b60405180910390fd5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156139d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139ca90614e7a565b60405180910390fd5b6139dc81612005565b15613a1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a1390614d7a565b60405180910390fd5b613a28600083836130fd565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613a7891906150e2565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000613b528473ffffffffffffffffffffffffffffffffffffffff16613e4d565b15613cbb578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613b7b612071565b8786866040518563ffffffff1660e01b8152600401613b9d9493929190614bf8565b602060405180830381600087803b158015613bb757600080fd5b505af1925050508015613be857506040513d601f19601f82011682018060405250810190613be5919061474f565b60015b613c6b573d8060008114613c18576040519150601f19603f3d011682016040523d82523d6000602084013e613c1d565b606091505b50600081511415613c63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c5a90614d3a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613cc0565b600190505b949350505050565b6060600082511415613ceb57604051806020016040528060008152509050613e48565b6000604051806060016040528060408152602001615b436040913990506000600360028551613d1a91906150e2565b613d249190615138565b6004613d309190615169565b90506000602082613d4191906150e2565b67ffffffffffffffff811115613d5a57613d596154e2565b5b6040519080825280601f01601f191660200182016040528015613d8c5781602001600182028036833780820191505090505b509050818152600183018586518101602084015b81831015613e07576003830192508251603f8160121c1685015160f81b8252600182019150603f81600c1c1685015160f81b8252600182019150603f8160061c1685015160f81b8252600182019150603f811685015160f81b825260018201915050613da0565b600389510660018114613e215760028114613e3157613e3c565b613d3d60f01b6002830352613e3c565b603d60f81b60018303525b50505050508093505050505b919050565b600080823b905060008111915050919050565b82805482825590600052602060002090600101600290048101928215613f145791602002820160005b83821115613ed657835183826101000a8154816fffffffffffffffffffffffffffffffff021916908360801c02179055509260200192601001602081600f01049283019260010302613e89565b8015613f125782816101000a8154906fffffffffffffffffffffffffffffffff0219169055601001602081600f01049283019260010302613ed6565b505b509050613f219190614075565b5090565b828054613f319061531a565b90600052602060002090601f016020900481019282613f535760008555613f9a565b82601f10613f6c57805160ff1916838001178555613f9a565b82800160010185558215613f9a579182015b82811115613f99578251825591602001919060010190613f7e565b5b509050613fa79190614075565b5090565b60405180610100016040528060006fffffffffffffffffffffffffffffffff1916815260200160006fffffffffffffffffffffffffffffffff1916815260200160006fffffffffffffffffffffffffffffffff1916815260200160006fffffffffffffffffffffffffffffffff1916815260200160006fffffffffffffffffffffffffffffffff1916815260200160006fffffffffffffffffffffffffffffffff1916815260200160006fffffffffffffffffffffffffffffffff19168152602001600081525090565b5b8082111561408e576000816000905550600101614076565b5090565b60006140a56140a084614fda565b614fb5565b905080838252602082019050828560208602820111156140c8576140c7615516565b5b60005b858110156140f857816140de888261429a565b8452602084019350602083019250506001810190506140cb565b5050509392505050565b600061411561411084615006565b614fb5565b9050808382526020820190508285602086028201111561413857614137615516565b5b60005b8581101561418657813567ffffffffffffffff81111561415e5761415d615511565b5b80860161416b8982614307565b8552602085019450602084019350505060018101905061413b565b5050509392505050565b60006141a361419e84615032565b614fb5565b9050828152602081018484840111156141bf576141be61551b565b5b6141ca8482856152d8565b509392505050565b60006141e56141e084615063565b614fb5565b9050828152602081018484840111156142015761420061551b565b5b61420c8482856152d8565b509392505050565b60008135905061422381615acf565b92915050565b600082601f83011261423e5761423d615511565b5b813561424e848260208601614092565b91505092915050565b600082601f83011261426c5761426b615511565b5b813561427c848260208601614102565b91505092915050565b60008135905061429481615ae6565b92915050565b6000813590506142a981615afd565b92915050565b6000813590506142be81615b14565b92915050565b6000815190506142d381615b14565b92915050565b600082601f8301126142ee576142ed615511565b5b81356142fe848260208601614190565b91505092915050565b600082601f83011261431c5761431b615511565b5b813561432c8482602086016141d2565b91505092915050565b60008135905061434481615b2b565b92915050565b60008151905061435981615b2b565b92915050565b60006020828403121561437557614374615525565b5b600061438384828501614214565b91505092915050565b600080604083850312156143a3576143a2615525565b5b60006143b185828601614214565b92505060206143c285828601614214565b9150509250929050565b6000806000606084860312156143e5576143e4615525565b5b60006143f386828701614214565b935050602061440486828701614214565b925050604061441586828701614335565b9150509250925092565b6000806000806080858703121561443957614438615525565b5b600061444787828801614214565b945050602061445887828801614214565b935050604061446987828801614335565b925050606085013567ffffffffffffffff81111561448a57614489615520565b5b614496878288016142d9565b91505092959194509250565b600080604083850312156144b9576144b8615525565b5b60006144c785828601614214565b92505060206144d885828601614285565b9150509250929050565b600080604083850312156144f9576144f8615525565b5b600061450785828601614214565b925050602061451885828601614335565b9150509250929050565b60006020828403121561453857614537615525565b5b600082013567ffffffffffffffff81111561455657614555615520565b5b61456284828501614229565b91505092915050565b6000806040838503121561458257614581615525565b5b600083013567ffffffffffffffff8111156145a05761459f615520565b5b6145ac85828601614229565b925050602083013567ffffffffffffffff8111156145cd576145cc615520565b5b6145d985828601614257565b9150509250929050565b6000602082840312156145f9576145f8615525565b5b60006146078482850161429a565b91505092915050565b6000806040838503121561462757614626615525565b5b60006146358582860161429a565b925050602083013567ffffffffffffffff81111561465657614655615520565b5b61466285828601614229565b9150509250929050565b600080600080600080600080610100898b03121561468d5761468c615525565b5b600061469b8b828c0161429a565b98505060206146ac8b828c0161429a565b97505060406146bd8b828c0161429a565b96505060606146ce8b828c0161429a565b95505060806146df8b828c0161429a565b94505060a06146f08b828c0161429a565b93505060c06147018b828c0161429a565b92505060e06147128b828c01614335565b9150509295985092959890939650565b60006020828403121561473857614737615525565b5b6000614746848285016142af565b91505092915050565b60006020828403121561476557614764615525565b5b6000614773848285016142c4565b91505092915050565b60006020828403121561479257614791615525565b5b60006147a084828501614335565b91505092915050565b6000602082840312156147bf576147be615525565b5b60006147cd8482850161434a565b91505092915050565b6147df8161522b565b82525050565b6147ee8161523d565b82525050565b6147fd81615249565b82525050565b600061480e82615094565b61481881856150aa565b93506148288185602086016152e7565b6148318161552a565b840191505092915050565b600061484782615094565b61485181856150bb565b93506148618185602086016152e7565b80840191505092915050565b60006148788261509f565b61488281856150c6565b93506148928185602086016152e7565b61489b8161552a565b840191505092915050565b60006148b18261509f565b6148bb81856150d7565b93506148cb8185602086016152e7565b80840191505092915050565b60006148e4602b836150c6565b91506148ef8261553b565b604082019050919050565b60006149076032836150c6565b91506149128261558a565b604082019050919050565b600061492a6026836150c6565b9150614935826155d9565b604082019050919050565b600061494d601c836150c6565b915061495882615628565b602082019050919050565b60006149706024836150c6565b915061497b82615651565b604082019050919050565b60006149936019836150c6565b915061499e826156a0565b602082019050919050565b60006149b6602d836150c6565b91506149c1826156c9565b604082019050919050565b60006149d9602c836150c6565b91506149e482615718565b604082019050919050565b60006149fc6038836150c6565b9150614a0782615767565b604082019050919050565b6000614a1f602a836150c6565b9150614a2a826157b6565b604082019050919050565b6000614a426029836150c6565b9150614a4d82615805565b604082019050919050565b6000614a656020836150c6565b9150614a7082615854565b602082019050919050565b6000614a88602c836150c6565b9150614a938261587d565b604082019050919050565b6000614aab6020836150c6565b9150614ab6826158cc565b602082019050919050565b6000614ace6029836150c6565b9150614ad9826158f5565b604082019050919050565b6000614af16021836150c6565b9150614afc82615944565b604082019050919050565b6000614b146031836150c6565b9150614b1f82615993565b604082019050919050565b6000614b37602c836150c6565b9150614b42826159e2565b604082019050919050565b6000614b5a6025836150c6565b9150614b6582615a31565b604082019050919050565b6000614b7d602f836150c6565b9150614b8882615a80565b604082019050919050565b614b9c816152c1565b82525050565b6000614bae828561483c565b9150614bba828461483c565b91508190509392505050565b6000614bd282846148a6565b915081905092915050565b6000602082019050614bf260008301846147d6565b92915050565b6000608082019050614c0d60008301876147d6565b614c1a60208301866147d6565b614c276040830185614b93565b8181036060830152614c398184614803565b905095945050505050565b6000602082019050614c5960008301846147e5565b92915050565b6000602082019050614c7460008301846147f4565b92915050565b600061010082019050614c90600083018b6147f4565b614c9d602083018a6147f4565b614caa60408301896147f4565b614cb760608301886147f4565b614cc460808301876147f4565b614cd160a08301866147f4565b614cde60c08301856147f4565b614ceb60e0830184614b93565b9998505050505050505050565b60006020820190508181036000830152614d12818461486d565b905092915050565b60006020820190508181036000830152614d33816148d7565b9050919050565b60006020820190508181036000830152614d53816148fa565b9050919050565b60006020820190508181036000830152614d738161491d565b9050919050565b60006020820190508181036000830152614d9381614940565b9050919050565b60006020820190508181036000830152614db381614963565b9050919050565b60006020820190508181036000830152614dd381614986565b9050919050565b60006020820190508181036000830152614df3816149a9565b9050919050565b60006020820190508181036000830152614e13816149cc565b9050919050565b60006020820190508181036000830152614e33816149ef565b9050919050565b60006020820190508181036000830152614e5381614a12565b9050919050565b60006020820190508181036000830152614e7381614a35565b9050919050565b60006020820190508181036000830152614e9381614a58565b9050919050565b60006020820190508181036000830152614eb381614a7b565b9050919050565b60006020820190508181036000830152614ed381614a9e565b9050919050565b60006020820190508181036000830152614ef381614ac1565b9050919050565b60006020820190508181036000830152614f1381614ae4565b9050919050565b60006020820190508181036000830152614f3381614b07565b9050919050565b60006020820190508181036000830152614f5381614b2a565b9050919050565b60006020820190508181036000830152614f7381614b4d565b9050919050565b60006020820190508181036000830152614f9381614b70565b9050919050565b6000602082019050614faf6000830184614b93565b92915050565b6000614fbf614fd0565b9050614fcb828261534c565b919050565b6000604051905090565b600067ffffffffffffffff821115614ff557614ff46154e2565b5b602082029050602081019050919050565b600067ffffffffffffffff821115615021576150206154e2565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561504d5761504c6154e2565b5b6150568261552a565b9050602081019050919050565b600067ffffffffffffffff82111561507e5761507d6154e2565b5b6150878261552a565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006150ed826152c1565b91506150f8836152c1565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561512d5761512c6153f7565b5b828201905092915050565b6000615143826152c1565b915061514e836152c1565b92508261515e5761515d615426565b5b828204905092915050565b6000615174826152c1565b915061517f836152c1565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156151b8576151b76153f7565b5b828202905092915050565b60006151ce826152c1565b91506151d9836152c1565b9250828210156151ec576151eb6153f7565b5b828203905092915050565b6000615202826152cb565b915061520d836152cb565b9250828210156152205761521f6153f7565b5b828203905092915050565b6000615236826152a1565b9050919050565b60008115159050919050565b60007fffffffffffffffffffffffffffffffff0000000000000000000000000000000082169050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156153055780820151818401526020810190506152ea565b83811115615314576000848401525b50505050565b6000600282049050600182168061533257607f821691505b6020821081141561534657615345615455565b5b50919050565b6153558261552a565b810181811067ffffffffffffffff82111715615374576153736154e2565b5b80604052505050565b6000615388826152c1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156153bb576153ba6153f7565b5b600182019050919050565b60006153d1826152c1565b91506153dc836152c1565b9250826153ec576153eb615426565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f544f4f204241443a206f6e6c79207468652030726967696e616c2063616e206260008201527f65207472616e7366657272656400000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f544f4f204241443a20796f7520616c726561647920686164207468652030726960008201527f67696e616c000000000000000000000000000000000000000000000000000000602082015250565b7f544f4f204c4154453a2054686520726573757272656374696f6e20686173206160008201527f6c72656164792068617070656e65640000000000000000000000000000000000602082015250565b615ad88161522b565b8114615ae357600080fd5b50565b615aef8161523d565b8114615afa57600080fd5b50565b615b0681615249565b8114615b1157600080fd5b50565b615b1d81615275565b8114615b2857600080fd5b50565b615b34816152c1565b8114615b3f57600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220633aeced389b9bfcb672a40b71e9128e5ae6e4e6fc6d9f67c8bc1b19b04cb92964736f6c63430008060033000000000000000000000000acd3cf818efe8ddce84c585ddcb147c4c844d3b3

Deployed Bytecode

0x6080604052600436106102085760003560e01c80637d8a8a2b11610118578063b88d4fde116100a0578063e968ca7d1161006f578063e968ca7d146107a2578063e985e9c5146107cb578063e994d5a014610808578063ee407e6c14610845578063f2fde38b1461086e5761020f565b8063b88d4fde1461071b578063c87b56dd14610744578063cf41d6f814610781578063db5472171461078b5761020f565b806395d89b41116100e757806395d89b41146106365780639846cd9e14610661578063a22cb46514610678578063a574cea4146106a1578063ab14ec2e146106de5761020f565b80637d8a8a2b1461056657806388072c79146105915780638da5cb5b146105ce5780638f742d16146105f95761020f565b806342842e0e1161019b5780636b73e23f1161016a5780636b73e23f1461046857806370a082311461049157806370edfc24146104ce578063715018a61461051257806378a882e8146105295761020f565b806342842e0e1461039c5780634f6ccce7146103c55780636352211e146104025780636811047d1461043f5761020f565b8063177b8050116101d7578063177b8050146102e257806318160ddd1461030b57806323b872dd146103365780632f745c591461035f5761020f565b806301ffc9a71461021457806306fdde0314610251578063081812fc1461027c578063095ea7b3146102b95761020f565b3661020f57005b600080fd5b34801561022057600080fd5b5061023b60048036038101906102369190614722565b610897565b6040516102489190614c44565b60405180910390f35b34801561025d57600080fd5b50610266610911565b6040516102739190614cf8565b60405180910390f35b34801561028857600080fd5b506102a3600480360381019061029e919061477c565b6109a3565b6040516102b09190614bdd565b60405180910390f35b3480156102c557600080fd5b506102e060048036038101906102db91906144e2565b610a28565b005b3480156102ee57600080fd5b5061030960048036038101906103049190614522565b610b40565b005b34801561031757600080fd5b50610320610bd6565b60405161032d9190614f9a565b60405180910390f35b34801561034257600080fd5b5061035d600480360381019061035891906143cc565b610be3565b005b34801561036b57600080fd5b50610386600480360381019061038191906144e2565b610bf3565b6040516103939190614f9a565b60405180910390f35b3480156103a857600080fd5b506103c360048036038101906103be91906143cc565b610c98565b005b3480156103d157600080fd5b506103ec60048036038101906103e7919061477c565b610ca8565b6040516103f99190614f9a565b60405180910390f35b34801561040e57600080fd5b506104296004803603810190610424919061477c565b610d19565b6040516104369190614bdd565b60405180910390f35b34801561044b57600080fd5b506104666004803603810190610461919061466c565b610dcb565b005b34801561047457600080fd5b5061048f600480360381019061048a919061456b565b611103565b005b34801561049d57600080fd5b506104b860048036038101906104b3919061435f565b611225565b6040516104c59190614f9a565b60405180910390f35b3480156104da57600080fd5b506104f560048036038101906104f091906145e3565b6112dd565b604051610509989796959493929190614c7a565b60405180910390f35b34801561051e57600080fd5b50610527611380565b005b34801561053557600080fd5b50610550600480360381019061054b919061477c565b6114ba565b60405161055d9190614cf8565b60405180910390f35b34801561057257600080fd5b5061057b6114df565b6040516105889190614bdd565b60405180910390f35b34801561059d57600080fd5b506105b860048036038101906105b3919061435f565b611505565b6040516105c59190614c44565b60405180910390f35b3480156105da57600080fd5b506105e36115cf565b6040516105f09190614bdd565b60405180910390f35b34801561060557600080fd5b50610620600480360381019061061b919061477c565b6115f8565b60405161062d9190614cf8565b60405180910390f35b34801561064257600080fd5b5061064b61161d565b6040516106589190614cf8565b60405180910390f35b34801561066d57600080fd5b506106766116af565b005b34801561068457600080fd5b5061069f600480360381019061069a91906144a2565b611751565b005b3480156106ad57600080fd5b506106c860048036038101906106c3919061477c565b6118d2565b6040516106d59190614cf8565b60405180910390f35b3480156106ea57600080fd5b50610705600480360381019061070091906145e3565b6118f7565b6040516107129190614f9a565b60405180910390f35b34801561072757600080fd5b50610742600480360381019061073d919061441f565b6119f6565b005b34801561075057600080fd5b5061076b6004803603810190610766919061477c565b611a08565b6040516107789190614cf8565b60405180910390f35b610789611a2d565b005b34801561079757600080fd5b506107a0611af0565b005b3480156107ae57600080fd5b506107c960048036038101906107c49190614610565b611bd2565b005b3480156107d757600080fd5b506107f260048036038101906107ed919061438c565b611ca0565b6040516107ff9190614c44565b60405180910390f35b34801561081457600080fd5b5061082f600480360381019061082a919061477c565b611d34565b60405161083c9190614c5f565b60405180910390f35b34801561085157600080fd5b5061086c6004803603810190610867919061435f565b611d6b565b005b34801561087a57600080fd5b506108956004803603810190610890919061435f565b611d7a565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061090a575061090982611f23565b5b9050919050565b6060600180546109209061531a565b80601f016020809104026020016040519081016040528092919081815260200182805461094c9061531a565b80156109995780601f1061096e57610100808354040283529160200191610999565b820191906000526020600020905b81548152906001019060200180831161097c57829003601f168201915b5050505050905090565b60006109ae82612005565b6109ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109e490614e9a565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a3382610d19565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610aa4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9b90614efa565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ac3612071565b73ffffffffffffffffffffffffffffffffffffffff161480610af25750610af181610aec612071565b611ca0565b5b610b31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2890614e1a565b60405180910390fd5b610b3b8383612079565b505050565b610b48612071565b73ffffffffffffffffffffffffffffffffffffffff16610b666115cf565b73ffffffffffffffffffffffffffffffffffffffff1614610bbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb390614eba565b60405180910390fd5b8060109080519060200190610bd2929190613e60565b5050565b6000600980549050905090565b610bee838383612132565b505050565b6000610bfe83611225565b8210610c3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3690614d1a565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610ca3838383612132565b505050565b6000610cb2610bd6565b8210610cf3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cea90614f3a565b60405180910390fd5b60098281548110610d0757610d066154b3565b5b90600052602060002001549050919050565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610dc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db990614e5a565b60405180910390fd5b80915050919050565b610dd3612071565b73ffffffffffffffffffffffffffffffffffffffff16610df16115cf565b73ffffffffffffffffffffffffffffffffffffffff1614610e47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3e90614eba565b60405180910390fd5b60006040518061010001604052808a6fffffffffffffffffffffffffffffffff19168152602001896fffffffffffffffffffffffffffffffff19168152602001886fffffffffffffffffffffffffffffffff19168152602001876fffffffffffffffffffffffffffffffff19168152602001866fffffffffffffffffffffffffffffffff19168152602001856fffffffffffffffffffffffffffffffff19168152602001846fffffffffffffffffffffffffffffffff1916815260200183815250905080600f60008b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff1916815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff021916908360801c021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff021916908360801c021790555060408201518160010160006101000a8154816fffffffffffffffffffffffffffffffff021916908360801c021790555060608201518160010160106101000a8154816fffffffffffffffffffffffffffffffff021916908360801c021790555060808201518160020160006101000a8154816fffffffffffffffffffffffffffffffff021916908360801c021790555060a08201518160020160106101000a8154816fffffffffffffffffffffffffffffffff021916908360801c021790555060c08201518160030160006101000a8154816fffffffffffffffffffffffffffffffff021916908360801c021790555060e0820151816004015590505060108990806001815401808255809150506001900390600052602060002090600291828204019190066010029091909190916101000a8154816fffffffffffffffffffffffffffffffff021916908360801c0217905550505050505050505050565b61110b612071565b73ffffffffffffffffffffffffffffffffffffffff166111296115cf565b73ffffffffffffffffffffffffffffffffffffffff161461117f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117690614eba565b60405180910390fd5b60005b82518110156112205781818151811061119e5761119d6154b3565b5b6020026020010151600d60008584815181106111bd576111bc6154b3565b5b60200260200101516fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff19168152602001908152602001600020908051906020019061120c929190613f25565b5080806112189061537d565b915050611182565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611296576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128d90614e3a565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600f6020528060005260406000206000915090508060000160009054906101000a900460801b908060000160109054906101000a900460801b908060010160009054906101000a900460801b908060010160109054906101000a900460801b908060020160009054906101000a900460801b908060020160109054906101000a900460801b908060030160009054906101000a900460801b908060040154905088565b611388612071565b73ffffffffffffffffffffffffffffffffffffffff166113a66115cf565b73ffffffffffffffffffffffffffffffffffffffff16146113fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f390614eba565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b606060006114c783612152565b90506114d7838260600151612669565b915050919050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006001600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b81526004016115649190614bdd565b60206040518083038186803b15801561157c57600080fd5b505afa158015611590573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115b491906147a9565b14806115c8575060016115c683611225565b145b9050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600061160583612152565b9050611615838260a00151612669565b915050919050565b60606002805461162c9061531a565b80601f01602080910402602001604051908101604052809291908181526020018280546116589061531a565b80156116a55780601f1061167a576101008083540402835291602001916116a5565b820191906000526020600020905b81548152906001019060200180831161168857829003601f168201915b5050505050905090565b6116b7612071565b73ffffffffffffffffffffffffffffffffffffffff166116d56115cf565b73ffffffffffffffffffffffffffffffffffffffff161461172b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172290614eba565b60405180910390fd5b60006117376000610d19565b905061174581336000612740565b61174e8161299c565b50565b611759612071565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117be90614dba565b60405180910390fd5b80600660006117d4612071565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611881612071565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516118c69190614c44565b60405180910390a35050565b606060006118df83612152565b90506118ef838260800151612669565b915050919050565b60008060005b601060ff168110156119ec57603060f81b848260108110611921576119206154b3565b5b1a60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916101580156119915750603960f81b848260108110611968576119676154b3565b5b1a60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191611155b156119d95760308482601081106119ab576119aa6154b3565b5b1a60f81b60f81c6119bc91906151f7565b60ff16600a836119cc9190615169565b6119d691906150e2565b91505b80806119e49061537d565b9150506118fd565b5080915050919050565b611a02848484846129c5565b50505050565b60606000611a1583612152565b9050611a25838260c00151612669565b915050919050565b611a35612071565b73ffffffffffffffffffffffffffffffffffffffff16611a536115cf565b73ffffffffffffffffffffffffffffffffffffffff1614611aa9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa090614eba565b60405180910390fd5b611ab1612071565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050611aee57600080fd5b565b611af8612071565b73ffffffffffffffffffffffffffffffffffffffff16611b166115cf565b73ffffffffffffffffffffffffffffffffffffffff1614611b6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6390614eba565b60405180910390fd5b60001515611b7a6000612005565b151514611bbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb390614f7a565b60405180910390fd5b611bc7336000612a1b565b610111600b81905550565b611bda612071565b73ffffffffffffffffffffffffffffffffffffffff16611bf86115cf565b73ffffffffffffffffffffffffffffffffffffffff1614611c4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4590614eba565b60405180910390fd5b80600e6000846fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020019081526020016000209080519060200190611c9b929190613e60565b505050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60108181548110611d4457600080fd5b9060005260206000209060029182820401919006601002915054906101000a900460801b81565b611d7733826000612132565b50565b611d82612071565b73ffffffffffffffffffffffffffffffffffffffff16611da06115cf565b73ffffffffffffffffffffffffffffffffffffffff1614611df6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ded90614eba565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5d90614d5a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611fee57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611ffe5750611ffd82612a39565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166120ec83610d19565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b61214d838383604051806020016040528060008152506129c5565b505050565b61215a613fab565b60005b60108054905081101561242f57600f600060108381548110612182576121816154b3565b5b90600052602060002090600291828204019190066010029054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020019081526020016000206004015483101561241c57600f6000601083815481106121fc576121fb6154b3565b5b90600052602060002090600291828204019190066010029054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff19168152602001908152602001600020604051806101000160405290816000820160009054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016000820160109054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016001820160009054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016001820160109054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016002820160009054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016002820160109054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016003820160009054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff19168152602001600482015481525050915050612664565b80806124279061537d565b91505061215d565b50600f60006010600081548110612449576124486154b3565b5b90600052602060002090600291828204019190066010029054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff19168152602001908152602001600020604051806101000160405290816000820160009054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016000820160109054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016001820160009054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016001820160109054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016002820160009054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016002820160109054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff191681526020016003820160009054906101000a900460801b6fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff1916815260200160048201548152505090505b919050565b60606000600e6000846fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff1916815260200190815260200160002080548060200260200160405190810160405280929190818152602001828054801561272657602002820191906000526020600020906000905b82829054906101000a900460801b6fffffffffffffffffffffffffffffffff191681526020019060100190602082600f010492830192600103820291508084116126df5790505b505050505090506127378482612aa3565b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661276082610d19565b73ffffffffffffffffffffffffffffffffffffffff16146127b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ad90614eda565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612826576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161281d90614d9a565b60405180910390fd5b6128318383836130fd565b61283c600082612079565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461288c91906151c3565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128e391906150e2565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6129a881600b54612a1b565b6001600b60008282546129bb91906150e2565b9250508190555050565b6129d184848484613211565b6129d96115cf565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614612a1557612a148461299c565b5b50505050565b612a35828260405180602001604052806000815250613305565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60608060005b83518110156130f2577f5f746f6b656e5f696400000000000000000000000000000000000000000000006fffffffffffffffffffffffffffffffff1916848281518110612af957612af86154b3565b5b60200260200101516fffffffffffffffffffffffffffffffff19161415612b3357612b2c82612b2787613360565b6134c1565b91506130df565b7f2400000000000000000000000000000000000000000000000000000000000000848281518110612b6757612b666154b3565b5b6020026020010151600060108110612b8257612b816154b3565b5b1a60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415612be257612bdb82612bd687878581518110612bc957612bc86154b3565b5b6020026020010151612669565b6134c1565b91506130de565b7f2500000000000000000000000000000000000000000000000000000000000000848281518110612c1657612c156154b3565b5b6020026020010151600060108110612c3157612c306154b3565b5b1a60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415612cd2576000612c996008868481518110612c7757612c766154b3565b5b60200260200101516fffffffffffffffffffffffffffffffff1916901b6118f7565b9050600086905060008214612cb7578187612cb491906153c6565b90505b612cc984612cc483613360565b6134c1565b935050506130dd565b7f7b00000000000000000000000000000000000000000000000000000000000000848281518110612d0657612d056154b3565b5b6020026020010151600060108110612d2157612d206154b3565b5b1a60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415612ff4576060600080600184612d5f91906150e2565b90505b8651811015612ebd577f7d00000000000000000000000000000000000000000000000000000000000000878281518110612d9f57612d9e6154b3565b5b6020026020010151600060108110612dba57612db96154b3565b5b1a60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148015612e925750868481518110612dfb57612dfa6154b3565b5b6020026020010151600160108110612e1657612e156154b3565b5b1a60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916878281518110612e4f57612e4e6154b3565b5b6020026020010151600160108110612e6a57612e696154b3565b5b1a60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b15612e9c57612ebd565b8180612ea79061537d565b9250508080612eb59061537d565b915050612d62565b5060008167ffffffffffffffff811115612eda57612ed96154e2565b5b604051908082528060200260200182016040528015612f085781602001602082028036833780820191505090505b509050600080600186612f1b91906150e2565b90505b8851811015612fca5783821015612fb257888181518110612f4257612f416154b3565b5b6020026020010151838381518110612f5d57612f5c6154b3565b5b60200260200101906fffffffffffffffffffffffffffffffff191690816fffffffffffffffffffffffffffffffff1916815250508180612f9c9061537d565b9250508580612faa9061537d565b965050612fb7565b612fca565b8080612fc29061537d565b915050612f1e565b50612fd58983612aa3565b9350612fe986612fe4866134ed565b6134c1565b9550505050506130dc565b6130d982600d600087858151811061300f5761300e6154b3565b5b60200260200101516fffffffffffffffffffffffffffffffff19166fffffffffffffffffffffffffffffffff1916815260200190815260200160002080546130569061531a565b80601f01602080910402602001604051908101604052809291908181526020018280546130829061531a565b80156130cf5780601f106130a4576101008083540402835291602001916130cf565b820191906000526020600020905b8154815290600101906020018083116130b257829003601f168201915b50505050506134c1565b91505b5b5b5b80806130ea9061537d565b915050612aa9565b508091505092915050565b61310883838361351e565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561314b5761314681613523565b61318a565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461318957613188838261356c565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156131cd576131c8816136d9565b61320c565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461320b5761320a82826137aa565b5b5b505050565b60008214613254576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161324b90614dda565b60405180910390fd5b6000151561326184611505565b1515146132a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161329a90614f5a565b60405180910390fd5b6132b46132ae612071565b83613829565b6132f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132ea90614f1a565b60405180910390fd5b6132ff84848484613907565b50505050565b61330f8383613963565b61331c6000848484613b31565b61335b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161335290614d3a565b60405180910390fd5b505050565b606060008214156133a8576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506134bc565b600082905060005b600082146133da5780806133c39061537d565b915050600a826133d39190615138565b91506133b0565b60008167ffffffffffffffff8111156133f6576133f56154e2565b5b6040519080825280601f01601f1916602001820160405280156134285781602001600182028036833780820191505090505b5090505b600085146134b55760018261344191906151c3565b9150600a8561345091906153c6565b603061345c91906150e2565b60f81b818381518110613472576134716154b3565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856134ae9190615138565b945061342c565b8093505050505b919050565b606082826040516020016134d6929190614ba2565b604051602081830303815290604052905092915050565b60606134f882613cc8565b6040516020016135089190614bc6565b6040516020818303038152906040529050919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161357984611225565b61358391906151c3565b9050600060086000848152602001908152602001600020549050818114613668576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016009805490506136ed91906151c3565b90506000600a600084815260200190815260200160002054905060006009838154811061371d5761371c6154b3565b5b90600052602060002001549050806009838154811061373f5761373e6154b3565b5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a600085815260200190815260200160002060009055600980548061378e5761378d615484565b5b6001900381819060005260206000200160009055905550505050565b60006137b583611225565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b600061383482612005565b613873576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161386a90614dfa565b60405180910390fd5b600061387e83610d19565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806138ed57508373ffffffffffffffffffffffffffffffffffffffff166138d5846109a3565b73ffffffffffffffffffffffffffffffffffffffff16145b806138fe57506138fd8185611ca0565b5b91505092915050565b613912848484612740565b61391e84848484613b31565b61395d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161395490614d3a565b60405180910390fd5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156139d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139ca90614e7a565b60405180910390fd5b6139dc81612005565b15613a1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a1390614d7a565b60405180910390fd5b613a28600083836130fd565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613a7891906150e2565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000613b528473ffffffffffffffffffffffffffffffffffffffff16613e4d565b15613cbb578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613b7b612071565b8786866040518563ffffffff1660e01b8152600401613b9d9493929190614bf8565b602060405180830381600087803b158015613bb757600080fd5b505af1925050508015613be857506040513d601f19601f82011682018060405250810190613be5919061474f565b60015b613c6b573d8060008114613c18576040519150601f19603f3d011682016040523d82523d6000602084013e613c1d565b606091505b50600081511415613c63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c5a90614d3a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613cc0565b600190505b949350505050565b6060600082511415613ceb57604051806020016040528060008152509050613e48565b6000604051806060016040528060408152602001615b436040913990506000600360028551613d1a91906150e2565b613d249190615138565b6004613d309190615169565b90506000602082613d4191906150e2565b67ffffffffffffffff811115613d5a57613d596154e2565b5b6040519080825280601f01601f191660200182016040528015613d8c5781602001600182028036833780820191505090505b509050818152600183018586518101602084015b81831015613e07576003830192508251603f8160121c1685015160f81b8252600182019150603f81600c1c1685015160f81b8252600182019150603f8160061c1685015160f81b8252600182019150603f811685015160f81b825260018201915050613da0565b600389510660018114613e215760028114613e3157613e3c565b613d3d60f01b6002830352613e3c565b603d60f81b60018303525b50505050508093505050505b919050565b600080823b905060008111915050919050565b82805482825590600052602060002090600101600290048101928215613f145791602002820160005b83821115613ed657835183826101000a8154816fffffffffffffffffffffffffffffffff021916908360801c02179055509260200192601001602081600f01049283019260010302613e89565b8015613f125782816101000a8154906fffffffffffffffffffffffffffffffff0219169055601001602081600f01049283019260010302613ed6565b505b509050613f219190614075565b5090565b828054613f319061531a565b90600052602060002090601f016020900481019282613f535760008555613f9a565b82601f10613f6c57805160ff1916838001178555613f9a565b82800160010185558215613f9a579182015b82811115613f99578251825591602001919060010190613f7e565b5b509050613fa79190614075565b5090565b60405180610100016040528060006fffffffffffffffffffffffffffffffff1916815260200160006fffffffffffffffffffffffffffffffff1916815260200160006fffffffffffffffffffffffffffffffff1916815260200160006fffffffffffffffffffffffffffffffff1916815260200160006fffffffffffffffffffffffffffffffff1916815260200160006fffffffffffffffffffffffffffffffff1916815260200160006fffffffffffffffffffffffffffffffff19168152602001600081525090565b5b8082111561408e576000816000905550600101614076565b5090565b60006140a56140a084614fda565b614fb5565b905080838252602082019050828560208602820111156140c8576140c7615516565b5b60005b858110156140f857816140de888261429a565b8452602084019350602083019250506001810190506140cb565b5050509392505050565b600061411561411084615006565b614fb5565b9050808382526020820190508285602086028201111561413857614137615516565b5b60005b8581101561418657813567ffffffffffffffff81111561415e5761415d615511565b5b80860161416b8982614307565b8552602085019450602084019350505060018101905061413b565b5050509392505050565b60006141a361419e84615032565b614fb5565b9050828152602081018484840111156141bf576141be61551b565b5b6141ca8482856152d8565b509392505050565b60006141e56141e084615063565b614fb5565b9050828152602081018484840111156142015761420061551b565b5b61420c8482856152d8565b509392505050565b60008135905061422381615acf565b92915050565b600082601f83011261423e5761423d615511565b5b813561424e848260208601614092565b91505092915050565b600082601f83011261426c5761426b615511565b5b813561427c848260208601614102565b91505092915050565b60008135905061429481615ae6565b92915050565b6000813590506142a981615afd565b92915050565b6000813590506142be81615b14565b92915050565b6000815190506142d381615b14565b92915050565b600082601f8301126142ee576142ed615511565b5b81356142fe848260208601614190565b91505092915050565b600082601f83011261431c5761431b615511565b5b813561432c8482602086016141d2565b91505092915050565b60008135905061434481615b2b565b92915050565b60008151905061435981615b2b565b92915050565b60006020828403121561437557614374615525565b5b600061438384828501614214565b91505092915050565b600080604083850312156143a3576143a2615525565b5b60006143b185828601614214565b92505060206143c285828601614214565b9150509250929050565b6000806000606084860312156143e5576143e4615525565b5b60006143f386828701614214565b935050602061440486828701614214565b925050604061441586828701614335565b9150509250925092565b6000806000806080858703121561443957614438615525565b5b600061444787828801614214565b945050602061445887828801614214565b935050604061446987828801614335565b925050606085013567ffffffffffffffff81111561448a57614489615520565b5b614496878288016142d9565b91505092959194509250565b600080604083850312156144b9576144b8615525565b5b60006144c785828601614214565b92505060206144d885828601614285565b9150509250929050565b600080604083850312156144f9576144f8615525565b5b600061450785828601614214565b925050602061451885828601614335565b9150509250929050565b60006020828403121561453857614537615525565b5b600082013567ffffffffffffffff81111561455657614555615520565b5b61456284828501614229565b91505092915050565b6000806040838503121561458257614581615525565b5b600083013567ffffffffffffffff8111156145a05761459f615520565b5b6145ac85828601614229565b925050602083013567ffffffffffffffff8111156145cd576145cc615520565b5b6145d985828601614257565b9150509250929050565b6000602082840312156145f9576145f8615525565b5b60006146078482850161429a565b91505092915050565b6000806040838503121561462757614626615525565b5b60006146358582860161429a565b925050602083013567ffffffffffffffff81111561465657614655615520565b5b61466285828601614229565b9150509250929050565b600080600080600080600080610100898b03121561468d5761468c615525565b5b600061469b8b828c0161429a565b98505060206146ac8b828c0161429a565b97505060406146bd8b828c0161429a565b96505060606146ce8b828c0161429a565b95505060806146df8b828c0161429a565b94505060a06146f08b828c0161429a565b93505060c06147018b828c0161429a565b92505060e06147128b828c01614335565b9150509295985092959890939650565b60006020828403121561473857614737615525565b5b6000614746848285016142af565b91505092915050565b60006020828403121561476557614764615525565b5b6000614773848285016142c4565b91505092915050565b60006020828403121561479257614791615525565b5b60006147a084828501614335565b91505092915050565b6000602082840312156147bf576147be615525565b5b60006147cd8482850161434a565b91505092915050565b6147df8161522b565b82525050565b6147ee8161523d565b82525050565b6147fd81615249565b82525050565b600061480e82615094565b61481881856150aa565b93506148288185602086016152e7565b6148318161552a565b840191505092915050565b600061484782615094565b61485181856150bb565b93506148618185602086016152e7565b80840191505092915050565b60006148788261509f565b61488281856150c6565b93506148928185602086016152e7565b61489b8161552a565b840191505092915050565b60006148b18261509f565b6148bb81856150d7565b93506148cb8185602086016152e7565b80840191505092915050565b60006148e4602b836150c6565b91506148ef8261553b565b604082019050919050565b60006149076032836150c6565b91506149128261558a565b604082019050919050565b600061492a6026836150c6565b9150614935826155d9565b604082019050919050565b600061494d601c836150c6565b915061495882615628565b602082019050919050565b60006149706024836150c6565b915061497b82615651565b604082019050919050565b60006149936019836150c6565b915061499e826156a0565b602082019050919050565b60006149b6602d836150c6565b91506149c1826156c9565b604082019050919050565b60006149d9602c836150c6565b91506149e482615718565b604082019050919050565b60006149fc6038836150c6565b9150614a0782615767565b604082019050919050565b6000614a1f602a836150c6565b9150614a2a826157b6565b604082019050919050565b6000614a426029836150c6565b9150614a4d82615805565b604082019050919050565b6000614a656020836150c6565b9150614a7082615854565b602082019050919050565b6000614a88602c836150c6565b9150614a938261587d565b604082019050919050565b6000614aab6020836150c6565b9150614ab6826158cc565b602082019050919050565b6000614ace6029836150c6565b9150614ad9826158f5565b604082019050919050565b6000614af16021836150c6565b9150614afc82615944565b604082019050919050565b6000614b146031836150c6565b9150614b1f82615993565b604082019050919050565b6000614b37602c836150c6565b9150614b42826159e2565b604082019050919050565b6000614b5a6025836150c6565b9150614b6582615a31565b604082019050919050565b6000614b7d602f836150c6565b9150614b8882615a80565b604082019050919050565b614b9c816152c1565b82525050565b6000614bae828561483c565b9150614bba828461483c565b91508190509392505050565b6000614bd282846148a6565b915081905092915050565b6000602082019050614bf260008301846147d6565b92915050565b6000608082019050614c0d60008301876147d6565b614c1a60208301866147d6565b614c276040830185614b93565b8181036060830152614c398184614803565b905095945050505050565b6000602082019050614c5960008301846147e5565b92915050565b6000602082019050614c7460008301846147f4565b92915050565b600061010082019050614c90600083018b6147f4565b614c9d602083018a6147f4565b614caa60408301896147f4565b614cb760608301886147f4565b614cc460808301876147f4565b614cd160a08301866147f4565b614cde60c08301856147f4565b614ceb60e0830184614b93565b9998505050505050505050565b60006020820190508181036000830152614d12818461486d565b905092915050565b60006020820190508181036000830152614d33816148d7565b9050919050565b60006020820190508181036000830152614d53816148fa565b9050919050565b60006020820190508181036000830152614d738161491d565b9050919050565b60006020820190508181036000830152614d9381614940565b9050919050565b60006020820190508181036000830152614db381614963565b9050919050565b60006020820190508181036000830152614dd381614986565b9050919050565b60006020820190508181036000830152614df3816149a9565b9050919050565b60006020820190508181036000830152614e13816149cc565b9050919050565b60006020820190508181036000830152614e33816149ef565b9050919050565b60006020820190508181036000830152614e5381614a12565b9050919050565b60006020820190508181036000830152614e7381614a35565b9050919050565b60006020820190508181036000830152614e9381614a58565b9050919050565b60006020820190508181036000830152614eb381614a7b565b9050919050565b60006020820190508181036000830152614ed381614a9e565b9050919050565b60006020820190508181036000830152614ef381614ac1565b9050919050565b60006020820190508181036000830152614f1381614ae4565b9050919050565b60006020820190508181036000830152614f3381614b07565b9050919050565b60006020820190508181036000830152614f5381614b2a565b9050919050565b60006020820190508181036000830152614f7381614b4d565b9050919050565b60006020820190508181036000830152614f9381614b70565b9050919050565b6000602082019050614faf6000830184614b93565b92915050565b6000614fbf614fd0565b9050614fcb828261534c565b919050565b6000604051905090565b600067ffffffffffffffff821115614ff557614ff46154e2565b5b602082029050602081019050919050565b600067ffffffffffffffff821115615021576150206154e2565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561504d5761504c6154e2565b5b6150568261552a565b9050602081019050919050565b600067ffffffffffffffff82111561507e5761507d6154e2565b5b6150878261552a565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006150ed826152c1565b91506150f8836152c1565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561512d5761512c6153f7565b5b828201905092915050565b6000615143826152c1565b915061514e836152c1565b92508261515e5761515d615426565b5b828204905092915050565b6000615174826152c1565b915061517f836152c1565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156151b8576151b76153f7565b5b828202905092915050565b60006151ce826152c1565b91506151d9836152c1565b9250828210156151ec576151eb6153f7565b5b828203905092915050565b6000615202826152cb565b915061520d836152cb565b9250828210156152205761521f6153f7565b5b828203905092915050565b6000615236826152a1565b9050919050565b60008115159050919050565b60007fffffffffffffffffffffffffffffffff0000000000000000000000000000000082169050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b838110156153055780820151818401526020810190506152ea565b83811115615314576000848401525b50505050565b6000600282049050600182168061533257607f821691505b6020821081141561534657615345615455565b5b50919050565b6153558261552a565b810181811067ffffffffffffffff82111715615374576153736154e2565b5b80604052505050565b6000615388826152c1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156153bb576153ba6153f7565b5b600182019050919050565b60006153d1826152c1565b91506153dc836152c1565b9250826153ec576153eb615426565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f544f4f204241443a206f6e6c79207468652030726967696e616c2063616e206260008201527f65207472616e7366657272656400000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f544f4f204241443a20796f7520616c726561647920686164207468652030726960008201527f67696e616c000000000000000000000000000000000000000000000000000000602082015250565b7f544f4f204c4154453a2054686520726573757272656374696f6e20686173206160008201527f6c72656164792068617070656e65640000000000000000000000000000000000602082015250565b615ad88161522b565b8114615ae357600080fd5b50565b615aef8161523d565b8114615afa57600080fd5b50565b615b0681615249565b8114615b1157600080fd5b50565b615b1d81615275565b8114615b2857600080fd5b50565b615b34816152c1565b8114615b3f57600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220633aeced389b9bfcb672a40b71e9128e5ae6e4e6fc6d9f67c8bc1b19b04cb92964736f6c63430008060033

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

000000000000000000000000acd3cf818efe8ddce84c585ddcb147c4c844d3b3

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

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


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.