ETH Price: $3,592.64 (+4.83%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...214270702024-12-18 4:35:5917 days ago1734496559IN
War Riders: Old Token
0 ETH0.000326413.37954211
Set Approval For...139985832022-01-13 17:47:411086 days ago1642096061IN
War Riders: Old Token
0 ETH0.0105502227.82675347
Set Approval For...87618902019-10-18 1:07:451905 days ago1571360865IN
War Riders: Old Token
0 ETH0.00003071
Set Approval For...87618852019-10-18 1:06:231905 days ago1571360783IN
War Riders: Old Token
0 ETH0.00004571
Set Approval For...87617242019-10-18 0:32:241905 days ago1571358744IN
War Riders: Old Token
0 ETH0.000022850.5
Set Approval For...87613122019-10-17 22:56:081905 days ago1571352968IN
War Riders: Old Token
0 ETH0.000182574
Set Approval For...87612812019-10-17 22:50:201905 days ago1571352620IN
War Riders: Old Token
0 ETH0.000228545
Set Approval For...87610972019-10-17 22:07:081905 days ago1571350028IN
War Riders: Old Token
0 ETH0.000091412
Set Approval For...87607302019-10-17 20:45:161905 days ago1571345116IN
War Riders: Old Token
0 ETH0.000046161.01
Set Approval For...87606692019-10-17 20:30:161905 days ago1571344216IN
War Riders: Old Token
0 ETH0.000091412
Set Approval For...87606652019-10-17 20:29:401905 days ago1571344180IN
War Riders: Old Token
0 ETH0.000182834
Set Approval For...87606482019-10-17 20:25:471905 days ago1571343947IN
War Riders: Old Token
0 ETH0.000182834
Set Approval For...87602292019-10-17 18:52:291905 days ago1571338349IN
War Riders: Old Token
0 ETH0.000182834
Set Approval For...87601582019-10-17 18:36:131905 days ago1571337373IN
War Riders: Old Token
0 ETH0.000182834
Set Approval For...87601202019-10-17 18:29:171905 days ago1571336957IN
War Riders: Old Token
0 ETH0.000365668
Transfer Ownersh...87566152019-10-17 4:58:561906 days ago1571288336IN
War Riders: Old Token
0 ETH0.000060952

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
GunToken

Compiler Version
v0.5.11+commit.c082d0b4

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2019-10-17
*/

pragma solidity ^0.5.5;

library strings {
    struct slice {
        uint _len;
        uint _ptr;
    }

    function memcpy(uint dest, uint src, uint len) private pure {
        // Copy word-length chunks while possible
        for(; len >= 32; len -= 32) {
            assembly {
                mstore(dest, mload(src))
            }
            dest += 32;
            src += 32;
        }

        // Copy remaining bytes
        uint mask = 256 ** (32 - len) - 1;
        assembly {
            let srcpart := and(mload(src), not(mask))
            let destpart := and(mload(dest), mask)
            mstore(dest, or(destpart, srcpart))
        }
    }

    /*
     * @dev Returns a slice containing the entire string.
     * @param self The string to make a slice from.
     * @return A newly allocated slice containing the entire string.
     */
    function toSlice(string memory self) internal pure returns (slice memory) {
        uint ptr;
        assembly {
            ptr := add(self, 0x20)
        }
        return slice(bytes(self).length, ptr);
    }

    /*
     * @dev Returns the length of a null-terminated bytes32 string.
     * @param self The value to find the length of.
     * @return The length of the string, from 0 to 32.
     */
    function len(bytes32 self) internal pure returns (uint) {
        uint ret;
        if (self == 0)
            return 0;
        if (uint(self) & 0xffffffffffffffffffffffffffffffff == 0) {
            ret += 16;
            self = bytes32(uint(self) / 0x100000000000000000000000000000000);
        }
        if (uint(self) & 0xffffffffffffffff == 0) {
            ret += 8;
            self = bytes32(uint(self) / 0x10000000000000000);
        }
        if (uint(self) & 0xffffffff == 0) {
            ret += 4;
            self = bytes32(uint(self) / 0x100000000);
        }
        if (uint(self) & 0xffff == 0) {
            ret += 2;
            self = bytes32(uint(self) / 0x10000);
        }
        if (uint(self) & 0xff == 0) {
            ret += 1;
        }
        return 32 - ret;
    }

    /*
     * @dev Returns a slice containing the entire bytes32, interpreted as a
     *      null-terminated utf-8 string.
     * @param self The bytes32 value to convert to a slice.
     * @return A new slice containing the value of the input argument up to the
     *         first null.
     */
    function toSliceB32(bytes32 self) internal pure returns (slice memory ret) {
        // Allocate space for `self` in memory, copy it there, and point ret at it
        assembly {
            let ptr := mload(0x40)
            mstore(0x40, add(ptr, 0x20))
            mstore(ptr, self)
            mstore(add(ret, 0x20), ptr)
        }
        ret._len = len(self);
    }

    /*
     * @dev Returns a new slice containing the same data as the current slice.
     * @param self The slice to copy.
     * @return A new slice containing the same data as `self`.
     */
    function copy(slice memory self) internal pure returns (slice memory) {
        return slice(self._len, self._ptr);
    }

    /*
     * @dev Copies a slice to a new string.
     * @param self The slice to copy.
     * @return A newly allocated string containing the slice's text.
     */
    function toString(slice memory self) internal pure returns (string memory) {
        string memory ret = new string(self._len);
        uint retptr;
        assembly { retptr := add(ret, 32) }

        memcpy(retptr, self._ptr, self._len);
        return ret;
    }

    /*
     * @dev Returns the length in runes of the slice. Note that this operation
     *      takes time proportional to the length of the slice; avoid using it
     *      in loops, and call `slice.empty()` if you only need to know whether
     *      the slice is empty or not.
     * @param self The slice to operate on.
     * @return The length of the slice in runes.
     */
    function len(slice memory self) internal pure returns (uint l) {
        // Starting at ptr-31 means the LSB will be the byte we care about
        uint ptr = self._ptr - 31;
        uint end = ptr + self._len;
        for (l = 0; ptr < end; l++) {
            uint8 b;
            assembly { b := and(mload(ptr), 0xFF) }
            if (b < 0x80) {
                ptr += 1;
            } else if(b < 0xE0) {
                ptr += 2;
            } else if(b < 0xF0) {
                ptr += 3;
            } else if(b < 0xF8) {
                ptr += 4;
            } else if(b < 0xFC) {
                ptr += 5;
            } else {
                ptr += 6;
            }
        }
    }

    /*
     * @dev Returns true if the slice is empty (has a length of 0).
     * @param self The slice to operate on.
     * @return True if the slice is empty, False otherwise.
     */
    function empty(slice memory self) internal pure returns (bool) {
        return self._len == 0;
    }

    /*
     * @dev Returns a positive number if `other` comes lexicographically after
     *      `self`, a negative number if it comes before, or zero if the
     *      contents of the two slices are equal. Comparison is done per-rune,
     *      on unicode codepoints.
     * @param self The first slice to compare.
     * @param other The second slice to compare.
     * @return The result of the comparison.
     */
    function compare(slice memory self, slice memory other) internal pure returns (int) {
        uint shortest = self._len;
        if (other._len < self._len)
            shortest = other._len;

        uint selfptr = self._ptr;
        uint otherptr = other._ptr;
        for (uint idx = 0; idx < shortest; idx += 32) {
            uint a;
            uint b;
            assembly {
                a := mload(selfptr)
                b := mload(otherptr)
            }
            if (a != b) {
                // Mask out irrelevant bytes and check again
                uint256 mask = uint256(-1); // 0xffff...
                if(shortest < 32) {
                  mask = ~(2 ** (8 * (32 - shortest + idx)) - 1);
                }
                uint256 diff = (a & mask) - (b & mask);
                if (diff != 0)
                    return int(diff);
            }
            selfptr += 32;
            otherptr += 32;
        }
        return int(self._len) - int(other._len);
    }

    /*
     * @dev Returns true if the two slices contain the same text.
     * @param self The first slice to compare.
     * @param self The second slice to compare.
     * @return True if the slices are equal, false otherwise.
     */
    function equals(slice memory self, slice memory other) internal pure returns (bool) {
        return compare(self, other) == 0;
    }

    /*
     * @dev Extracts the first rune in the slice into `rune`, advancing the
     *      slice to point to the next rune and returning `self`.
     * @param self The slice to operate on.
     * @param rune The slice that will contain the first rune.
     * @return `rune`.
     */
    function nextRune(slice memory self, slice memory rune) internal pure returns (slice memory) {
        rune._ptr = self._ptr;

        if (self._len == 0) {
            rune._len = 0;
            return rune;
        }

        uint l;
        uint b;
        // Load the first byte of the rune into the LSBs of b
        assembly { b := and(mload(sub(mload(add(self, 32)), 31)), 0xFF) }
        if (b < 0x80) {
            l = 1;
        } else if(b < 0xE0) {
            l = 2;
        } else if(b < 0xF0) {
            l = 3;
        } else {
            l = 4;
        }

        // Check for truncated codepoints
        if (l > self._len) {
            rune._len = self._len;
            self._ptr += self._len;
            self._len = 0;
            return rune;
        }

        self._ptr += l;
        self._len -= l;
        rune._len = l;
        return rune;
    }

    /*
     * @dev Returns the first rune in the slice, advancing the slice to point
     *      to the next rune.
     * @param self The slice to operate on.
     * @return A slice containing only the first rune from `self`.
     */
    function nextRune(slice memory self) internal pure returns (slice memory ret) {
        nextRune(self, ret);
    }

    /*
     * @dev Returns the number of the first codepoint in the slice.
     * @param self The slice to operate on.
     * @return The number of the first codepoint in the slice.
     */
    function ord(slice memory self) internal pure returns (uint ret) {
        if (self._len == 0) {
            return 0;
        }

        uint word;
        uint length;
        uint divisor = 2 ** 248;

        // Load the rune into the MSBs of b
        assembly { word:= mload(mload(add(self, 32))) }
        uint b = word / divisor;
        if (b < 0x80) {
            ret = b;
            length = 1;
        } else if(b < 0xE0) {
            ret = b & 0x1F;
            length = 2;
        } else if(b < 0xF0) {
            ret = b & 0x0F;
            length = 3;
        } else {
            ret = b & 0x07;
            length = 4;
        }

        // Check for truncated codepoints
        if (length > self._len) {
            return 0;
        }

        for (uint i = 1; i < length; i++) {
            divisor = divisor / 256;
            b = (word / divisor) & 0xFF;
            if (b & 0xC0 != 0x80) {
                // Invalid UTF-8 sequence
                return 0;
            }
            ret = (ret * 64) | (b & 0x3F);
        }

        return ret;
    }

    /*
     * @dev Returns the keccak-256 hash of the slice.
     * @param self The slice to hash.
     * @return The hash of the slice.
     */
    function keccak(slice memory self) internal pure returns (bytes32 ret) {
        assembly {
            ret := keccak256(mload(add(self, 32)), mload(self))
        }
    }

    /*
     * @dev Returns true if `self` starts with `needle`.
     * @param self The slice to operate on.
     * @param needle The slice to search for.
     * @return True if the slice starts with the provided text, false otherwise.
     */
    function startsWith(slice memory self, slice memory needle) internal pure returns (bool) {
        if (self._len < needle._len) {
            return false;
        }

        if (self._ptr == needle._ptr) {
            return true;
        }

        bool equal;
        assembly {
            let length := mload(needle)
            let selfptr := mload(add(self, 0x20))
            let needleptr := mload(add(needle, 0x20))
            equal := eq(keccak256(selfptr, length), keccak256(needleptr, length))
        }
        return equal;
    }

    /*
     * @dev If `self` starts with `needle`, `needle` is removed from the
     *      beginning of `self`. Otherwise, `self` is unmodified.
     * @param self The slice to operate on.
     * @param needle The slice to search for.
     * @return `self`
     */
    function beyond(slice memory self, slice memory needle) internal pure returns (slice memory) {
        if (self._len < needle._len) {
            return self;
        }

        bool equal = true;
        if (self._ptr != needle._ptr) {
            assembly {
                let length := mload(needle)
                let selfptr := mload(add(self, 0x20))
                let needleptr := mload(add(needle, 0x20))
                equal := eq(keccak256(selfptr, length), keccak256(needleptr, length))
            }
        }

        if (equal) {
            self._len -= needle._len;
            self._ptr += needle._len;
        }

        return self;
    }

    /*
     * @dev Returns true if the slice ends with `needle`.
     * @param self The slice to operate on.
     * @param needle The slice to search for.
     * @return True if the slice starts with the provided text, false otherwise.
     */
    function endsWith(slice memory self, slice memory needle) internal pure returns (bool) {
        if (self._len < needle._len) {
            return false;
        }

        uint selfptr = self._ptr + self._len - needle._len;

        if (selfptr == needle._ptr) {
            return true;
        }

        bool equal;
        assembly {
            let length := mload(needle)
            let needleptr := mload(add(needle, 0x20))
            equal := eq(keccak256(selfptr, length), keccak256(needleptr, length))
        }

        return equal;
    }

    /*
     * @dev If `self` ends with `needle`, `needle` is removed from the
     *      end of `self`. Otherwise, `self` is unmodified.
     * @param self The slice to operate on.
     * @param needle The slice to search for.
     * @return `self`
     */
    function until(slice memory self, slice memory needle) internal pure returns (slice memory) {
        if (self._len < needle._len) {
            return self;
        }

        uint selfptr = self._ptr + self._len - needle._len;
        bool equal = true;
        if (selfptr != needle._ptr) {
            assembly {
                let length := mload(needle)
                let needleptr := mload(add(needle, 0x20))
                equal := eq(keccak256(selfptr, length), keccak256(needleptr, length))
            }
        }

        if (equal) {
            self._len -= needle._len;
        }

        return self;
    }

    // Returns the memory address of the first byte of the first occurrence of
    // `needle` in `self`, or the first byte after `self` if not found.
    function findPtr(uint selflen, uint selfptr, uint needlelen, uint needleptr) private pure returns (uint) {
        uint ptr = selfptr;
        uint idx;

        if (needlelen <= selflen) {
            if (needlelen <= 32) {
                bytes32 mask = bytes32(~(2 ** (8 * (32 - needlelen)) - 1));

                bytes32 needledata;
                assembly { needledata := and(mload(needleptr), mask) }

                uint end = selfptr + selflen - needlelen;
                bytes32 ptrdata;
                assembly { ptrdata := and(mload(ptr), mask) }

                while (ptrdata != needledata) {
                    if (ptr >= end)
                        return selfptr + selflen;
                    ptr++;
                    assembly { ptrdata := and(mload(ptr), mask) }
                }
                return ptr;
            } else {
                // For long needles, use hashing
                bytes32 hash;
                assembly { hash := keccak256(needleptr, needlelen) }

                for (idx = 0; idx <= selflen - needlelen; idx++) {
                    bytes32 testHash;
                    assembly { testHash := keccak256(ptr, needlelen) }
                    if (hash == testHash)
                        return ptr;
                    ptr += 1;
                }
            }
        }
        return selfptr + selflen;
    }

    // Returns the memory address of the first byte after the last occurrence of
    // `needle` in `self`, or the address of `self` if not found.
    function rfindPtr(uint selflen, uint selfptr, uint needlelen, uint needleptr) private pure returns (uint) {
        uint ptr;

        if (needlelen <= selflen) {
            if (needlelen <= 32) {
                bytes32 mask = bytes32(~(2 ** (8 * (32 - needlelen)) - 1));

                bytes32 needledata;
                assembly { needledata := and(mload(needleptr), mask) }

                ptr = selfptr + selflen - needlelen;
                bytes32 ptrdata;
                assembly { ptrdata := and(mload(ptr), mask) }

                while (ptrdata != needledata) {
                    if (ptr <= selfptr)
                        return selfptr;
                    ptr--;
                    assembly { ptrdata := and(mload(ptr), mask) }
                }
                return ptr + needlelen;
            } else {
                // For long needles, use hashing
                bytes32 hash;
                assembly { hash := keccak256(needleptr, needlelen) }
                ptr = selfptr + (selflen - needlelen);
                while (ptr >= selfptr) {
                    bytes32 testHash;
                    assembly { testHash := keccak256(ptr, needlelen) }
                    if (hash == testHash)
                        return ptr + needlelen;
                    ptr -= 1;
                }
            }
        }
        return selfptr;
    }

    /*
     * @dev Modifies `self` to contain everything from the first occurrence of
     *      `needle` to the end of the slice. `self` is set to the empty slice
     *      if `needle` is not found.
     * @param self The slice to search and modify.
     * @param needle The text to search for.
     * @return `self`.
     */
    function find(slice memory self, slice memory needle) internal pure returns (slice memory) {
        uint ptr = findPtr(self._len, self._ptr, needle._len, needle._ptr);
        self._len -= ptr - self._ptr;
        self._ptr = ptr;
        return self;
    }

    /*
     * @dev Modifies `self` to contain the part of the string from the start of
     *      `self` to the end of the first occurrence of `needle`. If `needle`
     *      is not found, `self` is set to the empty slice.
     * @param self The slice to search and modify.
     * @param needle The text to search for.
     * @return `self`.
     */
    function rfind(slice memory self, slice memory needle) internal pure returns (slice memory) {
        uint ptr = rfindPtr(self._len, self._ptr, needle._len, needle._ptr);
        self._len = ptr - self._ptr;
        return self;
    }

    /*
     * @dev Splits the slice, setting `self` to everything after the first
     *      occurrence of `needle`, and `token` to everything before it. If
     *      `needle` does not occur in `self`, `self` is set to the empty slice,
     *      and `token` is set to the entirety of `self`.
     * @param self The slice to split.
     * @param needle The text to search for in `self`.
     * @param token An output parameter to which the first token is written.
     * @return `token`.
     */
    function split(slice memory self, slice memory needle, slice memory token) internal pure returns (slice memory) {
        uint ptr = findPtr(self._len, self._ptr, needle._len, needle._ptr);
        token._ptr = self._ptr;
        token._len = ptr - self._ptr;
        if (ptr == self._ptr + self._len) {
            // Not found
            self._len = 0;
        } else {
            self._len -= token._len + needle._len;
            self._ptr = ptr + needle._len;
        }
        return token;
    }

    /*
     * @dev Splits the slice, setting `self` to everything after the first
     *      occurrence of `needle`, and returning everything before it. If
     *      `needle` does not occur in `self`, `self` is set to the empty slice,
     *      and the entirety of `self` is returned.
     * @param self The slice to split.
     * @param needle The text to search for in `self`.
     * @return The part of `self` up to the first occurrence of `delim`.
     */
    function split(slice memory self, slice memory needle) internal pure returns (slice memory token) {
        split(self, needle, token);
    }

    /*
     * @dev Splits the slice, setting `self` to everything before the last
     *      occurrence of `needle`, and `token` to everything after it. If
     *      `needle` does not occur in `self`, `self` is set to the empty slice,
     *      and `token` is set to the entirety of `self`.
     * @param self The slice to split.
     * @param needle The text to search for in `self`.
     * @param token An output parameter to which the first token is written.
     * @return `token`.
     */
    function rsplit(slice memory self, slice memory needle, slice memory token) internal pure returns (slice memory) {
        uint ptr = rfindPtr(self._len, self._ptr, needle._len, needle._ptr);
        token._ptr = ptr;
        token._len = self._len - (ptr - self._ptr);
        if (ptr == self._ptr) {
            // Not found
            self._len = 0;
        } else {
            self._len -= token._len + needle._len;
        }
        return token;
    }

    /*
     * @dev Splits the slice, setting `self` to everything before the last
     *      occurrence of `needle`, and returning everything after it. If
     *      `needle` does not occur in `self`, `self` is set to the empty slice,
     *      and the entirety of `self` is returned.
     * @param self The slice to split.
     * @param needle The text to search for in `self`.
     * @return The part of `self` after the last occurrence of `delim`.
     */
    function rsplit(slice memory self, slice memory needle) internal pure returns (slice memory token) {
        rsplit(self, needle, token);
    }

    /*
     * @dev Counts the number of nonoverlapping occurrences of `needle` in `self`.
     * @param self The slice to search.
     * @param needle The text to search for in `self`.
     * @return The number of occurrences of `needle` found in `self`.
     */
    function count(slice memory self, slice memory needle) internal pure returns (uint cnt) {
        uint ptr = findPtr(self._len, self._ptr, needle._len, needle._ptr) + needle._len;
        while (ptr <= self._ptr + self._len) {
            cnt++;
            ptr = findPtr(self._len - (ptr - self._ptr), ptr, needle._len, needle._ptr) + needle._len;
        }
    }

    /*
     * @dev Returns True if `self` contains `needle`.
     * @param self The slice to search.
     * @param needle The text to search for in `self`.
     * @return True if `needle` is found in `self`, false otherwise.
     */
    function contains(slice memory self, slice memory needle) internal pure returns (bool) {
        return rfindPtr(self._len, self._ptr, needle._len, needle._ptr) != self._ptr;
    }

    /*
     * @dev Returns a newly allocated string containing the concatenation of
     *      `self` and `other`.
     * @param self The first slice to concatenate.
     * @param other The second slice to concatenate.
     * @return The concatenation of the two strings.
     */
    function concat(slice memory self, slice memory other) internal pure returns (string memory) {
        string memory ret = new string(self._len + other._len);
        uint retptr;
        assembly { retptr := add(ret, 32) }
        memcpy(retptr, self._ptr, self._len);
        memcpy(retptr + self._len, other._ptr, other._len);
        return ret;
    }

    /*
     * @dev Joins an array of slices, using `self` as a delimiter, returning a
     *      newly allocated string.
     * @param self The delimiter to use.
     * @param parts A list of slices to join.
     * @return A newly allocated string containing all the slices in `parts`,
     *         joined with `self`.
     */
    function join(slice memory self, slice[] memory parts) internal pure returns (string memory) {
        if (parts.length == 0)
            return "";

        uint length = self._len * (parts.length - 1);
        for(uint i = 0; i < parts.length; i++)
            length += parts[i]._len;

        string memory ret = new string(length);
        uint retptr;
        assembly { retptr := add(ret, 32) }

        for(uint i = 0; i < parts.length; i++) {
            memcpy(retptr, parts[i]._ptr, parts[i]._len);
            retptr += parts[i]._len;
            if (i < parts.length - 1) {
                memcpy(retptr, self._ptr, self._len);
                retptr += self._len;
            }
        }

        return ret;
    }
}

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


/**
 * @dev Required interface of an ERC721 compliant contract.
 */
contract IERC721 is IERC165 {
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

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

    /**
     * @dev Returns the owner of the NFT specified by `tokenId`.
     */
    function ownerOf(uint256 tokenId) public view returns (address owner);

    /**
     * @dev Transfers a specific NFT (`tokenId`) from one account (`from`) to
     * another (`to`).
     *
     *
     *
     * Requirements:
     * - `from`, `to` cannot be zero.
     * - `tokenId` must be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this
     * NFT by either {approve} or {setApprovalForAll}.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) public;
    /**
     * @dev Transfers a specific NFT (`tokenId`) from one account (`from`) to
     * another (`to`).
     *
     * Requirements:
     * - If the caller is not `from`, it must be approved to move this NFT by
     * either {approve} or {setApprovalForAll}.
     */
    function transferFrom(address from, address to, uint256 tokenId) public;
    function approve(address to, uint256 tokenId) public;
    function getApproved(uint256 tokenId) public view returns (address operator);

    function setApprovalForAll(address operator, bool _approved) public;
    function isApprovedForAll(address owner, address operator) public view returns (bool);


    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public;
}


/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
contract IERC721Metadata is IERC721 {
    function name() external view returns (string memory);
    function symbol() external view returns (string memory);
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

/*
 * @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 GSN 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.
 */
contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor () internal { }
    // solhint-disable-previous-line no-empty-blocks

    function _msgSender() internal view returns (address payable) {
        return msg.sender;
    }

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

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
contract IERC721Enumerable is IERC721 {
    function totalSupply() public view returns (uint256);
    function tokenOfOwnerByIndex(address owner, uint256 index) public view returns (uint256 tokenId);

    function tokenByIndex(uint256 index) public view returns (uint256);
}

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
contract IERC721Receiver {
    /**
     * @notice Handle the receipt of an NFT
     * @dev The ERC721 smart contract calls this function on the recipient
     * after a {IERC721-safeTransferFrom}. This function MUST return the function selector,
     * otherwise the caller will revert the transaction. The selector to be
     * returned can be obtained as `this.onERC721Received.selector`. This
     * function MAY throw to revert and reject the transfer.
     * Note: the ERC721 contract address is always the message sender.
     * @param operator The address which called `safeTransferFrom` function
     * @param from The address which previously owned the token
     * @param tokenId The NFT identifier which is being transferred
     * @param data Additional data with no specified format
     * @return bytes4 `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`
     */
    function onERC721Received(address operator, address from, uint256 tokenId, bytes memory data)
    public returns (bytes4);
}

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

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

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     * - Subtraction cannot overflow.
     *
     * NOTE: This is a feature of the next version of OpenZeppelin Contracts.
     * @dev Get it via `npm install @openzeppelin/contracts@next`.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

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

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

        return c;
    }

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

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.

     * NOTE: This is a feature of the next version of OpenZeppelin Contracts.
     * @dev Get it via `npm install @openzeppelin/contracts@next`.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        // Solidity only automatically asserts when dividing by 0
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

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

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

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * This test is non-exhaustive, and there may be false-negatives: during the
     * execution of a contract's constructor, its address will be reported as
     * not containing 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.
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies in extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != 0x0 && codehash != accountHash);
    }

    /**
     * @dev Converts an `address` into `address payable`. Note that this is
     * simply a type cast: the actual underlying value is not changed.
     *
     * NOTE: This is a feature of the next version of OpenZeppelin Contracts.
     * @dev Get it via `npm install @openzeppelin/contracts@next`.
     */
    function toPayable(address account) internal pure returns (address payable) {
        return address(uint160(account));
    }
}

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 * Since it is not possible to overflow a 256 bit integer with increments of one, `increment` can skip the {SafeMath}
 * overflow check, thereby saving gas. This does assume however correct usage, in that the underlying `_value` is never
 * directly accessed.
 */
