Contract 0xacd235697B33A0b4cF7A8ef52A81c01D28a150c6

 
 
Txn Hash
Method
Block
From
To
Value
0xf1d159fd4aaff534437fc722befeee26f432a2111053e9ce15c87d101765f0e7Set Approval For...142262832022-02-17 22:14:10282 days 1 hr agoENS Name ownable.eth IN  0xacd235697b33a0b4cf7a8ef52a81c01d28a150c60 Ether0.0062773 133.95299693
0x6d4a1abc328c5a0e950109cace9b2c4efdb6db85377b50e26542bd4ef7fb31f5Transfer From140920662022-01-28 4:34:39302 days 18 hrs agoENS Name ownable.eth IN  0xacd235697b33a0b4cf7a8ef52a81c01d28a150c60 Ether0.00608639 133.63176941
0x066daf846a5181f1973c545799d9eb3d7a50553d699ab132e4aee682f6200bb8Transfer From140920652022-01-28 4:34:15302 days 18 hrs agoENS Name ownable.eth IN  0xacd235697b33a0b4cf7a8ef52a81c01d28a150c60 Ether0.00762344 121.69077075
0x55af46c73f2530e9eeee27a0954a43856f09cfcb7daad986fbea0d25bffd6d0bSet Token Data139029582021-12-29 22:31:55332 days 42 mins agoENS Name ownable.eth IN  0xacd235697b33a0b4cf7a8ef52a81c01d28a150c60 Ether0.10561264201.34566357
0xb19a2f067888d4efb312f349fd3cf6bcc88385980d4748c8bc213cf8e1219e6cMint139029562021-12-29 22:31:03332 days 43 mins agoENS Name ownable.eth IN  0xacd235697b33a0b4cf7a8ef52a81c01d28a150c60 Ether0.01177344216.98207387
0x05dbff0912ab0fbe45a164099d51203370c644333caa2fbe116c3b899e172987Set Custom139027442021-12-29 21:43:17332 days 1 hr agoENS Name ownable.eth IN  0xacd235697b33a0b4cf7a8ef52a81c01d28a150c60 Ether0.01008553209.8224873
0x9e4617289bd1e0f557892d4e34a560dba58880183444ddce48c806d4623e6d02Mint139027262021-12-29 21:39:38332 days 1 hr agoENS Name ownable.eth IN  0xacd235697b33a0b4cf7a8ef52a81c01d28a150c60 Ether0.01074937198.10864073
0x3ff133789d9de1edf13fb74c1913951e342f81da179d40d50eb3f4d9f7d26f75Set Token Data139027232021-12-29 21:39:08332 days 1 hr agoENS Name ownable.eth IN  0xacd235697b33a0b4cf7a8ef52a81c01d28a150c60 Ether0.11879492236.78383265
0xbbbaa60534d66d7d4284fa4d720f84ded2cf8d0eb38163843e0f14fdff02e216Set Token Animat...138245272021-12-17 19:37:53344 days 3 hrs agoENS Name ownable.eth IN  0xacd235697b33a0b4cf7a8ef52a81c01d28a150c60 Ether0.01241855246.99777046
0x80784c4601a844bbf5b15ac085b84eb435dcb4873c8ee11690a33baddd9f50feSet Animation Na...138245242021-12-17 19:37:15344 days 3 hrs agoENS Name ownable.eth IN  0xacd235697b33a0b4cf7a8ef52a81c01d28a150c60 Ether0.01252478237.90565039
0xc48c30b524e2289693a20beda34da5f2f7ddf70d31840706e2d307cb80cc2c7cSet Animation Da...138245212021-12-17 19:35:53344 days 3 hrs agoENS Name ownable.eth IN  0xacd235697b33a0b4cf7a8ef52a81c01d28a150c60 Ether0.25256807213.45988137
0xd5c498009ca26dc8dc5c0a322b595c4a705ec7582ce2b27ef8ef43c7f8ececfeSet Token Data138245142021-12-17 19:33:55344 days 3 hrs agoENS Name ownable.eth IN  0xacd235697b33a0b4cf7a8ef52a81c01d28a150c60 Ether0.11681523222.72836519
0x8d8f01298d3cb69b440e3c582ff3a812905ee03fe9d896dfa9df0ed743502972Mint138245102021-12-17 19:33:19344 days 3 hrs agoENS Name ownable.eth IN  0xacd235697b33a0b4cf7a8ef52a81c01d28a150c60 Ether0.01914509268.2888861
0x80b0dffe76c1b931ef2559a5df2caa85dbedde72dc7550dc1f9bf4883045cd7c0x60806040138245032021-12-17 19:31:45344 days 3 hrs agoENS Name ownable.eth IN  Create: ChainToadz0 Ether2.9288649269.74021693
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ChainToadz

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 1 runs

Other Settings:
default evmVersion
File 1 of 12 : ChainToadz.sol
// SPDX-License-Identifier: MIT

/*
CrypToadz Created By:
  ___  ____  ____  __  __  ____  __    ____  _  _ 
 / __)(  _ \( ___)(  \/  )(  _ \(  )  (_  _)( \( )
( (_-. )   / )__)  )    (  )___/ )(__  _)(_  )  ( 
 \___/(_)\_)(____)(_/\/\_)(__)  (____)(____)(_)\_) 
(https://cryptoadz.io)

ChainToadz Programmed By:
 __      __         __    __                 
/  \    /  \_____ _/  |__/  |_  _________.__.
\   \/\/   /\__  \\   __\   __\/  ___<   |  |
 \        /  / __ \|  |  |  |  \___ \ \___  |
  \__/\  /  (____  /__|  |__| /____  >/ ____|
       \/        \/                \/ \/     
(https://wattsy.art)
*/

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "./GIFEncoder.sol";

error ImageNotFound();
error AnimationNotFound();

/** @notice Pixel renderer using basic drawing instructions: fill, line, and dot. */
library PixelRenderer {

    struct Point2D {
        int32 x;
        int32 y;
    }

    struct Line2D {
        Point2D v0;
        Point2D v1;
        uint32 color;
    }

    struct DrawFrame {
        bytes buffer;
        uint position;
        GIFEncoder.GIFFrame frame;
        uint32[255] colors;
    }

    function drawFrame(DrawFrame memory f) internal pure returns (DrawFrame memory) {       

        (uint32 instructionCount, uint position) = readUInt32(f.buffer, f.position);
        f.position = position;

        for(uint32 i = 0; i < instructionCount; i++) {

            uint8 instructionType = uint8(f.buffer[f.position++]);                   

            if(instructionType == 0) {                                     
                uint32 color = f.colors[uint8(f.buffer[f.position++])];
                for (uint16 x = 0; x < f.frame.width; x++) {
                    for (uint16 y = 0; y < f.frame.height; y++) {
                        f.frame.buffer[f.frame.width * y + x] = color;
                    }
                }
            }
            else if(instructionType == 1)
            {                
                uint32 color = f.colors[uint8(f.buffer[f.position++])];
                line(f.frame, PixelRenderer.Line2D(
                    PixelRenderer.Point2D(int8(uint8(f.buffer[f.position++])), int8(uint8(f.buffer[f.position++]))), 
                    PixelRenderer.Point2D(int8(uint8(f.buffer[f.position++])), int8(uint8(f.buffer[f.position++]))),
                    color));
            }
            else if(instructionType == 2)
            {   
                uint32 color = f.colors[uint8(f.buffer[f.position++])]; 
                dot(f.frame, int8(uint8(f.buffer[f.position++])), int8(uint8(f.buffer[f.position++])), color);
            }
        }

        return f;
    }    

    function getColorTable(bytes memory buffer, uint position) internal pure returns(uint32[255] memory colors, uint) {
        colors[0] = 0xFF000000;
        uint8 colorCount = uint8(buffer[position++]);
        for(uint8 i = 0; i < colorCount; i++) {
            uint32 r = uint32(uint8(buffer[position++]));
            uint32 g = uint32(uint8(buffer[position++]));
            uint32 b = uint32(uint8(buffer[position++]));
            uint32 color = 0;
            color |= 255 << 24;
            color |= r << 16;
            color |= g << 8;
            color |= b << 0;
            colors[i + 1] = color;                
        }
        return (colors, position);
    }

    function dot(
        GIFEncoder.GIFFrame memory frame,
        int32 x,
        int32 y,
        uint32 color
    ) private pure {
        uint32 p = uint32(int16(frame.width) * y + x);
        frame.buffer[p] = color;
    }

    function line(GIFEncoder.GIFFrame memory frame, Line2D memory f)
        private
        pure
    {
        int256 x0 = f.v0.x;
        int256 x1 = f.v1.x;
        int256 y0 = f.v0.y;
        int256 y1 = f.v1.y;

        int256 dx = abs(x1 - x0);
        int256 dy = abs(y1 - y0);

        int256 err = (dx > dy ? dx : -dy) / 2;

        for (;;) {
            if (
                x0 <= int32(0) + int16(frame.width) - 1 &&
                x0 >= int32(0) &&
                y0 <= int32(0) + int16(frame.height) - 1 &&
                y0 >= int32(0)
            ) {
                uint256 p = uint256(int16(frame.width) * y0 + x0);
                frame.buffer[p] = f.color;
            }

            if (x0 == x1 && y0 == y1) break;
            int256 e2 = err;
            if (e2 > -dx) {
                err -= dy;
                x0 += x0 < x1 ? int8(1) : -1;
            }
            if (e2 < dy) {
                err += dx;
                y0 += y0 < y1 ? int8(1) : -1;
            }
        }
    }

    function readUInt32(bytes memory buffer, uint position) private pure returns (uint32, uint) {
        uint8 d1 = uint8(buffer[position++]);
        uint8 d2 = uint8(buffer[position++]);
        uint8 d3 = uint8(buffer[position++]);
        uint8 d4 = uint8(buffer[position++]);
        return ((16777216 * d4) + (65536 * d3) + (256 * d2) + d1, position);
    }

    function abs(int256 x) private pure returns (int256) {
        return x >= 0 ? x : -x;
    }
}

/** @notice Interface describing ChainToadz, so other contracts can wrap and call into it if they want to share our data. */
interface IChainToadz {

    /** @notice Produces the token metadata as a JSON document  */
    function getTokenMetadata(uint tokenId) external view returns (string memory metadata);

    /** @notice Renders the canonical token image as an embedded data URI  */
    function getImageDataUri(uint tokenId) external view returns (string memory uri);

    /** @notice Renders a custom animation as an embedded data URI  */
    function getAnimationDataUri(uint tokenId, uint animationId) external view returns(string memory uri);    

    /** @notice Renders the raw GIF image for the canonical token image */
    function getImage(uint tokenId) external view returns (GIFEncoder.GIF memory gif);

    /** @notice Renders the raw GIF image for a custom animation */
    function getAnimation(uint tokenId, uint animationId) external view returns (GIFEncoder.GIF memory gif);
}

