Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
731 TRU
Holders
334
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 TRULoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
TheRockingUniquehorns
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
Yes with 1000 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/extensions/ERC721Enumerable.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/utils/Counters.sol'; contract TheRockingUniquehorns is ERC721Enumerable, Ownable { using Counters for Counters.Counter; Counters.Counter private _returnedCounter; Counters.Counter private _refundableCounter; uint256 public MAX_SUPPLY = 9990; // reserved for team, giveaways, collabs, musicians uint256 public PROMO_TICKETS = 190; uint256 public PRICE = 0.0666 ether; uint256 public RETURN_PERIOD_START = 1638813966; // December 6th 6:06:06pm UTC uint256 public RETURN_PERIOD_END = 1644516366; // February 10th 6:06:06pm UTC // Provenance hash string public PROVENANCE; // will be moved to IPFS when sale has ended. needs to be centralized for instant reveal. string private _baseTokenURI; string private _contractURI; uint256 private _maxBookingTransactionSize = 10; uint256 private _maxBookingSizeWhitelist = 6; uint256 private _amountBlockedForRefund = 0 ether; bool private _salePaused = true; bool private _whitelistPaused = true; // possibly allow for additional refundable TRUs after whitelist uint256 private _maxReturnable = 0; struct TRUData { address discoveredBy; uint256 mintPrice; bool refundable; } //whitelist etc mapping(address => uint256) public whitelist; mapping(uint256 => TRUData) public originalBandMembers; bool private _running; address[] private _team; address private _returnPoolAddress = 0x73939879050B0C5216EC97928D53Ef49B4E984dC; event TRUCreated(address mintedBy, uint256 indexed id); modifier nonReentrant() { require(!_running, "No reentry"); _running = true; _; _running = false; } constructor(uint256 maxSupply, uint256 promoTickets, uint256 returnPeriodStart, uint256 returnPeriodEnd, string memory initialBaseURI, string memory initialContractURI, address[] memory team) ERC721("The Rocking Uniquehorns", "TRU") { MAX_SUPPLY = maxSupply; PROMO_TICKETS = promoTickets; RETURN_PERIOD_START = returnPeriodStart; RETURN_PERIOD_END = returnPeriodEnd; _baseTokenURI = initialBaseURI; _contractURI = initialContractURI; _team = team; } function mint(uint256 num) external payable nonReentrant { require( !_salePaused, "The TRUs all passed out. Sale paused." ); require( num <= _maxBookingTransactionSize, "You can't book that many TRUs in one transaction." ); require( msg.value >= PRICE * num, "The Amount of Ether sent is not correct" ); require( !_isSoldOut(), "The TRUs are sold out." ); // TRUs minted in public sale can only be refunded if total supply is <= _maxReturnable _mintInternal(msg.sender, num, totalSupply() <= _maxReturnable); } function mintWhitelist(uint256 num) external payable nonReentrant { require( !_whitelistPaused, "The TRUs all passed out. Whitelist sale paused." ); require(_isWalletWhitelisted(msg.sender), "Sorry, this address is not on the whitelist."); require( num <= _getWalletWhitelistMax(msg.sender), "No one needs a band this big" ); require( msg.value >= PRICE * num, "Ether sent is not correct" ); require( !_isSoldOut(), "The TRUs are sold out." ); //TRUs minted during whitelist can always be refunded _mintInternal(msg.sender, num, true); whitelist[msg.sender] -= num; } /** * Fire your TRU, return the TRU to the pool and get back the mint price. */ function fire(uint256[] memory tokenIds) external nonReentrant { require(_isRefundPeriodActive(), "Return period is not active."); uint256 totalRefund = 0 ether; for(uint256 i = 0; i < tokenIds.length; i++){ uint256 tokenId = tokenIds[i]; if(ownerOf(tokenId) == msg.sender && originalBandMembers[tokenId].refundable) { //Transfer back to TRU to pool _transfer(msg.sender, _returnPoolAddress, tokenId); _returnedCounter.increment(); totalRefund += originalBandMembers[tokenId].mintPrice; } } // refund former holder with the price that was paid during minting _widthdraw(msg.sender, totalRefund); } // Get the TRUs for the address function bandOfOwner(address addr) external view returns(uint256[] memory) { uint256 tokenCount = balanceOf(addr); uint256[] memory tokensId = new uint256[](tokenCount); for(uint256 i; i < tokenCount; i++){ tokensId[i] = tokenOfOwnerByIndex(addr, i); } return tokensId; } /* * ONLY OWNER STUFF */ // Get the Rocking Uniquehorns to play a promo gig // (Method to mint from the reserved TRUs) function playPromoGig(address to, uint256 amount) external onlyOwner { require( amount <= PROMO_TICKETS, "Not enough promo tickets. This would exceed reserved TRU supply" ); //promo TRUs can't be refunded _mintInternal(to, amount, false); PROMO_TICKETS -= amount; } // Get the TRUs to do a massive stagedive // Method to airdrop 1 TRU into every wallet address in the provided list function stagedive(address[] memory addresses) external onlyOwner { require( addresses.length <= PROMO_TICKETS, "Not enough promo tickets. This would exceed reserved TRU supply" ); for (uint256 i = 0; i < addresses.length; i++) { //promo TRUs can't be refunded _mintInternal(addresses[i], 1, false); PROMO_TICKETS--; } } // founding band members get the first 5 TRUs for their team pfps function castFoundingBand() external onlyOwner { for(uint256 i = 0; i < _team.length; i++) { _mintInternal(_team[i], 1, false); } PROMO_TICKETS -= _team.length; } function withdraw() external payable onlyOwner { //make sure the funds needed for potential refunds stay on the contract until return period is over _widthdraw(owner(), address(this).balance - _getAmountBlockedForRefund()); } // Setters function setProvenanceHash(string memory provenanceHash) external onlyOwner { PROVENANCE = provenanceHash; } function setBaseURI(string memory baseURI) external onlyOwner { _baseTokenURI = baseURI; } function setContractURI(string memory newURI) external onlyOwner { _contractURI = newURI; } function setReturnPoolAddress(address addr) external onlyOwner { _returnPoolAddress = addr; } function setMaxBookingSizes(uint256 maxBookingTransactionSize, uint256 maxBookingSizeWhitelist) external onlyOwner { _maxBookingTransactionSize = maxBookingTransactionSize; _maxBookingSizeWhitelist = maxBookingSizeWhitelist; } // They are rockstars after all, who knows when they are hung over and need a break. function setPauseStates(bool salesPaused, bool whitelistPaused) external onlyOwner { _salePaused = salesPaused; _whitelistPaused = whitelistPaused; } function addToWhitelist(address[] memory addresses) external onlyOwner { for(uint256 i = 0; i < addresses.length; i++) { whitelist[addresses[i]] = _maxBookingSizeWhitelist; } } // edit or remove addresses (set amount to 0) from whitelist function editWhitelist(address[] memory addresses, uint256[] memory amounts) external onlyOwner { for (uint256 i = 0; i < addresses.length; i++) { whitelist[addresses[i]] = amounts[i]; } } /* * Public view stuff */ function isSaleActive() public view returns(bool) { return !_salePaused; } function isWhitelistSaleActive() public view returns(bool) { return !_whitelistPaused; } function getMaxMintableTransactionForWallet(address addr) public view returns(uint256) { return _getMaxMintableTransactionForWallet(addr) - 1; } function getAmountBlockedForRefund() public view returns (uint256) { return _getAmountBlockedForRefund(); } function isWalletWhitelisted(address addr) public view returns (bool) { return _isWalletWhitelisted(addr); } function getWalletWhitelistMax(address addr) public view returns (uint256) { return _getWalletWhitelistMax(addr); } function isEligibleForRefund(uint256 tokenId) public view returns (bool) { return _isRefundPeriodActive() && originalBandMembers[tokenId].refundable; } function getRefundValue(uint256 tokenId) public view returns (uint256) { return originalBandMembers[tokenId].refundable ? originalBandMembers[tokenId].mintPrice : 0; } function getTotalReturned() public view returns (uint256) { return _returnedCounter.current(); } function getTotalRefundable() public view returns (uint256) { return _refundableCounter.current(); } function getPrice() public view returns (uint256) { return PRICE; } function contractURI() public view returns (string memory) { return _contractURI; } function isSoldOut() public view returns (bool) { return _isSoldOut(); } // like every good rockstar, we sometimes cover & sample stuff (override section) function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } //private stuff function _isSoldOut() private view returns (bool) { return !(totalSupply() < MAX_SUPPLY - PROMO_TICKETS); } function _getAmountBlockedForRefund() private view returns (uint256) { if(block.timestamp < RETURN_PERIOD_END) { return _amountBlockedForRefund; } return 0; } function _isWalletWhitelisted(address addr) private view returns (bool) { return whitelist[addr] > 0; } function _getMaxMintableTransactionForWallet(address addr) private view returns(uint256) { if(!_whitelistPaused) { return _getWalletWhitelistMax(addr); } else if(!_salePaused) { return _maxBookingTransactionSize; } return 1; } function _getWalletWhitelistMax(address addr) private view returns (uint256) { return whitelist[addr]; } function _isRefundPeriodActive() private view returns (bool) { return block.timestamp > RETURN_PERIOD_START && block.timestamp < RETURN_PERIOD_END; } function _mintInternal(address to, uint256 amount, bool refundable) private { uint256 supply = totalSupply(); require( supply + amount <= MAX_SUPPLY, "Exceeds maximum TRU supply" ); for(uint256 i = 0; i < amount; i++){ uint256 id = supply + i; _safeMint( to, id ); emit TRUCreated(msg.sender, id); originalBandMembers[id].discoveredBy = to; originalBandMembers[id].mintPrice = PRICE; originalBandMembers[id].refundable = refundable; if(refundable) { _refundableCounter.increment(); _amountBlockedForRefund += PRICE; } } } function _widthdraw(address addr, uint256 amount) private { require(payable(addr).send(amount), "Transfer failed"); } }
// 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.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// 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 "../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; 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); }
{ "optimizer": { "enabled": true, "runs": 1000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"promoTickets","type":"uint256"},{"internalType":"uint256","name":"returnPeriodStart","type":"uint256"},{"internalType":"uint256","name":"returnPeriodEnd","type":"uint256"},{"internalType":"string","name":"initialBaseURI","type":"string"},{"internalType":"string","name":"initialContractURI","type":"string"},{"internalType":"address[]","name":"team","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":"address","name":"mintedBy","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"TRUCreated","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":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PROMO_TICKETS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PROVENANCE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RETURN_PERIOD_END","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RETURN_PERIOD_START","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"addToWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"bandOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"castFoundingBand","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"editWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"fire","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getAmountBlockedForRefund","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":"addr","type":"address"}],"name":"getMaxMintableTransactionForWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getRefundValue","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalRefundable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalReturned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"getWalletWhitelistMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"tokenId","type":"uint256"}],"name":"isEligibleForRefund","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isSoldOut","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"isWalletWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isWhitelistSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"num","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"num","type":"uint256"}],"name":"mintWhitelist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"originalBandMembers","outputs":[{"internalType":"address","name":"discoveredBy","type":"address"},{"internalType":"uint256","name":"mintPrice","type":"uint256"},{"internalType":"bool","name":"refundable","type":"bool"}],"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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"playPromoGig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxBookingTransactionSize","type":"uint256"},{"internalType":"uint256","name":"maxBookingSizeWhitelist","type":"uint256"}],"name":"setMaxBookingSizes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"salesPaused","type":"bool"},{"internalType":"bool","name":"whitelistPaused","type":"bool"}],"name":"setPauseStates","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"setReturnPoolAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"stagedive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
6080604052612706600d5560be600e5566ec9c58de0a8000600f556361ae510e601055636205540e601155600a6015556006601655600060178190556018805461ff001960ff1990911660011716610100179055601955601e80546001600160a01b0319167373939879050b0c5216ec97928d53ef49b4e984dc1790553480156200008957600080fd5b5060405162003e2838038062003e28833981016040819052620000ac9162000387565b604080518082018252601781527f54686520526f636b696e6720556e69717565686f726e7300000000000000000060208083019182528351808501909452600384526254525560e81b9084015281519192916200010c91600091620001f8565b50805162000122906001906020840190620001f8565b5050506200013f62000139620001a260201b60201c565b620001a6565b600d879055600e86905560108590556011849055825162000168906013906020860190620001f8565b5081516200017e906014906020850190620001f8565b5080516200019490601d90602084019062000287565b50505050505050506200054a565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200020690620004f7565b90600052602060002090601f0160209004810192826200022a576000855562000275565b82601f106200024557805160ff191683800117855562000275565b8280016001018555821562000275579182015b828111156200027557825182559160200191906001019062000258565b5062000283929150620002df565b5090565b82805482825590600052602060002090810192821562000275579160200282015b828111156200027557825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190620002a8565b5b80821115620002835760008155600101620002e0565b600082601f83011262000307578081fd5b81516001600160401b0381111562000323576200032362000534565b602062000339601f8301601f19168201620004cb565b82815285828487010111156200034d578384fd5b835b838110156200036c5785810183015182820184015282016200034f565b838111156200037d57848385840101525b5095945050505050565b600080600080600080600060e0888a031215620003a2578283fd5b87516020808a015160408b015160608c015160808d0151949b5091995097509550906001600160401b0380821115620003d9578586fd5b620003e78c838d01620002f6565b955060a08b0151915080821115620003fd578485fd5b6200040b8c838d01620002f6565b945060c08b015191508082111562000421578384fd5b818b0191508b601f83011262000435578384fd5b8151818111156200044a576200044a62000534565b83810291506200045c848301620004cb565b8082825285820191508585018f8786880101111562000479578788fd5b8795505b83861015620004b557805194506001600160a01b03851685146200049f578788fd5b848352600195909501949186019186016200047d565b5080965050505050505092959891949750929550565b6040518181016001600160401b0381118282101715620004ef57620004ef62000534565b604052919050565b6002810460018216806200050c57607f821691505b602082108114156200052e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6138ce806200055a6000396000f3fe60806040526004361061036b5760003560e01c80636352211e116101c6578063a0712d68116100f7578063c30d3e8711610095578063d886a5c81161006f578063d886a5c814610948578063e8a3d48514610968578063e985e9c51461097d578063f2fde38b1461099d5761036b565b8063c30d3e87146108e4578063c87b56dd146108f9578063d3f7587a146109195761036b565b8063b88d4fde116100d1578063b88d4fde14610885578063b98451cf146108a5578063c26ccd71146108ba578063c29bec44146108cf5761036b565b8063a0712d6814610832578063a22cb46514610845578063aac8f967146108655761036b565b80638d859f3e1161016457806395d89b411161013e57806395d89b41146107c8578063963ea5fd146107dd57806398d5fdca146107fd5780639b19251a146108125761036b565b80638d859f3e1461077e5780638da5cb5b14610793578063938e3d7b146107a85761036b565b8063715018a6116101a0578063715018a6146107145780637f649783146107295780638153e82b14610749578063841c180f1461075e5761036b565b80636352211e146106bf5780636373a6b1146106df57806370a08231146106f45761036b565b8063308aa4c4116102a0578063459943301161023e5780634f6ccce7116102185780634f6ccce71461064a57806355f804b31461066a578063564566a81461068a5780635c1b9fa51461069f5761036b565b806345994330146105ea5780634618163e1461061757806347ca277d1461062a5761036b565b8063338f11a81161027a578063338f11a8146105825780633ccfd60b146105a25780634046a689146105aa57806342842e0e146105ca5761036b565b8063308aa4c41461053857806332cb6b0c1461054d57806332e1a6cd146105625761036b565b80631d251ca31161030d57806323b872dd116102e757806323b872dd146104c35780632d12e5cf146104e35780632da5ea17146105035780632f745c59146105185761036b565b80631d251ca31461046e5780631f989bc41461048e57806322606210146104a35761036b565b8063095ea7b311610349578063095ea7b3146103f5578063109695231461041757806313e909f51461043757806318160ddd146104595761036b565b806301ffc9a71461037057806306fdde03146103a6578063081812fc146103c8575b600080fd5b34801561037c57600080fd5b5061039061038b366004612b78565b6109bd565b60405161039d9190612d41565b60405180910390f35b3480156103b257600080fd5b506103bb610a03565b60405161039d9190612d4c565b3480156103d457600080fd5b506103e86103e3366004612bf6565b610a96565b60405161039d9190612c8a565b34801561040157600080fd5b50610415610410366004612a6d565b610ae2565b005b34801561042357600080fd5b50610415610432366004612bb0565b610b7a565b34801561044357600080fd5b5061044c610bd0565b60405161039d91906136da565b34801561046557600080fd5b5061044c610be1565b34801561047a57600080fd5b50610415610489366004612a6d565b610be7565b34801561049a57600080fd5b5061044c610c6f565b3480156104af57600080fd5b506104156104be366004612c0e565b610c75565b3480156104cf57600080fd5b506104156104de366004612990565b610cbf565b3480156104ef57600080fd5b506104156104fe366004612b2a565b610cf7565b34801561050f57600080fd5b50610390610e30565b34801561052457600080fd5b5061044c610533366004612a6d565b610e3a565b34801561054457600080fd5b5061044c610e8c565b34801561055957600080fd5b5061044c610e92565b34801561056e57600080fd5b5061039061057d366004612bf6565b610e98565b34801561058e57600080fd5b5061041561059d366004612b5d565b610ec2565b610415610f24565b3480156105b657600080fd5b506104156105c5366004612a96565b610f87565b3480156105d657600080fd5b506104156105e5366004612990565b611051565b3480156105f657600080fd5b5061060a610605366004612944565b61106c565b60405161039d9190612cfd565b610415610625366004612bf6565b61112a565b34801561063657600080fd5b50610415610645366004612944565b61125e565b34801561065657600080fd5b5061044c610665366004612bf6565b6112bf565b34801561067657600080fd5b50610415610685366004612bb0565b61131a565b34801561069657600080fd5b5061039061136c565b3480156106ab57600080fd5b5061044c6106ba366004612944565b611376565b3480156106cb57600080fd5b506103e86106da366004612bf6565b61138d565b3480156106eb57600080fd5b506103bb6113c2565b34801561070057600080fd5b5061044c61070f366004612944565b611450565b34801561072057600080fd5b50610415611494565b34801561073557600080fd5b50610415610744366004612a96565b6114dd565b34801561075557600080fd5b5061044c61158e565b34801561076a57600080fd5b5061044c610779366004612944565b611594565b34801561078a57600080fd5b5061044c61159f565b34801561079f57600080fd5b506103e86115a5565b3480156107b457600080fd5b506104156107c3366004612bb0565b6115b4565b3480156107d457600080fd5b506103bb611606565b3480156107e957600080fd5b5061044c6107f8366004612bf6565b611615565b34801561080957600080fd5b5061044c61164b565b34801561081e57600080fd5b5061044c61082d366004612944565b611651565b610415610840366004612bf6565b611663565b34801561085157600080fd5b50610415610860366004612a44565b61174e565b34801561087157600080fd5b50610390610880366004612944565b61181c565b34801561089157600080fd5b506104156108a03660046129cb565b611827565b3480156108b157600080fd5b50610390611866565b3480156108c657600080fd5b5061044c611875565b3480156108db57600080fd5b5061044c611881565b3480156108f057600080fd5b5061041561188b565b34801561090557600080fd5b506103bb610914366004612bf6565b611947565b34801561092557600080fd5b50610939610934366004612bf6565b6119ca565b60405161039d93929190612cda565b34801561095457600080fd5b50610415610963366004612ac9565b6119f8565b34801561097457600080fd5b506103bb611ace565b34801561098957600080fd5b5061039061099836600461295e565b611add565b3480156109a957600080fd5b506104156109b8366004612944565b611b0b565b60006001600160e01b031982167f780e9d630000000000000000000000000000000000000000000000000000000014806109fb57506109fb82611b7c565b90505b919050565b606060008054610a12906137d6565b80601f0160208091040260200160405190810160405280929190818152602001828054610a3e906137d6565b8015610a8b5780601f10610a6057610100808354040283529160200191610a8b565b820191906000526020600020905b815481529060010190602001808311610a6e57829003601f168201915b505050505090505b90565b6000610aa182611bee565b610ac65760405162461bcd60e51b8152600401610abd90613295565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610aed8261138d565b9050806001600160a01b0316836001600160a01b03161415610b215760405162461bcd60e51b8152600401610abd9061349b565b806001600160a01b0316610b33611c0b565b6001600160a01b03161480610b4f5750610b4f81610998611c0b565b610b6b5760405162461bcd60e51b8152600401610abd90613112565b610b758383611c0f565b505050565b610b82611c0b565b6001600160a01b0316610b936115a5565b6001600160a01b031614610bb95760405162461bcd60e51b8152600401610abd90613375565b8051610bcc90601290602084019061275f565b5050565b6000610bdc600c611c7d565b905090565b60085490565b610bef611c0b565b6001600160a01b0316610c006115a5565b6001600160a01b031614610c265760405162461bcd60e51b8152600401610abd90613375565b600e54811115610c485760405162461bcd60e51b8152600401610abd9061367d565b610c5482826000611c81565b80600e6000828254610c66919061377c565b90915550505050565b60105481565b610c7d611c0b565b6001600160a01b0316610c8e6115a5565b6001600160a01b031614610cb45760405162461bcd60e51b8152600401610abd90613375565b601591909155601655565b610cd0610cca611c0b565b82611d99565b610cec5760405162461bcd60e51b8152600401610abd9061358c565b610b75838383611e1e565b601c5460ff1615610d1a5760405162461bcd60e51b8152600401610abd90612d5f565b601c805460ff19166001179055610d2f611f4b565b610d4b5760405162461bcd60e51b8152600401610abd906131cc565b6000805b8251811015610e17576000838281518110610d7a57634e487b7160e01b600052603260045260246000fd5b60200260200101519050336001600160a01b0316610d978261138d565b6001600160a01b0316148015610dbe57506000818152601b602052604090206002015460ff165b15610e0457601e54610ddb9033906001600160a01b031683611e1e565b610de5600b611f62565b6000818152601b6020526040902060010154610e019084613731565b92505b5080610e0f81613811565b915050610d4f565b50610e223382611f6b565b5050601c805460ff19169055565b6000610bdc611fac565b6000610e4583611450565b8210610e635760405162461bcd60e51b8152600401610abd90612d96565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b60115481565b600d5481565b6000610ea2611f4b565b80156109fb5750506000908152601b602052604090206002015460ff1690565b610eca611c0b565b6001600160a01b0316610edb6115a5565b6001600160a01b031614610f015760405162461bcd60e51b8152600401610abd90613375565b6018805460ff19169215159290921761ff00191661010091151591909102179055565b610f2c611c0b565b6001600160a01b0316610f3d6115a5565b6001600160a01b031614610f635760405162461bcd60e51b8152600401610abd90613375565b610f85610f6e6115a5565b610f76611fcd565b610f80904761377c565b611f6b565b565b610f8f611c0b565b6001600160a01b0316610fa06115a5565b6001600160a01b031614610fc65760405162461bcd60e51b8152600401610abd90613375565b600e5481511115610fe95760405162461bcd60e51b8152600401610abd9061367d565b60005b8151811015610bcc5761102982828151811061101857634e487b7160e01b600052603260045260246000fd5b602002602001015160016000611c81565b600e8054906000611039836137bf565b9190505550808061104990613811565b915050610fec565b610b7583838360405180602001604052806000815250611827565b6060600061107983611450565b905060008167ffffffffffffffff8111156110a457634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156110cd578160200160208202803683370190505b50905060005b82811015611122576110e58582610e3a565b82828151811061110557634e487b7160e01b600052603260045260246000fd5b60209081029190910101528061111a81613811565b9150506110d3565b509392505050565b601c5460ff161561114d5760405162461bcd60e51b8152600401610abd90612d5f565b601c805460ff19166001179055601854610100900460ff16156111825760405162461bcd60e51b8152600401610abd906130b5565b61118b33611fe8565b6111a75760405162461bcd60e51b8152600401610abd90613318565b6111b033612005565b8111156111cf5760405162461bcd60e51b8152600401610abd90613646565b80600f546111dd919061375d565b3410156111fc5760405162461bcd60e51b8152600401610abd90613555565b611204611fac565b156112215760405162461bcd60e51b8152600401610abd906132e1565b61122d33826001611c81565b336000908152601a60205260408120805483929061124c90849061377c565b9091555050601c805460ff1916905550565b611266611c0b565b6001600160a01b03166112776115a5565b6001600160a01b03161461129d5760405162461bcd60e51b8152600401610abd90613375565b601e80546001600160a01b0319166001600160a01b0392909216919091179055565b60006112c9610be1565b82106112e75760405162461bcd60e51b8152600401610abd906135e9565b6008828154811061130857634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b611322611c0b565b6001600160a01b03166113336115a5565b6001600160a01b0316146113595760405162461bcd60e51b8152600401610abd90613375565b8051610bcc90601390602084019061275f565b60185460ff161590565b6000600161138383612020565b6109fb919061377c565b6000818152600260205260408120546001600160a01b0316806109fb5760405162461bcd60e51b8152600401610abd90613203565b601280546113cf906137d6565b80601f01602080910402602001604051908101604052809291908181526020018280546113fb906137d6565b80156114485780601f1061141d57610100808354040283529160200191611448565b820191906000526020600020905b81548152906001019060200180831161142b57829003601f168201915b505050505081565b60006001600160a01b0382166114785760405162461bcd60e51b8152600401610abd9061316f565b506001600160a01b031660009081526003602052604090205490565b61149c611c0b565b6001600160a01b03166114ad6115a5565b6001600160a01b0316146114d35760405162461bcd60e51b8152600401610abd90613375565b610f85600061205d565b6114e5611c0b565b6001600160a01b03166114f66115a5565b6001600160a01b03161461151c5760405162461bcd60e51b8152600401610abd90613375565b60005b8151811015610bcc57601654601a600084848151811061154f57634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002081905550808061158690613811565b91505061151f565b600e5481565b60006109fb82612005565b600f5481565b600a546001600160a01b031690565b6115bc611c0b565b6001600160a01b03166115cd6115a5565b6001600160a01b0316146115f35760405162461bcd60e51b8152600401610abd90613375565b8051610bcc90601490602084019061275f565b606060018054610a12906137d6565b6000818152601b602052604081206002015460ff166116355760006109fb565b506000908152601b602052604090206001015490565b600f5490565b601a6020526000908152604090205481565b601c5460ff16156116865760405162461bcd60e51b8152600401610abd90612d5f565b601c805460ff1916600117905560185460ff16156116b65760405162461bcd60e51b8152600401610abd90612f1b565b6015548111156116d85760405162461bcd60e51b8152600401610abd9061300c565b80600f546116e6919061375d565b3410156117055760405162461bcd60e51b8152600401610abd906134f8565b61170d611fac565b1561172a5760405162461bcd60e51b8152600401610abd906132e1565b611741338260195461173a610be1565b1115611c81565b50601c805460ff19169055565b611756611c0b565b6001600160a01b0316826001600160a01b031614156117875760405162461bcd60e51b8152600401610abd90612fd5565b8060056000611794611c0b565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff1916921515929092179091556117d8611c0b565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516118109190612d41565b60405180910390a35050565b60006109fb82611fe8565b611838611832611c0b565b83611d99565b6118545760405162461bcd60e51b8152600401610abd9061358c565b611860848484846120af565b50505050565b601854610100900460ff161590565b6000610bdc600b611c7d565b6000610bdc611fcd565b611893611c0b565b6001600160a01b03166118a46115a5565b6001600160a01b0316146118ca5760405162461bcd60e51b8152600401610abd90613375565b60005b601d5481101561192a57611918601d82815481106118fb57634e487b7160e01b600052603260045260246000fd5b60009182526020822001546001600160a01b031690600190611c81565b8061192281613811565b9150506118cd565b50601d54600e805460009061194090849061377c565b9091555050565b606061195282611bee565b61196e5760405162461bcd60e51b8152600401610abd9061343e565b60006119786120e2565b9050600081511161199857604051806020016040528060008152506119c3565b806119a2846120f1565b6040516020016119b3929190612c5b565b6040516020818303038152906040525b9392505050565b601b602052600090815260409020805460018201546002909201546001600160a01b03909116919060ff1683565b611a00611c0b565b6001600160a01b0316611a116115a5565b6001600160a01b031614611a375760405162461bcd60e51b8152600401610abd90613375565b60005b8251811015610b7557818181518110611a6357634e487b7160e01b600052603260045260246000fd5b6020026020010151601a6000858481518110611a8f57634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020819055508080611ac690613811565b915050611a3a565b606060148054610a12906137d6565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b611b13611c0b565b6001600160a01b0316611b246115a5565b6001600160a01b031614611b4a5760405162461bcd60e51b8152600401610abd90613375565b6001600160a01b038116611b705760405162461bcd60e51b8152600401610abd90612e50565b611b798161205d565b50565b60006001600160e01b031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480611bdf57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806109fb57506109fb82612240565b6000908152600260205260409020546001600160a01b0316151590565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611c448261138d565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b5490565b6000611c8b610be1565b600d54909150611c9b8483613731565b1115611cb95760405162461bcd60e51b8152600401610abd90613407565b60005b83811015611d92576000611cd08284613731565b9050611cdc8682612272565b807fabe561341aa4c9bf68cfeda06d6f680a1bcf1737283d9236a7b3ba6c28c92a4b33604051611d0c9190612c8a565b60405180910390a26000818152601b6020526040902080546001600160a01b0319166001600160a01b038816178155600f546001820155600201805460ff19168515801591909117909155611d7f57611d65600c611f62565b600f5460176000828254611d799190613731565b90915550505b5080611d8a81613811565b915050611cbc565b5050505050565b6000611da482611bee565b611dc05760405162461bcd60e51b8152600401610abd90613069565b6000611dcb8361138d565b9050806001600160a01b0316846001600160a01b03161480611e065750836001600160a01b0316611dfb84610a96565b6001600160a01b0316145b80611e165750611e168185611add565b949350505050565b826001600160a01b0316611e318261138d565b6001600160a01b031614611e575760405162461bcd60e51b8152600401610abd906133aa565b6001600160a01b038216611e7d5760405162461bcd60e51b8152600401610abd90612f78565b611e8883838361228c565b611e93600082611c0f565b6001600160a01b0383166000908152600360205260408120805460019290611ebc90849061377c565b90915550506001600160a01b0382166000908152600360205260408120805460019290611eea908490613731565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600060105442118015610bdc575050601154421090565b80546001019055565b6040516001600160a01b0383169082156108fc029083906000818181858888f19350505050610bcc5760405162461bcd60e51b8152600401610abd90612ead565b6000600e54600d54611fbe919061377c565b611fc6610be1565b1015905090565b6000601154421015611fe25750601754610a93565b50600090565b6001600160a01b03166000908152601a6020526040902054151590565b6001600160a01b03166000908152601a602052604090205490565b601854600090610100900460ff166120425761203b82612005565b90506109fe565b60185460ff1661205557506015546109fe565b506001919050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6120ba848484611e1e565b6120c684848484612315565b6118605760405162461bcd60e51b8152600401610abd90612df3565b606060138054610a12906137d6565b606081612132575060408051808201909152600181527f300000000000000000000000000000000000000000000000000000000000000060208201526109fe565b8160005b811561215c578061214681613811565b91506121559050600a83613749565b9150612136565b60008167ffffffffffffffff81111561218557634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156121af576020820181803683370190505b5090505b8415611e16576121c460018361377c565b91506121d1600a8661382c565b6121dc906030613731565b60f81b8183815181106121ff57634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612239600a86613749565b94506121b3565b6001600160e01b031981167f01ffc9a70000000000000000000000000000000000000000000000000000000014919050565b610bcc828260405180602001604052806000815250612449565b612297838383610b75565b6001600160a01b0383166122b3576122ae8161247c565b6122d6565b816001600160a01b0316836001600160a01b0316146122d6576122d683826124c0565b6001600160a01b0382166122f2576122ed8161255d565b610b75565b826001600160a01b0316826001600160a01b031614610b7557610b758282612636565b6000612329846001600160a01b031661267a565b1561243e57836001600160a01b031663150b7a02612345611c0b565b8786866040518563ffffffff1660e01b81526004016123679493929190612c9e565b602060405180830381600087803b15801561238157600080fd5b505af19250505080156123b1575060408051601f3d908101601f191682019092526123ae91810190612b94565b60015b61240b573d8080156123df576040519150601f19603f3d011682016040523d82523d6000602084013e6123e4565b606091505b5080516124035760405162461bcd60e51b8152600401610abd90612df3565b805181602001fd5b6001600160e01b0319167f150b7a0200000000000000000000000000000000000000000000000000000000149050611e16565b506001949350505050565b6124538383612680565b6124606000848484612315565b610b755760405162461bcd60e51b8152600401610abd90612df3565b600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b600060016124cd84611450565b6124d7919061377c565b60008381526007602052604090205490915080821461252a576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061256f9060019061377c565b600083815260096020526040812054600880549394509092849081106125a557634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080600883815481106125d457634e487b7160e01b600052603260045260246000fd5b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061261a57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061264183611450565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b3b151590565b6001600160a01b0382166126a65760405162461bcd60e51b8152600401610abd90613260565b6126af81611bee565b156126cc5760405162461bcd60e51b8152600401610abd90612ee4565b6126d86000838361228c565b6001600160a01b0382166000908152600360205260408120805460019290612701908490613731565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461276b906137d6565b90600052602060002090601f01602090048101928261278d57600085556127d3565b82601f106127a657805160ff19168380011785556127d3565b828001600101855582156127d3579182015b828111156127d35782518255916020019190600101906127b8565b506127df9291506127e3565b5090565b5b808211156127df57600081556001016127e4565b600067ffffffffffffffff8311156128125761281261386c565b612825601f8401601f19166020016136e3565b905082815283838301111561283957600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b03811681146109fe57600080fd5b600082601f830112612877578081fd5b8135602061288c6128878361370d565b6136e3565b82815281810190858301838502870184018810156128a8578586fd5b855b858110156128cd576128bb82612850565b845292840192908401906001016128aa565b5090979650505050505050565b600082601f8301126128ea578081fd5b813560206128fa6128878361370d565b8281528181019085830183850287018401881015612916578586fd5b855b858110156128cd57813584529284019290840190600101612918565b803580151581146109fe57600080fd5b600060208284031215612955578081fd5b6119c382612850565b60008060408385031215612970578081fd5b61297983612850565b915061298760208401612850565b90509250929050565b6000806000606084860312156129a4578081fd5b6129ad84612850565b92506129bb60208501612850565b9150604084013590509250925092565b600080600080608085870312156129e0578081fd5b6129e985612850565b93506129f760208601612850565b925060408501359150606085013567ffffffffffffffff811115612a19578182fd5b8501601f81018713612a29578182fd5b612a38878235602084016127f8565b91505092959194509250565b60008060408385031215612a56578182fd5b612a5f83612850565b915061298760208401612934565b60008060408385031215612a7f578182fd5b612a8883612850565b946020939093013593505050565b600060208284031215612aa7578081fd5b813567ffffffffffffffff811115612abd578182fd5b611e1684828501612867565b60008060408385031215612adb578182fd5b823567ffffffffffffffff80821115612af2578384fd5b612afe86838701612867565b93506020850135915080821115612b13578283fd5b50612b20858286016128da565b9150509250929050565b600060208284031215612b3b578081fd5b813567ffffffffffffffff811115612b51578182fd5b611e16848285016128da565b60008060408385031215612b6f578081fd5b612a5f83612934565b600060208284031215612b89578081fd5b81356119c381613882565b600060208284031215612ba5578081fd5b81516119c381613882565b600060208284031215612bc1578081fd5b813567ffffffffffffffff811115612bd7578182fd5b8201601f81018413612be7578182fd5b611e16848235602084016127f8565b600060208284031215612c07578081fd5b5035919050565b60008060408385031215612c20578182fd5b50508035926020909101359150565b60008151808452612c47816020860160208601613793565b601f01601f19169290920160200192915050565b60008351612c6d818460208801613793565b835190830190612c81818360208801613793565b01949350505050565b6001600160a01b0391909116815260200190565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612cd06080830184612c2f565b9695505050505050565b6001600160a01b0393909316835260208301919091521515604082015260600190565b6020808252825182820181905260009190848201906040850190845b81811015612d3557835183529284019291840191600101612d19565b50909695505050505050565b901515815260200190565b6000602082526119c36020830184612c2f565b6020808252600a908201527f4e6f207265656e74727900000000000000000000000000000000000000000000604082015260600190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201527f74206f6620626f756e6473000000000000000000000000000000000000000000606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527f63656976657220696d706c656d656e7465720000000000000000000000000000606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201527f6464726573730000000000000000000000000000000000000000000000000000606082015260800190565b6020808252600f908201527f5472616e73666572206661696c65640000000000000000000000000000000000604082015260600190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526025908201527f546865205452557320616c6c20706173736564206f75742e2053616c6520706160408201527f757365642e000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460408201527f7265737300000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b60208082526031908201527f596f752063616e277420626f6f6b2074686174206d616e79205452557320696e60408201527f206f6e65207472616e73616374696f6e2e000000000000000000000000000000606082015260800190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252602f908201527f546865205452557320616c6c20706173736564206f75742e2057686974656c6960408201527f73742073616c65207061757365642e0000000000000000000000000000000000606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560408201527f726f206164647265737300000000000000000000000000000000000000000000606082015260800190565b6020808252601c908201527f52657475726e20706572696f64206973206e6f74206163746976652e00000000604082015260600190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201527f656e7420746f6b656e0000000000000000000000000000000000000000000000606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526016908201527f54686520545255732061726520736f6c64206f75742e00000000000000000000604082015260600190565b6020808252602c908201527f536f7272792c20746869732061646472657373206973206e6f74206f6e20746860408201527f652077686974656c6973742e0000000000000000000000000000000000000000606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201527f73206e6f74206f776e0000000000000000000000000000000000000000000000606082015260800190565b6020808252601a908201527f45786365656473206d6178696d756d2054525520737570706c79000000000000604082015260600190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560408201527f7200000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526027908201527f54686520416d6f756e74206f662045746865722073656e74206973206e6f742060408201527f636f727265637400000000000000000000000000000000000000000000000000606082015260800190565b60208082526019908201527f45746865722073656e74206973206e6f7420636f727265637400000000000000604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60408201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606082015260800190565b6020808252602c908201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60408201527f7574206f6620626f756e64730000000000000000000000000000000000000000606082015260800190565b6020808252601c908201527f4e6f206f6e65206e6565647320612062616e6420746869732062696700000000604082015260600190565b6020808252603f908201527f4e6f7420656e6f7567682070726f6d6f207469636b6574732e2054686973207760408201527f6f756c64206578636565642072657365727665642054525520737570706c7900606082015260800190565b90815260200190565b60405181810167ffffffffffffffff811182821017156137055761370561386c565b604052919050565b600067ffffffffffffffff8211156137275761372761386c565b5060209081020190565b6000821982111561374457613744613840565b500190565b60008261375857613758613856565b500490565b600081600019048311821515161561377757613777613840565b500290565b60008282101561378e5761378e613840565b500390565b60005b838110156137ae578181015183820152602001613796565b838111156118605750506000910152565b6000816137ce576137ce613840565b506000190190565b6002810460018216806137ea57607f821691505b6020821081141561380b57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561382557613825613840565b5060010190565b60008261383b5761383b613856565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114611b7957600080fdfea26469706673582212205d63a1499b8d791e47950c707dac4ac45fe592a0911ad146b586cc221845a63864736f6c63430008000033000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000be0000000000000000000000000000000000000000000000000000000061ae510e000000000000000000000000000000000000000000000000000000006205540e00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000000000000000000000000000000000000000004868747470733a2f2f73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f6170692e726f636b696e67756e69717565686f726e732e636f6d2f7075626c69632f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003068747470733a2f2f726f636b696e67756e69717565686f726e732e636f6d2f636f6e74726163742f6d6574616461746100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000700000000000000000000000062f163a73f1da758870b37561584d963e9b92a35000000000000000000000000dab86752eae07f5c85c04be9915335a263dc2aa400000000000000000000000099f869568e53b860eaee4c1a85fc1a0528cf0054000000000000000000000000ba0fcebc576c29fd17b6d9399f7fd7f5c88715cc0000000000000000000000004204af0e5cf666cebcf574121ec15c05deaec2ff00000000000000000000000089deb4b1d9a224c74c4a8c7ec5f87f0f445f4b4f00000000000000000000000089deb4b1d9a224c74c4a8c7ec5f87f0f445f4b4f
Deployed Bytecode
0x60806040526004361061036b5760003560e01c80636352211e116101c6578063a0712d68116100f7578063c30d3e8711610095578063d886a5c81161006f578063d886a5c814610948578063e8a3d48514610968578063e985e9c51461097d578063f2fde38b1461099d5761036b565b8063c30d3e87146108e4578063c87b56dd146108f9578063d3f7587a146109195761036b565b8063b88d4fde116100d1578063b88d4fde14610885578063b98451cf146108a5578063c26ccd71146108ba578063c29bec44146108cf5761036b565b8063a0712d6814610832578063a22cb46514610845578063aac8f967146108655761036b565b80638d859f3e1161016457806395d89b411161013e57806395d89b41146107c8578063963ea5fd146107dd57806398d5fdca146107fd5780639b19251a146108125761036b565b80638d859f3e1461077e5780638da5cb5b14610793578063938e3d7b146107a85761036b565b8063715018a6116101a0578063715018a6146107145780637f649783146107295780638153e82b14610749578063841c180f1461075e5761036b565b80636352211e146106bf5780636373a6b1146106df57806370a08231146106f45761036b565b8063308aa4c4116102a0578063459943301161023e5780634f6ccce7116102185780634f6ccce71461064a57806355f804b31461066a578063564566a81461068a5780635c1b9fa51461069f5761036b565b806345994330146105ea5780634618163e1461061757806347ca277d1461062a5761036b565b8063338f11a81161027a578063338f11a8146105825780633ccfd60b146105a25780634046a689146105aa57806342842e0e146105ca5761036b565b8063308aa4c41461053857806332cb6b0c1461054d57806332e1a6cd146105625761036b565b80631d251ca31161030d57806323b872dd116102e757806323b872dd146104c35780632d12e5cf146104e35780632da5ea17146105035780632f745c59146105185761036b565b80631d251ca31461046e5780631f989bc41461048e57806322606210146104a35761036b565b8063095ea7b311610349578063095ea7b3146103f5578063109695231461041757806313e909f51461043757806318160ddd146104595761036b565b806301ffc9a71461037057806306fdde03146103a6578063081812fc146103c8575b600080fd5b34801561037c57600080fd5b5061039061038b366004612b78565b6109bd565b60405161039d9190612d41565b60405180910390f35b3480156103b257600080fd5b506103bb610a03565b60405161039d9190612d4c565b3480156103d457600080fd5b506103e86103e3366004612bf6565b610a96565b60405161039d9190612c8a565b34801561040157600080fd5b50610415610410366004612a6d565b610ae2565b005b34801561042357600080fd5b50610415610432366004612bb0565b610b7a565b34801561044357600080fd5b5061044c610bd0565b60405161039d91906136da565b34801561046557600080fd5b5061044c610be1565b34801561047a57600080fd5b50610415610489366004612a6d565b610be7565b34801561049a57600080fd5b5061044c610c6f565b3480156104af57600080fd5b506104156104be366004612c0e565b610c75565b3480156104cf57600080fd5b506104156104de366004612990565b610cbf565b3480156104ef57600080fd5b506104156104fe366004612b2a565b610cf7565b34801561050f57600080fd5b50610390610e30565b34801561052457600080fd5b5061044c610533366004612a6d565b610e3a565b34801561054457600080fd5b5061044c610e8c565b34801561055957600080fd5b5061044c610e92565b34801561056e57600080fd5b5061039061057d366004612bf6565b610e98565b34801561058e57600080fd5b5061041561059d366004612b5d565b610ec2565b610415610f24565b3480156105b657600080fd5b506104156105c5366004612a96565b610f87565b3480156105d657600080fd5b506104156105e5366004612990565b611051565b3480156105f657600080fd5b5061060a610605366004612944565b61106c565b60405161039d9190612cfd565b610415610625366004612bf6565b61112a565b34801561063657600080fd5b50610415610645366004612944565b61125e565b34801561065657600080fd5b5061044c610665366004612bf6565b6112bf565b34801561067657600080fd5b50610415610685366004612bb0565b61131a565b34801561069657600080fd5b5061039061136c565b3480156106ab57600080fd5b5061044c6106ba366004612944565b611376565b3480156106cb57600080fd5b506103e86106da366004612bf6565b61138d565b3480156106eb57600080fd5b506103bb6113c2565b34801561070057600080fd5b5061044c61070f366004612944565b611450565b34801561072057600080fd5b50610415611494565b34801561073557600080fd5b50610415610744366004612a96565b6114dd565b34801561075557600080fd5b5061044c61158e565b34801561076a57600080fd5b5061044c610779366004612944565b611594565b34801561078a57600080fd5b5061044c61159f565b34801561079f57600080fd5b506103e86115a5565b3480156107b457600080fd5b506104156107c3366004612bb0565b6115b4565b3480156107d457600080fd5b506103bb611606565b3480156107e957600080fd5b5061044c6107f8366004612bf6565b611615565b34801561080957600080fd5b5061044c61164b565b34801561081e57600080fd5b5061044c61082d366004612944565b611651565b610415610840366004612bf6565b611663565b34801561085157600080fd5b50610415610860366004612a44565b61174e565b34801561087157600080fd5b50610390610880366004612944565b61181c565b34801561089157600080fd5b506104156108a03660046129cb565b611827565b3480156108b157600080fd5b50610390611866565b3480156108c657600080fd5b5061044c611875565b3480156108db57600080fd5b5061044c611881565b3480156108f057600080fd5b5061041561188b565b34801561090557600080fd5b506103bb610914366004612bf6565b611947565b34801561092557600080fd5b50610939610934366004612bf6565b6119ca565b60405161039d93929190612cda565b34801561095457600080fd5b50610415610963366004612ac9565b6119f8565b34801561097457600080fd5b506103bb611ace565b34801561098957600080fd5b5061039061099836600461295e565b611add565b3480156109a957600080fd5b506104156109b8366004612944565b611b0b565b60006001600160e01b031982167f780e9d630000000000000000000000000000000000000000000000000000000014806109fb57506109fb82611b7c565b90505b919050565b606060008054610a12906137d6565b80601f0160208091040260200160405190810160405280929190818152602001828054610a3e906137d6565b8015610a8b5780601f10610a6057610100808354040283529160200191610a8b565b820191906000526020600020905b815481529060010190602001808311610a6e57829003601f168201915b505050505090505b90565b6000610aa182611bee565b610ac65760405162461bcd60e51b8152600401610abd90613295565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610aed8261138d565b9050806001600160a01b0316836001600160a01b03161415610b215760405162461bcd60e51b8152600401610abd9061349b565b806001600160a01b0316610b33611c0b565b6001600160a01b03161480610b4f5750610b4f81610998611c0b565b610b6b5760405162461bcd60e51b8152600401610abd90613112565b610b758383611c0f565b505050565b610b82611c0b565b6001600160a01b0316610b936115a5565b6001600160a01b031614610bb95760405162461bcd60e51b8152600401610abd90613375565b8051610bcc90601290602084019061275f565b5050565b6000610bdc600c611c7d565b905090565b60085490565b610bef611c0b565b6001600160a01b0316610c006115a5565b6001600160a01b031614610c265760405162461bcd60e51b8152600401610abd90613375565b600e54811115610c485760405162461bcd60e51b8152600401610abd9061367d565b610c5482826000611c81565b80600e6000828254610c66919061377c565b90915550505050565b60105481565b610c7d611c0b565b6001600160a01b0316610c8e6115a5565b6001600160a01b031614610cb45760405162461bcd60e51b8152600401610abd90613375565b601591909155601655565b610cd0610cca611c0b565b82611d99565b610cec5760405162461bcd60e51b8152600401610abd9061358c565b610b75838383611e1e565b601c5460ff1615610d1a5760405162461bcd60e51b8152600401610abd90612d5f565b601c805460ff19166001179055610d2f611f4b565b610d4b5760405162461bcd60e51b8152600401610abd906131cc565b6000805b8251811015610e17576000838281518110610d7a57634e487b7160e01b600052603260045260246000fd5b60200260200101519050336001600160a01b0316610d978261138d565b6001600160a01b0316148015610dbe57506000818152601b602052604090206002015460ff165b15610e0457601e54610ddb9033906001600160a01b031683611e1e565b610de5600b611f62565b6000818152601b6020526040902060010154610e019084613731565b92505b5080610e0f81613811565b915050610d4f565b50610e223382611f6b565b5050601c805460ff19169055565b6000610bdc611fac565b6000610e4583611450565b8210610e635760405162461bcd60e51b8152600401610abd90612d96565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b60115481565b600d5481565b6000610ea2611f4b565b80156109fb5750506000908152601b602052604090206002015460ff1690565b610eca611c0b565b6001600160a01b0316610edb6115a5565b6001600160a01b031614610f015760405162461bcd60e51b8152600401610abd90613375565b6018805460ff19169215159290921761ff00191661010091151591909102179055565b610f2c611c0b565b6001600160a01b0316610f3d6115a5565b6001600160a01b031614610f635760405162461bcd60e51b8152600401610abd90613375565b610f85610f6e6115a5565b610f76611fcd565b610f80904761377c565b611f6b565b565b610f8f611c0b565b6001600160a01b0316610fa06115a5565b6001600160a01b031614610fc65760405162461bcd60e51b8152600401610abd90613375565b600e5481511115610fe95760405162461bcd60e51b8152600401610abd9061367d565b60005b8151811015610bcc5761102982828151811061101857634e487b7160e01b600052603260045260246000fd5b602002602001015160016000611c81565b600e8054906000611039836137bf565b9190505550808061104990613811565b915050610fec565b610b7583838360405180602001604052806000815250611827565b6060600061107983611450565b905060008167ffffffffffffffff8111156110a457634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156110cd578160200160208202803683370190505b50905060005b82811015611122576110e58582610e3a565b82828151811061110557634e487b7160e01b600052603260045260246000fd5b60209081029190910101528061111a81613811565b9150506110d3565b509392505050565b601c5460ff161561114d5760405162461bcd60e51b8152600401610abd90612d5f565b601c805460ff19166001179055601854610100900460ff16156111825760405162461bcd60e51b8152600401610abd906130b5565b61118b33611fe8565b6111a75760405162461bcd60e51b8152600401610abd90613318565b6111b033612005565b8111156111cf5760405162461bcd60e51b8152600401610abd90613646565b80600f546111dd919061375d565b3410156111fc5760405162461bcd60e51b8152600401610abd90613555565b611204611fac565b156112215760405162461bcd60e51b8152600401610abd906132e1565b61122d33826001611c81565b336000908152601a60205260408120805483929061124c90849061377c565b9091555050601c805460ff1916905550565b611266611c0b565b6001600160a01b03166112776115a5565b6001600160a01b03161461129d5760405162461bcd60e51b8152600401610abd90613375565b601e80546001600160a01b0319166001600160a01b0392909216919091179055565b60006112c9610be1565b82106112e75760405162461bcd60e51b8152600401610abd906135e9565b6008828154811061130857634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b611322611c0b565b6001600160a01b03166113336115a5565b6001600160a01b0316146113595760405162461bcd60e51b8152600401610abd90613375565b8051610bcc90601390602084019061275f565b60185460ff161590565b6000600161138383612020565b6109fb919061377c565b6000818152600260205260408120546001600160a01b0316806109fb5760405162461bcd60e51b8152600401610abd90613203565b601280546113cf906137d6565b80601f01602080910402602001604051908101604052809291908181526020018280546113fb906137d6565b80156114485780601f1061141d57610100808354040283529160200191611448565b820191906000526020600020905b81548152906001019060200180831161142b57829003601f168201915b505050505081565b60006001600160a01b0382166114785760405162461bcd60e51b8152600401610abd9061316f565b506001600160a01b031660009081526003602052604090205490565b61149c611c0b565b6001600160a01b03166114ad6115a5565b6001600160a01b0316146114d35760405162461bcd60e51b8152600401610abd90613375565b610f85600061205d565b6114e5611c0b565b6001600160a01b03166114f66115a5565b6001600160a01b03161461151c5760405162461bcd60e51b8152600401610abd90613375565b60005b8151811015610bcc57601654601a600084848151811061154f57634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002081905550808061158690613811565b91505061151f565b600e5481565b60006109fb82612005565b600f5481565b600a546001600160a01b031690565b6115bc611c0b565b6001600160a01b03166115cd6115a5565b6001600160a01b0316146115f35760405162461bcd60e51b8152600401610abd90613375565b8051610bcc90601490602084019061275f565b606060018054610a12906137d6565b6000818152601b602052604081206002015460ff166116355760006109fb565b506000908152601b602052604090206001015490565b600f5490565b601a6020526000908152604090205481565b601c5460ff16156116865760405162461bcd60e51b8152600401610abd90612d5f565b601c805460ff1916600117905560185460ff16156116b65760405162461bcd60e51b8152600401610abd90612f1b565b6015548111156116d85760405162461bcd60e51b8152600401610abd9061300c565b80600f546116e6919061375d565b3410156117055760405162461bcd60e51b8152600401610abd906134f8565b61170d611fac565b1561172a5760405162461bcd60e51b8152600401610abd906132e1565b611741338260195461173a610be1565b1115611c81565b50601c805460ff19169055565b611756611c0b565b6001600160a01b0316826001600160a01b031614156117875760405162461bcd60e51b8152600401610abd90612fd5565b8060056000611794611c0b565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff1916921515929092179091556117d8611c0b565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516118109190612d41565b60405180910390a35050565b60006109fb82611fe8565b611838611832611c0b565b83611d99565b6118545760405162461bcd60e51b8152600401610abd9061358c565b611860848484846120af565b50505050565b601854610100900460ff161590565b6000610bdc600b611c7d565b6000610bdc611fcd565b611893611c0b565b6001600160a01b03166118a46115a5565b6001600160a01b0316146118ca5760405162461bcd60e51b8152600401610abd90613375565b60005b601d5481101561192a57611918601d82815481106118fb57634e487b7160e01b600052603260045260246000fd5b60009182526020822001546001600160a01b031690600190611c81565b8061192281613811565b9150506118cd565b50601d54600e805460009061194090849061377c565b9091555050565b606061195282611bee565b61196e5760405162461bcd60e51b8152600401610abd9061343e565b60006119786120e2565b9050600081511161199857604051806020016040528060008152506119c3565b806119a2846120f1565b6040516020016119b3929190612c5b565b6040516020818303038152906040525b9392505050565b601b602052600090815260409020805460018201546002909201546001600160a01b03909116919060ff1683565b611a00611c0b565b6001600160a01b0316611a116115a5565b6001600160a01b031614611a375760405162461bcd60e51b8152600401610abd90613375565b60005b8251811015610b7557818181518110611a6357634e487b7160e01b600052603260045260246000fd5b6020026020010151601a6000858481518110611a8f57634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020819055508080611ac690613811565b915050611a3a565b606060148054610a12906137d6565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b611b13611c0b565b6001600160a01b0316611b246115a5565b6001600160a01b031614611b4a5760405162461bcd60e51b8152600401610abd90613375565b6001600160a01b038116611b705760405162461bcd60e51b8152600401610abd90612e50565b611b798161205d565b50565b60006001600160e01b031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480611bdf57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806109fb57506109fb82612240565b6000908152600260205260409020546001600160a01b0316151590565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611c448261138d565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b5490565b6000611c8b610be1565b600d54909150611c9b8483613731565b1115611cb95760405162461bcd60e51b8152600401610abd90613407565b60005b83811015611d92576000611cd08284613731565b9050611cdc8682612272565b807fabe561341aa4c9bf68cfeda06d6f680a1bcf1737283d9236a7b3ba6c28c92a4b33604051611d0c9190612c8a565b60405180910390a26000818152601b6020526040902080546001600160a01b0319166001600160a01b038816178155600f546001820155600201805460ff19168515801591909117909155611d7f57611d65600c611f62565b600f5460176000828254611d799190613731565b90915550505b5080611d8a81613811565b915050611cbc565b5050505050565b6000611da482611bee565b611dc05760405162461bcd60e51b8152600401610abd90613069565b6000611dcb8361138d565b9050806001600160a01b0316846001600160a01b03161480611e065750836001600160a01b0316611dfb84610a96565b6001600160a01b0316145b80611e165750611e168185611add565b949350505050565b826001600160a01b0316611e318261138d565b6001600160a01b031614611e575760405162461bcd60e51b8152600401610abd906133aa565b6001600160a01b038216611e7d5760405162461bcd60e51b8152600401610abd90612f78565b611e8883838361228c565b611e93600082611c0f565b6001600160a01b0383166000908152600360205260408120805460019290611ebc90849061377c565b90915550506001600160a01b0382166000908152600360205260408120805460019290611eea908490613731565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600060105442118015610bdc575050601154421090565b80546001019055565b6040516001600160a01b0383169082156108fc029083906000818181858888f19350505050610bcc5760405162461bcd60e51b8152600401610abd90612ead565b6000600e54600d54611fbe919061377c565b611fc6610be1565b1015905090565b6000601154421015611fe25750601754610a93565b50600090565b6001600160a01b03166000908152601a6020526040902054151590565b6001600160a01b03166000908152601a602052604090205490565b601854600090610100900460ff166120425761203b82612005565b90506109fe565b60185460ff1661205557506015546109fe565b506001919050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6120ba848484611e1e565b6120c684848484612315565b6118605760405162461bcd60e51b8152600401610abd90612df3565b606060138054610a12906137d6565b606081612132575060408051808201909152600181527f300000000000000000000000000000000000000000000000000000000000000060208201526109fe565b8160005b811561215c578061214681613811565b91506121559050600a83613749565b9150612136565b60008167ffffffffffffffff81111561218557634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156121af576020820181803683370190505b5090505b8415611e16576121c460018361377c565b91506121d1600a8661382c565b6121dc906030613731565b60f81b8183815181106121ff57634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612239600a86613749565b94506121b3565b6001600160e01b031981167f01ffc9a70000000000000000000000000000000000000000000000000000000014919050565b610bcc828260405180602001604052806000815250612449565b612297838383610b75565b6001600160a01b0383166122b3576122ae8161247c565b6122d6565b816001600160a01b0316836001600160a01b0316146122d6576122d683826124c0565b6001600160a01b0382166122f2576122ed8161255d565b610b75565b826001600160a01b0316826001600160a01b031614610b7557610b758282612636565b6000612329846001600160a01b031661267a565b1561243e57836001600160a01b031663150b7a02612345611c0b565b8786866040518563ffffffff1660e01b81526004016123679493929190612c9e565b602060405180830381600087803b15801561238157600080fd5b505af19250505080156123b1575060408051601f3d908101601f191682019092526123ae91810190612b94565b60015b61240b573d8080156123df576040519150601f19603f3d011682016040523d82523d6000602084013e6123e4565b606091505b5080516124035760405162461bcd60e51b8152600401610abd90612df3565b805181602001fd5b6001600160e01b0319167f150b7a0200000000000000000000000000000000000000000000000000000000149050611e16565b506001949350505050565b6124538383612680565b6124606000848484612315565b610b755760405162461bcd60e51b8152600401610abd90612df3565b600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b600060016124cd84611450565b6124d7919061377c565b60008381526007602052604090205490915080821461252a576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061256f9060019061377c565b600083815260096020526040812054600880549394509092849081106125a557634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080600883815481106125d457634e487b7160e01b600052603260045260246000fd5b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061261a57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061264183611450565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b3b151590565b6001600160a01b0382166126a65760405162461bcd60e51b8152600401610abd90613260565b6126af81611bee565b156126cc5760405162461bcd60e51b8152600401610abd90612ee4565b6126d86000838361228c565b6001600160a01b0382166000908152600360205260408120805460019290612701908490613731565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461276b906137d6565b90600052602060002090601f01602090048101928261278d57600085556127d3565b82601f106127a657805160ff19168380011785556127d3565b828001600101855582156127d3579182015b828111156127d35782518255916020019190600101906127b8565b506127df9291506127e3565b5090565b5b808211156127df57600081556001016127e4565b600067ffffffffffffffff8311156128125761281261386c565b612825601f8401601f19166020016136e3565b905082815283838301111561283957600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b03811681146109fe57600080fd5b600082601f830112612877578081fd5b8135602061288c6128878361370d565b6136e3565b82815281810190858301838502870184018810156128a8578586fd5b855b858110156128cd576128bb82612850565b845292840192908401906001016128aa565b5090979650505050505050565b600082601f8301126128ea578081fd5b813560206128fa6128878361370d565b8281528181019085830183850287018401881015612916578586fd5b855b858110156128cd57813584529284019290840190600101612918565b803580151581146109fe57600080fd5b600060208284031215612955578081fd5b6119c382612850565b60008060408385031215612970578081fd5b61297983612850565b915061298760208401612850565b90509250929050565b6000806000606084860312156129a4578081fd5b6129ad84612850565b92506129bb60208501612850565b9150604084013590509250925092565b600080600080608085870312156129e0578081fd5b6129e985612850565b93506129f760208601612850565b925060408501359150606085013567ffffffffffffffff811115612a19578182fd5b8501601f81018713612a29578182fd5b612a38878235602084016127f8565b91505092959194509250565b60008060408385031215612a56578182fd5b612a5f83612850565b915061298760208401612934565b60008060408385031215612a7f578182fd5b612a8883612850565b946020939093013593505050565b600060208284031215612aa7578081fd5b813567ffffffffffffffff811115612abd578182fd5b611e1684828501612867565b60008060408385031215612adb578182fd5b823567ffffffffffffffff80821115612af2578384fd5b612afe86838701612867565b93506020850135915080821115612b13578283fd5b50612b20858286016128da565b9150509250929050565b600060208284031215612b3b578081fd5b813567ffffffffffffffff811115612b51578182fd5b611e16848285016128da565b60008060408385031215612b6f578081fd5b612a5f83612934565b600060208284031215612b89578081fd5b81356119c381613882565b600060208284031215612ba5578081fd5b81516119c381613882565b600060208284031215612bc1578081fd5b813567ffffffffffffffff811115612bd7578182fd5b8201601f81018413612be7578182fd5b611e16848235602084016127f8565b600060208284031215612c07578081fd5b5035919050565b60008060408385031215612c20578182fd5b50508035926020909101359150565b60008151808452612c47816020860160208601613793565b601f01601f19169290920160200192915050565b60008351612c6d818460208801613793565b835190830190612c81818360208801613793565b01949350505050565b6001600160a01b0391909116815260200190565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612cd06080830184612c2f565b9695505050505050565b6001600160a01b0393909316835260208301919091521515604082015260600190565b6020808252825182820181905260009190848201906040850190845b81811015612d3557835183529284019291840191600101612d19565b50909695505050505050565b901515815260200190565b6000602082526119c36020830184612c2f565b6020808252600a908201527f4e6f207265656e74727900000000000000000000000000000000000000000000604082015260600190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201527f74206f6620626f756e6473000000000000000000000000000000000000000000606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527f63656976657220696d706c656d656e7465720000000000000000000000000000606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201527f6464726573730000000000000000000000000000000000000000000000000000606082015260800190565b6020808252600f908201527f5472616e73666572206661696c65640000000000000000000000000000000000604082015260600190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526025908201527f546865205452557320616c6c20706173736564206f75742e2053616c6520706160408201527f757365642e000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460408201527f7265737300000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b60208082526031908201527f596f752063616e277420626f6f6b2074686174206d616e79205452557320696e60408201527f206f6e65207472616e73616374696f6e2e000000000000000000000000000000606082015260800190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252602f908201527f546865205452557320616c6c20706173736564206f75742e2057686974656c6960408201527f73742073616c65207061757365642e0000000000000000000000000000000000606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560408201527f726f206164647265737300000000000000000000000000000000000000000000606082015260800190565b6020808252601c908201527f52657475726e20706572696f64206973206e6f74206163746976652e00000000604082015260600190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201527f656e7420746f6b656e0000000000000000000000000000000000000000000000606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526016908201527f54686520545255732061726520736f6c64206f75742e00000000000000000000604082015260600190565b6020808252602c908201527f536f7272792c20746869732061646472657373206973206e6f74206f6e20746860408201527f652077686974656c6973742e0000000000000000000000000000000000000000606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201527f73206e6f74206f776e0000000000000000000000000000000000000000000000606082015260800190565b6020808252601a908201527f45786365656473206d6178696d756d2054525520737570706c79000000000000604082015260600190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560408201527f7200000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526027908201527f54686520416d6f756e74206f662045746865722073656e74206973206e6f742060408201527f636f727265637400000000000000000000000000000000000000000000000000606082015260800190565b60208082526019908201527f45746865722073656e74206973206e6f7420636f727265637400000000000000604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60408201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606082015260800190565b6020808252602c908201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60408201527f7574206f6620626f756e64730000000000000000000000000000000000000000606082015260800190565b6020808252601c908201527f4e6f206f6e65206e6565647320612062616e6420746869732062696700000000604082015260600190565b6020808252603f908201527f4e6f7420656e6f7567682070726f6d6f207469636b6574732e2054686973207760408201527f6f756c64206578636565642072657365727665642054525520737570706c7900606082015260800190565b90815260200190565b60405181810167ffffffffffffffff811182821017156137055761370561386c565b604052919050565b600067ffffffffffffffff8211156137275761372761386c565b5060209081020190565b6000821982111561374457613744613840565b500190565b60008261375857613758613856565b500490565b600081600019048311821515161561377757613777613840565b500290565b60008282101561378e5761378e613840565b500390565b60005b838110156137ae578181015183820152602001613796565b838111156118605750506000910152565b6000816137ce576137ce613840565b506000190190565b6002810460018216806137ea57607f821691505b6020821081141561380b57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561382557613825613840565b5060010190565b60008261383b5761383b613856565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114611b7957600080fdfea26469706673582212205d63a1499b8d791e47950c707dac4ac45fe592a0911ad146b586cc221845a63864736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000270600000000000000000000000000000000000000000000000000000000000000be0000000000000000000000000000000000000000000000000000000061ae510e000000000000000000000000000000000000000000000000000000006205540e00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000000000000000000000000000000000000000004868747470733a2f2f73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f6170692e726f636b696e67756e69717565686f726e732e636f6d2f7075626c69632f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003068747470733a2f2f726f636b696e67756e69717565686f726e732e636f6d2f636f6e74726163742f6d6574616461746100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000700000000000000000000000062f163a73f1da758870b37561584d963e9b92a35000000000000000000000000dab86752eae07f5c85c04be9915335a263dc2aa400000000000000000000000099f869568e53b860eaee4c1a85fc1a0528cf0054000000000000000000000000ba0fcebc576c29fd17b6d9399f7fd7f5c88715cc0000000000000000000000004204af0e5cf666cebcf574121ec15c05deaec2ff00000000000000000000000089deb4b1d9a224c74c4a8c7ec5f87f0f445f4b4f00000000000000000000000089deb4b1d9a224c74c4a8c7ec5f87f0f445f4b4f
-----Decoded View---------------
Arg [0] : maxSupply (uint256): 9990
Arg [1] : promoTickets (uint256): 190
Arg [2] : returnPeriodStart (uint256): 1638813966
Arg [3] : returnPeriodEnd (uint256): 1644516366
Arg [4] : initialBaseURI (string): https://s3.eu-central-1.amazonaws.com/api.rockinguniquehorns.com/public/
Arg [5] : initialContractURI (string): https://rockinguniquehorns.com/contract/metadata
Arg [6] : team (address[]): 0x62f163a73f1da758870B37561584D963e9B92A35,0xdab86752Eae07F5c85C04be9915335a263dc2aA4,0x99F869568E53B860Eaee4C1a85Fc1A0528cf0054,0xBa0FcEBC576c29fD17b6d9399f7fd7F5c88715Cc,0x4204af0e5CF666cEbcF574121ec15C05DeaEC2FF,0x89dEB4b1D9a224c74C4A8C7Ec5f87f0f445f4b4F,0x89dEB4b1D9a224c74C4A8C7Ec5f87f0f445f4b4F
-----Encoded View---------------
22 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000002706
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000be
Arg [2] : 0000000000000000000000000000000000000000000000000000000061ae510e
Arg [3] : 000000000000000000000000000000000000000000000000000000006205540e
Arg [4] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [6] : 00000000000000000000000000000000000000000000000000000000000001c0
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000048
Arg [8] : 68747470733a2f2f73332e65752d63656e7472616c2d312e616d617a6f6e6177
Arg [9] : 732e636f6d2f6170692e726f636b696e67756e69717565686f726e732e636f6d
Arg [10] : 2f7075626c69632f000000000000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000030
Arg [12] : 68747470733a2f2f726f636b696e67756e69717565686f726e732e636f6d2f63
Arg [13] : 6f6e74726163742f6d6574616461746100000000000000000000000000000000
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [15] : 00000000000000000000000062f163a73f1da758870b37561584d963e9b92a35
Arg [16] : 000000000000000000000000dab86752eae07f5c85c04be9915335a263dc2aa4
Arg [17] : 00000000000000000000000099f869568e53b860eaee4c1a85fc1a0528cf0054
Arg [18] : 000000000000000000000000ba0fcebc576c29fd17b6d9399f7fd7f5c88715cc
Arg [19] : 0000000000000000000000004204af0e5cf666cebcf574121ec15c05deaec2ff
Arg [20] : 00000000000000000000000089deb4b1d9a224c74c4a8c7ec5f87f0f445f4b4f
Arg [21] : 00000000000000000000000089deb4b1d9a224c74c4a8c7ec5f87f0f445f4b4f
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.