ERC-721
Overview
Max Total Supply
467 MNST
Holders
192
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
5 MNSTLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Monsters
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // // _ __ ___ ___ _ __ ___| |_ ___ _ __ ___ // | '_ ` _ \ / _ \| '_ \/ __| __/ _ \ '__/ __| // | | | | | | (_) | | | \__ \ || __/ | \__ \ // |_| |_| |_|\___/|_| |_|___/\__\___|_| |___/ // // ^ ^ // / \ //\ // |\___/| / \// .\ // /O O \__ / // | \ \ // / / \/_/ // | \ \ // @___@' \/_ // | \ \ // | \/_ // | \ \ // | \/// | \ \ // _|_ / ) // | \ _\ // '/,_ _ _/ ( ; -. | _ _\.-~ .-~~~^-. // ,-{ _ `-.|.-~-. .~ `. // '/\ / ~-. _ .-~ .-~^-. \ // `. { } / \ \ // .----~-.\ \-' .~ \ `. \^-. // ///.----..> c \ _ -~ `. ^-` ^-_ // ///-._ _ _ _ _ _ _}^ - - - - ~ ~--, .-~ // /.-' // pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "./interfaces/ILoot.sol"; import "./interfaces/ILootComponents.sol"; contract Monsters is ERC721Enumerable, Ownable, ReentrancyGuard { uint256 public constant price = 100000000000000000; // 0.1 ETH ILoot public constant loot = ILoot(0xFF9C1b15B16263C61d017ee9F65C50e4AE0113D7); ILootComponents public constant lootComponents = ILootComponents(0x3eb43b1545a360d1D065CB7539339363dFD445F3); event Slain(address indexed slayer, uint256 tokenId, uint256 lootId, string name); event Named(address indexed sender, uint256 tokenId, string name); mapping(uint256 => address) public slayerOf; mapping(uint256 => uint256) public slainWith; mapping(uint256 => string) private nameOf; string[] private weapons = [ "Warhammer", // 0 "Quarterstaff", // 1 "Maul", // 2 "Mace", // 3 "Club", // 4 "Katana", // 5 "Falchion", // 6 "Scimitar", // 7 "Long Sword", // 8 "Short Sword", // 9 "Ghost Wand", // 10 "Grave Wand", // 11 "Bone Wand", // 12 "Wand", // 13 "Grimoire", // 14 "Chronicle", // 15 "Tome", // 16 "Book" // 17 ]; string[] private traitCategories = [ "Color", "Quirk", "Oddity", "Organ", "Hazard", "Specialty", "Race", "Personality", "Action", "Weakness", "Slain" ]; string[] private colors = [ "Moccasin", "Ivory", "Crimson", "Coral", "Royalblue", "Forestgreen", "Tan", "Firebrick", "Azure", "Burlywood", "Turquoise", "Slateblue", "Orchid", "Chartreuse", "Gold", "Aquamarine" ]; string[] private quirks = [ "Mutant", "One-eyed", "Magical", "Psychic", "Flaming", "Scaled", "Furry", "Metallic", "Two-headed", "Umbral", "Stone", "Horned", "Divine", "Undead", "Zombie", "Vampiric" ]; string[] private oddities = [ "Muscular", "Webbed", "Bulging", "Blubbery", "Toxic", "Baggy", "Acidic", "Cursing", "Slimy", "Serrated", "Alcoholic", "Putrid", "Splintering", "Blinding", "Seductive", "Molten" ]; string[] private organs = [ "Frill", "Mandibles", "Gills", "Crown", "Camouflage", "Quills", "Lungs", "Snout", "Armour", "Spores", "Parasites", "Eggs", "Fire", "Breath", "Bile", "Jaws" ]; string[] private hazards = [ "Deadly", "Lava", "Tiny", "Spiky", "Humongous", "Sentient", "Crushing", "Smelly", "Poisonous", "Sharp", "Enormous", "Quick", "Riveting", "Strange", "Petrifying", "Unstable" ]; string[] private specialties = [ "Blood", "Sweat", "Thorns", "Webs", "Claws", "Eye", "Wings", "Arms" "Hair", "Tail", "Song", "Shout", "Gaze", "Mood", "Vapors", "Wink" ]; string[] private races = [ "Manticore", "Dragon", "Minotaur", "Phoenix", "Hydra", "Gorgon", "Titan", "Ape", "Harpy", "Griffin", "Goblin", "Penguin", "Basilisk", "Kobold", "Cyclops", "Slime" ]; string[] private personalities = [ "Rare", "Confused", "Bored", "Elusive", "Pudgy", "Cute", "Hungry", "Mad", "Lost", "Ancient", "Mythic", "Forgotten", "Battleworn", "Peaceful", "Endangered", "Cursed" ]; string[] private actions = [ "Grins", "Sleeps", "Groans", "Dances", "Awakens", "Undulates", "Flies", "Sings", "Feasts", "Sees", "Listens", "Roams", "Hides", "Stalks", "Speaks", "Thinks" ]; function mintWithLoot(uint256 lootId) public nonReentrant { require(lootId > 0 && lootId <= 8000, "Invalid ID"); require(msg.sender == loot.ownerOf(lootId), "Not loot owner"); _safeMint(_msgSender(), lootId); } function mint(uint256 tokenId) public payable nonReentrant { require(tokenId > 0 && tokenId <= 9800, "Invalid ID"); require(price <= msg.value, "Insufficient Ether"); _safeMint(_msgSender(), tokenId); } function reservedMint(uint256 tokenId) public nonReentrant onlyOwner { require(tokenId > 9800 && tokenId <= 10000, "Invalid ID"); _safeMint(_msgSender(), tokenId); } function withdraw() external onlyOwner { payable(owner()).transfer(address(this).balance); } function lootOwnerOf(uint256 lootId) external view returns (address) { return loot.ownerOf(lootId); } function getName(uint256 tokenId) public view returns (string memory) { string storage name = nameOf[tokenId]; return (bytes(name).length != 0) ? name : string(abi.encodePacked("Monster #", uint2str(tokenId))); } function getColor(uint256 tokenId) public view returns (string memory) { return pluck(tokenId, "color", colors); } function getPersonality(uint256 tokenId) public view returns (string memory) { return pluck(tokenId, "personality", personalities); } function getQuirk(uint256 tokenId) public view returns (string memory) { return pluck(tokenId, "quirk", quirks); } function getRace(uint256 tokenId) public view returns (string memory) { return pluck(tokenId, "race", races); } function getAction(uint256 tokenId) public view returns (string memory) { return pluck(tokenId, "action", actions); } function getOddity(uint256 tokenId) public view returns (string memory) { return pluck(tokenId, "oddity", oddities); } function getOrgan(uint256 tokenId) public view returns (string memory) { return pluck(tokenId, "organ", organs); } function getHazard(uint256 tokenId) public view returns (string memory) { return pluck(tokenId, "hazard", hazards); } function getSpecialty(uint256 tokenId) public view returns (string memory) { return pluck(tokenId, "specialty", specialties); } function getWeakness(uint256 tokenId) public view returns (string memory) { return weapons[getWeaknessType(tokenId)]; } function canSlay(uint256 tokenId, uint256 lootId) public view returns (bool) { return getWeaknessType(tokenId) == lootComponents.weaponComponents(lootId)[0]; } function slay( uint256 tokenId, uint256 lootId, string calldata name ) public { require(msg.sender == loot.ownerOf(lootId), "Not loot owner"); require(canSlay(tokenId, lootId), "Immune"); setName(tokenId, name); slayerOf[tokenId] = msg.sender; slainWith[tokenId] = lootId; emit Slain(msg.sender, tokenId, lootId, name); } function setName(uint256 tokenId, string calldata name) public { require(!isSlain(tokenId), "Already slain"); require(msg.sender == ownerOf(tokenId), "Not monster owner"); require(bytes(name).length <= 32, "Name > 32 chars"); nameOf[tokenId] = name; emit Named(msg.sender, tokenId, name); } function getNameLabel(uint256 tokenId) internal view returns (string memory) { string storage name = nameOf[tokenId]; if (bytes(name).length != 0) { return name; } else { return "An unknown Monster"; } } function getStatusLabel(uint256 tokenId) internal view returns (string memory) { return slayerOf[tokenId] == address(0) ? "Alive" : getSlayingWeaponMessage(tokenId); } function isSlain(uint256 tokenId) internal view returns (bool) { return slayerOf[tokenId] != address(0); } function getSlayingWeaponMessage(uint256 tokenId) internal view returns (string memory) { return slayerOf[tokenId] == address(0) ? "" : string(abi.encodePacked("Slain with Loot #", uint2str(tokenId), " ", loot.getWeapon(slainWith[tokenId]))); } function pluck( uint256 tokenId, string memory keyPrefix, string[] memory sourceArray ) internal pure returns (string memory) { uint256 rand = random(string(abi.encodePacked(keyPrefix, toString(tokenId)))); string memory output = sourceArray[rand % sourceArray.length]; return output; } function generateCard(uint256 tokenId) internal view returns (string memory) { string memory color = getColor(tokenId); return string( abi.encodePacked( '<svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMin meet" viewBox="0 0 350 350"><style>.base { fill: white; font-family: serif; font-size: 14px; }.small { font-size: 10px; }', ".colored { fill:", color, '}</style><rect width="100%" height="100%" fill="black" stroke="', color, '" stroke-width="5px" /><text text-anchor="end" x="340" y="20" class="base" font-weight="bold">#', uint2str(tokenId), '</text><text x="10" y="20" class="base" font-weight="bold">' ) ); } function getWeaknessType(uint256 tokenId) internal view returns (uint256) { uint256 rand = random(string(abi.encodePacked("weakness", toString(tokenId)))); return rand % weapons.length; } function generateDangerInfo(uint256 tokenId) internal view returns (string memory) { return string( abi.encodePacked( '.</text><text x="10" y="180" class="base">', string(abi.encodePacked("It possesses ", getOddity(tokenId), " ", getOrgan(tokenId), ".")), '</text><text x="10" y="200" class="base">', string(abi.encodePacked("Beware its ", getHazard(tokenId), " ", getSpecialty(tokenId), "!")), '</text><text x="10" y="220" class="base">', string(abi.encodePacked("It is weak to ", getWeakness(tokenId), "s.")), '</text><text x="10" y="280" class="base small">' ) ); } function traitsOf(uint256 tokenId) public view returns (string memory) { string[11] memory traitValues = [ getColor(tokenId), getQuirk(tokenId), getOddity(tokenId), getOrgan(tokenId), getHazard(tokenId), getSpecialty(tokenId), getRace(tokenId), getPersonality(tokenId), getAction(tokenId), getWeakness(tokenId), isSlain(tokenId) ? "Yes" : "No" ]; string memory resultString = "["; for (uint8 j = 0; j < traitCategories.length; j++) { if (j > 0) { resultString = strConcat(resultString, ", "); } resultString = strConcat(resultString, '{"trait_type": "'); resultString = strConcat(resultString, traitCategories[j]); resultString = strConcat(resultString, '", "value": "'); resultString = strConcat(resultString, traitValues[j]); resultString = strConcat(resultString, '"}'); } return strConcat(resultString, "]"); } function tokenURI(uint256 tokenId) public view override returns (string memory) { string[15] memory parts; parts[0] = generateCard(tokenId); // solhint-disable-line parts[1] = getNameLabel(tokenId); parts[2] = '</text><text x="10" y="60" class="base colored">'; parts[3] = getColor(tokenId); parts[4] = '</text><text x="10" y="80" class="base">'; parts[5] = getPersonality(tokenId); parts[6] = '</text><text x="10" y="100" class="base">'; parts[7] = getQuirk(tokenId); parts[8] = '</text><text x="10" y="120" class="base">'; parts[9] = getRace(tokenId); parts[10] = '</text><text x="10" y="160" class="base"> It '; parts[11] = getAction(tokenId); parts[12] = generateDangerInfo(tokenId); parts[13] = getStatusLabel(tokenId); parts[14] = "</text></svg>"; string memory output = string( abi.encodePacked(parts[0], parts[1], parts[2], parts[3], parts[4], parts[5], parts[6], parts[7], parts[8]) ); output = string(abi.encodePacked(output, parts[9], parts[10], parts[11], parts[12], parts[13], parts[14])); string memory json = Base64.encode( bytes( string( abi.encodePacked( '{"name": "', getName(tokenId), '", "description": "Monsters are randomized forgotten beasts generated and stored on chain. Stats, images, and other functionality are intentionally omitted for others to interpret. Slay them if you can - with the right Loot! Feel free to use Monsters in any way you want.", "image": "data:image/svg+xml;base64,', Base64.encode(bytes(output)), '", "attributes": ', traitsOf(tokenId), "}" ) ) ) ); output = string(abi.encodePacked("data:application/json;base64,", json)); return output; } function toString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } function random(string memory input) internal pure returns (uint256) { return uint256(keccak256(abi.encodePacked(input))); } function strConcat(string memory _a, string memory _b) internal pure returns (string memory) { return string(abi.encodePacked(bytes(_a), bytes(_b))); } function char(bytes1 b) internal pure returns (bytes1 c) { if (uint8(b) < 10) return bytes1(uint8(b) + 0x30); else return bytes1(uint8(b) + 0x57); } function uint2str(uint256 _i) internal pure returns (string memory _uintAsString) { if (_i == 0) { return "0"; } uint256 j = _i; uint256 len; while (j != 0) { len++; j /= 10; } bytes memory bstr = new bytes(len); uint256 k = len; while (_i != 0) { k = k - 1; uint8 temp = (48 + uint8(_i - (_i / 10) * 10)); bytes1 b1 = bytes1(temp); bstr[k] = b1; _i /= 10; } return string(bstr); } constructor() ERC721("Monsters", "MNST") Ownable() {} } /// [MIT License] /// @title Base64 /// @notice Provides a function for encoding some bytes in base64 /// @author Brecht Devos <[email protected]> library Base64 { bytes internal constant TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; /// @notice Encodes some bytes to the base64 representation function encode(bytes memory data) internal pure returns (string memory) { uint256 len = data.length; if (len == 0) return ""; // multiply by 4/3 rounded up uint256 encodedLen = 4 * ((len + 2) / 3); // Add some extra buffer at the end bytes memory result = new bytes(encodedLen + 32); bytes memory table = TABLE; assembly { let tablePtr := add(table, 1) let resultPtr := add(result, 32) for { let i := 0 } lt(i, len) { } { i := add(i, 3) let input := and(mload(add(data, i)), 0xffffff) let out := mload(add(tablePtr, and(shr(18, input), 0x3F))) out := shl(8, out) out := add(out, and(mload(add(tablePtr, and(shr(12, input), 0x3F))), 0xFF)) out := shl(8, out) out := add(out, and(mload(add(tablePtr, and(shr(6, input), 0x3F))), 0xFF)) out := shl(8, out) out := add(out, and(mload(add(tablePtr, and(input, 0x3F))), 0xFF)) out := shl(224, out) mstore(resultPtr, out) resultPtr := add(resultPtr, 4) } switch mod(len, 3) case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) } case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) } mstore(result, encodedLen) } return string(result); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface ILoot { function ownerOf(uint256 tokenId) external view returns (address); function getWeapon(uint256 tokenId) external view returns (string calldata); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface ILootComponents { function weaponComponents(uint256 tokenId) external view returns (uint256[5] memory); // uint256[5] => // [0] = Item ID // [1] = Suffix ID (0 for none) // [2] = Name Prefix ID (0 for none) // [3] = Name Suffix ID (0 for none) // [4] = Augmentation (0 = false, 1 = true) }
{ "evmVersion": "london", "libraries": {}, "metadata": { "bytecodeHash": "ipfs", "useLiteralContent": true }, "optimizer": { "enabled": true, "runs": 1000000 }, "remappings": [], "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"name","type":"string"}],"name":"Named","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"slayer","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lootId","type":"uint256"},{"indexed":false,"internalType":"string","name":"name","type":"string"}],"name":"Slain","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"lootId","type":"uint256"}],"name":"canSlay","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getAction","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getColor","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getHazard","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getOddity","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getOrgan","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getPersonality","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getQuirk","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getRace","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getSpecialty","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getWeakness","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"loot","outputs":[{"internalType":"contract ILoot","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lootComponents","outputs":[{"internalType":"contract ILootComponents","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"lootId","type":"uint256"}],"name":"lootOwnerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"lootId","type":"uint256"}],"name":"mintWithLoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"reservedMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"name","type":"string"}],"name":"setName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"slainWith","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"lootId","type":"uint256"},{"internalType":"string","name":"name","type":"string"}],"name":"slay","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"slayerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"traitsOf","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60096102c0818152682bb0b93430b6b6b2b960b91b6102e0526080908152600c6103009081526b28bab0b93a32b939ba30b33360a11b6103205260a05260046103408181526313585d5b60e21b6103605260c052610380818152634d61636560e01b6103a05260e0526103c08181526321b63ab160e11b6103e052610100526006610400908152654b6174616e6160d01b61042052610120526008610440818152672330b631b434b7b760c11b61046052610140526104808181526729b1b4b6b4ba30b960c11b6104a05261016052600a6104c081815269131bdb99c814dddbdc9960b21b6104e05261018052600b6105009081526a14da1bdc9d0814dddbdc9960aa1b610520526101a0526105408181526911da1bdcdd0815d85b9960b21b610560526101c0526105809081526911dc985d994815d85b9960b21b6105a0526101e0526105c084815268109bdb994815d85b9960ba1b6105e052610200526106008281526315d85b9960e21b6106205261022052610640908152674772696d6f69726560c01b6106605261024052610680928352684368726f6e69636c6560b81b6106a052610260929092526106c082815263546f6d6560e01b6106e0526102805261074060405261070091825263426f6f6b60e01b610720526102a091909152620001f190600f90601262001713565b50604080516101a081018252600561016082018181526421b7b637b960d91b61018084015282528251808401845281815264517569726b60d81b60208281019190915280840191909152835180850185526006808252654f646469747960d01b8284015284860191909152845180860186528381526427b933b0b760d91b818401526060850152845180860186528181526512185e985c9960d21b8184015260808501528451808601865260098152685370656369616c747960b81b8184015260a08501528451808601865260048152635261636560e01b8184015260c085015284518086018652600b8082526a506572736f6e616c69747960a81b8285015260e0860191909152855180870187529182526520b1ba34b7b760d11b828401526101008501919091528451808601865260088152675765616b6e65737360c01b8184015261012085015284518086019095529184526429b630b4b760d91b908401526101408201929092526200036b916010919062001777565b506040805161024081018252600861020082019081526726b7b1b1b0b9b4b760c11b61022083015281528151808301835260058082526449766f727960d81b6020838101919091528084019290925283518085018552600781526621b934b6b9b7b760c91b8184015283850152835180850185528181526410dbdc985b60da1b81840152606084015283518085018552600980825268526f79616c626c756560b81b82850152608085019190915284518086018652600b81526a2337b932b9ba33b932b2b760a91b8185015260a08501528451808601865260038152622a30b760e91b8185015260c0850152845180860186528181526846697265627269636b60b81b8185015260e08501528451808601865291825264417a75726560d81b828401526101008401919091528351808501855281815268109d5c9b1e5ddbdbd960ba1b81840152610120840152835180850185528181526854757271756f69736560b81b818401526101408401528351808501855290815268536c617465626c756560b81b8183015261016083015282518084018452600681526513dc98da1a5960d21b8183015261018083015282518084018452600a808252694368617274726575736560b01b828401526101a084019190915283518085018552600481526311dbdb1960e21b818401526101c08401528351808501909452835269417175616d6172696e6560b01b908301526101e081019190915262000592906011906010620017c9565b5060408051610240810182526006610200820181815265135d5d185b9d60d21b61022084015282528251808401845260088082526713db994b595e595960c21b6020838101919091528085019290925284518086018652600780825266135859da58d85b60ca1b828501528587019190915285518087018752818152665073796368696360c81b8185015260608601528551808701875290815266466c616d696e6760c81b818401526080850152845180860186528381526514d8d85b195960d21b8184015260a085015284518086018652600580825264467572727960d81b8285015260c086019190915285518087018752828152674d6574616c6c696360c01b8185015260e086015285518087018752600a815269151ddbcb5a195859195960b21b818501526101008601528551808701875284815265155b589c985b60d21b81850152610120860152855180870187529081526453746f6e6560d81b818401526101408501528451808601865283815265121bdc9b995960d21b818401526101608501528451808601865283815265446976696e6560d01b818401526101808501528451808601865283815265155b9919585960d21b818401526101a085015284518086018652928352655a6f6d62696560d01b838301526101c084019290925283518085019094529083526756616d706972696360c01b908301526101e0810191909152620007aa906012906010620017c9565b506040805161024081018252600861020082018181526726bab9b1bab630b960c11b61022084015282528251808401845260068082526515d95898995960d21b602083810191909152808501929092528451808601865260078082526642756c67696e6760c81b82850152858701919091528551808701875284815267426c75626265727960c01b81850152606086015285518087018752600580825264546f78696360d81b8286015260808701919091528651808801885281815264426167677960d81b8186015260a0870152865180880188528381526541636964696360d01b8186015260c0870152865180880188529182526643757273696e6760c81b8285015260e08601919091528551808701875290815264536c696d7960d81b81840152610100850152845180860186528381526714d95c9c985d195960c21b8184015261012085015284518086018652600980825268416c636f686f6c696360b81b828501526101408601919091528551808701875282815265141d5d1c9a5960d21b8185015261016086015285518087018752600b81526a53706c696e746572696e6760a81b818501526101808601528551808701875293845267426c696e64696e6760c01b848401526101a0850193909352845180860186529283526853656475637469766560b81b838301526101c084019290925283518085019094529083526526b7b63a32b760d11b908301526101e0810191909152620009d4906013906010620017c9565b5060408051610240810182526005610200820181815264119c9a5b1b60da1b6102208401528252825180840184526009808252684d616e6469626c657360b81b60208381019190915280850192909252845180860186528381526447696c6c7360d81b8184015284860152845180860186528381526421b937bbb760d91b81840152606085015284518086018652600a81526943616d6f75666c61676560b01b818401526080850152845180860186526006808252655175696c6c7360d01b8285015260a086019190915285518087018752848152644c756e677360d81b8185015260c0860152855180870187529384526414db9bdd5d60da1b8484015260e0850193909352845180860186528381526520b936b7bab960d11b81840152610100850152845180860186528381526553706f72657360d01b81840152610120850152845180860186529081526850617261736974657360b81b81830152610140840152835180850185526004808252634567677360e01b8284015261016085019190915284518086018652818152634669726560e01b818401526101808501528451808601865292835265084e4cac2e8d60d31b838301526101a0840192909252835180850185528281526342696c6560e01b818301526101c08401528351808501909452908352634a61777360e01b908301526101e081019190915262000be1906014906010620017c9565b5060408051610240810182526006610200820181815265446561646c7960d01b6102208401528252825180840184526004808252634c61766160e01b60208381019190915280850192909252845180860186529081526354696e7960e01b8183015283850152835180850185526005808252645370696b7960d81b8284015260608501919091528451808601865260098082526848756d6f6e676f757360b81b8285015260808601919091528551808701875260088082526714d95b9d1a595b9d60c21b8286015260a087019190915286518088018852818152674372757368696e6760c01b8186015260c08701528651808801885294855265536d656c6c7960d01b8585015260e08601949094528551808701875290815268506f69736f6e6f757360b81b818401526101008501528451808601865281815264053686172760dc1b818401526101208501528451808601865283815267456e6f726d6f757360c01b818401526101408501528451808601865290815264517569636b60d81b8183015261016084015283518085018552828152675269766574696e6760c01b81830152610180840152835180850185526007815266537472616e676560c81b818301526101a084015283518085018552600a81526950657472696679696e6760b01b818301526101c0840152835180850190945290835267556e737461626c6560c01b908301526101e081019190915262000e02906015906010620017c9565b50604080516102208101825260056101e0820181815264109b1bdbd960da1b6102008401528252825180840184528181526414ddd9585d60da1b602082810191909152808401919091528351808501855260068082526554686f726e7360d01b8284015284860191909152845180860186526004808252635765627360e01b8285015260608601919091528551808701875284815264436c61777360d81b81850152608086015285518087018752600381526245796560e81b8185015260a0860152855180870187528481526457696e677360d81b8185015260c086015285518087018752600881526720b936b9a430b4b960c11b8185015260e0860152855180870187528181526315185a5b60e21b818501526101008601528551808701875281815263536f6e6760e01b81850152610120860152855180870187529384526414da1bdd5d60da1b84840152610140850193909352845180860186528381526347617a6560e01b818401526101608501528451808601865283815263135bdbd960e21b8184015261018085015284518086018652908152655661706f727360d01b818301526101a084015283518085019094529083526357696e6b60e01b908301526101c081019190915262000fde90601690600f6200181b565b50604080516102408101825260096102008201908152684d616e7469636f726560b81b610220830152815281518083018352600680825265223930b3b7b760d11b602083810191909152808401929092528351808501855260088082526726b4b737ba30bab960c11b8285015284860191909152845180860186526007808252660a0d0decadcd2f60cb1b82860152606086019190915285518087018752600580825264487964726160d81b828701526080870191909152865180880188528481526523b7b933b7b760d11b8187015260a087015286518088018852818152642a34ba30b760d91b8187015260c087015286518088018852600381526241706560e81b8187015260e08701528651808801885281815264486172707960d81b81870152610100870152865180880188528281526623b934b33334b760c91b81870152610120870152865180880188528481526523b7b13634b760d11b8187015261014087015286518088018852828152662832b733bab4b760c91b818701526101608701528651808801885292835267426173696c69736b60c01b83860152610180860192909252855180870187529283526512dbd89bdb1960d21b838501526101a085019290925284518086018652918252664379636c6f707360c81b828401526101c08401919091528351808501909452835264536c696d6560d81b908301526101e0810191909152620011f9906017906010620017c9565b50604080516102408101825260046102008201818152635261726560e01b61022084015282528251808401845260088082526710dbdb999d5cd95960c21b6020838101919091528085019290925284518086018652600580825264109bdc995960da1b828501528587019190915285518087018752600780825266456c757369766560c81b8286015260608701919091528651808801885291825264507564677960d81b82850152608086019190915285518087018752848152634375746560e01b8185015260a08601528551808701875260068082526548756e67727960d01b8286015260c087019190915286518088018852600381526213585960ea1b8186015260e08701528651808801885294855263131bdcdd60e21b858501526101008601949094528551808701875290815266105b98da595b9d60ca1b8184015261012085015284518086018652838152654d797468696360d01b818401526101408501528451808601865260098152682337b933b7ba3a32b760b91b8184015261016085015284518086018652600a808252692130ba3a3632bbb7b93760b11b82850152610180860191909152855180870187529182526714195858d9599d5b60c21b828401526101a08501919091528451808601865290815269115b99185b99d95c995960b21b818301526101c084015283518085019094529083526510dd5c9cd95960d21b908301526101e08101919091526200141d906018906010620017c9565b50604080516102408101825260056102008201818152644772696e7360d81b610220840152825282518084018452600680825265536c6565707360d01b60208381019190915280850192909252845180860186528181526547726f616e7360d01b8184015284860152845180860186528181526544616e63657360d01b818401526060850152845180860186526007808252664177616b656e7360c81b828501526080860191909152855180870187526009815268556e64756c6174657360b81b8185015260a08601528551808701875284815264466c69657360d81b8185015260c0860152855180870187528481526453696e677360d81b8185015260e0860152855180870187528281526546656173747360d01b818501526101008601528551808701875260048152635365657360e01b8185015261012086015285518087018752908152664c697374656e7360c81b818401526101408501528451808601865283815264526f616d7360d81b818401526101608501528451808601865292835264486964657360d81b8383015261018084019290925283518085018552828152655374616c6b7360d01b818301526101a08401528351808501855282815265537065616b7360d01b818301526101c08401528351808501909452908352655468696e6b7360d01b908301526101e081019190915262001624906019906010620017c9565b503480156200163257600080fd5b5060408051808201825260088152674d6f6e737465727360c01b602080830191825283518085019094526004845263135394d560e21b9084015281519192916200167f916000916200186d565b508051620016959060019060208401906200186d565b505050620016b2620016ac620016bd60201b60201c565b620016c1565b6001600b55620019af565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b82805482825590600052602060002090810192821562001765579160200282015b82811115620017655782518051620017549184916020909101906200186d565b509160200191906001019062001734565b5062001773929150620018f8565b5090565b82805482825590600052602060002090810192821562001765579160200282015b82811115620017655782518051620017b89184916020909101906200186d565b509160200191906001019062001798565b82805482825590600052602060002090810192821562001765579160200282015b828111156200176557825180516200180a9184916020909101906200186d565b5091602001919060010190620017ea565b82805482825590600052602060002090810192821562001765579160200282015b828111156200176557825180516200185c9184916020909101906200186d565b50916020019190600101906200183c565b8280546200187b9062001972565b90600052602060002090601f0160209004810192826200189f5760008555620018ea565b82601f10620018ba57805160ff1916838001178555620018ea565b82800160010185558215620018ea579182015b82811115620018ea578251825591602001919060010190620018cd565b506200177392915062001919565b80821115620017735760006200190f828262001930565b50600101620018f8565b5b808211156200177357600081556001016200191a565b5080546200193e9062001972565b6000825580601f106200194f575050565b601f0160209004906000526020600020908101906200196f919062001919565b50565b600181811c908216806200198757607f821691505b60208210811415620019a957634e487b7160e01b600052602260045260246000fd5b50919050565b615c6380620019bf6000396000f3fe6080604052600436106102e75760003560e01c806380057b9a11610184578063b88d4fde116100d6578063de73d9b21161008a578063f8c5c93611610064578063f8c5c9361461088b578063fd12c968146108b8578063fe55932a146108d857600080fd5b8063de73d9b2146107f5578063e985e9c514610815578063f2fde38b1461086b57600080fd5b8063c8124c4d116100bb578063c8124c4d14610795578063c87b56dd146107b5578063d5fccdf3146107d557600080fd5b8063b88d4fde14610755578063bd88af3e1461077557600080fd5b80639b7b2ab011610138578063a22cb46511610112578063a22cb465146106f5578063aaac0d3c14610715578063b6e768731461073557600080fd5b80639b7b2ab01461069e578063a035b1fe146106c6578063a0712d68146106e257600080fd5b80638da5cb5b116101695780638da5cb5b1461061b57806395d89b41146106465780639a5a27061461065b57600080fd5b806380057b9a146105db5780638c74bf0e146105fb57600080fd5b80633ccfd60b1161023d5780636352211e116101f1578063715018a6116101cb578063715018a614610586578063756c6e531461059b57806379eec594146105bb57600080fd5b80636352211e146105265780636b8ff5741461054657806370a082311461056657600080fd5b80634f6ccce7116102225780634f6ccce7146104c657806353835d66146104e65780635efab6e41461050657600080fd5b80633ccfd60b1461049157806342842e0e146104a657600080fd5b806310742b511161029f57806323b872dd1161027957806323b872dd146104295780632f745c591461044957806330cdb79d1461046957600080fd5b806310742b51146103ca57806318160ddd146103ea5780631ade97f71461040957600080fd5b8063081812fc116102d0578063081812fc14610343578063095ea7b3146103885780630d71aba5146103aa57600080fd5b806301ffc9a7146102ec57806306fdde0314610321575b600080fd5b3480156102f857600080fd5b5061030c610307366004614a49565b6108f8565b60405190151581526020015b60405180910390f35b34801561032d57600080fd5b50610336610954565b604051610318919061576d565b34801561034f57600080fd5b5061036361035e366004614afa565b6109e6565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610318565b34801561039457600080fd5b506103a86103a3366004614997565b610ac5565b005b3480156103b657600080fd5b506103366103c5366004614afa565b610c52565b3480156103d657600080fd5b506103366103e5366004614afa565b610d65565b3480156103f657600080fd5b506008545b604051908152602001610318565b34801561041557600080fd5b50610336610424366004614afa565b610e6f565b34801561043557600080fd5b506103a8610444366004614874565b610f79565b34801561045557600080fd5b506103fb610464366004614997565b61101a565b34801561047557600080fd5b50610363733eb43b1545a360d1d065cb7539339363dfd445f381565b34801561049d57600080fd5b506103a86110e9565b3480156104b257600080fd5b506103a86104c1366004614874565b6111b3565b3480156104d257600080fd5b506103fb6104e1366004614afa565b6111ce565b3480156104f257600080fd5b50610336610501366004614afa565b61128c565b34801561051257600080fd5b50610336610521366004614afa565b611343565b34801561053257600080fd5b50610363610541366004614afa565b61170d565b34801561055257600080fd5b50610336610561366004614afa565b6117bf565b34801561057257600080fd5b506103fb610581366004614801565b6118a5565b34801561059257600080fd5b506103a8611973565b3480156105a757600080fd5b5061030c6105b6366004614b5f565b611a00565b3480156105c757600080fd5b506103366105d6366004614afa565b611ab1565b3480156105e757600080fd5b506103366105f6366004614afa565b611bbb565b34801561060757600080fd5b506103a8610616366004614afa565b611cc5565b34801561062757600080fd5b50600a5473ffffffffffffffffffffffffffffffffffffffff16610363565b34801561065257600080fd5b50610336611e43565b34801561066757600080fd5b50610363610676366004614afa565b600c6020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b3480156106aa57600080fd5b5061036373ff9c1b15b16263c61d017ee9f65c50e4ae0113d781565b3480156106d257600080fd5b506103fb67016345785d8a000081565b6103a86106f0366004614afa565b611e52565b34801561070157600080fd5b506103a8610710366004614964565b611fad565b34801561072157600080fd5b50610336610730366004614afa565b6120c4565b34801561074157600080fd5b50610336610750366004614afa565b6121ce565b34801561076157600080fd5b506103a86107703660046148b5565b6122d8565b34801561078157600080fd5b50610363610790366004614afa565b612380565b3480156107a157600080fd5b506103366107b0366004614afa565b61241f565b3480156107c157600080fd5b506103366107d0366004614afa565b612529565b3480156107e157600080fd5b506103366107f0366004614afa565b6127ce565b34801561080157600080fd5b506103a8610810366004614b81565b6128d8565b34801561082157600080fd5b5061030c61083036600461483b565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561087757600080fd5b506103a8610886366004614801565b612b0e565b34801561089757600080fd5b506103fb6108a6366004614afa565b600d6020526000908152604090205481565b3480156108c457600080fd5b506103a86108d3366004614afa565b612c3b565b3480156108e457600080fd5b506103a86108f3366004614b13565b612e54565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d6300000000000000000000000000000000000000000000000000000000148061094e575061094e82613059565b92915050565b60606000805461096390615920565b80601f016020809104026020016040519081016040528092919081815260200182805461098f90615920565b80156109dc5780601f106109b1576101008083540402835291602001916109dc565b820191906000526020600020905b8154815290600101906020018083116109bf57829003601f168201915b5050505050905090565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff16610a9c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526004602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b6000610ad08261170d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b8e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610a93565b3373ffffffffffffffffffffffffffffffffffffffff82161480610bb75750610bb78133610830565b610c43576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610a93565b610c4d838361313c565b505050565b606061094e826040518060400160405280600481526020017f72616365000000000000000000000000000000000000000000000000000000008152506017805480602002602001604051908101604052809291908181526020016000905b82821015610d5c578382906000526020600020018054610ccf90615920565b80601f0160208091040260200160405190810160405280929190818152602001828054610cfb90615920565b8015610d485780601f10610d1d57610100808354040283529160200191610d48565b820191906000526020600020905b815481529060010190602001808311610d2b57829003601f168201915b505050505081526020019060010190610cb0565b505050506131dc565b606061094e826040518060400160405280600581526020017f6f7267616e0000000000000000000000000000000000000000000000000000008152506014805480602002602001604051908101604052809291908181526020016000905b82821015610d5c578382906000526020600020018054610de290615920565b80601f0160208091040260200160405190810160405280929190818152602001828054610e0e90615920565b8015610e5b5780601f10610e3057610100808354040283529160200191610e5b565b820191906000526020600020905b815481529060010190602001808311610e3e57829003601f168201915b505050505081526020019060010190610dc3565b606061094e826040518060400160405280600b81526020017f706572736f6e616c6974790000000000000000000000000000000000000000008152506018805480602002602001604051908101604052809291908181526020016000905b82821015610d5c578382906000526020600020018054610eec90615920565b80601f0160208091040260200160405190810160405280929190818152602001828054610f1890615920565b8015610f655780601f10610f3a57610100808354040283529160200191610f65565b820191906000526020600020905b815481529060010190602001808311610f4857829003601f168201915b505050505081526020019060010190610ecd565b610f83338261324a565b61100f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610a93565b610c4d8383836133b6565b6000611025836118a5565b82106110b3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610a93565b5073ffffffffffffffffffffffffffffffffffffffff919091166000908152600660209081526040808320938352929052205490565b600a5473ffffffffffffffffffffffffffffffffffffffff16331461116a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a93565b600a5460405173ffffffffffffffffffffffffffffffffffffffff909116904780156108fc02916000818181858888f193505050501580156111b0573d6000803e3d6000fd5b50565b610c4d838383604051806020016040528060008152506122d8565b60006111d960085490565b8210611267576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610a93565b6008828154811061127a5761127a615a68565b90600052602060002001549050919050565b6060600f61129983613628565b815481106112a9576112a9615a68565b9060005260206000200180546112be90615920565b80601f01602080910402602001604051908101604052809291908181526020018280546112ea90615920565b80156113375780601f1061130c57610100808354040283529160200191611337565b820191906000526020600020905b81548152906001019060200180831161131a57829003601f168201915b50505050509050919050565b6060600060405180610160016040528061135c85611bbb565b815260200161136a856120c4565b8152602001611378856127ce565b815260200161138685610d65565b815260200161139485611ab1565b81526020016113a28561241f565b81526020016113b085610c52565b81526020016113be85610e6f565b81526020016113cc856121ce565b81526020016113da8561128c565b815260200161140d856000908152600c602052604090205473ffffffffffffffffffffffffffffffffffffffff16151590565b61144c576040518060400160405280600281526020017f4e6f000000000000000000000000000000000000000000000000000000000000815250611483565b6040518060400160405280600381526020017f59657300000000000000000000000000000000000000000000000000000000008152505b905260408051808201909152600181527f5b00000000000000000000000000000000000000000000000000000000000000602082015290915060005b60105460ff821610156116c55760ff81161561151757611514826040518060400160405280600281526020017f2c20000000000000000000000000000000000000000000000000000000000000815250613657565b91505b611556826040518060400160405280601081526020017f7b2274726169745f74797065223a202200000000000000000000000000000000815250613657565b915061160a8260108360ff168154811061157257611572615a68565b90600052602060002001805461158790615920565b80601f01602080910402602001604051908101604052809291908181526020018280546115b390615920565b80156116005780601f106115d557610100808354040283529160200191611600565b820191906000526020600020905b8154815290600101906020018083116115e357829003601f168201915b5050505050613657565b915061164b826040518060400160405280600d81526020017f222c202276616c7565223a202200000000000000000000000000000000000000815250613657565b915061167082848360ff16600b811061166657611666615a68565b6020020151613657565b91506116b1826040518060400160405280600281526020017f227d000000000000000000000000000000000000000000000000000000000000815250613657565b9150806116bd816159a7565b9150506114bf565b50611705816040518060400160405280600181526020017f5d00000000000000000000000000000000000000000000000000000000000000815250613657565b949350505050565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff168061094e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610a93565b6000818152600e6020526040902080546060919081906117de90615920565b15159050611813576117ef83613683565b6040516020016117ff9190614e8c565b60405160208183030381529060405261189e565b80805461181f90615920565b80601f016020809104026020016040519081016040528092919081815260200182805461184b90615920565b80156118985780601f1061186d57610100808354040283529160200191611898565b820191906000526020600020905b81548152906001019060200180831161187b57829003601f168201915b50505050505b9392505050565b600073ffffffffffffffffffffffffffffffffffffffff821661194a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610a93565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b600a5473ffffffffffffffffffffffffffffffffffffffff1633146119f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a93565b6119fe60006137e0565b565b6040517f4c865a7900000000000000000000000000000000000000000000000000000000815260048101829052600090733eb43b1545a360d1d065cb7539339363dfd445f390634c865a799060240160a06040518083038186803b158015611a6757600080fd5b505afa158015611a7b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a9f91906149c3565b51611aa984613628565b149392505050565b606061094e826040518060400160405280600681526020017f68617a61726400000000000000000000000000000000000000000000000000008152506015805480602002602001604051908101604052809291908181526020016000905b82821015610d5c578382906000526020600020018054611b2e90615920565b80601f0160208091040260200160405190810160405280929190818152602001828054611b5a90615920565b8015611ba75780601f10611b7c57610100808354040283529160200191611ba7565b820191906000526020600020905b815481529060010190602001808311611b8a57829003601f168201915b505050505081526020019060010190611b0f565b606061094e826040518060400160405280600581526020017f636f6c6f720000000000000000000000000000000000000000000000000000008152506011805480602002602001604051908101604052809291908181526020016000905b82821015610d5c578382906000526020600020018054611c3890615920565b80601f0160208091040260200160405190810160405280929190818152602001828054611c6490615920565b8015611cb15780601f10611c8657610100808354040283529160200191611cb1565b820191906000526020600020905b815481529060010190602001808311611c9457829003601f168201915b505050505081526020019060010190611c19565b6002600b541415611d32576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a93565b6002600b55600a5473ffffffffffffffffffffffffffffffffffffffff163314611db8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a93565b61264881118015611dcb57506127108111155b611e31576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f496e76616c6964204944000000000000000000000000000000000000000000006044820152606401610a93565b611e3b3382613857565b506001600b55565b60606001805461096390615920565b6002600b541415611ebf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a93565b6002600b558015801590611ed557506126488111155b611f3b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f496e76616c6964204944000000000000000000000000000000000000000000006044820152606401610a93565b3467016345785d8a00001115611e31576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f496e73756666696369656e7420457468657200000000000000000000000000006044820152606401610a93565b73ffffffffffffffffffffffffffffffffffffffff821633141561202d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a93565b33600081815260056020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b606061094e826040518060400160405280600581526020017f717569726b0000000000000000000000000000000000000000000000000000008152506012805480602002602001604051908101604052809291908181526020016000905b82821015610d5c57838290600052602060002001805461214190615920565b80601f016020809104026020016040519081016040528092919081815260200182805461216d90615920565b80156121ba5780601f1061218f576101008083540402835291602001916121ba565b820191906000526020600020905b81548152906001019060200180831161219d57829003601f168201915b505050505081526020019060010190612122565b606061094e826040518060400160405280600681526020017f616374696f6e00000000000000000000000000000000000000000000000000008152506019805480602002602001604051908101604052809291908181526020016000905b82821015610d5c57838290600052602060002001805461224b90615920565b80601f016020809104026020016040519081016040528092919081815260200182805461227790615920565b80156122c45780601f10612299576101008083540402835291602001916122c4565b820191906000526020600020905b8154815290600101906020018083116122a757829003601f168201915b50505050508152602001906001019061222c565b6122e2338361324a565b61236e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610a93565b61237a84848484613875565b50505050565b6040517f6352211e0000000000000000000000000000000000000000000000000000000081526004810182905260009073ff9c1b15b16263c61d017ee9f65c50e4ae0113d790636352211e9060240160206040518083038186803b1580156123e757600080fd5b505afa1580156123fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061094e919061481e565b606061094e826040518060400160405280600981526020017f7370656369616c747900000000000000000000000000000000000000000000008152506016805480602002602001604051908101604052809291908181526020016000905b82821015610d5c57838290600052602060002001805461249c90615920565b80601f01602080910402602001604051908101604052809291908181526020018280546124c890615920565b80156125155780601f106124ea57610100808354040283529160200191612515565b820191906000526020600020905b8154815290600101906020018083116124f857829003601f168201915b50505050508152602001906001019061247d565b60606125336146d9565b61253c83613918565b81526125478361395b565b8160016020020181905250604051806060016040528060308152602001615bd160309139604082015261257983611bbb565b6060808301919091526040805191820190526028808252615b40602083013960808201526125a683610e6f565b60a082015260408051606081019091526029808252615b68602083013960c08201526125d1836120c4565b60e082015260408051606081019091526029808252615b1760208301396101008201526125fd83610c52565b6101208201526040805160608101909152602d808252615c01602083013961014082015261262a836121ce565b610160820152612639836139ce565b61018082015261264883613aa0565b6101a0820152604080518082018252600d81527f3c2f746578743e3c2f7376673e000000000000000000000000000000000000006020808301919091526101c0840191909152825181840151838501516060860151608087015160a088015160c089015160e08a01516101008b0151995160009a6126c89a909101614d60565b604080518083037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0018152908290526101208401516101408501516101608601516101808701516101a08801516101c089015195975061272d96889690602001614cce565b6040516020818303038152906040529050600061278461274c866117bf565b61275584613b14565b61275e88611343565b60405160200161277093929190615137565b604051602081830303815290604052613b14565b905080604051602001612797919061554e565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815291905295945050505050565b606061094e826040518060400160405280600681526020017f6f646469747900000000000000000000000000000000000000000000000000008152506013805480602002602001604051908101604052809291908181526020016000905b82821015610d5c57838290600052602060002001805461284b90615920565b80601f016020809104026020016040519081016040528092919081815260200182805461287790615920565b80156128c45780601f10612899576101008083540402835291602001916128c4565b820191906000526020600020905b8154815290600101906020018083116128a757829003601f168201915b50505050508152602001906001019061282c565b6040517f6352211e0000000000000000000000000000000000000000000000000000000081526004810184905273ff9c1b15b16263c61d017ee9f65c50e4ae0113d790636352211e9060240160206040518083038186803b15801561293c57600080fd5b505afa158015612950573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612974919061481e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612a08576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f4e6f74206c6f6f74206f776e65720000000000000000000000000000000000006044820152606401610a93565b612a128484611a00565b612a78576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600660248201527f496d6d756e6500000000000000000000000000000000000000000000000000006044820152606401610a93565b612a83848383612e54565b6000848152600c6020908152604080832080547fffffffffffffffffffffffff00000000000000000000000000000000000000001633908117909155600d9092529182902085905590517f701f284ee78589eeb4e5674885d47c191a330d15ada3a1730a7cbeffdc7a796990612b0090879087908790879061579a565b60405180910390a250505050565b600a5473ffffffffffffffffffffffffffffffffffffffff163314612b8f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a93565b73ffffffffffffffffffffffffffffffffffffffff8116612c32576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610a93565b6111b0816137e0565b6002600b541415612ca8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a93565b6002600b558015801590612cbe5750611f408111155b612d24576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f496e76616c6964204944000000000000000000000000000000000000000000006044820152606401610a93565b6040517f6352211e0000000000000000000000000000000000000000000000000000000081526004810182905273ff9c1b15b16263c61d017ee9f65c50e4ae0113d790636352211e9060240160206040518083038186803b158015612d8857600080fd5b505afa158015612d9c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dc0919061481e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611e31576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f4e6f74206c6f6f74206f776e65720000000000000000000000000000000000006044820152606401610a93565b6000838152600c602052604090205473ffffffffffffffffffffffffffffffffffffffff1615612ee0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f416c726561647920736c61696e000000000000000000000000000000000000006044820152606401610a93565b612ee98361170d565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612f7d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f4e6f74206d6f6e73746572206f776e65720000000000000000000000000000006044820152606401610a93565b6020811115612fe8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f4e616d65203e20333220636861727300000000000000000000000000000000006044820152606401610a93565b6000838152600e60205260409020613001908383614701565b503373ffffffffffffffffffffffffffffffffffffffff167ff452c5bf6ebe17d39e3e979c6e6099871f6c4ac8550f213805359780bf8447c784848460405161304c93929190615780565b60405180910390a2505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd0000000000000000000000000000000000000000000000000000000014806130ec57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061094e57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000083161461094e565b600081815260046020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff841690811790915581906131968261170d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60606000613212846131ed87613ced565b6040516020016131fe929190614c83565b604051602081830303815290604052613e1f565b905060008384518361322491906159c7565b8151811061323457613234615a68565b6020026020010151905080925050509392505050565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff166132fb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610a93565b60006133068361170d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061337557508373ffffffffffffffffffffffffffffffffffffffff1661335d846109e6565b73ffffffffffffffffffffffffffffffffffffffff16145b80611705575073ffffffffffffffffffffffffffffffffffffffff80821660009081526005602090815260408083209388168352929052205460ff16611705565b8273ffffffffffffffffffffffffffffffffffffffff166133d68261170d565b73ffffffffffffffffffffffffffffffffffffffff1614613479576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610a93565b73ffffffffffffffffffffffffffffffffffffffff821661351b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610a93565b613526838383613e6e565b61353160008261313c565b73ffffffffffffffffffffffffffffffffffffffff831660009081526003602052604081208054600192906135679084906158dd565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526003602052604081208054600192906135a290849061584f565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff86811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60008061364761363784613ced565b6040516020016131fe919061563e565b600f5490915061189e90826159c7565b6060828260405160200161366c929190614c83565b604051602081830303815290604052905092915050565b6060816136c357505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156136ed57806136d78161596e565b91506136e69050600a8361588c565b91506136c7565b60008167ffffffffffffffff81111561370857613708615a97565b6040519080825280601f01601f191660200182016040528015613732576020820181803683370190505b509050815b85156137d7576137486001826158dd565b90506000613757600a8861588c565b61376290600a6158a0565b61376c90886158dd565b613777906030615867565b905060008160f81b90508084848151811061379457613794615a68565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506137ce600a8961588c565b97505050613737565b50949350505050565b600a805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b613871828260405180602001604052806000815250613f74565b5050565b6138808484846133b6565b61388c84848484614017565b61237a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a93565b6060600061392583611bbb565b9050808161393285613683565b60405160200161394493929190614ed1565b604051602081830303815290604052915050919050565b6000818152600e60205260409020805460609190819061397a90615920565b15905061398d5780805461181f90615920565b505060408051808201909152601281527f416e20756e6b6e6f776e204d6f6e7374657200000000000000000000000000006020820152919050565b50919050565b60606139d9826127ce565b6139e283610d65565b6040516020016139f3929190615593565b604051602081830303815290604052613a0b83611ab1565b613a148461241f565b604051602001613a25929190615683565b604051602081830303815290604052613a3d8461128c565b604051602001613a4d9190614e20565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815290829052613a8a93929160200161536a565b6040516020818303038152906040529050919050565b6000818152600c602052604090205460609073ffffffffffffffffffffffffffffffffffffffff1615613adb57613ad682614216565b61094e565b505060408051808201909152600581527f416c697665000000000000000000000000000000000000000000000000000000602082015290565b805160609080613b34575050604080516020810190915260008152919050565b60006003613b4383600261584f565b613b4d919061588c565b613b589060046158a0565b90506000613b6782602061584f565b67ffffffffffffffff811115613b7f57613b7f615a97565b6040519080825280601f01601f191660200182016040528015613ba9576020820181803683370190505b5090506000604051806060016040528060408152602001615b91604091399050600181016020830160005b86811015613c35576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b835260049092019101613bd4565b506003860660018114613c4f5760028114613c9957613cdf565b7f3d3d0000000000000000000000000000000000000000000000000000000000007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe830152613cdf565b7f3d000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8301525b505050918152949350505050565b606081613d2d57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115613d575780613d418161596e565b9150613d509050600a8361588c565b9150613d31565b60008167ffffffffffffffff811115613d7257613d72615a97565b6040519080825280601f01601f191660200182016040528015613d9c576020820181803683370190505b5090505b841561170557613db16001836158dd565b9150613dbe600a866159c7565b613dc990603061584f565b60f81b818381518110613dde57613dde615a68565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350613e18600a8661588c565b9450613da0565b600081604051602001613e329190614cb2565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152919052805160209091012092915050565b73ffffffffffffffffffffffffffffffffffffffff8316613ed657613ed181600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b613f13565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613f1357613f138382614354565b73ffffffffffffffffffffffffffffffffffffffff8216613f3757610c4d8161440b565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614610c4d57610c4d82826144ba565b613f7e838361450b565b613f8b6000848484614017565b610c4d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a93565b600073ffffffffffffffffffffffffffffffffffffffff84163b1561420b576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a029061408e90339089908890889060040161572e565b602060405180830381600087803b1580156140a857600080fd5b505af19250505080156140f6575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019092526140f391810190614a66565b60015b6141c0573d808015614124576040519150601f19603f3d011682016040523d82523d6000602084013e614129565b606091505b5080516141b8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a93565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050611705565b506001949350505050565b6000818152600c602052604090205460609073ffffffffffffffffffffffffffffffffffffffff16156143405761424c82613683565b6000838152600d6020526040908190205490517f9e41b73f000000000000000000000000000000000000000000000000000000008152600481019190915273ff9c1b15b16263c61d017ee9f65c50e4ae0113d790639e41b73f9060240160006040518083038186803b1580156142c157600080fd5b505afa1580156142d5573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820160405261431b9190810190614a83565b60405160200161432c9291906154cd565b60405160208183030381529060405261094e565b505060408051602081019091526000815290565b60006001614361846118a5565b61436b91906158dd565b6000838152600760205260409020549091508082146143cb5773ffffffffffffffffffffffffffffffffffffffff841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b50600091825260076020908152604080842084905573ffffffffffffffffffffffffffffffffffffffff9094168352600681528383209183525290812055565b60085460009061441d906001906158dd565b6000838152600960205260408120546008805493945090928490811061444557614445615a68565b90600052602060002001549050806008838154811061446657614466615a68565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061449e5761449e615a39565b6001900381819060005260206000200160009055905550505050565b60006144c5836118a5565b73ffffffffffffffffffffffffffffffffffffffff9093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b73ffffffffffffffffffffffffffffffffffffffff8216614588576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a93565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff1615614614576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a93565b61462060008383613e6e565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260036020526040812080546001929061465690849061584f565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b604051806101e00160405280600f905b60608152602001906001900390816146e95790505090565b82805461470d90615920565b90600052602060002090601f01602090048101928261472f5760008555614793565b82601f10614766578280017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00823516178555614793565b82800160010185558215614793579182015b82811115614793578235825591602001919060010190614778565b5061479f9291506147a3565b5090565b5b8082111561479f57600081556001016147a4565b60008083601f8401126147ca57600080fd5b50813567ffffffffffffffff8111156147e257600080fd5b6020830191508360208285010111156147fa57600080fd5b9250929050565b60006020828403121561481357600080fd5b813561189e81615ac6565b60006020828403121561483057600080fd5b815161189e81615ac6565b6000806040838503121561484e57600080fd5b823561485981615ac6565b9150602083013561486981615ac6565b809150509250929050565b60008060006060848603121561488957600080fd5b833561489481615ac6565b925060208401356148a481615ac6565b929592945050506040919091013590565b600080600080608085870312156148cb57600080fd5b84356148d681615ac6565b935060208501356148e681615ac6565b925060408501359150606085013567ffffffffffffffff81111561490957600080fd5b8501601f8101871361491a57600080fd5b803561492d61492882615809565b6157ba565b81815288602083850101111561494257600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b6000806040838503121561497757600080fd5b823561498281615ac6565b91506020830135801515811461486957600080fd5b600080604083850312156149aa57600080fd5b82356149b581615ac6565b946020939093013593505050565b600060a082840312156149d557600080fd5b82601f8301126149e457600080fd5b60405160a0810181811067ffffffffffffffff82111715614a0757614a07615a97565b604052808360a08101861015614a1c57600080fd5b60005b6005811015614a3e578151835260209283019290910190600101614a1f565b509195945050505050565b600060208284031215614a5b57600080fd5b813561189e81615ae8565b600060208284031215614a7857600080fd5b815161189e81615ae8565b600060208284031215614a9557600080fd5b815167ffffffffffffffff811115614aac57600080fd5b8201601f81018413614abd57600080fd5b8051614acb61492882615809565b818152856020838501011115614ae057600080fd5b614af18260208301602086016158f4565b95945050505050565b600060208284031215614b0c57600080fd5b5035919050565b600080600060408486031215614b2857600080fd5b83359250602084013567ffffffffffffffff811115614b4657600080fd5b614b52868287016147b8565b9497909650939450505050565b60008060408385031215614b7257600080fd5b50508035926020909101359150565b60008060008060608587031215614b9757600080fd5b8435935060208501359250604085013567ffffffffffffffff811115614bbc57600080fd5b614bc8878288016147b8565b95989497509550505050565b60008151808452614bec8160208601602086016158f4565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60008151614c308185602086016158f4565b9290920192915050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b60008351614c958184602088016158f4565b835190830190614ca98183602088016158f4565b01949350505050565b60008251614cc48184602087016158f4565b9190910192915050565b600088516020614ce18285838e016158f4565b895191840191614cf48184848e016158f4565b8951920191614d068184848d016158f4565b8851920191614d188184848c016158f4565b8751920191614d2a8184848b016158f4565b8651920191614d3c8184848a016158f4565b8551920191614d4e81848489016158f4565b919091019a9950505050505050505050565b60008a51614d72818460208f016158f4565b8a51614d848183860160208f016158f4565b8a519184010190614d99818360208e016158f4565b8951614dab8183850160208e016158f4565b8951929091010190614dc1818360208c016158f4565b8751614dd38183850160208c016158f4565b8751929091010190614de9818360208a016158f4565b8551910190614dfc8183602089016158f4565b8451614e0e81838501602089016158f4565b9101019b9a5050505050505050505050565b7f4974206973207765616b20746f20000000000000000000000000000000000000815260008251614e5881600e8501602087016158f4565b7f732e000000000000000000000000000000000000000000000000000000000000600e939091019283015250601001919050565b7f4d6f6e7374657220230000000000000000000000000000000000000000000000815260008251614ec48160098501602087016158f4565b9190910160090192915050565b7f3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323081527f30302f73766722207072657365727665417370656374526174696f3d22784d6960208201527f6e594d696e206d656574222076696577426f783d22302030203335302033353060408201527f223e3c7374796c653e2e62617365207b2066696c6c3a2077686974653b20666f60608201527f6e742d66616d696c793a2073657269663b20666f6e742d73697a653a2031347060808201527f783b207d2e736d616c6c207b20666f6e742d73697a653a20313070783b207d0060a08201527f2e636f6c6f726564207b2066696c6c3a0000000000000000000000000000000060bf82015260008451614fed8160cf8501602089016158f4565b80830190507f7d3c2f7374796c653e3c726563742077696474683d223130302522206865696760cf8201527f68743d2231303025222066696c6c3d22626c61636b22207374726f6b653d220060ef82015261010e85516150538183850160208a016158f4565b61512b6150dc6150d684848701017f22207374726f6b652d77696474683d2235707822202f3e3c746578742074657881527f742d616e63686f723d22656e642220783d223334302220793d2232302220636c60208201527f6173733d22626173652220666f6e742d7765696768743d22626f6c64223e23006040820152605f0190565b88614c1e565b7f3c2f746578743e3c7465787420783d2231302220793d2232302220636c61737381527f3d22626173652220666f6e742d7765696768743d22626f6c64223e00000000006020820152603b0190565b98975050505050505050565b7f7b226e616d65223a20220000000000000000000000000000000000000000000081526000845161516f81600a8501602089016158f4565b7f222c20226465736372697074696f6e223a20224d6f6e73746572732061726520600a918401918201527f72616e646f6d697a656420666f72676f7474656e206265617374732067656e65602a8201527f726174656420616e642073746f726564206f6e20636861696e2e205374617473604a8201527f2c20696d616765732c20616e64206f746865722066756e6374696f6e616c6974606a8201527f792061726520696e74656e74696f6e616c6c79206f6d697474656420666f7220608a8201527f6f746865727320746f20696e746572707265742e20536c6179207468656d206960aa8201527f6620796f752063616e202d207769746820746865207269676874204c6f6f742160ca8201527f204665656c206672656520746f20757365204d6f6e737465727320696e20616e60ea8201527f792077617920796f752077616e742e222c2022696d616765223a20226461746161010a8201527f3a696d6167652f7376672b786d6c3b6261736536342c0000000000000000000061012a820152615360615337615331615308610140850189614c1e565b7f222c202261747472696275746573223a20000000000000000000000000000000815260110190565b86614c1e565b7f7d00000000000000000000000000000000000000000000000000000000000000815260010190565b9695505050505050565b7f2e3c2f746578743e3c7465787420783d2231302220793d223138302220636c6181527f73733d2262617365223e000000000000000000000000000000000000000000006020820152600084516153c881602a8501602089016158f4565b80830190507f3c2f746578743e3c7465787420783d2231302220793d223230302220636c6173602a8201527f733d2262617365223e000000000000000000000000000000000000000000000080604a830152855161542d816053850160208a016158f4565b7f3c2f746578743e3c7465787420783d2231302220793d223232302220636c6173605393909101928301526073820152835161547081607c8401602088016158f4565b7f3c2f746578743e3c7465787420783d2231302220793d223238302220636c6173607c92909101918201527f733d226261736520736d616c6c223e0000000000000000000000000000000000609c82015260ab0195945050505050565b7f536c61696e2077697468204c6f6f7420230000000000000000000000000000008152600083516155058160118501602088016158f4565b7f200000000000000000000000000000000000000000000000000000000000000060119184019182015283516155428160128401602088016158f4565b01601201949350505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000825161558681601d8501602087016158f4565b91909101601d0192915050565b7f497420706f7373657373657320000000000000000000000000000000000000008152600083516155cb81600d8501602088016158f4565b7f2000000000000000000000000000000000000000000000000000000000000000600d91840191820152835161560881600e8401602088016158f4565b7f2e00000000000000000000000000000000000000000000000000000000000000600e9290910191820152600f01949350505050565b7f7765616b6e6573730000000000000000000000000000000000000000000000008152600082516156768160088501602087016158f4565b9190910160080192915050565b7f42657761726520697473200000000000000000000000000000000000000000008152600083516156bb81600b8501602088016158f4565b7f2000000000000000000000000000000000000000000000000000000000000000600b9184019182015283516156f881600c8401602088016158f4565b7f2100000000000000000000000000000000000000000000000000000000000000600c9290910191820152600d01949350505050565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250836040830152608060608301526153606080830184614bd4565b60208152600061189e6020830184614bd4565b838152604060208201526000614af1604083018486614c3a565b848152836020820152606060408201526000615360606083018486614c3a565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561580157615801615a97565b604052919050565b600067ffffffffffffffff82111561582357615823615a97565b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b60008219821115615862576158626159db565b500190565b600060ff821660ff84168060ff03821115615884576158846159db565b019392505050565b60008261589b5761589b615a0a565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156158d8576158d86159db565b500290565b6000828210156158ef576158ef6159db565b500390565b60005b8381101561590f5781810151838201526020016158f7565b8381111561237a5750506000910152565b600181811c9082168061593457607f821691505b602082108114156139c8577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156159a0576159a06159db565b5060010190565b600060ff821660ff8114156159be576159be6159db565b60010192915050565b6000826159d6576159d6615a0a565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b73ffffffffffffffffffffffffffffffffffffffff811681146111b057600080fd5b7fffffffff00000000000000000000000000000000000000000000000000000000811681146111b057600080fdfe3c2f746578743e3c7465787420783d2231302220793d223132302220636c6173733d2262617365223e3c2f746578743e3c7465787420783d2231302220793d2238302220636c6173733d2262617365223e3c2f746578743e3c7465787420783d2231302220793d223130302220636c6173733d2262617365223e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f3c2f746578743e3c7465787420783d2231302220793d2236302220636c6173733d226261736520636f6c6f726564223e3c2f746578743e3c7465787420783d2231302220793d223136302220636c6173733d2262617365223e20497420a2646970667358221220c0813ce071147ebbaa31c48677fb13f2bfa8ea44543c6bff9128c2f8740194e164736f6c63430008070033
Deployed Bytecode
0x6080604052600436106102e75760003560e01c806380057b9a11610184578063b88d4fde116100d6578063de73d9b21161008a578063f8c5c93611610064578063f8c5c9361461088b578063fd12c968146108b8578063fe55932a146108d857600080fd5b8063de73d9b2146107f5578063e985e9c514610815578063f2fde38b1461086b57600080fd5b8063c8124c4d116100bb578063c8124c4d14610795578063c87b56dd146107b5578063d5fccdf3146107d557600080fd5b8063b88d4fde14610755578063bd88af3e1461077557600080fd5b80639b7b2ab011610138578063a22cb46511610112578063a22cb465146106f5578063aaac0d3c14610715578063b6e768731461073557600080fd5b80639b7b2ab01461069e578063a035b1fe146106c6578063a0712d68146106e257600080fd5b80638da5cb5b116101695780638da5cb5b1461061b57806395d89b41146106465780639a5a27061461065b57600080fd5b806380057b9a146105db5780638c74bf0e146105fb57600080fd5b80633ccfd60b1161023d5780636352211e116101f1578063715018a6116101cb578063715018a614610586578063756c6e531461059b57806379eec594146105bb57600080fd5b80636352211e146105265780636b8ff5741461054657806370a082311461056657600080fd5b80634f6ccce7116102225780634f6ccce7146104c657806353835d66146104e65780635efab6e41461050657600080fd5b80633ccfd60b1461049157806342842e0e146104a657600080fd5b806310742b511161029f57806323b872dd1161027957806323b872dd146104295780632f745c591461044957806330cdb79d1461046957600080fd5b806310742b51146103ca57806318160ddd146103ea5780631ade97f71461040957600080fd5b8063081812fc116102d0578063081812fc14610343578063095ea7b3146103885780630d71aba5146103aa57600080fd5b806301ffc9a7146102ec57806306fdde0314610321575b600080fd5b3480156102f857600080fd5b5061030c610307366004614a49565b6108f8565b60405190151581526020015b60405180910390f35b34801561032d57600080fd5b50610336610954565b604051610318919061576d565b34801561034f57600080fd5b5061036361035e366004614afa565b6109e6565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610318565b34801561039457600080fd5b506103a86103a3366004614997565b610ac5565b005b3480156103b657600080fd5b506103366103c5366004614afa565b610c52565b3480156103d657600080fd5b506103366103e5366004614afa565b610d65565b3480156103f657600080fd5b506008545b604051908152602001610318565b34801561041557600080fd5b50610336610424366004614afa565b610e6f565b34801561043557600080fd5b506103a8610444366004614874565b610f79565b34801561045557600080fd5b506103fb610464366004614997565b61101a565b34801561047557600080fd5b50610363733eb43b1545a360d1d065cb7539339363dfd445f381565b34801561049d57600080fd5b506103a86110e9565b3480156104b257600080fd5b506103a86104c1366004614874565b6111b3565b3480156104d257600080fd5b506103fb6104e1366004614afa565b6111ce565b3480156104f257600080fd5b50610336610501366004614afa565b61128c565b34801561051257600080fd5b50610336610521366004614afa565b611343565b34801561053257600080fd5b50610363610541366004614afa565b61170d565b34801561055257600080fd5b50610336610561366004614afa565b6117bf565b34801561057257600080fd5b506103fb610581366004614801565b6118a5565b34801561059257600080fd5b506103a8611973565b3480156105a757600080fd5b5061030c6105b6366004614b5f565b611a00565b3480156105c757600080fd5b506103366105d6366004614afa565b611ab1565b3480156105e757600080fd5b506103366105f6366004614afa565b611bbb565b34801561060757600080fd5b506103a8610616366004614afa565b611cc5565b34801561062757600080fd5b50600a5473ffffffffffffffffffffffffffffffffffffffff16610363565b34801561065257600080fd5b50610336611e43565b34801561066757600080fd5b50610363610676366004614afa565b600c6020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b3480156106aa57600080fd5b5061036373ff9c1b15b16263c61d017ee9f65c50e4ae0113d781565b3480156106d257600080fd5b506103fb67016345785d8a000081565b6103a86106f0366004614afa565b611e52565b34801561070157600080fd5b506103a8610710366004614964565b611fad565b34801561072157600080fd5b50610336610730366004614afa565b6120c4565b34801561074157600080fd5b50610336610750366004614afa565b6121ce565b34801561076157600080fd5b506103a86107703660046148b5565b6122d8565b34801561078157600080fd5b50610363610790366004614afa565b612380565b3480156107a157600080fd5b506103366107b0366004614afa565b61241f565b3480156107c157600080fd5b506103366107d0366004614afa565b612529565b3480156107e157600080fd5b506103366107f0366004614afa565b6127ce565b34801561080157600080fd5b506103a8610810366004614b81565b6128d8565b34801561082157600080fd5b5061030c61083036600461483b565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561087757600080fd5b506103a8610886366004614801565b612b0e565b34801561089757600080fd5b506103fb6108a6366004614afa565b600d6020526000908152604090205481565b3480156108c457600080fd5b506103a86108d3366004614afa565b612c3b565b3480156108e457600080fd5b506103a86108f3366004614b13565b612e54565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d6300000000000000000000000000000000000000000000000000000000148061094e575061094e82613059565b92915050565b60606000805461096390615920565b80601f016020809104026020016040519081016040528092919081815260200182805461098f90615920565b80156109dc5780601f106109b1576101008083540402835291602001916109dc565b820191906000526020600020905b8154815290600101906020018083116109bf57829003601f168201915b5050505050905090565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff16610a9c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526004602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b6000610ad08261170d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b8e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610a93565b3373ffffffffffffffffffffffffffffffffffffffff82161480610bb75750610bb78133610830565b610c43576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610a93565b610c4d838361313c565b505050565b606061094e826040518060400160405280600481526020017f72616365000000000000000000000000000000000000000000000000000000008152506017805480602002602001604051908101604052809291908181526020016000905b82821015610d5c578382906000526020600020018054610ccf90615920565b80601f0160208091040260200160405190810160405280929190818152602001828054610cfb90615920565b8015610d485780601f10610d1d57610100808354040283529160200191610d48565b820191906000526020600020905b815481529060010190602001808311610d2b57829003601f168201915b505050505081526020019060010190610cb0565b505050506131dc565b606061094e826040518060400160405280600581526020017f6f7267616e0000000000000000000000000000000000000000000000000000008152506014805480602002602001604051908101604052809291908181526020016000905b82821015610d5c578382906000526020600020018054610de290615920565b80601f0160208091040260200160405190810160405280929190818152602001828054610e0e90615920565b8015610e5b5780601f10610e3057610100808354040283529160200191610e5b565b820191906000526020600020905b815481529060010190602001808311610e3e57829003601f168201915b505050505081526020019060010190610dc3565b606061094e826040518060400160405280600b81526020017f706572736f6e616c6974790000000000000000000000000000000000000000008152506018805480602002602001604051908101604052809291908181526020016000905b82821015610d5c578382906000526020600020018054610eec90615920565b80601f0160208091040260200160405190810160405280929190818152602001828054610f1890615920565b8015610f655780601f10610f3a57610100808354040283529160200191610f65565b820191906000526020600020905b815481529060010190602001808311610f4857829003601f168201915b505050505081526020019060010190610ecd565b610f83338261324a565b61100f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610a93565b610c4d8383836133b6565b6000611025836118a5565b82106110b3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610a93565b5073ffffffffffffffffffffffffffffffffffffffff919091166000908152600660209081526040808320938352929052205490565b600a5473ffffffffffffffffffffffffffffffffffffffff16331461116a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a93565b600a5460405173ffffffffffffffffffffffffffffffffffffffff909116904780156108fc02916000818181858888f193505050501580156111b0573d6000803e3d6000fd5b50565b610c4d838383604051806020016040528060008152506122d8565b60006111d960085490565b8210611267576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610a93565b6008828154811061127a5761127a615a68565b90600052602060002001549050919050565b6060600f61129983613628565b815481106112a9576112a9615a68565b9060005260206000200180546112be90615920565b80601f01602080910402602001604051908101604052809291908181526020018280546112ea90615920565b80156113375780601f1061130c57610100808354040283529160200191611337565b820191906000526020600020905b81548152906001019060200180831161131a57829003601f168201915b50505050509050919050565b6060600060405180610160016040528061135c85611bbb565b815260200161136a856120c4565b8152602001611378856127ce565b815260200161138685610d65565b815260200161139485611ab1565b81526020016113a28561241f565b81526020016113b085610c52565b81526020016113be85610e6f565b81526020016113cc856121ce565b81526020016113da8561128c565b815260200161140d856000908152600c602052604090205473ffffffffffffffffffffffffffffffffffffffff16151590565b61144c576040518060400160405280600281526020017f4e6f000000000000000000000000000000000000000000000000000000000000815250611483565b6040518060400160405280600381526020017f59657300000000000000000000000000000000000000000000000000000000008152505b905260408051808201909152600181527f5b00000000000000000000000000000000000000000000000000000000000000602082015290915060005b60105460ff821610156116c55760ff81161561151757611514826040518060400160405280600281526020017f2c20000000000000000000000000000000000000000000000000000000000000815250613657565b91505b611556826040518060400160405280601081526020017f7b2274726169745f74797065223a202200000000000000000000000000000000815250613657565b915061160a8260108360ff168154811061157257611572615a68565b90600052602060002001805461158790615920565b80601f01602080910402602001604051908101604052809291908181526020018280546115b390615920565b80156116005780601f106115d557610100808354040283529160200191611600565b820191906000526020600020905b8154815290600101906020018083116115e357829003601f168201915b5050505050613657565b915061164b826040518060400160405280600d81526020017f222c202276616c7565223a202200000000000000000000000000000000000000815250613657565b915061167082848360ff16600b811061166657611666615a68565b6020020151613657565b91506116b1826040518060400160405280600281526020017f227d000000000000000000000000000000000000000000000000000000000000815250613657565b9150806116bd816159a7565b9150506114bf565b50611705816040518060400160405280600181526020017f5d00000000000000000000000000000000000000000000000000000000000000815250613657565b949350505050565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff168061094e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610a93565b6000818152600e6020526040902080546060919081906117de90615920565b15159050611813576117ef83613683565b6040516020016117ff9190614e8c565b60405160208183030381529060405261189e565b80805461181f90615920565b80601f016020809104026020016040519081016040528092919081815260200182805461184b90615920565b80156118985780601f1061186d57610100808354040283529160200191611898565b820191906000526020600020905b81548152906001019060200180831161187b57829003601f168201915b50505050505b9392505050565b600073ffffffffffffffffffffffffffffffffffffffff821661194a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610a93565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b600a5473ffffffffffffffffffffffffffffffffffffffff1633146119f4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a93565b6119fe60006137e0565b565b6040517f4c865a7900000000000000000000000000000000000000000000000000000000815260048101829052600090733eb43b1545a360d1d065cb7539339363dfd445f390634c865a799060240160a06040518083038186803b158015611a6757600080fd5b505afa158015611a7b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a9f91906149c3565b51611aa984613628565b149392505050565b606061094e826040518060400160405280600681526020017f68617a61726400000000000000000000000000000000000000000000000000008152506015805480602002602001604051908101604052809291908181526020016000905b82821015610d5c578382906000526020600020018054611b2e90615920565b80601f0160208091040260200160405190810160405280929190818152602001828054611b5a90615920565b8015611ba75780601f10611b7c57610100808354040283529160200191611ba7565b820191906000526020600020905b815481529060010190602001808311611b8a57829003601f168201915b505050505081526020019060010190611b0f565b606061094e826040518060400160405280600581526020017f636f6c6f720000000000000000000000000000000000000000000000000000008152506011805480602002602001604051908101604052809291908181526020016000905b82821015610d5c578382906000526020600020018054611c3890615920565b80601f0160208091040260200160405190810160405280929190818152602001828054611c6490615920565b8015611cb15780601f10611c8657610100808354040283529160200191611cb1565b820191906000526020600020905b815481529060010190602001808311611c9457829003601f168201915b505050505081526020019060010190611c19565b6002600b541415611d32576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a93565b6002600b55600a5473ffffffffffffffffffffffffffffffffffffffff163314611db8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a93565b61264881118015611dcb57506127108111155b611e31576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f496e76616c6964204944000000000000000000000000000000000000000000006044820152606401610a93565b611e3b3382613857565b506001600b55565b60606001805461096390615920565b6002600b541415611ebf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a93565b6002600b558015801590611ed557506126488111155b611f3b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f496e76616c6964204944000000000000000000000000000000000000000000006044820152606401610a93565b3467016345785d8a00001115611e31576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f496e73756666696369656e7420457468657200000000000000000000000000006044820152606401610a93565b73ffffffffffffffffffffffffffffffffffffffff821633141561202d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a93565b33600081815260056020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b606061094e826040518060400160405280600581526020017f717569726b0000000000000000000000000000000000000000000000000000008152506012805480602002602001604051908101604052809291908181526020016000905b82821015610d5c57838290600052602060002001805461214190615920565b80601f016020809104026020016040519081016040528092919081815260200182805461216d90615920565b80156121ba5780601f1061218f576101008083540402835291602001916121ba565b820191906000526020600020905b81548152906001019060200180831161219d57829003601f168201915b505050505081526020019060010190612122565b606061094e826040518060400160405280600681526020017f616374696f6e00000000000000000000000000000000000000000000000000008152506019805480602002602001604051908101604052809291908181526020016000905b82821015610d5c57838290600052602060002001805461224b90615920565b80601f016020809104026020016040519081016040528092919081815260200182805461227790615920565b80156122c45780601f10612299576101008083540402835291602001916122c4565b820191906000526020600020905b8154815290600101906020018083116122a757829003601f168201915b50505050508152602001906001019061222c565b6122e2338361324a565b61236e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610a93565b61237a84848484613875565b50505050565b6040517f6352211e0000000000000000000000000000000000000000000000000000000081526004810182905260009073ff9c1b15b16263c61d017ee9f65c50e4ae0113d790636352211e9060240160206040518083038186803b1580156123e757600080fd5b505afa1580156123fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061094e919061481e565b606061094e826040518060400160405280600981526020017f7370656369616c747900000000000000000000000000000000000000000000008152506016805480602002602001604051908101604052809291908181526020016000905b82821015610d5c57838290600052602060002001805461249c90615920565b80601f01602080910402602001604051908101604052809291908181526020018280546124c890615920565b80156125155780601f106124ea57610100808354040283529160200191612515565b820191906000526020600020905b8154815290600101906020018083116124f857829003601f168201915b50505050508152602001906001019061247d565b60606125336146d9565b61253c83613918565b81526125478361395b565b8160016020020181905250604051806060016040528060308152602001615bd160309139604082015261257983611bbb565b6060808301919091526040805191820190526028808252615b40602083013960808201526125a683610e6f565b60a082015260408051606081019091526029808252615b68602083013960c08201526125d1836120c4565b60e082015260408051606081019091526029808252615b1760208301396101008201526125fd83610c52565b6101208201526040805160608101909152602d808252615c01602083013961014082015261262a836121ce565b610160820152612639836139ce565b61018082015261264883613aa0565b6101a0820152604080518082018252600d81527f3c2f746578743e3c2f7376673e000000000000000000000000000000000000006020808301919091526101c0840191909152825181840151838501516060860151608087015160a088015160c089015160e08a01516101008b0151995160009a6126c89a909101614d60565b604080518083037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0018152908290526101208401516101408501516101608601516101808701516101a08801516101c089015195975061272d96889690602001614cce565b6040516020818303038152906040529050600061278461274c866117bf565b61275584613b14565b61275e88611343565b60405160200161277093929190615137565b604051602081830303815290604052613b14565b905080604051602001612797919061554e565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815291905295945050505050565b606061094e826040518060400160405280600681526020017f6f646469747900000000000000000000000000000000000000000000000000008152506013805480602002602001604051908101604052809291908181526020016000905b82821015610d5c57838290600052602060002001805461284b90615920565b80601f016020809104026020016040519081016040528092919081815260200182805461287790615920565b80156128c45780601f10612899576101008083540402835291602001916128c4565b820191906000526020600020905b8154815290600101906020018083116128a757829003601f168201915b50505050508152602001906001019061282c565b6040517f6352211e0000000000000000000000000000000000000000000000000000000081526004810184905273ff9c1b15b16263c61d017ee9f65c50e4ae0113d790636352211e9060240160206040518083038186803b15801561293c57600080fd5b505afa158015612950573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612974919061481e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612a08576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f4e6f74206c6f6f74206f776e65720000000000000000000000000000000000006044820152606401610a93565b612a128484611a00565b612a78576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600660248201527f496d6d756e6500000000000000000000000000000000000000000000000000006044820152606401610a93565b612a83848383612e54565b6000848152600c6020908152604080832080547fffffffffffffffffffffffff00000000000000000000000000000000000000001633908117909155600d9092529182902085905590517f701f284ee78589eeb4e5674885d47c191a330d15ada3a1730a7cbeffdc7a796990612b0090879087908790879061579a565b60405180910390a250505050565b600a5473ffffffffffffffffffffffffffffffffffffffff163314612b8f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a93565b73ffffffffffffffffffffffffffffffffffffffff8116612c32576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610a93565b6111b0816137e0565b6002600b541415612ca8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a93565b6002600b558015801590612cbe5750611f408111155b612d24576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600a60248201527f496e76616c6964204944000000000000000000000000000000000000000000006044820152606401610a93565b6040517f6352211e0000000000000000000000000000000000000000000000000000000081526004810182905273ff9c1b15b16263c61d017ee9f65c50e4ae0113d790636352211e9060240160206040518083038186803b158015612d8857600080fd5b505afa158015612d9c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dc0919061481e565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611e31576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f4e6f74206c6f6f74206f776e65720000000000000000000000000000000000006044820152606401610a93565b6000838152600c602052604090205473ffffffffffffffffffffffffffffffffffffffff1615612ee0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600d60248201527f416c726561647920736c61696e000000000000000000000000000000000000006044820152606401610a93565b612ee98361170d565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612f7d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f4e6f74206d6f6e73746572206f776e65720000000000000000000000000000006044820152606401610a93565b6020811115612fe8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f4e616d65203e20333220636861727300000000000000000000000000000000006044820152606401610a93565b6000838152600e60205260409020613001908383614701565b503373ffffffffffffffffffffffffffffffffffffffff167ff452c5bf6ebe17d39e3e979c6e6099871f6c4ac8550f213805359780bf8447c784848460405161304c93929190615780565b60405180910390a2505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd0000000000000000000000000000000000000000000000000000000014806130ec57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061094e57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000083161461094e565b600081815260046020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff841690811790915581906131968261170d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60606000613212846131ed87613ced565b6040516020016131fe929190614c83565b604051602081830303815290604052613e1f565b905060008384518361322491906159c7565b8151811061323457613234615a68565b6020026020010151905080925050509392505050565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff166132fb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610a93565b60006133068361170d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061337557508373ffffffffffffffffffffffffffffffffffffffff1661335d846109e6565b73ffffffffffffffffffffffffffffffffffffffff16145b80611705575073ffffffffffffffffffffffffffffffffffffffff80821660009081526005602090815260408083209388168352929052205460ff16611705565b8273ffffffffffffffffffffffffffffffffffffffff166133d68261170d565b73ffffffffffffffffffffffffffffffffffffffff1614613479576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610a93565b73ffffffffffffffffffffffffffffffffffffffff821661351b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610a93565b613526838383613e6e565b61353160008261313c565b73ffffffffffffffffffffffffffffffffffffffff831660009081526003602052604081208054600192906135679084906158dd565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526003602052604081208054600192906135a290849061584f565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff86811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60008061364761363784613ced565b6040516020016131fe919061563e565b600f5490915061189e90826159c7565b6060828260405160200161366c929190614c83565b604051602081830303815290604052905092915050565b6060816136c357505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156136ed57806136d78161596e565b91506136e69050600a8361588c565b91506136c7565b60008167ffffffffffffffff81111561370857613708615a97565b6040519080825280601f01601f191660200182016040528015613732576020820181803683370190505b509050815b85156137d7576137486001826158dd565b90506000613757600a8861588c565b61376290600a6158a0565b61376c90886158dd565b613777906030615867565b905060008160f81b90508084848151811061379457613794615a68565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506137ce600a8961588c565b97505050613737565b50949350505050565b600a805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b613871828260405180602001604052806000815250613f74565b5050565b6138808484846133b6565b61388c84848484614017565b61237a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a93565b6060600061392583611bbb565b9050808161393285613683565b60405160200161394493929190614ed1565b604051602081830303815290604052915050919050565b6000818152600e60205260409020805460609190819061397a90615920565b15905061398d5780805461181f90615920565b505060408051808201909152601281527f416e20756e6b6e6f776e204d6f6e7374657200000000000000000000000000006020820152919050565b50919050565b60606139d9826127ce565b6139e283610d65565b6040516020016139f3929190615593565b604051602081830303815290604052613a0b83611ab1565b613a148461241f565b604051602001613a25929190615683565b604051602081830303815290604052613a3d8461128c565b604051602001613a4d9190614e20565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815290829052613a8a93929160200161536a565b6040516020818303038152906040529050919050565b6000818152600c602052604090205460609073ffffffffffffffffffffffffffffffffffffffff1615613adb57613ad682614216565b61094e565b505060408051808201909152600581527f416c697665000000000000000000000000000000000000000000000000000000602082015290565b805160609080613b34575050604080516020810190915260008152919050565b60006003613b4383600261584f565b613b4d919061588c565b613b589060046158a0565b90506000613b6782602061584f565b67ffffffffffffffff811115613b7f57613b7f615a97565b6040519080825280601f01601f191660200182016040528015613ba9576020820181803683370190505b5090506000604051806060016040528060408152602001615b91604091399050600181016020830160005b86811015613c35576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b835260049092019101613bd4565b506003860660018114613c4f5760028114613c9957613cdf565b7f3d3d0000000000000000000000000000000000000000000000000000000000007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe830152613cdf565b7f3d000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8301525b505050918152949350505050565b606081613d2d57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115613d575780613d418161596e565b9150613d509050600a8361588c565b9150613d31565b60008167ffffffffffffffff811115613d7257613d72615a97565b6040519080825280601f01601f191660200182016040528015613d9c576020820181803683370190505b5090505b841561170557613db16001836158dd565b9150613dbe600a866159c7565b613dc990603061584f565b60f81b818381518110613dde57613dde615a68565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350613e18600a8661588c565b9450613da0565b600081604051602001613e329190614cb2565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0818403018152919052805160209091012092915050565b73ffffffffffffffffffffffffffffffffffffffff8316613ed657613ed181600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b613f13565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613f1357613f138382614354565b73ffffffffffffffffffffffffffffffffffffffff8216613f3757610c4d8161440b565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614610c4d57610c4d82826144ba565b613f7e838361450b565b613f8b6000848484614017565b610c4d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a93565b600073ffffffffffffffffffffffffffffffffffffffff84163b1561420b576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a029061408e90339089908890889060040161572e565b602060405180830381600087803b1580156140a857600080fd5b505af19250505080156140f6575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019092526140f391810190614a66565b60015b6141c0573d808015614124576040519150601f19603f3d011682016040523d82523d6000602084013e614129565b606091505b5080516141b8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a93565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050611705565b506001949350505050565b6000818152600c602052604090205460609073ffffffffffffffffffffffffffffffffffffffff16156143405761424c82613683565b6000838152600d6020526040908190205490517f9e41b73f000000000000000000000000000000000000000000000000000000008152600481019190915273ff9c1b15b16263c61d017ee9f65c50e4ae0113d790639e41b73f9060240160006040518083038186803b1580156142c157600080fd5b505afa1580156142d5573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820160405261431b9190810190614a83565b60405160200161432c9291906154cd565b60405160208183030381529060405261094e565b505060408051602081019091526000815290565b60006001614361846118a5565b61436b91906158dd565b6000838152600760205260409020549091508082146143cb5773ffffffffffffffffffffffffffffffffffffffff841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b50600091825260076020908152604080842084905573ffffffffffffffffffffffffffffffffffffffff9094168352600681528383209183525290812055565b60085460009061441d906001906158dd565b6000838152600960205260408120546008805493945090928490811061444557614445615a68565b90600052602060002001549050806008838154811061446657614466615a68565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061449e5761449e615a39565b6001900381819060005260206000200160009055905550505050565b60006144c5836118a5565b73ffffffffffffffffffffffffffffffffffffffff9093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b73ffffffffffffffffffffffffffffffffffffffff8216614588576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a93565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff1615614614576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a93565b61462060008383613e6e565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260036020526040812080546001929061465690849061584f565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b604051806101e00160405280600f905b60608152602001906001900390816146e95790505090565b82805461470d90615920565b90600052602060002090601f01602090048101928261472f5760008555614793565b82601f10614766578280017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00823516178555614793565b82800160010185558215614793579182015b82811115614793578235825591602001919060010190614778565b5061479f9291506147a3565b5090565b5b8082111561479f57600081556001016147a4565b60008083601f8401126147ca57600080fd5b50813567ffffffffffffffff8111156147e257600080fd5b6020830191508360208285010111156147fa57600080fd5b9250929050565b60006020828403121561481357600080fd5b813561189e81615ac6565b60006020828403121561483057600080fd5b815161189e81615ac6565b6000806040838503121561484e57600080fd5b823561485981615ac6565b9150602083013561486981615ac6565b809150509250929050565b60008060006060848603121561488957600080fd5b833561489481615ac6565b925060208401356148a481615ac6565b929592945050506040919091013590565b600080600080608085870312156148cb57600080fd5b84356148d681615ac6565b935060208501356148e681615ac6565b925060408501359150606085013567ffffffffffffffff81111561490957600080fd5b8501601f8101871361491a57600080fd5b803561492d61492882615809565b6157ba565b81815288602083850101111561494257600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b6000806040838503121561497757600080fd5b823561498281615ac6565b91506020830135801515811461486957600080fd5b600080604083850312156149aa57600080fd5b82356149b581615ac6565b946020939093013593505050565b600060a082840312156149d557600080fd5b82601f8301126149e457600080fd5b60405160a0810181811067ffffffffffffffff82111715614a0757614a07615a97565b604052808360a08101861015614a1c57600080fd5b60005b6005811015614a3e578151835260209283019290910190600101614a1f565b509195945050505050565b600060208284031215614a5b57600080fd5b813561189e81615ae8565b600060208284031215614a7857600080fd5b815161189e81615ae8565b600060208284031215614a9557600080fd5b815167ffffffffffffffff811115614aac57600080fd5b8201601f81018413614abd57600080fd5b8051614acb61492882615809565b818152856020838501011115614ae057600080fd5b614af18260208301602086016158f4565b95945050505050565b600060208284031215614b0c57600080fd5b5035919050565b600080600060408486031215614b2857600080fd5b83359250602084013567ffffffffffffffff811115614b4657600080fd5b614b52868287016147b8565b9497909650939450505050565b60008060408385031215614b7257600080fd5b50508035926020909101359150565b60008060008060608587031215614b9757600080fd5b8435935060208501359250604085013567ffffffffffffffff811115614bbc57600080fd5b614bc8878288016147b8565b95989497509550505050565b60008151808452614bec8160208601602086016158f4565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60008151614c308185602086016158f4565b9290920192915050565b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b60008351614c958184602088016158f4565b835190830190614ca98183602088016158f4565b01949350505050565b60008251614cc48184602087016158f4565b9190910192915050565b600088516020614ce18285838e016158f4565b895191840191614cf48184848e016158f4565b8951920191614d068184848d016158f4565b8851920191614d188184848c016158f4565b8751920191614d2a8184848b016158f4565b8651920191614d3c8184848a016158f4565b8551920191614d4e81848489016158f4565b919091019a9950505050505050505050565b60008a51614d72818460208f016158f4565b8a51614d848183860160208f016158f4565b8a519184010190614d99818360208e016158f4565b8951614dab8183850160208e016158f4565b8951929091010190614dc1818360208c016158f4565b8751614dd38183850160208c016158f4565b8751929091010190614de9818360208a016158f4565b8551910190614dfc8183602089016158f4565b8451614e0e81838501602089016158f4565b9101019b9a5050505050505050505050565b7f4974206973207765616b20746f20000000000000000000000000000000000000815260008251614e5881600e8501602087016158f4565b7f732e000000000000000000000000000000000000000000000000000000000000600e939091019283015250601001919050565b7f4d6f6e7374657220230000000000000000000000000000000000000000000000815260008251614ec48160098501602087016158f4565b9190910160090192915050565b7f3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323081527f30302f73766722207072657365727665417370656374526174696f3d22784d6960208201527f6e594d696e206d656574222076696577426f783d22302030203335302033353060408201527f223e3c7374796c653e2e62617365207b2066696c6c3a2077686974653b20666f60608201527f6e742d66616d696c793a2073657269663b20666f6e742d73697a653a2031347060808201527f783b207d2e736d616c6c207b20666f6e742d73697a653a20313070783b207d0060a08201527f2e636f6c6f726564207b2066696c6c3a0000000000000000000000000000000060bf82015260008451614fed8160cf8501602089016158f4565b80830190507f7d3c2f7374796c653e3c726563742077696474683d223130302522206865696760cf8201527f68743d2231303025222066696c6c3d22626c61636b22207374726f6b653d220060ef82015261010e85516150538183850160208a016158f4565b61512b6150dc6150d684848701017f22207374726f6b652d77696474683d2235707822202f3e3c746578742074657881527f742d616e63686f723d22656e642220783d223334302220793d2232302220636c60208201527f6173733d22626173652220666f6e742d7765696768743d22626f6c64223e23006040820152605f0190565b88614c1e565b7f3c2f746578743e3c7465787420783d2231302220793d2232302220636c61737381527f3d22626173652220666f6e742d7765696768743d22626f6c64223e00000000006020820152603b0190565b98975050505050505050565b7f7b226e616d65223a20220000000000000000000000000000000000000000000081526000845161516f81600a8501602089016158f4565b7f222c20226465736372697074696f6e223a20224d6f6e73746572732061726520600a918401918201527f72616e646f6d697a656420666f72676f7474656e206265617374732067656e65602a8201527f726174656420616e642073746f726564206f6e20636861696e2e205374617473604a8201527f2c20696d616765732c20616e64206f746865722066756e6374696f6e616c6974606a8201527f792061726520696e74656e74696f6e616c6c79206f6d697474656420666f7220608a8201527f6f746865727320746f20696e746572707265742e20536c6179207468656d206960aa8201527f6620796f752063616e202d207769746820746865207269676874204c6f6f742160ca8201527f204665656c206672656520746f20757365204d6f6e737465727320696e20616e60ea8201527f792077617920796f752077616e742e222c2022696d616765223a20226461746161010a8201527f3a696d6167652f7376672b786d6c3b6261736536342c0000000000000000000061012a820152615360615337615331615308610140850189614c1e565b7f222c202261747472696275746573223a20000000000000000000000000000000815260110190565b86614c1e565b7f7d00000000000000000000000000000000000000000000000000000000000000815260010190565b9695505050505050565b7f2e3c2f746578743e3c7465787420783d2231302220793d223138302220636c6181527f73733d2262617365223e000000000000000000000000000000000000000000006020820152600084516153c881602a8501602089016158f4565b80830190507f3c2f746578743e3c7465787420783d2231302220793d223230302220636c6173602a8201527f733d2262617365223e000000000000000000000000000000000000000000000080604a830152855161542d816053850160208a016158f4565b7f3c2f746578743e3c7465787420783d2231302220793d223232302220636c6173605393909101928301526073820152835161547081607c8401602088016158f4565b7f3c2f746578743e3c7465787420783d2231302220793d223238302220636c6173607c92909101918201527f733d226261736520736d616c6c223e0000000000000000000000000000000000609c82015260ab0195945050505050565b7f536c61696e2077697468204c6f6f7420230000000000000000000000000000008152600083516155058160118501602088016158f4565b7f200000000000000000000000000000000000000000000000000000000000000060119184019182015283516155428160128401602088016158f4565b01601201949350505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000825161558681601d8501602087016158f4565b91909101601d0192915050565b7f497420706f7373657373657320000000000000000000000000000000000000008152600083516155cb81600d8501602088016158f4565b7f2000000000000000000000000000000000000000000000000000000000000000600d91840191820152835161560881600e8401602088016158f4565b7f2e00000000000000000000000000000000000000000000000000000000000000600e9290910191820152600f01949350505050565b7f7765616b6e6573730000000000000000000000000000000000000000000000008152600082516156768160088501602087016158f4565b9190910160080192915050565b7f42657761726520697473200000000000000000000000000000000000000000008152600083516156bb81600b8501602088016158f4565b7f2000000000000000000000000000000000000000000000000000000000000000600b9184019182015283516156f881600c8401602088016158f4565b7f2100000000000000000000000000000000000000000000000000000000000000600c9290910191820152600d01949350505050565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250836040830152608060608301526153606080830184614bd4565b60208152600061189e6020830184614bd4565b838152604060208201526000614af1604083018486614c3a565b848152836020820152606060408201526000615360606083018486614c3a565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561580157615801615a97565b604052919050565b600067ffffffffffffffff82111561582357615823615a97565b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b60008219821115615862576158626159db565b500190565b600060ff821660ff84168060ff03821115615884576158846159db565b019392505050565b60008261589b5761589b615a0a565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156158d8576158d86159db565b500290565b6000828210156158ef576158ef6159db565b500390565b60005b8381101561590f5781810151838201526020016158f7565b8381111561237a5750506000910152565b600181811c9082168061593457607f821691505b602082108114156139c8577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156159a0576159a06159db565b5060010190565b600060ff821660ff8114156159be576159be6159db565b60010192915050565b6000826159d6576159d6615a0a565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b73ffffffffffffffffffffffffffffffffffffffff811681146111b057600080fd5b7fffffffff00000000000000000000000000000000000000000000000000000000811681146111b057600080fdfe3c2f746578743e3c7465787420783d2231302220793d223132302220636c6173733d2262617365223e3c2f746578743e3c7465787420783d2231302220793d2238302220636c6173733d2262617365223e3c2f746578743e3c7465787420783d2231302220793d223130302220636c6173733d2262617365223e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f3c2f746578743e3c7465787420783d2231302220793d2236302220636c6173733d226261736520636f6c6f726564223e3c2f746578743e3c7465787420783d2231302220793d223136302220636c6173733d2262617365223e20497420a2646970667358221220c0813ce071147ebbaa31c48677fb13f2bfa8ea44543c6bff9128c2f8740194e164736f6c63430008070033
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.