contract ChainToadz is ERC721, IChainToadz {

    bytes constant private JSON_URI_PREFIX = "data:application/json;base64,";    
    bytes constant private SVG_URI_PREFIX = "data:image/svg+xml;base64,";
    
    struct Point2D {
        int32 x;
        int32 y;
    }

    struct Line2D {
        Point2D v0;
        Point2D v1;
        uint32 color;
    }

    address private _admin;
    
    string private _tokenName;
    string private _externalUrl;
    string private _description;

    mapping(uint => bytes) public tokenData;
    mapping(uint => mapping(uint => bytes)) public animationData;
    mapping(uint => mapping(uint => string)) public animationName;

    mapping(uint => uint) tokenAnimation;

    mapping(uint8 => string) public accessoryOne;    
    mapping(uint8 => string) public accessoryTwo;
    mapping(uint8 => string) public background;
    mapping(uint8 => string) public body;
    mapping(uint8 => string) public clothes;
    mapping(uint8 => string) public custom;
    mapping(uint8 => string) public eyes;
    mapping(uint8 => string) public head;
    mapping(uint8 => string) public mouth;    
    mapping(uint8 => string) public names;
   
    function setAccessoryOne(uint8 key, string memory value) external {
        require(_msgSender() == _admin);
        accessoryOne[key] = value;
    }

    function setAccessoryTwo(uint8 key, string memory value) external {
        require(_msgSender() == _admin);
        accessoryTwo[key] = value;
    }

    function setBackground(uint8 key, string memory value) external {
        require(_msgSender() == _admin);
        background[key] = value;
    }

    function setBody(uint8 key, string memory value) external {
        require(_msgSender() == _admin);
        body[key] = value;
    }

    function setClothes(uint8 key, string memory value) external {
        require(_msgSender() == _admin);
        clothes[key] = value;
    }

    function setCustom(uint8 key, string memory value) external {
        require(_msgSender() == _admin);
        custom[key] = value;
    }

    function setEyes(uint8 key, string memory value) external {
        require(_msgSender() == _admin);
        eyes[key] = value;
    }

    function setHead(uint8 key, string memory value) external {
        require(_msgSender() == _admin);
        head[key] = value;
    }

    function setMouth(uint8 key, string memory value) external {
        require(_msgSender() == _admin);
        mouth[key] = value;
    }
    
    function setName(uint8 key, string memory value) external {
        require(_msgSender() == _admin);
        names[key] = value;
    }

    constructor() ERC721("ChainToadz", "CHAINTOADZ") {  
        _admin = _msgSender();

        _tokenName = "ChainToadz";
        _externalUrl = "https://cryptoadz.io";
        _description = "A small, warty, amphibious creature that resides in the metaverse (and entirely on the blockchain).";        

        accessoryOne[1] = "Drive-thru";
        accessoryOne[2] = "Explorer";
        accessoryOne[3] = "Fly Lick";
        accessoryOne[4] = "Four Flies";
        accessoryOne[5] = "Mysterious Hoodie";
        accessoryOne[6] = "One Fly";
        accessoryOne[7] = "Three Flies";
        accessoryOne[8] = "Toxic Lumps";
        accessoryOne[9] = "Two Flies";

        accessoryTwo[1] = "Blush";
        accessoryTwo[2] = "Chocolate";
        accessoryTwo[3] = "Earring";
        accessoryTwo[4] = "Just for the Looks";
        accessoryTwo[5] = "Long Cigarette";
        accessoryTwo[6] = "Shackles";
        accessoryTwo[7] = "Short Cigarette";
        accessoryTwo[8] = "Watch";

        background[1] = "95";
        background[2] = "Blanket";
        background[3] = "Blood";
        background[4] = "Bruise";
        background[5] = "Bubblegum";
        background[6] = "Damp";
        background[7] = "Dark";
        background[8] = "Ghost Crash";
        background[9] = "Greige";
        background[10] = "Grey Foam";
        background[11] = "Greyteal";
        background[12] = "Matrix";
        background[13] = "Middlegrey";
        background[14] = "Mold";
        background[15] = "Salmon";
        background[16] = "Universe Foam";
        background[17] = "Violet";

        body[1] = "Albino";
        body[2] = "Alien";
        body[3] = "Angry";
        body[4] = "Ape";
        body[5] = "Berry";
        body[6] = "Big Ghost";
        body[7] = "Blood Bones";
        body[8] = "Blue Cat";
        body[9] = "Bones";
        body[10] = "Booger";
        body[11] = "Chimp";
        body[12] = "Creep";
        body[13] = "Dog";
        body[14] = "Gargoyle";
        body[15] = "Ghost";
        body[16] = "Ghost Bones";
        body[17] = "Gorilla";
        body[18] = "Gremplin Blue";
        body[19] = "Gremplin Green";
        body[20] = "Gummy Blue";
        body[21] = "Gummy Peach";
        body[22] = "Gummy Raspberry";
        body[23] = "Gummy Slime";
        body[24] = "Gummy Tropical";
        body[25] = "Hypnotic";
        body[26] = "Lasagna";
        body[27] = "Normal";
        body[28] = "Only Socks";
        body[29] = "Pasty";
        body[30] = "Pox";
        body[31] = "Sleepy";
        body[32] = "Toadbot";
        body[33] = "Toadenza";
        body[34] = "Undead";

        clothes[1] = "Force Hoodie";
        clothes[2] = "Grey Hoodie";
        clothes[3] = "Slime Hoodie";

        custom[1] = "Legendary";
        custom[2] = "Licked - Don't Look in the Mirror";
        custom[3] = "Licked - Hallucination";
        custom[4] = "Licked - Warped";
        custom[5] = "Murdered by Fronkz";

        eyes[1] = "3D";
        eyes[2] = "Anime";
        eyes[3] = "Awake";
        eyes[4] = "Bandit";
        eyes[5] = "Big Crazy Orange";
        eyes[6] = "Big Crazy Red";
        eyes[7] = "Big Yellow Side-eye";
        eyes[8] = "Black & Blue Goggles";
        eyes[9] = "Blue Eyeshadow";
        eyes[10] = "Butthole";
        eyes[11] = "Cool Shades";        
        eyes[12] = "Creep";
        eyes[13] = "Croaked";
        eyes[14] = "Dilated";
        eyes[15] = "Glowing Blue";
        eyes[16] = "Glowing Red";
        eyes[17] = "Gold Specs";
        eyes[18] = "Green Eyeshadow";
        eyes[19] = "Gremplin";
        eyes[20] = "Judgment";
        eyes[21] = "Nerd";
        eyes[22] = "Nice Shades";
        eyes[23] = "Nounish Blue";
        eyes[24] = "Nounish Red";
        eyes[25] = "Patch";
        eyes[26] = "Red & Black Goggles";
        eyes[27] = "Round Shades";
        eyes[28] = "Thick Round";
        eyes[29] = "Thick Square";
        eyes[30] = "Undead";
        eyes[31] = "Vampire";
        eyes[32] = "Violet Goggles";
        eyes[33] = "White & Red Goggles";

        head[1] = "Aqua Mohawk";
        head[2] = "Aqua Puff";
        head[3] = "Aqua Shave";
        head[4] = "Aqua Sidepart";
        head[5] = "Backward Cap";
        head[6] = "Black Sidepart";
        head[7] = "Blonde Pigtails";
        head[8] = "Blue Pigtails";
        head[9] = "Blue Shave";
        head[10] = "Bowlcut";
        head[11] = "Brain";
        head[12] = "Crazy Blonde";
        head[13] = "Dark Pigtails";
        head[14] = "Dark Single Bun";
        head[15] = "Dark Tall Hat";
        head[16] = "Fez";
        head[17] = "Floppy Hat";
        head[18] = "Fun Cap";
        head[19] = "Grey Knit Hat";
        head[20] = "Orange Bumps";
        head[21] = "Orange Double Buns";
        head[22] = "Orange Knit Hat";
        head[23] = "Orange Shave";
        head[24] = "Orange Tal Hat";
        head[25] = "Periwinkle Cap";
        head[26] = "Pink Puff";
        head[27] = "Plaid Cap";
        head[28] = "Rainbow Mohawk";
        head[29] = "Red Gnome";
        head[30] = "Rusty Cap";
        head[31] = "Short Feathered Hat";
        head[32] = "Stringy";
        head[33] = "Super Stringy";
        head[34] = "Swampy Bumps";
        head[35] = "Swampy Crazy";
        head[36] = "Swampy Double Bun";
        head[37] = "Swampy Flattop";
        head[38] = "Swampy Sidepart";
        head[39] = "Swampy Single Bun";
        head[40] = "Swept Orange";
        head[41] = "Swept Purple";
        head[42] = "Swept Teal";
        head[43] = "Teal Gnome";
        head[44] = "Teal Knit Hat";
        head[45] = "Toadstool";
        head[46] = "Tophat";
        head[47] = "Truffle";
        head[48] = "Vampire";
        head[49] = "Wild Black";
        head[50] = "Wild Orange";
        head[51] = "Wild White";
        head[52] = "Wizard";
        head[53] = "Yellow Flattop";

        mouth[1] = "Bandit Smile";
        mouth[2] = "Bandit Wide";
        mouth[3] = "Beard";
        mouth[4] = "Blue Smile";
        mouth[5] = "Croak";
        mouth[6] = "Green Bucktooth";
        mouth[7] = "Lincoln";
        mouth[8] = "Peach Smile";
        mouth[9] = "Pink Bucktooth";
        mouth[10] = "Purple Wide";
        mouth[11] = "Ribbit Blue";
        mouth[12] = "Sad";
        mouth[13] = "Shifty";
        mouth[14] = "Slimy";
        mouth[15] = "Teal Smile";
        mouth[16] = "Teal Wide";
        mouth[17] = "Vampire";
        mouth[18] = "Well Actually";

        names[1] = "0xtoad";
        names[2] = "2croakchanes";
        names[3] = "41croak6";
        names[4] = "91croak5";
        names[5] = "9croak99";
        names[6] = "Adventurer";
        names[7] = "Aversanoad";
        names[8] = "BNToad";
        names[9] = "Barcroaka";
        names[10] = "Basglyphtoad";
        names[11] = "Bastoad";
        names[12] = "Belethtoad";
        names[13] = "Chanzerotoad";
        names[14] = "Cheftoad";
        names[15] = "Clairetoad";
        names[16] = "Colonel Floorbin";
        names[17] = "Croaklehat";
        names[18] = "Crycroak";
        names[19] = "Deezetoad";
        names[20] = "Dinfoad";
        names[21] = "Domtoad";
        names[22] = "Drocroak";
        names[23] = "Emmytoad";
        names[24] = "Erintoad";
        names[25] = "Fronkz Henchman 1";
        names[26] = "Fronkz Henchman 2";
        names[27] = "Geebztoad";
        names[28] = "Gustoad";
        names[29] = "Heeeeeeeetoad";
        names[30] = "Hero Of The Swamp";
        names[31] = "Herrerratoad";
        names[32] = "Huntoad";
        names[33] = "Hypetoad";
        names[34] = "Jeztoad";
        names[35] = "King Gremplin";
        names[36] = "Koppertoad";
        names[37] = "Leetoad";
        names[38] = "Little Sister";
        names[39] = "Marlotoad";
        names[40] = "Miketoad";
        names[41] = "Motitoad";
        names[42] = "Moxtoad";
        names[43] = "Mr7croak3";
        names[44] = "Nourtoad";
        names[45] = "Onitoad";
        names[46] = "Rastertoad";
        names[47] = "Samjtoad";
        names[48] = "Senecatoad";
        names[49] = "Slowbrodicktoad";
        names[50] = "Snowfroad";
        names[51] = "Sobytoad";
        names[52] = "Spcvetovd";
        names[53] = "Sumtoad";
        names[54] = "Tappytoad";
        names[55] = "Termitoad";
        names[56] = "Tiodan";
        names[57] = "Toadbeef";
        names[58] = "Trilltoad";
        names[59] = "VGFtoad";
        names[60] = "Vegtoad";
        names[61] = "Westoad";
        names[62] = "Yuppietoad";
        names[63] = "Zolitoad";        
    }

    /** @notice Emitted when a single token metadata updates. */ 
    event TokenMetadataUpdated(uint256 indexed tokenId);

    /** @notice Emitted when all token metadata is considered stale. */ 
    event TokensMetadataUpdated();

    function setTokenDetails(string memory tokenName, string memory external_url, string memory description) external {
        require(_msgSender() == _admin);
        _tokenName = tokenName;
        _externalUrl = external_url;
        _description = description;        
        emit TokensMetadataUpdated();
    }

    function setTokenAnimation(uint tokenId, uint animationId) external {
        require(ownerOf(tokenId) == _msgSender());
        if(animationId != 0 && animationData[tokenId][animationId].length == 0) revert AnimationNotFound();
        tokenAnimation[tokenId] = animationId;
        emit TokenMetadataUpdated(tokenId);
    }
    
    function setTokenData(uint tokenId, bytes memory data) external {
        require(_msgSender() == _admin);
        tokenData[tokenId] = data; 
        require(tokenData[tokenId].length == data.length);
        emit TokenMetadataUpdated(tokenId);
    }

    function setAnimationData(uint tokenId, uint animationId, bytes memory data) external {
        require(_msgSender() == _admin);
        require(animationId > 0);
        animationData[tokenId][animationId] = data; 
        require(animationData[tokenId][animationId].length == data.length);       
        if(tokenAnimation[tokenId] == animationId) {
            emit TokenMetadataUpdated(tokenId);
        }
    }

    function setAnimationName(uint tokenId, uint animationId, string memory value) external {
        require(_msgSender() == _admin);
        if(animationId == 0 || (animationId != 0 && animationData[tokenId][animationId].length == 0)) revert AnimationNotFound();
        animationName[tokenId][animationId] = value;
        if(tokenAnimation[tokenId] == animationId) {
            emit TokenMetadataUpdated(tokenId);
        }
    }

    /** @notice Produces the token metadata as a JSON document  */
    function getTokenMetadata(uint tokenId) public override view returns (string memory metadata) {        
        return createTokenMetadata(tokenId);
    }

    function createTokenMetadata(uint tokenId) private view returns (string memory metadata) {
        
        uint animationId = tokenAnimation[tokenId];
        
        string memory imageUri = GIFEncoder.getDataUri(animationId == 0 ? getImage(tokenId) : getAnimation(tokenId, animationId));

        string memory imageData = string(abi.encodePacked(
            '<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;" xml:space="preserve">',
            '<image style="image-rendering:-moz-crisp-edges;image-rendering:-webkit-crisp-edges;image-rendering:pixelated;" width="100" height="100" xlink:href="', 
            imageUri, '"/></svg>'));

        metadata = string(abi.encodePacked('{"description":"', _description, 
        '","external_url":"', _externalUrl, 
        '","image_data":"', abi.encodePacked(SVG_URI_PREFIX, Base64.encode(bytes(imageData), bytes(imageData).length)),
        '","name":"', _tokenName, ' #', toString(tokenId), 
        '",',getTokenMetadataAttributes(tokenId),
        '}'));
    }

    function getTokenMetadataAttributes(uint tokenId) private view returns (string memory attributes) {

        bytes memory buffer = tokenData[tokenId];
        uint position = 0;
        require(buffer.length > 0);   

        uint8 numberOfTraits = 0;

        attributes = string(abi.encodePacked('"attributes":['));
        {
            (string memory a, uint8 t) = appendTrait(attributes, "Background", background[uint8(buffer[position++])], numberOfTraits);
            attributes = a;
            numberOfTraits = t;
        }

        {
            (string memory a, uint8 t) = appendTrait(attributes, "Body", body[uint8(buffer[position++])], numberOfTraits);
            attributes = a;
            numberOfTraits = t;
        }

        position++;

        {
            (string memory a, uint8 t) = appendTrait(attributes, "Clothes", clothes[uint8(buffer[position++])], numberOfTraits);
            attributes = a;
            numberOfTraits = t;
        }

        {
            (string memory a, uint8 t) = appendTrait(attributes, "Eyes", eyes[uint8(buffer[position++])], numberOfTraits);
            attributes = a;
            numberOfTraits = t;
        }

        {
            (string memory a, uint8 t) = appendTrait(attributes, "Head", head[uint8(buffer[position++])], numberOfTraits);
            attributes = a;
            numberOfTraits = t;
        }

        {
            (string memory a, uint8 t) = appendTrait(attributes, "Mouth", mouth[uint8(buffer[position++])], numberOfTraits);
            attributes = a;
            numberOfTraits = t;
        }

        {
            (string memory a, uint8 t) = appendTrait(attributes, "Accessory I", accessoryOne[uint8(buffer[position++])], numberOfTraits);
            attributes = a;
            numberOfTraits = t;
        }

        {
            (string memory a, uint8 t) = appendTrait(attributes, "Accessory II", accessoryTwo[uint8(buffer[position++])], numberOfTraits);
            attributes = a;
            numberOfTraits = t;          
        }

        {
            (string memory a, uint8 t) = appendTrait(attributes, "Custom", custom[uint8(buffer[position++])], numberOfTraits);
            attributes = a;
            numberOfTraits = t;          
        }

        if(tokenAnimation[tokenId] != 0)
        {
            (string memory a, uint8 t) = appendTrait(attributes, "Animation", animationName[tokenId][tokenAnimation[tokenId]], numberOfTraits);
            attributes = a;
            numberOfTraits = t;          
        }

        {
            (string memory a, uint8 t) = appendTrait(attributes, "Name", names[uint8(buffer[position++])], numberOfTraits);
            attributes = a;
            numberOfTraits = t;          
        }

        attributes = string(abi.encodePacked(attributes, ',{"trait_type":"# Traits","value":"', toString(numberOfTraits), '"}]'));
    }

    function appendTrait(string memory attributes, string memory trait_type, string memory value, uint8 numberOfTraits) private pure returns (string memory, uint8) {        
        if(bytes(value).length > 0) {
            numberOfTraits++;
            attributes = string(abi.encodePacked(attributes, numberOfTraits > 1 ? ',' : '', '{"trait_type":"', trait_type, '","value":"', value, '"}'));
        }
        return (attributes, numberOfTraits);
    }

    /** @notice Renders the raw GIF image for the canonical token image */
    function getImage(uint tokenId) public override view returns (GIFEncoder.GIF memory gif) 
    {
        bytes memory buffer = tokenData[tokenId];
        if(buffer.length == 0) revert ImageNotFound();
        uint position = 11;

        (uint32[255] memory colors, uint p) = PixelRenderer.getColorTable(buffer, position);
        position = p;

        gif.width = 36;
        gif.height = 36;

        {
            GIFEncoder.GIFFrame memory frame;
            frame.width = gif.width;
            frame.height = gif.height;

            PixelRenderer.DrawFrame memory f = PixelRenderer.DrawFrame(buffer, position, frame, colors);
            f = PixelRenderer.drawFrame(f);            

            frame.buffer = f.frame.buffer;
            frame.width = f.frame.width;
            frame.height = f.frame.height;

            gif.frames[gif.frameCount++] = frame;           
        }
    }

    /** @notice Renders the canonical token image as an embedded data URI  */
    function getImageDataUri(uint tokenId) external override view returns(string memory) {
        GIFEncoder.GIF memory gif = getImage(tokenId);
        string memory dataUri = GIFEncoder.getDataUri(gif);
        return dataUri;
    }

    /** @notice Renders the raw GIF image for a custom animation */
    function getAnimation(uint tokenId, uint animationId) public override view returns (GIFEncoder.GIF memory gif)
    {
        uint32[255] memory colors;
        {
            bytes memory tokenBuffer = tokenData[tokenId];
            if(tokenBuffer.length == 0) revert ImageNotFound();
            (colors,) = PixelRenderer.getColorTable(tokenBuffer, 11);
            require(colors[1] != 0);
        }      
        
        gif.width = 36;
        gif.height = 36;
        
        {
            bytes memory buffer = animationData[tokenId][animationId];
            if(buffer.length == 0) revert AnimationNotFound();        
            uint position = 0;

            uint8 frameCount = uint8(buffer[position++]);

            for(uint8 i = 0; i < frameCount; i++) {

                GIFEncoder.GIFFrame memory frame;
                frame.width = gif.width;
                frame.height = gif.height;

                uint16 delay;
                {
                    uint8 d1 = uint8(buffer[position++]);
                    uint8 d2 = uint8(buffer[position++]);
                    delay = (256 * d2) + d1;

                    frame.delay = delay;
                }                

                PixelRenderer.DrawFrame memory f = PixelRenderer.DrawFrame(buffer, position, frame, colors);
                f = PixelRenderer.drawFrame(f);
                position = f.position;
                gif.frames[gif.frameCount++] = f.frame;
            }
        }       
    }

    /** @notice Renders a custom animation as an embedded data URI  */
    function getAnimationDataUri(uint tokenId, uint animationId) external override view returns(string memory) {
        GIFEncoder.GIF memory gif = getAnimation(tokenId, animationId);
        string memory dataUri = GIFEncoder.getDataUri(gif);
        return dataUri;
    }
    
    function toString(uint value) private pure returns (string memory) {
        bytes memory reversed = new bytes(78);
        uint i = 0;
        while (value != 0) {
            uint remainder = value % 10;
            value = value / 10;
            reversed[i++] = bytes1(uint8(48 + remainder));
        }
        bytes memory s = new bytes(i);
        for (uint j = 0; j < i; j++) {
            s[j] = reversed[i - 1 - j];
        }
        return string(s);
    }

    function tokenURI(uint256 tokenId) public view override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
        string memory metadata = createTokenMetadata(tokenId);
        string memory dataUri = string(abi.encodePacked(JSON_URI_PREFIX, Base64.encode(bytes(metadata), bytes(metadata).length)));
        return dataUri;      
    }

    function updateAdmin(address newAdmin) public {
        require(_msgSender() == _admin);
        require(newAdmin != address(0x0));
        _admin = newAdmin;       
    }

    function mint(uint tokenId) public {
        require(_msgSender() == _admin);
        _safeMint(_msgSender(), tokenId);
    }
}

File 2 of 12 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

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

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

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

File 3 of 12 : GIFEncoder.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./Base64.sol";

/*
 __      __         __    __                 
/  \    /  \_____ _/  |__/  |_  _________.__.
\   \/\/   /\__  \\   __\   __\/  ___<   |  |
 \        /  / __ \|  |  |  |  \___ \ \___  |
  \__/\  /  (____  /__|  |__| /____  >/ ____|
       \/        \/                \/ \/     
(https://wattsy.art)
*/

/** @notice Encodes image data in GIF format. GIF is much more compact than SVG, allows for animation (SVG does as well), and also represents images that are already rastered. 
            This is important if the art shouldn't change fundamentally depending on which process is doing the SVG rendering, such as a browser or custom application.
 */
