ERC-721
Overview
Max Total Supply
3,334 S7NS
Holders
1,174
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 S7NSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
S7NSAvatar
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: None pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "./interfaces/IS7NSManagement.sol"; contract S7NSAvatar is ERC721Enumerable { IS7NSManagement public management; bytes32 private constant MANAGER_ROLE = keccak256("MANAGER_ROLE"); bytes32 private constant MINTER_ROLE = keccak256("MINTER_ROLE"); string public baseURI; mapping(uint256 => mapping(address => uint256)) public nonces; modifier isHalted() { require(!management.halted(), "Maintenance"); _; } modifier onlyMinter() { require( management.hasRole(MINTER_ROLE, _msgSender()), "OnlyMinter" ); _; } modifier onlyManager() { require( management.hasRole(MANAGER_ROLE, _msgSender()), "OnlyManager" ); _; } event Printed(address indexed to, uint256 indexed fromID, uint256 indexed toID); event ToTheAsh(address indexed operator, uint256[] IDs); constructor(address _management, string memory _uri) ERC721("S7NS", "S7NS") { management = IS7NSManagement(_management); baseURI = _uri; } /** @notice Update Address of S7NSManagement contract @dev Caller must have MANAGER_ROLE @param _management Address of S7NSManagement contract */ function setManagement(address _management) external onlyManager { require(_management != address(0), "AddressZero"); management = IS7NSManagement(_management); } /** @notice Update new value of Base URI @dev Caller must have MANAGER_ROLE @param baseURI_ New string of `baseURI` */ function setBaseURI(string memory baseURI_) external onlyManager { baseURI = baseURI_; } /** @notice Mint Avatar to `_beneficiary` @dev Caller must have MINTER_ROLE @param _beneficiary Address of Beneficiary @param _fromID Start of TokenID @param _amount Amount of NFTs to be minted */ function print(address _beneficiary, uint256 _fromID, uint256 _amount) external onlyMinter { for (uint256 i = _fromID; i < _fromID + _amount; i++) _safeMint(_beneficiary, i); emit Printed(_beneficiary, _fromID, _fromID + _amount - 1); } /** @notice Burn Avatars from `msg.sender` @dev Caller can be ANY @param _ids A list of `tokenIds` to be burned Note: MINTER_ROLE is granted a priviledge to burn NFTs */ function burn(uint256[] calldata _ids) external { bool isAuthorized; address _operator = _msgSender(); if (management.hasRole(MINTER_ROLE, _operator)) isAuthorized = true; uint256 _amounts = _ids.length; uint256 _tokenId; for (uint256 i; i < _amounts; i++) { _tokenId = _ids[i]; require( ownerOf(_tokenId) == _operator || isAuthorized, "NotAuthorizedNorOwner" ); _burn(_tokenId); } emit ToTheAsh(_operator, _ids); } /** @notice Query a list of NFT that owned by `_account` @dev Caller can be ANY @param _account Account's address to query @param _fromIdx Starting index @param _toIdx Ending index */ function tokensByOwner(address _account, uint256 _fromIdx, uint256 _toIdx) external view returns (uint256[] memory _tokens) { uint256 _size = _toIdx - _fromIdx + 1; _tokens = new uint256[](_size); for(uint256 i; i < _size; i++) _tokens[i] = tokenOfOwnerByIndex(_account, _fromIdx + i); } function _baseURI() internal view override returns (string memory) { return baseURI; } function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override isHalted { super._beforeTokenTransfer(from, to, tokenId); } function _afterTokenTransfer(address from, address to, uint256 tokenId) internal override { nonces[tokenId][from] += 1; nonces[tokenId][to] += 1; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: None pragma solidity ^0.8.0; /** @title IS7NSManagement contract @dev Provide interfaces that allow interaction to S7NSManagement contract */ interface IS7NSManagement { function treasury() external view returns (address); function hasRole(bytes32 role, address account) external view returns (bool); function paymentTokens(address _token) external view returns (bool); function halted() external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: 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 = ERC721.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 = ERC721.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 = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _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(ERC721.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(ERC721.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.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 // 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 (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 (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.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 // 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.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 // 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 (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" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_management","type":"address"},{"internalType":"string","name":"_uri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"fromID","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"toID","type":"uint256"}],"name":"Printed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"IDs","type":"uint256[]"}],"name":"ToTheAsh","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_ids","type":"uint256[]"}],"name":"burn","outputs":[],"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":"management","outputs":[{"internalType":"contract IS7NSManagement","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_beneficiary","type":"address"},{"internalType":"uint256","name":"_fromID","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"print","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":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_management","type":"address"}],"name":"setManagement","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":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_fromIdx","type":"uint256"},{"internalType":"uint256","name":"_toIdx","type":"uint256"}],"name":"tokensByOwner","outputs":[{"internalType":"uint256[]","name":"_tokens","type":"uint256[]"}],"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"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040516200458b3803806200458b8339818101604052810190620000379190620003eb565b6040518060400160405280600481526020017f53374e53000000000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f53374e53000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000bb92919062000139565b508060019080519060200190620000d492919062000139565b50505081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600b90805190602001906200013092919062000139565b505050620004b6565b828054620001479062000480565b90600052602060002090601f0160209004810192826200016b5760008555620001b7565b82601f106200018657805160ff1916838001178555620001b7565b82800160010185558215620001b7579182015b82811115620001b657825182559160200191906001019062000199565b5b509050620001c69190620001ca565b5090565b5b80821115620001e5576000816000905550600101620001cb565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200022a82620001fd565b9050919050565b6200023c816200021d565b81146200024857600080fd5b50565b6000815190506200025c8162000231565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620002b7826200026c565b810181811067ffffffffffffffff82111715620002d957620002d86200027d565b5b80604052505050565b6000620002ee620001e9565b9050620002fc8282620002ac565b919050565b600067ffffffffffffffff8211156200031f576200031e6200027d565b5b6200032a826200026c565b9050602081019050919050565b60005b83811015620003575780820151818401526020810190506200033a565b8381111562000367576000848401525b50505050565b6000620003846200037e8462000301565b620002e2565b905082815260208101848484011115620003a357620003a262000267565b5b620003b084828562000337565b509392505050565b600082601f830112620003d057620003cf62000262565b5b8151620003e28482602086016200036d565b91505092915050565b60008060408385031215620004055762000404620001f3565b5b600062000415858286016200024b565b925050602083015167ffffffffffffffff811115620004395762000438620001f8565b5b6200044785828601620003b8565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200049957607f821691505b60208210811415620004b057620004af62000451565b5b50919050565b6140c580620004c66000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c806355f804b3116100c3578063a22cb4651161007c578063a22cb465146103ff578063b80f55c91461041b578063b88d4fde14610437578063c87b56dd14610453578063d4a22bde14610483578063e985e9c51461049f57610158565b806355f804b3146103295780636352211e146103455780636c0360eb1461037557806370a082311461039357806388a8d602146103c357806395d89b41146103e157610158565b806323b872dd1161011557806323b872dd146102315780632a81d49d1461024d5780632f745c591461027d57806342842e0e146102ad57806343198ac4146102c95780634f6ccce7146102f957610158565b806301ffc9a71461015d57806306fdde031461018d578063081812fc146101ab578063095ea7b3146101db578063108cf4c1146101f757806318160ddd14610213575b600080fd5b61017760048036038101906101729190612a28565b6104cf565b6040516101849190612a70565b60405180910390f35b610195610549565b6040516101a29190612b24565b60405180910390f35b6101c560048036038101906101c09190612b7c565b6105db565b6040516101d29190612bea565b60405180910390f35b6101f560048036038101906101f09190612c31565b610621565b005b610211600480360381019061020c9190612c71565b610739565b005b61021b6108e4565b6040516102289190612cd3565b60405180910390f35b61024b60048036038101906102469190612cee565b6108f1565b005b61026760048036038101906102629190612d41565b610951565b6040516102749190612cd3565b60405180910390f35b61029760048036038101906102929190612c31565b610976565b6040516102a49190612cd3565b60405180910390f35b6102c760048036038101906102c29190612cee565b610a1b565b005b6102e360048036038101906102de9190612c71565b610a3b565b6040516102f09190612e3f565b60405180910390f35b610313600480360381019061030e9190612b7c565b610aff565b6040516103209190612cd3565b60405180910390f35b610343600480360381019061033e9190612f96565b610b70565b005b61035f600480360381019061035a9190612b7c565b610c9d565b60405161036c9190612bea565b60405180910390f35b61037d610d4f565b60405161038a9190612b24565b60405180910390f35b6103ad60048036038101906103a89190612fdf565b610ddd565b6040516103ba9190612cd3565b60405180910390f35b6103cb610e95565b6040516103d8919061306b565b60405180910390f35b6103e9610ebb565b6040516103f69190612b24565b60405180910390f35b610419600480360381019061041491906130b2565b610f4d565b005b61043560048036038101906104309190613152565b610f63565b005b610451600480360381019061044c9190613240565b61116a565b005b61046d60048036038101906104689190612b7c565b6111cc565b60405161047a9190612b24565b60405180910390f35b61049d60048036038101906104989190612fdf565b611234565b005b6104b960048036038101906104b491906132c3565b6113fb565b6040516104c69190612a70565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061054257506105418261148f565b5b9050919050565b60606000805461055890613332565b80601f016020809104026020016040519081016040528092919081815260200182805461058490613332565b80156105d15780601f106105a6576101008083540402835291602001916105d1565b820191906000526020600020905b8154815290600101906020018083116105b457829003601f168201915b5050505050905090565b60006105e682611571565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061062c82610c9d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561069d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610694906133d6565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166106bc6115bc565b73ffffffffffffffffffffffffffffffffffffffff1614806106eb57506106ea816106e56115bc565b6113fb565b5b61072a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072190613468565b60405180910390fd5b61073483836115c4565b505050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148547f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66107a06115bc565b6040518363ffffffff1660e01b81526004016107bd9291906134a1565b60206040518083038186803b1580156107d557600080fd5b505afa1580156107e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080d91906134df565b61084c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161084390613558565b60405180910390fd5b60008290505b818361085e91906135a7565b8110156108825761086f848261167d565b808061087a906135fd565b915050610852565b506001818361089191906135a7565b61089b9190613646565b828473ffffffffffffffffffffffffffffffffffffffff167f3a66c88078611900c88c01a5fca20501399249b5980a31c713a9dedb8baea0dd60405160405180910390a4505050565b6000600880549050905090565b6109026108fc6115bc565b8261169b565b610941576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610938906136ec565b60405180910390fd5b61094c838383611730565b505050565b600c602052816000526040600020602052806000526040600020600091509150505481565b600061098183610ddd565b82106109c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b99061377e565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610a368383836040518060200160405280600081525061116a565b505050565b6060600060018484610a4d9190613646565b610a5791906135a7565b90508067ffffffffffffffff811115610a7357610a72612e6b565b5b604051908082528060200260200182016040528015610aa15781602001602082028036833780820191505090505b50915060005b81811015610af657610ac4868287610abf91906135a7565b610976565b838281518110610ad757610ad661379e565b5b6020026020010181815250508080610aee906135fd565b915050610aa7565b50509392505050565b6000610b096108e4565b8210610b4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b419061383f565b60405180910390fd5b60088281548110610b5e57610b5d61379e565b5b90600052602060002001549050919050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148547f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08610bd76115bc565b6040518363ffffffff1660e01b8152600401610bf49291906134a1565b60206040518083038186803b158015610c0c57600080fd5b505afa158015610c20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c4491906134df565b610c83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7a906138ab565b60405180910390fd5b80600b9080519060200190610c99929190612919565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3d90613917565b60405180910390fd5b80915050919050565b600b8054610d5c90613332565b80601f0160208091040260200160405190810160405280929190818152602001828054610d8890613332565b8015610dd55780601f10610daa57610100808354040283529160200191610dd5565b820191906000526020600020905b815481529060010190602001808311610db857829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e45906139a9565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606060018054610eca90613332565b80601f0160208091040260200160405190810160405280929190818152602001828054610ef690613332565b8015610f435780601f10610f1857610100808354040283529160200191610f43565b820191906000526020600020905b815481529060010190602001808311610f2657829003601f168201915b5050505050905090565b610f5f610f586115bc565b8383611997565b5050565b600080610f6e6115bc565b9050600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148547f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6836040518363ffffffff1660e01b8152600401610fed9291906134a1565b60206040518083038186803b15801561100557600080fd5b505afa158015611019573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061103d91906134df565b1561104757600191505b60008484905090506000805b828110156111115786868281811061106e5761106d61379e565b5b9050602002013591508373ffffffffffffffffffffffffffffffffffffffff1661109783610c9d565b73ffffffffffffffffffffffffffffffffffffffff1614806110b65750845b6110f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ec90613a15565b60405180910390fd5b6110fe82611b04565b8080611109906135fd565b915050611053565b508273ffffffffffffffffffffffffffffffffffffffff167f0c1ce0e88eed982b63571098be7d9fc5a65269fc06f278742e8530bf52f878d7878760405161115a929190613a96565b60405180910390a2505050505050565b61117b6111756115bc565b8361169b565b6111ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b1906136ec565b60405180910390fd5b6111c684848484611c21565b50505050565b60606111d782611571565b60006111e1611c7d565b90506000815111611201576040518060200160405280600081525061122c565b8061120b84611d0f565b60405160200161121c929190613af6565b6040516020818303038152906040525b915050919050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148547f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b0861129b6115bc565b6040518363ffffffff1660e01b81526004016112b89291906134a1565b60206040518083038186803b1580156112d057600080fd5b505afa1580156112e4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061130891906134df565b611347576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133e906138ab565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156113b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ae90613b66565b60405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061155a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061156a575061156982611e70565b5b9050919050565b61157a81611eda565b6115b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b090613917565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661163783610c9d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611697828260405180602001604052806000815250611f46565b5050565b6000806116a783610c9d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806116e957506116e881856113fb565b5b8061172757508373ffffffffffffffffffffffffffffffffffffffff1661170f846105db565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661175082610c9d565b73ffffffffffffffffffffffffffffffffffffffff16146117a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179d90613bf8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611816576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180d90613c8a565b60405180910390fd5b611821838383611fa1565b61182c6000826115c4565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461187c9190613646565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118d391906135a7565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611992838383612091565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611a06576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119fd90613cf6565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611af79190612a70565b60405180910390a3505050565b6000611b0f82610c9d565b9050611b1d81600084611fa1565b611b286000836115c4565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b789190613646565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611c1d81600084612091565b5050565b611c2c848484611730565b611c3884848484612166565b611c77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6e90613d88565b60405180910390fd5b50505050565b6060600b8054611c8c90613332565b80601f0160208091040260200160405190810160405280929190818152602001828054611cb890613332565b8015611d055780601f10611cda57610100808354040283529160200191611d05565b820191906000526020600020905b815481529060010190602001808311611ce857829003601f168201915b5050505050905090565b60606000821415611d57576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611e6b565b600082905060005b60008214611d89578080611d72906135fd565b915050600a82611d829190613dd7565b9150611d5f565b60008167ffffffffffffffff811115611da557611da4612e6b565b5b6040519080825280601f01601f191660200182016040528015611dd75781602001600182028036833780820191505090505b5090505b60008514611e6457600182611df09190613646565b9150600a85611dff9190613e08565b6030611e0b91906135a7565b60f81b818381518110611e2157611e2061379e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611e5d9190613dd7565b9450611ddb565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b611f5083836122fd565b611f5d6000848484612166565b611f9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9390613d88565b60405180910390fd5b505050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b9b8af0b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561200957600080fd5b505afa15801561201d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061204191906134df565b15612081576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207890613e85565b60405180910390fd5b61208c8383836124d7565b505050565b6001600c600083815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120f291906135a7565b925050819055506001600c600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461215a91906135a7565b92505081905550505050565b60006121878473ffffffffffffffffffffffffffffffffffffffff166125eb565b156122f0578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026121b06115bc565b8786866040518563ffffffff1660e01b81526004016121d29493929190613efa565b602060405180830381600087803b1580156121ec57600080fd5b505af192505050801561221d57506040513d601f19601f8201168201806040525081019061221a9190613f5b565b60015b6122a0573d806000811461224d576040519150601f19603f3d011682016040523d82523d6000602084013e612252565b606091505b50600081511415612298576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228f90613d88565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506122f5565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561236d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236490613fd4565b60405180910390fd5b61237681611eda565b156123b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ad90614040565b60405180910390fd5b6123c260008383611fa1565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461241291906135a7565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46124d360008383612091565b5050565b6124e283838361260e565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156125255761252081612613565b612564565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461256357612562838261265c565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156125a7576125a2816127c9565b6125e6565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146125e5576125e4828261289a565b5b5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161266984610ddd565b6126739190613646565b9050600060076000848152602001908152602001600020549050818114612758576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506127dd9190613646565b905060006009600084815260200190815260200160002054905060006008838154811061280d5761280c61379e565b5b90600052602060002001549050806008838154811061282f5761282e61379e565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061287e5761287d614060565b5b6001900381819060005260206000200160009055905550505050565b60006128a583610ddd565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b82805461292590613332565b90600052602060002090601f016020900481019282612947576000855561298e565b82601f1061296057805160ff191683800117855561298e565b8280016001018555821561298e579182015b8281111561298d578251825591602001919060010190612972565b5b50905061299b919061299f565b5090565b5b808211156129b85760008160009055506001016129a0565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612a05816129d0565b8114612a1057600080fd5b50565b600081359050612a22816129fc565b92915050565b600060208284031215612a3e57612a3d6129c6565b5b6000612a4c84828501612a13565b91505092915050565b60008115159050919050565b612a6a81612a55565b82525050565b6000602082019050612a856000830184612a61565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612ac5578082015181840152602081019050612aaa565b83811115612ad4576000848401525b50505050565b6000601f19601f8301169050919050565b6000612af682612a8b565b612b008185612a96565b9350612b10818560208601612aa7565b612b1981612ada565b840191505092915050565b60006020820190508181036000830152612b3e8184612aeb565b905092915050565b6000819050919050565b612b5981612b46565b8114612b6457600080fd5b50565b600081359050612b7681612b50565b92915050565b600060208284031215612b9257612b916129c6565b5b6000612ba084828501612b67565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612bd482612ba9565b9050919050565b612be481612bc9565b82525050565b6000602082019050612bff6000830184612bdb565b92915050565b612c0e81612bc9565b8114612c1957600080fd5b50565b600081359050612c2b81612c05565b92915050565b60008060408385031215612c4857612c476129c6565b5b6000612c5685828601612c1c565b9250506020612c6785828601612b67565b9150509250929050565b600080600060608486031215612c8a57612c896129c6565b5b6000612c9886828701612c1c565b9350506020612ca986828701612b67565b9250506040612cba86828701612b67565b9150509250925092565b612ccd81612b46565b82525050565b6000602082019050612ce86000830184612cc4565b92915050565b600080600060608486031215612d0757612d066129c6565b5b6000612d1586828701612c1c565b9350506020612d2686828701612c1c565b9250506040612d3786828701612b67565b9150509250925092565b60008060408385031215612d5857612d576129c6565b5b6000612d6685828601612b67565b9250506020612d7785828601612c1c565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612db681612b46565b82525050565b6000612dc88383612dad565b60208301905092915050565b6000602082019050919050565b6000612dec82612d81565b612df68185612d8c565b9350612e0183612d9d565b8060005b83811015612e32578151612e198882612dbc565b9750612e2483612dd4565b925050600181019050612e05565b5085935050505092915050565b60006020820190508181036000830152612e598184612de1565b905092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612ea382612ada565b810181811067ffffffffffffffff82111715612ec257612ec1612e6b565b5b80604052505050565b6000612ed56129bc565b9050612ee18282612e9a565b919050565b600067ffffffffffffffff821115612f0157612f00612e6b565b5b612f0a82612ada565b9050602081019050919050565b82818337600083830152505050565b6000612f39612f3484612ee6565b612ecb565b905082815260208101848484011115612f5557612f54612e66565b5b612f60848285612f17565b509392505050565b600082601f830112612f7d57612f7c612e61565b5b8135612f8d848260208601612f26565b91505092915050565b600060208284031215612fac57612fab6129c6565b5b600082013567ffffffffffffffff811115612fca57612fc96129cb565b5b612fd684828501612f68565b91505092915050565b600060208284031215612ff557612ff46129c6565b5b600061300384828501612c1c565b91505092915050565b6000819050919050565b600061303161302c61302784612ba9565b61300c565b612ba9565b9050919050565b600061304382613016565b9050919050565b600061305582613038565b9050919050565b6130658161304a565b82525050565b6000602082019050613080600083018461305c565b92915050565b61308f81612a55565b811461309a57600080fd5b50565b6000813590506130ac81613086565b92915050565b600080604083850312156130c9576130c86129c6565b5b60006130d785828601612c1c565b92505060206130e88582860161309d565b9150509250929050565b600080fd5b600080fd5b60008083601f84011261311257613111612e61565b5b8235905067ffffffffffffffff81111561312f5761312e6130f2565b5b60208301915083602082028301111561314b5761314a6130f7565b5b9250929050565b60008060208385031215613169576131686129c6565b5b600083013567ffffffffffffffff811115613187576131866129cb565b5b613193858286016130fc565b92509250509250929050565b600067ffffffffffffffff8211156131ba576131b9612e6b565b5b6131c382612ada565b9050602081019050919050565b60006131e36131de8461319f565b612ecb565b9050828152602081018484840111156131ff576131fe612e66565b5b61320a848285612f17565b509392505050565b600082601f83011261322757613226612e61565b5b81356132378482602086016131d0565b91505092915050565b6000806000806080858703121561325a576132596129c6565b5b600061326887828801612c1c565b945050602061327987828801612c1c565b935050604061328a87828801612b67565b925050606085013567ffffffffffffffff8111156132ab576132aa6129cb565b5b6132b787828801613212565b91505092959194509250565b600080604083850312156132da576132d96129c6565b5b60006132e885828601612c1c565b92505060206132f985828601612c1c565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061334a57607f821691505b6020821081141561335e5761335d613303565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006133c0602183612a96565b91506133cb82613364565b604082019050919050565b600060208201905081810360008301526133ef816133b3565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000613452603e83612a96565b915061345d826133f6565b604082019050919050565b6000602082019050818103600083015261348181613445565b9050919050565b6000819050919050565b61349b81613488565b82525050565b60006040820190506134b66000830185613492565b6134c36020830184612bdb565b9392505050565b6000815190506134d981613086565b92915050565b6000602082840312156134f5576134f46129c6565b5b6000613503848285016134ca565b91505092915050565b7f4f6e6c794d696e74657200000000000000000000000000000000000000000000600082015250565b6000613542600a83612a96565b915061354d8261350c565b602082019050919050565b6000602082019050818103600083015261357181613535565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006135b282612b46565b91506135bd83612b46565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156135f2576135f1613578565b5b828201905092915050565b600061360882612b46565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561363b5761363a613578565b5b600182019050919050565b600061365182612b46565b915061365c83612b46565b92508282101561366f5761366e613578565b5b828203905092915050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b60006136d6602e83612a96565b91506136e18261367a565b604082019050919050565b60006020820190508181036000830152613705816136c9565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000613768602b83612a96565b91506137738261370c565b604082019050919050565b600060208201905081810360008301526137978161375b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000613829602c83612a96565b9150613834826137cd565b604082019050919050565b600060208201905081810360008301526138588161381c565b9050919050565b7f4f6e6c794d616e61676572000000000000000000000000000000000000000000600082015250565b6000613895600b83612a96565b91506138a08261385f565b602082019050919050565b600060208201905081810360008301526138c481613888565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000613901601883612a96565b915061390c826138cb565b602082019050919050565b60006020820190508181036000830152613930816138f4565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000613993602983612a96565b915061399e82613937565b604082019050919050565b600060208201905081810360008301526139c281613986565b9050919050565b7f4e6f74417574686f72697a65644e6f724f776e65720000000000000000000000600082015250565b60006139ff601583612a96565b9150613a0a826139c9565b602082019050919050565b60006020820190508181036000830152613a2e816139f2565b9050919050565b600080fd5b6000613a468385612d8c565b93507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831115613a7957613a78613a35565b5b602083029250613a8a838584612f17565b82840190509392505050565b60006020820190508181036000830152613ab1818486613a3a565b90509392505050565b600081905092915050565b6000613ad082612a8b565b613ada8185613aba565b9350613aea818560208601612aa7565b80840191505092915050565b6000613b028285613ac5565b9150613b0e8284613ac5565b91508190509392505050565b7f416464726573735a65726f000000000000000000000000000000000000000000600082015250565b6000613b50600b83612a96565b9150613b5b82613b1a565b602082019050919050565b60006020820190508181036000830152613b7f81613b43565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000613be2602583612a96565b9150613bed82613b86565b604082019050919050565b60006020820190508181036000830152613c1181613bd5565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613c74602483612a96565b9150613c7f82613c18565b604082019050919050565b60006020820190508181036000830152613ca381613c67565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613ce0601983612a96565b9150613ceb82613caa565b602082019050919050565b60006020820190508181036000830152613d0f81613cd3565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613d72603283612a96565b9150613d7d82613d16565b604082019050919050565b60006020820190508181036000830152613da181613d65565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613de282612b46565b9150613ded83612b46565b925082613dfd57613dfc613da8565b5b828204905092915050565b6000613e1382612b46565b9150613e1e83612b46565b925082613e2e57613e2d613da8565b5b828206905092915050565b7f4d61696e74656e616e6365000000000000000000000000000000000000000000600082015250565b6000613e6f600b83612a96565b9150613e7a82613e39565b602082019050919050565b60006020820190508181036000830152613e9e81613e62565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000613ecc82613ea5565b613ed68185613eb0565b9350613ee6818560208601612aa7565b613eef81612ada565b840191505092915050565b6000608082019050613f0f6000830187612bdb565b613f1c6020830186612bdb565b613f296040830185612cc4565b8181036060830152613f3b8184613ec1565b905095945050505050565b600081519050613f55816129fc565b92915050565b600060208284031215613f7157613f706129c6565b5b6000613f7f84828501613f46565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000613fbe602083612a96565b9150613fc982613f88565b602082019050919050565b60006020820190508181036000830152613fed81613fb1565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061402a601c83612a96565b915061403582613ff4565b602082019050919050565b600060208201905081810360008301526140598161401d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220ae723519ee2102808d49d0a8fabaf66e327eb26efc2b4b4c4fbb2878fd0bfac564736f6c634300080900330000000000000000000000003cd993f928eab47b7d5024521c84bf2476cbb3db0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001c68747470733a2f2f7777772e73376e7373746174696f6e2e636f6d2f00000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101585760003560e01c806355f804b3116100c3578063a22cb4651161007c578063a22cb465146103ff578063b80f55c91461041b578063b88d4fde14610437578063c87b56dd14610453578063d4a22bde14610483578063e985e9c51461049f57610158565b806355f804b3146103295780636352211e146103455780636c0360eb1461037557806370a082311461039357806388a8d602146103c357806395d89b41146103e157610158565b806323b872dd1161011557806323b872dd146102315780632a81d49d1461024d5780632f745c591461027d57806342842e0e146102ad57806343198ac4146102c95780634f6ccce7146102f957610158565b806301ffc9a71461015d57806306fdde031461018d578063081812fc146101ab578063095ea7b3146101db578063108cf4c1146101f757806318160ddd14610213575b600080fd5b61017760048036038101906101729190612a28565b6104cf565b6040516101849190612a70565b60405180910390f35b610195610549565b6040516101a29190612b24565b60405180910390f35b6101c560048036038101906101c09190612b7c565b6105db565b6040516101d29190612bea565b60405180910390f35b6101f560048036038101906101f09190612c31565b610621565b005b610211600480360381019061020c9190612c71565b610739565b005b61021b6108e4565b6040516102289190612cd3565b60405180910390f35b61024b60048036038101906102469190612cee565b6108f1565b005b61026760048036038101906102629190612d41565b610951565b6040516102749190612cd3565b60405180910390f35b61029760048036038101906102929190612c31565b610976565b6040516102a49190612cd3565b60405180910390f35b6102c760048036038101906102c29190612cee565b610a1b565b005b6102e360048036038101906102de9190612c71565b610a3b565b6040516102f09190612e3f565b60405180910390f35b610313600480360381019061030e9190612b7c565b610aff565b6040516103209190612cd3565b60405180910390f35b610343600480360381019061033e9190612f96565b610b70565b005b61035f600480360381019061035a9190612b7c565b610c9d565b60405161036c9190612bea565b60405180910390f35b61037d610d4f565b60405161038a9190612b24565b60405180910390f35b6103ad60048036038101906103a89190612fdf565b610ddd565b6040516103ba9190612cd3565b60405180910390f35b6103cb610e95565b6040516103d8919061306b565b60405180910390f35b6103e9610ebb565b6040516103f69190612b24565b60405180910390f35b610419600480360381019061041491906130b2565b610f4d565b005b61043560048036038101906104309190613152565b610f63565b005b610451600480360381019061044c9190613240565b61116a565b005b61046d60048036038101906104689190612b7c565b6111cc565b60405161047a9190612b24565b60405180910390f35b61049d60048036038101906104989190612fdf565b611234565b005b6104b960048036038101906104b491906132c3565b6113fb565b6040516104c69190612a70565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061054257506105418261148f565b5b9050919050565b60606000805461055890613332565b80601f016020809104026020016040519081016040528092919081815260200182805461058490613332565b80156105d15780601f106105a6576101008083540402835291602001916105d1565b820191906000526020600020905b8154815290600101906020018083116105b457829003601f168201915b5050505050905090565b60006105e682611571565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061062c82610c9d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561069d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610694906133d6565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166106bc6115bc565b73ffffffffffffffffffffffffffffffffffffffff1614806106eb57506106ea816106e56115bc565b6113fb565b5b61072a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072190613468565b60405180910390fd5b61073483836115c4565b505050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148547f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66107a06115bc565b6040518363ffffffff1660e01b81526004016107bd9291906134a1565b60206040518083038186803b1580156107d557600080fd5b505afa1580156107e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080d91906134df565b61084c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161084390613558565b60405180910390fd5b60008290505b818361085e91906135a7565b8110156108825761086f848261167d565b808061087a906135fd565b915050610852565b506001818361089191906135a7565b61089b9190613646565b828473ffffffffffffffffffffffffffffffffffffffff167f3a66c88078611900c88c01a5fca20501399249b5980a31c713a9dedb8baea0dd60405160405180910390a4505050565b6000600880549050905090565b6109026108fc6115bc565b8261169b565b610941576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610938906136ec565b60405180910390fd5b61094c838383611730565b505050565b600c602052816000526040600020602052806000526040600020600091509150505481565b600061098183610ddd565b82106109c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b99061377e565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610a368383836040518060200160405280600081525061116a565b505050565b6060600060018484610a4d9190613646565b610a5791906135a7565b90508067ffffffffffffffff811115610a7357610a72612e6b565b5b604051908082528060200260200182016040528015610aa15781602001602082028036833780820191505090505b50915060005b81811015610af657610ac4868287610abf91906135a7565b610976565b838281518110610ad757610ad661379e565b5b6020026020010181815250508080610aee906135fd565b915050610aa7565b50509392505050565b6000610b096108e4565b8210610b4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b419061383f565b60405180910390fd5b60088281548110610b5e57610b5d61379e565b5b90600052602060002001549050919050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148547f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08610bd76115bc565b6040518363ffffffff1660e01b8152600401610bf49291906134a1565b60206040518083038186803b158015610c0c57600080fd5b505afa158015610c20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c4491906134df565b610c83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7a906138ab565b60405180910390fd5b80600b9080519060200190610c99929190612919565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3d90613917565b60405180910390fd5b80915050919050565b600b8054610d5c90613332565b80601f0160208091040260200160405190810160405280929190818152602001828054610d8890613332565b8015610dd55780601f10610daa57610100808354040283529160200191610dd5565b820191906000526020600020905b815481529060010190602001808311610db857829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e45906139a9565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606060018054610eca90613332565b80601f0160208091040260200160405190810160405280929190818152602001828054610ef690613332565b8015610f435780601f10610f1857610100808354040283529160200191610f43565b820191906000526020600020905b815481529060010190602001808311610f2657829003601f168201915b5050505050905090565b610f5f610f586115bc565b8383611997565b5050565b600080610f6e6115bc565b9050600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148547f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6836040518363ffffffff1660e01b8152600401610fed9291906134a1565b60206040518083038186803b15801561100557600080fd5b505afa158015611019573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061103d91906134df565b1561104757600191505b60008484905090506000805b828110156111115786868281811061106e5761106d61379e565b5b9050602002013591508373ffffffffffffffffffffffffffffffffffffffff1661109783610c9d565b73ffffffffffffffffffffffffffffffffffffffff1614806110b65750845b6110f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ec90613a15565b60405180910390fd5b6110fe82611b04565b8080611109906135fd565b915050611053565b508273ffffffffffffffffffffffffffffffffffffffff167f0c1ce0e88eed982b63571098be7d9fc5a65269fc06f278742e8530bf52f878d7878760405161115a929190613a96565b60405180910390a2505050505050565b61117b6111756115bc565b8361169b565b6111ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b1906136ec565b60405180910390fd5b6111c684848484611c21565b50505050565b60606111d782611571565b60006111e1611c7d565b90506000815111611201576040518060200160405280600081525061122c565b8061120b84611d0f565b60405160200161121c929190613af6565b6040516020818303038152906040525b915050919050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148547f241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b0861129b6115bc565b6040518363ffffffff1660e01b81526004016112b89291906134a1565b60206040518083038186803b1580156112d057600080fd5b505afa1580156112e4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061130891906134df565b611347576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133e906138ab565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156113b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ae90613b66565b60405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061155a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061156a575061156982611e70565b5b9050919050565b61157a81611eda565b6115b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b090613917565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661163783610c9d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611697828260405180602001604052806000815250611f46565b5050565b6000806116a783610c9d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806116e957506116e881856113fb565b5b8061172757508373ffffffffffffffffffffffffffffffffffffffff1661170f846105db565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661175082610c9d565b73ffffffffffffffffffffffffffffffffffffffff16146117a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179d90613bf8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611816576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180d90613c8a565b60405180910390fd5b611821838383611fa1565b61182c6000826115c4565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461187c9190613646565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118d391906135a7565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611992838383612091565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611a06576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119fd90613cf6565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611af79190612a70565b60405180910390a3505050565b6000611b0f82610c9d565b9050611b1d81600084611fa1565b611b286000836115c4565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b789190613646565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611c1d81600084612091565b5050565b611c2c848484611730565b611c3884848484612166565b611c77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6e90613d88565b60405180910390fd5b50505050565b6060600b8054611c8c90613332565b80601f0160208091040260200160405190810160405280929190818152602001828054611cb890613332565b8015611d055780601f10611cda57610100808354040283529160200191611d05565b820191906000526020600020905b815481529060010190602001808311611ce857829003601f168201915b5050505050905090565b60606000821415611d57576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611e6b565b600082905060005b60008214611d89578080611d72906135fd565b915050600a82611d829190613dd7565b9150611d5f565b60008167ffffffffffffffff811115611da557611da4612e6b565b5b6040519080825280601f01601f191660200182016040528015611dd75781602001600182028036833780820191505090505b5090505b60008514611e6457600182611df09190613646565b9150600a85611dff9190613e08565b6030611e0b91906135a7565b60f81b818381518110611e2157611e2061379e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611e5d9190613dd7565b9450611ddb565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b611f5083836122fd565b611f5d6000848484612166565b611f9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9390613d88565b60405180910390fd5b505050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b9b8af0b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561200957600080fd5b505afa15801561201d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061204191906134df565b15612081576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207890613e85565b60405180910390fd5b61208c8383836124d7565b505050565b6001600c600083815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120f291906135a7565b925050819055506001600c600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461215a91906135a7565b92505081905550505050565b60006121878473ffffffffffffffffffffffffffffffffffffffff166125eb565b156122f0578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026121b06115bc565b8786866040518563ffffffff1660e01b81526004016121d29493929190613efa565b602060405180830381600087803b1580156121ec57600080fd5b505af192505050801561221d57506040513d601f19601f8201168201806040525081019061221a9190613f5b565b60015b6122a0573d806000811461224d576040519150601f19603f3d011682016040523d82523d6000602084013e612252565b606091505b50600081511415612298576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228f90613d88565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506122f5565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561236d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236490613fd4565b60405180910390fd5b61237681611eda565b156123b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ad90614040565b60405180910390fd5b6123c260008383611fa1565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461241291906135a7565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46124d360008383612091565b5050565b6124e283838361260e565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156125255761252081612613565b612564565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461256357612562838261265c565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156125a7576125a2816127c9565b6125e6565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146125e5576125e4828261289a565b5b5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161266984610ddd565b6126739190613646565b9050600060076000848152602001908152602001600020549050818114612758576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506127dd9190613646565b905060006009600084815260200190815260200160002054905060006008838154811061280d5761280c61379e565b5b90600052602060002001549050806008838154811061282f5761282e61379e565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061287e5761287d614060565b5b6001900381819060005260206000200160009055905550505050565b60006128a583610ddd565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b82805461292590613332565b90600052602060002090601f016020900481019282612947576000855561298e565b82601f1061296057805160ff191683800117855561298e565b8280016001018555821561298e579182015b8281111561298d578251825591602001919060010190612972565b5b50905061299b919061299f565b5090565b5b808211156129b85760008160009055506001016129a0565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612a05816129d0565b8114612a1057600080fd5b50565b600081359050612a22816129fc565b92915050565b600060208284031215612a3e57612a3d6129c6565b5b6000612a4c84828501612a13565b91505092915050565b60008115159050919050565b612a6a81612a55565b82525050565b6000602082019050612a856000830184612a61565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612ac5578082015181840152602081019050612aaa565b83811115612ad4576000848401525b50505050565b6000601f19601f8301169050919050565b6000612af682612a8b565b612b008185612a96565b9350612b10818560208601612aa7565b612b1981612ada565b840191505092915050565b60006020820190508181036000830152612b3e8184612aeb565b905092915050565b6000819050919050565b612b5981612b46565b8114612b6457600080fd5b50565b600081359050612b7681612b50565b92915050565b600060208284031215612b9257612b916129c6565b5b6000612ba084828501612b67565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612bd482612ba9565b9050919050565b612be481612bc9565b82525050565b6000602082019050612bff6000830184612bdb565b92915050565b612c0e81612bc9565b8114612c1957600080fd5b50565b600081359050612c2b81612c05565b92915050565b60008060408385031215612c4857612c476129c6565b5b6000612c5685828601612c1c565b9250506020612c6785828601612b67565b9150509250929050565b600080600060608486031215612c8a57612c896129c6565b5b6000612c9886828701612c1c565b9350506020612ca986828701612b67565b9250506040612cba86828701612b67565b9150509250925092565b612ccd81612b46565b82525050565b6000602082019050612ce86000830184612cc4565b92915050565b600080600060608486031215612d0757612d066129c6565b5b6000612d1586828701612c1c565b9350506020612d2686828701612c1c565b9250506040612d3786828701612b67565b9150509250925092565b60008060408385031215612d5857612d576129c6565b5b6000612d6685828601612b67565b9250506020612d7785828601612c1c565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612db681612b46565b82525050565b6000612dc88383612dad565b60208301905092915050565b6000602082019050919050565b6000612dec82612d81565b612df68185612d8c565b9350612e0183612d9d565b8060005b83811015612e32578151612e198882612dbc565b9750612e2483612dd4565b925050600181019050612e05565b5085935050505092915050565b60006020820190508181036000830152612e598184612de1565b905092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612ea382612ada565b810181811067ffffffffffffffff82111715612ec257612ec1612e6b565b5b80604052505050565b6000612ed56129bc565b9050612ee18282612e9a565b919050565b600067ffffffffffffffff821115612f0157612f00612e6b565b5b612f0a82612ada565b9050602081019050919050565b82818337600083830152505050565b6000612f39612f3484612ee6565b612ecb565b905082815260208101848484011115612f5557612f54612e66565b5b612f60848285612f17565b509392505050565b600082601f830112612f7d57612f7c612e61565b5b8135612f8d848260208601612f26565b91505092915050565b600060208284031215612fac57612fab6129c6565b5b600082013567ffffffffffffffff811115612fca57612fc96129cb565b5b612fd684828501612f68565b91505092915050565b600060208284031215612ff557612ff46129c6565b5b600061300384828501612c1c565b91505092915050565b6000819050919050565b600061303161302c61302784612ba9565b61300c565b612ba9565b9050919050565b600061304382613016565b9050919050565b600061305582613038565b9050919050565b6130658161304a565b82525050565b6000602082019050613080600083018461305c565b92915050565b61308f81612a55565b811461309a57600080fd5b50565b6000813590506130ac81613086565b92915050565b600080604083850312156130c9576130c86129c6565b5b60006130d785828601612c1c565b92505060206130e88582860161309d565b9150509250929050565b600080fd5b600080fd5b60008083601f84011261311257613111612e61565b5b8235905067ffffffffffffffff81111561312f5761312e6130f2565b5b60208301915083602082028301111561314b5761314a6130f7565b5b9250929050565b60008060208385031215613169576131686129c6565b5b600083013567ffffffffffffffff811115613187576131866129cb565b5b613193858286016130fc565b92509250509250929050565b600067ffffffffffffffff8211156131ba576131b9612e6b565b5b6131c382612ada565b9050602081019050919050565b60006131e36131de8461319f565b612ecb565b9050828152602081018484840111156131ff576131fe612e66565b5b61320a848285612f17565b509392505050565b600082601f83011261322757613226612e61565b5b81356132378482602086016131d0565b91505092915050565b6000806000806080858703121561325a576132596129c6565b5b600061326887828801612c1c565b945050602061327987828801612c1c565b935050604061328a87828801612b67565b925050606085013567ffffffffffffffff8111156132ab576132aa6129cb565b5b6132b787828801613212565b91505092959194509250565b600080604083850312156132da576132d96129c6565b5b60006132e885828601612c1c565b92505060206132f985828601612c1c565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061334a57607f821691505b6020821081141561335e5761335d613303565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006133c0602183612a96565b91506133cb82613364565b604082019050919050565b600060208201905081810360008301526133ef816133b3565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000613452603e83612a96565b915061345d826133f6565b604082019050919050565b6000602082019050818103600083015261348181613445565b9050919050565b6000819050919050565b61349b81613488565b82525050565b60006040820190506134b66000830185613492565b6134c36020830184612bdb565b9392505050565b6000815190506134d981613086565b92915050565b6000602082840312156134f5576134f46129c6565b5b6000613503848285016134ca565b91505092915050565b7f4f6e6c794d696e74657200000000000000000000000000000000000000000000600082015250565b6000613542600a83612a96565b915061354d8261350c565b602082019050919050565b6000602082019050818103600083015261357181613535565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006135b282612b46565b91506135bd83612b46565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156135f2576135f1613578565b5b828201905092915050565b600061360882612b46565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561363b5761363a613578565b5b600182019050919050565b600061365182612b46565b915061365c83612b46565b92508282101561366f5761366e613578565b5b828203905092915050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b60006136d6602e83612a96565b91506136e18261367a565b604082019050919050565b60006020820190508181036000830152613705816136c9565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000613768602b83612a96565b91506137738261370c565b604082019050919050565b600060208201905081810360008301526137978161375b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000613829602c83612a96565b9150613834826137cd565b604082019050919050565b600060208201905081810360008301526138588161381c565b9050919050565b7f4f6e6c794d616e61676572000000000000000000000000000000000000000000600082015250565b6000613895600b83612a96565b91506138a08261385f565b602082019050919050565b600060208201905081810360008301526138c481613888565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000613901601883612a96565b915061390c826138cb565b602082019050919050565b60006020820190508181036000830152613930816138f4565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000613993602983612a96565b915061399e82613937565b604082019050919050565b600060208201905081810360008301526139c281613986565b9050919050565b7f4e6f74417574686f72697a65644e6f724f776e65720000000000000000000000600082015250565b60006139ff601583612a96565b9150613a0a826139c9565b602082019050919050565b60006020820190508181036000830152613a2e816139f2565b9050919050565b600080fd5b6000613a468385612d8c565b93507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831115613a7957613a78613a35565b5b602083029250613a8a838584612f17565b82840190509392505050565b60006020820190508181036000830152613ab1818486613a3a565b90509392505050565b600081905092915050565b6000613ad082612a8b565b613ada8185613aba565b9350613aea818560208601612aa7565b80840191505092915050565b6000613b028285613ac5565b9150613b0e8284613ac5565b91508190509392505050565b7f416464726573735a65726f000000000000000000000000000000000000000000600082015250565b6000613b50600b83612a96565b9150613b5b82613b1a565b602082019050919050565b60006020820190508181036000830152613b7f81613b43565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000613be2602583612a96565b9150613bed82613b86565b604082019050919050565b60006020820190508181036000830152613c1181613bd5565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613c74602483612a96565b9150613c7f82613c18565b604082019050919050565b60006020820190508181036000830152613ca381613c67565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613ce0601983612a96565b9150613ceb82613caa565b602082019050919050565b60006020820190508181036000830152613d0f81613cd3565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613d72603283612a96565b9150613d7d82613d16565b604082019050919050565b60006020820190508181036000830152613da181613d65565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613de282612b46565b9150613ded83612b46565b925082613dfd57613dfc613da8565b5b828204905092915050565b6000613e1382612b46565b9150613e1e83612b46565b925082613e2e57613e2d613da8565b5b828206905092915050565b7f4d61696e74656e616e6365000000000000000000000000000000000000000000600082015250565b6000613e6f600b83612a96565b9150613e7a82613e39565b602082019050919050565b60006020820190508181036000830152613e9e81613e62565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000613ecc82613ea5565b613ed68185613eb0565b9350613ee6818560208601612aa7565b613eef81612ada565b840191505092915050565b6000608082019050613f0f6000830187612bdb565b613f1c6020830186612bdb565b613f296040830185612cc4565b8181036060830152613f3b8184613ec1565b905095945050505050565b600081519050613f55816129fc565b92915050565b600060208284031215613f7157613f706129c6565b5b6000613f7f84828501613f46565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000613fbe602083612a96565b9150613fc982613f88565b602082019050919050565b60006020820190508181036000830152613fed81613fb1565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061402a601c83612a96565b915061403582613ff4565b602082019050919050565b600060208201905081810360008301526140598161401d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220ae723519ee2102808d49d0a8fabaf66e327eb26efc2b4b4c4fbb2878fd0bfac564736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000003cd993f928eab47b7d5024521c84bf2476cbb3db0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001c68747470733a2f2f7777772e73376e7373746174696f6e2e636f6d2f00000000
-----Decoded View---------------
Arg [0] : _management (address): 0x3CD993f928eaB47b7d5024521c84bF2476cbb3Db
Arg [1] : _uri (string): https://www.s7nsstation.com/
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000003cd993f928eab47b7d5024521c84bf2476cbb3db
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [2] : 000000000000000000000000000000000000000000000000000000000000001c
Arg [3] : 68747470733a2f2f7777772e73376e7373746174696f6e2e636f6d2f00000000
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.