library Counters {
    using SafeMath for uint256;

    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

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

    function increment(Counter storage counter) internal {
        // The {SafeMath} overflow check can be skipped here, see the comment at the top
        counter._value += 1;
    }

    function decrement(Counter storage counter) internal {
        counter._value = counter._value.sub(1);
    }
}

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts may inherit from this and call {_registerInterface} to declare
 * their support of an interface.
 */
contract ERC165 is IERC165 {
    /*
     * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7
     */
    bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;

    /**
     * @dev Mapping of interface ids to whether or not it's supported.
     */
    mapping(bytes4 => bool) private _supportedInterfaces;

    constructor () internal {
        // Derived contracts need only register support for their own interfaces,
        // we register support for ERC165 itself here
        _registerInterface(_INTERFACE_ID_ERC165);
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     *
     * Time complexity O(1), guaranteed to always use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool) {
        return _supportedInterfaces[interfaceId];
    }

    /**
     * @dev Registers the contract as an implementer of the interface defined by
     * `interfaceId`. Support of the actual ERC165 interface is automatic and
     * registering its interface id is not required.
     *
     * See {IERC165-supportsInterface}.
     *
     * Requirements:
     *
     * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).
     */
    function _registerInterface(bytes4 interfaceId) internal {
        require(interfaceId != 0xffffffff, "ERC165: invalid interface id");
        _supportedInterfaces[interfaceId] = true;
    }
}

/**
 * @title ERC721 Non-Fungible Token Standard basic implementation
 * @dev see https://eips.ethereum.org/EIPS/eip-721
 */
