Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
10,000 MBM
Holders
4,587
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 MBMLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MuscleBrainMonsters
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; pragma experimental ABIEncoderV2; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@beskay/erc721b/contracts/ERC721B.sol"; contract MuscleBrainMonsters is Ownable, ERC721B { using Strings for uint256; string public _baseUri; address public minter; uint256 public purchaseLimit; constructor() ERC721B("Muscle Brain Monsters", "MBM") { } function setMinter(address _minter, string memory __baseUri, uint256 _purchaseLimit) public onlyOwner { minter = _minter; _baseUri = __baseUri; purchaseLimit = _purchaseLimit; } function updateBaseTokenURI(string memory __baseUri) public onlyOwner { _baseUri = __baseUri; } function mint(address to, uint256 quantity) public { require(msg.sender == minter && quantity <= purchaseLimit, "params error"); _safeMint(to, quantity); } function tokenURI(uint256 tokenId) public view override returns (string memory) { return bytes(_baseUri).length > 0 ? string(abi.encodePacked(_baseUri, tokenId.toString())) : ""; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev 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 { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) 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: GPL-3.0-or-later pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol'; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintedQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerIndexOutOfBounds(); error OwnerQueryForNonexistentToken(); error TokenIndexOutOfBounds(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error UnableDetermineTokenOwner(); error UnableGetTokenOwnerByIndex(); error URIQueryForNonexistentToken(); /** * Updated, minimalist and gas efficient version of OpenZeppelins ERC721 contract. * Includes the Metadata and Enumerable extension. * * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..). * Does not support burning tokens * * @author beskay0x * Credits: chiru-labs, solmate, transmissions11, nftchance, squeebo_nft and others */ abstract contract ERC721B { /*/////////////////////////////////////////////////////////////// EVENTS //////////////////////////////////////////////////////////////*/ event Transfer(address indexed from, address indexed to, uint256 indexed id); event Approval(address indexed owner, address indexed spender, uint256 indexed id); event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /*/////////////////////////////////////////////////////////////// METADATA STORAGE/LOGIC //////////////////////////////////////////////////////////////*/ string public name; string public symbol; function tokenURI(uint256 tokenId) public view virtual returns (string memory); /*/////////////////////////////////////////////////////////////// ERC721 STORAGE //////////////////////////////////////////////////////////////*/ // Array which maps token ID to address (index is tokenID) address[] internal _owners; // 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; /*/////////////////////////////////////////////////////////////// CONSTRUCTOR //////////////////////////////////////////////////////////////*/ constructor(string memory _name, string memory _symbol) { name = _name; symbol = _symbol; } /*/////////////////////////////////////////////////////////////// ERC165 LOGIC //////////////////////////////////////////////////////////////*/ function supportsInterface(bytes4 interfaceId) public pure virtual returns (bool) { return interfaceId == 0x01ffc9a7 || // ERC165 Interface ID for ERC165 interfaceId == 0x80ac58cd || // ERC165 Interface ID for ERC721 interfaceId == 0x780e9d63 || // ERC165 Interface ID for ERC721Enumerable interfaceId == 0x5b5e139f; // ERC165 Interface ID for ERC721Metadata } /*/////////////////////////////////////////////////////////////// ERC721ENUMERABLE LOGIC //////////////////////////////////////////////////////////////*/ /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view returns (uint256) { return _owners.length; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. * Dont call this function on chain from another smart contract, since it can become quite expensive */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual returns (uint256 tokenId) { if (index >= balanceOf(owner)) revert OwnerIndexOutOfBounds(); uint256 count; uint256 qty = _owners.length; // Cannot realistically overflow, since we are using uint256 unchecked { for (tokenId; tokenId < qty; tokenId++) { if (owner == ownerOf(tokenId)) { if (count == index) return tokenId; else count++; } } } revert UnableGetTokenOwnerByIndex(); } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual returns (uint256) { if (index >= totalSupply()) revert TokenIndexOutOfBounds(); return index; } /*/////////////////////////////////////////////////////////////// ERC721 LOGIC //////////////////////////////////////////////////////////////*/ /** * @dev Iterates through _owners array, returns balance of address * It is not recommended to call this function from another smart contract * as it can become quite expensive -- call this function off chain instead. */ function balanceOf(address owner) public view virtual returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); uint256 count; uint256 qty = _owners.length; // Cannot realistically overflow, since we are using uint256 unchecked { for (uint256 i = 0; i < qty; i++) { if (owner == ownerOf(i)) { count++; } } } return count; } /** * @dev See {IERC721-ownerOf}. * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function ownerOf(uint256 tokenId) public view virtual returns (address) { if (!_exists(tokenId)) revert OwnerQueryForNonexistentToken(); // Cannot realistically overflow, since we are using uint256 unchecked { for (uint256 i = tokenId; ; i++) { if (_owners[i] != address(0)) { return _owners[i]; } } } revert UnableDetermineTokenOwner(); } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual { address owner = ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (msg.sender != owner && !isApprovedForAll(owner, msg.sender)) revert ApprovalCallerNotOwnerNorApproved(); _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual { if (operator == msg.sender) revert ApproveToCaller(); _operatorApprovals[msg.sender][operator] = approved; emit ApprovalForAll(msg.sender, operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual { if (!_exists(tokenId)) revert OwnerQueryForNonexistentToken(); if (ownerOf(tokenId) != from) revert TransferFromIncorrectOwner(); if (to == address(0)) revert TransferToZeroAddress(); bool isApprovedOrOwner = (msg.sender == from || msg.sender == getApproved(tokenId) || isApprovedForAll(from, msg.sender)); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); // delete token approvals from previous owner delete _tokenApprovals[tokenId]; _owners[tokenId] = to; // if token ID below transferred one isnt set, set it to previous owner // if tokenid is zero, skip this to prevent underflow if (tokenId > 0) { if (_owners[tokenId - 1] == address(0)) { _owners[tokenId - 1] = from; } } emit Transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id ) public virtual { transferFrom(from, to, id); if (!_checkOnERC721Received(from, to, id, '')) revert TransferToNonERC721ReceiverImplementer(); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, bytes memory data ) public virtual { transferFrom(from, to, id); if (!_checkOnERC721Received(from, to, id, data)) revert TransferToNonERC721ReceiverImplementer(); } /** * @dev Returns whether `tokenId` exists. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return tokenId < _owners.length; } /** * @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.code.length > 0) { try IERC721Receiver(to).onERC721Received(msg.sender, from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /*/////////////////////////////////////////////////////////////// INTERNAL MINT LOGIC //////////////////////////////////////////////////////////////*/ /** * @dev check if contract confirms token transfer, if not - reverts * unlike the standard ERC721 implementation this is only called once per mint, * no matter how many tokens get minted, since it is useless to check this * requirement several times -- if the contract confirms one token, * it will confirm all additional ones too. * This saves us around 5k gas per additional mint */ function _safeMint(address to, uint256 qty) internal virtual { _mint(to, qty); if (!_checkOnERC721Received(address(0), to, _owners.length - 1, '')) revert TransferToNonERC721ReceiverImplementer(); } function _safeMint( address to, uint256 qty, bytes memory data ) internal virtual { _mint(to, qty); if (!_checkOnERC721Received(address(0), to, _owners.length - 1, data)) revert TransferToNonERC721ReceiverImplementer(); } function _mint(address to, uint256 qty) internal virtual { if (to == address(0)) revert MintToZeroAddress(); if (qty == 0) revert MintZeroQuantity(); uint256 _currentIndex = _owners.length; // Cannot realistically overflow, since we are using uint256 unchecked { for (uint256 i = 0; i < qty - 1; i++) { _owners.push(); emit Transfer(address(0), to, _currentIndex + i); } } // set last index to receiver _owners.push(to); emit Transfer(address(0), to, _currentIndex + (qty - 1)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) 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); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerIndexOutOfBounds","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TokenIndexOutOfBounds","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"UnableDetermineTokenOwner","type":"error"},{"inputs":[],"name":"UnableGetTokenOwnerByIndex","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_baseUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"purchaseLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","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":"id","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_minter","type":"address"},{"internalType":"string","name":"__baseUri","type":"string"},{"internalType":"uint256","name":"_purchaseLimit","type":"uint256"}],"name":"setMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","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":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"__baseUri","type":"string"}],"name":"updateBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040518060400160405280601581526020017f4d7573636c6520427261696e204d6f6e737465727300000000000000000000008152506040518060400160405280600381526020017f4d424d00000000000000000000000000000000000000000000000000000000008152506200009e62000092620000d860201b60201c565b620000e060201b60201c565b8160019080519060200190620000b6929190620001a4565b508060029080519060200190620000cf929190620001a4565b505050620002b9565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001b29062000254565b90600052602060002090601f016020900481019282620001d6576000855562000222565b82601f10620001f157805160ff191683800117855562000222565b8280016001018555821562000222579182015b828111156200022157825182559160200191906001019062000204565b5b50905062000231919062000235565b5090565b5b808211156200025057600081600090555060010162000236565b5090565b600060028204905060018216806200026d57607f821691505b602082108114156200028457620002836200028a565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b612b7280620002c96000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c80634f6ccce7116100de5780638da5cb5b11610097578063b88d4fde11610071578063b88d4fde14610438578063c87b56dd14610454578063e985e9c514610484578063f2fde38b146104b457610173565b80638da5cb5b146103e057806395d89b41146103fe578063a22cb4651461041c57610173565b80634f6ccce71461030e5780636352211e1461033e578063655391c91461036e57806370a082311461038a578063715018a6146103ba5780637afbcf1e146103c457610173565b80631888665711610130578063188866571461024e57806323b872dd1461026c5780632f745c59146102885780633e63eb2a146102b857806340c10f19146102d657806342842e0e146102f257610173565b806301ffc9a71461017857806306fdde03146101a857806307546172146101c6578063081812fc146101e4578063095ea7b31461021457806318160ddd14610230575b600080fd5b610192600480360381019061018d919061228e565b6104d0565b60405161019f919061258d565b60405180910390f35b6101b0610592565b6040516101bd91906125a8565b60405180910390f35b6101ce610620565b6040516101db9190612526565b60405180910390f35b6101fe60048036038101906101f99190612321565b610646565b60405161020b9190612526565b60405180910390f35b61022e60048036038101906102299190612252565b6106c2565b005b610238610861565b604051610245919061262a565b60405180910390f35b61025661086e565b604051610263919061262a565b60405180910390f35b610286600480360381019061028191906120e5565b610874565b005b6102a2600480360381019061029d9190612252565b610c99565b6040516102af919061262a565b60405180910390f35b6102c0610d89565b6040516102cd91906125a8565b60405180910390f35b6102f060048036038101906102eb9190612252565b610e17565b005b61030c600480360381019061030791906120e5565b610ec3565b005b61032860048036038101906103239190612321565b610f24565b604051610335919061262a565b60405180910390f35b61035860048036038101906103539190612321565b610f6e565b6040516103659190612526565b60405180910390f35b610388600480360381019061038391906122e0565b6110cc565b005b6103a4600480360381019061039f9190612080565b611162565b6040516103b1919061262a565b60405180910390f35b6103c261123d565b005b6103de60048036038101906103d991906121eb565b6112c5565b005b6103e86113a5565b6040516103f59190612526565b60405180910390f35b6104066113ce565b60405161041391906125a8565b60405180910390f35b610436600480360381019061043191906121af565b61145c565b005b610452600480360381019061044d9190612134565b6115bf565b005b61046e60048036038101906104699190612321565b611612565b60405161047b91906125a8565b60405180910390f35b61049e600480360381019061049991906120a9565b611672565b6040516104ab919061258d565b60405180910390f35b6104ce60048036038101906104c99190612080565b611706565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061052b57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061055b575063780e9d6360e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061058b5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6001805461059f90612895565b80601f01602080910402602001604051908101604052809291908181526020018280546105cb90612895565b80156106185780601f106105ed57610100808354040283529160200191610618565b820191906000526020600020905b8154815290600101906020018083116105fb57829003601f168201915b505050505081565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610651826117fe565b610687576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006106cd82610f6e565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610735576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415801561077857506107768133611672565b155b156107af576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b826004600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000600380549050905090565b60085481565b61087d816117fe565b6108b3576040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff166108d382610f6e565b73ffffffffffffffffffffffffffffffffffffffff1614610920576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610987576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806109f657506109c782610646565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b80610a075750610a068433611672565b5b905080610a40576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6004600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690558260038381548110610ab1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000821115610c3857600073ffffffffffffffffffffffffffffffffffffffff166003600184610b2991906127ab565b81548110610b60577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610c3757836003600184610bb791906127ab565b81548110610bee577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b5b818373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a450505050565b6000610ca483611162565b8210610cdc576040517f0ddac30e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060038054905090505b80831015610d5157610cf983610f6e565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610d445783821415610d3b575050610d83565b81806001019250505b8280600101935050610ce8565b6040517f7339954700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b92915050565b60068054610d9690612895565b80601f0160208091040260200160405190810160405280929190818152602001828054610dc290612895565b8015610e0f5780601f10610de457610100808354040283529160200191610e0f565b820191906000526020600020905b815481529060010190602001808311610df257829003601f168201915b505050505081565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148015610e7657506008548111155b610eb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eac906125ea565b60405180910390fd5b610ebf828261180f565b5050565b610ece838383610874565b610ee983838360405180602001604052806000815250611880565b610f1f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050565b6000610f2e610861565b8210610f66576040517fa723001c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b819050919050565b6000610f79826117fe565b610faf576040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008290505b600073ffffffffffffffffffffffffffffffffffffffff1660038281548110611007577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146110ba5760038181548110611087577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169150506110c7565b8080600101915050610fb5565b919050565b6110d4611a02565b73ffffffffffffffffffffffffffffffffffffffff166110f26113a5565b73ffffffffffffffffffffffffffffffffffffffff1614611148576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113f9061260a565b60405180910390fd5b806006908051906020019061115e929190611ea4565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111ca576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080600380549050905060005b81811015611232576111e981610f6e565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156112255782806001019350505b80806001019150506111d8565b508192505050919050565b611245611a02565b73ffffffffffffffffffffffffffffffffffffffff166112636113a5565b73ffffffffffffffffffffffffffffffffffffffff16146112b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b09061260a565b60405180910390fd5b6112c36000611a0a565b565b6112cd611a02565b73ffffffffffffffffffffffffffffffffffffffff166112eb6113a5565b73ffffffffffffffffffffffffffffffffffffffff1614611341576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113389061260a565b60405180910390fd5b82600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160069080519060200190611398929190611ea4565b5080600881905550505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600280546113db90612895565b80601f016020809104026020016040519081016040528092919081815260200182805461140790612895565b80156114545780601f1061142957610100808354040283529160200191611454565b820191906000526020600020905b81548152906001019060200180831161143757829003601f168201915b505050505081565b3373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114c2576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516115b3919061258d565b60405180910390a35050565b6115ca848484610874565b6115d684848484611880565b61160c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b606060006006805461162390612895565b90501161163f576040518060200160405280600081525061166b565b600661164a83611ace565b60405160200161165b929190612502565b6040516020818303038152906040525b9050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61170e611a02565b73ffffffffffffffffffffffffffffffffffffffff1661172c6113a5565b73ffffffffffffffffffffffffffffffffffffffff1614611782576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117799061260a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e9906125ca565b60405180910390fd5b6117fb81611a0a565b50565b600060038054905082109050919050565b6118198282611c7b565b611846600083600160038054905061183191906127ab565b60405180602001604052806000815250611880565b61187c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050565b6000808473ffffffffffffffffffffffffffffffffffffffff163b11156119f5578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02338786866040518563ffffffff1660e01b81526004016118e09493929190612541565b602060405180830381600087803b1580156118fa57600080fd5b505af192505050801561192b57506040513d601f19601f8201168201806040525081019061192891906122b7565b60015b6119a5573d806000811461195b576040519150601f19603f3d011682016040523d82523d6000602084013e611960565b606091505b5060008151141561199d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506119fa565b600190505b949350505050565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60606000821415611b16576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611c76565b600082905060005b60008214611b48578080611b31906128f8565b915050600a82611b41919061277a565b9150611b1e565b60008167ffffffffffffffff811115611b8a577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611bbc5781602001600182028036833780820191505090505b5090505b60008514611c6f57600182611bd591906127ab565b9150600a85611be49190612941565b6030611bf09190612724565b60f81b818381518110611c2c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611c68919061277a565b9450611bc0565b8093505050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ce2576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000811415611d1d576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600380549050905060005b60018303811015611dc8576003600181600181540180825580915050039060005260206000200160009054906101000a9050508082018473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48080600101915050611d2a565b506003839080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600182611e3991906127ab565b81611e449190612724565b8373ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b828054611eb090612895565b90600052602060002090601f016020900481019282611ed25760008555611f19565b82601f10611eeb57805160ff1916838001178555611f19565b82800160010185558215611f19579182015b82811115611f18578251825591602001919060010190611efd565b5b509050611f269190611f2a565b5090565b5b80821115611f43576000816000905550600101611f2b565b5090565b6000611f5a611f558461266a565b612645565b905082815260208101848484011115611f7257600080fd5b611f7d848285612853565b509392505050565b6000611f98611f938461269b565b612645565b905082815260208101848484011115611fb057600080fd5b611fbb848285612853565b509392505050565b600081359050611fd281612ae0565b92915050565b600081359050611fe781612af7565b92915050565b600081359050611ffc81612b0e565b92915050565b60008151905061201181612b0e565b92915050565b600082601f83011261202857600080fd5b8135612038848260208601611f47565b91505092915050565b600082601f83011261205257600080fd5b8135612062848260208601611f85565b91505092915050565b60008135905061207a81612b25565b92915050565b60006020828403121561209257600080fd5b60006120a084828501611fc3565b91505092915050565b600080604083850312156120bc57600080fd5b60006120ca85828601611fc3565b92505060206120db85828601611fc3565b9150509250929050565b6000806000606084860312156120fa57600080fd5b600061210886828701611fc3565b935050602061211986828701611fc3565b925050604061212a8682870161206b565b9150509250925092565b6000806000806080858703121561214a57600080fd5b600061215887828801611fc3565b945050602061216987828801611fc3565b935050604061217a8782880161206b565b925050606085013567ffffffffffffffff81111561219757600080fd5b6121a387828801612017565b91505092959194509250565b600080604083850312156121c257600080fd5b60006121d085828601611fc3565b92505060206121e185828601611fd8565b9150509250929050565b60008060006060848603121561220057600080fd5b600061220e86828701611fc3565b935050602084013567ffffffffffffffff81111561222b57600080fd5b61223786828701612041565b92505060406122488682870161206b565b9150509250925092565b6000806040838503121561226557600080fd5b600061227385828601611fc3565b92505060206122848582860161206b565b9150509250929050565b6000602082840312156122a057600080fd5b60006122ae84828501611fed565b91505092915050565b6000602082840312156122c957600080fd5b60006122d784828501612002565b91505092915050565b6000602082840312156122f257600080fd5b600082013567ffffffffffffffff81111561230c57600080fd5b61231884828501612041565b91505092915050565b60006020828403121561233357600080fd5b60006123418482850161206b565b91505092915050565b612353816127df565b82525050565b612362816127f1565b82525050565b6000612373826126e1565b61237d81856126f7565b935061238d818560208601612862565b61239681612a2e565b840191505092915050565b60006123ac826126ec565b6123b68185612708565b93506123c6818560208601612862565b6123cf81612a2e565b840191505092915050565b60006123e5826126ec565b6123ef8185612719565b93506123ff818560208601612862565b80840191505092915050565b6000815461241881612895565b6124228186612719565b9450600182166000811461243d576001811461244e57612481565b60ff19831686528186019350612481565b612457856126cc565b60005b838110156124795781548189015260018201915060208101905061245a565b838801955050505b50505092915050565b6000612497602683612708565b91506124a282612a3f565b604082019050919050565b60006124ba600c83612708565b91506124c582612a8e565b602082019050919050565b60006124dd602083612708565b91506124e882612ab7565b602082019050919050565b6124fc81612849565b82525050565b600061250e828561240b565b915061251a82846123da565b91508190509392505050565b600060208201905061253b600083018461234a565b92915050565b6000608082019050612556600083018761234a565b612563602083018661234a565b61257060408301856124f3565b81810360608301526125828184612368565b905095945050505050565b60006020820190506125a26000830184612359565b92915050565b600060208201905081810360008301526125c281846123a1565b905092915050565b600060208201905081810360008301526125e38161248a565b9050919050565b60006020820190508181036000830152612603816124ad565b9050919050565b60006020820190508181036000830152612623816124d0565b9050919050565b600060208201905061263f60008301846124f3565b92915050565b600061264f612660565b905061265b82826128c7565b919050565b6000604051905090565b600067ffffffffffffffff821115612685576126846129ff565b5b61268e82612a2e565b9050602081019050919050565b600067ffffffffffffffff8211156126b6576126b56129ff565b5b6126bf82612a2e565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061272f82612849565b915061273a83612849565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561276f5761276e612972565b5b828201905092915050565b600061278582612849565b915061279083612849565b9250826127a05761279f6129a1565b5b828204905092915050565b60006127b682612849565b91506127c183612849565b9250828210156127d4576127d3612972565b5b828203905092915050565b60006127ea82612829565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015612880578082015181840152602081019050612865565b8381111561288f576000848401525b50505050565b600060028204905060018216806128ad57607f821691505b602082108114156128c1576128c06129d0565b5b50919050565b6128d082612a2e565b810181811067ffffffffffffffff821117156128ef576128ee6129ff565b5b80604052505050565b600061290382612849565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561293657612935612972565b5b600182019050919050565b600061294c82612849565b915061295783612849565b925082612967576129666129a1565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f706172616d73206572726f720000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b612ae9816127df565b8114612af457600080fd5b50565b612b00816127f1565b8114612b0b57600080fd5b50565b612b17816127fd565b8114612b2257600080fd5b50565b612b2e81612849565b8114612b3957600080fd5b5056fea264697066735822122030ae635b01b3b76fc6d8cce2bfd14a0e94943c2cd2e6ae8b72b4573a04496c5864736f6c63430008040033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101735760003560e01c80634f6ccce7116100de5780638da5cb5b11610097578063b88d4fde11610071578063b88d4fde14610438578063c87b56dd14610454578063e985e9c514610484578063f2fde38b146104b457610173565b80638da5cb5b146103e057806395d89b41146103fe578063a22cb4651461041c57610173565b80634f6ccce71461030e5780636352211e1461033e578063655391c91461036e57806370a082311461038a578063715018a6146103ba5780637afbcf1e146103c457610173565b80631888665711610130578063188866571461024e57806323b872dd1461026c5780632f745c59146102885780633e63eb2a146102b857806340c10f19146102d657806342842e0e146102f257610173565b806301ffc9a71461017857806306fdde03146101a857806307546172146101c6578063081812fc146101e4578063095ea7b31461021457806318160ddd14610230575b600080fd5b610192600480360381019061018d919061228e565b6104d0565b60405161019f919061258d565b60405180910390f35b6101b0610592565b6040516101bd91906125a8565b60405180910390f35b6101ce610620565b6040516101db9190612526565b60405180910390f35b6101fe60048036038101906101f99190612321565b610646565b60405161020b9190612526565b60405180910390f35b61022e60048036038101906102299190612252565b6106c2565b005b610238610861565b604051610245919061262a565b60405180910390f35b61025661086e565b604051610263919061262a565b60405180910390f35b610286600480360381019061028191906120e5565b610874565b005b6102a2600480360381019061029d9190612252565b610c99565b6040516102af919061262a565b60405180910390f35b6102c0610d89565b6040516102cd91906125a8565b60405180910390f35b6102f060048036038101906102eb9190612252565b610e17565b005b61030c600480360381019061030791906120e5565b610ec3565b005b61032860048036038101906103239190612321565b610f24565b604051610335919061262a565b60405180910390f35b61035860048036038101906103539190612321565b610f6e565b6040516103659190612526565b60405180910390f35b610388600480360381019061038391906122e0565b6110cc565b005b6103a4600480360381019061039f9190612080565b611162565b6040516103b1919061262a565b60405180910390f35b6103c261123d565b005b6103de60048036038101906103d991906121eb565b6112c5565b005b6103e86113a5565b6040516103f59190612526565b60405180910390f35b6104066113ce565b60405161041391906125a8565b60405180910390f35b610436600480360381019061043191906121af565b61145c565b005b610452600480360381019061044d9190612134565b6115bf565b005b61046e60048036038101906104699190612321565b611612565b60405161047b91906125a8565b60405180910390f35b61049e600480360381019061049991906120a9565b611672565b6040516104ab919061258d565b60405180910390f35b6104ce60048036038101906104c99190612080565b611706565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061052b57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061055b575063780e9d6360e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061058b5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6001805461059f90612895565b80601f01602080910402602001604051908101604052809291908181526020018280546105cb90612895565b80156106185780601f106105ed57610100808354040283529160200191610618565b820191906000526020600020905b8154815290600101906020018083116105fb57829003601f168201915b505050505081565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610651826117fe565b610687576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006106cd82610f6e565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610735576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415801561077857506107768133611672565b155b156107af576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b826004600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000600380549050905090565b60085481565b61087d816117fe565b6108b3576040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff166108d382610f6e565b73ffffffffffffffffffffffffffffffffffffffff1614610920576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610987576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806109f657506109c782610646565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b80610a075750610a068433611672565b5b905080610a40576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6004600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690558260038381548110610ab1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000821115610c3857600073ffffffffffffffffffffffffffffffffffffffff166003600184610b2991906127ab565b81548110610b60577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610c3757836003600184610bb791906127ab565b81548110610bee577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b5b818373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a450505050565b6000610ca483611162565b8210610cdc576040517f0ddac30e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060038054905090505b80831015610d5157610cf983610f6e565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610d445783821415610d3b575050610d83565b81806001019250505b8280600101935050610ce8565b6040517f7339954700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b92915050565b60068054610d9690612895565b80601f0160208091040260200160405190810160405280929190818152602001828054610dc290612895565b8015610e0f5780601f10610de457610100808354040283529160200191610e0f565b820191906000526020600020905b815481529060010190602001808311610df257829003601f168201915b505050505081565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148015610e7657506008548111155b610eb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eac906125ea565b60405180910390fd5b610ebf828261180f565b5050565b610ece838383610874565b610ee983838360405180602001604052806000815250611880565b610f1f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050565b6000610f2e610861565b8210610f66576040517fa723001c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b819050919050565b6000610f79826117fe565b610faf576040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008290505b600073ffffffffffffffffffffffffffffffffffffffff1660038281548110611007577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146110ba5760038181548110611087577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169150506110c7565b8080600101915050610fb5565b919050565b6110d4611a02565b73ffffffffffffffffffffffffffffffffffffffff166110f26113a5565b73ffffffffffffffffffffffffffffffffffffffff1614611148576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113f9061260a565b60405180910390fd5b806006908051906020019061115e929190611ea4565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111ca576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080600380549050905060005b81811015611232576111e981610f6e565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156112255782806001019350505b80806001019150506111d8565b508192505050919050565b611245611a02565b73ffffffffffffffffffffffffffffffffffffffff166112636113a5565b73ffffffffffffffffffffffffffffffffffffffff16146112b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b09061260a565b60405180910390fd5b6112c36000611a0a565b565b6112cd611a02565b73ffffffffffffffffffffffffffffffffffffffff166112eb6113a5565b73ffffffffffffffffffffffffffffffffffffffff1614611341576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113389061260a565b60405180910390fd5b82600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160069080519060200190611398929190611ea4565b5080600881905550505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600280546113db90612895565b80601f016020809104026020016040519081016040528092919081815260200182805461140790612895565b80156114545780601f1061142957610100808354040283529160200191611454565b820191906000526020600020905b81548152906001019060200180831161143757829003601f168201915b505050505081565b3373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114c2576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516115b3919061258d565b60405180910390a35050565b6115ca848484610874565b6115d684848484611880565b61160c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b606060006006805461162390612895565b90501161163f576040518060200160405280600081525061166b565b600661164a83611ace565b60405160200161165b929190612502565b6040516020818303038152906040525b9050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61170e611a02565b73ffffffffffffffffffffffffffffffffffffffff1661172c6113a5565b73ffffffffffffffffffffffffffffffffffffffff1614611782576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117799061260a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e9906125ca565b60405180910390fd5b6117fb81611a0a565b50565b600060038054905082109050919050565b6118198282611c7b565b611846600083600160038054905061183191906127ab565b60405180602001604052806000815250611880565b61187c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050565b6000808473ffffffffffffffffffffffffffffffffffffffff163b11156119f5578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02338786866040518563ffffffff1660e01b81526004016118e09493929190612541565b602060405180830381600087803b1580156118fa57600080fd5b505af192505050801561192b57506040513d601f19601f8201168201806040525081019061192891906122b7565b60015b6119a5573d806000811461195b576040519150601f19603f3d011682016040523d82523d6000602084013e611960565b606091505b5060008151141561199d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506119fa565b600190505b949350505050565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60606000821415611b16576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611c76565b600082905060005b60008214611b48578080611b31906128f8565b915050600a82611b41919061277a565b9150611b1e565b60008167ffffffffffffffff811115611b8a577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611bbc5781602001600182028036833780820191505090505b5090505b60008514611c6f57600182611bd591906127ab565b9150600a85611be49190612941565b6030611bf09190612724565b60f81b818381518110611c2c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611c68919061277a565b9450611bc0565b8093505050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ce2576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000811415611d1d576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600380549050905060005b60018303811015611dc8576003600181600181540180825580915050039060005260206000200160009054906101000a9050508082018473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48080600101915050611d2a565b506003839080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600182611e3991906127ab565b81611e449190612724565b8373ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b828054611eb090612895565b90600052602060002090601f016020900481019282611ed25760008555611f19565b82601f10611eeb57805160ff1916838001178555611f19565b82800160010185558215611f19579182015b82811115611f18578251825591602001919060010190611efd565b5b509050611f269190611f2a565b5090565b5b80821115611f43576000816000905550600101611f2b565b5090565b6000611f5a611f558461266a565b612645565b905082815260208101848484011115611f7257600080fd5b611f7d848285612853565b509392505050565b6000611f98611f938461269b565b612645565b905082815260208101848484011115611fb057600080fd5b611fbb848285612853565b509392505050565b600081359050611fd281612ae0565b92915050565b600081359050611fe781612af7565b92915050565b600081359050611ffc81612b0e565b92915050565b60008151905061201181612b0e565b92915050565b600082601f83011261202857600080fd5b8135612038848260208601611f47565b91505092915050565b600082601f83011261205257600080fd5b8135612062848260208601611f85565b91505092915050565b60008135905061207a81612b25565b92915050565b60006020828403121561209257600080fd5b60006120a084828501611fc3565b91505092915050565b600080604083850312156120bc57600080fd5b60006120ca85828601611fc3565b92505060206120db85828601611fc3565b9150509250929050565b6000806000606084860312156120fa57600080fd5b600061210886828701611fc3565b935050602061211986828701611fc3565b925050604061212a8682870161206b565b9150509250925092565b6000806000806080858703121561214a57600080fd5b600061215887828801611fc3565b945050602061216987828801611fc3565b935050604061217a8782880161206b565b925050606085013567ffffffffffffffff81111561219757600080fd5b6121a387828801612017565b91505092959194509250565b600080604083850312156121c257600080fd5b60006121d085828601611fc3565b92505060206121e185828601611fd8565b9150509250929050565b60008060006060848603121561220057600080fd5b600061220e86828701611fc3565b935050602084013567ffffffffffffffff81111561222b57600080fd5b61223786828701612041565b92505060406122488682870161206b565b9150509250925092565b6000806040838503121561226557600080fd5b600061227385828601611fc3565b92505060206122848582860161206b565b9150509250929050565b6000602082840312156122a057600080fd5b60006122ae84828501611fed565b91505092915050565b6000602082840312156122c957600080fd5b60006122d784828501612002565b91505092915050565b6000602082840312156122f257600080fd5b600082013567ffffffffffffffff81111561230c57600080fd5b61231884828501612041565b91505092915050565b60006020828403121561233357600080fd5b60006123418482850161206b565b91505092915050565b612353816127df565b82525050565b612362816127f1565b82525050565b6000612373826126e1565b61237d81856126f7565b935061238d818560208601612862565b61239681612a2e565b840191505092915050565b60006123ac826126ec565b6123b68185612708565b93506123c6818560208601612862565b6123cf81612a2e565b840191505092915050565b60006123e5826126ec565b6123ef8185612719565b93506123ff818560208601612862565b80840191505092915050565b6000815461241881612895565b6124228186612719565b9450600182166000811461243d576001811461244e57612481565b60ff19831686528186019350612481565b612457856126cc565b60005b838110156124795781548189015260018201915060208101905061245a565b838801955050505b50505092915050565b6000612497602683612708565b91506124a282612a3f565b604082019050919050565b60006124ba600c83612708565b91506124c582612a8e565b602082019050919050565b60006124dd602083612708565b91506124e882612ab7565b602082019050919050565b6124fc81612849565b82525050565b600061250e828561240b565b915061251a82846123da565b91508190509392505050565b600060208201905061253b600083018461234a565b92915050565b6000608082019050612556600083018761234a565b612563602083018661234a565b61257060408301856124f3565b81810360608301526125828184612368565b905095945050505050565b60006020820190506125a26000830184612359565b92915050565b600060208201905081810360008301526125c281846123a1565b905092915050565b600060208201905081810360008301526125e38161248a565b9050919050565b60006020820190508181036000830152612603816124ad565b9050919050565b60006020820190508181036000830152612623816124d0565b9050919050565b600060208201905061263f60008301846124f3565b92915050565b600061264f612660565b905061265b82826128c7565b919050565b6000604051905090565b600067ffffffffffffffff821115612685576126846129ff565b5b61268e82612a2e565b9050602081019050919050565b600067ffffffffffffffff8211156126b6576126b56129ff565b5b6126bf82612a2e565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061272f82612849565b915061273a83612849565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561276f5761276e612972565b5b828201905092915050565b600061278582612849565b915061279083612849565b9250826127a05761279f6129a1565b5b828204905092915050565b60006127b682612849565b91506127c183612849565b9250828210156127d4576127d3612972565b5b828203905092915050565b60006127ea82612829565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015612880578082015181840152602081019050612865565b8381111561288f576000848401525b50505050565b600060028204905060018216806128ad57607f821691505b602082108114156128c1576128c06129d0565b5b50919050565b6128d082612a2e565b810181811067ffffffffffffffff821117156128ef576128ee6129ff565b5b80604052505050565b600061290382612849565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561293657612935612972565b5b600182019050919050565b600061294c82612849565b915061295783612849565b925082612967576129666129a1565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f706172616d73206572726f720000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b612ae9816127df565b8114612af457600080fd5b50565b612b00816127f1565b8114612b0b57600080fd5b50565b612b17816127fd565b8114612b2257600080fd5b50565b612b2e81612849565b8114612b3957600080fd5b5056fea264697066735822122030ae635b01b3b76fc6d8cce2bfd14a0e94943c2cd2e6ae8b72b4573a04496c5864736f6c63430008040033
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.