library GIFEncoder {
    
    uint32 internal constant MASK = (1 << 12) - 1;
    uint32 internal constant CLEAR_CODE = 256;
    uint32 internal constant END_CODE = 257;
    uint16 internal constant CODE_START = 258;
    uint16 internal constant TREE_TABLE_LENGTH = 4096;
    uint16 internal constant CODE_TABLE_LENGTH = TREE_TABLE_LENGTH - CODE_START;

    bytes public constant HEADER = hex"474946383961";
    bytes public constant NETSCAPE = hex"21FF0b4E45545343415045322E300301000000";
    bytes public constant GIF_URI_PREFIX = "data:image/gif;base64,";

    struct GCT {
        uint32 start;
        uint32 count;
    }

    struct LZW {
        uint16 codeCount;
        int32 codeBitsUsed;
        uint32 activePrefix;
        uint32 activeSuffix;
        uint32[CODE_TABLE_LENGTH] codeTable;
        uint16[TREE_TABLE_LENGTH] treeRoots;
        Pending pending;
    }

    struct Pending {
        uint32 value;
        int32 bits;
        uint32 chunkSize;
    }

    struct GIF {
        uint32 frameCount;
        GIFFrame[10] frames;
        uint16 width;
        uint16 height;
    }

    struct GIFFrame {
        uint32[1296] buffer;
        uint16 delay;
        uint16 width;
        uint16 height;
    }

    function getDataUri(GIF memory gif) internal pure returns (string memory) {
        (bytes memory buffer, uint length) = encode(gif);
        string memory base64 = Base64.encode(buffer, length);
        return string(abi.encodePacked(GIF_URI_PREFIX, base64));
    }

    function encode(GIF memory gif) private pure returns (bytes memory buffer, uint length) {
        buffer = new bytes(gif.width * gif.height * 3);
        uint32 position = 0;

        // header
        position = writeBuffer(buffer, position, HEADER);

        // logical screen descriptor
        {
            position = writeUInt16(buffer, position, gif.width);
            position = writeUInt16(buffer, position, gif.height);

            uint8 packed = 0;
            packed |= 1 << 7;
            packed |= 7 << 4;
            packed |= 0 << 3;
            packed |= 7 << 0;

            position = writeByte(buffer, position, packed);
            position = writeByte(buffer, position, 0);
            position = writeByte(buffer, position, 0);
        }

        // global color table
        GCT memory gct;
        gct.start = position;
        gct.count = 1;
        {
            for (uint256 i = 0; i < 768; i++) {
                position = writeByte(buffer, position, 0);
            }
        }

        if (gif.frameCount > 1) {
            // netscape extension block
            position = writeBuffer(buffer, position, NETSCAPE);
        }

        uint32[CODE_TABLE_LENGTH] memory codeTable;

        for (uint256 i = 0; i < gif.frameCount; i++) {
            // graphic control extension
            {
                position = writeByte(buffer, position, 0x21);
                position = writeByte(buffer, position, 0xF9);
                position = writeByte(buffer, position, 0x04);

                uint8 packed = 0;
                packed |= (gif.frameCount > 1 ? 2 : 0) << 2;
                packed |= 0 << 1;
                packed |= 1 << 0;
                position = writeByte(buffer, position, packed);

                position = writeUInt16(buffer, position, gif.frameCount > 1 ? gif.frames[i].delay : uint16(0));                
                position = writeByte(buffer, position, 0);
                position = writeByte(buffer, position, 0);
            }

            // image descriptor
            {
                position = writeByte(buffer, position, 0x2C);
                position = writeUInt16(buffer, position, uint16(0));
                position = writeUInt16(buffer, position, uint16(0));
                position = writeUInt16(buffer, position, gif.frames[i].width);
                position = writeUInt16(buffer, position, gif.frames[i].height);

                uint8 packed = 0;
                packed |= 0 << 7;
                packed |= 0 << 6;
                packed |= 0 << 5;
                packed |= 0 << 0;
                position = writeByte(buffer, position, packed);
            }

            // image data
            {
                uint16[TREE_TABLE_LENGTH] memory treeRoots;

                (uint32 p, uint32 c) = writeImageData(
                    buffer,
                    position,
                    gct,
                    gif.frames[i],
                    LZW(0, 9, 0, 0, codeTable, treeRoots, Pending(0, 0, 0))
                );
                position = p;
                gct.count = c;
            }
        }

        // trailer
        position = writeByte(buffer, position, 0x3B);

        return (buffer, position);
    }

    function writeBuffer(
        bytes memory buffer,
        uint32 position,
        bytes memory value
    ) private pure returns (uint32) {
        for (uint256 i = 0; i < value.length; i++)
            buffer[position++] = bytes1(value[i]);
        return position;
    }

    function writeByte(
        bytes memory buffer,
        uint32 position,
        uint8 value
    ) private pure returns (uint32) {
        buffer[position++] = bytes1(value);
        return position;
    }

    function writeUInt16(
        bytes memory buffer,
        uint32 position,
        uint16 value
    ) private pure returns (uint32) {
        buffer[position++] = bytes1(uint8(uint16(value >> 0)));
        buffer[position++] = bytes1(uint8(uint16(value >> 8)));
        return position;
    }

    function writeImageData(
        bytes memory buffer,
        uint32 position,
        GCT memory gct,
        GIFFrame memory frame,
        LZW memory lzw
    ) private pure returns (uint32, uint32) {
                
        position = writeByte(buffer, position, 8);
        position = writeByte(buffer, position, 0);

        lzw.codeCount = 0;
        lzw.codeBitsUsed = 9;

        {
            (uint32 p, Pending memory pending) = writeVariableBitsChunked(
                buffer,
                position,
                CLEAR_CODE,
                lzw.codeBitsUsed,
                lzw.pending
            );
            position = p;
            lzw.pending = pending;
        }

        {
            (uint32 c, uint32 p) = getColorTableIndex(
                buffer,
                gct.start,
                gct.count,
                frame.buffer[0]
            );
            gct.count = c;
            lzw.activePrefix = p;
        }        

        for (uint32 i = 1; i < frame.width * frame.height; i++) {

            (uint32 c, uint32 p) = getColorTableIndex(
                buffer,
                gct.start,
                gct.count,
                frame.buffer[i]
            );
            gct.count = c;
            lzw.activeSuffix = p;

            position = writeColor(buffer, position, lzw);
        }

        {
            (uint32 p, Pending memory pending) = writeVariableBitsChunked(
                buffer,
                position,
                lzw.activePrefix,
                lzw.codeBitsUsed,
                lzw.pending
            );
            position = p;
            lzw.pending = pending;
        }

        {
            (uint32 p, Pending memory pending) = writeVariableBitsChunked(
                buffer,
                position,
                END_CODE,
                lzw.codeBitsUsed,
                lzw.pending
            );
            position = p;
            lzw.pending = pending;
        }

        if (lzw.pending.bits > 0) {
            position = writeChunked(
                buffer,
                position,
                uint8(lzw.pending.value & 0xFF),
                lzw.pending
            );
            lzw.pending.value = 0;
            lzw.pending.bits = 0;
        }

        if (lzw.pending.chunkSize > 0) {
            buffer[position - lzw.pending.chunkSize - 1] = bytes1(
                uint8(uint32(lzw.pending.chunkSize))
            );
            lzw.pending.chunkSize = 0;
            position = writeByte(buffer, position, 0);
        }

        return (position, gct.count);
    }

    function writeColor(bytes memory buffer, uint32 position, LZW memory lzw) private pure returns (uint32) {
        uint32 lastTreePosition = 0;
        uint32 foundSuffix = 0;

        bool found = false;
        {
            uint32 treePosition = lzw.treeRoots[lzw.activePrefix];
            while (treePosition != 0) {
                lastTreePosition = treePosition;
                foundSuffix = lzw.codeTable[treePosition - CODE_START] & 0xFF;

                if (lzw.activeSuffix == foundSuffix) {
                    lzw.activePrefix = treePosition;
                    found = true;
                    break;
                } else if (lzw.activeSuffix < foundSuffix) {
                    treePosition = (lzw.codeTable[treePosition - CODE_START] >> 8) & MASK;
                } else {
                    treePosition = lzw.codeTable[treePosition - CODE_START] >> 20;
                }
            }
        }

        if (!found) {
            {
                (
                    uint32 p,
                    Pending memory pending
                ) = writeVariableBitsChunked(
                        buffer,
                        position,
                        lzw.activePrefix,
                        lzw.codeBitsUsed,
                        lzw.pending
                    );
                position = p;
                lzw.pending = pending;
            }

            if (lzw.codeCount == CODE_TABLE_LENGTH) {
                {
                    (
                        uint32 p,
                        Pending memory pending
                    ) = writeVariableBitsChunked(
                            buffer,
                            position,
                            CLEAR_CODE,
                            lzw.codeBitsUsed,
                            lzw.pending
                        );
                    position = p;
                    lzw.pending = pending;
                }

                for (uint16 j = 0; j < TREE_TABLE_LENGTH; j++) {
                    lzw.treeRoots[j] = 0;
                }
                lzw.codeCount = 0;
                lzw.codeBitsUsed = 9;
            } else {
                if (lastTreePosition == 0)
                    lzw.treeRoots[lzw.activePrefix] = uint16(CODE_START + lzw.codeCount);
                else if (lzw.activeSuffix < foundSuffix)
                    lzw.codeTable[lastTreePosition - CODE_START] = (lzw.codeTable[lastTreePosition - CODE_START] & ~(MASK << 8)) | (uint32(CODE_START + lzw.codeCount) << 8);
                else {
                    lzw.codeTable[lastTreePosition - CODE_START] = (lzw.codeTable[lastTreePosition - CODE_START] & ~(MASK << 20)) | (uint32(CODE_START + lzw.codeCount) << 20);
                }

                if (uint32(CODE_START + lzw.codeCount) == (uint32(1) << uint32(lzw.codeBitsUsed))) {
                    lzw.codeBitsUsed++;
                }

                lzw.codeTable[lzw.codeCount++] = lzw.activeSuffix;
            }

            lzw.activePrefix = lzw.activeSuffix;
        }

        return position;
    }    

    function writeVariableBitsChunked(
        bytes memory buffer,
        uint32 position,
        uint32 value,
        int32 bits,
        Pending memory pending
    ) private pure returns (uint32, Pending memory) {
        while (bits > 0) {
            int32 takeBits = min(bits, 8 - pending.bits);
            uint32 takeMask = uint32((uint32(1) << uint32(takeBits)) - 1);

            pending.value |= ((value & takeMask) << uint32(pending.bits));

            pending.bits += takeBits;
            bits -= takeBits;
            value >>= uint32(takeBits);

            if (pending.bits == 8) {
                position = writeChunked(
                    buffer,
                    position,
                    uint8(pending.value & 0xFF),
                    pending
                );
                pending.value = 0;
                pending.bits = 0;
            }
        }

        return (position, pending);
    }

    function writeChunked(
        bytes memory buffer,
        uint32 position,
        uint8 value,
        Pending memory pending
    ) private pure returns (uint32) {
        position = writeByte(buffer, position, value);
        pending.chunkSize++;

        if (pending.chunkSize == 255) {
            buffer[position - 256] = bytes1(uint8(255));
            pending.chunkSize = 0;
            position = writeByte(buffer, position, 0);
        }

        return position;
    }

    function getColorTableIndex(
        bytes memory buffer,
        uint32 colorTableStart,
        uint32 colorCount,
        uint32 target
    ) private pure returns (uint32, uint32) {
        if (target >> 24 != 0xFF) return (colorCount, 0);

        uint32 i = 1;
        for (; i < colorCount; i++) {
            if (uint8(buffer[colorTableStart + i * 3 + 0]) != uint8(target >> 16)
            ) continue;
            if (uint8(buffer[colorTableStart + i * 3 + 1]) != uint8(target >> 8)
            ) continue;
            if (uint8(buffer[colorTableStart + i * 3 + 2]) != uint8(target >> 0)
            ) continue;
            return (colorCount, i);
        }

        if (colorCount == 256) {
            return (
                colorCount,
                getColorTableBestMatch(
                    buffer,
                    colorTableStart,
                    colorCount,
                    target
                )
            );
        } else {
            buffer[colorTableStart + colorCount * 3 + 0] = bytes1(uint8(target >> 16));
            buffer[colorTableStart + colorCount * 3 + 1] = bytes1(uint8(target >> 8));
            buffer[colorTableStart + colorCount * 3 + 2] = bytes1(uint8(target >> 0));
            return (colorCount + 1, colorCount);
        }
    }

    function getColorTableBestMatch(
        bytes memory buffer,
        uint32 colorTableStart,
        uint32 colorCount,
        uint32 target
    ) private pure returns (uint32) {
        uint32 bestDistance = type(uint32).max;
        uint32 bestIndex = 0;

        for (uint32 i = 1; i < colorCount; i++) {
            uint32 distance;
            {
                uint8 rr = uint8(buffer[colorTableStart + i * 3 + 0]) - uint8(target >> 16);
                uint8 gg = uint8(buffer[colorTableStart + i * 3 + 1]) - uint8(target >> 8);
                uint8 bb = uint8(buffer[colorTableStart + i * 3 + 2]) - uint8(target >> 0);
                distance = rr * rr + gg * gg + bb * bb;
            }
            if (distance < bestDistance) {
                bestDistance = distance;
                bestIndex = i;
            }
        }

        return bestIndex;
    }

    function max(uint32 val1, uint32 val2) private pure returns (uint32) {
        return (val1 >= val2) ? val1 : val2;
    }

    function min(uint32 val1, uint32 val2) private pure returns (uint32) {
        return (val1 <= val2) ? val1 : val2;
    }

    function min(int32 val1, int32 val2) private pure returns (int32) {
        return (val1 <= val2) ? val1 : val2;
    }
}

File 4 of 12 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 5 of 12 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 6 of 12 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

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

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

File 7 of 12 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

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

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

File 8 of 12 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 9 of 12 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