contract ERC721 is Context, ERC165, IERC721 {
    using SafeMath for uint256;
    using Address for address;
    using Counters for Counters.Counter;

    // Equals to `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`
    // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector`
    bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;

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

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

    // Mapping from owner to number of owned token
    mapping (address => Counters.Counter) private _ownedTokensCount;

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

    /*
     *     bytes4(keccak256('balanceOf(address)')) == 0x70a08231
     *     bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e
     *     bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3
     *     bytes4(keccak256('getApproved(uint256)')) == 0x081812fc
     *     bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465
     *     bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5
     *     bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd
     *     bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e
     *     bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde
     *
     *     => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^
     *        0xa22cb465 ^ 0xe985e9c ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd
     */
    bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;

    constructor () public {
        // register the supported interfaces to conform to ERC721 via ERC165
        _registerInterface(_INTERFACE_ID_ERC721);
    }

    /**
     * @dev Gets the balance of the specified address.
     * @param owner address to query the balance of
     * @return uint256 representing the amount owned by the passed address
     */
    function balanceOf(address owner) public view returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");

        return _ownedTokensCount[owner].current();
    }

    /**
     * @dev Gets the owner of the specified token ID.
     * @param tokenId uint256 ID of the token to query the owner of
     * @return address currently marked as the owner of the given token ID
     */
    function ownerOf(uint256 tokenId) public view returns (address) {
        address owner = _tokenOwner[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");

        return owner;
    }

    /**
     * @dev Approves another address to transfer the given token ID
     * The zero address indicates there is no approved address.
     * There can only be one approved address per token at a given time.
     * Can only be called by the token owner or an approved operator.
     * @param to address to be approved for the given token ID
     * @param tokenId uint256 ID of the token to be approved
     */
    function approve(address to, uint256 tokenId) public {
        address owner = 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"
        );

        _tokenApprovals[tokenId] = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @dev Gets the approved address for a token ID, or zero if no address set
     * Reverts if the token ID does not exist.
     * @param tokenId uint256 ID of the token to query the approval of
     * @return address currently approved for the given token ID
     */
    function getApproved(uint256 tokenId) public view returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev Sets or unsets the approval of a given operator
     * An operator is allowed to transfer all tokens of the sender on their behalf.
     * @param to operator address to set the approval
     * @param approved representing the status of the approval to be set
     */
    function setApprovalForAll(address to, bool approved) public {
        require(to != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][to] = approved;
        emit ApprovalForAll(_msgSender(), to, approved);
    }

    /**
     * @dev Tells whether an operator is approved by a given owner.
     * @param owner owner address which you want to query the approval of
     * @param operator operator address which you want to query the approval of
     * @return bool whether the given operator is approved by the given owner
     */
    function isApprovedForAll(address owner, address operator) public view returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev Transfers the ownership of a given token ID to another address.
     * Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     * Requires the msg.sender to be the owner, approved, or operator.
     * @param from current owner of the token
     * @param to address to receive the ownership of the given token ID
     * @param tokenId uint256 ID of the token to be transferred
     */
    function transferFrom(address from, address to, uint256 tokenId) public {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transferFrom(from, to, tokenId);
    }

    /**
     * @dev Safely transfers the ownership of a given token ID to another address
     * If the target address is a contract, it must implement {IERC721Receiver-onERC721Received},
     * which is called upon a safe transfer, and return the magic value
     * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise,
     * the transfer is reverted.
     * Requires the msg.sender to be the owner, approved, or operator
     * @param from current owner of the token
     * @param to address to receive the ownership of the given token ID
     * @param tokenId uint256 ID of the token to be transferred
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) public {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev Safely transfers the ownership of a given token ID to another address
     * If the target address is a contract, it must implement {IERC721Receiver-onERC721Received},
     * which is called upon a safe transfer, and return the magic value
     * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise,
     * the transfer is reverted.
     * Requires the _msgSender() to be the owner, approved, or operator
     * @param from current owner of the token
     * @param to address to receive the ownership of the given token ID
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes data to send along with a safe transfer check
     */
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransferFrom(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers the ownership of a given token ID to another address
     * If the target address is a contract, it must implement `onERC721Received`,
     * which is called upon a safe transfer, and return the magic value
     * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise,
     * the transfer is reverted.
     * Requires the msg.sender to be the owner, approved, or operator
     * @param from current owner of the token
     * @param to address to receive the ownership of the given token ID
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes data to send along with a safe transfer check
     */
    function _safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) internal {
        _transferFrom(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether the specified token exists.
     * @param tokenId uint256 ID of the token to query the existence of
     * @return bool whether the token exists
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        address owner = _tokenOwner[tokenId];
        return owner != address(0);
    }

    /**
     * @dev Returns whether the given spender can transfer a given token ID.
     * @param spender address of the spender to query
     * @param tokenId uint256 ID of the token to be transferred
     * @return bool whether the msg.sender is approved for the given token ID,
     * is an operator of the owner, or is the owner of the token
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Internal function to safely mint a new token.
     * Reverts if the given token ID already exists.
     * If the target address is a contract, it must implement `onERC721Received`,
     * which is called upon a safe transfer, and return the magic value
     * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise,
     * the transfer is reverted.
     * @param to The address that will own the minted token
     * @param tokenId uint256 ID of the token to be minted
     */
    function _safeMint(address to, uint256 tokenId) internal {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Internal function to safely mint a new token.
     * Reverts if the given token ID already exists.
     * If the target address is a contract, it must implement `onERC721Received`,
     * which is called upon a safe transfer, and return the magic value
     * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise,
     * the transfer is reverted.
     * @param to The address that will own the minted token
     * @param tokenId uint256 ID of the token to be minted
     * @param _data bytes data to send along with a safe transfer check
     */
    function _safeMint(address to, uint256 tokenId, bytes memory _data) internal {
        _mint(to, tokenId);
        require(_checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Internal function to mint a new token.
     * Reverts if the given token ID already exists.
     * @param to The address that will own the minted token
     * @param tokenId uint256 ID of the token to be minted
     */
    function _mint(address to, uint256 tokenId) internal {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _tokenOwner[tokenId] = to;
        _ownedTokensCount[to].increment();

        emit Transfer(address(0), to, tokenId);
    }

    /**
     * @dev Internal function to burn a specific token.
     * Reverts if the token does not exist.
     * Deprecated, use {_burn} instead.
     * @param owner owner of the token to burn
     * @param tokenId uint256 ID of the token being burned
     */
    function _burn(address owner, uint256 tokenId) internal {
        require(ownerOf(tokenId) == owner, "ERC721: burn of token that is not own");

        _clearApproval(tokenId);

        _ownedTokensCount[owner].decrement();
        _tokenOwner[tokenId] = address(0);

        emit Transfer(owner, address(0), tokenId);
    }

    /**
     * @dev Internal function to burn a specific token.
     * Reverts if the token does not exist.
     * @param tokenId uint256 ID of the token being burned
     */
    function _burn(uint256 tokenId) internal {
        _burn(ownerOf(tokenId), tokenId);
    }

    /**
     * @dev Internal function to transfer ownership of a given token ID to another address.
     * As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     * @param from current owner of the token
     * @param to address to receive the ownership of the given token ID
     * @param tokenId uint256 ID of the token to be transferred
     */
    function _transferFrom(address from, address to, uint256 tokenId) internal {
        require(ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _clearApproval(tokenId);

        _ownedTokensCount[from].decrement();
        _ownedTokensCount[to].increment();

        _tokenOwner[tokenId] = to;

        emit Transfer(from, 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.
     *
     * This function is deprecated.
     * @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)
        internal returns (bool)
    {
        if (!to.isContract()) {
            return true;
        }

        bytes4 retval = IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data);
        return (retval == _ERC721_RECEIVED);
    }

    /**
     * @dev Private function to clear current approval of a given token ID.
     * @param tokenId uint256 ID of the token to be transferred
     */
    function _clearApproval(uint256 tokenId) private {
        if (_tokenApprovals[tokenId] != address(0)) {
            _tokenApprovals[tokenId] = address(0);
        }
    }
}

/**
 * @title ERC-721 Non-Fungible Token with optional enumeration extension logic
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
contract ERC721Enumerable is Context, ERC165, ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => 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;

    /*
     *     bytes4(keccak256('totalSupply()')) == 0x18160ddd
     *     bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59
     *     bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7
     *
     *     => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63
     */
    bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;

    /**
     * @dev Constructor function.
     */
    constructor () public {
        // register the supported interface to conform to ERC721Enumerable via ERC165
        _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);
    }

    /**
     * @dev Gets the token ID at a given index of the tokens list of the requested owner.
     * @param owner address owning the tokens list to be accessed
     * @param index uint256 representing the index to be accessed of the requested tokens list
     * @return uint256 token ID at the given index of the tokens list owned by the requested address
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view returns (uint256) {
        require(index < balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev Gets the total amount of tokens stored by the contract.
     * @return uint256 representing the total amount of tokens
     */
    function totalSupply() public view returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev Gets the token ID at a given index of all the tokens in this contract
     * Reverts if the index is greater or equal to the total number of tokens.
     * @param index uint256 representing the index to be accessed of the tokens list
     * @return uint256 token ID at the given index of the tokens list
     */
    function tokenByIndex(uint256 index) public view returns (uint256) {
        require(index < totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @dev Internal function to transfer ownership of a given token ID to another address.
     * As opposed to transferFrom, this imposes no restrictions on msg.sender.
     * @param from current owner of the token
     * @param to address to receive the ownership of the given token ID
     * @param tokenId uint256 ID of the token to be transferred
     */
    function _transferFrom(address from, address to, uint256 tokenId) internal {
        super._transferFrom(from, to, tokenId);

        _removeTokenFromOwnerEnumeration(from, tokenId);

        _addTokenToOwnerEnumeration(to, tokenId);
    }

    /**
     * @dev Internal function to mint a new token.
     * Reverts if the given token ID already exists.
     * @param to address the beneficiary that will own the minted token
     * @param tokenId uint256 ID of the token to be minted
     */
    function _mint(address to, uint256 tokenId) internal {
        super._mint(to, tokenId);

        _addTokenToOwnerEnumeration(to, tokenId);

        _addTokenToAllTokensEnumeration(tokenId);
    }

    /**
     * @dev Internal function to burn a specific token.
     * Reverts if the token does not exist.
     * Deprecated, use {ERC721-_burn} instead.
     * @param owner owner of the token to burn
     * @param tokenId uint256 ID of the token being burned
     */
    function _burn(address owner, uint256 tokenId) internal {
        super._burn(owner, tokenId);

        _removeTokenFromOwnerEnumeration(owner, tokenId);
        // Since tokenId will be deleted, we can clear its slot in _ownedTokensIndex to trigger a gas refund
        _ownedTokensIndex[tokenId] = 0;

        _removeTokenFromAllTokensEnumeration(tokenId);
    }

    /**
     * @dev Gets the list of token IDs of the requested owner.
     * @param owner address owning the tokens
     * @return uint256[] List of token IDs owned by the requested address
     */
    function _tokensOfOwner(address owner) internal view returns (uint256[] storage) {
        return _ownedTokens[owner];
    }

    /**
     * @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 {
        _ownedTokensIndex[tokenId] = _ownedTokens[to].length;
        _ownedTokens[to].push(tokenId);
    }

    /**
     * @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 = _ownedTokens[from].length.sub(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
        _ownedTokens[from].length--;

        // Note that _ownedTokensIndex[tokenId] hasn't been cleared: it still points to the old slot (now occupied by
        // lastTokenId, or just over the end of the array if the token was the last one).
    }

    /**
     * @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.sub(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
        _allTokens.length--;
        _allTokensIndex[tokenId] = 0;
    }
}

/**
 * @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.
 *
 * 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.
 */
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 () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

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

    /**
     * @dev Returns true if the caller is the current owner.
     */
    function isOwner() public view returns (bool) {
        return _msgSender() == _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 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 onlyOwner {
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     */
    function _transferOwnership(address newOwner) internal {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

/**
 * @title ERC721 Non-Fungible Token Standard basic implementation
 * Modified to remove the mint function and to replace it
 * with the _addTokenTo function.
 * This function is very similar to the _mint function, but it
 * does not emit a Transfer event
 * @dev see https://eips.ethereum.org/EIPS/eip-721
 */
contract NoMintERC721 is Context, ERC165, IERC721 {
    using SafeMath for uint256;
    using Address for address;
    using Counters for Counters.Counter;

    // Equals to `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`
    // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector`
    bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;

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

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

    // Mapping from owner to number of owned token
    mapping (address => Counters.Counter) private _ownedTokensCount;

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

    /*
     *     bytes4(keccak256('balanceOf(address)')) == 0x70a08231
     *     bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e
     *     bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3
     *     bytes4(keccak256('getApproved(uint256)')) == 0x081812fc
     *     bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465
     *     bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5
     *     bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd
     *     bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e
     *     bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde
     *
     *     => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^
     *        0xa22cb465 ^ 0xe985e9c ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd
     */
    bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;

    constructor () public {
        // register the supported interfaces to conform to ERC721 via ERC165
        _registerInterface(_INTERFACE_ID_ERC721);
    }

    /**
     * @dev Gets the balance of the specified address.
     * @param owner address to query the balance of
     * @return uint256 representing the amount owned by the passed address
     */
    function balanceOf(address owner) public view returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");

        return _ownedTokensCount[owner].current();
    }

    /**
     * @dev Gets the owner of the specified token ID.
     * @param tokenId uint256 ID of the token to query the owner of
     * @return address currently marked as the owner of the given token ID
     */
    function ownerOf(uint256 tokenId) public view returns (address) {
        address owner = _tokenOwner[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");

        return owner;
    }

    /**
     * @dev Approves another address to transfer the given token ID
     * The zero address indicates there is no approved address.
     * There can only be one approved address per token at a given time.
     * Can only be called by the token owner or an approved operator.
     * @param to address to be approved for the given token ID
     * @param tokenId uint256 ID of the token to be approved
     */
    function approve(address to, uint256 tokenId) public {
        address owner = 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"
        );

        _tokenApprovals[tokenId] = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @dev Gets the approved address for a token ID, or zero if no address set
     * Reverts if the token ID does not exist.
     * @param tokenId uint256 ID of the token to query the approval of
     * @return address currently approved for the given token ID
     */
    function getApproved(uint256 tokenId) public view returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev Sets or unsets the approval of a given operator
     * An operator is allowed to transfer all tokens of the sender on their behalf.
     * @param to operator address to set the approval
     * @param approved representing the status of the approval to be set
     */
    function setApprovalForAll(address to, bool approved) public {
        require(to != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][to] = approved;
        emit ApprovalForAll(_msgSender(), to, approved);
    }

    /**
     * @dev Tells whether an operator is approved by a given owner.
     * @param owner owner address which you want to query the approval of
     * @param operator operator address which you want to query the approval of
     * @return bool whether the given operator is approved by the given owner
     */
    function isApprovedForAll(address owner, address operator) public view returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev Transfers the ownership of a given token ID to another address.
     * Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     * Requires the msg.sender to be the owner, approved, or operator.
     * @param from current owner of the token
     * @param to address to receive the ownership of the given token ID
     * @param tokenId uint256 ID of the token to be transferred
     */
    function transferFrom(address from, address to, uint256 tokenId) public {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transferFrom(from, to, tokenId);
    }

    /**
     * @dev Safely transfers the ownership of a given token ID to another address
     * If the target address is a contract, it must implement {IERC721Receiver-onERC721Received},
     * which is called upon a safe transfer, and return the magic value
     * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise,
     * the transfer is reverted.
     * Requires the msg.sender to be the owner, approved, or operator
     * @param from current owner of the token
     * @param to address to receive the ownership of the given token ID
     * @param tokenId uint256 ID of the token to be transferred
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) public {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev Safely transfers the ownership of a given token ID to another address
     * If the target address is a contract, it must implement {IERC721Receiver-onERC721Received},
     * which is called upon a safe transfer, and return the magic value
     * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise,
     * the transfer is reverted.
     * Requires the _msgSender() to be the owner, approved, or operator
     * @param from current owner of the token
     * @param to address to receive the ownership of the given token ID
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes data to send along with a safe transfer check
     */
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransferFrom(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers the ownership of a given token ID to another address
     * If the target address is a contract, it must implement `onERC721Received`,
     * which is called upon a safe transfer, and return the magic value
     * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise,
     * the transfer is reverted.
     * Requires the msg.sender to be the owner, approved, or operator
     * @param from current owner of the token
     * @param to address to receive the ownership of the given token ID
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes data to send along with a safe transfer check
     */
    function _safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) internal {
        _transferFrom(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether the specified token exists.
     * @param tokenId uint256 ID of the token to query the existence of
     * @return bool whether the token exists
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        address owner = _tokenOwner[tokenId];
        return owner != address(0);
    }

    /**
     * @dev Returns whether the given spender can transfer a given token ID.
     * @param spender address of the spender to query
     * @param tokenId uint256 ID of the token to be transferred
     * @return bool whether the msg.sender is approved for the given token ID,
     * is an operator of the owner, or is the owner of the token
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Internal function to mint a new token.
     * Reverts if the given token ID already exists.
     * @param to The address that will own the minted token
     * @param tokenId uint256 ID of the token to be minted
     */
    function _addTokenTo(address to, uint256 tokenId) internal {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _tokenOwner[tokenId] = to;
        _ownedTokensCount[to].increment();
    }

    /**
     * @dev Internal function to burn a specific token.
     * Reverts if the token does not exist.
     * Deprecated, use {_burn} instead.
     * @param owner owner of the token to burn
     * @param tokenId uint256 ID of the token being burned
     */
    function _burn(address owner, uint256 tokenId) internal {
        require(ownerOf(tokenId) == owner, "ERC721: burn of token that is not own");

        _clearApproval(tokenId);

        _ownedTokensCount[owner].decrement();
        _tokenOwner[tokenId] = address(0);

        emit Transfer(owner, address(0), tokenId);
    }

    /**
     * @dev Internal function to burn a specific token.
     * Reverts if the token does not exist.
     * @param tokenId uint256 ID of the token being burned
     */
    function _burn(uint256 tokenId) internal {
        _burn(ownerOf(tokenId), tokenId);
    }

    /**
     * @dev Internal function to transfer ownership of a given token ID to another address.
     * As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     * @param from current owner of the token
     * @param to address to receive the ownership of the given token ID
     * @param tokenId uint256 ID of the token to be transferred
     */
    function _transferFrom(address from, address to, uint256 tokenId) internal {
        require(ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _clearApproval(tokenId);

        _ownedTokensCount[from].decrement();
        _ownedTokensCount[to].increment();

        _tokenOwner[tokenId] = to;

        emit Transfer(from, 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.
     *
     * This function is deprecated.
     * @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)
        internal returns (bool)
    {
        if (!to.isContract()) {
            return true;
        }

        bytes4 retval = IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data);
        return (retval == _ERC721_RECEIVED);
    }

    /**
     * @dev Private function to clear current approval of a given token ID.
     * @param tokenId uint256 ID of the token to be transferred
     */
    function _clearApproval(uint256 tokenId) private {
        if (_tokenApprovals[tokenId] != address(0)) {
            _tokenApprovals[tokenId] = address(0);
        }
    }
}

/**
 * @title ERC-721 Non-Fungible Token with optional enumeration extension logic
 * Modified to work with the NoMintERC721 contract
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
contract NoMintERC721Enumerable is Context, ERC165, NoMintERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => 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;

    /*
     *     bytes4(keccak256('totalSupply()')) == 0x18160ddd
     *     bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59
     *     bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7
     *
     *     => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63
     */
    bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;

    /**
     * @dev Constructor function.
     */
    constructor () public {
        // register the supported interface to conform to ERC721Enumerable via ERC165
        _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);
    }

    /**
     * @dev Gets the token ID at a given index of the tokens list of the requested owner.
     * @param owner address owning the tokens list to be accessed
     * @param index uint256 representing the index to be accessed of the requested tokens list
     * @return uint256 token ID at the given index of the tokens list owned by the requested address
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view returns (uint256) {
        require(index < balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev Gets the total amount of tokens stored by the contract.
     * @return uint256 representing the total amount of tokens
     */
    function totalSupply() public view returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev Gets the token ID at a given index of all the tokens in this contract
     * Reverts if the index is greater or equal to the total number of tokens.
     * @param index uint256 representing the index to be accessed of the tokens list
     * @return uint256 token ID at the given index of the tokens list
     */
    function tokenByIndex(uint256 index) public view returns (uint256) {
        require(index < totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @dev Internal function to transfer ownership of a given token ID to another address.
     * As opposed to transferFrom, this imposes no restrictions on msg.sender.
     * @param from current owner of the token
     * @param to address to receive the ownership of the given token ID
     * @param tokenId uint256 ID of the token to be transferred
     */
    function _transferFrom(address from, address to, uint256 tokenId) internal {
        super._transferFrom(from, to, tokenId);

        _removeTokenFromOwnerEnumeration(from, tokenId);

        _addTokenToOwnerEnumeration(to, tokenId);
    }

    /**
     * @dev Internal function to mint a new token.
     * Reverts if the given token ID already exists.
     * @param to address the beneficiary that will own the minted token
     * @param tokenId uint256 ID of the token to be minted
     */
    function _addTokenTo(address to, uint256 tokenId) internal {
        super._addTokenTo(to, tokenId);

        _addTokenToOwnerEnumeration(to, tokenId);

        _addTokenToAllTokensEnumeration(tokenId);
    }

    /**
     * @dev Internal function to burn a specific token.
     * Reverts if the token does not exist.
     * Deprecated, use {ERC721-_burn} instead.
     * @param owner owner of the token to burn
     * @param tokenId uint256 ID of the token being burned
     */
    function _burn(address owner, uint256 tokenId) internal {
        super._burn(owner, tokenId);

        _removeTokenFromOwnerEnumeration(owner, tokenId);
        // Since tokenId will be deleted, we can clear its slot in _ownedTokensIndex to trigger a gas refund
        _ownedTokensIndex[tokenId] = 0;

        _removeTokenFromAllTokensEnumeration(tokenId);
    }

    /**
     * @dev Gets the list of token IDs of the requested owner.
     * @param owner address owning the tokens
     * @return uint256[] List of token IDs owned by the requested address
     */
    function _tokensOfOwner(address owner) internal view returns (uint256[] storage) {
        return _ownedTokens[owner];
    }

    /**
     * @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 {
        _ownedTokensIndex[tokenId] = _ownedTokens[to].length;
        _ownedTokens[to].push(tokenId);
    }

    /**
     * @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 = _ownedTokens[from].length.sub(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
        _ownedTokens[from].length--;

        // Note that _ownedTokensIndex[tokenId] hasn't been cleared: it still points to the old slot (now occupied by
        // lastTokenId, or just over the end of the array if the token was the last one).
    }

    /**
     * @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.sub(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
        _allTokens.length--;
        _allTokensIndex[tokenId] = 0;
    }
}

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * Modified to change
 * function tokenURI(uint256 tokenId) external view returns (string memory);
 * to
 * function tokenURI(uint256 tokenId) public view returns (string memory);
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
contract OveridableERC721Metadata is Context, ERC165, NoMintERC721, IERC721Metadata {
    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Optional mapping for token URIs
    mapping(uint256 => string) private _tokenURIs;

    /*
     *     bytes4(keccak256('name()')) == 0x06fdde03
     *     bytes4(keccak256('symbol()')) == 0x95d89b41
     *     bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd
     *
     *     => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f
     */
    bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f;

    /**
     * @dev Constructor function
     */
    constructor (string memory name, string memory symbol) public {
        _name = name;
        _symbol = symbol;

        // register the supported interfaces to conform to ERC721 via ERC165
        _registerInterface(_INTERFACE_ID_ERC721_METADATA);
    }

    /**
     * @dev Gets the token name.
     * @return string representing the token name
     */
    function name() external view returns (string memory) {
        return _name;
    }

    /**
     * @dev Gets the token symbol.
     * @return string representing the token symbol
     */
    function symbol() external view returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns an URI for a given token ID.
     * Throws if the token ID does not exist. May return an empty string.
     * @param tokenId uint256 ID of the token to query
     */
    function tokenURI(uint256 tokenId) public view returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
        return _tokenURIs[tokenId];
    }

    /**
     * @dev Internal function to set the token URI for a given token.
     * Reverts if the token ID does not exist.
     * @param tokenId uint256 ID of the token to set its URI
     * @param uri string URI to assign
     */
    function _setTokenURI(uint256 tokenId, string memory uri) internal {
        require(_exists(tokenId), "ERC721Metadata: URI set of nonexistent token");
        _tokenURIs[tokenId] = uri;
    }

    /**
     * @dev Internal function to burn a specific token.
     * Reverts if the token does not exist.
     * Deprecated, use _burn(uint256) instead.
     * @param owner owner of the token to burn
     * @param tokenId uint256 ID of the token being burned by the msg.sender
     */
    function _burn(address owner, uint256 tokenId) internal {
        super._burn(owner, tokenId);

        // Clear metadata (if any)
        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }
    }
}

/**
 * ERC-721 implementation that allows 
 * tokens (of the same category) to be minted in batches. Each batch
 * contains enough data to generate all
 * token ids inside the batch, and to
 * generate the tokenURI in the batch
 */
contract GunToken is NoMintERC721, NoMintERC721Enumerable, OveridableERC721Metadata, Ownable {
    using strings for *;
    
    address internal factory;
    
    uint16 public constant maxAllocation = 4000;
    uint256 public lastAllocation = 0;
    
    event BatchTransfer(address indexed from, address indexed to, uint256 indexed batchIndex);
    
    struct Batch {
        address owner;
        uint16 size;
        uint8 category;
        uint256 startId;
        uint256 startTokenId;
    }
    
    Batch[] public allBatches;
    mapping(address => uint256) unactivatedBalance;
    mapping(uint256 => bool) isActivated;
    
    //Used for enumeration
    mapping(address => Batch[]) public batchesOwned;
    //Batch index to owner batch index
    mapping(uint256 => uint256) public ownedBatchIndex;
    
    mapping(uint8 => uint256) internal totalGunsMintedByCategory;
    uint256 internal _totalSupply;

    modifier onlyFactory {
        require(msg.sender == factory, "Not authorized");
        _;
    }

    constructor(address factoryAddress) public OveridableERC721Metadata("WarRiders Gun", "WRG") {
        factory = factoryAddress;
    }
    
    function categoryTypeToId(uint8 category, uint256 categoryId) public view returns (uint256) {
        for (uint i = 0; i < allBatches.length; i++) {
            Batch memory a = allBatches[i];
            if (a.category != category)
                continue;
            
            uint256 endId = a.startId + a.size;
            if (categoryId >= a.startId && categoryId < endId) {
                uint256 dif = categoryId - a.startId;
                
                return a.startTokenId + dif;
            }
        }
        
        revert();
    }
    
    /**
     * @dev Gets the token ID at a given index of the tokens list of the requested owner.
     * @param owner address owning the tokens list to be accessed
     * @param index uint256 representing the index to be accessed of the requested tokens list
     * @return uint256 token ID at the given index of the tokens list owned by the requested address
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view returns (uint256) {
        return tokenOfOwner(owner)[index];
    }
    
    function getBatchCount(address owner) public view returns(uint256) {
        return batchesOwned[owner].length;
    }
    
    function getTokensInBatch(address owner, uint256 index) public view returns (uint256[] memory) {
        Batch memory a = batchesOwned[owner][index];
        uint256[] memory result = new uint256[](a.size);
        
        uint256 pos = 0;
        uint end = a.startTokenId + a.size;
        for (uint i = a.startTokenId; i < end; i++) {
            if (isActivated[i] && super.ownerOf(i) != owner) {
                continue;
            }
            
            result[pos] = i;
            pos++;
        }
        
        require(pos > 0);
        
        uint256 subAmount = a.size - pos;
        
        assembly { mstore(result, sub(mload(result), subAmount)) }
        
        return result;
    }
    
    function tokenByIndex(uint256 index) public view returns (uint256) {
        return allTokens()[index];
    }
    
    function allTokens() public view returns (uint256[] memory) {
        uint256[] memory result = new uint256[](totalSupply());
        
        uint pos = 0;
        for (uint i = 0; i < allBatches.length; i++) {
            Batch memory a = allBatches[i];
            uint end = a.startTokenId + a.size;
            for (uint j = a.startTokenId; j < end; j++) {
                result[pos] = j;
                pos++;
            }
        }
        
        return result;
    }
    
    function tokenOfOwner(address owner) public view returns (uint256[] memory) {
        uint256[] memory result = new uint256[](balanceOf(owner));
        
        uint pos = 0;
        for (uint i = 0; i < batchesOwned[owner].length; i++) {
            Batch memory a = batchesOwned[owner][i];
            uint end = a.startTokenId + a.size;
            for (uint j = a.startTokenId; j < end; j++) {
                if (isActivated[j] && super.ownerOf(j) != owner) {
                    continue;
                }
                
                result[pos] = j;
                pos++;
            }
        }
        
        uint256[] memory fallbackOwned = _tokensOfOwner(owner);
        for (uint i = 0; i < fallbackOwned.length; i++) {
            result[pos] = fallbackOwned[i];
            pos++;
        }
        
        return result;
    }
    
    function balanceOf(address owner) public view returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");

        return super.balanceOf(owner) + unactivatedBalance[owner];
    }
    
     function ownerOf(uint256 tokenId) public view returns (address) {
         require(exists(tokenId), "Token doesn't exist!");
         
         if (isActivated[tokenId]) {
             return super.ownerOf(tokenId);
         }
         uint256 index = getBatchIndex(tokenId);
         require(index < allBatches.length, "Token batch doesn't exist");
         Batch memory a = allBatches[index];
         require(tokenId < a.startTokenId + a.size);
         return a.owner;
     }
    
    function exists(uint256 _tokenId) public view returns (bool) {
        if (isActivated[_tokenId]) {
            return super._exists(_tokenId);
        } else {
            uint256 index = getBatchIndex(_tokenId);
            if (index < allBatches.length) {
                Batch memory a = allBatches[index];
                uint end = a.startTokenId + a.size;
                
                return _tokenId < end;
            }
            return false;
        }
    }
    
    function totalSupply() public view returns (uint256) {
        return _totalSupply;
    }
    
    function claimAllocation(address to, uint16 size, uint8 category) public onlyFactory returns (uint) {
        require(size < maxAllocation, "Size must be smaller than maxAllocation");
        
        allBatches.push(Batch({
            owner: to,
            size: size,
            category: category,
            startId: totalGunsMintedByCategory[category],
            startTokenId: lastAllocation
        }));
        
        uint end = lastAllocation + size;
        for (uint i = lastAllocation; i < end; i++) {
            emit Transfer(address(0), to, i);
        }
        
        lastAllocation += maxAllocation;
        
        unactivatedBalance[to] += size;
        totalGunsMintedByCategory[category] += size;
        
        _addBatchToOwner(to, allBatches[allBatches.length - 1]);
        
        _totalSupply += size;
        return lastAllocation;
    }
    
    function transferFrom(address from, address to, uint256 tokenId) public {
        if (!isActivated[tokenId]) {
            activate(tokenId);
        }
        super.transferFrom(from, to, tokenId);
    }
    
    function activate(uint256 tokenId) public {
        require(!isActivated[tokenId], "Token already activated");
        uint256 index = getBatchIndex(tokenId);
        require(index < allBatches.length, "Token batch doesn't exist");
        Batch memory a = allBatches[index];
        require(tokenId < a.startTokenId + a.size);
        isActivated[tokenId] = true;
        addTokenTo(a.owner, tokenId);
        unactivatedBalance[a.owner]--;
    }
    
    function getBatchIndex(uint256 tokenId) public pure returns (uint256) {
        uint256 index = (tokenId / maxAllocation);
        
        return index;
    }
    
    function categoryForToken(uint256 tokenId) public view returns (uint8) {
        uint256 index = getBatchIndex(tokenId);
        require(index < allBatches.length, "Token batch doesn't exist");
        
        Batch memory a = allBatches[index];
        
        return a.category;
    }
    
    function categoryIdForToken(uint256 tokenId) public view returns (uint256) {
        uint256 index = getBatchIndex(tokenId);
        require(index < allBatches.length, "Token batch doesn't exist");
        
        Batch memory a = allBatches[index];
        
        uint256 categoryId = (tokenId % maxAllocation) + a.startId;
        
        return categoryId;
    }
    
    function uintToString(uint v) internal pure returns (string memory) {
        if (v == 0) {
            return "0";
        }
        uint j = v;
        uint len;
        while (j != 0) {
            len++;
            j /= 10;
        }
        bytes memory bstr = new bytes(len);
        uint k = len - 1;
        while (v != 0) {
            bstr[k--] = byte(uint8(48 + v % 10));
            v /= 10;
        }
        
        return string(bstr);
    }
    
    function tokenURI(uint256 tokenId) public view returns (string memory) {
        require(exists(tokenId), "Token doesn't exist!");
        if (isActivated[tokenId]) {
            return super.tokenURI(tokenId);
        } else {
            //Predict the token URI
            uint8 category = categoryForToken(tokenId);
            uint256 _categoryId = categoryIdForToken(tokenId);
            
            string memory id = uintToString(category).toSlice().concat("/".toSlice()).toSlice().concat(uintToString(_categoryId).toSlice().concat(".json".toSlice()).toSlice());
            string memory _base = "https://vault.warriders.com/guns/";
            
            //Final URL: https://vault.warriders.com/guns/<category>/<category_id>.json
            string memory _metadata = _base.toSlice().concat(id.toSlice());
            
            return _metadata;
        }
    }
    
    function addTokenTo(address _to, uint256 _tokenId) internal {
        //Predict the token URI
        uint8 category = categoryForToken(_tokenId);
        uint256 _categoryId = categoryIdForToken(_tokenId);
            
        string memory id = uintToString(category).toSlice().concat("/".toSlice()).toSlice().concat(uintToString(_categoryId).toSlice().concat(".json".toSlice()).toSlice());
        string memory _base = "https://vault.warriders.com/guns/";
            
        //Final URL: https://vault.warriders.com/guns/<category>/<category_id>.json
        string memory _metadata = _base.toSlice().concat(id.toSlice());
        
        super._addTokenTo(_to, _tokenId);
        super._setTokenURI(_tokenId, _metadata);
    }
    
    function ceil(uint a, uint m) internal pure returns (uint ) {
        return ((a + m - 1) / m) * m;
    }
    
    function _removeBatchFromOwner(address from, Batch memory batch) 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 globalIndex = getBatchIndex(batch.startTokenId);

        uint256 lastBatchIndex = batchesOwned[from].length.sub(1);
        uint256 batchIndex = ownedBatchIndex[globalIndex];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (batchIndex != lastBatchIndex) {
            Batch memory lastBatch = batchesOwned[from][lastBatchIndex];
            uint256 lastGlobalIndex = getBatchIndex(lastBatch.startTokenId);

            batchesOwned[from][batchIndex] = lastBatch; // Move the last batch to the slot of the to-delete batch
            ownedBatchIndex[lastGlobalIndex] = batchIndex; // Update the moved batch's index
        }

        // This also deletes the contents at the last position of the array
        batchesOwned[from].length--;

        // Note that ownedBatchIndex[batch] hasn't been cleared: it still points to the old slot (now occupied by
        // lastBatch, or just over the end of the array if the batch was the last one).
    }
    
    function _addBatchToOwner(address to, Batch memory batch) private {
        uint256 globalIndex = getBatchIndex(batch.startTokenId);
        
        ownedBatchIndex[globalIndex] = batchesOwned[to].length;
        batchesOwned[to].push(batch);
    }
    
    function batchTransfer(uint256 batchIndex, address to) public {
        Batch storage a = allBatches[batchIndex];
        
        address previousOwner = a.owner;
        
        require(a.owner == msg.sender);
        
        _removeBatchFromOwner(previousOwner, a);
        
        a.owner = to;
        
        _addBatchToOwner(to, a);
        
        emit BatchTransfer(previousOwner, to, batchIndex);
        
        //Now to need to emit a bunch of transfer events
        uint end = a.startTokenId + a.size;
        uint256 unActivated = 0;
        for (uint i = a.startTokenId; i < end; i++) {
            if (isActivated[i]) {
                if (ownerOf(i) != previousOwner)
                    continue; //The previous owner didn't own this token, don't emit an event
            } else {
                unActivated++;
            }
            emit Transfer(previousOwner, to, i);
        }
        
        unactivatedBalance[to] += unActivated;
        unactivatedBalance[previousOwner] -= unActivated;
    }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"ownedBatchIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint8","name":"category","type":"uint8"},{"internalType":"uint256","name":"categoryId","type":"uint256"}],"name":"categoryTypeToId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"batchesOwned","outputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint16","name":"size","type":"uint16"},{"internalType":"uint8","name":"category","type":"uint8"},{"internalType":"uint256","name":"startId","type":"uint256"},{"internalType":"uint256","name":"startTokenId","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokenOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"categoryIdForToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getBatchIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint16","name":"size","type":"uint16"},{"internalType":"uint8","name":"category","type":"uint8"}],"name":"claimAllocation","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"allTokens","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"categoryForToken","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"maxAllocation","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"batchIndex","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"batchTransfer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"activate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"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":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"allBatches","outputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint16","name":"size","type":"uint16"},{"internalType":"uint8","name":"category","type":"uint8"},{"internalType":"uint256","name":"startId","type":"uint256"},{"internalType":"uint256","name":"startTokenId","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getTokensInBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"lastAllocation","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"getBatchCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"factoryAddress","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"batchIndex","type":"uint256"}],"name":"BatchTransfer","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"},{"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"}]

60806040526000600e553480156200001657600080fd5b5060405162005c1f38038062005c1f833981810160405260208110156200003c57600080fd5b81019080805190602001909291905050506040518060400160405280600d81526020017f5761725269646572732047756e000000000000000000000000000000000000008152506040518060400160405280600381526020017f5752470000000000000000000000000000000000000000000000000000000000815250620000d16301ffc9a760e01b6200024660201b60201c565b620000e96380ac58cd60e01b6200024660201b60201c565b6200010163780e9d6360e01b6200024660201b60201c565b81600990805190602001906200011992919062000357565b5080600a90805190602001906200013292919062000357565b506200014b635b5e139f60e01b6200024660201b60201c565b505060006200015f6200034f60201b60201c565b905080600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35080600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505062000406565b63ffffffff60e01b817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415620002e3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f4552433136353a20696e76616c696420696e746572666163652069640000000081525060200191505060405180910390fd5b6001600080837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600033905090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200039a57805160ff1916838001178555620003cb565b82800160010185558215620003cb579182015b82811115620003ca578251825591602001919060010190620003ad565b5b509050620003da9190620003de565b5090565b6200040391905b80821115620003ff576000816000905550600101620003e5565b5090565b90565b61580980620004166000396000f3fe608060405234801561001057600080fd5b50600436106102265760003560e01c80636ff97f1d11610130578063a51d6be0116100b8578063d3204c0c1161007c578063d3204c0c14610e28578063e985e9c514610ecb578063e9a04ce014610f47578063f2fde38b14610f65578063f8d39a3614610fa957610226565b8063a51d6be014610b68578063b260c42a14610bb6578063b88d4fde14610be4578063bfe6d41714610ce9578063c87b56dd14610d8157610226565b80638f32d59b116100ff5780638f32d59b14610a05578063956accf914610a2757806395d89b4114610a6f5780639b3ba79f14610af2578063a22cb46514610b1857610226565b80636ff97f1d146108fa57806370a0823114610959578063715018a6146109b15780638da5cb5b146109bb57610226565b8063294cdf0d116101b357806344ec3c071161018257806344ec3c071461074f5780634f558e79146107915780634f6ccce7146107d7578063519861a7146108195780636352211e1461088c57610226565b8063294cdf0d146105a45780632a9d74bb1461063d5780632f745c591461067f57806342842e0e146106e157610226565b806308fff146116101fa57806308fff146146103c3578063095ea7b314610412578063141321621461046057806318160ddd1461051857806323b872dd1461053657610226565b80622b557d1461022b57806301ffc9a71461026d57806306fdde03146102d2578063081812fc14610355575b600080fd5b6102576004803603602081101561024157600080fd5b8101908080359060200190929190505050611001565b6040518082815260200191505060405180910390f35b6102b86004803603602081101561028357600080fd5b8101908080357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19169060200190929190505050611019565b604051808215151515815260200191505060405180910390f35b6102da611080565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561031a5780820151818401526020810190506102ff565b50505050905090810190601f1680156103475780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6103816004803603602081101561036b57600080fd5b8101908080359060200190929190505050611122565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103fc600480360360408110156103d957600080fd5b81019080803560ff169060200190929190803590602001909291905050506111bd565b6040518082815260200191505060405180910390f35b61045e6004803603604081101561042857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611324565b005b6104ac6004803603604081101561047657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061150b565b604051808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018561ffff1661ffff1681526020018460ff1660ff1681526020018381526020018281526020019550505050505060405180910390f35b610520611596565b6040518082815260200191505060405180910390f35b6105a26004803603606081101561054c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506115a0565b005b6105e6600480360360208110156105ba57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506115df565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b8381101561062957808201518184015260208101905061060e565b505050509050019250505060405180910390f35b6106696004803603602081101561065357600080fd5b810190808035906020019092919050505061190d565b6040518082815260200191505060405180910390f35b6106cb6004803603604081101561069557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611a91565b6040518082815260200191505060405180910390f35b61074d600480360360608110156106f757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611ab7565b005b61077b6004803603602081101561076557600080fd5b8101908080359060200190929190505050611ad7565b6040518082815260200191505060405180910390f35b6107bd600480360360208110156107a757600080fd5b8101908080359060200190929190505050611af5565b604051808215151515815260200191505060405180910390f35b610803600480360360208110156107ed57600080fd5b8101908080359060200190929190505050611c49565b6040518082815260200191505060405180910390f35b6108766004803603606081101561082f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803561ffff169060200190929190803560ff169060200190929190505050611c6d565b6040518082815260200191505060405180910390f35b6108b8600480360360208110156108a257600080fd5b81019080803590602001909291905050506120da565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610902612314565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b8381101561094557808201518184015260208101905061092a565b505050509050019250505060405180910390f35b61099b6004803603602081101561096f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506124ab565b6040518082815260200191505060405180910390f35b6109b9612583565b005b6109c36126be565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610a0d6126e8565b604051808215151515815260200191505060405180910390f35b610a5360048036036020811015610a3d57600080fd5b8101908080359060200190929190505050612747565b604051808260ff1660ff16815260200191505060405180910390f35b610a776128b4565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610ab7578082015181840152602081019050610a9c565b50505050905090810190601f168015610ae45780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610afa612956565b604051808261ffff1661ffff16815260200191505060405180910390f35b610b6660048036036040811015610b2e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080351515906020019092919050505061295c565b005b610bb460048036036040811015610b7e57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612b14565b005b610be260048036036020811015610bcc57600080fd5b8101908080359060200190929190505050612f86565b005b610ce760048036036080811015610bfa57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190640100000000811115610c6157600080fd5b820183602082011115610c7357600080fd5b80359060200191846001830284011164010000000083111715610c9557600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050613225565b005b610d1560048036036020811015610cff57600080fd5b810190808035906020019092919050505061329d565b604051808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018561ffff1661ffff1681526020018460ff1660ff1681526020018381526020018281526020019550505050505060405180910390f35b610dad60048036036020811015610d9757600080fd5b810190808035906020019092919050505061331b565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610ded578082015181840152602081019050610dd2565b50505050905090810190601f168015610e1a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610e7460048036036040811015610e3e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050613522565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b83811015610eb7578082015181840152602081019050610e9c565b505050509050019250505060405180910390f35b610f2d60048036036040811015610ee157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050613769565b604051808215151515815260200191505060405180910390f35b610f4f6137fd565b6040518082815260200191505060405180910390f35b610fa760048036036020811015610f7b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050613803565b005b610feb60048036036020811015610fbf57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050613889565b6040518082815260200191505060405180910390f35b60136020528060005260406000206000915090505481565b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b606060098054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156111185780601f106110ed57610100808354040283529160200191611118565b820191906000526020600020905b8154815290600101906020018083116110fb57829003601f168201915b5050505050905090565b600061112d826138d5565b611182576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c8152602001806156d3602c913960400191505060405180910390fd5b6002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600080600090505b600f80549050811015611318576111da61536f565b600f82815481106111e757fe5b90600052602060002090600302016040518060a00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900461ffff1661ffff1661ffff1681526020016000820160169054906101000a900460ff1660ff1660ff1681526020016001820154815260200160028201548152505090508460ff16816040015160ff16146112c0575061130b565b6000816020015161ffff168260600151019050816060015185101580156112e657508085105b156113085760008260600151860390508083608001510194505050505061131e565b50505b80806001019150506111c5565b50600080fd5b92915050565b600061132f826120da565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156113b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806157836021913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166113d5613947565b73ffffffffffffffffffffffffffffffffffffffff1614806114045750611403816113fe613947565b613769565b5b611459576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260388152602001806156486038913960400191505060405180910390fd5b826002600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6012602052816000526040600020818154811061152457fe5b9060005260206000209060030201600091509150508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060000160149054906101000a900461ffff16908060000160169054906101000a900460ff16908060010154908060020154905085565b6000601554905090565b6011600082815260200190815260200160002060009054906101000a900460ff166115cf576115ce81612f86565b5b6115da83838361394f565b505050565b6060806115eb836124ab565b6040519080825280602002602001820160405280156116195781602001602082028038833980820191505090505b509050600080905060008090505b601260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490508110156118545761167961536f565b601260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002082815481106116c357fe5b90600052602060002090600302016040518060a00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900461ffff1661ffff1661ffff1681526020016000820160169054906101000a900460ff1660ff1660ff1681526020016001820154815260200160028201548152505090506000816020015161ffff1682608001510190506000826080015190505b81811015611844576011600082815260200190815260200160002060009054906101000a900460ff16801561180b57508773ffffffffffffffffffffffffffffffffffffffff166117f2826139c5565b73ffffffffffffffffffffffffffffffffffffffff1614155b1561181557611837565b8086868151811061182257fe5b60200260200101818152505084806001019550505b80806001019150506117a2565b5050508080600101915050611627565b50606061186085613a8d565b8054806020026020016040519081016040528092919081815260200182805480156118aa57602002820191906000526020600020905b815481526020019060010190808311611896575b5050505050905060008090505b8151811015611901578181815181106118cc57fe5b60200260200101518484815181106118e057fe5b602002602001018181525050828060010193505080806001019150506118b7565b50829350505050919050565b60008061191983611ad7565b9050600f805490508110611995576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f546f6b656e20626174636820646f65736e27742065786973740000000000000081525060200191505060405180910390fd5b61199d61536f565b600f82815481106119aa57fe5b90600052602060002090600302016040518060a00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900461ffff1661ffff1661ffff1681526020016000820160169054906101000a900460ff1660ff1660ff16815260200160018201548152602001600282015481525050905060008160600151610fa061ffff168681611a8257fe5b06019050809350505050919050565b6000611a9c836115df565b8281518110611aa757fe5b6020026020010151905092915050565b611ad283838360405180602001604052806000815250613225565b505050565b600080610fa061ffff168381611ae957fe5b04905080915050919050565b60006011600083815260200190815260200160002060009054906101000a900460ff1615611b2d57611b26826138d5565b9050611c44565b6000611b3883611ad7565b9050600f80549050811015611c3e57611b4f61536f565b600f8281548110611b5c57fe5b90600052602060002090600302016040518060a00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900461ffff1661ffff1661ffff1681526020016000820160169054906101000a900460ff1660ff1660ff1681526020016001820154815260200160028201548152505090506000816020015161ffff1682608001510190508085109350505050611c44565b60009150505b919050565b6000611c53612314565b8281518110611c5e57fe5b60200260200101519050919050565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611d32576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f4e6f7420617574686f72697a656400000000000000000000000000000000000081525060200191505060405180910390fd5b610fa061ffff168361ffff1610611d94576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001806155586027913960400191505060405180910390fd5b600f6040518060a001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020018561ffff1681526020018460ff168152602001601460008660ff1660ff168152602001908152602001600020548152602001600e548152509080600181540180825580915050906001820390600052602060002090600302016000909192909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548161ffff021916908361ffff16021790555060408201518160000160166101000a81548160ff021916908360ff160217905550606082015181600101556080820151816002015550505060008361ffff16600e540190506000600e5490505b81811015611f4857808673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48080600101915050611ed7565b50610fa061ffff16600e600082825401925050819055508361ffff16601060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508361ffff16601460008560ff1660ff168152602001908152602001600020600082825401925050819055506120b985600f6001600f805490500381548110611ff457fe5b90600052602060002090600302016040518060a00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900461ffff1661ffff1661ffff1681526020016000820160169054906101000a900460ff1660ff1660ff16815260200160018201548152602001600282015481525050613ad5565b8361ffff16601560008282540192505081905550600e549150509392505050565b60006120e582611af5565b612157576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f546f6b656e20646f65736e27742065786973742100000000000000000000000081525060200191505060405180910390fd5b6011600083815260200190815260200160002060009054906101000a900460ff161561218d57612186826139c5565b905061230f565b600061219883611ad7565b9050600f805490508110612214576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f546f6b656e20626174636820646f65736e27742065786973740000000000000081525060200191505060405180910390fd5b61221c61536f565b600f828154811061222957fe5b90600052602060002090600302016040518060a00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900461ffff1661ffff1661ffff1681526020016000820160169054906101000a900460ff1660ff1660ff168152602001600182015481526020016002820154815250509050806020015161ffff16816080015101841061230557600080fd5b8060000151925050505b919050565b60608061231f611596565b60405190808252806020026020018201604052801561234d5781602001602082028038833980820191505090505b509050600080905060008090505b600f805490508110156124a25761237061536f565b600f828154811061237d57fe5b90600052602060002090600302016040518060a00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900461ffff1661ffff1661ffff1681526020016000820160169054906101000a900460ff1660ff1660ff1681526020016001820154815260200160028201548152505090506000816020015161ffff1682608001510190506000826080015190505b81811015612492578086868151811061247157fe5b6020026020010181815250508480600101955050808060010191505061245c565b505050808060010191505061235b565b50819250505090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612532576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180615680602a913960400191505060405180910390fd5b601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461257b83613c52565b019050919050565b61258b6126e8565b6125fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661272b613947565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b60008061275383611ad7565b9050600f8054905081106127cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f546f6b656e20626174636820646f65736e27742065786973740000000000000081525060200191505060405180910390fd5b6127d761536f565b600f82815481106127e457fe5b90600052602060002090600302016040518060a00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900461ffff1661ffff1661ffff1681526020016000820160169054906101000a900460ff1660ff1660ff168152602001600182015481526020016002820154815250509050806040015192505050919050565b6060600a8054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561294c5780601f106129215761010080835404028352916020019161294c565b820191906000526020600020905b81548152906001019060200180831161292f57829003601f168201915b5050505050905090565b610fa081565b612964613947565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a05576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f4552433732313a20617070726f766520746f2063616c6c65720000000000000081525060200191505060405180910390fd5b8060046000612a12613947565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612abf613947565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051808215151515815260200191505060405180910390a35050565b6000600f8381548110612b2357fe5b9060005260206000209060030201905060008160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690503373ffffffffffffffffffffffffffffffffffffffff168260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612bb857600080fd5b612c7481836040518060a00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900461ffff1661ffff1661ffff1681526020016000820160169054906101000a900460ff1660ff1660ff16815260200160018201548152602001600282015481525050613d27565b828260000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550612d7383836040518060a00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900461ffff1661ffff1661ffff1681526020016000820160169054906101000a900460ff1660ff1660ff16815260200160018201548152602001600282015481525050613ad5565b838373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc42fa155158786a1dd6ccc3a785f35845467353c3cc700e0e31a79f90e22227d60405160405180910390a460008260000160149054906101000a900461ffff1661ffff16836002015401905060008090506000846002015490505b82811015612ee3576011600082815260200190815260200160002060009054906101000a900460ff1615612e71578373ffffffffffffffffffffffffffffffffffffffff16612e4c826120da565b73ffffffffffffffffffffffffffffffffffffffff1614612e6c57612ed6565b612e7a565b81806001019250505b808673ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b8080600101915050612dfe565b5080601060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555080601060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540392505081905550505050505050565b6011600082815260200190815260200160002060009054906101000a900460ff161561301a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f546f6b656e20616c72656164792061637469766174656400000000000000000081525060200191505060405180910390fd5b600061302582611ad7565b9050600f8054905081106130a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f546f6b656e20626174636820646f65736e27742065786973740000000000000081525060200191505060405180910390fd5b6130a961536f565b600f82815481106130b657fe5b90600052602060002090600302016040518060a00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900461ffff1661ffff1661ffff1681526020016000820160169054906101000a900460ff1660ff1660ff168152602001600182015481526020016002820154815250509050806020015161ffff16816080015101831061319257600080fd5b60016011600085815260200190815260200160002060006101000a81548160ff0219169083151502179055506131cc816000015184614046565b60106000826000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190600190039190505550505050565b613236613230613947565b836141a9565b61328b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260318152602001806157a46031913960400191505060405180910390fd5b6132978484848461429d565b50505050565b600f81815481106132aa57fe5b90600052602060002090600302016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060000160149054906101000a900461ffff16908060000160169054906101000a900460ff16908060010154908060020154905085565b606061332682611af5565b613398576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f546f6b656e20646f65736e27742065786973742100000000000000000000000081525060200191505060405180910390fd5b6011600083815260200190815260200160002060009054906101000a900460ff16156133ce576133c78261430f565b905061351d565b60006133d983612747565b905060006133e68461190d565b905060606134ce6134556134506134316040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250614422565b61344261343d87614450565b614422565b61457d90919063ffffffff16565b614422565b6134c06134bb6134996040518060400160405280600181526020017f2f00000000000000000000000000000000000000000000000000000000000000815250614422565b6134ad6134a88960ff16614450565b614422565b61457d90919063ffffffff16565b614422565b61457d90919063ffffffff16565b905060606040518060600160405280602181526020016155d760219139905060606135126134fb84614422565b61350484614422565b61457d90919063ffffffff16565b905080955050505050505b919050565b606061352c61536f565b601260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020838154811061357657fe5b90600052602060002090600302016040518060a00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900461ffff1661ffff1661ffff1681526020016000820160169054906101000a900460ff1660ff1660ff1681526020016001820154815260200160028201548152505090506060816020015161ffff166040519080825280602002602001820160405280156136715781602001602082028038833980820191505090505b50905060008090506000836020015161ffff1684608001510190506000846080015190505b81811015613738576011600082815260200190815260200160002060009054906101000a900460ff1680156136ff57508773ffffffffffffffffffffffffffffffffffffffff166136e6826139c5565b73ffffffffffffffffffffffffffffffffffffffff1614155b156137095761372b565b8084848151811061371657fe5b60200260200101818152505082806001019350505b8080600101915050613696565b506000821161374657600080fd5b600082856020015161ffff16039050808451038452839550505050505092915050565b6000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600e5481565b61380b6126e8565b61387d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b613886816145ff565b50565b6000601260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490509050919050565b6000806001600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415915050919050565b600033905090565b61396061395a613947565b826141a9565b6139b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260318152602001806157a46031913960400191505060405180910390fd5b6139c0838383614745565b505050565b6000806001600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613a84576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260298152602001806156aa6029913960400191505060405180910390fd5b80915050919050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050919050565b6000613ae48260800151611ad7565b9050601260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506013600083815260200190815260200160002081905550601260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020829080600181540180825580915050906001820390600052602060002090600302016000909192909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548161ffff021916908361ffff16021790555060408201518160000160166101000a81548160ff021916908360ff1602179055506060820151816001015560808201518160020155505050505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613cd9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180615680602a913960400191505060405180910390fd5b613d20600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020614769565b9050919050565b6000613d368260800151611ad7565b90506000613d906001601260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905061477790919063ffffffff16565b9050600060136000848152602001908152602001600020549050818114613fec57613db961536f565b601260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208381548110613e0357fe5b90600052602060002090600302016040518060a00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900461ffff1661ffff1661ffff1681526020016000820160169054906101000a900460ff1660ff1660ff1681526020016001820154815260200160028201548152505090506000613ed48260800151611ad7565b905081601260008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208481548110613f2157fe5b906000526020600020906003020160008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548161ffff021916908361ffff16021790555060408201518160000160166101000a81548160ff021916908360ff160217905550606082015181600101556080820151816002015590505082601360008381526020019081526020016000208190555050505b601260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080548091906001900361403e91906153bb565b505050505050565b600061405182612747565b9050600061405e8361190d565b905060606141466140cd6140c86140a96040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250614422565b6140ba6140b587614450565b614422565b61457d90919063ffffffff16565b614422565b6141386141336141116040518060400160405280600181526020017f2f00000000000000000000000000000000000000000000000000000000000000815250614422565b6141256141208960ff16614450565b614422565b61457d90919063ffffffff16565b614422565b61457d90919063ffffffff16565b905060606040518060600160405280602181526020016155d7602191399050606061418a61417384614422565b61417c84614422565b61457d90919063ffffffff16565b905061419687876147c1565b6141a086826147e2565b50505050505050565b60006141b4826138d5565b614209576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c81526020018061561c602c913960400191505060405180910390fd5b6000614214836120da565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061428357508373ffffffffffffffffffffffffffffffffffffffff1661426b84611122565b73ffffffffffffffffffffffffffffffffffffffff16145b8061429457506142938185613769565b5b91505092915050565b6142a8848484614745565b6142b48484848461486c565b614309576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603281526020018061557f6032913960400191505060405180910390fd5b50505050565b606061431a826138d5565b61436f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180615754602f913960400191505060405180910390fd5b600b60008381526020019081526020016000208054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156144165780601f106143eb57610100808354040283529160200191614416565b820191906000526020600020905b8154815290600101906020018083116143f957829003601f168201915b50505050509050919050565b61442a6153ed565b600060208301905060405180604001604052808451815260200182815250915050919050565b60606000821415614498576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050614578565b600082905060005b600082146144c2578080600101915050600a82816144ba57fe5b0491506144a0565b6060816040519080825280601f01601f1916602001820160405280156144f75781602001600182028038833980820191505090505b50905060006001830390505b6000861461457057600a868161451557fe5b0660300160f81b8282806001900393508151811061452f57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a868161456857fe5b049550614503565b819450505050505b919050565b60608082600001518460000151016040519080825280601f01601f1916602001820160405280156145bd5781602001600182028038833980820191505090505b50905060006020820190506145db8186602001518760000151614a5c565b6145f48560000151820185602001518660000151614a5c565b819250505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415614685576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806155b16026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b614750838383614aa5565b61475a8382614d00565b6147648282614e9e565b505050565b600081600001549050919050565b60006147b983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250614f65565b905092915050565b6147cb8282615025565b6147d58282614e9e565b6147de816151e1565b5050565b6147eb826138d5565b614840576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c8152602001806156ff602c913960400191505060405180910390fd5b80600b60008481526020019081526020016000209080519060200190614867929190615407565b505050565b600061488d8473ffffffffffffffffffffffffffffffffffffffff1661522d565b61489a5760019050614a54565b60008473ffffffffffffffffffffffffffffffffffffffff1663150b7a026148c0613947565b8887876040518563ffffffff1660e01b8152600401808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561497c578082015181840152602081019050614961565b50505050905090810190601f1680156149a95780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b1580156149cb57600080fd5b505af11580156149df573d6000803e3d6000fd5b505050506040513d60208110156149f557600080fd5b8101908080519060200190929190505050905063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150505b949350505050565b5b60208110614a805781518352602083019250602082019150602081039050614a5d565b60006001826020036101000a0390508019835116818551168181178652505050505050565b8273ffffffffffffffffffffffffffffffffffffffff16614ac5826120da565b73ffffffffffffffffffffffffffffffffffffffff1614614b31576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602981526020018061572b6029913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415614bb7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806155f86024913960400191505060405180910390fd5b614bc081615278565b614c07600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020615336565b614c4e600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020615359565b816001600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000614d586001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905061477790919063ffffffff16565b9050600060066000848152602001908152602001600020549050818114614e45576000600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208381548110614dc557fe5b9060005260206000200154905080600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208381548110614e1d57fe5b9060005260206000200181905550816006600083815260200190815260200160002081905550505b600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480919060019003614e979190615487565b5050505050565b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506006600083815260200190815260200160002081905550600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190806001815401808255809150509060018203906000526020600020016000909192909190915055505050565b6000838311158290615012576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015614fd7578082015181840152602081019050614fbc565b50505050905090810190601f1680156150045780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156150c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4552433732313a206d696e7420746f20746865207a65726f206164647265737381525060200191505060405180910390fd5b6150d1816138d5565b15615144576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000081525060200191505060405180910390fd5b816001600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506151dd600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020615359565b5050565b6007805490506008600083815260200190815260200160002081905550600781908060018154018082558091505090600182039060005260206000200160009091929091909150555050565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f91506000801b821415801561526f5750808214155b92505050919050565b600073ffffffffffffffffffffffffffffffffffffffff166002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146153335760006002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b50565b61534e6001826000015461477790919063ffffffff16565b816000018190555050565b6001816000016000828254019250508190555050565b6040518060a00160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600061ffff168152602001600060ff16815260200160008152602001600081525090565b8154818355818111156153e8576003028160030283600052602060002091820191016153e791906154b3565b5b505050565b604051806040016040528060008152602001600081525090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061544857805160ff1916838001178555615476565b82800160010185558215615476579182015b8281111561547557825182559160200191906001019061545a565b5b5090506154839190615532565b5090565b8154818355818111156154ae578183600052602060002091820191016154ad9190615532565b5b505050565b61552f91905b8082111561552b57600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556000820160146101000a81549061ffff02191690556000820160166101000a81549060ff021916905560018201600090556002820160009055506003016154b9565b5090565b90565b61555491905b80821115615550576000816000905550600101615538565b5090565b9056fe53697a65206d75737420626520736d616c6c6572207468616e206d6178416c6c6f636174696f6e4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737368747470733a2f2f7661756c742e7761727269646572732e636f6d2f67756e732f4552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564a265627a7a7231582058cb85e76f6f786bdaaee626c3196a91878b0059c807f6bc31aa67a2a78ddc8b64736f6c634300050b0032000000000000000000000000f4a01be26b2169deef116c0476676f6205ddf9df

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102265760003560e01c80636ff97f1d11610130578063a51d6be0116100b8578063d3204c0c1161007c578063d3204c0c14610e28578063e985e9c514610ecb578063e9a04ce014610f47578063f2fde38b14610f65578063f8d39a3614610fa957610226565b8063a51d6be014610b68578063b260c42a14610bb6578063b88d4fde14610be4578063bfe6d41714610ce9578063c87b56dd14610d8157610226565b80638f32d59b116100ff5780638f32d59b14610a05578063956accf914610a2757806395d89b4114610a6f5780639b3ba79f14610af2578063a22cb46514610b1857610226565b80636ff97f1d146108fa57806370a0823114610959578063715018a6146109b15780638da5cb5b146109bb57610226565b8063294cdf0d116101b357806344ec3c071161018257806344ec3c071461074f5780634f558e79146107915780634f6ccce7146107d7578063519861a7146108195780636352211e1461088c57610226565b8063294cdf0d146105a45780632a9d74bb1461063d5780632f745c591461067f57806342842e0e146106e157610226565b806308fff146116101fa57806308fff146146103c3578063095ea7b314610412578063141321621461046057806318160ddd1461051857806323b872dd1461053657610226565b80622b557d1461022b57806301ffc9a71461026d57806306fdde03146102d2578063081812fc14610355575b600080fd5b6102576004803603602081101561024157600080fd5b8101908080359060200190929190505050611001565b6040518082815260200191505060405180910390f35b6102b86004803603602081101561028357600080fd5b8101908080357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19169060200190929190505050611019565b604051808215151515815260200191505060405180910390f35b6102da611080565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561031a5780820151818401526020810190506102ff565b50505050905090810190601f1680156103475780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6103816004803603602081101561036b57600080fd5b8101908080359060200190929190505050611122565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103fc600480360360408110156103d957600080fd5b81019080803560ff169060200190929190803590602001909291905050506111bd565b6040518082815260200191505060405180910390f35b61045e6004803603604081101561042857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611324565b005b6104ac6004803603604081101561047657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061150b565b604051808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018561ffff1661ffff1681526020018460ff1660ff1681526020018381526020018281526020019550505050505060405180910390f35b610520611596565b6040518082815260200191505060405180910390f35b6105a26004803603606081101561054c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506115a0565b005b6105e6600480360360208110156105ba57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506115df565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b8381101561062957808201518184015260208101905061060e565b505050509050019250505060405180910390f35b6106696004803603602081101561065357600080fd5b810190808035906020019092919050505061190d565b6040518082815260200191505060405180910390f35b6106cb6004803603604081101561069557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611a91565b6040518082815260200191505060405180910390f35b61074d600480360360608110156106f757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611ab7565b005b61077b6004803603602081101561076557600080fd5b8101908080359060200190929190505050611ad7565b6040518082815260200191505060405180910390f35b6107bd600480360360208110156107a757600080fd5b8101908080359060200190929190505050611af5565b604051808215151515815260200191505060405180910390f35b610803600480360360208110156107ed57600080fd5b8101908080359060200190929190505050611c49565b6040518082815260200191505060405180910390f35b6108766004803603606081101561082f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803561ffff169060200190929190803560ff169060200190929190505050611c6d565b6040518082815260200191505060405180910390f35b6108b8600480360360208110156108a257600080fd5b81019080803590602001909291905050506120da565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610902612314565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b8381101561094557808201518184015260208101905061092a565b505050509050019250505060405180910390f35b61099b6004803603602081101561096f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506124ab565b6040518082815260200191505060405180910390f35b6109b9612583565b005b6109c36126be565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610a0d6126e8565b604051808215151515815260200191505060405180910390f35b610a5360048036036020811015610a3d57600080fd5b8101908080359060200190929190505050612747565b604051808260ff1660ff16815260200191505060405180910390f35b610a776128b4565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610ab7578082015181840152602081019050610a9c565b50505050905090810190601f168015610ae45780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610afa612956565b604051808261ffff1661ffff16815260200191505060405180910390f35b610b6660048036036040811015610b2e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080351515906020019092919050505061295c565b005b610bb460048036036040811015610b7e57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612b14565b005b610be260048036036020811015610bcc57600080fd5b8101908080359060200190929190505050612f86565b005b610ce760048036036080811015610bfa57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190640100000000811115610c6157600080fd5b820183602082011115610c7357600080fd5b80359060200191846001830284011164010000000083111715610c9557600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050613225565b005b610d1560048036036020811015610cff57600080fd5b810190808035906020019092919050505061329d565b604051808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018561ffff1661ffff1681526020018460ff1660ff1681526020018381526020018281526020019550505050505060405180910390f35b610dad60048036036020811015610d9757600080fd5b810190808035906020019092919050505061331b565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610ded578082015181840152602081019050610dd2565b50505050905090810190601f168015610e1a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610e7460048036036040811015610e3e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050613522565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b83811015610eb7578082015181840152602081019050610e9c565b505050509050019250505060405180910390f35b610f2d60048036036040811015610ee157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050613769565b604051808215151515815260200191505060405180910390f35b610f4f6137fd565b6040518082815260200191505060405180910390f35b610fa760048036036020811015610f7b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050613803565b005b610feb60048036036020811015610fbf57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050613889565b6040518082815260200191505060405180910390f35b60136020528060005260406000206000915090505481565b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b606060098054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156111185780601f106110ed57610100808354040283529160200191611118565b820191906000526020600020905b8154815290600101906020018083116110fb57829003601f168201915b5050505050905090565b600061112d826138d5565b611182576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c8152602001806156d3602c913960400191505060405180910390fd5b6002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600080600090505b600f80549050811015611318576111da61536f565b600f82815481106111e757fe5b90600052602060002090600302016040518060a00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900461ffff1661ffff1661ffff1681526020016000820160169054906101000a900460ff1660ff1660ff1681526020016001820154815260200160028201548152505090508460ff16816040015160ff16146112c0575061130b565b6000816020015161ffff168260600151019050816060015185101580156112e657508085105b156113085760008260600151860390508083608001510194505050505061131e565b50505b80806001019150506111c5565b50600080fd5b92915050565b600061132f826120da565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156113b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806157836021913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166113d5613947565b73ffffffffffffffffffffffffffffffffffffffff1614806114045750611403816113fe613947565b613769565b5b611459576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260388152602001806156486038913960400191505060405180910390fd5b826002600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6012602052816000526040600020818154811061152457fe5b9060005260206000209060030201600091509150508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060000160149054906101000a900461ffff16908060000160169054906101000a900460ff16908060010154908060020154905085565b6000601554905090565b6011600082815260200190815260200160002060009054906101000a900460ff166115cf576115ce81612f86565b5b6115da83838361394f565b505050565b6060806115eb836124ab565b6040519080825280602002602001820160405280156116195781602001602082028038833980820191505090505b509050600080905060008090505b601260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490508110156118545761167961536f565b601260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002082815481106116c357fe5b90600052602060002090600302016040518060a00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900461ffff1661ffff1661ffff1681526020016000820160169054906101000a900460ff1660ff1660ff1681526020016001820154815260200160028201548152505090506000816020015161ffff1682608001510190506000826080015190505b81811015611844576011600082815260200190815260200160002060009054906101000a900460ff16801561180b57508773ffffffffffffffffffffffffffffffffffffffff166117f2826139c5565b73ffffffffffffffffffffffffffffffffffffffff1614155b1561181557611837565b8086868151811061182257fe5b60200260200101818152505084806001019550505b80806001019150506117a2565b5050508080600101915050611627565b50606061186085613a8d565b8054806020026020016040519081016040528092919081815260200182805480156118aa57602002820191906000526020600020905b815481526020019060010190808311611896575b5050505050905060008090505b8151811015611901578181815181106118cc57fe5b60200260200101518484815181106118e057fe5b602002602001018181525050828060010193505080806001019150506118b7565b50829350505050919050565b60008061191983611ad7565b9050600f805490508110611995576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f546f6b656e20626174636820646f65736e27742065786973740000000000000081525060200191505060405180910390fd5b61199d61536f565b600f82815481106119aa57fe5b90600052602060002090600302016040518060a00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900461ffff1661ffff1661ffff1681526020016000820160169054906101000a900460ff1660ff1660ff16815260200160018201548152602001600282015481525050905060008160600151610fa061ffff168681611a8257fe5b06019050809350505050919050565b6000611a9c836115df565b8281518110611aa757fe5b6020026020010151905092915050565b611ad283838360405180602001604052806000815250613225565b505050565b600080610fa061ffff168381611ae957fe5b04905080915050919050565b60006011600083815260200190815260200160002060009054906101000a900460ff1615611b2d57611b26826138d5565b9050611c44565b6000611b3883611ad7565b9050600f80549050811015611c3e57611b4f61536f565b600f8281548110611b5c57fe5b90600052602060002090600302016040518060a00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900461ffff1661ffff1661ffff1681526020016000820160169054906101000a900460ff1660ff1660ff1681526020016001820154815260200160028201548152505090506000816020015161ffff1682608001510190508085109350505050611c44565b60009150505b919050565b6000611c53612314565b8281518110611c5e57fe5b60200260200101519050919050565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611d32576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f4e6f7420617574686f72697a656400000000000000000000000000000000000081525060200191505060405180910390fd5b610fa061ffff168361ffff1610611d94576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260278152602001806155586027913960400191505060405180910390fd5b600f6040518060a001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020018561ffff1681526020018460ff168152602001601460008660ff1660ff168152602001908152602001600020548152602001600e548152509080600181540180825580915050906001820390600052602060002090600302016000909192909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548161ffff021916908361ffff16021790555060408201518160000160166101000a81548160ff021916908360ff160217905550606082015181600101556080820151816002015550505060008361ffff16600e540190506000600e5490505b81811015611f4857808673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48080600101915050611ed7565b50610fa061ffff16600e600082825401925050819055508361ffff16601060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508361ffff16601460008560ff1660ff168152602001908152602001600020600082825401925050819055506120b985600f6001600f805490500381548110611ff457fe5b90600052602060002090600302016040518060a00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900461ffff1661ffff1661ffff1681526020016000820160169054906101000a900460ff1660ff1660ff16815260200160018201548152602001600282015481525050613ad5565b8361ffff16601560008282540192505081905550600e549150509392505050565b60006120e582611af5565b612157576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f546f6b656e20646f65736e27742065786973742100000000000000000000000081525060200191505060405180910390fd5b6011600083815260200190815260200160002060009054906101000a900460ff161561218d57612186826139c5565b905061230f565b600061219883611ad7565b9050600f805490508110612214576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f546f6b656e20626174636820646f65736e27742065786973740000000000000081525060200191505060405180910390fd5b61221c61536f565b600f828154811061222957fe5b90600052602060002090600302016040518060a00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900461ffff1661ffff1661ffff1681526020016000820160169054906101000a900460ff1660ff1660ff168152602001600182015481526020016002820154815250509050806020015161ffff16816080015101841061230557600080fd5b8060000151925050505b919050565b60608061231f611596565b60405190808252806020026020018201604052801561234d5781602001602082028038833980820191505090505b509050600080905060008090505b600f805490508110156124a25761237061536f565b600f828154811061237d57fe5b90600052602060002090600302016040518060a00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900461ffff1661ffff1661ffff1681526020016000820160169054906101000a900460ff1660ff1660ff1681526020016001820154815260200160028201548152505090506000816020015161ffff1682608001510190506000826080015190505b81811015612492578086868151811061247157fe5b6020026020010181815250508480600101955050808060010191505061245c565b505050808060010191505061235b565b50819250505090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612532576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180615680602a913960400191505060405180910390fd5b601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461257b83613c52565b019050919050565b61258b6126e8565b6125fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661272b613947565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b60008061275383611ad7565b9050600f8054905081106127cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f546f6b656e20626174636820646f65736e27742065786973740000000000000081525060200191505060405180910390fd5b6127d761536f565b600f82815481106127e457fe5b90600052602060002090600302016040518060a00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900461ffff1661ffff1661ffff1681526020016000820160169054906101000a900460ff1660ff1660ff168152602001600182015481526020016002820154815250509050806040015192505050919050565b6060600a8054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561294c5780601f106129215761010080835404028352916020019161294c565b820191906000526020600020905b81548152906001019060200180831161292f57829003601f168201915b5050505050905090565b610fa081565b612964613947565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a05576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f4552433732313a20617070726f766520746f2063616c6c65720000000000000081525060200191505060405180910390fd5b8060046000612a12613947565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612abf613947565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051808215151515815260200191505060405180910390a35050565b6000600f8381548110612b2357fe5b9060005260206000209060030201905060008160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690503373ffffffffffffffffffffffffffffffffffffffff168260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612bb857600080fd5b612c7481836040518060a00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900461ffff1661ffff1661ffff1681526020016000820160169054906101000a900460ff1660ff1660ff16815260200160018201548152602001600282015481525050613d27565b828260000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550612d7383836040518060a00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900461ffff1661ffff1661ffff1681526020016000820160169054906101000a900460ff1660ff1660ff16815260200160018201548152602001600282015481525050613ad5565b838373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc42fa155158786a1dd6ccc3a785f35845467353c3cc700e0e31a79f90e22227d60405160405180910390a460008260000160149054906101000a900461ffff1661ffff16836002015401905060008090506000846002015490505b82811015612ee3576011600082815260200190815260200160002060009054906101000a900460ff1615612e71578373ffffffffffffffffffffffffffffffffffffffff16612e4c826120da565b73ffffffffffffffffffffffffffffffffffffffff1614612e6c57612ed6565b612e7a565b81806001019250505b808673ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b8080600101915050612dfe565b5080601060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555080601060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540392505081905550505050505050565b6011600082815260200190815260200160002060009054906101000a900460ff161561301a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f546f6b656e20616c72656164792061637469766174656400000000000000000081525060200191505060405180910390fd5b600061302582611ad7565b9050600f8054905081106130a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f546f6b656e20626174636820646f65736e27742065786973740000000000000081525060200191505060405180910390fd5b6130a961536f565b600f82815481106130b657fe5b90600052602060002090600302016040518060a00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900461ffff1661ffff1661ffff1681526020016000820160169054906101000a900460ff1660ff1660ff168152602001600182015481526020016002820154815250509050806020015161ffff16816080015101831061319257600080fd5b60016011600085815260200190815260200160002060006101000a81548160ff0219169083151502179055506131cc816000015184614046565b60106000826000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190600190039190505550505050565b613236613230613947565b836141a9565b61328b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260318152602001806157a46031913960400191505060405180910390fd5b6132978484848461429d565b50505050565b600f81815481106132aa57fe5b90600052602060002090600302016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060000160149054906101000a900461ffff16908060000160169054906101000a900460ff16908060010154908060020154905085565b606061332682611af5565b613398576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f546f6b656e20646f65736e27742065786973742100000000000000000000000081525060200191505060405180910390fd5b6011600083815260200190815260200160002060009054906101000a900460ff16156133ce576133c78261430f565b905061351d565b60006133d983612747565b905060006133e68461190d565b905060606134ce6134556134506134316040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250614422565b61344261343d87614450565b614422565b61457d90919063ffffffff16565b614422565b6134c06134bb6134996040518060400160405280600181526020017f2f00000000000000000000000000000000000000000000000000000000000000815250614422565b6134ad6134a88960ff16614450565b614422565b61457d90919063ffffffff16565b614422565b61457d90919063ffffffff16565b905060606040518060600160405280602181526020016155d760219139905060606135126134fb84614422565b61350484614422565b61457d90919063ffffffff16565b905080955050505050505b919050565b606061352c61536f565b601260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020838154811061357657fe5b90600052602060002090600302016040518060a00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900461ffff1661ffff1661ffff1681526020016000820160169054906101000a900460ff1660ff1660ff1681526020016001820154815260200160028201548152505090506060816020015161ffff166040519080825280602002602001820160405280156136715781602001602082028038833980820191505090505b50905060008090506000836020015161ffff1684608001510190506000846080015190505b81811015613738576011600082815260200190815260200160002060009054906101000a900460ff1680156136ff57508773ffffffffffffffffffffffffffffffffffffffff166136e6826139c5565b73ffffffffffffffffffffffffffffffffffffffff1614155b156137095761372b565b8084848151811061371657fe5b60200260200101818152505082806001019350505b8080600101915050613696565b506000821161374657600080fd5b600082856020015161ffff16039050808451038452839550505050505092915050565b6000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600e5481565b61380b6126e8565b61387d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b613886816145ff565b50565b6000601260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490509050919050565b6000806001600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415915050919050565b600033905090565b61396061395a613947565b826141a9565b6139b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260318152602001806157a46031913960400191505060405180910390fd5b6139c0838383614745565b505050565b6000806001600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613a84576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260298152602001806156aa6029913960400191505060405180910390fd5b80915050919050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050919050565b6000613ae48260800151611ad7565b9050601260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506013600083815260200190815260200160002081905550601260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020829080600181540180825580915050906001820390600052602060002090600302016000909192909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548161ffff021916908361ffff16021790555060408201518160000160166101000a81548160ff021916908360ff1602179055506060820151816001015560808201518160020155505050505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613cd9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180615680602a913960400191505060405180910390fd5b613d20600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020614769565b9050919050565b6000613d368260800151611ad7565b90506000613d906001601260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905061477790919063ffffffff16565b9050600060136000848152602001908152602001600020549050818114613fec57613db961536f565b601260008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208381548110613e0357fe5b90600052602060002090600302016040518060a00160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900461ffff1661ffff1661ffff1681526020016000820160169054906101000a900460ff1660ff1660ff1681526020016001820154815260200160028201548152505090506000613ed48260800151611ad7565b905081601260008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208481548110613f2157fe5b906000526020600020906003020160008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548161ffff021916908361ffff16021790555060408201518160000160166101000a81548160ff021916908360ff160217905550606082015181600101556080820151816002015590505082601360008381526020019081526020016000208190555050505b601260008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080548091906001900361403e91906153bb565b505050505050565b600061405182612747565b9050600061405e8361190d565b905060606141466140cd6140c86140a96040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250614422565b6140ba6140b587614450565b614422565b61457d90919063ffffffff16565b614422565b6141386141336141116040518060400160405280600181526020017f2f00000000000000000000000000000000000000000000000000000000000000815250614422565b6141256141208960ff16614450565b614422565b61457d90919063ffffffff16565b614422565b61457d90919063ffffffff16565b905060606040518060600160405280602181526020016155d7602191399050606061418a61417384614422565b61417c84614422565b61457d90919063ffffffff16565b905061419687876147c1565b6141a086826147e2565b50505050505050565b60006141b4826138d5565b614209576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c81526020018061561c602c913960400191505060405180910390fd5b6000614214836120da565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061428357508373ffffffffffffffffffffffffffffffffffffffff1661426b84611122565b73ffffffffffffffffffffffffffffffffffffffff16145b8061429457506142938185613769565b5b91505092915050565b6142a8848484614745565b6142b48484848461486c565b614309576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603281526020018061557f6032913960400191505060405180910390fd5b50505050565b606061431a826138d5565b61436f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180615754602f913960400191505060405180910390fd5b600b60008381526020019081526020016000208054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156144165780601f106143eb57610100808354040283529160200191614416565b820191906000526020600020905b8154815290600101906020018083116143f957829003601f168201915b50505050509050919050565b61442a6153ed565b600060208301905060405180604001604052808451815260200182815250915050919050565b60606000821415614498576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050614578565b600082905060005b600082146144c2578080600101915050600a82816144ba57fe5b0491506144a0565b6060816040519080825280601f01601f1916602001820160405280156144f75781602001600182028038833980820191505090505b50905060006001830390505b6000861461457057600a868161451557fe5b0660300160f81b8282806001900393508151811061452f57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a868161456857fe5b049550614503565b819450505050505b919050565b60608082600001518460000151016040519080825280601f01601f1916602001820160405280156145bd5781602001600182028038833980820191505090505b50905060006020820190506145db8186602001518760000151614a5c565b6145f48560000151820185602001518660000151614a5c565b819250505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415614685576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806155b16026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b614750838383614aa5565b61475a8382614d00565b6147648282614e9e565b505050565b600081600001549050919050565b60006147b983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250614f65565b905092915050565b6147cb8282615025565b6147d58282614e9e565b6147de816151e1565b5050565b6147eb826138d5565b614840576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c8152602001806156ff602c913960400191505060405180910390fd5b80600b60008481526020019081526020016000209080519060200190614867929190615407565b505050565b600061488d8473ffffffffffffffffffffffffffffffffffffffff1661522d565b61489a5760019050614a54565b60008473ffffffffffffffffffffffffffffffffffffffff1663150b7a026148c0613947565b8887876040518563ffffffff1660e01b8152600401808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561497c578082015181840152602081019050614961565b50505050905090810190601f1680156149a95780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b1580156149cb57600080fd5b505af11580156149df573d6000803e3d6000fd5b505050506040513d60208110156149f557600080fd5b8101908080519060200190929190505050905063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150505b949350505050565b5b60208110614a805781518352602083019250602082019150602081039050614a5d565b60006001826020036101000a0390508019835116818551168181178652505050505050565b8273ffffffffffffffffffffffffffffffffffffffff16614ac5826120da565b73ffffffffffffffffffffffffffffffffffffffff1614614b31576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602981526020018061572b6029913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415614bb7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806155f86024913960400191505060405180910390fd5b614bc081615278565b614c07600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020615336565b614c4e600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020615359565b816001600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000614d586001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208054905061477790919063ffffffff16565b9050600060066000848152602001908152602001600020549050818114614e45576000600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208381548110614dc557fe5b9060005260206000200154905080600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208381548110614e1d57fe5b9060005260206000200181905550816006600083815260200190815260200160002081905550505b600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480919060019003614e979190615487565b5050505050565b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506006600083815260200190815260200160002081905550600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190806001815401808255809150509060018203906000526020600020016000909192909190915055505050565b6000838311158290615012576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015614fd7578082015181840152602081019050614fbc565b50505050905090810190601f1680156150045780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156150c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4552433732313a206d696e7420746f20746865207a65726f206164647265737381525060200191505060405180910390fd5b6150d1816138d5565b15615144576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000081525060200191505060405180910390fd5b816001600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506151dd600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020615359565b5050565b6007805490506008600083815260200190815260200160002081905550600781908060018154018082558091505090600182039060005260206000200160009091929091909150555050565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f91506000801b821415801561526f5750808214155b92505050919050565b600073ffffffffffffffffffffffffffffffffffffffff166002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146153335760006002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b50565b61534e6001826000015461477790919063ffffffff16565b816000018190555050565b6001816000016000828254019250508190555050565b6040518060a00160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600061ffff168152602001600060ff16815260200160008152602001600081525090565b8154818355818111156153e8576003028160030283600052602060002091820191016153e791906154b3565b5b505050565b604051806040016040528060008152602001600081525090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061544857805160ff1916838001178555615476565b82800160010185558215615476579182015b8281111561547557825182559160200191906001019061545a565b5b5090506154839190615532565b5090565b8154818355818111156154ae578183600052602060002091820191016154ad9190615532565b5b505050565b61552f91905b8082111561552b57600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556000820160146101000a81549061ffff02191690556000820160166101000a81549060ff021916905560018201600090556002820160009055506003016154b9565b5090565b90565b61555491905b80821115615550576000816000905550600101615538565b5090565b9056fe53697a65206d75737420626520736d616c6c6572207468616e206d6178416c6c6f636174696f6e4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737368747470733a2f2f7661756c742e7761727269646572732e636f6d2f67756e732f4552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564a265627a7a7231582058cb85e76f6f786bdaaee626c3196a91878b0059c807f6bc31aa67a2a78ddc8b64736f6c634300050b0032

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

000000000000000000000000f4a01be26b2169deef116c0476676f6205ddf9df

-----Decoded View---------------
Arg [0] : factoryAddress (address): 0xF4a01Be26B2169dEeF116c0476676f6205ddf9DF

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


Deployed Bytecode Sourcemap

92844:13439:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;92844:13439:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;93628:50;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;93628:50:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;39860:135;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;39860:135:0;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;90908:85;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;90908:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71236:204;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;71236:204:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;94051:572;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;94051:572:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;70518:425;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;70518:425:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;93534:47;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;93534:47:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;98796:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;99814:209;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;99814:209:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;96667:876;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;96667:876:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;96667:876:0;;;;;;;;;;;;;;;;;100985:378;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;100985:378:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;95009:141;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;95009:141:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;73873:134;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;73873:134:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;100503:163;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;100503:163:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;98297:487;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;98297:487:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;96039:111;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;96039:111:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;98899:903;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;98899:903:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;97795:490;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;97795:490:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;96162:493;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;96162:493:0;;;;;;;;;;;;;;;;;97555:227;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;97555:227:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;66172:140;;;:::i;:::-;;65361:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;65727:94;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;100678:295;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;100678:295:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;91108:89;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;91108:89:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;93013:43;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;71741:254;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;71741:254:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;105220:1060;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;105220:1060:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;100035:456;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;100035:456:0;;;;;;;;;;;;;;;;;:::i;:::-;;74744:272;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;74744:272:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21:11:-1;8;5:28;2:2;;;46:1;43;36:12;2:2;74744:272:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;74744:272:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;74744:272:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;74744:272:0;;;;;;;;;;;;;;;:::i;:::-;;93372:25;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;93372:25:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;101863:896;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;101863:896:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;101863:896:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;95293:734;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;95293:734:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;95293:734:0;;;;;;;;;;;;;;;;;72325:147;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;72325:147:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;93063:33;;;:::i;:::-;;;;;;;;;;;;;;;;;;;66467:109;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;66467:109:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;95162:119;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;95162:119:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;93628:50;;;;;;;;;;;;;;;;;:::o;39860:135::-;39930:4;39954:20;:33;39975:11;39954:33;;;;;;;;;;;;;;;;;;;;;;;;;;;39947:40;;39860:135;;;:::o;90908:85::-;90947:13;90980:5;90973:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;90908:85;:::o;71236:204::-;71295:7;71323:16;71331:7;71323;:16::i;:::-;71315:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71408:15;:24;71424:7;71408:24;;;;;;;;;;;;;;;;;;;;;71401:31;;71236:204;;;:::o;94051:572::-;94134:7;94159:6;94168:1;94159:10;;94154:433;94175:10;:17;;;;94171:1;:21;94154:433;;;94214:14;;:::i;:::-;94231:10;94242:1;94231:13;;;;;;;;;;;;;;;;;;94214:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;94277:8;94263:22;;:1;:10;;;:22;;;94259:53;;94304:8;;;94259:53;94341:13;94369:1;:6;;;94357:18;;:1;:9;;;:18;94341:34;;94408:1;:9;;;94394:10;:23;;:45;;;;;94434:5;94421:10;:18;94394:45;94390:186;;;94460:11;94487:1;:9;;;94474:10;:22;94460:36;;94557:3;94540:1;:14;;;:20;94533:27;;;;;;;;94390:186;94154:433;;;94194:3;;;;;;;94154:433;;;;94607:8;;;94051:572;;;;;:::o;70518:425::-;70582:13;70598:16;70606:7;70598;:16::i;:::-;70582:32;;70639:5;70633:11;;:2;:11;;;;70625:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70719:5;70703:21;;:12;:10;:12::i;:::-;:21;;;:62;;;;70728:37;70745:5;70752:12;:10;:12::i;:::-;70728:16;:37::i;:::-;70703:62;70695:154;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70889:2;70862:15;:24;70878:7;70862:24;;;;;;;;;;;;:29;;;;;;;;;;;;;;;;;;70927:7;70923:2;70907:28;;70916:5;70907:28;;;;;;;;;;;;70518:425;;;:::o;93534:47::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;98796:91::-;98840:7;98867:12;;98860:19;;98796:91;:::o;99814:209::-;99902:11;:20;99914:7;99902:20;;;;;;;;;;;;;;;;;;;;;99897:71;;99939:17;99948:7;99939:8;:17::i;:::-;99897:71;99978:37;99997:4;100003:2;100007:7;99978:18;:37::i;:::-;99814:209;;;:::o;96667:876::-;96725:16;96754:23;96794:16;96804:5;96794:9;:16::i;:::-;96780:31;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;148:4;140:6;136:17;126:27;;0:157;96780:31:0;;;;96754:57;;96832:8;96843:1;96832:12;;96860:6;96869:1;96860:10;;96855:437;96876:12;:19;96889:5;96876:19;;;;;;;;;;;;;;;:26;;;;96872:1;:30;96855:437;;;96924:14;;:::i;:::-;96941:12;:19;96954:5;96941:19;;;;;;;;;;;;;;;96961:1;96941:22;;;;;;;;;;;;;;;;;;96924:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;96978:8;97006:1;:6;;;96989:23;;:1;:14;;;:23;96978:34;;97032:6;97041:1;:14;;;97032:23;;97027:254;97061:3;97057:1;:7;97027:254;;;97094:11;:14;97106:1;97094:14;;;;;;;;;;;;;;;;;;;;;:43;;;;;97132:5;97112:25;;:16;97126:1;97112:13;:16::i;:::-;:25;;;;97094:43;97090:100;;;97162:8;;97090:100;97240:1;97226:6;97233:3;97226:11;;;;;;;;;;;;;:15;;;;;97260:5;;;;;;;97027:254;97066:3;;;;;;;97027:254;;;;96855:437;;96904:3;;;;;;;96855:437;;;;97312:30;97345:21;97360:5;97345:14;:21::i;:::-;97312:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;97382:6;97391:1;97382:10;;97377:125;97398:13;:20;97394:1;:24;97377:125;;;97454:13;97468:1;97454:16;;;;;;;;;;;;;;97440:6;97447:3;97440:11;;;;;;;;;;;;;:30;;;;;97485:5;;;;;;;97420:3;;;;;;;97377:125;;;;97529:6;97522:13;;;;;96667:876;;;:::o;100985:378::-;101051:7;101071:13;101087:22;101101:7;101087:13;:22::i;:::-;101071:38;;101136:10;:17;;;;101128:5;:25;101120:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;101204:14;;:::i;:::-;101221:10;101232:5;101221:17;;;;;;;;;;;;;;;;;;101204:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;101259:18;101308:1;:9;;;93052:4;101281:23;;:7;:23;;;;;;101280:37;101259:58;;101345:10;101338:17;;;;;100985:378;;;:::o;95009:141::-;95089:7;95116:19;95129:5;95116:12;:19::i;:::-;95136:5;95116:26;;;;;;;;;;;;;;95109:33;;95009:141;;;;:::o;73873:134::-;73960:39;73977:4;73983:2;73987:7;73960:39;;;;;;;;;;;;:16;:39::i;:::-;73873:134;;;:::o;100503:163::-;100564:7;100584:13;93052:4;100601:23;;:7;:23;;;;;;100584:41;;100653:5;100646:12;;;100503:163;;;:::o;98297:487::-;98352:4;98373:11;:21;98385:8;98373:21;;;;;;;;;;;;;;;;;;;;;98369:408;;;98418:23;98432:8;98418:13;:23::i;:::-;98411:30;;;;98369:408;98474:13;98490:23;98504:8;98490:13;:23::i;:::-;98474:39;;98540:10;:17;;;;98532:5;:25;98528:211;;;98578:14;;:::i;:::-;98595:10;98606:5;98595:17;;;;;;;;;;;;;;;;;;98578:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;98631:8;98659:1;:6;;;98642:23;;:1;:14;;;:23;98631:34;;98720:3;98709:8;:14;98702:21;;;;;;;98528:211;98760:5;98753:12;;;98297:487;;;;:::o;96039:111::-;96097:7;96124:11;:9;:11::i;:::-;96136:5;96124:18;;;;;;;;;;;;;;96117:25;;96039:111;;;:::o;98899:903::-;98993:4;93850:7;;;;;;;;;;;93836:21;;:10;:21;;;93828:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;93052:4;99018:20;;:4;:20;;;99010:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;99103:10;99119:202;;;;;;;;99147:2;99119:202;;;;;;99170:4;99119:202;;;;;;99199:8;99119:202;;;;;;99231:25;:35;99257:8;99231:35;;;;;;;;;;;;;;;;99119:202;;;;99295:14;;99119:202;;;99103:219;;39:1:-1;33:3;27:10;23:18;57:10;52:3;45:23;79:10;72:17;;0:93;99103:219:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;99343:8;99371:4;99354:21;;:14;;:21;99343:32;;99391:6;99400:14;;99391:23;;99386:103;99420:3;99416:1;:7;99386:103;;;99475:1;99471:2;99450:27;;99467:1;99450:27;;;;;;;;;;;;99425:3;;;;;;;99386:103;;;;93052:4;99509:31;;:14;;:31;;;;;;;;;;;99587:4;99561:30;;:18;:22;99580:2;99561:22;;;;;;;;;;;;;;;;:30;;;;;;;;;;;99641:4;99602:43;;:25;:35;99628:8;99602:35;;;;;;;;;;;;;;;;:43;;;;;;;;;;;99666:55;99683:2;99687:10;99718:1;99698:10;:17;;;;:21;99687:33;;;;;;;;;;;;;;;;;;99666:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:16;:55::i;:::-;99758:4;99742:20;;:12;;:20;;;;;;;;;;;99780:14;;99773:21;;;98899:903;;;;;:::o;97795:490::-;97850:7;97879:15;97886:7;97879:6;:15::i;:::-;97871:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;97946:11;:20;97958:7;97946:20;;;;;;;;;;;;;;;;;;;;;97942:84;;;97991:22;98005:7;97991:13;:22::i;:::-;97984:29;;;;97942:84;98037:13;98053:22;98067:7;98053:13;:22::i;:::-;98037:38;;98103:10;:17;;;;98095:5;:25;98087:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;98162:14;;:::i;:::-;98179:10;98190:5;98179:17;;;;;;;;;;;;;;;;;;98162:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;98243:1;:6;;;98226:23;;:1;:14;;;:23;98216:7;:33;98208:42;;;;;;98269:1;:7;;;98262:14;;;;97795:490;;;;:::o;96162:493::-;96204:16;96233:23;96273:13;:11;:13::i;:::-;96259:28;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;148:4;140:6;136:17;126:27;;0:157;96259:28:0;;;;96233:54;;96308:8;96319:1;96308:12;;96336:6;96345:1;96336:10;;96331:283;96352:10;:17;;;;96348:1;:21;96331:283;;;96391:14;;:::i;:::-;96408:10;96419:1;96408:13;;;;;;;;;;;;;;;;;;96391:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;96436:8;96464:1;:6;;;96447:23;;:1;:14;;;:23;96436:34;;96490:6;96499:1;:14;;;96490:23;;96485:118;96519:3;96515:1;:7;96485:118;;;96562:1;96548:6;96555:3;96548:11;;;;;;;;;;;;;:15;;;;;96582:5;;;;;;;96524:3;;;;;;;96485:118;;;;96331:283;;96371:3;;;;;;;96331:283;;;;96641:6;96634:13;;;;96162:493;:::o;97555:227::-;97610:7;97655:1;97638:19;;:5;:19;;;;97630:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;97749:18;:25;97768:5;97749:25;;;;;;;;;;;;;;;;97724:22;97740:5;97724:15;:22::i;:::-;:50;97717:57;;97555:227;;;:::o;66172:140::-;65573:9;:7;:9::i;:::-;65565:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66271:1;66234:40;;66255:6;;;;;;;;;;;66234:40;;;;;;;;;;;;66302:1;66285:6;;:19;;;;;;;;;;;;;;;;;;66172:140::o;65361:79::-;65399:7;65426:6;;;;;;;;;;;65419:13;;65361:79;:::o;65727:94::-;65767:4;65807:6;;;;;;;;;;;65791:22;;:12;:10;:12::i;:::-;:22;;;65784:29;;65727:94;:::o;100678:295::-;100742:5;100760:13;100776:22;100790:7;100776:13;:22::i;:::-;100760:38;;100825:10;:17;;;;100817:5;:25;100809:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;100893:14;;:::i;:::-;100910:10;100921:5;100910:17;;;;;;;;;;;;;;;;;;100893:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;100955:1;:10;;;100948:17;;;;100678:295;;;:::o;91108:89::-;91149:13;91182:7;91175:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91108:89;:::o;93013:43::-;93052:4;93013:43;:::o;71741:254::-;71827:12;:10;:12::i;:::-;71821:18;;:2;:18;;;;71813:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71921:8;71882:18;:32;71901:12;:10;:12::i;:::-;71882:32;;;;;;;;;;;;;;;:36;71915:2;71882:36;;;;;;;;;;;;;;;;:47;;;;;;;;;;;;;;;;;;71974:2;71945:42;;71960:12;:10;:12::i;:::-;71945:42;;;71978:8;71945:42;;;;;;;;;;;;;;;;;;;;;;71741:254;;:::o;105220:1060::-;105293:15;105311:10;105322;105311:22;;;;;;;;;;;;;;;;;;105293:40;;105354:21;105378:1;:7;;;;;;;;;;;;105354:31;;105425:10;105414:21;;:1;:7;;;;;;;;;;;;:21;;;105406:30;;;;;;105457:39;105479:13;105494:1;105457:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:21;:39::i;:::-;105527:2;105517:1;:7;;;:12;;;;;;;;;;;;;;;;;;105550:23;105567:2;105571:1;105550:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:16;:23::i;:::-;105632:10;105628:2;105599:44;;105613:13;105599:44;;;;;;;;;;;;105722:8;105750:1;:6;;;;;;;;;;;;105733:23;;:1;:14;;;:23;105722:34;;105767:19;105789:1;105767:23;;105806:6;105815:1;:14;;;105806:23;;105801:355;105835:3;105831:1;:7;105801:355;;;105864:11;:14;105876:1;105864:14;;;;;;;;;;;;;;;;;;;;;105860:235;;;105917:13;105903:27;;:10;105911:1;105903:7;:10::i;:::-;:27;;;105899:62;;105953:8;;105899:62;105860:235;;;106066:13;;;;;;;105860:235;106142:1;106138:2;106114:30;;106123:13;106114:30;;;;;;;;;;;;105801:355;105840:3;;;;;;;105801:355;;;;106202:11;106176:18;:22;106195:2;106176:22;;;;;;;;;;;;;;;;:37;;;;;;;;;;;106261:11;106224:18;:33;106243:13;106224:33;;;;;;;;;;;;;;;;:48;;;;;;;;;;;105220:1060;;;;;;:::o;100035:456::-;100097:11;:20;100109:7;100097:20;;;;;;;;;;;;;;;;;;;;;100096:21;100088:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;100156:13;100172:22;100186:7;100172:13;:22::i;:::-;100156:38;;100221:10;:17;;;;100213:5;:25;100205:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;100279:14;;:::i;:::-;100296:10;100307:5;100296:17;;;;;;;;;;;;;;;;;;100279:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;100359:1;:6;;;100342:23;;:1;:14;;;:23;100332:7;:33;100324:42;;;;;;100400:4;100377:11;:20;100389:7;100377:20;;;;;;;;;;;;:27;;;;;;;;;;;;;;;;;;100415:28;100426:1;:7;;;100435;100415:10;:28::i;:::-;100454:18;:27;100473:1;:7;;;100454:27;;;;;;;;;;;;;;;;:29;;;;;;;;;;;;;;100035:456;;;:::o;74744:272::-;74859:41;74878:12;:10;:12::i;:::-;74892:7;74859:18;:41::i;:::-;74851:103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74965:43;74983:4;74989:2;74993:7;75002:5;74965:17;:43::i;:::-;74744:272;;;;:::o;93372:25::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;101863:896::-;101919:13;101953:15;101960:7;101953:6;:15::i;:::-;101945:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;102008:11;:20;102020:7;102008:20;;;;;;;;;;;;;;;;;;;;;102004:748;;;102052:23;102067:7;102052:14;:23::i;:::-;102045:30;;;;102004:748;102145:14;102162:25;102179:7;102162:16;:25::i;:::-;102145:42;;102202:19;102224:27;102243:7;102224:18;:27::i;:::-;102202:49;;102280:16;102299:144;102371:71;:61;102414:17;:15;;;;;;;;;;;;;;;;;;:17::i;:::-;102371:35;:25;102384:11;102371:12;:25::i;:::-;:33;:35::i;:::-;:42;;:61;;;;:::i;:::-;:69;:71::i;:::-;102299:64;:54;102339:13;:11;;;;;;;;;;;;;;;;;;:13::i;:::-;102299:32;:22;102312:8;102299:22;;:12;:22::i;:::-;:30;:32::i;:::-;:39;;:54;;;;:::i;:::-;:62;:64::i;:::-;:71;;:144;;;;:::i;:::-;102280:163;;102458:19;:57;;;;;;;;;;;;;;;;;;;102633:23;102659:36;102682:12;:2;:10;:12::i;:::-;102659:15;:5;:13;:15::i;:::-;:22;;:36;;;;:::i;:::-;102633:62;;102731:9;102724:16;;;;;;;101863:896;;;;:::o;95293:734::-;95370:16;95399:14;;:::i;:::-;95416:12;:19;95429:5;95416:19;;;;;;;;;;;;;;;95436:5;95416:26;;;;;;;;;;;;;;;;;;95399:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;95453:23;95493:1;:6;;;95479:21;;;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;148:4;140:6;136:17;126:27;;0:157;95479:21:0;;;;95453:47;;95521:11;95535:1;95521:15;;95547:8;95575:1;:6;;;95558:23;;:1;:14;;;:23;95547:34;;95597:6;95606:1;:14;;;95597:23;;95592:226;95626:3;95622:1;:7;95592:226;;;95655:11;:14;95667:1;95655:14;;;;;;;;;;;;;;;;;;;;;:43;;;;;95693:5;95673:25;;:16;95687:1;95673:13;:16::i;:::-;:25;;;;95655:43;95651:92;;;95719:8;;95651:92;95785:1;95771:6;95778:3;95771:11;;;;;;;;;;;;;:15;;;;;95801:5;;;;;;;95592:226;95631:3;;;;;;;95592:226;;;;95852:1;95846:3;:7;95838:16;;;;;;95875:17;95904:3;95895:1;:6;;;:12;;;95875:32;;95973:9;95964:6;95958:13;95954:29;95946:6;95939:45;96013:6;96006:13;;;;;;;95293:734;;;;:::o;72325:147::-;72405:4;72429:18;:25;72448:5;72429:25;;;;;;;;;;;;;;;:35;72455:8;72429:35;;;;;;;;;;;;;;;;;;;;;;;;;72422:42;;72325:147;;;;:::o;93063:33::-;;;;:::o;66467:109::-;65573:9;:7;:9::i;:::-;65565:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66540:28;66559:8;66540:18;:28::i;:::-;66467:109;:::o;95162:119::-;95220:7;95247:12;:19;95260:5;95247:19;;;;;;;;;;;;;;;:26;;;;95240:33;;95162:119;;;:::o;76209:155::-;76266:4;76283:13;76299:11;:20;76311:7;76299:20;;;;;;;;;;;;;;;;;;;;;76283:36;;76354:1;76337:19;;:5;:19;;;;76330:26;;;76209:155;;;:::o;27961:98::-;28006:15;28041:10;28034:17;;27961:98;:::o;72919:292::-;73063:41;73082:12;:10;:12::i;:::-;73096:7;73063:18;:41::i;:::-;73055:103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73171:32;73185:4;73191:2;73195:7;73171:13;:32::i;:::-;72919:292;;;:::o;69859:228::-;69914:7;69934:13;69950:11;:20;69962:7;69950:20;;;;;;;;;;;;;;;;;;;;;69934:36;;70006:1;69989:19;;:5;:19;;;;69981:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70074:5;70067:12;;;69859:228;;;:::o;85400:126::-;85462:17;85499:12;:19;85512:5;85499:19;;;;;;;;;;;;;;;85492:26;;85400:126;;;:::o;104954:254::-;105031:19;105053:33;105067:5;:18;;;105053:13;:33::i;:::-;105031:55;;105138:12;:16;105151:2;105138:16;;;;;;;;;;;;;;;:23;;;;105107:15;:28;105123:11;105107:28;;;;;;;;;;;:54;;;;105172:12;:16;105185:2;105172:16;;;;;;;;;;;;;;;105194:5;105172:28;;39:1:-1;33:3;27:10;23:18;57:10;52:3;45:23;79:10;72:17;;0:93;105172:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;104954:254;;;:::o;69422:211::-;69477:7;69522:1;69505:19;;:5;:19;;;;69497:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69591:34;:17;:24;69609:5;69591:24;;;;;;;;;;;;;;;:32;:34::i;:::-;69584:41;;69422:211;;;:::o;103649:1293::-;103915:19;103937:33;103951:5;:18;;;103937:13;:33::i;:::-;103915:55;;103983:22;104008:32;104038:1;104008:12;:18;104021:4;104008:18;;;;;;;;;;;;;;;:25;;;;:29;;:32;;;;:::i;:::-;103983:57;;104051:18;104072:15;:28;104088:11;104072:28;;;;;;;;;;;;104051:49;;104221:14;104207:10;:28;104203:409;;104252:22;;:::i;:::-;104277:12;:18;104290:4;104277:18;;;;;;;;;;;;;;;104296:14;104277:34;;;;;;;;;;;;;;;;;;104252:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;104326:23;104352:37;104366:9;:22;;;104352:13;:37::i;:::-;104326:63;;104439:9;104406:12;:18;104419:4;104406:18;;;;;;;;;;;;;;;104425:10;104406:30;;;;;;;;;;;;;;;;;;:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;104556:10;104521:15;:32;104537:15;104521:32;;;;;;;;;;;:45;;;;104203:409;;;104701:12;:18;104714:4;104701:18;;;;;;;;;;;;;;;:27;;;;;;;;;;;;:::i;:::-;;103649:1293;;;;;:::o;102771:747::-;102875:14;102892:26;102909:8;102892:16;:26::i;:::-;102875:43;;102929:19;102951:28;102970:8;102951:18;:28::i;:::-;102929:50;;103004:16;103023:144;103095:71;:61;103138:17;:15;;;;;;;;;;;;;;;;;;:17::i;:::-;103095:35;:25;103108:11;103095:12;:25::i;:::-;:33;:35::i;:::-;:42;;:61;;;;:::i;:::-;:69;:71::i;:::-;103023:64;:54;103063:13;:11;;;;;;;;;;;;;;;;;;:13::i;:::-;103023:32;:22;103036:8;103023:22;;:12;:22::i;:::-;:30;:32::i;:::-;:39;;:54;;;;:::i;:::-;:62;:64::i;:::-;:71;;:144;;;;:::i;:::-;103004:163;;103178:19;:57;;;;;;;;;;;;;;;;;;;103345:23;103371:36;103394:12;:2;:10;:12::i;:::-;103371:15;:5;:13;:15::i;:::-;:22;;:36;;;;:::i;:::-;103345:62;;103428:32;103446:3;103451:8;103428:17;:32::i;:::-;103471:39;103490:8;103500:9;103471:18;:39::i;:::-;102771:747;;;;;;;:::o;76734:333::-;76819:4;76844:16;76852:7;76844;:16::i;:::-;76836:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;76920:13;76936:16;76944:7;76936;:16::i;:::-;76920:32;;76982:5;76971:16;;:7;:16;;;:51;;;;77015:7;76991:31;;:20;77003:7;76991:11;:20::i;:::-;:31;;;76971:51;:87;;;;77026:32;77043:5;77050:7;77026:16;:32::i;:::-;76971:87;76963:96;;;76734:333;;;;:::o;75735:272::-;75845:32;75859:4;75865:2;75869:7;75845:13;:32::i;:::-;75896:48;75919:4;75925:2;75929:7;75938:5;75896:22;:48::i;:::-;75888:111;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75735:272;;;;:::o;91404:203::-;91460:13;91494:16;91502:7;91494;:16::i;:::-;91486:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91580:10;:19;91591:7;91580:19;;;;;;;;;;;91573:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91404:203;;;:::o;891:216::-;951:12;;:::i;:::-;976:8;1036:4;1030;1026:15;1019:22;;1069:30;;;;;;;;1081:4;1075:18;1069:30;;;;1095:3;1069:30;;;1062:37;;;891:216;;;:::o;101375:476::-;101428:13;101463:1;101458;:6;101454:49;;;101481:10;;;;;;;;;;;;;;;;;;;;;101454:49;101513:6;101522:1;101513:10;;101534:8;101553:69;101565:1;101560;:6;101553:69;;101583:5;;;;;;;101608:2;101603:7;;;;;;;;;101553:69;;;101632:17;101662:3;101652:14;;;;;;;;;;;;;;;;;;;;;;;;;29:1:-1;21:6;17:14;116:4;104:10;96:6;87:34;147:4;139:6;135:17;125:27;;0:156;101652:14:0;;;;101632:34;;101677:6;101692:1;101686:3;:7;101677:16;;101704:100;101716:1;101711;:6;101704:100;;101766:2;101762:1;:6;;;;;;101757:2;:11;101746:24;;101734:4;101739:3;;;;;;;101734:9;;;;;;;;;;;:36;;;;;;;;;;;101790:2;101785:7;;;;;;;;;101704:100;;;101838:4;101824:19;;;;;;101375:476;;;;:::o;22633:362::-;22711:13;22737:17;22780:5;:10;;;22768:4;:9;;;:22;22757:34;;;;;;;;;;;;;;;;;;;;;;;;;29:1:-1;21:6;17:14;116:4;104:10;96:6;87:34;147:4;139:6;135:17;125:27;;0:156;22757:34:0;;;;22737:54;;22802:11;22854:2;22849:3;22845:12;22835:22;;22869:36;22876:6;22884:4;:9;;;22895:4;:9;;;22869:6;:36::i;:::-;22916:50;22932:4;:9;;;22923:6;:18;22943:5;:10;;;22955:5;:10;;;22916:6;:50::i;:::-;22984:3;22977:10;;;;22633:362;;;;:::o;66682:229::-;66776:1;66756:22;;:8;:22;;;;66748:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66866:8;66837:38;;66858:6;;;;;;;;;;;66837:38;;;;;;;;;;;;66895:8;66886:6;;:17;;;;;;;;;;;;;;;;;;66682:229;:::o;83808:245::-;83894:38;83914:4;83920:2;83924:7;83894:19;:38::i;:::-;83945:47;83978:4;83984:7;83945:32;:47::i;:::-;84005:40;84033:2;84037:7;84005:27;:40::i;:::-;83808:245;;;:::o;38539:114::-;38604:7;38631;:14;;;38624:21;;38539:114;;;:::o;31215:136::-;31273:7;31300:43;31304:1;31307;31300:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;31293:50;;31215:136;;;;:::o;84318:214::-;84388:30;84406:2;84410:7;84388:17;:30::i;:::-;84431:40;84459:2;84463:7;84431:27;:40::i;:::-;84484;84516:7;84484:31;:40::i;:::-;84318:214;;:::o;91854:195::-;91940:16;91948:7;91940;:16::i;:::-;91932:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;92038:3;92016:10;:19;92027:7;92016:19;;;;;;;;;;;:25;;;;;;;;;;;;:::i;:::-;;91854:195;;:::o;79947:358::-;80069:4;80096:15;:2;:13;;;:15::i;:::-;80091:60;;80135:4;80128:11;;;;80091:60;80163:13;80195:2;80179:36;;;80216:12;:10;:12::i;:::-;80230:4;80236:7;80245:5;80179:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;80179:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;80179:72:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;80179:72:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;80179:72:0;;;;;;;;;;;;;;;;80163:88;;67623:10;80280:16;;80270:26;;;:6;:26;;;;80262:35;;;79947:358;;;;;;;:::o;119:565::-;241:170;254:2;247:3;:9;241:170;;331:3;325:10;319:4;312:24;373:2;365:10;;;;397:2;390:9;;;;265:2;258:9;;;;241:170;;;456:9;488:1;481:3;476:2;:8;468:3;:17;:21;456:33;;559:4;555:9;549:3;543:10;539:26;612:4;605;599:11;595:22;657:7;647:8;644:21;638:4;631:35;509:168;;;;;;:::o;78886:459::-;79000:4;78980:24;;:16;78988:7;78980;:16::i;:::-;:24;;;78972:78;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;79083:1;79069:16;;:2;:16;;;;79061:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;79139:23;79154:7;79139:14;:23::i;:::-;79175:35;:17;:23;79193:4;79175:23;;;;;;;;;;;;;;;:33;:35::i;:::-;79221:33;:17;:21;79239:2;79221:21;;;;;;;;;;;;;;;:31;:33::i;:::-;79290:2;79267:11;:20;79279:7;79267:20;;;;;;;;;;;;:25;;;;;;;;;;;;;;;;;;79329:7;79325:2;79310:27;;79319:4;79310:27;;;;;;;;;;;;78886:459;;;:::o;87005:1148::-;87271:22;87296:32;87326:1;87296:12;:18;87309:4;87296:18;;;;;;;;;;;;;;;:25;;;;:29;;:32;;;;:::i;:::-;87271:57;;87339:18;87360:17;:26;87378:7;87360:26;;;;;;;;;;;;87339:47;;87507:14;87493:10;:28;87489:328;;87538:19;87560:12;:18;87573:4;87560:18;;;;;;;;;;;;;;;87579:14;87560:34;;;;;;;;;;;;;;;;87538:56;;87644:11;87611:12;:18;87624:4;87611:18;;;;;;;;;;;;;;;87630:10;87611:30;;;;;;;;;;;;;;;:44;;;;87761:10;87728:17;:30;87746:11;87728:30;;;;;;;;;;;:43;;;;87489:328;;87906:12;:18;87919:4;87906:18;;;;;;;;;;;;;;;:27;;;;;;;;;;;;:::i;:::-;;87005:1148;;;;:::o;85827:186::-;85941:12;:16;85954:2;85941:16;;;;;;;;;;;;;;;:23;;;;85912:17;:26;85930:7;85912:26;;;;;;;;;;;:52;;;;85975:12;:16;85988:2;85975:16;;;;;;;;;;;;;;;85997:7;85975:30;;39:1:-1;33:3;27:10;23:18;57:10;52:3;45:23;79:10;72:17;;0:93;85975:30:0;;;;;;;;;;;;;;;;;;;;;;85827:186;;:::o;31801:192::-;31887:7;31920:1;31915;:6;;31923:12;31907:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;31907:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31947:9;31963:1;31959;:5;31947:17;;31984:1;31977:8;;;31801:192;;;;;:::o;77320:290::-;77412:1;77398:16;;:2;:16;;;;77390:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;77471:16;77479:7;77471;:16::i;:::-;77470:17;77462:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;77556:2;77533:11;:20;77545:7;77533:20;;;;;;;;;;;;:25;;;;;;;;;;;;;;;;;;77569:33;:17;:21;77587:2;77569:21;;;;;;;;;;;;;;;:31;:33::i;:::-;77320:290;;:::o;86214:164::-;86318:10;:17;;;;86291:15;:24;86307:7;86291:24;;;;;;;;;;;:44;;;;86346:10;86362:7;86346:24;;39:1:-1;33:3;27:10;23:18;57:10;52:3;45:23;79:10;72:17;;0:93;86346:24:0;;;;;;;;;;;;;;;;;;;;;;86214:164;:::o;36236:810::-;36296:4;36749:16;36776:19;36798:66;36776:88;;;;36967:7;36955:20;36943:32;;37007:3;36995:15;;:8;:15;;:42;;;;;37026:11;37014:8;:23;;36995:42;36987:51;;;;36236:810;;;:::o;80473:175::-;80573:1;80537:38;;:15;:24;80553:7;80537:24;;;;;;;;;;;;;;;;;;;;;:38;;;80533:108;;80627:1;80592:15;:24;80608:7;80592:24;;;;;;;;;;;;:37;;;;;;;;;;;;;;;;;;80533:108;80473:175;:::o;38850:110::-;38931:21;38950:1;38931:7;:14;;;:18;;:21;;;;:::i;:::-;38914:7;:14;;:38;;;;38850:110;:::o;38661:181::-;38833:1;38815:7;:14;;;:19;;;;;;;;;;;38661:181;:::o;92844:13439::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

bzzr://58cb85e76f6f786bdaaee626c3196a91878b0059c807f6bc31aa67a2a78ddc8b

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.