ERC-721
Overview
Max Total Supply
850 PythagoreanWeapons
Holders
357
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
4 PythagoreanWeaponsLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
PythagoreanWeapons
Compiler Version
v0.8.6+commit.11564f7e
Optimization Enabled:
Yes with 1 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.6; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/utils/ERC721Holder.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/math/Math.sol"; interface IN is IERC721 { function getFirst(uint256 tokenId) external view returns (uint256); function getSecond(uint256 tokenId) external view returns (uint256); function getThird(uint256 tokenId) external view returns (uint256); function getFourth(uint256 tokenId) external view returns (uint256); function getFifth(uint256 tokenId) external view returns (uint256); function getSixth(uint256 tokenId) external view returns (uint256); function getSeventh(uint256 tokenId) external view returns (uint256); function getEight(uint256 tokenId) external view returns (uint256); } interface IPunk { function balanceOf(address wallet) external view returns (uint256); } interface IERC721Farm { function depositsOf(address account) external view returns (uint256[] memory); } /* https://twitter.com/_n_collective Pythagoras said that The Universal Creator had formed two things in His own image: the first was the cosmic system with its myriads of suns, moons, and planets; the second was Man, in whose nature the entire universe existed in miniature. ... that Man will resurrect once the clock embraces the cold. Caution! To witness him resurrect, a Weapon must be given in due sacrifice once the cold arrives. Men lured by desire, trust is no option. Trust must be minimized for the alternate reality to arrive — the metaverse. The Weapons are of great significance, for that a mission of this scale does not come without opposition. The Collective must be determined to protect the idea of a trustless alternate existence over generations to come, silently. The faceless. We became self-aware only to realize that this story is not about us. The Collective understands this story is not about us. The Collective always prevails. Let us cheer the Collective contributors — below with their Discord names — holding up high our values, our beliefs, with rigorous loyalty; engrave them on what is the fundament of the trustless reality to come — the Ethereum blockchain. These are snippets from the Collective Discord, #philosophy channel (https://discord.gg/pfhtnhPsPB): browntaneer on the origin story of the Collective: "Before the Collective, there was One. One made no friends, held no lovers, had no names. All too aware of the limitations imposed by one's mortality, One worked to change all that they could. But a life fought hard, and lived well can only take one so far. A lifetime could be spent in making a castle but, if sculpted with sand, the waves of time will wash it all away. How does One endure when a single lifetime isn't enough. Who could One trust? How can One shed the baggage of one’s name and birth? How can we hide what we were given, so that we may show what we choose to be?" Kummatti: "our Masks hide who we are expected to be. and reveal who we truly are. the Collective." Redrobot: "We wear the mask that grins and lies, It hides our cheeks and shades our eyes,— This debt we pay to human guile; With torn and bleeding hearts we smile, And mouth with myriad subtleties. Why should the world be over-wise, In counting all our tears and sighs? Nay, let them only see us, while We wear the Mask. We smile, but, O great Christ, our cries To thee from tortured souls arise. We sing, but oh the clay is vile Beneath our feet, and long the mile; But let the world dream otherwise, We wear the Mask!" Kummatti: "some say the Mask is to hide the truth. but what do they know? truth can’t be hidden. truth can’t be veiled. truth can’t be masked. truth is. the Mask is." truth can’t be hidden. they’re just unwilling to see the Collective. Nietzsche: "In a crowd, faces disappear" Kummatti: "Don't aspire to be what others want you to be Aspire to be all that you can be The rest will follow" This is the Collective. Welcome. */ contract PythagoreanWeapons is ERC721, Ownable, ReentrancyGuard, ERC721Holder { IN public constant n = IN(0x05a46f1E545526FB803FF974C790aCeA34D1f2D6); IPunk public constant punk = IPunk(0xb47e3cd837dDF8e4c57F05d70Ab865de6e193BBB); IERC721 public constant bayc = IERC721(0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D); IERC721 public constant mask = IERC721(0x6327f6305331f7E0CCFcaC2bCA4a4a8B87afDa32); IERC721Farm public constant treasure = IERC721Farm(0x08543f4c79f7e5d585A2622cA485e8201eFd9aDA); string[29] public ADJECTIVES = ["Glowing", "Savage", "Forgotten", "Flaming", "Stormy", "Fierce", "Corrupted", "Blazing", "Bleeding", "Dark", "Ancient", "Divine", "Cursed", "Chaotic", "Titanic", "Mortal", "Blessed", "Vicious", "Numeric", "Devil", "Demonic", "Holy", "Mighty", "Cold", "Sinister", "Lunar", "Hardened", "Reaping", "Ravenous"]; string[29] public NOUNS = ["Wind", "Night", "Moon", "Iron", "Dawn", "Sky", "Soul", "Breath", "Scream", "Oath", "Edge", "Winter", "Silver", "Ice", "Justice", "Fate", "Star", "Strike", "Pride", "Rage", "Sacrifice", "Shadow", "Victory", "War", "Truth", "Moonlight", "Thunder", "Steel", "Torrent"]; string[29] public PLACES = ["Ellora", "Xi'an", "Alexandria", "Pythagore", "Teotihuacan", "Nineveh", "Angkor Wat", "Varanasi", "Carthage", "Ephesus", "Cusco", "Crotone", "Samos", "Luna", "Moghul", "Shartadar", "Muramar", "Stonefort", "Ambar City", "Fulghot", "Ramberseit", "Thambert", "Annon Tul", "Gondol", "Novastarius", "Centhuron", "Numbers Citadel", "Kartaros", "Silverthrone"]; string[9] public PARTS = ["Body", "Blood Mark", "Button", "Handle", "Quillon", "Pommel", "Ornament", "Pythagor's Mark", "Tilt"]; // 0-4 Swords, 5-9 Axe string[15] public WEAPONS = ["Sword", "Greatsword", "Broadsword", "Longsword", "Shortsword", "Hunteraxe", "Axe", "Blackaxe", "Greataxe", "Vikingaxe", "Hammer", "Warhammer", "Broadhammer", "Club", "Mace"]; string public WEAPON_DESCRIPTION = "The Pythagorean school of thought teaches us that numbers are the basis of the entire universe, the base layer of perceived reality. The rest is but a mere expression of those. Numbers are all around us, have always been, will always be. Welcome to the Collective."; uint256 public constant RESERVED_N_TOKENS_TO_MINT = 700; uint256 public constant RESERVED_BAYC_TOKENS_TO_MINT = 444; uint256 public constant RESERVED_PUNK_TOKENS_TO_MINT = 177; uint256 public constant RESERVED_MASK_TOKENS_TO_MINT = 1500; uint256 public constant RESERVED_ECOSYSTEM_TEAM_TOKENS_TO_MINT = 879; uint256 public constant MAX_SUPPLY = 8888; uint256 public constant MINT_FEE = 0.08 ether; uint256 public constant MINTABLE_TOKENS_PER_PUNK_TOKEN = 5; uint256 public constant MINTABLE_TOKENS_PER_BAYC_TOKEN = 2; uint256 public constant MAX_MINTS_PER_N_HOLDER = 3; uint256 public constant MAX_MINTS_PER_MASK_HOLDER = 2; uint256 public constant MAX_MINTS_PER_HOLDER = 20; uint256 public constant N_BASE_TOKEN_ID = 7302015; mapping(uint256 => bool) public nTokensMinted; mapping(uint256 => bool) public maskTokensMinted; mapping(address => uint256) public punkHoldersMintedByAddress; mapping(address => uint256) public baycHoldersMintedByAddress; mapping(address => uint256) public maskHoldersMintedByAddress; mapping(address => uint256) public nHoldersMintedByAddress; mapping(address => uint256) public openToAllHoldersMintedByAddress; uint256 public totalNHoldersMinted; uint256 public totalMaskHoldersMinted; uint256 public totalBAYCHoldersMinted; uint256 public totalPunkHoldersMinted; uint256 public totalEcosystemAndTeamMinted; uint256 public totalSupply; uint256 public totalTeamMinted; bool private _overrideTradingPreventionInMintingPeriod; bool private _finishInitialization; address public resurrectionContract; uint256 public endMintingPeriodDateAndTime; uint256 public endReservedSpotsMintingPeriodDateAndTime; uint256 public nextVestingPeriodDataAndTime; string[15] public firstAssets; string[15] public secondAssets; string[15] public thirdAssets; string[15] public fourthAssets; string[15] public fifthAssets; string[15] public sixthAssets; string[15] public seventhAssets; string public svgStyle; string public secondOrnament; string public topOrnament; string public bottomOrnament; // -------- MODIFIERS (CONVERTED TO FUNCTIONS TO REDUCE CONTRACT SIZE) -------- function _onlyWhenInit() internal view { require(!_finishInitialization, "Wut?"); } function _onlyWhenFinishInit() internal view { require(_finishInitialization, "Can't call this yet"); } function _amountBiggerThanZero(uint256 amountToMint) internal pure { require(amountToMint > 0, "Amount need ot be bigger than 0"); } function _sameAmountAndTokenLength(uint256 amountToMint, uint256[] memory tokenIds) internal pure { require(amountToMint == tokenIds.length, "Lengths mismatch"); } function _includesMintFee(uint256 amountToMint) internal view { require(msg.value >= MINT_FEE * amountToMint, "Mint cost 0.08 eth per token"); } function _includesMintFeeWith50PercentageDiscount(uint256 amountToMint) internal view { require(msg.value >= (MINT_FEE / 2) * amountToMint, "Mint cost 0.04 eth per token"); } function _onlyInMintingPeriod() internal view { require(isInMintingPeriod(), "Not in minting period"); } function _onlyInReservedMintingPeriod() internal view { require(isInReservedMintingPeriod(), "Reserved minting period is over"); } function _canSacrifice() internal view { require(resurrectionContract == msg.sender, "You can't do that"); } constructor(uint256 _endMintingPeriodDateAndTime, uint256 _endReservedSpotsMintingPeriodDateAndTime) ERC721("Pythagorean Weapons", "PythagoreanWeapons") { endMintingPeriodDateAndTime = _endMintingPeriodDateAndTime; endReservedSpotsMintingPeriodDateAndTime = _endReservedSpotsMintingPeriodDateAndTime; nextVestingPeriodDataAndTime = block.timestamp + (30 * 24 * 60 * 60); } function setFirstAssets(string[] memory first, uint256 start) public onlyOwner { _onlyWhenInit(); for (uint256 i; i < first.length; i++) { firstAssets[i + start] = first[i]; } } function setSecondAssets(string[] memory second, uint256 start) public onlyOwner { _onlyWhenInit(); for (uint256 i; i < second.length; i++) { secondAssets[i + start] = second[i]; } } function setThirdAssets(string[15] memory third) public onlyOwner { _onlyWhenInit(); thirdAssets = third; } function setFourthAssets(string[15] memory fourth) public onlyOwner { _onlyWhenInit(); fourthAssets = fourth; } function setFifthAssets(string[] memory fifth, uint256 start) public onlyOwner { _onlyWhenInit(); for (uint256 i; i < fifth.length; i++) { fifthAssets[i + start] = fifth[i]; } } function setSixthAssets(string[] memory sixth, uint256 start) public onlyOwner { _onlyWhenInit(); for (uint256 i; i < sixth.length; i++) { sixthAssets[i + start] = sixth[i]; } } function setSeventhAssets(string[15] memory seventh) public onlyOwner { _onlyWhenInit(); seventhAssets = seventh; } function setSVGItems( string memory _svgStyle, string memory _secondOrnament, string memory _topOrnament, string memory _bottomOrnament ) public onlyOwner { _onlyWhenInit(); svgStyle = _svgStyle; secondOrnament = _secondOrnament; topOrnament = _topOrnament; bottomOrnament = _bottomOrnament; } function finishInitialization(address newOwner) public onlyOwner { _onlyWhenInit(); _finishInitialization = true; if (newOwner != owner()) { transferOwnership(newOwner); } } function claimVestedTeamTokens(uint256[] memory tokenIds) public onlyOwner { _onlyWhenFinishInit(); require(block.timestamp > nextVestingPeriodDataAndTime, "Can't claim yet"); // Vesting period every 1 month nextVestingPeriodDataAndTime = nextVestingPeriodDataAndTime + (30 * 24 * 60 * 60); for (uint256 i; i < tokenIds.length && i < 88; i++) { _safeTransfer(address(this), owner(), tokenIds[i], ""); } } function mintTokenReservedForN(uint256 amountToMint, uint256[] memory tokenIds) public payable nonReentrant { _onlyWhenFinishInit(); _amountBiggerThanZero(amountToMint); _sameAmountAndTokenLength(amountToMint, tokenIds); _includesMintFeeWith50PercentageDiscount(amountToMint); _onlyInReservedMintingPeriod(); require(RESERVED_N_TOKENS_TO_MINT > totalNHoldersMinted, "Can't mint anymore"); require(MAX_MINTS_PER_N_HOLDER > nHoldersMintedByAddress[msg.sender], "Insufficient balance"); uint256[] memory treasureDepositedTokens = treasure.depositsOf(msg.sender); uint256 i; for (; i < tokenIds.length && MAX_MINTS_PER_N_HOLDER > nHoldersMintedByAddress[msg.sender] && RESERVED_N_TOKENS_TO_MINT > totalNHoldersMinted; i++) { uint256 tokenId = tokenIds[i]; require(!nTokensMinted[tokenId], "Token was already been used"); require(_isNHolder(tokenId, treasureDepositedTokens), "Not the token owner"); totalNHoldersMinted++; nTokensMinted[tokenId] = true; nHoldersMintedByAddress[msg.sender]++; _mintNextToken(msg.sender); } uint256 mintingFee = i * (MINT_FEE / 2); Address.sendValue(payable(owner()), mintingFee); if (msg.value - mintingFee > 0) { Address.sendValue(payable(msg.sender), msg.value - mintingFee); } } function mintTokenReservedForMask(uint256 amountToMint, uint256[] memory tokenIds) public nonReentrant { _onlyWhenFinishInit(); _amountBiggerThanZero(amountToMint); _sameAmountAndTokenLength(amountToMint, tokenIds); _onlyInReservedMintingPeriod(); require(RESERVED_MASK_TOKENS_TO_MINT > totalMaskHoldersMinted, "Can't mint anymore"); require(MAX_MINTS_PER_MASK_HOLDER > maskHoldersMintedByAddress[msg.sender], "Insufficient balance"); for ( uint256 i; i < tokenIds.length && MAX_MINTS_PER_MASK_HOLDER > maskHoldersMintedByAddress[msg.sender] && RESERVED_MASK_TOKENS_TO_MINT > totalMaskHoldersMinted; i++ ) { uint256 tokenId = tokenIds[i]; require(!maskTokensMinted[tokenId], "Token was already been used"); require(mask.ownerOf(tokenId) == msg.sender, "Not the token owner"); totalMaskHoldersMinted++; maskTokensMinted[tokenId] = true; maskHoldersMintedByAddress[msg.sender]++; _mintNextToken(msg.sender); } } function mintTokenReservedForPunkHolders(uint256 amountToMint) public payable nonReentrant { _onlyWhenFinishInit(); _amountBiggerThanZero(amountToMint); _includesMintFee(amountToMint); _onlyInReservedMintingPeriod(); require(RESERVED_PUNK_TOKENS_TO_MINT > totalPunkHoldersMinted, "Can't mint anymore"); uint256 balance = punk.balanceOf(msg.sender) * MINTABLE_TOKENS_PER_PUNK_TOKEN; require(balance > punkHoldersMintedByAddress[msg.sender], "Insufficient balance"); uint256 i; // Since i can be lower than amountToMint after loop ends for ( ; i < amountToMint && RESERVED_PUNK_TOKENS_TO_MINT > totalPunkHoldersMinted && balance > punkHoldersMintedByAddress[msg.sender]; i++ ) { totalPunkHoldersMinted++; punkHoldersMintedByAddress[msg.sender]++; _mintNextToken(msg.sender); } uint256 mintingFee = i * MINT_FEE; Address.sendValue(payable(owner()), mintingFee); if (msg.value - mintingFee > 0) { Address.sendValue(payable(msg.sender), msg.value - mintingFee); } } function mintTokenReservedForBAYCHolders(uint256 amountToMint) public payable nonReentrant { _onlyWhenFinishInit(); _amountBiggerThanZero(amountToMint); _includesMintFee(amountToMint); _onlyInReservedMintingPeriod(); require(RESERVED_BAYC_TOKENS_TO_MINT > totalBAYCHoldersMinted, "Can't mint anymore"); uint256 balance = bayc.balanceOf(msg.sender) * MINTABLE_TOKENS_PER_BAYC_TOKEN; require(balance > baycHoldersMintedByAddress[msg.sender], "Insufficient balance"); // Since i can be lower than amountToMint after loop ends uint256 i; for ( ; i < amountToMint && RESERVED_BAYC_TOKENS_TO_MINT > totalBAYCHoldersMinted && balance > baycHoldersMintedByAddress[msg.sender]; i++ ) { totalBAYCHoldersMinted++; baycHoldersMintedByAddress[msg.sender]++; _mintNextToken(msg.sender); } uint256 mintingFee = i * MINT_FEE; Address.sendValue(payable(owner()), mintingFee); if (msg.value - mintingFee > 0) { Address.sendValue(payable(msg.sender), msg.value - mintingFee); } } function mintToken(uint256 amountToMint) public payable nonReentrant { _onlyWhenFinishInit(); _amountBiggerThanZero(amountToMint); _includesMintFee(amountToMint); _onlyInMintingPeriod(); require( MAX_SUPPLY - RESERVED_ECOSYSTEM_TEAM_TOKENS_TO_MINT > totalSupply - totalEcosystemAndTeamMinted, "Can't mint anymore" ); require(MAX_MINTS_PER_HOLDER > openToAllHoldersMintedByAddress[msg.sender], "Insufficient balance"); // Since i can be lower than amountToMint after loop ends uint256 i; for ( ; i < amountToMint && MAX_SUPPLY - RESERVED_ECOSYSTEM_TEAM_TOKENS_TO_MINT > totalSupply - totalEcosystemAndTeamMinted && MAX_MINTS_PER_HOLDER > openToAllHoldersMintedByAddress[msg.sender]; i++ ) { openToAllHoldersMintedByAddress[msg.sender]++; _mintNextToken(msg.sender); } uint256 mintingFee = i * MINT_FEE; Address.sendValue(payable(owner()), mintingFee); if (msg.value - mintingFee > 0) { Address.sendValue(payable(msg.sender), msg.value - mintingFee); } } function mintTokenReservedForEcosystemAndTeam(uint256 amountToMint) public nonReentrant onlyOwner { _onlyWhenFinishInit(); _amountBiggerThanZero(amountToMint); _onlyInMintingPeriod(); require(RESERVED_ECOSYSTEM_TEAM_TOKENS_TO_MINT > totalTeamMinted, "Can't mint anymore"); for (uint256 i; i < amountToMint && RESERVED_ECOSYSTEM_TEAM_TOKENS_TO_MINT > totalTeamMinted; i++) { totalTeamMinted++; // Only 10% now, rest go to contract for vesting _mintNextToken(totalTeamMinted > 87 ? address(this) : msg.sender); } } function isInMintingPeriod() public view returns (bool) { return endMintingPeriodDateAndTime > block.timestamp && MAX_SUPPLY > totalSupply && !isInReservedMintingPeriod(); } function isInReservedMintingPeriod() public view returns (bool) { return endReservedSpotsMintingPeriodDateAndTime > block.timestamp && (RESERVED_N_TOKENS_TO_MINT > totalNHoldersMinted || RESERVED_BAYC_TOKENS_TO_MINT > totalBAYCHoldersMinted || RESERVED_PUNK_TOKENS_TO_MINT > totalPunkHoldersMinted || RESERVED_MASK_TOKENS_TO_MINT > totalMaskHoldersMinted); } function getFirst(uint256 tokenId) public view returns (uint256) { return n.getFirst(tokenId + N_BASE_TOKEN_ID); } function getSecond(uint256 tokenId) public view returns (uint256) { return n.getSecond(tokenId + N_BASE_TOKEN_ID); } function getThird(uint256 tokenId) public view returns (uint256) { return n.getThird(tokenId + N_BASE_TOKEN_ID); } function getFourth(uint256 tokenId) public view returns (uint256) { return n.getFourth(tokenId + N_BASE_TOKEN_ID); } function getFifth(uint256 tokenId) public view returns (uint256) { return n.getFifth(tokenId + N_BASE_TOKEN_ID); } function getSixth(uint256 tokenId) public view returns (uint256) { return n.getSixth(tokenId + N_BASE_TOKEN_ID); } function getSeventh(uint256 tokenId) public view returns (uint256) { return n.getSeventh(tokenId + N_BASE_TOKEN_ID); } function getEight(uint256 tokenId) public view returns (uint256) { return n.getEight(tokenId + N_BASE_TOKEN_ID); } function setOverrideTradingPreventionInMintingPeriod(bool overrideTradingPreventionInMintingPeriod) external onlyOwner { _overrideTradingPreventionInMintingPeriod = overrideTradingPreventionInMintingPeriod; } function setResurrectionContract(address _resurrectionContract) external onlyOwner { resurrectionContract = _resurrectionContract; } function sacrifice(uint256 tokenId) external { _canSacrifice(); _burn(tokenId); } function spotsForAll() external view returns (uint256) { uint256 balance = MAX_SUPPLY - RESERVED_ECOSYSTEM_TEAM_TOKENS_TO_MINT; if (balance > totalSupply - totalTeamMinted) { return balance - (totalSupply - totalTeamMinted); } else { return 0; } } function spotsForMask() external view returns (uint256) { uint256 balance = mask.balanceOf(msg.sender); if (balance > maskHoldersMintedByAddress[msg.sender]) { return Math.min(balance, MAX_MINTS_PER_MASK_HOLDER) - maskHoldersMintedByAddress[msg.sender]; } else { return 0; } } function spotsForN() external view returns (uint256) { uint256 balance = n.balanceOf(msg.sender) + treasure.depositsOf(msg.sender).length; if (balance > nHoldersMintedByAddress[msg.sender]) { return Math.min(balance, MAX_MINTS_PER_N_HOLDER) - nHoldersMintedByAddress[msg.sender]; } else { return 0; } } function spotsForBAYC() external view returns (uint256) { uint256 balance = bayc.balanceOf(msg.sender) * MINTABLE_TOKENS_PER_BAYC_TOKEN; if (balance > baycHoldersMintedByAddress[msg.sender]) { return balance - baycHoldersMintedByAddress[msg.sender]; } return 0; } function spotsForPunk() external view returns (uint256) { uint256 balance = punk.balanceOf(msg.sender) * MINTABLE_TOKENS_PER_PUNK_TOKEN; if (balance > punkHoldersMintedByAddress[msg.sender]) { return balance - punkHoldersMintedByAddress[msg.sender]; } return 0; } // -------- JSON & SVG -------- // TODO: Try to make each part to be around 12M gas units function tokenURI(uint256 tokenId) public view override returns (string memory) { (uint256 first, uint256 second, uint256 third, uint256 fourth, uint256 fifth, uint256 sixth, uint256 seventh, uint256 eight, uint256 angle) = _getNumbersOfToken(tokenId); string memory svgOutput = _svg(first, second, third, fourth, fifth, sixth, seventh, eight, angle); string memory json = Base64._encode( bytes( string( abi.encodePacked( '{"name": "', _generateWeaponName(tokenId, second + third, fourth + fifth, first, sixth + seventh), '", "description": "', WEAPON_DESCRIPTION, '", "image": "data:image/svg+xml;base64,', Base64._encode(bytes(svgOutput)), '", "attributes": [', _generateAttributes(first, second, third, fourth, fifth, sixth, seventh, eight, angle), ']}' ) ) ) ); json = string(abi.encodePacked("data:application/json;base64,", json)); return json; } // For when the resurrection comes, the weapon comes too function svgOfToken(uint256 tokenId) external view returns (string memory svgOutput) { (uint256 first, uint256 second, uint256 third, uint256 fourth, uint256 fifth, uint256 sixth, uint256 seventh, uint256 eight, uint256 angle) = _getNumbersOfToken(tokenId); svgOutput = _svg(first, second, third, fourth, fifth, sixth, seventh, eight, angle); } // -------- INTERNALS -------- function _mintNextToken(address to) internal { _safeMint(to, totalSupply); totalSupply++; } function _isNHolder(uint256 tokenId, uint256[] memory treasureDepositedTokens) internal view returns (bool) { if (n.ownerOf(tokenId) == msg.sender) { return true; } else { for (uint256 i; i < treasureDepositedTokens.length; i++) { if (tokenId == treasureDepositedTokens[i]) { return true; } } } return false; } function _beforeTokenTransfer( address from, address, uint256 ) internal virtual override { if (from != address(0)) { // If no mint require(!isInMintingPeriod() || _overrideTradingPreventionInMintingPeriod, "Still in minting period"); } } // -------- INTERNALS JSON & SVG -------- function _generateWeaponName(uint256 tokenId, uint256 adjective, uint256 noun, uint256 weapon, uint256 place) internal view returns (string memory name) { // “1234 - Glowing-Wind Sword of Ellora" name = string( abi.encodePacked( _toString(tokenId), " - ", ADJECTIVES[adjective], "-", NOUNS[noun], " ", WEAPONS[weapon], " of ", PLACES[place] ) ); } // To prevent stack too deep struct Vars { uint256 first; uint256 second; uint256 third; uint256 fourth; uint256 fifth; uint256 sixth; uint256 seventh; uint256 eight; uint256 sum; uint256 angle; } function _getNumbersOfToken(uint256 tokenId) internal view returns (uint256, uint256, uint256, uint256, uint256, uint256, uint256, uint256, uint256) { Vars memory vars; vars.first = getFirst(tokenId); vars.second = getSecond(tokenId); vars.third = getThird(tokenId); vars.fourth = getFourth(tokenId); vars.fifth = getFifth(tokenId); vars.sixth = getSixth(tokenId); vars.seventh = getSeventh(tokenId); vars.eight = getEight(tokenId); vars.sum = vars.first + vars.second + vars.third + vars.fourth + vars.fifth + vars.sixth + vars.seventh + vars.eight; uint256 angle = ((109090910 * vars.sum) - 2181818181) / 100000000; return (vars.first, vars.second, vars.third, vars.fourth, vars.fifth, vars.sixth, vars.seventh, vars.eight, angle); } function _generateAttributes(uint256 first, uint256 second, uint256 third, uint256 fourth, uint256 fifth, uint256 sixth, uint256 seventh, uint256 eight, uint256 angle) internal view returns (string memory attributesOutput) { attributesOutput = string( abi.encodePacked( _generateAttribute(PARTS[0], first), ",", _generateAttribute(PARTS[1], second), ",", _generateAttribute(PARTS[2], third), ",", _generateAttribute(PARTS[3], fourth), ",", _generateAttribute(PARTS[4], fifth), ",", _generateAttribute(PARTS[5], sixth), ",", _generateAttribute(PARTS[6], seventh), ",", _generateAttribute(PARTS[7], eight), ",", _generateAttribute(PARTS[8], angle) ) ); } function _generateAttribute(string memory traitType, uint256 number) internal pure returns (string memory attributeOutput) { attributeOutput = string( abi.encodePacked( '{"trait_type": "', traitType, '","value": "', _toString(number), '"}' ) ); } function _svg(uint256 first, uint256 second, uint256 third, uint256 fourth, uint256 fifth, uint256 sixth, uint256 seventh, uint256 eight, uint256 angle) internal view returns (string memory svgOutput) { string[4] memory weaponParts; weaponParts[0] = _surroundWithId( "flipWeaponsParts", string( abi.encodePacked( firstAssets[first], thirdAssets[third], fourthAssets[fourth], fifthAssets[fifth], sixthAssets[sixth], _surroundWithId("ORNAMENT", seventhAssets[seventh]) ) ) ); weaponParts[1] = _flipHorizontally("flipWeaponsParts", "1080"); weaponParts[2] = _buildAdditionalOrnaments(eight); weaponParts[3] = secondAssets[second]; string[4] memory svgParts; svgParts[0] = _svgHeader('viewBox="0 0 1080 1080"'); svgParts[1] = svgStyle; svgParts[2] = _transform( string(abi.encodePacked("rotate(", _svgAngle(angle), ",540,540)")), string(abi.encodePacked(weaponParts[0], weaponParts[1], weaponParts[2], weaponParts[3])) ); svgParts[3] = "</svg>"; svgOutput = string(abi.encodePacked(svgParts[0], svgParts[1], svgParts[2], svgParts[3])); } function _buildAdditionalOrnaments(uint256 number) internal view returns (string memory) { // Ornament nothing (8), second (9,13), top (7,11), bottom (6,12), ALL (0, 14), second + top (1,2), second + bottom (3,4), bottom + top (5,10) if (number == 9 || number == 13) { return secondOrnament; } else if (number == 7 || number == 11) { return topOrnament; } else if (number == 6 || number == 12) { return bottomOrnament; } else if (number == 0 || number == 14) { return string(abi.encodePacked(secondOrnament, topOrnament, bottomOrnament)); } else if (number == 1 || number == 2) { return string(abi.encodePacked(secondOrnament, topOrnament)); } else if (number == 3 || number == 4) { return string(abi.encodePacked(secondOrnament, bottomOrnament)); } else if (number == 5 || number == 10) { return string(abi.encodePacked(bottomOrnament, topOrnament)); } return ""; } function _svgHeader(string memory attributes) internal pure returns (string memory output) { output = string( abi.encodePacked( '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" ', attributes, '>' ) ); } function _surroundWithId(string memory id, string memory input) internal pure returns (string memory output) { output = string(abi.encodePacked('<g id="', id, '">', input, "</g>")); } function _flipHorizontally(string memory id, string memory x) internal pure returns (string memory output) { output = string( abi.encodePacked( '<use xlink:href="#', id, '" href="#', id, '" transform="scale(-1 1) translate(-', x, ',0)"/>' ) ); } function _transform(string memory transformAttribute, string memory innerBody) internal pure returns (string memory output) { output = string(abi.encodePacked('<g transform="', transformAttribute, '">', innerBody, "</g>")); } function _svgAngle(uint256 angle) internal pure returns (string memory output) { if (angle == 30) { return "0"; } else if (angle > 30) { return _toString(angle - 30); } else { return string(abi.encodePacked("-", _toString(30 - angle))); } } function _toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT license // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } } /// [MIT License] /// @title Base64 /// @notice Provides a function for encoding some bytes in base64 /// @author Brecht Devos <[email protected]> library Base64 { bytes internal constant TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; /// @notice Encodes some bytes to the base64 representation function _encode(bytes memory data) internal pure returns (string memory) { uint256 len = data.length; if (len == 0) return ""; // multiply by 4/3 rounded up uint256 encodedLen = 4 * ((len + 2) / 3); // Add some extra buffer at the end bytes memory result = new bytes(encodedLen + 32); bytes memory table = TABLE; assembly { let tablePtr := add(table, 1) let resultPtr := add(result, 32) for { let i := 0 } lt(i, len) { } { i := add(i, 3) let input := and(mload(add(data, i)), 0xffffff) let out := mload(add(tablePtr, and(shr(18, input), 0x3F))) out := shl(8, out) out := add(out, and(mload(add(tablePtr, and(shr(12, input), 0x3F))), 0xFF)) out := shl(8, out) out := add(out, and(mload(add(tablePtr, and(shr(6, input), 0x3F))), 0xFF)) out := shl(8, out) out := add(out, and(mload(add(tablePtr, and(input, 0x3F))), 0xFF)) out := shl(224, out) mstore(resultPtr, out) resultPtr := add(resultPtr, 4) } switch mod(len, 3) case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) } case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) } mstore(result, encodedLen) } return string(result); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721Receiver.sol"; /** * @dev Implementation of the {IERC721Receiver} interface. * * Accepts all token transfers. * Make sure the contract is able to use its token with {IERC721-safeTransferFrom}, {IERC721-approve} or {IERC721-setApprovalForAll}. */ contract ERC721Holder is IERC721Receiver { /** * @dev See {IERC721Receiver-onERC721Received}. * * Always returns `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address, address, uint256, bytes memory ) public virtual override returns (bytes4) { return this.onERC721Received.selector; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a >= b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a / b + (a % b == 0 ? 0 : 1); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": true, "runs": 1 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"_endMintingPeriodDateAndTime","type":"uint256"},{"internalType":"uint256","name":"_endReservedSpotsMintingPeriodDateAndTime","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"ADJECTIVES","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINTS_PER_HOLDER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINTS_PER_MASK_HOLDER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINTS_PER_N_HOLDER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTABLE_TOKENS_PER_BAYC_TOKEN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTABLE_TOKENS_PER_PUNK_TOKEN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_FEE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"NOUNS","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"N_BASE_TOKEN_ID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"PARTS","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"PLACES","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVED_BAYC_TOKENS_TO_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVED_ECOSYSTEM_TEAM_TOKENS_TO_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVED_MASK_TOKENS_TO_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVED_N_TOKENS_TO_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVED_PUNK_TOKENS_TO_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"WEAPONS","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WEAPON_DESCRIPTION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bayc","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"baycHoldersMintedByAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bottomOrnament","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"claimVestedTeamTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"endMintingPeriodDateAndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"endReservedSpotsMintingPeriodDateAndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"fifthAssets","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"finishInitialization","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"firstAssets","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"fourthAssets","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getEight","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getFifth","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getFirst","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getFourth","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getSecond","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getSeventh","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getSixth","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getThird","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"isInMintingPeriod","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isInReservedMintingPeriod","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mask","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"maskHoldersMintedByAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"maskTokensMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountToMint","type":"uint256"}],"name":"mintToken","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountToMint","type":"uint256"}],"name":"mintTokenReservedForBAYCHolders","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountToMint","type":"uint256"}],"name":"mintTokenReservedForEcosystemAndTeam","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountToMint","type":"uint256"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"mintTokenReservedForMask","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountToMint","type":"uint256"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"mintTokenReservedForN","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountToMint","type":"uint256"}],"name":"mintTokenReservedForPunkHolders","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"n","outputs":[{"internalType":"contract IN","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nHoldersMintedByAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"nTokensMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextVestingPeriodDataAndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"openToAllHoldersMintedByAddress","outputs":[{"internalType":"uint256","name":"","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":"punk","outputs":[{"internalType":"contract IPunk","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"punkHoldersMintedByAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"resurrectionContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"sacrifice","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":"uint256","name":"","type":"uint256"}],"name":"secondAssets","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"secondOrnament","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string[]","name":"fifth","type":"string[]"},{"internalType":"uint256","name":"start","type":"uint256"}],"name":"setFifthAssets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string[]","name":"first","type":"string[]"},{"internalType":"uint256","name":"start","type":"uint256"}],"name":"setFirstAssets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string[15]","name":"fourth","type":"string[15]"}],"name":"setFourthAssets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"overrideTradingPreventionInMintingPeriod","type":"bool"}],"name":"setOverrideTradingPreventionInMintingPeriod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_resurrectionContract","type":"address"}],"name":"setResurrectionContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_svgStyle","type":"string"},{"internalType":"string","name":"_secondOrnament","type":"string"},{"internalType":"string","name":"_topOrnament","type":"string"},{"internalType":"string","name":"_bottomOrnament","type":"string"}],"name":"setSVGItems","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string[]","name":"second","type":"string[]"},{"internalType":"uint256","name":"start","type":"uint256"}],"name":"setSecondAssets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string[15]","name":"seventh","type":"string[15]"}],"name":"setSeventhAssets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string[]","name":"sixth","type":"string[]"},{"internalType":"uint256","name":"start","type":"uint256"}],"name":"setSixthAssets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string[15]","name":"third","type":"string[15]"}],"name":"setThirdAssets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"seventhAssets","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"sixthAssets","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"spotsForAll","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"spotsForBAYC","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"spotsForMask","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"spotsForN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"spotsForPunk","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"svgOfToken","outputs":[{"internalType":"string","name":"svgOutput","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"svgStyle","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"thirdAssets","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"topOrnament","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBAYCHoldersMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalEcosystemAndTeamMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMaskHoldersMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalNHoldersMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalPunkHoldersMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalTeamMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasure","outputs":[{"internalType":"contract IERC721Farm","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
600761042081815266476c6f77696e6760c81b61044052608090815260066104608181526553617661676560d01b6104805260a05260096104a0818152682337b933b7ba3a32b760b91b6104c05260c0526104e084815266466c616d696e6760c81b6105005260e0526105208281526553746f726d7960d01b61054052610100526105608281526546696572636560d01b61058052610120526105a09081526810dbdc9c9d5c1d195960ba1b6105c052610140526105e083815266426c617a696e6760c81b6106005261016052600861062081815267426c656564696e6760c01b61064052610180526004610660818152634461726b60e01b610680526101a0526106a085815266105b98da595b9d60ca1b6106c0526101c0526106e083815265446976696e6560d01b610700526101e0526107208381526510dd5c9cd95960d21b6107405261020052610760858152664368616f74696360c81b61078052610220526107a085815266546974616e696360c81b6107c052610240526107e083815265135bdc9d185b60d21b610800526102605261082085815266109b195cdcd95960ca1b610840526102805261086085815266566963696f757360c81b610880526102a0526108a0858152664e756d6572696360c81b6108c0526102c05260056108e08181526411195d9a5b60da1b610900526102e0526109208681526644656d6f6e696360c81b610940526103005261096082815263486f6c7960e01b61098052610320526109a0938452654d696768747960d01b6109c052610340939093526109e09081526310dbdb1960e21b610a005261036052610a208181526729b4b734b9ba32b960c11b610a405261038052610a6091825264263ab730b960d91b610a80526103a091909152610aa08181526712185c99195b995960c21b610ac0526103c052610ae09283526652656170696e6760c81b610b00526103e092909252610b60604052610b2082815267526176656e6f757360c01b610b405261040052620002ef9190601d62000f3f565b50604080516103e08101825260046103a082018181526315da5b9960e21b6103c0840152825282518084018452600580825264139a59da1d60da1b60208381019190915280850192909252845180860186528381526326b7b7b760e11b8184015284860152845180860186528381526324b937b760e11b81840152606085015284518086018652838152632230bbb760e11b81840152608085015284518086018652600380825262536b7960e81b8285015260a0860191909152855180870187528481526314dbdd5b60e21b8185015260c086015285518087018752600680825265084e4cac2e8d60d31b8286015260e0870191909152865180880188528181526553637265616d60d01b81860152610100870152865180880188528581526309ec2e8d60e31b8186015261012087015286518088018852858152634564676560e01b8186015261014087015286518088018852818152652bb4b73a32b960d11b81860152610160870152865180880188528181526529b4b63b32b960d11b81860152610180870152865180880188528281526249636560e81b818601526101a0870152865180880188526007808252664a75737469636560c81b828701526101c088019190915287518089018952868152634661746560e01b818701526101e0880152875180890189528681526329ba30b960e11b818701526102008801528751808901895282815265537472696b6560d01b818701526102208801528751808901895284815264507269646560d81b8187015261024088015287518089018952958652635261676560e01b868601526102608701959095528651808801885260098082526853616372696669636560b81b828701526102808801919091528751808901895291825265536861646f7760d01b828601526102a08701919091528651808801885285815266566963746f727960c81b818601526102c087015286518088018852918252622bb0b960e91b828501526102e086019190915285518087018752828152640a8e4eae8d60db1b818501526103008601528551808701875290815268135bdbdb9b1a59da1d60ba1b8184015261032085015284518086018652838152662a343ab73232b960c91b81840152610340850152845180860186529081526414dd19595b60da1b81830152610360840152835180850190945290835266151bdc9c995b9d60ca1b908301526103808101919091526200067a90602590601d62000f3f565b50604080516103e08101825260066103a0820181815265456c6c6f726160d01b6103c08401528252825180840184526005808252642c3493b0b760d91b6020838101919091528085019290925284518086018652600a80825269416c6578616e6472696160b01b8285015285870191909152855180870187526009808252685079746861676f726560b81b82860152606087019190915286518088018852600b8082526a2a32b7ba34b43ab0b1b0b760a91b8287015260808801919091528751808901895260078082526609cd2dccaeccad60cb1b8288015260a08901919091528851808a018a5284815269105b99dadbdc8815d85d60b21b8188015260c08901528851808a018a52600880825267566172616e61736960c01b8289015260e08a01919091528951808b018b5281815267436172746861676560c01b818901526101008a01528951808b018b52828152664570686573757360c81b818901526101208a01528951808b018b5286815264437573636f60d81b818901526101408a01528951808b018b528281526643726f746f6e6560c81b818901526101608a01528951808b018b529586526453616d6f7360d81b868801526101808901959095528851808a018a5260048152634c756e6160e01b818801526101a08901528851808a018a5287815265135bd9da1d5b60d21b818801526101c08901528851808a018a528381526829b430b93a30b230b960b91b818801526101e08901528851808a018a528181526626bab930b6b0b960c91b818801526102008901528851808a018a528381526814dd1bdb99599bdc9d60ba1b818801526102208901528851808a018a5284815269416d626172204369747960b01b818801526102408901528851808a018a5290815266119d5b19da1bdd60ca1b81870152610260880152875180890189529283526914985b58995c9cd95a5d60b21b838601526102808701929092528651808801885283815267151a185b58995c9d60c21b818601526102a08701528651808801885281815268105b9b9bdb88151d5b60ba1b818601526102c0870152865180880188529485526511dbdb991bdb60d21b858501526102e0860194909452855180870187529081526a4e6f76617374617269757360a81b81840152610300850152845180860186529283526821b2b73a343ab937b760b91b8383015261032084019290925283518085018552600f81526e139d5b58995c9cc810da5d1859195b608a1b8183015261034084015283518085018552918252674b61727461726f7360c01b828201526103608301919091528251808401909352600c83526b53696c7665727468726f6e6560a01b9083015261038081019190915262000a6a90604290601d62000f3f565b5060408051610160810182526004610120820181815263426f647960e01b610140840152825282518084018452600a815269426c6f6f64204d61726b60b01b6020828101919091528084019190915283518085018552600680825265213aba3a37b760d11b8284015284860191909152845180860186528181526548616e646c6560d01b81840152606085015284518086018652600781526628bab4b63637b760c91b8184015260808501528451808601865290815265141bdb5b595b60d21b8183015260a084015283518085018552600881526713dc9b985b595b9d60c21b8183015260c084015283518085018552600f81526e5079746861676f722773204d61726b60881b8183015260e0840152835180850190945290835263151a5b1d60e21b9083015261010081019190915262000baa90605f90600962000f96565b50604080516102208101825260056101e082019081526414dddbdc9960da1b610200830152815281518083018352600a8082526911dc99585d1cdddbdc9960b21b602083810191909152808401929092528351808501855281815269109c9bd8591cdddbdc9960b21b818401528385015283518085018552600980825268131bdb99dcdddbdc9960ba1b828501526060850191909152845180860186529182526914da1bdc9d1cdddbdc9960b21b828401526080840191909152835180850185528181526848756e74657261786560b81b8184015260a084015283518085018552600381526241786560e81b8184015260c084015283518085018552600880825267426c61636b61786560c01b8285015260e08501919091528451808601865290815267477265617461786560c01b81840152610100840152835180850185528181526856696b696e6761786560b81b818401526101208401528351808501855260068152652430b6b6b2b960d11b8184015261014084015283518085018552908152682bb0b93430b6b6b2b960b91b8183015261016083015282518084018452600b81526a213937b0b23430b6b6b2b960a91b818301526101808301528251808401845260048082526321b63ab160e11b828401526101a084019190915283518085019094528352634d61636560e01b908301526101c081019190915262000db890606890600f62000fdb565b50604051806101400160405280610108815260200162006ede6101089139805162000dec9160779160209091019062001020565b5034801562000dfa57600080fd5b5060405162006fe638038062006fe683398101604081905262000e1d9162001125565b604080518082018252601381527f5079746861676f7265616e20576561706f6e73000000000000000000000000006020808301918252835180850190945260128452715079746861676f7265616e576561706f6e7360701b90840152815191929162000e8c9160009162001020565b50805162000ea290600190602084019062001020565b50505062000ebf62000eb962000ee960201b60201c565b62000eed565b60016007556087829055608881905562000edd4262278d006200114a565b60895550620011ae9050565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b82601d810192821562000f84579160200282015b8281111562000f84578251805162000f7391849160209091019062001020565b509160200191906001019062000f53565b5062000f92929150620010ab565b5090565b826009810192821562000f84579160200282015b8281111562000f84578251805162000fca91849160209091019062001020565b509160200191906001019062000faa565b82600f810192821562000f84579160200282015b8281111562000f8457825180516200100f91849160209091019062001020565b509160200191906001019062000fef565b8280546200102e9062001171565b90600052602060002090601f0160209004810192826200105257600085556200109d565b82601f106200106d57805160ff19168380011785556200109d565b828001600101855582156200109d579182015b828111156200109d57825182559160200191906001019062001080565b5062000f92929150620010cc565b8082111562000f92576000620010c28282620010e3565b50600101620010ab565b5b8082111562000f925760008155600101620010cd565b508054620010f19062001171565b6000825580601f1062001102575050565b601f016020900490600052602060002090810190620011229190620010cc565b50565b600080604083850312156200113957600080fd5b505080516020909101519092909150565b600082198211156200116c57634e487b7160e01b600052601160045260246000fd5b500190565b600181811c908216806200118657607f821691505b60208210811415620011a857634e487b7160e01b600052602260045260246000fd5b50919050565b615d2080620011be6000396000f3fe6080604052600436106104965760003560e01c806301ffc9a71461049b57806302f6ea33146104d05780630357183a146104f457806306fdde031461050a578063081812fc1461052c578063095ea7b3146105595780630b2503a61461057b5780630c5c67cf1461059b5780630ca114c5146105b2578063116134ee146105d2578063150b7a02146105fa57806318160ddd1461063357806318a55c3d14610649578063194adf65146106765780631a2832e8146106965780631b274432146106ac57806323b872dd146106c25780632baeda98146106e25780632e52d606146106f75780632e57500f14610719578063327d3f621461072e57806332cb6b0c14610743578063412974591461075957806342842e0e1461076f57806342d9d8761461078f5780634410d3d7146107af57806345af46d6146107d557806345d547eb146107ea57806346260d831461080a578063477be2f8146108375780634b21bf401461084d5780634cbf19b01461086d5780634d5ed48b146108825780634edecb3b146108af5780634f712b44146108c457806350ebef95146108e457806352d8535e146108f957806354d3b0bc146109265780635e28a758146109395780636352211e14610959578063650fdeab14610979578063667386f71461098e5780636a505918146109ae5780636e9b5d35146109c457806370a08231146109e4578063715018a614610a045780637184369f14610a19578063718d205014610a3957806371f74f0d14610a4e5780637543a32214610a645780637685807d14610a8457806376cbeea914610aac57806379d0b42814610acc5780637e7b94a814610aec5780637e87a4bc14610b0257806385d6cd5814610b2257806386136e4414610b375780638aa001fc14610b4c5780638b54a67714610b6c5780638c921d0614610b825780638da5cb5b14610ba25780638e6248e114610bb75780638eaf358a14610bcd578063911f005914610bfd5780639347e43f14610c10578063936f23ba14610c305780639556e8bd14610c4557806395d89b4114610c5a57806398da7f2114610c6f57806399a3bb1514610c845780639ec29b8214610ca4578063a22cb46514610cc4578063a405058c14610ce4578063a6d58b9914610b22578063a8b9dda414610d04578063ab63ec2414610d17578063abd09c8414610d37578063ac7475ef14610d57578063af49584114610d6c578063b88d4fde14610d8c578063bcc405fe14610dac578063c127a65914610dcc578063c634d03214610dec578063c87b56dd14610dff578063cde6437214610e1f578063ce29841814610e4c578063ce53345114610e7c578063d506c82314610e91578063d7bf81a314610eb1578063d97eb9f614610ecd578063de31e09d14610eed578063de4f5bda14610f02578063df4452e314610f2a578063e178e05114610f40578063e2fcdbf514610f60578063e520fc7e14610f80578063e6885e6f14610fa8578063e985e9c514610fc8578063eb610b9214610fe8578063ec0dd96e14611008578063f2fde38b14611028578063fa0ba2c914611048578063fa7f71b11461105e578063fb32e2091461107e578063ff62e1cc1461109e575b600080fd5b3480156104a757600080fd5b506104bb6104b6366004614f98565b6110be565b60405190151581526020015b60405180910390f35b3480156104dc57600080fd5b506104e660805481565b6040519081526020016104c7565b34801561050057600080fd5b506104e66105dc81565b34801561051657600080fd5b5061051f611110565b6040516104c79190615895565b34801561053857600080fd5b5061054c610547366004615072565b6111a2565b6040516104c79190615844565b34801561056557600080fd5b50610579610574366004614d27565b61122f565b005b34801561058757600080fd5b506104e6610596366004615072565b611340565b3480156105a757600080fd5b506104e6626f6b7f81565b3480156105be57600080fd5b5061051f6105cd366004615072565b6113d1565b3480156105de57600080fd5b5061054c736327f6305331f7e0ccfcac2bca4a4a8b87afda3281565b34801561060657600080fd5b5061061a610615366004614c73565b611471565b6040516001600160e01b031990911681526020016104c7565b34801561063f57600080fd5b506104e660845481565b34801561065557600080fd5b506104e6610664366004614bbf565b607a6020526000908152604090205481565b34801561068257600080fd5b5061051f610691366004615072565b611482565b3480156106a257600080fd5b506104e660855481565b3480156106b857600080fd5b506104e660815481565b3480156106ce57600080fd5b506105796106dd366004614c32565b611492565b3480156106ee57600080fd5b5061051f6114c3565b34801561070357600080fd5b5061054c600080516020615cab83398151915281565b34801561072557600080fd5b506104e6601481565b34801561073a57600080fd5b5061051f6114d0565b34801561074f57600080fd5b506104e66122b881565b34801561076557600080fd5b506104e660895481565b34801561077b57600080fd5b5061057961078a366004614c32565b6114dd565b34801561079b57600080fd5b506104e66107aa366004615072565b6114f8565b3480156107bb57600080fd5b5060865461054c906201000090046001600160a01b031681565b3480156107e157600080fd5b506104e661151b565b3480156107f657600080fd5b506105796108053660046150a4565b6115f6565b34801561081657600080fd5b506104e6610825366004614bbf565b607b6020526000908152604090205481565b34801561084357600080fd5b506104e6607f5481565b34801561085957600080fd5b5061051f610868366004615072565b611839565b34801561087957600080fd5b506104e6611849565b34801561088e57600080fd5b506104e661089d366004614bbf565b607d6020526000908152604090205481565b3480156108bb57600080fd5b506104e660b181565b3480156108d057600080fd5b506105796108df366004614d53565b611891565b3480156108f057600080fd5b506104bb6118d9565b34801561090557600080fd5b506104e6610914366004614bbf565b607c6020526000908152604090205481565b610579610934366004615072565b611905565b34801561094557600080fd5b50610579610954366004614bbf565b611b15565b34801561096557600080fd5b5061054c610974366004615072565b611b87565b34801561098557600080fd5b506104e6611bfe565b34801561099a57600080fd5b506104e66109a9366004615072565b611d59565b3480156109ba57600080fd5b506104e66101bc81565b3480156109d057600080fd5b506105796109df366004614d53565b611d7c565b3480156109f057600080fd5b506104e66109ff366004614bbf565b611dc0565b348015610a1057600080fd5b50610579611e47565b348015610a2557600080fd5b5061051f610a34366004615072565b611e82565b348015610a4557600080fd5b506104e6611e92565b348015610a5a57600080fd5b506104e660835481565b348015610a7057600080fd5b50610579610a7f366004614fd2565b611f5f565b348015610a9057600080fd5b5061054c73bc4ca0eda7647a8ab7c2061c2e118a18a936f13d81565b348015610ab857600080fd5b50610579610ac7366004614df5565b611fec565b348015610ad857600080fd5b50610579610ae7366004614d53565b61208e565b348015610af857600080fd5b506104e660875481565b348015610b0e57600080fd5b50610579610b1d366004614f7d565b6120d2565b348015610b2e57600080fd5b506104e6600281565b348015610b4357600080fd5b506104e6600581565b348015610b5857600080fd5b506104e6610b67366004615072565b612114565b348015610b7857600080fd5b506104e660825481565b348015610b8e57600080fd5b506104e6610b9d366004615072565b612137565b348015610bae57600080fd5b5061054c61215a565b348015610bc357600080fd5b506104e66102bc81565b348015610bd957600080fd5b506104bb610be8366004615072565b60796020526000908152604090205460ff1681565b610579610c0b3660046150a4565b612169565b348015610c1c57600080fd5b506104e6610c2b366004615072565b61240e565b348015610c3c57600080fd5b5061051f612431565b348015610c5157600080fd5b506104bb61243e565b348015610c6657600080fd5b5061051f61247f565b348015610c7b57600080fd5b5061051f61248e565b348015610c9057600080fd5b5061051f610c9f366004615072565b61249b565b348015610cb057600080fd5b506104e6610cbf366004615072565b6124ab565b348015610cd057600080fd5b50610579610cdf366004614cf2565b6124ce565b348015610cf057600080fd5b5061051f610cff366004615072565b61258f565b610579610d12366004615072565b61259f565b348015610d2357600080fd5b50610579610d32366004614df5565b612756565b348015610d4357600080fd5b5061051f610d52366004615072565b6127f8565b348015610d6357600080fd5b5061051f612808565b348015610d7857600080fd5b5061051f610d87366004615072565b612815565b348015610d9857600080fd5b50610579610da7366004614c73565b612825565b348015610db857600080fd5b50610579610dc7366004614df5565b61285d565b348015610dd857600080fd5b50610579610de7366004614bbf565b6128ff565b610579610dfa366004615072565b612958565b348015610e0b57600080fd5b5061051f610e1a366004615072565b612ad5565b348015610e2b57600080fd5b506104e6610e3a366004614bbf565b607e6020526000908152604090205481565b348015610e5857600080fd5b506104bb610e67366004615072565b60786020526000908152604090205460ff1681565b348015610e8857600080fd5b506104e6600381565b348015610e9d57600080fd5b50610579610eac366004615072565b612bb9565b348015610ebd57600080fd5b506104e667011c37937e08000081565b348015610ed957600080fd5b5061051f610ee8366004615072565b612caf565b348015610ef957600080fd5b506104e6612cbf565b348015610f0e57600080fd5b5061054c73b47e3cd837ddf8e4c57f05d70ab865de6e193bbb81565b348015610f3657600080fd5b506104e661036f81565b348015610f4c57600080fd5b50610579610f5b366004615072565b612d80565b348015610f6c57600080fd5b50610579610f7b366004614eb2565b612d91565b348015610f8c57600080fd5b5061054c7308543f4c79f7e5d585a2622ca485e8201efd9ada81565b348015610fb457600080fd5b5061051f610fc3366004615072565b612e83565b348015610fd457600080fd5b506104bb610fe3366004614bf9565b612e93565b348015610ff457600080fd5b50610579611003366004614df5565b612ec1565b34801561101457600080fd5b5061051f611023366004615072565b612f63565b34801561103457600080fd5b50610579611043366004614bbf565b612fae565b34801561105457600080fd5b506104e660885481565b34801561106a57600080fd5b506104e6611079366004615072565b61304b565b34801561108a57600080fd5b5061051f611099366004615072565b61306e565b3480156110aa57600080fd5b5061051f6110b9366004615072565b61307e565b60006001600160e01b031982166380ac58cd60e01b14806110ef57506001600160e01b03198216635b5e139f60e01b145b8061110a57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461111f90615b7d565b80601f016020809104026020016040519081016040528092919081815260200182805461114b90615b7d565b80156111985780601f1061116d57610100808354040283529160200191611198565b820191906000526020600020905b81548152906001019060200180831161117b57829003601f168201915b5050505050905090565b60006111ad8261308e565b6112135760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061123a82611b87565b9050806001600160a01b0316836001600160a01b031614156112a85760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161120a565b336001600160a01b03821614806112c457506112c48133612e93565b6113315760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776044820152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b606482015260840161120a565b61133b83836130ab565b505050565b6000600080516020615cab833981519152630b2503a6611363626f6b7f85615aef565b6040518263ffffffff1660e01b815260040161138191815260200190565b60206040518083038186803b15801561139957600080fd5b505afa1580156113ad573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061110a919061508b565b606881600f81106113e157600080fd5b0180549091506113f090615b7d565b80601f016020809104026020016040519081016040528092919081815260200182805461141c90615b7d565b80156114695780601f1061143e57610100808354040283529160200191611469565b820191906000526020600020905b81548152906001019060200180831161144c57829003601f168201915b505050505081565b630a85bd0160e11b5b949350505050565b608a81600f81106113e157600080fd5b61149c3382613119565b6114b85760405162461bcd60e51b815260040161120a906159eb565b61133b8383836131db565b60f680546113f090615b7d565b60f480546113f090615b7d565b61133b83838360405180602001604052806000815250612825565b6000600080516020615cab8339815191526342d9d876611363626f6b7f85615aef565b6040516370a0823160e01b8152600090819060029073bc4ca0eda7647a8ab7c2061c2e118a18a936f13d906370a082319061155a903390600401615844565b60206040518083038186803b15801561157257600080fd5b505afa158015611586573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115aa919061508b565b6115b49190615b1b565b336000908152607b60205260409020549091508111156115ee57336000908152607b60205260409020546115e89082615b3a565b91505090565b600091505090565b600260075414156116195760405162461bcd60e51b815260040161120a90615a3c565b6002600755611626613374565b61162f826133c1565b6116398282613411565b611641613454565b6080546105dc116116645760405162461bcd60e51b815260040161120a9061598a565b336000908152607c60205260409020546002116116935760405162461bcd60e51b815260040161120a9061592f565b60005b8151811080156116b55750336000908152607c60205260409020546002115b80156116c457506080546105dc115b1561182f5760008282815181106116dd576116dd615c13565b6020908102919091018101516000818152607990925260409091205490915060ff161561171c5760405162461bcd60e51b815260040161120a906158fa565b6040516331a9108f60e11b8152600481018290523390736327f6305331f7e0ccfcac2bca4a4a8b87afda3290636352211e9060240160206040518083038186803b15801561176957600080fd5b505afa15801561177d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117a19190614bdc565b6001600160a01b0316146117c75760405162461bcd60e51b815260040161120a9061595d565b608080549060006117d783615bb8565b90915550506000818152607960209081526040808320805460ff19166001179055338352607c909152812080549161180e83615bb8565b919050555061181c336134a8565b508061182781615bb8565b915050611696565b5050600160075550565b60c681600f81106113e157600080fd5b60008061185a61036f6122b8615b3a565b905060855460845461186c9190615b3a565b8111156115ee576085546084546118839190615b3a565b6115e89082615b3a565b5090565b3361189a61215a565b6001600160a01b0316146118c05760405162461bcd60e51b815260040161120a906159b6565b6118c86134cc565b6118d560a882600f614967565b5050565b6000426087541180156118ef57506084546122b8115b801561190057506118fe61243e565b155b905090565b600260075414156119285760405162461bcd60e51b815260040161120a90615a3c565b6002600755611935613374565b61193e816133c1565b6119478161350d565b61194f613454565b6081546101bc116119725760405162461bcd60e51b815260040161120a9061598a565b6040516370a0823160e01b815260009060029073bc4ca0eda7647a8ab7c2061c2e118a18a936f13d906370a08231906119af903390600401615844565b60206040518083038186803b1580156119c757600080fd5b505afa1580156119db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119ff919061508b565b611a099190615b1b565b336000908152607b60205260409020549091508111611a3a5760405162461bcd60e51b815260040161120a9061592f565b60005b8281108015611a4f57506081546101bc115b8015611a695750336000908152607b602052604090205482115b15611abe5760818054906000611a7e83615bb8565b9091555050336000908152607b60205260408120805491611a9e83615bb8565b9190505550611aac336134a8565b80611ab681615bb8565b915050611a3d565b6000611ad267011c37937e08000083615b1b565b9050611ae5611adf61215a565b8261356d565b6000611af18234615b3a565b1115611b0a57611b0a33611b058334615b3a565b61356d565b505060016007555050565b33611b1e61215a565b6001600160a01b031614611b445760405162461bcd60e51b815260040161120a906159b6565b611b4c6134cc565b6086805461ff001916610100179055611b6361215a565b6001600160a01b0316816001600160a01b031614611b8457611b8481612fae565b50565b6000818152600260205260408120546001600160a01b03168061110a5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161120a565b6040516371d4ed8d60e11b815260009081907308543f4c79f7e5d585a2622ca485e8201efd9ada9063e3a9db1a90611c3a903390600401615844565b60006040518083038186803b158015611c5257600080fd5b505afa158015611c66573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c8e9190810190614ee6565b516040516370a0823160e01b8152600080516020615cab833981519152906370a0823190611cc0903390600401615844565b60206040518083038186803b158015611cd857600080fd5b505afa158015611cec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d10919061508b565b611d1a9190615aef565b336000908152607d60205260409020549091508111156115ee57336000908152607d6020526040902054611d4f826003613683565b6115e89190615b3a565b6000600080516020615cab83398151915263667386f7611363626f6b7f85615aef565b33611d8561215a565b6001600160a01b031614611dab5760405162461bcd60e51b815260040161120a906159b6565b611db36134cc565b6118d560b782600f614967565b60006001600160a01b038216611e2b5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161120a565b506001600160a01b031660009081526003602052604090205490565b33611e5061215a565b6001600160a01b031614611e765760405162461bcd60e51b815260040161120a906159b6565b611e80600061369b565b565b60b781600f81106113e157600080fd5b6040516370a0823160e01b8152600090819060059073b47e3cd837ddf8e4c57f05d70ab865de6e193bbb906370a0823190611ed1903390600401615844565b60206040518083038186803b158015611ee957600080fd5b505afa158015611efd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f21919061508b565b611f2b9190615b1b565b336000908152607a60205260409020549091508111156115ee57336000908152607a60205260409020546115e89082615b3a565b33611f6861215a565b6001600160a01b031614611f8e5760405162461bcd60e51b815260040161120a906159b6565b611f966134cc565b8351611fa99060f39060208701906149b3565b508251611fbd9060f49060208601906149b3565b508151611fd19060f59060208501906149b3565b508051611fe59060f69060208401906149b3565b5050505050565b33611ff561215a565b6001600160a01b03161461201b5760405162461bcd60e51b815260040161120a906159b6565b6120236134cc565b60005b825181101561133b5782818151811061204157612041615c13565b6020026020010151609983836120579190615aef565b600f811061206757612067615c13565b01908051906020019061207b9291906149b3565b508061208681615bb8565b915050612026565b3361209761215a565b6001600160a01b0316146120bd5760405162461bcd60e51b815260040161120a906159b6565b6120c56134cc565b6118d560e482600f614967565b336120db61215a565b6001600160a01b0316146121015760405162461bcd60e51b815260040161120a906159b6565b6086805460ff1916911515919091179055565b6000600080516020615cab833981519152638aa001fc611363626f6b7f85615aef565b6000600080516020615cab833981519152638c921d06611363626f6b7f85615aef565b6006546001600160a01b031690565b6002600754141561218c5760405162461bcd60e51b815260040161120a90615a3c565b6002600755612199613374565b6121a2826133c1565b6121ac8282613411565b6121b5826136ed565b6121bd613454565b607f546102bc116121e05760405162461bcd60e51b815260040161120a9061598a565b336000908152607d602052604090205460031161220f5760405162461bcd60e51b815260040161120a9061592f565b6040516371d4ed8d60e11b81526000907308543f4c79f7e5d585a2622ca485e8201efd9ada9063e3a9db1a90612249903390600401615844565b60006040518083038186803b15801561226157600080fd5b505afa158015612275573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261229d9190810190614ee6565b905060005b8251811080156122c15750336000908152607d60205260409020546003115b80156122d05750607f546102bc115b156123b65760008382815181106122e9576122e9615c13565b6020908102919091018101516000818152607890925260409091205490915060ff16156123285760405162461bcd60e51b815260040161120a906158fa565b6123328184613759565b61234e5760405162461bcd60e51b815260040161120a9061595d565b607f805490600061235e83615bb8565b90915550506000818152607860209081526040808320805460ff19166001179055338352607d909152812080549161239583615bb8565b91905055506123a3336134a8565b50806123ae81615bb8565b9150506122a2565b60006123cb600267011c37937e080000615b07565b6123d59083615b1b565b90506123e2611adf61215a565b60006123ee8234615b3a565b11156124025761240233611b058334615b3a565b50506001600755505050565b6000600080516020615cab833981519152639347e43f611363626f6b7f85615aef565b60f380546113f090615b7d565b6000426088541180156119005750607f546102bc118061246157506081546101bc115b8061246e575060825460b1115b806119005750506080546105dc1190565b60606001805461111f90615b7d565b60f580546113f090615b7d565b60a881600f81106113e157600080fd5b6000600080516020615cab833981519152639ec29b82611363626f6b7f85615aef565b6001600160a01b0382163314156125235760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b604482015260640161120a565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60d581600f81106113e157600080fd5b600260075414156125c25760405162461bcd60e51b815260040161120a90615a3c565b60026007556125cf613374565b6125d8816133c1565b6125e18161350d565b6125e9613454565b60825460b11161260b5760405162461bcd60e51b815260040161120a9061598a565b6040516370a0823160e01b815260009060059073b47e3cd837ddf8e4c57f05d70ab865de6e193bbb906370a0823190612648903390600401615844565b60206040518083038186803b15801561266057600080fd5b505afa158015612674573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612698919061508b565b6126a29190615b1b565b336000908152607a602052604090205490915081116126d35760405162461bcd60e51b815260040161120a9061592f565b60005b82811080156126e7575060825460b1115b80156127015750336000908152607a602052604090205482115b15611abe576082805490600061271683615bb8565b9091555050336000908152607a6020526040812080549161273683615bb8565b9190505550612744336134a8565b8061274e81615bb8565b9150506126d6565b3361275f61215a565b6001600160a01b0316146127855760405162461bcd60e51b815260040161120a906159b6565b61278d6134cc565b60005b825181101561133b578281815181106127ab576127ab615c13565b602002602001015160d583836127c19190615aef565b600f81106127d1576127d1615c13565b0190805190602001906127e59291906149b3565b50806127f081615bb8565b915050612790565b600881601d81106113e157600080fd5b607780546113f090615b7d565b609981600f81106113e157600080fd5b61282f3383613119565b61284b5760405162461bcd60e51b815260040161120a906159eb565b61285784848484613845565b50505050565b3361286661215a565b6001600160a01b03161461288c5760405162461bcd60e51b815260040161120a906159b6565b6128946134cc565b60005b825181101561133b578281815181106128b2576128b2615c13565b602002602001015160c683836128c89190615aef565b600f81106128d8576128d8615c13565b0190805190602001906128ec9291906149b3565b50806128f781615bb8565b915050612897565b3361290861215a565b6001600160a01b03161461292e5760405162461bcd60e51b815260040161120a906159b6565b608680546001600160a01b03909216620100000262010000600160b01b0319909216919091179055565b6002600754141561297b5760405162461bcd60e51b815260040161120a90615a3c565b6002600755612988613374565b612991816133c1565b61299a8161350d565b6129a2613878565b6083546084546129b29190615b3a565b6129c061036f6122b8615b3a565b116129dd5760405162461bcd60e51b815260040161120a9061598a565b336000908152607e6020526040902054601411612a0c5760405162461bcd60e51b815260040161120a9061592f565b60005b8181108015612a395750608354608454612a299190615b3a565b612a3761036f6122b8615b3a565b115b8015612a545750336000908152607e60205260409020546014115b15612a9457336000908152607e60205260408120805491612a7483615bb8565b9190505550612a82336134a8565b80612a8c81615bb8565b915050612a0f565b6000612aa867011c37937e08000083615b1b565b9050612ab5611adf61215a565b6000612ac18234615b3a565b111561182f5761182f33611b058334615b3a565b60606000806000806000806000806000612aee8b6138c4565b9850985098509850985098509850985098506000612b138a8a8a8a8a8a8a8a8a613a82565b90506000612b85612b428e612b288c8e615aef565b612b328b8d615aef565b8f612b3d8b8d615aef565b613ecd565b6077612b4d85613f56565b612b5e8f8f8f8f8f8f8f8f8f6140bb565b604051602001612b719493929190615555565b604051602081830303815290604052613f56565b905080604051602001612b989190615640565b60408051601f198184030181529190529d9c50505050505050505050505050565b60026007541415612bdc5760405162461bcd60e51b815260040161120a90615a3c565b600260075533612bea61215a565b6001600160a01b031614612c105760405162461bcd60e51b815260040161120a906159b6565b612c18613374565b612c21816133c1565b612c29613878565b60855461036f11612c4c5760405162461bcd60e51b815260040161120a9061598a565b60005b8181108015612c61575060855461036f115b15612ca65760858054906000612c7683615bb8565b9190505550612c94605760855411612c8e57336134a8565b306134a8565b80612c9e81615bb8565b915050612c4f565b50506001600755565b604281601d81106113e157600080fd5b6040516370a0823160e01b81526000908190736327f6305331f7e0ccfcac2bca4a4a8b87afda32906370a0823190612cfb903390600401615844565b60206040518083038186803b158015612d1357600080fd5b505afa158015612d27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d4b919061508b565b336000908152607c60205260409020549091508111156115ee57336000908152607c6020526040902054611d4f826002613683565b612d886141eb565b611b848161423f565b33612d9a61215a565b6001600160a01b031614612dc05760405162461bcd60e51b815260040161120a906159b6565b612dc8613374565b6089544211612e0b5760405162461bcd60e51b815260206004820152600f60248201526e10d85b89dd0818db185a5b481e595d608a1b604482015260640161120a565b608954612e1b9062278d00615aef565b60895560005b815181108015612e315750605881105b156118d557612e7130612e4261215a565b848481518110612e5457612e54615c13565b602002602001015160405180602001604052806000815250613845565b80612e7b81615bb8565b915050612e21565b60e481600f81106113e157600080fd5b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b33612eca61215a565b6001600160a01b031614612ef05760405162461bcd60e51b815260040161120a906159b6565b612ef86134cc565b60005b825181101561133b57828181518110612f1657612f16615c13565b6020026020010151608a8383612f2c9190615aef565b600f8110612f3c57612f3c615c13565b019080519060200190612f509291906149b3565b5080612f5b81615bb8565b915050612efb565b60606000806000806000806000806000612f7c8b6138c4565b985098509850985098509850985098509850612f9f898989898989898989613a82565b9b9a5050505050505050505050565b33612fb761215a565b6001600160a01b031614612fdd5760405162461bcd60e51b815260040161120a906159b6565b6001600160a01b0381166130425760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161120a565b611b848161369b565b6000600080516020615cab83398151915263fa7f71b1611363626f6b7f85615aef565b602581601d81106113e157600080fd5b605f81600981106113e157600080fd5b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906130e082611b87565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006131248261308e565b6131855760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161120a565b600061319083611b87565b9050806001600160a01b0316846001600160a01b031614806131cb5750836001600160a01b03166131c0846111a2565b6001600160a01b0316145b8061147a575061147a8185612e93565b826001600160a01b03166131ee82611b87565b6001600160a01b0316146132565760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161120a565b6001600160a01b0382166132b85760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161120a565b6132c38383836142d4565b6132ce6000826130ab565b6001600160a01b03831660009081526003602052604081208054600192906132f7908490615b3a565b90915550506001600160a01b0382166000908152600360205260408120805460019290613325908490615aef565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b038681169182179092559151849391871691600080516020615ccb83398151915291a4505050565b608654610100900460ff16611e805760405162461bcd60e51b815260206004820152601360248201527210d85b89dd0818d85b1b081d1a1a5cc81e595d606a1b604482015260640161120a565b60008111611b845760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206e656564206f7420626520626967676572207468616e203000604482015260640161120a565b805182146118d55760405162461bcd60e51b815260206004820152601060248201526f098cadccee8d0e640dad2e6dac2e8c6d60831b604482015260640161120a565b61345c61243e565b611e805760405162461bcd60e51b815260206004820152601f60248201527f5265736572766564206d696e74696e6720706572696f64206973206f76657200604482015260640161120a565b6134b48160845461433f565b608480549060006134c483615bb8565b919050555050565b608654610100900460ff1615611e805760405162461bcd60e51b815260040161120a906020808252600490820152635775743f60e01b604082015260600190565b61351f8167011c37937e080000615b1b565b341015611b845760405162461bcd60e51b815260206004820152601c60248201527b26b4b73a1031b7b9ba101817181c1032ba34103832b9103a37b5b2b760211b604482015260640161120a565b804710156135bd5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015260640161120a565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461360a576040519150601f19603f3d011682016040523d82523d6000602084013e61360f565b606091505b505090508061133b5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c20726044820152791958da5c1a595b9d081b585e481a185d99481c995d995c9d195960321b606482015260840161120a565b60008183106136925781613694565b825b9392505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b80613701600267011c37937e080000615b07565b61370b9190615b1b565b341015611b845760405162461bcd60e51b815260206004820152601c60248201527b26b4b73a1031b7b9ba101817181a1032ba34103832b9103a37b5b2b760211b604482015260640161120a565b6040516331a9108f60e11b8152600481018390526000903390600080516020615cab83398151915290636352211e9060240160206040518083038186803b1580156137a357600080fd5b505afa1580156137b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137db9190614bdc565b6001600160a01b031614156137f25750600161110a565b60005b825181101561383b5782818151811061381057613810615c13565b602002602001015184141561382957600191505061110a565b8061383381615bb8565b9150506137f5565b5050600092915050565b6138508484846131db565b61385c84848484614359565b6128575760405162461bcd60e51b815260040161120a906158a8565b6138806118d9565b611e805760405162461bcd60e51b8152602060048201526015602482015274139bdd081a5b881b5a5b9d1a5b99c81c195c9a5bd9605a1b604482015260640161120a565b6000806000806000806000806000613928604051806101400160405280600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6139318b611d59565b815261393c8b612114565b602082015261394a8b61304b565b60408201526139588b6124ab565b60608201526139668b611340565b60808201526139748b6114f8565b60a08201526139828b612137565b60c08201526139908b61240e565b60e0820181905260c082015160a0830151608084015160608501516040860151602087015187516139c19190615aef565b6139cb9190615aef565b6139d59190615aef565b6139df9190615aef565b6139e99190615aef565b6139f39190615aef565b6139fd9190615aef565b61010082018190526000906305f5e1009063820be74590613a2290630680985e615b1b565b613a2c9190615b3a565b613a369190615b07565b9050816000015182602001518360400151846060015185608001518660a001518760c001518860e00151889a509a509a509a509a509a509a509a509a5050509193959799909294969850565b6060613a8c614a33565b613c0b6040518060400160405280601081526020016f666c6970576561706f6e73506172747360801b815250608a8d600f8110613acb57613acb615c13565b0160a88c600f8110613adf57613adf615c13565b0160b78c600f8110613af357613af3615c13565b0160c68c600f8110613b0757613b07615c13565b0160d58c600f8110613b1b57613b1b615c13565b01613be26040518060400160405280600881526020016713d493905351539560c21b81525060e48e600f8110613b5357613b53615c13565b018054613b5f90615b7d565b80601f0160208091040260200160405190810160405280929190818152602001828054613b8b90615b7d565b8015613bd85780601f10613bad57610100808354040283529160200191613bd8565b820191906000526020600020905b815481529060010190602001808311613bbb57829003601f168201915b5050505050614463565b604051602001613bf7969594939291906153ca565b604051602081830303815290604052614463565b8152604080518082018252601081526f666c6970576561706f6e73506172747360801b602082810191909152825180840190935260048352630313038360e41b90830152613c589161448f565b6020820152613c66846144a6565b604082015260998a600f8110613c7e57613c7e615c13565b018054613c8a90615b7d565b80601f0160208091040260200160405190810160405280929190818152602001828054613cb690615b7d565b8015613d035780601f10613cd857610100808354040283529160200191613d03565b820191906000526020600020905b815481529060010190602001808311613ce657829003601f168201915b505050505081600360048110613d1b57613d1b615c13565b6020020152613d28614a33565b613d60604051806040016040528060178152602001763b34b2bba137bc1e911810181018981c181018981c181160491b81525061465f565b815260f38054613d6f90615b7d565b80601f0160208091040260200160405190810160405280929190818152602001828054613d9b90615b7d565b8015613de85780601f10613dbd57610100808354040283529160200191613de8565b820191906000526020600020905b815481529060010190602001808311613dcb57829003601f168201915b505050505081600160048110613e0057613e00615c13565b6020020152613e66613e1185614672565b604051602001613e219190615802565b60408051808303601f1901815282825285516020808801519388015160608901519395613e529593949192016151d9565b6040516020818303038152906040526146d9565b60408281019182528051808201825260068152651e17b9bb339f60d11b6020808301919091526060850182905284518186015194519351613ead95919491939192016151d9565b604051602081830303815290604052925050509998505050505050505050565b6060613ed8866146ee565b600886601d8110613eeb57613eeb615c13565b01602586601d8110613eff57613eff615c13565b01606886600f8110613f1357613f13615c13565b01604286601d8110613f2757613f27615c13565b01604051602001613f3c959493929190615317565b604051602081830303815290604052905095945050505050565b805160609080613f76575050604080516020810190915260008152919050565b60006003613f85836002615aef565b613f8f9190615b07565b613f9a906004615b1b565b90506000613fa9826020615aef565b6001600160401b03811115613fc057613fc0615c29565b6040519080825280601f01601f191660200182016040528015613fea576020820181803683370190505b5090506000604051806060016040528060408152602001615c6b604091399050600181016020830160005b86811015614076576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b835260049092019101614015565b50600386066001811461409057600281146140a1576140ad565b613d3d60f01b6001198301526140ad565b603d60f81b6000198301525b505050918152949350505050565b6060614155605f60005b0180546140d190615b7d565b80601f01602080910402602001604051908101604052809291908181526020018280546140fd90615b7d565b801561414a5780601f1061411f5761010080835404028352916020019161414a565b820191906000526020600020905b81548152906001019060200180831161412d57829003601f168201915b50505050508b6147eb565b614161605f60016140c5565b61416d605f60026140c5565b614179605f60036140c5565b614185605f60046140c5565b614191605f60056140c5565b61419d605f60066140c5565b6141a9605f60076140c5565b6141b5605f60086140c5565b6040516020016141cd99989796959493929190615230565b60405160208183030381529060405290509998505050505050505050565b6086546201000090046001600160a01b03163314611e805760405162461bcd60e51b8152602060048201526011602482015270165bdd4818d85b89dd08191bc81d1a185d607a1b604482015260640161120a565b600061424a82611b87565b9050614258816000846142d4565b6142636000836130ab565b6001600160a01b038116600090815260036020526040812080546001929061428c908490615b3a565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b03841690600080516020615ccb833981519152908390a45050565b6001600160a01b0383161561133b576142eb6118d9565b15806142f9575060865460ff165b61133b5760405162461bcd60e51b815260206004820152601760248201527614dd1a5b1b081a5b881b5a5b9d1a5b99c81c195c9a5bd9604a1b604482015260640161120a565b6118d5828260405180602001604052806000815250614808565b60006001600160a01b0384163b1561445b57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061439d903390899088908890600401615858565b602060405180830381600087803b1580156143b757600080fd5b505af19250505080156143e7575060408051601f3d908101601f191682019092526143e491810190614fb5565b60015b614441573d808015614415576040519150601f19603f3d011682016040523d82523d6000602084013e61441a565b606091505b5080516144395760405162461bcd60e51b815260040161120a906158a8565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061147a565b50600161147a565b606082826040516020016144789291906154f3565b604051602081830303815290604052905092915050565b606082838360405160200161447893929190615685565b606081600914806144b7575081600d145b1561454e5760f480546144c990615b7d565b80601f01602080910402602001604051908101604052809291908181526020018280546144f590615b7d565b80156145425780601f1061451757610100808354040283529160200191614542565b820191906000526020600020905b81548152906001019060200180831161452557829003601f168201915b50505050509050919050565b816007148061455d575081600b145b1561456f5760f580546144c990615b7d565b816006148061457e575081600c145b156145905760f680546144c990615b7d565b81158061459d575081600e145b156145d05760f460f560f66040516020016145ba939291906153a9565b6040516020818303038152906040529050919050565b81600114806145df5750816002145b156145f95760f460f56040516020016145ba929190615394565b81600314806146085750816004145b156146225760f460f66040516020016145ba929190615394565b8160051480614631575081600a145b1561464b5760f660f56040516020016145ba929190615394565b505060408051602081019091526000815290565b6060816040516020016145ba9190615747565b606081601e141561469a5750506040805180820190915260018152600360fc1b602082015290565b601e8211156146b65761110a6146b1601e84615b3a565b6146ee565b6146c46146b183601e615b3a565b6040516020016145ba91906157d9565b919050565b6060828260405160200161447892919061548a565b6060816147125750506040805180820190915260018152600360fc1b602082015290565b8160005b811561473c578061472681615bb8565b91506147359050600a83615b07565b9150614716565b6000816001600160401b0381111561475657614756615c29565b6040519080825280601f01601f191660200182016040528015614780576020820181803683370190505b5090505b841561147a57614795600183615b3a565b91506147a2600a86615bd3565b6147ad906030615aef565b60f81b8183815181106147c2576147c2615c13565b60200101906001600160f81b031916908160001a9053506147e4600a86615b07565b9450614784565b6060826147f7836146ee565b604051602001614478929190615417565b614812838361483b565b61481f6000848484614359565b61133b5760405162461bcd60e51b815260040161120a906158a8565b6001600160a01b0382166148915760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161120a565b61489a8161308e565b156148e65760405162461bcd60e51b815260206004820152601c60248201527b115490cdcc8c4e881d1bdad95b88185b1c9958591e481b5a5b9d195960221b604482015260640161120a565b6148f2600083836142d4565b6001600160a01b038216600090815260036020526040812080546001929061491b908490615aef565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386169081179091559051839290600080516020615ccb833981519152908290a45050565b82600f81019282156149a7579160200282015b828111156149a757825180516149979184916020909101906149b3565b509160200191906001019061497a565b5061188d929150614a5a565b8280546149bf90615b7d565b90600052602060002090601f0160209004810192826149e15760008555614a27565b82601f106149fa57805160ff1916838001178555614a27565b82800160010185558215614a27579182015b82811115614a27578251825591602001919060010190614a0c565b5061188d929150614a77565b60405180608001604052806004905b6060815260200190600190039081614a425790505090565b8082111561188d576000614a6e8282614a8c565b50600101614a5a565b5b8082111561188d5760008155600101614a78565b508054614a9890615b7d565b6000825580601f10614aa8575050565b601f016020900490600052602060002090810190611b849190614a77565b60006001600160401b03831115614adf57614adf615c29565b614af2601f8401601f1916602001615a9c565b9050828152838383011115614b0657600080fd5b828260208301376000602084830101529392505050565b600082601f830112614b2e57600080fd5b81356020614b43614b3e83615acc565b615a9c565b80838252828201915082860187848660051b8901011115614b6357600080fd5b60005b85811015614b8257813584529284019290840190600101614b66565b5090979650505050505050565b803580151581146146d457600080fd5b600082601f830112614bb057600080fd5b61369483833560208501614ac6565b600060208284031215614bd157600080fd5b813561369481615c3f565b600060208284031215614bee57600080fd5b815161369481615c3f565b60008060408385031215614c0c57600080fd5b8235614c1781615c3f565b91506020830135614c2781615c3f565b809150509250929050565b600080600060608486031215614c4757600080fd5b8335614c5281615c3f565b92506020840135614c6281615c3f565b929592945050506040919091013590565b60008060008060808587031215614c8957600080fd5b8435614c9481615c3f565b93506020850135614ca481615c3f565b92506040850135915060608501356001600160401b03811115614cc657600080fd5b8501601f81018713614cd757600080fd5b614ce687823560208401614ac6565b91505092959194509250565b60008060408385031215614d0557600080fd5b8235614d1081615c3f565b9150614d1e60208401614b8f565b90509250929050565b60008060408385031215614d3a57600080fd5b8235614d4581615c3f565b946020939093013593505050565b60006020808385031215614d6657600080fd5b82356001600160401b0380821115614d7d57600080fd5b818501915085601f830112614d9157600080fd5b614d99615a73565b8083886101e086011115614dac57600080fd5b6000805b600f811015614de657823586811115614dc7578283fd5b614dd38c828a01614b9f565b8652509387019391870191600101614db0565b50919998505050505050505050565b60008060408385031215614e0857600080fd5b82356001600160401b0380821115614e1f57600080fd5b818501915085601f830112614e3357600080fd5b81356020614e43614b3e83615acc565b8083825282820191508286018a848660051b8901011115614e6357600080fd5b6000805b86811015614e9e57823588811115614e7d578283fd5b614e8b8e88838d0101614b9f565b8652509385019391850191600101614e67565b50919b999093013599505050505050505050565b600060208284031215614ec457600080fd5b81356001600160401b03811115614eda57600080fd5b61147a84828501614b1d565b60006020808385031215614ef957600080fd5b82516001600160401b03811115614f0f57600080fd5b8301601f81018513614f2057600080fd5b8051614f2e614b3e82615acc565b80828252848201915084840188868560051b8701011115614f4e57600080fd5b600094505b83851015614f71578051835260019490940193918501918501614f53565b50979650505050505050565b600060208284031215614f8f57600080fd5b61369482614b8f565b600060208284031215614faa57600080fd5b813561369481615c54565b600060208284031215614fc757600080fd5b815161369481615c54565b60008060008060808587031215614fe857600080fd5b84356001600160401b0380821115614fff57600080fd5b61500b88838901614b9f565b9550602087013591508082111561502157600080fd5b61502d88838901614b9f565b9450604087013591508082111561504357600080fd5b61504f88838901614b9f565b9350606087013591508082111561506557600080fd5b50614ce687828801614b9f565b60006020828403121561508457600080fd5b5035919050565b60006020828403121561509d57600080fd5b5051919050565b600080604083850312156150b757600080fd5b8235915060208301356001600160401b038111156150d457600080fd5b6150e085828601614b1d565b9150509250929050565b60008151808452615102816020860160208601615b51565b601f01601f19169290920160200192915050565b60008151615128818560208601615b51565b9290920192915050565b8054600090600181811c908083168061514c57607f831692505b602080841082141561516e57634e487b7160e01b600052602260045260246000fd5b8180156151825760018114615193576151c0565b60ff198616895284890196506151c0565b60008881526020902060005b868110156151b85781548b82015290850190830161519f565b505084890196505b50505050505092915050565b600b60fa1b815260010190565b600085516151eb818460208a01615b51565b8551908301906151ff818360208a01615b51565b8551910190615212818360208901615b51565b8451910190615225818360208801615b51565b019695505050505050565b60008a51615242818460208f01615b51565b600b60fa1b9083019081528a51615260816001840160208f01615b51565b600b60fa1b600192909101918201528951615282816002840160208e01615b51565b600b60fa1b6002929091019182015288516152a4816003840160208d01615b51565b600b60fa1b6003929091019182015287516152c6816004840160208c01615b51565b6153066153006152ef6152fa6152ef6152f46152ef6152e96004898b01016151cc565b8f615116565b6151cc565b8c615116565b89615116565b86615116565b9d9c50505050505050505050505050565b60008651615329818460208b01615b51565b6201016960ed1b9083019081526153436003820188615132565b9050602d60f81b81526153596001820187615132565b9050600160fd1b815261536f6001820186615132565b90506301037b3160e51b81526153886004820185615132565b98975050505050505050565b600061147a6153a38386615132565b84615132565b60006153c16153a36153bb8488615132565b86615132565b95945050505050565b60006153fa6153f46153ee6153e86153e2868d615132565b8b615132565b89615132565b87615132565b85615132565b835161540a818360208801615b51565b0198975050505050505050565b6f3d913a3930b4ba2fba3cb832911d101160811b81528251600090615443816010850160208801615b51565b6b1116113b30b63ab2911d101160a11b601091840191820152835161546f81601c840160208801615b51565b61227d60f01b601c9290910191820152601e01949350505050565b6d1e33903a3930b739b337b9369e9160911b815282516000906154b481600e850160208801615b51565b61111f60f11b600e9184019182015283516154d6816010840160208801615b51565b631e17b39f60e11b60109290910191820152601401949350505050565b661e339034b21e9160c91b81528251600090615516816007850160208801615b51565b61111f60f11b6007918401918201528351615538816009840160208801615b51565b631e17b39f60e11b60099290910191820152600d01949350505050565b693d913730b6b2911d101160b11b8152845160009061557b81600a850160208a01615b51565b72111610113232b9b1b934b83a34b7b7111d101160691b600a918401918201526155a8601d820187615132565b90507f222c2022696d616765223a2022646174613a696d6167652f7376672b786d6c3b81526618985cd94d8d0b60ca1b602082015284516155f0816027840160208901615b51565b71222c202261747472696275746573223a205b60701b602792909101918201528351615623816039840160208801615b51565b615d7d60f01b60399290910191820152603b019695505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000825161567881601d850160208701615b51565b91909101601d0192915050565b713c75736520786c696e6b3a687265663d222360701b815283516000906156b3816012850160208901615b51565b682220687265663d222360b81b60129184019182015284516156dc81601b840160208901615b51565b7f22207472616e73666f726d3d227363616c65282d31203129207472616e736c61601b9290910191820152637465282d60e01b603b820152835161572781603f840160208801615b51565b6516181491179f60d11b603f929091019182015260450195945050505050565b7f3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323081527f30302f7376672220786d6c6e733a786c696e6b3d22687474703a2f2f7777772e60208201527203b999737b93397989c9c9c97bc3634b735911606d1b6040820152600082516157c1816053850160208701615b51565b601f60f91b6053939091019283015250605401919050565b602d60f81b8152600082516157f5816001850160208701615b51565b9190910160010192915050565b660e4dee8c2e8ca560cb1b815260008251615824816007850160208701615b51565b682c3534302c3534302960b81b6007939091019283015250601001919050565b6001600160a01b0391909116815260200190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061588b908301846150ea565b9695505050505050565b60208152600061369460208301846150ea565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252601b908201527a151bdad95b881dd85cc8185b1c9958591e481899595b881d5cd959602a1b604082015260600190565b602080825260149082015273496e73756666696369656e742062616c616e636560601b604082015260600190565b6020808252601390820152722737ba103a3432903a37b5b2b71037bbb732b960691b604082015260600190565b60208082526012908201527143616e2774206d696e7420616e796d6f726560701b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6040516101e081016001600160401b0381118282101715615a9657615a96615c29565b60405290565b604051601f8201601f191681016001600160401b0381118282101715615ac457615ac4615c29565b604052919050565b60006001600160401b03821115615ae557615ae5615c29565b5060051b60200190565b60008219821115615b0257615b02615be7565b500190565b600082615b1657615b16615bfd565b500490565b6000816000190483118215151615615b3557615b35615be7565b500290565b600082821015615b4c57615b4c615be7565b500390565b60005b83811015615b6c578181015183820152602001615b54565b838111156128575750506000910152565b600181811c90821680615b9157607f821691505b60208210811415615bb257634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415615bcc57615bcc615be7565b5060010190565b600082615be257615be2615bfd565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114611b8457600080fd5b6001600160e01b031981168114611b8457600080fdfe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f00000000000000000000000005a46f1e545526fb803ff974c790acea34d1f2d6ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212204f6c5e2da2bae33bd8fdcb6b487dd27636d77765bcf7531617c72ec9612986cf64736f6c63430008060033546865205079746861676f7265616e207363686f6f6c206f662074686f7567687420746561636865732075732074686174206e756d626572732061726520746865206261736973206f662074686520656e7469726520756e6976657273652c207468652062617365206c61796572206f6620706572636569766564207265616c6974792e205468652072657374206973206275742061206d6572652065787072657373696f6e206f662074686f73652e204e756d626572732061726520616c6c2061726f756e642075732c206861766520616c77617973206265656e2c2077696c6c20616c776179732062652e2057656c636f6d6520746f2074686520436f6c6c6563746976652e00000000000000000000000000000000000000000000000000000000615d026c000000000000000000000000000000000000000000000000000000006157bc6c
Deployed Bytecode
0x6080604052600436106104965760003560e01c806301ffc9a71461049b57806302f6ea33146104d05780630357183a146104f457806306fdde031461050a578063081812fc1461052c578063095ea7b3146105595780630b2503a61461057b5780630c5c67cf1461059b5780630ca114c5146105b2578063116134ee146105d2578063150b7a02146105fa57806318160ddd1461063357806318a55c3d14610649578063194adf65146106765780631a2832e8146106965780631b274432146106ac57806323b872dd146106c25780632baeda98146106e25780632e52d606146106f75780632e57500f14610719578063327d3f621461072e57806332cb6b0c14610743578063412974591461075957806342842e0e1461076f57806342d9d8761461078f5780634410d3d7146107af57806345af46d6146107d557806345d547eb146107ea57806346260d831461080a578063477be2f8146108375780634b21bf401461084d5780634cbf19b01461086d5780634d5ed48b146108825780634edecb3b146108af5780634f712b44146108c457806350ebef95146108e457806352d8535e146108f957806354d3b0bc146109265780635e28a758146109395780636352211e14610959578063650fdeab14610979578063667386f71461098e5780636a505918146109ae5780636e9b5d35146109c457806370a08231146109e4578063715018a614610a045780637184369f14610a19578063718d205014610a3957806371f74f0d14610a4e5780637543a32214610a645780637685807d14610a8457806376cbeea914610aac57806379d0b42814610acc5780637e7b94a814610aec5780637e87a4bc14610b0257806385d6cd5814610b2257806386136e4414610b375780638aa001fc14610b4c5780638b54a67714610b6c5780638c921d0614610b825780638da5cb5b14610ba25780638e6248e114610bb75780638eaf358a14610bcd578063911f005914610bfd5780639347e43f14610c10578063936f23ba14610c305780639556e8bd14610c4557806395d89b4114610c5a57806398da7f2114610c6f57806399a3bb1514610c845780639ec29b8214610ca4578063a22cb46514610cc4578063a405058c14610ce4578063a6d58b9914610b22578063a8b9dda414610d04578063ab63ec2414610d17578063abd09c8414610d37578063ac7475ef14610d57578063af49584114610d6c578063b88d4fde14610d8c578063bcc405fe14610dac578063c127a65914610dcc578063c634d03214610dec578063c87b56dd14610dff578063cde6437214610e1f578063ce29841814610e4c578063ce53345114610e7c578063d506c82314610e91578063d7bf81a314610eb1578063d97eb9f614610ecd578063de31e09d14610eed578063de4f5bda14610f02578063df4452e314610f2a578063e178e05114610f40578063e2fcdbf514610f60578063e520fc7e14610f80578063e6885e6f14610fa8578063e985e9c514610fc8578063eb610b9214610fe8578063ec0dd96e14611008578063f2fde38b14611028578063fa0ba2c914611048578063fa7f71b11461105e578063fb32e2091461107e578063ff62e1cc1461109e575b600080fd5b3480156104a757600080fd5b506104bb6104b6366004614f98565b6110be565b60405190151581526020015b60405180910390f35b3480156104dc57600080fd5b506104e660805481565b6040519081526020016104c7565b34801561050057600080fd5b506104e66105dc81565b34801561051657600080fd5b5061051f611110565b6040516104c79190615895565b34801561053857600080fd5b5061054c610547366004615072565b6111a2565b6040516104c79190615844565b34801561056557600080fd5b50610579610574366004614d27565b61122f565b005b34801561058757600080fd5b506104e6610596366004615072565b611340565b3480156105a757600080fd5b506104e6626f6b7f81565b3480156105be57600080fd5b5061051f6105cd366004615072565b6113d1565b3480156105de57600080fd5b5061054c736327f6305331f7e0ccfcac2bca4a4a8b87afda3281565b34801561060657600080fd5b5061061a610615366004614c73565b611471565b6040516001600160e01b031990911681526020016104c7565b34801561063f57600080fd5b506104e660845481565b34801561065557600080fd5b506104e6610664366004614bbf565b607a6020526000908152604090205481565b34801561068257600080fd5b5061051f610691366004615072565b611482565b3480156106a257600080fd5b506104e660855481565b3480156106b857600080fd5b506104e660815481565b3480156106ce57600080fd5b506105796106dd366004614c32565b611492565b3480156106ee57600080fd5b5061051f6114c3565b34801561070357600080fd5b5061054c600080516020615cab83398151915281565b34801561072557600080fd5b506104e6601481565b34801561073a57600080fd5b5061051f6114d0565b34801561074f57600080fd5b506104e66122b881565b34801561076557600080fd5b506104e660895481565b34801561077b57600080fd5b5061057961078a366004614c32565b6114dd565b34801561079b57600080fd5b506104e66107aa366004615072565b6114f8565b3480156107bb57600080fd5b5060865461054c906201000090046001600160a01b031681565b3480156107e157600080fd5b506104e661151b565b3480156107f657600080fd5b506105796108053660046150a4565b6115f6565b34801561081657600080fd5b506104e6610825366004614bbf565b607b6020526000908152604090205481565b34801561084357600080fd5b506104e6607f5481565b34801561085957600080fd5b5061051f610868366004615072565b611839565b34801561087957600080fd5b506104e6611849565b34801561088e57600080fd5b506104e661089d366004614bbf565b607d6020526000908152604090205481565b3480156108bb57600080fd5b506104e660b181565b3480156108d057600080fd5b506105796108df366004614d53565b611891565b3480156108f057600080fd5b506104bb6118d9565b34801561090557600080fd5b506104e6610914366004614bbf565b607c6020526000908152604090205481565b610579610934366004615072565b611905565b34801561094557600080fd5b50610579610954366004614bbf565b611b15565b34801561096557600080fd5b5061054c610974366004615072565b611b87565b34801561098557600080fd5b506104e6611bfe565b34801561099a57600080fd5b506104e66109a9366004615072565b611d59565b3480156109ba57600080fd5b506104e66101bc81565b3480156109d057600080fd5b506105796109df366004614d53565b611d7c565b3480156109f057600080fd5b506104e66109ff366004614bbf565b611dc0565b348015610a1057600080fd5b50610579611e47565b348015610a2557600080fd5b5061051f610a34366004615072565b611e82565b348015610a4557600080fd5b506104e6611e92565b348015610a5a57600080fd5b506104e660835481565b348015610a7057600080fd5b50610579610a7f366004614fd2565b611f5f565b348015610a9057600080fd5b5061054c73bc4ca0eda7647a8ab7c2061c2e118a18a936f13d81565b348015610ab857600080fd5b50610579610ac7366004614df5565b611fec565b348015610ad857600080fd5b50610579610ae7366004614d53565b61208e565b348015610af857600080fd5b506104e660875481565b348015610b0e57600080fd5b50610579610b1d366004614f7d565b6120d2565b348015610b2e57600080fd5b506104e6600281565b348015610b4357600080fd5b506104e6600581565b348015610b5857600080fd5b506104e6610b67366004615072565b612114565b348015610b7857600080fd5b506104e660825481565b348015610b8e57600080fd5b506104e6610b9d366004615072565b612137565b348015610bae57600080fd5b5061054c61215a565b348015610bc357600080fd5b506104e66102bc81565b348015610bd957600080fd5b506104bb610be8366004615072565b60796020526000908152604090205460ff1681565b610579610c0b3660046150a4565b612169565b348015610c1c57600080fd5b506104e6610c2b366004615072565b61240e565b348015610c3c57600080fd5b5061051f612431565b348015610c5157600080fd5b506104bb61243e565b348015610c6657600080fd5b5061051f61247f565b348015610c7b57600080fd5b5061051f61248e565b348015610c9057600080fd5b5061051f610c9f366004615072565b61249b565b348015610cb057600080fd5b506104e6610cbf366004615072565b6124ab565b348015610cd057600080fd5b50610579610cdf366004614cf2565b6124ce565b348015610cf057600080fd5b5061051f610cff366004615072565b61258f565b610579610d12366004615072565b61259f565b348015610d2357600080fd5b50610579610d32366004614df5565b612756565b348015610d4357600080fd5b5061051f610d52366004615072565b6127f8565b348015610d6357600080fd5b5061051f612808565b348015610d7857600080fd5b5061051f610d87366004615072565b612815565b348015610d9857600080fd5b50610579610da7366004614c73565b612825565b348015610db857600080fd5b50610579610dc7366004614df5565b61285d565b348015610dd857600080fd5b50610579610de7366004614bbf565b6128ff565b610579610dfa366004615072565b612958565b348015610e0b57600080fd5b5061051f610e1a366004615072565b612ad5565b348015610e2b57600080fd5b506104e6610e3a366004614bbf565b607e6020526000908152604090205481565b348015610e5857600080fd5b506104bb610e67366004615072565b60786020526000908152604090205460ff1681565b348015610e8857600080fd5b506104e6600381565b348015610e9d57600080fd5b50610579610eac366004615072565b612bb9565b348015610ebd57600080fd5b506104e667011c37937e08000081565b348015610ed957600080fd5b5061051f610ee8366004615072565b612caf565b348015610ef957600080fd5b506104e6612cbf565b348015610f0e57600080fd5b5061054c73b47e3cd837ddf8e4c57f05d70ab865de6e193bbb81565b348015610f3657600080fd5b506104e661036f81565b348015610f4c57600080fd5b50610579610f5b366004615072565b612d80565b348015610f6c57600080fd5b50610579610f7b366004614eb2565b612d91565b348015610f8c57600080fd5b5061054c7308543f4c79f7e5d585a2622ca485e8201efd9ada81565b348015610fb457600080fd5b5061051f610fc3366004615072565b612e83565b348015610fd457600080fd5b506104bb610fe3366004614bf9565b612e93565b348015610ff457600080fd5b50610579611003366004614df5565b612ec1565b34801561101457600080fd5b5061051f611023366004615072565b612f63565b34801561103457600080fd5b50610579611043366004614bbf565b612fae565b34801561105457600080fd5b506104e660885481565b34801561106a57600080fd5b506104e6611079366004615072565b61304b565b34801561108a57600080fd5b5061051f611099366004615072565b61306e565b3480156110aa57600080fd5b5061051f6110b9366004615072565b61307e565b60006001600160e01b031982166380ac58cd60e01b14806110ef57506001600160e01b03198216635b5e139f60e01b145b8061110a57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461111f90615b7d565b80601f016020809104026020016040519081016040528092919081815260200182805461114b90615b7d565b80156111985780601f1061116d57610100808354040283529160200191611198565b820191906000526020600020905b81548152906001019060200180831161117b57829003601f168201915b5050505050905090565b60006111ad8261308e565b6112135760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061123a82611b87565b9050806001600160a01b0316836001600160a01b031614156112a85760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161120a565b336001600160a01b03821614806112c457506112c48133612e93565b6113315760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776044820152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b606482015260840161120a565b61133b83836130ab565b505050565b6000600080516020615cab833981519152630b2503a6611363626f6b7f85615aef565b6040518263ffffffff1660e01b815260040161138191815260200190565b60206040518083038186803b15801561139957600080fd5b505afa1580156113ad573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061110a919061508b565b606881600f81106113e157600080fd5b0180549091506113f090615b7d565b80601f016020809104026020016040519081016040528092919081815260200182805461141c90615b7d565b80156114695780601f1061143e57610100808354040283529160200191611469565b820191906000526020600020905b81548152906001019060200180831161144c57829003601f168201915b505050505081565b630a85bd0160e11b5b949350505050565b608a81600f81106113e157600080fd5b61149c3382613119565b6114b85760405162461bcd60e51b815260040161120a906159eb565b61133b8383836131db565b60f680546113f090615b7d565b60f480546113f090615b7d565b61133b83838360405180602001604052806000815250612825565b6000600080516020615cab8339815191526342d9d876611363626f6b7f85615aef565b6040516370a0823160e01b8152600090819060029073bc4ca0eda7647a8ab7c2061c2e118a18a936f13d906370a082319061155a903390600401615844565b60206040518083038186803b15801561157257600080fd5b505afa158015611586573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115aa919061508b565b6115b49190615b1b565b336000908152607b60205260409020549091508111156115ee57336000908152607b60205260409020546115e89082615b3a565b91505090565b600091505090565b600260075414156116195760405162461bcd60e51b815260040161120a90615a3c565b6002600755611626613374565b61162f826133c1565b6116398282613411565b611641613454565b6080546105dc116116645760405162461bcd60e51b815260040161120a9061598a565b336000908152607c60205260409020546002116116935760405162461bcd60e51b815260040161120a9061592f565b60005b8151811080156116b55750336000908152607c60205260409020546002115b80156116c457506080546105dc115b1561182f5760008282815181106116dd576116dd615c13565b6020908102919091018101516000818152607990925260409091205490915060ff161561171c5760405162461bcd60e51b815260040161120a906158fa565b6040516331a9108f60e11b8152600481018290523390736327f6305331f7e0ccfcac2bca4a4a8b87afda3290636352211e9060240160206040518083038186803b15801561176957600080fd5b505afa15801561177d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117a19190614bdc565b6001600160a01b0316146117c75760405162461bcd60e51b815260040161120a9061595d565b608080549060006117d783615bb8565b90915550506000818152607960209081526040808320805460ff19166001179055338352607c909152812080549161180e83615bb8565b919050555061181c336134a8565b508061182781615bb8565b915050611696565b5050600160075550565b60c681600f81106113e157600080fd5b60008061185a61036f6122b8615b3a565b905060855460845461186c9190615b3a565b8111156115ee576085546084546118839190615b3a565b6115e89082615b3a565b5090565b3361189a61215a565b6001600160a01b0316146118c05760405162461bcd60e51b815260040161120a906159b6565b6118c86134cc565b6118d560a882600f614967565b5050565b6000426087541180156118ef57506084546122b8115b801561190057506118fe61243e565b155b905090565b600260075414156119285760405162461bcd60e51b815260040161120a90615a3c565b6002600755611935613374565b61193e816133c1565b6119478161350d565b61194f613454565b6081546101bc116119725760405162461bcd60e51b815260040161120a9061598a565b6040516370a0823160e01b815260009060029073bc4ca0eda7647a8ab7c2061c2e118a18a936f13d906370a08231906119af903390600401615844565b60206040518083038186803b1580156119c757600080fd5b505afa1580156119db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119ff919061508b565b611a099190615b1b565b336000908152607b60205260409020549091508111611a3a5760405162461bcd60e51b815260040161120a9061592f565b60005b8281108015611a4f57506081546101bc115b8015611a695750336000908152607b602052604090205482115b15611abe5760818054906000611a7e83615bb8565b9091555050336000908152607b60205260408120805491611a9e83615bb8565b9190505550611aac336134a8565b80611ab681615bb8565b915050611a3d565b6000611ad267011c37937e08000083615b1b565b9050611ae5611adf61215a565b8261356d565b6000611af18234615b3a565b1115611b0a57611b0a33611b058334615b3a565b61356d565b505060016007555050565b33611b1e61215a565b6001600160a01b031614611b445760405162461bcd60e51b815260040161120a906159b6565b611b4c6134cc565b6086805461ff001916610100179055611b6361215a565b6001600160a01b0316816001600160a01b031614611b8457611b8481612fae565b50565b6000818152600260205260408120546001600160a01b03168061110a5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161120a565b6040516371d4ed8d60e11b815260009081907308543f4c79f7e5d585a2622ca485e8201efd9ada9063e3a9db1a90611c3a903390600401615844565b60006040518083038186803b158015611c5257600080fd5b505afa158015611c66573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c8e9190810190614ee6565b516040516370a0823160e01b8152600080516020615cab833981519152906370a0823190611cc0903390600401615844565b60206040518083038186803b158015611cd857600080fd5b505afa158015611cec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d10919061508b565b611d1a9190615aef565b336000908152607d60205260409020549091508111156115ee57336000908152607d6020526040902054611d4f826003613683565b6115e89190615b3a565b6000600080516020615cab83398151915263667386f7611363626f6b7f85615aef565b33611d8561215a565b6001600160a01b031614611dab5760405162461bcd60e51b815260040161120a906159b6565b611db36134cc565b6118d560b782600f614967565b60006001600160a01b038216611e2b5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161120a565b506001600160a01b031660009081526003602052604090205490565b33611e5061215a565b6001600160a01b031614611e765760405162461bcd60e51b815260040161120a906159b6565b611e80600061369b565b565b60b781600f81106113e157600080fd5b6040516370a0823160e01b8152600090819060059073b47e3cd837ddf8e4c57f05d70ab865de6e193bbb906370a0823190611ed1903390600401615844565b60206040518083038186803b158015611ee957600080fd5b505afa158015611efd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f21919061508b565b611f2b9190615b1b565b336000908152607a60205260409020549091508111156115ee57336000908152607a60205260409020546115e89082615b3a565b33611f6861215a565b6001600160a01b031614611f8e5760405162461bcd60e51b815260040161120a906159b6565b611f966134cc565b8351611fa99060f39060208701906149b3565b508251611fbd9060f49060208601906149b3565b508151611fd19060f59060208501906149b3565b508051611fe59060f69060208401906149b3565b5050505050565b33611ff561215a565b6001600160a01b03161461201b5760405162461bcd60e51b815260040161120a906159b6565b6120236134cc565b60005b825181101561133b5782818151811061204157612041615c13565b6020026020010151609983836120579190615aef565b600f811061206757612067615c13565b01908051906020019061207b9291906149b3565b508061208681615bb8565b915050612026565b3361209761215a565b6001600160a01b0316146120bd5760405162461bcd60e51b815260040161120a906159b6565b6120c56134cc565b6118d560e482600f614967565b336120db61215a565b6001600160a01b0316146121015760405162461bcd60e51b815260040161120a906159b6565b6086805460ff1916911515919091179055565b6000600080516020615cab833981519152638aa001fc611363626f6b7f85615aef565b6000600080516020615cab833981519152638c921d06611363626f6b7f85615aef565b6006546001600160a01b031690565b6002600754141561218c5760405162461bcd60e51b815260040161120a90615a3c565b6002600755612199613374565b6121a2826133c1565b6121ac8282613411565b6121b5826136ed565b6121bd613454565b607f546102bc116121e05760405162461bcd60e51b815260040161120a9061598a565b336000908152607d602052604090205460031161220f5760405162461bcd60e51b815260040161120a9061592f565b6040516371d4ed8d60e11b81526000907308543f4c79f7e5d585a2622ca485e8201efd9ada9063e3a9db1a90612249903390600401615844565b60006040518083038186803b15801561226157600080fd5b505afa158015612275573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261229d9190810190614ee6565b905060005b8251811080156122c15750336000908152607d60205260409020546003115b80156122d05750607f546102bc115b156123b65760008382815181106122e9576122e9615c13565b6020908102919091018101516000818152607890925260409091205490915060ff16156123285760405162461bcd60e51b815260040161120a906158fa565b6123328184613759565b61234e5760405162461bcd60e51b815260040161120a9061595d565b607f805490600061235e83615bb8565b90915550506000818152607860209081526040808320805460ff19166001179055338352607d909152812080549161239583615bb8565b91905055506123a3336134a8565b50806123ae81615bb8565b9150506122a2565b60006123cb600267011c37937e080000615b07565b6123d59083615b1b565b90506123e2611adf61215a565b60006123ee8234615b3a565b11156124025761240233611b058334615b3a565b50506001600755505050565b6000600080516020615cab833981519152639347e43f611363626f6b7f85615aef565b60f380546113f090615b7d565b6000426088541180156119005750607f546102bc118061246157506081546101bc115b8061246e575060825460b1115b806119005750506080546105dc1190565b60606001805461111f90615b7d565b60f580546113f090615b7d565b60a881600f81106113e157600080fd5b6000600080516020615cab833981519152639ec29b82611363626f6b7f85615aef565b6001600160a01b0382163314156125235760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b604482015260640161120a565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60d581600f81106113e157600080fd5b600260075414156125c25760405162461bcd60e51b815260040161120a90615a3c565b60026007556125cf613374565b6125d8816133c1565b6125e18161350d565b6125e9613454565b60825460b11161260b5760405162461bcd60e51b815260040161120a9061598a565b6040516370a0823160e01b815260009060059073b47e3cd837ddf8e4c57f05d70ab865de6e193bbb906370a0823190612648903390600401615844565b60206040518083038186803b15801561266057600080fd5b505afa158015612674573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612698919061508b565b6126a29190615b1b565b336000908152607a602052604090205490915081116126d35760405162461bcd60e51b815260040161120a9061592f565b60005b82811080156126e7575060825460b1115b80156127015750336000908152607a602052604090205482115b15611abe576082805490600061271683615bb8565b9091555050336000908152607a6020526040812080549161273683615bb8565b9190505550612744336134a8565b8061274e81615bb8565b9150506126d6565b3361275f61215a565b6001600160a01b0316146127855760405162461bcd60e51b815260040161120a906159b6565b61278d6134cc565b60005b825181101561133b578281815181106127ab576127ab615c13565b602002602001015160d583836127c19190615aef565b600f81106127d1576127d1615c13565b0190805190602001906127e59291906149b3565b50806127f081615bb8565b915050612790565b600881601d81106113e157600080fd5b607780546113f090615b7d565b609981600f81106113e157600080fd5b61282f3383613119565b61284b5760405162461bcd60e51b815260040161120a906159eb565b61285784848484613845565b50505050565b3361286661215a565b6001600160a01b03161461288c5760405162461bcd60e51b815260040161120a906159b6565b6128946134cc565b60005b825181101561133b578281815181106128b2576128b2615c13565b602002602001015160c683836128c89190615aef565b600f81106128d8576128d8615c13565b0190805190602001906128ec9291906149b3565b50806128f781615bb8565b915050612897565b3361290861215a565b6001600160a01b03161461292e5760405162461bcd60e51b815260040161120a906159b6565b608680546001600160a01b03909216620100000262010000600160b01b0319909216919091179055565b6002600754141561297b5760405162461bcd60e51b815260040161120a90615a3c565b6002600755612988613374565b612991816133c1565b61299a8161350d565b6129a2613878565b6083546084546129b29190615b3a565b6129c061036f6122b8615b3a565b116129dd5760405162461bcd60e51b815260040161120a9061598a565b336000908152607e6020526040902054601411612a0c5760405162461bcd60e51b815260040161120a9061592f565b60005b8181108015612a395750608354608454612a299190615b3a565b612a3761036f6122b8615b3a565b115b8015612a545750336000908152607e60205260409020546014115b15612a9457336000908152607e60205260408120805491612a7483615bb8565b9190505550612a82336134a8565b80612a8c81615bb8565b915050612a0f565b6000612aa867011c37937e08000083615b1b565b9050612ab5611adf61215a565b6000612ac18234615b3a565b111561182f5761182f33611b058334615b3a565b60606000806000806000806000806000612aee8b6138c4565b9850985098509850985098509850985098506000612b138a8a8a8a8a8a8a8a8a613a82565b90506000612b85612b428e612b288c8e615aef565b612b328b8d615aef565b8f612b3d8b8d615aef565b613ecd565b6077612b4d85613f56565b612b5e8f8f8f8f8f8f8f8f8f6140bb565b604051602001612b719493929190615555565b604051602081830303815290604052613f56565b905080604051602001612b989190615640565b60408051601f198184030181529190529d9c50505050505050505050505050565b60026007541415612bdc5760405162461bcd60e51b815260040161120a90615a3c565b600260075533612bea61215a565b6001600160a01b031614612c105760405162461bcd60e51b815260040161120a906159b6565b612c18613374565b612c21816133c1565b612c29613878565b60855461036f11612c4c5760405162461bcd60e51b815260040161120a9061598a565b60005b8181108015612c61575060855461036f115b15612ca65760858054906000612c7683615bb8565b9190505550612c94605760855411612c8e57336134a8565b306134a8565b80612c9e81615bb8565b915050612c4f565b50506001600755565b604281601d81106113e157600080fd5b6040516370a0823160e01b81526000908190736327f6305331f7e0ccfcac2bca4a4a8b87afda32906370a0823190612cfb903390600401615844565b60206040518083038186803b158015612d1357600080fd5b505afa158015612d27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d4b919061508b565b336000908152607c60205260409020549091508111156115ee57336000908152607c6020526040902054611d4f826002613683565b612d886141eb565b611b848161423f565b33612d9a61215a565b6001600160a01b031614612dc05760405162461bcd60e51b815260040161120a906159b6565b612dc8613374565b6089544211612e0b5760405162461bcd60e51b815260206004820152600f60248201526e10d85b89dd0818db185a5b481e595d608a1b604482015260640161120a565b608954612e1b9062278d00615aef565b60895560005b815181108015612e315750605881105b156118d557612e7130612e4261215a565b848481518110612e5457612e54615c13565b602002602001015160405180602001604052806000815250613845565b80612e7b81615bb8565b915050612e21565b60e481600f81106113e157600080fd5b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b33612eca61215a565b6001600160a01b031614612ef05760405162461bcd60e51b815260040161120a906159b6565b612ef86134cc565b60005b825181101561133b57828181518110612f1657612f16615c13565b6020026020010151608a8383612f2c9190615aef565b600f8110612f3c57612f3c615c13565b019080519060200190612f509291906149b3565b5080612f5b81615bb8565b915050612efb565b60606000806000806000806000806000612f7c8b6138c4565b985098509850985098509850985098509850612f9f898989898989898989613a82565b9b9a5050505050505050505050565b33612fb761215a565b6001600160a01b031614612fdd5760405162461bcd60e51b815260040161120a906159b6565b6001600160a01b0381166130425760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161120a565b611b848161369b565b6000600080516020615cab83398151915263fa7f71b1611363626f6b7f85615aef565b602581601d81106113e157600080fd5b605f81600981106113e157600080fd5b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906130e082611b87565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006131248261308e565b6131855760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161120a565b600061319083611b87565b9050806001600160a01b0316846001600160a01b031614806131cb5750836001600160a01b03166131c0846111a2565b6001600160a01b0316145b8061147a575061147a8185612e93565b826001600160a01b03166131ee82611b87565b6001600160a01b0316146132565760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161120a565b6001600160a01b0382166132b85760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161120a565b6132c38383836142d4565b6132ce6000826130ab565b6001600160a01b03831660009081526003602052604081208054600192906132f7908490615b3a565b90915550506001600160a01b0382166000908152600360205260408120805460019290613325908490615aef565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b038681169182179092559151849391871691600080516020615ccb83398151915291a4505050565b608654610100900460ff16611e805760405162461bcd60e51b815260206004820152601360248201527210d85b89dd0818d85b1b081d1a1a5cc81e595d606a1b604482015260640161120a565b60008111611b845760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206e656564206f7420626520626967676572207468616e203000604482015260640161120a565b805182146118d55760405162461bcd60e51b815260206004820152601060248201526f098cadccee8d0e640dad2e6dac2e8c6d60831b604482015260640161120a565b61345c61243e565b611e805760405162461bcd60e51b815260206004820152601f60248201527f5265736572766564206d696e74696e6720706572696f64206973206f76657200604482015260640161120a565b6134b48160845461433f565b608480549060006134c483615bb8565b919050555050565b608654610100900460ff1615611e805760405162461bcd60e51b815260040161120a906020808252600490820152635775743f60e01b604082015260600190565b61351f8167011c37937e080000615b1b565b341015611b845760405162461bcd60e51b815260206004820152601c60248201527b26b4b73a1031b7b9ba101817181c1032ba34103832b9103a37b5b2b760211b604482015260640161120a565b804710156135bd5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015260640161120a565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461360a576040519150601f19603f3d011682016040523d82523d6000602084013e61360f565b606091505b505090508061133b5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c20726044820152791958da5c1a595b9d081b585e481a185d99481c995d995c9d195960321b606482015260840161120a565b60008183106136925781613694565b825b9392505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b80613701600267011c37937e080000615b07565b61370b9190615b1b565b341015611b845760405162461bcd60e51b815260206004820152601c60248201527b26b4b73a1031b7b9ba101817181a1032ba34103832b9103a37b5b2b760211b604482015260640161120a565b6040516331a9108f60e11b8152600481018390526000903390600080516020615cab83398151915290636352211e9060240160206040518083038186803b1580156137a357600080fd5b505afa1580156137b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137db9190614bdc565b6001600160a01b031614156137f25750600161110a565b60005b825181101561383b5782818151811061381057613810615c13565b602002602001015184141561382957600191505061110a565b8061383381615bb8565b9150506137f5565b5050600092915050565b6138508484846131db565b61385c84848484614359565b6128575760405162461bcd60e51b815260040161120a906158a8565b6138806118d9565b611e805760405162461bcd60e51b8152602060048201526015602482015274139bdd081a5b881b5a5b9d1a5b99c81c195c9a5bd9605a1b604482015260640161120a565b6000806000806000806000806000613928604051806101400160405280600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6139318b611d59565b815261393c8b612114565b602082015261394a8b61304b565b60408201526139588b6124ab565b60608201526139668b611340565b60808201526139748b6114f8565b60a08201526139828b612137565b60c08201526139908b61240e565b60e0820181905260c082015160a0830151608084015160608501516040860151602087015187516139c19190615aef565b6139cb9190615aef565b6139d59190615aef565b6139df9190615aef565b6139e99190615aef565b6139f39190615aef565b6139fd9190615aef565b61010082018190526000906305f5e1009063820be74590613a2290630680985e615b1b565b613a2c9190615b3a565b613a369190615b07565b9050816000015182602001518360400151846060015185608001518660a001518760c001518860e00151889a509a509a509a509a509a509a509a509a5050509193959799909294969850565b6060613a8c614a33565b613c0b6040518060400160405280601081526020016f666c6970576561706f6e73506172747360801b815250608a8d600f8110613acb57613acb615c13565b0160a88c600f8110613adf57613adf615c13565b0160b78c600f8110613af357613af3615c13565b0160c68c600f8110613b0757613b07615c13565b0160d58c600f8110613b1b57613b1b615c13565b01613be26040518060400160405280600881526020016713d493905351539560c21b81525060e48e600f8110613b5357613b53615c13565b018054613b5f90615b7d565b80601f0160208091040260200160405190810160405280929190818152602001828054613b8b90615b7d565b8015613bd85780601f10613bad57610100808354040283529160200191613bd8565b820191906000526020600020905b815481529060010190602001808311613bbb57829003601f168201915b5050505050614463565b604051602001613bf7969594939291906153ca565b604051602081830303815290604052614463565b8152604080518082018252601081526f666c6970576561706f6e73506172747360801b602082810191909152825180840190935260048352630313038360e41b90830152613c589161448f565b6020820152613c66846144a6565b604082015260998a600f8110613c7e57613c7e615c13565b018054613c8a90615b7d565b80601f0160208091040260200160405190810160405280929190818152602001828054613cb690615b7d565b8015613d035780601f10613cd857610100808354040283529160200191613d03565b820191906000526020600020905b815481529060010190602001808311613ce657829003601f168201915b505050505081600360048110613d1b57613d1b615c13565b6020020152613d28614a33565b613d60604051806040016040528060178152602001763b34b2bba137bc1e911810181018981c181018981c181160491b81525061465f565b815260f38054613d6f90615b7d565b80601f0160208091040260200160405190810160405280929190818152602001828054613d9b90615b7d565b8015613de85780601f10613dbd57610100808354040283529160200191613de8565b820191906000526020600020905b815481529060010190602001808311613dcb57829003601f168201915b505050505081600160048110613e0057613e00615c13565b6020020152613e66613e1185614672565b604051602001613e219190615802565b60408051808303601f1901815282825285516020808801519388015160608901519395613e529593949192016151d9565b6040516020818303038152906040526146d9565b60408281019182528051808201825260068152651e17b9bb339f60d11b6020808301919091526060850182905284518186015194519351613ead95919491939192016151d9565b604051602081830303815290604052925050509998505050505050505050565b6060613ed8866146ee565b600886601d8110613eeb57613eeb615c13565b01602586601d8110613eff57613eff615c13565b01606886600f8110613f1357613f13615c13565b01604286601d8110613f2757613f27615c13565b01604051602001613f3c959493929190615317565b604051602081830303815290604052905095945050505050565b805160609080613f76575050604080516020810190915260008152919050565b60006003613f85836002615aef565b613f8f9190615b07565b613f9a906004615b1b565b90506000613fa9826020615aef565b6001600160401b03811115613fc057613fc0615c29565b6040519080825280601f01601f191660200182016040528015613fea576020820181803683370190505b5090506000604051806060016040528060408152602001615c6b604091399050600181016020830160005b86811015614076576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b835260049092019101614015565b50600386066001811461409057600281146140a1576140ad565b613d3d60f01b6001198301526140ad565b603d60f81b6000198301525b505050918152949350505050565b6060614155605f60005b0180546140d190615b7d565b80601f01602080910402602001604051908101604052809291908181526020018280546140fd90615b7d565b801561414a5780601f1061411f5761010080835404028352916020019161414a565b820191906000526020600020905b81548152906001019060200180831161412d57829003601f168201915b50505050508b6147eb565b614161605f60016140c5565b61416d605f60026140c5565b614179605f60036140c5565b614185605f60046140c5565b614191605f60056140c5565b61419d605f60066140c5565b6141a9605f60076140c5565b6141b5605f60086140c5565b6040516020016141cd99989796959493929190615230565b60405160208183030381529060405290509998505050505050505050565b6086546201000090046001600160a01b03163314611e805760405162461bcd60e51b8152602060048201526011602482015270165bdd4818d85b89dd08191bc81d1a185d607a1b604482015260640161120a565b600061424a82611b87565b9050614258816000846142d4565b6142636000836130ab565b6001600160a01b038116600090815260036020526040812080546001929061428c908490615b3a565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b03841690600080516020615ccb833981519152908390a45050565b6001600160a01b0383161561133b576142eb6118d9565b15806142f9575060865460ff165b61133b5760405162461bcd60e51b815260206004820152601760248201527614dd1a5b1b081a5b881b5a5b9d1a5b99c81c195c9a5bd9604a1b604482015260640161120a565b6118d5828260405180602001604052806000815250614808565b60006001600160a01b0384163b1561445b57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061439d903390899088908890600401615858565b602060405180830381600087803b1580156143b757600080fd5b505af19250505080156143e7575060408051601f3d908101601f191682019092526143e491810190614fb5565b60015b614441573d808015614415576040519150601f19603f3d011682016040523d82523d6000602084013e61441a565b606091505b5080516144395760405162461bcd60e51b815260040161120a906158a8565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061147a565b50600161147a565b606082826040516020016144789291906154f3565b604051602081830303815290604052905092915050565b606082838360405160200161447893929190615685565b606081600914806144b7575081600d145b1561454e5760f480546144c990615b7d565b80601f01602080910402602001604051908101604052809291908181526020018280546144f590615b7d565b80156145425780601f1061451757610100808354040283529160200191614542565b820191906000526020600020905b81548152906001019060200180831161452557829003601f168201915b50505050509050919050565b816007148061455d575081600b145b1561456f5760f580546144c990615b7d565b816006148061457e575081600c145b156145905760f680546144c990615b7d565b81158061459d575081600e145b156145d05760f460f560f66040516020016145ba939291906153a9565b6040516020818303038152906040529050919050565b81600114806145df5750816002145b156145f95760f460f56040516020016145ba929190615394565b81600314806146085750816004145b156146225760f460f66040516020016145ba929190615394565b8160051480614631575081600a145b1561464b5760f660f56040516020016145ba929190615394565b505060408051602081019091526000815290565b6060816040516020016145ba9190615747565b606081601e141561469a5750506040805180820190915260018152600360fc1b602082015290565b601e8211156146b65761110a6146b1601e84615b3a565b6146ee565b6146c46146b183601e615b3a565b6040516020016145ba91906157d9565b919050565b6060828260405160200161447892919061548a565b6060816147125750506040805180820190915260018152600360fc1b602082015290565b8160005b811561473c578061472681615bb8565b91506147359050600a83615b07565b9150614716565b6000816001600160401b0381111561475657614756615c29565b6040519080825280601f01601f191660200182016040528015614780576020820181803683370190505b5090505b841561147a57614795600183615b3a565b91506147a2600a86615bd3565b6147ad906030615aef565b60f81b8183815181106147c2576147c2615c13565b60200101906001600160f81b031916908160001a9053506147e4600a86615b07565b9450614784565b6060826147f7836146ee565b604051602001614478929190615417565b614812838361483b565b61481f6000848484614359565b61133b5760405162461bcd60e51b815260040161120a906158a8565b6001600160a01b0382166148915760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161120a565b61489a8161308e565b156148e65760405162461bcd60e51b815260206004820152601c60248201527b115490cdcc8c4e881d1bdad95b88185b1c9958591e481b5a5b9d195960221b604482015260640161120a565b6148f2600083836142d4565b6001600160a01b038216600090815260036020526040812080546001929061491b908490615aef565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386169081179091559051839290600080516020615ccb833981519152908290a45050565b82600f81019282156149a7579160200282015b828111156149a757825180516149979184916020909101906149b3565b509160200191906001019061497a565b5061188d929150614a5a565b8280546149bf90615b7d565b90600052602060002090601f0160209004810192826149e15760008555614a27565b82601f106149fa57805160ff1916838001178555614a27565b82800160010185558215614a27579182015b82811115614a27578251825591602001919060010190614a0c565b5061188d929150614a77565b60405180608001604052806004905b6060815260200190600190039081614a425790505090565b8082111561188d576000614a6e8282614a8c565b50600101614a5a565b5b8082111561188d5760008155600101614a78565b508054614a9890615b7d565b6000825580601f10614aa8575050565b601f016020900490600052602060002090810190611b849190614a77565b60006001600160401b03831115614adf57614adf615c29565b614af2601f8401601f1916602001615a9c565b9050828152838383011115614b0657600080fd5b828260208301376000602084830101529392505050565b600082601f830112614b2e57600080fd5b81356020614b43614b3e83615acc565b615a9c565b80838252828201915082860187848660051b8901011115614b6357600080fd5b60005b85811015614b8257813584529284019290840190600101614b66565b5090979650505050505050565b803580151581146146d457600080fd5b600082601f830112614bb057600080fd5b61369483833560208501614ac6565b600060208284031215614bd157600080fd5b813561369481615c3f565b600060208284031215614bee57600080fd5b815161369481615c3f565b60008060408385031215614c0c57600080fd5b8235614c1781615c3f565b91506020830135614c2781615c3f565b809150509250929050565b600080600060608486031215614c4757600080fd5b8335614c5281615c3f565b92506020840135614c6281615c3f565b929592945050506040919091013590565b60008060008060808587031215614c8957600080fd5b8435614c9481615c3f565b93506020850135614ca481615c3f565b92506040850135915060608501356001600160401b03811115614cc657600080fd5b8501601f81018713614cd757600080fd5b614ce687823560208401614ac6565b91505092959194509250565b60008060408385031215614d0557600080fd5b8235614d1081615c3f565b9150614d1e60208401614b8f565b90509250929050565b60008060408385031215614d3a57600080fd5b8235614d4581615c3f565b946020939093013593505050565b60006020808385031215614d6657600080fd5b82356001600160401b0380821115614d7d57600080fd5b818501915085601f830112614d9157600080fd5b614d99615a73565b8083886101e086011115614dac57600080fd5b6000805b600f811015614de657823586811115614dc7578283fd5b614dd38c828a01614b9f565b8652509387019391870191600101614db0565b50919998505050505050505050565b60008060408385031215614e0857600080fd5b82356001600160401b0380821115614e1f57600080fd5b818501915085601f830112614e3357600080fd5b81356020614e43614b3e83615acc565b8083825282820191508286018a848660051b8901011115614e6357600080fd5b6000805b86811015614e9e57823588811115614e7d578283fd5b614e8b8e88838d0101614b9f565b8652509385019391850191600101614e67565b50919b999093013599505050505050505050565b600060208284031215614ec457600080fd5b81356001600160401b03811115614eda57600080fd5b61147a84828501614b1d565b60006020808385031215614ef957600080fd5b82516001600160401b03811115614f0f57600080fd5b8301601f81018513614f2057600080fd5b8051614f2e614b3e82615acc565b80828252848201915084840188868560051b8701011115614f4e57600080fd5b600094505b83851015614f71578051835260019490940193918501918501614f53565b50979650505050505050565b600060208284031215614f8f57600080fd5b61369482614b8f565b600060208284031215614faa57600080fd5b813561369481615c54565b600060208284031215614fc757600080fd5b815161369481615c54565b60008060008060808587031215614fe857600080fd5b84356001600160401b0380821115614fff57600080fd5b61500b88838901614b9f565b9550602087013591508082111561502157600080fd5b61502d88838901614b9f565b9450604087013591508082111561504357600080fd5b61504f88838901614b9f565b9350606087013591508082111561506557600080fd5b50614ce687828801614b9f565b60006020828403121561508457600080fd5b5035919050565b60006020828403121561509d57600080fd5b5051919050565b600080604083850312156150b757600080fd5b8235915060208301356001600160401b038111156150d457600080fd5b6150e085828601614b1d565b9150509250929050565b60008151808452615102816020860160208601615b51565b601f01601f19169290920160200192915050565b60008151615128818560208601615b51565b9290920192915050565b8054600090600181811c908083168061514c57607f831692505b602080841082141561516e57634e487b7160e01b600052602260045260246000fd5b8180156151825760018114615193576151c0565b60ff198616895284890196506151c0565b60008881526020902060005b868110156151b85781548b82015290850190830161519f565b505084890196505b50505050505092915050565b600b60fa1b815260010190565b600085516151eb818460208a01615b51565b8551908301906151ff818360208a01615b51565b8551910190615212818360208901615b51565b8451910190615225818360208801615b51565b019695505050505050565b60008a51615242818460208f01615b51565b600b60fa1b9083019081528a51615260816001840160208f01615b51565b600b60fa1b600192909101918201528951615282816002840160208e01615b51565b600b60fa1b6002929091019182015288516152a4816003840160208d01615b51565b600b60fa1b6003929091019182015287516152c6816004840160208c01615b51565b6153066153006152ef6152fa6152ef6152f46152ef6152e96004898b01016151cc565b8f615116565b6151cc565b8c615116565b89615116565b86615116565b9d9c50505050505050505050505050565b60008651615329818460208b01615b51565b6201016960ed1b9083019081526153436003820188615132565b9050602d60f81b81526153596001820187615132565b9050600160fd1b815261536f6001820186615132565b90506301037b3160e51b81526153886004820185615132565b98975050505050505050565b600061147a6153a38386615132565b84615132565b60006153c16153a36153bb8488615132565b86615132565b95945050505050565b60006153fa6153f46153ee6153e86153e2868d615132565b8b615132565b89615132565b87615132565b85615132565b835161540a818360208801615b51565b0198975050505050505050565b6f3d913a3930b4ba2fba3cb832911d101160811b81528251600090615443816010850160208801615b51565b6b1116113b30b63ab2911d101160a11b601091840191820152835161546f81601c840160208801615b51565b61227d60f01b601c9290910191820152601e01949350505050565b6d1e33903a3930b739b337b9369e9160911b815282516000906154b481600e850160208801615b51565b61111f60f11b600e9184019182015283516154d6816010840160208801615b51565b631e17b39f60e11b60109290910191820152601401949350505050565b661e339034b21e9160c91b81528251600090615516816007850160208801615b51565b61111f60f11b6007918401918201528351615538816009840160208801615b51565b631e17b39f60e11b60099290910191820152600d01949350505050565b693d913730b6b2911d101160b11b8152845160009061557b81600a850160208a01615b51565b72111610113232b9b1b934b83a34b7b7111d101160691b600a918401918201526155a8601d820187615132565b90507f222c2022696d616765223a2022646174613a696d6167652f7376672b786d6c3b81526618985cd94d8d0b60ca1b602082015284516155f0816027840160208901615b51565b71222c202261747472696275746573223a205b60701b602792909101918201528351615623816039840160208801615b51565b615d7d60f01b60399290910191820152603b019695505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000825161567881601d850160208701615b51565b91909101601d0192915050565b713c75736520786c696e6b3a687265663d222360701b815283516000906156b3816012850160208901615b51565b682220687265663d222360b81b60129184019182015284516156dc81601b840160208901615b51565b7f22207472616e73666f726d3d227363616c65282d31203129207472616e736c61601b9290910191820152637465282d60e01b603b820152835161572781603f840160208801615b51565b6516181491179f60d11b603f929091019182015260450195945050505050565b7f3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323081527f30302f7376672220786d6c6e733a786c696e6b3d22687474703a2f2f7777772e60208201527203b999737b93397989c9c9c97bc3634b735911606d1b6040820152600082516157c1816053850160208701615b51565b601f60f91b6053939091019283015250605401919050565b602d60f81b8152600082516157f5816001850160208701615b51565b9190910160010192915050565b660e4dee8c2e8ca560cb1b815260008251615824816007850160208701615b51565b682c3534302c3534302960b81b6007939091019283015250601001919050565b6001600160a01b0391909116815260200190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061588b908301846150ea565b9695505050505050565b60208152600061369460208301846150ea565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252601b908201527a151bdad95b881dd85cc8185b1c9958591e481899595b881d5cd959602a1b604082015260600190565b602080825260149082015273496e73756666696369656e742062616c616e636560601b604082015260600190565b6020808252601390820152722737ba103a3432903a37b5b2b71037bbb732b960691b604082015260600190565b60208082526012908201527143616e2774206d696e7420616e796d6f726560701b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6040516101e081016001600160401b0381118282101715615a9657615a96615c29565b60405290565b604051601f8201601f191681016001600160401b0381118282101715615ac457615ac4615c29565b604052919050565b60006001600160401b03821115615ae557615ae5615c29565b5060051b60200190565b60008219821115615b0257615b02615be7565b500190565b600082615b1657615b16615bfd565b500490565b6000816000190483118215151615615b3557615b35615be7565b500290565b600082821015615b4c57615b4c615be7565b500390565b60005b83811015615b6c578181015183820152602001615b54565b838111156128575750506000910152565b600181811c90821680615b9157607f821691505b60208210811415615bb257634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415615bcc57615bcc615be7565b5060010190565b600082615be257615be2615bfd565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114611b8457600080fd5b6001600160e01b031981168114611b8457600080fdfe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f00000000000000000000000005a46f1e545526fb803ff974c790acea34d1f2d6ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212204f6c5e2da2bae33bd8fdcb6b487dd27636d77765bcf7531617c72ec9612986cf64736f6c63430008060033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000615d026c000000000000000000000000000000000000000000000000000000006157bc6c
-----Decoded View---------------
Arg [0] : _endMintingPeriodDateAndTime (uint256): 1633485420
Arg [1] : _endReservedSpotsMintingPeriodDateAndTime (uint256): 1633139820
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000615d026c
Arg [1] : 000000000000000000000000000000000000000000000000000000006157bc6c
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.