Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
555 MEP
Holders
37
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 MEPLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MarsanExchangePass
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: MIT // Thanks to @charged-particles for ERC721i /* __ __ _____ _ / | \/ | __ _ _ __ ___ __ _ _ __ | ____|_ _____| |__ __ _ _ __ __ _ ___ / | |\/| |/ _` | '__/ __|/ _` | '_ \ | _| \ \/ / __| '_ \ / _` | '_ \ / _` |/ _ \ / | | | | (_| | | \__ \ (_| | | | | | |___ > < (__| | | | (_| | | | | (_| | __/ / |_| |_|\__,_|_| |___/\__,_|_| |_| |_____/_/\_\___|_| |_|\__,_|_| |_|\__, |\___| / |___/ */ pragma solidity 0.8.4; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@charged-particles/erc721i/contracts/ERC721i.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; // ERC721i Contract contract MarsanExchangePass is ERC721i, ReentrancyGuard { using Address for address payable; using Strings for uint256; /// @dev Events event Withdraw(address indexed receiver, uint256 amount); /// @dev IPFS image for onchain metadata use. string private baseImg = "ipfs://QmTdawCAV4hydZ85upPzS4zoabpFuCrbdTgiYrdTGt25p5"; /// @dev IPFS video for onchain metadata use. string private baseAnim = "ipfs://QmPcSsWm3CfL7zjGWzAegkK8ePjR9LfTF5JjXCte9ffxTk"; /// @dev IPFS tokenURI for offchain metadata string private baseURI = "ipfs://QmZ2mp14MBnYN9mVCsu1wK5CeuopVNqgkTCqSF6bmWsPSh"; /// @dev onchainData state. Will be using on-chain metadata by default bool public useOnChainMetadata = true; error NonExistentTokenURI(); /// @dev The Deployer of this contract is also the Owner and the Pre-Mint Receiver. constructor( string memory name, string memory symbol, uint256 maxSupply ) ERC721i(name, symbol, _msgSender(), maxSupply) { // Since we pre-mint to "owner", allow this contract to transfer on behalf of "owner" for sales. _setApprovalForAll(_msgSender(), address(this), true); } /// @dev Premint the NFT based on maxSupply function preMint() external onlyOwner { _preMint(); } /// @dev Set the baseURI / json file from IPFS function setBaseURI(string calldata _baseURI) external onlyOwner { baseURI = _baseURI; } /// @dev Set the baseImg / image file from IPFS function setBaseImg(string memory _baseImg) external onlyOwner { baseImg = _baseImg; } /// @dev Set the baseAnim / video file from IPFS function setBaseAnim(string memory _baseAnim) external onlyOwner { baseAnim = _baseAnim; } /// @dev Set to use on-chain metadata or ol good IPFS metadata function useOnChainData(bool _state) external onlyOwner { useOnChainMetadata = _state; } /// @dev Withdraw ETH from Contract function withdraw() external onlyOwner { uint256 amount = address(this).balance; address payable receiver = payable(owner()); receiver.sendValue(amount); emit Withdraw(receiver, amount); } /// @dev Override the tokenURI function tokenURI(uint256 _tokenId) public view override returns (string memory) { if (ownerOf(_tokenId) == address(0)) revert NonExistentTokenURI(); // Check if using on-chain metadata or not if (!useOnChainMetadata) { // Return the baseURI return baseURI; } // Return the on-chain metadata return getMetadata(); } /// @dev Generate the metadata on chain function getMetadata() internal view returns (string memory) { string memory output; // Metadata start here. Refer metadata standard here : https://docs.opensea.io/docs/metadata-standards string memory _name = "Marsan Exchange Pass"; string memory _desc = "To join, one must hold the Marsan Exchange Pass NFT. Membership includes access to our private Discord, in-person events, and other collaborations created exclusively for Marsan Exchange pass holders."; string memory _image = baseImg; string memory _animURL = baseAnim; string memory _extURL = "\"external_url\": \"https://marsanexchange.com\""; string memory _attributes = "\"attributes\": [{\"trait_type\": \"Type\",\"value\": \"Marsan Exchange Pass\"}]"; string memory json = Base64.encode(bytes(string(abi.encodePacked("{\"name\": \"",_name, "\", \"description\": \"", _desc ,"\", \"image\": \"", _image, "\", \"animation_url\": \"", _animURL , "\",", _extURL,",",_attributes,"}")))); output = string(abi.encodePacked("data:application/json;base64,", json)); delete _name; delete _desc; delete _image; delete _animURL; delete _extURL; delete _attributes; return output; } // Batch Transfers function batchTransfer( address to, uint256[] memory tokenIds ) external virtual returns (uint256 amountTransferred) { amountTransferred = _batchTransfer(_msgSender(), to, tokenIds); } function batchTransferFrom( address from, address to, uint256[] memory tokenIds ) external virtual returns (uint256 amountTransferred) { amountTransferred = _batchTransfer(from, to, tokenIds); } function _batchTransfer( address from, address to, uint256[] memory tokenIds ) internal virtual returns (uint256 amountTransferred) { uint256 count = tokenIds.length; for (uint256 i = 0; i < count; i++) { uint256 tokenId = tokenIds[i]; // Skip invalid tokens; no need to cancel the whole tx for 1 failure // These are the exact same "require" checks performed in ERC721.sol for standard transfers. if ( (ownerOf(tokenId) != from) || (!_isApprovedOrOwner(from, tokenId)) || (to == address(0)) ) { continue; } _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); amountTransferred += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } // We can save a bit of gas here by updating these state-vars atthe end _balances[from] -= amountTransferred; _balances[to] += amountTransferred; } } /// [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 // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @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); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // Written by: Rob Secord (https://twitter.com/robsecord) // Co-founder @ Charged Particles - Visit: https://charged.fi // Co-founder @ Taggr - Visit: https://taggr.io pragma solidity 0.8.4; import "@openzeppelin/contracts/access/Ownable.sol"; import "./lib/ERC721iEnumerable.sol"; /** * @dev This implements a Pre-Mint version of {ERC721} that adds the ability to Pre-Mint * all the token ids in the contract as assign an initial owner for each token id. * * On-chain state for Pre-Mint does not need to be initially stored if Max-Supply is known. * Minting is a simple matter of assigning a balance to the pre-mint receiver, * and modifying the "read" methods to account for the pre-mint receiver as owner. * We use the Consecutive Transfer Method as defined in EIP-2309 to signal inital ownership. * Almost everything else remains standard. * We also default to the contract "owner" as the pre-mint receiver, but this can be changed. */ contract ERC721i is Ownable, ERC721iEnumerable { /// @dev EIP-2309: https://eips.ethereum.org/EIPS/eip-2309 event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed fromAddress, address indexed toAddress); /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection, * as well as a `minter` and a `maxSupply` for pre-minting the collection. */ constructor( string memory name, string memory symbol, address minter, uint256 maxSupply ) ERC721(name, symbol) { // Set vars defined in ERC721iEnumerable.sol _maxSupply = maxSupply; _preMintReceiver = minter; } /** * @dev Pre-mint the max-supply of token IDs to the minter account. * Token IDs are in base-1 sequential order. */ function _preMint() internal { // Update balance for initial owner, defined in ERC721.sol _balances[_preMintReceiver] = _maxSupply; // Emit the Consecutive Transfer Event emit ConsecutiveTransfer(1, _maxSupply, address(0), _preMintReceiver); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) 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 making 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 // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @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 * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 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 /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // Modified from: OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) // Modified by: Rob Secord (https://twitter.com/robsecord) // Co-founder @ Charged Particles - Visit: https://charged.fi // Co-founder @ Taggr - Visit: https://taggr.io pragma solidity ^0.8.0; import "./ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/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. * * @dev This implementation also includes support for pre-minting a max-supply of tokens up-front. * * Note on pre-mint: * Assumes a Max-Supply which is entirely pre-minted to initial address with sequential Token IDs. * For this reason, the "allTokens" state vars are unneccesary and have been removed. * Also defines 2 light-weight state vars: "_preMintReceiver" & "_maxSupply" * Overrides "ownerOf" & "_exists" */ abstract contract ERC721iEnumerable 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; // Tracking for the Pre-Mint Receiver address internal _preMintReceiver; // Max-Supply for Pre-Mint uint256 internal _maxSupply; /** * @dev See {IERC165-supportsInterface}. * * Note on Pre-Mint: this implementation maintains the exact same interface for IERC721Enumerable */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. * note: Fix contributed by surfer77 */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); if (owner == address(_preMintReceiver)) { uint256 supply = totalSupply(); uint256 matched = 0; for (uint256 i = 1; i < supply; i++) { if (ownerOf(i) == address(_preMintReceiver)) { matched += 1; if (matched - 1 == index) { return i; } } } } return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { // The Total Supply is simply the Max Supply return _maxSupply; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < _maxSupply, "ERC721Enumerable: global index out of bounds"); // Array index is 0-based, whereas Token ID is 1-based (sequential). return index + 1; } /** * @dev Override the ERC721 "ownerOf" function to account for the Pre-Mint Receiver. */ function ownerOf(uint256 tokenId) public view virtual override(IERC721, ERC721) returns (address) { // Anything beyond the Pre-Minted supply will use the standard "ownerOf" if (tokenId > _maxSupply) { return super.ownerOf(tokenId); } // Since we have Pre-Minted the Max-Supply to the "Pre-Mint Receiver" account, we know: // - if the "_owners" mapping has not been assigned, then the owner is the Pre-Mint Receiver. // - after the NFT is transferred, the "_owners" mapping will be updated with the new owner. address owner_ = _owners[tokenId]; if (owner_ == address(0)) { owner_ = _preMintReceiver; } return owner_; } /** * @dev Override the ERC721 "_exists" function to account for the Pre-Minted Max-Supply. */ function _exists(uint256 tokenId) internal view virtual override(ERC721) returns (bool) { // Anything beyond the Pre-Minted supply will use the standard "_exists" if (tokenId > _maxSupply) { return super._exists(tokenId); } // We know the Max-Supply has been Pre-Minted with Sequential Token IDs return (tokenId > 0 && tokenId <= _maxSupply); } /** * @dev See {IERC721Enumerable-_beforeTokenTransfer}. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev See {IERC721Enumerable-_addTokenToOwnerEnumeration}. */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev See {IERC721Enumerable-_removeTokenFromOwnerEnumeration}. */ 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]; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // 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 (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) 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); /** * @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 // Modifed from: OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol) // Modified by: Rob Secord (https://twitter.com/robsecord) // Co-founder @ Charged Particles - Visit: https://charged.fi // Co-founder @ Taggr - Visit: https://taggr.io pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/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}. * * NOTE: Pre-Mint: * The only changes made here are: * - change scope of "_owners" from private to internal * - change scope of "_balances" from private to internal * - remove "ERC721" scope-resolution from "ownerOf" calls in order to override "ownerOf" * - modify the _burn function to burn to an alternate Null Address (prevents reassignment back to Pre-Mint Receiver) */ 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) internal _owners; // Mapping owner address to token count mapping(address => uint256) internal _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: address zero is not a valid owner"); 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: invalid token ID"); 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) { _requireMinted(tokenId); 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 overridden 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 = ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_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: caller is not token 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: caller is not token 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) { address owner = ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == 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); _afterTokenTransfer(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 = ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; // Prevent re-assigning the token back to the Pre-Mint Receiver _owners[tokenId] = 0x000000000000000000000000000000000000dEaD; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(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(ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); 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); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @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 { /// @solidity memory-safe-assembly 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 {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) 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`. * * 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; /** * @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 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 Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) 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 // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) 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 // OpenZeppelin Contracts (last updated v4.6.0) (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 `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"maxSupply","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"NonExistentTokenURI","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"fromAddress","type":"address"},{"indexed":true,"internalType":"address","name":"toAddress","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","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":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"batchTransfer","outputs":[{"internalType":"uint256","name":"amountTransferred","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"batchTransferFrom","outputs":[{"internalType":"uint256","name":"amountTransferred","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"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":"preMint","outputs":[],"stateMutability":"nonpayable","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":"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":"string","name":"_baseAnim","type":"string"}],"name":"setBaseAnim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseImg","type":"string"}],"name":"setBaseImg","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"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":"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":"bool","name":"_state","type":"bool"}],"name":"useOnChainData","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"useOnChainMetadata","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526040518060600160405280603581526020016200493d60359139600c9080519060200190620000359291906200040f565b50604051806060016040528060358152602001620049a760359139600d9080519060200190620000679291906200040f565b506040518060600160405280603581526020016200497260359139600e9080519060200190620000999291906200040f565b506001600f60006101000a81548160ff021916908315150217905550348015620000c257600080fd5b50604051620049dc380380620049dc8339818101604052810190620000e8919062000548565b8282620000fa620001d160201b60201c565b8383836200011d62000111620001d160201b60201c565b620001d960201b60201c565b8160019080519060200190620001359291906200040f565b5080600290805190602001906200014e9291906200040f565b50505080600a8190555081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050506001600b81905550620001c8620001b9620001d160201b60201c565b3060016200029d60201b60201c565b50505062000821565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156200030f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003069062000625565b60405180910390fd5b80600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405162000402919062000608565b60405180910390a3505050565b8280546200041d9062000703565b90600052602060002090601f0160209004810192826200044157600085556200048d565b82601f106200045c57805160ff19168380011785556200048d565b828001600101855582156200048d579182015b828111156200048c5782518255916020019190600101906200046f565b5b5090506200049c9190620004a0565b5090565b5b80821115620004bb576000816000905550600101620004a1565b5090565b6000620004d6620004d08462000670565b62000647565b905082815260208101848484011115620004ef57600080fd5b620004fc848285620006cd565b509392505050565b600082601f8301126200051657600080fd5b815162000528848260208601620004bf565b91505092915050565b600081519050620005428162000807565b92915050565b6000806000606084860312156200055e57600080fd5b600084015167ffffffffffffffff8111156200057957600080fd5b620005878682870162000504565b935050602084015167ffffffffffffffff811115620005a557600080fd5b620005b38682870162000504565b9250506040620005c68682870162000531565b9150509250925092565b620005db81620006b7565b82525050565b6000620005f0601983620006a6565b9150620005fd82620007de565b602082019050919050565b60006020820190506200061f6000830184620005d0565b92915050565b600060208201905081810360008301526200064081620005e1565b9050919050565b60006200065362000666565b905062000661828262000739565b919050565b6000604051905090565b600067ffffffffffffffff8211156200068e576200068d6200079e565b5b6200069982620007cd565b9050602081019050919050565b600082825260208201905092915050565b60008115159050919050565b6000819050919050565b60005b83811015620006ed578082015181840152602081019050620006d0565b83811115620006fd576000848401525b50505050565b600060028204905060018216806200071c57607f821691505b602082108114156200073357620007326200076f565b5b50919050565b6200074482620007cd565b810181811067ffffffffffffffff821117156200076657620007656200079e565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6200081281620006c3565b81146200081e57600080fd5b50565b61410c80620008316000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c80636352211e116100f9578063a22cb46511610097578063c87b56dd11610071578063c87b56dd146104c9578063e985e9c5146104f9578063f2fde38b14610529578063f3993d1114610545576101c4565b8063a22cb46514610461578063ac3c99521461047d578063b88d4fde146104ad576101c4565b80637910494e116100d35780637910494e146103eb5780638da5cb5b1461040757806395d89b411461042557806398f6870314610443576101c4565b80636352211e1461038157806370a08231146103b1578063715018a6146103e1576101c4565b80633ccfd60b116101665780634f6ccce7116101405780634f6ccce7146102fd5780634ffe32fa1461032d57806355f804b31461034957806360a7fc3b14610365576101c4565b80633ccfd60b146102cd5780633cd29ac8146102d757806342842e0e146102e1576101c4565b8063095ea7b3116101a2578063095ea7b31461024757806318160ddd1461026357806323b872dd146102815780632f745c591461029d576101c4565b806301ffc9a7146101c957806306fdde03146101f9578063081812fc14610217575b600080fd5b6101e360048036038101906101de9190612cd3565b610575565b6040516101f0919061332f565b60405180910390f35b6102016105ef565b60405161020e919061334a565b60405180910390f35b610231600480360381019061022c9190612dab565b610681565b60405161023e91906132c8565b60405180910390f35b610261600480360381019061025c9190612c6e565b6106c7565b005b61026b6107df565b604051610278919061354c565b60405180910390f35b61029b60048036038101906102969190612b14565b6107e9565b005b6102b760048036038101906102b29190612c6e565b610849565b6040516102c4919061354c565b60405180910390f35b6102d5610a05565b005b6102df610a99565b005b6102fb60048036038101906102f69190612b14565b610aab565b005b61031760048036038101906103129190612dab565b610acb565b604051610324919061354c565b60405180910390f35b61034760048036038101906103429190612d6a565b610b25565b005b610363600480360381019061035e9190612d25565b610b47565b005b61037f600480360381019061037a9190612d6a565b610b65565b005b61039b60048036038101906103969190612dab565b610b87565b6040516103a891906132c8565b60405180910390f35b6103cb60048036038101906103c69190612a48565b610c40565b6040516103d8919061354c565b60405180910390f35b6103e9610cf8565b005b61040560048036038101906104009190612caa565b610d0c565b005b61040f610d31565b60405161041c91906132c8565b60405180910390f35b61042d610d5a565b60405161043a919061334a565b60405180910390f35b61044b610dec565b604051610458919061332f565b60405180910390f35b61047b60048036038101906104769190612c32565b610dff565b005b61049760048036038101906104929190612bde565b610e15565b6040516104a4919061354c565b60405180910390f35b6104c760048036038101906104c29190612b63565b610e31565b005b6104e360048036038101906104de9190612dab565b610e93565b6040516104f0919061334a565b60405180910390f35b610513600480360381019061050e9190612a71565b610fba565b604051610520919061332f565b60405180910390f35b610543600480360381019061053e9190612a48565b61104e565b005b61055f600480360381019061055a9190612aad565b6110d2565b60405161056c919061354c565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105e857506105e7826110e8565b5b9050919050565b6060600180546105fe90613833565b80601f016020809104026020016040519081016040528092919081815260200182805461062a90613833565b80156106775780601f1061064c57610100808354040283529160200191610677565b820191906000526020600020905b81548152906001019060200180831161065a57829003601f168201915b5050505050905090565b600061068c826111ca565b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006106d282610b87565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610743576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073a906134ec565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610762611215565b73ffffffffffffffffffffffffffffffffffffffff16148061079157506107908161078b611215565b610fba565b5b6107d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c79061348c565b60405180910390fd5b6107da838361121d565b505050565b6000600a54905090565b6107fa6107f4611215565b826112d6565b610839576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108309061352c565b60405180910390fd5b61084483838361136b565b505050565b600061085483610c40565b8210610895576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088c9061336c565b60405180910390fd5b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109ab5760006108f56107df565b9050600080600190505b828110156109a757600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661094982610b87565b73ffffffffffffffffffffffffffffffffffffffff161415610994576001826109729190613668565b9150846001836109829190613749565b1415610993578093505050506109ff565b5b808061099f90613896565b9150506108ff565b5050505b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000205490505b92915050565b610a0d6115d2565b60004790506000610a1c610d31565b9050610a47828273ffffffffffffffffffffffffffffffffffffffff1661165090919063ffffffff16565b8073ffffffffffffffffffffffffffffffffffffffff167f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a942436483604051610a8d919061354c565b60405180910390a25050565b610aa16115d2565b610aa9611744565b565b610ac683838360405180602001604052806000815250610e31565b505050565b6000600a548210610b11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b089061350c565b60405180910390fd5b600182610b1e9190613668565b9050919050565b610b2d6115d2565b80600d9080519060200190610b43929190612706565b5050565b610b4f6115d2565b8181600e9190610b6092919061278c565b505050565b610b6d6115d2565b80600c9080519060200190610b83929190612706565b5050565b6000600a54821115610ba357610b9c8261183a565b9050610c3b565b60006003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610c3657600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690505b809150505b919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610cb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca89061346c565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610d006115d2565b610d0a60006118ec565b565b610d146115d2565b80600f60006101000a81548160ff02191690831515021790555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060028054610d6990613833565b80601f0160208091040260200160405190810160405280929190818152602001828054610d9590613833565b8015610de25780601f10610db757610100808354040283529160200191610de2565b820191906000526020600020905b815481529060010190602001808311610dc557829003601f168201915b5050505050905090565b600f60009054906101000a900460ff1681565b610e11610e0a611215565b83836119b0565b5050565b6000610e29610e22611215565b8484611b1d565b905092915050565b610e42610e3c611215565b836112d6565b610e81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e789061352c565b60405180910390fd5b610e8d84848484611da7565b50505050565b6060600073ffffffffffffffffffffffffffffffffffffffff16610eb683610b87565b73ffffffffffffffffffffffffffffffffffffffff161415610f04576040517fd872946b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600f60009054906101000a900460ff16610faa57600e8054610f2590613833565b80601f0160208091040260200160405190810160405280929190818152602001828054610f5190613833565b8015610f9e5780601f10610f7357610100808354040283529160200191610f9e565b820191906000526020600020905b815481529060010190602001808311610f8157829003601f168201915b50505050509050610fb5565b610fb2611e03565b90505b919050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6110566115d2565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110bd906133ac565b60405180910390fd5b6110cf816118ec565b50565b60006110df848484611b1d565b90509392505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806111b357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806111c357506111c282612034565b5b9050919050565b6111d38161209e565b611212576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611209906134cc565b60405180910390fd5b50565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661129083610b87565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806112e283610b87565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061132457506113238185610fba565b5b8061136257508373ffffffffffffffffffffffffffffffffffffffff1661134a84610681565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661138b82610b87565b73ffffffffffffffffffffffffffffffffffffffff16146113e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d8906133cc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611451576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611448906133ec565b60405180910390fd5b61145c8383836120d4565b61146760008261121d565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546114b79190613749565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461150e9190613668565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46115cd83838361212c565b505050565b6115da611215565b73ffffffffffffffffffffffffffffffffffffffff166115f8610d31565b73ffffffffffffffffffffffffffffffffffffffff161461164e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611645906134ac565b60405180910390fd5b565b80471015611693576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168a9061344c565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516116b9906132b3565b60006040518083038185875af1925050503d80600081146116f6576040519150601f19603f3d011682016040523d82523d6000602084013e6116fb565b606091505b505090508061173f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117369061342c565b60405180910390fd5b505050565b600a5460046000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff1660017fdeaa91b6123d068f5821d0fb0678463d1a8a6079fe8af5de3ce5e896dcf9133d600a54604051611830919061354c565b60405180910390a4565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156118e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118da906134cc565b60405180910390fd5b80915050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611a1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a169061340c565b60405180910390fd5b80600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611b10919061332f565b60405180910390a3505050565b6000808251905060005b81811015611cf2576000848281518110611b6a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508673ffffffffffffffffffffffffffffffffffffffff16611b9482610b87565b73ffffffffffffffffffffffffffffffffffffffff16141580611bbe5750611bbc87826112d6565b155b80611bf55750600073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16145b15611c005750611cdf565b611c0b8787836120d4565b611c1660008261121d565b600184611c239190613668565b9350856003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611cdd87878361212c565b505b8080611cea90613896565b915050611b27565b5081600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d429190613749565b9250508190555081600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d989190613668565b92505081905550509392505050565b611db284848461136b565b611dbe84848484612131565b611dfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df49061338c565b60405180910390fd5b50505050565b60608060006040518060400160405280601481526020017f4d617273616e2045786368616e676520506173730000000000000000000000008152509050600060405180610100016040528060c88152602001613fa360c8913990506000600c8054611e6d90613833565b80601f0160208091040260200160405190810160405280929190818152602001828054611e9990613833565b8015611ee65780601f10611ebb57610100808354040283529160200191611ee6565b820191906000526020600020905b815481529060010190602001808311611ec957829003601f168201915b505050505090506000600d8054611efc90613833565b80601f0160208091040260200160405190810160405280929190818152602001828054611f2890613833565b8015611f755780601f10611f4a57610100808354040283529160200191611f75565b820191906000526020600020905b815481529060010190602001808311611f5857829003601f168201915b5050505050905060006040518060600160405280602c81526020016140ab602c913990506000604051806080016040528060468152602001613f5d6046913990506000611fea878787878787604051602001611fd6969594939291906131ec565b6040516020818303038152906040526122c8565b905080604051602001611ffd9190613291565b6040516020818303038152906040529750606096506060955060609450606093506060925060609150879850505050505050505090565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000600a548211156120ba576120b382612486565b90506120cf565b6000821180156120cc5750600a548211155b90505b919050565b6120df8383836124f2565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146121275761211c83826124f7565b6121268282612664565b5b505050565b505050565b60006121528473ffffffffffffffffffffffffffffffffffffffff166126e3565b156122bb578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261217b611215565b8786866040518563ffffffff1660e01b815260040161219d94939291906132e3565b602060405180830381600087803b1580156121b757600080fd5b505af19250505080156121e857506040513d601f19601f820116820180604052508101906121e59190612cfc565b60015b61226b573d8060008114612218576040519150601f19603f3d011682016040523d82523d6000602084013e61221d565b606091505b50600081511415612263576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225a9061338c565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506122c0565b600190505b949350505050565b606060008251905060008114156122f15760405180602001604052806000815250915050612481565b600060036002836123029190613668565b61230c91906136be565b600461231891906136ef565b905060006020826123299190613668565b67ffffffffffffffff811115612368577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561239a5781602001600182028036833780820191505090505b509050600060405180606001604052806040815260200161406b604091399050600181016020830160005b8681101561243e5760038101905062ffffff818a015116603f8160121c168401518060081b905060ff603f83600c1c1686015116810190508060081b905060ff603f8360061c1686015116810190508060081b905060ff603f831686015116810190508060e01b905080845260048401935050506123c5565b506003860660018114612458576002811461246857612473565b613d3d60f01b6002830352612473565b603d60f81b60018303525b508484525050819450505050505b919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b505050565b6000600161250484610c40565b61250e9190613749565b90506000600860008481526020019081526020016000205490508181146125f3576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600061266f83610c40565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461271290613833565b90600052602060002090601f016020900481019282612734576000855561277b565b82601f1061274d57805160ff191683800117855561277b565b8280016001018555821561277b579182015b8281111561277a57825182559160200191906001019061275f565b5b5090506127889190612812565b5090565b82805461279890613833565b90600052602060002090601f0160209004810192826127ba5760008555612801565b82601f106127d357803560ff1916838001178555612801565b82800160010185558215612801579182015b828111156128005782358255916020019190600101906127e5565b5b50905061280e9190612812565b5090565b5b8082111561282b576000816000905550600101612813565b5090565b600061284261283d8461358c565b613567565b9050808382526020820190508285602086028201111561286157600080fd5b60005b8581101561289157816128778882612a33565b845260208401935060208301925050600181019050612864565b5050509392505050565b60006128ae6128a9846135b8565b613567565b9050828152602081018484840111156128c657600080fd5b6128d18482856137f1565b509392505050565b60006128ec6128e7846135e9565b613567565b90508281526020810184848401111561290457600080fd5b61290f8482856137f1565b509392505050565b60008135905061292681613f00565b92915050565b600082601f83011261293d57600080fd5b813561294d84826020860161282f565b91505092915050565b60008135905061296581613f17565b92915050565b60008135905061297a81613f2e565b92915050565b60008151905061298f81613f2e565b92915050565b600082601f8301126129a657600080fd5b81356129b684826020860161289b565b91505092915050565b60008083601f8401126129d157600080fd5b8235905067ffffffffffffffff8111156129ea57600080fd5b602083019150836001820283011115612a0257600080fd5b9250929050565b600082601f830112612a1a57600080fd5b8135612a2a8482602086016128d9565b91505092915050565b600081359050612a4281613f45565b92915050565b600060208284031215612a5a57600080fd5b6000612a6884828501612917565b91505092915050565b60008060408385031215612a8457600080fd5b6000612a9285828601612917565b9250506020612aa385828601612917565b9150509250929050565b600080600060608486031215612ac257600080fd5b6000612ad086828701612917565b9350506020612ae186828701612917565b925050604084013567ffffffffffffffff811115612afe57600080fd5b612b0a8682870161292c565b9150509250925092565b600080600060608486031215612b2957600080fd5b6000612b3786828701612917565b9350506020612b4886828701612917565b9250506040612b5986828701612a33565b9150509250925092565b60008060008060808587031215612b7957600080fd5b6000612b8787828801612917565b9450506020612b9887828801612917565b9350506040612ba987828801612a33565b925050606085013567ffffffffffffffff811115612bc657600080fd5b612bd287828801612995565b91505092959194509250565b60008060408385031215612bf157600080fd5b6000612bff85828601612917565b925050602083013567ffffffffffffffff811115612c1c57600080fd5b612c288582860161292c565b9150509250929050565b60008060408385031215612c4557600080fd5b6000612c5385828601612917565b9250506020612c6485828601612956565b9150509250929050565b60008060408385031215612c8157600080fd5b6000612c8f85828601612917565b9250506020612ca085828601612a33565b9150509250929050565b600060208284031215612cbc57600080fd5b6000612cca84828501612956565b91505092915050565b600060208284031215612ce557600080fd5b6000612cf38482850161296b565b91505092915050565b600060208284031215612d0e57600080fd5b6000612d1c84828501612980565b91505092915050565b60008060208385031215612d3857600080fd5b600083013567ffffffffffffffff811115612d5257600080fd5b612d5e858286016129bf565b92509250509250929050565b600060208284031215612d7c57600080fd5b600082013567ffffffffffffffff811115612d9657600080fd5b612da284828501612a09565b91505092915050565b600060208284031215612dbd57600080fd5b6000612dcb84828501612a33565b91505092915050565b612ddd8161377d565b82525050565b612dec8161378f565b82525050565b6000612dfd8261361a565b612e078185613630565b9350612e17818560208601613800565b612e208161399b565b840191505092915050565b6000612e3682613625565b612e40818561364c565b9350612e50818560208601613800565b612e598161399b565b840191505092915050565b6000612e6f82613625565b612e79818561365d565b9350612e89818560208601613800565b80840191505092915050565b6000612ea260138361365d565b9150612ead826139ac565b601382019050919050565b6000612ec5602b8361364c565b9150612ed0826139d5565b604082019050919050565b6000612ee860328361364c565b9150612ef382613a24565b604082019050919050565b6000612f0b60268361364c565b9150612f1682613a73565b604082019050919050565b6000612f2e60028361365d565b9150612f3982613ac2565b600282019050919050565b6000612f5160258361364c565b9150612f5c82613aeb565b604082019050919050565b6000612f7460018361365d565b9150612f7f82613b3a565b600182019050919050565b6000612f9760248361364c565b9150612fa282613b63565b604082019050919050565b6000612fba60198361364c565b9150612fc582613bb2565b602082019050919050565b6000612fdd603a8361364c565b9150612fe882613bdb565b604082019050919050565b6000613000601d8361364c565b915061300b82613c2a565b602082019050919050565b600061302360298361364c565b915061302e82613c53565b604082019050919050565b6000613046603e8361364c565b915061305182613ca2565b604082019050919050565b6000613069600d8361365d565b915061307482613cf1565b600d82019050919050565b600061308c60018361365d565b915061309782613d1a565b600182019050919050565b60006130af60208361364c565b91506130ba82613d43565b602082019050919050565b60006130d2600a8361365d565b91506130dd82613d6c565b600a82019050919050565b60006130f560188361364c565b915061310082613d95565b602082019050919050565b600061311860218361364c565b915061312382613dbe565b604082019050919050565b600061313b601d8361365d565b915061314682613e0d565b601d82019050919050565b600061315e600083613641565b915061316982613e36565b600082019050919050565b6000613181602c8361364c565b915061318c82613e39565b604082019050919050565b60006131a4602e8361364c565b91506131af82613e88565b604082019050919050565b60006131c760158361365d565b91506131d282613ed7565b601582019050919050565b6131e6816137e7565b82525050565b60006131f7826130c5565b91506132038289612e64565b915061320e82612e95565b915061321a8288612e64565b91506132258261305c565b91506132318287612e64565b915061323c826131ba565b91506132488286612e64565b915061325382612f21565b915061325f8285612e64565b915061326a82612f67565b91506132768284612e64565b91506132818261307f565b9150819050979650505050505050565b600061329c8261312e565b91506132a88284612e64565b915081905092915050565b60006132be82613151565b9150819050919050565b60006020820190506132dd6000830184612dd4565b92915050565b60006080820190506132f86000830187612dd4565b6133056020830186612dd4565b61331260408301856131dd565b81810360608301526133248184612df2565b905095945050505050565b60006020820190506133446000830184612de3565b92915050565b600060208201905081810360008301526133648184612e2b565b905092915050565b6000602082019050818103600083015261338581612eb8565b9050919050565b600060208201905081810360008301526133a581612edb565b9050919050565b600060208201905081810360008301526133c581612efe565b9050919050565b600060208201905081810360008301526133e581612f44565b9050919050565b6000602082019050818103600083015261340581612f8a565b9050919050565b6000602082019050818103600083015261342581612fad565b9050919050565b6000602082019050818103600083015261344581612fd0565b9050919050565b6000602082019050818103600083015261346581612ff3565b9050919050565b6000602082019050818103600083015261348581613016565b9050919050565b600060208201905081810360008301526134a581613039565b9050919050565b600060208201905081810360008301526134c5816130a2565b9050919050565b600060208201905081810360008301526134e5816130e8565b9050919050565b600060208201905081810360008301526135058161310b565b9050919050565b6000602082019050818103600083015261352581613174565b9050919050565b6000602082019050818103600083015261354581613197565b9050919050565b600060208201905061356160008301846131dd565b92915050565b6000613571613582565b905061357d8282613865565b919050565b6000604051905090565b600067ffffffffffffffff8211156135a7576135a661396c565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156135d3576135d261396c565b5b6135dc8261399b565b9050602081019050919050565b600067ffffffffffffffff8211156136045761360361396c565b5b61360d8261399b565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613673826137e7565b915061367e836137e7565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156136b3576136b26138df565b5b828201905092915050565b60006136c9826137e7565b91506136d4836137e7565b9250826136e4576136e361390e565b5b828204905092915050565b60006136fa826137e7565b9150613705836137e7565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561373e5761373d6138df565b5b828202905092915050565b6000613754826137e7565b915061375f836137e7565b925082821015613772576137716138df565b5b828203905092915050565b6000613788826137c7565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561381e578082015181840152602081019050613803565b8381111561382d576000848401525b50505050565b6000600282049050600182168061384b57607f821691505b6020821081141561385f5761385e61393d565b5b50919050565b61386e8261399b565b810181811067ffffffffffffffff8211171561388d5761388c61396c565b5b80604052505050565b60006138a1826137e7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156138d4576138d36138df565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f222c20226465736372697074696f6e223a202200000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f222c000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f2c00000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b7f222c2022696d616765223a202200000000000000000000000000000000000000600082015250565b7f7d00000000000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f7b226e616d65223a202200000000000000000000000000000000000000000000600082015250565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b50565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b7f222c2022616e696d6174696f6e5f75726c223a20220000000000000000000000600082015250565b613f098161377d565b8114613f1457600080fd5b50565b613f208161378f565b8114613f2b57600080fd5b50565b613f378161379b565b8114613f4257600080fd5b50565b613f4e816137e7565b8114613f5957600080fd5b5056fe2261747472696275746573223a205b7b2274726169745f74797065223a202254797065222c2276616c7565223a20224d617273616e2045786368616e67652050617373227d5d546f206a6f696e2c206f6e65206d75737420686f6c6420746865204d617273616e2045786368616e67652050617373204e46542e204d656d6265727368697020696e636c756465732061636365737320746f206f7572207072697661746520446973636f72642c20696e2d706572736f6e206576656e74732c20616e64206f7468657220636f6c6c61626f726174696f6e732063726561746564206578636c75736976656c7920666f72204d617273616e2045786368616e6765207061737320686f6c646572732e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f2265787465726e616c5f75726c223a202268747470733a2f2f6d617273616e65786368616e67652e636f6d22a2646970667358221220507897979bbda613bde2cf73a33e16c93d428c90cd2992f63e3def0b62cd5b3364736f6c63430008040033697066733a2f2f516d54646177434156346879645a38357570507a53347a6f61627046754372626454676959726454477432357035697066733a2f2f516d5a326d7031344d426e594e396d5643737531774b354365756f70564e71676b544371534636626d5773505368697066733a2f2f516d50635373576d3343664c377a6a47577a4165676b4b3865506a52394c665446354a6a5843746539666678546b000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000022b00000000000000000000000000000000000000000000000000000000000000144d617273616e2045786368616e6765205061737300000000000000000000000000000000000000000000000000000000000000000000000000000000000000034d45500000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101c45760003560e01c80636352211e116100f9578063a22cb46511610097578063c87b56dd11610071578063c87b56dd146104c9578063e985e9c5146104f9578063f2fde38b14610529578063f3993d1114610545576101c4565b8063a22cb46514610461578063ac3c99521461047d578063b88d4fde146104ad576101c4565b80637910494e116100d35780637910494e146103eb5780638da5cb5b1461040757806395d89b411461042557806398f6870314610443576101c4565b80636352211e1461038157806370a08231146103b1578063715018a6146103e1576101c4565b80633ccfd60b116101665780634f6ccce7116101405780634f6ccce7146102fd5780634ffe32fa1461032d57806355f804b31461034957806360a7fc3b14610365576101c4565b80633ccfd60b146102cd5780633cd29ac8146102d757806342842e0e146102e1576101c4565b8063095ea7b3116101a2578063095ea7b31461024757806318160ddd1461026357806323b872dd146102815780632f745c591461029d576101c4565b806301ffc9a7146101c957806306fdde03146101f9578063081812fc14610217575b600080fd5b6101e360048036038101906101de9190612cd3565b610575565b6040516101f0919061332f565b60405180910390f35b6102016105ef565b60405161020e919061334a565b60405180910390f35b610231600480360381019061022c9190612dab565b610681565b60405161023e91906132c8565b60405180910390f35b610261600480360381019061025c9190612c6e565b6106c7565b005b61026b6107df565b604051610278919061354c565b60405180910390f35b61029b60048036038101906102969190612b14565b6107e9565b005b6102b760048036038101906102b29190612c6e565b610849565b6040516102c4919061354c565b60405180910390f35b6102d5610a05565b005b6102df610a99565b005b6102fb60048036038101906102f69190612b14565b610aab565b005b61031760048036038101906103129190612dab565b610acb565b604051610324919061354c565b60405180910390f35b61034760048036038101906103429190612d6a565b610b25565b005b610363600480360381019061035e9190612d25565b610b47565b005b61037f600480360381019061037a9190612d6a565b610b65565b005b61039b60048036038101906103969190612dab565b610b87565b6040516103a891906132c8565b60405180910390f35b6103cb60048036038101906103c69190612a48565b610c40565b6040516103d8919061354c565b60405180910390f35b6103e9610cf8565b005b61040560048036038101906104009190612caa565b610d0c565b005b61040f610d31565b60405161041c91906132c8565b60405180910390f35b61042d610d5a565b60405161043a919061334a565b60405180910390f35b61044b610dec565b604051610458919061332f565b60405180910390f35b61047b60048036038101906104769190612c32565b610dff565b005b61049760048036038101906104929190612bde565b610e15565b6040516104a4919061354c565b60405180910390f35b6104c760048036038101906104c29190612b63565b610e31565b005b6104e360048036038101906104de9190612dab565b610e93565b6040516104f0919061334a565b60405180910390f35b610513600480360381019061050e9190612a71565b610fba565b604051610520919061332f565b60405180910390f35b610543600480360381019061053e9190612a48565b61104e565b005b61055f600480360381019061055a9190612aad565b6110d2565b60405161056c919061354c565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105e857506105e7826110e8565b5b9050919050565b6060600180546105fe90613833565b80601f016020809104026020016040519081016040528092919081815260200182805461062a90613833565b80156106775780601f1061064c57610100808354040283529160200191610677565b820191906000526020600020905b81548152906001019060200180831161065a57829003601f168201915b5050505050905090565b600061068c826111ca565b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006106d282610b87565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610743576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073a906134ec565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610762611215565b73ffffffffffffffffffffffffffffffffffffffff16148061079157506107908161078b611215565b610fba565b5b6107d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c79061348c565b60405180910390fd5b6107da838361121d565b505050565b6000600a54905090565b6107fa6107f4611215565b826112d6565b610839576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108309061352c565b60405180910390fd5b61084483838361136b565b505050565b600061085483610c40565b8210610895576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088c9061336c565b60405180910390fd5b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109ab5760006108f56107df565b9050600080600190505b828110156109a757600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661094982610b87565b73ffffffffffffffffffffffffffffffffffffffff161415610994576001826109729190613668565b9150846001836109829190613749565b1415610993578093505050506109ff565b5b808061099f90613896565b9150506108ff565b5050505b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000205490505b92915050565b610a0d6115d2565b60004790506000610a1c610d31565b9050610a47828273ffffffffffffffffffffffffffffffffffffffff1661165090919063ffffffff16565b8073ffffffffffffffffffffffffffffffffffffffff167f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a942436483604051610a8d919061354c565b60405180910390a25050565b610aa16115d2565b610aa9611744565b565b610ac683838360405180602001604052806000815250610e31565b505050565b6000600a548210610b11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b089061350c565b60405180910390fd5b600182610b1e9190613668565b9050919050565b610b2d6115d2565b80600d9080519060200190610b43929190612706565b5050565b610b4f6115d2565b8181600e9190610b6092919061278c565b505050565b610b6d6115d2565b80600c9080519060200190610b83929190612706565b5050565b6000600a54821115610ba357610b9c8261183a565b9050610c3b565b60006003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610c3657600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690505b809150505b919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610cb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca89061346c565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610d006115d2565b610d0a60006118ec565b565b610d146115d2565b80600f60006101000a81548160ff02191690831515021790555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060028054610d6990613833565b80601f0160208091040260200160405190810160405280929190818152602001828054610d9590613833565b8015610de25780601f10610db757610100808354040283529160200191610de2565b820191906000526020600020905b815481529060010190602001808311610dc557829003601f168201915b5050505050905090565b600f60009054906101000a900460ff1681565b610e11610e0a611215565b83836119b0565b5050565b6000610e29610e22611215565b8484611b1d565b905092915050565b610e42610e3c611215565b836112d6565b610e81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e789061352c565b60405180910390fd5b610e8d84848484611da7565b50505050565b6060600073ffffffffffffffffffffffffffffffffffffffff16610eb683610b87565b73ffffffffffffffffffffffffffffffffffffffff161415610f04576040517fd872946b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600f60009054906101000a900460ff16610faa57600e8054610f2590613833565b80601f0160208091040260200160405190810160405280929190818152602001828054610f5190613833565b8015610f9e5780601f10610f7357610100808354040283529160200191610f9e565b820191906000526020600020905b815481529060010190602001808311610f8157829003601f168201915b50505050509050610fb5565b610fb2611e03565b90505b919050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6110566115d2565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110bd906133ac565b60405180910390fd5b6110cf816118ec565b50565b60006110df848484611b1d565b90509392505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806111b357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806111c357506111c282612034565b5b9050919050565b6111d38161209e565b611212576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611209906134cc565b60405180910390fd5b50565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661129083610b87565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806112e283610b87565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061132457506113238185610fba565b5b8061136257508373ffffffffffffffffffffffffffffffffffffffff1661134a84610681565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661138b82610b87565b73ffffffffffffffffffffffffffffffffffffffff16146113e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d8906133cc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611451576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611448906133ec565b60405180910390fd5b61145c8383836120d4565b61146760008261121d565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546114b79190613749565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461150e9190613668565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46115cd83838361212c565b505050565b6115da611215565b73ffffffffffffffffffffffffffffffffffffffff166115f8610d31565b73ffffffffffffffffffffffffffffffffffffffff161461164e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611645906134ac565b60405180910390fd5b565b80471015611693576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168a9061344c565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516116b9906132b3565b60006040518083038185875af1925050503d80600081146116f6576040519150601f19603f3d011682016040523d82523d6000602084013e6116fb565b606091505b505090508061173f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117369061342c565b60405180910390fd5b505050565b600a5460046000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff1660017fdeaa91b6123d068f5821d0fb0678463d1a8a6079fe8af5de3ce5e896dcf9133d600a54604051611830919061354c565b60405180910390a4565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156118e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118da906134cc565b60405180910390fd5b80915050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611a1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a169061340c565b60405180910390fd5b80600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611b10919061332f565b60405180910390a3505050565b6000808251905060005b81811015611cf2576000848281518110611b6a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508673ffffffffffffffffffffffffffffffffffffffff16611b9482610b87565b73ffffffffffffffffffffffffffffffffffffffff16141580611bbe5750611bbc87826112d6565b155b80611bf55750600073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16145b15611c005750611cdf565b611c0b8787836120d4565b611c1660008261121d565b600184611c239190613668565b9350856003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611cdd87878361212c565b505b8080611cea90613896565b915050611b27565b5081600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d429190613749565b9250508190555081600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d989190613668565b92505081905550509392505050565b611db284848461136b565b611dbe84848484612131565b611dfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df49061338c565b60405180910390fd5b50505050565b60608060006040518060400160405280601481526020017f4d617273616e2045786368616e676520506173730000000000000000000000008152509050600060405180610100016040528060c88152602001613fa360c8913990506000600c8054611e6d90613833565b80601f0160208091040260200160405190810160405280929190818152602001828054611e9990613833565b8015611ee65780601f10611ebb57610100808354040283529160200191611ee6565b820191906000526020600020905b815481529060010190602001808311611ec957829003601f168201915b505050505090506000600d8054611efc90613833565b80601f0160208091040260200160405190810160405280929190818152602001828054611f2890613833565b8015611f755780601f10611f4a57610100808354040283529160200191611f75565b820191906000526020600020905b815481529060010190602001808311611f5857829003601f168201915b5050505050905060006040518060600160405280602c81526020016140ab602c913990506000604051806080016040528060468152602001613f5d6046913990506000611fea878787878787604051602001611fd6969594939291906131ec565b6040516020818303038152906040526122c8565b905080604051602001611ffd9190613291565b6040516020818303038152906040529750606096506060955060609450606093506060925060609150879850505050505050505090565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000600a548211156120ba576120b382612486565b90506120cf565b6000821180156120cc5750600a548211155b90505b919050565b6120df8383836124f2565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146121275761211c83826124f7565b6121268282612664565b5b505050565b505050565b60006121528473ffffffffffffffffffffffffffffffffffffffff166126e3565b156122bb578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261217b611215565b8786866040518563ffffffff1660e01b815260040161219d94939291906132e3565b602060405180830381600087803b1580156121b757600080fd5b505af19250505080156121e857506040513d601f19601f820116820180604052508101906121e59190612cfc565b60015b61226b573d8060008114612218576040519150601f19603f3d011682016040523d82523d6000602084013e61221d565b606091505b50600081511415612263576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225a9061338c565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506122c0565b600190505b949350505050565b606060008251905060008114156122f15760405180602001604052806000815250915050612481565b600060036002836123029190613668565b61230c91906136be565b600461231891906136ef565b905060006020826123299190613668565b67ffffffffffffffff811115612368577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561239a5781602001600182028036833780820191505090505b509050600060405180606001604052806040815260200161406b604091399050600181016020830160005b8681101561243e5760038101905062ffffff818a015116603f8160121c168401518060081b905060ff603f83600c1c1686015116810190508060081b905060ff603f8360061c1686015116810190508060081b905060ff603f831686015116810190508060e01b905080845260048401935050506123c5565b506003860660018114612458576002811461246857612473565b613d3d60f01b6002830352612473565b603d60f81b60018303525b508484525050819450505050505b919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b505050565b6000600161250484610c40565b61250e9190613749565b90506000600860008481526020019081526020016000205490508181146125f3576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600061266f83610c40565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461271290613833565b90600052602060002090601f016020900481019282612734576000855561277b565b82601f1061274d57805160ff191683800117855561277b565b8280016001018555821561277b579182015b8281111561277a57825182559160200191906001019061275f565b5b5090506127889190612812565b5090565b82805461279890613833565b90600052602060002090601f0160209004810192826127ba5760008555612801565b82601f106127d357803560ff1916838001178555612801565b82800160010185558215612801579182015b828111156128005782358255916020019190600101906127e5565b5b50905061280e9190612812565b5090565b5b8082111561282b576000816000905550600101612813565b5090565b600061284261283d8461358c565b613567565b9050808382526020820190508285602086028201111561286157600080fd5b60005b8581101561289157816128778882612a33565b845260208401935060208301925050600181019050612864565b5050509392505050565b60006128ae6128a9846135b8565b613567565b9050828152602081018484840111156128c657600080fd5b6128d18482856137f1565b509392505050565b60006128ec6128e7846135e9565b613567565b90508281526020810184848401111561290457600080fd5b61290f8482856137f1565b509392505050565b60008135905061292681613f00565b92915050565b600082601f83011261293d57600080fd5b813561294d84826020860161282f565b91505092915050565b60008135905061296581613f17565b92915050565b60008135905061297a81613f2e565b92915050565b60008151905061298f81613f2e565b92915050565b600082601f8301126129a657600080fd5b81356129b684826020860161289b565b91505092915050565b60008083601f8401126129d157600080fd5b8235905067ffffffffffffffff8111156129ea57600080fd5b602083019150836001820283011115612a0257600080fd5b9250929050565b600082601f830112612a1a57600080fd5b8135612a2a8482602086016128d9565b91505092915050565b600081359050612a4281613f45565b92915050565b600060208284031215612a5a57600080fd5b6000612a6884828501612917565b91505092915050565b60008060408385031215612a8457600080fd5b6000612a9285828601612917565b9250506020612aa385828601612917565b9150509250929050565b600080600060608486031215612ac257600080fd5b6000612ad086828701612917565b9350506020612ae186828701612917565b925050604084013567ffffffffffffffff811115612afe57600080fd5b612b0a8682870161292c565b9150509250925092565b600080600060608486031215612b2957600080fd5b6000612b3786828701612917565b9350506020612b4886828701612917565b9250506040612b5986828701612a33565b9150509250925092565b60008060008060808587031215612b7957600080fd5b6000612b8787828801612917565b9450506020612b9887828801612917565b9350506040612ba987828801612a33565b925050606085013567ffffffffffffffff811115612bc657600080fd5b612bd287828801612995565b91505092959194509250565b60008060408385031215612bf157600080fd5b6000612bff85828601612917565b925050602083013567ffffffffffffffff811115612c1c57600080fd5b612c288582860161292c565b9150509250929050565b60008060408385031215612c4557600080fd5b6000612c5385828601612917565b9250506020612c6485828601612956565b9150509250929050565b60008060408385031215612c8157600080fd5b6000612c8f85828601612917565b9250506020612ca085828601612a33565b9150509250929050565b600060208284031215612cbc57600080fd5b6000612cca84828501612956565b91505092915050565b600060208284031215612ce557600080fd5b6000612cf38482850161296b565b91505092915050565b600060208284031215612d0e57600080fd5b6000612d1c84828501612980565b91505092915050565b60008060208385031215612d3857600080fd5b600083013567ffffffffffffffff811115612d5257600080fd5b612d5e858286016129bf565b92509250509250929050565b600060208284031215612d7c57600080fd5b600082013567ffffffffffffffff811115612d9657600080fd5b612da284828501612a09565b91505092915050565b600060208284031215612dbd57600080fd5b6000612dcb84828501612a33565b91505092915050565b612ddd8161377d565b82525050565b612dec8161378f565b82525050565b6000612dfd8261361a565b612e078185613630565b9350612e17818560208601613800565b612e208161399b565b840191505092915050565b6000612e3682613625565b612e40818561364c565b9350612e50818560208601613800565b612e598161399b565b840191505092915050565b6000612e6f82613625565b612e79818561365d565b9350612e89818560208601613800565b80840191505092915050565b6000612ea260138361365d565b9150612ead826139ac565b601382019050919050565b6000612ec5602b8361364c565b9150612ed0826139d5565b604082019050919050565b6000612ee860328361364c565b9150612ef382613a24565b604082019050919050565b6000612f0b60268361364c565b9150612f1682613a73565b604082019050919050565b6000612f2e60028361365d565b9150612f3982613ac2565b600282019050919050565b6000612f5160258361364c565b9150612f5c82613aeb565b604082019050919050565b6000612f7460018361365d565b9150612f7f82613b3a565b600182019050919050565b6000612f9760248361364c565b9150612fa282613b63565b604082019050919050565b6000612fba60198361364c565b9150612fc582613bb2565b602082019050919050565b6000612fdd603a8361364c565b9150612fe882613bdb565b604082019050919050565b6000613000601d8361364c565b915061300b82613c2a565b602082019050919050565b600061302360298361364c565b915061302e82613c53565b604082019050919050565b6000613046603e8361364c565b915061305182613ca2565b604082019050919050565b6000613069600d8361365d565b915061307482613cf1565b600d82019050919050565b600061308c60018361365d565b915061309782613d1a565b600182019050919050565b60006130af60208361364c565b91506130ba82613d43565b602082019050919050565b60006130d2600a8361365d565b91506130dd82613d6c565b600a82019050919050565b60006130f560188361364c565b915061310082613d95565b602082019050919050565b600061311860218361364c565b915061312382613dbe565b604082019050919050565b600061313b601d8361365d565b915061314682613e0d565b601d82019050919050565b600061315e600083613641565b915061316982613e36565b600082019050919050565b6000613181602c8361364c565b915061318c82613e39565b604082019050919050565b60006131a4602e8361364c565b91506131af82613e88565b604082019050919050565b60006131c760158361365d565b91506131d282613ed7565b601582019050919050565b6131e6816137e7565b82525050565b60006131f7826130c5565b91506132038289612e64565b915061320e82612e95565b915061321a8288612e64565b91506132258261305c565b91506132318287612e64565b915061323c826131ba565b91506132488286612e64565b915061325382612f21565b915061325f8285612e64565b915061326a82612f67565b91506132768284612e64565b91506132818261307f565b9150819050979650505050505050565b600061329c8261312e565b91506132a88284612e64565b915081905092915050565b60006132be82613151565b9150819050919050565b60006020820190506132dd6000830184612dd4565b92915050565b60006080820190506132f86000830187612dd4565b6133056020830186612dd4565b61331260408301856131dd565b81810360608301526133248184612df2565b905095945050505050565b60006020820190506133446000830184612de3565b92915050565b600060208201905081810360008301526133648184612e2b565b905092915050565b6000602082019050818103600083015261338581612eb8565b9050919050565b600060208201905081810360008301526133a581612edb565b9050919050565b600060208201905081810360008301526133c581612efe565b9050919050565b600060208201905081810360008301526133e581612f44565b9050919050565b6000602082019050818103600083015261340581612f8a565b9050919050565b6000602082019050818103600083015261342581612fad565b9050919050565b6000602082019050818103600083015261344581612fd0565b9050919050565b6000602082019050818103600083015261346581612ff3565b9050919050565b6000602082019050818103600083015261348581613016565b9050919050565b600060208201905081810360008301526134a581613039565b9050919050565b600060208201905081810360008301526134c5816130a2565b9050919050565b600060208201905081810360008301526134e5816130e8565b9050919050565b600060208201905081810360008301526135058161310b565b9050919050565b6000602082019050818103600083015261352581613174565b9050919050565b6000602082019050818103600083015261354581613197565b9050919050565b600060208201905061356160008301846131dd565b92915050565b6000613571613582565b905061357d8282613865565b919050565b6000604051905090565b600067ffffffffffffffff8211156135a7576135a661396c565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156135d3576135d261396c565b5b6135dc8261399b565b9050602081019050919050565b600067ffffffffffffffff8211156136045761360361396c565b5b61360d8261399b565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613673826137e7565b915061367e836137e7565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156136b3576136b26138df565b5b828201905092915050565b60006136c9826137e7565b91506136d4836137e7565b9250826136e4576136e361390e565b5b828204905092915050565b60006136fa826137e7565b9150613705836137e7565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561373e5761373d6138df565b5b828202905092915050565b6000613754826137e7565b915061375f836137e7565b925082821015613772576137716138df565b5b828203905092915050565b6000613788826137c7565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561381e578082015181840152602081019050613803565b8381111561382d576000848401525b50505050565b6000600282049050600182168061384b57607f821691505b6020821081141561385f5761385e61393d565b5b50919050565b61386e8261399b565b810181811067ffffffffffffffff8211171561388d5761388c61396c565b5b80604052505050565b60006138a1826137e7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156138d4576138d36138df565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f222c20226465736372697074696f6e223a202200000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f222c000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f2c00000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b7f222c2022696d616765223a202200000000000000000000000000000000000000600082015250565b7f7d00000000000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f7b226e616d65223a202200000000000000000000000000000000000000000000600082015250565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b50565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b7f222c2022616e696d6174696f6e5f75726c223a20220000000000000000000000600082015250565b613f098161377d565b8114613f1457600080fd5b50565b613f208161378f565b8114613f2b57600080fd5b50565b613f378161379b565b8114613f4257600080fd5b50565b613f4e816137e7565b8114613f5957600080fd5b5056fe2261747472696275746573223a205b7b2274726169745f74797065223a202254797065222c2276616c7565223a20224d617273616e2045786368616e67652050617373227d5d546f206a6f696e2c206f6e65206d75737420686f6c6420746865204d617273616e2045786368616e67652050617373204e46542e204d656d6265727368697020696e636c756465732061636365737320746f206f7572207072697661746520446973636f72642c20696e2d706572736f6e206576656e74732c20616e64206f7468657220636f6c6c61626f726174696f6e732063726561746564206578636c75736976656c7920666f72204d617273616e2045786368616e6765207061737320686f6c646572732e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f2265787465726e616c5f75726c223a202268747470733a2f2f6d617273616e65786368616e67652e636f6d22a2646970667358221220507897979bbda613bde2cf73a33e16c93d428c90cd2992f63e3def0b62cd5b3364736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000022b00000000000000000000000000000000000000000000000000000000000000144d617273616e2045786368616e6765205061737300000000000000000000000000000000000000000000000000000000000000000000000000000000000000034d45500000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): Marsan Exchange Pass
Arg [1] : symbol (string): MEP
Arg [2] : maxSupply (uint256): 555
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 000000000000000000000000000000000000000000000000000000000000022b
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000014
Arg [4] : 4d617273616e2045786368616e67652050617373000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [6] : 4d45500000000000000000000000000000000000000000000000000000000000
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.