ERC-721
NFT
Overview
Max Total Supply
10,000 OCBIRD
Holders
1,259
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 OCBIRDLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
OnChainBirds
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
Yes with 1 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity >=0.8.12 <0.9.0; import "./ERC721A/ERC721A.sol"; import "./Base64.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract OnChainBirds is ERC721A, Ownable { /* ____ _______ _ ___ _ __ / __ \___ / ___/ / ___ _(_)__ / _ )(_)______/ /__ / /_/ / _ \/ /__/ _ \/ _ `/ / _ \/ _ / / __/ _ (_-< \____/_//_/\___/_//_/\_,_/_/_//_/____/_/_/ \_,_/___/ */ uint256 public constant MAX_SUPPLY = 10000; uint256 public price = 0.006 ether; uint256 public constant maxPerTx = 10; bool public imageDataLocked; bytes32[][16] traitNames; // nesting mapping(uint256 => uint256) private nestingTotal; mapping(uint256 => uint256) private nestingStarted; uint256 private nestingTransfer; bool public nestingIsOpen; // rendering uint256 private constant size = 42; uint256[7][8] private masks; // layer masks uint256[][][][7] private assets; // stores encoded pixeldata uint256[][6][4] private legendarybodies; mapping (uint256 => uint256) private hashExists; mapping (uint256 => DNA) private tokenIdToDNA; uint8[2592] private colorPalette; uint8[40] private alphaPalette = [0,0,0,77,155,154,134,7,0,0,0,115,0,0,0,26,255,255,255,115,146,235,252,102,135,234,254,38,34,34,34,26,255,255,255,128,0,0,0,38]; uint256[][] private goldHeadChance = [[4,0,19,0,3,24,0,13,29,14],[0,30,0,23,2,0,0,0,0,0],[11,6,0,26,0,0,0,0,0,0],[21,22,0,36,0,0,0,0,0,0]]; uint256[25] private rubyHeadChance = [17,20,32,4,0,35,11,2,30,26,14,1,33,23,36,0,19,22,16,15,3,13,0,18,34]; uint256[][] private goldEWChance = [[0,2,0,12,0,0,0,0,0,0],[0,0,3,0,0,0,0,0,0,0],[0,10,0,0,4,0,0,0,0,0],[0,0,1,8,0,0,0,0,0,0]]; uint256[85] private roboHeadChance = [21,0,0,0,1,2,3,5,6,7,9,11,12,14,16,17,22,23,24,25,26,27,28,30,32,33,34,35,36,0,0,0,1,2,3,5,6,7,9,11,12,14,16,17,22,23,24,25,26,27,28,30,32,33,34,35,36,0,0,0,1,2,3,5,6,7,9,11,12,14,16,17,22,23,24,25,26,27,28,30,32,33,34,35,36]; uint256[13] private roboEWChance = [0,0,0,0,0,0,1,9,10,9,10,11,12]; uint256[11] private skelleEWChance = [0,0,1,3,5,7,9,10,11,12,0]; uint256[25] private rubyEWChance = [0,0,7,0,10,0,0,0,0,0,0,0,5,0,0,1,0,0,0,9,3,0,0,0,0]; struct DNA { uint16 Background; uint16 Beak; uint16 Body; uint16 Eyes; uint16 Eyewear; uint16 Feathers; uint16 Headwear; uint16 Outerwear; uint16 EyeColor; uint16 BeakColor; uint16 LegendaryId; } struct DecompressionCursor { uint256 index; uint256 rlength; uint256 color; uint256 position; } bool private raffleLocked; event FallbackRaffle( uint256 tokenId ); constructor() ERC721A("OnChainBirds", "OCBIRD") {} function mint(uint256 quantity) external payable { unchecked { uint256 totalminted = _totalMinted(); uint256 newSupply = totalminted + quantity; require(newSupply <= MAX_SUPPLY, "SoldOut"); require(quantity <= maxPerTx, "MaxPerTx"); require(msg.value >= price * quantity); _mint(msg.sender, quantity); for(; totalminted < newSupply; ++totalminted) { createDNA(totalminted); } } } function tokenURI(uint256 tokenId) public view override (ERC721A) returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); return string( abi.encodePacked( "data:application/json;base64,", Base64.encode( abi.encodePacked( '{"name": "#', _toString(tokenId), '", "image": "data:image/svg+xml;base64,', Base64.encode( bytes(tokenIdToSVG(tokenId)) ), '","attributes":', tokenIdToMetadata(tokenId), "}" ) ) ) ); } function createDNA(uint256 tokenId) private { unchecked { uint256 randinput = uint256( keccak256( abi.encodePacked( block.timestamp, block.difficulty, tokenId, msg.sender ) ) ); uint256 newDNA; uint256 baseDNA; uint256 mask = 0xFFFF; uint256 Beak; uint256 Eyes; uint256 Eyewear; uint256 rand = randinput & mask; // background uint256 backgroundId; uint256[7] memory background = [uint256(520),11110,10914,10899,10833,10722,10538]; uint256 bound; uint256 lowerbound; for (uint256 j; j < background.length; ++j) { bound += background[j]; if ((rand-lowerbound) < (bound-lowerbound)) backgroundId = j; lowerbound = bound; } newDNA = backgroundId; uint256 bgIsNotZero = ((backgroundId | ((backgroundId^type(uint256).max) + 1)) >> 255) & 1; uint256 legendcount = tokenIdToDNA[tokenId-1].LegendaryId+(1>>bgIsNotZero); newDNA |= legendcount<<160; randinput >>= 16; rand = randinput & mask; // beak uint256[4] memory beak = [uint256(0),27675,27244,10617]; delete bound; delete lowerbound; for (uint256 j = 1; j < beak.length; ++j) { bound += beak[j]; if ((rand-lowerbound) < (bound-lowerbound)) Beak = j; lowerbound = bound; } randinput >>= 16; rand = randinput & mask; // eyes uint256[12] memory eyes = [uint256(0),16202,9708,9013,9006,8699,3332,1989,1936,1930,1877,1844]; delete bound; delete lowerbound; for (uint256 j = 1; j < eyes.length; ++j) { bound += eyes[j]; if ((rand-lowerbound) < (bound-lowerbound)) Eyes = j; lowerbound = bound; } baseDNA |= Eyes<<48; randinput >>= 16; rand = randinput & mask; // eyewear uint256[13] memory eyewear = [uint256(53738),1317,1226,1140,1121,1121,1055,931,891,878,826,800,492]; delete bound; delete lowerbound; for (uint256 j; j < eyewear.length; ++j) { bound += eyewear[j]; if ((rand-lowerbound) < (bound-lowerbound)) Eyewear = j; lowerbound = bound; } randinput >>= 16; rand = randinput & mask; // feathers uint256[10] memory feathers = [uint256(0),12345,9691,8301,7625,7507,7238,6072,3549,3208]; delete bound; delete lowerbound; for (uint256 j = 1; j < feathers.length; ++j) { bound += feathers[j]; if ((rand-lowerbound) < (bound-lowerbound)) baseDNA |= j<<80; lowerbound = bound; } randinput >>= 16; rand = randinput & mask; // head uint256 resultHead; uint256[38] memory headwear = [uint256(19390),2510,2340,2130,1730,1678,1665,1638,1632,1547,1527,1494,1429,1389,1357,1337,1324,1265,1265,1226,1199,1180,1180,1153,1147,1121,1101,970,950,826,819,786,688,662,603,524,380,374]; delete bound; delete lowerbound; uint256 bodybound; for (uint256 j; j < headwear.length; ++j) { bound += headwear[j]; if ((rand-lowerbound) < (bound-lowerbound)) {resultHead = j; bodybound=lowerbound;} lowerbound = bound; } // body uint256[11][38] memory body = [[uint256(4230),1752,2349,2204,2322,2270,2224,1182,717,94,48],[uint256(1489),952,0,0,0,0,0,0,0,48,21],[uint256(485),271,362,389,0,283,270,112,67,67,34],[uint256(847),495,698,0,0,0,0,0,0,62,28],[uint256(1051),625,0,0,0,0,0,0,0,0,54],[uint256(570),157,282,249,0,282,0,0,33,66,39],[uint256(401),211,309,348,335,0,0,0,0,27,34],[uint256(314),282,223,249,190,0,242,92,46,0,0],[uint256(1599),0,0,0,0,0,0,0,0,0,33],[uint256(563),387,492,0,0,0,0,0,0,66,39],[uint256(248),144,223,197,184,249,197,85,0,0,0],[uint256(348),212,146,205,0,199,198,0,73,73,40],[uint256(551),328,0,0,465,0,0,0,0,46,39],[uint256(792),597,0,0,0,0,0,0,0,0,0],[uint256(263),258,264,251,297,0,0,0,0,15,9],[uint256(467),277,0,447,0,0,0,0,86,0,60],[uint256(736),408,0,0,0,0,0,0,99,47,34],[uint256(288),140,159,140,126,145,152,60,21,0,34],[uint256(493),317,0,342,0,0,0,0,86,0,27],[uint256(1199),0,0,0,0,0,0,0,0,0,27],[uint256(1183),0,0,0,0,0,0,0,0,0,16],[uint256(277),131,216,229,229,0,0,98,0,0,0],[uint256(290),166,153,192,0,199,0,73,40,27,40],[uint256(223),140,153,107,205,204,0,53,34,0,34],[uint256(506),244,389,0,0,0,0,0,0,0,8],[uint256(210),125,144,229,164,164,0,59,0,0,26],[uint256(166),100,146,171,119,132,86,73,53,47,8],[uint256(373),223,308,0,0,0,0,0,0,59,7],[uint256(897),0,0,0,0,0,0,0,0,33,20],[uint256(826),0,0,0,0,0,0,0,0,0,0],[uint256(93),74,113,133,159,126,0,67,14,0,40],[uint256(786),0,0,0,0,0,0,0,0,0,0],[uint256(93),73,99,73,112,67,73,26,13,33,26],[uint256(98),67,93,73,106,73,67,52,0,0,33],[uint256(83),67,67,93,0,60,80,21,20,66,46],[uint256(105),47,67,86,0,73,0,0,21,73,52],[uint256(60),68,74,54,0,0,0,0,15,74,35],[uint256(45),39,59,66,0,66,46,0,7,0,46]]; bound = bodybound; lowerbound = bodybound; for (uint256 j; j < 11; ++j) { bound += body[resultHead][j]; if ((rand-lowerbound) < (bound-lowerbound)) baseDNA |= (j+1)<<32; lowerbound = bound; } baseDNA |= resultHead<<96; randinput >>= 16; rand = randinput & mask; // outerwear uint256[8] memory outerwear = [uint256(54563),2031,1979,1717,1659,1351,1331,905]; delete bound; delete lowerbound; for (uint256 j; j < outerwear.length; ++j) { bound += outerwear[j]; if ((rand-lowerbound) < (bound-lowerbound)) baseDNA |= j<<112; lowerbound = bound; } randinput >>= 16; rand = randinput & mask; // beakcolor newDNA|=(rand & 1)<<144; randinput >>= 16; rand = randinput & mask; // eyecolor uint256 eyeIsNotColored = Eyes/6; uint256 EyeColor = (rand%7+1)*(1>>eyeIsNotColored)+eyeIsNotColored; baseDNA |= EyeColor<<128; // store dna uint256 found; randinput >>= 16; uint256 baseHash = baseDNA|bgIsNotZero<<192; for(uint256 i; i<5; ++i) { uint256 isNotLast = 1>>(i>>2);//1>>(i/4); uint256 hashedDNA = baseHash|Beak<<16|Eyewear<<64|(((1>>isNotLast)*tokenId)<<212); if(hashExists[hashedDNA]+found == 0) { newDNA |= (hashedDNA<<64)>>64; assembly { mstore(0, tokenId) mstore(32, tokenIdToDNA.slot) let hash := keccak256(0, 64) sstore(hash, newDNA) } ++hashExists[hashedDNA]; ++found; } Beak = Beak%3+1; if(i==0) Eyewear = (Eyewear + randinput%8)%13; Eyewear = ++Eyewear%13; } } } function getDNA(uint256 tokenId) public view returns(DNA memory) { DNA memory realDNA = tokenIdToDNA[tokenId]; // legendary id if(realDNA.Background == 0) { if(realDNA.LegendaryId>74) { realDNA.Background = 1; delete realDNA.LegendaryId; } else { uint256 specialType = realDNA.LegendaryId%3; uint256 specialIndex = realDNA.LegendaryId/3; if(specialType==0) { //legendary (specialIndex starts at 1) delete realDNA.Beak; delete realDNA.Eyes; delete realDNA.Eyewear; delete realDNA.Headwear; delete realDNA.Outerwear; delete realDNA.EyeColor; delete realDNA.BeakColor; uint256 legendmod = (specialIndex-1)%4; uint256 legenddiv = (specialIndex-1)/4; realDNA.Background = uint16(7 + legendmod); realDNA.Body = uint16(legendmod+1); realDNA.Feathers = uint16(legenddiv+1); return realDNA; } else if(specialType==1) { //golden (specialIndex starts at 0) realDNA.Body = 12; uint256 feathermod = specialIndex%5; uint256 featherdiv = specialIndex/5; if(feathermod<2) featherdiv=(featherdiv<<1)+feathermod; if(feathermod==0) ++feathermod; realDNA.Feathers=uint16(feathermod); realDNA.Headwear = uint16(goldHeadChance[--feathermod][featherdiv]); realDNA.Background = uint16((specialIndex%6)+1); realDNA.Eyewear = uint16(goldEWChance[feathermod][featherdiv]); } else if(specialType==2) { //ruby (specialIndex starts at 0) realDNA.Body = 13; realDNA.Background = uint16((specialIndex%6)+1); realDNA.Headwear = uint16(rubyHeadChance[specialIndex%25]); realDNA.Eyewear = uint16(rubyEWChance[specialIndex%25]); } } } else { delete realDNA.LegendaryId; } // special bodies except robot -> no outerwear if(realDNA.Body > 10) { delete realDNA.Outerwear; } // single color eyes if(realDNA.Eyes > 5) { realDNA.EyeColor = 1; } // special bodies if(realDNA.Body > 9) { delete realDNA.BeakColor; delete realDNA.EyeColor; // golden body if(realDNA.Body == 12) { if(realDNA.Eyes == 2 || realDNA.Eyes == 9) { realDNA.Eyes = 1; } else if(realDNA.Eyes == 7 || realDNA.Eyes == 6) { realDNA.Eyes = 2; } else if(realDNA.Eyes == 5) { realDNA.Eyes = 4; } else if(realDNA.Eyes == 8 || realDNA.Eyes > 9) { realDNA.Eyes = 5; } else { realDNA.Eyes = 3; } } else { realDNA.Feathers = 1; // shuffle hash uint256 dist = uint256(keccak256(abi.encodePacked(tokenId,realDNA.Eyes))); uint256 mask = 0xFFFFFFFFFFFFFFFF; if(realDNA.Body == 10) { // robot body realDNA.Outerwear = uint16((dist&mask)%3); realDNA.Eyewear = uint16(roboEWChance[((dist>>64)&mask)%11]); realDNA.Headwear = uint16(roboHeadChance[((dist>>128)&mask)%85]); realDNA.Eyes = uint16((dist>>192)%2+1); } else if(realDNA.Body == 11) { // skelleton body realDNA.Eyes = uint16((dist&mask)%6+1); realDNA.Eyewear = uint16(skelleEWChance[(dist>>64)%11]); } else { // ruby skelleton realDNA.Beak = 1; if(realDNA.Eyes > 5 && realDNA.Eyes < 9) { realDNA.Eyes = 1; } else if(realDNA.Eyes == 3 || realDNA.Eyes > 8) { realDNA.Eyes = 2; } else if(realDNA.Eyes == 5 || realDNA.Eyes == 1) { realDNA.Eyes = 3; } else { realDNA.Eyes = 4; } } } } // hoodie -> raincloud, crescent, no eyewear if(realDNA.Outerwear == 3) { realDNA.Body = 1; delete realDNA.Eyewear; if(realDNA.Headwear < 26) { delete realDNA.Headwear; } else { realDNA.Headwear = 5; } } // heros cap -> heros outerwear, no eyewear if(realDNA.Headwear == 31) { realDNA.Outerwear = 8; delete realDNA.Eyewear; } // space helmet -> no outerwear if(realDNA.Headwear == 6) { delete realDNA.Outerwear; if(realDNA.Eyewear == 8) { delete realDNA.Eyewear; } } // headphones if(realDNA.Headwear == 21) { // -> job glasses or none if(realDNA.Eyewear != 2) delete realDNA.Eyewear; // -> diamond necklace or none if(realDNA.Outerwear != 6) delete realDNA.Outerwear; } // aviators cap -> no eyewear, no bomber, jeans and hoodie down outerwear if(realDNA.Headwear == 13) { delete realDNA.Eyewear; if(realDNA.Outerwear % 2 == 1 && realDNA.Outerwear != 3) delete realDNA.Outerwear; } // beanie -> no sunglasses, rose-colored glasses, aviators, monocle, 3d glasses if(realDNA.Headwear == 8) { if((realDNA.Eyewear%2 == 1 && realDNA.Eyewear != 1) || realDNA.Eyewear == 8) delete realDNA.Eyewear; } // eyewear -> no eyes except if eyepatch, monocle, half-moon, big tech if(realDNA.Eyewear > 1) { // monocle -> no side-eyes if(realDNA.Eyewear == 8) { // no bucket hat combo if(realDNA.Headwear == 28) { delete realDNA.Eyewear; } else if(realDNA.Eyes == 5 && realDNA.Body != 11) realDNA.Eyes = 1; } // half-moon spectacles -> open, adorable, fire eyes else if(realDNA.Eyewear == 12) { if(realDNA.Body == 10) { realDNA.Eyes = 2; } else if(realDNA.Body == 11) { if(realDNA.Eyes != 4 && realDNA.Eyes != 5) realDNA.Eyes = 1; } else if(realDNA.Body == 12) { realDNA.Eyes = 3; } else if(realDNA.Body == 13) { if(realDNA.Eyes != 3) realDNA.Eyes = 1; } else if(realDNA.Eyes != 6 && realDNA.Eyes != 9) { realDNA.Eyes = 1; } } // big tech -> open eyes else if(realDNA.Eyewear == 10) { if(realDNA.Body == 10) { realDNA.Eyes = 2; } else if(realDNA.Body == 11) { realDNA.Eyes = 5; } else if(realDNA.Body > 11) { realDNA.Eyes = 3; } else { realDNA.Eyes = 1; } } else { delete realDNA.Eyes; delete realDNA.EyeColor; } } return realDNA; } function decodeLength(uint256[] memory imgdata, uint256 index) private pure returns (uint256) { uint256 bucket = index >> 4; uint256 offset = (index & 0xf) << 4; uint256 data = imgdata[bucket] >> (250-offset); uint256 mask = 0x3F; return data & mask; } function decodeColorIndex(uint256[] memory imgdata, uint256 index) private pure returns (uint256) { uint256 bucket = index >> 4; uint256 offset = (index & 0xf) << 4; uint256 data = imgdata[bucket] >> (240-offset); uint256 mask = 0x3FF; return data & mask; } function tokenIdToSVG(uint256 tokenId) private view returns (string memory) { // load data DNA memory birdDNA = getDNA(tokenId); bool trueLegend = birdDNA.Background>6; uint256 colorPaletteLength = colorPalette.length/3; uint256 lastcolor; uint256 lastwidth = 1; bool[] memory usedcolors = new bool[](875); bytes memory svgString; // load pixeldata uint256[][7] memory compressedData; compressedData[0] = assets[0][birdDNA.Background-1][0]; // legendary bodies if(trueLegend){ compressedData[1] = legendarybodies[birdDNA.Body-1][birdDNA.Feathers-1]; } else { compressedData[1] = assets[2][birdDNA.Body-1][birdDNA.Feathers-1]; } if(birdDNA.Beak!=0){ // special bodies -> special beaks if(birdDNA.Body>9){ compressedData[2] = assets[1][birdDNA.Body-7][birdDNA.Beak-1]; } else { compressedData[2] = assets[1][birdDNA.Beak-1][birdDNA.BeakColor]; } } if(birdDNA.Eyes!=0) { // special bodies -> special eyes if(birdDNA.Body>9){ compressedData[3] = assets[3][birdDNA.Body+1][birdDNA.Eyes-1]; } else { compressedData[3] = assets[3][birdDNA.Eyes-1][birdDNA.EyeColor-1]; } } if(birdDNA.Eyewear!=0) compressedData[4] = assets[4][birdDNA.Eyewear-1][0]; if(birdDNA.Headwear!=0) compressedData[5] = assets[5][birdDNA.Headwear-1][0]; if(birdDNA.Outerwear!=0) compressedData[6] = assets[6][birdDNA.Outerwear-1][0]; DecompressionCursor[7] memory cursors; for(uint256 i = 1; i<7; ++i) { if(compressedData[i].length != 0) { cursors[i]=DecompressionCursor(0,decodeLength(compressedData[i],0),decodeColorIndex(compressedData[i],0),0); } } // masks uint256[7][7] memory bitmasks; for(uint256 i; i<7; ++i) { if(i==1 && trueLegend) { bitmasks[i] = masks[7]; } else { bitmasks[i] = masks[i]; } } // create SVG bytes14 preRect = "<rect class='c"; for(uint256 y; y < size;++y){ bytes memory svgBlendString; for(uint256 x; x < size;++x){ bool blendMode; uint256 coloridx; uint256 index = y*size+x; uint256 bucket = index >> 8; uint256 mask = 0x8000000000000000000000000000000000000000000000000000000000000000 >> (index & 0xff); // pixeldata decoding for(uint256 i = 6; i!=0; i--) { if(compressedData[i].length != 0) { if (bitmasks[i][bucket] & mask != 0) { cursors[i].index++; if(cursors[i].color != 0) { if(coloridx == 0) { coloridx = cursors[i].color; if(cursors[i].color>colorPaletteLength) { blendMode=true; } } else if(blendMode) { svgBlendString = abi.encodePacked( preRect, _toString(cursors[i].color), "' x='", _toString(x), "' y='", _toString(y), "' width='1'/>", svgBlendString ); if(cursors[i].color<=colorPaletteLength) { blendMode=false; } usedcolors[cursors[i].color] = true; } } if(cursors[i].index==cursors[i].rlength) { cursors[i].index=0; cursors[i].position++; if(cursors[i].position<compressedData[i].length*16){ cursors[i].rlength=decodeLength(compressedData[i],cursors[i].position); cursors[i].color=decodeColorIndex(compressedData[i],cursors[i].position); } } } } } // finalize pixel color if(coloridx==0 || blendMode) { uint256 bgcolor; if(birdDNA.Background > 6 && birdDNA.Background != 9){ bgcolor = decodeColorIndex(compressedData[0],y); } else { bgcolor = decodeColorIndex(compressedData[0],0); } if(coloridx==0) { coloridx=bgcolor; } else if(blendMode){ svgBlendString = abi.encodePacked( preRect, _toString(bgcolor), "' x='", _toString(x), "' y='", _toString(y), "' width='1'/>", svgBlendString ); usedcolors[bgcolor] = true; } } usedcolors[coloridx] = true; if(x == 0) { lastwidth = 1; } else if(lastcolor == coloridx) { lastwidth++; } else { svgString = abi.encodePacked( svgString, svgBlendString, preRect, _toString(lastcolor), "' x='", _toString(x-lastwidth), "' y='", _toString(y), "' width='", _toString(lastwidth), "'/>" ); svgBlendString = ""; lastwidth = 1; } lastcolor = coloridx; } svgString = abi.encodePacked( svgString, svgBlendString, preRect, _toString(lastcolor), "' x='", _toString(42-lastwidth), "' y='", _toString(y), "' width='", _toString(lastwidth), "'/>" ); svgBlendString = ""; } // generate stylesheet bytes memory stylesheet; for(uint256 i; i<usedcolors.length; ++i) { if(usedcolors[i]) { bytes memory colorCSS; uint256 paletteIdx = (i-1)*3; if(paletteIdx>=colorPalette.length) { uint256 fixedColorIdx = (i-1)-colorPalette.length/3; paletteIdx = fixedColorIdx<<2; uint256 dec = uint256(alphaPalette[paletteIdx+3])*100/255; colorCSS = abi.encodePacked("rgba(", _toString(uint256(alphaPalette[paletteIdx])), ",", _toString(uint256(alphaPalette[paletteIdx+1])), ",", _toString(uint256(alphaPalette[paletteIdx+2])), ",0.", _toString(dec), ")"); } else { colorCSS = abi.encodePacked("rgb(", _toString(uint256(colorPalette[paletteIdx])), ",", _toString(uint256(colorPalette[paletteIdx+1])), ",", _toString(uint256(colorPalette[paletteIdx+2])), ")"); } stylesheet = abi.encodePacked(stylesheet, ".c", _toString(i), "{fill:", colorCSS, "}"); } } // combine full SVG svgString = abi.encodePacked( '<svg id="bird-svg" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMin meet" viewBox="0 0 42 42"> ', svgString, "<style>rect{height:1px;} #bird-svg{shape-rendering: crispedges;} ", stylesheet, "</style></svg>" ); return string(svgString); } function tokenIdToMetadata(uint256 tokenId) private view returns (string memory) { unchecked { DNA memory tokenDNA = getDNA(tokenId); string memory metadataString; for (uint256 i; i < 8; ++i) { uint256 traitId; uint idx1; uint idx2; if(i==0) { traitId = tokenDNA.Background; } else if(i==1) { traitId = tokenDNA.Beak; } else if(i==2) { traitId = tokenDNA.Body; if(tokenDNA.Background > 6) { idx1 = 8; idx2 = traitId-1; } } else if(i==3) { traitId = tokenDNA.Eyes; if(tokenDNA.Body > 9) { idx1 = tokenDNA.Body; idx2 = traitId-1; } } else if(i==4) { traitId = tokenDNA.Eyewear; } else if(i==5) { traitId = tokenDNA.Feathers; if(tokenDNA.LegendaryId != 0 && tokenDNA.Body != 13) { idx1 = 9; idx2 = traitId-1; } else if(tokenDNA.Body > 9) { idx1 = 14; idx2 = tokenDNA.Body-10; } } else if(i==6) { traitId = tokenDNA.Headwear; } else if(i==7) { traitId = tokenDNA.Outerwear; } if(traitId == 0) continue; string memory traitName; if(idx1 == 0) { idx1 = i; idx2 = traitId-1; } traitName = bytes32ToString(traitNames[idx1][idx2]); string memory startline; if(i!=0) startline = ","; metadataString = string( abi.encodePacked( metadataString, startline, '{"trait_type":"', bytes32ToString(traitNames[15][i]), '","value":"', traitName, '"}' )); } return string.concat("[", metadataString, "]"); } } /** Nesting Functions */ function nestingPeriod(uint256 tokenId) external view returns (bool nesting, uint256 current, uint256 total) { uint256 start = nestingStarted[tokenId]; if (start != 0) { nesting = true; current = block.timestamp - start; } total = current + nestingTotal[tokenId]; } function transferWhileNesting(address from, address to, uint256 tokenId) external { require(ownerOf(tokenId) == msg.sender); nestingTransfer = 1; transferFrom(from, to, tokenId); delete nestingTransfer; } function _beforeTokenTransfers(address, address, uint256 startTokenId, uint256 quantity) internal view override { uint256 tokenId = startTokenId; for (uint256 end = tokenId + quantity; tokenId < end; ++tokenId) { require(nestingStarted[tokenId] == 0 || nestingTransfer != 0, "Nesting"); } } function toggleNesting(uint256[] calldata tokenIds) external { bool nestOpen = nestingIsOpen; for (uint256 i; i < tokenIds.length; ++i) { require(ownerOf(tokenIds[i]) == msg.sender); uint256 start = nestingStarted[tokenIds[i]]; if (start == 0) { require(nestOpen); nestingStarted[tokenIds[i]] = block.timestamp; } else { nestingTotal[tokenIds[i]] += block.timestamp - start; nestingStarted[tokenIds[i]] = 0; } } } /** Admin Functions */ // fallback raffle in case the random generation does result in a few missing special/legendary birds function raffleUnmintedSpecials() external onlyOwner { uint256 supply = _totalMinted(); require(!raffleLocked && supply>=MAX_SUPPLY); uint256 specialsMinted = tokenIdToDNA[supply-1].LegendaryId; while(specialsMinted < 74) { uint256 randomId = uint256(keccak256(abi.encodePacked(block.timestamp, block.difficulty, specialsMinted))) % supply; while(tokenIdToDNA[randomId].Background == 0) { randomId = (++randomId)%supply; } tokenIdToDNA[randomId].LegendaryId = uint16(++specialsMinted); delete tokenIdToDNA[randomId].Background; emit FallbackRaffle(randomId); } raffleLocked = true; } // fallback reroll to prevent clones, is fairly rare, called as fast as possible after mint if detected function rerollClone(uint256 tokenId1, uint256 tokenId2) external onlyOwner { DNA memory bird = getDNA(tokenId1); DNA memory clone = getDNA(tokenId2); delete bird.Background; delete bird.BeakColor; delete clone.Background; delete clone.BeakColor; require(keccak256(abi.encode(bird)) == keccak256(abi.encode(clone))); uint256 randomHash = uint256(keccak256(abi.encodePacked(block.timestamp, block.difficulty))); tokenIdToDNA[tokenId1].Eyes = uint16((randomHash&0xFFFFFFFF)%11+1); randomHash>>=32; tokenIdToDNA[tokenId1].Beak = uint16((randomHash&0xFFFFFFFF)%3+1); randomHash>>=32; tokenIdToDNA[tokenId1].Outerwear = uint16(randomHash%8); } function setPrice(uint256 newPrice) external onlyOwner { price = newPrice; } function withdraw() external onlyOwner { (bool success, ) = msg.sender.call{value: address(this).balance}(""); if (!success) revert(); } function expelFromNest(uint256 tokenId) external onlyOwner { require(nestingStarted[tokenId] != 0); nestingTotal[tokenId] += block.timestamp - nestingStarted[tokenId]; delete nestingStarted[tokenId]; } function setNestingOpen() external onlyOwner { nestingIsOpen = !nestingIsOpen; } function uploadImages1(uint256[][][][7] calldata defaultdata) external onlyOwner { if(imageDataLocked) revert(); assets = defaultdata; } function uploadImages2(uint256[][][] calldata bodydata) external onlyOwner { if(imageDataLocked) revert(); assets[2] = bodydata; } function uploadImages3(uint256[][][4] calldata specialbodydata, uint256[][6][4] calldata legenbodydata, uint8[2592] calldata cpalette, uint256[7][8] calldata _masks, bytes32[][16] calldata _traitnames) external onlyOwner { if(imageDataLocked) revert(); assets[2].push(specialbodydata[0]); assets[2].push(specialbodydata[1]); assets[2].push(specialbodydata[2]); assets[2].push(specialbodydata[3]); colorPalette = cpalette; masks = _masks; traitNames = _traitnames; legendarybodies = legenbodydata; imageDataLocked=true; } /** Utility Functions */ function bytes32ToString(bytes32 _bytes32) private pure returns (string memory) { uint256 i; while(_bytes32[i] != 0 && i < 32) { ++i; } bytes memory bytesArray = new bytes(i); for (i = 0; i < bytesArray.length; ++i) { bytesArray[i] = _bytes32[i]; } return string(bytesArray); } // tokensOfOwner function: MIT License function tokensOfOwner(address owner) external view returns (uint256[] memory) { unchecked { uint256 tokenIdsIdx; address currOwnershipAddr; uint256 tokenIdsLength = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenIdsLength); TokenOwnership memory ownership; for (uint256 i; tokenIdsIdx != tokenIdsLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } return tokenIds; } } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0; /// @title Base64 /// @author Brecht Devos - <[email protected]> /// @notice Provides functions for encoding/decoding base64 library Base64 { string internal constant TABLE_ENCODE = '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_ENCODE; // 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) {} { // read 3 bytes dataPtr := add(dataPtr, 3) let input := mload(dataPtr) // write 4 characters mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F)))) resultPtr := add(resultPtr, 1) mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F)))) resultPtr := add(resultPtr, 1) mstore8(resultPtr, mload(add(tablePtr, and(shr( 6, input), 0x3F)))) resultPtr := add(resultPtr, 1) mstore8(resultPtr, 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 // ERC721A Contracts v4.2.2 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Reference type for token approval. struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @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, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @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) public virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @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) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @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. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) public virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @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 memory _data ) public virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * 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, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * 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, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 0x80 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 0x20 + 3 * 0x20 = 0x80. str := add(mload(0x40), 0x80) // Update the free memory pointer to allocate. mstore(0x40, str) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.2 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @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, bytes calldata data ) external; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` 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 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 the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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); // ============================================================= // IERC721Metadata // ============================================================= /** * @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); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
{ "viaIR": true, "optimizer": { "enabled": true, "runs": 1, "details": { "yul": true } }, "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"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"FallbackRaffle","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"expelFromNest","outputs":[],"stateMutability":"nonpayable","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":"getDNA","outputs":[{"components":[{"internalType":"uint16","name":"Background","type":"uint16"},{"internalType":"uint16","name":"Beak","type":"uint16"},{"internalType":"uint16","name":"Body","type":"uint16"},{"internalType":"uint16","name":"Eyes","type":"uint16"},{"internalType":"uint16","name":"Eyewear","type":"uint16"},{"internalType":"uint16","name":"Feathers","type":"uint16"},{"internalType":"uint16","name":"Headwear","type":"uint16"},{"internalType":"uint16","name":"Outerwear","type":"uint16"},{"internalType":"uint16","name":"EyeColor","type":"uint16"},{"internalType":"uint16","name":"BeakColor","type":"uint16"},{"internalType":"uint16","name":"LegendaryId","type":"uint16"}],"internalType":"struct OnChainBirds.DNA","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"imageDataLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nestingIsOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"nestingPeriod","outputs":[{"internalType":"bool","name":"nesting","type":"bool"},{"internalType":"uint256","name":"current","type":"uint256"},{"internalType":"uint256","name":"total","type":"uint256"}],"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":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"raffleUnmintedSpecials","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId1","type":"uint256"},{"internalType":"uint256","name":"tokenId2","type":"uint256"}],"name":"rerollClone","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":[],"name":"setNestingOpen","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","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":"tokenIds","type":"uint256[]"}],"name":"toggleNesting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"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":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferWhileNesting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[][][][7]","name":"defaultdata","type":"uint256[][][][7]"}],"name":"uploadImages1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[][][]","name":"bodydata","type":"uint256[][][]"}],"name":"uploadImages2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[][][4]","name":"specialbodydata","type":"uint256[][][4]"},{"internalType":"uint256[][6][4]","name":"legenbodydata","type":"uint256[][6][4]"},{"internalType":"uint8[2592]","name":"cpalette","type":"uint8[2592]"},{"internalType":"uint256[7][8]","name":"_masks","type":"uint256[7][8]"},{"internalType":"bytes32[][16]","name":"_traitnames","type":"bytes32[][16]"}],"name":"uploadImages3","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523462000fab576200001462001012565b600c81526b4f6e436861696e426972647360a01b60208201526200003762001012565b600681526513d0d092549160d21b60208201528151906001600160401b03821162000bbf5760025491600183811c9316801562000fa0575b602084101462000eb457601f9283811162000f6b575b50602083821160011462000ee1578192939460009262000ed5575b50508160011b916000199060031b1c1916176002555b8051906001600160401b03821162000bbf57600354600181811c9116801562000eca575b602082101462000eb45783811162000e74575b50602092821160011462000e0a5791819260009262000dfe575b50508160011b916000199060031b1c1916176003555b600080805560088054336001600160a01b03198216811790925590916001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09080a3661550f7dca7000060095560405161050081016001600160401b0381118282101762000bbf57604052600081526000602082015260006040820152604d6060820152609b6080820152609a60a0820152608660c0820152600760e08201526000610100820152600061012082015260006101408201526073610160820152600061018082015260006101a082015260006101c0820152601a6101e082015260ff61020082015260ff61022082015260ff6102408201526073610260820152609261028082015260eb6102a082015260fc6102c082015260666102e0820152608761030082015260ea61032082015260fe6103408201526026610360820152602261038082015260226103a082015260226103c0820152601a6103e082015260ff61040082015260ff61042082015260ff6104408201526080610460820152600061048082015260006104a082015260006104c082015260266104e082015260005b6001811062000db15750600090815b6008811062000d81578260ca55620002f062000fb0565b620002fa62000fd0565b6004815260006020820152601360408201526000606082015260036080820152601860a0820152600060c0820152600d60e0820152601d610100820152600e61012082015281526200034b62000fd0565b60008152601e6020820152600060408201526017606082015260026080820152600060a0820152600060c0820152600060e08201526000610100820152600061012082015260208201526200039f62000fd0565b600b81526006602082015260006040820152601a606082015260006080820152600060a0820152600060c0820152600060e0820152600061010082015260006101208201526040820152620003f362000fd0565b6015815260166020820152600060408201526024606082015260006080820152600060a0820152600060c0820152600060e082015260006101008201526000610120820152606082015260cb54600460cb558060041062000d22575b5060cb600090815260008051602062007095833981519152915b6004821062000cd1576200047c62000ff1565b6011815260146020820152602060408201526004606082015260006080820152602360a0820152600b60c0820152600260e0820152601e610100820152601a610120820152600e6101408201526001610160820152602161018082015260176101a082015260246101c082015260006101e0820152601361020082015260166102208201526010610240820152600f6102608201526003610280820152600d6102a082015260006102c082015260126102e0820152602261030082015260005b6019811062000cb8576200054f62000fb0565b6200055962000fd0565b600081526002602082015260006040820152600c606082015260006080820152600060a0820152600060c0820152600060e0820152600061010082015260006101208201528152620005aa62000fd0565b6000815260006020820152600360408201526000606082015260006080820152600060a0820152600060c0820152600060e0820152600061010082015260006101208201526020820152620005fe62000fd0565b60008152600a6020820152600060408201526000606082015260046080820152600060a0820152600060c0820152600060e08201526000610100820152600061012082015260408201526200065262000fd0565b6000815260006020820152600160408201526008606082015260006080820152600060a0820152600060c0820152600060e082015260006101008201526000610120820152606082015260e554600460e5558060041062000c59575b5060e56000908152600080516020620070b5833981519152915b6004821062000c08576040516001600160401b03610aa082019081119082111762000bbf57610aa081016040526015815260006020820152600060408201526000606082015260016080820152600260a0820152600360c0820152600560e0820152600661010082015260076101208201526009610140820152600b610160820152600c610180820152600e6101a082015260106101c082015260116101e08201526016610200820152601761022082015260186102408201526019610260820152601a610280820152601b6102a0820152601c6102c0820152601e6102e08201526020610300820152602161032082015260226103408201526023610360820152602461038082015260006103a082015260006103c082015260006103e08201526001610400820152600261042082015260036104408201526005610460820152600661048082015260076104a082015260096104c0820152600b6104e0820152600c610500820152600e61052082015260106105408201526011610560820152601661058082015260176105a082015260186105c082015260196105e0820152601a610600820152601b610620820152601c610640820152601e610660820152602061068082015260216106a082015260226106c082015260236106e08201526024610700820152600061072082015260006107408201526000610760820152600161078082015260026107a082015260036107c082015260056107e0820152600661080082015260076108208201526009610840820152600b610860820152600c610880820152600e6108a082015260106108c082015260116108e08201526016610900820152601761092082015260186109408201526019610960820152601a610980820152601b6109a0820152601c6109c0820152601e6109e08201526020610a008201526021610a208201526022610a408201526023610a608201526024610a8082015260005b6055811062000bef576040516001600160401b036101a082019081119082111762000bbf576101a081016040526000815260006020820152600060408201526000606082015260006080820152600060a0820152600160c0820152600960e0820152600a6101008201526009610120820152600a610140820152600b610160820152600c61018082015260005b600d811062000bd5576040516001600160401b0361016082019081119082111762000bbf5761016081016040526000815260006020820152600160408201526003606082015260056080820152600760a0820152600960c0820152600a60e0820152600b610100820152600c610120820152600061014082015260005b600b811062000ba55762000ab262000ff1565b60008152600060208201526007604082015260006060820152600a6080820152600060a0820152600060c0820152600060e08201526000610100820152600061012082015260006101408201526000610160820152600561018082015260006101a082015260006101c082015260016101e08201526000610200820152600061022082015260006102408201526009610260820152600361028082015260006102a082015260006102c082015260006102e0820152600061030082015260005b6019811062000b8b57604051615ff39081620010a28239f35b600190602060ff8451169301928161015301550162000b72565b600190602060ff8451169301928161014801550162000a9f565b634e487b7160e01b600052604160045260246000fd5b600190602060ff8451169301928161013b01550162000a22565b600190602060ff8451169301928160e601550162000995565b805162000c158462001074565b8360005260206000209060005b600a811062000c415750505060016020819201930191019091620006c8565b815160ff168382015560209091019060010162000c22565b60e5600052600080516020620070b5833981519152907f5625f7c930b8b40de87dc8e69145d83fd1d81c61b6c31fb7cfe69fac65b286465b818301811062000ca3575050620006ae565b8062000cb16001926200104b565b0162000c91565b600190602060ff8451169301928160cc0155016200053c565b805162000cde8462001074565b8360005260206000209060005b600a811062000d0a575050506001602081920193019101909162000469565b815160ff168382015560209091019060010162000ceb565b60cb60005260008051602062007095833981519152907fa7ce836d032b2bf62b7e2097a8e0a6d8aeb35405ad15271e96d3b0188a1d06ff5b818301811062000d6c5750506200044f565b8062000d7a6001926200104b565b0162000d5a565b9091602062000da76001928460ff875116919060031b60ff811b9283911b169119161790565b93019101620002d9565b6000805b6020811062000dcd575060c9820155600101620002ca565b6001602062000df386948460ff85995116919060031b60ff811b9283911b169119161790565b930194500162000db5565b01519050388062000107565b601f19821692600360005260206000209160005b85811062000e5b5750836001951062000e41575b505050811b016003556200011d565b015160001960f88460031b161c1916905538808062000e32565b9192602060018192868501518155019401920162000e1e565b62000ea390600360005260206000208580860160051c8201926020871062000eaa575b0160051c019062001032565b38620000ed565b9250819262000e97565b634e487b7160e01b600052602260045260246000fd5b90607f1690620000da565b015190503880620000a0565b600260009081527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace9190601f198416905b81811062000f525750958360019596971062000f38575b505050811b01600255620000b6565b015160001960f88460031b161c1916905538808062000f29565b9192602060018192868b01518155019401920162000f12565b62000f9990600260005260206000208580850160051c8201926020861062000eaa570160051c019062001032565b3862000085565b92607f16926200006f565b600080fd5b60405190608082016001600160401b0381118382101762000bbf57604052565b6040519061014082016001600160401b0381118382101762000bbf57604052565b6040519061032082016001600160401b0381118382101762000bbf57604052565b60408051919082016001600160401b0381118382101762000bbf57604052565b8181106200103e575050565b6000815560010162001032565b805460008255806200105b575050565b620010729160005260206000209081019062001032565b565b8054600a825580600a1062001087575050565b6200107291600052600a602060002091820191016200103256fe60806040526004361015610013575b600080fd5b60003560e01c806301ffc9a7146102f757806306fdde03146102ee578063081812fc146102e5578063095ea7b3146102dc57806315d1534d146102d357806318160ddd146102ca57806323b872dd146102c157806330e8afac146102b857806332cb6b0c146102af57806339154b9e146102a65780633ccfd60b1461029d57806342842e0e14610294578063469b29cd1461028b5780634ca4fdf5146102825780635a6c478f146102795780635bb209a5146102705780635e7c676f146102675780636352211e1461025e5780636ac7a0491461025557806370a082311461024c578063715018a6146102435780638462151c1461023a5780638da5cb5b1461023157806391b7f5ed1461022857806395d89b411461021f578063a035b1fe14610216578063a0712d681461020d578063a22cb46514610204578063a8673329146101fb578063a963689e146101f2578063b88d4fde146101e9578063c87b56dd146101e0578063ce34334e146101d7578063d3eefaeb146101ce578063e985e9c5146101c5578063f2fde38b146101bc5763f968adbe146101b457600080fd5b61000e61240a565b5061000e612358565b5061000e612306565b5061000e612286565b5061000e612247565b5061000e6115c6565b5061000e61153d565b5061000e6112bf565b5061000e611143565b5061000e6110a6565b5061000e611014565b5061000e610ff5565b5061000e610f31565b5061000e610f0f565b5061000e610ee5565b5061000e610e07565b5061000e610d7f565b5061000e610d53565b5061000e610cd7565b5061000e610ca7565b5061000e610c6a565b5061000e610c3e565b5061000e610b74565b5061000e610ae4565b5061000e6109f8565b5061000e610962565b5061000e61092e565b5061000e61089d565b5061000e61087f565b5061000e6106e3565b5061000e6106c9565b5061000e610670565b5061000e61063e565b5061000e61056b565b5061000e6104ea565b5061000e6103dd565b5061000e610312565b6001600160e01b031981160361000e57565b503461000e57602036600319011261000e57602060043561033281610300565b63ffffffff60e01b166301ffc9a760e01b8114908115610370575b811561035f575b506040519015158152f35b635b5e139f60e01b14905038610354565b6380ac58cd60e01b8114915061034d565b60005b8381106103945750506000910152565b8181015183820152602001610384565b906020916103bd81518092818552858086019101610381565b601f01601f1916010190565b9060206103da9281815201906103a4565b90565b503461000e576000806003193601126104e75760405190806002549060019180831c928082169283156104dd575b60209283861085146104c95785885260208801949081156104a8575060011461044f575b61044b8761043f81890382611417565b604051918291826103c9565b0390f35b600260005294509192917f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace5b838610610497575050509101905061043f8261044b388061042f565b80548587015294820194810161047b565b60ff191685525050505090151560051b01905061043f8261044b388061042f565b634e487b7160e01b82526022600452602482fd5b93607f169361040b565b80fd5b503461000e57602036600319011261000e5760043561050881612590565b1561052d576000526006602052602060018060a01b0360406000205416604051908152f35b6040516333d1c03960e21b8152600490fd5b600435906001600160a01b038216820361000e57565b602435906001600160a01b038216820361000e57565b503461000e57604036600319011261000e5761058561053f565b602435906001600160a01b038061059b84612522565b1691823303610605575b6105dc816105bd866000526006602052604060002090565b80546001600160a01b0319166001600160a01b03909216919091179055565b16907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600080a4005b82600052600760205261062760ff610621336040600020612499565b54161590565b156105a5576040516367d9dca160e11b8152600490fd5b503461000e57600036600319011261000e57610658612427565b601e5460ff80821615169060ff191617601e55600080f35b503461000e57600036600319011261000e5760206000546001549003604051908152f35b606090600319011261000e576001600160a01b0390600435828116810361000e5791602435908116810361000e579060443590565b503461000e576106e16106db36610694565b916125b9565b005b503461000e576000806003193601126104e7576106fe612427565b805461071461071061016c5460ff1690565b1590565b80610873575b610723906128ce565b61074c61074561073a6107358461459e565b612502565b5460a01c61ffff1690565b61ffff1690565b905b604a821061076b5761016c805460ff191660011790558280f35b80f35b90916040906107b183835160208101906107a98161079b8a44428791606093918352602083015260408201520190565b03601f198101835282611417565b519020612cff565b6107c86107456107c083612502565b5461ffff1690565b6107e357836107d96107de92614388565b612cff565b6107b1565b61086b906108157f47ef813e698daec3c068060598e4a718f2b8ccf0eb86d1a395c6c558986d7b929396959495614388565b9461084661ffff871661082784612502565b805461ffff60a01b191660a09290921b61ffff60a01b16919091179055565b61085d61085283612502565b805461ffff19169055565b519081529081906020820190565b0390a161074e565b5061271081101561071a565b503461000e57600036600319011261000e5760206040516127108152f35b503461000e57602036600319011261000e576004356108ba612427565b60008181928252601c60205260408220541561092b5761090d906040832054420342811161091e575b818452601b602052604084208054918201809211610911575b55600052601c602052604060002090565b5580f35b610919612a1d565b6108fc565b610926612a1d565b6108e3565b50fd5b503461000e576000806003193601126104e757610949612427565b8080808047335af16109596127be565b50156104e75780f35b503461000e576106e161097436610694565b60405192909190602084016001600160401b0381118582101761099e575b60405260008452612734565b6109a66113a1565b610992565b90602060031983011261000e576001600160401b03916004359083821161000e578060238301121561000e57816004013593841161000e5760248460051b8301011161000e576024019190565b503461000e57610a07366109ab565b90610a14601e5460ff1690565b90600092835b818110610a25578480f35b610a9a90610a5633610a50610a44610a3e85888a61589a565b356124ec565b6001600160a01b031690565b146128ce565b610a75610a6482858761589a565b35600052601c602052604060002090565b5480610a9f5750610a85856128ce565b42610a94610a6483868861589a565b55614388565b610a1a565b610aa990426145cb565b610ad3610acb610aba84878961589a565b35600052601b602052604060002090565b918254612a82565b905585610a94610a6483868861589a565b503461000e57602036600319011261000e576060600435600090600090808252601c602052604082205480610b4f575b50600052601b602052604060002054810190818111610b42575b604051921515835260208301526040820152f35b610b4a612a1d565b610b2e565b925090506001914203428111610b67575b9038610b14565b610b6f612a1d565b610b60565b503461000e57600036600319011261000e57602060ff601e54166040519015158152f35b815161ffff16815261016081019291610c3c919060208181015161ffff169083015260408181015161ffff169083015260608181015161ffff169083015260808181015161ffff169083015260a08181015161ffff169083015260c08181015161ffff169083015260e08181015161ffff16908301526101008181015161ffff16908301526101208181015161ffff16908301526101409081015161ffff16910152565b565b503461000e57602036600319011261000e5761044b610c5e60043561463a565b60405191829182610b98565b503461000e57610c7936610694565b906001600160a01b03610c8b83612522565b16330361000e57610ca0926001601d556125b9565b6000601d55005b503461000e57602036600319011261000e5760206001600160a01b03610cce600435612522565b16604051908152f35b503461000e5760208060031936011261000e57600435906001600160401b03821161000e57816004019160e43691011161000e57610d13612427565b60ff600a541661000e576057916000815b60078210610d2e57005b60018482610d47610d408495886158aa565b908a615a48565b01950191019093610d24565b503461000e57602036600319011261000e576020610d77610d7261053f565b6124b0565b604051908152f35b503461000e576000806003193601126104e757610d9a612427565b600880546001600160a01b0319811690915581906001600160a01b0316600080516020615f5e8339815191528280a380f35b6020908160408183019282815285518094520193019160005b828110610df3575050505090565b835185529381019392810192600101610de5565b503461000e57602036600319011261000e57610e2161053f565b60008091610e2e816124b0565b610e3781614f0e565b92604092610e4784519586611417565b828552601f19610e5684614f0e565b01366020870137610e65615061565b506001600160a01b0390811690825b848403610e885785518061044b8982610dcc565b610e9181615f03565b80870151610edc57516001600160a01b0316828116610ed3575b5060019083838a1614610ebf575b01610e74565b80610ecd838701968a615246565b52610eb9565b97506001610eab565b50600190610eb9565b503461000e57600036600319011261000e576008546040516001600160a01b039091168152602090f35b503461000e57602036600319011261000e57610f29612427565b600435600955005b503461000e576000806003193601126104e75760405190806003549060019180831c92808216928315610feb575b60209283861085146104c95785885260208801949081156104a85750600114610f925761044b8761043f81890382611417565b600360005294509192917fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b838610610fda575050509101905061043f8261044b388061042f565b805485870152948201948101610fbe565b93607f1693610f5f565b503461000e57600036600319011261000e576020600954604051908152f35b50602036600319011261000e576000546004358181019061271082116110775761105c81611046600a86941115612897565b61105681600954023410156128ce565b336128d5565b81811061106557005b80611071600192612d1f565b0161105c565b60405162461bcd60e51b815260206004820152600760248201526614dbdb1913dd5d60ca1b6044820152606490fd5b503461000e57604036600319011261000e576110c061053f565b60243580151580910361000e576001600160a01b03821691338314611131576110f6903360005260076020526040600020612499565b60ff1981541660ff83161790556040519081527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160203392a3005b60405163b06307db60e01b8152600490fd5b503461000e57604036600319011261000e57600435611160612427565b61076861116c8261463a565b916112a0600761117d60243561463a565b946111eb60009687835287610120818186015281835282015260405192836111a9602082019283610b98565b03936111bd601f1995868101835282611417565b519020906040516111e2816111d6602082019485610b98565b03868101835282611417565b519020146128ce565b60405161121960208201928261120d4442879091604092825260208201520190565b03908101835282611417565b519020611296611273610745600363ffffffff611268611240610745600b848a1606612a34565b6112498b612502565b805461ffff60301b191660309290921b61ffff60301b16919091179055565b8560201c1606612a34565b61127c86612502565b9063ffff000082549160101b169063ffff00001916179055565b60401c1691612502565b805461ffff60701b191660709290921b61ffff60701b16919091179055565b503461000e576112ce366109ab565b6112d6612427565b60ff600a541661000e57600160401b8111611394575b60595481605955808210611346575b5060596000908152600080516020615f9e83398151915292906020825b84831061132157005b6001828261133a6113338495896158aa565b908b615976565b01960192019194611318565b60006059815260208381832093840193015b838110611367575050506112fb565b80600191548482558061137c575b5001611358565b81855283852061138e91810190615938565b38611375565b61139c6113a1565b6112ec565b50634e487b7160e01b600052604160045260246000fd5b61016081019081106001600160401b038211176113d457604052565b6113dc6113a1565b604052565b602081019081106001600160401b038211176113d457604052565b60e081019081106001600160401b038211176113d457604052565b601f909101601f19168101906001600160401b038211908210176113d457604052565b60405190608082016001600160401b038111838210176113d457604052565b60405190610c3c826113fc565b6040519061018082016001600160401b038111838210176113d457604052565b604051906101a082016001600160401b038111838210176113d457604052565b6040519061014082016001600160401b038111838210176113d457604052565b604051906104c082016001600160401b038111838210176113d457604052565b60405190610c3c826113b8565b6040519061010082016001600160401b038111838210176113d457604052565b6020906001600160401b038111611530575b601f01601f19160190565b6115386113a1565b611525565b503461000e57608036600319011261000e5761155761053f565b61155f610555565b606435916001600160401b03831161000e573660238401121561000e5782600401359161158b83611513565b926115996040519485611417565b808452366024828701011161000e5760208160009260246106e19801838801378501015260443591612734565b503461000e57602036600319011261000e576115e3600435612590565b15612235576115f3600435612c1a565b6115fe60043561463a565b90600661ffff611610845161ffff1690565b1611916000926001611620614f2e565b9160609261162c614f6a565b9061165b61165561164f61164a6116458a5161ffff1690565b614f95565b614430565b506143bb565b50614fbd565b825282156121f85761169c61165561168361167e61164560408b015161ffff1690565b61500c565b5061169661164560a08b015161ffff1690565b90615030565b60208301525b60208601805161ffff169081612176575b5050848601805161ffff1690816120e2575b5050608086015161ffff16806120c0575b5060c086015161ffff168061209e575b5060e086015161ffff168061207c575b506116ff6150a4565b90845b6007811061200857506117136150d6565b93895b60078110611fbb57505088955b602a871015611b5d5760609060005b602a81106117985750906117836117929261079b61174f8e612c1a565b61176061175b8c6145ad565b612c1a565b6117698d612c1a565b906117738d612c1a565b9260405197889660208801615268565b9661178c612721565b50614388565b95611723565b9a968b896000998c8b6117b3856117ae86612a8f565b612a82565b6006805b61190d5750508c1591828015611906575b61185a575b5050506117e36117dd8c89615246565b60019052565b826117fe57505050506117f96001975b9b614388565b611732565b808b0361181a575050506118146117f991614388565b976117f3565b9261079b929161177361184061184061175b8561183a6118469b9a612c1a565b976145cb565b92612c1a565b61184e612721565b906117f96001976117f3565b51929c919261ffff908116166006811190816118fa575b50156118ea57611882848c51615403565b925b15611895575050995b38808e6117cd565b9b91909b6118a4575b5061188d565b956117dd6118e4916118dd6118b88a612c1a565b61079b6118c489612c1a565b936118ce89612c1a565b604051958694602086016151a2565b9789615246565b3861189e565b6118f48b516153df565b92611884565b60099150141538611871565b50816117c8565b809294955061191e9193508c612c69565b515161193a575b61192e906143a0565b918e91838f95946117b7565b600160ff1b60ff83161c61195c8d611956848660081c92612c69565b51612c69565b5116156119255761196d818b612c69565b516119788151614388565b90526040611986828c612c69565b510151611a83575b808a60206119ab836119a361192e9685612c69565b515193612c69565b510151146119bb575b9050611925565b60006119c7828d612c69565b515260606119d5828d612c69565b51016119e18151614388565b90528a818d60606119f28385612c69565b510151611a09611a028484612c69565b5151612aa5565b11611a17575b5050506119b4565b81611a72611a5c8284611a48611a32604098611a7898612c69565b516060611a3f858c612c69565b510151906153a9565b6020611a54848b612c69565b510152612c69565b516060611a698488612c69565b51015190615403565b93612c69565b5101528a818d611a0f565b9b8d81611ac95750506040611a988d8b612c69565b5101519b6103606040611aab838d612c69565b51015111611ac0575b61192e905b905061198e565b60019250611ab4565b8a849e929e611ade575b505061192e90611ab9565b9861079b611afe6040611af686611b1196979e612c69565b510151612c1a565b916118ce611b0b8a612c1a565b95612c1a565b96896103606040611b228484612c69565b5101511115611b54575b90611b4b6117dd6040611b428461192e96612c69565b5101518c615246565b90508d8a611ad3565b60009350611b2c565b60608960005b8451811015611d9a57611b7f611b798287615246565b51151590565b611b92575b611b8d90614388565b611b63565b91611ce7611d14611b8d9261079b611d0787611bb5611bb08261459e565b612abb565b610a208110611d1c5750611cc5602061079b611cb8611be7611be1611bdc611c969761459e565b6145bb565b60021b90565b611c96611ca9611c29611c22611c1d611c17611c0a611c0588612a58565b615363565b905460ff9160031b1c1690565b60ff1690565b612ad1565b60ff900490565b611c96611c9c611c4161175b611c17611c0a89615363565b95611c96611c9c611c7b611c7561175b611c17611c0a611c05611c6f61175b611c17611c0a611c058d612a34565b98612a4a565b96612c1a565b986040519e8f9d8e01600590640e4cec4c2560db1b81520190565b90612989565b600b60fa1b815260010190565b6216181760e91b815260030190565b602960f81b815260010190565b611c96611cf5611cd48b612c1a565b611c96604051998a9860208a0190612989565b612e6360f01b815260020190565b653db334b6361d60d11b815260060190565b607d60f81b815260010190565b929050611b84565b611c9c91508061079b611cb8611d3d61175b611c17611c0a611d959761533c565b92611c96611c9c611d7361175b611c17611c0a611d68611d6d61175b611c17611c0a611d688c612a34565b61533c565b97612a4a565b92611c96604051998a98611c9660208b01600490630e4cec4560e31b81520190565b611cc5565b50611e60611f86611f26611ee761043f94611f7a611d07611eec61044b9a611ed3611eb961120d9c611c966040519c8d95611c9660208801606f907f3c7376672069643d22626972642d7376672220786d6c6e733d22687474703a2f81527f2f7777772e77332e6f72672f323030302f73766722207072657365727665417360208201527f70656374526174696f3d22784d696e594d696e206d656574222076696577426f60408201526e03c1e91181018101a19101a19111f1608d1b60608201520190565b7f3c7374796c653e726563747b6865696768743a3170783b7d2023626972642d7381527f76677b73686170652d72656e646572696e673a20637269737065646765733b7d6020820152600160fd1b604082015260410190565b6d1e17b9ba3cb6329f1e17b9bb339f60911b8152600e0190565b0397611ee7601f19998a8101835282611417565b612b31565b611c96611f5f611efd6004356154cb565b92611c96604051998a98611c9660208b01600b906a7b226e616d65223a20222360a81b81520190565b7f222c2022696d616765223a2022646174613a696d6167652f7376672b786d6c3b81526618985cd94d8d0b60ca1b602082015260270190565b6e11161130ba3a3934b13aba32b9911d60891b8152600f0190565b03848101835282611417565b6040517f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000006020820152938491603d8301611c96565b8087611fea921480612001575b15611fef57611fd561513b565b611fdf8289612c69565b5261178c8188612c69565b611716565b611fd5611ffb82615117565b5061516f565b5082611fc8565b806120166120219286612c69565b515161202657614388565b611702565b6120396120338287612c69565b51615389565b61204c6120468388612c69565b516153df565b61205461143a565b918d8352602083015260408201528b898201526120718286612c69565b5261178c8185612c69565b61165561164f61208e61209393614f95565b614526565b60c0830152386116f6565b61165561164f6120b06120b593614f95565b6144fd565b60a0830152386116e6565b61165561164f6120d26120d793614f95565b6144d4565b6080830152386116d6565b60408801600961ffff6120f7835161ffff1690565b1611156121455761213992509061213361164561212961212461211f611655965161ffff1690565b61504e565b6144ab565b50925161ffff1690565b90614578565b858301525b38806116c5565b505061165561215961212461216d93614f95565b506121336116456101008b015161ffff1690565b8583015261213e565b60408801600961ffff61218b835161ffff1690565b1611156121ca576121bd9250906121336116456121296121b86121b3611655965161ffff1690565b614fa9565b614482565b60408301525b38806116b3565b50506116556121de6121b86121ee93614f95565b5061012089015161ffff16612133565b60408301526121c3565b61222b61165561221861221361164560408b015161ffff1690565b614459565b5061213361164560a08b015161ffff1690565b60208301526116a2565b604051630a14c4b560e41b8152600490fd5b503461000e57600036600319011261000e57602060ff600a54166040519015158152f35b9190608083011161000e57565b919061020083011161000e57565b503461000e5762014b6036600319011261000e576001600160401b0360043581811161000e576122ba90369060040161226b565b60243582811161000e576122d290369060040161226b565b36620144441161000e5762014b4436811161000e573592831161000e576123006106e1933690600401612278565b91615b02565b503461000e57604036600319011261000e57602060ff61234c61232761053f565b61232f610555565b6001600160a01b0390911660009081526007855260409020612499565b54166040519015158152f35b503461000e57602036600319011261000e5761237261053f565b61237a612427565b6001600160a01b039081169081156123b657600880546001600160a01b03198116841790915516600080516020615f5e833981519152600080a3005b60405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608490fd5b503461000e57600036600319011261000e576020604051600a8152f35b6008546001600160a01b0316330361243b57565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b6001600160a01b0316600090815260056020526040902090565b9060018060a01b0316600052602052604060002090565b6001600160a01b031680156124da576000908152600560205260409020546001600160401b031690565b6040516323d3ad8160e21b8152600490fd5b6001600160a01b03906124fe90612522565b1690565b6000526077602052604060002090565b6000526004602052604060002090565b60008181548110612540575b604051636f96cda160e11b8152600490fd5b81526004906020918083526040928383205494600160e01b8616156125675750505061252e565b93929190935b851561257b57505050505090565b6000190180835281855283832054955061256d565b6000548110908161259f575090565b90506000526004602052600160e01b604060002054161590565b906125c383612522565b6001600160a01b0383811692828216849003612710576000868152600660205260409020805490926126046001600160a01b03881633908114908414171590565b6126c7575b82169586156126b55761263b9361262e926126238a6157ae565b6126ab575b5061247f565b805460001901905561247f565b80546001019055600160e11b4260a01b8417811761265886612512565b55811615612677575b50600080516020615f7e833981519152600080a4565b6001840161268481612512565b5415612691575b50612661565b600054811461268b576126a390612512565b55388061268b565b6000905538612628565b604051633a954ecd60e21b8152600490fd5b6126f96107106126f2336126ed8b60018060a01b03166000526007602052604060002090565b612499565b5460ff1690565b1561260957604051632ce44b5f60e11b8152600490fd5b60405162a1148160e81b8152600490fd5b6040519061272e826113e1565b60008252565b9291906127428282866125b9565b803b61274f575b50505050565b612758936127ee565b156127665738808080612749565b6040516368d2bf6b60e11b8152600490fd5b9081602091031261000e57516103da81610300565b6001600160a01b0391821681529116602082015260408101919091526080606082018190526103da929101906103a4565b3d156127e9573d906127cf82611513565b916127dd6040519384611417565b82523d6000602084013e565b606090565b92602091612817936000604051809681958294630a85bd0160e11b9a8b8552336004860161278d565b03926001600160a01b03165af160009181612867575b506128595761283a6127be565b80519081612854576040516368d2bf6b60e11b8152600490fd5b602001fd5b6001600160e01b0319161490565b61288991925060203d8111612890575b6128818183611417565b810190612778565b903861282d565b503d612877565b1561289e57565b60405162461bcd60e51b815260206004820152600860248201526709ac2f0a0cae4a8f60c31b6044820152606490fd5b1561000e57565b906000908154928115612977576128ec828561583b565b6128f58161247f565b80546001600160401b0184020190556001600160a01b0316906001904260a01b81831460e11b17831761292786612512565b5584019381600080516020615f7e83398151915291808587858180a4015b85810361296857505050156129575755565b604051622e076360e81b8152600490fd5b8083918587858180a401612945565b60405163b562e8dd60e01b8152600490fd5b9061299c60209282815194859201610381565b0190565b60405190606082016001600160401b03811183821017612a10575b604052604082527f6768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f6040837f4142434445464748494a4b4c4d4e4f505152535455565758595a61626364656660208201520152565b612a186113a1565b6129bb565b50634e487b7160e01b600052601160045260246000fd5b9060018201809211612a4257565b610c3c612a1d565b9060028201809211612a4257565b9060038201809211612a4257565b9060208201809211612a4257565b6007019081600711612a4257565b91908201809211612a4257565b90602a820291808304602a1490151715612a4257565b908160041b9180830460101490151715612a4257565b90600382029180830460031490151715612a4257565b90606482029180830460641490151715612a4257565b600281901b91906001600160fe1b03811603612a4257565b90612b0982611513565b612b166040519182611417565b8281528092612b27601f1991611513565b0190602036910137565b805115612c1157612b406129a0565b612b5c612b57612b508451612a4a565b6003900490565b612ae7565b91612b6e612b6984612a66565b612aff565b92835280815182019060208501935b828210612bbf57505050600390510680600114612bae57600214612b9f575090565b603d60f81b6000199091015290565b50613d3d60f01b6001199091015290565b9091936004906003809401938451600190603f9082828260121c16880101518553828282600c1c16880101518386015382828260061c1688010151600286015316850101519082015301939190612b7d565b506103da612721565b90604051608081019283604052925b6000190192600a906030828206018553049283612c2957809350608091030191601f1901918252565b50634e487b7160e01b600052603260045260246000fd5b906007811015612c7b575b60051b0190565b612c83612c52565b612c74565b906004811015612c7b5760051b0190565b90600c811015612c7b5760051b0190565b90600d811015612c7b5760051b0190565b90600a811015612c7b5760051b0190565b906026811015612c7b5760051b0190565b90600b811015612c7b5760051b0190565b906008811015612c7b5760051b0190565b8115612d09570690565b634e487b7160e01b600052601260045260246000fd5b6040805142602082019081524492820192909252606080820184905233901b6001600160601b0319166080820152612d5a816094810161079b565b519020600090818093818091612d6e611459565b6102088152612b666020820152612aa26040820152612a936060820152612a5160808201526129e260a082015261292a60c08201528280805b600783106142195750505050612dc361073a6000198301612502565b91612dcc61143a565b818152616c1b6020820152616a6c60408201526129796060820152600182805b600483106141de5750505050612e00611466565b90808252613f4a60208301526125ec6040830152612335606083015261232e60808301526121fb60a0830152610d0460c08301526107c560e083015261079061010083015261078a610120830152610755610140830152610734610160830152806001915b600c83106141a357505050508660301b612e7d611486565b61d1ea815261052560208201526104ca60408201526104746060820152610461608082015261046160a082015261041f60c08201526103a360e082015261037b61010082015261036e61012082015261033a6101408201526103206101608201526101ec610180820152600080815b600d83106141685750505050612f006114a6565b6000815261303960208201526125db604082015261206d6060820152611dc96080820152611d5360a0820152611c4660c08201526117b860e0820152610ddd610100820152610c886101208201526000806001915b600a831061412a57505050506000612f6b6114c6565b614bbe81526109ce6020820152610924604082015261085260608201526106c2608082015261068e60a082015261068160c082015261066660e082015261066061010082015261060b6101208201526105f76101408201526105d661016082015261059561018082015261056d6101a082015261054d6101c08201526105396101e082015261052c6102008201526104f161022082018190526102408201526104ca6102608201526104af61028082015261049c6102a082018190526102c08201526104816102e082015261047b61030082015261046161032082015261044d6103408201526103ca6103608201526103b661038082015261033a6103a08201526103336103c08201526103126103e08201526102b061040082015261029661042082015261025b61044082015261020c61046082015261017c6104808201526101766104a082015281908180805b602683106140e957505050506130ce6114c6565b906130d76114e6565b61108681526106d8602082015261092d604082015261089c606082015261091260808201526108de60a08201526108b060c082015261049e60e08201526102cd610100820152605e610120820152603061014082015282526131376114e6565b6105d181526103b86020820152600060408201526000606082015260006080820152600060a0820152600060c0820152600060e082015260006101008201526030610120820152601561014082015260208301526131936114e6565b6101e5815261010f602082015261016a604082015261018560608201526000608082015261011b60a082015261010e60c0820152607060e082015260436101008201526043610120820152602261014082015260408301526131f36114e6565b61034f81526101ef60208201526102ba60408201526000606082015260006080820152600060a0820152600060c0820152600060e08201526000610100820152603e610120820152601c61014082015260608301526132506114e6565b61041b81526102716020820152600060408201526000606082015260006080820152600060a0820152600060c0820152600060e082015260006101008201526000610120820152603661014082015260808301526132ac6114e6565b61023a8152609d602082015261011a9081604082015260f96060820152600060808201528160a0820152600060c0820152600060e082015260216101008201526042610120820152602761014082015260a08401526133096114e6565b610191815260d36020820152610135604082015261015c606082015261014f6080820152600060a0820152600060c0820152600060e08201526000610100820152601b610120820152602261014082015260c08401526133676114e6565b9061013a8252602082015260df604082015260f9606082015260be6080820152600060a082015260f260c0820152605c60e0820152602e6101008201526000610120820152600061014082015260e08301526133c16114e6565b61063f815260006020820152600060408201526000606082015260006080820152600060a0820152600060c0820152600060e082015260006101008201526000610120820152602161014082015261010083015261341d6114e6565b610233815261018360208201526101ec60408201526000606082015260006080820152600060a0820152600060c0820152600060e082015260006101008201526042610120820152602761014082015261012083015261347b6114e6565b60f881526090602082015260df604082015260c5606082015260b8608082015260f960a082015260c560c0820152605560e08201526000610100820152600061012082015260006101408201526101408301526134d66114e6565b61015c815260d460208201526092604082015260cd60608201526000608082015260c760a082015260c660c0820152600060e08201526049610100820152604961012082015260286101408201526101608301526135326114e6565b6102278152610148602082015260006040820152600060608201526101d16080820152600060a0820152600060c0820152600060e08201526000610100820152602e61012082015260276101408201526101808301526135906114e6565b61031881526102556020820152600060408201526000606082015260006080820152600060a0820152600060c0820152600060e08201526000610100820152600061012082015260006101408201526101a08301526135ed6114e6565b61010781526101026020820152610108604082015260fb60608201526101296080820152600060a0820152600060c0820152600060e08201526000610100820152600f61012082015260096101408201526101c083015261364c6114e6565b6101d381526101156020820152600060408201526101bf606082015260006080820152600060a0820152600060c0820152600060e082015260566101008201526000610120820152603c6101408201526101e08301526136aa6114e6565b6102e081526101986020820152600060408201526000606082015260006080820152600060a0820152600060c0820152600060e08201526063610100820152602f61012082015260226101408201526102008301526137076114e6565b6101208152608c6020820152609f6040820152608c6060820152607e6080820152609160a0820152609860c0820152603c60e08201526015610100820152600061012082015260226101408201526102208301526137636114e6565b6101ed815261013d602082015260006040820152610156606082015260006080820152600060a0820152600060c0820152600060e082015260566101008201526000610120820152601b6101408201526102408301526137c16114e6565b6104af815260006020820152600060408201526000606082015260006080820152600060a0820152600060c0820152600060e082015260006101008201526000610120820152601b61014082015261026083015261381d6114e6565b61049f815260006020820152600060408201526000606082015260006080820152600060a0820152600060c0820152600060e08201526000610100820152600061012082015260106101408201526102808301526138796114e6565b61011581526083602082015260d8604082015260e5606082015260e56080820152600060a0820152600060c0820152606260e08201526000610100820152600061012082015260006101408201526102a08301526138d56114e6565b610122815260a660208201526099604082015260c060608201526000608082015260c760a0820152600060c0820152604960e08201526028610100820152601b61012082015260286101408201526102c08301526139316114e6565b60df8152608c602082015260996040820152606b606082015260cd608082015260cc60a0820152600060c0820152603560e08201526022610100820152600061012082015260226101408201526102e083015261398c6114e6565b6101fa815260f4602082015261018560408201526000606082015260006080820152600060a0820152600060c0820152600060e08201526000610100820152600061012082015260086101408201526103008301526139e96114e6565b60d28152607d60208201526090604082015260e5606082015260a4608082015260a460a0820152600060c0820152603b60e082015260006101008201526000610120820152601a610140820152610320830152613a446114e6565b60a68152606460208201526092604082015260ab606082015260776080820152608460a0820152605660c0820152604960e08201526035610100820152602f6101208201526008610140820152610340830152613a9f6114e6565b610175815260df602082015261013460408201526000606082015260006080820152600060a0820152600060c0820152600060e08201526000610100820152603b6101208201526007610140820152610360830152613afc6114e6565b610381815260006020820152600060408201526000606082015260006080820152600060a0820152600060c0820152600060e0820152600061010082015260216101208201526014610140820152610380830152613b586114e6565b61033a815260006020820152600060408201526000606082015260006080820152600060a0820152600060c0820152600060e08201526000610100820152600061012082015260006101408201526103a0830152613bb46114e6565b605d8152604a60208201526071604082015260856060820152609f6080820152607e60a0820152600060c0820152604360e0820152600e610100820152600061012082015260286101408201526103c0830152613c0f6114e6565b610312815260006020820152600060408201526000606082015260006080820152600060a0820152600060c0820152600060e08201526000610100820152600061012082015260006101408201526103e0830152613c6b6114e6565b605d815260496020820152606360408201526049606082015260706080820152604360a0820152604960c0820152601a60e0820152600d6101008201526021610120820152601a610140820152610400830152613cc66114e6565b6062815260436020820152605d604082015260496060820152606a6080820152604960a0820152604360c0820152603460e0820152600061010082015260006101208201526021610140820152610420830152613d216114e6565b605381526043602082015260436040820152605d606082015260006080820152603c60a0820152605060c0820152601560e082015260146101008201526042610120820152602e610140820152610440830152613d7c6114e6565b60698152602f6020820152604360408201526056606082015260006080820152604960a0820152600060c0820152600060e0820152601561010082015260496101208201526034610140820152610460830152613dd76114e6565b603c815260446020820152604a60408201526036606082015260006080820152600060a0820152600060c0820152600060e0820152600f610100820152604a6101208201526023610140820152610480830152613e326114e6565b602d815260276020820152603b60408201526042606082015260006080820152604260a0820152602e60c0820152600060e082015260076101008201526000610120820152602e6101408201526104a0830152806000915b600b831061409e575050505060601b1791613ea36114f3565b61d52381526107ef60208201526107bb60408201526106b5606082015261067b608082015261054760a082015261053360c082015261038960e0820152600080815b600883106140605750505050600160901b8660201b169061ffff600180600019881801871760ff1c1c91160160a01b8417179160009384975b60058910613f325750505050505050505050565b8886613f94866001808f600690049560021c1c1c0260d41b8a60401b8560101b8d86600160c01b60016000198c18018b17603f1c16916001600761ffff82851c9360801c160601020160801b8a17171717176000526076602052604060002090565b540115613fcb575b50600d600180600381940601988b15613fbb575b010698019795613f1e565b829060078c60901c160106613fb0565b6000858152607760209081526040808320600761ffff60808f811c9190911691909106600190810181881c02909601901b8817600019881886018817603f1c600160c01b1617601087901b178c831b1760028f901c86901c9590951c890260d41b949094176001600160c01b038116909917938490559782526076905295909520909590805460010190556001019438613f9c565b61406d83859c9a9c612cee565b5101908082039061ffff8b60601c160310614092575b60018192019190999799613ee5565b948160701b1794614083565b6140b5836140af879c9e9c87612ccc565b51612cdd565b5101908082039061ffff8c60501c1603106140da575b600181920191909a989a613e8a565b936001820160201b17936140cb565b6140f683859e9c9e612ccc565b5101908b8161ffff8185039260501c16031061411d575b50600181920191909b999b6130ba565b945092508093923861410d565b61413783859c9a9c612cbb565b5101908082039061ffff8b60401c16031061415c575b60018192019190999799612f55565b928160501b179261414d565b61417583859c9a9c612caa565b5101908082039061ffff8b60301c16031061419a575b60018192019190999799612eec565b9850809861418b565b6141b083859b999b612c99565b5101908082039061ffff8a60201c1603106141d5575b60018192019190989698612e65565b985080986141c6565b6141eb83859c9a9c612c88565b5101908082039061ffff8b60101c160310614210575b60018192019190999799612dec565b96508096614201565b61422683859b999b612c69565b5101908082039061ffff8a160310614248575b60018192019190989698612da7565b94508094614239565b6040519061425e826113b8565b816101406000918281528260208201528260408201528260608201528260808201528260a08201528260c08201528260e082015282610100820152826101208201520152565b90610c3c6040516142b4816113b8565b925461ffff8082168552601082901c811660208087019190915282901c8116604080870191909152603083901c82166060808801919091529083901c8216608080880191909152605084901c831660a0808901919091529184901c831660c0880152607084901c831660e088015283901c8216610100870152609083901c82166101208701529190911c16610140840152565b601981101561435a575b60cc0190600090565b614362612c52565b614351565b601981101561437b575b6101530190600090565b614383612c52565b614371565b6001906000198114614398570190565b61299c612a1d565b80156143ae575b6000190190565b6143b6612a1d565b6143a7565b8054156143d1575b600052602060002090600090565b6143d9612c52565b6143c3565b60cb548110156143fa575b60cb60005260206000200190600090565b614402612c52565b6143e9565b60e554811015614423575b60e560005260206000200190600090565b61442b612c52565b614412565b60575481101561444c575b605760005260206000200190600090565b614454612c52565b61443b565b605954811015614475575b605960005260206000200190600090565b61447d612c52565b614464565b60585481101561449e575b605860005260206000200190600090565b6144a6612c52565b61448d565b605a548110156144c7575b605a60005260206000200190600090565b6144cf612c52565b6144b6565b605b548110156144f0575b605b60005260206000200190600090565b6144f8612c52565b6144df565b605c54811015614519575b605c60005260206000200190600090565b614521612c52565b614508565b605d54811015614542575b605d60005260206000200190600090565b61454a612c52565b614531565b601a5481101561456b575b601a60005260206000200190600090565b614573612c52565b61455a565b8054821015614591575b60005260206000200190600090565b614599612c52565b614582565b600019810191908211612a4257565b602a0390602a8211612a4257565b61035f19810191908211612a4257565b91908203918211612a4257565b600b8110156145ec575b6101480190600090565b6145f4612c52565b6145e2565b600d81101561460d575b61013b0190600090565b614615612c52565b614603565b605581101561462d575b60e60190600090565b614635612c52565b614624565b614642614251565b5061465461464f82612502565b6142a4565b9061ffff80614665845161ffff1690565b16614f00576101408301918161467d845161ffff1690565b1692604a841115614cfc576000919293506146988560019052565b525b60408301600a836146ad835161ffff1690565b1611614cf0575b606084019260059283826146ca875161ffff1690565b1611614ce3575b816146de845161ffff1690565b1660098111614a65575b505060e08501926003826146fe865161ffff1690565b1614614a2e575b600860c0870194601f8461471b885161ffff1690565b1614614a1e575b8361472f875161ffff1690565b1690600682146149f1575b601582146149ad575b600d8214614973575b5014614922575b608086019382614765865161ffff1690565b1660018111614779575b5050505050505090565b600881036147f1575082614791601c925161ffff1690565b16036147ac5750505060009150525b3880808080808061476f565b909192506147bf610745855161ffff1690565b1491826147de575b50506147d4575b506147a0565b60019052386147ce565b51600b925061ffff1616141538806147c7565b91945091929150600c81036148c0575051811661ffff1660091981016148235750505061481e9060029052565b6147a0565b600b81036148565750825161ffff1616906004821415918261484b5750506147d457506147a0565b1415905038806147c7565b915050600c810361486b5750600390526147a0565b600d0361488e576003614883610745835161ffff1690565b036147d457506147a0565b61489d610745825161ffff1690565b600681141590816148b4575b506147d457506147a0565b600991501415386148a9565b91925090600a0361490f575161ffff1616600a81036148e35750600290526147a0565b600b81036148f55750600590526147a0565b600b101561490657600390526147a0565b600190526147a0565b50506000905260006101008201526147a0565b60808601805161ffff16836001808316149182614965575b8215614958575b505061494e575b50614753565b6000905238614948565b6008925016148338614941565b81811660011415925061493a565b600060808a0152805161ffff1685600180831614918261499f575b50501561474c57600090523861474c565b60039250161415853861498e565b608089016002866149c0835161ffff1690565b16036149e7575b5060066149d9610745835161ffff1690565b146147435760008152614743565b60009052386149c7565b60008152608089018386614a07835161ffff1690565b1614614a14575b5061473a565b6000905238614a0e565b6008815260006080890152614722565b600183526000608087015260c08601601a83614a4c835161ffff1690565b161015614a5c5760009052614705565b60059052614705565b60006101208801819052610100880152600c03614b17575080614a8a855161ffff1690565b16600281148015614b0d575b15614aa85750600184525b38806146e8565b600781148015614b03575b15614ac35750600284525b614aa1565b808403614ad4575060048452614aa1565b60088114908115614af8575b5015614aef5760058452614aa1565b60038452614aa1565b600991501138614ae0565b5060068114614ab3565b5060098114614a96565b600160a087015261079b614b59614b30875161ffff1690565b604080516020810195865260f09290921b6001600160f01b031916908201529182906042820190565b519020858280614b6b865161ffff1690565b16600a8103614c085750600183614bf7614bec610745614bce6055614bc4614be1614c009a6080614bd8610745614abe9f600b6107459f8f9283614bce9460401b03998a926003848416061660e08a019061ffff169052565b60401c16066145f9565b90549060031b1c90565b61ffff16910152565b8660801c160661461a565b61ffff1660c08c0152565b60c01c16612a34565b61ffff168552565b600b14159150614c59905057614c4e610745614bce600b614abe94614c45614c3d610745600660018060401b03851606612a34565b61ffff168b52565b60401c066145d8565b61ffff166080870152565b506001602086015280614c6e855161ffff1690565b1683811180614cd9575b15614c87575060018452614aa1565b600381148015614ccf575b15614ca1575060028452614aa1565b838114908115614cc4575b5015614cbb5760038452614aa1565b60048452614aa1565b600191501438614cac565b5060088111614c92565b5060098110614c78565b60016101008701526146d1565b600060e08501526146b4565b50600380840483169306821680614da757505050614d9c6107456103da9260008060208701528060608701528060808701528060c08701528060e087015280610100870152610120860152614d8c614d91610745614d74614d6e614d68614d628761459e565b60031690565b9561459e565b60021c90565b93614d8c614d8461074583612a74565b61ffff168a52565b612a34565b61ffff166040870152565b61ffff1660a0830152565b918260018295939414600014614e995750610745614bce614e4292614e4d94614dd360408a01600c9052565b886005820691600581049260028110614e67575b6107456006614e3d93614e37614e1b85614e31999a614c3d9715614e52575b811661ffff1660a08a01526143a0565b6143a0565b9660c0614bd8610745614bce8d614e318d6143de565b50614578565b06612a34565b614407565b61ffff166080850152565b61469a565b90614e5f614e1691614388565b919050614e06565b6107456006614e3d93614e37614e1b85614e8a614c3d97614e319b60011b612a82565b99509550505093505050614de7565b6002915014614ea9575b5061469a565b614e42610745614bce6019614efa94614ec560408a01600d9052565b614ed7614d8461074560068406612a34565b06614ef5614eea610745614bce84614347565b61ffff1660c08a0152565b614367565b38614ea3565b90600061014084015261469a565b6020906001600160401b038111614f265760051b0190565b612c836113a1565b60405190616d8082016001600160401b03811183821017614f5d575b60405261036b8252616d60366020840137565b614f656113a1565b614f4a565b60405190614f77826113fc565b8160005b60e08110614f87575050565b606082820152602001614f7b565b61ffff9081166000190191908211612a4257565b61ffff9081166006190191908211612a4257565b9060405191828154918282526020928383019160005283600020936000905b828210614ff257505050610c3c92500383611417565b855484526001958601958895509381019390910190614fdc565b6006906004811015615023575b02605e0190600090565b61502b612c52565b615019565b6006821015615041575b0190600090565b615049612c52565b61503a565b90600161ffff80931601918211612a4257565b60405190608082016001600160401b03811183821017615097575b60405260006060838281528260208201528260408201520152565b61509f6113a1565b61507c565b604051906150b1826113fc565b8160005b60e081106150c1575050565b6020906150cc615061565b81840152016150b5565b60408051916150e4836113fc565b829160005b60e08082101561510f57825160209291615102826113fc565b36823781870152016150e9565b505050909150565b600790600881101561512e575b02601f0190600090565b615136612c52565b615124565b6040519060506000835b6007821061515957505050610c3c826113fc565b6001602081928554815201930191019091615145565b60405191906000835b6007821061518c57505050610c3c826113fc565b6001602081928554815201930191019091615178565b906025949392916d3c7265637420636c6173733d276360901b81526151d1825180936020600e85019101610381565b01642720783d2760d81b600e8201526151f4825180936020601385019101610381565b01642720793d2760d81b6013820152615217825180936020601885019101610381565b016c13903bb4b23a341e939893979f60991b60188201526152418251809360208685019101610381565b010190565b602091815181101561525b575b60051b010190565b615263612c52565b615253565b92936103da96946021969261532a9461529b82518861528d8260209b8c809801610381565b019182815194859201610381565b016d3c7265637420636c6173733d276360901b81526152c38251809388600e85019101610381565b01642720783d2760d81b600e8201526152e58251809387601385019101610381565b01642720793d2760d81b60138201526153078251809386601885019101610381565b019168272077696474683d2760b81b601884015283519384918685019101610381565b01016003906213979f60e91b81520190565b90610a20821015615356575b601f8260051c607801921690565b61535e612c52565b615348565b90602882101561537c575b601f8260051c60c901921690565b615384612c52565b61536e565b60209080511561539c575b015160fa1c90565b6153a4612c52565b615394565b9060f06153bc603f938360041c90615246565b519160041b1660fa0360fa81116153d2571c1690565b6153da612a1d565b1c1690565b60206103ff918051156153f6575b015160f01c1690565b6153fe612c52565b6153ed565b9060f06154176103ff938360041c90615246565b519160041b1660f00360f081116153d2571c1690565b6010811015615440575b600b0190600090565b615448612c52565b615437565b60408051919082016001600160401b0381118382101761547b575b60405260018252600b60fa1b6020830152565b6154836113a1565b615468565b90610c3c60226040518094605b60f81b60208301526154b1815180926020602186019101610381565b8101605d60f81b6021820152036002810185520183611417565b6154d49061463a565b606090600090825b6008808410156157a057831590600090819081841561560a575050615506610745865161ffff1690565b80156155fd576155a7611c969461553e615539614bce6155b5978761079b9760019c99156155ec575b50614e319061542d565b615e65565b90898b91156155be575b611c9691611c96615575615564615539614bce6155909661454f565b926040519b8c9a60208c0190612989565b6e3d913a3930b4ba2fba3cb832911d1160891b8152600f0190565b6a1116113b30b63ab2911d1160a91b8152600b0190565b61227d60f01b815260020190565b925b01916154dc565b611c96915061559090611c96615575615564615539614bce6155de61544d565b975050505050509050615548565b6000190191508d9050614e3161552f565b50505050916001906155b7565b6001880361562b575050615626610745602087015161ffff1690565b615506565b600288036156745750615646610745604088015161ffff1690565b90600661ffff615658895161ffff1690565b1611615665575b50615506565b6000198201935091503861565f565b9050600387036156b157506156906107458887015161ffff1690565b61ffff6156a2604088015161ffff1690565b16600981116156655750615506565b600487036156cc5750615626610745608087015161ffff1690565b6005870361576a5750906156e861074560a087015161ffff1690565b9161ffff806156fd61014089015161ffff1690565b1615158061574f575b1561571b575050506009600019820191615506565b60408701519293919261ffff169060098183161161573b575b5050615506565b600919909101169250600e91503880615734565b50600d8161576260408a015161ffff1690565b161415615706565b60068703615785575061562661074560c087015161ffff1690565b60078703615626575061562661074560e087015161ffff1690565b509150506103da9150615488565b6001810180821161582e575b905b8181106157c7575050565b6000818152602090601c8252604080912054158015615823575b156157f65750506157f190614388565b6157bc565b60649250519062461bcd60e51b8252600482015260076024820152664e657374696e6760c81b6044820152fd5b50601d5415156157e1565b615836612a1d565b6157ba565b90810180821161588d575b905b818110615853575050565b6000818152602090601c8252604080912054158015615882575b156157f657505061587d90614388565b615848565b50601d54151561586d565b615895612a1d565b615846565b9190811015612c7b5760051b0190565b903590601e198136030182121561000e57018035906001600160401b03821161000e57602001918160051b3603831361000e57565b8181106158ea575050565b600081556001016158df565b90600160401b811161592b575b81549080835581811061591557505050565b610c3c92600052602060002091820191016158df565b6159336113a1565b615903565b818110615943575050565b80600191546000908183558061595c575b505001615938565b6020828461596f945220908101906158df565b3880615954565b9190600160401b8211615a3b575b8254828455808310615a1d575b50600092835260208084208492805b8585106159b05750505050505050565b6159ba81836158aa565b906001600160401b038211615a10575b908592916159d882876158f6565b858a52838a208a5b8381106159fc57505050506001918291019301940193916159a0565b8235818301558895909201916001016159e0565b615a186113a1565b6159ca565b615a3590846000528360206000209182019101615938565b38615991565b615a436113a1565b615984565b600160401b8311615af5575b8054838255808410615aa8575b5090809160005260209081600020906000935b858510615a8357505050505050565b60018482615a9c615a958495876158aa565b9088615976565b01930194019391615a74565b600082815260208581832093840193015b838110615ac857505050615a61565b806001915484825580615add575b5001615ab9565b818552838520615aef91810190615938565b38615ad6565b615afd6113a1565b615a54565b615b0a612427565b60ff600a541661000e57615bb492615b9a615b7a83615b6a615b2f82615baf976158aa565b90605954600160401b811015615bd3575b6001810180605955811015615bc6575b6059600052600080516020615f9e83398151915201615976565b615b80615b7a60208301836158aa565b90615be0565b615b90615b7a60408301836158aa565b60608101906158aa565b615ba2615c1e565b615baa615c7c565b615cc8565b615d92565b610c3c600160ff19600a541617600a55565b615bce612c52565b615b50565b615bdb6113a1565b615b40565b605954610c3c929190600160401b811015615bd3576001810180605955811015615bc6576059600052600080516020615f9e83398151915201615976565b60449060005b60518110615c3157509050565b600092835b602080861015615c6c57823560ff92838216820361000e576001938860031b90811b9283911b1691191617920194019390615c36565b5060788301559250600101615c24565b601f600080620144445b60088210615c945750505050565b80835b60078110615cb4575050600760e060019201940191019092615c86565b600190602083359301928188015501615c97565b600b906000815b60108210615cdd5750505050565b615ce781846158aa565b91906001600160401b038311615d85575b600160401b8311615d78575b8554838755808410615d4f575b5091856000526020928360002060005b838110615d3d5750505050600191829101940191019092615ccf565b82358282015591850191600101615d21565b8660005283602060002091820191015b818110615d6c5750615d11565b60008155600101615d5f565b615d806113a1565b615d04565b615d8d6113a1565b615cf8565b605e6000825b60048210615da65750505050565b803560be198536030181121561000e578401600084825b60068310615ddc57505050506006602060019201930191019091615d98565b615de681856158aa565b91906001600160401b038311615e3e575b615e0183856158f6565b91836000526020928360002060005b838110615e2c5750505050600191829101920192019190615dbd565b82358282015591850191600101615e10565b615e466113a1565b615df7565b906020918051821015615e5d57010190565b615241612c52565b9060005b602081108015615ef6575b83821a60f81b6001600160f81b03191615159081615eee575b5015615ea157615e9c90614388565b615e69565b615eaa90612aff565b60005b8151811015615ee957806020615ed7921015615edc575b84811a615ed18285615e4b565b53614388565b615ead565b615ee4612c52565b615ec4565b509150565b905038615e8d565b615efe612c52565b615e74565b615f0b615061565b506000526004602052604060002054615f22615061565b6001600160a01b038216815260a082901c6001600160401b03166020820152600160e01b82161515604082015260e89190911c60608201529056fe8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efd73956b9e00d8f8bc5e44f7184df1387cdd652e7726b8ccda3db4859e02f31bfa2646970667358221220dbd19d853ee13358d281ef52bfaba682ca98733beda576753efea074cc87c0ed64736f6c63430008110033a7ce836d032b2bf62b7e2097a8e0a6d8aeb35405ad15271e96d3b0188a1d06fb5625f7c930b8b40de87dc8e69145d83fd1d81c61b6c31fb7cfe69fac65b28642
Deployed Bytecode
0x60806040526004361015610013575b600080fd5b60003560e01c806301ffc9a7146102f757806306fdde03146102ee578063081812fc146102e5578063095ea7b3146102dc57806315d1534d146102d357806318160ddd146102ca57806323b872dd146102c157806330e8afac146102b857806332cb6b0c146102af57806339154b9e146102a65780633ccfd60b1461029d57806342842e0e14610294578063469b29cd1461028b5780634ca4fdf5146102825780635a6c478f146102795780635bb209a5146102705780635e7c676f146102675780636352211e1461025e5780636ac7a0491461025557806370a082311461024c578063715018a6146102435780638462151c1461023a5780638da5cb5b1461023157806391b7f5ed1461022857806395d89b411461021f578063a035b1fe14610216578063a0712d681461020d578063a22cb46514610204578063a8673329146101fb578063a963689e146101f2578063b88d4fde146101e9578063c87b56dd146101e0578063ce34334e146101d7578063d3eefaeb146101ce578063e985e9c5146101c5578063f2fde38b146101bc5763f968adbe146101b457600080fd5b61000e61240a565b5061000e612358565b5061000e612306565b5061000e612286565b5061000e612247565b5061000e6115c6565b5061000e61153d565b5061000e6112bf565b5061000e611143565b5061000e6110a6565b5061000e611014565b5061000e610ff5565b5061000e610f31565b5061000e610f0f565b5061000e610ee5565b5061000e610e07565b5061000e610d7f565b5061000e610d53565b5061000e610cd7565b5061000e610ca7565b5061000e610c6a565b5061000e610c3e565b5061000e610b74565b5061000e610ae4565b5061000e6109f8565b5061000e610962565b5061000e61092e565b5061000e61089d565b5061000e61087f565b5061000e6106e3565b5061000e6106c9565b5061000e610670565b5061000e61063e565b5061000e61056b565b5061000e6104ea565b5061000e6103dd565b5061000e610312565b6001600160e01b031981160361000e57565b503461000e57602036600319011261000e57602060043561033281610300565b63ffffffff60e01b166301ffc9a760e01b8114908115610370575b811561035f575b506040519015158152f35b635b5e139f60e01b14905038610354565b6380ac58cd60e01b8114915061034d565b60005b8381106103945750506000910152565b8181015183820152602001610384565b906020916103bd81518092818552858086019101610381565b601f01601f1916010190565b9060206103da9281815201906103a4565b90565b503461000e576000806003193601126104e75760405190806002549060019180831c928082169283156104dd575b60209283861085146104c95785885260208801949081156104a8575060011461044f575b61044b8761043f81890382611417565b604051918291826103c9565b0390f35b600260005294509192917f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace5b838610610497575050509101905061043f8261044b388061042f565b80548587015294820194810161047b565b60ff191685525050505090151560051b01905061043f8261044b388061042f565b634e487b7160e01b82526022600452602482fd5b93607f169361040b565b80fd5b503461000e57602036600319011261000e5760043561050881612590565b1561052d576000526006602052602060018060a01b0360406000205416604051908152f35b6040516333d1c03960e21b8152600490fd5b600435906001600160a01b038216820361000e57565b602435906001600160a01b038216820361000e57565b503461000e57604036600319011261000e5761058561053f565b602435906001600160a01b038061059b84612522565b1691823303610605575b6105dc816105bd866000526006602052604060002090565b80546001600160a01b0319166001600160a01b03909216919091179055565b16907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925600080a4005b82600052600760205261062760ff610621336040600020612499565b54161590565b156105a5576040516367d9dca160e11b8152600490fd5b503461000e57600036600319011261000e57610658612427565b601e5460ff80821615169060ff191617601e55600080f35b503461000e57600036600319011261000e5760206000546001549003604051908152f35b606090600319011261000e576001600160a01b0390600435828116810361000e5791602435908116810361000e579060443590565b503461000e576106e16106db36610694565b916125b9565b005b503461000e576000806003193601126104e7576106fe612427565b805461071461071061016c5460ff1690565b1590565b80610873575b610723906128ce565b61074c61074561073a6107358461459e565b612502565b5460a01c61ffff1690565b61ffff1690565b905b604a821061076b5761016c805460ff191660011790558280f35b80f35b90916040906107b183835160208101906107a98161079b8a44428791606093918352602083015260408201520190565b03601f198101835282611417565b519020612cff565b6107c86107456107c083612502565b5461ffff1690565b6107e357836107d96107de92614388565b612cff565b6107b1565b61086b906108157f47ef813e698daec3c068060598e4a718f2b8ccf0eb86d1a395c6c558986d7b929396959495614388565b9461084661ffff871661082784612502565b805461ffff60a01b191660a09290921b61ffff60a01b16919091179055565b61085d61085283612502565b805461ffff19169055565b519081529081906020820190565b0390a161074e565b5061271081101561071a565b503461000e57600036600319011261000e5760206040516127108152f35b503461000e57602036600319011261000e576004356108ba612427565b60008181928252601c60205260408220541561092b5761090d906040832054420342811161091e575b818452601b602052604084208054918201809211610911575b55600052601c602052604060002090565b5580f35b610919612a1d565b6108fc565b610926612a1d565b6108e3565b50fd5b503461000e576000806003193601126104e757610949612427565b8080808047335af16109596127be565b50156104e75780f35b503461000e576106e161097436610694565b60405192909190602084016001600160401b0381118582101761099e575b60405260008452612734565b6109a66113a1565b610992565b90602060031983011261000e576001600160401b03916004359083821161000e578060238301121561000e57816004013593841161000e5760248460051b8301011161000e576024019190565b503461000e57610a07366109ab565b90610a14601e5460ff1690565b90600092835b818110610a25578480f35b610a9a90610a5633610a50610a44610a3e85888a61589a565b356124ec565b6001600160a01b031690565b146128ce565b610a75610a6482858761589a565b35600052601c602052604060002090565b5480610a9f5750610a85856128ce565b42610a94610a6483868861589a565b55614388565b610a1a565b610aa990426145cb565b610ad3610acb610aba84878961589a565b35600052601b602052604060002090565b918254612a82565b905585610a94610a6483868861589a565b503461000e57602036600319011261000e576060600435600090600090808252601c602052604082205480610b4f575b50600052601b602052604060002054810190818111610b42575b604051921515835260208301526040820152f35b610b4a612a1d565b610b2e565b925090506001914203428111610b67575b9038610b14565b610b6f612a1d565b610b60565b503461000e57600036600319011261000e57602060ff601e54166040519015158152f35b815161ffff16815261016081019291610c3c919060208181015161ffff169083015260408181015161ffff169083015260608181015161ffff169083015260808181015161ffff169083015260a08181015161ffff169083015260c08181015161ffff169083015260e08181015161ffff16908301526101008181015161ffff16908301526101208181015161ffff16908301526101409081015161ffff16910152565b565b503461000e57602036600319011261000e5761044b610c5e60043561463a565b60405191829182610b98565b503461000e57610c7936610694565b906001600160a01b03610c8b83612522565b16330361000e57610ca0926001601d556125b9565b6000601d55005b503461000e57602036600319011261000e5760206001600160a01b03610cce600435612522565b16604051908152f35b503461000e5760208060031936011261000e57600435906001600160401b03821161000e57816004019160e43691011161000e57610d13612427565b60ff600a541661000e576057916000815b60078210610d2e57005b60018482610d47610d408495886158aa565b908a615a48565b01950191019093610d24565b503461000e57602036600319011261000e576020610d77610d7261053f565b6124b0565b604051908152f35b503461000e576000806003193601126104e757610d9a612427565b600880546001600160a01b0319811690915581906001600160a01b0316600080516020615f5e8339815191528280a380f35b6020908160408183019282815285518094520193019160005b828110610df3575050505090565b835185529381019392810192600101610de5565b503461000e57602036600319011261000e57610e2161053f565b60008091610e2e816124b0565b610e3781614f0e565b92604092610e4784519586611417565b828552601f19610e5684614f0e565b01366020870137610e65615061565b506001600160a01b0390811690825b848403610e885785518061044b8982610dcc565b610e9181615f03565b80870151610edc57516001600160a01b0316828116610ed3575b5060019083838a1614610ebf575b01610e74565b80610ecd838701968a615246565b52610eb9565b97506001610eab565b50600190610eb9565b503461000e57600036600319011261000e576008546040516001600160a01b039091168152602090f35b503461000e57602036600319011261000e57610f29612427565b600435600955005b503461000e576000806003193601126104e75760405190806003549060019180831c92808216928315610feb575b60209283861085146104c95785885260208801949081156104a85750600114610f925761044b8761043f81890382611417565b600360005294509192917fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b838610610fda575050509101905061043f8261044b388061042f565b805485870152948201948101610fbe565b93607f1693610f5f565b503461000e57600036600319011261000e576020600954604051908152f35b50602036600319011261000e576000546004358181019061271082116110775761105c81611046600a86941115612897565b61105681600954023410156128ce565b336128d5565b81811061106557005b80611071600192612d1f565b0161105c565b60405162461bcd60e51b815260206004820152600760248201526614dbdb1913dd5d60ca1b6044820152606490fd5b503461000e57604036600319011261000e576110c061053f565b60243580151580910361000e576001600160a01b03821691338314611131576110f6903360005260076020526040600020612499565b60ff1981541660ff83161790556040519081527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160203392a3005b60405163b06307db60e01b8152600490fd5b503461000e57604036600319011261000e57600435611160612427565b61076861116c8261463a565b916112a0600761117d60243561463a565b946111eb60009687835287610120818186015281835282015260405192836111a9602082019283610b98565b03936111bd601f1995868101835282611417565b519020906040516111e2816111d6602082019485610b98565b03868101835282611417565b519020146128ce565b60405161121960208201928261120d4442879091604092825260208201520190565b03908101835282611417565b519020611296611273610745600363ffffffff611268611240610745600b848a1606612a34565b6112498b612502565b805461ffff60301b191660309290921b61ffff60301b16919091179055565b8560201c1606612a34565b61127c86612502565b9063ffff000082549160101b169063ffff00001916179055565b60401c1691612502565b805461ffff60701b191660709290921b61ffff60701b16919091179055565b503461000e576112ce366109ab565b6112d6612427565b60ff600a541661000e57600160401b8111611394575b60595481605955808210611346575b5060596000908152600080516020615f9e83398151915292906020825b84831061132157005b6001828261133a6113338495896158aa565b908b615976565b01960192019194611318565b60006059815260208381832093840193015b838110611367575050506112fb565b80600191548482558061137c575b5001611358565b81855283852061138e91810190615938565b38611375565b61139c6113a1565b6112ec565b50634e487b7160e01b600052604160045260246000fd5b61016081019081106001600160401b038211176113d457604052565b6113dc6113a1565b604052565b602081019081106001600160401b038211176113d457604052565b60e081019081106001600160401b038211176113d457604052565b601f909101601f19168101906001600160401b038211908210176113d457604052565b60405190608082016001600160401b038111838210176113d457604052565b60405190610c3c826113fc565b6040519061018082016001600160401b038111838210176113d457604052565b604051906101a082016001600160401b038111838210176113d457604052565b6040519061014082016001600160401b038111838210176113d457604052565b604051906104c082016001600160401b038111838210176113d457604052565b60405190610c3c826113b8565b6040519061010082016001600160401b038111838210176113d457604052565b6020906001600160401b038111611530575b601f01601f19160190565b6115386113a1565b611525565b503461000e57608036600319011261000e5761155761053f565b61155f610555565b606435916001600160401b03831161000e573660238401121561000e5782600401359161158b83611513565b926115996040519485611417565b808452366024828701011161000e5760208160009260246106e19801838801378501015260443591612734565b503461000e57602036600319011261000e576115e3600435612590565b15612235576115f3600435612c1a565b6115fe60043561463a565b90600661ffff611610845161ffff1690565b1611916000926001611620614f2e565b9160609261162c614f6a565b9061165b61165561164f61164a6116458a5161ffff1690565b614f95565b614430565b506143bb565b50614fbd565b825282156121f85761169c61165561168361167e61164560408b015161ffff1690565b61500c565b5061169661164560a08b015161ffff1690565b90615030565b60208301525b60208601805161ffff169081612176575b5050848601805161ffff1690816120e2575b5050608086015161ffff16806120c0575b5060c086015161ffff168061209e575b5060e086015161ffff168061207c575b506116ff6150a4565b90845b6007811061200857506117136150d6565b93895b60078110611fbb57505088955b602a871015611b5d5760609060005b602a81106117985750906117836117929261079b61174f8e612c1a565b61176061175b8c6145ad565b612c1a565b6117698d612c1a565b906117738d612c1a565b9260405197889660208801615268565b9661178c612721565b50614388565b95611723565b9a968b896000998c8b6117b3856117ae86612a8f565b612a82565b6006805b61190d5750508c1591828015611906575b61185a575b5050506117e36117dd8c89615246565b60019052565b826117fe57505050506117f96001975b9b614388565b611732565b808b0361181a575050506118146117f991614388565b976117f3565b9261079b929161177361184061184061175b8561183a6118469b9a612c1a565b976145cb565b92612c1a565b61184e612721565b906117f96001976117f3565b51929c919261ffff908116166006811190816118fa575b50156118ea57611882848c51615403565b925b15611895575050995b38808e6117cd565b9b91909b6118a4575b5061188d565b956117dd6118e4916118dd6118b88a612c1a565b61079b6118c489612c1a565b936118ce89612c1a565b604051958694602086016151a2565b9789615246565b3861189e565b6118f48b516153df565b92611884565b60099150141538611871565b50816117c8565b809294955061191e9193508c612c69565b515161193a575b61192e906143a0565b918e91838f95946117b7565b600160ff1b60ff83161c61195c8d611956848660081c92612c69565b51612c69565b5116156119255761196d818b612c69565b516119788151614388565b90526040611986828c612c69565b510151611a83575b808a60206119ab836119a361192e9685612c69565b515193612c69565b510151146119bb575b9050611925565b60006119c7828d612c69565b515260606119d5828d612c69565b51016119e18151614388565b90528a818d60606119f28385612c69565b510151611a09611a028484612c69565b5151612aa5565b11611a17575b5050506119b4565b81611a72611a5c8284611a48611a32604098611a7898612c69565b516060611a3f858c612c69565b510151906153a9565b6020611a54848b612c69565b510152612c69565b516060611a698488612c69565b51015190615403565b93612c69565b5101528a818d611a0f565b9b8d81611ac95750506040611a988d8b612c69565b5101519b6103606040611aab838d612c69565b51015111611ac0575b61192e905b905061198e565b60019250611ab4565b8a849e929e611ade575b505061192e90611ab9565b9861079b611afe6040611af686611b1196979e612c69565b510151612c1a565b916118ce611b0b8a612c1a565b95612c1a565b96896103606040611b228484612c69565b5101511115611b54575b90611b4b6117dd6040611b428461192e96612c69565b5101518c615246565b90508d8a611ad3565b60009350611b2c565b60608960005b8451811015611d9a57611b7f611b798287615246565b51151590565b611b92575b611b8d90614388565b611b63565b91611ce7611d14611b8d9261079b611d0787611bb5611bb08261459e565b612abb565b610a208110611d1c5750611cc5602061079b611cb8611be7611be1611bdc611c969761459e565b6145bb565b60021b90565b611c96611ca9611c29611c22611c1d611c17611c0a611c0588612a58565b615363565b905460ff9160031b1c1690565b60ff1690565b612ad1565b60ff900490565b611c96611c9c611c4161175b611c17611c0a89615363565b95611c96611c9c611c7b611c7561175b611c17611c0a611c05611c6f61175b611c17611c0a611c058d612a34565b98612a4a565b96612c1a565b986040519e8f9d8e01600590640e4cec4c2560db1b81520190565b90612989565b600b60fa1b815260010190565b6216181760e91b815260030190565b602960f81b815260010190565b611c96611cf5611cd48b612c1a565b611c96604051998a9860208a0190612989565b612e6360f01b815260020190565b653db334b6361d60d11b815260060190565b607d60f81b815260010190565b929050611b84565b611c9c91508061079b611cb8611d3d61175b611c17611c0a611d959761533c565b92611c96611c9c611d7361175b611c17611c0a611d68611d6d61175b611c17611c0a611d688c612a34565b61533c565b97612a4a565b92611c96604051998a98611c9660208b01600490630e4cec4560e31b81520190565b611cc5565b50611e60611f86611f26611ee761043f94611f7a611d07611eec61044b9a611ed3611eb961120d9c611c966040519c8d95611c9660208801606f907f3c7376672069643d22626972642d7376672220786d6c6e733d22687474703a2f81527f2f7777772e77332e6f72672f323030302f73766722207072657365727665417360208201527f70656374526174696f3d22784d696e594d696e206d656574222076696577426f60408201526e03c1e91181018101a19101a19111f1608d1b60608201520190565b7f3c7374796c653e726563747b6865696768743a3170783b7d2023626972642d7381527f76677b73686170652d72656e646572696e673a20637269737065646765733b7d6020820152600160fd1b604082015260410190565b6d1e17b9ba3cb6329f1e17b9bb339f60911b8152600e0190565b0397611ee7601f19998a8101835282611417565b612b31565b611c96611f5f611efd6004356154cb565b92611c96604051998a98611c9660208b01600b906a7b226e616d65223a20222360a81b81520190565b7f222c2022696d616765223a2022646174613a696d6167652f7376672b786d6c3b81526618985cd94d8d0b60ca1b602082015260270190565b6e11161130ba3a3934b13aba32b9911d60891b8152600f0190565b03848101835282611417565b6040517f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000006020820152938491603d8301611c96565b8087611fea921480612001575b15611fef57611fd561513b565b611fdf8289612c69565b5261178c8188612c69565b611716565b611fd5611ffb82615117565b5061516f565b5082611fc8565b806120166120219286612c69565b515161202657614388565b611702565b6120396120338287612c69565b51615389565b61204c6120468388612c69565b516153df565b61205461143a565b918d8352602083015260408201528b898201526120718286612c69565b5261178c8185612c69565b61165561164f61208e61209393614f95565b614526565b60c0830152386116f6565b61165561164f6120b06120b593614f95565b6144fd565b60a0830152386116e6565b61165561164f6120d26120d793614f95565b6144d4565b6080830152386116d6565b60408801600961ffff6120f7835161ffff1690565b1611156121455761213992509061213361164561212961212461211f611655965161ffff1690565b61504e565b6144ab565b50925161ffff1690565b90614578565b858301525b38806116c5565b505061165561215961212461216d93614f95565b506121336116456101008b015161ffff1690565b8583015261213e565b60408801600961ffff61218b835161ffff1690565b1611156121ca576121bd9250906121336116456121296121b86121b3611655965161ffff1690565b614fa9565b614482565b60408301525b38806116b3565b50506116556121de6121b86121ee93614f95565b5061012089015161ffff16612133565b60408301526121c3565b61222b61165561221861221361164560408b015161ffff1690565b614459565b5061213361164560a08b015161ffff1690565b60208301526116a2565b604051630a14c4b560e41b8152600490fd5b503461000e57600036600319011261000e57602060ff600a54166040519015158152f35b9190608083011161000e57565b919061020083011161000e57565b503461000e5762014b6036600319011261000e576001600160401b0360043581811161000e576122ba90369060040161226b565b60243582811161000e576122d290369060040161226b565b36620144441161000e5762014b4436811161000e573592831161000e576123006106e1933690600401612278565b91615b02565b503461000e57604036600319011261000e57602060ff61234c61232761053f565b61232f610555565b6001600160a01b0390911660009081526007855260409020612499565b54166040519015158152f35b503461000e57602036600319011261000e5761237261053f565b61237a612427565b6001600160a01b039081169081156123b657600880546001600160a01b03198116841790915516600080516020615f5e833981519152600080a3005b60405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608490fd5b503461000e57600036600319011261000e576020604051600a8152f35b6008546001600160a01b0316330361243b57565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b6001600160a01b0316600090815260056020526040902090565b9060018060a01b0316600052602052604060002090565b6001600160a01b031680156124da576000908152600560205260409020546001600160401b031690565b6040516323d3ad8160e21b8152600490fd5b6001600160a01b03906124fe90612522565b1690565b6000526077602052604060002090565b6000526004602052604060002090565b60008181548110612540575b604051636f96cda160e11b8152600490fd5b81526004906020918083526040928383205494600160e01b8616156125675750505061252e565b93929190935b851561257b57505050505090565b6000190180835281855283832054955061256d565b6000548110908161259f575090565b90506000526004602052600160e01b604060002054161590565b906125c383612522565b6001600160a01b0383811692828216849003612710576000868152600660205260409020805490926126046001600160a01b03881633908114908414171590565b6126c7575b82169586156126b55761263b9361262e926126238a6157ae565b6126ab575b5061247f565b805460001901905561247f565b80546001019055600160e11b4260a01b8417811761265886612512565b55811615612677575b50600080516020615f7e833981519152600080a4565b6001840161268481612512565b5415612691575b50612661565b600054811461268b576126a390612512565b55388061268b565b6000905538612628565b604051633a954ecd60e21b8152600490fd5b6126f96107106126f2336126ed8b60018060a01b03166000526007602052604060002090565b612499565b5460ff1690565b1561260957604051632ce44b5f60e11b8152600490fd5b60405162a1148160e81b8152600490fd5b6040519061272e826113e1565b60008252565b9291906127428282866125b9565b803b61274f575b50505050565b612758936127ee565b156127665738808080612749565b6040516368d2bf6b60e11b8152600490fd5b9081602091031261000e57516103da81610300565b6001600160a01b0391821681529116602082015260408101919091526080606082018190526103da929101906103a4565b3d156127e9573d906127cf82611513565b916127dd6040519384611417565b82523d6000602084013e565b606090565b92602091612817936000604051809681958294630a85bd0160e11b9a8b8552336004860161278d565b03926001600160a01b03165af160009181612867575b506128595761283a6127be565b80519081612854576040516368d2bf6b60e11b8152600490fd5b602001fd5b6001600160e01b0319161490565b61288991925060203d8111612890575b6128818183611417565b810190612778565b903861282d565b503d612877565b1561289e57565b60405162461bcd60e51b815260206004820152600860248201526709ac2f0a0cae4a8f60c31b6044820152606490fd5b1561000e57565b906000908154928115612977576128ec828561583b565b6128f58161247f565b80546001600160401b0184020190556001600160a01b0316906001904260a01b81831460e11b17831761292786612512565b5584019381600080516020615f7e83398151915291808587858180a4015b85810361296857505050156129575755565b604051622e076360e81b8152600490fd5b8083918587858180a401612945565b60405163b562e8dd60e01b8152600490fd5b9061299c60209282815194859201610381565b0190565b60405190606082016001600160401b03811183821017612a10575b604052604082527f6768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f6040837f4142434445464748494a4b4c4d4e4f505152535455565758595a61626364656660208201520152565b612a186113a1565b6129bb565b50634e487b7160e01b600052601160045260246000fd5b9060018201809211612a4257565b610c3c612a1d565b9060028201809211612a4257565b9060038201809211612a4257565b9060208201809211612a4257565b6007019081600711612a4257565b91908201809211612a4257565b90602a820291808304602a1490151715612a4257565b908160041b9180830460101490151715612a4257565b90600382029180830460031490151715612a4257565b90606482029180830460641490151715612a4257565b600281901b91906001600160fe1b03811603612a4257565b90612b0982611513565b612b166040519182611417565b8281528092612b27601f1991611513565b0190602036910137565b805115612c1157612b406129a0565b612b5c612b57612b508451612a4a565b6003900490565b612ae7565b91612b6e612b6984612a66565b612aff565b92835280815182019060208501935b828210612bbf57505050600390510680600114612bae57600214612b9f575090565b603d60f81b6000199091015290565b50613d3d60f01b6001199091015290565b9091936004906003809401938451600190603f9082828260121c16880101518553828282600c1c16880101518386015382828260061c1688010151600286015316850101519082015301939190612b7d565b506103da612721565b90604051608081019283604052925b6000190192600a906030828206018553049283612c2957809350608091030191601f1901918252565b50634e487b7160e01b600052603260045260246000fd5b906007811015612c7b575b60051b0190565b612c83612c52565b612c74565b906004811015612c7b5760051b0190565b90600c811015612c7b5760051b0190565b90600d811015612c7b5760051b0190565b90600a811015612c7b5760051b0190565b906026811015612c7b5760051b0190565b90600b811015612c7b5760051b0190565b906008811015612c7b5760051b0190565b8115612d09570690565b634e487b7160e01b600052601260045260246000fd5b6040805142602082019081524492820192909252606080820184905233901b6001600160601b0319166080820152612d5a816094810161079b565b519020600090818093818091612d6e611459565b6102088152612b666020820152612aa26040820152612a936060820152612a5160808201526129e260a082015261292a60c08201528280805b600783106142195750505050612dc361073a6000198301612502565b91612dcc61143a565b818152616c1b6020820152616a6c60408201526129796060820152600182805b600483106141de5750505050612e00611466565b90808252613f4a60208301526125ec6040830152612335606083015261232e60808301526121fb60a0830152610d0460c08301526107c560e083015261079061010083015261078a610120830152610755610140830152610734610160830152806001915b600c83106141a357505050508660301b612e7d611486565b61d1ea815261052560208201526104ca60408201526104746060820152610461608082015261046160a082015261041f60c08201526103a360e082015261037b61010082015261036e61012082015261033a6101408201526103206101608201526101ec610180820152600080815b600d83106141685750505050612f006114a6565b6000815261303960208201526125db604082015261206d6060820152611dc96080820152611d5360a0820152611c4660c08201526117b860e0820152610ddd610100820152610c886101208201526000806001915b600a831061412a57505050506000612f6b6114c6565b614bbe81526109ce6020820152610924604082015261085260608201526106c2608082015261068e60a082015261068160c082015261066660e082015261066061010082015261060b6101208201526105f76101408201526105d661016082015261059561018082015261056d6101a082015261054d6101c08201526105396101e082015261052c6102008201526104f161022082018190526102408201526104ca6102608201526104af61028082015261049c6102a082018190526102c08201526104816102e082015261047b61030082015261046161032082015261044d6103408201526103ca6103608201526103b661038082015261033a6103a08201526103336103c08201526103126103e08201526102b061040082015261029661042082015261025b61044082015261020c61046082015261017c6104808201526101766104a082015281908180805b602683106140e957505050506130ce6114c6565b906130d76114e6565b61108681526106d8602082015261092d604082015261089c606082015261091260808201526108de60a08201526108b060c082015261049e60e08201526102cd610100820152605e610120820152603061014082015282526131376114e6565b6105d181526103b86020820152600060408201526000606082015260006080820152600060a0820152600060c0820152600060e082015260006101008201526030610120820152601561014082015260208301526131936114e6565b6101e5815261010f602082015261016a604082015261018560608201526000608082015261011b60a082015261010e60c0820152607060e082015260436101008201526043610120820152602261014082015260408301526131f36114e6565b61034f81526101ef60208201526102ba60408201526000606082015260006080820152600060a0820152600060c0820152600060e08201526000610100820152603e610120820152601c61014082015260608301526132506114e6565b61041b81526102716020820152600060408201526000606082015260006080820152600060a0820152600060c0820152600060e082015260006101008201526000610120820152603661014082015260808301526132ac6114e6565b61023a8152609d602082015261011a9081604082015260f96060820152600060808201528160a0820152600060c0820152600060e082015260216101008201526042610120820152602761014082015260a08401526133096114e6565b610191815260d36020820152610135604082015261015c606082015261014f6080820152600060a0820152600060c0820152600060e08201526000610100820152601b610120820152602261014082015260c08401526133676114e6565b9061013a8252602082015260df604082015260f9606082015260be6080820152600060a082015260f260c0820152605c60e0820152602e6101008201526000610120820152600061014082015260e08301526133c16114e6565b61063f815260006020820152600060408201526000606082015260006080820152600060a0820152600060c0820152600060e082015260006101008201526000610120820152602161014082015261010083015261341d6114e6565b610233815261018360208201526101ec60408201526000606082015260006080820152600060a0820152600060c0820152600060e082015260006101008201526042610120820152602761014082015261012083015261347b6114e6565b60f881526090602082015260df604082015260c5606082015260b8608082015260f960a082015260c560c0820152605560e08201526000610100820152600061012082015260006101408201526101408301526134d66114e6565b61015c815260d460208201526092604082015260cd60608201526000608082015260c760a082015260c660c0820152600060e08201526049610100820152604961012082015260286101408201526101608301526135326114e6565b6102278152610148602082015260006040820152600060608201526101d16080820152600060a0820152600060c0820152600060e08201526000610100820152602e61012082015260276101408201526101808301526135906114e6565b61031881526102556020820152600060408201526000606082015260006080820152600060a0820152600060c0820152600060e08201526000610100820152600061012082015260006101408201526101a08301526135ed6114e6565b61010781526101026020820152610108604082015260fb60608201526101296080820152600060a0820152600060c0820152600060e08201526000610100820152600f61012082015260096101408201526101c083015261364c6114e6565b6101d381526101156020820152600060408201526101bf606082015260006080820152600060a0820152600060c0820152600060e082015260566101008201526000610120820152603c6101408201526101e08301526136aa6114e6565b6102e081526101986020820152600060408201526000606082015260006080820152600060a0820152600060c0820152600060e08201526063610100820152602f61012082015260226101408201526102008301526137076114e6565b6101208152608c6020820152609f6040820152608c6060820152607e6080820152609160a0820152609860c0820152603c60e08201526015610100820152600061012082015260226101408201526102208301526137636114e6565b6101ed815261013d602082015260006040820152610156606082015260006080820152600060a0820152600060c0820152600060e082015260566101008201526000610120820152601b6101408201526102408301526137c16114e6565b6104af815260006020820152600060408201526000606082015260006080820152600060a0820152600060c0820152600060e082015260006101008201526000610120820152601b61014082015261026083015261381d6114e6565b61049f815260006020820152600060408201526000606082015260006080820152600060a0820152600060c0820152600060e08201526000610100820152600061012082015260106101408201526102808301526138796114e6565b61011581526083602082015260d8604082015260e5606082015260e56080820152600060a0820152600060c0820152606260e08201526000610100820152600061012082015260006101408201526102a08301526138d56114e6565b610122815260a660208201526099604082015260c060608201526000608082015260c760a0820152600060c0820152604960e08201526028610100820152601b61012082015260286101408201526102c08301526139316114e6565b60df8152608c602082015260996040820152606b606082015260cd608082015260cc60a0820152600060c0820152603560e08201526022610100820152600061012082015260226101408201526102e083015261398c6114e6565b6101fa815260f4602082015261018560408201526000606082015260006080820152600060a0820152600060c0820152600060e08201526000610100820152600061012082015260086101408201526103008301526139e96114e6565b60d28152607d60208201526090604082015260e5606082015260a4608082015260a460a0820152600060c0820152603b60e082015260006101008201526000610120820152601a610140820152610320830152613a446114e6565b60a68152606460208201526092604082015260ab606082015260776080820152608460a0820152605660c0820152604960e08201526035610100820152602f6101208201526008610140820152610340830152613a9f6114e6565b610175815260df602082015261013460408201526000606082015260006080820152600060a0820152600060c0820152600060e08201526000610100820152603b6101208201526007610140820152610360830152613afc6114e6565b610381815260006020820152600060408201526000606082015260006080820152600060a0820152600060c0820152600060e0820152600061010082015260216101208201526014610140820152610380830152613b586114e6565b61033a815260006020820152600060408201526000606082015260006080820152600060a0820152600060c0820152600060e08201526000610100820152600061012082015260006101408201526103a0830152613bb46114e6565b605d8152604a60208201526071604082015260856060820152609f6080820152607e60a0820152600060c0820152604360e0820152600e610100820152600061012082015260286101408201526103c0830152613c0f6114e6565b610312815260006020820152600060408201526000606082015260006080820152600060a0820152600060c0820152600060e08201526000610100820152600061012082015260006101408201526103e0830152613c6b6114e6565b605d815260496020820152606360408201526049606082015260706080820152604360a0820152604960c0820152601a60e0820152600d6101008201526021610120820152601a610140820152610400830152613cc66114e6565b6062815260436020820152605d604082015260496060820152606a6080820152604960a0820152604360c0820152603460e0820152600061010082015260006101208201526021610140820152610420830152613d216114e6565b605381526043602082015260436040820152605d606082015260006080820152603c60a0820152605060c0820152601560e082015260146101008201526042610120820152602e610140820152610440830152613d7c6114e6565b60698152602f6020820152604360408201526056606082015260006080820152604960a0820152600060c0820152600060e0820152601561010082015260496101208201526034610140820152610460830152613dd76114e6565b603c815260446020820152604a60408201526036606082015260006080820152600060a0820152600060c0820152600060e0820152600f610100820152604a6101208201526023610140820152610480830152613e326114e6565b602d815260276020820152603b60408201526042606082015260006080820152604260a0820152602e60c0820152600060e082015260076101008201526000610120820152602e6101408201526104a0830152806000915b600b831061409e575050505060601b1791613ea36114f3565b61d52381526107ef60208201526107bb60408201526106b5606082015261067b608082015261054760a082015261053360c082015261038960e0820152600080815b600883106140605750505050600160901b8660201b169061ffff600180600019881801871760ff1c1c91160160a01b8417179160009384975b60058910613f325750505050505050505050565b8886613f94866001808f600690049560021c1c1c0260d41b8a60401b8560101b8d86600160c01b60016000198c18018b17603f1c16916001600761ffff82851c9360801c160601020160801b8a17171717176000526076602052604060002090565b540115613fcb575b50600d600180600381940601988b15613fbb575b010698019795613f1e565b829060078c60901c160106613fb0565b6000858152607760209081526040808320600761ffff60808f811c9190911691909106600190810181881c02909601901b8817600019881886018817603f1c600160c01b1617601087901b178c831b1760028f901c86901c9590951c890260d41b949094176001600160c01b038116909917938490559782526076905295909520909590805460010190556001019438613f9c565b61406d83859c9a9c612cee565b5101908082039061ffff8b60601c160310614092575b60018192019190999799613ee5565b948160701b1794614083565b6140b5836140af879c9e9c87612ccc565b51612cdd565b5101908082039061ffff8c60501c1603106140da575b600181920191909a989a613e8a565b936001820160201b17936140cb565b6140f683859e9c9e612ccc565b5101908b8161ffff8185039260501c16031061411d575b50600181920191909b999b6130ba565b945092508093923861410d565b61413783859c9a9c612cbb565b5101908082039061ffff8b60401c16031061415c575b60018192019190999799612f55565b928160501b179261414d565b61417583859c9a9c612caa565b5101908082039061ffff8b60301c16031061419a575b60018192019190999799612eec565b9850809861418b565b6141b083859b999b612c99565b5101908082039061ffff8a60201c1603106141d5575b60018192019190989698612e65565b985080986141c6565b6141eb83859c9a9c612c88565b5101908082039061ffff8b60101c160310614210575b60018192019190999799612dec565b96508096614201565b61422683859b999b612c69565b5101908082039061ffff8a160310614248575b60018192019190989698612da7565b94508094614239565b6040519061425e826113b8565b816101406000918281528260208201528260408201528260608201528260808201528260a08201528260c08201528260e082015282610100820152826101208201520152565b90610c3c6040516142b4816113b8565b925461ffff8082168552601082901c811660208087019190915282901c8116604080870191909152603083901c82166060808801919091529083901c8216608080880191909152605084901c831660a0808901919091529184901c831660c0880152607084901c831660e088015283901c8216610100870152609083901c82166101208701529190911c16610140840152565b601981101561435a575b60cc0190600090565b614362612c52565b614351565b601981101561437b575b6101530190600090565b614383612c52565b614371565b6001906000198114614398570190565b61299c612a1d565b80156143ae575b6000190190565b6143b6612a1d565b6143a7565b8054156143d1575b600052602060002090600090565b6143d9612c52565b6143c3565b60cb548110156143fa575b60cb60005260206000200190600090565b614402612c52565b6143e9565b60e554811015614423575b60e560005260206000200190600090565b61442b612c52565b614412565b60575481101561444c575b605760005260206000200190600090565b614454612c52565b61443b565b605954811015614475575b605960005260206000200190600090565b61447d612c52565b614464565b60585481101561449e575b605860005260206000200190600090565b6144a6612c52565b61448d565b605a548110156144c7575b605a60005260206000200190600090565b6144cf612c52565b6144b6565b605b548110156144f0575b605b60005260206000200190600090565b6144f8612c52565b6144df565b605c54811015614519575b605c60005260206000200190600090565b614521612c52565b614508565b605d54811015614542575b605d60005260206000200190600090565b61454a612c52565b614531565b601a5481101561456b575b601a60005260206000200190600090565b614573612c52565b61455a565b8054821015614591575b60005260206000200190600090565b614599612c52565b614582565b600019810191908211612a4257565b602a0390602a8211612a4257565b61035f19810191908211612a4257565b91908203918211612a4257565b600b8110156145ec575b6101480190600090565b6145f4612c52565b6145e2565b600d81101561460d575b61013b0190600090565b614615612c52565b614603565b605581101561462d575b60e60190600090565b614635612c52565b614624565b614642614251565b5061465461464f82612502565b6142a4565b9061ffff80614665845161ffff1690565b16614f00576101408301918161467d845161ffff1690565b1692604a841115614cfc576000919293506146988560019052565b525b60408301600a836146ad835161ffff1690565b1611614cf0575b606084019260059283826146ca875161ffff1690565b1611614ce3575b816146de845161ffff1690565b1660098111614a65575b505060e08501926003826146fe865161ffff1690565b1614614a2e575b600860c0870194601f8461471b885161ffff1690565b1614614a1e575b8361472f875161ffff1690565b1690600682146149f1575b601582146149ad575b600d8214614973575b5014614922575b608086019382614765865161ffff1690565b1660018111614779575b5050505050505090565b600881036147f1575082614791601c925161ffff1690565b16036147ac5750505060009150525b3880808080808061476f565b909192506147bf610745855161ffff1690565b1491826147de575b50506147d4575b506147a0565b60019052386147ce565b51600b925061ffff1616141538806147c7565b91945091929150600c81036148c0575051811661ffff1660091981016148235750505061481e9060029052565b6147a0565b600b81036148565750825161ffff1616906004821415918261484b5750506147d457506147a0565b1415905038806147c7565b915050600c810361486b5750600390526147a0565b600d0361488e576003614883610745835161ffff1690565b036147d457506147a0565b61489d610745825161ffff1690565b600681141590816148b4575b506147d457506147a0565b600991501415386148a9565b91925090600a0361490f575161ffff1616600a81036148e35750600290526147a0565b600b81036148f55750600590526147a0565b600b101561490657600390526147a0565b600190526147a0565b50506000905260006101008201526147a0565b60808601805161ffff16836001808316149182614965575b8215614958575b505061494e575b50614753565b6000905238614948565b6008925016148338614941565b81811660011415925061493a565b600060808a0152805161ffff1685600180831614918261499f575b50501561474c57600090523861474c565b60039250161415853861498e565b608089016002866149c0835161ffff1690565b16036149e7575b5060066149d9610745835161ffff1690565b146147435760008152614743565b60009052386149c7565b60008152608089018386614a07835161ffff1690565b1614614a14575b5061473a565b6000905238614a0e565b6008815260006080890152614722565b600183526000608087015260c08601601a83614a4c835161ffff1690565b161015614a5c5760009052614705565b60059052614705565b60006101208801819052610100880152600c03614b17575080614a8a855161ffff1690565b16600281148015614b0d575b15614aa85750600184525b38806146e8565b600781148015614b03575b15614ac35750600284525b614aa1565b808403614ad4575060048452614aa1565b60088114908115614af8575b5015614aef5760058452614aa1565b60038452614aa1565b600991501138614ae0565b5060068114614ab3565b5060098114614a96565b600160a087015261079b614b59614b30875161ffff1690565b604080516020810195865260f09290921b6001600160f01b031916908201529182906042820190565b519020858280614b6b865161ffff1690565b16600a8103614c085750600183614bf7614bec610745614bce6055614bc4614be1614c009a6080614bd8610745614abe9f600b6107459f8f9283614bce9460401b03998a926003848416061660e08a019061ffff169052565b60401c16066145f9565b90549060031b1c90565b61ffff16910152565b8660801c160661461a565b61ffff1660c08c0152565b60c01c16612a34565b61ffff168552565b600b14159150614c59905057614c4e610745614bce600b614abe94614c45614c3d610745600660018060401b03851606612a34565b61ffff168b52565b60401c066145d8565b61ffff166080870152565b506001602086015280614c6e855161ffff1690565b1683811180614cd9575b15614c87575060018452614aa1565b600381148015614ccf575b15614ca1575060028452614aa1565b838114908115614cc4575b5015614cbb5760038452614aa1565b60048452614aa1565b600191501438614cac565b5060088111614c92565b5060098110614c78565b60016101008701526146d1565b600060e08501526146b4565b50600380840483169306821680614da757505050614d9c6107456103da9260008060208701528060608701528060808701528060c08701528060e087015280610100870152610120860152614d8c614d91610745614d74614d6e614d68614d628761459e565b60031690565b9561459e565b60021c90565b93614d8c614d8461074583612a74565b61ffff168a52565b612a34565b61ffff166040870152565b61ffff1660a0830152565b918260018295939414600014614e995750610745614bce614e4292614e4d94614dd360408a01600c9052565b886005820691600581049260028110614e67575b6107456006614e3d93614e37614e1b85614e31999a614c3d9715614e52575b811661ffff1660a08a01526143a0565b6143a0565b9660c0614bd8610745614bce8d614e318d6143de565b50614578565b06612a34565b614407565b61ffff166080850152565b61469a565b90614e5f614e1691614388565b919050614e06565b6107456006614e3d93614e37614e1b85614e8a614c3d97614e319b60011b612a82565b99509550505093505050614de7565b6002915014614ea9575b5061469a565b614e42610745614bce6019614efa94614ec560408a01600d9052565b614ed7614d8461074560068406612a34565b06614ef5614eea610745614bce84614347565b61ffff1660c08a0152565b614367565b38614ea3565b90600061014084015261469a565b6020906001600160401b038111614f265760051b0190565b612c836113a1565b60405190616d8082016001600160401b03811183821017614f5d575b60405261036b8252616d60366020840137565b614f656113a1565b614f4a565b60405190614f77826113fc565b8160005b60e08110614f87575050565b606082820152602001614f7b565b61ffff9081166000190191908211612a4257565b61ffff9081166006190191908211612a4257565b9060405191828154918282526020928383019160005283600020936000905b828210614ff257505050610c3c92500383611417565b855484526001958601958895509381019390910190614fdc565b6006906004811015615023575b02605e0190600090565b61502b612c52565b615019565b6006821015615041575b0190600090565b615049612c52565b61503a565b90600161ffff80931601918211612a4257565b60405190608082016001600160401b03811183821017615097575b60405260006060838281528260208201528260408201520152565b61509f6113a1565b61507c565b604051906150b1826113fc565b8160005b60e081106150c1575050565b6020906150cc615061565b81840152016150b5565b60408051916150e4836113fc565b829160005b60e08082101561510f57825160209291615102826113fc565b36823781870152016150e9565b505050909150565b600790600881101561512e575b02601f0190600090565b615136612c52565b615124565b6040519060506000835b6007821061515957505050610c3c826113fc565b6001602081928554815201930191019091615145565b60405191906000835b6007821061518c57505050610c3c826113fc565b6001602081928554815201930191019091615178565b906025949392916d3c7265637420636c6173733d276360901b81526151d1825180936020600e85019101610381565b01642720783d2760d81b600e8201526151f4825180936020601385019101610381565b01642720793d2760d81b6013820152615217825180936020601885019101610381565b016c13903bb4b23a341e939893979f60991b60188201526152418251809360208685019101610381565b010190565b602091815181101561525b575b60051b010190565b615263612c52565b615253565b92936103da96946021969261532a9461529b82518861528d8260209b8c809801610381565b019182815194859201610381565b016d3c7265637420636c6173733d276360901b81526152c38251809388600e85019101610381565b01642720783d2760d81b600e8201526152e58251809387601385019101610381565b01642720793d2760d81b60138201526153078251809386601885019101610381565b019168272077696474683d2760b81b601884015283519384918685019101610381565b01016003906213979f60e91b81520190565b90610a20821015615356575b601f8260051c607801921690565b61535e612c52565b615348565b90602882101561537c575b601f8260051c60c901921690565b615384612c52565b61536e565b60209080511561539c575b015160fa1c90565b6153a4612c52565b615394565b9060f06153bc603f938360041c90615246565b519160041b1660fa0360fa81116153d2571c1690565b6153da612a1d565b1c1690565b60206103ff918051156153f6575b015160f01c1690565b6153fe612c52565b6153ed565b9060f06154176103ff938360041c90615246565b519160041b1660f00360f081116153d2571c1690565b6010811015615440575b600b0190600090565b615448612c52565b615437565b60408051919082016001600160401b0381118382101761547b575b60405260018252600b60fa1b6020830152565b6154836113a1565b615468565b90610c3c60226040518094605b60f81b60208301526154b1815180926020602186019101610381565b8101605d60f81b6021820152036002810185520183611417565b6154d49061463a565b606090600090825b6008808410156157a057831590600090819081841561560a575050615506610745865161ffff1690565b80156155fd576155a7611c969461553e615539614bce6155b5978761079b9760019c99156155ec575b50614e319061542d565b615e65565b90898b91156155be575b611c9691611c96615575615564615539614bce6155909661454f565b926040519b8c9a60208c0190612989565b6e3d913a3930b4ba2fba3cb832911d1160891b8152600f0190565b6a1116113b30b63ab2911d1160a91b8152600b0190565b61227d60f01b815260020190565b925b01916154dc565b611c96915061559090611c96615575615564615539614bce6155de61544d565b975050505050509050615548565b6000190191508d9050614e3161552f565b50505050916001906155b7565b6001880361562b575050615626610745602087015161ffff1690565b615506565b600288036156745750615646610745604088015161ffff1690565b90600661ffff615658895161ffff1690565b1611615665575b50615506565b6000198201935091503861565f565b9050600387036156b157506156906107458887015161ffff1690565b61ffff6156a2604088015161ffff1690565b16600981116156655750615506565b600487036156cc5750615626610745608087015161ffff1690565b6005870361576a5750906156e861074560a087015161ffff1690565b9161ffff806156fd61014089015161ffff1690565b1615158061574f575b1561571b575050506009600019820191615506565b60408701519293919261ffff169060098183161161573b575b5050615506565b600919909101169250600e91503880615734565b50600d8161576260408a015161ffff1690565b161415615706565b60068703615785575061562661074560c087015161ffff1690565b60078703615626575061562661074560e087015161ffff1690565b509150506103da9150615488565b6001810180821161582e575b905b8181106157c7575050565b6000818152602090601c8252604080912054158015615823575b156157f65750506157f190614388565b6157bc565b60649250519062461bcd60e51b8252600482015260076024820152664e657374696e6760c81b6044820152fd5b50601d5415156157e1565b615836612a1d565b6157ba565b90810180821161588d575b905b818110615853575050565b6000818152602090601c8252604080912054158015615882575b156157f657505061587d90614388565b615848565b50601d54151561586d565b615895612a1d565b615846565b9190811015612c7b5760051b0190565b903590601e198136030182121561000e57018035906001600160401b03821161000e57602001918160051b3603831361000e57565b8181106158ea575050565b600081556001016158df565b90600160401b811161592b575b81549080835581811061591557505050565b610c3c92600052602060002091820191016158df565b6159336113a1565b615903565b818110615943575050565b80600191546000908183558061595c575b505001615938565b6020828461596f945220908101906158df565b3880615954565b9190600160401b8211615a3b575b8254828455808310615a1d575b50600092835260208084208492805b8585106159b05750505050505050565b6159ba81836158aa565b906001600160401b038211615a10575b908592916159d882876158f6565b858a52838a208a5b8381106159fc57505050506001918291019301940193916159a0565b8235818301558895909201916001016159e0565b615a186113a1565b6159ca565b615a3590846000528360206000209182019101615938565b38615991565b615a436113a1565b615984565b600160401b8311615af5575b8054838255808410615aa8575b5090809160005260209081600020906000935b858510615a8357505050505050565b60018482615a9c615a958495876158aa565b9088615976565b01930194019391615a74565b600082815260208581832093840193015b838110615ac857505050615a61565b806001915484825580615add575b5001615ab9565b818552838520615aef91810190615938565b38615ad6565b615afd6113a1565b615a54565b615b0a612427565b60ff600a541661000e57615bb492615b9a615b7a83615b6a615b2f82615baf976158aa565b90605954600160401b811015615bd3575b6001810180605955811015615bc6575b6059600052600080516020615f9e83398151915201615976565b615b80615b7a60208301836158aa565b90615be0565b615b90615b7a60408301836158aa565b60608101906158aa565b615ba2615c1e565b615baa615c7c565b615cc8565b615d92565b610c3c600160ff19600a541617600a55565b615bce612c52565b615b50565b615bdb6113a1565b615b40565b605954610c3c929190600160401b811015615bd3576001810180605955811015615bc6576059600052600080516020615f9e83398151915201615976565b60449060005b60518110615c3157509050565b600092835b602080861015615c6c57823560ff92838216820361000e576001938860031b90811b9283911b1691191617920194019390615c36565b5060788301559250600101615c24565b601f600080620144445b60088210615c945750505050565b80835b60078110615cb4575050600760e060019201940191019092615c86565b600190602083359301928188015501615c97565b600b906000815b60108210615cdd5750505050565b615ce781846158aa565b91906001600160401b038311615d85575b600160401b8311615d78575b8554838755808410615d4f575b5091856000526020928360002060005b838110615d3d5750505050600191829101940191019092615ccf565b82358282015591850191600101615d21565b8660005283602060002091820191015b818110615d6c5750615d11565b60008155600101615d5f565b615d806113a1565b615d04565b615d8d6113a1565b615cf8565b605e6000825b60048210615da65750505050565b803560be198536030181121561000e578401600084825b60068310615ddc57505050506006602060019201930191019091615d98565b615de681856158aa565b91906001600160401b038311615e3e575b615e0183856158f6565b91836000526020928360002060005b838110615e2c5750505050600191829101920192019190615dbd565b82358282015591850191600101615e10565b615e466113a1565b615df7565b906020918051821015615e5d57010190565b615241612c52565b9060005b602081108015615ef6575b83821a60f81b6001600160f81b03191615159081615eee575b5015615ea157615e9c90614388565b615e69565b615eaa90612aff565b60005b8151811015615ee957806020615ed7921015615edc575b84811a615ed18285615e4b565b53614388565b615ead565b615ee4612c52565b615ec4565b509150565b905038615e8d565b615efe612c52565b615e74565b615f0b615061565b506000526004602052604060002054615f22615061565b6001600160a01b038216815260a082901c6001600160401b03166020820152600160e01b82161515604082015260e89190911c60608201529056fe8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efd73956b9e00d8f8bc5e44f7184df1387cdd652e7726b8ccda3db4859e02f31bfa2646970667358221220dbd19d853ee13358d281ef52bfaba682ca98733beda576753efea074cc87c0ed64736f6c63430008110033
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.