File 10 of 12 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 11 of 12 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 1
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AnimationNotFound","type":"error"},{"inputs":[],"name":"ImageNotFound","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"TokenMetadataUpdated","type":"event"},{"anonymous":false,"inputs":[],"name":"TokensMetadataUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint8","name":"","type":"uint8"}],"name":"accessoryOne","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"","type":"uint8"}],"name":"accessoryTwo","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"animationData","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"animationName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"","type":"uint8"}],"name":"background","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"","type":"uint8"}],"name":"body","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"","type":"uint8"}],"name":"clothes","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"","type":"uint8"}],"name":"custom","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"","type":"uint8"}],"name":"eyes","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"animationId","type":"uint256"}],"name":"getAnimation","outputs":[{"components":[{"internalType":"uint32","name":"frameCount","type":"uint32"},{"components":[{"internalType":"uint32[1296]","name":"buffer","type":"uint32[1296]"},{"internalType":"uint16","name":"delay","type":"uint16"},{"internalType":"uint16","name":"width","type":"uint16"},{"internalType":"uint16","name":"height","type":"uint16"}],"internalType":"struct GIFEncoder.GIFFrame[10]","name":"frames","type":"tuple[10]"},{"internalType":"uint16","name":"width","type":"uint16"},{"internalType":"uint16","name":"height","type":"uint16"}],"internalType":"struct GIFEncoder.GIF","name":"gif","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"animationId","type":"uint256"}],"name":"getAnimationDataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getImage","outputs":[{"components":[{"internalType":"uint32","name":"frameCount","type":"uint32"},{"components":[{"internalType":"uint32[1296]","name":"buffer","type":"uint32[1296]"},{"internalType":"uint16","name":"delay","type":"uint16"},{"internalType":"uint16","name":"width","type":"uint16"},{"internalType":"uint16","name":"height","type":"uint16"}],"internalType":"struct GIFEncoder.GIFFrame[10]","name":"frames","type":"tuple[10]"},{"internalType":"uint16","name":"width","type":"uint16"},{"internalType":"uint16","name":"height","type":"uint16"}],"internalType":"struct GIFEncoder.GIF","name":"gif","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getImageDataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getTokenMetadata","outputs":[{"internalType":"string","name":"metadata","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"","type":"uint8"}],"name":"head","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"","type":"uint8"}],"name":"mouth","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"","type":"uint8"}],"name":"names","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"key","type":"uint8"},{"internalType":"string","name":"value","type":"string"}],"name":"setAccessoryOne","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"key","type":"uint8"},{"internalType":"string","name":"value","type":"string"}],"name":"setAccessoryTwo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"animationId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"setAnimationData","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"animationId","type":"uint256"},{"internalType":"string","name":"value","type":"string"}],"name":"setAnimationName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"key","type":"uint8"},{"internalType":"string","name":"value","type":"string"}],"name":"setBackground","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"key","type":"uint8"},{"internalType":"string","name":"value","type":"string"}],"name":"setBody","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"key","type":"uint8"},{"internalType":"string","name":"value","type":"string"}],"name":"setClothes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"key","type":"uint8"},{"internalType":"string","name":"value","type":"string"}],"name":"setCustom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"key","type":"uint8"},{"internalType":"string","name":"value","type":"string"}],"name":"setEyes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"key","type":"uint8"},{"internalType":"string","name":"value","type":"string"}],"name":"setHead","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"key","type":"uint8"},{"internalType":"string","name":"value","type":"string"}],"name":"setMouth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"key","type":"uint8"},{"internalType":"string","name":"value","type":"string"}],"name":"setName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"animationId","type":"uint256"}],"name":"setTokenAnimation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"setTokenData","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"tokenName","type":"string"},{"internalType":"string","name":"external_url","type":"string"},{"internalType":"string","name":"description","type":"string"}],"name":"setTokenDetails","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenData","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAdmin","type":"address"}],"name":"updateAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040518060400160405280600a81526020016921b430b4b72a37b0b23d60b11b8152506040518060400160405280600a81526020016921a420a4a72a27a0a22d60b11b815250816000908051906020019062000070929190620059b8565b50805162000086906001906020840190620059b8565b50620000929150503390565b600680546001600160a01b0319166001600160a01b039290921691909117905560408051808201909152600a8082526921b430b4b72a37b0b23d60b11b6020909201918252620000e591600791620059b8565b506040805180820190915260148082527f68747470733a2f2f63727970746f61647a2e696f00000000000000000000000060209092019182526200012c91600891620059b8565b506040518060a00160405280606381526020016200af8f6063913980516200015d91600991602090910190620059b8565b5060408051808201909152600a81526944726976652d7468727560b01b60208083019182526001600052600e90529051620001ba917fa7c5ba7114a813b50159add3a36832908dc83db71d0b9a24c2ad0f83be95820791620059b8565b5060408051808201909152600881526722bc383637b932b960c11b60208083019182526002600052600e9052905162000215917f9adb202b1492743bc00c81d33cdc6423fa8c79109027eb6a845391e8fc1f048191620059b8565b50604080518082019091526008815267466c79204c69636b60c01b60208083019182526003600052600e9052905162000270917fe0283e559c29e31ee7f56467acc9dd307779c843a883aeeb3bf5c6128c90814491620059b8565b5060408051808201909152600a815269466f757220466c69657360b01b60208083019182526004600052600e90529051620002cd917fa1d6913cd9e08c872be3e7525cca82e4fc0fc298a783f19022be725b19be685a91620059b8565b506040805180820190915260118152704d7973746572696f757320486f6f64696560781b60208083019182526005600052600e9052905162000331917fb9bec7e2561f624fe753ff070f1599b306cbf59fafd4e8d5a8184a1ea1841bce91620059b8565b506040805180820190915260078152664f6e6520466c7960c81b60208083019182526006600052600e905290516200038b917f92b4482321f41ce3aa65f798bda23d0d12a60fc5f212868a548ddb00aa49de7291620059b8565b5060408051808201909152600b81526a546872656520466c69657360a81b60208083019182526007600052600e90529051620003e9917f376529bb8a2d41b4a589a133407fc64f3212472dbd74744348be1098bf7ba08d91620059b8565b5060408051808201909152600b81526a546f786963204c756d707360a81b60208083019182526008600052600e9052905162000447917feab6bc3746954d8a0719de62c86ea908d362be2a58c781ada1046727253f9df291620059b8565b506040805180820190915260098082526854776f20466c69657360b81b6020808401918252600092909252600e9091529051620004a6917f0d5ccdc17421fca5ca768ae29a27b8b2aa886c9e56e3482f9ba55d79d3a8066491620059b8565b50604080518082019091526005815264084d8eae6d60db1b60208083019182526001600052600f90529051620004fe917f169f97de0d9a84d840042b17d3c6b9638b3d6fd9024c9eb0c7a306a17b49f88f91620059b8565b5060408051808201909152600981526843686f636f6c61746560b81b60208083019182526002600052600f905290516200055a917fa74ba3945261e09fde15ba3db55005b205e61eeb4ad811ac0faa2b315bffeead91620059b8565b5060408051808201909152600781526645617272696e6760c81b60208083019182526003600052600f90529051620005b4917f45f76dafbbad695564362934e24d72eedc57f9fc1a65f39bca62176cc829682891620059b8565b506040805180820190915260128152714a75737420666f7220746865204c6f6f6b7360701b60208083019182526004600052600f9052905162000619917f367ccd2d0ac16bf7110a5dffe0801fdc9452a95a1adb7e1a12fe97dd3e9a4edd91620059b8565b5060408051808201909152600e81526d4c6f6e672043696761726574746560901b60208083019182526005600052600f905290516200067a917f6bda57492eba051cb4a12a1e19df47c9755d78165341d4009b1d09b3f361620491620059b8565b50604080518082019091526008815267536861636b6c657360c01b60208083019182526006600052600f90529051620006d5917fb5a1e7cda73b1608e93d4d50ab796c3d35aa6216cb006a1f920df154d13ff61891620059b8565b5060408051808201909152600f8082526e53686f72742043696761726574746560881b6020808401918252600760005291909152905162000738917f73dfc495eb54bd6713ffc079b9f5e40f2fecd3793d143759ba0128fbedb4025491620059b8565b506040805180820190915260058152640aec2e8c6d60db1b60208083019182526008600052600f9052905162000790917f49a9092dc5c03b26195f6621c97b5cf515cb77afe659e3fe008a73456354eb6891620059b8565b50604080518082019091526002815261393560f01b60208083019182526001600052601090529051620007e5917f8c6065603763fec3f5742441d3833f3f43b982453612d76adb39a885e3006b5f91620059b8565b50604080518082019091526007815266109b185b9ad95d60ca1b602080830191825260026000526010905290516200083f917f853b2fefe141400fef543280f93d98bd49996069f632d0d20236afeeed8e46a291620059b8565b50604080518082019091526005815264109b1bdbd960da1b6020808301918252600360005260109052905162000897917fb3edd0d534d647cffdae9f1294f11ad21f3fcf2814bea44c92bbb8d384a57d9e91620059b8565b5060408051808201909152600681526542727569736560d01b60208083019182526004600052601090529051620008f0917f1588ac671d87f82adc0e6ae8ab009c0de98f92a20243897597e566bc59b9c12691620059b8565b50604080518082019091526009815268427562626c6567756d60b81b602080830191825260056000526010905290516200094c917f61a7346ab5ebdac457db2a901eaf1b805239b6049a1b2f34bab85e2e274f39cb91620059b8565b50604080518082019091526004815263044616d760e41b60208083019182526006600052601090529051620009a3917f20edfb71820f6f00f6a84ccfefb91587cd9f849f8349b0a3182a4795899d9cd991620059b8565b506040805180820190915260048152634461726b60e01b60208083019182526007600052601090529051620009fa917f4ef6145e44e4298293af15ae5f84f922a836b1d6db608fd5008f32a528b312a991620059b8565b5060408051808201909152600b81526a08ed0dee6e84086e4c2e6d60ab1b6020808301918252600860005260109052905162000a58917f5f04e77c60ed37290f5789e2e9c5d396103f3c4b14614065cbb4c8362609d5a591620059b8565b5060408051808201909152600681526547726569676560d01b6020808301918252600960005260109052905162000ab1917fa8197f9f3066d467dba941614f445cf878e0beb059ed920f6258667ed2470eb891620059b8565b506040805180820190915260098152684772657920466f616d60b81b6020808301918252600a60005260109052905162000b0d917fbbe6df1631c6a5c37158096bc15825d83d22eaca9ac1e829be6dfcdebed1d2d791620059b8565b5060408051808201909152600881526711dc995e5d19585b60c21b6020808301918252600b60005260109052905162000b68917f222281f8a778a50c678b18290b6f1f76b73341460456cd404319acd135fca47791620059b8565b5060408051808201909152600681526509ac2e8e4d2f60d31b6020808301918252600c60005260109052905162000bc1917f1c47f412c035acfb11780222aae71bf1bbf164d6655f4eb426a4fdb92a17a32391620059b8565b5060408051808201909152600a8152694d6964646c656772657960b01b6020808301918252600d60005260109052905162000c1e917fdfb340902d3967fa50e8165d4f7a13c9cb160eea8fb21544939c9a839ac4b6c491620059b8565b50604080518082019091526004815263135bdb1960e21b6020808301918252600e60005260109052905162000c75917fd331405802b48c62503c15f58c7a0f7d4e115b3f84eaa7ece1215aeb38f6b4bf91620059b8565b5060408051808201909152600681526529b0b636b7b760d11b6020808301918252600f60005260109052905162000cce917fad6509bb0b6dc44cf2f1c6595da7ff5ec660b594001258d15cd32de4206f0af091620059b8565b5060408051808201909152600d81526c556e69766572736520466f616d60981b6020808301918252601060008190529052905162000d2e917f70245aa8eee00889cc059fdc11a53867c856b61f1cf8bc3ee4f4442d6b5c3c3791620059b8565b50604080518082019091526006815265159a5bdb195d60d21b6020808301918252601160005260109052905162000d87917f28f973f655c78d879d00767376b860c7f1ff781d69e5cd4aa2f5a99e2232013c91620059b8565b50604080518082019091526006815265416c62696e6f60d01b6020808301918252600160005260119052905162000de0917f17bc176d2408558f6e4111feebc3cab4e16b63e967be91cde721f4c8a488b55291620059b8565b5060408051808201909152600581526420b634b2b760d91b6020808301918252600260005260119052905162000e38917f08037d7b151cc412d25674a4e66b334d9ae9d2e5517a7feaae5cdb828bf1c62891620059b8565b50604080518082019091526005815264416e67727960d81b6020808301918252600360005260119052905162000e90917f9bfbaa59f8e10e7868f8b402de9d605a390c45ddaebd8c9de3c6f31e733c87ff91620059b8565b5060408051808201909152600381526241706560e81b6020808301918252600460005260119052905162000ee6917f251164fe1d8864fe5e86082eae9c288bc2b58695a4d28538dfe86e9e4f17558591620059b8565b5060408051808201909152600580825264426572727960d81b60208084019182526000929092526011909152905162000f41917fc550213cee30afd5e67ccba7be3d381bbc169034ae08eb3ec9168caca9fe55e791620059b8565b50604080518082019091526009815268109a59c811da1bdcdd60ba1b6020808301918252600660005260119052905162000f9d917ffb9ce45064c7e7d9bf9deb4750ba7c94ab3d6e7418c5d76bf69966d39a9d42f691620059b8565b5060408051808201909152600b81526a426c6f6f6420426f6e657360a81b6020808301918252600760005260119052905162000ffb917f98ae0176de2844d118e1a6decfe92f97691bedbc578c71fc8d5c4374be77e50c91620059b8565b5060408051808201909152600880825267109b1d594810d85d60c21b60208084019182526000929092526011909152905162001059917f5fae251ae169e8e40026ce4ce85a026bc3adcccdc8459be361195e4cd924077f91620059b8565b50604080518082019091526005815264426f6e657360d81b60208083019182526009600052601190529051620010b1917ff53d7d0eac8d4a28c5e36c803b226f3ef35ce8ff0302108a97c0d862a51c6fa391620059b8565b506040805180820190915260068152652137b7b3b2b960d11b6020808301918252600a6000526011905290516200110a917f28819bbfa35988de500160af3ee4d060ea4da2d0fc4b680f9032b1bba4c6604b91620059b8565b5060408051808201909152600581526404368696d760dc1b6020808301918252600b60005260119052905162001162917f3bdb0491b8b8ace383492a38767d086d71197664abd044eb755bb1efb02ae78091620059b8565b50604080518082019091526005815264043726565760dc1b6020808301918252600c600052601190529051620011ba917fa0a6eb636d5852c675102f73aac3a9fac8e391317bf5bff4efc2293ccb761e8891620059b8565b50604080518082019091526003815262446f6760e81b6020808301918252600d60005260119052905162001210917f582fca367f6c471655fd3d41d20c5fcde67613e662890aa9266c0beff997f69b91620059b8565b50604080518082019091526008815267476172676f796c6560c01b6020808301918252600e6000526011905290516200126b917f444b7a2506d19a52c7e5a55b311f0906890fc87938a8da135c8c88b5462efb3391620059b8565b5060408051808201909152600581526411da1bdcdd60da1b6020808301918252600f600052601190529051620012c3917f9a9a6d71e29ddaf2585d4fca14f7e63e706374467f30090d88c305be03023ab291620059b8565b5060408051808201909152600b81526a47686f737420426f6e657360a81b6020808301918252601060005260119052905162001321917f74de6ee29ec064d7422ac246d66454f61b9e14a93dbafed176857c31132fc24291620059b8565b50604080518082019091526007815266476f72696c6c6160c81b602080830191825260116000819052905290516200137b917fef75f3597c10141d1dc0cbd4612baf062d7e47257f426e9490860d50701a4c8e91620059b8565b5060408051808201909152600d81526c4772656d706c696e20426c756560981b60208083019182526012600052601190529051620013db917f4f6f17d4c19a0fb4496592de6c1ed38b2e6bf8a401cfc93de804cb1abd2317d991620059b8565b5060408051808201909152600e81526d23b932b6b83634b71023b932b2b760911b602080830191825260136000526011905290516200143c917f961c779bd5f9f6183dcb1e452655caeb66a6a52d026763ba1422cc7f93579f6791620059b8565b5060408051808201909152600a81526947756d6d7920426c756560b01b6020808301918252601460005260119052905162001499917fcf943896595fc7bd72418bc495b5a9e8a67d0e3728044be2da2e4caa401073b491620059b8565b5060408051808201909152600b81526a08eeadadaf240a0cac2c6d60ab1b60208083019182526015600052601190529051620014f7917f9aa99d028b5897b788d87c1b6aff3d3665942a71ae2dcbd32e68e03fddf5d2cd91620059b8565b5060408051808201909152600f81526e47756d6d792052617370626572727960881b6020808301918252601660005260119052905162001559917f89f8ac8170d4044b1aaea2ba4302c26bd84c50d2fee910e452dce2e9e6f26e1991620059b8565b5060408051808201909152600b81526a47756d6d7920536c696d6560a81b60208083019182526017600052601190529051620015b7917f334b2826a0a650caf13f0e18ec30bca04a7853d23bb513168672b4b45a30dbeb91620059b8565b5060408051808201909152600e81526d11dd5b5b5e48151c9bdc1a58d85b60921b6020808301918252601860005260119052905162001618917f0e049c8de303710764c13db8816d29010a21aaad28969325532c5e0a9d8ed72291620059b8565b506040805180820190915260088152674879706e6f74696360c01b6020808301918252601960005260119052905162001673917fbd257726630d6fa81014c2a632bd8ba73882fff9da9629e2e56f50f9e7161fcf91620059b8565b506040805180820190915260078152664c617361676e6160c81b6020808301918252601a600052601190529051620016cd917ff58fef168d338aa9f8788fe3a6f74b7ca6dfa3f8d980b41259bce75b0540f39b91620059b8565b50604080518082019091526006815265139bdc9b585b60d21b6020808301918252601b60005260119052905162001726917fb1f7d7ef4b04e494ab43e0f907c8768fa115e2872ffb403a4b6be42bd4b53a1091620059b8565b5060408051808201909152600a8152694f6e6c7920536f636b7360b01b6020808301918252601c60005260119052905162001783917fd6b1603bcf6a04ad3417ce130ef10083c8417e3c388e944cef542045e7b46f0b91620059b8565b50604080518082019091526005815264506173747960d81b6020808301918252601d600052601190529051620017db917faf79506b8ea779e423fbad03068cad47ac7b16c4f9d249cdfdf5d0864b3e068c91620059b8565b506040805180820190915260038152620a0def60eb1b6020808301918252601e60005260119052905162001831917fc9bdb7e67178acd8e1feb8317e51cc78f85416b493076e06e28019e01579b8ef91620059b8565b50604080518082019091526006815265536c6565707960d01b6020808301918252601f6000526011905290516200188a917fa6fd41230baee9876b62de64f82aaa5eb16170cda6777193b59ecc5e9d7700bc91620059b8565b50604080518082019091526007815266151bd859189bdd60ca1b60208083019182526000819052601190529051620018e4917ff26018484a0a768381af85a7f5f0d4420ca099401ffce15ff68d8cd16975d6d291620059b8565b50604080518082019091526008815267546f6164656e7a6160c01b602080830191825260216000526011905290516200193f917f58cc685907b22b2dd9a3048603ce6b9f1feede320775df94fdccbb928308a32a91620059b8565b50604080518082019091526006815265155b9919585960d21b6020808301918252602260005260119052905162001998917f3323fcc7213753ad805fc4cdea6f75585df167005983d49f0ff0cff60c95533391620059b8565b5060408051808201909152600c81526b466f72636520486f6f64696560a01b60208083019182526001600052601290529051620019f7917f71a67924699a20698523213e55fe499d539379d7769cd5567e2c45d583f815a391620059b8565b5060408051808201909152600b81526a4772657920486f6f64696560a81b6020808301918252600260005260129052905162001a55917f8e1fee8c88a9e04123b21e90cae2727a7715bf522a1e46eb5934ccd05203a6b291620059b8565b5060408051808201909152600c81526b536c696d6520486f6f64696560a01b6020808301918252600360005260129052905162001ab4917f0f36ad39aee03e7108cc48f54934702a5f0d4066f10344cebf8198978d86976a91620059b8565b506040805180820190915260098152684c6567656e6461727960b81b6020808301918252600160005260139052905162001b10917f4155c2f711f2cdd34f8262ab8fb9b7020a700fe7b6948222152f7670d1fdf34d91620059b8565b506040518060600160405280602181526020016200af6e60219139600260005260136020908152815162001b68927f0b9d2c0c271bb30544eb78c59bdaebdae2728e5f65814c07768a0abe90ed1923920190620059b8565b5060408051808201909152601681527f4c69636b6564202d2048616c6c7563696e6174696f6e000000000000000000006020808301918252600360005260139052905162001bd8917f0d2a6872ef858a7f8ead18dc4f3f2e8d35c853d47e2816cbb9cdd49202554e0c91620059b8565b5060408051808201909152600f81526e131a58dad959080b4815d85c9c1959608a1b6020808301918252600460005260139052905162001c3a917f01413ff7a3b1d5b6c016c061d48e2c7014700c777a29fcd068fff04265813d5d91620059b8565b5060408051808201909152601281527126bab93232b932b210313c90233937b735bd60711b6020808301918252600560005260139052905162001c9f917ff4b2859895858d6aa26d656e4999d552f6a869b74c43bba7d2a941c4d22c355991620059b8565b506040805180820190915260028152610cd160f21b6020808301918252600160005260149052905162001cf4917fb6c61a840592cc84133e4b25bd509abf4659307c57b160799b38490a5aa48f2c91620059b8565b50604080518082019091526005815264416e696d6560d81b6020808301918252600260005260149052905162001d4c917fa1930aa930426c54c34daad2b9ada7c5d0ef0c96078a3c5bb79f6fa6602c4a7a91620059b8565b506040805180820190915260058152644177616b6560d81b6020808301918252600360005260149052905162001da4917f63d87a887046e0430be80fdeb014107d7198c879cbf2cddf39a6df195c86cb3891620059b8565b5060408051808201909152600681526510985b991a5d60d21b6020808301918252600460005260149052905162001dfd917f52102136546d97ed3f65ec1070a32935d3048ea12f310d29c378dc9d6555c0d691620059b8565b5060408051808201909152601081526f426967204372617a79204f72616e676560801b6020808301918252600560005260149052905162001e60917f116126bec5aaa49b347e966c49378cf0c441de9121e306ea3d824584a9615aa291620059b8565b5060408051808201909152600d81526c109a59c810dc985e9e48149959609a1b6020808301918252600660005260149052905162001ec0917fe1f6b6a5fb7e47dad87547d4b0671e7e995a1dae22fbe5b3b5d10e2a77ed7aff91620059b8565b5060408051808201909152601381527f4269672059656c6c6f7720536964652d657965000000000000000000000000006020808301918252600760005260149052905162001f30917f904977a779b22381a36c6463d4166ef55ee8cb3392c83093cb1750f1a00c9d9491620059b8565b506040805180820190915260148082527f426c61636b202620426c756520476f67676c65730000000000000000000000006020808401918252600860005291909152905162001fa1917f125fdacc24f94fb724c0c32a4eab75d67204551eb2448dadf875d535a744972691620059b8565b5060408051808201909152600e81526d426c756520457965736861646f7760901b6020808301918252600960005260149052905162002002917ff517404d914a19d455440d961937db67771e4bfb0b4293ff6fd7c75855208c1991620059b8565b5060408051808201909152600881526742757474686f6c6560c01b6020808301918252600a6000526014905290516200205d917f65f9512343925c57130fd77667cb42fc83560c400ede0c87f3de7c6c27cf09a691620059b8565b5060408051808201909152600b8082526a436f6f6c2053686164657360a81b602080840191825260009290925260149091529051620020be917fdabe84bb17a8774762b6726edd7eb728da1732e1ab123804fc9345b7300e0a2e91620059b8565b50604080518082019091526005815264043726565760dc1b6020808301918252600c60005260149052905162002116917f3a61d736b87fed11cf463325a3a6df55734cfb04ef5868e0125df26f708fa9c591620059b8565b5060408051808201909152600781526610dc9bd85ad95960ca1b6020808301918252600d60005260149052905162002170917f7f52294eda93879c98196ba8dfee8e39c94fda44d3e2327cc2c6d0806e39c2cf91620059b8565b50604080518082019091526007815266111a5b185d195960ca1b6020808301918252600e600052601490529051620021ca917fb429c61f7b03e67aad73431d2c25f054ce4133be1680124f402536c7d48c1eed91620059b8565b5060408051808201909152600c81526b476c6f77696e6720426c756560a01b6020808301918252600f60005260149052905162002229917f2f4111c4623d442ba4f89af8583239431566f63c7c6e0af548a5302cca50a54f91620059b8565b5060408051808201909152600b81526a11db1bddda5b99c814995960aa1b6020808301918252601060005260149052905162002287917fb9aa073911e1c5f8bd8c04c7214fb2acd89aeb4180f5a23dea34f2fa40cb91d291620059b8565b5060408051808201909152600a815269476f6c6420537065637360b01b60208083019182526011600052601490529051620022e4917f09a170f3d0086dae06bb29777773ac9b2ea063027c223214f7fd334306f7658291620059b8565b5060408051808201909152600f81526e477265656e20457965736861646f7760881b6020808301918252601260005260149052905162002346917f07fc9f99a348f1ce3967b1918510f209dc4ad0ea6c703ec65ccdd193fba04e3091620059b8565b5060408051808201909152600881526723b932b6b83634b760c11b60208083019182526013600052601490529051620023a1917f9d65b2ac638bfdb1cdd2019bc3f18ae2e26430f483705fbd511f5505697829d991620059b8565b50604080518082019091526008815267129d5919db595b9d60c21b60208083019182526014600081905290529051620023fc917fa3c034a0398f2cd3465cee88fec2489b78fe26933af4d394d6c87fc4cf00fa7791620059b8565b5060408051808201909152600481526313995c9960e21b6020808301918252601560005260149052905162002453917f17ab1e4035244f26e30fe10d9ea2274fae40b6b169e84adc7f132eded914dae291620059b8565b5060408051808201909152600b81526a4e6963652053686164657360a81b60208083019182526016600052601490529051620024b1917f61dccb1ed53f90936bb85f76ea5b84a7d698d504a213db86a4df73c05a00c8d991620059b8565b5060408051808201909152600c81526b4e6f756e69736820426c756560a01b6020808301918252601760005260149052905162002510917fc26b3c7943424903889a9e61bec70fced11fc1bd7d1f0a3530e9914aea81491d91620059b8565b5060408051808201909152600b81526a139bdd5b9a5cda0814995960aa1b602080830191825260186000526014905290516200256e917f9314a6b3d4ed426483bc81351414068d3fb254f1108a069eec0380fe6b4a094e91620059b8565b506040805180820190915260058152640a0c2e8c6d60db1b60208083019182526019600052601490529051620025c6917f37355b7de2b3fef6eb8264cee93d611b443d45670c331c605f3b99eaec23547891620059b8565b5060408051808201909152601381527f526564202620426c61636b20476f67676c6573000000000000000000000000006020808301918252601a60005260149052905162002636917f613b8e3633d21a66c080ae6fa3bb876f840707a45fe6feed9a244bc0926385d591620059b8565b5060408051808201909152600c81526b526f756e642053686164657360a01b6020808301918252601b60005260149052905162002695917f958b3b7cdd0e57eb0640fc7ed5d81e013fb08745c823b7ef730dd065178f97fc91620059b8565b5060408051808201909152600b81526a151a1a58dac8149bdd5b9960aa1b6020808301918252601c600052601490529051620026f3917ffba37e7d2eb7b37cf02579f6dcb373cf9112535f7fa3c231bbba67c781ffe7d391620059b8565b5060408051808201909152600c81526b546869636b2053717561726560a01b6020808301918252601d60005260149052905162002752917f22440aad85873fa25f9e8313e0f261a71c9ff7200cebfe275a7071f672cb749d91620059b8565b50604080518082019091526006815265155b9919585960d21b6020808301918252601e600052601490529051620027ab917fc959387dd26ee22ae1aac486cee79ec8b8cb27a75b6bf85d8e68a8119613606791620059b8565b5060408051808201909152600781526656616d7069726560c81b6020808301918252601f60005260149052905162002805917f2a04189ce73cf05bb68a11014d6b6b90b7fbb0c9a519292cf51a7370d748780d91620059b8565b5060408051808201909152600e81526d56696f6c657420476f67676c657360901b6020808301918252600081905260149052905162002866917f4b57e68b0896c4aebefa69b95515f625dcdf9091188f6f0cdfb8899f099d3e0591620059b8565b5060408051808201909152601381527f576869746520262052656420476f67676c65730000000000000000000000000060208083019182526021600052601490529051620028d6917f6efd4a8153ce47c6afc1379d1022df699024148811bdff77d77d542b314b7b4291620059b8565b5060408051808201909152600b81526a41717561204d6f6861776b60a81b6020808301918252600160005260159052905162002934917f27739e4bb5e6f8b5e4b57a047dca8767cc9b982a011081e086cbb0dfa9de818d91620059b8565b5060408051808201909152600981526820b8bab090283ab33360b91b6020808301918252600260005260159052905162002990917f07d4ff730d9753101d832555708a37d38c2c45fce8cacaefc99f06074e93fe0b91620059b8565b5060408051808201909152600a8152694171756120536861766560b01b60208083019182526003600052601590529051620029ed917fb3a65e8276bd33b3e4f7d6081ebd9899187264822358758dca2e2bc37b2a9c2791620059b8565b5060408051808201909152600d81526c105c5d584814da59195c185c9d609a1b6020808301918252600460005260159052905162002a4d917f8191f4eb6b8bafbfe9a5389c8d07d7f5fd81137a7ee653fc4358269845ee1d2e91620059b8565b5060408051808201909152600c81526b04261636b77617264204361760a41b6020808301918252600560005260159052905162002aac917fbab719002e4be320868650dc7456e9a1d245e4d5dd64765588e2f21529d871d391620059b8565b5060408051808201909152600e81526d109b1858dac814da59195c185c9d60921b6020808301918252600660005260159052905162002b0d917f25847c9ccf691da811a9f934d6b3b92e6062ef92feb71bf4cb08cbb4fad8d65291620059b8565b5060408051808201909152600f81526e426c6f6e6465205069677461696c7360881b6020808301918252600760005260159052905162002b6f917f5d0f48e37dc1225cdee8d6f2a0315d796f55423522fe638d7d95421802dfc00691620059b8565b5060408051808201909152600d81526c426c7565205069677461696c7360981b6020808301918252600860005260159052905162002bcf917f2d0e46a571fdfbe57c7c718891a8a12999c102dfffa2b3314ea165dedd1684f591620059b8565b5060408051808201909152600a815269426c756520536861766560b01b6020808301918252600960005260159052905162002c2c917f497613c0658032a90a449a944031c57b1d03996c3a6148fe12146c45cf32140091620059b8565b50604080518082019091526007815266109bdddb18dd5d60ca1b6020808301918252600a60005260159052905162002c86917f0cfcac9f3767130657d3b01a9146da544eeb39eb9670066ace5e84da7fc4319f91620059b8565b50604080518082019091526005815264213930b4b760d91b6020808301918252600b60005260159052905162002cde917fcaeae41dfed97dfd8c41876ff591faa3e36cda388621c550caa3321a2a624e5f91620059b8565b5060408051808201909152600c8082526b4372617a7920426c6f6e646560a01b60208084019182526000929092526015909152905162002d40917f74c10a04815bbeaf3165dab0bd11b69aae73edf00a48b27ec8c53ac5b61d47fd91620059b8565b5060408051808201909152600d8082526c4461726b205069677461696c7360981b60208084019182526000929092526015909152905162002da3917fe3e3bb3f660b5aca6f44f8cdafd6456c07cd53888341ab748ffc02d532ccc70e91620059b8565b5060408051808201909152600f81526e2230b9359029b4b733b63290213ab760891b6020808301918252600e60005260159052905162002e05917f39f65be0de5254440eb2b93b160b1af3a4f45fe0571eaea7ef454b27b7f02d1891620059b8565b5060408051808201909152600d81526c11185c9ac815185b1b0812185d609a1b6020808301918252600f60005260159052905162002e65917f3bda72f6153f13a10a865b9a6397e1123f4aa6a1726e0e1349cd07eb0e24d81591620059b8565b506040805180820190915260038152622332bd60e91b6020808301918252601060005260159052905162002ebb917f778c823f9b5f066b3c9d60b855427fd2999fcc25aebe3320977c1598596fffaf91620059b8565b5060408051808201909152600a815269119b1bdc1c1e4812185d60b21b6020808301918252601160005260159052905162002f18917fed5e5ecd5cb229fc7c2ed17e5e7cdfdc1d0a81991bd95ffdc4cdf25aca2d2ac391620059b8565b50604080518082019091526007815266046756e204361760cc1b6020808301918252601260005260159052905162002f72917f2d1305887a553ebca964114eb55137666ae056a13c7d9c5dcf078bd3a9732a3891620059b8565b5060408051808201909152600d81526c11dc995e4812db9a5d0812185d609a1b6020808301918252601360005260159052905162002fd2917fa5165e376b84f33a3c944a34b062595f1fb4afde844645ed23ed1e10c257ebe191620059b8565b5060408051808201909152600c81526b4f72616e67652042756d707360a01b6020808301918252601460005260159052905162003031917fe06932cbfde2f2475d8c82e797702b1bf34af837520e34a39e7e7b5e28f71d5f91620059b8565b506040805180820190915260128152714f72616e676520446f75626c652042756e7360701b6020808301918252601560008190529052905162003096917ff38242ae41b6250df1acd58d7376889913b9221d9b2e1d2e50fb7d62671fa73391620059b8565b5060408051808201909152600f81526e13dc985b99d94812db9a5d0812185d608a1b60208083019182526016600052601590529051620030f8917fe86d50bd82acb8a4466bb2ca8b6afa3cd315964e922e3415fb9febaebea89a4191620059b8565b5060408051808201909152600c81526b4f72616e676520536861766560a01b6020808301918252601760005260159052905162003157917f574302a9d10e8d8cac8c34395a9e71eda37461c3c0dc7c2d19ac3c17bf84e73991620059b8565b5060408051808201909152600e81526d13dc985b99d94815185b0812185d60921b60208083019182526018600052601590529051620031b8917f145a624bb1473b588643a3fc005457e4e3c443769a3e36472967d6b677b456b291620059b8565b5060408051808201909152600e81526d05065726977696e6b6c65204361760941b6020808301918252601960005260159052905162003219917f5c52232733ab6d157f34c383d32a0af3ada64da2faf95dd17c342031fe555a2c91620059b8565b506040805180820190915260098152682834b73590283ab33360b91b6020808301918252601a60005260159052905162003275917f3e775fe936f63e335f3ddff4442d579a49bc756d21df2a4e7a91b1252d9ef6ac91620059b8565b506040805180820190915260098152680506c616964204361760bc1b6020808301918252601b600052601590529051620032d1917f73a826789e3a196ce222210b89d60601751b7a33a69ef8407fa2dbda74ace15191620059b8565b5060408051808201909152600e81526d5261696e626f77204d6f6861776b60901b6020808301918252601c60005260159052905162003332917f88f5af0504612f4892c8fc28fe7bae2158ad2ae31384958f2771b2958d49990591620059b8565b5060408051808201909152600981526852656420476e6f6d6560b81b6020808301918252601d6000526015905290516200338e917fb0c1d683e0b026f3c55c8dc80baa5c55b48ee569994b50025486168751c9297691620059b8565b5060408051808201909152600981526805275737479204361760bc1b6020808301918252601e600052601590529051620033ea917f1704c1e60fa9f69779b85dc5afaf2ec4ef0112538bc02eb2e862bc3cb0d1b98991620059b8565b5060408051808201909152601381527f53686f72742046656174686572656420486174000000000000000000000000006020808301918252601f6000526015905290516200345a917fce9b89faa7d00b5a0dcea74b754372f1c8c1e2788b44e0b6fc99899848f9baf791620059b8565b50604080518082019091526007815266537472696e677960c81b60208083019182526000819052601590529051620034b4917f6b9301c903fb63b5bb3b4ed52f960f66e3a0c33bca0ea2f28cf6e34d2eb058dd91620059b8565b5060408051808201909152600d81526c537570657220537472696e677960981b6020808301918252602160005260159052905162003514917f263e92ba8492422ef7dc903beb85e423314ec878d84d61fcceee1c331734377691620059b8565b5060408051808201909152600c81526b5377616d70792042756d707360a01b6020808301918252602260005260159052905162003573917f034c461d098f1f18e1badce2db4f3314bcc8ec6900a2f2f1f3c29bacb8664f0791620059b8565b5060408051808201909152600c81526b5377616d7079204372617a7960a01b60208083019182526023600052601590529051620035d2917fd1d00b2634bc72e0449699ea2fb2005798af41f9ea6648fdc8734eecd01b1c3b91620059b8565b5060408051808201909152601181527029bbb0b6b83c902237bab1363290213ab760791b6020808301918252602460005260159052905162003636917f0e764139340fd37f742b5d2e83cd9d58d3f007eed732f7757c3b5f9ce22304e191620059b8565b5060408051808201909152600e81526d05377616d707920466c6174746f760941b6020808301918252602560005260159052905162003697917f135285b12a8d9664025e14a3c03cfe6e9cfb468214ff143c01681d78b99ca5bd91620059b8565b5060408051808201909152600f81526e14ddd85b5c1e4814da59195c185c9d608a1b60208083019182526026600052601590529051620036f9917f19c6df44ce59a759118fa802e137bd6fb621f19d0a9d1fedeb72c9376c4310a991620059b8565b5060408051808201909152601181527029bbb0b6b83c9029b4b733b63290213ab760791b602080830191825260276000526015905290516200375d917f62e8780145d4f36c534902c47cb253a3de8f80c623a1a22332c5b2c88a47e6ae91620059b8565b5060408051808201909152600c81526b5377657074204f72616e676560a01b60208083019182526028600052601590529051620037bc917fd9af0cb53c6c0615331b54ec89da76d9ec7ecf88f6194930196288cecd42731591620059b8565b5060408051808201909152600c81526b537765707420507572706c6560a01b602080830191825260296000526015905290516200381b917fcf15cb570111c1eb8bd2140efc96c49a2969922d8735ddc40704493e5f3dfcf891620059b8565b5060408051808201909152600a81526914ddd95c1d081519585b60b21b6020808301918252602a60005260159052905162003878917f90f74f9906b5a8e396128a6d354c237e7c856c0d0718851d063f19f1e6c12ac991620059b8565b5060408051808201909152600a8152695465616c20476e6f6d6560b01b6020808301918252602b600052601590529051620038d5917fc5d4f30cc89affb78fa4a1b97d1c284929cc907368bf74a1f4131b109dac2e2b91620059b8565b5060408051808201909152600d81526c1519585b0812db9a5d0812185d609a1b6020808301918252602c60005260159052905162003935917fbe99c7532c3eb785dc9ee59f5588d440c0b0fc7b53155e75324b1bc941f9bac891620059b8565b50604080518082019091526009815268151bd8591cdd1bdbdb60ba1b6020808301918252602d60005260159052905162003991917fc831ff3222bc9e90e9b9a1b1984e9d88c92169d234e5e2df990916e79ce96c1e91620059b8565b50604080518082019091526006815265151bdc1a185d60d21b6020808301918252602e600052601590529051620039ea917f0192acf96640aaccd1745920565fe48da9bcb064613a48487945b8caed3ca76691620059b8565b5060408051808201909152600781526654727566666c6560c81b6020808301918252602f60005260159052905162003a44917f7ad2d70b85efcc9499c7bca2dc6a97e86674c49742f9031bf1f5ce5e0d20b08291620059b8565b5060408051808201909152600781526656616d7069726560c81b6020808301918252603060005260159052905162003a9e917f715c76497e136a6a7632c50f5a4ed7e89d52392cc059f375ae9f90f80a39fe7b91620059b8565b5060408051808201909152600a81526957696c6420426c61636b60b01b6020808301918252603160005260159052905162003afb917fa8d5a44db349e954b0aa7c57c026ed3038dc374ea9e7c77df9f7b85a9e95063591620059b8565b5060408051808201909152600b81526a57696c64204f72616e676560a81b6020808301918252603260005260159052905162003b59917fdd02f31114faf0a8f9b0c450b7d8ab69cd824f8d11ec65e824fb202dd35ecc8891620059b8565b5060408051808201909152600a81526957696c6420576869746560b01b6020808301918252603360005260159052905162003bb6917f9cc638be0e1da41b5a18cf03e74e199b823c25f28cc96f254be65afeb47b69f491620059b8565b5060408051808201909152600681526515da5e985c9960d21b6020808301918252603460005260159052905162003c0f917f049fe63f9cefe75998e7241d44d67c52f39667991f284a4bc6fc67379801ac1891620059b8565b5060408051808201909152600e81526d059656c6c6f7720466c6174746f760941b6020808301918252603560005260159052905162003c70917fb2b345dc3a406c3295e6ea526f8579ee81769d505695de2760645c933dfd633491620059b8565b5060408051808201909152600c81526b42616e64697420536d696c6560a01b6020808301918252600160005260169052905162003ccf917f4c4dc693d7db52f85fe052106f4b4b920e78e8ef37dee82878a60ab8585faf4991620059b8565b5060408051808201909152600b81526a42616e646974205769646560a81b6020808301918252600260005260169052905162003d2d917fcaff291fe014adc6b72a172705750b4cabe8f8667664d2924a166caab288564891620059b8565b506040805180820190915260058152641099585c9960da1b6020808301918252600360005260169052905162003d85917ff06d282f967055cb1eee17e04aa005b9682a620f4bbcfaee55ba78607a3d87ae91620059b8565b5060408051808201909152600a815269426c756520536d696c6560b01b6020808301918252600460005260169052905162003de2917fec061709de2491458f4c981032059d7d19b0e55f45018bac6b3e660bdc959a5991620059b8565b506040805180820190915260058082526443726f616b60d81b60208084019182526000929092526016909152905162003e3d917f5696377e725b42a372ecc45f0fbdab5e9555865aef54619ad9381892f667bbf091620059b8565b5060408051808201909152600f81526e08ee4cacadc4084eac6d6e8dedee8d608b1b6020808301918252600660005260169052905162003e9f917fc6a239f207aea309a1b4879cb5411b8facfc2bc1e4cc4717ff2598676c399b5f91620059b8565b50604080518082019091526007808252662634b731b7b63760c91b60208084019182526000929092526016909152905162003efc917f5c9294642c77fdf0ce4b0f45159c977165b1ec2ef3bb94ee3e2a496634c781e891620059b8565b5060408051808201909152600b81526a506561636820536d696c6560a81b6020808301918252600860005260169052905162003f5a917f5d722ae86c7aff0f95f426cf86f75793e8cd1a526603df14563c190f75fd2ef391620059b8565b5060408051808201909152600e81526d0a0d2dcd64084eac6d6e8dedee8d60931b6020808301918252600960005260169052905162003fbb917f650982f08e47212452de30f662e413cf6044e641dedc09b52c1617e804a2611e91620059b8565b5060408051808201909152600b81526a507572706c65205769646560a81b6020808301918252600a60005260169052905162004019917fd5b9797c47f98351da0d9dc8805f06430ade47345ddb9b2bd6f346a04809cc4191620059b8565b5060408051808201909152600b8082526a52696262697420426c756560a81b6020808401918252600092909252601690915290516200407a917fcfa8b17cfe829ccfb82a1b8bc946a78d914318562253e01c04a5bbac5c20f86b91620059b8565b5060408051808201909152600381526214d85960ea1b6020808301918252600c600052601690529051620040d0917f329445f4448b7d20eec86c1386b39f5d1ed2d5f198689536ebcae9f2881958c391620059b8565b5060408051808201909152600681526553686966747960d01b6020808301918252600d60005260169052905162004129917f1f3872f63ca641494b685e4fa2176636d028d8c80f254656e89768cf2724327391620059b8565b50604080518082019091526005815264536c696d7960d81b6020808301918252600e60005260169052905162004181917fd6e1ce7303b8b03e4f8e61fd057015f1c58732e116f2a323c5d9ed9df544bd9a91620059b8565b5060408051808201909152600a8152695465616c20536d696c6560b01b6020808301918252600f600052601690529051620041de917fc361f6d77665192d237562bd0853419e4f63406390ab643d0f1cdbcdd3e2cbae91620059b8565b506040805180820190915260098152685465616c205769646560b81b602080830191825260106000526016905290516200423a917f2a87e474c76dec5537d547c3958b767dcf7498ad7afcca0a2eb8ad1481fbf5b691620059b8565b5060408051808201909152600781526656616d7069726560c81b6020808301918252601160005260169052905162004294917f8419164215688829c599d418012c77589d6ed4c687dc9e57a4a19678f70f8a3191620059b8565b5060408051808201909152600d81526c57656c6c2041637475616c6c7960981b60208083019182526012600052601690529051620042f4917f8531638db615388f9d93ea5c79a334675d6050f9d301f5b6af156a74ff56963591620059b8565b506040805180820190915260068152650c1e1d1bd85960d21b602080830191825260016000526017905290516200434d917ff36d6bc9642eb6fb6ee9998b09ce990566df752ab06e11f8de7ab633bbd57b8f91620059b8565b5060408051808201909152600c81526b3263726f616b6368616e657360a01b60208083019182526002600052601790529051620043ac917fc52df653038b2ad477d8d97f1ddd63cfd138847b628ad8a7b89c109c3f8782ca91620059b8565b506040805180820190915260088152671a18b1b937b0b59b60c11b6020808301918252600360005260179052905162004407917fd8b2bced50346359af71f91110b86cdf684b6ab1c6ca64a7583c044d5c24de5c91620059b8565b50604080518082019091526008815267393163726f616b3560c01b6020808301918252600460005260179052905162004462917f68052a315987b3c92fe6f7df77391bc5a825cabe4950d34f36f8f4e8a6abcb4d91620059b8565b506040805180820190915260088152673963726f616b393960c01b60208083019182526005600052601790529051620044bd917f70266c3d5b8b2375fded59c72bf5f0d74bbb12fdf645a4c8630629f0191fb31791620059b8565b5060408051808201909152600a81526920b23b32b73a3ab932b960b11b602080830191825260066000526017905290516200451a917fdba639bd458ad7aa817aa5e381ad7ed79ea3aeac2e3d9b2d7c51df9a9229709d91620059b8565b5060408051808201909152600a815269105d995c9cd85b9bd85960b21b6020808301918252600760005260179052905162004577917ffae2f3cf7832fe1c3d9af0d1138f3108106a06e0c9fcfc402be937e37ff7af6691620059b8565b506040805180820190915260068152651093951bd85960d21b60208083019182526008600052601790529051620045d0917ff573626183c54e3dd8eb68c6c0266a90101d76d98ec703822e6a139999dd765591620059b8565b506040805180820190915260098082526842617263726f616b6160b81b6020808401918252600092909252601790915290516200462f917f0480f894719e4db46f2c51c98cf5b891889d59db5c7f94573597494ddc8d4ae191620059b8565b5060408051808201909152600c81526b10985cd9db1e5c1a1d1bd85960a21b6020808301918252600a6000526017905290516200468e917fd01a1030c3796725449ebf72d73ac5540c8aa9c83f796ef75dcf19a390d0382c91620059b8565b5060408051808201909152600781526610985cdd1bd85960ca1b6020808301918252600b600052601790529051620046e8917f54acb9ed3edc1b7a8255332c8673f792d9928f1a0e23f8fa562129e3598e56e091620059b8565b5060408051808201909152600a81526910995b195d1a1d1bd85960b21b6020808301918252600c60005260179052905162004745917f64a7f66a782c34000146bbd99e3f79f98bb503e9cc23914a39f883a131175bf991620059b8565b5060408051808201909152600c81526b10da185b9e995c9bdd1bd85960a21b6020808301918252600d600052601790529051620047a4917fd4f117696427b3170ffd20740156ca83422b10d4acca400a7ad7659ba482c09491620059b8565b5060408051808201909152600881526710da19599d1bd85960c21b6020808301918252600e600052601790529051620047ff917f838b23a3c9c8a7fda5238031c00730254cd0668a98cd090e0cca00dfe448439f91620059b8565b5060408051808201909152600a81526910db185a5c995d1bd85960b21b6020808301918252600f6000526017905290516200485c917fe335a55928420821f34e4a0838f73915c5180cd07cd2d24e16a8fe491893d41a91620059b8565b506040805180820190915260108082526f21b7b637b732b610233637b7b93134b760811b602080840191825260009290925260179091529051620048c2917ff6de5937dac0edfeb1d15a13ba376e673c95428e147533cf0a51517bc7b0f4bb91620059b8565b5060408051808201909152600a81526910dc9bd85adb195a185d60b21b602080830191825260116000526017905290516200491f917f989fb179f4b9e7c79597668c23db03a7622f64e76736a9fb45d5a6c8c3eef33d91620059b8565b5060408051808201909152600881526743727963726f616b60c01b602080830191825260126000526017905290516200497a917f8766097a2ede1c4002a90c813bc6572b42330a7996158a3c747c5fb5111bbe7f91620059b8565b506040805180820190915260098152681119595e995d1bd85960ba1b60208083019182526013600052601790529051620049d6917f9a3a19067377e57ca73ec87aadb446167f622677e0aaeb2befb08ff62a0f04d091620059b8565b50604080518082019091526007815266111a5b999bd85960ca1b6020808301918252601460005260179052905162004a30917f7698369aa781fe18aff29cc81f7a99b6e03a6e606ee0e670719729be7a00bfa991620059b8565b50604080518082019091526007815266111bdb5d1bd85960ca1b6020808301918252601560005260179052905162004a8a917fa400366fc2baf80808d2d5298b2c43995076ffdd2ec1d54c8741c684a6aedf1f91620059b8565b5060408051808201909152600881526744726f63726f616b60c01b6020808301918252601660005260179052905162004ae5917f792a9b2bc257ce8805c24cfcb92ddf1e51dec4bc6446c9d546eb346f3ab0c16791620059b8565b50604080518082019091526008815267115b5b5e5d1bd85960c21b6020808301918252601760008190529052905162004b40917f3986586e8277369cf0cded2e01f1d7ea9728219bda108468351e822b036b660391620059b8565b50604080518082019091526008815267115c9a5b9d1bd85960c21b6020808301918252601860005260179052905162004b9b917f899513560e6cafc6dc31387d92a64eb014abbdc3f740b3382a0b956066b2c5b791620059b8565b5060408051808201909152601181527046726f6e6b7a2048656e63686d616e203160781b6020808301918252601960005260179052905162004bff917fa962591d5405e898fc147ec0435855f7269d31beb84cd18c691e82a0c30d0ffe91620059b8565b50604080518082019091526011815270233937b735bd102432b731b436b0b7101960791b6020808301918252601a60005260179052905162004c63917fa7f90218ce287c4e18a976929d3367979f9214829f8a9b6a1d5b32770112032f91620059b8565b5060408051808201909152600981526811d959589e9d1bd85960ba1b6020808301918252601b60005260179052905162004cbf917fa31f511a3bec68aaee282c004e7ae8c528a4ff39b9613206c9042f70732e57f491620059b8565b5060408051808201909152600781526611dd5cdd1bd85960ca1b6020808301918252601c60005260179052905162004d19917f2fe1481153e3c80a709d0a6e594061d57efb6844d54dc94113753c46faaded4a91620059b8565b5060408051808201909152600d81526c1219595959595959595d1bd859609a1b6020808301918252601d60005260179052905162004d79917fc1f911fe4a8cd4281de711ea4782477c44bae5a389c46a87802a30b938a9b73c91620059b8565b5060408051808201909152601181527004865726f204f6620546865205377616d7607c1b6020808301918252601e60005260179052905162004ddd917f5beb59e7e29d630fb17340f93d56e55cdc88f6007fd87e541e78c01211e981fd91620059b8565b5060408051808201909152600c81526b12195c9c995c9c985d1bd85960a21b6020808301918252601f60005260179052905162004e3c917f559a04d74be1f9cd7652678b63be8cd60a1a848076ceef705092e0f06807bc6091620059b8565b50604080518082019091526007815266121d5b9d1bd85960ca1b6020808301918252600081905260179052905162004e96917f184d1c2d9ec04f9c47fec5507bb2d716db9966a00f63f49fd8cbb247f2f8fafd91620059b8565b50604080518082019091526008815267121e5c195d1bd85960c21b6020808301918252602160005260179052905162004ef1917fac4ae1c6a4fd0698b7757c6a4f4edb6e2c3bfce1824862e8e3234dd381d9114891620059b8565b5060408051808201909152600781526612995e9d1bd85960ca1b6020808301918252602260005260179052905162004f4b917f2ce86695bc6215f9f1a687accc2445b349e8cca42f6e2930b204109c9e75c04891620059b8565b5060408051808201909152600d81526c25b4b7339023b932b6b83634b760991b6020808301918252602360005260179052905162004fab917f6016295bafd1ff8a9e778b2eef53f87421a9bfce982341fa95257c403f37b06591620059b8565b5060408051808201909152600a81526912dbdc1c195c9d1bd85960b21b6020808301918252602460005260179052905162005008917fbe1d4aa376e68fed40934a228384189e614f09400f1983528436d0d5c40c41b691620059b8565b506040805180820190915260078152661319595d1bd85960ca1b6020808301918252602560005260179052905162005062917f41f10fff9aefd7d9eff226198a96289cafcd457e2b6e403eb9fe89d53cec4c9291620059b8565b5060408051808201909152600d81526c2634ba3a36329029b4b9ba32b960991b60208083019182526026600052601790529051620050c2917f04158873c047d70c898882a98af7795e7722a0ca609d678208658b638560dade91620059b8565b5060408051808201909152600981526813585c9b1bdd1bd85960ba1b602080830191825260276000526017905290516200511e917fc547af058c9e168446062ba97b2da5af45095e6b4b0c46e3e38b48c6f88aa19191620059b8565b50604080518082019091526008815267135a5ad95d1bd85960c21b6020808301918252602860005260179052905162005179917f77cf5f5ce4a215cfc1cf8552b6988b90fa094e516d12863af573b59ce870076291620059b8565b50604080518082019091526008815267135bdd1a5d1bd85960c21b60208083019182526029600052601790529051620051d4917fb881ef5f903c7e90f4c7719e6fe497f7158822d4e1457fb5b502e0f3defa9f5b91620059b8565b50604080518082019091526007815266135bde1d1bd85960ca1b6020808301918252602a6000526017905290516200522e917f0d310a98e6e4d8e18f3bac14a4eb83db41aac3ab023974c1fa43492ca3660d9a91620059b8565b506040805180820190915260098152684d723763726f616b3360b81b6020808301918252602b6000526017905290516200528a917fd965c2321fa4defe94306c3f887002202d58a0419b7c31f4a776660d84e7575191620059b8565b50604080518082019091526008815267139bdd5c9d1bd85960c21b6020808301918252602c600052601790529051620052e5917f67a7d429bafb5a925b935ddc7dc5007f79c9b3bcfd66236e83947678f90cb70a91620059b8565b5060408051808201909152600781526613db9a5d1bd85960ca1b6020808301918252602d6000526017905290516200533f917ff70c09eda69eda6ec28b55f547d8306372260fbb96ffff1ffd67b95001a1336991620059b8565b5060408051808201909152600a81526914985cdd195c9d1bd85960b21b6020808301918252602e6000526017905290516200539c917f87f4120e0e0b406016818bf671cb2085a32a7bbb9e8a6283dfc52c474b7f8d2491620059b8565b5060408051808201909152600881526714d85b5a9d1bd85960c21b6020808301918252602f600052601790529051620053f7917ffc8697699013d70803b813f6085437688fb9c215149c27283ce0495d37363cfa91620059b8565b5060408051808201909152600a81526914d95b9958d85d1bd85960b21b6020808301918252603060005260179052905162005454917f7363c8f05901450359b2ed4bd137eee5760b1c1d441e58cdc7d0876c9c548c0791620059b8565b5060408051808201909152600f81526e14db1bddd89c9bd91a58dadd1bd859608a1b60208083019182526031600052601790529051620054b6917f0b4c73099320cb0e1d3917e0cae7e1340857848384e8ec8fa6077976d664372991620059b8565b5060408051808201909152600981526814db9bddd99c9bd85960ba1b6020808301918252603260005260179052905162005512917fcf05121deb1127561603ee18c59189961dcb9237f1a408047f73671683dde99291620059b8565b5060408051808201909152600881526714dbd89e5d1bd85960c21b602080830191825260336000526017905290516200556d917f7d212a3cc1ad2c51fa71ddc0e0e9e36ee8cf5a955e73ec3afda2d4d7110ee76091620059b8565b5060408051808201909152600981526814dc18dd995d1bdd9960ba1b60208083019182526034600052601790529051620055c9917f6a72cfa2bf5a5a2bcd96fbe1889799bbbb899264e175f6cb26b803a80cd7a8fb91620059b8565b5060408051808201909152600781526614dd5b5d1bd85960ca1b6020808301918252603560005260179052905162005623917ffbf4315efc1bf9818472fb1eece008d33d297c68b6d4aa41d1fa39c8a5bda56d91620059b8565b5060408051808201909152600981526815185c1c1e5d1bd85960ba1b602080830191825260366000526017905290516200567f917fed2093ed4bde8b8b41a217b8517b6f6eed3d7a59ad2785bd22458da9144d634091620059b8565b5060408051808201909152600981526815195c9b5a5d1bd85960ba1b60208083019182526037600052601790529051620056db917ffdfbc90a96b4d6dcaf6a1ef3055120b8c707c9ff640dfa4effb814cc6a7df3ce91620059b8565b506040805180820190915260068152652a34b7b230b760d11b6020808301918252603860005260179052905162005734917f96593a4e090b2c24d50839a9f7f5d66d0593f39503b30d7f63359e4371d4b16e91620059b8565b506040805180820190915260088152672a37b0b23132b2b360c11b602080830191825260396000526017905290516200578f917f72b4cfdfaab5a9b18090de9fc63e4929ce4637055bb8dbc5e045e61d1a3e68c991620059b8565b50604080518082019091526009815268151c9a5b1b1d1bd85960ba1b6020808301918252603a600052601790529051620057eb917fef4127b80ea4d92a96aa7957832964c6d20e688eb4696c1f22a77a3cc4e9ec2c91620059b8565b506040805180820190915260078152661591d19d1bd85960ca1b6020808301918252603b60005260179052905162005845917f4f74972782d64bed1cb81db3d1f0deca580bbf4e7a2dae42cef5980c8c53470191620059b8565b50604080518082019091526007815266159959dd1bd85960ca1b6020808301918252603c6000526017905290516200589f917f5527d76087b5ece74f11200bd577b8151d4aab0d64788335f336249ecf18e32e91620059b8565b5060408051808201909152600781526615d95cdd1bd85960ca1b6020808301918252603d600052601790529051620058f9917f1f3a4aec106dcb6bea91e81b3ca72ea3d0d732ce560c686f3de3cf9561c7f5db91620059b8565b5060408051808201909152600a815269165d5c1c1a595d1bd85960b21b6020808301918252603e60005260179052905162005956917f3dbcbb681ba38f5dfddd5eef82f92b02e6518abfa1df8c95204f7c9f4147c28891620059b8565b50604080518082019091526008815267169bdb1a5d1bd85960c21b6020808301918252603f600052601790529051620059b1917fca0817cc53e7a07f803f81102bcce3f2c66082a1057cc30a098a2dcafde1d6db91620059b8565b5062005a9b565b828054620059c69062005a5e565b90600052602060002090601f016020900481019282620059ea576000855562005a35565b82601f1062005a0557805160ff191683800117855562005a35565b8280016001018555821562005a35579182015b8281111562005a3557825182559160200191906001019062005a18565b5062005a4392915062005a47565b5090565b5b8082111562005a43576000815560010162005a48565b600181811c9082168062005a7357607f821691505b6020821081141562005a9557634e487b7160e01b600052602260045260246000fd5b50919050565b6154c38062005aab6000396000f3fe608060405234801561001057600080fd5b50600436106102305760003560e01c806301ffc9a71461023557806305798ff71461025d57806306294e181461027d57806306fdde0314610292578063081812fc1461029a578063095ea7b3146102c55780630a659110146102d857806310b0fcd7146102eb57806314837759146102fe5780631d5bfff91461031157806323b872dd146103245780632607aafa1461033757806333b6a99214610357578063374bf1d01461036a5780633d7910031461037d57806340036cd71461039057806342842e0e146103a35780634f60a5a7146103b657806350934515146103c957806360316801146103dc5780636352211e146103ef5780636978c7351461040257806370a08231146104155780637218187f146104365780637257a493146104495780637e1c175d1461045c57806383c828b61461046f578063894e4d23146104825780638a6e8abb146104955780639260f07b146104a857806394786c48146104bb57806395d89b41146104ce578063a0712d68146104d6578063a22cb465146104e9578063a2c728dc146104fc578063a859ce411461050f578063b4b5b48f14610522578063b88d4fde14610535578063c5569f8214610548578063c87b56dd1461055b578063cd93c94e1461056e578063e2f273bd14610581578063e985e9c514610594578063f3ef4107146105a7578063f433faa0146105ba578063fde31544146105cd578063ff0703c2146105e0578063ff267947146105f3575b600080fd5b6102486102433660046143e3565b610606565b60405190151581526020015b60405180910390f35b61027061026b366004614416565b610658565b6040516102549190614489565b61029061028b36600461453e565b6106f2565b005b61027061073a565b6102ad6102a836600461458b565b6107cc565b6040516001600160a01b039091168152602001610254565b6102906102d33660046145bb565b610859565b6102706102e6366004614416565b610965565b6102906102f936600461453e565b61097e565b61027061030c3660046145e5565b6109c1565b61029061031f36600461453e565b6109e5565b610290610332366004614607565b610a28565b61034a61034536600461458b565b610a59565b6040516102549190614643565b61034a6103653660046145e5565b610bf9565b6102706103783660046145e5565b610f35565b61027061038b366004614416565b610f59565b61029061039e366004614713565b610f72565b6102906103b1366004614607565b610ff6565b6102906103c436600461453e565b611011565b6102706103d73660046145e5565b611054565b6102706103ea36600461458b565b611078565b6102ad6103fd36600461458b565b611083565b61029061041036600461453e565b6110fa565b610428610423366004614743565b61113d565b604051908152602001610254565b610270610444366004614416565b6111c4565b610270610457366004614416565b6111dd565b61029061046a36600461453e565b6111f6565b61027061047d366004614416565b611239565b610270610490366004614416565b611252565b6102906104a336600461475e565b61126b565b6102906104b636600461453e565b6112f5565b6102906104c93660046145e5565b611338565b6102706113cf565b6102906104e436600461458b565b6113de565b6102906104f73660046147e5565b61140b565b61027061050a366004614416565b61141a565b61029061051d366004614821565b611433565b61027061053036600461458b565b611507565b610290610543366004614866565b611520565b61029061055636600461453e565b611558565b61027061056936600461458b565b61159b565b61027061057c36600461458b565b611683565b61029061058f366004614743565b6116a5565b6102486105a23660046148cd565b6116fa565b6102906105b536600461453e565b611728565b6102906105c8366004614821565b61176b565b6102906105db36600461453e565b611826565b6102706105ee366004614416565b611869565b610270610601366004614416565b611882565b60006001600160e01b031982166380ac58cd60e01b148061063757506001600160e01b03198216635b5e139f60e01b145b8061065257506301ffc9a760e01b6001600160e01b03198316145b92915050565b6013602052600090815260409020805461067190614900565b80601f016020809104026020016040519081016040528092919081815260200182805461069d90614900565b80156106ea5780601f106106bf576101008083540402835291602001916106ea565b820191906000526020600020905b8154815290600101906020018083116106cd57829003601f168201915b505050505081565b6006546001600160a01b0316336001600160a01b03161461071257600080fd5b60ff821660009081526012602090815260409091208251610735928401906141f4565b505050565b60606000805461074990614900565b80601f016020809104026020016040519081016040528092919081815260200182805461077590614900565b80156107c25780601f10610797576101008083540402835291602001916107c2565b820191906000526020600020905b8154815290600101906020018083116107a557829003601f168201915b5050505050905090565b60006107d78261189b565b61083d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061086482611083565b9050806001600160a01b0316836001600160a01b031614156108d25760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610834565b336001600160a01b03821614806108ee57506108ee81336116fa565b61095b5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776044820152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b6064820152608401610834565b61073583836118b8565b6016602052600090815260409020805461067190614900565b6006546001600160a01b0316336001600160a01b03161461099e57600080fd5b60ff821660009081526014602090815260409091208251610735928401906141f4565b606060006109cf8484610bf9565b905060006109dc82611926565b95945050505050565b6006546001600160a01b0316336001600160a01b031614610a0557600080fd5b60ff821660009081526017602090815260409091208251610735928401906141f4565b610a3233826119a0565b610a4e5760405162461bcd60e51b81526004016108349061493b565b610735838383611a62565b610a61614274565b6000828152600a602052604081208054610a7a90614900565b80601f0160208091040260200160405190810160405280929190818152602001828054610aa690614900565b8015610af35780601f10610ac857610100808354040283529160200191610af3565b820191906000526020600020905b815481529060010190602001808311610ad657829003601f168201915b50505050509050805160001415610b1d5760405163264a7c1360e01b815260040160405180910390fd5b600b600080610b2c8484611bf0565b602460408801819052606088015293509150829050610b496142a8565b60408087015161ffff90811683830152606080890151909116818401528151608081018352878152602081018790529182018390528101849052610b8c81611d2a565b60408082018051518552805182015161ffff90811692860192909252516060908101519091169084015260208801518851919250839189610bcc826149a2565b63ffffffff90811690915216600a8110610be857610be86149c6565b602002015250949695505050505050565b610c01614274565b610c096142d6565b6000848152600a602052604081208054610c2290614900565b80601f0160208091040260200160405190810160405280929190818152602001828054610c4e90614900565b8015610c9b5780601f10610c7057610100808354040283529160200191610c9b565b820191906000526020600020905b815481529060010190602001808311610c7e57829003601f168201915b50505050509050805160001415610cc55760405163264a7c1360e01b815260040160405180910390fd5b610cd081600b611bf0565b50602081015190925063ffffffff16610ce857600080fd5b506024604080840182905260608401919091526000858152600b602090815282822086835290529081208054610d1d90614900565b80601f0160208091040260200160405190810160405280929190818152602001828054610d4990614900565b8015610d965780601f10610d6b57610100808354040283529160200191610d96565b820191906000526020600020905b815481529060010190602001808311610d7957829003601f168201915b50505050509050805160001415610dc0576040516382d34bb360e01b815260040160405180910390fd5b6000808281610dce816149dc565b935081518110610de057610de06149c6565b016020015160f81c905060005b8160ff168160ff161015610f2a57610e036142a8565b60408088015161ffff90811691830191909152606080890151909116908201526000808686610e31816149dc565b975081518110610e4357610e436149c6565b016020015160f81c905060008787610e5a816149dc565b985081518110610e6c57610e6c6149c6565b016020015160f81c905060ff8216610e86826101006149f7565b610e909190614a21565b61ffff8116602080870191909152604080516080810182528b81529182018a90528101869052606081018b90529093509150610ecd905081611d2a565b905080602001519550806040015189602001518a6000018051809190610ef2906149a2565b63ffffffff90811690915216600a8110610f0e57610f0e6149c6565b602002015250829150610f22905081614a47565b915050610ded565b505050505092915050565b600c6020908152600092835260408084209091529082529020805461067190614900565b6012602052600090815260409020805461067190614900565b6006546001600160a01b0316336001600160a01b031614610f9257600080fd5b6000828152600a602090815260409091208251610fb1928401906141f4565b5080516000838152600a602052604090208054610fcd90614900565b905014610fd957600080fd5b604051829060008051602061546e83398151915290600090a25050565b61073583838360405180602001604052806000815250611520565b6006546001600160a01b0316336001600160a01b03161461103157600080fd5b60ff821660009081526015602090815260409091208251610735928401906141f4565b600b6020908152600092835260408084209091529082529020805461067190614900565b606061065282612106565b6000818152600260205260408120546001600160a01b0316806106525760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610834565b6006546001600160a01b0316336001600160a01b03161461111a57600080fd5b60ff82166000908152600f602090815260409091208251610735928401906141f4565b60006001600160a01b0382166111a85760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610834565b506001600160a01b031660009081526003602052604090205490565b600e602052600090815260409020805461067190614900565b6017602052600090815260409020805461067190614900565b6006546001600160a01b0316336001600160a01b03161461121657600080fd5b60ff821660009081526010602090815260409091208251610735928401906141f4565b6010602052600090815260409020805461067190614900565b6014602052600090815260409020805461067190614900565b6006546001600160a01b0316336001600160a01b03161461128b57600080fd5b825161129e9060079060208601906141f4565b5081516112b29060089060208501906141f4565b5080516112c69060099060208401906141f4565b506040517fb2dfa2d54ba438a414e0f56b105efba603034b0531cd7a79202c0f34053d0b0f90600090a1505050565b6006546001600160a01b0316336001600160a01b03161461131557600080fd5b60ff821660009081526011602090815260409091208251610735928401906141f4565b3361134283611083565b6001600160a01b03161461135557600080fd5b801580159061138757506000828152600b602090815260408083208484529091529020805461138390614900565b1590505b156113a5576040516382d34bb360e01b815260040160405180910390fd5b6000828152600d602052604080822083905551839160008051602061546e83398151915291a25050565b60606001805461074990614900565b6006546001600160a01b0316336001600160a01b0316146113fe57600080fd5b61140833826121ea565b50565b611416338383612204565b5050565b600f602052600090815260409020805461067190614900565b6006546001600160a01b0316336001600160a01b03161461145357600080fd5b81158061148d5750811580159061148d57506000838152600b602090815260408083208584529091529020805461148990614900565b1590505b156114ab576040516382d34bb360e01b815260040160405180910390fd5b6000838152600c60209081526040808320858452825290912082516114d2928401906141f4565b506000838152600d602052604090205482141561073557604051839060008051602061546e83398151915290600090a2505050565b600a602052600090815260409020805461067190614900565b61152a33836119a0565b6115465760405162461bcd60e51b81526004016108349061493b565b611552848484846122cf565b50505050565b6006546001600160a01b0316336001600160a01b03161461157857600080fd5b60ff821660009081526016602090815260409091208251610735928401906141f4565b60606115a68261189b565b61160a5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610834565b600061161583612106565b905060006040518060400160405280601d81526020017f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081525061165a838451612302565b60405160200161166b929190614a83565b60408051601f19818403018152919052949350505050565b6060600061169083610a59565b9050600061169d82611926565b949350505050565b6006546001600160a01b0316336001600160a01b0316146116c557600080fd5b6001600160a01b0381166116d857600080fd5b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6006546001600160a01b0316336001600160a01b03161461174857600080fd5b60ff82166000908152600e602090815260409091208251610735928401906141f4565b6006546001600160a01b0316336001600160a01b03161461178b57600080fd5b6000821161179857600080fd5b6000838152600b60209081526040808320858452825290912082516117bf928401906141f4565b5080516000848152600b60209081526040808320868452909152902080546117e690614900565b9050146117f257600080fd5b6000838152600d602052604090205482141561073557604051839060008051602061546e83398151915290600090a2505050565b6006546001600160a01b0316336001600160a01b03161461184657600080fd5b60ff821660009081526013602090815260409091208251610735928401906141f4565b6011602052600090815260409020805461067190614900565b6015602052600090815260409020805461067190614900565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906118ed82611083565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b606060008061193484612471565b9150915060006119448383612302565b90506040518060400160405280601681526020017519185d184e9a5b5859d94bd9da598ed8985cd94d8d0b60521b81525081604051602001611987929190614a83565b6040516020818303038152906040529350505050919050565b60006119ab8261189b565b611a0c5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610834565b6000611a1783611083565b9050806001600160a01b0316846001600160a01b03161480611a525750836001600160a01b0316611a47846107cc565b6001600160a01b0316145b8061169d575061169d81856116fa565b826001600160a01b0316611a7582611083565b6001600160a01b031614611add5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610834565b6001600160a01b038216611b3f5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610834565b611b4a6000826118b8565b6001600160a01b0383166000908152600360205260408120805460019290611b73908490614aa9565b90915550506001600160a01b0382166000908152600360205260408120805460019290611ba1908490614ac0565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03868116918217909255915184939187169160008051602061544e83398151915291a4505050565b611bf86142d6565b63ff00000081526000808484611c0d816149dc565b955081518110611c1f57611c1f6149c6565b016020015160f81c905060005b8160ff168160ff161015611d205760008686611c47816149dc565b975081518110611c5957611c596149c6565b016020015160f81c905060008787611c70816149dc565b985081518110611c8257611c826149c6565b016020015160f81c905060008888611c99816149dc565b995081518110611cab57611cab6149c6565b016020015160f81c905064ffffffff00600883901b1665ffffffff0000601085901b1617811763ff000000178088611ce4876001614ad8565b60ff1660ff8110611cf757611cf76149c6565b63ffffffff909216602092909202015250839250611d189150829050614a47565b915050611c2c565b5091949293505050565b611d326142f5565b600080611d4784600001518560200151612840565b60208601819052909250905060005b8263ffffffff168163ffffffff1610156120fd57845160208601805160009291611d7f826149dc565b905281518110611d9157611d916149c6565b016020015160f81c905080611e9857606086015186516020880180516000939291611dbb826149dc565b905281518110611dcd57611dcd6149c6565b016020015160f81c60ff8110611de557611de56149c6565b6020020151905060005b87604001516040015161ffff168161ffff161015611e915760005b88604001516060015161ffff168161ffff161015611e7e576040808a015180519101518491908490611e3d9085906149f7565b611e479190614a21565b61ffff166105108110611e5c57611e5c6149c6565b63ffffffff909216602092909202015280611e7681614afd565b915050611e0a565b5080611e8981614afd565b915050611def565b50506120ea565b8060ff166001141561201f57606086015186516020880180516000939291611ebf826149dc565b905281518110611ed157611ed16149c6565b016020015160f81c60ff8110611ee957611ee96149c6565b602002015190506120198760400151604051806060016040528060405180604001604052808c600001518d6020018051809190611f25906149dc565b905281518110611f3757611f376149c6565b0160209081015160f81d60030b82528d518e8201805193909201929091611f5d826149dc565b905281518110611f6f57611f6f6149c6565b602001015160f81c60f81b60f81c60000b60030b815250815260200160405180604001604052808c600001518d6020018051809190611fad906149dc565b905281518110611fbf57611fbf6149c6565b0160209081015160f81d60030b82528d518e8201805193909201929091611fe5826149dc565b905281518110611ff757611ff76149c6565b0160209081015160f81d60030b90915290825263ffffffff861691015261294e565b506120ea565b8060ff16600214156120ea57606086015186516020880180516000939291612046826149dc565b905281518110612058576120586149c6565b016020015160f81c60ff8110612070576120706149c6565b602002015190506120e887604001518860000151896020018051809190612096906149dc565b9052815181106120a8576120a86149c6565b016020908101518a51918b01805160f89290921d9291906120c8826149dc565b9052815181106120da576120da6149c6565b016020015160f81d84612b1f565b505b50806120f5816149a2565b915050611d56565b50929392505050565b6000818152600d602052604081205460609161213982156121305761212b8584610bf9565b611926565b61212b85610a59565b905060008160405160200161214e9190614b15565b6040516020818303038152906040529050600960086040518060400160405280601a81526020017919185d184e9a5b5859d94bdcdd99cade1b5b0ed8985cd94d8d0b60321b8152506121a1848551612302565b6040516020016121b2929190614a83565b60405160208183030381529060405260076121cc89612b76565b6121d58a612cd1565b60405160200161198796959493929190614d80565b61141682826040518060200160405280600081525061316a565b816001600160a01b0316836001600160a01b031614156122625760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b6044820152606401610834565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6122da848484611a62565b6122e68484848461319d565b6115525760405162461bcd60e51b815260040161083490614e79565b6060825160001480612312575081155b1561232c5750604080516020810190915260008152610652565b600060405180606001604052806040815260200161540e60409139905060006003612358856002614ac0565b6123629190614ee1565b61236d906004614ef5565b9050600061237c826020614ac0565b6001600160401b038111156123935761239361449c565b6040519080825280601f01601f1916602001820160405280156123bd576020820181803683370190505b509050818152600183018687518101602084015b8183101561242b5760039283018051603f601282901c811687015160f890811b8552600c83901c8216880151811b6001860152600683901c8216880151811b60028601529116860151901b938201939093526004016123d1565b60038a510660018114612445576002811461245657612462565b613d3d60f01b600119830152612462565b603d60f81b6000198301525b50939998505050505050505050565b606060008260600151836040015161248991906149f7565b6124949060036149f7565b61ffff166001600160401b038111156124af576124af61449c565b6040519080825280601f01601f1916602001820160405280156124d9576020820181803683370190505b509150600061250783826040518060400160405280600681526020016547494638396160d01b8152506132aa565b90506125188382866040015161332d565b90506125298382866060015161332d565b905060f76125388483836133c9565b9150612546848360006133c9565b9150612554848360006133c9565b6040805180820190915263ffffffff8216815260016020820152909250905060005b6103008110156125a05761258c858460006133c9565b925080612598816149dc565b915050612576565b506001856000015163ffffffff1611156125ea576125e784836040518060400160405280601381526020016f21ff0b4e45545343415045322e30030160801b8152506132aa565b91505b6125f2614328565b60005b865163ffffffff1681101561282157612610868560216133c9565b935061261e868560f96133c9565b935061262c868560046133c9565b9350600060026001896000015163ffffffff161161264b57600061264e565b60025b60ff16901b176001176126628786836133c9565b94506126a6878660018b6000015163ffffffff161161268257600061332d565b8a6020015185600a8110612698576126986149c6565b60200201516020015161332d565b94506126b4878660006133c9565b94506126c2878660006133c9565b9450506126d18685602c6133c9565b93506126df8685600061332d565b93506126ed8685600061332d565b93506127188685896020015184600a811061270a5761270a6149c6565b60200201516040015161332d565b93506127438685896020015184600a8110612735576127356149c6565b60200201516060015161332d565b935060006127528786836133c9565b94505061275d614349565b6000806127fc8988888d6020015188600a811061277c5761277c6149c6565b60200201516040518060e00160405280600061ffff168152602001600960030b8152602001600063ffffffff168152602001600063ffffffff1681526020018b81526020018981526020016040518060600160405280600063ffffffff168152602001600060030b8152602001600063ffffffff168152508152506133db565b63ffffffff166020880152965083925061281991508290506149dc565b9150506125f5565b5061282e8584603b6133c9565b949663ffffffff909516955050505050565b60008080848461284f816149dc565b955081518110612861576128616149c6565b016020015160f81c905060008585612878816149dc565b96508151811061288a5761288a6149c6565b016020015160f81c9050600086866128a1816149dc565b9750815181106128b3576128b36149c6565b016020015160f81c9050600087876128ca816149dc565b9850815181106128dc576128dc6149c6565b016020015160f81c905060ff848116906128fa9085166101006149f7565b61ffff1661290e60ff851662010000614f14565b62ffffff1661292460ff85166301000000614f36565b61292e9190614f59565b6129389190614f59565b6129429190614f59565b98969750505050505050565b80518051602080840151805193820151910151600392830b93830b9291820b910b600061298361297e8686614f78565b613622565b9050600061299461297e8585614f78565b9050600060028284136129af576129aa83614fb7565b6129b1565b835b6129bb9190614fd4565b90505b6001896040015160010b60006129d49190615002565b6129de919061504b565b60030b87131580156129f1575060008712155b8015612a1f57506001896060015160010b6000612a0e9190615002565b612a18919061504b565b60030b8513155b8015612a2c575060008512155b15612a8157600087868b6040015160010b612a479190615095565b612a51919061511a565b905088604001518a60000151826105108110612a6f57612a6f6149c6565b63ffffffff9092166020929092020152505b8587148015612a8f57508385145b15612a9957612b14565b80612aa384614fb7565b811315612ad857612ab48383614f78565b9150868812612ac557600019612ac8565b60015b612ad59060000b8961511a565b97505b82811215612b0e57612aea848361511a565b9150848612612afb57600019612afe565b60015b612b0b9060000b8761511a565b95505b506129be565b505050505050505050565b60008383866040015160010b612b35919061515b565b612b3f9190615002565b90508185600001518263ffffffff166105108110612b5f57612b5f6149c6565b63ffffffff90921660209290920201525050505050565b60408051604e808252608082019092526060916000919060208201818036833701905050905060005b8315612c09576000612bb2600a866151ea565b9050612bbf600a86614ee1565b9450612bcc816030614ac0565b60f81b8383612bda816149dc565b945081518110612bec57612bec6149c6565b60200101906001600160f81b031916908160001a90535050612b9f565b6000816001600160401b03811115612c2357612c2361449c565b6040519080825280601f01601f191660200182016040528015612c4d576020820181803683370190505b50905060005b82811015612cc8578381612c68600186614aa9565b612c729190614aa9565b81518110612c8257612c826149c6565b602001015160f81c60f81b828281518110612c9f57612c9f6149c6565b60200101906001600160f81b031916908160001a90535080612cc0816149dc565b915050612c53565b50949350505050565b6000818152600a6020526040812080546060929190612cef90614900565b80601f0160208091040260200160405190810160405280929190818152602001828054612d1b90614900565b8015612d685780601f10612d3d57610100808354040283529160200191612d68565b820191906000526020600020905b815481529060010190602001808311612d4b57829003601f168201915b50505050509050600080825111612d7e57600080fd5b6040516d2261747472696275746573223a5b60901b6020820152600090602e0160408051601f19818403018152828201909152600a825269109858dad9dc9bdd5b9960b21b602083015294506000908190612e9c9087906010848989612de3816149dc565b9a5081518110612df557612df56149c6565b0160209081015160f81c82528101919091526040016000208054612e1890614900565b80601f0160208091040260200160405190810160405280929190818152602001828054612e4490614900565b8015612e915780601f10612e6657610100808354040283529160200191612e91565b820191906000526020600020905b815481529060010190602001808311612e7457829003601f168201915b50505050508661363e565b604080518082019091526004815263426f647960e01b6020820152919750935060009250829150612ed79087906011848989612de3816149dc565b9096509250839150612eea9050816149dc565b925050600080612f248660405180604001604052806007815260200166436c6f7468657360c81b81525060126000898980612de3906149dc565b6040805180820190915260048152634579657360e01b6020820152919750935060009250829150612f5f9087906014848989612de3816149dc565b6040805180820190915260048152631219585960e21b6020820152919750935060009250829150612f9a9087906015848989612de3816149dc565b60408051808201909152600581526409adeeae8d60db1b6020820152919750935060009250829150612fd69087906016848989612de3816149dc565b60408051808201909152600b81526a4163636573736f7279204960a81b6020820152919750935060009250829150613018908790600e848989612de3816149dc565b60408051808201909152600c81526b4163636573736f727920494960a01b602082015291975093506000925082915061305b908790600f848989612de3816149dc565b604080518082019091526006815265437573746f6d60d01b60208201529197509350600092508291506130989087906013848989612de3816149dc565b6000898152600d6020526040902054919750935015915061310f905057604080518082018252600981526820b734b6b0ba34b7b760b91b6020808301919091526000888152600c8252838120600d835284822054825290915291822080548392613107928992612e1890614900565b909650925050505b60008061314386604051806040016040528060048152602001634e616d6560e01b81525060176000898980612de3906149dc565b9096509250859150613159905060ff8316612b76565b6040516020016119879291906151fe565b61317483836136ca565b613181600084848461319d565b6107355760405162461bcd60e51b815260040161083490614e79565b60006001600160a01b0384163b1561329f57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906131e1903390899088908890600401615273565b602060405180830381600087803b1580156131fb57600080fd5b505af192505050801561322b575060408051601f3d908101601f19168201909252613228918101906152b0565b60015b613285573d808015613259576040519150601f19603f3d011682016040523d82523d6000602084013e61325e565b606091505b50805161327d5760405162461bcd60e51b815260040161083490614e79565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061169d565b506001949350505050565b6000805b8251811015613324578281815181106132c9576132c96149c6565b01602001516001600160f81b03191685856132e3816149a2565b965063ffffffff16815181106132fb576132fb6149c6565b60200101906001600160f81b031916908160001a9053508061331c816149dc565b9150506132ae565b50919392505050565b60006001600160f81b031960f883901b168484613349816149a2565b955063ffffffff1681518110613361576133616149c6565b60200101906001600160f81b031916908160001a9053506001600160f81b031960f083901b168484613392816149a2565b955063ffffffff16815181106133aa576133aa6149c6565b60200101906001600160f81b031916908160001a905350919392505050565b60008160f81b848480613392906149a2565b6000806133ea878760086133c9565b95506133f8878760006133c9565b600080855260096020860181905260c086015192985090918291613424918b918b9161010091906137ea565b60c0870152875160208901518851929a5060009450849350613450928c929190855b60200201516138da565b63ffffffff91821660208a015216604086015250600190505b8460600151856040015161347d91906149f7565b61ffff168163ffffffff1610156134f7576000806134bc8a89600001518a602001518a600001518763ffffffff166105108110613446576134466149c6565b63ffffffff80831660208c01528116606089015290925090506134e08a8a88613b6c565b9850505080806134ef906149a2565b915050613469565b506000806135148989876040015188602001518960c001516137ea565b60c0870181905260208701519199506000935083925061353b918b918b91610101916137ea565b60c0870181905260200151909850600060039190910b1315915061358b90505761357687878560c001516000015160ff168660c00151613fac565b60c08401805160009081905290516020015295505b60c08301516040015163ffffffff16156136135760c08301516040015160f881901b9088906001906135bd908a6152cd565b6135c791906152cd565b63ffffffff16815181106135dd576135dd6149c6565b60200101906001600160f81b031916908160001a90535060c08301516000604090910181905261361090889088906133c9565b95505b50505050602001519092909150565b60008082121561363a5761363582614fb7565b610652565b5090565b6060600080845111156136bb578261365581614a47565b9350508560018460ff16116136795760405180602001604052806000815250613694565b604051806040016040528060018152602001600b60fa1b8152505b86866040516020016136a994939291906152f2565b60405160208183030381529060405295505b50849050815b94509492505050565b6001600160a01b0382166137205760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610834565b6137298161189b565b156137755760405162461bcd60e51b815260206004820152601c60248201527b115490cdcc8c4e881d1bdad95b88185b1c9958591e481b5a5b9d195960221b6044820152606401610834565b6001600160a01b038216600090815260036020526040812080546001929061379e908490614ac0565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b038616908117909155905183929060008051602061544e833981519152908290a45050565b604080516060810182526000808252602082018190529181018290525b60008460030b13156138ce57600061382f858560200151600861382a919061504b565b614047565b90506000613847600163ffffffff841681901b6152cd565b602086018051875163ffffffff848c1681168184161b9091171688529192508391613873908390615002565b60030b905250613883828761504b565b95508163ffffffff168763ffffffff16901c9650846020015160030b600814156138c7576138ba8989876000015160ff1688613fac565b6000808752602087015297505b5050613807565b50939590945092505050565b60008060ff601884901c8116146138f6575082905060006136c1565b60015b8463ffffffff168163ffffffff161015613a185760ff601085901c1687613921836003614f36565b61392b9089614f59565b613936906000614f59565b63ffffffff168151811061394c5761394c6149c6565b016020015160f81c1461395e57613a06565b60ff600885901c1687613972836003614f36565b61397c9089614f59565b613987906001614f59565b63ffffffff168151811061399d5761399d6149c6565b016020015160f81c146139af57613a06565b60ff8416876139bf836003614f36565b6139c99089614f59565b6139d4906002614f59565b63ffffffff16815181106139ea576139ea6149c6565b016020015160f81c146139fc57613a06565b84925090506136c1565b80613a10816149a2565b9150506138f9565b8463ffffffff166101001415613a3f5784613a3588888888614066565b92509250506136c1565b6001600160f81b031960e885901b1687613a5a876003614f36565b613a649089614f59565b613a6f906000614f59565b63ffffffff1681518110613a8557613a856149c6565b60200101906001600160f81b031916908160001a9053506001600160f81b031960f085901b1687613ab7876003614f36565b613ac19089614f59565b613acc906001614f59565b63ffffffff1681518110613ae257613ae26149c6565b60200101906001600160f81b031916908160001a9053506001600160f81b031960f885901b1687613b14876003614f36565b613b1e9089614f59565b613b29906002614f59565b63ffffffff1681518110613b3f57613b3f6149c6565b60200101906001600160f81b031916908160001a905350613b61856001614f59565b8592509250506136c1565b6000806000905060008060008560a00151866040015163ffffffff166110008110613b9957613b996149c6565b602002015161ffff1690505b63ffffffff811615613cb05760808601519093508390613bc7610102836152cd565b63ffffffff16610efe8110613bde57613bde6149c6565b602002015160ff1692508263ffffffff16866060015163ffffffff161415613c155763ffffffff8116604087015260019150613cb0565b8263ffffffff16866060015163ffffffff161015613c71576080860151610fff90600890613c45610102856152cd565b63ffffffff16610efe8110613c5c57613c5c6149c6565b602002015163ffffffff16901c169050613ba5565b6080860151601490613c85610102846152cd565b63ffffffff16610efe8110613c9c57613c9c6149c6565b602002015163ffffffff16901c9050613ba5565b5080613fa157600080613cd2898989604001518a602001518b60c001516137ea565b60c08901529750613ceb9150610102905061100061538c565b61ffff16856000015161ffff161415613d8157600080613d1889896101008a602001518b60c001516137ea565b60c0890152975060009150505b61100061ffff82161015613d705760008660a001518261ffff166110008110613d5057613d506149c6565b61ffff909216602092909202015280613d6881614afd565b915050613d25565b506000855260096020860152613f90565b63ffffffff8316613dce578451613d9a90610102614a21565b8560a00151866040015163ffffffff166110008110613dbb57613dbb6149c6565b61ffff9092166020929092020152613f0b565b8163ffffffff16856060015163ffffffff161015613e7a578451600890613df790610102614a21565b608087015161ffff9190911690911b90620fff001990613e19610102876152cd565b63ffffffff16610efe8110613e3057613e306149c6565b60200201511617856080015161010261ffff1685613e4e91906152cd565b63ffffffff16610efe8110613e6557613e656149c6565b63ffffffff9092166020929092020152613f0b565b8451601490613e8b90610102614a21565b608087015161ffff9190911690911b9063fff000001990613eae610102876152cd565b63ffffffff16610efe8110613ec557613ec56149c6565b60200201511617856080015161010261ffff1685613ee391906152cd565b63ffffffff16610efe8110613efa57613efa6149c6565b63ffffffff90921660209290920201525b60208501518551600163ffffffff9283161b90911690613f2d90610102614a21565b61ffff161415613f4e5760208501805190613f47826153a7565b60030b9052505b60608501516080860151865187613f6482614afd565b61ffff90811690915216610efe8110613f7f57613f7f6149c6565b63ffffffff90921660209290920201525b606085015163ffffffff1660408601525b509395945050505050565b6000613fb98585856133c9565b604083018051919550613fcb826149a2565b63ffffffff1663ffffffff1681525050816040015163ffffffff1660ff1415613324576001600160f81b031985614004610100876152cd565b63ffffffff168151811061401a5761401a6149c6565b60200101906001600160f81b031916908160001a9053506000604083018190526109dc90869086906133c9565b60008160030b8360030b131561405d578161405f565b825b9392505050565b600063ffffffff8160015b8563ffffffff168163ffffffff1610156141e95760008061ffff601088901c168a61409d856003614f36565b6140a7908c614f59565b6140b2906000614f59565b63ffffffff16815181106140c8576140c86149c6565b01602001516140da919060f81c6153c1565b9050600062ffffff600889901c168b6140f4866003614f36565b6140fe908d614f59565b614109906001614f59565b63ffffffff168151811061411f5761411f6149c6565b0160200151614131919060f81c6153c1565b9050600063ffffffff89168c614148876003614f36565b614152908e614f59565b61415d906002614f59565b63ffffffff1681518110614173576141736149c6565b0160200151614185919060f81c6153c1565b905061419181806153e4565b61419b83806153e4565b6141a585806153e4565b6141af9190614ad8565b6141b99190614ad8565b60ff16935050505063ffffffff84168110156141d6578093508192505b50806141e1816149a2565b915050614071565b509695505050505050565b82805461420090614900565b90600052602060002090601f0160209004810192826142225760008555614268565b82601f1061423b57805160ff1916838001178555614268565b82800160010185558215614268579182015b8281111561426857825182559160200191906001019061424d565b5061363a92915061436a565b6040518060800160405280600063ffffffff16815260200161429461437f565b815260006020820181905260409091015290565b60405180608001604052806142bb6143ad565b81526000602082018190526040820181905260609091015290565b60405180611fe0016040528060ff906020820280368337509192915050565b604051806080016040528060608152602001600081526020016143166142a8565b81526020016143236142d6565b905290565b604051806201dfc00160405280610efe906020820280368337509192915050565b60405180620200000160405280611000906020820280368337509192915050565b5b8082111561363a576000815560010161436b565b604051806101400160405280600a905b6143976142a8565b81526020019060019003908161438f5790505090565b6040518061a2000160405280610510906020820280368337509192915050565b6001600160e01b03198116811461140857600080fd5b6000602082840312156143f557600080fd5b813561405f816143cd565b803560ff8116811461441157600080fd5b919050565b60006020828403121561442857600080fd5b61405f82614400565b60005b8381101561444c578181015183820152602001614434565b838111156115525750506000910152565b60008151808452614475816020860160208601614431565b601f01601f19169290920160200192915050565b60208152600061405f602083018461445d565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126144c357600080fd5b81356001600160401b03808211156144dd576144dd61449c565b604051601f8301601f19908116603f011681019082821181831017156145055761450561449c565b8160405283815286602085880101111561451e57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806040838503121561455157600080fd5b61455a83614400565b915060208301356001600160401b0381111561457557600080fd5b614581858286016144b2565b9150509250929050565b60006020828403121561459d57600080fd5b5035919050565b80356001600160a01b038116811461441157600080fd5b600080604083850312156145ce57600080fd5b6145d7836145a4565b946020939093013593505050565b600080604083850312156145f857600080fd5b50508035926020909101359150565b60008060006060848603121561461c57600080fd5b614625846145a4565b9250614633602085016145a4565b9150604084013590509250925092565b6000620658208201905063ffffffff8084511683526020808501518185016000805b600a8110156146de578351805184845b6105108110156146955782518a1682529188019190880190600101614675565b5050508086015161ffff90811661a20086015260408201511661a220850152606001516146c961a24085018261ffff169052565b509284019261a2609290920191600101614665565b50505050505060408301516146fb620657e084018261ffff169052565b506060929092015161ffff1662065800919091015290565b6000806040838503121561472657600080fd5b8235915060208301356001600160401b0381111561457557600080fd5b60006020828403121561475557600080fd5b61405f826145a4565b60008060006060848603121561477357600080fd5b83356001600160401b038082111561478a57600080fd5b614796878388016144b2565b945060208601359150808211156147ac57600080fd5b6147b8878388016144b2565b935060408601359150808211156147ce57600080fd5b506147db868287016144b2565b9150509250925092565b600080604083850312156147f857600080fd5b614801836145a4565b91506020830135801515811461481657600080fd5b809150509250929050565b60008060006060848603121561483657600080fd5b833592506020840135915060408401356001600160401b0381111561485a57600080fd5b6147db868287016144b2565b6000806000806080858703121561487c57600080fd5b614885856145a4565b9350614893602086016145a4565b92506040850135915060608501356001600160401b038111156148b557600080fd5b6148c1878288016144b2565b91505092959194509250565b600080604083850312156148e057600080fd5b6148e9836145a4565b91506148f7602084016145a4565b90509250929050565b600181811c9082168061491457607f821691505b6020821081141561493557634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b600063ffffffff808316818114156149bc576149bc61498c565b6001019392505050565b634e487b7160e01b600052603260045260246000fd5b60006000198214156149f0576149f061498c565b5060010190565b600061ffff80831681851681830481118215151615614a1857614a1861498c565b02949350505050565b600061ffff808316818516808303821115614a3e57614a3e61498c565b01949350505050565b600060ff821660ff811415614a5e57614a5e61498c565b60010192915050565b60008151614a79818560208601614431565b9290920192915050565b60008351614a95818460208801614431565b835190830190614a3e818360208801614431565b600082821015614abb57614abb61498c565b500390565b60008219821115614ad357614ad361498c565b500190565b600060ff821660ff84168060ff03821115614af557614af561498c565b019392505050565b600061ffff808316818114156149bc576149bc61498c565b7f3c7376672076657273696f6e3d22312e312220786d6c6e733d22687474703a2f81527f2f7777772e77332e6f72672f323030302f7376672220786d6c6e733a786c696e60208201527f6b3d22687474703a2f2f7777772e77332e6f72672f313939392f786c696e6b2260408201527f20783d223070782220793d22307078222076696577426f783d2230203020313060608201527f302031303022207374796c653d22656e61626c652d6261636b67726f756e643a60808201527f6e65772030203020313030203130303b2220786d6c3a73706163653d2270726560a08201526639b2b93b32911f60c91b60c08201527f3c696d616765207374796c653d22696d6167652d72656e646572696e673a2d6d60c78201527f6f7a2d63726973702d65646765733b696d6167652d72656e646572696e673a2d60e78201527f7765626b69742d63726973702d65646765733b696d6167652d72656e646572696101078201527f6e673a706978656c617465643b222077696474683d2231303022206865696768610127820152733a1e9118981811103c3634b7359d343932b31e9160611b610147820152600061405f614cd161015b840185614a67565b6811179f1e17b9bb339f60b91b815260090190565b8054600090600181811c9080831680614d0057607f831692505b6020808410821415614d2257634e487b7160e01b600052602260045260246000fd5b818015614d365760018114614d4757614d74565b60ff19861689528489019650614d74565b60008881526020902060005b86811015614d6c5781548b820152908501908301614d53565b505084890196505b50505050505092915050565b6f3d913232b9b1b934b83a34b7b7111d1160811b81526000614da56010830189614ce6565b7111161132bc3a32b93730b62fbab936111d1160711b8152614dca6012820189614ce6565b6f11161134b6b0b3b2afb230ba30911d1160811b81528751909150614df6816010840160208b01614431565b691116113730b6b2911d1160b11b60109290910191820152614e1b601a820187614ce6565b905061202360f01b81528451614e38816002840160208901614431565b61088b60f21b600292909101918201528351614e5b816004840160208801614431565b607d60f81b6004929091019182015260050198975050505050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b600082614ef057614ef0614ecb565b500490565b6000816000190483118215151615614f0f57614f0f61498c565b500290565b600062ffffff80831681851681830481118215151615614a1857614a1861498c565b600063ffffffff80831681851681830481118215151615614a1857614a1861498c565b600063ffffffff808316818516808303821115614a3e57614a3e61498c565b60008083128015600160ff1b850184121615614f9657614f9661498c565b6001600160ff1b0384018313811615614fb157614fb161498c565b50500390565b6000600160ff1b821415614fcd57614fcd61498c565b5060000390565b600082614fe357614fe3614ecb565b600160ff1b821460001984141615614ffd57614ffd61498c565b500590565b60008160030b8360030b6000821282637fffffff038213811516156150295761502961498c565b82637fffffff190382128116156150425761504261498c565b50019392505050565b60008160030b8360030b6000811281637fffffff19018312811516156150735761507361498c565b81637fffffff01831381161561508b5761508b61498c565b5090039392505050565b60006001600160ff1b03818413828413808216868404861116156150bb576150bb61498c565b600160ff1b60008712828116878305891216156150da576150da61498c565b600087129250878205871284841616156150f6576150f661498c565b8785058712818416161561510c5761510c61498c565b505050929093029392505050565b600080821280156001600160ff1b038490038513161561513c5761513c61498c565b600160ff1b83900384128116156151555761515561498c565b50500190565b60008160030b8360030b637fffffff6000821360008413838304851182821616156151885761518861498c565b637fffffff1960008512828116878305871216156151a8576151a861498c565b600087129250858205871284841616156151c4576151c461498c565b858505871281841616156151da576151da61498c565b5050509290910295945050505050565b6000826151f9576151f9614ecb565b500690565b60008351615210818460208801614431565b80830190507f2c7b2274726169745f74797065223a222320547261697473222c2276616c7565815262111d1160e91b60208201528351615257816023840160208801614431565b62227d5d60e81b60239290910191820152602601949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906152a69083018461445d565b9695505050505050565b6000602082840312156152c257600080fd5b815161405f816143cd565b600063ffffffff838116908316818110156152ea576152ea61498c565b039392505050565b60008551615304818460208a01614431565b855190830190615318818360208a01614431565b6e3d913a3930b4ba2fba3cb832911d1160891b9101908152845161534381600f840160208901614431565b6a1116113b30b63ab2911d1160a91b600f9290910191820152835161536f81601a840160208801614431565b61227d60f01b601a9290910191820152601c019695505050505050565b600061ffff838116908316818110156152ea576152ea61498c565b60008160030b637fffffff811415614a5e57614a5e61498c565b600060ff821660ff8416808210156153db576153db61498c565b90039392505050565b600060ff821660ff84168160ff04811182151516156154055761540561498c565b02939250505056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efaf80443d368c70a4ed2ee587233722b4f8cdc67c63a6e083a704bfaf6119acd4a26469706673582212206e1d5e6bc5bb4c098c769305031ca51cbb69bf17d1d196a2799b62123963bbd064736f6c634300080900334c69636b6564202d20446f6e2774204c6f6f6b20696e20746865204d6972726f724120736d616c6c2c2077617274792c20616d70686962696f75732063726561747572652074686174207265736964657320696e20746865206d65746176657273652028616e6420656e746972656c79206f6e2074686520626c6f636b636861696e292e

Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.

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.