ERC-721
Overview
Max Total Supply
9,999 NG: Thor
Holders
2,848
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 NG: ThorLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
NGNFT
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "./libraries/TransferHelper.sol"; contract NGNFT is ERC721Enumerable, ERC721URIStorage { uint public tokenIdTracker; bool public publicMint = false; bool public canTransfer = false; uint256 public maxVikingsTotal; uint256 public pricePerViking; uint public maxVikingPerTransaction; string public baseURIValue; mapping (address => bool) private admins; constructor( string memory name, string memory symbol, uint256 _pricePerViking, uint256 _maxVikings, uint _maxVikingPerTransaction, string memory _baseUri ) ERC721(name, symbol) { admins[msg.sender] = true; pricePerViking = _pricePerViking; maxVikingsTotal = _maxVikings; maxVikingPerTransaction = _maxVikingPerTransaction; baseURIValue = _baseUri; } function isAdmin(address maybeAdmin) private view returns (bool) { return admins[maybeAdmin]; } modifier onlyAdmin { require(isAdmin(msg.sender), "NG::NFT: No admin."); _; } function freeMint(address to, uint amount) external onlyAdmin { require((tokenIdTracker + amount) < maxVikingsTotal, "NG::NFT: All vikings have been minted."); _mintMultiple(amount, to); } function mint(uint amount) external payable { require(publicMint, "NG::NFT: Minting currently disabled."); require(msg.value >= (amount * pricePerViking), "NG::NFT: Insufficient funds."); require((tokenIdTracker + amount) < maxVikingsTotal, "NG::NFT: All vikings have been minted."); require(amount <= maxVikingPerTransaction, "NG::NFT: Too many vikings in single transaction."); _mintMultiple(amount, msg.sender); } function _mintMultiple(uint amount, address to) private { for (uint i = 0; i < amount; i++) { _mint(to, tokenIdTracker); tokenIdTracker++; } } function _baseURI() internal view virtual override returns (string memory) { return baseURIValue; } function setBaseURI(string memory baseURI_) external onlyAdmin { baseURIValue = baseURI_; } function setTokenURI(uint256 tokenId, string memory _tokenURI) external onlyAdmin { _setTokenURI(tokenId, _tokenURI); } function tokenURI(uint256 tokenId) public view override(ERC721, ERC721URIStorage) returns (string memory) { return ERC721URIStorage.tokenURI(tokenId); } function _burn(uint256 tokenId) internal virtual override(ERC721, ERC721URIStorage) { return ERC721URIStorage._burn(tokenId); } function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); if (from != address(0) && to != address(0)) { require(canTransfer, "NG::NFT: Transfers currently disabled."); } } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } function flipPublicMint() external onlyAdmin { publicMint = !publicMint; } function flipCanTrade() external onlyAdmin { canTransfer = !canTransfer; } function setAdmin(address maybeAdmin, bool _isAdmin) external onlyAdmin { admins[maybeAdmin] = _isAdmin; } function withdrawErc(address token, address recipient, uint256 amount) external onlyAdmin { TransferHelper.safeApprove(token, recipient, amount); TransferHelper.safeTransfer(token, recipient, amount); } function withdrawETH(address recipient, uint256 amount) external onlyAdmin { TransferHelper.safeTransferETH(recipient, amount); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; /** * @dev ERC721 token with storage based token URI management. */ abstract contract ERC721URIStorage is ERC721 { using Strings for uint256; // Optional mapping for token URIs mapping(uint256 => string) private _tokenURIs; /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token"); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = _baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } return super.tokenURI(tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @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 override { super._burn(tokenId); if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } } }
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity >=0.8.0; // helper methods for interacting with ERC20 tokens and sending ETH that do not consistently return true/false library TransferHelper { function safeApprove( address token, address to, uint256 value ) internal { // bytes4(keccak256(bytes('approve(address,uint256)'))); (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x095ea7b3, to, value)); require( success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper::safeApprove: approve failed' ); } function safeTransfer( address token, address to, uint256 value ) internal { // bytes4(keccak256(bytes('transfer(address,uint256)'))); (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0xa9059cbb, to, value)); require( success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper::safeTransfer: transfer failed' ); } function safeTransferFrom( address token, address from, address to, uint256 value ) internal { // bytes4(keccak256(bytes('transferFrom(address,address,uint256)'))); (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x23b872dd, from, to, value)); require( success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper::transferFrom: transferFrom failed' ); } function safeTransferETH(address to, uint256 value) internal { (bool success, ) = to.call{value: value}(new bytes(0)); require(success, 'TransferHelper::safeTransferETH: ETH transfer failed'); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"_pricePerViking","type":"uint256"},{"internalType":"uint256","name":"_maxVikings","type":"uint256"},{"internalType":"uint256","name":"_maxVikingPerTransaction","type":"uint256"},{"internalType":"string","name":"_baseUri","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":"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":"baseURIValue","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"canTransfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipCanTrade","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipPublicMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"freeMint","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":"maxVikingPerTransaction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxVikingsTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pricePerViking","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"maybeAdmin","type":"address"},{"internalType":"bool","name":"_isAdmin","type":"bool"}],"name":"setAdmin","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":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"_tokenURI","type":"string"}],"name":"setTokenURI","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":[],"name":"tokenIdTracker","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawErc","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600c60006101000a81548160ff0219169083151502179055506000600c60016101000a81548160ff0219169083151502179055503480156200004757600080fd5b5060405162004d7338038062004d7383398181016040528101906200006d91906200026e565b858581600090805190602001906200008792919062000135565b508060019080519060200190620000a092919062000135565b5050506001601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555083600e8190555082600d8190555081600f8190555080601090805190602001906200012892919062000135565b50505050505050620004e3565b8280546200014390620003ee565b90600052602060002090601f016020900481019282620001675760008555620001b3565b82601f106200018257805160ff1916838001178555620001b3565b82800160010185558215620001b3579182015b82811115620001b257825182559160200191906001019062000195565b5b509050620001c29190620001c6565b5090565b5b80821115620001e1576000816000905550600101620001c7565b5090565b6000620001fc620001f68462000378565b6200034f565b9050828152602081018484840111156200021557600080fd5b62000222848285620003b8565b509392505050565b600082601f8301126200023c57600080fd5b81516200024e848260208601620001e5565b91505092915050565b6000815190506200026881620004c9565b92915050565b60008060008060008060c087890312156200028857600080fd5b600087015167ffffffffffffffff811115620002a357600080fd5b620002b189828a016200022a565b965050602087015167ffffffffffffffff811115620002cf57600080fd5b620002dd89828a016200022a565b9550506040620002f089828a0162000257565b94505060606200030389828a0162000257565b93505060806200031689828a0162000257565b92505060a087015167ffffffffffffffff8111156200033457600080fd5b6200034289828a016200022a565b9150509295509295509295565b60006200035b6200036e565b905062000369828262000424565b919050565b6000604051905090565b600067ffffffffffffffff82111562000396576200039562000489565b5b620003a182620004b8565b9050602081019050919050565b6000819050919050565b60005b83811015620003d8578082015181840152602081019050620003bb565b83811115620003e8576000848401525b50505050565b600060028204905060018216806200040757607f821691505b602082108114156200041e576200041d6200045a565b5b50919050565b6200042f82620004b8565b810181811067ffffffffffffffff8211171562000451576200045062000489565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b620004d481620003ae565b8114620004e057600080fd5b50565b61488080620004f36000396000f3fe6080604052600436106101e35760003560e01c80634f6ccce711610102578063a0712d6811610095578063b88d4fde11610064578063b88d4fde146106bd578063c87b56dd146106e6578063df68c1a214610723578063e985e9c51461074e576101e3565b8063a0712d6814610636578063a22cb46514610652578063a88af1d31461067b578063b064ecd914610692576101e3565b806365f2ed7d116100d157806365f2ed7d1461058e57806370a08231146105a557806395d89b41146105e25780639883566e1461060d576101e3565b80634f6ccce7146104c057806355f804b3146104fd57806361795d6a146105265780636352211e14610551576101e3565b806323b872dd1161017a57806342842e0e1161014957806342842e0e1461041a5780634538b174146104435780634782f7791461046e5780634b0bddd214610497576101e3565b806323b872dd1461035e57806326092b83146103875780632f745c59146103b257806339eb7d59146103ef576101e3565b8063095ea7b3116101b6578063095ea7b3146102b8578063162094c4146102e157806318160ddd1461030a5780631add507d14610335576101e3565b806301ffc9a7146101e857806302bf3d561461022557806306fdde0314610250578063081812fc1461027b575b600080fd5b3480156101f457600080fd5b5061020f600480360381019061020a91906131c8565b61078b565b60405161021c9190613855565b60405180910390f35b34801561023157600080fd5b5061023a61079d565b6040516102479190613bf2565b60405180910390f35b34801561025c57600080fd5b506102656107a3565b6040516102729190613870565b60405180910390f35b34801561028757600080fd5b506102a2600480360381019061029d919061325b565b610835565b6040516102af91906137c5565b60405180910390f35b3480156102c457600080fd5b506102df60048036038101906102da9190613163565b6108ba565b005b3480156102ed57600080fd5b5061030860048036038101906103039190613284565b6109d2565b005b34801561031657600080fd5b5061031f610a28565b60405161032c9190613bf2565b60405180910390f35b34801561034157600080fd5b5061035c6004803603810190610357919061305d565b610a35565b005b34801561036a57600080fd5b506103856004803603810190610380919061305d565b610a98565b005b34801561039357600080fd5b5061039c610af8565b6040516103a99190613855565b60405180910390f35b3480156103be57600080fd5b506103d960048036038101906103d49190613163565b610b0b565b6040516103e69190613bf2565b60405180910390f35b3480156103fb57600080fd5b50610404610bb0565b6040516104119190613bf2565b60405180910390f35b34801561042657600080fd5b50610441600480360381019061043c919061305d565b610bb6565b005b34801561044f57600080fd5b50610458610bd6565b6040516104659190613bf2565b60405180910390f35b34801561047a57600080fd5b5061049560048036038101906104909190613163565b610bdc565b005b3480156104a357600080fd5b506104be60048036038101906104b99190613127565b610c32565b005b3480156104cc57600080fd5b506104e760048036038101906104e2919061325b565b610cd5565b6040516104f49190613bf2565b60405180910390f35b34801561050957600080fd5b50610524600480360381019061051f919061321a565b610d6c565b005b34801561053257600080fd5b5061053b610dce565b6040516105489190613870565b60405180910390f35b34801561055d57600080fd5b506105786004803603810190610573919061325b565b610e5c565b60405161058591906137c5565b60405180910390f35b34801561059a57600080fd5b506105a3610f0e565b005b3480156105b157600080fd5b506105cc60048036038101906105c79190612ff8565b610f82565b6040516105d99190613bf2565b60405180910390f35b3480156105ee57600080fd5b506105f761103a565b6040516106049190613870565b60405180910390f35b34801561061957600080fd5b50610634600480360381019061062f9190613163565b6110cc565b005b610650600480360381019061064b919061325b565b611173565b005b34801561065e57600080fd5b5061067960048036038101906106749190613127565b6112b5565b005b34801561068757600080fd5b50610690611436565b005b34801561069e57600080fd5b506106a76114aa565b6040516106b49190613bf2565b60405180910390f35b3480156106c957600080fd5b506106e460048036038101906106df91906130ac565b6114b0565b005b3480156106f257600080fd5b5061070d6004803603810190610708919061325b565b611512565b60405161071a9190613870565b60405180910390f35b34801561072f57600080fd5b50610738611524565b6040516107459190613855565b60405180910390f35b34801561075a57600080fd5b5061077560048036038101906107709190613021565b611537565b6040516107829190613855565b60405180910390f35b6000610796826115cb565b9050919050565b600b5481565b6060600080546107b290613ead565b80601f01602080910402602001604051908101604052809291908181526020018280546107de90613ead565b801561082b5780601f106108005761010080835404028352916020019161082b565b820191906000526020600020905b81548152906001019060200180831161080e57829003601f168201915b5050505050905090565b600061084082611645565b61087f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087690613a92565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108c582610e5c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610936576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092d90613b32565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109556116b1565b73ffffffffffffffffffffffffffffffffffffffff16148061098457506109838161097e6116b1565b611537565b5b6109c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ba906139d2565b60405180910390fd5b6109cd83836116b9565b505050565b6109db33611772565b610a1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1190613ab2565b60405180910390fd5b610a2482826117c8565b5050565b6000600880549050905090565b610a3e33611772565b610a7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7490613ab2565b60405180910390fd5b610a8883838361183c565b610a93838383611972565b505050565b610aa9610aa36116b1565b82611aa8565b610ae8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610adf90613b52565b60405180910390fd5b610af3838383611b86565b505050565b600c60009054906101000a900460ff1681565b6000610b1683610f82565b8210610b57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4e906138d2565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600f5481565b610bd1838383604051806020016040528060008152506114b0565b505050565b600e5481565b610be533611772565b610c24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1b90613ab2565b60405180910390fd5b610c2e8282611de2565b5050565b610c3b33611772565b610c7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7190613ab2565b60405180910390fd5b80601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000610cdf610a28565b8210610d20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1790613b72565b60405180910390fd5b60088281548110610d5a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b610d7533611772565b610db4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dab90613ab2565b60405180910390fd5b8060109080519060200190610dca929190612e07565b5050565b60108054610ddb90613ead565b80601f0160208091040260200160405190810160405280929190818152602001828054610e0790613ead565b8015610e545780601f10610e2957610100808354040283529160200191610e54565b820191906000526020600020905b815481529060010190602001808311610e3757829003601f168201915b505050505081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efc90613a12565b60405180910390fd5b80915050919050565b610f1733611772565b610f56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4d90613ab2565b60405180910390fd5b600c60019054906101000a900460ff1615600c60016101000a81548160ff021916908315150217905550565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610ff3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fea906139f2565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60606001805461104990613ead565b80601f016020809104026020016040519081016040528092919081815260200182805461107590613ead565b80156110c25780601f10611097576101008083540402835291602001916110c2565b820191906000526020600020905b8154815290600101906020018083116110a557829003601f168201915b5050505050905090565b6110d533611772565b611114576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110b90613ab2565b60405180910390fd5b600d5481600b546111259190613ce2565b10611165576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115c90613bb2565b60405180910390fd5b61116f8183611f08565b5050565b600c60009054906101000a900460ff166111c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b9906138b2565b60405180910390fd5b600e54816111d09190613d69565b341015611212576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120990613bd2565b60405180910390fd5b600d5481600b546112239190613ce2565b10611263576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125a90613bb2565b60405180910390fd5b600f548111156112a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129f90613892565b60405180910390fd5b6112b28133611f08565b50565b6112bd6116b1565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561132b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132290613992565b60405180910390fd5b80600560006113386116b1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166113e56116b1565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161142a9190613855565b60405180910390a35050565b61143f33611772565b61147e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147590613ab2565b60405180910390fd5b600c60009054906101000a900460ff1615600c60006101000a81548160ff021916908315150217905550565b600d5481565b6114c16114bb6116b1565b83611aa8565b611500576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f790613b52565b60405180910390fd5b61150c84848484611f4f565b50505050565b606061151d82611fab565b9050919050565b600c60019054906101000a900460ff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061163e575061163d826120fd565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661172c83610e5c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000601160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6117d182611645565b611810576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180790613a32565b60405180910390fd5b80600a60008481526020019081526020016000209080519060200190611837929190612e07565b505050565b6000808473ffffffffffffffffffffffffffffffffffffffff1663095ea7b3858560405160240161186e92919061382c565b6040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040516118bc919061378a565b6000604051808303816000865af19150503d80600081146118f9576040519150601f19603f3d011682016040523d82523d6000602084013e6118fe565b606091505b509150915081801561192c575060008151148061192b57508080602001905181019061192a919061319f565b5b5b61196b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196290613b12565b60405180910390fd5b5050505050565b6000808473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85856040516024016119a492919061382c565b6040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040516119f2919061378a565b6000604051808303816000865af19150503d8060008114611a2f576040519150601f19603f3d011682016040523d82523d6000602084013e611a34565b606091505b5091509150818015611a625750600081511480611a61575080806020019051810190611a60919061319f565b5b5b611aa1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9890613b92565b60405180910390fd5b5050505050565b6000611ab382611645565b611af2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae9906139b2565b60405180910390fd5b6000611afd83610e5c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611b6c57508373ffffffffffffffffffffffffffffffffffffffff16611b5484610835565b73ffffffffffffffffffffffffffffffffffffffff16145b80611b7d5750611b7c8185611537565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611ba682610e5c565b73ffffffffffffffffffffffffffffffffffffffff1614611bfc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf390613ad2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6390613972565b60405180910390fd5b611c778383836121df565b611c826000826116b9565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611cd29190613dc3565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d299190613ce2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008273ffffffffffffffffffffffffffffffffffffffff1682600067ffffffffffffffff811115611e3d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611e6f5781602001600182028036833780820191505090505b50604051611e7d919061378a565b60006040518083038185875af1925050503d8060008114611eba576040519150601f19603f3d011682016040523d82523d6000602084013e611ebf565b606091505b5050905080611f03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611efa90613952565b60405180910390fd5b505050565b60005b82811015611f4a57611f1f82600b546122ae565b600b6000815480929190611f3290613f10565b91905055508080611f4290613f10565b915050611f0b565b505050565b611f5a848484611b86565b611f668484848461247c565b611fa5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9c906138f2565b60405180910390fd5b50505050565b6060611fb682611645565b611ff5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fec90613a72565b60405180910390fd5b6000600a6000848152602001908152602001600020805461201590613ead565b80601f016020809104026020016040519081016040528092919081815260200182805461204190613ead565b801561208e5780601f106120635761010080835404028352916020019161208e565b820191906000526020600020905b81548152906001019060200180831161207157829003601f168201915b50505050509050600061209f612613565b90506000815114156120b55781925050506120f8565b6000825111156120ea5780826040516020016120d29291906137a1565b604051602081830303815290604052925050506120f8565b6120f3846126a5565b925050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806121c857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806121d857506121d78261274c565b5b9050919050565b6121ea8383836127b6565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156122545750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b156122a957600c60019054906101000a900460ff166122a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229f90613932565b60405180910390fd5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561231e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231590613a52565b60405180910390fd5b61232781611645565b15612367576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235e90613912565b60405180910390fd5b612373600083836121df565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123c39190613ce2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600061249d8473ffffffffffffffffffffffffffffffffffffffff166128ca565b15612606578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026124c66116b1565b8786866040518563ffffffff1660e01b81526004016124e894939291906137e0565b602060405180830381600087803b15801561250257600080fd5b505af192505050801561253357506040513d601f19601f8201168201806040525081019061253091906131f1565b60015b6125b6573d8060008114612563576040519150601f19603f3d011682016040523d82523d6000602084013e612568565b606091505b506000815114156125ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a5906138f2565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061260b565b600190505b949350505050565b60606010805461262290613ead565b80601f016020809104026020016040519081016040528092919081815260200182805461264e90613ead565b801561269b5780601f106126705761010080835404028352916020019161269b565b820191906000526020600020905b81548152906001019060200180831161267e57829003601f168201915b5050505050905090565b60606126b082611645565b6126ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126e690613af2565b60405180910390fd5b60006126f9612613565b905060008151116127195760405180602001604052806000815250612744565b80612723846128dd565b6040516020016127349291906137a1565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6127c1838383612a8a565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612804576127ff81612a8f565b612843565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612842576128418382612ad8565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156128865761288181612c45565b6128c5565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146128c4576128c38282612d88565b5b5b505050565b600080823b905060008111915050919050565b60606000821415612925576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612a85565b600082905060005b6000821461295757808061294090613f10565b915050600a826129509190613d38565b915061292d565b60008167ffffffffffffffff811115612999577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156129cb5781602001600182028036833780820191505090505b5090505b60008514612a7e576001826129e49190613dc3565b9150600a856129f39190613f59565b60306129ff9190613ce2565b60f81b818381518110612a3b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612a779190613d38565b94506129cf565b8093505050505b919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612ae584610f82565b612aef9190613dc3565b9050600060076000848152602001908152602001600020549050818114612bd4576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612c599190613dc3565b9050600060096000848152602001908152602001600020549050600060088381548110612caf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110612cf7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612d6c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612d9383610f82565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054612e1390613ead565b90600052602060002090601f016020900481019282612e355760008555612e7c565b82601f10612e4e57805160ff1916838001178555612e7c565b82800160010185558215612e7c579182015b82811115612e7b578251825591602001919060010190612e60565b5b509050612e899190612e8d565b5090565b5b80821115612ea6576000816000905550600101612e8e565b5090565b6000612ebd612eb884613c32565b613c0d565b905082815260208101848484011115612ed557600080fd5b612ee0848285613e6b565b509392505050565b6000612efb612ef684613c63565b613c0d565b905082815260208101848484011115612f1357600080fd5b612f1e848285613e6b565b509392505050565b600081359050612f35816147ee565b92915050565b600081359050612f4a81614805565b92915050565b600081519050612f5f81614805565b92915050565b600081359050612f748161481c565b92915050565b600081519050612f898161481c565b92915050565b600082601f830112612fa057600080fd5b8135612fb0848260208601612eaa565b91505092915050565b600082601f830112612fca57600080fd5b8135612fda848260208601612ee8565b91505092915050565b600081359050612ff281614833565b92915050565b60006020828403121561300a57600080fd5b600061301884828501612f26565b91505092915050565b6000806040838503121561303457600080fd5b600061304285828601612f26565b925050602061305385828601612f26565b9150509250929050565b60008060006060848603121561307257600080fd5b600061308086828701612f26565b935050602061309186828701612f26565b92505060406130a286828701612fe3565b9150509250925092565b600080600080608085870312156130c257600080fd5b60006130d087828801612f26565b94505060206130e187828801612f26565b93505060406130f287828801612fe3565b925050606085013567ffffffffffffffff81111561310f57600080fd5b61311b87828801612f8f565b91505092959194509250565b6000806040838503121561313a57600080fd5b600061314885828601612f26565b925050602061315985828601612f3b565b9150509250929050565b6000806040838503121561317657600080fd5b600061318485828601612f26565b925050602061319585828601612fe3565b9150509250929050565b6000602082840312156131b157600080fd5b60006131bf84828501612f50565b91505092915050565b6000602082840312156131da57600080fd5b60006131e884828501612f65565b91505092915050565b60006020828403121561320357600080fd5b600061321184828501612f7a565b91505092915050565b60006020828403121561322c57600080fd5b600082013567ffffffffffffffff81111561324657600080fd5b61325284828501612fb9565b91505092915050565b60006020828403121561326d57600080fd5b600061327b84828501612fe3565b91505092915050565b6000806040838503121561329757600080fd5b60006132a585828601612fe3565b925050602083013567ffffffffffffffff8111156132c257600080fd5b6132ce85828601612fb9565b9150509250929050565b6132e181613df7565b82525050565b6132f081613e09565b82525050565b600061330182613c94565b61330b8185613caa565b935061331b818560208601613e7a565b61332481614046565b840191505092915050565b600061333a82613c94565b6133448185613cbb565b9350613354818560208601613e7a565b80840191505092915050565b600061336b82613c9f565b6133758185613cc6565b9350613385818560208601613e7a565b61338e81614046565b840191505092915050565b60006133a482613c9f565b6133ae8185613cd7565b93506133be818560208601613e7a565b80840191505092915050565b60006133d7603083613cc6565b91506133e282614057565b604082019050919050565b60006133fa602483613cc6565b9150613405826140a6565b604082019050919050565b600061341d602b83613cc6565b9150613428826140f5565b604082019050919050565b6000613440603283613cc6565b915061344b82614144565b604082019050919050565b6000613463601c83613cc6565b915061346e82614193565b602082019050919050565b6000613486602683613cc6565b9150613491826141bc565b604082019050919050565b60006134a9603483613cc6565b91506134b48261420b565b604082019050919050565b60006134cc602483613cc6565b91506134d78261425a565b604082019050919050565b60006134ef601983613cc6565b91506134fa826142a9565b602082019050919050565b6000613512602c83613cc6565b915061351d826142d2565b604082019050919050565b6000613535603883613cc6565b915061354082614321565b604082019050919050565b6000613558602a83613cc6565b915061356382614370565b604082019050919050565b600061357b602983613cc6565b9150613586826143bf565b604082019050919050565b600061359e602e83613cc6565b91506135a98261440e565b604082019050919050565b60006135c1602083613cc6565b91506135cc8261445d565b602082019050919050565b60006135e4603183613cc6565b91506135ef82614486565b604082019050919050565b6000613607602c83613cc6565b9150613612826144d5565b604082019050919050565b600061362a601283613cc6565b915061363582614524565b602082019050919050565b600061364d602983613cc6565b91506136588261454d565b604082019050919050565b6000613670602f83613cc6565b915061367b8261459c565b604082019050919050565b6000613693602b83613cc6565b915061369e826145eb565b604082019050919050565b60006136b6602183613cc6565b91506136c18261463a565b604082019050919050565b60006136d9603183613cc6565b91506136e482614689565b604082019050919050565b60006136fc602c83613cc6565b9150613707826146d8565b604082019050919050565b600061371f602d83613cc6565b915061372a82614727565b604082019050919050565b6000613742602683613cc6565b915061374d82614776565b604082019050919050565b6000613765601c83613cc6565b9150613770826147c5565b602082019050919050565b61378481613e61565b82525050565b6000613796828461332f565b915081905092915050565b60006137ad8285613399565b91506137b98284613399565b91508190509392505050565b60006020820190506137da60008301846132d8565b92915050565b60006080820190506137f560008301876132d8565b61380260208301866132d8565b61380f604083018561377b565b818103606083015261382181846132f6565b905095945050505050565b600060408201905061384160008301856132d8565b61384e602083018461377b565b9392505050565b600060208201905061386a60008301846132e7565b92915050565b6000602082019050818103600083015261388a8184613360565b905092915050565b600060208201905081810360008301526138ab816133ca565b9050919050565b600060208201905081810360008301526138cb816133ed565b9050919050565b600060208201905081810360008301526138eb81613410565b9050919050565b6000602082019050818103600083015261390b81613433565b9050919050565b6000602082019050818103600083015261392b81613456565b9050919050565b6000602082019050818103600083015261394b81613479565b9050919050565b6000602082019050818103600083015261396b8161349c565b9050919050565b6000602082019050818103600083015261398b816134bf565b9050919050565b600060208201905081810360008301526139ab816134e2565b9050919050565b600060208201905081810360008301526139cb81613505565b9050919050565b600060208201905081810360008301526139eb81613528565b9050919050565b60006020820190508181036000830152613a0b8161354b565b9050919050565b60006020820190508181036000830152613a2b8161356e565b9050919050565b60006020820190508181036000830152613a4b81613591565b9050919050565b60006020820190508181036000830152613a6b816135b4565b9050919050565b60006020820190508181036000830152613a8b816135d7565b9050919050565b60006020820190508181036000830152613aab816135fa565b9050919050565b60006020820190508181036000830152613acb8161361d565b9050919050565b60006020820190508181036000830152613aeb81613640565b9050919050565b60006020820190508181036000830152613b0b81613663565b9050919050565b60006020820190508181036000830152613b2b81613686565b9050919050565b60006020820190508181036000830152613b4b816136a9565b9050919050565b60006020820190508181036000830152613b6b816136cc565b9050919050565b60006020820190508181036000830152613b8b816136ef565b9050919050565b60006020820190508181036000830152613bab81613712565b9050919050565b60006020820190508181036000830152613bcb81613735565b9050919050565b60006020820190508181036000830152613beb81613758565b9050919050565b6000602082019050613c07600083018461377b565b92915050565b6000613c17613c28565b9050613c238282613edf565b919050565b6000604051905090565b600067ffffffffffffffff821115613c4d57613c4c614017565b5b613c5682614046565b9050602081019050919050565b600067ffffffffffffffff821115613c7e57613c7d614017565b5b613c8782614046565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613ced82613e61565b9150613cf883613e61565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613d2d57613d2c613f8a565b5b828201905092915050565b6000613d4382613e61565b9150613d4e83613e61565b925082613d5e57613d5d613fb9565b5b828204905092915050565b6000613d7482613e61565b9150613d7f83613e61565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613db857613db7613f8a565b5b828202905092915050565b6000613dce82613e61565b9150613dd983613e61565b925082821015613dec57613deb613f8a565b5b828203905092915050565b6000613e0282613e41565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613e98578082015181840152602081019050613e7d565b83811115613ea7576000848401525b50505050565b60006002820490506001821680613ec557607f821691505b60208210811415613ed957613ed8613fe8565b5b50919050565b613ee882614046565b810181811067ffffffffffffffff82111715613f0757613f06614017565b5b80604052505050565b6000613f1b82613e61565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613f4e57613f4d613f8a565b5b600182019050919050565b6000613f6482613e61565b9150613f6f83613e61565b925082613f7f57613f7e613fb9565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4e473a3a4e46543a20546f6f206d616e792076696b696e677320696e2073696e60008201527f676c65207472616e73616374696f6e2e00000000000000000000000000000000602082015250565b7f4e473a3a4e46543a204d696e74696e672063757272656e746c7920646973616260008201527f6c65642e00000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4e473a3a4e46543a205472616e73666572732063757272656e746c792064697360008201527f61626c65642e0000000000000000000000000000000000000000000000000000602082015250565b7f5472616e7366657248656c7065723a3a736166655472616e736665724554483a60008201527f20455448207472616e73666572206661696c6564000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4e473a3a4e46543a204e6f2061646d696e2e0000000000000000000000000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f5472616e7366657248656c7065723a3a73616665417070726f76653a2061707060008201527f726f7665206661696c6564000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f5472616e7366657248656c7065723a3a736166655472616e736665723a20747260008201527f616e73666572206661696c656400000000000000000000000000000000000000602082015250565b7f4e473a3a4e46543a20416c6c2076696b696e67732068617665206265656e206d60008201527f696e7465642e0000000000000000000000000000000000000000000000000000602082015250565b7f4e473a3a4e46543a20496e73756666696369656e742066756e64732e00000000600082015250565b6147f781613df7565b811461480257600080fd5b50565b61480e81613e09565b811461481957600080fd5b50565b61482581613e15565b811461483057600080fd5b50565b61483c81613e61565b811461484757600080fd5b5056fea2646970667358221220f31bf842053c951433b40e54ed896cd2169409c7830f6b450d26a3813d8865a164736f6c6343000804003300000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000011c37937e0800000000000000000000000000000000000000000000000000000000000000002710000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000001f4e6f72746865726e204775696c6473202d204775696c64206f662054686f720000000000000000000000000000000000000000000000000000000000000000084e473a2054686f72000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002f68747470733a2f2f6e6f72746865726e6775696c64732e636f6d2f7072652d6d696e742f6d6574613f696e6465783d0000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101e35760003560e01c80634f6ccce711610102578063a0712d6811610095578063b88d4fde11610064578063b88d4fde146106bd578063c87b56dd146106e6578063df68c1a214610723578063e985e9c51461074e576101e3565b8063a0712d6814610636578063a22cb46514610652578063a88af1d31461067b578063b064ecd914610692576101e3565b806365f2ed7d116100d157806365f2ed7d1461058e57806370a08231146105a557806395d89b41146105e25780639883566e1461060d576101e3565b80634f6ccce7146104c057806355f804b3146104fd57806361795d6a146105265780636352211e14610551576101e3565b806323b872dd1161017a57806342842e0e1161014957806342842e0e1461041a5780634538b174146104435780634782f7791461046e5780634b0bddd214610497576101e3565b806323b872dd1461035e57806326092b83146103875780632f745c59146103b257806339eb7d59146103ef576101e3565b8063095ea7b3116101b6578063095ea7b3146102b8578063162094c4146102e157806318160ddd1461030a5780631add507d14610335576101e3565b806301ffc9a7146101e857806302bf3d561461022557806306fdde0314610250578063081812fc1461027b575b600080fd5b3480156101f457600080fd5b5061020f600480360381019061020a91906131c8565b61078b565b60405161021c9190613855565b60405180910390f35b34801561023157600080fd5b5061023a61079d565b6040516102479190613bf2565b60405180910390f35b34801561025c57600080fd5b506102656107a3565b6040516102729190613870565b60405180910390f35b34801561028757600080fd5b506102a2600480360381019061029d919061325b565b610835565b6040516102af91906137c5565b60405180910390f35b3480156102c457600080fd5b506102df60048036038101906102da9190613163565b6108ba565b005b3480156102ed57600080fd5b5061030860048036038101906103039190613284565b6109d2565b005b34801561031657600080fd5b5061031f610a28565b60405161032c9190613bf2565b60405180910390f35b34801561034157600080fd5b5061035c6004803603810190610357919061305d565b610a35565b005b34801561036a57600080fd5b506103856004803603810190610380919061305d565b610a98565b005b34801561039357600080fd5b5061039c610af8565b6040516103a99190613855565b60405180910390f35b3480156103be57600080fd5b506103d960048036038101906103d49190613163565b610b0b565b6040516103e69190613bf2565b60405180910390f35b3480156103fb57600080fd5b50610404610bb0565b6040516104119190613bf2565b60405180910390f35b34801561042657600080fd5b50610441600480360381019061043c919061305d565b610bb6565b005b34801561044f57600080fd5b50610458610bd6565b6040516104659190613bf2565b60405180910390f35b34801561047a57600080fd5b5061049560048036038101906104909190613163565b610bdc565b005b3480156104a357600080fd5b506104be60048036038101906104b99190613127565b610c32565b005b3480156104cc57600080fd5b506104e760048036038101906104e2919061325b565b610cd5565b6040516104f49190613bf2565b60405180910390f35b34801561050957600080fd5b50610524600480360381019061051f919061321a565b610d6c565b005b34801561053257600080fd5b5061053b610dce565b6040516105489190613870565b60405180910390f35b34801561055d57600080fd5b506105786004803603810190610573919061325b565b610e5c565b60405161058591906137c5565b60405180910390f35b34801561059a57600080fd5b506105a3610f0e565b005b3480156105b157600080fd5b506105cc60048036038101906105c79190612ff8565b610f82565b6040516105d99190613bf2565b60405180910390f35b3480156105ee57600080fd5b506105f761103a565b6040516106049190613870565b60405180910390f35b34801561061957600080fd5b50610634600480360381019061062f9190613163565b6110cc565b005b610650600480360381019061064b919061325b565b611173565b005b34801561065e57600080fd5b5061067960048036038101906106749190613127565b6112b5565b005b34801561068757600080fd5b50610690611436565b005b34801561069e57600080fd5b506106a76114aa565b6040516106b49190613bf2565b60405180910390f35b3480156106c957600080fd5b506106e460048036038101906106df91906130ac565b6114b0565b005b3480156106f257600080fd5b5061070d6004803603810190610708919061325b565b611512565b60405161071a9190613870565b60405180910390f35b34801561072f57600080fd5b50610738611524565b6040516107459190613855565b60405180910390f35b34801561075a57600080fd5b5061077560048036038101906107709190613021565b611537565b6040516107829190613855565b60405180910390f35b6000610796826115cb565b9050919050565b600b5481565b6060600080546107b290613ead565b80601f01602080910402602001604051908101604052809291908181526020018280546107de90613ead565b801561082b5780601f106108005761010080835404028352916020019161082b565b820191906000526020600020905b81548152906001019060200180831161080e57829003601f168201915b5050505050905090565b600061084082611645565b61087f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087690613a92565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108c582610e5c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610936576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092d90613b32565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109556116b1565b73ffffffffffffffffffffffffffffffffffffffff16148061098457506109838161097e6116b1565b611537565b5b6109c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ba906139d2565b60405180910390fd5b6109cd83836116b9565b505050565b6109db33611772565b610a1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1190613ab2565b60405180910390fd5b610a2482826117c8565b5050565b6000600880549050905090565b610a3e33611772565b610a7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7490613ab2565b60405180910390fd5b610a8883838361183c565b610a93838383611972565b505050565b610aa9610aa36116b1565b82611aa8565b610ae8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610adf90613b52565b60405180910390fd5b610af3838383611b86565b505050565b600c60009054906101000a900460ff1681565b6000610b1683610f82565b8210610b57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4e906138d2565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600f5481565b610bd1838383604051806020016040528060008152506114b0565b505050565b600e5481565b610be533611772565b610c24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1b90613ab2565b60405180910390fd5b610c2e8282611de2565b5050565b610c3b33611772565b610c7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7190613ab2565b60405180910390fd5b80601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000610cdf610a28565b8210610d20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1790613b72565b60405180910390fd5b60088281548110610d5a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b610d7533611772565b610db4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dab90613ab2565b60405180910390fd5b8060109080519060200190610dca929190612e07565b5050565b60108054610ddb90613ead565b80601f0160208091040260200160405190810160405280929190818152602001828054610e0790613ead565b8015610e545780601f10610e2957610100808354040283529160200191610e54565b820191906000526020600020905b815481529060010190602001808311610e3757829003601f168201915b505050505081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efc90613a12565b60405180910390fd5b80915050919050565b610f1733611772565b610f56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4d90613ab2565b60405180910390fd5b600c60019054906101000a900460ff1615600c60016101000a81548160ff021916908315150217905550565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610ff3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fea906139f2565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60606001805461104990613ead565b80601f016020809104026020016040519081016040528092919081815260200182805461107590613ead565b80156110c25780601f10611097576101008083540402835291602001916110c2565b820191906000526020600020905b8154815290600101906020018083116110a557829003601f168201915b5050505050905090565b6110d533611772565b611114576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110b90613ab2565b60405180910390fd5b600d5481600b546111259190613ce2565b10611165576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115c90613bb2565b60405180910390fd5b61116f8183611f08565b5050565b600c60009054906101000a900460ff166111c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b9906138b2565b60405180910390fd5b600e54816111d09190613d69565b341015611212576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120990613bd2565b60405180910390fd5b600d5481600b546112239190613ce2565b10611263576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125a90613bb2565b60405180910390fd5b600f548111156112a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129f90613892565b60405180910390fd5b6112b28133611f08565b50565b6112bd6116b1565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561132b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132290613992565b60405180910390fd5b80600560006113386116b1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166113e56116b1565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161142a9190613855565b60405180910390a35050565b61143f33611772565b61147e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147590613ab2565b60405180910390fd5b600c60009054906101000a900460ff1615600c60006101000a81548160ff021916908315150217905550565b600d5481565b6114c16114bb6116b1565b83611aa8565b611500576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f790613b52565b60405180910390fd5b61150c84848484611f4f565b50505050565b606061151d82611fab565b9050919050565b600c60019054906101000a900460ff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061163e575061163d826120fd565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661172c83610e5c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000601160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6117d182611645565b611810576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180790613a32565b60405180910390fd5b80600a60008481526020019081526020016000209080519060200190611837929190612e07565b505050565b6000808473ffffffffffffffffffffffffffffffffffffffff1663095ea7b3858560405160240161186e92919061382c565b6040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040516118bc919061378a565b6000604051808303816000865af19150503d80600081146118f9576040519150601f19603f3d011682016040523d82523d6000602084013e6118fe565b606091505b509150915081801561192c575060008151148061192b57508080602001905181019061192a919061319f565b5b5b61196b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196290613b12565b60405180910390fd5b5050505050565b6000808473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85856040516024016119a492919061382c565b6040516020818303038152906040529060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040516119f2919061378a565b6000604051808303816000865af19150503d8060008114611a2f576040519150601f19603f3d011682016040523d82523d6000602084013e611a34565b606091505b5091509150818015611a625750600081511480611a61575080806020019051810190611a60919061319f565b5b5b611aa1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9890613b92565b60405180910390fd5b5050505050565b6000611ab382611645565b611af2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae9906139b2565b60405180910390fd5b6000611afd83610e5c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611b6c57508373ffffffffffffffffffffffffffffffffffffffff16611b5484610835565b73ffffffffffffffffffffffffffffffffffffffff16145b80611b7d5750611b7c8185611537565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611ba682610e5c565b73ffffffffffffffffffffffffffffffffffffffff1614611bfc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf390613ad2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6390613972565b60405180910390fd5b611c778383836121df565b611c826000826116b9565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611cd29190613dc3565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d299190613ce2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008273ffffffffffffffffffffffffffffffffffffffff1682600067ffffffffffffffff811115611e3d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611e6f5781602001600182028036833780820191505090505b50604051611e7d919061378a565b60006040518083038185875af1925050503d8060008114611eba576040519150601f19603f3d011682016040523d82523d6000602084013e611ebf565b606091505b5050905080611f03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611efa90613952565b60405180910390fd5b505050565b60005b82811015611f4a57611f1f82600b546122ae565b600b6000815480929190611f3290613f10565b91905055508080611f4290613f10565b915050611f0b565b505050565b611f5a848484611b86565b611f668484848461247c565b611fa5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9c906138f2565b60405180910390fd5b50505050565b6060611fb682611645565b611ff5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fec90613a72565b60405180910390fd5b6000600a6000848152602001908152602001600020805461201590613ead565b80601f016020809104026020016040519081016040528092919081815260200182805461204190613ead565b801561208e5780601f106120635761010080835404028352916020019161208e565b820191906000526020600020905b81548152906001019060200180831161207157829003601f168201915b50505050509050600061209f612613565b90506000815114156120b55781925050506120f8565b6000825111156120ea5780826040516020016120d29291906137a1565b604051602081830303815290604052925050506120f8565b6120f3846126a5565b925050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806121c857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806121d857506121d78261274c565b5b9050919050565b6121ea8383836127b6565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156122545750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b156122a957600c60019054906101000a900460ff166122a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229f90613932565b60405180910390fd5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561231e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231590613a52565b60405180910390fd5b61232781611645565b15612367576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235e90613912565b60405180910390fd5b612373600083836121df565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123c39190613ce2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600061249d8473ffffffffffffffffffffffffffffffffffffffff166128ca565b15612606578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026124c66116b1565b8786866040518563ffffffff1660e01b81526004016124e894939291906137e0565b602060405180830381600087803b15801561250257600080fd5b505af192505050801561253357506040513d601f19601f8201168201806040525081019061253091906131f1565b60015b6125b6573d8060008114612563576040519150601f19603f3d011682016040523d82523d6000602084013e612568565b606091505b506000815114156125ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a5906138f2565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061260b565b600190505b949350505050565b60606010805461262290613ead565b80601f016020809104026020016040519081016040528092919081815260200182805461264e90613ead565b801561269b5780601f106126705761010080835404028352916020019161269b565b820191906000526020600020905b81548152906001019060200180831161267e57829003601f168201915b5050505050905090565b60606126b082611645565b6126ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126e690613af2565b60405180910390fd5b60006126f9612613565b905060008151116127195760405180602001604052806000815250612744565b80612723846128dd565b6040516020016127349291906137a1565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6127c1838383612a8a565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612804576127ff81612a8f565b612843565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612842576128418382612ad8565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156128865761288181612c45565b6128c5565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146128c4576128c38282612d88565b5b5b505050565b600080823b905060008111915050919050565b60606000821415612925576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612a85565b600082905060005b6000821461295757808061294090613f10565b915050600a826129509190613d38565b915061292d565b60008167ffffffffffffffff811115612999577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156129cb5781602001600182028036833780820191505090505b5090505b60008514612a7e576001826129e49190613dc3565b9150600a856129f39190613f59565b60306129ff9190613ce2565b60f81b818381518110612a3b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612a779190613d38565b94506129cf565b8093505050505b919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612ae584610f82565b612aef9190613dc3565b9050600060076000848152602001908152602001600020549050818114612bd4576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612c599190613dc3565b9050600060096000848152602001908152602001600020549050600060088381548110612caf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110612cf7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612d6c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612d9383610f82565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054612e1390613ead565b90600052602060002090601f016020900481019282612e355760008555612e7c565b82601f10612e4e57805160ff1916838001178555612e7c565b82800160010185558215612e7c579182015b82811115612e7b578251825591602001919060010190612e60565b5b509050612e899190612e8d565b5090565b5b80821115612ea6576000816000905550600101612e8e565b5090565b6000612ebd612eb884613c32565b613c0d565b905082815260208101848484011115612ed557600080fd5b612ee0848285613e6b565b509392505050565b6000612efb612ef684613c63565b613c0d565b905082815260208101848484011115612f1357600080fd5b612f1e848285613e6b565b509392505050565b600081359050612f35816147ee565b92915050565b600081359050612f4a81614805565b92915050565b600081519050612f5f81614805565b92915050565b600081359050612f748161481c565b92915050565b600081519050612f898161481c565b92915050565b600082601f830112612fa057600080fd5b8135612fb0848260208601612eaa565b91505092915050565b600082601f830112612fca57600080fd5b8135612fda848260208601612ee8565b91505092915050565b600081359050612ff281614833565b92915050565b60006020828403121561300a57600080fd5b600061301884828501612f26565b91505092915050565b6000806040838503121561303457600080fd5b600061304285828601612f26565b925050602061305385828601612f26565b9150509250929050565b60008060006060848603121561307257600080fd5b600061308086828701612f26565b935050602061309186828701612f26565b92505060406130a286828701612fe3565b9150509250925092565b600080600080608085870312156130c257600080fd5b60006130d087828801612f26565b94505060206130e187828801612f26565b93505060406130f287828801612fe3565b925050606085013567ffffffffffffffff81111561310f57600080fd5b61311b87828801612f8f565b91505092959194509250565b6000806040838503121561313a57600080fd5b600061314885828601612f26565b925050602061315985828601612f3b565b9150509250929050565b6000806040838503121561317657600080fd5b600061318485828601612f26565b925050602061319585828601612fe3565b9150509250929050565b6000602082840312156131b157600080fd5b60006131bf84828501612f50565b91505092915050565b6000602082840312156131da57600080fd5b60006131e884828501612f65565b91505092915050565b60006020828403121561320357600080fd5b600061321184828501612f7a565b91505092915050565b60006020828403121561322c57600080fd5b600082013567ffffffffffffffff81111561324657600080fd5b61325284828501612fb9565b91505092915050565b60006020828403121561326d57600080fd5b600061327b84828501612fe3565b91505092915050565b6000806040838503121561329757600080fd5b60006132a585828601612fe3565b925050602083013567ffffffffffffffff8111156132c257600080fd5b6132ce85828601612fb9565b9150509250929050565b6132e181613df7565b82525050565b6132f081613e09565b82525050565b600061330182613c94565b61330b8185613caa565b935061331b818560208601613e7a565b61332481614046565b840191505092915050565b600061333a82613c94565b6133448185613cbb565b9350613354818560208601613e7a565b80840191505092915050565b600061336b82613c9f565b6133758185613cc6565b9350613385818560208601613e7a565b61338e81614046565b840191505092915050565b60006133a482613c9f565b6133ae8185613cd7565b93506133be818560208601613e7a565b80840191505092915050565b60006133d7603083613cc6565b91506133e282614057565b604082019050919050565b60006133fa602483613cc6565b9150613405826140a6565b604082019050919050565b600061341d602b83613cc6565b9150613428826140f5565b604082019050919050565b6000613440603283613cc6565b915061344b82614144565b604082019050919050565b6000613463601c83613cc6565b915061346e82614193565b602082019050919050565b6000613486602683613cc6565b9150613491826141bc565b604082019050919050565b60006134a9603483613cc6565b91506134b48261420b565b604082019050919050565b60006134cc602483613cc6565b91506134d78261425a565b604082019050919050565b60006134ef601983613cc6565b91506134fa826142a9565b602082019050919050565b6000613512602c83613cc6565b915061351d826142d2565b604082019050919050565b6000613535603883613cc6565b915061354082614321565b604082019050919050565b6000613558602a83613cc6565b915061356382614370565b604082019050919050565b600061357b602983613cc6565b9150613586826143bf565b604082019050919050565b600061359e602e83613cc6565b91506135a98261440e565b604082019050919050565b60006135c1602083613cc6565b91506135cc8261445d565b602082019050919050565b60006135e4603183613cc6565b91506135ef82614486565b604082019050919050565b6000613607602c83613cc6565b9150613612826144d5565b604082019050919050565b600061362a601283613cc6565b915061363582614524565b602082019050919050565b600061364d602983613cc6565b91506136588261454d565b604082019050919050565b6000613670602f83613cc6565b915061367b8261459c565b604082019050919050565b6000613693602b83613cc6565b915061369e826145eb565b604082019050919050565b60006136b6602183613cc6565b91506136c18261463a565b604082019050919050565b60006136d9603183613cc6565b91506136e482614689565b604082019050919050565b60006136fc602c83613cc6565b9150613707826146d8565b604082019050919050565b600061371f602d83613cc6565b915061372a82614727565b604082019050919050565b6000613742602683613cc6565b915061374d82614776565b604082019050919050565b6000613765601c83613cc6565b9150613770826147c5565b602082019050919050565b61378481613e61565b82525050565b6000613796828461332f565b915081905092915050565b60006137ad8285613399565b91506137b98284613399565b91508190509392505050565b60006020820190506137da60008301846132d8565b92915050565b60006080820190506137f560008301876132d8565b61380260208301866132d8565b61380f604083018561377b565b818103606083015261382181846132f6565b905095945050505050565b600060408201905061384160008301856132d8565b61384e602083018461377b565b9392505050565b600060208201905061386a60008301846132e7565b92915050565b6000602082019050818103600083015261388a8184613360565b905092915050565b600060208201905081810360008301526138ab816133ca565b9050919050565b600060208201905081810360008301526138cb816133ed565b9050919050565b600060208201905081810360008301526138eb81613410565b9050919050565b6000602082019050818103600083015261390b81613433565b9050919050565b6000602082019050818103600083015261392b81613456565b9050919050565b6000602082019050818103600083015261394b81613479565b9050919050565b6000602082019050818103600083015261396b8161349c565b9050919050565b6000602082019050818103600083015261398b816134bf565b9050919050565b600060208201905081810360008301526139ab816134e2565b9050919050565b600060208201905081810360008301526139cb81613505565b9050919050565b600060208201905081810360008301526139eb81613528565b9050919050565b60006020820190508181036000830152613a0b8161354b565b9050919050565b60006020820190508181036000830152613a2b8161356e565b9050919050565b60006020820190508181036000830152613a4b81613591565b9050919050565b60006020820190508181036000830152613a6b816135b4565b9050919050565b60006020820190508181036000830152613a8b816135d7565b9050919050565b60006020820190508181036000830152613aab816135fa565b9050919050565b60006020820190508181036000830152613acb8161361d565b9050919050565b60006020820190508181036000830152613aeb81613640565b9050919050565b60006020820190508181036000830152613b0b81613663565b9050919050565b60006020820190508181036000830152613b2b81613686565b9050919050565b60006020820190508181036000830152613b4b816136a9565b9050919050565b60006020820190508181036000830152613b6b816136cc565b9050919050565b60006020820190508181036000830152613b8b816136ef565b9050919050565b60006020820190508181036000830152613bab81613712565b9050919050565b60006020820190508181036000830152613bcb81613735565b9050919050565b60006020820190508181036000830152613beb81613758565b9050919050565b6000602082019050613c07600083018461377b565b92915050565b6000613c17613c28565b9050613c238282613edf565b919050565b6000604051905090565b600067ffffffffffffffff821115613c4d57613c4c614017565b5b613c5682614046565b9050602081019050919050565b600067ffffffffffffffff821115613c7e57613c7d614017565b5b613c8782614046565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613ced82613e61565b9150613cf883613e61565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613d2d57613d2c613f8a565b5b828201905092915050565b6000613d4382613e61565b9150613d4e83613e61565b925082613d5e57613d5d613fb9565b5b828204905092915050565b6000613d7482613e61565b9150613d7f83613e61565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613db857613db7613f8a565b5b828202905092915050565b6000613dce82613e61565b9150613dd983613e61565b925082821015613dec57613deb613f8a565b5b828203905092915050565b6000613e0282613e41565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613e98578082015181840152602081019050613e7d565b83811115613ea7576000848401525b50505050565b60006002820490506001821680613ec557607f821691505b60208210811415613ed957613ed8613fe8565b5b50919050565b613ee882614046565b810181811067ffffffffffffffff82111715613f0757613f06614017565b5b80604052505050565b6000613f1b82613e61565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613f4e57613f4d613f8a565b5b600182019050919050565b6000613f6482613e61565b9150613f6f83613e61565b925082613f7f57613f7e613fb9565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4e473a3a4e46543a20546f6f206d616e792076696b696e677320696e2073696e60008201527f676c65207472616e73616374696f6e2e00000000000000000000000000000000602082015250565b7f4e473a3a4e46543a204d696e74696e672063757272656e746c7920646973616260008201527f6c65642e00000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4e473a3a4e46543a205472616e73666572732063757272656e746c792064697360008201527f61626c65642e0000000000000000000000000000000000000000000000000000602082015250565b7f5472616e7366657248656c7065723a3a736166655472616e736665724554483a60008201527f20455448207472616e73666572206661696c6564000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4e473a3a4e46543a204e6f2061646d696e2e0000000000000000000000000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f5472616e7366657248656c7065723a3a73616665417070726f76653a2061707060008201527f726f7665206661696c6564000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f5472616e7366657248656c7065723a3a736166655472616e736665723a20747260008201527f616e73666572206661696c656400000000000000000000000000000000000000602082015250565b7f4e473a3a4e46543a20416c6c2076696b696e67732068617665206265656e206d60008201527f696e7465642e0000000000000000000000000000000000000000000000000000602082015250565b7f4e473a3a4e46543a20496e73756666696369656e742066756e64732e00000000600082015250565b6147f781613df7565b811461480257600080fd5b50565b61480e81613e09565b811461481957600080fd5b50565b61482581613e15565b811461483057600080fd5b50565b61483c81613e61565b811461484757600080fd5b5056fea2646970667358221220f31bf842053c951433b40e54ed896cd2169409c7830f6b450d26a3813d8865a164736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000011c37937e0800000000000000000000000000000000000000000000000000000000000000002710000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000001f4e6f72746865726e204775696c6473202d204775696c64206f662054686f720000000000000000000000000000000000000000000000000000000000000000084e473a2054686f72000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002f68747470733a2f2f6e6f72746865726e6775696c64732e636f6d2f7072652d6d696e742f6d6574613f696e6465783d0000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): Northern Guilds - Guild of Thor
Arg [1] : symbol (string): NG: Thor
Arg [2] : _pricePerViking (uint256): 80000000000000000
Arg [3] : _maxVikings (uint256): 10000
Arg [4] : _maxVikingPerTransaction (uint256): 10
Arg [5] : _baseUri (string): https://northernguilds.com/pre-mint/meta?index=
-----Encoded View---------------
13 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 000000000000000000000000000000000000000000000000011c37937e080000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [6] : 000000000000000000000000000000000000000000000000000000000000001f
Arg [7] : 4e6f72746865726e204775696c6473202d204775696c64206f662054686f7200
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [9] : 4e473a2054686f72000000000000000000000000000000000000000000000000
Arg [10] : 000000000000000000000000000000000000000000000000000000000000002f
Arg [11] : 68747470733a2f2f6e6f72746865726e6775696c64732e636f6d2f7072652d6d
Arg [12] : 696e742f6d6574613f696e6465783d0000000000000000000000000000000000
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.