Note: Our ether balance display is temporarily unavailable. Please check back later.
Overview
ETH Balance
Ether balance is temporarily unavailable. Please check back later.
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 1,560 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Safe Transfer Fr... | 21110582 | 20 days ago | IN | 0 ETH | 0.00037584 | ||||
Set Approval For... | 20988767 | 37 days ago | IN | 0 ETH | 0.0004169 | ||||
Set Approval For... | 20951053 | 42 days ago | IN | 0 ETH | 0.00105295 | ||||
Transfer From | 20634928 | 86 days ago | IN | 0 ETH | 0.0003664 | ||||
Set Approval For... | 20499919 | 105 days ago | IN | 0 ETH | 0.0000751 | ||||
Safe Transfer Fr... | 20499409 | 105 days ago | IN | 0 ETH | 0.00019867 | ||||
Set Approval For... | 20259104 | 138 days ago | IN | 0 ETH | 0.00006239 | ||||
Set Approval For... | 20192471 | 148 days ago | IN | 0 ETH | 0.00011948 | ||||
Set Approval For... | 20074597 | 164 days ago | IN | 0 ETH | 0.0004128 | ||||
Set Approval For... | 19932593 | 184 days ago | IN | 0 ETH | 0.00077163 | ||||
Set Approval For... | 19820937 | 200 days ago | IN | 0 ETH | 0.0001405 | ||||
Set Approval For... | 19820937 | 200 days ago | IN | 0 ETH | 0.00024479 | ||||
Set Approval For... | 19810978 | 201 days ago | IN | 0 ETH | 0.00026276 | ||||
Set Approval For... | 19618100 | 228 days ago | IN | 0 ETH | 0.00118753 | ||||
Set Approval For... | 19602882 | 230 days ago | IN | 0 ETH | 0.00063403 | ||||
Set Approval For... | 19087519 | 302 days ago | IN | 0 ETH | 0.00046198 | ||||
Set Approval For... | 19087517 | 302 days ago | IN | 0 ETH | 0.00043824 | ||||
Set Approval For... | 18802989 | 342 days ago | IN | 0 ETH | 0.00086076 | ||||
Transfer From | 17893866 | 470 days ago | IN | 0 ETH | 0.00187976 | ||||
Set Approval For... | 17555852 | 517 days ago | IN | 0 ETH | 0.0002961 | ||||
Set Approval For... | 17501331 | 525 days ago | IN | 0 ETH | 0.00072903 | ||||
Set Approval For... | 17055394 | 588 days ago | IN | 0 ETH | 0.0010663 | ||||
Transfer From | 16897477 | 610 days ago | IN | 0 ETH | 0.00183497 | ||||
Set Approval For... | 16542806 | 660 days ago | IN | 0 ETH | 0.00095123 | ||||
Set Approval For... | 16507440 | 665 days ago | IN | 0 ETH | 0.0006852 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
GBATraps
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./GBAWhitelist.sol"; /// @author Andrew Parker /// @title Ghost Busters: Traps NFT contract contract GBATraps is ERC721, Ownable, ERC721Enumerable{ constructor( string memory _uriBase, string memory _uriSuffix, address _whitelist ) ERC721("Ghostbusters: Afterlife Ghost Traps","GBAGT"){ __uriBase = _uriBase; __uriSuffix = _uriSuffix; whitelist = _whitelist; } event PauseTraps(bool _pause); address miniStayPuft; // MiniStayPuft contract; address whitelist; // Whitlelist contract string __uriBase; // Metadata URI base string __uriSuffix; // Metadata URI suffix bool public saleStarted; // Has sale started uint public whitelistEndTime; // Time when tokens become publically available mapping(address => bool) public hasMinted; // Has a given address minted uint constant TOKEN_MAX = 1000; // Number of tokens that can exist uint constant TOKENS_GIVEAWAY = 50 ; // Number of tokens that can be given away uint public tokensClaimed; // Number of tokens claimed uint tokensGiven; // Number of tokens given uint tokensMinted; // Total number of tokens minted enum State { Paused, Whitelist, Public, Final} /// Mint Giveaway /// @notice Mint tokens for giveaway /// @param numTokens Number of tokens to mint function mintGiveaway(uint numTokens) public onlyOwner { require(tokensGiven + numTokens <= TOKENS_GIVEAWAY,"tokensGiven"); for(uint i = 0; i < numTokens; i++){ tokensGiven++; _mint(msg.sender,++tokensMinted); } } /// Use trap /// @notice Function called by MSP when trapping mob /// @dev burns a token, can only be called by MSP /// @param trapper Address of trapper, burns one of their tokens function useTrap(address trapper) public{ require(balanceOf(trapper) > 0,"No trap"); require(msg.sender == miniStayPuft,"Traps: sender"); _burn(tokenOfOwnerByIndex(trapper,0)); } /// Mint a Trap (Whitelisted) /// @notice Mint a Token if you're on the whitelist. Must be after sale has started. /// @param merkleProof merkle proof for your address in the whitelist function mintWhitelisted(bytes32[] memory merkleProof) public{ require(saleStarted,"saleStarted"); require(tokensClaimed < TOKEN_MAX - TOKENS_GIVEAWAY,"tokensClaimed"); require(!hasMinted[msg.sender],"minted"); require(GBAWhitelist(whitelist).isWhitelisted(merkleProof,msg.sender),"whitelist"); tokensClaimed++; hasMinted[msg.sender] = true; _mint(msg.sender,++tokensMinted); } /// Mint a Trap (Public) /// @notice Mint a Token if you're on the whitelist. Must be after whitelistEndTime. function mintPublic() public { require(saleStarted,"saleStarted"); require(block.timestamp > whitelistEndTime,"whitelistEndTime"); require(tokensClaimed < TOKEN_MAX - TOKENS_GIVEAWAY,"tokensClaimed"); require(!hasMinted[msg.sender],"minted"); tokensClaimed++; hasMinted[msg.sender] = true; _mint(msg.sender,++tokensMinted); } /// Countdown /// @notice Get seconds until end of whitelist, 0 if sale not started function countdown() public view returns(uint){ if(!saleStarted || whitelistEndTime == 0){ return 0; }else if(whitelistEndTime < block.timestamp){ return 0; }else{ return whitelistEndTime - block.timestamp; } } /// Start Sale /// @notice Start whitelisted giveaway function startSale() public onlyOwner{ saleStarted = true; whitelistEndTime = block.timestamp + 1 days; emit PauseTraps(false); } /// Pause Sale /// @notice Pause whitelisted giveaway function pauseSale() public onlyOwner{ saleStarted = false; emit PauseTraps(true); } /// Set Mini Stay Puft /// @notice Specify address of MSP contract function setMiniStayPuft(address _miniStayPuft) public onlyOwner{ miniStayPuft = _miniStayPuft; } /// Mint State /// @notice Get current mint state /// @return State (enum value) function mintState() public view returns(State){ if(tokensClaimed == TOKEN_MAX - TOKENS_GIVEAWAY){ return State.Final; }else if(!saleStarted){ return State.Paused; }else if(block.timestamp < whitelistEndTime){ return State.Whitelist; }else{ return State.Public; } } /// Token URI /// @notice ERC721 Metadata function /// @param _tokenId ID of token to check /// @return URI (string) function tokenURI(uint256 _tokenId) public view override returns (string memory){ require(_exists(_tokenId),"exists"); if(_tokenId == 0){ return string(abi.encodePacked(__uriBase,bytes("0"),__uriSuffix)); } uint _i = _tokenId; uint j = _i; uint len; while (j != 0) { len++; j /= 10; } bytes memory bstr = new bytes(len); uint k = len; while (_i != 0) { k = k-1; uint8 temp = (48 + uint8(_i - _i / 10 * 10)); bytes1 b1 = bytes1(temp); bstr[k] = b1; _i /= 10; } return string(abi.encodePacked(__uriBase,bstr,__uriSuffix)); } /// Update URI /// @notice Update URI base and suffix /// @param _uriBase URI base /// @param _uriSuffix URI suffix /// @dev Pushing size limits, so rather than having an explicit lock function, it can be implicit by renouncing ownership. function updateURI(string memory _uriBase, string memory _uriSuffix) public onlyOwner{ __uriBase = _uriBase; __uriSuffix = _uriSuffix; } /// Supports Interface /// @notice Override ERC-165 function for conflict /// @param interfaceId Interface ID to check /// @return bool Contract supports this interface function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) { return ERC721Enumerable.supportsInterface(interfaceId); } /// Before Token Transfer /// @notice Override OpenZeppelin function conflict /// @param from from /// @param to to /// @param tokenId tokenId function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal override(ERC721, ERC721Enumerable){ ERC721Enumerable._beforeTokenTransfer(from,to,tokenId); } }
// 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 "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
//SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; /// @author Andrew Parker /// @title GBA Whitelist NFT Contract /// @notice Implementation of OpenZeppelin MerkleProof contract for GBA MiniStayPuft and Traps NFTs contract GBAWhitelist{ bytes32 merkleRoot; /// Constructor /// @param _merkleRoot root of merkle tree constructor(bytes32 _merkleRoot){ merkleRoot = _merkleRoot; } /// Is Whitelisted /// @notice Is a given address whitelisted based on proof provided /// @param proof Merkle proof /// @param claimer address to check /// @return Is whitelisted function isWhitelisted(bytes32[] memory proof, address claimer) public view returns(bool){ bytes32 leaf = keccak256(abi.encodePacked(claimer)); return MerkleProof.verify(proof,merkleRoot,leaf); } }
// 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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } // Check if the computed hash (root) is equal to the provided root return computedHash == root; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_uriBase","type":"string"},{"internalType":"string","name":"_uriSuffix","type":"string"},{"internalType":"address","name":"_whitelist","type":"address"}],"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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"_pause","type":"bool"}],"name":"PauseTraps","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":"countdown","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"hasMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"mintGiveaway","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintState","outputs":[{"internalType":"enum GBATraps.State","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mintWhitelisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauseSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_miniStayPuft","type":"address"}],"name":"setMiniStayPuft","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriBase","type":"string"},{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"updateURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"trapper","type":"address"}],"name":"useTrap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162004f5f38038062004f5f83398181016040528101906200003791906200035e565b60405180606001604052806023815260200162004f3c602391396040518060400160405280600581526020017f474241475400000000000000000000000000000000000000000000000000000081525081600090805190602001906200009f92919062000225565b508060019080519060200190620000b892919062000225565b505050620000db620000cf6200015760201b60201c565b6200015f60201b60201c565b82600d9080519060200190620000f392919062000225565b5081600e90805190602001906200010c92919062000225565b5080600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050620005a4565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200023390620004af565b90600052602060002090601f016020900481019282620002575760008555620002a3565b82601f106200027257805160ff1916838001178555620002a3565b82800160010185558215620002a3579182015b82811115620002a257825182559160200191906001019062000285565b5b509050620002b29190620002b6565b5090565b5b80821115620002d1576000816000905550600101620002b7565b5090565b6000620002ec620002e6846200040f565b620003e6565b9050828152602081018484840111156200030557600080fd5b6200031284828562000479565b509392505050565b6000815190506200032b816200058a565b92915050565b600082601f8301126200034357600080fd5b815162000355848260208601620002d5565b91505092915050565b6000806000606084860312156200037457600080fd5b600084015167ffffffffffffffff8111156200038f57600080fd5b6200039d8682870162000331565b935050602084015167ffffffffffffffff811115620003bb57600080fd5b620003c98682870162000331565b9250506040620003dc868287016200031a565b9150509250925092565b6000620003f262000405565b9050620004008282620004e5565b919050565b6000604051905090565b600067ffffffffffffffff8211156200042d576200042c6200054a565b5b620004388262000579565b9050602081019050919050565b6000620004528262000459565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b83811015620004995780820151818401526020810190506200047c565b83811115620004a9576000848401525b50505050565b60006002820490506001821680620004c857607f821691505b60208210811415620004df57620004de6200051b565b5b50919050565b620004f08262000579565b810181811067ffffffffffffffff821117156200051257620005116200054a565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b620005958162000445565b8114620005a157600080fd5b50565b61498880620005b46000396000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c8063715018a61161011a578063b8254da5116100ad578063cba888721161007c578063cba8887214610576578063e985e9c514610594578063ebdfd722146105c4578063f2fde38b146105e2578063f59195e7146105fe576101fb565b8063b8254da5146104f0578063b88d4fde1461050c578063c051e38a14610528578063c87b56dd14610546576101fb565b806395d89b41116100e957806395d89b411461048e578063a22cb465146104ac578063b44df72d146104c8578063b66a0e5d146104e6576101fb565b8063715018a6146104405780637af66cec1461044a5780638c874ebd146104665780638da5cb5b14610470576101fb565b806338e21cce1161019257806355cc51861161016157806355cc5186146103a65780635c474f9e146103c25780636352211e146103e057806370a0823114610410576101fb565b806338e21cce1461032057806342842e0e146103505780634f6ccce71461036c57806355367ba91461039c576101fb565b80631789e2d8116101ce5780631789e2d81461029a57806318160ddd146102b657806323b872dd146102d45780632f745c59146102f0576101fb565b806301ffc9a71461020057806306fdde0314610230578063081812fc1461024e578063095ea7b31461027e575b600080fd5b61021a600480360381019061021591906132ab565b61061a565b60405161022791906139cb565b60405180910390f35b61023861062c565b6040516102459190613a01565b60405180910390f35b61026860048036038101906102639190613369565b6106be565b6040516102759190613934565b60405180910390f35b61029860048036038101906102939190613205565b610743565b005b6102b460048036038101906102af91906132fd565b61085b565b005b6102be610909565b6040516102cb9190613d63565b60405180910390f35b6102ee60048036038101906102e991906130ff565b610916565b005b61030a60048036038101906103059190613205565b610976565b6040516103179190613d63565b60405180910390f35b61033a6004803603810190610335919061309a565b610a1b565b60405161034791906139cb565b60405180910390f35b61036a600480360381019061036591906130ff565b610a3b565b005b61038660048036038101906103819190613369565b610a5b565b6040516103939190613d63565b60405180910390f35b6103a4610af2565b005b6103c060048036038101906103bb919061309a565b610bc3565b005b6103ca610cb4565b6040516103d791906139cb565b60405180910390f35b6103fa60048036038101906103f59190613369565b610cc7565b6040516104079190613934565b60405180910390f35b61042a6004803603810190610425919061309a565b610d79565b6040516104379190613d63565b60405180910390f35b610448610e31565b005b610464600480360381019061045f9190613369565b610eb9565b005b61046e610fde565b005b6104786111e0565b6040516104859190613934565b60405180910390f35b61049661120a565b6040516104a39190613a01565b60405180910390f35b6104c660048036038101906104c191906131c9565b61129c565b005b6104d061141d565b6040516104dd9190613d63565b60405180910390f35b6104ee611423565b005b61050a6004803603810190610505919061309a565b611509565b005b6105266004803603810190610521919061314e565b6115c9565b005b61053061162b565b60405161053d91906139e6565b60405180910390f35b610560600480360381019061055b9190613369565b611686565b60405161056d9190613a01565b60405180910390f35b61057e6118f3565b60405161058b9190613d63565b60405180910390f35b6105ae60048036038101906105a991906130c3565b611948565b6040516105bb91906139cb565b60405180910390f35b6105cc6119dc565b6040516105d99190613d63565b60405180910390f35b6105fc60048036038101906105f7919061309a565b6119e2565b005b61061860048036038101906106139190613241565b611ada565b005b600061062582611d85565b9050919050565b60606000805461063b9061410b565b80601f01602080910402602001604051908101604052809291908181526020018280546106679061410b565b80156106b45780601f10610689576101008083540402835291602001916106b4565b820191906000526020600020905b81548152906001019060200180831161069757829003601f168201915b5050505050905090565b60006106c982611dff565b610708576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ff90613c63565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061074e82610cc7565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107b690613cc3565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166107de611e6b565b73ffffffffffffffffffffffffffffffffffffffff16148061080d575061080c81610807611e6b565b611948565b5b61084c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161084390613ba3565b60405180910390fd5b6108568383611e73565b505050565b610863611e6b565b73ffffffffffffffffffffffffffffffffffffffff166108816111e0565b73ffffffffffffffffffffffffffffffffffffffff16146108d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ce90613c83565b60405180910390fd5b81600d90805190602001906108ed929190612dfe565b5080600e9080519060200190610904929190612dfe565b505050565b6000600980549050905090565b610927610921611e6b565b82611f2c565b610966576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095d90613ce3565b60405180910390fd5b61097183838361200a565b505050565b600061098183610d79565b82106109c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b990613a63565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60116020528060005260406000206000915054906101000a900460ff1681565b610a56838383604051806020016040528060008152506115c9565b505050565b6000610a65610909565b8210610aa6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9d90613d03565b60405180910390fd5b60098281548110610ae0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b610afa611e6b565b73ffffffffffffffffffffffffffffffffffffffff16610b186111e0565b73ffffffffffffffffffffffffffffffffffffffff1614610b6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6590613c83565b60405180910390fd5b6000600f60006101000a81548160ff0219169083151502179055507fe59500bcbe87c20654fc7d9184034d12ea27cb63005fa70e231f1c5e2aa7e31c6001604051610bb991906139cb565b60405180910390a1565b6000610bce82610d79565b11610c0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0590613c03565b60405180910390fd5b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610c9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9590613a43565b60405180910390fd5b610cb1610cac826000610976565b612266565b50565b600f60009054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6790613be3565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610dea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de190613bc3565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610e39611e6b565b73ffffffffffffffffffffffffffffffffffffffff16610e576111e0565b73ffffffffffffffffffffffffffffffffffffffff1614610ead576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea490613c83565b60405180910390fd5b610eb76000612377565b565b610ec1611e6b565b73ffffffffffffffffffffffffffffffffffffffff16610edf6111e0565b73ffffffffffffffffffffffffffffffffffffffff1614610f35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2c90613c83565b60405180910390fd5b603281601354610f459190613ecd565b1115610f86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7d90613d43565b60405180910390fd5b60005b81811015610fda5760136000815480929190610fa49061416e565b9190505550610fc733601460008154610fbc9061416e565b91905081905561243d565b8080610fd29061416e565b915050610f89565b5050565b600f60009054906101000a900460ff1661102d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102490613b83565b60405180910390fd5b6010544211611071576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106890613ae3565b60405180910390fd5b60326103e86110809190613fe5565b601254106110c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ba90613c43565b60405180910390fd5b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611150576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114790613d23565b60405180910390fd5b601260008154809291906111639061416e565b91905055506001601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506111de336014600081546111d39061416e565b91905081905561243d565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546112199061410b565b80601f01602080910402602001604051908101604052809291908181526020018280546112459061410b565b80156112925780601f1061126757610100808354040283529160200191611292565b820191906000526020600020905b81548152906001019060200180831161127557829003601f168201915b5050505050905090565b6112a4611e6b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611312576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130990613b23565b60405180910390fd5b806005600061131f611e6b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166113cc611e6b565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161141191906139cb565b60405180910390a35050565b60125481565b61142b611e6b565b73ffffffffffffffffffffffffffffffffffffffff166114496111e0565b73ffffffffffffffffffffffffffffffffffffffff161461149f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149690613c83565b60405180910390fd5b6001600f60006101000a81548160ff02191690831515021790555062015180426114c99190613ecd565b6010819055507fe59500bcbe87c20654fc7d9184034d12ea27cb63005fa70e231f1c5e2aa7e31c60006040516114ff91906139cb565b60405180910390a1565b611511611e6b565b73ffffffffffffffffffffffffffffffffffffffff1661152f6111e0565b73ffffffffffffffffffffffffffffffffffffffff1614611585576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157c90613c83565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6115da6115d4611e6b565b83611f2c565b611619576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161090613ce3565b60405180910390fd5b6116258484848461260b565b50505050565b600060326103e861163c9190613fe5565b601254141561164e5760039050611683565b600f60009054906101000a900460ff1661166b5760009050611683565b60105442101561167e5760019050611683565b600290505b90565b606061169182611dff565b6116d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c790613a23565b60405180910390fd5b600082141561173b57600d6040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250600e60405160200161172593929190613903565b60405160208183030381529060405290506118ee565b6000829050600081905060005b6000821461177257808061175b9061416e565b915050600a8261176b9190613f5a565b9150611748565b60008167ffffffffffffffff8111156117b4577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156117e65781602001600182028036833780820191505090505b50905060008290505b600085146118c0576001816118049190613fe5565b90506000600a80876118169190613f5a565b6118209190613f8b565b8661182b9190613fe5565b60306118379190613f23565b905060008160f81b90508084848151811061187b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a876118b79190613f5a565b965050506117ef565b600d82600e6040516020016118d793929190613903565b604051602081830303815290604052955050505050505b919050565b6000600f60009054906101000a900460ff16158061191357506000601054145b156119215760009050611945565b4260105410156119345760009050611945565b426010546119429190613fe5565b90505b90565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60105481565b6119ea611e6b565b73ffffffffffffffffffffffffffffffffffffffff16611a086111e0565b73ffffffffffffffffffffffffffffffffffffffff1614611a5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5590613c83565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611ace576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac590613aa3565b60405180910390fd5b611ad781612377565b50565b600f60009054906101000a900460ff16611b29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2090613b83565b60405180910390fd5b60326103e8611b389190613fe5565b60125410611b7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7290613c43565b60405180910390fd5b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611c08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bff90613d23565b60405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663debefaa682336040518363ffffffff1660e01b8152600401611c6592919061399b565b60206040518083038186803b158015611c7d57600080fd5b505afa158015611c91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cb59190613282565b611cf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ceb90613b43565b60405180910390fd5b60126000815480929190611d079061416e565b91905055506001601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611d8233601460008154611d779061416e565b91905081905561243d565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611df85750611df782612667565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611ee683610cc7565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611f3782611dff565b611f76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6d90613b63565b60405180910390fd5b6000611f8183610cc7565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611ff057508373ffffffffffffffffffffffffffffffffffffffff16611fd8846106be565b73ffffffffffffffffffffffffffffffffffffffff16145b8061200157506120008185611948565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661202a82610cc7565b73ffffffffffffffffffffffffffffffffffffffff1614612080576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207790613ca3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e790613b03565b60405180910390fd5b6120fb838383612749565b612106600082611e73565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121569190613fe5565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121ad9190613ecd565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061227182610cc7565b905061227f81600084612749565b61228a600083611e73565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122da9190613fe5565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156124ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a490613c23565b60405180910390fd5b6124b681611dff565b156124f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ed90613ac3565b60405180910390fd5b61250260008383612749565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125529190613ecd565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b61261684848461200a565b61262284848484612759565b612661576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265890613a83565b60405180910390fd5b50505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061273257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806127425750612741826128f0565b5b9050919050565b61275483838361295a565b505050565b600061277a8473ffffffffffffffffffffffffffffffffffffffff16612a6e565b156128e3578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026127a3611e6b565b8786866040518563ffffffff1660e01b81526004016127c5949392919061394f565b602060405180830381600087803b1580156127df57600080fd5b505af192505050801561281057506040513d601f19601f8201168201806040525081019061280d91906132d4565b60015b612893573d8060008114612840576040519150601f19603f3d011682016040523d82523d6000602084013e612845565b606091505b5060008151141561288b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161288290613a83565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506128e8565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612965838383612a81565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156129a8576129a381612a86565b6129e7565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146129e6576129e58382612acf565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a2a57612a2581612c3c565b612a69565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612a6857612a678282612d7f565b5b5b505050565b600080823b905060008111915050919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612adc84610d79565b612ae69190613fe5565b9050600060086000848152602001908152602001600020549050818114612bcb576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600980549050612c509190613fe5565b90506000600a6000848152602001908152602001600020549050600060098381548110612ca6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060098381548110612cee577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a6000858152602001908152602001600020600090556009805480612d63577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612d8a83610d79565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b828054612e0a9061410b565b90600052602060002090601f016020900481019282612e2c5760008555612e73565b82601f10612e4557805160ff1916838001178555612e73565b82800160010185558215612e73579182015b82811115612e72578251825591602001919060010190612e57565b5b509050612e809190612e84565b5090565b5b80821115612e9d576000816000905550600101612e85565b5090565b6000612eb4612eaf84613da3565b613d7e565b90508083825260208201905082856020860282011115612ed357600080fd5b60005b85811015612f035781612ee98882612ff2565b845260208401935060208301925050600181019050612ed6565b5050509392505050565b6000612f20612f1b84613dcf565b613d7e565b905082815260208101848484011115612f3857600080fd5b612f438482856140c9565b509392505050565b6000612f5e612f5984613e00565b613d7e565b905082815260208101848484011115612f7657600080fd5b612f818482856140c9565b509392505050565b600081359050612f98816148df565b92915050565b600082601f830112612faf57600080fd5b8135612fbf848260208601612ea1565b91505092915050565b600081359050612fd7816148f6565b92915050565b600081519050612fec816148f6565b92915050565b6000813590506130018161490d565b92915050565b60008135905061301681614924565b92915050565b60008151905061302b81614924565b92915050565b600082601f83011261304257600080fd5b8135613052848260208601612f0d565b91505092915050565b600082601f83011261306c57600080fd5b813561307c848260208601612f4b565b91505092915050565b6000813590506130948161493b565b92915050565b6000602082840312156130ac57600080fd5b60006130ba84828501612f89565b91505092915050565b600080604083850312156130d657600080fd5b60006130e485828601612f89565b92505060206130f585828601612f89565b9150509250929050565b60008060006060848603121561311457600080fd5b600061312286828701612f89565b935050602061313386828701612f89565b925050604061314486828701613085565b9150509250925092565b6000806000806080858703121561316457600080fd5b600061317287828801612f89565b945050602061318387828801612f89565b935050604061319487828801613085565b925050606085013567ffffffffffffffff8111156131b157600080fd5b6131bd87828801613031565b91505092959194509250565b600080604083850312156131dc57600080fd5b60006131ea85828601612f89565b92505060206131fb85828601612fc8565b9150509250929050565b6000806040838503121561321857600080fd5b600061322685828601612f89565b925050602061323785828601613085565b9150509250929050565b60006020828403121561325357600080fd5b600082013567ffffffffffffffff81111561326d57600080fd5b61327984828501612f9e565b91505092915050565b60006020828403121561329457600080fd5b60006132a284828501612fdd565b91505092915050565b6000602082840312156132bd57600080fd5b60006132cb84828501613007565b91505092915050565b6000602082840312156132e657600080fd5b60006132f48482850161301c565b91505092915050565b6000806040838503121561331057600080fd5b600083013567ffffffffffffffff81111561332a57600080fd5b6133368582860161305b565b925050602083013567ffffffffffffffff81111561335357600080fd5b61335f8582860161305b565b9150509250929050565b60006020828403121561337b57600080fd5b600061338984828501613085565b91505092915050565b600061339e8383613426565b60208301905092915050565b6133b381614019565b82525050565b60006133c482613e56565b6133ce8185613e84565b93506133d983613e31565b8060005b8381101561340a5781516133f18882613392565b97506133fc83613e77565b9250506001810190506133dd565b5085935050505092915050565b6134208161402b565b82525050565b61342f81614037565b82525050565b600061344082613e61565b61344a8185613e95565b935061345a8185602086016140d8565b613463816142a2565b840191505092915050565b600061347982613e61565b6134838185613ea6565b93506134938185602086016140d8565b80840191505092915050565b6134a8816140b7565b82525050565b60006134b982613e6c565b6134c38185613eb1565b93506134d38185602086016140d8565b6134dc816142a2565b840191505092915050565b600081546134f48161410b565b6134fe8186613ec2565b94506001821660008114613519576001811461352a5761355d565b60ff1983168652818601935061355d565b61353385613e41565b60005b8381101561355557815481890152600182019150602081019050613536565b838801955050505b50505092915050565b6000613573600683613eb1565b915061357e826142b3565b602082019050919050565b6000613596600d83613eb1565b91506135a1826142dc565b602082019050919050565b60006135b9602b83613eb1565b91506135c482614305565b604082019050919050565b60006135dc603283613eb1565b91506135e782614354565b604082019050919050565b60006135ff602683613eb1565b915061360a826143a3565b604082019050919050565b6000613622601c83613eb1565b915061362d826143f2565b602082019050919050565b6000613645601083613eb1565b91506136508261441b565b602082019050919050565b6000613668602483613eb1565b915061367382614444565b604082019050919050565b600061368b601983613eb1565b915061369682614493565b602082019050919050565b60006136ae600983613eb1565b91506136b9826144bc565b602082019050919050565b60006136d1602c83613eb1565b91506136dc826144e5565b604082019050919050565b60006136f4600b83613eb1565b91506136ff82614534565b602082019050919050565b6000613717603883613eb1565b91506137228261455d565b604082019050919050565b600061373a602a83613eb1565b9150613745826145ac565b604082019050919050565b600061375d602983613eb1565b9150613768826145fb565b604082019050919050565b6000613780600783613eb1565b915061378b8261464a565b602082019050919050565b60006137a3602083613eb1565b91506137ae82614673565b602082019050919050565b60006137c6600d83613eb1565b91506137d18261469c565b602082019050919050565b60006137e9602c83613eb1565b91506137f4826146c5565b604082019050919050565b600061380c602083613eb1565b915061381782614714565b602082019050919050565b600061382f602983613eb1565b915061383a8261473d565b604082019050919050565b6000613852602183613eb1565b915061385d8261478c565b604082019050919050565b6000613875603183613eb1565b9150613880826147db565b604082019050919050565b6000613898602c83613eb1565b91506138a38261482a565b604082019050919050565b60006138bb600683613eb1565b91506138c682614879565b602082019050919050565b60006138de600b83613eb1565b91506138e9826148a2565b602082019050919050565b6138fd816140a0565b82525050565b600061390f82866134e7565b915061391b828561346e565b915061392782846134e7565b9150819050949350505050565b600060208201905061394960008301846133aa565b92915050565b600060808201905061396460008301876133aa565b61397160208301866133aa565b61397e60408301856138f4565b81810360608301526139908184613435565b905095945050505050565b600060408201905081810360008301526139b581856133b9565b90506139c460208301846133aa565b9392505050565b60006020820190506139e06000830184613417565b92915050565b60006020820190506139fb600083018461349f565b92915050565b60006020820190508181036000830152613a1b81846134ae565b905092915050565b60006020820190508181036000830152613a3c81613566565b9050919050565b60006020820190508181036000830152613a5c81613589565b9050919050565b60006020820190508181036000830152613a7c816135ac565b9050919050565b60006020820190508181036000830152613a9c816135cf565b9050919050565b60006020820190508181036000830152613abc816135f2565b9050919050565b60006020820190508181036000830152613adc81613615565b9050919050565b60006020820190508181036000830152613afc81613638565b9050919050565b60006020820190508181036000830152613b1c8161365b565b9050919050565b60006020820190508181036000830152613b3c8161367e565b9050919050565b60006020820190508181036000830152613b5c816136a1565b9050919050565b60006020820190508181036000830152613b7c816136c4565b9050919050565b60006020820190508181036000830152613b9c816136e7565b9050919050565b60006020820190508181036000830152613bbc8161370a565b9050919050565b60006020820190508181036000830152613bdc8161372d565b9050919050565b60006020820190508181036000830152613bfc81613750565b9050919050565b60006020820190508181036000830152613c1c81613773565b9050919050565b60006020820190508181036000830152613c3c81613796565b9050919050565b60006020820190508181036000830152613c5c816137b9565b9050919050565b60006020820190508181036000830152613c7c816137dc565b9050919050565b60006020820190508181036000830152613c9c816137ff565b9050919050565b60006020820190508181036000830152613cbc81613822565b9050919050565b60006020820190508181036000830152613cdc81613845565b9050919050565b60006020820190508181036000830152613cfc81613868565b9050919050565b60006020820190508181036000830152613d1c8161388b565b9050919050565b60006020820190508181036000830152613d3c816138ae565b9050919050565b60006020820190508181036000830152613d5c816138d1565b9050919050565b6000602082019050613d7860008301846138f4565b92915050565b6000613d88613d99565b9050613d94828261413d565b919050565b6000604051905090565b600067ffffffffffffffff821115613dbe57613dbd614273565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613dea57613de9614273565b5b613df3826142a2565b9050602081019050919050565b600067ffffffffffffffff821115613e1b57613e1a614273565b5b613e24826142a2565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613ed8826140a0565b9150613ee3836140a0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613f1857613f176141b7565b5b828201905092915050565b6000613f2e826140aa565b9150613f39836140aa565b92508260ff03821115613f4f57613f4e6141b7565b5b828201905092915050565b6000613f65826140a0565b9150613f70836140a0565b925082613f8057613f7f6141e6565b5b828204905092915050565b6000613f96826140a0565b9150613fa1836140a0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613fda57613fd96141b7565b5b828202905092915050565b6000613ff0826140a0565b9150613ffb836140a0565b92508282101561400e5761400d6141b7565b5b828203905092915050565b600061402482614080565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600081905061407b826148cb565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006140c28261406d565b9050919050565b82818337600083830152505050565b60005b838110156140f65780820151818401526020810190506140db565b83811115614105576000848401525b50505050565b6000600282049050600182168061412357607f821691505b6020821081141561413757614136614244565b5b50919050565b614146826142a2565b810181811067ffffffffffffffff8211171561416557614164614273565b5b80604052505050565b6000614179826140a0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156141ac576141ab6141b7565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f6578697374730000000000000000000000000000000000000000000000000000600082015250565b7f54726170733a2073656e64657200000000000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f77686974656c697374456e6454696d6500000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f77686974656c6973740000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f73616c6553746172746564000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4e6f207472617000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f746f6b656e73436c61696d656400000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f6d696e7465640000000000000000000000000000000000000000000000000000600082015250565b7f746f6b656e73476976656e000000000000000000000000000000000000000000600082015250565b600481106148dc576148db614215565b5b50565b6148e881614019565b81146148f357600080fd5b50565b6148ff8161402b565b811461490a57600080fd5b50565b61491681614037565b811461492157600080fd5b50565b61492d81614041565b811461493857600080fd5b50565b614944816140a0565b811461494f57600080fd5b5056fea26469706673582212201c1e8dcd6ba3a75c921de00bcf2b52b2fdf36ee83bfeeff6fe7ea0f6c29a6bd564736f6c6343000804003347686f7374627573746572733a2041667465726c6966652047686f7374205472617073000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000008d01ddca9613fd28cc7d258e3324f12abbcee440000000000000000000000000000000000000000000000000000000000000001f68747470733a2f2f6e796c6f6e2d776f6c662e66697373696f6e2e6170702f0000000000000000000000000000000000000000000000000000000000000000052e6a736f6e000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101fb5760003560e01c8063715018a61161011a578063b8254da5116100ad578063cba888721161007c578063cba8887214610576578063e985e9c514610594578063ebdfd722146105c4578063f2fde38b146105e2578063f59195e7146105fe576101fb565b8063b8254da5146104f0578063b88d4fde1461050c578063c051e38a14610528578063c87b56dd14610546576101fb565b806395d89b41116100e957806395d89b411461048e578063a22cb465146104ac578063b44df72d146104c8578063b66a0e5d146104e6576101fb565b8063715018a6146104405780637af66cec1461044a5780638c874ebd146104665780638da5cb5b14610470576101fb565b806338e21cce1161019257806355cc51861161016157806355cc5186146103a65780635c474f9e146103c25780636352211e146103e057806370a0823114610410576101fb565b806338e21cce1461032057806342842e0e146103505780634f6ccce71461036c57806355367ba91461039c576101fb565b80631789e2d8116101ce5780631789e2d81461029a57806318160ddd146102b657806323b872dd146102d45780632f745c59146102f0576101fb565b806301ffc9a71461020057806306fdde0314610230578063081812fc1461024e578063095ea7b31461027e575b600080fd5b61021a600480360381019061021591906132ab565b61061a565b60405161022791906139cb565b60405180910390f35b61023861062c565b6040516102459190613a01565b60405180910390f35b61026860048036038101906102639190613369565b6106be565b6040516102759190613934565b60405180910390f35b61029860048036038101906102939190613205565b610743565b005b6102b460048036038101906102af91906132fd565b61085b565b005b6102be610909565b6040516102cb9190613d63565b60405180910390f35b6102ee60048036038101906102e991906130ff565b610916565b005b61030a60048036038101906103059190613205565b610976565b6040516103179190613d63565b60405180910390f35b61033a6004803603810190610335919061309a565b610a1b565b60405161034791906139cb565b60405180910390f35b61036a600480360381019061036591906130ff565b610a3b565b005b61038660048036038101906103819190613369565b610a5b565b6040516103939190613d63565b60405180910390f35b6103a4610af2565b005b6103c060048036038101906103bb919061309a565b610bc3565b005b6103ca610cb4565b6040516103d791906139cb565b60405180910390f35b6103fa60048036038101906103f59190613369565b610cc7565b6040516104079190613934565b60405180910390f35b61042a6004803603810190610425919061309a565b610d79565b6040516104379190613d63565b60405180910390f35b610448610e31565b005b610464600480360381019061045f9190613369565b610eb9565b005b61046e610fde565b005b6104786111e0565b6040516104859190613934565b60405180910390f35b61049661120a565b6040516104a39190613a01565b60405180910390f35b6104c660048036038101906104c191906131c9565b61129c565b005b6104d061141d565b6040516104dd9190613d63565b60405180910390f35b6104ee611423565b005b61050a6004803603810190610505919061309a565b611509565b005b6105266004803603810190610521919061314e565b6115c9565b005b61053061162b565b60405161053d91906139e6565b60405180910390f35b610560600480360381019061055b9190613369565b611686565b60405161056d9190613a01565b60405180910390f35b61057e6118f3565b60405161058b9190613d63565b60405180910390f35b6105ae60048036038101906105a991906130c3565b611948565b6040516105bb91906139cb565b60405180910390f35b6105cc6119dc565b6040516105d99190613d63565b60405180910390f35b6105fc60048036038101906105f7919061309a565b6119e2565b005b61061860048036038101906106139190613241565b611ada565b005b600061062582611d85565b9050919050565b60606000805461063b9061410b565b80601f01602080910402602001604051908101604052809291908181526020018280546106679061410b565b80156106b45780601f10610689576101008083540402835291602001916106b4565b820191906000526020600020905b81548152906001019060200180831161069757829003601f168201915b5050505050905090565b60006106c982611dff565b610708576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ff90613c63565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061074e82610cc7565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107b690613cc3565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166107de611e6b565b73ffffffffffffffffffffffffffffffffffffffff16148061080d575061080c81610807611e6b565b611948565b5b61084c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161084390613ba3565b60405180910390fd5b6108568383611e73565b505050565b610863611e6b565b73ffffffffffffffffffffffffffffffffffffffff166108816111e0565b73ffffffffffffffffffffffffffffffffffffffff16146108d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ce90613c83565b60405180910390fd5b81600d90805190602001906108ed929190612dfe565b5080600e9080519060200190610904929190612dfe565b505050565b6000600980549050905090565b610927610921611e6b565b82611f2c565b610966576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095d90613ce3565b60405180910390fd5b61097183838361200a565b505050565b600061098183610d79565b82106109c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b990613a63565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60116020528060005260406000206000915054906101000a900460ff1681565b610a56838383604051806020016040528060008152506115c9565b505050565b6000610a65610909565b8210610aa6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9d90613d03565b60405180910390fd5b60098281548110610ae0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b610afa611e6b565b73ffffffffffffffffffffffffffffffffffffffff16610b186111e0565b73ffffffffffffffffffffffffffffffffffffffff1614610b6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6590613c83565b60405180910390fd5b6000600f60006101000a81548160ff0219169083151502179055507fe59500bcbe87c20654fc7d9184034d12ea27cb63005fa70e231f1c5e2aa7e31c6001604051610bb991906139cb565b60405180910390a1565b6000610bce82610d79565b11610c0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0590613c03565b60405180910390fd5b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610c9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9590613a43565b60405180910390fd5b610cb1610cac826000610976565b612266565b50565b600f60009054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6790613be3565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610dea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de190613bc3565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610e39611e6b565b73ffffffffffffffffffffffffffffffffffffffff16610e576111e0565b73ffffffffffffffffffffffffffffffffffffffff1614610ead576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea490613c83565b60405180910390fd5b610eb76000612377565b565b610ec1611e6b565b73ffffffffffffffffffffffffffffffffffffffff16610edf6111e0565b73ffffffffffffffffffffffffffffffffffffffff1614610f35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2c90613c83565b60405180910390fd5b603281601354610f459190613ecd565b1115610f86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7d90613d43565b60405180910390fd5b60005b81811015610fda5760136000815480929190610fa49061416e565b9190505550610fc733601460008154610fbc9061416e565b91905081905561243d565b8080610fd29061416e565b915050610f89565b5050565b600f60009054906101000a900460ff1661102d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102490613b83565b60405180910390fd5b6010544211611071576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106890613ae3565b60405180910390fd5b60326103e86110809190613fe5565b601254106110c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ba90613c43565b60405180910390fd5b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611150576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114790613d23565b60405180910390fd5b601260008154809291906111639061416e565b91905055506001601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506111de336014600081546111d39061416e565b91905081905561243d565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546112199061410b565b80601f01602080910402602001604051908101604052809291908181526020018280546112459061410b565b80156112925780601f1061126757610100808354040283529160200191611292565b820191906000526020600020905b81548152906001019060200180831161127557829003601f168201915b5050505050905090565b6112a4611e6b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611312576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130990613b23565b60405180910390fd5b806005600061131f611e6b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166113cc611e6b565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161141191906139cb565b60405180910390a35050565b60125481565b61142b611e6b565b73ffffffffffffffffffffffffffffffffffffffff166114496111e0565b73ffffffffffffffffffffffffffffffffffffffff161461149f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149690613c83565b60405180910390fd5b6001600f60006101000a81548160ff02191690831515021790555062015180426114c99190613ecd565b6010819055507fe59500bcbe87c20654fc7d9184034d12ea27cb63005fa70e231f1c5e2aa7e31c60006040516114ff91906139cb565b60405180910390a1565b611511611e6b565b73ffffffffffffffffffffffffffffffffffffffff1661152f6111e0565b73ffffffffffffffffffffffffffffffffffffffff1614611585576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157c90613c83565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6115da6115d4611e6b565b83611f2c565b611619576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161090613ce3565b60405180910390fd5b6116258484848461260b565b50505050565b600060326103e861163c9190613fe5565b601254141561164e5760039050611683565b600f60009054906101000a900460ff1661166b5760009050611683565b60105442101561167e5760019050611683565b600290505b90565b606061169182611dff565b6116d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c790613a23565b60405180910390fd5b600082141561173b57600d6040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250600e60405160200161172593929190613903565b60405160208183030381529060405290506118ee565b6000829050600081905060005b6000821461177257808061175b9061416e565b915050600a8261176b9190613f5a565b9150611748565b60008167ffffffffffffffff8111156117b4577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156117e65781602001600182028036833780820191505090505b50905060008290505b600085146118c0576001816118049190613fe5565b90506000600a80876118169190613f5a565b6118209190613f8b565b8661182b9190613fe5565b60306118379190613f23565b905060008160f81b90508084848151811061187b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a876118b79190613f5a565b965050506117ef565b600d82600e6040516020016118d793929190613903565b604051602081830303815290604052955050505050505b919050565b6000600f60009054906101000a900460ff16158061191357506000601054145b156119215760009050611945565b4260105410156119345760009050611945565b426010546119429190613fe5565b90505b90565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60105481565b6119ea611e6b565b73ffffffffffffffffffffffffffffffffffffffff16611a086111e0565b73ffffffffffffffffffffffffffffffffffffffff1614611a5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5590613c83565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611ace576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac590613aa3565b60405180910390fd5b611ad781612377565b50565b600f60009054906101000a900460ff16611b29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2090613b83565b60405180910390fd5b60326103e8611b389190613fe5565b60125410611b7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7290613c43565b60405180910390fd5b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611c08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bff90613d23565b60405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663debefaa682336040518363ffffffff1660e01b8152600401611c6592919061399b565b60206040518083038186803b158015611c7d57600080fd5b505afa158015611c91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cb59190613282565b611cf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ceb90613b43565b60405180910390fd5b60126000815480929190611d079061416e565b91905055506001601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611d8233601460008154611d779061416e565b91905081905561243d565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611df85750611df782612667565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611ee683610cc7565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611f3782611dff565b611f76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6d90613b63565b60405180910390fd5b6000611f8183610cc7565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611ff057508373ffffffffffffffffffffffffffffffffffffffff16611fd8846106be565b73ffffffffffffffffffffffffffffffffffffffff16145b8061200157506120008185611948565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661202a82610cc7565b73ffffffffffffffffffffffffffffffffffffffff1614612080576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207790613ca3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e790613b03565b60405180910390fd5b6120fb838383612749565b612106600082611e73565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121569190613fe5565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121ad9190613ecd565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061227182610cc7565b905061227f81600084612749565b61228a600083611e73565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122da9190613fe5565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156124ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a490613c23565b60405180910390fd5b6124b681611dff565b156124f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ed90613ac3565b60405180910390fd5b61250260008383612749565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125529190613ecd565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b61261684848461200a565b61262284848484612759565b612661576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265890613a83565b60405180910390fd5b50505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061273257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806127425750612741826128f0565b5b9050919050565b61275483838361295a565b505050565b600061277a8473ffffffffffffffffffffffffffffffffffffffff16612a6e565b156128e3578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026127a3611e6b565b8786866040518563ffffffff1660e01b81526004016127c5949392919061394f565b602060405180830381600087803b1580156127df57600080fd5b505af192505050801561281057506040513d601f19601f8201168201806040525081019061280d91906132d4565b60015b612893573d8060008114612840576040519150601f19603f3d011682016040523d82523d6000602084013e612845565b606091505b5060008151141561288b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161288290613a83565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506128e8565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612965838383612a81565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156129a8576129a381612a86565b6129e7565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146129e6576129e58382612acf565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a2a57612a2581612c3c565b612a69565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612a6857612a678282612d7f565b5b5b505050565b600080823b905060008111915050919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612adc84610d79565b612ae69190613fe5565b9050600060086000848152602001908152602001600020549050818114612bcb576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600980549050612c509190613fe5565b90506000600a6000848152602001908152602001600020549050600060098381548110612ca6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060098381548110612cee577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a6000858152602001908152602001600020600090556009805480612d63577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612d8a83610d79565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b828054612e0a9061410b565b90600052602060002090601f016020900481019282612e2c5760008555612e73565b82601f10612e4557805160ff1916838001178555612e73565b82800160010185558215612e73579182015b82811115612e72578251825591602001919060010190612e57565b5b509050612e809190612e84565b5090565b5b80821115612e9d576000816000905550600101612e85565b5090565b6000612eb4612eaf84613da3565b613d7e565b90508083825260208201905082856020860282011115612ed357600080fd5b60005b85811015612f035781612ee98882612ff2565b845260208401935060208301925050600181019050612ed6565b5050509392505050565b6000612f20612f1b84613dcf565b613d7e565b905082815260208101848484011115612f3857600080fd5b612f438482856140c9565b509392505050565b6000612f5e612f5984613e00565b613d7e565b905082815260208101848484011115612f7657600080fd5b612f818482856140c9565b509392505050565b600081359050612f98816148df565b92915050565b600082601f830112612faf57600080fd5b8135612fbf848260208601612ea1565b91505092915050565b600081359050612fd7816148f6565b92915050565b600081519050612fec816148f6565b92915050565b6000813590506130018161490d565b92915050565b60008135905061301681614924565b92915050565b60008151905061302b81614924565b92915050565b600082601f83011261304257600080fd5b8135613052848260208601612f0d565b91505092915050565b600082601f83011261306c57600080fd5b813561307c848260208601612f4b565b91505092915050565b6000813590506130948161493b565b92915050565b6000602082840312156130ac57600080fd5b60006130ba84828501612f89565b91505092915050565b600080604083850312156130d657600080fd5b60006130e485828601612f89565b92505060206130f585828601612f89565b9150509250929050565b60008060006060848603121561311457600080fd5b600061312286828701612f89565b935050602061313386828701612f89565b925050604061314486828701613085565b9150509250925092565b6000806000806080858703121561316457600080fd5b600061317287828801612f89565b945050602061318387828801612f89565b935050604061319487828801613085565b925050606085013567ffffffffffffffff8111156131b157600080fd5b6131bd87828801613031565b91505092959194509250565b600080604083850312156131dc57600080fd5b60006131ea85828601612f89565b92505060206131fb85828601612fc8565b9150509250929050565b6000806040838503121561321857600080fd5b600061322685828601612f89565b925050602061323785828601613085565b9150509250929050565b60006020828403121561325357600080fd5b600082013567ffffffffffffffff81111561326d57600080fd5b61327984828501612f9e565b91505092915050565b60006020828403121561329457600080fd5b60006132a284828501612fdd565b91505092915050565b6000602082840312156132bd57600080fd5b60006132cb84828501613007565b91505092915050565b6000602082840312156132e657600080fd5b60006132f48482850161301c565b91505092915050565b6000806040838503121561331057600080fd5b600083013567ffffffffffffffff81111561332a57600080fd5b6133368582860161305b565b925050602083013567ffffffffffffffff81111561335357600080fd5b61335f8582860161305b565b9150509250929050565b60006020828403121561337b57600080fd5b600061338984828501613085565b91505092915050565b600061339e8383613426565b60208301905092915050565b6133b381614019565b82525050565b60006133c482613e56565b6133ce8185613e84565b93506133d983613e31565b8060005b8381101561340a5781516133f18882613392565b97506133fc83613e77565b9250506001810190506133dd565b5085935050505092915050565b6134208161402b565b82525050565b61342f81614037565b82525050565b600061344082613e61565b61344a8185613e95565b935061345a8185602086016140d8565b613463816142a2565b840191505092915050565b600061347982613e61565b6134838185613ea6565b93506134938185602086016140d8565b80840191505092915050565b6134a8816140b7565b82525050565b60006134b982613e6c565b6134c38185613eb1565b93506134d38185602086016140d8565b6134dc816142a2565b840191505092915050565b600081546134f48161410b565b6134fe8186613ec2565b94506001821660008114613519576001811461352a5761355d565b60ff1983168652818601935061355d565b61353385613e41565b60005b8381101561355557815481890152600182019150602081019050613536565b838801955050505b50505092915050565b6000613573600683613eb1565b915061357e826142b3565b602082019050919050565b6000613596600d83613eb1565b91506135a1826142dc565b602082019050919050565b60006135b9602b83613eb1565b91506135c482614305565b604082019050919050565b60006135dc603283613eb1565b91506135e782614354565b604082019050919050565b60006135ff602683613eb1565b915061360a826143a3565b604082019050919050565b6000613622601c83613eb1565b915061362d826143f2565b602082019050919050565b6000613645601083613eb1565b91506136508261441b565b602082019050919050565b6000613668602483613eb1565b915061367382614444565b604082019050919050565b600061368b601983613eb1565b915061369682614493565b602082019050919050565b60006136ae600983613eb1565b91506136b9826144bc565b602082019050919050565b60006136d1602c83613eb1565b91506136dc826144e5565b604082019050919050565b60006136f4600b83613eb1565b91506136ff82614534565b602082019050919050565b6000613717603883613eb1565b91506137228261455d565b604082019050919050565b600061373a602a83613eb1565b9150613745826145ac565b604082019050919050565b600061375d602983613eb1565b9150613768826145fb565b604082019050919050565b6000613780600783613eb1565b915061378b8261464a565b602082019050919050565b60006137a3602083613eb1565b91506137ae82614673565b602082019050919050565b60006137c6600d83613eb1565b91506137d18261469c565b602082019050919050565b60006137e9602c83613eb1565b91506137f4826146c5565b604082019050919050565b600061380c602083613eb1565b915061381782614714565b602082019050919050565b600061382f602983613eb1565b915061383a8261473d565b604082019050919050565b6000613852602183613eb1565b915061385d8261478c565b604082019050919050565b6000613875603183613eb1565b9150613880826147db565b604082019050919050565b6000613898602c83613eb1565b91506138a38261482a565b604082019050919050565b60006138bb600683613eb1565b91506138c682614879565b602082019050919050565b60006138de600b83613eb1565b91506138e9826148a2565b602082019050919050565b6138fd816140a0565b82525050565b600061390f82866134e7565b915061391b828561346e565b915061392782846134e7565b9150819050949350505050565b600060208201905061394960008301846133aa565b92915050565b600060808201905061396460008301876133aa565b61397160208301866133aa565b61397e60408301856138f4565b81810360608301526139908184613435565b905095945050505050565b600060408201905081810360008301526139b581856133b9565b90506139c460208301846133aa565b9392505050565b60006020820190506139e06000830184613417565b92915050565b60006020820190506139fb600083018461349f565b92915050565b60006020820190508181036000830152613a1b81846134ae565b905092915050565b60006020820190508181036000830152613a3c81613566565b9050919050565b60006020820190508181036000830152613a5c81613589565b9050919050565b60006020820190508181036000830152613a7c816135ac565b9050919050565b60006020820190508181036000830152613a9c816135cf565b9050919050565b60006020820190508181036000830152613abc816135f2565b9050919050565b60006020820190508181036000830152613adc81613615565b9050919050565b60006020820190508181036000830152613afc81613638565b9050919050565b60006020820190508181036000830152613b1c8161365b565b9050919050565b60006020820190508181036000830152613b3c8161367e565b9050919050565b60006020820190508181036000830152613b5c816136a1565b9050919050565b60006020820190508181036000830152613b7c816136c4565b9050919050565b60006020820190508181036000830152613b9c816136e7565b9050919050565b60006020820190508181036000830152613bbc8161370a565b9050919050565b60006020820190508181036000830152613bdc8161372d565b9050919050565b60006020820190508181036000830152613bfc81613750565b9050919050565b60006020820190508181036000830152613c1c81613773565b9050919050565b60006020820190508181036000830152613c3c81613796565b9050919050565b60006020820190508181036000830152613c5c816137b9565b9050919050565b60006020820190508181036000830152613c7c816137dc565b9050919050565b60006020820190508181036000830152613c9c816137ff565b9050919050565b60006020820190508181036000830152613cbc81613822565b9050919050565b60006020820190508181036000830152613cdc81613845565b9050919050565b60006020820190508181036000830152613cfc81613868565b9050919050565b60006020820190508181036000830152613d1c8161388b565b9050919050565b60006020820190508181036000830152613d3c816138ae565b9050919050565b60006020820190508181036000830152613d5c816138d1565b9050919050565b6000602082019050613d7860008301846138f4565b92915050565b6000613d88613d99565b9050613d94828261413d565b919050565b6000604051905090565b600067ffffffffffffffff821115613dbe57613dbd614273565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613dea57613de9614273565b5b613df3826142a2565b9050602081019050919050565b600067ffffffffffffffff821115613e1b57613e1a614273565b5b613e24826142a2565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613ed8826140a0565b9150613ee3836140a0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613f1857613f176141b7565b5b828201905092915050565b6000613f2e826140aa565b9150613f39836140aa565b92508260ff03821115613f4f57613f4e6141b7565b5b828201905092915050565b6000613f65826140a0565b9150613f70836140a0565b925082613f8057613f7f6141e6565b5b828204905092915050565b6000613f96826140a0565b9150613fa1836140a0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613fda57613fd96141b7565b5b828202905092915050565b6000613ff0826140a0565b9150613ffb836140a0565b92508282101561400e5761400d6141b7565b5b828203905092915050565b600061402482614080565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600081905061407b826148cb565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006140c28261406d565b9050919050565b82818337600083830152505050565b60005b838110156140f65780820151818401526020810190506140db565b83811115614105576000848401525b50505050565b6000600282049050600182168061412357607f821691505b6020821081141561413757614136614244565b5b50919050565b614146826142a2565b810181811067ffffffffffffffff8211171561416557614164614273565b5b80604052505050565b6000614179826140a0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156141ac576141ab6141b7565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f6578697374730000000000000000000000000000000000000000000000000000600082015250565b7f54726170733a2073656e64657200000000000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f77686974656c697374456e6454696d6500000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f77686974656c6973740000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f73616c6553746172746564000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4e6f207472617000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f746f6b656e73436c61696d656400000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f6d696e7465640000000000000000000000000000000000000000000000000000600082015250565b7f746f6b656e73476976656e000000000000000000000000000000000000000000600082015250565b600481106148dc576148db614215565b5b50565b6148e881614019565b81146148f357600080fd5b50565b6148ff8161402b565b811461490a57600080fd5b50565b61491681614037565b811461492157600080fd5b50565b61492d81614041565b811461493857600080fd5b50565b614944816140a0565b811461494f57600080fd5b5056fea26469706673582212201c1e8dcd6ba3a75c921de00bcf2b52b2fdf36ee83bfeeff6fe7ea0f6c29a6bd564736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000008d01ddca9613fd28cc7d258e3324f12abbcee440000000000000000000000000000000000000000000000000000000000000001f68747470733a2f2f6e796c6f6e2d776f6c662e66697373696f6e2e6170702f0000000000000000000000000000000000000000000000000000000000000000052e6a736f6e000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _uriBase (string): https://nylon-wolf.fission.app/
Arg [1] : _uriSuffix (string): .json
Arg [2] : _whitelist (address): 0x8D01ddCA9613FD28Cc7D258E3324F12aBbCeE440
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000008d01ddca9613fd28cc7d258e3324f12abbcee440
Arg [3] : 000000000000000000000000000000000000000000000000000000000000001f
Arg [4] : 68747470733a2f2f6e796c6f6e2d776f6c662e66697373696f6e2e6170702f00
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [6] : 2e6a736f6e000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.