ERC-1155
Overview
Max Total Supply
212 NORM
Holders
63
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Normies
Compiler Version
v0.8.11+commit.d7f03943
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-01-30 */ // SPDX-License-Identifier: MIT // File: contracts/NormieLib.sol pragma solidity ^0.8.9; // @author TheNormiesNFT (https://twitter.com/thenormiesnft) library NormieLib { struct Normie { uint32 skinType; // Max number is 4,294,967,296 uint32 hair; uint32 eyes; uint32 mouth; uint32 torso; uint32 pants; uint32 shoes; uint32 accessoryOne; uint32 accessoryTwo; uint32 accessoryThree; } struct Trait { string traitName; string traitType; string hash; uint16 pixelCount; uint32 traitID; } string internal constant TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; /* * @dev Function taken from Brecht Devos - <[email protected]> */ function encode(bytes memory data) internal pure returns (string memory) { if (data.length == 0) return ""; // load the table into memory string memory table = TABLE; // multiply by 4/3 rounded up uint256 encodedLen = 4 * ((data.length + 2) / 3); // add some extra buffer at the end required for the writing string memory result = new string(encodedLen + 32); assembly { // set the actual output length mstore(result, encodedLen) // prepare the lookup table let tablePtr := add(table, 1) // input ptr let dataPtr := data let endPtr := add(dataPtr, mload(data)) // result ptr, jump over length let resultPtr := add(result, 32) // run over the input, 3 bytes at a time for { } lt(dataPtr, endPtr) { } { dataPtr := add(dataPtr, 3) // read 3 bytes let input := mload(dataPtr) // write 4 characters mstore( resultPtr, shl(248, mload(add(tablePtr, and(shr(18, input), 0x3F)))) ) resultPtr := add(resultPtr, 1) mstore( resultPtr, shl(248, mload(add(tablePtr, and(shr(12, input), 0x3F)))) ) resultPtr := add(resultPtr, 1) mstore( resultPtr, shl(248, mload(add(tablePtr, and(shr(6, input), 0x3F)))) ) resultPtr := add(resultPtr, 1) mstore( resultPtr, shl(248, mload(add(tablePtr, and(input, 0x3F)))) ) resultPtr := add(resultPtr, 1) } // padding with '=' switch mod(mload(data), 3) case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) } case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) } } return result; } /* * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "a"; } 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); } function parseInt(string memory _a) internal pure returns (uint8 _parsedInt) { bytes memory bresult = bytes(_a); uint8 mint = 0; for (uint8 i = 0; i < bresult.length; i++) { if ( (uint8(uint8(bresult[i])) >= 48) && (uint8(uint8(bresult[i])) <= 57) ) { mint *= 10; mint += uint8(bresult[i]) - 48; } } return mint; } /* * @dev Returns a substring from [startIndex, endIndex) */ function substring(string memory str, uint256 startIndex, uint256 endIndex) internal pure returns (string memory) { bytes memory strBytes = bytes(str); bytes memory result = new bytes(endIndex - startIndex); for (uint256 i = startIndex; i < endIndex; i++) { result[i - startIndex] = strBytes[i]; } return string(result); } } // File: contracts/NormieTraits.sol pragma solidity ^0.8.9; // @author TheNormiesNFT (https://twitter.com/thenormiesnft) contract NormieTraits { using NormieLib for uint8; // Private variables address private owner; uint256 private SEED_NONCE = 0; mapping(address => bool) private adminAccess; NormieLib.Trait private emptyTrait = NormieLib.Trait("Empty", "Empty", "", 0, 1000001); // Public variables string public colorString = ".c000{fill:#503e38}.c001{fill:#228b22}.c002{fill:#562c1a}.c003{fill:#313131}.c004{fill:#fee761}.c005{fill:#ff0044}" ".c006{fill:#ffffff}.c007{fill:#01badb}.c008{fill:#b9f2ff}.c009{fill:#000000}.c00A{fill:#01f8fc}.c00B{fill:#0088fc}.c00C{fill:#039112}.c00D{fill:#1a3276}" ".c00E{fill:#e2646d}.c00F{fill:#ea8c8f}.c00G{fill:#f6757a}.c00H{fill:#7234b2}.c00I{fill:#b881ef}.c00J{fill:#b90e0a}.c00K{fill:#e43b44}.c00L{fill:#f5999e}" ".c00M{fill:#1258d3}.c00N{fill:#733e39}.c00O{fill:#2dcf51}.c00P{fill:#260701}.c00Q{fill:#743d2b}.c00R{fill:#dcbeb5}.c00S{fill:#e8b796}.c00T{fill:#67371a}" ".c00U{fill:#874f2e}.c00V{fill:#182812}.c00W{fill:#115c35}.c00X{fill:#ff9493}.c00Y{fill:#a22633}.c00Z{fill:#302f2f}.c010{fill:#f0d991}.c011{fill:#f2e7c7}" ".c012{fill:#0099db}.c013{fill:#2ce8f5}.c014{fill:#124e89}.c015{fill:#b86f50}.c016{fill:#777777}.c017{fill:#afafaf}.c018{fill:#878787}.c019{fill:#ffed1b}" ".c01A{fill:#1b1a1b}.c01B{fill:#131314}.c01C{fill:#191970}.c01D{fill:#bb8b1f}.c01E{fill:#f8f7ed}.c01F{fill:#072083}.c01G{fill:#f65c1a}.c01H{fill:#4b5320}" ".c01I{fill:#8a9294}.c01J{fill:#969cba}.c01K{fill:#c0c0c0}.c01L{fill:#8c92ac}.c01M{fill:#01796f}.c01N{fill:#ce1141}.c01O{fill:#ff007f}.c01P{fill:#b6005b}" ".c01Q{fill:#feed26}.c01R{fill:#dccd21}.c01S{fill:#080808}.c01T{fill:#b2ffff}.c01U{fill:#18a8d8}.c01V{fill:#818589}.c01W{fill:#98fb98}.c01X{fill:#e0c4ff}" ".c01Y{fill:#e1c4ff}.c01Z{fill:#c0a8da}.c020{fill:#ce2029}.c021{fill:#b01b23}.c022{fill:#87ceeb}.c023{fill:#ff0000}"; uint32 public CURRENT_TRAIT = 1; // Storage of all previous collections mapping(uint256 => uint256[]) public currentCollectionTraits; mapping(uint256 => NormieLib.Trait) public traitIDToTrait; string[] LETTERS = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"]; // Array of the current trait rarity available in the current collection with 10 traits total uint256[][10] public traitRarity; /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner == msg.sender, "Not the owner"); _; } /** * @dev Throws if called by an account that does not have adminAccess. */ modifier onlyAdmin() { require(adminAccess[msg.sender], "No admin access"); _; } constructor() { owner = msg.sender; // Register the Empty trait. traitIDToTrait[1000001] = emptyTrait; traitRarity[0] = [2500, 5000, 7500, 10000]; traitRarity[1] = [400, 800, 1600, 2400, 3200, 4200, 5200, 6600, 8000, 10000]; traitRarity[2] = [800, 1600, 2800, 4000, 5500, 7000, 8500, 10000]; traitRarity[3] = [200, 400, 1300, 2200, 4150, 6100, 8050, 10000]; traitRarity[4] = [200, 800, 1400, 2000, 3000, 4000, 5000, 6600, 8200, 10000]; traitRarity[5] = [200, 600, 1600, 2800, 4000, 6000, 8000, 10000]; traitRarity[6] = [100, 600, 1100, 2600, 4100, 7050, 10000]; traitRarity[7] = [100,600,1100,2100,10000]; traitRarity[8] = [100,800,2400,4400,10000]; traitRarity[9] = [100,600,2100,10000]; } ///////////////////////////// ONLY ADMIN FUNCTIONS ///////////////////////////// /** * @dev Function used to generate a Normie. * @param tokenID The token ID of the new Normie. * @param _address The address that will own the Normie. Used in hashing function. * @return Edited normie. Used by mintNormie function in Normies.sol. */ function generateNormie(uint256 tokenID, address _address) external onlyAdmin returns (NormieLib.Normie memory) { for (uint256 i=0; i < 10; i++){ require(traitRarity[i].length == currentCollectionTraits[i].length, "Trait arrays mismatch"); } uint256[] memory generatedHash = hash(tokenID, _address); return NormieLib.Normie( uint32(currentCollectionTraits[0][generatedHash[0]]), uint32(currentCollectionTraits[1][generatedHash[1]]), uint32(currentCollectionTraits[2][generatedHash[2]]), uint32(currentCollectionTraits[3][generatedHash[3]]), uint32(currentCollectionTraits[4][generatedHash[4]]), uint32(currentCollectionTraits[5][generatedHash[5]]), uint32(currentCollectionTraits[6][generatedHash[6]]), uint32(currentCollectionTraits[7][generatedHash[7]]), uint32(currentCollectionTraits[8][generatedHash[8]]), uint32(currentCollectionTraits[9][generatedHash[9]]) ); } /* * @dev Generates a array of length 10 that contains what indexes to use for each trait. * @param _t The token id to be used within the hash. * @param _a The address to be used within the hash. * @return An array of size 10 with integers representing the trait within the current collection to use. */ function hash(uint256 _t, address _a) public onlyAdmin returns (uint256[] memory) { // This will generate a 10 trait array. All values in the array are random. uint256[] memory ret = new uint[](10); uint counter = SEED_NONCE; uint256 _randinput = 0; uint256 left = 0; uint256 right = 0; uint256 mid = 0; uint256 traitRarityValue = 0; for (uint256 i = 0; i <= 9; i++) { counter++; _randinput = uint256( keccak256( abi.encodePacked( block.timestamp, block.difficulty, _t, _a, counter ) ) ) % 10000; left = 0; right = traitRarity[i].length - 1; // Binary search for the index while (left < right){ mid = (left + right) / 2; traitRarityValue = traitRarity[i][mid]; if (traitRarityValue == _randinput){ left = mid; break; } else if (traitRarityValue < _randinput){ left = mid + 1; } else { right = mid; } } ret[i] = left; } SEED_NONCE = counter; return ret; } ///////////////////////////// PUBLIC READ FUNCTIONS ///////////////////////////// /* * @dev Hash to SVG function for a normie. * @param normie The Normie that we are getting the URI of. * @param normieID the ID of the normie. * @return URI of a Normie as a string. */ function getNormieURI(NormieLib.Normie memory normie, uint256 normieID) external view returns (string memory) { return string( abi.encodePacked( "data:application/json;base64,", NormieLib.encode( bytes(string(abi.encodePacked( '{"name": "Normie #', NormieLib.toString(normieID), '", "description": "Normies are generated and stored 100% on the blockchain.", "image": "data:image/svg+xml;base64,', NormieLib.encode( bytes(normieToSVG(normie)) ), '","attributes":', getMainTraitsString(normie), getOptionalTraitsString(normie), "}"))) ))); } /* * @dev Returns Asset URI for a given trait. * @param assetID The ID of the asset we are getting the URI of. * @return URI of an asset as a string. */ function getAssetURI(uint256 assetID) external view returns (string memory) { NormieLib.Trait memory trait = traitIDToTrait[assetID]; return string( abi.encodePacked( "data:application/json;base64,", NormieLib.encode( bytes( string( abi.encodePacked( '{"name": "', trait.traitName, '", "description": "Normie assets are generated and stored 100% on the blockchain.", "image": "data:image/svg+xml;base64,', NormieLib.encode( bytes(assetToSVG(assetID)) ), '","attributes":', getSingleTraitString(trait), "}" ) ) ) ) ) ); } /** * @dev Gets a trait by its ID number using the provided "traitID" and returns its trait type. Used in Normies.sol * @param traitID The traitID to get from the traitIDToTrait mapping. * @return string object. */ function getTraitTypeByTraitID(uint256 traitID) external view returns (string memory){ return traitIDToTrait[traitID].traitType; } /** * @dev Gets a trait from the current collection using the provided "traitIndex" and "index". * Used in minting function. * @param traitIndex The index which indicates what type of trait it is [0-9]. * @param index The index of the specific trait to grab. Variable array size depending on collection. * @return Trait object. */ function getTraitFromCurrentCollection(uint256 traitIndex, uint256 index) public view returns (NormieLib.Trait memory) { return traitIDToTrait[currentCollectionTraits[traitIndex][index]]; } ///////////////////////////// PRIVATE READ FUNCTIONS ///////////////////////////// /* * @notice Adapted function from Anonymice contract * @dev Hash to SVG function for normie. * @param normie The Normie object to generate an SVG image for. * @return Normie SVG as a string. */ function normieToSVG(NormieLib.Normie memory normie) private view returns (string memory) { string memory svgString; for (uint8 i = 0; i <= 9; i++) { NormieLib.Trait memory trait = getNormieTraitObject(normie, i); for (uint16 j = 0; j < trait.pixelCount; j++) { string memory thisPixel = NormieLib.substring(trait.hash, j * 5, j * 5 + 5); uint8 x = letterToNumber(NormieLib.substring(thisPixel, 0, 1)); uint8 y = letterToNumber(NormieLib.substring(thisPixel, 1, 2)); svgString = string( abi.encodePacked( svgString, "<rect class='c", NormieLib.substring(thisPixel, 2, 5), "' x='", x.toString(), "' y='", y.toString(), "'/>" ) ); } } svgString = string( abi.encodePacked( '<svg id="normie-svg" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMin meet" viewBox="0 0 24 24"> ', svgString, "<style>rect{width:1px;height:1px;} #normie-svg{shape-rendering: crispedges;} ", colorString, "</style></svg>" ) ); return svgString; } /* * @notice Adapted function from Anonymice contract * @dev Hash to SVG function for a trait. * @param assetID The assetID for the trait we want to create an SVG for. * @return Asset SVG as a string. */ function assetToSVG(uint256 assetID) private view returns (string memory) { NormieLib.Trait memory trait = traitIDToTrait[assetID]; string memory svgString; for (uint16 j = 0; j < trait.pixelCount; j++) { string memory thisPixel = NormieLib.substring(trait.hash, j * 5, j * 5 + 5); uint8 x = letterToNumber(NormieLib.substring(thisPixel, 0, 1)); uint8 y = letterToNumber(NormieLib.substring(thisPixel, 1, 2)); svgString = string( abi.encodePacked( svgString, "<rect class='c", NormieLib.substring(thisPixel, 2, 5), "' x='", x.toString(), "' y='", y.toString(), "'/>" ) ); } svgString = string( abi.encodePacked( '<svg id="normie-svg" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMin meet" viewBox="0 0 24 24"> ', svgString, "<style>rect{width:1px;height:1px;} #normie-svg{shape-rendering: crispedges;} ", colorString, "</style></svg>" ) ); return svgString; } /* * @notice Original author is Anonymice. * @dev Helper function to reduce pixel size within contract. * @param _inputLetter The letter to change from base26 to base10. * @return A base 10 number. */ function letterToNumber(string memory _inputLetter) private view returns (uint8) { for (uint8 i = 0; i < LETTERS.length; i++) { if ( keccak256(abi.encodePacked((LETTERS[i]))) == keccak256(abi.encodePacked((_inputLetter))) ) return (i); } revert(); } /* * @dev Gets the trait for a given "normie" using the provided "traitIndex". * @param normie The normie whose trait we want to get. * @param traitIndex Index that determines which trait to return [0-9]. * @return Trait object. */ function getNormieTraitObject(NormieLib.Normie memory normie, uint256 traitIndex) private view returns (NormieLib.Trait memory) { if (traitIndex == 0) { return traitIDToTrait[normie.skinType]; } else if (traitIndex == 1) { return traitIDToTrait[normie.pants]; } else if (traitIndex == 2){ return traitIDToTrait[normie.shoes]; } else if (traitIndex == 3) { return traitIDToTrait[normie.torso]; } else if (traitIndex == 4) { return traitIDToTrait[normie.mouth]; } else if (traitIndex == 5) { return traitIDToTrait[normie.eyes]; } else if (traitIndex == 6) { return traitIDToTrait[normie.hair]; } else if (traitIndex == 7) { return traitIDToTrait[normie.accessoryOne]; } else if (traitIndex == 8) { return traitIDToTrait[normie.accessoryTwo]; } else { return traitIDToTrait[normie.accessoryThree]; } } /* * @dev Generates the string metadata for base Normie traits. * @param normie The normie object to generate URI string from. * @return Metadata for the normie as a string. Used for any call to URI.. */ function getMainTraitsString(NormieLib.Normie memory normie) private view returns (string memory) { return string(abi.encodePacked( '{"Skin Type":"', traitIDToTrait[normie.skinType].traitName, '","Hair":"', traitIDToTrait[normie.hair].traitName, '","Eyes":"', traitIDToTrait[normie.eyes].traitName, '","Mouth":"', traitIDToTrait[normie.mouth].traitName, '","Torso":"', traitIDToTrait[normie.torso].traitName, '","Pants":"', traitIDToTrait[normie.pants].traitName, '","Shoes":"', traitIDToTrait[normie.shoes].traitName ) ); } /* * @dev Generates the string metadata for optional Normie traits. * @param normie The normie object to generate URI string from. * @return Metadata for the normie as a string. Used for any call to URI. */ function getOptionalTraitsString(NormieLib.Normie memory normie) private view returns (string memory) { return string(abi.encodePacked( '","Accessory One":"', traitIDToTrait[normie.accessoryOne].traitName, '","Accessory Two":"', traitIDToTrait[normie.accessoryTwo].traitName, '","Accessory Three":"', traitIDToTrait[normie.accessoryThree].traitName, '"}' ) ); } /** * @dev Generates the string metadata for a single trait NFT. * @param trait The trait object to generate URI string from. * @return Metadata for the asset as a string. Used for any call to URI. */ function getSingleTraitString(NormieLib.Trait memory trait) private pure returns (string memory) { return string(abi.encodePacked( '{"Trait Type":"', trait.traitType, '","Trait Name":"', trait.traitName, '"}' ) ); } ///////////////////////////// OWNER FUNCTIONS ///////////////////////////// //-------------------------- // Trait Rarity functions //-------------------------- /** * @dev Clears the trait rarity for a given trait (Ex. hair which is 0). * @param traitIndex The index we want to clear. */ function clearTraitRarity(uint256 traitIndex) external onlyOwner { delete traitRarity[traitIndex]; } /** * @dev Clears all trait rarities. */ function clearAllTraitRarities() external onlyOwner { for (uint256 i = 0; i < traitRarity.length; i++){ delete traitRarity[i]; } } /** * @dev Adds an array of trait rarity values to the traix index. Contains safety check to ensure the array sums to 10,000. Also checks to make sure trait rarity is empty to begin with. * @param traitIndex The trait index to add trait rarities to. * @param newRarities Integer array of rarities that should sum to 10,000. */ function addTraitRarity(uint256 traitIndex, uint256[] memory newRarities) external onlyOwner { require(traitRarity[traitIndex].length == 0, "Not empty trait"); require(newRarities[newRarities.length-1] == 10000, "Trait rarity does not end in 10,000. Reverting"); for (uint256 i = 0; i < newRarities.length; i++) { traitRarity[traitIndex].push(newRarities[i]); } return; } //-------------------------- // Collection functions //-------------------------- /** * @dev Clears the traits for a given trait index in the current collection (Ex. hair which is 0). * @param index The index to clear current collection traits from. */ function clearCurrentCollectionTrait(uint256 index) external onlyOwner { delete currentCollectionTraits[index]; } /** * @dev Clears all traits for the current collection. */ function clearAllTraitsInCurrentCollection() external onlyOwner { for (uint256 i = 0; i < 10; i++){ delete currentCollectionTraits[i]; } } /** * Adds new trait to trait map. Good to use when adding new traits for giveaways or one offs. * @param newTraits Array of traits to add to trait map. */ function addTraitToTraitMap(NormieLib.Trait[] memory newTraits) external onlyOwner { uint32 currentTraitLocal = CURRENT_TRAIT; for (uint256 i = 0; i < newTraits.length; i++){ NormieLib.Trait memory _trait = NormieLib.Trait( newTraits[i].traitName, newTraits[i].traitType, newTraits[i].hash, newTraits[i].pixelCount, 1000001 + currentTraitLocal ); traitIDToTrait[1000001 + currentTraitLocal] = _trait; currentTraitLocal = currentTraitLocal + 1; } CURRENT_TRAIT = currentTraitLocal; } /** * @dev Function used to edit a trait in place in case we hashed incorrectly or something. * @param traitID Trait ID of the trait we want to edit * @param newTraitData Struct containing data that we want to overwrite the current trait with. */ function editTrait(uint256 traitID, NormieLib.Trait memory newTraitData) external onlyOwner { NormieLib.Trait memory _trait = traitIDToTrait[traitID]; _trait.traitName = newTraitData.traitName; _trait.traitType = newTraitData.traitType; _trait.hash = newTraitData.hash; _trait.pixelCount = newTraitData.pixelCount; traitIDToTrait[traitID] = _trait; } /** * @dev Emergency function to remove incorrect traits from existence. Checks to make sure ID provided is greater than 1,000,000. * @param traitID The trait to remove from existence. */ function removeTraitFromTraitMap(uint256 traitID) external onlyOwner { require(traitID >= 1000000, "Trait ID < 1,000,000"); traitIDToTrait[traitID] = emptyTrait; } /** * @dev Adds traits to specific location. Good to use for reusing assets in another collection. (Ex. Reusing skinType assets). * @param traitIndex The index to add these traits to. * @param traitID Array of integers representing the traits to add to the given collectionNumber and traitIndex. */ function addTraitsToCurrentCollection(uint256 traitIndex, uint256[] memory traitID) external onlyOwner { require(currentCollectionTraits[traitIndex].length + traitID.length <= traitRarity[traitIndex].length, "Trait array mismatch"); for (uint256 i = 0; i < traitID.length; i++){ currentCollectionTraits[traitIndex].push(traitID[i]); } } /** * @dev Sets the current color string. Allows us to add new colors in the future * @param _colorString The new color string. */ function setColorString(string calldata _colorString) external onlyOwner { colorString = _colorString; } /** * @dev Used to add admin acccess for a contract * @param _addressToAdd The address to give admin access to. */ function addAdminAccess(address _addressToAdd) external onlyOwner { adminAccess[_addressToAdd] = true; } } // File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol // OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } return computedHash; } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol // OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155Receiver.sol) pragma solidity ^0.8.0; /** * @dev _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** @dev Handles the receipt of a single ERC1155 token type. This function is called at the end of a `safeTransferFrom` after the balance has been updated. To accept the transfer, this must return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` (i.e. 0xf23a6e61, or its own function selector). @param operator The address which initiated the transfer (i.e. msg.sender) @param from The address which previously owned the token @param id The ID of the token being transferred @param value The amount of tokens being transferred @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** @dev Handles the receipt of a multiple ERC1155 token types. This function is called at the end of a `safeBatchTransferFrom` after the balances have been updated. To accept the transfer(s), this must return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` (i.e. 0xbc197c81, or its own function selector). @param operator The address which initiated the batch transfer (i.e. msg.sender) @param from The address which previously owned the token @param ids An array containing ids of each token being transferred (order and length must match values array) @param values An array containing amounts of each token being transferred (order and length must match ids array) @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/token/ERC1155/IERC1155.sol // OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; } // File: @openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol // OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol) pragma solidity ^0.8.0; /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. * * _Available since v3.1._ */ interface IERC1155MetadataURI is IERC1155 { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); } // File: @openzeppelin/contracts/token/ERC1155/ERC1155.sol // OpenZeppelin Contracts v4.4.1 (token/ERC1155/ERC1155.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 * Originally based on code by Enjin: https://github.com/enjin/erc-1155 * * _Available since v3.1._ */ contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI { using Address for address; // Mapping from token ID to account balances mapping(uint256 => mapping(address => uint256)) private _balances; // Mapping from account to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json string private _uri; /** * @dev See {_setURI}. */ constructor(string memory uri_) { _setURI(uri_); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155).interfaceId || interfaceId == type(IERC1155MetadataURI).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC1155MetadataURI-uri}. * * This implementation returns the same URI for *all* token types. It relies * on the token type ID substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * Clients calling this function must replace the `\{id\}` substring with the * actual token type ID. */ function uri(uint256) public view virtual override returns (string memory) { return _uri; } /** * @dev See {IERC1155-balanceOf}. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) public view virtual override returns (uint256) { require(account != address(0), "ERC1155: balance query for the zero address"); return _balances[id][account]; } /** * @dev See {IERC1155-balanceOfBatch}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] memory accounts, uint256[] memory ids) public view virtual override returns (uint256[] memory) { require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch"); uint256[] memory batchBalances = new uint256[](accounts.length); for (uint256 i = 0; i < accounts.length; ++i) { batchBalances[i] = balanceOf(accounts[i], ids[i]); } return batchBalances; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual override returns (bool) { return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not owner nor approved" ); _safeTransferFrom(from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: transfer caller is not owner nor approved" ); _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; emit TransferSingle(operator, from, to, id, amount); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; } emit TransferBatch(operator, from, to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data); } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * By this mechanism, any occurrence of the `\{id\}` substring in either the * URI or any of the amounts in the JSON file at said URI will be replaced by * clients with the token type ID. * * For example, the `https://token-cdn-domain/\{id\}.json` URI would be * interpreted by clients as * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json` * for token type ID 0x4cce0. * * See {uri}. * * Because these URIs cannot be meaningfully represented by the {URI} event, * this function emits no events. */ function _setURI(string memory newuri) internal virtual { _uri = newuri; } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint( address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, _asSingletonArray(id), _asSingletonArray(amount), data); _balances[id][to] += amount; emit TransferSingle(operator, address(0), to, id, amount); _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); for (uint256 i = 0; i < ids.length; i++) { _balances[ids[i]][to] += amounts[i]; } emit TransferBatch(operator, address(0), to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `from` * * Requirements: * * - `from` cannot be the zero address. * - `from` must have at least `amount` tokens of token type `id`. */ function _burn( address from, uint256 id, uint256 amount ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), _asSingletonArray(id), _asSingletonArray(amount), ""); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } emit TransferSingle(operator, from, address(0), id, amount); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Requirements: * * - `ids` and `amounts` must have the same length. */ function _burnBatch( address from, uint256[] memory ids, uint256[] memory amounts ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } } emit TransferBatch(operator, from, address(0), ids, amounts); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC1155: setting approval status for self"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155Receiver.onERC1155Received.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns ( bytes4 response ) { if (response != IERC1155Receiver.onERC1155BatchReceived.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } } // File: @openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol // OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/ERC1155Supply.sol) pragma solidity ^0.8.0; /** * @dev Extension of ERC1155 that adds tracking of total supply per id. * * Useful for scenarios where Fungible and Non-fungible tokens have to be * clearly identified. Note: While a totalSupply of 1 might mean the * corresponding is an NFT, there is no guarantees that no other token with the * same id are not going to be minted. */ abstract contract ERC1155Supply is ERC1155 { mapping(uint256 => uint256) private _totalSupply; /** * @dev Total amount of tokens in with a given id. */ function totalSupply(uint256 id) public view virtual returns (uint256) { return _totalSupply[id]; } /** * @dev Indicates whether any token exist with a given id, or not. */ function exists(uint256 id) public view virtual returns (bool) { return ERC1155Supply.totalSupply(id) > 0; } /** * @dev See {ERC1155-_beforeTokenTransfer}. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual override { super._beforeTokenTransfer(operator, from, to, ids, amounts, data); if (from == address(0)) { for (uint256 i = 0; i < ids.length; ++i) { _totalSupply[ids[i]] += amounts[i]; } } if (to == address(0)) { for (uint256 i = 0; i < ids.length; ++i) { _totalSupply[ids[i]] -= amounts[i]; } } } } // File: contracts/Normies.sol pragma solidity ^0.8.9; // @author TheNormiesNFT (https://twitter.com/thenormiesnft) contract Normies is ERC1155, ERC1155Supply { using NormieLib for uint8; // Constants bytes32 private constant SKIN_TYPE_ENCODED = 0x5e47b691d06cb279a2b83088501f7f7b0810b33cdbc8844c9fdb87a16a66b4d2; bytes32 private constant HAIR_ENCODED = 0x0aaac4442b72fa7fe81a222e1228a95232016724605a031667e60f7fce199df4; bytes32 private constant EYES_ENCODED = 0x64d4144b555b7316ce2973ff7e3cc9b8820c041e28a9c9439849589862f663d1; bytes32 private constant MOUTH_ENCODED = 0xd908a9a3716170d54dd91b434bdf0688b2c9d7dd05496173e40a5b3c359e0a5d; bytes32 private constant TORSO_ENCODED = 0x1feffdcc0b7d6d36bc3fbde6c0358074c13f6df6cbb4c3635167e516f9842361; bytes32 private constant PANTS_ENCODED = 0x6954a6332b7373d68e9dc351bffce9caf76b16493bad3034481d431b6add2dee; bytes32 private constant SHOES_ENCODED = 0x737a05110ae7219d78dc103c20b859c24da0b24052049edf853a13a0ef55b3a8; bytes32 private constant ACCESSORY_ENCODED = 0xea1a852ad5cf1fce5321823cddedf8aca1177f0c1acfb21e5eb86211bb8da1a7; bytes32 private constant ACCESSORY_ONE_ENCODED = 0xf9a9f51bd5106f9b945fe92fa2e7e1257dc60ef3bedd55ddba22a2be68c08f4d; bytes32 private constant ACCESSORY_TWO_ENCODED = 0xfc913118f916d1f1b5b00fee9486a2e642821127817edff3ed98980ed99d49bf; bytes32 private constant ACCESSORY_THREE_ENCODED = 0x76bbb549a0b8d61781a306d7d1deabaab974ad0f09eec4fea6fa556565443c2d; // Private variables address private owner; address payable private paymentAddress; // Public variables bool public paused = false; bool public allowMint = true; bool public allowWhitelistMint = true; bool public assetMint = true; bool public freeAssetMint = true; uint256 public mintNormiePrice = 0.02 ether; uint256 public currentNormieSupply = 0; uint256 public maxNormieSupply = 5000; // Will increment this as we do more releases uint256 public mintAssetsPrice = 0.01 ether; uint256 public currentAssetsSupply = 0; uint256 public maxAssetsSupply = 2000; // Will increment this as we do more releases bytes32 public merkleRoot; //Used for veryifing whitelist, must be hardcoded before hand mapping(address => bool) public whitelistClaimed; //used to verify whether or not this person actually claimed their whitelist // Basic Mappings mapping(uint256 => NormieLib.Normie) public normieIdToNormie; mapping(uint256 => address) public normieOwner; mapping(uint256 => bool) public freeTokenMap; uint256[] public claimedFreeTokens; // Used to clean the freeTokenMap mapping for next free asset mint NormieTraits traits; /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner == msg.sender, "Not the owner"); _; } constructor(address traitsContract, address payable _paymentaddr) ERC1155("") { owner = msg.sender; traits = NormieTraits(traitsContract); paymentAddress = payable(_paymentaddr); } ///////////////////////////// MINT FUNCTIONS ///////////////////////////// /* * @dev Mint function for normies. Before calling make sure "maxNormieSupply" and "mintNormiePrice" have been updated. * @param amount Amount of mints being done in a transaction. */ function mintNormie(uint256 amount) public payable { require(!allowMint, "Mint00"); require(amount > 0, "Mint01"); require(msg.sender == tx.origin, "Mint02"); if (msg.sender != owner){ require(msg.value >= mintNormiePrice * amount, "Not enough eth"); } uint256 localCurrentNormieSupply = currentNormieSupply; require(localCurrentNormieSupply + amount <= maxNormieSupply, "Mint04"); for (uint256 i = 1; i <= amount; i++){ // Create each normie here. NormieLib.Normie memory newNormie = traits.generateNormie(localCurrentNormieSupply + i, msg.sender); normieIdToNormie[localCurrentNormieSupply + i] = newNormie; normieOwner[localCurrentNormieSupply + i] = msg.sender; _mint(msg.sender, localCurrentNormieSupply + i, 1, ""); } currentNormieSupply = localCurrentNormieSupply + amount; } /* * @dev Whitelist Mint function for normies using MerkleTrees. Before calling make sure "maxNormieSupply" and "mintNormiePrice" have been updated. * @param amount Amount of mints being done in a transaction. * @param _merkleProof The hashed version of a user's address. */ function whitelistMint(uint256 amount, bytes32[] calldata _merkleProof) external payable { require(!allowWhitelistMint, "Mint00"); //You can only mint up to 5 for whitelist require(amount > 0 && amount <= 5, "Mint01"); //Make sure the person hasn't claimed yet require(!whitelistClaimed[msg.sender], "Address has already been claimed"); //Verify the provided _merkleProof, given through the api call on our website. bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); require(MerkleProof.verify(_merkleProof, merkleRoot, leaf), "Invalid Proof"); //Person has claimed their token. whitelistClaimed[msg.sender] = true; if (msg.sender != owner){ require(msg.value >= mintNormiePrice * amount, "Not enough eth"); } //Minting the token uint256 localCurrentNormieSupply = currentNormieSupply; require(localCurrentNormieSupply + amount <= maxNormieSupply, "Mint04"); for (uint256 i = 1; i <= amount; i++){ // Create each normie here. NormieLib.Normie memory newNormie = traits.generateNormie(localCurrentNormieSupply + i, msg.sender); normieIdToNormie[localCurrentNormieSupply + i] = newNormie; normieOwner[localCurrentNormieSupply + i] = msg.sender; _mint(msg.sender, localCurrentNormieSupply + i, 1, ""); } currentNormieSupply = localCurrentNormieSupply + amount; } /* * @dev Mint function for assets. Before calling make sure "maxAssetSupply" and "mintAssetPrice" have been updated. * @param amount Amount of mints being done in a transaction. */ function mintAssets(uint256 amount) external payable { require(!assetMint, "Mint00"); require(amount > 0, "Mint01"); require(msg.sender == tx.origin, "Mint02"); if (msg.sender != owner){ require(msg.value >= mintAssetsPrice * amount, "Not enough eth"); } uint256 localCurrentAssetsSupply = currentAssetsSupply; require(localCurrentAssetsSupply + amount <= maxAssetsSupply, "Mint04"); uint256[] memory generatedHash; uint256 j = 0; uint256 currentTraitID; for (uint256 i = 1; i <= amount; i++){ generatedHash = traits.hash(localCurrentAssetsSupply + i, msg.sender); for (j = 0; j < 10; j++){ currentTraitID = traits.currentCollectionTraits(j,generatedHash[j]); if (currentTraitID != 1000001){ _mint(msg.sender, currentTraitID, 1, ""); } } } currentAssetsSupply = localCurrentAssetsSupply + amount; } /* * @dev Mint function for token holders to get free assets. * @param tokenID Normie token ID. Used to verify that the person claiming the free asset actually owns the Normie. */ function normieHolderMint(uint256 tokenID) external { require(!freeAssetMint, "Mint00"); require(normieOwner[tokenID] == msg.sender, "Normie not owned by you"); require(!freeTokenMap[tokenID], "Already claimed"); uint256 localCurrentAssetsSupply = currentAssetsSupply; require(localCurrentAssetsSupply + 1 <= maxAssetsSupply, "Mint04"); uint256[] memory generatedHash = traits.hash(localCurrentAssetsSupply + 1, msg.sender); uint256 currentTraitID; for (uint256 j = 0; j < 10; j++){ currentTraitID = traits.currentCollectionTraits(j,generatedHash[j]); if (currentTraitID != 1000001){ _mint(msg.sender, currentTraitID, 1, ""); } } currentAssetsSupply = localCurrentAssetsSupply + 1; freeTokenMap[tokenID] = true; claimedFreeTokens.push(tokenID); } /* * @dev Overriden transfer function. When normies are transfered we update the normieOwner map. */ function _beforeTokenTransfer(address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data) internal override(ERC1155, ERC1155Supply) { require(!paused, "Paused"); for (uint256 i = 0; i < ids.length; i++) { uint256 tokenID = ids[i]; if (tokenID <= 1000000) { normieOwner[tokenID] = to; } } super._beforeTokenTransfer(operator, from, to, ids, amounts, data); } ///////////////////////////// NORMIE CUSTOMIZE FUNCTIONS ///////////////////////////// /* * @dev Public facing function that allows someone to remove traits from a normie. * @param normieID Normie token ID to remove trait from. * @param traitType Trait type to remove from. (Ex. Shoes, Bag, etc). */ function removeTrait(uint256 normieID, string calldata traitType) public { require(!paused, "Paused"); require(msg.sender == normieOwner[normieID], "Not owner"); uint256 removedTraitID = removeTraitHelper(normieID, traitType, false); if (removedTraitID != 1000001) { _mint(msg.sender, removedTraitID, 1, ""); } } /* * @dev Public facing function that allows someone to equip traits to a normie. * @param normieID Normie token ID to remove trait from. * @param traitType Trait type to remove from. (Ex. Shoes, Bag, etc). * @param traitID ID of Trait to equip. Should be greater than 1,000,000. */ function equipTrait(uint256 normieID, string calldata traitType, uint256 traitID) external { require(!paused, "Paused"); require(msg.sender == normieOwner[normieID], "Not owner"); require(balanceOf(msg.sender, traitID) >= 1, "Do not own traitID"); require(traitID > 1000000, "Not a traitID"); uint256 removedTraitID = removeTraitHelper(normieID, traitType, true); if (removedTraitID != 1000001) { _mint(msg.sender, removedTraitID, 1, ""); } equipTraitHelper(normieID, traitType, traitID); _burn(msg.sender, traitID, 1); } /** * @dev Removes a trait from a given "normie" using the provided "traitType". * @param normieID ID of the normie being edited. * @param traitType The trait type being edited (Ex. Shoes). * @param equipAfter Boolean that indicates if this function was called to just remove or will also equip after. Provides extra functionality to ensure that a Normie cannot be completely blank and must keep its skin on. * @return (uint256) traitID to mint to user's wallet. */ function removeTraitHelper(uint256 normieID, string calldata traitType, bool equipAfter) private returns (uint256) { NormieLib.Normie storage normie = normieIdToNormie[normieID]; uint256 traitID; bytes32 encodedTraitType = keccak256(abi.encodePacked(traitType)); if (encodedTraitType == SHOES_ENCODED){ traitID = normie.shoes; normie.shoes = 1000001; } else if (encodedTraitType == PANTS_ENCODED) { traitID = normie.pants; normie.pants = 1000001; } else if (encodedTraitType == TORSO_ENCODED) { traitID = normie.torso; normie.torso = 1000001; } else if (encodedTraitType == SKIN_TYPE_ENCODED && equipAfter) { traitID = normie.skinType; normie.skinType = 1000001; } else if (encodedTraitType == MOUTH_ENCODED) { traitID = normie.mouth; normie.mouth = 1000001; } else if (encodedTraitType == EYES_ENCODED) { traitID = normie.eyes; normie.eyes = 1000001; } else if (encodedTraitType == HAIR_ENCODED) { traitID = normie.hair; normie.hair = 1000001; } else if (encodedTraitType == ACCESSORY_ONE_ENCODED) { traitID = normie.accessoryOne; normie.accessoryOne = 1000001; } else if (encodedTraitType == ACCESSORY_TWO_ENCODED) { traitID = normie.accessoryTwo; normie.accessoryTwo = 1000001; } else if (encodedTraitType == ACCESSORY_THREE_ENCODED) { traitID = normie.accessoryThree; normie.accessoryThree = 1000001; } else { revert(); } return traitID; } /** * @dev Equips a new trait to a given "normie" using the provided "traitID". * Checks to make sure "traitType" provided is the same as the traitType being equipped. * Returns the updated normie. Used to update normieIdToNormie mapping in Normies.sol. * @param normieID ID of the normie being edited. * @param traitType The trait type being edited (Ex. Shoes). * @param traitID The traitID of the trait to equip. */ function equipTraitHelper(uint256 normieID, string calldata traitType, uint256 traitID) private { uint32 newTraitID = uint32(traitID); string memory newTraitType = traits.getTraitTypeByTraitID(traitID); bytes32 encodedTraitType = keccak256(abi.encodePacked(traitType)); bytes32 newTraitEncoded = keccak256(abi.encodePacked(newTraitType)); if (newTraitEncoded == ACCESSORY_ENCODED){ require(encodedTraitType == ACCESSORY_ONE_ENCODED || encodedTraitType == ACCESSORY_TWO_ENCODED || encodedTraitType == ACCESSORY_THREE_ENCODED, "Accessory mismatch"); } else { require(encodedTraitType == newTraitEncoded, "Not the same trait type"); } NormieLib.Normie storage normie = normieIdToNormie[normieID]; if (encodedTraitType == SHOES_ENCODED){ normie.shoes = newTraitID; } else if (encodedTraitType == PANTS_ENCODED) { normie.pants = newTraitID; } else if (encodedTraitType == TORSO_ENCODED) { normie.torso = newTraitID; } else if (encodedTraitType == SKIN_TYPE_ENCODED) { normie.skinType = newTraitID; } else if (encodedTraitType == MOUTH_ENCODED) { normie.mouth = newTraitID; } else if (encodedTraitType == EYES_ENCODED) { normie.eyes = newTraitID; } else if (encodedTraitType == HAIR_ENCODED) { normie.hair = newTraitID; } else if (encodedTraitType == ACCESSORY_ONE_ENCODED) { normie.accessoryOne = newTraitID; } else if (encodedTraitType == ACCESSORY_TWO_ENCODED) { normie.accessoryTwo = newTraitID; } else if (encodedTraitType == ACCESSORY_THREE_ENCODED) { normie.accessoryThree = newTraitID; } else { revert(); } } ///////////////////////////// OPENSEA READ FUNCTIONS ///////////////////////////// /* * @dev Name function used by OpenSea to name a collection. */ function name() external pure returns (string memory) { return "NORMIES"; } /* * @dev Name function used by OpenSea to set the symbol for a collection. */ function symbol() external pure returns (string memory) { return "NORM"; } /* * @dev URI function used by OpenSea to display NFTs. * @param _id Gets URI of a given token ID. * @return URI of a given token ID. */ function uri(uint256 _id) public view override returns (string memory) { require(exists(_id), "URI: nonexistent token"); if (_id <= 1000000){ NormieLib.Normie storage normie = normieIdToNormie[_id]; return traits.getNormieURI(normie, _id); } else { return traits.getAssetURI(_id); } } ///////////////////////////// OWNER FUNCTIONS ///////////////////////////// /** * @dev Resets the freeTokenMap so that every address has a chance of claiming the free traits again. */ function cleanFreeTokenMap() external onlyOwner { for (uint256 i = 0; i < claimedFreeTokens.length; i++){ freeTokenMap[claimedFreeTokens[i]] = false; } delete claimedFreeTokens; } /** * @dev Sets normie mint price. Input is in wei and should be converted properly to eth before calling. * @param _mintNormiePrice New mint Normie price. */ function setMintNormiePrice(uint256 _mintNormiePrice) external onlyOwner { require(_mintNormiePrice >= 0.01 ether, "Price less than 0.01 eth"); mintNormiePrice = _mintNormiePrice; } /** * @dev Sets asset mint price. Input is in wei and should be converted propertly to eth before calling. * @param _mintAssetsPrice New mint assets price. */ function setMintAssetsPrice(uint256 _mintAssetsPrice) external onlyOwner { require(_mintAssetsPrice >= 0.01 ether, "Price less than 0.01 eth"); mintAssetsPrice = _mintAssetsPrice; } /** * @dev Sets the max normie supply. Altering this will allow us to increase the number of normies allowed to be minted. * @param _maxNormieSupply New max Normie supply. */ function setMaxNormieSupply(uint256 _maxNormieSupply) external onlyOwner { maxNormieSupply = _maxNormieSupply; } /** * @dev Sets the max asset collection supply. Altering this will allow us to increase the number of asset packs allowed to be minted. * @param _maxAssetsSupply New max assets supply. */ function setMaxAssetsSupply(uint256 _maxAssetsSupply) external onlyOwner { maxAssetsSupply = _maxAssetsSupply; } /** * @dev Owner mint function to be used to mint and giveaway assets. * @param tokenID An array of token IDs to mint to owner of contract. * @param amount An array of amounts for each associated token ID to mint. */ function ownerMintAssets(uint256[] memory tokenID, uint256[] memory amount) external onlyOwner { require(tokenID.length == amount.length); for (uint256 i = 0; i < tokenID.length; i++){ _mint(msg.sender, tokenID[i], amount[i], ""); } } /** * @dev Flips the paused variable to pause/ unpause the contract. */ function flipPaused() external onlyOwner { paused = !paused; } /** * @dev Flips the assetMint variable to pause/ unpause the contract. */ function flipAllowMint() external onlyOwner { allowMint = !allowMint; } /** * @dev Flips the whitelistPaused variable to pause/ unpause the contract. */ function flipAllowWhitelistMint() external onlyOwner { allowWhitelistMint = !allowWhitelistMint; } /** * @dev Flips the assetMint variable to pause/ unpause asset minting. */ function flipAssetMint() external onlyOwner { assetMint = !assetMint; } /** * @dev Flips the freeAssetMint variable to pause/ unpause free asset minting. */ function flipFreeAssetMint() external onlyOwner { freeAssetMint = !freeAssetMint; } /** * @dev Update the payment address. * @param _addr The new payable address. */ function setPaymentAddr(address payable _addr) external onlyOwner { paymentAddress = _addr; } /** * @dev Updates the merkle root. * @param _merkleroot The new merkle root. */ function setMerkleRoot(bytes32 _merkleroot) external onlyOwner { merkleRoot = _merkleroot; } /** * @dev Withdraw the ETH from the contract to the payments address. */ function withdraw() public payable onlyOwner { (bool os, ) = payable(paymentAddress).call{value: address(this).balance}(""); require(os); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"traitsContract","type":"address"},{"internalType":"address payable","name":"_paymentaddr","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","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":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[],"name":"allowMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowWhitelistMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"assetMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"claimedFreeTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cleanFreeTokenMap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentAssetsSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentNormieSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"normieID","type":"uint256"},{"internalType":"string","name":"traitType","type":"string"},{"internalType":"uint256","name":"traitID","type":"uint256"}],"name":"equipTrait","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipAllowMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipAllowWhitelistMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipAssetMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipFreeAssetMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freeAssetMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"freeTokenMap","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxAssetsSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxNormieSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintAssets","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintAssetsPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintNormie","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintNormiePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenID","type":"uint256"}],"name":"normieHolderMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"normieIdToNormie","outputs":[{"internalType":"uint32","name":"skinType","type":"uint32"},{"internalType":"uint32","name":"hair","type":"uint32"},{"internalType":"uint32","name":"eyes","type":"uint32"},{"internalType":"uint32","name":"mouth","type":"uint32"},{"internalType":"uint32","name":"torso","type":"uint32"},{"internalType":"uint32","name":"pants","type":"uint32"},{"internalType":"uint32","name":"shoes","type":"uint32"},{"internalType":"uint32","name":"accessoryOne","type":"uint32"},{"internalType":"uint32","name":"accessoryTwo","type":"uint32"},{"internalType":"uint32","name":"accessoryThree","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"normieOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenID","type":"uint256[]"},{"internalType":"uint256[]","name":"amount","type":"uint256[]"}],"name":"ownerMintAssets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"normieID","type":"uint256"},{"internalType":"string","name":"traitType","type":"string"}],"name":"removeTrait","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxAssetsSupply","type":"uint256"}],"name":"setMaxAssetsSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxNormieSupply","type":"uint256"}],"name":"setMaxNormieSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleroot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAssetsPrice","type":"uint256"}],"name":"setMintAssetsPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintNormiePrice","type":"uint256"}],"name":"setMintNormiePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_addr","type":"address"}],"name":"setPaymentAddr","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60806040526005805464ffffffffff60a01b1916630101010160a81b17905566470de4df82000060065560006007819055611388600855662386f26fc10000600955600a556107d0600b553480156200005757600080fd5b5060405162004730380380620047308339810160408190526200007a91620001aa565b6040805160208101909152600081526200009481620000d2565b50600480546001600160a01b03199081163317909155601280546001600160a01b039485169083161790556005805492909316911617905562000226565b8051620000e7906002906020840190620000eb565b5050565b828054620000f990620001e9565b90600052602060002090601f0160209004810192826200011d576000855562000168565b82601f106200013857805160ff191683800117855562000168565b8280016001018555821562000168579182015b82811115620001685782518255916020019190600101906200014b565b50620001769291506200017a565b5090565b5b808211156200017657600081556001016200017b565b6001600160a01b0381168114620001a757600080fd5b50565b60008060408385031215620001be57600080fd5b8251620001cb8162000191565b6020840151909250620001de8162000191565b809150509250929050565b600181811c90821680620001fe57607f821691505b602082108114156200022057634e487b7160e01b600052602260045260246000fd5b50919050565b6144fa80620002366000396000f3fe6080604052600436106102ad5760003560e01c806357be393d11610175578063a22cb465116100dc578063db07587c11610095578063f13107241161006f578063f131072414610955578063f22393ad14610968578063f242432a14610988578063ff7aa51f146109a857600080fd5b8063db07587c146108c7578063db4bec44146108dc578063e985e9c51461090c57600080fd5b8063a22cb4651461081e578063bd85b0391461083e578063d14436911461086b578063d2cab0561461087e578063d95937d114610891578063da5a9a51146108a757600080fd5b80637a842d001161012e5780637a842d001461075b5780637cb647591461077b5780638221fa5b1461079b5780638f97cc68146107b157806392f84b13146107d157806395d89b41146107f157600080fd5b806357be393d146106a95780635c975abb146106c95780635fae9f28146106ea57806361a6d024146106ff57806365fec9211461072f57806379b42c351461074557600080fd5b806328ce9268116102195780633ccfd60b116101d25780633ccfd60b146105e45780633ebdb2ca146105ec57806341b8ecac1461060d5780634211b9311461062d5780634e1273f41461064d5780634f558e791461067a57600080fd5b806328ce92681461054e5780632c97c98f1461056e5780632eb2c2d6146105835780632eb4a7ab146105a357806331a15ad7146105b9578063333171bb146105cf57600080fd5b80630a1229f41161026b5780630a1229f4146103a65780630e89341c146103bb57806314c57b2a146103db5780631b8dca74146103f15780631ce46a3414610412578063257c42771461050057600080fd5b8062fdd58e146102b257806301ffc9a7146102e55780630636e352146103155780630668f8261461033657806306fdde031461034d578063080578b714610386575b600080fd5b3480156102be57600080fd5b506102d26102cd366004613803565b6109c9565b6040519081526020015b60405180910390f35b3480156102f157600080fd5b50610305610300366004613845565b610a60565b60405190151581526020016102dc565b34801561032157600080fd5b5060055461030590600160b81b900460ff1681565b34801561034257600080fd5b5061034b610ab2565b005b34801561035957600080fd5b506040805180820190915260078152664e4f524d49455360c81b60208201525b6040516102dc91906138ba565b34801561039257600080fd5b5061034b6103a13660046138cd565b610afd565b3480156103b257600080fd5b5061034b610b7e565b3480156103c757600080fd5b506103796103d63660046138cd565b610bc9565b3480156103e757600080fd5b506102d260075481565b3480156103fd57600080fd5b5060055461030590600160a81b900460ff1681565b34801561041e57600080fd5b506104a061042d3660046138cd565b600e602052600090815260409020805460019091015463ffffffff80831692640100000000808204831693600160401b8304841693600160601b8404811693600160801b8104821693600160a01b8204831693600160c01b8304841693600160e01b90930483169281811692909104168a565b6040805163ffffffff9b8c168152998b1660208b0152978a16978901979097529488166060880152928716608087015290861660a0860152851660c0850152841660e08401528316610100830152909116610120820152610140016102dc565b34801561050c57600080fd5b5061053661051b3660046138cd565b600f602052600090815260409020546001600160a01b031681565b6040516001600160a01b0390911681526020016102dc565b34801561055a57600080fd5b506102d26105693660046138cd565b610da0565b34801561057a57600080fd5b5061034b610dc1565b34801561058f57600080fd5b5061034b61059e366004613a5d565b610e0c565b3480156105af57600080fd5b506102d2600c5481565b3480156105c557600080fd5b506102d2600a5481565b3480156105db57600080fd5b5061034b610ea3565b61034b610eee565b3480156105f857600080fd5b5060055461030590600160c01b900460ff1681565b34801561061957600080fd5b5061034b6106283660046138cd565b610f7b565b34801561063957600080fd5b5061034b6106483660046138cd565b610faa565b34801561065957600080fd5b5061066d610668366004613b0a565b61102b565b6040516102dc9190613c11565b34801561068657600080fd5b506103056106953660046138cd565b600090815260036020526040902054151590565b3480156106b557600080fd5b5061034b6106c4366004613c24565b611154565b3480156106d557600080fd5b5060055461030590600160a01b900460ff1681565b3480156106f657600080fd5b5061034b6111fc565b34801561070b57600080fd5b5061030561071a3660046138cd565b60106020526000908152604090205460ff1681565b34801561073b57600080fd5b506102d260065481565b34801561075157600080fd5b506102d260095481565b34801561076757600080fd5b5061034b6107763660046138cd565b61129e565b34801561078757600080fd5b5061034b6107963660046138cd565b61157b565b3480156107a757600080fd5b506102d260085481565b3480156107bd57600080fd5b5061034b6107cc3660046138cd565b6115aa565b3480156107dd57600080fd5b5061034b6107ec366004613c70565b6115d9565b3480156107fd57600080fd5b506040805180820190915260048152634e4f524d60e01b6020820152610379565b34801561082a57600080fd5b5061034b610839366004613c8d565b611625565b34801561084a57600080fd5b506102d26108593660046138cd565b60009081526003602052604090205490565b61034b6108793660046138cd565b611634565b61034b61088c366004613ccb565b6119e7565b34801561089d57600080fd5b506102d2600b5481565b3480156108b357600080fd5b5061034b6108c2366004613d91565b611e8a565b3480156108d357600080fd5b5061034b611f43565b3480156108e857600080fd5b506103056108f7366004613c70565b600d6020526000908152604090205460ff1681565b34801561091857600080fd5b50610305610927366004613ddc565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b61034b6109633660046138cd565b611f8e565b34801561097457600080fd5b5061034b610983366004613e0a565b61221e565b34801561099457600080fd5b5061034b6109a3366004613e5c565b61237a565b3480156109b457600080fd5b5060055461030590600160b01b900460ff1681565b60006001600160a01b038316610a3a5760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084015b60405180910390fd5b506000908152602081815260408083206001600160a01b03949094168352929052205490565b60006001600160e01b03198216636cdb3d1360e11b1480610a9157506001600160e01b031982166303a24d0760e21b145b80610aac57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6004546001600160a01b03163314610adc5760405162461bcd60e51b8152600401610a3190613ec4565b6005805460ff60c01b198116600160c01b9182900460ff1615909102179055565b6004546001600160a01b03163314610b275760405162461bcd60e51b8152600401610a3190613ec4565b662386f26fc10000811015610b795760405162461bcd60e51b81526020600482015260186024820152770a0e4d2c6ca40d8cae6e640e8d0c2dc40605c606240cae8d60431b6044820152606401610a31565b600955565b6004546001600160a01b03163314610ba85760405162461bcd60e51b8152600401610a3190613ec4565b6005805460ff60a81b198116600160a81b9182900460ff1615909102179055565b600081815260036020526040902054606090610c205760405162461bcd60e51b81526020600482015260166024820152752aa9249d103737b732bc34b9ba32b73a103a37b5b2b760511b6044820152606401610a31565b620f42408211610d2a576000828152600e6020908152604091829020601254835163ee5ebeaf60e01b8152825463ffffffff808216600484015281861c811660248401529581901c86166044830152606081901c86166064830152608081901c8616608483015260a081901c861660a483015260c081901c861660c483015260e01c60e4820152600183015480861661010483015290931c9093166101248301526101448201859052916001600160a01b03169063ee5ebeaf9061016401600060405180830381865afa158015610cfb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d239190810190613eeb565b9392505050565b601254604051639cd7fdc960e01b8152600481018490526001600160a01b0390911690639cd7fdc990602401600060405180830381865afa158015610d73573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610aac9190810190613eeb565b919050565b60118181548110610db057600080fd5b600091825260209091200154905081565b6004546001600160a01b03163314610deb5760405162461bcd60e51b8152600401610a3190613ec4565b6005805460ff60b01b198116600160b01b9182900460ff1615909102179055565b6001600160a01b038516331480610e285750610e288533610927565b610e8f5760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610a31565b610e9c8585858585612401565b5050505050565b6004546001600160a01b03163314610ecd5760405162461bcd60e51b8152600401610a3190613ec4565b6005805460ff60a01b198116600160a01b9182900460ff1615909102179055565b6004546001600160a01b03163314610f185760405162461bcd60e51b8152600401610a3190613ec4565b6005546040516000916001600160a01b03169047908381818185875af1925050503d8060008114610f65576040519150601f19603f3d011682016040523d82523d6000602084013e610f6a565b606091505b5050905080610f7857600080fd5b50565b6004546001600160a01b03163314610fa55760405162461bcd60e51b8152600401610a3190613ec4565b600b55565b6004546001600160a01b03163314610fd45760405162461bcd60e51b8152600401610a3190613ec4565b662386f26fc100008110156110265760405162461bcd60e51b81526020600482015260186024820152770a0e4d2c6ca40d8cae6e640e8d0c2dc40605c606240cae8d60431b6044820152606401610a31565b600655565b606081518351146110905760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b6064820152608401610a31565b600083516001600160401b038111156110ab576110ab6138e6565b6040519080825280602002602001820160405280156110d4578160200160208202803683370190505b50905060005b845181101561114c5761111f8582815181106110f8576110f8613f6c565b602002602001015185838151811061111257611112613f6c565b60200260200101516109c9565b82828151811061113157611131613f6c565b602090810291909101015261114581613f98565b90506110da565b509392505050565b6004546001600160a01b0316331461117e5760405162461bcd60e51b8152600401610a3190613ec4565b805182511461118c57600080fd5b60005b82518110156111f7576111e5338483815181106111ae576111ae613f6c565b60200260200101518484815181106111c8576111c8613f6c565b6020026020010151604051806020016040528060008152506125ec565b806111ef81613f98565b91505061118f565b505050565b6004546001600160a01b031633146112265760405162461bcd60e51b8152600401610a3190613ec4565b60005b60115481101561128f576000601060006011848154811061124c5761124c613f6c565b9060005260206000200154815260200190815260200160002060006101000a81548160ff021916908315150217905550808061128790613f98565b915050611229565b5061129c601160006137bc565b565b600554600160c01b900460ff16156112c85760405162461bcd60e51b8152600401610a3190613fb3565b6000818152600f60205260409020546001600160a01b0316331461132e5760405162461bcd60e51b815260206004820152601760248201527f4e6f726d6965206e6f74206f776e656420627920796f750000000000000000006044820152606401610a31565b60008181526010602052604090205460ff161561137f5760405162461bcd60e51b815260206004820152600f60248201526e105b1c9958591e4818db185a5b5959608a1b6044820152606401610a31565b600a54600b54611390826001613fd3565b11156113ae5760405162461bcd60e51b8152600401610a3190613feb565b6012546000906001600160a01b03166335c5bff76113cd846001613fd3565b6040516001600160e01b031960e084901b16815260048101919091523360248201526044016000604051808303816000875af1158015611411573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611439919081019061400b565b90506000805b600a81101561151c5760125483516001600160a01b0390911690635f3768b890839086908290811061147357611473613f6c565b60200260200101516040518363ffffffff1660e01b81526004016114a1929190918252602082015260400190565b602060405180830381865afa1580156114be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114e291906140a6565b915081620f42411461150a5761150a33836001604051806020016040528060008152506125ec565b8061151481613f98565b91505061143f565b50611528836001613fd3565b600a555050506000818152601060205260408120805460ff191660019081179091556011805491820181559091527f31ecc21a745e3968a04e9570e4425bc18fa8019c68028196b546d1669c200c680155565b6004546001600160a01b031633146115a55760405162461bcd60e51b8152600401610a3190613ec4565b600c55565b6004546001600160a01b031633146115d45760405162461bcd60e51b8152600401610a3190613ec4565b600855565b6004546001600160a01b031633146116035760405162461bcd60e51b8152600401610a3190613ec4565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6116303383836126fc565b5050565b600554600160a81b900460ff161561165e5760405162461bcd60e51b8152600401610a3190613fb3565b6000811161167e5760405162461bcd60e51b8152600401610a31906140bf565b3332146116b65760405162461bcd60e51b815260206004820152600660248201526526b4b73a181960d11b6044820152606401610a31565b6004546001600160a01b031633146116f557806006546116d691906140df565b3410156116f55760405162461bcd60e51b8152600401610a31906140fe565b6007546008546117058383613fd3565b11156117235760405162461bcd60e51b8152600401610a3190613feb565b60015b8281116119d5576012546000906001600160a01b0316639bbbb1e161174b8486613fd3565b6040516001600160e01b031960e084901b1681526004810191909152336024820152604401610140604051808303816000875af1158015611790573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117b4919061413a565b905080600e60006117c58587613fd3565b815260200190815260200160002060008201518160000160006101000a81548163ffffffff021916908363ffffffff16021790555060208201518160000160046101000a81548163ffffffff021916908363ffffffff16021790555060408201518160000160086101000a81548163ffffffff021916908363ffffffff160217905550606082015181600001600c6101000a81548163ffffffff021916908363ffffffff16021790555060808201518160000160106101000a81548163ffffffff021916908363ffffffff16021790555060a08201518160000160146101000a81548163ffffffff021916908363ffffffff16021790555060c08201518160000160186101000a81548163ffffffff021916908363ffffffff16021790555060e082015181600001601c6101000a81548163ffffffff021916908363ffffffff1602179055506101008201518160010160006101000a81548163ffffffff021916908363ffffffff1602179055506101208201518160010160046101000a81548163ffffffff021916908363ffffffff16021790555090505033600f6000848661196f9190613fd3565b8152602081019190915260400160002080546001600160a01b0319166001600160a01b03929092169190911790556119c2336119ab8486613fd3565b6001604051806020016040528060008152506125ec565b50806119cd81613f98565b915050611726565b506119e08282613fd3565b6007555050565b600554600160b01b900460ff1615611a115760405162461bcd60e51b8152600401610a3190613fb3565b600083118015611a22575060058311155b611a3e5760405162461bcd60e51b8152600401610a31906140bf565b336000908152600d602052604090205460ff1615611a9e5760405162461bcd60e51b815260206004820181905260248201527f416464726573732068617320616c7265616479206265656e20636c61696d65646044820152606401610a31565b6040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050611b1883838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600c5491508490506127dd565b611b545760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b210283937b7b360991b6044820152606401610a31565b336000818152600d60205260409020805460ff191660011790556004546001600160a01b031614611bac5783600654611b8d91906140df565b341015611bac5760405162461bcd60e51b8152600401610a31906140fe565b600754600854611bbc8683613fd3565b1115611bda5760405162461bcd60e51b8152600401610a3190613feb565b60015b858111611e75576012546000906001600160a01b0316639bbbb1e1611c028486613fd3565b6040516001600160e01b031960e084901b1681526004810191909152336024820152604401610140604051808303816000875af1158015611c47573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c6b919061413a565b905080600e6000611c7c8587613fd3565b815260200190815260200160002060008201518160000160006101000a81548163ffffffff021916908363ffffffff16021790555060208201518160000160046101000a81548163ffffffff021916908363ffffffff16021790555060408201518160000160086101000a81548163ffffffff021916908363ffffffff160217905550606082015181600001600c6101000a81548163ffffffff021916908363ffffffff16021790555060808201518160000160106101000a81548163ffffffff021916908363ffffffff16021790555060a08201518160000160146101000a81548163ffffffff021916908363ffffffff16021790555060c08201518160000160186101000a81548163ffffffff021916908363ffffffff16021790555060e082015181600001601c6101000a81548163ffffffff021916908363ffffffff1602179055506101008201518160010160006101000a81548163ffffffff021916908363ffffffff1602179055506101208201518160010160046101000a81548163ffffffff021916908363ffffffff16021790555090505033600f60008486611e269190613fd3565b8152602081019190915260400160002080546001600160a01b0319166001600160a01b0392909216919091179055611e62336119ab8486613fd3565b5080611e6d81613f98565b915050611bdd565b50611e808582613fd3565b6007555050505050565b600554600160a01b900460ff1615611eb45760405162461bcd60e51b8152600401610a3190614202565b6000838152600f60205260409020546001600160a01b03163314611f065760405162461bcd60e51b81526020600482015260096024820152682737ba1037bbb732b960b91b6044820152606401610a31565b6000611f1584848460006127f3565b905080620f424114611f3d57611f3d33826001604051806020016040528060008152506125ec565b50505050565b6004546001600160a01b03163314611f6d5760405162461bcd60e51b8152600401610a3190613ec4565b6005805460ff60b81b198116600160b81b9182900460ff1615909102179055565b600554600160b81b900460ff1615611fb85760405162461bcd60e51b8152600401610a3190613fb3565b60008111611fd85760405162461bcd60e51b8152600401610a31906140bf565b3332146120105760405162461bcd60e51b815260206004820152600660248201526526b4b73a181960d11b6044820152606401610a31565b6004546001600160a01b0316331461204f578060095461203091906140df565b34101561204f5760405162461bcd60e51b8152600401610a31906140fe565b600a54600b5461205f8383613fd3565b111561207d5760405162461bcd60e51b8152600401610a3190613feb565b606060008060015b858111612209576012546001600160a01b03166335c5bff76120a78388613fd3565b6040516001600160e01b031960e084901b16815260048101919091523360248201526044016000604051808303816000875af11580156120eb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612113919081019061400b565b9350600092505b600a8310156121f75760125484516001600160a01b0390911690635f3768b890859087908290811061214e5761214e613f6c565b60200260200101516040518363ffffffff1660e01b815260040161217c929190918252602082015260400190565b602060405180830381865afa158015612199573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121bd91906140a6565b915081620f4241146121e5576121e533836001604051806020016040528060008152506125ec565b826121ef81613f98565b93505061211a565b8061220181613f98565b915050612085565b506122148585613fd3565b600a555050505050565b600554600160a01b900460ff16156122485760405162461bcd60e51b8152600401610a3190614202565b6000848152600f60205260409020546001600160a01b0316331461229a5760405162461bcd60e51b81526020600482015260096024820152682737ba1037bbb732b960b91b6044820152606401610a31565b60016122a633836109c9565b10156122e95760405162461bcd60e51b8152602060048201526012602482015271111bc81b9bdd081bdddb881d1c985a5d125160721b6044820152606401610a31565b620f4240811161232b5760405162461bcd60e51b815260206004820152600d60248201526c139bdd0818481d1c985a5d1251609a1b6044820152606401610a31565b600061233a85858560016127f3565b905080620f4241146123625761236233826001604051806020016040528060008152506125ec565b61236e85858585612b7d565b610e9c3383600161306c565b6001600160a01b03851633148061239657506123968533610927565b6123f45760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b6064820152608401610a31565b610e9c85858585856131e5565b81518351146124635760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b6064820152608401610a31565b6001600160a01b0384166124895760405162461bcd60e51b8152600401610a3190614222565b33612498818787878787613302565b60005b845181101561257e5760008582815181106124b8576124b8613f6c565b6020026020010151905060008583815181106124d6576124d6613f6c565b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156125265760405162461bcd60e51b8152600401610a3190614267565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b16825281208054849290612563908490613fd3565b925050819055505050508061257790613f98565b905061249b565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516125ce9291906142b1565b60405180910390a46125e48187878787876133aa565b505050505050565b6001600160a01b03841661264c5760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610a31565b3361266c8160008761265d88613506565b61266688613506565b87613302565b6000848152602081815260408083206001600160a01b03891684529091528120805485929061269c908490613fd3565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610e9c81600087878787613551565b816001600160a01b0316836001600160a01b031614156127705760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b6064820152608401610a31565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6000826127ea858461360c565b14949350505050565b6000848152600e60209081526040808320905190918391829161281a9189918991016142df565b6040516020818303038152906040528051906020012090507f737a05110ae7219d78dc103c20b859c24da0b24052049edf853a13a0ef55b3a860001b81141561288857825463ffffffff60c01b198116620f424160c01b178455600160c01b900463ffffffff169150612b72565b7f6954a6332b7373d68e9dc351bffce9caf76b16493bad3034481d431b6add2dee8114156128db57825463ffffffff60a01b198116620f424160a01b178455600160a01b900463ffffffff169150612b72565b7f1feffdcc0b7d6d36bc3fbde6c0358074c13f6df6cbb4c3635167e516f984236181141561292e57825463ffffffff60801b198116620f424160801b178455600160801b900463ffffffff169150612b72565b7f5e47b691d06cb279a2b83088501f7f7b0810b33cdbc8844c9fdb87a16a66b4d28114801561295a5750845b1561297d57825463ffffffff198116620f424117845563ffffffff169150612b72565b7fd908a9a3716170d54dd91b434bdf0688b2c9d7dd05496173e40a5b3c359e0a5d8114156129d057825463ffffffff60601b198116620f424160601b178455600160601b900463ffffffff169150612b72565b7f64d4144b555b7316ce2973ff7e3cc9b8820c041e28a9c9439849589862f663d1811415612a2857825463ffffffff60401b1981166a0f42410000000000000000178455600160401b900463ffffffff169150612b72565b7f0aaac4442b72fa7fe81a222e1228a95232016724605a031667e60f7fce199df4811415612a7e57825467ffffffff00000000198116660f424100000000178455640100000000900463ffffffff169150612b72565b7ff9a9f51bd5106f9b945fe92fa2e7e1257dc60ef3bedd55ddba22a2be68c08f4d811415612ad05782546001600160e01b038116620f424160e01b178455600160e01b900463ffffffff169150612b72565b7ffc913118f916d1f1b5b00fee9486a2e642821127817edff3ed98980ed99d49bf811415612b1b5760018301805463ffffffff198116620f42411790915563ffffffff169150612b72565b7f76bbb549a0b8d61781a306d7d1deabaab974ad0f09eec4fea6fa556565443c2d8114156102ad5760018301805467ffffffff00000000198116660f42410000000017909155640100000000900463ffffffff1691505b509695505050505050565b601254604051632ee2416560e01b81526004810183905282916000916001600160a01b0390911690632ee2416590602401600060405180830381865afa158015612bcb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612bf39190810190613eeb565b905060008585604051602001612c0a9291906142df565b604051602081830303815290604052805190602001209050600082604051602001612c3591906142ef565b6040516020818303038152906040528051906020012090507fea1a852ad5cf1fce5321823cddedf8aca1177f0c1acfb21e5eb86211bb8da1a760001b811415612d35577ff9a9f51bd5106f9b945fe92fa2e7e1257dc60ef3bedd55ddba22a2be68c08f4d821480612cc557507ffc913118f916d1f1b5b00fee9486a2e642821127817edff3ed98980ed99d49bf82145b80612cef57507f76bbb549a0b8d61781a306d7d1deabaab974ad0f09eec4fea6fa556565443c2d82145b612d305760405162461bcd60e51b8152602060048201526012602482015271082c6c6cae6e6dee4f240dad2e6dac2e8c6d60731b6044820152606401610a31565b612d84565b808214612d845760405162461bcd60e51b815260206004820152601760248201527f4e6f74207468652073616d6520747261697420747970650000000000000000006044820152606401610a31565b6000888152600e602052604090207f737a05110ae7219d78dc103c20b859c24da0b24052049edf853a13a0ef55b3a8831415612ddb57805463ffffffff60c01b1916600160c01b63ffffffff871602178155613061565b7f6954a6332b7373d68e9dc351bffce9caf76b16493bad3034481d431b6add2dee831415612e2457805463ffffffff60a01b1916600160a01b63ffffffff871602178155613061565b7f1feffdcc0b7d6d36bc3fbde6c0358074c13f6df6cbb4c3635167e516f9842361831415612e6d57805463ffffffff60801b1916600160801b63ffffffff871602178155613061565b7f5e47b691d06cb279a2b83088501f7f7b0810b33cdbc8844c9fdb87a16a66b4d2831415612ead57805463ffffffff191663ffffffff8616178155613061565b7fd908a9a3716170d54dd91b434bdf0688b2c9d7dd05496173e40a5b3c359e0a5d831415612ef657805463ffffffff60601b1916600160601b63ffffffff871602178155613061565b7f64d4144b555b7316ce2973ff7e3cc9b8820c041e28a9c9439849589862f663d1831415612f3f57805463ffffffff60401b1916600160401b63ffffffff871602178155613061565b7f0aaac4442b72fa7fe81a222e1228a95232016724605a031667e60f7fce199df4831415612f8a57805467ffffffff00000000191664010000000063ffffffff871602178155613061565b7ff9a9f51bd5106f9b945fe92fa2e7e1257dc60ef3bedd55ddba22a2be68c08f4d831415612fd25780546001600160e01b0316600160e01b63ffffffff871602178155613061565b7ffc913118f916d1f1b5b00fee9486a2e642821127817edff3ed98980ed99d49bf8314156130165760018101805463ffffffff191663ffffffff8716179055613061565b7f76bbb549a0b8d61781a306d7d1deabaab974ad0f09eec4fea6fa556565443c2d8314156102ad5760018101805467ffffffff00000000191664010000000063ffffffff8816021790555b505050505050505050565b6001600160a01b0383166130ce5760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201526265737360e81b6064820152608401610a31565b336130fd818560006130df87613506565b6130e887613506565b60405180602001604052806000815250613302565b6000838152602081815260408083206001600160a01b03881684529091529020548281101561317a5760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604482015263616e636560e01b6064820152608401610a31565b6000848152602081815260408083206001600160a01b03898116808652918452828520888703905582518981529384018890529092908616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b6001600160a01b03841661320b5760405162461bcd60e51b8152600401610a3190614222565b3361321b81878761265d88613506565b6000848152602081815260408083206001600160a01b038a1684529091529020548381101561325c5760405162461bcd60e51b8152600401610a3190614267565b6000858152602081815260408083206001600160a01b038b8116855292528083208785039055908816825281208054869290613299908490613fd3565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46132f9828888888888613551565b50505050505050565b600554600160a01b900460ff161561332c5760405162461bcd60e51b8152600401610a3190614202565b60005b835181101561339b57600084828151811061334c5761334c613f6c565b60200260200101519050620f42408111613388576000818152600f6020526040902080546001600160a01b0319166001600160a01b0388161790555b508061339381613f98565b91505061332f565b506125e48686868686866136b0565b6001600160a01b0384163b156125e45760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906133ee908990899088908890889060040161430b565b6020604051808303816000875af1925050508015613429575060408051601f3d908101601f1916820190925261342691810190614369565b60015b6134d657613435614386565b806308c379a0141561346f575061344a6143a2565b806134555750613471565b8060405162461bcd60e51b8152600401610a3191906138ba565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b6064820152608401610a31565b6001600160e01b0319811663bc197c8160e01b146132f95760405162461bcd60e51b8152600401610a319061442b565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811061354057613540613f6c565b602090810291909101015292915050565b6001600160a01b0384163b156125e45760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e61906135959089908990889088908890600401614473565b6020604051808303816000875af19250505080156135d0575060408051601f3d908101601f191682019092526135cd91810190614369565b60015b6135dc57613435614386565b6001600160e01b0319811663f23a6e6160e01b146132f95760405162461bcd60e51b8152600401610a319061442b565b600081815b845181101561114c57600085828151811061362e5761362e613f6c565b6020026020010151905080831161367057604080516020810185905290810182905260600160405160208183030381529060405280519060200120925061369d565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806136a881613f98565b915050613611565b6001600160a01b0385166137375760005b8351811015613735578281815181106136dc576136dc613f6c565b6020026020010151600360008684815181106136fa576136fa613f6c565b60200260200101518152602001908152602001600020600082825461371f9190613fd3565b9091555061372e905081613f98565b90506136c1565b505b6001600160a01b0384166125e45760005b83518110156132f95782818151811061376357613763613f6c565b60200260200101516003600086848151811061378157613781613f6c565b6020026020010151815260200190815260200160002060008282546137a691906144ad565b909155506137b5905081613f98565b9050613748565b5080546000825590600052602060002090810190610f7891905b808211156137ea57600081556001016137d6565b5090565b6001600160a01b0381168114610f7857600080fd5b6000806040838503121561381657600080fd5b8235613821816137ee565b946020939093013593505050565b6001600160e01b031981168114610f7857600080fd5b60006020828403121561385757600080fd5b8135610d238161382f565b60005b8381101561387d578181015183820152602001613865565b83811115611f3d5750506000910152565b600081518084526138a6816020860160208601613862565b601f01601f19169290920160200192915050565b602081526000610d23602083018461388e565b6000602082840312156138df57600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b601f8201601f191681016001600160401b0381118282101715613921576139216138e6565b6040525050565b60405161014081016001600160401b038111828210171561394b5761394b6138e6565b60405290565b60006001600160401b0382111561396a5761396a6138e6565b5060051b60200190565b600082601f83011261398557600080fd5b8135602061399282613951565b60405161399f82826138fc565b83815260059390931b85018201928281019150868411156139bf57600080fd5b8286015b84811015612b7257803583529183019183016139c3565b60006001600160401b038211156139f3576139f36138e6565b50601f01601f191660200190565b600082601f830112613a1257600080fd5b8135613a1d816139da565b604051613a2a82826138fc565b828152856020848701011115613a3f57600080fd5b82602086016020830137600092810160200192909252509392505050565b600080600080600060a08688031215613a7557600080fd5b8535613a80816137ee565b94506020860135613a90816137ee565b935060408601356001600160401b0380821115613aac57600080fd5b613ab889838a01613974565b94506060880135915080821115613ace57600080fd5b613ada89838a01613974565b93506080880135915080821115613af057600080fd5b50613afd88828901613a01565b9150509295509295909350565b60008060408385031215613b1d57600080fd5b82356001600160401b0380821115613b3457600080fd5b818501915085601f830112613b4857600080fd5b81356020613b5582613951565b604051613b6282826138fc565b83815260059390931b8501820192828101915089841115613b8257600080fd5b948201945b83861015613ba9578535613b9a816137ee565b82529482019490820190613b87565b96505086013592505080821115613bbf57600080fd5b50613bcc85828601613974565b9150509250929050565b600081518084526020808501945080840160005b83811015613c0657815187529582019590820190600101613bea565b509495945050505050565b602081526000610d236020830184613bd6565b60008060408385031215613c3757600080fd5b82356001600160401b0380821115613c4e57600080fd5b613c5a86838701613974565b93506020850135915080821115613bbf57600080fd5b600060208284031215613c8257600080fd5b8135610d23816137ee565b60008060408385031215613ca057600080fd5b8235613cab816137ee565b915060208301358015158114613cc057600080fd5b809150509250929050565b600080600060408486031215613ce057600080fd5b8335925060208401356001600160401b0380821115613cfe57600080fd5b818601915086601f830112613d1257600080fd5b813581811115613d2157600080fd5b8760208260051b8501011115613d3657600080fd5b6020830194508093505050509250925092565b60008083601f840112613d5b57600080fd5b5081356001600160401b03811115613d7257600080fd5b602083019150836020828501011115613d8a57600080fd5b9250929050565b600080600060408486031215613da657600080fd5b8335925060208401356001600160401b03811115613dc357600080fd5b613dcf86828701613d49565b9497909650939450505050565b60008060408385031215613def57600080fd5b8235613dfa816137ee565b91506020830135613cc0816137ee565b60008060008060608587031215613e2057600080fd5b8435935060208501356001600160401b03811115613e3d57600080fd5b613e4987828801613d49565b9598909750949560400135949350505050565b600080600080600060a08688031215613e7457600080fd5b8535613e7f816137ee565b94506020860135613e8f816137ee565b9350604086013592506060860135915060808601356001600160401b03811115613eb857600080fd5b613afd88828901613a01565b6020808252600d908201526c2737ba103a34329037bbb732b960991b604082015260600190565b600060208284031215613efd57600080fd5b81516001600160401b03811115613f1357600080fd5b8201601f81018413613f2457600080fd5b8051613f2f816139da565b604051613f3c82826138fc565b828152866020848601011115613f5157600080fd5b613f62836020830160208701613862565b9695505050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600019821415613fac57613fac613f82565b5060010190565b60208082526006908201526504d696e7430360d41b604082015260600190565b60008219821115613fe657613fe6613f82565b500190565b602080825260069082015265135a5b9d0c0d60d21b604082015260600190565b6000602080838503121561401e57600080fd5b82516001600160401b0381111561403457600080fd5b8301601f8101851361404557600080fd5b805161405081613951565b60405161405d82826138fc565b82815260059290921b830184019184810191508783111561407d57600080fd5b928401925b8284101561409b57835182529284019290840190614082565b979650505050505050565b6000602082840312156140b857600080fd5b5051919050565b6020808252600690820152654d696e74303160d01b604082015260600190565b60008160001904831182151516156140f9576140f9613f82565b500290565b6020808252600e908201526d09cdee840cadcdeeaced040cae8d60931b604082015260600190565b805163ffffffff81168114610d9b57600080fd5b6000610140828403121561414d57600080fd5b614155613928565b61415e83614126565b815261416c60208401614126565b602082015261417d60408401614126565b604082015261418e60608401614126565b606082015261419f60808401614126565b60808201526141b060a08401614126565b60a08201526141c160c08401614126565b60c08201526141d260e08401614126565b60e08201526101006141e5818501614126565b908201526101206141f7848201614126565b908201529392505050565b60208082526006908201526514185d5cd95960d21b604082015260600190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b6040815260006142c46040830185613bd6565b82810360208401526142d68185613bd6565b95945050505050565b8183823760009101908152919050565b60008251614301818460208701613862565b9190910192915050565b6001600160a01b0386811682528516602082015260a06040820181905260009061433790830186613bd6565b82810360608401526143498186613bd6565b9050828103608084015261435d818561388e565b98975050505050505050565b60006020828403121561437b57600080fd5b8151610d238161382f565b600060033d111561439f5760046000803e5060005160e01c5b90565b600060443d10156143b05790565b6040516003193d81016004833e81513d6001600160401b0381602484011181841117156143df57505050505090565b82850191508151818111156143f75750505050505090565b843d87010160208285010111156144115750505050505090565b614420602082860101876138fc565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b6001600160a01b03868116825285166020820152604081018490526060810183905260a06080820181905260009061409b9083018461388e565b6000828210156144bf576144bf613f82565b50039056fea2646970667358221220aedcb9e9a50479d69c2e86168c96b4fe03e9cc4a1475b01a10a4f9dff632dd9a64736f6c634300080b0033000000000000000000000000cdfbf0a94b51288d5bcd8e1e300652bd6d28652c000000000000000000000000d46876fef37fde82358bf2bfc6d1f228b049489d
Deployed Bytecode
0x6080604052600436106102ad5760003560e01c806357be393d11610175578063a22cb465116100dc578063db07587c11610095578063f13107241161006f578063f131072414610955578063f22393ad14610968578063f242432a14610988578063ff7aa51f146109a857600080fd5b8063db07587c146108c7578063db4bec44146108dc578063e985e9c51461090c57600080fd5b8063a22cb4651461081e578063bd85b0391461083e578063d14436911461086b578063d2cab0561461087e578063d95937d114610891578063da5a9a51146108a757600080fd5b80637a842d001161012e5780637a842d001461075b5780637cb647591461077b5780638221fa5b1461079b5780638f97cc68146107b157806392f84b13146107d157806395d89b41146107f157600080fd5b806357be393d146106a95780635c975abb146106c95780635fae9f28146106ea57806361a6d024146106ff57806365fec9211461072f57806379b42c351461074557600080fd5b806328ce9268116102195780633ccfd60b116101d25780633ccfd60b146105e45780633ebdb2ca146105ec57806341b8ecac1461060d5780634211b9311461062d5780634e1273f41461064d5780634f558e791461067a57600080fd5b806328ce92681461054e5780632c97c98f1461056e5780632eb2c2d6146105835780632eb4a7ab146105a357806331a15ad7146105b9578063333171bb146105cf57600080fd5b80630a1229f41161026b5780630a1229f4146103a65780630e89341c146103bb57806314c57b2a146103db5780631b8dca74146103f15780631ce46a3414610412578063257c42771461050057600080fd5b8062fdd58e146102b257806301ffc9a7146102e55780630636e352146103155780630668f8261461033657806306fdde031461034d578063080578b714610386575b600080fd5b3480156102be57600080fd5b506102d26102cd366004613803565b6109c9565b6040519081526020015b60405180910390f35b3480156102f157600080fd5b50610305610300366004613845565b610a60565b60405190151581526020016102dc565b34801561032157600080fd5b5060055461030590600160b81b900460ff1681565b34801561034257600080fd5b5061034b610ab2565b005b34801561035957600080fd5b506040805180820190915260078152664e4f524d49455360c81b60208201525b6040516102dc91906138ba565b34801561039257600080fd5b5061034b6103a13660046138cd565b610afd565b3480156103b257600080fd5b5061034b610b7e565b3480156103c757600080fd5b506103796103d63660046138cd565b610bc9565b3480156103e757600080fd5b506102d260075481565b3480156103fd57600080fd5b5060055461030590600160a81b900460ff1681565b34801561041e57600080fd5b506104a061042d3660046138cd565b600e602052600090815260409020805460019091015463ffffffff80831692640100000000808204831693600160401b8304841693600160601b8404811693600160801b8104821693600160a01b8204831693600160c01b8304841693600160e01b90930483169281811692909104168a565b6040805163ffffffff9b8c168152998b1660208b0152978a16978901979097529488166060880152928716608087015290861660a0860152851660c0850152841660e08401528316610100830152909116610120820152610140016102dc565b34801561050c57600080fd5b5061053661051b3660046138cd565b600f602052600090815260409020546001600160a01b031681565b6040516001600160a01b0390911681526020016102dc565b34801561055a57600080fd5b506102d26105693660046138cd565b610da0565b34801561057a57600080fd5b5061034b610dc1565b34801561058f57600080fd5b5061034b61059e366004613a5d565b610e0c565b3480156105af57600080fd5b506102d2600c5481565b3480156105c557600080fd5b506102d2600a5481565b3480156105db57600080fd5b5061034b610ea3565b61034b610eee565b3480156105f857600080fd5b5060055461030590600160c01b900460ff1681565b34801561061957600080fd5b5061034b6106283660046138cd565b610f7b565b34801561063957600080fd5b5061034b6106483660046138cd565b610faa565b34801561065957600080fd5b5061066d610668366004613b0a565b61102b565b6040516102dc9190613c11565b34801561068657600080fd5b506103056106953660046138cd565b600090815260036020526040902054151590565b3480156106b557600080fd5b5061034b6106c4366004613c24565b611154565b3480156106d557600080fd5b5060055461030590600160a01b900460ff1681565b3480156106f657600080fd5b5061034b6111fc565b34801561070b57600080fd5b5061030561071a3660046138cd565b60106020526000908152604090205460ff1681565b34801561073b57600080fd5b506102d260065481565b34801561075157600080fd5b506102d260095481565b34801561076757600080fd5b5061034b6107763660046138cd565b61129e565b34801561078757600080fd5b5061034b6107963660046138cd565b61157b565b3480156107a757600080fd5b506102d260085481565b3480156107bd57600080fd5b5061034b6107cc3660046138cd565b6115aa565b3480156107dd57600080fd5b5061034b6107ec366004613c70565b6115d9565b3480156107fd57600080fd5b506040805180820190915260048152634e4f524d60e01b6020820152610379565b34801561082a57600080fd5b5061034b610839366004613c8d565b611625565b34801561084a57600080fd5b506102d26108593660046138cd565b60009081526003602052604090205490565b61034b6108793660046138cd565b611634565b61034b61088c366004613ccb565b6119e7565b34801561089d57600080fd5b506102d2600b5481565b3480156108b357600080fd5b5061034b6108c2366004613d91565b611e8a565b3480156108d357600080fd5b5061034b611f43565b3480156108e857600080fd5b506103056108f7366004613c70565b600d6020526000908152604090205460ff1681565b34801561091857600080fd5b50610305610927366004613ddc565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b61034b6109633660046138cd565b611f8e565b34801561097457600080fd5b5061034b610983366004613e0a565b61221e565b34801561099457600080fd5b5061034b6109a3366004613e5c565b61237a565b3480156109b457600080fd5b5060055461030590600160b01b900460ff1681565b60006001600160a01b038316610a3a5760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084015b60405180910390fd5b506000908152602081815260408083206001600160a01b03949094168352929052205490565b60006001600160e01b03198216636cdb3d1360e11b1480610a9157506001600160e01b031982166303a24d0760e21b145b80610aac57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6004546001600160a01b03163314610adc5760405162461bcd60e51b8152600401610a3190613ec4565b6005805460ff60c01b198116600160c01b9182900460ff1615909102179055565b6004546001600160a01b03163314610b275760405162461bcd60e51b8152600401610a3190613ec4565b662386f26fc10000811015610b795760405162461bcd60e51b81526020600482015260186024820152770a0e4d2c6ca40d8cae6e640e8d0c2dc40605c606240cae8d60431b6044820152606401610a31565b600955565b6004546001600160a01b03163314610ba85760405162461bcd60e51b8152600401610a3190613ec4565b6005805460ff60a81b198116600160a81b9182900460ff1615909102179055565b600081815260036020526040902054606090610c205760405162461bcd60e51b81526020600482015260166024820152752aa9249d103737b732bc34b9ba32b73a103a37b5b2b760511b6044820152606401610a31565b620f42408211610d2a576000828152600e6020908152604091829020601254835163ee5ebeaf60e01b8152825463ffffffff808216600484015281861c811660248401529581901c86166044830152606081901c86166064830152608081901c8616608483015260a081901c861660a483015260c081901c861660c483015260e01c60e4820152600183015480861661010483015290931c9093166101248301526101448201859052916001600160a01b03169063ee5ebeaf9061016401600060405180830381865afa158015610cfb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d239190810190613eeb565b9392505050565b601254604051639cd7fdc960e01b8152600481018490526001600160a01b0390911690639cd7fdc990602401600060405180830381865afa158015610d73573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610aac9190810190613eeb565b919050565b60118181548110610db057600080fd5b600091825260209091200154905081565b6004546001600160a01b03163314610deb5760405162461bcd60e51b8152600401610a3190613ec4565b6005805460ff60b01b198116600160b01b9182900460ff1615909102179055565b6001600160a01b038516331480610e285750610e288533610927565b610e8f5760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610a31565b610e9c8585858585612401565b5050505050565b6004546001600160a01b03163314610ecd5760405162461bcd60e51b8152600401610a3190613ec4565b6005805460ff60a01b198116600160a01b9182900460ff1615909102179055565b6004546001600160a01b03163314610f185760405162461bcd60e51b8152600401610a3190613ec4565b6005546040516000916001600160a01b03169047908381818185875af1925050503d8060008114610f65576040519150601f19603f3d011682016040523d82523d6000602084013e610f6a565b606091505b5050905080610f7857600080fd5b50565b6004546001600160a01b03163314610fa55760405162461bcd60e51b8152600401610a3190613ec4565b600b55565b6004546001600160a01b03163314610fd45760405162461bcd60e51b8152600401610a3190613ec4565b662386f26fc100008110156110265760405162461bcd60e51b81526020600482015260186024820152770a0e4d2c6ca40d8cae6e640e8d0c2dc40605c606240cae8d60431b6044820152606401610a31565b600655565b606081518351146110905760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b6064820152608401610a31565b600083516001600160401b038111156110ab576110ab6138e6565b6040519080825280602002602001820160405280156110d4578160200160208202803683370190505b50905060005b845181101561114c5761111f8582815181106110f8576110f8613f6c565b602002602001015185838151811061111257611112613f6c565b60200260200101516109c9565b82828151811061113157611131613f6c565b602090810291909101015261114581613f98565b90506110da565b509392505050565b6004546001600160a01b0316331461117e5760405162461bcd60e51b8152600401610a3190613ec4565b805182511461118c57600080fd5b60005b82518110156111f7576111e5338483815181106111ae576111ae613f6c565b60200260200101518484815181106111c8576111c8613f6c565b6020026020010151604051806020016040528060008152506125ec565b806111ef81613f98565b91505061118f565b505050565b6004546001600160a01b031633146112265760405162461bcd60e51b8152600401610a3190613ec4565b60005b60115481101561128f576000601060006011848154811061124c5761124c613f6c565b9060005260206000200154815260200190815260200160002060006101000a81548160ff021916908315150217905550808061128790613f98565b915050611229565b5061129c601160006137bc565b565b600554600160c01b900460ff16156112c85760405162461bcd60e51b8152600401610a3190613fb3565b6000818152600f60205260409020546001600160a01b0316331461132e5760405162461bcd60e51b815260206004820152601760248201527f4e6f726d6965206e6f74206f776e656420627920796f750000000000000000006044820152606401610a31565b60008181526010602052604090205460ff161561137f5760405162461bcd60e51b815260206004820152600f60248201526e105b1c9958591e4818db185a5b5959608a1b6044820152606401610a31565b600a54600b54611390826001613fd3565b11156113ae5760405162461bcd60e51b8152600401610a3190613feb565b6012546000906001600160a01b03166335c5bff76113cd846001613fd3565b6040516001600160e01b031960e084901b16815260048101919091523360248201526044016000604051808303816000875af1158015611411573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611439919081019061400b565b90506000805b600a81101561151c5760125483516001600160a01b0390911690635f3768b890839086908290811061147357611473613f6c565b60200260200101516040518363ffffffff1660e01b81526004016114a1929190918252602082015260400190565b602060405180830381865afa1580156114be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114e291906140a6565b915081620f42411461150a5761150a33836001604051806020016040528060008152506125ec565b8061151481613f98565b91505061143f565b50611528836001613fd3565b600a555050506000818152601060205260408120805460ff191660019081179091556011805491820181559091527f31ecc21a745e3968a04e9570e4425bc18fa8019c68028196b546d1669c200c680155565b6004546001600160a01b031633146115a55760405162461bcd60e51b8152600401610a3190613ec4565b600c55565b6004546001600160a01b031633146115d45760405162461bcd60e51b8152600401610a3190613ec4565b600855565b6004546001600160a01b031633146116035760405162461bcd60e51b8152600401610a3190613ec4565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6116303383836126fc565b5050565b600554600160a81b900460ff161561165e5760405162461bcd60e51b8152600401610a3190613fb3565b6000811161167e5760405162461bcd60e51b8152600401610a31906140bf565b3332146116b65760405162461bcd60e51b815260206004820152600660248201526526b4b73a181960d11b6044820152606401610a31565b6004546001600160a01b031633146116f557806006546116d691906140df565b3410156116f55760405162461bcd60e51b8152600401610a31906140fe565b6007546008546117058383613fd3565b11156117235760405162461bcd60e51b8152600401610a3190613feb565b60015b8281116119d5576012546000906001600160a01b0316639bbbb1e161174b8486613fd3565b6040516001600160e01b031960e084901b1681526004810191909152336024820152604401610140604051808303816000875af1158015611790573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117b4919061413a565b905080600e60006117c58587613fd3565b815260200190815260200160002060008201518160000160006101000a81548163ffffffff021916908363ffffffff16021790555060208201518160000160046101000a81548163ffffffff021916908363ffffffff16021790555060408201518160000160086101000a81548163ffffffff021916908363ffffffff160217905550606082015181600001600c6101000a81548163ffffffff021916908363ffffffff16021790555060808201518160000160106101000a81548163ffffffff021916908363ffffffff16021790555060a08201518160000160146101000a81548163ffffffff021916908363ffffffff16021790555060c08201518160000160186101000a81548163ffffffff021916908363ffffffff16021790555060e082015181600001601c6101000a81548163ffffffff021916908363ffffffff1602179055506101008201518160010160006101000a81548163ffffffff021916908363ffffffff1602179055506101208201518160010160046101000a81548163ffffffff021916908363ffffffff16021790555090505033600f6000848661196f9190613fd3565b8152602081019190915260400160002080546001600160a01b0319166001600160a01b03929092169190911790556119c2336119ab8486613fd3565b6001604051806020016040528060008152506125ec565b50806119cd81613f98565b915050611726565b506119e08282613fd3565b6007555050565b600554600160b01b900460ff1615611a115760405162461bcd60e51b8152600401610a3190613fb3565b600083118015611a22575060058311155b611a3e5760405162461bcd60e51b8152600401610a31906140bf565b336000908152600d602052604090205460ff1615611a9e5760405162461bcd60e51b815260206004820181905260248201527f416464726573732068617320616c7265616479206265656e20636c61696d65646044820152606401610a31565b6040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050611b1883838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600c5491508490506127dd565b611b545760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b210283937b7b360991b6044820152606401610a31565b336000818152600d60205260409020805460ff191660011790556004546001600160a01b031614611bac5783600654611b8d91906140df565b341015611bac5760405162461bcd60e51b8152600401610a31906140fe565b600754600854611bbc8683613fd3565b1115611bda5760405162461bcd60e51b8152600401610a3190613feb565b60015b858111611e75576012546000906001600160a01b0316639bbbb1e1611c028486613fd3565b6040516001600160e01b031960e084901b1681526004810191909152336024820152604401610140604051808303816000875af1158015611c47573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c6b919061413a565b905080600e6000611c7c8587613fd3565b815260200190815260200160002060008201518160000160006101000a81548163ffffffff021916908363ffffffff16021790555060208201518160000160046101000a81548163ffffffff021916908363ffffffff16021790555060408201518160000160086101000a81548163ffffffff021916908363ffffffff160217905550606082015181600001600c6101000a81548163ffffffff021916908363ffffffff16021790555060808201518160000160106101000a81548163ffffffff021916908363ffffffff16021790555060a08201518160000160146101000a81548163ffffffff021916908363ffffffff16021790555060c08201518160000160186101000a81548163ffffffff021916908363ffffffff16021790555060e082015181600001601c6101000a81548163ffffffff021916908363ffffffff1602179055506101008201518160010160006101000a81548163ffffffff021916908363ffffffff1602179055506101208201518160010160046101000a81548163ffffffff021916908363ffffffff16021790555090505033600f60008486611e269190613fd3565b8152602081019190915260400160002080546001600160a01b0319166001600160a01b0392909216919091179055611e62336119ab8486613fd3565b5080611e6d81613f98565b915050611bdd565b50611e808582613fd3565b6007555050505050565b600554600160a01b900460ff1615611eb45760405162461bcd60e51b8152600401610a3190614202565b6000838152600f60205260409020546001600160a01b03163314611f065760405162461bcd60e51b81526020600482015260096024820152682737ba1037bbb732b960b91b6044820152606401610a31565b6000611f1584848460006127f3565b905080620f424114611f3d57611f3d33826001604051806020016040528060008152506125ec565b50505050565b6004546001600160a01b03163314611f6d5760405162461bcd60e51b8152600401610a3190613ec4565b6005805460ff60b81b198116600160b81b9182900460ff1615909102179055565b600554600160b81b900460ff1615611fb85760405162461bcd60e51b8152600401610a3190613fb3565b60008111611fd85760405162461bcd60e51b8152600401610a31906140bf565b3332146120105760405162461bcd60e51b815260206004820152600660248201526526b4b73a181960d11b6044820152606401610a31565b6004546001600160a01b0316331461204f578060095461203091906140df565b34101561204f5760405162461bcd60e51b8152600401610a31906140fe565b600a54600b5461205f8383613fd3565b111561207d5760405162461bcd60e51b8152600401610a3190613feb565b606060008060015b858111612209576012546001600160a01b03166335c5bff76120a78388613fd3565b6040516001600160e01b031960e084901b16815260048101919091523360248201526044016000604051808303816000875af11580156120eb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612113919081019061400b565b9350600092505b600a8310156121f75760125484516001600160a01b0390911690635f3768b890859087908290811061214e5761214e613f6c565b60200260200101516040518363ffffffff1660e01b815260040161217c929190918252602082015260400190565b602060405180830381865afa158015612199573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121bd91906140a6565b915081620f4241146121e5576121e533836001604051806020016040528060008152506125ec565b826121ef81613f98565b93505061211a565b8061220181613f98565b915050612085565b506122148585613fd3565b600a555050505050565b600554600160a01b900460ff16156122485760405162461bcd60e51b8152600401610a3190614202565b6000848152600f60205260409020546001600160a01b0316331461229a5760405162461bcd60e51b81526020600482015260096024820152682737ba1037bbb732b960b91b6044820152606401610a31565b60016122a633836109c9565b10156122e95760405162461bcd60e51b8152602060048201526012602482015271111bc81b9bdd081bdddb881d1c985a5d125160721b6044820152606401610a31565b620f4240811161232b5760405162461bcd60e51b815260206004820152600d60248201526c139bdd0818481d1c985a5d1251609a1b6044820152606401610a31565b600061233a85858560016127f3565b905080620f4241146123625761236233826001604051806020016040528060008152506125ec565b61236e85858585612b7d565b610e9c3383600161306c565b6001600160a01b03851633148061239657506123968533610927565b6123f45760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b6064820152608401610a31565b610e9c85858585856131e5565b81518351146124635760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b6064820152608401610a31565b6001600160a01b0384166124895760405162461bcd60e51b8152600401610a3190614222565b33612498818787878787613302565b60005b845181101561257e5760008582815181106124b8576124b8613f6c565b6020026020010151905060008583815181106124d6576124d6613f6c565b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156125265760405162461bcd60e51b8152600401610a3190614267565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b16825281208054849290612563908490613fd3565b925050819055505050508061257790613f98565b905061249b565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516125ce9291906142b1565b60405180910390a46125e48187878787876133aa565b505050505050565b6001600160a01b03841661264c5760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610a31565b3361266c8160008761265d88613506565b61266688613506565b87613302565b6000848152602081815260408083206001600160a01b03891684529091528120805485929061269c908490613fd3565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610e9c81600087878787613551565b816001600160a01b0316836001600160a01b031614156127705760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b6064820152608401610a31565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6000826127ea858461360c565b14949350505050565b6000848152600e60209081526040808320905190918391829161281a9189918991016142df565b6040516020818303038152906040528051906020012090507f737a05110ae7219d78dc103c20b859c24da0b24052049edf853a13a0ef55b3a860001b81141561288857825463ffffffff60c01b198116620f424160c01b178455600160c01b900463ffffffff169150612b72565b7f6954a6332b7373d68e9dc351bffce9caf76b16493bad3034481d431b6add2dee8114156128db57825463ffffffff60a01b198116620f424160a01b178455600160a01b900463ffffffff169150612b72565b7f1feffdcc0b7d6d36bc3fbde6c0358074c13f6df6cbb4c3635167e516f984236181141561292e57825463ffffffff60801b198116620f424160801b178455600160801b900463ffffffff169150612b72565b7f5e47b691d06cb279a2b83088501f7f7b0810b33cdbc8844c9fdb87a16a66b4d28114801561295a5750845b1561297d57825463ffffffff198116620f424117845563ffffffff169150612b72565b7fd908a9a3716170d54dd91b434bdf0688b2c9d7dd05496173e40a5b3c359e0a5d8114156129d057825463ffffffff60601b198116620f424160601b178455600160601b900463ffffffff169150612b72565b7f64d4144b555b7316ce2973ff7e3cc9b8820c041e28a9c9439849589862f663d1811415612a2857825463ffffffff60401b1981166a0f42410000000000000000178455600160401b900463ffffffff169150612b72565b7f0aaac4442b72fa7fe81a222e1228a95232016724605a031667e60f7fce199df4811415612a7e57825467ffffffff00000000198116660f424100000000178455640100000000900463ffffffff169150612b72565b7ff9a9f51bd5106f9b945fe92fa2e7e1257dc60ef3bedd55ddba22a2be68c08f4d811415612ad05782546001600160e01b038116620f424160e01b178455600160e01b900463ffffffff169150612b72565b7ffc913118f916d1f1b5b00fee9486a2e642821127817edff3ed98980ed99d49bf811415612b1b5760018301805463ffffffff198116620f42411790915563ffffffff169150612b72565b7f76bbb549a0b8d61781a306d7d1deabaab974ad0f09eec4fea6fa556565443c2d8114156102ad5760018301805467ffffffff00000000198116660f42410000000017909155640100000000900463ffffffff1691505b509695505050505050565b601254604051632ee2416560e01b81526004810183905282916000916001600160a01b0390911690632ee2416590602401600060405180830381865afa158015612bcb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612bf39190810190613eeb565b905060008585604051602001612c0a9291906142df565b604051602081830303815290604052805190602001209050600082604051602001612c3591906142ef565b6040516020818303038152906040528051906020012090507fea1a852ad5cf1fce5321823cddedf8aca1177f0c1acfb21e5eb86211bb8da1a760001b811415612d35577ff9a9f51bd5106f9b945fe92fa2e7e1257dc60ef3bedd55ddba22a2be68c08f4d821480612cc557507ffc913118f916d1f1b5b00fee9486a2e642821127817edff3ed98980ed99d49bf82145b80612cef57507f76bbb549a0b8d61781a306d7d1deabaab974ad0f09eec4fea6fa556565443c2d82145b612d305760405162461bcd60e51b8152602060048201526012602482015271082c6c6cae6e6dee4f240dad2e6dac2e8c6d60731b6044820152606401610a31565b612d84565b808214612d845760405162461bcd60e51b815260206004820152601760248201527f4e6f74207468652073616d6520747261697420747970650000000000000000006044820152606401610a31565b6000888152600e602052604090207f737a05110ae7219d78dc103c20b859c24da0b24052049edf853a13a0ef55b3a8831415612ddb57805463ffffffff60c01b1916600160c01b63ffffffff871602178155613061565b7f6954a6332b7373d68e9dc351bffce9caf76b16493bad3034481d431b6add2dee831415612e2457805463ffffffff60a01b1916600160a01b63ffffffff871602178155613061565b7f1feffdcc0b7d6d36bc3fbde6c0358074c13f6df6cbb4c3635167e516f9842361831415612e6d57805463ffffffff60801b1916600160801b63ffffffff871602178155613061565b7f5e47b691d06cb279a2b83088501f7f7b0810b33cdbc8844c9fdb87a16a66b4d2831415612ead57805463ffffffff191663ffffffff8616178155613061565b7fd908a9a3716170d54dd91b434bdf0688b2c9d7dd05496173e40a5b3c359e0a5d831415612ef657805463ffffffff60601b1916600160601b63ffffffff871602178155613061565b7f64d4144b555b7316ce2973ff7e3cc9b8820c041e28a9c9439849589862f663d1831415612f3f57805463ffffffff60401b1916600160401b63ffffffff871602178155613061565b7f0aaac4442b72fa7fe81a222e1228a95232016724605a031667e60f7fce199df4831415612f8a57805467ffffffff00000000191664010000000063ffffffff871602178155613061565b7ff9a9f51bd5106f9b945fe92fa2e7e1257dc60ef3bedd55ddba22a2be68c08f4d831415612fd25780546001600160e01b0316600160e01b63ffffffff871602178155613061565b7ffc913118f916d1f1b5b00fee9486a2e642821127817edff3ed98980ed99d49bf8314156130165760018101805463ffffffff191663ffffffff8716179055613061565b7f76bbb549a0b8d61781a306d7d1deabaab974ad0f09eec4fea6fa556565443c2d8314156102ad5760018101805467ffffffff00000000191664010000000063ffffffff8816021790555b505050505050505050565b6001600160a01b0383166130ce5760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201526265737360e81b6064820152608401610a31565b336130fd818560006130df87613506565b6130e887613506565b60405180602001604052806000815250613302565b6000838152602081815260408083206001600160a01b03881684529091529020548281101561317a5760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604482015263616e636560e01b6064820152608401610a31565b6000848152602081815260408083206001600160a01b03898116808652918452828520888703905582518981529384018890529092908616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b6001600160a01b03841661320b5760405162461bcd60e51b8152600401610a3190614222565b3361321b81878761265d88613506565b6000848152602081815260408083206001600160a01b038a1684529091529020548381101561325c5760405162461bcd60e51b8152600401610a3190614267565b6000858152602081815260408083206001600160a01b038b8116855292528083208785039055908816825281208054869290613299908490613fd3565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46132f9828888888888613551565b50505050505050565b600554600160a01b900460ff161561332c5760405162461bcd60e51b8152600401610a3190614202565b60005b835181101561339b57600084828151811061334c5761334c613f6c565b60200260200101519050620f42408111613388576000818152600f6020526040902080546001600160a01b0319166001600160a01b0388161790555b508061339381613f98565b91505061332f565b506125e48686868686866136b0565b6001600160a01b0384163b156125e45760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906133ee908990899088908890889060040161430b565b6020604051808303816000875af1925050508015613429575060408051601f3d908101601f1916820190925261342691810190614369565b60015b6134d657613435614386565b806308c379a0141561346f575061344a6143a2565b806134555750613471565b8060405162461bcd60e51b8152600401610a3191906138ba565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b6064820152608401610a31565b6001600160e01b0319811663bc197c8160e01b146132f95760405162461bcd60e51b8152600401610a319061442b565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811061354057613540613f6c565b602090810291909101015292915050565b6001600160a01b0384163b156125e45760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e61906135959089908990889088908890600401614473565b6020604051808303816000875af19250505080156135d0575060408051601f3d908101601f191682019092526135cd91810190614369565b60015b6135dc57613435614386565b6001600160e01b0319811663f23a6e6160e01b146132f95760405162461bcd60e51b8152600401610a319061442b565b600081815b845181101561114c57600085828151811061362e5761362e613f6c565b6020026020010151905080831161367057604080516020810185905290810182905260600160405160208183030381529060405280519060200120925061369d565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806136a881613f98565b915050613611565b6001600160a01b0385166137375760005b8351811015613735578281815181106136dc576136dc613f6c565b6020026020010151600360008684815181106136fa576136fa613f6c565b60200260200101518152602001908152602001600020600082825461371f9190613fd3565b9091555061372e905081613f98565b90506136c1565b505b6001600160a01b0384166125e45760005b83518110156132f95782818151811061376357613763613f6c565b60200260200101516003600086848151811061378157613781613f6c565b6020026020010151815260200190815260200160002060008282546137a691906144ad565b909155506137b5905081613f98565b9050613748565b5080546000825590600052602060002090810190610f7891905b808211156137ea57600081556001016137d6565b5090565b6001600160a01b0381168114610f7857600080fd5b6000806040838503121561381657600080fd5b8235613821816137ee565b946020939093013593505050565b6001600160e01b031981168114610f7857600080fd5b60006020828403121561385757600080fd5b8135610d238161382f565b60005b8381101561387d578181015183820152602001613865565b83811115611f3d5750506000910152565b600081518084526138a6816020860160208601613862565b601f01601f19169290920160200192915050565b602081526000610d23602083018461388e565b6000602082840312156138df57600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b601f8201601f191681016001600160401b0381118282101715613921576139216138e6565b6040525050565b60405161014081016001600160401b038111828210171561394b5761394b6138e6565b60405290565b60006001600160401b0382111561396a5761396a6138e6565b5060051b60200190565b600082601f83011261398557600080fd5b8135602061399282613951565b60405161399f82826138fc565b83815260059390931b85018201928281019150868411156139bf57600080fd5b8286015b84811015612b7257803583529183019183016139c3565b60006001600160401b038211156139f3576139f36138e6565b50601f01601f191660200190565b600082601f830112613a1257600080fd5b8135613a1d816139da565b604051613a2a82826138fc565b828152856020848701011115613a3f57600080fd5b82602086016020830137600092810160200192909252509392505050565b600080600080600060a08688031215613a7557600080fd5b8535613a80816137ee565b94506020860135613a90816137ee565b935060408601356001600160401b0380821115613aac57600080fd5b613ab889838a01613974565b94506060880135915080821115613ace57600080fd5b613ada89838a01613974565b93506080880135915080821115613af057600080fd5b50613afd88828901613a01565b9150509295509295909350565b60008060408385031215613b1d57600080fd5b82356001600160401b0380821115613b3457600080fd5b818501915085601f830112613b4857600080fd5b81356020613b5582613951565b604051613b6282826138fc565b83815260059390931b8501820192828101915089841115613b8257600080fd5b948201945b83861015613ba9578535613b9a816137ee565b82529482019490820190613b87565b96505086013592505080821115613bbf57600080fd5b50613bcc85828601613974565b9150509250929050565b600081518084526020808501945080840160005b83811015613c0657815187529582019590820190600101613bea565b509495945050505050565b602081526000610d236020830184613bd6565b60008060408385031215613c3757600080fd5b82356001600160401b0380821115613c4e57600080fd5b613c5a86838701613974565b93506020850135915080821115613bbf57600080fd5b600060208284031215613c8257600080fd5b8135610d23816137ee565b60008060408385031215613ca057600080fd5b8235613cab816137ee565b915060208301358015158114613cc057600080fd5b809150509250929050565b600080600060408486031215613ce057600080fd5b8335925060208401356001600160401b0380821115613cfe57600080fd5b818601915086601f830112613d1257600080fd5b813581811115613d2157600080fd5b8760208260051b8501011115613d3657600080fd5b6020830194508093505050509250925092565b60008083601f840112613d5b57600080fd5b5081356001600160401b03811115613d7257600080fd5b602083019150836020828501011115613d8a57600080fd5b9250929050565b600080600060408486031215613da657600080fd5b8335925060208401356001600160401b03811115613dc357600080fd5b613dcf86828701613d49565b9497909650939450505050565b60008060408385031215613def57600080fd5b8235613dfa816137ee565b91506020830135613cc0816137ee565b60008060008060608587031215613e2057600080fd5b8435935060208501356001600160401b03811115613e3d57600080fd5b613e4987828801613d49565b9598909750949560400135949350505050565b600080600080600060a08688031215613e7457600080fd5b8535613e7f816137ee565b94506020860135613e8f816137ee565b9350604086013592506060860135915060808601356001600160401b03811115613eb857600080fd5b613afd88828901613a01565b6020808252600d908201526c2737ba103a34329037bbb732b960991b604082015260600190565b600060208284031215613efd57600080fd5b81516001600160401b03811115613f1357600080fd5b8201601f81018413613f2457600080fd5b8051613f2f816139da565b604051613f3c82826138fc565b828152866020848601011115613f5157600080fd5b613f62836020830160208701613862565b9695505050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600019821415613fac57613fac613f82565b5060010190565b60208082526006908201526504d696e7430360d41b604082015260600190565b60008219821115613fe657613fe6613f82565b500190565b602080825260069082015265135a5b9d0c0d60d21b604082015260600190565b6000602080838503121561401e57600080fd5b82516001600160401b0381111561403457600080fd5b8301601f8101851361404557600080fd5b805161405081613951565b60405161405d82826138fc565b82815260059290921b830184019184810191508783111561407d57600080fd5b928401925b8284101561409b57835182529284019290840190614082565b979650505050505050565b6000602082840312156140b857600080fd5b5051919050565b6020808252600690820152654d696e74303160d01b604082015260600190565b60008160001904831182151516156140f9576140f9613f82565b500290565b6020808252600e908201526d09cdee840cadcdeeaced040cae8d60931b604082015260600190565b805163ffffffff81168114610d9b57600080fd5b6000610140828403121561414d57600080fd5b614155613928565b61415e83614126565b815261416c60208401614126565b602082015261417d60408401614126565b604082015261418e60608401614126565b606082015261419f60808401614126565b60808201526141b060a08401614126565b60a08201526141c160c08401614126565b60c08201526141d260e08401614126565b60e08201526101006141e5818501614126565b908201526101206141f7848201614126565b908201529392505050565b60208082526006908201526514185d5cd95960d21b604082015260600190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b6040815260006142c46040830185613bd6565b82810360208401526142d68185613bd6565b95945050505050565b8183823760009101908152919050565b60008251614301818460208701613862565b9190910192915050565b6001600160a01b0386811682528516602082015260a06040820181905260009061433790830186613bd6565b82810360608401526143498186613bd6565b9050828103608084015261435d818561388e565b98975050505050505050565b60006020828403121561437b57600080fd5b8151610d238161382f565b600060033d111561439f5760046000803e5060005160e01c5b90565b600060443d10156143b05790565b6040516003193d81016004833e81513d6001600160401b0381602484011181841117156143df57505050505090565b82850191508151818111156143f75750505050505090565b843d87010160208285010111156144115750505050505090565b614420602082860101876138fc565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b6001600160a01b03868116825285166020820152604081018490526060810183905260a06080820181905260009061409b9083018461388e565b6000828210156144bf576144bf613f82565b50039056fea2646970667358221220aedcb9e9a50479d69c2e86168c96b4fe03e9cc4a1475b01a10a4f9dff632dd9a64736f6c634300080b0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000cdfbf0a94b51288d5bcd8e1e300652bd6d28652c000000000000000000000000d46876fef37fde82358bf2bfc6d1f228b049489d
-----Decoded View---------------
Arg [0] : traitsContract (address): 0xcdfbf0a94b51288d5bcd8E1e300652bD6D28652c
Arg [1] : _paymentaddr (address): 0xd46876Fef37fDE82358bf2bfC6D1f228B049489d
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000cdfbf0a94b51288d5bcd8e1e300652bd6d28652c
Arg [1] : 000000000000000000000000d46876fef37fde82358bf2bfc6d1f228b049489d
Deployed Bytecode Sourcemap
66261:20723:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50828:231;;;;;;;;;;-1:-1:-1;50828:231:0;;;;;:::i;:::-;;:::i;:::-;;;616:25:1;;;604:2;589:18;50828:231:0;;;;;;;;49851:310;;;;;;;;;;-1:-1:-1;49851:310:0;;;;;:::i;:::-;;:::i;:::-;;;1203:14:1;;1196:22;1178:41;;1166:2;1151:18;49851:310:0;1038:187:1;67890:28:0;;;;;;;;;;-1:-1:-1;67890:28:0;;;;-1:-1:-1;;;67890:28:0;;;;;;86182:97;;;;;;;;;;;;;:::i;:::-;;82042:89;;;;;;;;;;-1:-1:-1;82107:16:0;;;;;;;;;;;;-1:-1:-1;;;82107:16:0;;;;82042:89;;;;;;;:::i;83895:204::-;;;;;;;;;;-1:-1:-1;83895:204:0;;;;;:::i;:::-;;:::i;85583:85::-;;;;;;;;;;;;;:::i;82497:376::-;;;;;;;;;;-1:-1:-1;82497:376:0;;;;;:::i;:::-;;:::i;68014:38::-;;;;;;;;;;;;;;;;67811:28;;;;;;;;;;-1:-1:-1;67811:28:0;;;;-1:-1:-1;;;67811:28:0;;;;;;68588:60;;;;;;;;;;-1:-1:-1;68588:60:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;68588:60:0;;;;;-1:-1:-1;;;68588:60:0;;;;;-1:-1:-1;;;68588:60:0;;;;;-1:-1:-1;;;68588:60:0;;;;;-1:-1:-1;;;68588:60:0;;;;;-1:-1:-1;;;68588:60:0;;;;;;;;;;;;;;;;;;;;2654:10:1;2691:15;;;2673:34;;2743:15;;;2738:2;2723:18;;2716:43;2795:15;;;2775:18;;;2768:43;;;;2847:15;;;2842:2;2827:18;;2820:43;2900:15;;;2894:3;2879:19;;2872:44;2953:15;;;2947:3;2932:19;;2925:44;3006:15;;3000:3;2985:19;;2978:44;3059:15;;3053:3;3038:19;;3031:44;3112:15;;3106:3;3091:19;;3084:44;3165:15;;;3159:3;3144:19;;3137:44;2631:3;2616:19;68588:60:0;2265:922:1;68655:46:0;;;;;;;;;;-1:-1:-1;68655:46:0;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;68655:46:0;;;;;;-1:-1:-1;;;;;3356:32:1;;;3338:51;;3326:2;3311:18;68655:46:0;3192:203:1;68761:34:0;;;;;;;;;;-1:-1:-1;68761:34:0;;;;;:::i;:::-;;:::i;85774:112::-;;;;;;;;;;;;;:::i;52767:442::-;;;;;;;;;;-1:-1:-1;52767:442:0;;;;;:::i;:::-;;:::i;68336:25::-;;;;;;;;;;;;;;;;68199:38;;;;;;;;;;;;;;;;85407:76;;;;;;;;;;;;;:::i;86819:162::-;;;:::i;67925:32::-;;;;;;;;;;-1:-1:-1;67925:32:0;;;;-1:-1:-1;;;67925:32:0;;;;;;84651:126;;;;;;;;;;-1:-1:-1;84651:126:0;;;;;:::i;:::-;;:::i;83501:204::-;;;;;;;;;;-1:-1:-1;83501:204:0;;;;;:::i;:::-;;:::i;51225:524::-;;;;;;;;;;-1:-1:-1;51225:524:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;65267:122::-;;;;;;;;;;-1:-1:-1;65267:122:0;;;;;:::i;:::-;65324:4;65145:16;;;:12;:16;;;;;;-1:-1:-1;;;65267:122:0;85031:279;;;;;;;;;;-1:-1:-1;85031:279:0;;;;;:::i;:::-;;:::i;67778:26::-;;;;;;;;;;-1:-1:-1;67778:26:0;;;;-1:-1:-1;;;67778:26:0;;;;;;83087:224;;;;;;;;;;;;;:::i;68710:44::-;;;;;;;;;;-1:-1:-1;68710:44:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;67964:43;;;;;;;;;;;;;;;;68149;;;;;;;;;;;;;;;;73912:927;;;;;;;;;;-1:-1:-1;73912:927:0;;;;;:::i;:::-;;:::i;86611:109::-;;;;;;;;;;-1:-1:-1;86611:109:0;;;;;:::i;:::-;;:::i;68059:37::-;;;;;;;;;;;;;;;;84305:126;;;;;;;;;;-1:-1:-1;84305:126:0;;;;;:::i;:::-;;:::i;86392:107::-;;;;;;;;;;-1:-1:-1;86392:107:0;;;;;:::i;:::-;;:::i;82235:88::-;;;;;;;;;;-1:-1:-1;82302:13:0;;;;;;;;;;;;-1:-1:-1;;;82302:13:0;;;;82235:88;;51822:155;;;;;;;;;;-1:-1:-1;51822:155:0;;;;;:::i;:::-;;:::i;65056:113::-;;;;;;;;;;-1:-1:-1;65056:113:0;;;;;:::i;:::-;65118:7;65145:16;;;:12;:16;;;;;;;65056:113;69601:974;;;;;;:::i;:::-;;:::i;70887:1545::-;;;;;;:::i;:::-;;:::i;68244:37::-;;;;;;;;;;;;;;;;75819:375;;;;;;;;;;-1:-1:-1;75819:375:0;;;;;:::i;:::-;;:::i;85987:85::-;;;;;;;;;;;;;:::i;68430:48::-;;;;;;;;;;-1:-1:-1;68430:48:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;52049:168;;;;;;;;;;-1:-1:-1;52049:168:0;;;;;:::i;:::-;-1:-1:-1;;;;;52172:27:0;;;52148:4;52172:27;;;:18;:27;;;;;;;;:37;;;;;;;;;;;;;;;52049:168;72645:1056;;;;;;:::i;:::-;;:::i;76520:620::-;;;;;;;;;;-1:-1:-1;76520:620:0;;;;;:::i;:::-;;:::i;52289:401::-;;;;;;;;;;-1:-1:-1;52289:401:0;;;;;:::i;:::-;;:::i;67846:37::-;;;;;;;;;;-1:-1:-1;67846:37:0;;;;-1:-1:-1;;;67846:37:0;;;;;;50828:231;50914:7;-1:-1:-1;;;;;50942:21:0;;50934:77;;;;-1:-1:-1;;;50934:77:0;;14034:2:1;50934:77:0;;;14016:21:1;14073:2;14053:18;;;14046:30;14112:34;14092:18;;;14085:62;-1:-1:-1;;;14163:18:1;;;14156:41;14214:19;;50934:77:0;;;;;;;;;-1:-1:-1;51029:9:0;:13;;;;;;;;;;;-1:-1:-1;;;;;51029:22:0;;;;;;;;;;;;50828:231::o;49851:310::-;49953:4;-1:-1:-1;;;;;;49990:41:0;;-1:-1:-1;;;49990:41:0;;:110;;-1:-1:-1;;;;;;;50048:52:0;;-1:-1:-1;;;50048:52:0;49990:110;:163;;;-1:-1:-1;;;;;;;;;;41315:40:0;;;50117:36;49970:183;49851:310;-1:-1:-1;;49851:310:0:o;86182:97::-;69028:5;;-1:-1:-1;;;;;69028:5:0;69037:10;69028:19;69020:45;;;;-1:-1:-1;;;69020:45:0;;;;;;;:::i;:::-;86258:13:::1;::::0;;-1:-1:-1;;;;86241:30:0;::::1;-1:-1:-1::0;;;86258:13:0;;;::::1;;;86257:14;86241:30:::0;;::::1;;::::0;;86182:97::o;83895:204::-;69028:5;;-1:-1:-1;;;;;69028:5:0;69037:10;69028:19;69020:45;;;;-1:-1:-1;;;69020:45:0;;;;;;;:::i;:::-;84007:10:::1;83987:16;:30;;83979:67;;;::::0;-1:-1:-1;;;83979:67:0;;14788:2:1;83979:67:0::1;::::0;::::1;14770:21:1::0;14827:2;14807:18;;;14800:30;-1:-1:-1;;;14846:18:1;;;14839:54;14910:18;;83979:67:0::1;14586:348:1::0;83979:67:0::1;84057:15;:34:::0;83895:204::o;85583:85::-;69028:5;;-1:-1:-1;;;;;69028:5:0;69037:10;69028:19;69020:45;;;;-1:-1:-1;;;69020:45:0;;;;;;;:::i;:::-;85651:9:::1;::::0;;-1:-1:-1;;;;85638:22:0;::::1;-1:-1:-1::0;;;85651:9:0;;;::::1;;;85650:10;85638:22:::0;;::::1;;::::0;;85583:85::o;82497:376::-;65324:4;65145:16;;;:12;:16;;;;;;82565:13;;82591:46;;;;-1:-1:-1;;;82591:46:0;;15141:2:1;82591:46:0;;;15123:21:1;15180:2;15160:18;;;15153:30;-1:-1:-1;;;15199:18:1;;;15192:52;15261:18;;82591:46:0;14939:346:1;82591:46:0;82659:7;82652:3;:14;82648:218;;82682:31;82716:21;;;:16;:21;;;;;;;;;82759:6;;:32;;-1:-1:-1;;;82759:32:0;;15527:13:1;;15559:10;15596:18;;;82759:32:0;;;2219:35:1;15657:18;;;15653:27;;15682:18;;;2219:35;15732:18;;;;15728:27;;15757:18;;;2219:35;15847:2;15807:18;;;15803:27;;15832:18;;;2219:35;15923:3;15882:19;;;15878:28;;15908:19;;;2219:35;16000:3;15959:19;;;15955:28;;15985:19;;;2219:35;16077:3;16036:19;;;16032:28;;16062:19;;;2219:35;16145:3;16109:19;16130;;;2219:35;16196:4;16184:17;;16178:24;16229:20;;;16251:22;;;2219:35;16305:20;;;16301:29;;;16332:22;;;2219:35;16371:19;;;16364:35;;;82716:21:0;-1:-1:-1;;;;;82759:6:0;;:19;;15482::1;;82759:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;82759:32:0;;;;;;;;;;;;:::i;:::-;82752:39;82497:376;-1:-1:-1;;;82497:376:0:o;82648:218::-;82831:6;;:23;;-1:-1:-1;;;82831:23:0;;;;;616:25:1;;;-1:-1:-1;;;;;82831:6:0;;;;:18;;589::1;;82831:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;82831:23:0;;;;;;;;;;;;:::i;82648:218::-;82497:376;;;:::o;68761:34::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;68761:34:0;:::o;85774:112::-;69028:5;;-1:-1:-1;;;;;69028:5:0;69037:10;69028:19;69020:45;;;;-1:-1:-1;;;69020:45:0;;;;;;;:::i;:::-;85860:18:::1;::::0;;-1:-1:-1;;;;85838:40:0;::::1;-1:-1:-1::0;;;85860:18:0;;;::::1;;;85859:19;85838:40:::0;;::::1;;::::0;;85774:112::o;52767:442::-;-1:-1:-1;;;;;53000:20:0;;31139:10;53000:20;;:60;;-1:-1:-1;53024:36:0;53041:4;31139:10;52049:168;:::i;53024:36::-;52978:160;;;;-1:-1:-1;;;52978:160:0;;17307:2:1;52978:160:0;;;17289:21:1;17346:2;17326:18;;;17319:30;17385:34;17365:18;;;17358:62;-1:-1:-1;;;17436:18:1;;;17429:48;17494:19;;52978:160:0;17105:414:1;52978:160:0;53149:52;53172:4;53178:2;53182:3;53187:7;53196:4;53149:22;:52::i;:::-;52767:442;;;;;:::o;85407:76::-;69028:5;;-1:-1:-1;;;;;69028:5:0;69037:10;69028:19;69020:45;;;;-1:-1:-1;;;69020:45:0;;;;;;;:::i;:::-;85469:6:::1;::::0;;-1:-1:-1;;;;85459:16:0;::::1;-1:-1:-1::0;;;85469:6:0;;;::::1;;;85468:7;85459:16:::0;;::::1;;::::0;;85407:76::o;86819:162::-;69028:5;;-1:-1:-1;;;;;69028:5:0;69037:10;69028:19;69020:45;;;;-1:-1:-1;;;69020:45:0;;;;;;;:::i;:::-;86897:14:::1;::::0;86889:62:::1;::::0;86876:7:::1;::::0;-1:-1:-1;;;;;86897:14:0::1;::::0;86925:21:::1;::::0;86876:7;86889:62;86876:7;86889:62;86925:21;86897:14;86889:62:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;86875:76;;;86970:2;86962:11;;;::::0;::::1;;86864:117;86819:162::o:0;84651:126::-;69028:5;;-1:-1:-1;;;;;69028:5:0;69037:10;69028:19;69020:45;;;;-1:-1:-1;;;69020:45:0;;;;;;;:::i;:::-;84735:15:::1;:34:::0;84651:126::o;83501:204::-;69028:5;;-1:-1:-1;;;;;69028:5:0;69037:10;69028:19;69020:45;;;;-1:-1:-1;;;69020:45:0;;;;;;;:::i;:::-;83613:10:::1;83593:16;:30;;83585:67;;;::::0;-1:-1:-1;;;83585:67:0;;14788:2:1;83585:67:0::1;::::0;::::1;14770:21:1::0;14827:2;14807:18;;;14800:30;-1:-1:-1;;;14846:18:1;;;14839:54;14910:18;;83585:67:0::1;14586:348:1::0;83585:67:0::1;83663:15;:34:::0;83501:204::o;51225:524::-;51381:16;51442:3;:10;51423:8;:15;:29;51415:83;;;;-1:-1:-1;;;51415:83:0;;17936:2:1;51415:83:0;;;17918:21:1;17975:2;17955:18;;;17948:30;18014:34;17994:18;;;17987:62;-1:-1:-1;;;18065:18:1;;;18058:39;18114:19;;51415:83:0;17734:405:1;51415:83:0;51511:30;51558:8;:15;-1:-1:-1;;;;;51544:30:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51544:30:0;;51511:63;;51592:9;51587:122;51611:8;:15;51607:1;:19;51587:122;;;51667:30;51677:8;51686:1;51677:11;;;;;;;;:::i;:::-;;;;;;;51690:3;51694:1;51690:6;;;;;;;;:::i;:::-;;;;;;;51667:9;:30::i;:::-;51648:13;51662:1;51648:16;;;;;;;;:::i;:::-;;;;;;;;;;:49;51628:3;;;:::i;:::-;;;51587:122;;;-1:-1:-1;51728:13:0;51225:524;-1:-1:-1;;;51225:524:0:o;85031:279::-;69028:5;;-1:-1:-1;;;;;69028:5:0;69037:10;69028:19;69020:45;;;;-1:-1:-1;;;69020:45:0;;;;;;;:::i;:::-;85163:6:::1;:13;85145:7;:14;:31;85137:40;;;::::0;::::1;;85193:9;85188:115;85212:7;:14;85208:1;:18;85188:115;;;85247:44;85253:10;85265:7;85273:1;85265:10;;;;;;;;:::i;:::-;;;;;;;85277:6;85284:1;85277:9;;;;;;;;:::i;:::-;;;;;;;85247:44;;;;;;;;;;;::::0;:5:::1;:44::i;:::-;85228:3:::0;::::1;::::0;::::1;:::i;:::-;;;;85188:115;;;;85031:279:::0;;:::o;83087:224::-;69028:5;;-1:-1:-1;;;;;69028:5:0;69037:10;69028:19;69020:45;;;;-1:-1:-1;;;69020:45:0;;;;;;;:::i;:::-;83151:9:::1;83146:123;83170:17;:24:::0;83166:28;::::1;83146:123;;;83252:5;83215:12;:34;83228:17;83246:1;83228:20;;;;;;;;:::i;:::-;;;;;;;;;83215:34;;;;;;;;;;;;:42;;;;;;;;;;;;;;;;;;83196:3;;;;;:::i;:::-;;;;83146:123;;;-1:-1:-1::0;83279:24:0::1;83286:17;;83279:24;:::i;:::-;83087:224::o:0;73912:927::-;73989:13;;-1:-1:-1;;;73989:13:0;;;;73988:14;73980:33;;;;-1:-1:-1;;;73980:33:0;;;;;;;:::i;:::-;74032:20;;;;:11;:20;;;;;;-1:-1:-1;;;;;74032:20:0;74056:10;74032:34;74024:70;;;;-1:-1:-1;;;74024:70:0;;19084:2:1;74024:70:0;;;19066:21:1;19123:2;19103:18;;;19096:30;19162:25;19142:18;;;19135:53;19205:18;;74024:70:0;18882:347:1;74024:70:0;74114:21;;;;:12;:21;;;;;;;;74113:22;74105:50;;;;-1:-1:-1;;;74105:50:0;;19436:2:1;74105:50:0;;;19418:21:1;19475:2;19455:18;;;19448:30;-1:-1:-1;;;19494:18:1;;;19487:45;19549:18;;74105:50:0;19234:339:1;74105:50:0;74203:19;;74273:15;;74241:28;74203:19;74268:1;74241:28;:::i;:::-;:47;;74233:66;;;;-1:-1:-1;;;74233:66:0;;;;;;;:::i;:::-;74345:6;;74312:30;;-1:-1:-1;;;;;74345:6:0;:11;74357:28;:24;74345:6;74357:28;:::i;:::-;74345:53;;-1:-1:-1;;;;;;74345:53:0;;;;;;;;;;20219:25:1;;;;74387:10:0;20260:18:1;;;20253:60;20192:18;;74345:53:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;74345:53:0;;;;;;;;;;;;:::i;:::-;74312:86;-1:-1:-1;74409:22:0;;74442:246;74466:2;74462:1;:6;74442:246;;;74507:6;;74540:16;;-1:-1:-1;;;;;74507:6:0;;;;:30;;74538:1;;74540:13;;74538:1;;74540:16;;;;;;:::i;:::-;;;;;;;74507:50;;;;;;;;;;;;;;;21446:25:1;;;21502:2;21487:18;;21480:34;21434:2;21419:18;;21272:248;74507:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;74490:67;;74576:14;74594:7;74576:25;74572:105;;74621:40;74627:10;74639:14;74655:1;74621:40;;;;;;;;;;;;:5;:40::i;:::-;74470:3;;;;:::i;:::-;;;;74442:246;;;-1:-1:-1;74722:28:0;:24;74749:1;74722:28;:::i;:::-;74700:19;:50;-1:-1:-1;;;74761:21:0;;;;:12;:21;;;;;:28;;-1:-1:-1;;74761:28:0;74785:4;74761:28;;;;;;74800:17;:31;;;;;;;;;;;;;73912:927::o;86611:109::-;69028:5;;-1:-1:-1;;;;;69028:5:0;69037:10;69028:19;69020:45;;;;-1:-1:-1;;;69020:45:0;;;;;;;:::i;:::-;86685:10:::1;:24:::0;86611:109::o;84305:126::-;69028:5;;-1:-1:-1;;;;;69028:5:0;69037:10;69028:19;69020:45;;;;-1:-1:-1;;;69020:45:0;;;;;;;:::i;:::-;84389:15:::1;:34:::0;84305:126::o;86392:107::-;69028:5;;-1:-1:-1;;;;;69028:5:0;69037:10;69028:19;69020:45;;;;-1:-1:-1;;;69020:45:0;;;;;;;:::i;:::-;86469:14:::1;:22:::0;;-1:-1:-1;;;;;;86469:22:0::1;-1:-1:-1::0;;;;;86469:22:0;;;::::1;::::0;;;::::1;::::0;;86392:107::o;51822:155::-;51917:52;31139:10;51950:8;51960;51917:18;:52::i;:::-;51822:155;;:::o;69601:974::-;69677:9;;-1:-1:-1;;;69677:9:0;;;;69676:10;69668:29;;;;-1:-1:-1;;;69668:29:0;;;;;;;:::i;:::-;69725:1;69716:6;:10;69708:29;;;;-1:-1:-1;;;69708:29:0;;;;;;;:::i;:::-;69756:10;69770:9;69756:23;69748:42;;;;-1:-1:-1;;;69748:42:0;;22250:2:1;69748:42:0;;;22232:21:1;22289:1;22269:18;;;22262:29;-1:-1:-1;;;22307:18:1;;;22300:36;22353:18;;69748:42:0;22048:329:1;69748:42:0;69829:5;;-1:-1:-1;;;;;69829:5:0;69815:10;:19;69811:115;;69889:6;69871:15;;:24;;;;:::i;:::-;69858:9;:37;;69850:64;;;;-1:-1:-1;;;69850:64:0;;;;;;;:::i;:::-;69973:19;;70048:15;;70011:33;70038:6;69973:19;70011:33;:::i;:::-;:52;;70003:71;;;;-1:-1:-1;;;70003:71:0;;;;;;;:::i;:::-;70104:1;70087:415;70112:6;70107:1;:11;70087:415;;70216:6;;70180:33;;-1:-1:-1;;;;;70216:6:0;:21;70238:28;70265:1;70238:24;:28;:::i;:::-;70216:63;;-1:-1:-1;;;;;;70216:63:0;;;;;;;;;;20219:25:1;;;;70268:10:0;20260:18:1;;;20253:60;20192:18;;70216:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;70180:99;-1:-1:-1;70180:99:0;70294:16;:46;70311:28;70338:1;70311:24;:28;:::i;:::-;70294:46;;;;;;;;;;;:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70411:10;70367:11;:41;70406:1;70379:24;:28;;;;:::i;:::-;70367:41;;;;;;;;;;;-1:-1:-1;70367:41:0;:54;;-1:-1:-1;;;;;;70367:54:0;-1:-1:-1;;;;;70367:54:0;;;;;;;;;;70436;70442:10;70454:28;70481:1;70454:24;:28;:::i;:::-;70484:1;70436:54;;;;;;;;;;;;:5;:54::i;:::-;-1:-1:-1;70120:3:0;;;;:::i;:::-;;;;70087:415;;;-1:-1:-1;70534:33:0;70561:6;70534:24;:33;:::i;:::-;70512:19;:55;-1:-1:-1;;69601:974:0:o;70887:1545::-;71002:18;;-1:-1:-1;;;71002:18:0;;;;71001:19;70993:38;;;;-1:-1:-1;;;70993:38:0;;;;;;;:::i;:::-;71112:1;71103:6;:10;:25;;;;;71127:1;71117:6;:11;;71103:25;71095:44;;;;-1:-1:-1;;;71095:44:0;;;;;;;:::i;:::-;71229:10;71212:28;;;;:16;:28;;;;;;;;71211:29;71203:74;;;;-1:-1:-1;;;71203:74:0;;24356:2:1;71203:74:0;;;24338:21:1;;;24375:18;;;24368:30;24434:34;24414:18;;;24407:62;24486:18;;71203:74:0;24154:356:1;71203:74:0;71403:28;;-1:-1:-1;;71420:10:0;24664:2:1;24660:15;24656:53;71403:28:0;;;24644:66:1;71378:12:0;;24726::1;;71403:28:0;;;;;;;;;;;;71393:39;;;;;;71378:54;;71451:50;71470:12;;71451:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;71484:10:0;;;-1:-1:-1;71496:4:0;;-1:-1:-1;71451:18:0;:50::i;:::-;71443:76;;;;-1:-1:-1;;;71443:76:0;;24951:2:1;71443:76:0;;;24933:21:1;24990:2;24970:18;;;24963:30;-1:-1:-1;;;25009:18:1;;;25002:43;25062:18;;71443:76:0;24749:337:1;71443:76:0;71592:10;71575:28;;;;:16;:28;;;;;:35;;-1:-1:-1;;71575:35:0;71606:4;71575:35;;;71649:5;;-1:-1:-1;;;;;71649:5:0;71635:19;71631:115;;71709:6;71691:15;;:24;;;;:::i;:::-;71678:9;:37;;71670:64;;;;-1:-1:-1;;;71670:64:0;;;;;;;:::i;:::-;71830:19;;71905:15;;71868:33;71895:6;71830:19;71868:33;:::i;:::-;:52;;71860:71;;;;-1:-1:-1;;;71860:71:0;;;;;;;:::i;:::-;71961:1;71944:415;71969:6;71964:1;:11;71944:415;;72073:6;;72037:33;;-1:-1:-1;;;;;72073:6:0;:21;72095:28;72122:1;72095:24;:28;:::i;:::-;72073:63;;-1:-1:-1;;;;;;72073:63:0;;;;;;;;;;20219:25:1;;;;72125:10:0;20260:18:1;;;20253:60;20192:18;;72073:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;72037:99;-1:-1:-1;72037:99:0;72151:16;:46;72168:28;72195:1;72168:24;:28;:::i;:::-;72151:46;;;;;;;;;;;:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72268:10;72224:11;:41;72263:1;72236:24;:28;;;;:::i;:::-;72224:41;;;;;;;;;;;-1:-1:-1;72224:41:0;:54;;-1:-1:-1;;;;;;72224:54:0;-1:-1:-1;;;;;72224:54:0;;;;;;;;;;72293;72299:10;72311:28;72338:1;72311:24;:28;:::i;72293:54::-;-1:-1:-1;71977:3:0;;;;:::i;:::-;;;;71944:415;;;-1:-1:-1;72391:33:0;72418:6;72391:24;:33;:::i;:::-;72369:19;:55;-1:-1:-1;;;;;70887:1545:0:o;75819:375::-;75912:6;;-1:-1:-1;;;75912:6:0;;;;75911:7;75903:26;;;;-1:-1:-1;;;75903:26:0;;;;;;;:::i;:::-;75962:21;;;;:11;:21;;;;;;-1:-1:-1;;;;;75962:21:0;75948:10;:35;75940:57;;;;-1:-1:-1;;;75940:57:0;;25627:2:1;75940:57:0;;;25609:21:1;25666:1;25646:18;;;25639:29;-1:-1:-1;;;25684:18:1;;;25677:39;25733:18;;75940:57:0;25425:332:1;75940:57:0;76008:22;76033:45;76051:8;76061:9;;76072:5;76033:17;:45::i;:::-;76008:70;;76093:14;76111:7;76093:25;76089:98;;76135:40;76141:10;76153:14;76169:1;76135:40;;;;;;;;;;;;:5;:40::i;:::-;75892:302;75819:375;;;:::o;85987:85::-;69028:5;;-1:-1:-1;;;;;69028:5:0;69037:10;69028:19;69020:45;;;;-1:-1:-1;;;69020:45:0;;;;;;;:::i;:::-;86055:9:::1;::::0;;-1:-1:-1;;;;86042:22:0;::::1;-1:-1:-1::0;;;86055:9:0;;;::::1;;;86054:10;86042:22:::0;;::::1;;::::0;;85987:85::o;72645:1056::-;72723:9;;-1:-1:-1;;;72723:9:0;;;;72722:10;72714:29;;;;-1:-1:-1;;;72714:29:0;;;;;;;:::i;:::-;72771:1;72762:6;:10;72754:29;;;;-1:-1:-1;;;72754:29:0;;;;;;;:::i;:::-;72802:10;72816:9;72802:23;72794:42;;;;-1:-1:-1;;;72794:42:0;;22250:2:1;72794:42:0;;;22232:21:1;22289:1;22269:18;;;22262:29;-1:-1:-1;;;22307:18:1;;;22300:36;22353:18;;72794:42:0;22048:329:1;72794:42:0;72865:5;;-1:-1:-1;;;;;72865:5:0;72851:10;:19;72847:115;;72925:6;72907:15;;:24;;;;:::i;:::-;72894:9;:37;;72886:64;;;;-1:-1:-1;;;72886:64:0;;;;;;;:::i;:::-;73009:19;;73084:15;;73047:33;73074:6;73009:19;73047:33;:::i;:::-;:52;;73039:71;;;;-1:-1:-1;;;73039:71:0;;;;;;;:::i;:::-;73123:30;73164:9;;73238:1;73221:405;73246:6;73241:1;:11;73221:405;;73289:6;;-1:-1:-1;;;;;73289:6:0;:11;73301:28;73328:1;73301:24;:28;:::i;:::-;73289:53;;-1:-1:-1;;;;;;73289:53:0;;;;;;;;;;20219:25:1;;;;73331:10:0;20260:18:1;;;20253:60;20192:18;;73289:53:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;73289:53:0;;;;;;;;;;;;:::i;:::-;73273:69;;73366:1;73362:5;;73357:258;73373:2;73369:1;:6;73357:258;;;73418:6;;73451:16;;-1:-1:-1;;;;;73418:6:0;;;;:30;;73449:1;;73451:13;;73449:1;;73451:16;;;;;;:::i;:::-;;;;;;;73418:50;;;;;;;;;;;;;;;21446:25:1;;;21502:2;21487:18;;21480:34;21434:2;21419:18;;21272:248;73418:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;73401:67;;73491:14;73509:7;73491:25;73487:113;;73540:40;73546:10;73558:14;73574:1;73540:40;;;;;;;;;;;;:5;:40::i;:::-;73377:3;;;;:::i;:::-;;;;73357:258;;;73254:3;;;;:::i;:::-;;;;73221:405;;;-1:-1:-1;73660:33:0;73687:6;73660:24;:33;:::i;:::-;73638:19;:55;-1:-1:-1;;;;;72645:1056:0:o;76520:620::-;76631:6;;-1:-1:-1;;;76631:6:0;;;;76630:7;76622:26;;;;-1:-1:-1;;;76622:26:0;;;;;;;:::i;:::-;76681:21;;;;:11;:21;;;;;;-1:-1:-1;;;;;76681:21:0;76667:10;:35;76659:57;;;;-1:-1:-1;;;76659:57:0;;25627:2:1;76659:57:0;;;25609:21:1;25666:1;25646:18;;;25639:29;-1:-1:-1;;;25684:18:1;;;25677:39;25733:18;;76659:57:0;25425:332:1;76659:57:0;76769:1;76735:30;76745:10;76757:7;76735:9;:30::i;:::-;:35;;76727:66;;;;-1:-1:-1;;;76727:66:0;;25964:2:1;76727:66:0;;;25946:21:1;26003:2;25983:18;;;25976:30;-1:-1:-1;;;26022:18:1;;;26015:48;26080:18;;76727:66:0;25762:342:1;76727:66:0;76822:7;76812;:17;76804:43;;;;-1:-1:-1;;;76804:43:0;;26311:2:1;76804:43:0;;;26293:21:1;26350:2;26330:18;;;26323:30;-1:-1:-1;;;26369:18:1;;;26362:43;26422:18;;76804:43:0;26109:337:1;76804:43:0;76858:22;76883:44;76901:8;76911:9;;76922:4;76883:17;:44::i;:::-;76858:69;;76942:14;76960:7;76942:25;76938:98;;76984:40;76990:10;77002:14;77018:1;76984:40;;;;;;;;;;;;:5;:40::i;:::-;77046:46;77063:8;77073:9;;77084:7;77046:16;:46::i;:::-;77103:29;77109:10;77121:7;77130:1;77103:5;:29::i;52289:401::-;-1:-1:-1;;;;;52497:20:0;;31139:10;52497:20;;:60;;-1:-1:-1;52521:36:0;52538:4;31139:10;52049:168;:::i;52521:36::-;52475:151;;;;-1:-1:-1;;;52475:151:0;;26653:2:1;52475:151:0;;;26635:21:1;26692:2;26672:18;;;26665:30;26731:34;26711:18;;;26704:62;-1:-1:-1;;;26782:18:1;;;26775:39;26831:19;;52475:151:0;26451:405:1;52475:151:0;52637:45;52655:4;52661:2;52665;52669:6;52677:4;52637:17;:45::i;54851:1074::-;55078:7;:14;55064:3;:10;:28;55056:81;;;;-1:-1:-1;;;55056:81:0;;27063:2:1;55056:81:0;;;27045:21:1;27102:2;27082:18;;;27075:30;27141:34;27121:18;;;27114:62;-1:-1:-1;;;27192:18:1;;;27185:38;27240:19;;55056:81:0;26861:404:1;55056:81:0;-1:-1:-1;;;;;55156:16:0;;55148:66;;;;-1:-1:-1;;;55148:66:0;;;;;;;:::i;:::-;31139:10;55271:60;31139:10;55302:4;55308:2;55312:3;55317:7;55326:4;55271:20;:60::i;:::-;55349:9;55344:421;55368:3;:10;55364:1;:14;55344:421;;;55400:10;55413:3;55417:1;55413:6;;;;;;;;:::i;:::-;;;;;;;55400:19;;55434:14;55451:7;55459:1;55451:10;;;;;;;;:::i;:::-;;;;;;;;;;;;55478:19;55500:13;;;;;;;;;;-1:-1:-1;;;;;55500:19:0;;;;;;;;;;;;55451:10;;-1:-1:-1;55542:21:0;;;;55534:76;;;;-1:-1:-1;;;55534:76:0;;;;;;;:::i;:::-;55654:9;:13;;;;;;;;;;;-1:-1:-1;;;;;55654:19:0;;;;;;;;;;55676:20;;;55654:42;;55726:17;;;;;;;:27;;55676:20;;55654:9;55726:27;;55676:20;;55726:27;:::i;:::-;;;;;;;;55385:380;;;55380:3;;;;:::i;:::-;;;55344:421;;;;55812:2;-1:-1:-1;;;;;55782:47:0;55806:4;-1:-1:-1;;;;;55782:47:0;55796:8;-1:-1:-1;;;;;55782:47:0;;55816:3;55821:7;55782:47;;;;;;;:::i;:::-;;;;;;;;55842:75;55878:8;55888:4;55894:2;55898:3;55903:7;55912:4;55842:35;:75::i;:::-;55045:880;54851:1074;;;;;:::o;57243:569::-;-1:-1:-1;;;;;57396:16:0;;57388:62;;;;-1:-1:-1;;;57388:62:0;;28759:2:1;57388:62:0;;;28741:21:1;28798:2;28778:18;;;28771:30;28837:34;28817:18;;;28810:62;-1:-1:-1;;;28888:18:1;;;28881:31;28929:19;;57388:62:0;28557:397:1;57388:62:0;31139:10;57507:102;31139:10;57463:16;57550:2;57554:21;57572:2;57554:17;:21::i;:::-;57577:25;57595:6;57577:17;:25::i;:::-;57604:4;57507:20;:102::i;:::-;57622:9;:13;;;;;;;;;;;-1:-1:-1;;;;;57622:17:0;;;;;;;;;:27;;57643:6;;57622:9;:27;;57643:6;;57622:27;:::i;:::-;;;;-1:-1:-1;;57665:52:0;;;21446:25:1;;;21502:2;21487:18;;21480:34;;;-1:-1:-1;;;;;57665:52:0;;;;57698:1;;57665:52;;;;;;21419:18:1;57665:52:0;;;;;;;57730:74;57761:8;57779:1;57783:2;57787;57791:6;57799:4;57730:30;:74::i;61037:331::-;61192:8;-1:-1:-1;;;;;61183:17:0;:5;-1:-1:-1;;;;;61183:17:0;;;61175:71;;;;-1:-1:-1;;;61175:71:0;;29161:2:1;61175:71:0;;;29143:21:1;29200:2;29180:18;;;29173:30;29239:34;29219:18;;;29212:62;-1:-1:-1;;;29290:18:1;;;29283:39;29339:19;;61175:71:0;28959:405:1;61175:71:0;-1:-1:-1;;;;;61257:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;61257:46:0;;;;;;;;;;61319:41;;1178::1;;;61319::0;;1151:18:1;61319:41:0;;;;;;;61037:331;;;:::o;29120:190::-;29245:4;29298;29269:25;29282:5;29289:4;29269:12;:25::i;:::-;:33;;29120:190;-1:-1:-1;;;;29120:190:0:o;77683:1791::-;77794:7;77848:26;;;:16;:26;;;;;;;;77948:27;;77848:26;;77794:7;;;;77948:27;;77965:9;;;;77948:27;;:::i;:::-;;;;;;;;;;;;;77938:38;;;;;;77911:65;;67091:66;78011:13;;77991:16;:33;77987:1455;;;78050:12;;-1:-1:-1;;;;78077:22:0;;-1:-1:-1;;;78077:22:0;;;-1:-1:-1;;;78050:12:0;;;;;-1:-1:-1;77987:1455:0;;;66977:66;78121:33;;78117:1325;;;78181:12;;-1:-1:-1;;;;78208:22:0;;-1:-1:-1;;;78208:22:0;;;-1:-1:-1;;;78181:12:0;;;;;-1:-1:-1;78117:1325:0;;;66863:66;78252:33;;78248:1194;;;78312:12;;-1:-1:-1;;;;78339:22:0;;-1:-1:-1;;;78339:22:0;;;-1:-1:-1;;;78312:12:0;;;;;-1:-1:-1;78248:1194:0;;;66408:66;78383:37;;:72;;;;;78445:10;78383:72;78379:1063;;;78482:15;;-1:-1:-1;;78512:25:0;;78530:7;78512:25;;;78482:15;;;-1:-1:-1;78379:1063:0;;;66749:66;78559:33;;78555:887;;;78619:12;;-1:-1:-1;;;;78646:22:0;;-1:-1:-1;;;78646:22:0;;;-1:-1:-1;;;78619:12:0;;;;;-1:-1:-1;78555:887:0;;;66635:66;78690:32;;78686:756;;;78749:11;;-1:-1:-1;;;;78775:21:0;;;;;;-1:-1:-1;;;78749:11:0;;;;;-1:-1:-1;78686:756:0;;;66522:66;78818:32;;78814:628;;;78877:11;;-1:-1:-1;;78903:21:0;;;;;;78877:11;;;;;;-1:-1:-1;78814:628:0;;;67331:66;78946:41;;78942:500;;;79014:19;;-1:-1:-1;;;;;79048:29:0;;-1:-1:-1;;;79048:29:0;;;-1:-1:-1;;;79014:19:0;;;;;-1:-1:-1;78942:500:0;;;67453:66;79099:41;;79095:347;;;79167:19;;;;;-1:-1:-1;;79201:29:0;;79223:7;79201:29;;;;79167:19;;;-1:-1:-1;79095:347:0;;;67577:66;79252:43;;79248:194;;;79322:21;;;;;-1:-1:-1;;79358:31:0;;;;;;;79322:21;;;;;;-1:-1:-1;79248:194:0;-1:-1:-1;79459:7:0;77683:1791;-1:-1:-1;;;;;;77683:1791:0:o;79958:1902::-;80140:6;;:37;;-1:-1:-1;;;80140:37:0;;;;;616:25:1;;;80092:7:0;;80065:17;;-1:-1:-1;;;;;80140:6:0;;;;:28;;589:18:1;;80140:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;80140:37:0;;;;;;;;;;;;:::i;:::-;80111:66;;80188:24;80242:9;;80225:27;;;;;;;;;:::i;:::-;;;;;;;;;;;;;80215:38;;;;;;80188:65;;80264:23;80317:12;80300:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;80290:41;;;;;;80264:67;;67209:66;80367:17;;80348:15;:36;80344:370;;;67331:66;80408:41;;;:103;;-1:-1:-1;67453:66:0;80470:41;;80408:103;:167;;;-1:-1:-1;67577:66:0;80532:43;;80408:167;80400:198;;;;-1:-1:-1;;;80400:198:0;;30130:2:1;80400:198:0;;;30112:21:1;30169:2;30149:18;;;30142:30;-1:-1:-1;;;30188:18:1;;;30181:48;30246:18;;80400:198:0;29928:342:1;80400:198:0;80344:370;;;80659:15;80639:16;:35;80631:71;;;;-1:-1:-1;;;80631:71:0;;30477:2:1;80631:71:0;;;30459:21:1;30516:2;30496:18;;;30489:30;30555:25;30535:18;;;30528:53;30598:18;;80631:71:0;30275:347:1;80631:71:0;80726:31;80760:26;;;:16;:26;;;;;67091:66;80801:33;;80797:1056;;;80850:25;;-1:-1:-1;;;;80850:25:0;-1:-1:-1;;;80850:25:0;;;;;;;80797:1056;;;66977:66;80897:33;;80893:960;;;80947:25;;-1:-1:-1;;;;80947:25:0;-1:-1:-1;;;80947:25:0;;;;;;;80893:960;;;66863:66;80994:33;;80990:863;;;81044:25;;-1:-1:-1;;;;81044:25:0;-1:-1:-1;;;81044:25:0;;;;;;;80990:863;;;66408:66;81091:37;;81087:766;;;81145:28;;-1:-1:-1;;81145:28:0;;;;;;;81087:766;;;66749:66;81195:33;;81191:662;;;81245:25;;-1:-1:-1;;;;81245:25:0;-1:-1:-1;;;81245:25:0;;;;;;;81191:662;;;66635:66;81292:32;;81288:565;;;81341:24;;-1:-1:-1;;;;81341:24:0;-1:-1:-1;;;81341:24:0;;;;;;;81288:565;;;66522:66;81387:32;;81383:470;;;81436:24;;-1:-1:-1;;81436:24:0;;;;;;;;;81383:470;;;67331:66;81482:41;;81478:375;;;81540:32;;-1:-1:-1;;;;;81540:32:0;-1:-1:-1;;;81540:32:0;;;;;;;81478:375;;;67453:66;81594:41;;81590:263;;;81652:19;;;:32;;-1:-1:-1;;81652:32:0;;;;;;;81590:263;;;67577:66;81706:43;;81702:151;;;81766:21;;;:34;;-1:-1:-1;;81766:34:0;;;;;;;;;81702:151;80054:1806;;;;;79958:1902;;;;:::o;59153:648::-;-1:-1:-1;;;;;59280:18:0;;59272:66;;;;-1:-1:-1;;;59272:66:0;;30829:2:1;59272:66:0;;;30811:21:1;30868:2;30848:18;;;30841:30;30907:34;30887:18;;;30880:62;-1:-1:-1;;;30958:18:1;;;30951:33;31001:19;;59272:66:0;30627:399:1;59272:66:0;31139:10;59395:102;31139:10;59426:4;59351:16;59444:21;59462:2;59444:17;:21::i;:::-;59467:25;59485:6;59467:17;:25::i;:::-;59395:102;;;;;;;;;;;;:20;:102::i;:::-;59510:19;59532:13;;;;;;;;;;;-1:-1:-1;;;;;59532:19:0;;;;;;;;;;59570:21;;;;59562:70;;;;-1:-1:-1;;;59562:70:0;;31233:2:1;59562:70:0;;;31215:21:1;31272:2;31252:18;;;31245:30;31311:34;31291:18;;;31284:62;-1:-1:-1;;;31362:18:1;;;31355:34;31406:19;;59562:70:0;31031:400:1;59562:70:0;59668:9;:13;;;;;;;;;;;-1:-1:-1;;;;;59668:19:0;;;;;;;;;;;;59690:20;;;59668:42;;59739:54;;21446:25:1;;;21487:18;;;21480:34;;;59668:19:0;;59739:54;;;;;;21419:18:1;59739:54:0;;;;;;;59261:540;;59153:648;;;:::o;53673:820::-;-1:-1:-1;;;;;53861:16:0;;53853:66;;;;-1:-1:-1;;;53853:66:0;;;;;;;:::i;:::-;31139:10;53976:96;31139:10;54007:4;54013:2;54017:21;54035:2;54017:17;:21::i;53976:96::-;54085:19;54107:13;;;;;;;;;;;-1:-1:-1;;;;;54107:19:0;;;;;;;;;;54145:21;;;;54137:76;;;;-1:-1:-1;;;54137:76:0;;;;;;;:::i;:::-;54249:9;:13;;;;;;;;;;;-1:-1:-1;;;;;54249:19:0;;;;;;;;;;54271:20;;;54249:42;;54313:17;;;;;;;:27;;54271:20;;54249:9;54313:27;;54271:20;;54313:27;:::i;:::-;;;;-1:-1:-1;;54358:46:0;;;21446:25:1;;;21502:2;21487:18;;21480:34;;;-1:-1:-1;;;;;54358:46:0;;;;;;;;;;;;;;21419:18:1;54358:46:0;;;;;;;54417:68;54448:8;54458:4;54464:2;54468;54472:6;54480:4;54417:30;:68::i;:::-;53842:651;;53673:820;;;;;:::o;74965:510::-;75173:6;;-1:-1:-1;;;75173:6:0;;;;75172:7;75164:26;;;;-1:-1:-1;;;75164:26:0;;;;;;;:::i;:::-;75206:9;75201:190;75225:3;:10;75221:1;:14;75201:190;;;75257:15;75275:3;75279:1;75275:6;;;;;;;;:::i;:::-;;;;;;;75257:24;;75311:7;75300;:18;75296:84;;75339:20;;;;:11;:20;;;;;:25;;-1:-1:-1;;;;;;75339:25:0;-1:-1:-1;;;;;75339:25:0;;;;;75296:84;-1:-1:-1;75237:3:0;;;;:::i;:::-;;;;75201:190;;;;75401:66;75428:8;75438:4;75444:2;75448:3;75453:7;75462:4;75401:26;:66::i;63305:813::-;-1:-1:-1;;;;;63545:13:0;;32416:20;32464:8;63541:570;;63581:79;;-1:-1:-1;;;63581:79:0;;-1:-1:-1;;;;;63581:43:0;;;;;:79;;63625:8;;63635:4;;63641:3;;63646:7;;63655:4;;63581:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;63581:79:0;;;;;;;;-1:-1:-1;;63581:79:0;;;;;;;;;;;;:::i;:::-;;;63577:523;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;63973:6;63966:14;;-1:-1:-1;;;63966:14:0;;;;;;;;:::i;63577:523::-;;;64022:62;;-1:-1:-1;;;64022:62:0;;33584:2:1;64022:62:0;;;33566:21:1;33623:2;33603:18;;;33596:30;33662:34;33642:18;;;33635:62;-1:-1:-1;;;33713:18:1;;;33706:50;33773:19;;64022:62:0;33382:416:1;63577:523:0;-1:-1:-1;;;;;;63742:60:0;;-1:-1:-1;;;63742:60:0;63738:159;;63827:50;;-1:-1:-1;;;63827:50:0;;;;;;;:::i;64126:198::-;64246:16;;;64260:1;64246:16;;;;;;;;;64192;;64221:22;;64246:16;;;;;;;;;;;;-1:-1:-1;64246:16:0;64221:41;;64284:7;64273:5;64279:1;64273:8;;;;;;;;:::i;:::-;;;;;;;;;;:18;64311:5;64126:198;-1:-1:-1;;64126:198:0:o;62553:744::-;-1:-1:-1;;;;;62768:13:0;;32416:20;32464:8;62764:526;;62804:72;;-1:-1:-1;;;62804:72:0;;-1:-1:-1;;;;;62804:38:0;;;;;:72;;62843:8;;62853:4;;62859:2;;62863:6;;62871:4;;62804:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;62804:72:0;;;;;;;;-1:-1:-1;;62804:72:0;;;;;;;;;;;;:::i;:::-;;;62800:479;;;;:::i;:::-;-1:-1:-1;;;;;;62926:55:0;;-1:-1:-1;;;62926:55:0;62922:154;;63006:50;;-1:-1:-1;;;63006:50:0;;;;;;;:::i;29672:701::-;29755:7;29798:4;29755:7;29813:523;29837:5;:12;29833:1;:16;29813:523;;;29871:20;29894:5;29900:1;29894:8;;;;;;;;:::i;:::-;;;;;;;29871:31;;29937:12;29921;:28;29917:408;;30074:44;;;;;;34935:19:1;;;34970:12;;;34963:28;;;35007:12;;30074:44:0;;;;;;;;;;;;30064:55;;;;;;30049:70;;29917:408;;;30264:44;;;;;;34935:19:1;;;34970:12;;;34963:28;;;35007:12;;30264:44:0;;;;;;;;;;;;30254:55;;;;;;30239:70;;29917:408;-1:-1:-1;29851:3:0;;;;:::i;:::-;;;;29813:523;;65464:655;-1:-1:-1;;;;;65786:18:0;;65782:160;;65826:9;65821:110;65845:3;:10;65841:1;:14;65821:110;;;65905:7;65913:1;65905:10;;;;;;;;:::i;:::-;;;;;;;65881:12;:20;65894:3;65898:1;65894:6;;;;;;;;:::i;:::-;;;;;;;65881:20;;;;;;;;;;;;:34;;;;;;;:::i;:::-;;;;-1:-1:-1;65857:3:0;;-1:-1:-1;65857:3:0;;:::i;:::-;;;65821:110;;;;65782:160;-1:-1:-1;;;;;65958:16:0;;65954:158;;65996:9;65991:110;66015:3;:10;66011:1;:14;65991:110;;;66075:7;66083:1;66075:10;;;;;;;;:::i;:::-;;;;;;;66051:12;:20;66064:3;66068:1;66064:6;;;;;;;;:::i;:::-;;;;;;;66051:20;;;;;;;;;;;;:34;;;;;;;:::i;:::-;;;;-1:-1:-1;66027:3:0;;-1:-1:-1;66027:3:0;;:::i;:::-;;;65991:110;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;14:131:1:-;-1:-1:-1;;;;;89:31:1;;79:42;;69:70;;135:1;132;125:12;150:315;218:6;226;279:2;267:9;258:7;254:23;250:32;247:52;;;295:1;292;285:12;247:52;334:9;321:23;353:31;378:5;353:31;:::i;:::-;403:5;455:2;440:18;;;;427:32;;-1:-1:-1;;;150:315:1:o;652:131::-;-1:-1:-1;;;;;;726:32:1;;716:43;;706:71;;773:1;770;763:12;788:245;846:6;899:2;887:9;878:7;874:23;870:32;867:52;;;915:1;912;905:12;867:52;954:9;941:23;973:30;997:5;973:30;:::i;1230:258::-;1302:1;1312:113;1326:6;1323:1;1320:13;1312:113;;;1402:11;;;1396:18;1383:11;;;1376:39;1348:2;1341:10;1312:113;;;1443:6;1440:1;1437:13;1434:48;;;-1:-1:-1;;1478:1:1;1460:16;;1453:27;1230:258::o;1493:::-;1535:3;1573:5;1567:12;1600:6;1595:3;1588:19;1616:63;1672:6;1665:4;1660:3;1656:14;1649:4;1642:5;1638:16;1616:63;:::i;:::-;1733:2;1712:15;-1:-1:-1;;1708:29:1;1699:39;;;;1740:4;1695:50;;1493:258;-1:-1:-1;;1493:258:1:o;1756:220::-;1905:2;1894:9;1887:21;1868:4;1925:45;1966:2;1955:9;1951:18;1943:6;1925:45;:::i;1981:180::-;2040:6;2093:2;2081:9;2072:7;2068:23;2064:32;2061:52;;;2109:1;2106;2099:12;2061:52;-1:-1:-1;2132:23:1;;1981:180;-1:-1:-1;1981:180:1:o;3400:127::-;3461:10;3456:3;3452:20;3449:1;3442:31;3492:4;3489:1;3482:15;3516:4;3513:1;3506:15;3532:249;3642:2;3623:13;;-1:-1:-1;;3619:27:1;3607:40;;-1:-1:-1;;;;;3662:34:1;;3698:22;;;3659:62;3656:88;;;3724:18;;:::i;:::-;3760:2;3753:22;-1:-1:-1;;3532:249:1:o;3786:247::-;3853:2;3847:9;3895:3;3883:16;;-1:-1:-1;;;;;3914:34:1;;3950:22;;;3911:62;3908:88;;;3976:18;;:::i;:::-;4012:2;4005:22;3786:247;:::o;4038:183::-;4098:4;-1:-1:-1;;;;;4123:6:1;4120:30;4117:56;;;4153:18;;:::i;:::-;-1:-1:-1;4198:1:1;4194:14;4210:4;4190:25;;4038:183::o;4226:724::-;4280:5;4333:3;4326:4;4318:6;4314:17;4310:27;4300:55;;4351:1;4348;4341:12;4300:55;4387:6;4374:20;4413:4;4436:43;4476:2;4436:43;:::i;:::-;4508:2;4502:9;4520:31;4548:2;4540:6;4520:31;:::i;:::-;4586:18;;;4678:1;4674:10;;;;4662:23;;4658:32;;;4620:15;;;;-1:-1:-1;4702:15:1;;;4699:35;;;4730:1;4727;4720:12;4699:35;4766:2;4758:6;4754:15;4778:142;4794:6;4789:3;4786:15;4778:142;;;4860:17;;4848:30;;4898:12;;;;4811;;4778:142;;4955:186;5003:4;-1:-1:-1;;;;;5028:6:1;5025:30;5022:56;;;5058:18;;:::i;:::-;-1:-1:-1;5124:2:1;5103:15;-1:-1:-1;;5099:29:1;5130:4;5095:40;;4955:186::o;5146:508::-;5188:5;5241:3;5234:4;5226:6;5222:17;5218:27;5208:55;;5259:1;5256;5249:12;5208:55;5295:6;5282:20;5321:31;5349:2;5321:31;:::i;:::-;5381:2;5375:9;5393:31;5421:2;5413:6;5393:31;:::i;:::-;5448:2;5440:6;5433:18;5494:3;5487:4;5482:2;5474:6;5470:15;5466:26;5463:35;5460:55;;;5511:1;5508;5501:12;5460:55;5575:2;5568:4;5560:6;5556:17;5549:4;5541:6;5537:17;5524:54;5622:1;5598:15;;;5615:4;5594:26;5587:37;;;;-1:-1:-1;5602:6:1;5146:508;-1:-1:-1;;;5146:508:1:o;5659:1071::-;5813:6;5821;5829;5837;5845;5898:3;5886:9;5877:7;5873:23;5869:33;5866:53;;;5915:1;5912;5905:12;5866:53;5954:9;5941:23;5973:31;5998:5;5973:31;:::i;:::-;6023:5;-1:-1:-1;6080:2:1;6065:18;;6052:32;6093:33;6052:32;6093:33;:::i;:::-;6145:7;-1:-1:-1;6203:2:1;6188:18;;6175:32;-1:-1:-1;;;;;6256:14:1;;;6253:34;;;6283:1;6280;6273:12;6253:34;6306:61;6359:7;6350:6;6339:9;6335:22;6306:61;:::i;:::-;6296:71;;6420:2;6409:9;6405:18;6392:32;6376:48;;6449:2;6439:8;6436:16;6433:36;;;6465:1;6462;6455:12;6433:36;6488:63;6543:7;6532:8;6521:9;6517:24;6488:63;:::i;:::-;6478:73;;6604:3;6593:9;6589:19;6576:33;6560:49;;6634:2;6624:8;6621:16;6618:36;;;6650:1;6647;6640:12;6618:36;;6673:51;6716:7;6705:8;6694:9;6690:24;6673:51;:::i;:::-;6663:61;;;5659:1071;;;;;;;;:::o;6917:1277::-;7035:6;7043;7096:2;7084:9;7075:7;7071:23;7067:32;7064:52;;;7112:1;7109;7102:12;7064:52;7152:9;7139:23;-1:-1:-1;;;;;7222:2:1;7214:6;7211:14;7208:34;;;7238:1;7235;7228:12;7208:34;7276:6;7265:9;7261:22;7251:32;;7321:7;7314:4;7310:2;7306:13;7302:27;7292:55;;7343:1;7340;7333:12;7292:55;7379:2;7366:16;7401:4;7424:43;7464:2;7424:43;:::i;:::-;7496:2;7490:9;7508:31;7536:2;7528:6;7508:31;:::i;:::-;7574:18;;;7662:1;7658:10;;;;7650:19;;7646:28;;;7608:15;;;;-1:-1:-1;7686:19:1;;;7683:39;;;7718:1;7715;7708:12;7683:39;7742:11;;;;7762:217;7778:6;7773:3;7770:15;7762:217;;;7858:3;7845:17;7875:31;7900:5;7875:31;:::i;:::-;7919:18;;7795:12;;;;7957;;;;7762:217;;;7998:6;-1:-1:-1;;8042:18:1;;8029:32;;-1:-1:-1;;8073:16:1;;;8070:36;;;8102:1;8099;8092:12;8070:36;;8125:63;8180:7;8169:8;8158:9;8154:24;8125:63;:::i;:::-;8115:73;;;6917:1277;;;;;:::o;8199:435::-;8252:3;8290:5;8284:12;8317:6;8312:3;8305:19;8343:4;8372:2;8367:3;8363:12;8356:19;;8409:2;8402:5;8398:14;8430:1;8440:169;8454:6;8451:1;8448:13;8440:169;;;8515:13;;8503:26;;8549:12;;;;8584:15;;;;8476:1;8469:9;8440:169;;;-1:-1:-1;8625:3:1;;8199:435;-1:-1:-1;;;;;8199:435:1:o;8639:261::-;8818:2;8807:9;8800:21;8781:4;8838:56;8890:2;8879:9;8875:18;8867:6;8838:56;:::i;8905:595::-;9023:6;9031;9084:2;9072:9;9063:7;9059:23;9055:32;9052:52;;;9100:1;9097;9090:12;9052:52;9140:9;9127:23;-1:-1:-1;;;;;9210:2:1;9202:6;9199:14;9196:34;;;9226:1;9223;9216:12;9196:34;9249:61;9302:7;9293:6;9282:9;9278:22;9249:61;:::i;:::-;9239:71;;9363:2;9352:9;9348:18;9335:32;9319:48;;9392:2;9382:8;9379:16;9376:36;;;9408:1;9405;9398:12;9690:255;9757:6;9810:2;9798:9;9789:7;9785:23;9781:32;9778:52;;;9826:1;9823;9816:12;9778:52;9865:9;9852:23;9884:31;9909:5;9884:31;:::i;9950:416::-;10015:6;10023;10076:2;10064:9;10055:7;10051:23;10047:32;10044:52;;;10092:1;10089;10082:12;10044:52;10131:9;10118:23;10150:31;10175:5;10150:31;:::i;:::-;10200:5;-1:-1:-1;10257:2:1;10242:18;;10229:32;10299:15;;10292:23;10280:36;;10270:64;;10330:1;10327;10320:12;10270:64;10353:7;10343:17;;;9950:416;;;;;:::o;10371:683::-;10466:6;10474;10482;10535:2;10523:9;10514:7;10510:23;10506:32;10503:52;;;10551:1;10548;10541:12;10503:52;10587:9;10574:23;10564:33;;10648:2;10637:9;10633:18;10620:32;-1:-1:-1;;;;;10712:2:1;10704:6;10701:14;10698:34;;;10728:1;10725;10718:12;10698:34;10766:6;10755:9;10751:22;10741:32;;10811:7;10804:4;10800:2;10796:13;10792:27;10782:55;;10833:1;10830;10823:12;10782:55;10873:2;10860:16;10899:2;10891:6;10888:14;10885:34;;;10915:1;10912;10905:12;10885:34;10968:7;10963:2;10953:6;10950:1;10946:14;10942:2;10938:23;10934:32;10931:45;10928:65;;;10989:1;10986;10979:12;10928:65;11020:2;11016;11012:11;11002:21;;11042:6;11032:16;;;;;10371:683;;;;;:::o;11059:348::-;11111:8;11121:6;11175:3;11168:4;11160:6;11156:17;11152:27;11142:55;;11193:1;11190;11183:12;11142:55;-1:-1:-1;11216:20:1;;-1:-1:-1;;;;;11248:30:1;;11245:50;;;11291:1;11288;11281:12;11245:50;11328:4;11320:6;11316:17;11304:29;;11380:3;11373:4;11364:6;11356;11352:19;11348:30;11345:39;11342:59;;;11397:1;11394;11387:12;11342:59;11059:348;;;;;:::o;11412:479::-;11492:6;11500;11508;11561:2;11549:9;11540:7;11536:23;11532:32;11529:52;;;11577:1;11574;11567:12;11529:52;11613:9;11600:23;11590:33;;11674:2;11663:9;11659:18;11646:32;-1:-1:-1;;;;;11693:6:1;11690:30;11687:50;;;11733:1;11730;11723:12;11687:50;11772:59;11823:7;11814:6;11803:9;11799:22;11772:59;:::i;:::-;11412:479;;11850:8;;-1:-1:-1;11746:85:1;;-1:-1:-1;;;;11412:479:1:o;12148:388::-;12216:6;12224;12277:2;12265:9;12256:7;12252:23;12248:32;12245:52;;;12293:1;12290;12283:12;12245:52;12332:9;12319:23;12351:31;12376:5;12351:31;:::i;:::-;12401:5;-1:-1:-1;12458:2:1;12443:18;;12430:32;12471:33;12430:32;12471:33;:::i;12541:547::-;12630:6;12638;12646;12654;12707:2;12695:9;12686:7;12682:23;12678:32;12675:52;;;12723:1;12720;12713:12;12675:52;12759:9;12746:23;12736:33;;12820:2;12809:9;12805:18;12792:32;-1:-1:-1;;;;;12839:6:1;12836:30;12833:50;;;12879:1;12876;12869:12;12833:50;12918:59;12969:7;12960:6;12949:9;12945:22;12918:59;:::i;:::-;12541:547;;12996:8;;-1:-1:-1;12892:85:1;;13078:2;13063:18;13050:32;;12541:547;-1:-1:-1;;;;12541:547:1:o;13093:734::-;13197:6;13205;13213;13221;13229;13282:3;13270:9;13261:7;13257:23;13253:33;13250:53;;;13299:1;13296;13289:12;13250:53;13338:9;13325:23;13357:31;13382:5;13357:31;:::i;:::-;13407:5;-1:-1:-1;13464:2:1;13449:18;;13436:32;13477:33;13436:32;13477:33;:::i;:::-;13529:7;-1:-1:-1;13583:2:1;13568:18;;13555:32;;-1:-1:-1;13634:2:1;13619:18;;13606:32;;-1:-1:-1;13689:3:1;13674:19;;13661:33;-1:-1:-1;;;;;13706:30:1;;13703:50;;;13749:1;13746;13739:12;13703:50;13772:49;13813:7;13804:6;13793:9;13789:22;13772:49;:::i;14244:337::-;14446:2;14428:21;;;14485:2;14465:18;;;14458:30;-1:-1:-1;;;14519:2:1;14504:18;;14497:43;14572:2;14557:18;;14244:337::o;16410:690::-;16490:6;16543:2;16531:9;16522:7;16518:23;16514:32;16511:52;;;16559:1;16556;16549:12;16511:52;16592:9;16586:16;-1:-1:-1;;;;;16617:6:1;16614:30;16611:50;;;16657:1;16654;16647:12;16611:50;16680:22;;16733:4;16725:13;;16721:27;-1:-1:-1;16711:55:1;;16762:1;16759;16752:12;16711:55;16791:2;16785:9;16813:31;16841:2;16813:31;:::i;:::-;16873:2;16867:9;16885:31;16913:2;16905:6;16885:31;:::i;:::-;16940:2;16932:6;16925:18;16980:7;16975:2;16970;16966;16962:11;16958:20;16955:33;16952:53;;;17001:1;16998;16991:12;16952:53;17014:55;17066:2;17061;17053:6;17049:15;17044:2;17040;17036:11;17014:55;:::i;:::-;17088:6;16410:690;-1:-1:-1;;;;;;16410:690:1:o;18144:127::-;18205:10;18200:3;18196:20;18193:1;18186:31;18236:4;18233:1;18226:15;18260:4;18257:1;18250:15;18276:127;18337:10;18332:3;18328:20;18325:1;18318:31;18368:4;18365:1;18358:15;18392:4;18389:1;18382:15;18408:135;18447:3;-1:-1:-1;;18468:17:1;;18465:43;;;18488:18;;:::i;:::-;-1:-1:-1;18535:1:1;18524:13;;18408:135::o;18548:329::-;18750:2;18732:21;;;18789:1;18769:18;;;18762:29;-1:-1:-1;;;18822:2:1;18807:18;;18800:36;18868:2;18853:18;;18548:329::o;19578:128::-;19618:3;19649:1;19645:6;19642:1;19639:13;19636:39;;;19655:18;;:::i;:::-;-1:-1:-1;19691:9:1;;19578:128::o;19711:329::-;19913:2;19895:21;;;19952:1;19932:18;;;19925:29;-1:-1:-1;;;19985:2:1;19970:18;;19963:36;20031:2;20016:18;;19711:329::o;20324:943::-;20419:6;20450:2;20493;20481:9;20472:7;20468:23;20464:32;20461:52;;;20509:1;20506;20499:12;20461:52;20542:9;20536:16;-1:-1:-1;;;;;20567:6:1;20564:30;20561:50;;;20607:1;20604;20597:12;20561:50;20630:22;;20683:4;20675:13;;20671:27;-1:-1:-1;20661:55:1;;20712:1;20709;20702:12;20661:55;20741:2;20735:9;20763:43;20803:2;20763:43;:::i;:::-;20835:2;20829:9;20847:31;20875:2;20867:6;20847:31;:::i;:::-;20913:18;;;21001:1;20997:10;;;;20989:19;;20985:28;;;20947:15;;;;-1:-1:-1;21025:19:1;;;21022:39;;;21057:1;21054;21047:12;21022:39;21081:11;;;;21101:135;21117:6;21112:3;21109:15;21101:135;;;21183:10;;21171:23;;21134:12;;;;21214;;;;21101:135;;;21255:6;20324:943;-1:-1:-1;;;;;;;20324:943:1:o;21525:184::-;21595:6;21648:2;21636:9;21627:7;21623:23;21619:32;21616:52;;;21664:1;21661;21654:12;21616:52;-1:-1:-1;21687:16:1;;21525:184;-1:-1:-1;21525:184:1:o;21714:329::-;21916:2;21898:21;;;21955:1;21935:18;;;21928:29;-1:-1:-1;;;21988:2:1;21973:18;;21966:36;22034:2;22019:18;;21714:329::o;22382:168::-;22422:7;22488:1;22484;22480:6;22476:14;22473:1;22470:21;22465:1;22458:9;22451:17;22447:45;22444:71;;;22495:18;;:::i;:::-;-1:-1:-1;22535:9:1;;22382:168::o;22555:338::-;22757:2;22739:21;;;22796:2;22776:18;;;22769:30;-1:-1:-1;;;22830:2:1;22815:18;;22808:44;22884:2;22869:18;;22555:338::o;22898:167::-;22976:13;;23029:10;23018:22;;23008:33;;22998:61;;23055:1;23052;23045:12;23070:1079;23162:6;23215:3;23203:9;23194:7;23190:23;23186:33;23183:53;;;23232:1;23229;23222:12;23183:53;23258:17;;:::i;:::-;23298:39;23327:9;23298:39;:::i;:::-;23291:5;23284:54;23370:48;23414:2;23403:9;23399:18;23370:48;:::i;:::-;23365:2;23358:5;23354:14;23347:72;23451:48;23495:2;23484:9;23480:18;23451:48;:::i;:::-;23446:2;23439:5;23435:14;23428:72;23532:48;23576:2;23565:9;23561:18;23532:48;:::i;:::-;23527:2;23520:5;23516:14;23509:72;23614:49;23658:3;23647:9;23643:19;23614:49;:::i;:::-;23608:3;23601:5;23597:15;23590:74;23697:49;23741:3;23730:9;23726:19;23697:49;:::i;:::-;23691:3;23684:5;23680:15;23673:74;23780:49;23824:3;23813:9;23809:19;23780:49;:::i;:::-;23774:3;23767:5;23763:15;23756:74;23863:49;23907:3;23896:9;23892:19;23863:49;:::i;:::-;23857:3;23850:5;23846:15;23839:74;23932:3;23967:48;24011:2;24000:9;23996:18;23967:48;:::i;:::-;23951:14;;;23944:72;24035:3;24070:48;24099:18;;;24070:48;:::i;:::-;24054:14;;;24047:72;24058:5;23070:1079;-1:-1:-1;;;23070:1079:1:o;25091:329::-;25293:2;25275:21;;;25332:1;25312:18;;;25305:29;-1:-1:-1;;;25365:2:1;25350:18;;25343:36;25411:2;25396:18;;25091:329::o;27270:401::-;27472:2;27454:21;;;27511:2;27491:18;;;27484:30;27550:34;27545:2;27530:18;;27523:62;-1:-1:-1;;;27616:2:1;27601:18;;27594:35;27661:3;27646:19;;27270:401::o;27676:406::-;27878:2;27860:21;;;27917:2;27897:18;;;27890:30;27956:34;27951:2;27936:18;;27929:62;-1:-1:-1;;;28022:2:1;28007:18;;28000:40;28072:3;28057:19;;27676:406::o;28087:465::-;28344:2;28333:9;28326:21;28307:4;28370:56;28422:2;28411:9;28407:18;28399:6;28370:56;:::i;:::-;28474:9;28466:6;28462:22;28457:2;28446:9;28442:18;28435:50;28502:44;28539:6;28531;28502:44;:::i;:::-;28494:52;28087:465;-1:-1:-1;;;;;28087:465:1:o;29369:273::-;29554:6;29546;29541:3;29528:33;29510:3;29580:16;;29605:13;;;29580:16;29369:273;-1:-1:-1;29369:273:1:o;29647:276::-;29778:3;29816:6;29810:13;29832:53;29878:6;29873:3;29866:4;29858:6;29854:17;29832:53;:::i;:::-;29901:16;;;;;29647:276;-1:-1:-1;;29647:276:1:o;31436:827::-;-1:-1:-1;;;;;31833:15:1;;;31815:34;;31885:15;;31880:2;31865:18;;31858:43;31795:3;31932:2;31917:18;;31910:31;;;31758:4;;31964:57;;32001:19;;31993:6;31964:57;:::i;:::-;32069:9;32061:6;32057:22;32052:2;32041:9;32037:18;32030:50;32103:44;32140:6;32132;32103:44;:::i;:::-;32089:58;;32196:9;32188:6;32184:22;32178:3;32167:9;32163:19;32156:51;32224:33;32250:6;32242;32224:33;:::i;:::-;32216:41;31436:827;-1:-1:-1;;;;;;;;31436:827:1:o;32268:249::-;32337:6;32390:2;32378:9;32369:7;32365:23;32361:32;32358:52;;;32406:1;32403;32396:12;32358:52;32438:9;32432:16;32457:30;32481:5;32457:30;:::i;32522:179::-;32557:3;32599:1;32581:16;32578:23;32575:120;;;32645:1;32642;32639;32624:23;-1:-1:-1;32682:1:1;32676:8;32671:3;32667:18;32575:120;32522:179;:::o;32706:671::-;32745:3;32787:4;32769:16;32766:26;32763:39;;;32706:671;:::o;32763:39::-;32829:2;32823:9;-1:-1:-1;;32894:16:1;32890:25;;32887:1;32823:9;32866:50;32945:4;32939:11;32969:16;-1:-1:-1;;;;;33075:2:1;33068:4;33060:6;33056:17;33053:25;33048:2;33040:6;33037:14;33034:45;33031:58;;;33082:5;;;;;32706:671;:::o;33031:58::-;33119:6;33113:4;33109:17;33098:28;;33155:3;33149:10;33182:2;33174:6;33171:14;33168:27;;;33188:5;;;;;;32706:671;:::o;33168:27::-;33272:2;33253:16;33247:4;33243:27;33239:36;33232:4;33223:6;33218:3;33214:16;33210:27;33207:69;33204:82;;;33279:5;;;;;;32706:671;:::o;33204:82::-;33295:57;33346:4;33337:6;33329;33325:19;33321:30;33315:4;33295:57;:::i;:::-;-1:-1:-1;33368:3:1;;32706:671;-1:-1:-1;;;;;32706:671:1:o;33803:404::-;34005:2;33987:21;;;34044:2;34024:18;;;34017:30;34083:34;34078:2;34063:18;;34056:62;-1:-1:-1;;;34149:2:1;34134:18;;34127:38;34197:3;34182:19;;33803:404::o;34212:561::-;-1:-1:-1;;;;;34509:15:1;;;34491:34;;34561:15;;34556:2;34541:18;;34534:43;34608:2;34593:18;;34586:34;;;34651:2;34636:18;;34629:34;;;34471:3;34694;34679:19;;34672:32;;;34434:4;;34721:46;;34747:19;;34739:6;34721:46;:::i;35030:125::-;35070:4;35098:1;35095;35092:8;35089:34;;;35103:18;;:::i;:::-;-1:-1:-1;35140:9:1;;35030:125::o
Swarm Source
ipfs://aedcb9e9a50479d69c2e86168c96b4fe03e9cc4a1475b01a10a4f9dff632dd9a
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.