Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
1,020 DEER
Holders
267
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 DEERLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DearDeer
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 1000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: AGPL-3.0-only /* * \_\_ _/_/ * \___/ * ~(0 0)~ * ____/(._.) * / * ___ / * || * || * */ pragma solidity 0.8.9; import "base64-sol/base64.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; interface ISpriteRouter { function getSprite(uint8 partId, uint8 typeId, uint8 spriteId) external view returns (string memory); } contract DearDeer is ERC721Enumerable { mapping(uint => bool) DNAMinted; mapping(uint => uint) DeerDNA; uint public MINT_PRICE = 0.05 ether; uint public MAX_SUPPLY = 5000; uint public MAX_MINT_PER_WALLET = 5; uint public MAX_MINT_PER_TX = 5; uint PRNG_ENT = 27; bool public MINT_IS_ON; bool public MINT_IS_PUBLIC; bool public REVEALED; bytes32 merkleRoot; address public owner; address public dao; uint16[][46] WEIGHTS; string[] GENDER = ["Male", "Female"]; string[] FUR = ["Beastie", "Brown", "Elfie", "Frosty", "Ghost", "Golden", "Grey", "Pink", "Dr. Quantum"]; string[] HAIR_COLOR = ["Black", "Blonde", "Brown", "Bubblegum", "Night", "Purple", "Red", "Shameless", "Sh\xC5\x8Dsa", "Swampy", "White"]; string[] HAIR_STYLE = ["Average Dystopian Choice", "Elizabeth Theorem", "My Beloved", "Nuke 'Em", "Ouch", "Simply Free", "Spiky Originality", "Straight Grace", "Straight Grace With Curl", "The Princess", "Two Hot Buns", "Wine Consequence"]; string[] FRECKLES = ["Yes", "No"]; string[] EYES = ["Beyond Your Glasses", "Donate Me", "Hasta la Vista Baby", "I'm Tired", "Jazz", "Lively", "Lookers", "Midnight Movie", "Mildly Lovable", "Nuke Protectors", "Our Mutual Friend", "Pass the Boof", "Rectangular", "Red Menace", "Seduction", "Tired of Being Beautiful", "Unforgettable Moment"]; string[] BROWS = ["A Little Nervous", "Are They Drawn", "Be Gentle", "Be Harsh", "Big One", "Just Looking", "Seriously"]; string[] BEARD = ["A Brick of Hair", "Czar", "Hobo", "No Match", "Stasis", "Time Traveler", "None"]; string[] MOUTH = ["A Bit Happy", "Big Smile", "Confused", "Doomer", "Froggy", "No Mercy", "Not Too Pathetic", "Sheep Ancestors", "Smug", "Stunned", "Subscribe to My OnlyDeers", "Sweet Tooth"]; string[] EARS = ["Floppers", "I'm All Ears", "Little Cutie", "Mildly Cuter"]; string[] EARRINGS = ["Cheap Diamonds", "Praise ETH", "Thunderstorm", "Triple Pierce", "None"]; string[] NOSE = ["Bridged", "Cute-N-Small", "Flat Pierced", "Northern Hint", "Nosey", "Santa's Helper", "Second Heart", "Silver for Deers"]; string[] ANTLERS = ["Brave One", "Devil Within", "Hard Fought", "Lovable", "Pointers", "Shroom Blue", "Shroom Noisy", "Shroom Red", "Sigma", "Spy Among Us"]; string[] ANTLER_ACCESSORY = ["4 Star Hotel", "That'll Do", "Desperate", "Afterparty", "Antennas", "Occasional Forager", "Plastic World", "None"]; string[] CLOTHES = ["A Link", "Apples", "Cheapest Choice", "Deers in Black", "Easy to Stain", "Favourite Servant", "Fountain Lover", "Heavy Suit", "I Live For This Shit", "Junkie", "Nuke Pack", "Ode to the Carpet", "Opened Up", "Smells Like Teen Spirit", "Spider Silk", "Surprise!", "Teufort Classic", "Too Tight for Space", "Upper Gift", "What Sweet Dreams Are Made Of", "Worker", "Young Producer", "Naked"]; // He-he naked string[] BACKGROUND = ["Blue", "Dark Blue", "Green", "Lime", "Pink", "Red", "Violet", "Yellow"]; string SVG_HEADER = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 72 72" id="deer">'; string SVG_FOOTER = '<style>#deer {image-rendering: pixelated; image-rendering: -moz-crisp-edges; image-rendering: -webkit-crisp-edges; -ms-interpolation-mode: nearest-neighbor;}</style></svg>'; string SVG_IMAGE_TAG = '<image width="100%" height="100%" href="data:image/png;base64,'; string description = 'Dear Deer is a collection of hardcore onchain pixel art PFPs. Each deer is generated at the time of mint. No IPFS, no API, both metadata and graphics are stored on Ethereum forever.'; ISpriteRouter spriteRouter; constructor() ERC721("Dear Deer", "DEER") { owner = msg.sender; WEIGHTS[0] = [5000, 5000]; // gender WEIGHTS[1] = [300, 2500, 400, 400, 300, 1500, 3000, 1500, 100]; // fur_m WEIGHTS[2] = [300, 3000, 400, 400, 300, 1500, 2500, 1500, 100]; // fur_f WEIGHTS[3] = [1200, 3000, 3000, 100, 500, 500, 500, 500, 100, 500, 100]; // hair_color_m WEIGHTS[4] = [1100, 3000, 2000, 400, 800, 800, 800, 500, 200, 200, 200]; // hair_color_f WEIGHTS[5] = [2000, 0, 0, 1000, 2000, 2300, 2700, 0, 0, 0, 0, 0]; // hair_style_m WEIGHTS[6] = [1200, 1300, 1300, 0, 200, 0, 800, 1100, 800, 1100, 1100, 1100]; // hair_style_f WEIGHTS[7] = [1000, 9000]; // freckles_m WEIGHTS[8] = [5000, 5000]; // freckles_f // eyes_m WEIGHTS[9] = [900, 0, 10, 1100, 300, 1800, 1000, 100, 0, 1000, 1000, 500, 1890, 200, 0, 200, 0]; // eyes_f WEIGHTS[10] = [1200, 1000, 0, 100, 200, 1000, 1200, 100, 1500, 100, 700, 100, 100, 100, 1400, 700, 500]; WEIGHTS[11] = [1000, 1000, 1000, 2000, 2000, 1500, 1500]; // brows_m WEIGHTS[12] = [1500, 1000, 2000, 1000, 1000, 1500, 2000]; // brows_f WEIGHTS[13] = [1000, 500, 700, 400, 1400, 1000, 5000]; // beard_m WEIGHTS[14] = [0, 0, 0, 0, 0, 0, 10000]; // beard_f WEIGHTS[15] = [2000, 0, 1300, 0, 0, 0, 6700]; // beard_confused WEIGHTS[16] = [2000, 0, 1300, 0, 0, 0, 6700]; // beard_doomer WEIGHTS[17] = [2000, 0, 1300, 0, 0, 0, 6700]; // beard_froggy WEIGHTS[18] = [1100, 500, 900, 100, 0, 1000, 6400]; // beard_not_too_pathetic WEIGHTS[19] = [1100, 200, 800, 0, 0, 1000, 6900]; // beard_smug WEIGHTS[20] = [1200, 200, 1200, 400, 0, 100, 6900]; // beard_sweet_tooth WEIGHTS[21] = [1200, 1000, 900, 800, 1000, 1000, 700, 600, 700, 1500, 100, 500]; // mouth_m WEIGHTS[22] = [1000, 1500, 800, 300, 600, 200, 1000, 800, 900, 1200, 500, 1200]; // mouth_f WEIGHTS[23] = [3000, 3000, 2000, 2000]; // ears_m WEIGHTS[24] = [2000, 2000, 3000, 3000]; // ears_f WEIGHTS[25] = [0, 10, 0, 900, 9090]; // earrings_m WEIGHTS[26] = [1300, 200, 1100, 1400, 6000]; // earrings_f WEIGHTS[27] = [500, 2000, 500, 1000, 4000, 500, 1000, 500]; // nose_m WEIGHTS[28] = [500, 2000, 500, 1000, 4000, 500, 1000, 500]; // nose_f WEIGHTS[29] = [0, 2300, 600, 800, 4000, 600, 1100, 600]; // nose_bridged WEIGHTS[30] = [2500, 1100, 2000, 800, 2100, 75, 50, 150, 1025, 200]; // antlers_m WEIGHTS[31] = [2250, 1050, 1650, 2000, 1650, 75, 50, 150, 925, 200]; // antlers_f WEIGHTS[32] = [400, 1000, 0, 0, 0, 0, 0, 8600]; // antler_accessory_brave_one_m WEIGHTS[33] = [300, 500, 0, 0, 0, 0, 0, 9200]; // antler_accessory_brave_one_f WEIGHTS[34] = [0, 0, 500, 0, 0, 0, 0, 9500]; // antler_accessory_hard_fought_m WEIGHTS[35] = [0, 0, 100, 0, 0, 0, 0, 9900]; // antler_accessory_hard_fought_f WEIGHTS[36] = [0, 0, 0, 200, 200, 0, 0, 9600]; // antler_accessory_lovable_m WEIGHTS[37] = [0, 0, 0, 400, 400, 0, 0, 9200]; // antler_accessory_lovable_f WEIGHTS[38] = [0, 0, 0, 0, 0, 300, 100, 9600]; // antler_accessory_pointers_m WEIGHTS[39] = [0, 0, 0, 0, 0, 500, 100, 9400]; // antler_accessory_pointers_f // clothes_m WEIGHTS[40] = [700, 0, 1600, 400, 400, 0, 300, 100, 500, 800, 100, 100, 1100, 300, 0, 0, 200, 0, 0, 100, 1400, 1000, 900]; // clothes_f WEIGHTS[41] = [700, 400, 1400, 400, 400, 200, 0, 0, 500, 800, 0, 0, 700, 300, 300, 300, 200, 200, 400, 100, 1400, 1100, 200]; WEIGHTS[42] = [1250, 1250, 1250, 1250, 1250, 1250, 1250, 1250]; // background WEIGHTS[43] = [1700, 1700, 1700, 1700, 0, 0, 1500, 1700]; // background_bubblegum WEIGHTS[44] = [1450, 1500, 1450, 1400, 1400, 1400, 1400, 0]; // background_blonde WEIGHTS[45] = [1450, 0, 1450, 1400, 1400, 1450, 1450, 1400]; // background_white devMint(); } // MINT FUNCTIONS function whiteListMint(uint deer_num, bytes32[] calldata merkleProof) external payable { bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); require(MerkleProof.verify(merkleProof, merkleRoot, leaf), "Not whitelisted"); require(MINT_IS_ON, "Mint is off"); require(deer_num <= MAX_MINT_PER_TX, "Mint per tx cap"); require(balanceOf(msg.sender) + deer_num <= MAX_MINT_PER_WALLET, "Mint per wallet cap"); require(totalSupply() + deer_num <= MAX_SUPPLY, "Supply cap"); require(MINT_PRICE * deer_num <= msg.value, "Not enough ETH"); require(!isContract(msg.sender)); for (uint i = 0; i < deer_num; i++) { mintDeer(); } } function mint(uint deer_num) external payable { require(MINT_IS_ON, "Mint is off"); require(MINT_IS_PUBLIC, "Public mint not started"); require(deer_num <= MAX_MINT_PER_TX, "Mint per tx cap"); require(balanceOf(msg.sender) + deer_num <= MAX_MINT_PER_WALLET, "Mint per wallet cap"); require(totalSupply() + deer_num <= MAX_SUPPLY, "Supply cap"); require(MINT_PRICE * deer_num <= msg.value, "Not enough ETH"); require(!isContract(msg.sender)); for (uint i = 0; i < deer_num; i++) { mintDeer(); } } function devMint() internal { for (uint i = 0; i < 100; i++) { mintDeer(); } } function mintDeer() internal { uint tokenId = totalSupply(); uint DNA = generateDNA(tokenId); DeerDNA[tokenId] = DNA; DNAMinted[DNA] = true; _mint(msg.sender, tokenId); } function generateDNA(uint tokenId) internal returns (uint) { PRNG_ENT++; uint DNA = uint(keccak256(abi.encodePacked(block.difficulty, block.timestamp, msg.sender, tokenId, PRNG_ENT))); if (DNAMinted[DNA]) return generateDNA(tokenId); return DNA; } // VIEW FUNCTIONS function tokenURI(uint tokenId) public view override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); if (!REVEALED) { return string( abi.encodePacked( 'data:application/json;base64,', Base64.encode( bytes( abi.encodePacked( '{"description": "', description, '",', '"image": "ipfs://bafybeifywnwas6zc3nim6eil76kkdgvfpctkr6ngy7sjiogj7losr4kdya/"}' // the only use of IPFS is this temp placeholder gif before reveal ) ) ) ) ); } uint8[16] memory deer = getDeer(tokenId); return string( abi.encodePacked( 'data:application/json;base64,', Base64.encode( bytes( abi.encodePacked( '{"name": "Dear Deer #', uintToString(tokenId), '",', '"description": "', description, '",', '"image": "', renderImage(deer), '",', formatTraits(deer), '}' ) ) ) ) ); } function getDeer(uint tokenId) public view returns (uint8[16] memory) { uint16[16] memory genes = sequenceDNA(DeerDNA[tokenId]); uint8[16] memory deer; // 0 gender // 1 fur // 2 hair_color // 3 hair_style // 4 freckles // 5 eyes // 6 brows // 7 beard // 8 mouth // 9 ears // 10 earrings // 11 nose // 12 antlers // 13 antler_accessory // 14 clothes // 15 background deer[0] = wrand(genes[0], 0); if (deer[0] == 0) { deer[1] = wrand(genes[1], 1); deer[2] = wrand(genes[2], 3); deer[3] = wrand(genes[3], 5); deer[4] = wrand(genes[4], 7); deer[5] = wrand(genes[5], 9); deer[6] = wrand(genes[6], 11); deer[8] = wrand(genes[8], 21); if (deer[8] == 2) { deer[7] = wrand(genes[7], 15); } else if (deer[8] == 3) { deer[7] = wrand(genes[7], 16); } else if (deer[8] == 4) { deer[7] = wrand(genes[7], 17); } else if (deer[8] == 6) { deer[7] = wrand(genes[7], 18); } else if (deer[8] == 8) { deer[7] = wrand(genes[7], 19); } else if (deer[8] == 11) { deer[7] = wrand(genes[7], 20); } else { deer[7] = wrand(genes[7], 13); } deer[9] = wrand(genes[9], 23); deer[10] = wrand(genes[10], 25); if (deer[5] == 0 || deer[5] == 4 || deer[5] == 7 || deer[5] == 9 || deer[5] == 10 || deer[5] == 13) { deer[11] = wrand(genes[11], 29); } else { deer[11] = wrand(genes[11], 27); } deer[12] = wrand(genes[12], 30); if (deer[12] == 0) { deer[13] = wrand(genes[13], 32); } else if (deer[12] == 2) { deer[13] = wrand(genes[13], 34); } else if (deer[12] == 3) { deer[13] = wrand(genes[13], 36); } else if (deer[12] == 4) { deer[13] = wrand(genes[13], 38); } else { deer[13] = 7; } deer[14] = wrand(genes[14], 40); } else { deer[1] = wrand(genes[1], 2); deer[2] = wrand(genes[2], 4); deer[3] = wrand(genes[3], 6); deer[4] = wrand(genes[4], 8); deer[5] = wrand(genes[5], 10); deer[6] = wrand(genes[6], 12); deer[7] = wrand(genes[7], 14); deer[8] = wrand(genes[8], 22); deer[9] = wrand(genes[9], 24); deer[10] = wrand(genes[10], 26); if (deer[5] == 0 || deer[5] == 4 || deer[5] == 7 || deer[5] == 9 || deer[5] == 10 || deer[5] == 13) { deer[11] = wrand(genes[11], 29); } else { deer[11] = wrand(genes[11], 28); } deer[12] = wrand(genes[12], 31); if (deer[12] == 0) { deer[13] = wrand(genes[13], 33); } else if (deer[12] == 2) { deer[13] = wrand(genes[13], 35); } else if (deer[12] == 3) { deer[13] = wrand(genes[13], 37); } else if (deer[12] == 4) { deer[13] = wrand(genes[13], 39); } else { deer[13] = 7; } deer[14] = wrand(genes[14], 41); } if (deer[2] == 3) { deer[15] = wrand(genes[15], 43); } else if (deer[2] == 1) { deer[15] = wrand(genes[15], 44); } else if (deer[2] == 10) { deer[15] = wrand(genes[15], 45); } else { deer[15] = wrand(genes[15], 42); } return deer; // Oh, deer, head hurts. But it works. } function sequenceDNA(uint DNA) internal pure returns (uint16[16] memory) { uint16[16] memory genes; for (uint8 i = 0; i < 16; i++) { genes[i] = uint16(DNA % 10000); DNA /= 10000; } return genes; } function wrand(uint16 gene, uint8 weightsListIndex) internal view returns (uint8 trait_index) { for (uint8 i = 0; i < WEIGHTS[weightsListIndex].length; i++) { uint16 current = WEIGHTS[weightsListIndex][i]; if (gene < current) { return i; } gene -= current; } revert(); } function renderImage(uint8[16] memory deer) internal view returns (string memory) { return string( abi.encodePacked( 'data:image/svg+xml;base64,', Base64.encode( bytes( abi.encodePacked( SVG_HEADER, composeSprites(deer), SVG_FOOTER ) ) ) ) ); } function composeSprites(uint8[16] memory deer) internal view returns (string memory) { string memory comp1 = string(abi.encodePacked( renderSprite(spriteRouter.getSprite(0, 0, deer[15])), // background renderSprite(spriteRouter.getSprite(1, deer[0], deer[1])), // body renderSprite(spriteRouter.getSprite(3, deer[1], deer[6])), // brows deer[4] == 0 ? renderSprite(spriteRouter.getSprite(2, 0, 0)) : '' // freckles )); string memory comp2 = ''; if (deer[3] == 0 || deer[3] == 9 || deer[3] == 11) { // if over ear hair style comp2 = string(abi.encodePacked( renderSprite(spriteRouter.getSprite(5, deer[1], deer[9])), // ears deer[10] != 4 ? renderSprite(spriteRouter.getSprite(6, deer[9], deer[10])) : '', // earrings renderSprite(spriteRouter.getSprite(7, 0, deer[5])), // eyes renderSprite(spriteRouter.getSprite(4, deer[2], deer[3])) // hair )); } else { // if regular hair style comp2 = string(abi.encodePacked( renderSprite(spriteRouter.getSprite(4, deer[2], deer[3])), // hair renderSprite(spriteRouter.getSprite(5, deer[1], deer[9])), // ears deer[10] != 4 ? renderSprite(spriteRouter.getSprite(6, deer[9], deer[10])) : '', // earrings renderSprite(spriteRouter.getSprite(7, 0, deer[5])) // eyes )); } bool overmouth; if ((deer[7] == 1 || deer[7] == 5) && (deer[8] != 5)) { overmouth = true; } string memory comp3 = string(abi.encodePacked( deer[14] != 22 ? renderSprite(spriteRouter.getSprite(8, deer[0], deer[14])) : '', // clothes deer[7] != 6 ? renderSprite(spriteRouter.getSprite(9, deer[2], deer[7])) : '', // beard renderSprite(spriteRouter.getSprite(10, 0, deer[8])), // mouth overmouth ? renderSprite(spriteRouter.getSprite(9, deer[2], 5)) : '' // check over mouth beard style )); string memory comp4 = string(abi.encodePacked( renderSprite(spriteRouter.getSprite(11, deer[1], deer[11])), // nose renderSprite(spriteRouter.getSprite(12, 0, deer[12])), // antlers deer[13] != 7 ? renderSprite(spriteRouter.getSprite(13, 0, deer[13])) : '' // antler_accessory )); return string(abi.encodePacked(comp1, comp2, comp3, comp4)); } function renderSprite(string memory sprite) internal view returns (string memory) { return string(abi.encodePacked( SVG_IMAGE_TAG, sprite, '"/>' )); } function formatTraits(uint8[16] memory deer) internal view returns (string memory) { string memory part1 = string(abi.encodePacked( '"attributes": [', '{"trait_type": "Gender", "value": "', GENDER[deer[0]], '"},', '{"trait_type": "Fur", "value": "', FUR[deer[1]], '"},', '{"trait_type": "Hair Color", "value": "', HAIR_COLOR[deer[2]], '"},', '{"trait_type": "Hair Style", "value": "', HAIR_STYLE[deer[3]], '"},', '{"trait_type": "Freckles", "value": "', FRECKLES[deer[4]], '"},' )); string memory part2 = string(abi.encodePacked( '{"trait_type": "Eyes", "value": "', EYES[deer[5]], '"},', '{"trait_type": "Brows", "value": "', BROWS[deer[6]], '"},' '{"trait_type": "Beard", "value": "', BEARD[deer[7]], '"},', '{"trait_type": "Mouth", "value": "', MOUTH[deer[8]], '"},', '{"trait_type": "Ears", "value": "', EARS[deer[9]], '"},', '{"trait_type": "Earrings", "value": "', EARRINGS[deer[10]], '"},' )); string memory part3 = string(abi.encodePacked( '{"trait_type": "Nose", "value": "', NOSE[deer[11]], '"},', '{"trait_type": "Antlers", "value": "', ANTLERS[deer[12]], '"},', '{"trait_type": "Antler Accessory", "value": "', ANTLER_ACCESSORY[deer[13]], '"},', '{"trait_type": "Clothes", "value": "', CLOTHES[deer[14]], '"},', '{"trait_type": "Background", "value": "', BACKGROUND[deer[15]], '"}]' )); return string(abi.encodePacked(part1, part2, part3)); } // OWNER STUFF function reveal() external onlyOwner { REVEALED = true; } function withdraw() external onlyOwner { payable(msg.sender).transfer(address(this).balance); } function setDAO(address dao_) external onlyOwner { dao = dao_; } function transferOwnership(address newOwner) external onlyOwner { require(newOwner != address(0), "Can't be zero address"); owner = newOwner; } function renounceOwnership() external onlyOwner { owner = address(0); } modifier onlyOwner() { require(msg.sender == owner, "only owner lmao"); _; } // DAO STUFF function setMerkleRoot(bytes32 root) external onlyOwnerOrDAO { merkleRoot = root; } function turnMintOn() external onlyOwnerOrDAO { MINT_IS_ON = true; } function turnMintOff() external onlyOwnerOrDAO { MINT_IS_ON = false; } function setMintPublic() external onlyOwnerOrDAO { MINT_IS_PUBLIC = true; } function setMintWhitelisted() external onlyOwnerOrDAO { MINT_IS_PUBLIC = false; } function setPrice(uint price) external onlyOwnerOrDAO { MINT_PRICE = price; } function setMaxSupply(uint max_supply) external onlyOwnerOrDAO { MAX_SUPPLY = max_supply; } function setMaxMintPerTx(uint maxMintPerTx) external onlyOwnerOrDAO { MAX_MINT_PER_TX = maxMintPerTx; } function setMaxMintPerWallet(uint maxMintPerWallet) external onlyOwnerOrDAO { MAX_MINT_PER_WALLET = maxMintPerWallet; } function setSpriteRouter(address ISpriteRouterAddress) external onlyOwnerOrDAO { spriteRouter = ISpriteRouter(ISpriteRouterAddress); } function setDescription(string calldata description_) external onlyOwnerOrDAO { description = description_; } function setSVGHeader(string calldata SVGHeader) external onlyOwnerOrDAO { SVG_HEADER = SVGHeader; } function setSVGFooter(string calldata SVGFooter) external onlyOwnerOrDAO { SVG_FOOTER = SVGFooter; } function setSVGImageTag(string calldata imageTag) external onlyOwnerOrDAO { SVG_IMAGE_TAG = imageTag; } function withdrawDAO() external onlyOwnerOrDAO { payable(dao).transfer(address(this).balance); } modifier onlyOwnerOrDAO { require(msg.sender == owner || msg.sender == dao, "only owner or dao"); _; } // HELPER FUNCTIONS function isContract(address account) internal view returns (bool) { uint size; assembly { size := extcodesize(account) } return size > 0; } function uintToString(uint256 num) internal pure returns (string memory) { if (num == 0) { return "0"; } uint256 temp = num; uint256 len; while (temp != 0) { len++; temp /= 10; } bytes memory strBuffer = new bytes(len); while (num != 0) { len -= 1; strBuffer[len] = bytes1(uint8(48 + uint256(num % 10))); num /= 10; } return string(strBuffer); } } /* * \_\_ _/_/ * \___/ * ~(0 0)~ * (._.)\_________ * \ \~ * \ _____( ) * || || * || || * * HELLO DEER, NICE TO SEE YOU HERE :) */
// SPDX-License-Identifier: MIT /// @title Base64 /// @author Brecht Devos - <[email protected]> /// @notice Provides a function for encoding some bytes in base64 library Base64 { string internal constant TABLE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; function encode(bytes memory data) internal pure returns (string memory) { if (data.length == 0) return ''; // load the table into memory string memory table = TABLE; // multiply by 4/3 rounded up uint256 encodedLen = 4 * ((data.length + 2) / 3); // add some extra buffer at the end required for the writing string memory result = new string(encodedLen + 32); assembly { // set the actual output length mstore(result, encodedLen) // prepare the lookup table let tablePtr := add(table, 1) // input ptr let dataPtr := data let endPtr := add(dataPtr, mload(data)) // result ptr, jump over length let resultPtr := add(result, 32) // run over the input, 3 bytes at a time for {} lt(dataPtr, endPtr) {} { dataPtr := add(dataPtr, 3) // read 3 bytes let input := mload(dataPtr) // write 4 characters mstore(resultPtr, shl(248, mload(add(tablePtr, and(shr(18, input), 0x3F))))) resultPtr := add(resultPtr, 1) mstore(resultPtr, shl(248, mload(add(tablePtr, and(shr(12, input), 0x3F))))) resultPtr := add(resultPtr, 1) mstore(resultPtr, shl(248, mload(add(tablePtr, and(shr( 6, input), 0x3F))))) resultPtr := add(resultPtr, 1) mstore(resultPtr, shl(248, mload(add(tablePtr, and( input, 0x3F))))) resultPtr := add(resultPtr, 1) } // padding with '=' switch mod(mload(data), 3) case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) } case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) } } return result; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } // Check if the computed hash (root) is equal to the provided root return computedHash == root; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.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 {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @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); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": true, "runs": 1000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_MINT_PER_TX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_IS_ON","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_IS_PUBLIC","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REVEALED","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dao","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getDeer","outputs":[{"internalType":"uint8[16]","name":"","type":"uint8[16]"}],"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":"deer_num","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"dao_","type":"address"}],"name":"setDAO","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"description_","type":"string"}],"name":"setDescription","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxMintPerTx","type":"uint256"}],"name":"setMaxMintPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxMintPerWallet","type":"uint256"}],"name":"setMaxMintPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"max_supply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setMintPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setMintWhitelisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"SVGFooter","type":"string"}],"name":"setSVGFooter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"SVGHeader","type":"string"}],"name":"setSVGHeader","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"imageTag","type":"string"}],"name":"setSVGImageTag","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"ISpriteRouterAddress","type":"address"}],"name":"setSpriteRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"turnMintOff","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"turnMintOn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"deer_num","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"whiteListMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawDAO","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
66b1a2bc2ec50000600c55611388600d556005600e819055600f55601b601055600460c0908152634d616c6560e01b60e052608090815261014060405260066101009081526546656d616c6560d01b6101205260a0526200006590604390600262002e9d565b50604080516101608101825260076101208201908152664265617374696560c81b610140830152815281518083018352600580825264213937bbb760d91b602083810191909152808401929092528351808501855281815264456c66696560d81b81840152838501528351808501855260068082526546726f73747960d01b828501526060850191909152845180860186529182526411da1bdcdd60da1b828401526080840191909152835180850185529081526523b7b63232b760d11b8183015260a0830152825180840184526004808252634772657960e01b8284015260c0840191909152835180850185529081526350696e6b60e01b8183015260e08301528251808401909352600b83526a44722e205175616e74756d60a81b908301526101008101919091526200019f90604490600962002f01565b50604080516101a0810182526005610160820181815264426c61636b60d81b610180840152825282518084018452600680825265426c6f6e646560d01b602083810191909152808501929092528451808601865283815264213937bbb760d91b818401528486015284518086018652600980825268427562626c6567756d60b81b8285015260608601919091528551808701875284815264139a59da1d60da1b8185015260808601528551808701875282815265507572706c6560d01b8185015260a086015285518087018752600381526214995960ea1b8185015260c086015285518087018752908152685368616d656c65737360b81b8184015260e085015284518086018652818152655368c58d736160d01b8184015261010085015284518086018652908152655377616d707960d01b81830152610120840152835180850190945290835264576869746560d81b908301526101408101919091526200030d90604590600b62002f53565b50604080516101c081018252601861018082018181527f4176657261676520447973746f7069616e2043686f69636500000000000000006101a0840152825282518084018452601180825270456c697a6162657468205468656f72656d60781b6020838101919091528085019290925284518086018652600a815269135e4810995b1bdd995960b21b81840152848601528451808601865260088152674e756b652027456d60c01b81840152606085015284518086018652600481526309eeac6d60e31b81840152608085015284518086018652600b81526a53696d706c79204672656560a81b8184015260a085015284518086018652908152705370696b79204f726967696e616c69747960781b8183015260c084015283518085018552600e81526d537472616967687420477261636560901b8183015260e0840152835180850185529182527f53747261696768742047726163652057697468204375726c00000000000000008282015261010083019190915282518084018452600c8082526b546865205072696e6365737360a01b82840152610120840191909152835180850185528181526b54776f20486f742042756e7360a01b818401526101408401528351808501909452601084526f57696e6520436f6e73657175656e636560801b918401919091526101608201929092526200050f916046919062002fa5565b506040805160808101825260038183019081526259657360e81b6060830152815281518083019092526002808352614e6f60f01b60208481019190915282019290925262000561916047919062002e9d565b506040805161026081018252601361022082018181527f4265796f6e6420596f757220476c617373657300000000000000000000000000610240840152825282518084018452600980825268446f6e617465204d6560b81b60208381019190915280850192909252845180860186529283527f4861737461206c61205669737461204261627900000000000000000000000000838301528385019290925283518085018552828152681249db48151a5c995960ba1b8183015260608401528351808501855260048152632530bd3d60e11b8183015260808401528351808501855260068152654c6976656c7960d01b8183015260a08401528351808501855260078152664c6f6f6b65727360c81b8183015260c084015283518085018552600e8082526d4d69646e69676874204d6f76696560901b8284015260e0850191909152845180860186529081526d4d696c646c79204c6f7661626c6560901b8183015261010084015283518085018552600f81526e4e756b652050726f746563746f727360881b818301526101208401528351808501855260118082527013dd5c88135d5d1d585b08119c9a595b99607a1b8284015261014085019190915284518086018652600d81526c2830b9b9903a3432902137b7b360991b8184015261016085015284518086018652600b81526a2932b1ba30b733bab630b960a91b8184015261018085015284518086018652600a815269526564204d656e61636560b01b818401526101a0850152845180860186529283526829b2b23ab1ba34b7b760b91b838301526101c084019290925283518085018552601881527f5469726564206f66204265696e672042656175746966756c0000000000000000818301526101e08401528351808501909452601484527f556e666f726765747461626c65204d6f6d656e74000000000000000000000000908401526102008201929092526200082e916048919062002ff7565b506040518060e001604052806040518060400160405280601081526020016f41204c6974746c65204e6572766f757360801b81525081526020016040518060400160405280600e81526020016d20b932902a3432bc90223930bbb760911b81525081526020016040518060400160405280600981526020016842652047656e746c6560b81b815250815260200160405180604001604052806008815260200167084ca4090c2e4e6d60c31b815250815260200160405180604001604052806007815260200166426967204f6e6560c81b81525081526020016040518060400160405280600c81526020016b4a757374204c6f6f6b696e6760a01b815250815260200160405180604001604052806009815260200168536572696f75736c7960b81b81525081525060499060076200096792919062003049565b506040805161012081018252600f60e082019081526e2090213934b1b59037b3102430b4b960891b61010083015281528151808301835260048082526321bd30b960e11b602083810191909152808401929092528351808501855281815263486f626f60e01b818401528385015283518085018552600881526709cde409ac2e8c6d60c31b81840152606084015283518085018552600681526553746173697360d01b81840152608084015283518085018552600d81526c2a34b6b2902a3930bb32b632b960991b8184015260a084015283518085019094528352634e6f6e6560e01b9083015260c081019190915262000a6690604a90600762003049565b50604080516101c081018252600b61018082018181526a412042697420486170707960a81b6101a0840152825282518084018452600981526842696720536d696c6560b81b602082810191909152808401919091528351808501855260088082526710dbdb999d5cd95960c21b8284015284860191909152845180860186526006808252652237b7b6b2b960d11b828501526060860191909152855180870187529081526546726f67677960d01b81840152608085015284518086018652908152674e6f204d6572637960c01b8183015260a084015283518085018552601081526f4e6f7420546f6f20506174686574696360801b8183015260c084015283518085018552600f81526e536865657020416e636573746f727360881b8183015260e0840152835180850185526004815263536d756760e01b8183015261010084015283518085018552600781526614dd1d5b9b995960ca1b8183015261012084015283518085018552601981527f53756273637269626520746f204d79204f6e6c794465657273000000000000008183015261014084015283518085019094529083526a0a6eecacae840a8dedee8d60ab1b9083015261016081019190915262000c3590604b90600c62002fa5565b506040805160c08101825260086080820190815267466c6f707065727360c01b60a0830152815281518083018352600c8082526b49276d20416c6c204561727360a01b60208381019190915280840192909252835180850185528181526b4c6974746c6520437574696560a01b8184015283850152835180850190945283526b26b4b632363c9021baba32b960a11b90830152606081019190915262000ce090604c9060046200309b565b506040805160e081018252600e60a082019081526d4368656170204469616d6f6e647360901b60c0830152815281518083018352600a8152690a0e4c2d2e6ca408aa8960b31b6020828101919091528083019190915282518084018452600c81526b5468756e64657273746f726d60a01b818301528284015282518084018452600d81526c547269706c652050696572636560981b818301526060830152825180840190935260048352634e6f6e6560e01b90830152608081019190915262000dae90604d906005620030ed565b5060408051610140810182526007610100820190815266109c9a5919d95960ca1b610120830152815281518083018352600c8082526b10dd5d194b538b54db585b1b60a21b60208381019190915280840192909252835180850185528181526b119b185d08141a595c98d95960a21b818401528385015283518085018552600d81526c139bdc9d1a195c9b88121a5b9d609a1b8184015260608401528351808501855260058152644e6f73657960d81b81840152608084015283518085018552600e81526d29b0b73a3093b9902432b63832b960911b8184015260a0840152835180850185529081526b14d958dbdb99081219585c9d60a21b8183015260c08301528251808401909352601083526f53696c76657220666f7220446565727360801b9083015260e081019190915262000eec90604e9060086200313f565b50604080516101808101825260096101408201908152684272617665204f6e6560b81b610160830152815281518083018352600c8082526b2232bb34b6102bb4ba3434b760a11b6020838101919091528084019290925283518085018552600b8082526a12185c9908119bdd59da1d60aa1b82850152848601919091528451808601865260078152664c6f7661626c6560c81b818501526060850152845180860186526008815267506f696e7465727360c01b818501526080850152845180860186529081526a5368726f6f6d20426c756560a81b8184015260a0840152835180850185528181526b5368726f6f6d204e6f69737960a01b8184015260c084015283518085018552600a8082526914da1c9bdbdb4814995960b21b8285015260e08501919091528451808601865260058152645369676d6160d81b8185015261010085015284518086019095529084526b53707920416d6f6e6720557360a01b918401919091526101208201929092526200106b91604f919062003191565b506040805161014081018252600c61010082019081526b0d0814dd185c88121bdd195b60a21b610120830152815281518083018352600a8082526954686174276c6c20446f60b01b6020838101919091528084019290925283518085018552600981526844657370657261746560b81b818401528385015283518085018552908152694166746572706172747960b01b81830152606083015282518084018452600880825267416e74656e6e617360c01b82840152608084019190915283518085018552601281527127b1b1b0b9b4b7b730b6102337b930b3b2b960711b8184015260a084015283518085018552600d81526c141b185cdd1a58c815dbdc9b19609a1b8184015260c0840152835180850190945260048452634e6f6e6560e01b9184019190915260e0820192909252620011a991605091906200313f565b50604051806102e001604052806040518060400160405280600681526020016541204c696e6b60d01b8152508152602001604051806040016040528060068152602001654170706c657360d01b81525081526020016040518060400160405280600f81526020016e43686561706573742043686f69636560881b81525081526020016040518060400160405280600e81526020016d446565727320696e20426c61636b60901b81525081526020016040518060400160405280600d81526020016c22b0b9bc903a379029ba30b4b760991b81525081526020016040518060400160405280601181526020017011985d9bdd5c9a5d194814d95c9d985b9d607a1b81525081526020016040518060400160405280600e81526020016d2337bab73a30b4b7102637bb32b960911b81525081526020016040518060400160405280600a8152602001691219585d9e4814dd5a5d60b21b81525081526020016040518060400160405280601481526020017f49204c69766520466f72205468697320536869740000000000000000000000008152508152602001604051806040016040528060068152602001654a756e6b696560d01b8152508152602001604051806040016040528060098152602001684e756b65205061636b60b81b81525081526020016040518060400160405280601181526020017013d919481d1bc81d1a194810d85c9c195d607a1b81525081526020016040518060400160405280600981526020016804f70656e65642055760bc1b81525081526020016040518060400160405280601781526020017f536d656c6c73204c696b65205465656e2053706972697400000000000000000081525081526020016040518060400160405280600b81526020016a5370696465722053696c6b60a81b81525081526020016040518060400160405280600981526020016853757270726973652160b81b81525081526020016040518060400160405280600f81526020016e546575666f727420436c617373696360881b81525081526020016040518060400160405280601381526020017f546f6f20546967687420666f722053706163650000000000000000000000000081525081526020016040518060400160405280600a815260200169155c1c195c8811da599d60b21b81525081526020016040518060400160405280601d81526020017f5768617420537765657420447265616d7320417265204d616465204f660000008152508152602001604051806040016040528060068152602001652bb7b935b2b960d11b81525081526020016040518060400160405280600e81526020016d2cb7bab73390283937b23ab1b2b960911b81525081526020016040518060400160405280600581526020016413985ad95960da1b8152508152506051906017620015ba929190620031e3565b5060408051610140810182526004610100820181815263426c756560e01b61012084015282528251808401845260098152684461726b20426c756560b81b6020828101919091528084019190915283518085018552600581526423b932b2b760d91b818301528385015283518085018552828152634c696d6560e01b818301526060840152835180850185529182526350696e6b60e01b82820152608083019190915282518084018452600381526214995960ea1b8183015260a083015282518084018452600680825265159a5bdb195d60d21b8284015260c0840191909152835180850190945283526559656c6c6f7760d01b9083015260e0810191909152620016ca9060529060086200313f565b50604051806080016040528060468152602001620084fc604691398051620016fb9160539160209091019062003235565b506040518060e0016040528060ab81526020016200845160ab913980516200172c9160549160209091019062003235565b506040518060600160405280603e815260200162008413603e913980516200175d9160559160209091019062003235565b506040518060e0016040528060b581526020016200835e60b5913980516200178e9160569160209091019062003235565b503480156200179c57600080fd5b5060408051808201825260098152682232b0b9102232b2b960b91b6020808301918252835180850190945260048452632222a2a960e11b908401528151919291620017ea9160009162003235565b5080516200180090600190602084019062003235565b5050601380546001600160a01b03191633179055506040805180820190915261138880825260208201526200183a906015906002620032c0565b50604080516101208101825261012c8082526109c46020830152610190928201839052606082019290925260808101919091526105dc60a08201819052610bb860c083015260e082015260646101008201526200189c906016906009620032c0565b50604080516101208101825261012c808252610bb86020830152610190928201839052606082019290925260808101919091526105dc60a082018190526109c460c083015260e08201526064610100820152620018fe906017906009620032c0565b5060408051610160810182526104b08152610bb860208201819052918101919091526064606082018190526101f46080830181905260a0830181905260c0830181905260e0830181905261010083018290526101208301526101408201526200196c90601890600b620032c0565b50604080516101608101825261044c8152610bb860208201526107d09181019190915261019060608201526103206080820181905260a0820181905260c08201526101f460e082015260c861010082018190526101208201819052610140820152620019dd90601990600b620032c0565b5060408051610180810182526107d08082526000602083018190529282018390526103e8606083015260808201526108fc60a0820152610a8c60c082015260e0810182905261010081018290526101208101829052610140810182905261016081019190915262001a5390601a90600c620032c0565b5060408051610180810182526104b08152610514602082018190529181019190915260006060820181905260c8608083015260a082015261032060c0820181905261044c60e083018190526101008301919091526101208201819052610140820181905261016082015262001acd90601b90600c620032c0565b50604080518082019091526103e88152612328602082015262001af590601c906002620032c0565b5060408051808201909152611388808252602082015262001b1b90601d906002620032c0565b5060408051610220810182526103848152600060208201819052600a9282019290925261044c606082015261012c608082015261070860a08201526103e860c08201819052606460e0830152610100820183905261012082018190526101408201526101f461016082015261076261018082015260c86101a082018190526101c082018390526101e082015261020081019190915262001bc090601e906011620032c0565b5060408051610220810182526104b08082526103e86020830181905260009383019390935260646060830181905260c8608084015260a083019390935260c082015260e081018290526105dc61010082015261012081018290526102bc6101408201819052610160820183905261018082018390526101a08201929092526105786101c08201526101e08101919091526101f461020082015262001c6990601f906011620032c0565b506040805160e0810182526103e88082526020808301829052928201526107d06060820181905260808201526105dc60a0820181905260c082015262001cb291906007620032c0565b506040805160e0810182526105dc8082526103e8602083018190526107d093830184905260608301819052608083015260a082015260c081019190915262001cff906021906007620032c0565b506040805160e0810182526103e88082526101f460208301526102bc928201929092526101906060820152610578608082015260a081019190915261138860c082015262001d52906022906007620032c0565b506040805160e081018252600080825260208201819052918101829052606081018290526080810182905260a081019190915261271060c082015262001d9d906023906007620032c0565b506040805160e0810182526107d0815260006020820181905261051492820192909252606081018290526080810182905260a0810191909152611a2c60c082015262001dee906024906007620032c0565b506040805160e0810182526107d0815260006020820181905261051492820192909252606081018290526080810182905260a0810191909152611a2c60c082015262001e3f906025906007620032c0565b506040805160e0810182526107d0815260006020820181905261051492820192909252606081018290526080810182905260a0810191909152611a2c60c082015262001e90906026906007620032c0565b506040805160e08101825261044c81526101f460208201526103849181019190915260646060820152600060808201526103e860a082015261190060c082015262001ee0906027906007620032c0565b506040805160e08101825261044c815260c860208201526103209181019190915260006060820181905260808201526103e860a0820152611af460c082015262001f2f906028906007620032c0565b506040805160e0810182526104b080825260c8602083015291810191909152610190606082015260006080820152606460a0820152611af460c082015262001f7c906029906007620032c0565b5060408051610180810182526104b081526103e8602082018190526103849282019290925261032060608201526080810182905260a08101919091526102bc60c0820181905261025860e08301526101008201526105dc61012082015260646101408201526101f461016082015262001ffa90602a90600c620032c0565b5060408051610180810182526103e88082526105dc602083015261032092820183905261012c6060830152610258608083015260c860a083015260c082015260e08101919091526103846101008201526104b061012082018190526101f46101408301526101608201526200207490602b90600c620032c0565b5060408051608081018252610bb880825260208201526107d09181018290526060810191909152620020ab90602c906004620032c0565b50604080516080810182526107d08082526020820152610bb89181018290526060810191909152620020e290602d906004620032c0565b506040805160a0810182526000808252600a602083015291810191909152610384606082015261238260808201526200212090602e906005620032c0565b506040805160a081018252610514815260c8602082015261044c91810191909152610578606082015261177060808201526200216190602f906005620032c0565b5060408051610100810182526101f48082526107d060208301529181018290526103e860608201819052610fa0608083015260a0820183905260c082015260e0810191909152620021b7906030906008620032c0565b5060408051610100810182526101f48082526107d060208301529181018290526103e860608201819052610fa0608083015260a0820183905260c082015260e08101919091526200220d906031906008620032c0565b506040805161010081018252600081526108fc60208201526102589181018290526103206060820152610fa0608082015260a0810182905261044c60c082015260e081019190915262002265906032906008620032c0565b5060408051610140810182526109c4815261044c60208201526107d09181019190915261032060608201526108346080820152604b60a0820152603260c0820152609660e082015261040161010082015260c8610120820152620022ce90603390600a620032c0565b5060408051610140810182526108ca815261041a60208201526106729181018290526107d060608201526080810191909152604b60a0820152603260c0820152609660e082015261039d61010082015260c86101208201526200233690603490600a620032c0565b50604080516101008101825261019081526103e860208201526000918101829052606081018290526080810182905260a0810182905260c081019190915261219860e08201526200238c906035906008620032c0565b50604080516101008101825261012c81526101f460208201526000918101829052606081018290526080810182905260a0810182905260c08101919091526123f060e0820152620023e2906036906008620032c0565b5060408051610100810182526000808252602082018190526101f492820192909252606081018290526080810182905260a0810182905260c081019190915261251c60e082015262002439906037906008620032c0565b506040805161010081018252600080825260208201819052606492820192909252606081018290526080810182905260a0810182905260c08101919091526126ac60e08201526200248f906038906008620032c0565b50604080516101008101825260008082526020820181905291810182905260c860608201819052608082015260a0810182905260c081019190915261258060e0820152620024e2906039906008620032c0565b50604080516101008101825260008082526020820181905291810182905261019060608201819052608082015260a0810182905260c08101919091526123f060e08201526200253690603a906008620032c0565b50604080516101008101825260008082526020820181905291810182905260608101829052608081019190915261012c60a0820152606460c082015261258060e08201526200258a90603b906008620032c0565b5060408051610100810182526000808252602082018190529181018290526060810182905260808101919091526101f460a0820152606460c08201526124b860e0820152620025de90603c906008620032c0565b50604080516102e0810182526102bc81526000602082018190526106409282019290925261019060608201819052608082015260a0810182905261012c60c08201819052606460e083018190526101f46101008401526103206101208401526101408301819052610160830181905261044c6101808401526101a08301919091526101c082018390526101e0820183905260c861020083015261022082018390526102408201929092526102608101919091526105786102808201526103e86102a08201526103846102c0820152620026bc90603d906017620032c0565b50604080516102e0810182526102bc80825261019060208301819052610578938301849052606083018190526080830181905260c860a08401819052600060c0850181905260e085018190526101f4610100860152610320610120860152610140850181905261016085015261018084019290925261012c6101a084018190526101c084018190526101e084015261020083018290526102208301829052610240830152606461026083015261028082019290925261044c6102a08201526102c08101919091526200279390603e906017620032c0565b5060408051610100810182526104e280825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e0810191909152620027e690603f906008620032c0565b5060408051610100810182526106a4808252602082018190528183018190526060820181905260006080830181905260a08301526105dc60c083015260e08201526200283591906008620032c0565b5060408051610100810182526105aa8082526105dc602083015291810191909152610578606082018190526080820181905260a0820181905260c0820152600060e08201526200288a906041906008620032c0565b5060408051610100810182526105aa80825260006020830152918101829052610578606082018190526080820181905260a0820183905260c082019290925260e0810191909152620028e1906042906008620032c0565b50620028ec620028f2565b620034b4565b60005b60648110156200291e576200290962002921565b8062002915816200340e565b915050620028f5565b50565b60006200292d60085490565b905060006200293c8262002977565b6000838152600b60209081526040808320849055838352600a9091529020805460ff19166001179055905062002973338362002a21565b5050565b60108054600091826200298a836200340e565b9190505550600044423385601054604051602001620029d8959493929190948552602085019390935260609190911b6001600160601b03191660408401526054830152607482015260940190565b60408051601f1981840301815291815281516020928301206000818152600a90935291205490915060ff161562002a1b5762002a148362002977565b9392505050565b92915050565b6001600160a01b03821662002a7d5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064015b60405180910390fd5b6000818152600260205260409020546001600160a01b03161562002ae45760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640162002a74565b62002af26000838362002b7b565b6001600160a01b038216600090815260036020526040812080546001929062002b1d9084906200342c565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b62002b9383838362002c3160201b62000b6f1760201c565b6001600160a01b03831662002bf15762002beb81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b62002c17565b816001600160a01b0316836001600160a01b03161462002c175762002c17838262002c5c565b6001600160a01b03821662002c365762002c318162002d09565b505050565b826001600160a01b0316826001600160a01b03161462002c315762002c31828262002dc3565b6000600162002c768462002e1460201b620012501760201c565b62002c82919062003447565b60008381526007602052604090205490915080821462002cd6576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009062002d1d9060019062003447565b6000838152600960205260408120546008805493945090928490811062002d485762002d48620033e2565b90600052602060002001549050806008838154811062002d6c5762002d6c620033e2565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548062002da75762002da762003461565b6001900381819060005260206000200160009055905550505050565b600062002ddb8362002e1460201b620012501760201c565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b60006001600160a01b03821662002e815760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840162002a74565b506001600160a01b031660009081526003602052604090205490565b82805482825590600052602060002090810192821562002eef579160200282015b8281111562002eef578251805162002ede91849160209091019062003235565b509160200191906001019062002ebe565b5062002efd9291506200336b565b5090565b82805482825590600052602060002090810192821562002eef579160200282015b8281111562002eef578251805162002f4291849160209091019062003235565b509160200191906001019062002f22565b82805482825590600052602060002090810192821562002eef579160200282015b8281111562002eef578251805162002f9491849160209091019062003235565b509160200191906001019062002f74565b82805482825590600052602060002090810192821562002eef579160200282015b8281111562002eef578251805162002fe691849160209091019062003235565b509160200191906001019062002fc6565b82805482825590600052602060002090810192821562002eef579160200282015b8281111562002eef57825180516200303891849160209091019062003235565b509160200191906001019062003018565b82805482825590600052602060002090810192821562002eef579160200282015b8281111562002eef57825180516200308a91849160209091019062003235565b50916020019190600101906200306a565b82805482825590600052602060002090810192821562002eef579160200282015b8281111562002eef5782518051620030dc91849160209091019062003235565b5091602001919060010190620030bc565b82805482825590600052602060002090810192821562002eef579160200282015b8281111562002eef57825180516200312e91849160209091019062003235565b50916020019190600101906200310e565b82805482825590600052602060002090810192821562002eef579160200282015b8281111562002eef57825180516200318091849160209091019062003235565b509160200191906001019062003160565b82805482825590600052602060002090810192821562002eef579160200282015b8281111562002eef5782518051620031d291849160209091019062003235565b5091602001919060010190620031b2565b82805482825590600052602060002090810192821562002eef579160200282015b8281111562002eef57825180516200322491849160209091019062003235565b509160200191906001019062003204565b828054620032439062003477565b90600052602060002090601f016020900481019282620032675760008555620032b2565b82601f106200328257805160ff1916838001178555620032b2565b82800160010185558215620032b2579182015b82811115620032b257825182559160200191906001019062003295565b5062002efd9291506200338c565b82805482825590600052602060002090600f01601090048101928215620032b25791602002820160005b838211156200332c57835183826101000a81548161ffff021916908361ffff1602179055509260200192600201602081600101049283019260010302620032ea565b80156200335c5782816101000a81549061ffff02191690556002016020816001010492830192600103026200332c565b505062002efd9291506200338c565b8082111562002efd576000620033828282620033a3565b506001016200336b565b5b8082111562002efd57600081556001016200338d565b508054620033b19062003477565b6000825580601f10620033c2575050565b601f0160209004906000526020600020908101906200291e91906200338c565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600019821415620034255762003425620033f8565b5060010190565b60008219821115620034425762003442620033f8565b500190565b6000828210156200345c576200345c620033f8565b500390565b634e487b7160e01b600052603160045260246000fd5b600181811c908216806200348c57607f821691505b60208210811415620034ae57634e487b7160e01b600052602260045260246000fd5b50919050565b614e9a80620034c46000396000f3fe6080604052600436106103135760003560e01c806390c3f38f1161019a578063b19960e6116100e1578063d026acf91161008a578063e985e9c511610064578063e985e9c514610854578063ea557dce1461089d578063f2fde38b146108b257600080fd5b8063d026acf9146107f2578063d2c844ad1461081f578063e73a914c1461083457600080fd5b8063c002d23d116100bb578063c002d23d1461079c578063c87b56dd146107b2578063cbac0def146107d257600080fd5b8063b19960e614610746578063b88d4fde1461075c578063bfef5eae1461077c57600080fd5b8063a22cb46511610143578063a76a95871161011d578063a76a9587146106e6578063acbd53c814610706578063afdf61341461072657600080fd5b8063a22cb4651461069c578063a475b5dd146106bc578063a5e5a3ba146106d157600080fd5b806395d89b411161017457806395d89b41146106545780639e450f4114610669578063a0712d681461068957600080fd5b806390c3f38f146105ff57806391b7f5ed1461061f57806392312f031461063f57600080fd5b80634162169f1161025e5780636f8b44b0116102075780637cb64759116101e15780637cb64759146105a95780638da5cb5b146105c95780638ecad721146105e957600080fd5b80636f8b44b01461055457806370a0823114610574578063715018a61461059457600080fd5b8063616cdb1e11610238578063616cdb1e146104ff57806361afdd301461051f5780636352211e1461053457600080fd5b80634162169f1461049f57806342842e0e146104bf5780634f6ccce7146104df57600080fd5b806323b872dd116102c057806338ec91101161029a57806338ec911014610451578063390b91c41461046b5780633ccfd60b1461048a57600080fd5b806323b872dd146103fb5780632f745c591461041b57806332cb6b0c1461043b57600080fd5b8063095ea7b3116102f1578063095ea7b3146103a757806311876875146103c957806318160ddd146103dc57600080fd5b806301ffc9a71461031857806306fdde031461034d578063081812fc1461036f575b600080fd5b34801561032457600080fd5b50610338610333366004613ef1565b6108d2565b60405190151581526020015b60405180910390f35b34801561035957600080fd5b50610362610916565b6040516103449190613f66565b34801561037b57600080fd5b5061038f61038a366004613f79565b6109a8565b6040516001600160a01b039091168152602001610344565b3480156103b357600080fd5b506103c76103c2366004613fae565b610a42565b005b6103c76103d7366004613fd8565b610b74565b3480156103e857600080fd5b506008545b604051908152602001610344565b34801561040757600080fd5b506103c7610416366004614057565b610e18565b34801561042757600080fd5b506103ed610436366004613fae565b610e9f565b34801561044757600080fd5b506103ed600d5481565b34801561045d57600080fd5b506011546103389060ff1681565b34801561047757600080fd5b5060115461033890610100900460ff1681565b34801561049657600080fd5b506103c7610f47565b3480156104ab57600080fd5b5060145461038f906001600160a01b031681565b3480156104cb57600080fd5b506103c76104da366004614057565b610fc2565b3480156104eb57600080fd5b506103ed6104fa366004613f79565b610fdd565b34801561050b57600080fd5b506103c761051a366004613f79565b611081565b34801561052b57600080fd5b506103c76110e9565b34801561054057600080fd5b5061038f61054f366004613f79565b61115d565b34801561056057600080fd5b506103c761056f366004613f79565b6111e8565b34801561058057600080fd5b506103ed61058f366004614093565b611250565b3480156105a057600080fd5b506103c76112ea565b3480156105b557600080fd5b506103c76105c4366004613f79565b611348565b3480156105d557600080fd5b5060135461038f906001600160a01b031681565b3480156105f557600080fd5b506103ed600f5481565b34801561060b57600080fd5b506103c761061a3660046140ae565b6113b0565b34801561062b57600080fd5b506103c761063a366004613f79565b61141f565b34801561064b57600080fd5b506103c7611487565b34801561066057600080fd5b506103626114f7565b34801561067557600080fd5b506103c76106843660046140ae565b611506565b6103c7610697366004613f79565b611575565b3480156106a857600080fd5b506103c76106b7366004614120565b6117a7565b3480156106c857600080fd5b506103c761186c565b3480156106dd57600080fd5b506103c76118cb565b3480156106f257600080fd5b506011546103389062010000900460ff1681565b34801561071257600080fd5b506103c7610721366004614093565b611967565b34801561073257600080fd5b506103c7610741366004613f79565b6119ec565b34801561075257600080fd5b506103ed600e5481565b34801561076857600080fd5b506103c76107773660046141cb565b611a54565b34801561078857600080fd5b506103c76107973660046140ae565b611ae2565b3480156107a857600080fd5b506103ed600c5481565b3480156107be57600080fd5b506103626107cd366004613f79565b611b51565b3480156107de57600080fd5b506103c76107ed3660046140ae565b611ca4565b3480156107fe57600080fd5b5061081261080d366004613f79565b611d13565b6040516103449190614276565b34801561082b57600080fd5b506103c76123b1565b34801561084057600080fd5b506103c761084f366004614093565b612423565b34801561086057600080fd5b5061033861086f3660046142ab565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156108a957600080fd5b506103c7612491565b3480156108be57600080fd5b506103c76108cd366004614093565b612500565b60006001600160e01b031982167f780e9d630000000000000000000000000000000000000000000000000000000014806109105750610910826125c4565b92915050565b606060008054610925906142de565b80601f0160208091040260200160405190810160405280929190818152602001828054610951906142de565b801561099e5780601f106109735761010080835404028352916020019161099e565b820191906000526020600020905b81548152906001019060200180831161098157829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610a265760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610a4d8261115d565b9050806001600160a01b0316836001600160a01b03161415610ad75760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610a1d565b336001600160a01b0382161480610af35750610af3813361086f565b610b655760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610a1d565b610b6f838361265f565b505050565b6040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050610bee8383808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152505060125491508490506126cd565b610c3a5760405162461bcd60e51b815260206004820152600f60248201527f4e6f742077686974656c697374656400000000000000000000000000000000006044820152606401610a1d565b60115460ff16610c7a5760405162461bcd60e51b815260206004820152600b60248201526a26b4b73a1034b99037b33360a91b6044820152606401610a1d565b600f54841115610ccc5760405162461bcd60e51b815260206004820152600f60248201527f4d696e74207065722074782063617000000000000000000000000000000000006044820152606401610a1d565b600e5484610cd933611250565b610ce3919061432f565b1115610d315760405162461bcd60e51b815260206004820152601360248201527f4d696e74207065722077616c6c657420636170000000000000000000000000006044820152606401610a1d565b600d5484610d3e60085490565b610d48919061432f565b1115610d835760405162461bcd60e51b815260206004820152600a6024820152690537570706c79206361760b41b6044820152606401610a1d565b3484600c54610d929190614347565b1115610de05760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420656e6f756768204554480000000000000000000000000000000000006044820152606401610a1d565b333b15610dec57600080fd5b60005b84811015610e1157610dff61277c565b80610e0981614366565b915050610def565b5050505050565b610e2233826127c9565b610e945760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610a1d565b610b6f8383836128c0565b6000610eaa83611250565b8210610f1e5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610a1d565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6013546001600160a01b03163314610f935760405162461bcd60e51b815260206004820152600f60248201526e6f6e6c79206f776e6572206c6d616f60881b6044820152606401610a1d565b60405133904780156108fc02916000818181858888f19350505050158015610fbf573d6000803e3d6000fd5b50565b610b6f83838360405180602001604052806000815250611a54565b6000610fe860085490565b821061105c5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610a1d565b6008828154811061106f5761106f614381565b90600052602060002001549050919050565b6013546001600160a01b03163314806110a457506014546001600160a01b031633145b6110e45760405162461bcd60e51b81526020600482015260116024820152706f6e6c79206f776e6572206f722064616f60781b6044820152606401610a1d565b600f55565b6013546001600160a01b031633148061110c57506014546001600160a01b031633145b61114c5760405162461bcd60e51b81526020600482015260116024820152706f6e6c79206f776e6572206f722064616f60781b6044820152606401610a1d565b6011805461ff001916610100179055565b6000818152600260205260408120546001600160a01b0316806109105760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610a1d565b6013546001600160a01b031633148061120b57506014546001600160a01b031633145b61124b5760405162461bcd60e51b81526020600482015260116024820152706f6e6c79206f776e6572206f722064616f60781b6044820152606401610a1d565b600d55565b60006001600160a01b0382166112ce5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610a1d565b506001600160a01b031660009081526003602052604090205490565b6013546001600160a01b031633146113365760405162461bcd60e51b815260206004820152600f60248201526e6f6e6c79206f776e6572206c6d616f60881b6044820152606401610a1d565b601380546001600160a01b0319169055565b6013546001600160a01b031633148061136b57506014546001600160a01b031633145b6113ab5760405162461bcd60e51b81526020600482015260116024820152706f6e6c79206f776e6572206f722064616f60781b6044820152606401610a1d565b601255565b6013546001600160a01b03163314806113d357506014546001600160a01b031633145b6114135760405162461bcd60e51b81526020600482015260116024820152706f6e6c79206f776e6572206f722064616f60781b6044820152606401610a1d565b610b6f60568383613e23565b6013546001600160a01b031633148061144257506014546001600160a01b031633145b6114825760405162461bcd60e51b81526020600482015260116024820152706f6e6c79206f776e6572206f722064616f60781b6044820152606401610a1d565b600c55565b6013546001600160a01b03163314806114aa57506014546001600160a01b031633145b6114ea5760405162461bcd60e51b81526020600482015260116024820152706f6e6c79206f776e6572206f722064616f60781b6044820152606401610a1d565b6011805461ff0019169055565b606060018054610925906142de565b6013546001600160a01b031633148061152957506014546001600160a01b031633145b6115695760405162461bcd60e51b81526020600482015260116024820152706f6e6c79206f776e6572206f722064616f60781b6044820152606401610a1d565b610b6f60558383613e23565b60115460ff166115b55760405162461bcd60e51b815260206004820152600b60248201526a26b4b73a1034b99037b33360a91b6044820152606401610a1d565b601154610100900460ff1661160c5760405162461bcd60e51b815260206004820152601760248201527f5075626c6963206d696e74206e6f7420737461727465640000000000000000006044820152606401610a1d565b600f5481111561165e5760405162461bcd60e51b815260206004820152600f60248201527f4d696e74207065722074782063617000000000000000000000000000000000006044820152606401610a1d565b600e548161166b33611250565b611675919061432f565b11156116c35760405162461bcd60e51b815260206004820152601360248201527f4d696e74207065722077616c6c657420636170000000000000000000000000006044820152606401610a1d565b600d54816116d060085490565b6116da919061432f565b11156117155760405162461bcd60e51b815260206004820152600a6024820152690537570706c79206361760b41b6044820152606401610a1d565b3481600c546117249190614347565b11156117725760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420656e6f756768204554480000000000000000000000000000000000006044820152606401610a1d565b333b1561177e57600080fd5b60005b818110156117a35761179161277c565b8061179b81614366565b915050611781565b5050565b6001600160a01b0382163314156118005760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a1d565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6013546001600160a01b031633146118b85760405162461bcd60e51b815260206004820152600f60248201526e6f6e6c79206f776e6572206c6d616f60881b6044820152606401610a1d565b6011805462ff0000191662010000179055565b6013546001600160a01b03163314806118ee57506014546001600160a01b031633145b61192e5760405162461bcd60e51b81526020600482015260116024820152706f6e6c79206f776e6572206f722064616f60781b6044820152606401610a1d565b6014546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610fbf573d6000803e3d6000fd5b6013546001600160a01b031633148061198a57506014546001600160a01b031633145b6119ca5760405162461bcd60e51b81526020600482015260116024820152706f6e6c79206f776e6572206f722064616f60781b6044820152606401610a1d565b605780546001600160a01b0319166001600160a01b0392909216919091179055565b6013546001600160a01b0316331480611a0f57506014546001600160a01b031633145b611a4f5760405162461bcd60e51b81526020600482015260116024820152706f6e6c79206f776e6572206f722064616f60781b6044820152606401610a1d565b600e55565b611a5e33836127c9565b611ad05760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610a1d565b611adc84848484612a98565b50505050565b6013546001600160a01b0316331480611b0557506014546001600160a01b031633145b611b455760405162461bcd60e51b81526020600482015260116024820152706f6e6c79206f776e6572206f722064616f60781b6044820152606401610a1d565b610b6f60548383613e23565b6000818152600260205260409020546060906001600160a01b0316611bde5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610a1d565b60115462010000900460ff16611c3d57611c176056604051602001611c039190614431565b604051602081830303815290604052612b21565b604051602001611c2791906144e7565b6040516020818303038152906040529050919050565b6000611c4883611d13565b9050611c7d611c5684612cc0565b6056611c6184612df2565b611c6a85612e26565b604051602001611c03949392919061452c565b604051602001611c8d91906144e7565b604051602081830303815290604052915050919050565b6013546001600160a01b0316331480611cc757506014546001600160a01b031633145b611d075760405162461bcd60e51b81526020600482015260116024820152706f6e6c79206f776e6572206f722064616f60781b6044820152606401610a1d565b610b6f60538383613e23565b611d1b613ea7565b6000828152600b6020526040812054611d339061314a565b9050611d3d613ea7565b8151611d4a9060006131bf565b60ff168082526120a5576020820151611d649060016131bf565b60ff1660208201526040820151611d7c9060036131bf565b60ff1660408201526060820151611d949060056131bf565b60ff1660608201526080820151611dac9060076131bf565b60ff16608082015260a0820151611dc49060096131bf565b60ff1660a082015260c0820151611ddc90600b6131bf565b60ff1660c0820152610100820151611df59060156131bf565b60ff16610100820181905260021415611e255760e0820151611e1890600f6131bf565b60ff1660e0820152611eeb565b806008602002015160ff1660031415611e485760e0820151611e189060106131bf565b806008602002015160ff1660041415611e6b5760e0820151611e189060116131bf565b806008602002015160ff1660061415611e8e5760e0820151611e189060126131bf565b61010081015160ff1660081415611eaf5760e0820151611e189060136131bf565b806008602002015160ff16600b1415611ed25760e0820151611e189060146131bf565b60e0820151611ee290600d6131bf565b60ff1660e08201525b610120820151611efc9060176131bf565b60ff16610120820152610140820151611f169060196131bf565b60ff90811661014083015260a0820151161580611f3d5750806005602002015160ff166004145b80611f525750806005602002015160ff166007145b80611f675750806005602002015160ff166009145b80611f7c5750806005602002015160ff16600a145b80611f915750806005602002015160ff16600d145b15611fb757611fa982600b5b6020020151601d6131bf565b60ff16610160820152611fd2565b610160820151611fc890601b6131bf565b60ff166101608201525b610180820151611fe390601e6131bf565b60ff166101808201819052612011576101a08201516120039060206131bf565b60ff166101a0820152612086565b80600c602002015160ff1660021415612035576101a08201516120039060226131bf565b80600c602002015160ff1660031415612059576101a08201516120039060246131bf565b80600c602002015160ff166004141561207d576101a08201516120039060266131bf565b60076101a08201525b6101c08201516120979060286131bf565b60ff166101c0820152612315565b60208201516120b59060026131bf565b60ff16602082015260408201516120cd9060046131bf565b60ff16604082015260608201516120e59060066131bf565b60ff16606082015260808201516120fd9060086131bf565b60ff16608082015260a082015161211590600a6131bf565b60ff1660a082015260c082015161212d90600c6131bf565b60ff1660c082015260e082015161214590600e6131bf565b60ff1660e082015261010082015161215e9060166131bf565b60ff166101008201526101208201516121789060186131bf565b60ff1661012082015261014082015161219290601a6131bf565b60ff90811661014083015260a08201511615806121b95750806005602002015160ff166004145b806121ce5750806005602002015160ff166007145b806121e35750806005602002015160ff166009145b806121f85750806005602002015160ff16600a145b8061220d5750806005602002015160ff16600d145b1561222b5761221d82600b611f9d565b60ff16610160820152612246565b61016082015161223c90601c6131bf565b60ff166101608201525b61018082015161225790601f6131bf565b60ff166101808201819052612285576101a08201516122779060216131bf565b60ff166101a08201526122fa565b80600c602002015160ff16600214156122a9576101a08201516122779060236131bf565b80600c602002015160ff16600314156122cd576101a08201516122779060256131bf565b80600c602002015160ff16600414156122f1576101a08201516122779060276131bf565b60076101a08201525b6101c082015161230b9060296131bf565b60ff166101c08201525b806002602002015160ff1660031415612347576101e082015161233990602b6131bf565b60ff166101e08201526123aa565b806002602002015160ff166001141561236b576101e082015161233990602c6131bf565b806002602002015160ff16600a141561238f576101e082015161233990602d6131bf565b6101e08201516123a090602a6131bf565b60ff166101e08201525b9392505050565b6013546001600160a01b03163314806123d457506014546001600160a01b031633145b6124145760405162461bcd60e51b81526020600482015260116024820152706f6e6c79206f776e6572206f722064616f60781b6044820152606401610a1d565b6011805460ff19166001179055565b6013546001600160a01b0316331461246f5760405162461bcd60e51b815260206004820152600f60248201526e6f6e6c79206f776e6572206c6d616f60881b6044820152606401610a1d565b601480546001600160a01b0319166001600160a01b0392909216919091179055565b6013546001600160a01b03163314806124b457506014546001600160a01b031633145b6124f45760405162461bcd60e51b81526020600482015260116024820152706f6e6c79206f776e6572206f722064616f60781b6044820152606401610a1d565b6011805460ff19169055565b6013546001600160a01b0316331461254c5760405162461bcd60e51b815260206004820152600f60248201526e6f6e6c79206f776e6572206c6d616f60881b6044820152606401610a1d565b6001600160a01b0381166125a25760405162461bcd60e51b815260206004820152601560248201527f43616e2774206265207a65726f206164647265737300000000000000000000006044820152606401610a1d565b601380546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061262757506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061091057507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b0319831614610910565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906126948261115d565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081815b85518110156127715760008682815181106126ef576126ef614381565b6020026020010151905080831161273157604080516020810185905290810182905260600160405160208183030381529060405280519060200120925061275e565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b508061276981614366565b9150506126d2565b509092149392505050565b600061278760085490565b9050600061279482613276565b6000838152600b60209081526040808320849055838352600a9091529020805460ff1916600117905590506117a33383613312565b6000818152600260205260408120546001600160a01b03166128425760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610a1d565b600061284d8361115d565b9050806001600160a01b0316846001600160a01b031614806128885750836001600160a01b031661287d846109a8565b6001600160a01b0316145b806128b857506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166128d38261115d565b6001600160a01b03161461294f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610a1d565b6001600160a01b0382166129ca5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610a1d565b6129d5838383613460565b6129e060008261265f565b6001600160a01b0383166000908152600360205260408120805460019290612a09908490614639565b90915550506001600160a01b0382166000908152600360205260408120805460019290612a3790849061432f565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b612aa38484846128c0565b612aaf84848484613518565b611adc5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a1d565b6060815160001415612b4157505060408051602081019091526000815290565b6000604051806060016040528060408152602001614e256040913990506000600384516002612b70919061432f565b612b7a9190614666565b612b85906004614347565b90506000612b9482602061432f565b67ffffffffffffffff811115612bac57612bac61415c565b6040519080825280601f01601f191660200182016040528015612bd6576020820181803683370190505b509050818152600183018586518101602084015b81831015612c445760039283018051603f601282901c811687015160f890811b8552600c83901c8216880151811b6001860152600683901c8216880151811b60028601529116860151901b93820193909352600401612bea565b600389510660018114612c5e5760028114612c8a57612cb2565b7f3d3d000000000000000000000000000000000000000000000000000000000000600119830152612cb2565b7f3d000000000000000000000000000000000000000000000000000000000000006000198301525b509398975050505050505050565b606081612d0057505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612d2a5780612d1481614366565b9150612d239050600a83614666565b9150612d04565b60008167ffffffffffffffff811115612d4557612d4561415c565b6040519080825280601f01601f191660200182016040528015612d6f576020820181803683370190505b5090505b84156128b857612d84600183614639565b9150612d91600a8661467a565b612d9c90603061432f565b60f81b818381518110612db157612db1614381565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612deb600a86614666565b9450612d73565b6060612e166053612e028461367b565b6054604051602001611c039392919061468e565b604051602001611c2791906146c1565b6060600060438382602002015160ff1681548110612e4657612e46614381565b60009182526020909120016044846001602002015160ff1681548110612e6e57612e6e614381565b60009182526020909120016045856002602002015160ff1681548110612e9657612e96614381565b60009182526020909120016046866003602002015160ff1681548110612ebe57612ebe614381565b60009182526020909120016047876004602002015160ff1681548110612ee657612ee6614381565b90600052602060002001604051602001612f04959493929190614706565b60408051601f19818403018152919052905060006048846005602002015160ff1681548110612f3557612f35614381565b60009182526020909120016049856006602002015160ff1681548110612f5d57612f5d614381565b6000918252602090912001604a866007602002015160ff1681548110612f8557612f85614381565b6000918252602090912001604b876008602002015160ff1681548110612fad57612fad614381565b6000918252602090912001604c886009602002015160ff1681548110612fd557612fd5614381565b6000918252602090912001604d89600a602002015160ff1681548110612ffd57612ffd614381565b9060005260206000200160405160200161301c969594939291906148ad565b60408051601f1981840301815291905290506000604e85600b602002015160ff168154811061304d5761304d614381565b6000918252602090912001604f86600c602002015160ff168154811061307557613075614381565b6000918252602090912001605087600d602002015160ff168154811061309d5761309d614381565b6000918252602090912001605188600e602002015160ff16815481106130c5576130c5614381565b6000918252602090912001605289600f602002015160ff16815481106130ed576130ed614381565b9060005260206000200160405160200161310b959493929190614a63565b604051602081830303815290604052905082828260405160200161313193929190614c14565b6040516020818303038152906040529350505050919050565b613152613ea7565b61315a613ea7565b60005b60108160ff1610156131b8576131756127108561467a565b828260ff166010811061318a5761318a614381565b61ffff90921660209290920201526131a461271085614666565b9350806131b081614c57565b91505061315d565b5092915050565b6000805b60158360ff16602e81106131d9576131d9614381565b015460ff8216101561327057600060158460ff16602e81106131fd576131fd614381565b018260ff168154811061321257613212614381565b90600052602060002090601091828204019190066002029054906101000a900461ffff1690508061ffff168561ffff16101561325057509050610910565b61325a8186614c77565b945050808061326890614c57565b9150506131c3565b50600080fd5b601080546000918261328783614366565b91905055506000444233856010546040516020016132d9959493929190948552602085019390935260609190911b6bffffffffffffffffffffffff191660408401526054830152607482015260940190565b60408051601f1981840301815291815281516020928301206000818152600a90935291205490915060ff1615610910576123aa83613276565b6001600160a01b0382166133685760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a1d565b6000818152600260205260409020546001600160a01b0316156133cd5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a1d565b6133d960008383613460565b6001600160a01b038216600090815260036020526040812080546001929061340290849061432f565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160a01b0383166134bb576134b681600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6134de565b816001600160a01b0316836001600160a01b0316146134de576134de8382613c7d565b6001600160a01b0382166134f557610b6f81613d1a565b826001600160a01b0316826001600160a01b031614610b6f57610b6f8282613dc9565b60006001600160a01b0384163b1561367057604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061355c903390899088908890600401614c9a565b602060405180830381600087803b15801561357657600080fd5b505af19250505080156135a6575060408051601f3d908101601f191682019092526135a391810190614cd6565b60015b613656573d8080156135d4576040519150601f19603f3d011682016040523d82523d6000602084013e6135d9565b606091505b50805161364e5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a1d565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506128b8565b506001949350505050565b60575460609060009061372d906001600160a01b031663d6a120c3838087600f5b60200201516040516001600160e01b031960e086901b16815260ff938416600482015291831660248301529190911660448201526064015b60006040518083038186803b1580156136ec57600080fd5b505afa158015613700573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526137289190810190614cf3565b613e0d565b6057548451613750916001600160a01b03169063d6a120c390600190888261369c565b605754613777906001600160a01b031663d6a120c36003886001602002015189600661369c565b608086015160ff161561379957604051806020016040528060008152506137da565b60575460405163d6a120c360e01b81526002600482015260006024820181905260448201526137da916001600160a01b03169063d6a120c3906064016136d4565b6040516020016137ed9493929190614d6a565b60408051808303601f190181526020830190915260008252606085015190925060ff1615806138265750836003602002015160ff166009145b8061383b5750836003602002015160ff16600b145b1561392757605754613867906001600160a01b031663d6a120c36005876001602002015188600961369c565b84600a602002015160ff166004141561388f57604051806020016040528060008152506138b6565b6057546138b6906001600160a01b031663d6a120c36006886009602002015189600a61369c565b6057546138d7906001600160a01b031663d6a120c3600760008a600561369c565b6057546138fe906001600160a01b031663d6a120c360048a600260200201518b600361369c565b6040516020016139119493929190614d6a565b6040516020818303038152906040529050613a0a565b60575461394e906001600160a01b031663d6a120c36004876002602002015188600361369c565b605754613975906001600160a01b031663d6a120c36005886001602002015189600961369c565b85600a602002015160ff166004141561399d57604051806020016040528060008152506139c4565b6057546139c4906001600160a01b031663d6a120c3600689600960200201518a600a61369c565b6057546139e5906001600160a01b031663d6a120c3600760008b600561369c565b6040516020016139f89493929190614d6a565b60405160208183030381529060405290505b6000846007602002015160ff1660011480613a2f5750846007602002015160ff166005145b8015613a465750846008602002015160ff16600514155b15613a4f575060015b600085600e602002015160ff1660161415613a795760405180602001604052806000815250613a9d565b6057548651613a9d916001600160a01b03169063d6a120c3906008908a600e61369c565b866007602002015160ff1660061415613ac55760405180602001604052806000815250613aec565b605754613aec906001600160a01b031663d6a120c360098a600260200201518b600761369c565b605754613b0d906001600160a01b031663d6a120c3600a60008c600861369c565b84613b275760405180602001604052806000815250613b70565b6057546040808b0151905163d6a120c360e01b81526009600482015260ff909116602482015260056044820152613b70916001600160a01b03169063d6a120c3906064016136d4565b604051602001613b839493929190614d6a565b60408051601f19818403018152919052605754909150600090613bc0906001600160a01b031663d6a120c3600b8a600160200201518b600b61369c565b605754613be0906001600160a01b031663d6a120c3600c60008c8261369c565b88600d602002015160ff1660071415613c085760405180602001604052806000815250613c28565b605754613c28906001600160a01b031663d6a120c3600d60008d8261369c565b604051602001613c3a93929190614c14565b604051602081830303815290604052905084848383604051602001613c629493929190614d6a565b60405160208183030381529060405295505050505050919050565b60006001613c8a84611250565b613c949190614639565b600083815260076020526040902054909150808214613ce7576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090613d2c90600190614639565b60008381526009602052604081205460088054939450909284908110613d5457613d54614381565b906000526020600020015490508060088381548110613d7557613d75614381565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480613dad57613dad614dc1565b6001900381819060005260206000200160009055905550505050565b6000613dd483611250565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6060605582604051602001611c27929190614dd7565b828054613e2f906142de565b90600052602060002090601f016020900481019282613e515760008555613e97565b82601f10613e6a5782800160ff19823516178555613e97565b82800160010185558215613e97579182015b82811115613e97578235825591602001919060010190613e7c565b50613ea3929150613ec6565b5090565b6040518061020001604052806010906020820280368337509192915050565b5b80821115613ea35760008155600101613ec7565b6001600160e01b031981168114610fbf57600080fd5b600060208284031215613f0357600080fd5b81356123aa81613edb565b60005b83811015613f29578181015183820152602001613f11565b83811115611adc5750506000910152565b60008151808452613f52816020860160208601613f0e565b601f01601f19169290920160200192915050565b6020815260006123aa6020830184613f3a565b600060208284031215613f8b57600080fd5b5035919050565b80356001600160a01b0381168114613fa957600080fd5b919050565b60008060408385031215613fc157600080fd5b613fca83613f92565b946020939093013593505050565b600080600060408486031215613fed57600080fd5b83359250602084013567ffffffffffffffff8082111561400c57600080fd5b818601915086601f83011261402057600080fd5b81358181111561402f57600080fd5b8760208260051b850101111561404457600080fd5b6020830194508093505050509250925092565b60008060006060848603121561406c57600080fd5b61407584613f92565b925061408360208501613f92565b9150604084013590509250925092565b6000602082840312156140a557600080fd5b6123aa82613f92565b600080602083850312156140c157600080fd5b823567ffffffffffffffff808211156140d957600080fd5b818501915085601f8301126140ed57600080fd5b8135818111156140fc57600080fd5b86602082850101111561410e57600080fd5b60209290920196919550909350505050565b6000806040838503121561413357600080fd5b61413c83613f92565b91506020830135801515811461415157600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561419b5761419b61415c565b604052919050565b600067ffffffffffffffff8211156141bd576141bd61415c565b50601f01601f191660200190565b600080600080608085870312156141e157600080fd5b6141ea85613f92565b93506141f860208601613f92565b925060408501359150606085013567ffffffffffffffff81111561421b57600080fd5b8501601f8101871361422c57600080fd5b803561423f61423a826141a3565b614172565b81815288602083850101111561425457600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b6102008101818360005b60108110156142a257815160ff16835260209283019290910190600101614280565b50505092915050565b600080604083850312156142be57600080fd5b6142c783613f92565b91506142d560208401613f92565b90509250929050565b600181811c908216806142f257607f821691505b6020821081141561431357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000821982111561434257614342614319565b500190565b600081600019048311821515161561436157614361614319565b500290565b600060001982141561437a5761437a614319565b5060010190565b634e487b7160e01b600052603260045260246000fd5b8054600090600181811c90808316806143b157607f831692505b60208084108214156143d357634e487b7160e01b600052602260045260246000fd5b8180156143e757600181146143f857614425565b60ff19861689528489019650614425565b60008881526020902060005b8681101561441d5781548b820152908501908301614404565b505084890196505b50505050505092915050565b7f7b226465736372697074696f6e223a2022000000000000000000000000000000815260006144636011830184614397565b61088b60f21b81527f22696d616765223a2022697066733a2f2f626166796265696679776e7761733660028201527f7a63336e696d3665696c37366b6b646776667063746b72366e677937736a696f60228201527f676a376c6f7372346b6479612f227d000000000000000000000000000000000060428201526051019392505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000825161451f81601d850160208701613f0e565b91909101601d0192915050565b7f7b226e616d65223a202244656172204465657220230000000000000000000000815260008551614564816015850160208a01613f0e565b808301905061088b60f21b8060158301527f226465736372697074696f6e223a20220000000000000000000000000000000060178301526145a86027830188614397565b91508082527f22696d616765223a202200000000000000000000000000000000000000000000600283015285516145e681600c850160208a01613f0e565b600c920191820152835161460181600e840160208801613f0e565b7f7d00000000000000000000000000000000000000000000000000000000000000600e9290910191820152600f019695505050505050565b60008282101561464b5761464b614319565b500390565b634e487b7160e01b600052601260045260246000fd5b60008261467557614675614650565b500490565b60008261468957614689614650565b500690565b600061469a8286614397565b84516146aa818360208901613f0e565b6146b681830186614397565b979650505050505050565b7f646174613a696d6167652f7376672b786d6c3b6261736536342c0000000000008152600082516146f981601a850160208701613f0e565b91909101601a0192915050565b7f2261747472696275746573223a205b000000000000000000000000000000000081527f7b2274726169745f74797065223a202247656e646572222c202276616c756522600f8201527f3a20220000000000000000000000000000000000000000000000000000000000602f82015260006147846032830188614397565b62089f4b60ea1b8082527f7b2274726169745f74797065223a2022467572222c202276616c7565223a202260038301526147c16023830189614397565b91508082527f7b2274726169745f74797065223a20224861697220436f6c6f72222c20227661600383015266363ab2911d101160c91b80602384015261480a602a840189614397565b92508183527f7b2274726169745f74797065223a202248616972205374796c65222c20227661600384015280602384015250614849602a830187614397565b9081527f7b2274726169745f74797065223a2022467265636b6c6573222c202276616c7560038201526432911d101160d91b602382015290506148a16148926028830186614397565b62089f4b60ea1b815260030190565b98975050505050505050565b7f7b2274726169745f74797065223a202245796573222c202276616c7565223a2081526000601160f91b8060208401526148ea602184018a614397565b62089f4b60ea1b8082527f7b2274726169745f74797065223a202242726f7773222c202276616c7565223a60038301527f202200000000000000000000000000000000000000000000000000000000000080602384015261494e602584018c614397565b92507f227d2c7b2274726169745f74797065223a20224265617264222c202276616c7583526432911d101160d91b602084015261498e602584018b614397565b92508183527f7b2274726169745f74797065223a20224d6f757468222c202276616c7565223a6003840152806023840152506149cd6025830189614397565b9150808252507f7b2274726169745f74797065223a202245617273222c202276616c7565223a206003820152816023820152614a55614892614a4f614a18614892602486018b614397565b7f7b2274726169745f74797065223a202245617272696e6773222c202276616c7581526432911d101160d91b602082015260250190565b87614397565b9a9950505050505050505050565b7f7b2274726169745f74797065223a20224e6f7365222c202276616c7565223a208152601160f91b60208201526000614a9f6021830188614397565b62089f4b60ea1b8082527f7b2274726169745f74797065223a2022416e746c657273222c202276616c756560038301527f223a202200000000000000000000000000000000000000000000000000000000806023840152614b03602784018a614397565b92508183527f7b2274726169745f74797065223a2022416e746c6572204163636573736f727960038401527f222c202276616c7565223a2022000000000000000000000000000000000000006023840152614b616030840189614397565b92508183527f7b2274726169745f74797065223a2022436c6f74686573222c202276616c7565600384015280602384015250614ba06027830187614397565b9081527f7b2274726169745f74797065223a20224261636b67726f756e64222c20227661600382015266363ab2911d101160c91b602382015290506148a1614beb602a830186614397565b7f227d5d0000000000000000000000000000000000000000000000000000000000815260030190565b60008451614c26818460208901613f0e565b845190830190614c3a818360208901613f0e565b8451910190614c4d818360208801613f0e565b0195945050505050565b600060ff821660ff811415614c6e57614c6e614319565b60010192915050565b600061ffff83811690831681811015614c9257614c92614319565b039392505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152614ccc6080830184613f3a565b9695505050505050565b600060208284031215614ce857600080fd5b81516123aa81613edb565b600060208284031215614d0557600080fd5b815167ffffffffffffffff811115614d1c57600080fd5b8201601f81018413614d2d57600080fd5b8051614d3b61423a826141a3565b818152856020838501011115614d5057600080fd5b614d61826020830160208601613f0e565b95945050505050565b60008551614d7c818460208a01613f0e565b855190830190614d90818360208a01613f0e565b8551910190614da3818360208901613f0e565b8451910190614db6818360208801613f0e565b019695505050505050565b634e487b7160e01b600052603160045260246000fd5b6000614de38285614397565b8351614df3818360208801613f0e565b7f222f3e0000000000000000000000000000000000000000000000000000000000910190815260030194935050505056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa264697066735822122012b80558427f4e0ecd4e861fbddca659ff44e0d03e4f4a4f6bad1b0b00b9595c64736f6c63430008090033446561722044656572206973206120636f6c6c656374696f6e206f662068617264636f7265206f6e636861696e20706978656c2061727420504650732e204561636820646565722069732067656e657261746564206174207468652074696d65206f66206d696e742e204e6f20495046532c206e6f204150492c20626f7468206d6574616461746120616e64206772617068696373206172652073746f726564206f6e20457468657265756d20666f72657665722e3c696d6167652077696474683d223130302522206865696768743d22313030252220687265663d22646174613a696d6167652f706e673b6261736536342c3c7374796c653e2364656572207b696d6167652d72656e646572696e673a20706978656c617465643b20696d6167652d72656e646572696e673a202d6d6f7a2d63726973702d65646765733b20696d6167652d72656e646572696e673a202d7765626b69742d63726973702d65646765733b202d6d732d696e746572706f6c6174696f6e2d6d6f64653a206e6561726573742d6e65696768626f723b7d3c2f7374796c653e3c2f7376673e3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f737667222076696577426f783d22302030203732203732222069643d2264656572223e
Deployed Bytecode
0x6080604052600436106103135760003560e01c806390c3f38f1161019a578063b19960e6116100e1578063d026acf91161008a578063e985e9c511610064578063e985e9c514610854578063ea557dce1461089d578063f2fde38b146108b257600080fd5b8063d026acf9146107f2578063d2c844ad1461081f578063e73a914c1461083457600080fd5b8063c002d23d116100bb578063c002d23d1461079c578063c87b56dd146107b2578063cbac0def146107d257600080fd5b8063b19960e614610746578063b88d4fde1461075c578063bfef5eae1461077c57600080fd5b8063a22cb46511610143578063a76a95871161011d578063a76a9587146106e6578063acbd53c814610706578063afdf61341461072657600080fd5b8063a22cb4651461069c578063a475b5dd146106bc578063a5e5a3ba146106d157600080fd5b806395d89b411161017457806395d89b41146106545780639e450f4114610669578063a0712d681461068957600080fd5b806390c3f38f146105ff57806391b7f5ed1461061f57806392312f031461063f57600080fd5b80634162169f1161025e5780636f8b44b0116102075780637cb64759116101e15780637cb64759146105a95780638da5cb5b146105c95780638ecad721146105e957600080fd5b80636f8b44b01461055457806370a0823114610574578063715018a61461059457600080fd5b8063616cdb1e11610238578063616cdb1e146104ff57806361afdd301461051f5780636352211e1461053457600080fd5b80634162169f1461049f57806342842e0e146104bf5780634f6ccce7146104df57600080fd5b806323b872dd116102c057806338ec91101161029a57806338ec911014610451578063390b91c41461046b5780633ccfd60b1461048a57600080fd5b806323b872dd146103fb5780632f745c591461041b57806332cb6b0c1461043b57600080fd5b8063095ea7b3116102f1578063095ea7b3146103a757806311876875146103c957806318160ddd146103dc57600080fd5b806301ffc9a71461031857806306fdde031461034d578063081812fc1461036f575b600080fd5b34801561032457600080fd5b50610338610333366004613ef1565b6108d2565b60405190151581526020015b60405180910390f35b34801561035957600080fd5b50610362610916565b6040516103449190613f66565b34801561037b57600080fd5b5061038f61038a366004613f79565b6109a8565b6040516001600160a01b039091168152602001610344565b3480156103b357600080fd5b506103c76103c2366004613fae565b610a42565b005b6103c76103d7366004613fd8565b610b74565b3480156103e857600080fd5b506008545b604051908152602001610344565b34801561040757600080fd5b506103c7610416366004614057565b610e18565b34801561042757600080fd5b506103ed610436366004613fae565b610e9f565b34801561044757600080fd5b506103ed600d5481565b34801561045d57600080fd5b506011546103389060ff1681565b34801561047757600080fd5b5060115461033890610100900460ff1681565b34801561049657600080fd5b506103c7610f47565b3480156104ab57600080fd5b5060145461038f906001600160a01b031681565b3480156104cb57600080fd5b506103c76104da366004614057565b610fc2565b3480156104eb57600080fd5b506103ed6104fa366004613f79565b610fdd565b34801561050b57600080fd5b506103c761051a366004613f79565b611081565b34801561052b57600080fd5b506103c76110e9565b34801561054057600080fd5b5061038f61054f366004613f79565b61115d565b34801561056057600080fd5b506103c761056f366004613f79565b6111e8565b34801561058057600080fd5b506103ed61058f366004614093565b611250565b3480156105a057600080fd5b506103c76112ea565b3480156105b557600080fd5b506103c76105c4366004613f79565b611348565b3480156105d557600080fd5b5060135461038f906001600160a01b031681565b3480156105f557600080fd5b506103ed600f5481565b34801561060b57600080fd5b506103c761061a3660046140ae565b6113b0565b34801561062b57600080fd5b506103c761063a366004613f79565b61141f565b34801561064b57600080fd5b506103c7611487565b34801561066057600080fd5b506103626114f7565b34801561067557600080fd5b506103c76106843660046140ae565b611506565b6103c7610697366004613f79565b611575565b3480156106a857600080fd5b506103c76106b7366004614120565b6117a7565b3480156106c857600080fd5b506103c761186c565b3480156106dd57600080fd5b506103c76118cb565b3480156106f257600080fd5b506011546103389062010000900460ff1681565b34801561071257600080fd5b506103c7610721366004614093565b611967565b34801561073257600080fd5b506103c7610741366004613f79565b6119ec565b34801561075257600080fd5b506103ed600e5481565b34801561076857600080fd5b506103c76107773660046141cb565b611a54565b34801561078857600080fd5b506103c76107973660046140ae565b611ae2565b3480156107a857600080fd5b506103ed600c5481565b3480156107be57600080fd5b506103626107cd366004613f79565b611b51565b3480156107de57600080fd5b506103c76107ed3660046140ae565b611ca4565b3480156107fe57600080fd5b5061081261080d366004613f79565b611d13565b6040516103449190614276565b34801561082b57600080fd5b506103c76123b1565b34801561084057600080fd5b506103c761084f366004614093565b612423565b34801561086057600080fd5b5061033861086f3660046142ab565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156108a957600080fd5b506103c7612491565b3480156108be57600080fd5b506103c76108cd366004614093565b612500565b60006001600160e01b031982167f780e9d630000000000000000000000000000000000000000000000000000000014806109105750610910826125c4565b92915050565b606060008054610925906142de565b80601f0160208091040260200160405190810160405280929190818152602001828054610951906142de565b801561099e5780601f106109735761010080835404028352916020019161099e565b820191906000526020600020905b81548152906001019060200180831161098157829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610a265760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610a4d8261115d565b9050806001600160a01b0316836001600160a01b03161415610ad75760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610a1d565b336001600160a01b0382161480610af35750610af3813361086f565b610b655760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610a1d565b610b6f838361265f565b505050565b6040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050610bee8383808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152505060125491508490506126cd565b610c3a5760405162461bcd60e51b815260206004820152600f60248201527f4e6f742077686974656c697374656400000000000000000000000000000000006044820152606401610a1d565b60115460ff16610c7a5760405162461bcd60e51b815260206004820152600b60248201526a26b4b73a1034b99037b33360a91b6044820152606401610a1d565b600f54841115610ccc5760405162461bcd60e51b815260206004820152600f60248201527f4d696e74207065722074782063617000000000000000000000000000000000006044820152606401610a1d565b600e5484610cd933611250565b610ce3919061432f565b1115610d315760405162461bcd60e51b815260206004820152601360248201527f4d696e74207065722077616c6c657420636170000000000000000000000000006044820152606401610a1d565b600d5484610d3e60085490565b610d48919061432f565b1115610d835760405162461bcd60e51b815260206004820152600a6024820152690537570706c79206361760b41b6044820152606401610a1d565b3484600c54610d929190614347565b1115610de05760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420656e6f756768204554480000000000000000000000000000000000006044820152606401610a1d565b333b15610dec57600080fd5b60005b84811015610e1157610dff61277c565b80610e0981614366565b915050610def565b5050505050565b610e2233826127c9565b610e945760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610a1d565b610b6f8383836128c0565b6000610eaa83611250565b8210610f1e5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610a1d565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6013546001600160a01b03163314610f935760405162461bcd60e51b815260206004820152600f60248201526e6f6e6c79206f776e6572206c6d616f60881b6044820152606401610a1d565b60405133904780156108fc02916000818181858888f19350505050158015610fbf573d6000803e3d6000fd5b50565b610b6f83838360405180602001604052806000815250611a54565b6000610fe860085490565b821061105c5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610a1d565b6008828154811061106f5761106f614381565b90600052602060002001549050919050565b6013546001600160a01b03163314806110a457506014546001600160a01b031633145b6110e45760405162461bcd60e51b81526020600482015260116024820152706f6e6c79206f776e6572206f722064616f60781b6044820152606401610a1d565b600f55565b6013546001600160a01b031633148061110c57506014546001600160a01b031633145b61114c5760405162461bcd60e51b81526020600482015260116024820152706f6e6c79206f776e6572206f722064616f60781b6044820152606401610a1d565b6011805461ff001916610100179055565b6000818152600260205260408120546001600160a01b0316806109105760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610a1d565b6013546001600160a01b031633148061120b57506014546001600160a01b031633145b61124b5760405162461bcd60e51b81526020600482015260116024820152706f6e6c79206f776e6572206f722064616f60781b6044820152606401610a1d565b600d55565b60006001600160a01b0382166112ce5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610a1d565b506001600160a01b031660009081526003602052604090205490565b6013546001600160a01b031633146113365760405162461bcd60e51b815260206004820152600f60248201526e6f6e6c79206f776e6572206c6d616f60881b6044820152606401610a1d565b601380546001600160a01b0319169055565b6013546001600160a01b031633148061136b57506014546001600160a01b031633145b6113ab5760405162461bcd60e51b81526020600482015260116024820152706f6e6c79206f776e6572206f722064616f60781b6044820152606401610a1d565b601255565b6013546001600160a01b03163314806113d357506014546001600160a01b031633145b6114135760405162461bcd60e51b81526020600482015260116024820152706f6e6c79206f776e6572206f722064616f60781b6044820152606401610a1d565b610b6f60568383613e23565b6013546001600160a01b031633148061144257506014546001600160a01b031633145b6114825760405162461bcd60e51b81526020600482015260116024820152706f6e6c79206f776e6572206f722064616f60781b6044820152606401610a1d565b600c55565b6013546001600160a01b03163314806114aa57506014546001600160a01b031633145b6114ea5760405162461bcd60e51b81526020600482015260116024820152706f6e6c79206f776e6572206f722064616f60781b6044820152606401610a1d565b6011805461ff0019169055565b606060018054610925906142de565b6013546001600160a01b031633148061152957506014546001600160a01b031633145b6115695760405162461bcd60e51b81526020600482015260116024820152706f6e6c79206f776e6572206f722064616f60781b6044820152606401610a1d565b610b6f60558383613e23565b60115460ff166115b55760405162461bcd60e51b815260206004820152600b60248201526a26b4b73a1034b99037b33360a91b6044820152606401610a1d565b601154610100900460ff1661160c5760405162461bcd60e51b815260206004820152601760248201527f5075626c6963206d696e74206e6f7420737461727465640000000000000000006044820152606401610a1d565b600f5481111561165e5760405162461bcd60e51b815260206004820152600f60248201527f4d696e74207065722074782063617000000000000000000000000000000000006044820152606401610a1d565b600e548161166b33611250565b611675919061432f565b11156116c35760405162461bcd60e51b815260206004820152601360248201527f4d696e74207065722077616c6c657420636170000000000000000000000000006044820152606401610a1d565b600d54816116d060085490565b6116da919061432f565b11156117155760405162461bcd60e51b815260206004820152600a6024820152690537570706c79206361760b41b6044820152606401610a1d565b3481600c546117249190614347565b11156117725760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420656e6f756768204554480000000000000000000000000000000000006044820152606401610a1d565b333b1561177e57600080fd5b60005b818110156117a35761179161277c565b8061179b81614366565b915050611781565b5050565b6001600160a01b0382163314156118005760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a1d565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6013546001600160a01b031633146118b85760405162461bcd60e51b815260206004820152600f60248201526e6f6e6c79206f776e6572206c6d616f60881b6044820152606401610a1d565b6011805462ff0000191662010000179055565b6013546001600160a01b03163314806118ee57506014546001600160a01b031633145b61192e5760405162461bcd60e51b81526020600482015260116024820152706f6e6c79206f776e6572206f722064616f60781b6044820152606401610a1d565b6014546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610fbf573d6000803e3d6000fd5b6013546001600160a01b031633148061198a57506014546001600160a01b031633145b6119ca5760405162461bcd60e51b81526020600482015260116024820152706f6e6c79206f776e6572206f722064616f60781b6044820152606401610a1d565b605780546001600160a01b0319166001600160a01b0392909216919091179055565b6013546001600160a01b0316331480611a0f57506014546001600160a01b031633145b611a4f5760405162461bcd60e51b81526020600482015260116024820152706f6e6c79206f776e6572206f722064616f60781b6044820152606401610a1d565b600e55565b611a5e33836127c9565b611ad05760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610a1d565b611adc84848484612a98565b50505050565b6013546001600160a01b0316331480611b0557506014546001600160a01b031633145b611b455760405162461bcd60e51b81526020600482015260116024820152706f6e6c79206f776e6572206f722064616f60781b6044820152606401610a1d565b610b6f60548383613e23565b6000818152600260205260409020546060906001600160a01b0316611bde5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610a1d565b60115462010000900460ff16611c3d57611c176056604051602001611c039190614431565b604051602081830303815290604052612b21565b604051602001611c2791906144e7565b6040516020818303038152906040529050919050565b6000611c4883611d13565b9050611c7d611c5684612cc0565b6056611c6184612df2565b611c6a85612e26565b604051602001611c03949392919061452c565b604051602001611c8d91906144e7565b604051602081830303815290604052915050919050565b6013546001600160a01b0316331480611cc757506014546001600160a01b031633145b611d075760405162461bcd60e51b81526020600482015260116024820152706f6e6c79206f776e6572206f722064616f60781b6044820152606401610a1d565b610b6f60538383613e23565b611d1b613ea7565b6000828152600b6020526040812054611d339061314a565b9050611d3d613ea7565b8151611d4a9060006131bf565b60ff168082526120a5576020820151611d649060016131bf565b60ff1660208201526040820151611d7c9060036131bf565b60ff1660408201526060820151611d949060056131bf565b60ff1660608201526080820151611dac9060076131bf565b60ff16608082015260a0820151611dc49060096131bf565b60ff1660a082015260c0820151611ddc90600b6131bf565b60ff1660c0820152610100820151611df59060156131bf565b60ff16610100820181905260021415611e255760e0820151611e1890600f6131bf565b60ff1660e0820152611eeb565b806008602002015160ff1660031415611e485760e0820151611e189060106131bf565b806008602002015160ff1660041415611e6b5760e0820151611e189060116131bf565b806008602002015160ff1660061415611e8e5760e0820151611e189060126131bf565b61010081015160ff1660081415611eaf5760e0820151611e189060136131bf565b806008602002015160ff16600b1415611ed25760e0820151611e189060146131bf565b60e0820151611ee290600d6131bf565b60ff1660e08201525b610120820151611efc9060176131bf565b60ff16610120820152610140820151611f169060196131bf565b60ff90811661014083015260a0820151161580611f3d5750806005602002015160ff166004145b80611f525750806005602002015160ff166007145b80611f675750806005602002015160ff166009145b80611f7c5750806005602002015160ff16600a145b80611f915750806005602002015160ff16600d145b15611fb757611fa982600b5b6020020151601d6131bf565b60ff16610160820152611fd2565b610160820151611fc890601b6131bf565b60ff166101608201525b610180820151611fe390601e6131bf565b60ff166101808201819052612011576101a08201516120039060206131bf565b60ff166101a0820152612086565b80600c602002015160ff1660021415612035576101a08201516120039060226131bf565b80600c602002015160ff1660031415612059576101a08201516120039060246131bf565b80600c602002015160ff166004141561207d576101a08201516120039060266131bf565b60076101a08201525b6101c08201516120979060286131bf565b60ff166101c0820152612315565b60208201516120b59060026131bf565b60ff16602082015260408201516120cd9060046131bf565b60ff16604082015260608201516120e59060066131bf565b60ff16606082015260808201516120fd9060086131bf565b60ff16608082015260a082015161211590600a6131bf565b60ff1660a082015260c082015161212d90600c6131bf565b60ff1660c082015260e082015161214590600e6131bf565b60ff1660e082015261010082015161215e9060166131bf565b60ff166101008201526101208201516121789060186131bf565b60ff1661012082015261014082015161219290601a6131bf565b60ff90811661014083015260a08201511615806121b95750806005602002015160ff166004145b806121ce5750806005602002015160ff166007145b806121e35750806005602002015160ff166009145b806121f85750806005602002015160ff16600a145b8061220d5750806005602002015160ff16600d145b1561222b5761221d82600b611f9d565b60ff16610160820152612246565b61016082015161223c90601c6131bf565b60ff166101608201525b61018082015161225790601f6131bf565b60ff166101808201819052612285576101a08201516122779060216131bf565b60ff166101a08201526122fa565b80600c602002015160ff16600214156122a9576101a08201516122779060236131bf565b80600c602002015160ff16600314156122cd576101a08201516122779060256131bf565b80600c602002015160ff16600414156122f1576101a08201516122779060276131bf565b60076101a08201525b6101c082015161230b9060296131bf565b60ff166101c08201525b806002602002015160ff1660031415612347576101e082015161233990602b6131bf565b60ff166101e08201526123aa565b806002602002015160ff166001141561236b576101e082015161233990602c6131bf565b806002602002015160ff16600a141561238f576101e082015161233990602d6131bf565b6101e08201516123a090602a6131bf565b60ff166101e08201525b9392505050565b6013546001600160a01b03163314806123d457506014546001600160a01b031633145b6124145760405162461bcd60e51b81526020600482015260116024820152706f6e6c79206f776e6572206f722064616f60781b6044820152606401610a1d565b6011805460ff19166001179055565b6013546001600160a01b0316331461246f5760405162461bcd60e51b815260206004820152600f60248201526e6f6e6c79206f776e6572206c6d616f60881b6044820152606401610a1d565b601480546001600160a01b0319166001600160a01b0392909216919091179055565b6013546001600160a01b03163314806124b457506014546001600160a01b031633145b6124f45760405162461bcd60e51b81526020600482015260116024820152706f6e6c79206f776e6572206f722064616f60781b6044820152606401610a1d565b6011805460ff19169055565b6013546001600160a01b0316331461254c5760405162461bcd60e51b815260206004820152600f60248201526e6f6e6c79206f776e6572206c6d616f60881b6044820152606401610a1d565b6001600160a01b0381166125a25760405162461bcd60e51b815260206004820152601560248201527f43616e2774206265207a65726f206164647265737300000000000000000000006044820152606401610a1d565b601380546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061262757506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061091057507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b0319831614610910565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906126948261115d565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081815b85518110156127715760008682815181106126ef576126ef614381565b6020026020010151905080831161273157604080516020810185905290810182905260600160405160208183030381529060405280519060200120925061275e565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b508061276981614366565b9150506126d2565b509092149392505050565b600061278760085490565b9050600061279482613276565b6000838152600b60209081526040808320849055838352600a9091529020805460ff1916600117905590506117a33383613312565b6000818152600260205260408120546001600160a01b03166128425760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610a1d565b600061284d8361115d565b9050806001600160a01b0316846001600160a01b031614806128885750836001600160a01b031661287d846109a8565b6001600160a01b0316145b806128b857506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166128d38261115d565b6001600160a01b03161461294f5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610a1d565b6001600160a01b0382166129ca5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610a1d565b6129d5838383613460565b6129e060008261265f565b6001600160a01b0383166000908152600360205260408120805460019290612a09908490614639565b90915550506001600160a01b0382166000908152600360205260408120805460019290612a3790849061432f565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b612aa38484846128c0565b612aaf84848484613518565b611adc5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a1d565b6060815160001415612b4157505060408051602081019091526000815290565b6000604051806060016040528060408152602001614e256040913990506000600384516002612b70919061432f565b612b7a9190614666565b612b85906004614347565b90506000612b9482602061432f565b67ffffffffffffffff811115612bac57612bac61415c565b6040519080825280601f01601f191660200182016040528015612bd6576020820181803683370190505b509050818152600183018586518101602084015b81831015612c445760039283018051603f601282901c811687015160f890811b8552600c83901c8216880151811b6001860152600683901c8216880151811b60028601529116860151901b93820193909352600401612bea565b600389510660018114612c5e5760028114612c8a57612cb2565b7f3d3d000000000000000000000000000000000000000000000000000000000000600119830152612cb2565b7f3d000000000000000000000000000000000000000000000000000000000000006000198301525b509398975050505050505050565b606081612d0057505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612d2a5780612d1481614366565b9150612d239050600a83614666565b9150612d04565b60008167ffffffffffffffff811115612d4557612d4561415c565b6040519080825280601f01601f191660200182016040528015612d6f576020820181803683370190505b5090505b84156128b857612d84600183614639565b9150612d91600a8661467a565b612d9c90603061432f565b60f81b818381518110612db157612db1614381565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612deb600a86614666565b9450612d73565b6060612e166053612e028461367b565b6054604051602001611c039392919061468e565b604051602001611c2791906146c1565b6060600060438382602002015160ff1681548110612e4657612e46614381565b60009182526020909120016044846001602002015160ff1681548110612e6e57612e6e614381565b60009182526020909120016045856002602002015160ff1681548110612e9657612e96614381565b60009182526020909120016046866003602002015160ff1681548110612ebe57612ebe614381565b60009182526020909120016047876004602002015160ff1681548110612ee657612ee6614381565b90600052602060002001604051602001612f04959493929190614706565b60408051601f19818403018152919052905060006048846005602002015160ff1681548110612f3557612f35614381565b60009182526020909120016049856006602002015160ff1681548110612f5d57612f5d614381565b6000918252602090912001604a866007602002015160ff1681548110612f8557612f85614381565b6000918252602090912001604b876008602002015160ff1681548110612fad57612fad614381565b6000918252602090912001604c886009602002015160ff1681548110612fd557612fd5614381565b6000918252602090912001604d89600a602002015160ff1681548110612ffd57612ffd614381565b9060005260206000200160405160200161301c969594939291906148ad565b60408051601f1981840301815291905290506000604e85600b602002015160ff168154811061304d5761304d614381565b6000918252602090912001604f86600c602002015160ff168154811061307557613075614381565b6000918252602090912001605087600d602002015160ff168154811061309d5761309d614381565b6000918252602090912001605188600e602002015160ff16815481106130c5576130c5614381565b6000918252602090912001605289600f602002015160ff16815481106130ed576130ed614381565b9060005260206000200160405160200161310b959493929190614a63565b604051602081830303815290604052905082828260405160200161313193929190614c14565b6040516020818303038152906040529350505050919050565b613152613ea7565b61315a613ea7565b60005b60108160ff1610156131b8576131756127108561467a565b828260ff166010811061318a5761318a614381565b61ffff90921660209290920201526131a461271085614666565b9350806131b081614c57565b91505061315d565b5092915050565b6000805b60158360ff16602e81106131d9576131d9614381565b015460ff8216101561327057600060158460ff16602e81106131fd576131fd614381565b018260ff168154811061321257613212614381565b90600052602060002090601091828204019190066002029054906101000a900461ffff1690508061ffff168561ffff16101561325057509050610910565b61325a8186614c77565b945050808061326890614c57565b9150506131c3565b50600080fd5b601080546000918261328783614366565b91905055506000444233856010546040516020016132d9959493929190948552602085019390935260609190911b6bffffffffffffffffffffffff191660408401526054830152607482015260940190565b60408051601f1981840301815291815281516020928301206000818152600a90935291205490915060ff1615610910576123aa83613276565b6001600160a01b0382166133685760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a1d565b6000818152600260205260409020546001600160a01b0316156133cd5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a1d565b6133d960008383613460565b6001600160a01b038216600090815260036020526040812080546001929061340290849061432f565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160a01b0383166134bb576134b681600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6134de565b816001600160a01b0316836001600160a01b0316146134de576134de8382613c7d565b6001600160a01b0382166134f557610b6f81613d1a565b826001600160a01b0316826001600160a01b031614610b6f57610b6f8282613dc9565b60006001600160a01b0384163b1561367057604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061355c903390899088908890600401614c9a565b602060405180830381600087803b15801561357657600080fd5b505af19250505080156135a6575060408051601f3d908101601f191682019092526135a391810190614cd6565b60015b613656573d8080156135d4576040519150601f19603f3d011682016040523d82523d6000602084013e6135d9565b606091505b50805161364e5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a1d565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506128b8565b506001949350505050565b60575460609060009061372d906001600160a01b031663d6a120c3838087600f5b60200201516040516001600160e01b031960e086901b16815260ff938416600482015291831660248301529190911660448201526064015b60006040518083038186803b1580156136ec57600080fd5b505afa158015613700573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526137289190810190614cf3565b613e0d565b6057548451613750916001600160a01b03169063d6a120c390600190888261369c565b605754613777906001600160a01b031663d6a120c36003886001602002015189600661369c565b608086015160ff161561379957604051806020016040528060008152506137da565b60575460405163d6a120c360e01b81526002600482015260006024820181905260448201526137da916001600160a01b03169063d6a120c3906064016136d4565b6040516020016137ed9493929190614d6a565b60408051808303601f190181526020830190915260008252606085015190925060ff1615806138265750836003602002015160ff166009145b8061383b5750836003602002015160ff16600b145b1561392757605754613867906001600160a01b031663d6a120c36005876001602002015188600961369c565b84600a602002015160ff166004141561388f57604051806020016040528060008152506138b6565b6057546138b6906001600160a01b031663d6a120c36006886009602002015189600a61369c565b6057546138d7906001600160a01b031663d6a120c3600760008a600561369c565b6057546138fe906001600160a01b031663d6a120c360048a600260200201518b600361369c565b6040516020016139119493929190614d6a565b6040516020818303038152906040529050613a0a565b60575461394e906001600160a01b031663d6a120c36004876002602002015188600361369c565b605754613975906001600160a01b031663d6a120c36005886001602002015189600961369c565b85600a602002015160ff166004141561399d57604051806020016040528060008152506139c4565b6057546139c4906001600160a01b031663d6a120c3600689600960200201518a600a61369c565b6057546139e5906001600160a01b031663d6a120c3600760008b600561369c565b6040516020016139f89493929190614d6a565b60405160208183030381529060405290505b6000846007602002015160ff1660011480613a2f5750846007602002015160ff166005145b8015613a465750846008602002015160ff16600514155b15613a4f575060015b600085600e602002015160ff1660161415613a795760405180602001604052806000815250613a9d565b6057548651613a9d916001600160a01b03169063d6a120c3906008908a600e61369c565b866007602002015160ff1660061415613ac55760405180602001604052806000815250613aec565b605754613aec906001600160a01b031663d6a120c360098a600260200201518b600761369c565b605754613b0d906001600160a01b031663d6a120c3600a60008c600861369c565b84613b275760405180602001604052806000815250613b70565b6057546040808b0151905163d6a120c360e01b81526009600482015260ff909116602482015260056044820152613b70916001600160a01b03169063d6a120c3906064016136d4565b604051602001613b839493929190614d6a565b60408051601f19818403018152919052605754909150600090613bc0906001600160a01b031663d6a120c3600b8a600160200201518b600b61369c565b605754613be0906001600160a01b031663d6a120c3600c60008c8261369c565b88600d602002015160ff1660071415613c085760405180602001604052806000815250613c28565b605754613c28906001600160a01b031663d6a120c3600d60008d8261369c565b604051602001613c3a93929190614c14565b604051602081830303815290604052905084848383604051602001613c629493929190614d6a565b60405160208183030381529060405295505050505050919050565b60006001613c8a84611250565b613c949190614639565b600083815260076020526040902054909150808214613ce7576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090613d2c90600190614639565b60008381526009602052604081205460088054939450909284908110613d5457613d54614381565b906000526020600020015490508060088381548110613d7557613d75614381565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480613dad57613dad614dc1565b6001900381819060005260206000200160009055905550505050565b6000613dd483611250565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6060605582604051602001611c27929190614dd7565b828054613e2f906142de565b90600052602060002090601f016020900481019282613e515760008555613e97565b82601f10613e6a5782800160ff19823516178555613e97565b82800160010185558215613e97579182015b82811115613e97578235825591602001919060010190613e7c565b50613ea3929150613ec6565b5090565b6040518061020001604052806010906020820280368337509192915050565b5b80821115613ea35760008155600101613ec7565b6001600160e01b031981168114610fbf57600080fd5b600060208284031215613f0357600080fd5b81356123aa81613edb565b60005b83811015613f29578181015183820152602001613f11565b83811115611adc5750506000910152565b60008151808452613f52816020860160208601613f0e565b601f01601f19169290920160200192915050565b6020815260006123aa6020830184613f3a565b600060208284031215613f8b57600080fd5b5035919050565b80356001600160a01b0381168114613fa957600080fd5b919050565b60008060408385031215613fc157600080fd5b613fca83613f92565b946020939093013593505050565b600080600060408486031215613fed57600080fd5b83359250602084013567ffffffffffffffff8082111561400c57600080fd5b818601915086601f83011261402057600080fd5b81358181111561402f57600080fd5b8760208260051b850101111561404457600080fd5b6020830194508093505050509250925092565b60008060006060848603121561406c57600080fd5b61407584613f92565b925061408360208501613f92565b9150604084013590509250925092565b6000602082840312156140a557600080fd5b6123aa82613f92565b600080602083850312156140c157600080fd5b823567ffffffffffffffff808211156140d957600080fd5b818501915085601f8301126140ed57600080fd5b8135818111156140fc57600080fd5b86602082850101111561410e57600080fd5b60209290920196919550909350505050565b6000806040838503121561413357600080fd5b61413c83613f92565b91506020830135801515811461415157600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561419b5761419b61415c565b604052919050565b600067ffffffffffffffff8211156141bd576141bd61415c565b50601f01601f191660200190565b600080600080608085870312156141e157600080fd5b6141ea85613f92565b93506141f860208601613f92565b925060408501359150606085013567ffffffffffffffff81111561421b57600080fd5b8501601f8101871361422c57600080fd5b803561423f61423a826141a3565b614172565b81815288602083850101111561425457600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b6102008101818360005b60108110156142a257815160ff16835260209283019290910190600101614280565b50505092915050565b600080604083850312156142be57600080fd5b6142c783613f92565b91506142d560208401613f92565b90509250929050565b600181811c908216806142f257607f821691505b6020821081141561431357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000821982111561434257614342614319565b500190565b600081600019048311821515161561436157614361614319565b500290565b600060001982141561437a5761437a614319565b5060010190565b634e487b7160e01b600052603260045260246000fd5b8054600090600181811c90808316806143b157607f831692505b60208084108214156143d357634e487b7160e01b600052602260045260246000fd5b8180156143e757600181146143f857614425565b60ff19861689528489019650614425565b60008881526020902060005b8681101561441d5781548b820152908501908301614404565b505084890196505b50505050505092915050565b7f7b226465736372697074696f6e223a2022000000000000000000000000000000815260006144636011830184614397565b61088b60f21b81527f22696d616765223a2022697066733a2f2f626166796265696679776e7761733660028201527f7a63336e696d3665696c37366b6b646776667063746b72366e677937736a696f60228201527f676a376c6f7372346b6479612f227d000000000000000000000000000000000060428201526051019392505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000825161451f81601d850160208701613f0e565b91909101601d0192915050565b7f7b226e616d65223a202244656172204465657220230000000000000000000000815260008551614564816015850160208a01613f0e565b808301905061088b60f21b8060158301527f226465736372697074696f6e223a20220000000000000000000000000000000060178301526145a86027830188614397565b91508082527f22696d616765223a202200000000000000000000000000000000000000000000600283015285516145e681600c850160208a01613f0e565b600c920191820152835161460181600e840160208801613f0e565b7f7d00000000000000000000000000000000000000000000000000000000000000600e9290910191820152600f019695505050505050565b60008282101561464b5761464b614319565b500390565b634e487b7160e01b600052601260045260246000fd5b60008261467557614675614650565b500490565b60008261468957614689614650565b500690565b600061469a8286614397565b84516146aa818360208901613f0e565b6146b681830186614397565b979650505050505050565b7f646174613a696d6167652f7376672b786d6c3b6261736536342c0000000000008152600082516146f981601a850160208701613f0e565b91909101601a0192915050565b7f2261747472696275746573223a205b000000000000000000000000000000000081527f7b2274726169745f74797065223a202247656e646572222c202276616c756522600f8201527f3a20220000000000000000000000000000000000000000000000000000000000602f82015260006147846032830188614397565b62089f4b60ea1b8082527f7b2274726169745f74797065223a2022467572222c202276616c7565223a202260038301526147c16023830189614397565b91508082527f7b2274726169745f74797065223a20224861697220436f6c6f72222c20227661600383015266363ab2911d101160c91b80602384015261480a602a840189614397565b92508183527f7b2274726169745f74797065223a202248616972205374796c65222c20227661600384015280602384015250614849602a830187614397565b9081527f7b2274726169745f74797065223a2022467265636b6c6573222c202276616c7560038201526432911d101160d91b602382015290506148a16148926028830186614397565b62089f4b60ea1b815260030190565b98975050505050505050565b7f7b2274726169745f74797065223a202245796573222c202276616c7565223a2081526000601160f91b8060208401526148ea602184018a614397565b62089f4b60ea1b8082527f7b2274726169745f74797065223a202242726f7773222c202276616c7565223a60038301527f202200000000000000000000000000000000000000000000000000000000000080602384015261494e602584018c614397565b92507f227d2c7b2274726169745f74797065223a20224265617264222c202276616c7583526432911d101160d91b602084015261498e602584018b614397565b92508183527f7b2274726169745f74797065223a20224d6f757468222c202276616c7565223a6003840152806023840152506149cd6025830189614397565b9150808252507f7b2274726169745f74797065223a202245617273222c202276616c7565223a206003820152816023820152614a55614892614a4f614a18614892602486018b614397565b7f7b2274726169745f74797065223a202245617272696e6773222c202276616c7581526432911d101160d91b602082015260250190565b87614397565b9a9950505050505050505050565b7f7b2274726169745f74797065223a20224e6f7365222c202276616c7565223a208152601160f91b60208201526000614a9f6021830188614397565b62089f4b60ea1b8082527f7b2274726169745f74797065223a2022416e746c657273222c202276616c756560038301527f223a202200000000000000000000000000000000000000000000000000000000806023840152614b03602784018a614397565b92508183527f7b2274726169745f74797065223a2022416e746c6572204163636573736f727960038401527f222c202276616c7565223a2022000000000000000000000000000000000000006023840152614b616030840189614397565b92508183527f7b2274726169745f74797065223a2022436c6f74686573222c202276616c7565600384015280602384015250614ba06027830187614397565b9081527f7b2274726169745f74797065223a20224261636b67726f756e64222c20227661600382015266363ab2911d101160c91b602382015290506148a1614beb602a830186614397565b7f227d5d0000000000000000000000000000000000000000000000000000000000815260030190565b60008451614c26818460208901613f0e565b845190830190614c3a818360208901613f0e565b8451910190614c4d818360208801613f0e565b0195945050505050565b600060ff821660ff811415614c6e57614c6e614319565b60010192915050565b600061ffff83811690831681811015614c9257614c92614319565b039392505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152614ccc6080830184613f3a565b9695505050505050565b600060208284031215614ce857600080fd5b81516123aa81613edb565b600060208284031215614d0557600080fd5b815167ffffffffffffffff811115614d1c57600080fd5b8201601f81018413614d2d57600080fd5b8051614d3b61423a826141a3565b818152856020838501011115614d5057600080fd5b614d61826020830160208601613f0e565b95945050505050565b60008551614d7c818460208a01613f0e565b855190830190614d90818360208a01613f0e565b8551910190614da3818360208901613f0e565b8451910190614db6818360208801613f0e565b019695505050505050565b634e487b7160e01b600052603160045260246000fd5b6000614de38285614397565b8351614df3818360208801613f0e565b7f222f3e0000000000000000000000000000000000000000000000000000000000910190815260030194935050505056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa264697066735822122012b80558427f4e0ecd4e861fbddca659ff44e0d03e4f4a4f6bad1b0b00b9595c64736f6c63430008090033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.