ERC-721
Overview
Max Total Supply
2,525 DGB1
Holders
453
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
5 DGB1Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DegenGangBeastsNFT
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 1500 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/access/Ownable.sol"; import "./ERC721A.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; interface IDegenGang { function getTokensOfOwner(address _owner) external view returns (uint256[] memory); } contract DegenGangBeastsNFT is Ownable, ERC721A { using SafeMath for uint256; using SafeMath for uint8; string private _baseTokenURI; uint256 public constant MAX_DGB = 5000; uint256 public constant MAX_BREED_ALLOWANCE = 2; uint256 public constant MAX_BREED_WL = 500; uint256 public constant MAX_BREED_WL_2 = 1000; uint256 public constant MAX_PRESALE = 1500; uint256 public MAX_PRESALE_ALLOWANCE = 2; uint256 public constant MAX_SALE_ALLOWANCE = 50; address team1Address; address team2Address; address team3Address; address degenGang; uint256 public price; uint256 public totalPresaleSupply; bytes32 public merkleRoot; bool public hasBreedMintStarted = false; bool public breedMintOver = false; bool public hasPreSaleStarted = false; bool public preSaleOver = false; bool public hasSaleStarted = false; mapping(uint256 => bool) public tokenIdToIsUsed; mapping(address => bool) public userToPresaleMinted; uint256 public breedWhitelistCount; constructor(string memory baseURI_, bytes32 _merkleRoot) ERC721A("DegenGangBeastsNFT", "DGB1", MAX_SALE_ALLOWANCE, MAX_DGB) { price = 0.05 ether; team1Address = 0x8d0A5BAff67AA982df20bb93d9aE38AC358BA807; team2Address = 0xd5a3383773a45dE394502092f17E9e4F50bf710A; team3Address = 0x5F058DCcffB7862566aBe44F85d409823F5ce921; degenGang = 0x45ebB5FE718F40052fB2DC2463C13717b7b72768; _baseTokenURI = baseURI_; merkleRoot = _merkleRoot; } function breedMint(uint8 _quantity) external payable { require(numberMinted(msg.sender) == 0, "DegenGangBeastsNFT::breedMint: You have already used Breed minting."); require(hasBreedMintStarted, "DegenGangBeastsNFT::breedMint: Breed minting hasn't started."); require(!breedMintOver, "DegenGangBeastsNFT::breedMint: Breed minting is over, no more allowances."); require(_quantity <= MAX_BREED_ALLOWANCE, "DegenGangBeastsNFT::breedMint: You are allowed buy 2 Beasts max."); if (_quantity > 0) { require( _quantity == 1 ? breedWhitelistCount <= MAX_BREED_WL_2 : true, "DegenGangBeastsNFT::breedMint: No more Whitelist spots." ); require( _quantity == 2 ? breedWhitelistCount <= MAX_BREED_WL : true, "DegenGangBeastsNFT::breedMint: No more Whitelist spots." ); require( msg.value >= price * _quantity, "DegenGangBeastsNFT::breedMint: Ether value sent is below the price." ); breedWhitelistCount = breedWhitelistCount.add(1); } uint256[] memory tokensOfUser = IDegenGang(degenGang).getTokensOfOwner(msg.sender); uint256 breedQuantity; bool isPrevId = false; uint256 prevIdIndex; for (uint256 i = 0; i < tokensOfUser.length; i++) { bool isUsed = tokenIdToIsUsed[tokensOfUser[i]]; if (isPrevId && !isUsed) { breedQuantity++; tokenIdToIsUsed[tokensOfUser[i]] = true; tokenIdToIsUsed[tokensOfUser[prevIdIndex]] = true; isPrevId = false; } else if (!isUsed) { isPrevId = true; prevIdIndex = i; } } require(breedQuantity > 0, "DegenGangBeastsNFT::breedMint:You can't breed or mint any beast."); _safeMint(msg.sender, breedQuantity + _quantity); } function preMint(uint _quantity, bytes32[] calldata merkleProof) external payable { require(hasPreSaleStarted, "DegenGangBeastsNFT::preMint: Presale hasn't started."); require(!preSaleOver, "DegenGangBeastsNFT::preMint: Presale is over, no more allowances."); require(!userToPresaleMinted[msg.sender], "DegenGangBeastsNFT::preMint: A user can do only one presale mint."); require(totalPresaleSupply < MAX_PRESALE, "DegenGangBeastsNFT::preMint: All presale tokens were minted already."); require(_quantity > 0, "DegenGangBeastsNFT::preMint: Quantity cannot be zero."); require(_quantity <= MAX_PRESALE_ALLOWANCE, "DegenGangBeastsNFT::preMint: Quantity has to be lower or equal to MAX_PRESALE_ALLOWANCE."); require(totalSupply() + _quantity <= MAX_DGB, "DegenGangBeastsNFT::preMint: Sold out."); require(msg.value * _quantity >= price, "DegenGangBeastsNFT::preMint: Ether value sent is below the price."); bytes32 node = keccak256(abi.encodePacked(msg.sender)); require(MerkleProof.verify(merkleProof, merkleRoot, node), "DegenGangBeastsNFT::preMint: Invalid merkle proof."); _safeMint(msg.sender, _quantity); userToPresaleMinted[msg.sender] = true; totalPresaleSupply = totalPresaleSupply.add(_quantity); } function mint(uint256 _quantity) external payable { require(hasSaleStarted, "DegenGangBeastsNFT::mint: Sale hasn't started."); require(_quantity > 0, "DegenGangBeastsNFT::mint: Quantity cannot be zero."); require(_quantity <= MAX_SALE_ALLOWANCE, "DegenGangBeastsNFT::mint: Quantity cannot be bigger than MAX_BUYING."); require(totalSupply() + _quantity <= MAX_DGB, "DegenGangBeastsNFT::mint: Sold out."); require(msg.value >= price * _quantity, "DegenGangBeastsNFT::mint: Ether value sent is below the price."); _safeMint(msg.sender, _quantity); } function mintByOwner(address _to, uint256 _quantity) public onlyOwner { require(_quantity > 0, "DegenGangBeastsNFT::mintByOwner: Quantity cannot be zero."); require(_quantity <= MAX_SALE_ALLOWANCE, "DegenGangBeastsNFT::mintByOwner: Quantity cannot be bigger than MAX_SALE."); require(totalSupply() + _quantity <= MAX_DGB, "DegenGangBeastsNFT::mintByOwner: Sold out."); _safeMint(_to, _quantity); } function batchMintByOwner( address[] memory _mintAddressList, uint256[] memory _quantityList ) external onlyOwner { require(_mintAddressList.length == _quantityList.length, "DegenGangBeastsNFT::batchMintByOwner: The length should be same"); for (uint256 i = 0; i < _mintAddressList.length; i += 1) { mintByOwner(_mintAddressList[i], _quantityList[i]); } } function changePreSaleAllowance(uint256 _preSaleAllowance) external onlyOwner { MAX_PRESALE_ALLOWANCE = _preSaleAllowance; } function setMerkleRoot(bytes32 _merkleRoot) external onlyOwner { merkleRoot = _merkleRoot; } function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function setBaseURI(string calldata baseURI) external onlyOwner { _baseTokenURI = baseURI; } function setPrice(uint256 _price) external onlyOwner { price = _price; } function startBreedMint() external onlyOwner { require(!hasBreedMintStarted, "DegenGangBeastsNFT::startSale: Breed minting is already active."); require(!breedMintOver, "DegenGangBeastsNFT::startSale: Breed minting is over, cannot start again."); hasBreedMintStarted = true; } function pauseBreedMint() external onlyOwner { require(hasBreedMintStarted, "DegenGangBeastsNFT::pauseSale: Breed minting is not active."); hasBreedMintStarted = false; } function startPreSale() external onlyOwner { require(!preSaleOver, "DegenGangBeastsNFT::startPreSale: Presale is over, cannot start again."); require(!hasPreSaleStarted, "DegenGangBeastsNFT::startPreSale: Presale is already active."); require(hasBreedMintStarted || breedMintOver, "DegenGangBeastsNFT::startPreSale: Breed minting should be active first."); hasPreSaleStarted = true; if (!breedMintOver) { hasBreedMintStarted = false; breedMintOver = true; } } function pausePreSale() external onlyOwner { require(hasPreSaleStarted, "DegenGangBeastsNFT::pausePreSale: Presale is not active."); hasPreSaleStarted = false; } function startSale() external onlyOwner { require(!hasSaleStarted, "DegenGangBeastsNFT::startSale: Sale is already active."); require(hasPreSaleStarted || preSaleOver, "DegenGangBeastsNFT::startSale: Presale should be active first."); hasSaleStarted = true; if (!preSaleOver) { hasPreSaleStarted = false; preSaleOver = true; } } function pauseSale() external onlyOwner { require(hasSaleStarted, "DegenGangBeastsNFT::pauseSale: Sale is not active."); hasSaleStarted = false; } function setTeam1Address(address _team1Address) external onlyOwner { team1Address = _team1Address; } function setTeam2Address(address _team2Address) external onlyOwner { team2Address = _team2Address; } function setTeam3Address(address _team3Address) external onlyOwner { team3Address = _team3Address; } function numberMinted(address owner) public view returns (uint256) { return _numberMinted(owner); } function getOwnershipData(uint256 tokenId) external view returns (TokenOwnership memory) { return ownershipOf(tokenId); } function withdrawETH() external onlyOwner { uint256 totalBalance = address(this).balance; uint256 team3Amount = totalBalance; uint256 team1Amount = (totalBalance * 9000) / 10000; // 90% uint256 team2Amount = (totalBalance * 500) / 10000; // 5% team3Amount = team3Amount - team1Amount - team2Amount; // 5% (bool withdrawTeam1, ) = team1Address.call{value: team1Amount}(""); require(withdrawTeam1, "Withdraw Failed To Team 1 address."); (bool withdrawTeam2, ) = team2Address.call{value: team2Amount}(""); require(withdrawTeam2, "Withdraw Failed To Team 2 address."); (bool withdrawTeam3, ) = team3Address.call{value: team3Amount}(""); require(withdrawTeam3, "Withdraw Failed To Team 3 address."); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) 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 "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using Address for address; using Strings for uint256; struct TokenOwnership { address addr; uint64 startTimestamp; } struct AddressData { uint128 balance; uint128 numberMinted; } uint256 private currentIndex = 0; uint256 internal immutable collectionSize; uint256 internal immutable maxBatchSize; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details. mapping(uint256 => TokenOwnership) private _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; mapping(address => mapping(address => bool)) private _operatorApprovals; constructor( string memory name_, string memory symbol_, uint256 maxBatchSize_, uint256 collectionSize_ ) { require( collectionSize_ > 0, "ERC721A: collection must have a nonzero supply" ); require(maxBatchSize_ > 0, "ERC721A: max batch size must be nonzero"); _name = name_; _symbol = symbol_; maxBatchSize = maxBatchSize_; collectionSize = collectionSize_; } function totalSupply() public view override returns (uint256) { return currentIndex; } function tokenByIndex(uint256 index) public view override returns (uint256) { require(index < totalSupply(), "ERC721A: global index out of bounds"); return index; } function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) { require(index < balanceOf(owner), "ERC721A: owner index out of bounds"); uint256 numMintedSoFar = totalSupply(); uint256 tokenIdsIdx = 0; address currOwnershipAddr = address(0); for (uint256 i = 0; i < numMintedSoFar; i++) { TokenOwnership memory ownership = _ownerships[i]; if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } revert("ERC721A: unable to get token of owner by index"); } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } function balanceOf(address owner) public view override returns (uint256) { require(owner != address(0), "ERC721A: balance query for the zero address"); return uint256(_addressData[owner].balance); } function _numberMinted(address owner) internal view returns (uint256) { require( owner != address(0), "ERC721A: number minted query for the zero address" ); return uint256(_addressData[owner].numberMinted); } function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { require(_exists(tokenId), "ERC721A: owner query for nonexistent token"); uint256 lowestTokenToCheck; if (tokenId >= maxBatchSize) { lowestTokenToCheck = tokenId - maxBatchSize + 1; } for (uint256 curr = tokenId; curr >= lowestTokenToCheck; curr--) { TokenOwnership memory ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } revert("ERC721A: unable to determine the owner of token"); } function ownerOf(uint256 tokenId) public view override returns (address) { return ownershipOf(tokenId).addr; } function name() public view virtual override returns (string memory) { return _name; } function symbol() public view virtual override returns (string memory) { return _symbol; } 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())) : ""; } function _baseURI() internal view virtual returns (string memory) { return ""; } function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); require(to != owner, "ERC721A: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721A: approve caller is not owner nor approved for all" ); _approve(to, tokenId, owner); } function getApproved(uint256 tokenId) public view override returns (address) { require(_exists(tokenId), "ERC721A: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } function setApprovalForAll(address operator, bool approved) public override { require(operator != _msgSender(), "ERC721A: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } function transferFrom( address from, address to, uint256 tokenId ) public override { _transfer(from, to, tokenId); } function safeTransferFrom( address from, address to, uint256 tokenId ) public override { safeTransferFrom(from, to, tokenId, ""); } function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public override { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, _data), "ERC721A: transfer to non ERC721Receiver implementer" ); } function _exists(uint256 tokenId) internal view returns (bool) { return tokenId < currentIndex; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ""); } function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = currentIndex; require(to != address(0), "ERC721A: mint to the zero address"); // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering. require(!_exists(startTokenId), "ERC721A: token already minted"); require(quantity <= maxBatchSize, "ERC721A: quantity to mint too high"); _beforeTokenTransfers(address(0), to, startTokenId, quantity); AddressData memory addressData = _addressData[to]; _addressData[to] = AddressData( addressData.balance + uint128(quantity), addressData.numberMinted + uint128(quantity) ); _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp)); uint256 updatedIndex = startTokenId; for (uint256 i = 0; i < quantity; i++) { emit Transfer(address(0), to, updatedIndex); require( _checkOnERC721Received(address(0), to, updatedIndex, _data), "ERC721A: transfer to non ERC721Receiver implementer" ); updatedIndex++; } currentIndex = updatedIndex; _afterTokenTransfers(address(0), to, startTokenId, quantity); } function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || getApproved(tokenId) == _msgSender() || isApprovedForAll(prevOwnership.addr, _msgSender())); require( isApprovedOrOwner, "ERC721A: transfer caller is not owner nor approved" ); require( prevOwnership.addr == from, "ERC721A: transfer from incorrect owner" ); require(to != address(0), "ERC721A: transfer to the zero address"); _beforeTokenTransfers(from, to, tokenId, 1); _approve(address(0), tokenId, prevOwnership.addr); _addressData[from].balance -= 1; _addressData[to].balance += 1; _ownerships[tokenId] = TokenOwnership(to, uint64(block.timestamp)); uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { if (_exists(nextTokenId)) { _ownerships[nextTokenId] = TokenOwnership( prevOwnership.addr, prevOwnership.startTimestamp ); } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } 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(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721A: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev 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 { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, 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 // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": true, "runs": 1500 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"},{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"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":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_BREED_ALLOWANCE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_BREED_WL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_BREED_WL_2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_DGB","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PRESALE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PRESALE_ALLOWANCE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SALE_ALLOWANCE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"_mintAddressList","type":"address[]"},{"internalType":"uint256[]","name":"_quantityList","type":"uint256[]"}],"name":"batchMintByOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_quantity","type":"uint8"}],"name":"breedMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"breedMintOver","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"breedWhitelistCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_preSaleAllowance","type":"uint256"}],"name":"changePreSaleAllowance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getOwnershipData","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"}],"internalType":"struct ERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hasBreedMintStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hasPreSaleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hasSaleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mintByOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauseBreedMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pausePreSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pauseSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"preMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"preSaleOver","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_team1Address","type":"address"}],"name":"setTeam1Address","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_team2Address","type":"address"}],"name":"setTeam2Address","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_team3Address","type":"address"}],"name":"setTeam3Address","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBreedMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startPreSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenIdToIsUsed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"totalPresaleSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userToPresaleMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c0604052600060015560026009556011805464ffffffffff191690553480156200002957600080fd5b5060405162004ee638038062004ee68339810160408190526200004c9162000362565b60405180604001604052806012815260200171111959d95b91d85b99d099585cdd1cd3919560721b815250604051806040016040528060048152602001634447423160e01b8152506032611388620000b3620000ad6200026860201b60201c565b6200026c565b60008111620001205760405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20636f6c6c656374696f6e206d757374206861766520612060448201526d6e6f6e7a65726f20737570706c7960901b60648201526084015b60405180910390fd5b60008211620001825760405162461bcd60e51b815260206004820152602760248201527f455243373231413a206d61782062617463682073697a65206d757374206265206044820152666e6f6e7a65726f60c81b606482015260840162000117565b835162000197906002906020870190620002bc565b508251620001ad906003906020860190620002bc565b5060a091909152608052505066b1a2bc2ec50000600e55600a80546001600160a01b0319908116738d0a5baff67aa982df20bb93d9ae38ac358ba80717909155600b8054821673d5a3383773a45de394502092f17e9e4f50bf710a179055600c80548216735f058dccffb7862566abe44f85d409823f5ce921179055600d80549091167345ebb5fe718f40052fb2dc2463c13717b7b7276817905581516200025d906008906020850190620002bc565b506010555062000494565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b828054620002ca9062000441565b90600052602060002090601f016020900481019282620002ee576000855562000339565b82601f106200030957805160ff191683800117855562000339565b8280016001018555821562000339579182015b82811115620003395782518255916020019190600101906200031c565b50620003479291506200034b565b5090565b5b808211156200034757600081556001016200034c565b6000806040838503121562000375578182fd5b82516001600160401b03808211156200038c578384fd5b818501915085601f830112620003a0578384fd5b815181811115620003b557620003b56200047e565b604051601f8201601f19908116603f01168101908382118183101715620003e057620003e06200047e565b81604052828152602093508884848701011115620003fc578687fd5b8691505b828210156200041f578482018401518183018501529083019062000400565b828211156200043057868484830101525b969092015195979596505050505050565b600181811c908216806200045657607f821691505b602082108114156200047857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b60805160a051614a21620004c56000396000818161386d015281816138970152613e5a015260005050614a216000f3fe6080604052600436106103815760003560e01c80636a5928f5116101d1578063a22cb46511610102578063db8ff1fd116100a0578063eabc67621161006f578063eabc676214610a10578063efd0a1cd14610a25578063f2fde38b14610a3b578063fcc89a2314610a5b57600080fd5b8063db8ff1fd14610972578063dc33e68114610992578063e086e5ec146109b2578063e985e9c5146109c757600080fd5b8063b6e72525116100dc578063b6e72525146108e2578063b88d4fde14610902578063c42612de14610922578063c87b56dd1461095257600080fd5b8063a22cb4651461088d578063b545cbee146108ad578063b66a0e5d146108cd57600080fd5b80637cb647591161016f5780639231ab2a116101495780639231ab2a1461080157806395d89b411461084f578063a035b1fe14610864578063a0712d681461087a57600080fd5b80637cb64759146107a35780638da5cb5b146107c357806391b7f5ed146107e157600080fd5b80636d475d94116101ab5780636d475d941461073857806370a082311461074e578063715018a61461076e5780637a219f131461078357600080fd5b80636a5928f5146106c75780636bb6bf8b146106e75780636ca849261461070857600080fd5b80633542aee2116102b6578063513e62fb1161025457806355f804b31161022357806355f804b3146106545780635a546223146106745780635df72cdd146106875780636352211e146106a757600080fd5b8063513e62fb146105f8578063540debda1461060b57806355367ba91461062a57806355dd574c1461063f57600080fd5b80634448fa86116102905780634448fa86146105975780634d4c4e99146105ac5780634f153fe8146105c25780634f6ccce7146105d857600080fd5b80633542aee21461054257806342842e0e146105625780634357da581461058257600080fd5b8063133ae0f1116103235780631c8b232d116102fd5780631c8b232d146104ca57806323b872dd146104ec5780632eb4a7ab1461050c5780632f745c591461052257600080fd5b8063133ae0f11461048a57806318160ddd1461049f578063193821c3146104b457600080fd5b806306fdde031161035f57806306fdde03146103f4578063081812fc14610416578063095ea7b31461044e57806309ff2f7b1461047057600080fd5b806301ffc9a714610386578063020a2a95146103bb57806304f28147146103de575b600080fd5b34801561039257600080fd5b506103a66103a13660046145c9565b610a71565b60405190151581526020015b60405180910390f35b3480156103c757600080fd5b506103d0600281565b6040519081526020016103b2565b3480156103ea57600080fd5b506103d061138881565b34801561040057600080fd5b50610409610b42565b6040516103b291906147a0565b34801561042257600080fd5b506104366104313660046145b1565b610bd4565b6040516001600160a01b0390911681526020016103b2565b34801561045a57600080fd5b5061046e610469366004614434565b610c74565b005b34801561047c57600080fd5b506011546103a69060ff1681565b34801561049657600080fd5b506103d0603281565b3480156104ab57600080fd5b506001546103d0565b3480156104c057600080fd5b506103d06103e881565b3480156104d657600080fd5b506011546103a690640100000000900460ff1681565b3480156104f857600080fd5b5061046e610507366004614307565b610da7565b34801561051857600080fd5b506103d060105481565b34801561052e57600080fd5b506103d061053d366004614434565b610db2565b34801561054e57600080fd5b5061046e61055d366004614434565b610f55565b34801561056e57600080fd5b5061046e61057d366004614307565b611149565b34801561058e57600080fd5b5061046e611164565b3480156105a357600080fd5b5061046e611238565b3480156105b857600080fd5b506103d06105dc81565b3480156105ce57600080fd5b506103d0600f5481565b3480156105e457600080fd5b506103d06105f33660046145b1565b6113ac565b61046e6106063660046146e8565b61142f565b34801561061757600080fd5b506011546103a690610100900460ff1681565b34801561063657600080fd5b5061046e611abc565b34801561064b57600080fd5b5061046e611b94565b34801561066057600080fd5b5061046e61066f366004614601565b611de2565b61046e61068236600461466e565b611e36565b34801561069357600080fd5b5061046e6106a23660046142bb565b6123d1565b3480156106b357600080fd5b506104366106c23660046145b1565b612448565b3480156106d357600080fd5b506011546103a69062010000900460ff1681565b3480156106f357600080fd5b506011546103a6906301000000900460ff1681565b34801561071457600080fd5b506103a66107233660046145b1565b60126020526000908152604090205460ff1681565b34801561074457600080fd5b506103d060095481565b34801561075a57600080fd5b506103d06107693660046142bb565b61245a565b34801561077a57600080fd5b5061046e612506565b34801561078f57600080fd5b5061046e61079e3660046145b1565b612558565b3480156107af57600080fd5b5061046e6107be3660046145b1565b6125a5565b3480156107cf57600080fd5b506000546001600160a01b0316610436565b3480156107ed57600080fd5b5061046e6107fc3660046145b1565b6125f2565b34801561080d57600080fd5b5061082161081c3660046145b1565b61263f565b6040805182516001600160a01b0316815260209283015167ffffffffffffffff1692810192909252016103b2565b34801561085b57600080fd5b5061040961265c565b34801561087057600080fd5b506103d0600e5481565b61046e6108883660046145b1565b61266b565b34801561089957600080fd5b5061046e6108a83660046143fa565b61291a565b3480156108b957600080fd5b5061046e6108c83660046142bb565b6129df565b3480156108d957600080fd5b5061046e612a56565b3480156108ee57600080fd5b5061046e6108fd3660046142bb565b612beb565b34801561090e57600080fd5b5061046e61091d366004614342565b612c62565b34801561092e57600080fd5b506103a661093d3660046142bb565b60136020526000908152604090205460ff1681565b34801561095e57600080fd5b5061040961096d3660046145b1565b612cf1565b34801561097e57600080fd5b5061046e61098d36600461445d565b612dcc565b34801561099e57600080fd5b506103d06109ad3660046142bb565b612f01565b3480156109be57600080fd5b5061046e612f0c565b3480156109d357600080fd5b506103a66109e23660046142d5565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b348015610a1c57600080fd5b5061046e6131bd565b348015610a3157600080fd5b506103d060145481565b348015610a4757600080fd5b5061046e610a563660046142bb565b613289565b348015610a6757600080fd5b506103d06101f481565b60006001600160e01b031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480610ad457506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610b0857506001600160e01b031982167f780e9d6300000000000000000000000000000000000000000000000000000000145b80610b3c57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b606060028054610b5190614909565b80601f0160208091040260200160405190810160405280929190818152602001828054610b7d90614909565b8015610bca5780601f10610b9f57610100808354040283529160200191610bca565b820191906000526020600020905b815481529060010190602001808311610bad57829003601f168201915b5050505050905090565b6000610be1826001541190565b610c585760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201527f78697374656e7420746f6b656e0000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610c7f82612448565b9050806001600160a01b0316836001600160a01b03161415610d095760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201527f65720000000000000000000000000000000000000000000000000000000000006064820152608401610c4f565b336001600160a01b0382161480610d255750610d2581336109e2565b610d975760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610c4f565b610da2838383613356565b505050565b610da28383836133bf565b6000610dbd8361245a565b8210610e315760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60448201527f64730000000000000000000000000000000000000000000000000000000000006064820152608401610c4f565b6000610e3c60015490565b905060008060005b83811015610ee6576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215610e9757805192505b876001600160a01b0316836001600160a01b03161415610ed35786841415610ec557509350610b3c92505050565b83610ecf81614944565b9450505b5080610ede81614944565b915050610e44565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201527f6f776e657220627920696e6465780000000000000000000000000000000000006064820152608401610c4f565b6000546001600160a01b03163314610f9d5760405162461bcd60e51b815260206004820181905260248201526000805160206149cc8339815191526044820152606401610c4f565b600081116110135760405162461bcd60e51b815260206004820152603960248201527f446567656e47616e674265617374734e46543a3a6d696e7442794f776e65723a60448201527f205175616e746974792063616e6e6f74206265207a65726f2e000000000000006064820152608401610c4f565b60328111156110b05760405162461bcd60e51b815260206004820152604960248201527f446567656e47616e674265617374734e46543a3a6d696e7442794f776e65723a60448201527f205175616e746974792063616e6e6f7420626520626967676572207468616e2060648201527f4d41585f53414c452e0000000000000000000000000000000000000000000000608482015260a401610c4f565b611388816110bd60015490565b6110c79190614833565b111561113b5760405162461bcd60e51b815260206004820152602a60248201527f446567656e47616e674265617374734e46543a3a6d696e7442794f776e65723a60448201527f20536f6c64206f75742e000000000000000000000000000000000000000000006064820152608401610c4f565b611145828261379c565b5050565b610da283838360405180602001604052806000815250612c62565b6000546001600160a01b031633146111ac5760405162461bcd60e51b815260206004820181905260248201526000805160206149cc8339815191526044820152606401610c4f565b60115462010000900460ff1661122a5760405162461bcd60e51b815260206004820152603860248201527f446567656e47616e674265617374734e46543a3a706175736550726553616c6560448201527f3a2050726573616c65206973206e6f74206163746976652e00000000000000006064820152608401610c4f565b6011805462ff000019169055565b6000546001600160a01b031633146112805760405162461bcd60e51b815260206004820181905260248201526000805160206149cc8339815191526044820152606401610c4f565b60115460ff16156112f95760405162461bcd60e51b815260206004820152603f60248201527f446567656e47616e674265617374734e46543a3a737461727453616c653a204260448201527f72656564206d696e74696e6720697320616c7265616479206163746976652e006064820152608401610c4f565b601154610100900460ff161561139d5760405162461bcd60e51b815260206004820152604960248201527f446567656e47616e674265617374734e46543a3a737461727453616c653a204260448201527f72656564206d696e74696e67206973206f7665722c2063616e6e6f742073746160648201527f727420616761696e2e0000000000000000000000000000000000000000000000608482015260a401610c4f565b6011805460ff19166001179055565b60006113b760015490565b821061142b5760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560448201527f6e647300000000000000000000000000000000000000000000000000000000006064820152608401610c4f565b5090565b61143833612f01565b156114d15760405162461bcd60e51b815260206004820152604360248201527f446567656e47616e674265617374734e46543a3a62726565644d696e743a205960448201527f6f75206861766520616c72656164792075736564204272656564206d696e746960648201527f6e672e0000000000000000000000000000000000000000000000000000000000608482015260a401610c4f565b60115460ff166115495760405162461bcd60e51b815260206004820152603c60248201527f446567656e47616e674265617374734e46543a3a62726565644d696e743a204260448201527f72656564206d696e74696e67206861736e277420737461727465642e000000006064820152608401610c4f565b601154610100900460ff16156115ed5760405162461bcd60e51b815260206004820152604960248201527f446567656e47616e674265617374734e46543a3a62726565644d696e743a204260448201527f72656564206d696e74696e67206973206f7665722c206e6f206d6f726520616c60648201527f6c6f77616e6365732e0000000000000000000000000000000000000000000000608482015260a401610c4f565b60028160ff161115611669576040805162461bcd60e51b81526020600482015260248101919091527f446567656e47616e674265617374734e46543a3a62726565644d696e743a205960448201527f6f752061726520616c6c6f77656420627579203220426561737473206d61782e6064820152608401610c4f565b60ff81161561184a578060ff1660011461168457600161168d565b6103e860145411155b6116ff5760405162461bcd60e51b815260206004820152603760248201527f446567656e47616e674265617374734e46543a3a62726565644d696e743a204e60448201527f6f206d6f72652057686974656c6973742073706f74732e0000000000000000006064820152608401610c4f565b8060ff1660021461171157600161171a565b6101f460145411155b61178c5760405162461bcd60e51b815260206004820152603760248201527f446567656e47616e674265617374734e46543a3a62726565644d696e743a204e60448201527f6f206d6f72652057686974656c6973742073706f74732e0000000000000000006064820152608401610c4f565b8060ff16600e5461179d919061485f565b3410156118385760405162461bcd60e51b815260206004820152604360248201527f446567656e47616e674265617374734e46543a3a62726565644d696e743a204560448201527f746865722076616c75652073656e742069732062656c6f77207468652070726960648201527f63652e0000000000000000000000000000000000000000000000000000000000608482015260a401610c4f565b6014546118469060016137b6565b6014555b600d546040517f5de6dc550000000000000000000000000000000000000000000000000000000081523360048201526000916001600160a01b031690635de6dc559060240160006040518083038186803b1580156118a757600080fd5b505afa1580156118bb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526118e3919081019061451e565b905060008080805b8451811015611a265760006012600087848151811061191a57634e487b7160e01b600052603260045260246000fd5b60209081029190910181015182528101919091526040016000205460ff169050838015611945575080155b15611a06578461195481614944565b95505060016012600088858151811061197d57634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548160ff0219169083151502179055506001601260008886815181106119d057634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548160ff02191690831515021790555060009350611a13565b80611a1357600193508192505b5080611a1e81614944565b9150506118eb565b5060008311611a9f576040805162461bcd60e51b81526020600482015260248101919091527f446567656e47616e674265617374734e46543a3a62726565644d696e743a596f60448201527f752063616e2774206272656564206f72206d696e7420616e792062656173742e6064820152608401610c4f565b611ab533611ab060ff881686614833565b61379c565b5050505050565b6000546001600160a01b03163314611b045760405162461bcd60e51b815260206004820181905260248201526000805160206149cc8339815191526044820152606401610c4f565b601154640100000000900460ff16611b845760405162461bcd60e51b815260206004820152603260248201527f446567656e47616e674265617374734e46543a3a706175736553616c653a205360448201527f616c65206973206e6f74206163746976652e00000000000000000000000000006064820152608401610c4f565b6011805464ff0000000019169055565b6000546001600160a01b03163314611bdc5760405162461bcd60e51b815260206004820181905260248201526000805160206149cc8339815191526044820152606401610c4f565b6011546301000000900460ff1615611c825760405162461bcd60e51b815260206004820152604660248201527f446567656e47616e674265617374734e46543a3a737461727450726553616c6560448201527f3a2050726573616c65206973206f7665722c2063616e6e6f742073746172742060648201527f616761696e2e0000000000000000000000000000000000000000000000000000608482015260a401610c4f565b60115462010000900460ff1615611d015760405162461bcd60e51b815260206004820152603c60248201527f446567656e47616e674265617374734e46543a3a737461727450726553616c6560448201527f3a2050726573616c6520697320616c7265616479206163746976652e000000006064820152608401610c4f565b60115460ff1680611d195750601154610100900460ff165b611db15760405162461bcd60e51b815260206004820152604760248201527f446567656e47616e674265617374734e46543a3a737461727450726553616c6560448201527f3a204272656564206d696e74696e672073686f756c642062652061637469766560648201527f2066697273742e00000000000000000000000000000000000000000000000000608482015260a401610c4f565b6011805462ff00001916620100001790819055610100900460ff16611de0576011805461ffff19166101001790555b565b6000546001600160a01b03163314611e2a5760405162461bcd60e51b815260206004820181905260248201526000805160206149cc8339815191526044820152606401610c4f565b610da2600883836141a0565b60115462010000900460ff16611eb45760405162461bcd60e51b815260206004820152603460248201527f446567656e47616e674265617374734e46543a3a7072654d696e743a2050726560448201527f73616c65206861736e277420737461727465642e0000000000000000000000006064820152608401610c4f565b6011546301000000900460ff1615611f3e5760405162461bcd60e51b815260206004820152604160248201527f446567656e47616e674265617374734e46543a3a7072654d696e743a2050726560448201527f73616c65206973206f7665722c206e6f206d6f726520616c6c6f77616e6365736064820152601760f91b608482015260a401610c4f565b3360009081526013602052604090205460ff1615611fce5760405162461bcd60e51b815260206004820152604160248201527f446567656e47616e674265617374734e46543a3a7072654d696e743a2041207560448201527f7365722063616e20646f206f6e6c79206f6e652070726573616c65206d696e746064820152601760f91b608482015260a401610c4f565b6105dc600f541061206e5760405162461bcd60e51b8152602060048201526044602482018190527f446567656e47616e674265617374734e46543a3a7072654d696e743a20416c6c908201527f2070726573616c6520746f6b656e732077657265206d696e74656420616c726560648201527f6164792e00000000000000000000000000000000000000000000000000000000608482015260a401610c4f565b600083116120e45760405162461bcd60e51b815260206004820152603560248201527f446567656e47616e674265617374734e46543a3a7072654d696e743a2051756160448201527f6e746974792063616e6e6f74206265207a65726f2e00000000000000000000006064820152608401610c4f565b6009548311156121825760405162461bcd60e51b815260206004820152605860248201527f446567656e47616e674265617374734e46543a3a7072654d696e743a2051756160448201527f6e746974792068617320746f206265206c6f776572206f7220657175616c207460648201527f6f204d41585f50524553414c455f414c4c4f57414e43452e0000000000000000608482015260a401610c4f565b6113888361218f60015490565b6121999190614833565b111561220d5760405162461bcd60e51b815260206004820152602660248201527f446567656e47616e674265617374734e46543a3a7072654d696e743a20536f6c60448201527f64206f75742e00000000000000000000000000000000000000000000000000006064820152608401610c4f565b600e5461221a843461485f565b10156122985760405162461bcd60e51b815260206004820152604160248201527f446567656e47616e674265617374734e46543a3a7072654d696e743a2045746860448201527f65722076616c75652073656e742069732062656c6f77207468652070726963656064820152601760f91b608482015260a401610c4f565b6040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b1660208201526000906034016040516020818303038152906040528051906020012090506123258383808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152505060105491508490506137c2565b6123975760405162461bcd60e51b815260206004820152603260248201527f446567656e47616e674265617374734e46543a3a7072654d696e743a20496e7660448201527f616c6964206d65726b6c652070726f6f662e00000000000000000000000000006064820152608401610c4f565b6123a1338561379c565b336000908152601360205260409020805460ff19166001179055600f546123c890856137b6565b600f5550505050565b6000546001600160a01b031633146124195760405162461bcd60e51b815260206004820181905260248201526000805160206149cc8339815191526044820152606401610c4f565b600b805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6000612453826137d8565b5192915050565b60006001600160a01b0382166124d85760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201527f65726f20616464726573730000000000000000000000000000000000000000006064820152608401610c4f565b506001600160a01b03166000908152600560205260409020546fffffffffffffffffffffffffffffffff1690565b6000546001600160a01b0316331461254e5760405162461bcd60e51b815260206004820181905260248201526000805160206149cc8339815191526044820152606401610c4f565b611de060006139a3565b6000546001600160a01b031633146125a05760405162461bcd60e51b815260206004820181905260248201526000805160206149cc8339815191526044820152606401610c4f565b600955565b6000546001600160a01b031633146125ed5760405162461bcd60e51b815260206004820181905260248201526000805160206149cc8339815191526044820152606401610c4f565b601055565b6000546001600160a01b0316331461263a5760405162461bcd60e51b815260206004820181905260248201526000805160206149cc8339815191526044820152606401610c4f565b600e55565b6040805180820190915260008082526020820152610b3c826137d8565b606060038054610b5190614909565b601154640100000000900460ff166126eb5760405162461bcd60e51b815260206004820152602e60248201527f446567656e47616e674265617374734e46543a3a6d696e743a2053616c65206860448201527f61736e277420737461727465642e0000000000000000000000000000000000006064820152608401610c4f565b600081116127615760405162461bcd60e51b815260206004820152603260248201527f446567656e47616e674265617374734e46543a3a6d696e743a205175616e746960448201527f74792063616e6e6f74206265207a65726f2e00000000000000000000000000006064820152608401610c4f565b60328111156127ff5760405162461bcd60e51b8152602060048201526044602482018190527f446567656e47616e674265617374734e46543a3a6d696e743a205175616e7469908201527f74792063616e6e6f7420626520626967676572207468616e204d41585f42555960648201527f494e472e00000000000000000000000000000000000000000000000000000000608482015260a401610c4f565b6113888161280c60015490565b6128169190614833565b111561288a5760405162461bcd60e51b815260206004820152602360248201527f446567656e47616e674265617374734e46543a3a6d696e743a20536f6c64206f60448201527f75742e00000000000000000000000000000000000000000000000000000000006064820152608401610c4f565b80600e54612898919061485f565b34101561290d5760405162461bcd60e51b815260206004820152603e60248201527f446567656e47616e674265617374734e46543a3a6d696e743a2045746865722060448201527f76616c75652073656e742069732062656c6f77207468652070726963652e00006064820152608401610c4f565b612917338261379c565b50565b6001600160a01b0382163314156129735760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610c4f565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000546001600160a01b03163314612a275760405162461bcd60e51b815260206004820181905260248201526000805160206149cc8339815191526044820152606401610c4f565b600a805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6000546001600160a01b03163314612a9e5760405162461bcd60e51b815260206004820181905260248201526000805160206149cc8339815191526044820152606401610c4f565b601154640100000000900460ff1615612b1f5760405162461bcd60e51b815260206004820152603660248201527f446567656e47616e674265617374734e46543a3a737461727453616c653a205360448201527f616c6520697320616c7265616479206163746976652e000000000000000000006064820152608401610c4f565b60115462010000900460ff1680612b3f57506011546301000000900460ff165b612bb15760405162461bcd60e51b815260206004820152603e60248201527f446567656e47616e674265617374734e46543a3a737461727453616c653a205060448201527f726573616c652073686f756c64206265206163746976652066697273742e00006064820152608401610c4f565b6011805464ff00000000191664010000000017908190556301000000900460ff16611de0576011805463ffff000019166301000000179055565b6000546001600160a01b03163314612c335760405162461bcd60e51b815260206004820181905260248201526000805160206149cc8339815191526044820152606401610c4f565b600c805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b612c6d8484846133bf565b612c7984848484613a00565b612ceb5760405162461bcd60e51b815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610c4f565b50505050565b6060612cfe826001541190565b612d705760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610c4f565b6000612d7a613b64565b90506000815111612d9a5760405180602001604052806000815250612dc5565b80612da484613b73565b604051602001612db5929190614735565b6040516020818303038152906040525b9392505050565b6000546001600160a01b03163314612e145760405162461bcd60e51b815260206004820181905260248201526000805160206149cc8339815191526044820152606401610c4f565b8051825114612e8b5760405162461bcd60e51b815260206004820152603f60248201527f446567656e47616e674265617374734e46543a3a62617463684d696e7442794f60448201527f776e65723a20546865206c656e6774682073686f756c642062652073616d65006064820152608401610c4f565b60005b8251811015610da257612eef838281518110612eba57634e487b7160e01b600052603260045260246000fd5b6020026020010151838381518110612ee257634e487b7160e01b600052603260045260246000fd5b6020026020010151610f55565b612efa600182614833565b9050612e8e565b6000610b3c82613cc1565b6000546001600160a01b03163314612f545760405162461bcd60e51b815260206004820181905260248201526000805160206149cc8339815191526044820152606401610c4f565b47806000612710612f678361232861485f565b612f71919061484b565b90506000612710612f84856101f461485f565b612f8e919061484b565b905080612f9b83856148af565b612fa591906148af565b600a546040519194506000916001600160a01b039091169084908381818185875af1925050503d8060008114612ff7576040519150601f19603f3d011682016040523d82523d6000602084013e612ffc565b606091505b50509050806130585760405162461bcd60e51b815260206004820152602260248201527f5769746864726177204661696c656420546f205465616d203120616464726573604482015261399760f11b6064820152608401610c4f565b600b546040516000916001600160a01b03169084908381818185875af1925050503d80600081146130a5576040519150601f19603f3d011682016040523d82523d6000602084013e6130aa565b606091505b50509050806131065760405162461bcd60e51b815260206004820152602260248201527f5769746864726177204661696c656420546f205465616d203220616464726573604482015261399760f11b6064820152608401610c4f565b600c546040516000916001600160a01b03169087908381818185875af1925050503d8060008114613153576040519150601f19603f3d011682016040523d82523d6000602084013e613158565b606091505b50509050806131b45760405162461bcd60e51b815260206004820152602260248201527f5769746864726177204661696c656420546f205465616d203320616464726573604482015261399760f11b6064820152608401610c4f565b50505050505050565b6000546001600160a01b031633146132055760405162461bcd60e51b815260206004820181905260248201526000805160206149cc8339815191526044820152606401610c4f565b60115460ff1661327d5760405162461bcd60e51b815260206004820152603b60248201527f446567656e47616e674265617374734e46543a3a706175736553616c653a204260448201527f72656564206d696e74696e67206973206e6f74206163746976652e00000000006064820152608401610c4f565b6011805460ff19169055565b6000546001600160a01b031633146132d15760405162461bcd60e51b815260206004820181905260248201526000805160206149cc8339815191526044820152606401610c4f565b6001600160a01b03811661334d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610c4f565b612917816139a3565b600082815260066020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006133ca826137d8565b80519091506000906001600160a01b0316336001600160a01b031614806134015750336133f684610bd4565b6001600160a01b0316145b806134135750815161341390336109e2565b9050806134885760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006064820152608401610c4f565b846001600160a01b031682600001516001600160a01b0316146135135760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f727265637460448201527f206f776e657200000000000000000000000000000000000000000000000000006064820152608401610c4f565b6001600160a01b03841661358f5760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610c4f565b61359f6000848460000151613356565b6001600160a01b03851660009081526005602052604081208054600192906135da9084906fffffffffffffffffffffffffffffffff1661487e565b82546101009290920a6fffffffffffffffffffffffffffffffff8181021990931691831602179091556001600160a01b0386166000908152600560205260408120805460019450909261362f91859116614808565b82546fffffffffffffffffffffffffffffffff9182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b03808716825267ffffffffffffffff428116602080850191825260008981526004909152948520935184549151909216600160a01b026001600160e01b031990911691909216171790556136c0846001614833565b6000818152600460205260409020549091506001600160a01b0316613752576136ea816001541190565b156137525760408051808201825284516001600160a01b03908116825260208087015167ffffffffffffffff9081168285019081526000878152600490935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b611145828260405180602001604052806000815250613d81565b6000612dc58284614833565b6000826137cf858461411e565b14949350505050565b60408051808201909152600080825260208201526137f7826001541190565b6138695760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360448201527f74656e7420746f6b656e000000000000000000000000000000000000000000006064820152608401610c4f565b60007f000000000000000000000000000000000000000000000000000000000000000083106138ca576138bc7f0000000000000000000000000000000000000000000000000000000000000000846148af565b6138c7906001614833565b90505b825b818110613934576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff16918301919091521561392157949350505050565b508061392c816148f2565b9150506138cc565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201527f206f776e6572206f6620746f6b656e00000000000000000000000000000000006064820152608401610c4f565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006001600160a01b0384163b15613b5857604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290613a44903390899088908890600401614764565b602060405180830381600087803b158015613a5e57600080fd5b505af1925050508015613a8e575060408051601f3d908101601f19168201909252613a8b918101906145e5565b60015b613b3e573d808015613abc576040519150601f19603f3d011682016040523d82523d6000602084013e613ac1565b606091505b508051613b365760405162461bcd60e51b815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610c4f565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050613b5c565b5060015b949350505050565b606060088054610b5190614909565b606081613bb357505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115613bdd5780613bc781614944565b9150613bd69050600a8361484b565b9150613bb7565b60008167ffffffffffffffff811115613c0657634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613c30576020820181803683370190505b5090505b8415613b5c57613c456001836148af565b9150613c52600a8661495f565b613c5d906030614833565b60f81b818381518110613c8057634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350613cba600a8661484b565b9450613c34565b60006001600160a01b038216613d3f5760405162461bcd60e51b815260206004820152603160248201527f455243373231413a206e756d626572206d696e74656420717565727920666f7260448201527f20746865207a65726f20616464726573730000000000000000000000000000006064820152608401610c4f565b506001600160a01b031660009081526005602052604090205470010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff1690565b6001546001600160a01b038416613e005760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610c4f565b613e0b816001541190565b15613e585760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610c4f565b7f0000000000000000000000000000000000000000000000000000000000000000831115613eee5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960448201527f67680000000000000000000000000000000000000000000000000000000000006064820152608401610c4f565b6001600160a01b0384166000908152600560209081526040918290208251808401845290546fffffffffffffffffffffffffffffffff80821683527001000000000000000000000000000000009091041691810191909152815180830190925280519091908190613f60908790614808565b6fffffffffffffffffffffffffffffffff168152602001858360200151613f879190614808565b6fffffffffffffffffffffffffffffffff9081169091526001600160a01b03808816600081815260056020908152604080832087519783015187167001000000000000000000000000000000000297909616969096179094558451808601865291825267ffffffffffffffff4281168386019081528883526004909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b858110156141135760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46140816000888488613a00565b6140f35760405162461bcd60e51b815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610c4f565b816140fd81614944565b925050808061410b90614944565b915050614034565b506001819055613794565b600081815b845181101561419857600085828151811061414e57634e487b7160e01b600052603260045260246000fd5b602002602001015190508083116141745760008381526020829052604090209250614185565b600081815260208490526040902092505b508061419081614944565b915050614123565b509392505050565b8280546141ac90614909565b90600052602060002090601f0160209004810192826141ce5760008555614214565b82601f106141e75782800160ff19823516178555614214565b82800160010185558215614214579182015b828111156142145782358255916020019190600101906141f9565b5061142b9291505b8082111561142b576000815560010161421c565b80356001600160a01b038116811461424757600080fd5b919050565b600082601f83011261425c578081fd5b8135602061427161426c836147e4565b6147b3565b80838252828201915082860187848660051b8901011115614290578586fd5b855b858110156142ae57813584529284019290840190600101614292565b5090979650505050505050565b6000602082840312156142cc578081fd5b612dc582614230565b600080604083850312156142e7578081fd5b6142f083614230565b91506142fe60208401614230565b90509250929050565b60008060006060848603121561431b578081fd5b61432484614230565b925061433260208501614230565b9150604084013590509250925092565b60008060008060808587031215614357578081fd5b61436085614230565b9350602061436f818701614230565b935060408601359250606086013567ffffffffffffffff80821115614392578384fd5b818801915088601f8301126143a5578384fd5b8135818111156143b7576143b761499f565b6143c9601f8201601f191685016147b3565b915080825289848285010111156143de578485fd5b8084840185840137810190920192909252939692955090935050565b6000806040838503121561440c578182fd5b61441583614230565b915060208301358015158114614429578182fd5b809150509250929050565b60008060408385031215614446578182fd5b61444f83614230565b946020939093013593505050565b6000806040838503121561446f578182fd5b823567ffffffffffffffff80821115614486578384fd5b818501915085601f830112614499578384fd5b813560206144a961426c836147e4565b8083825282820191508286018a848660051b89010111156144c8578889fd5b8896505b848710156144f1576144dd81614230565b8352600196909601959183019183016144cc565b5096505086013592505080821115614507578283fd5b506145148582860161424c565b9150509250929050565b60006020808385031215614530578182fd5b825167ffffffffffffffff811115614546578283fd5b8301601f81018513614556578283fd5b805161456461426c826147e4565b80828252848201915084840188868560051b8701011115614583578687fd5b8694505b838510156145a5578051835260019490940193918501918501614587565b50979650505050505050565b6000602082840312156145c2578081fd5b5035919050565b6000602082840312156145da578081fd5b8135612dc5816149b5565b6000602082840312156145f6578081fd5b8151612dc5816149b5565b60008060208385031215614613578182fd5b823567ffffffffffffffff8082111561462a578384fd5b818501915085601f83011261463d578384fd5b81358181111561464b578485fd5b86602082850101111561465c578485fd5b60209290920196919550909350505050565b600080600060408486031215614682578081fd5b83359250602084013567ffffffffffffffff808211156146a0578283fd5b818601915086601f8301126146b3578283fd5b8135818111156146c1578384fd5b8760208260051b85010111156146d5578384fd5b6020830194508093505050509250925092565b6000602082840312156146f9578081fd5b813560ff81168114612dc5578182fd5b600081518084526147218160208601602086016148c6565b601f01601f19169290920160200192915050565b600083516147478184602088016148c6565b83519083019061475b8183602088016148c6565b01949350505050565b60006001600160a01b038087168352808616602084015250836040830152608060608301526147966080830184614709565b9695505050505050565b602081526000612dc56020830184614709565b604051601f8201601f1916810167ffffffffffffffff811182821017156147dc576147dc61499f565b604052919050565b600067ffffffffffffffff8211156147fe576147fe61499f565b5060051b60200190565b60006fffffffffffffffffffffffffffffffff80831681851680830382111561475b5761475b614973565b6000821982111561484657614846614973565b500190565b60008261485a5761485a614989565b500490565b600081600019048311821515161561487957614879614973565b500290565b60006fffffffffffffffffffffffffffffffff838116908316818110156148a7576148a7614973565b039392505050565b6000828210156148c1576148c1614973565b500390565b60005b838110156148e15781810151838201526020016148c9565b83811115612ceb5750506000910152565b60008161490157614901614973565b506000190190565b600181811c9082168061491d57607f821691505b6020821081141561493e57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561495857614958614973565b5060010190565b60008261496e5761496e614989565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461291757600080fdfe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a26469706673582212203e93848f66ce1e8315a31fec7962e6a908996a14cdb2bd73c6efec3b45630e2364736f6c634300080400330000000000000000000000000000000000000000000000000000000000000040655f859292746ff4eb812a92d304ed6511aa3522ada99035ee7b4091e6e5dab4000000000000000000000000000000000000000000000000000000000000004068747470733a2f2f6265617374732d6d6963726f736572766963652d70726f642d646e6c776e2e6f6e6469676974616c6f6365616e2e6170702f746f6b656e2f
Deployed Bytecode
0x6080604052600436106103815760003560e01c80636a5928f5116101d1578063a22cb46511610102578063db8ff1fd116100a0578063eabc67621161006f578063eabc676214610a10578063efd0a1cd14610a25578063f2fde38b14610a3b578063fcc89a2314610a5b57600080fd5b8063db8ff1fd14610972578063dc33e68114610992578063e086e5ec146109b2578063e985e9c5146109c757600080fd5b8063b6e72525116100dc578063b6e72525146108e2578063b88d4fde14610902578063c42612de14610922578063c87b56dd1461095257600080fd5b8063a22cb4651461088d578063b545cbee146108ad578063b66a0e5d146108cd57600080fd5b80637cb647591161016f5780639231ab2a116101495780639231ab2a1461080157806395d89b411461084f578063a035b1fe14610864578063a0712d681461087a57600080fd5b80637cb64759146107a35780638da5cb5b146107c357806391b7f5ed146107e157600080fd5b80636d475d94116101ab5780636d475d941461073857806370a082311461074e578063715018a61461076e5780637a219f131461078357600080fd5b80636a5928f5146106c75780636bb6bf8b146106e75780636ca849261461070857600080fd5b80633542aee2116102b6578063513e62fb1161025457806355f804b31161022357806355f804b3146106545780635a546223146106745780635df72cdd146106875780636352211e146106a757600080fd5b8063513e62fb146105f8578063540debda1461060b57806355367ba91461062a57806355dd574c1461063f57600080fd5b80634448fa86116102905780634448fa86146105975780634d4c4e99146105ac5780634f153fe8146105c25780634f6ccce7146105d857600080fd5b80633542aee21461054257806342842e0e146105625780634357da581461058257600080fd5b8063133ae0f1116103235780631c8b232d116102fd5780631c8b232d146104ca57806323b872dd146104ec5780632eb4a7ab1461050c5780632f745c591461052257600080fd5b8063133ae0f11461048a57806318160ddd1461049f578063193821c3146104b457600080fd5b806306fdde031161035f57806306fdde03146103f4578063081812fc14610416578063095ea7b31461044e57806309ff2f7b1461047057600080fd5b806301ffc9a714610386578063020a2a95146103bb57806304f28147146103de575b600080fd5b34801561039257600080fd5b506103a66103a13660046145c9565b610a71565b60405190151581526020015b60405180910390f35b3480156103c757600080fd5b506103d0600281565b6040519081526020016103b2565b3480156103ea57600080fd5b506103d061138881565b34801561040057600080fd5b50610409610b42565b6040516103b291906147a0565b34801561042257600080fd5b506104366104313660046145b1565b610bd4565b6040516001600160a01b0390911681526020016103b2565b34801561045a57600080fd5b5061046e610469366004614434565b610c74565b005b34801561047c57600080fd5b506011546103a69060ff1681565b34801561049657600080fd5b506103d0603281565b3480156104ab57600080fd5b506001546103d0565b3480156104c057600080fd5b506103d06103e881565b3480156104d657600080fd5b506011546103a690640100000000900460ff1681565b3480156104f857600080fd5b5061046e610507366004614307565b610da7565b34801561051857600080fd5b506103d060105481565b34801561052e57600080fd5b506103d061053d366004614434565b610db2565b34801561054e57600080fd5b5061046e61055d366004614434565b610f55565b34801561056e57600080fd5b5061046e61057d366004614307565b611149565b34801561058e57600080fd5b5061046e611164565b3480156105a357600080fd5b5061046e611238565b3480156105b857600080fd5b506103d06105dc81565b3480156105ce57600080fd5b506103d0600f5481565b3480156105e457600080fd5b506103d06105f33660046145b1565b6113ac565b61046e6106063660046146e8565b61142f565b34801561061757600080fd5b506011546103a690610100900460ff1681565b34801561063657600080fd5b5061046e611abc565b34801561064b57600080fd5b5061046e611b94565b34801561066057600080fd5b5061046e61066f366004614601565b611de2565b61046e61068236600461466e565b611e36565b34801561069357600080fd5b5061046e6106a23660046142bb565b6123d1565b3480156106b357600080fd5b506104366106c23660046145b1565b612448565b3480156106d357600080fd5b506011546103a69062010000900460ff1681565b3480156106f357600080fd5b506011546103a6906301000000900460ff1681565b34801561071457600080fd5b506103a66107233660046145b1565b60126020526000908152604090205460ff1681565b34801561074457600080fd5b506103d060095481565b34801561075a57600080fd5b506103d06107693660046142bb565b61245a565b34801561077a57600080fd5b5061046e612506565b34801561078f57600080fd5b5061046e61079e3660046145b1565b612558565b3480156107af57600080fd5b5061046e6107be3660046145b1565b6125a5565b3480156107cf57600080fd5b506000546001600160a01b0316610436565b3480156107ed57600080fd5b5061046e6107fc3660046145b1565b6125f2565b34801561080d57600080fd5b5061082161081c3660046145b1565b61263f565b6040805182516001600160a01b0316815260209283015167ffffffffffffffff1692810192909252016103b2565b34801561085b57600080fd5b5061040961265c565b34801561087057600080fd5b506103d0600e5481565b61046e6108883660046145b1565b61266b565b34801561089957600080fd5b5061046e6108a83660046143fa565b61291a565b3480156108b957600080fd5b5061046e6108c83660046142bb565b6129df565b3480156108d957600080fd5b5061046e612a56565b3480156108ee57600080fd5b5061046e6108fd3660046142bb565b612beb565b34801561090e57600080fd5b5061046e61091d366004614342565b612c62565b34801561092e57600080fd5b506103a661093d3660046142bb565b60136020526000908152604090205460ff1681565b34801561095e57600080fd5b5061040961096d3660046145b1565b612cf1565b34801561097e57600080fd5b5061046e61098d36600461445d565b612dcc565b34801561099e57600080fd5b506103d06109ad3660046142bb565b612f01565b3480156109be57600080fd5b5061046e612f0c565b3480156109d357600080fd5b506103a66109e23660046142d5565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b348015610a1c57600080fd5b5061046e6131bd565b348015610a3157600080fd5b506103d060145481565b348015610a4757600080fd5b5061046e610a563660046142bb565b613289565b348015610a6757600080fd5b506103d06101f481565b60006001600160e01b031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480610ad457506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610b0857506001600160e01b031982167f780e9d6300000000000000000000000000000000000000000000000000000000145b80610b3c57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b606060028054610b5190614909565b80601f0160208091040260200160405190810160405280929190818152602001828054610b7d90614909565b8015610bca5780601f10610b9f57610100808354040283529160200191610bca565b820191906000526020600020905b815481529060010190602001808311610bad57829003601f168201915b5050505050905090565b6000610be1826001541190565b610c585760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201527f78697374656e7420746f6b656e0000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610c7f82612448565b9050806001600160a01b0316836001600160a01b03161415610d095760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201527f65720000000000000000000000000000000000000000000000000000000000006064820152608401610c4f565b336001600160a01b0382161480610d255750610d2581336109e2565b610d975760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610c4f565b610da2838383613356565b505050565b610da28383836133bf565b6000610dbd8361245a565b8210610e315760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60448201527f64730000000000000000000000000000000000000000000000000000000000006064820152608401610c4f565b6000610e3c60015490565b905060008060005b83811015610ee6576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215610e9757805192505b876001600160a01b0316836001600160a01b03161415610ed35786841415610ec557509350610b3c92505050565b83610ecf81614944565b9450505b5080610ede81614944565b915050610e44565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201527f6f776e657220627920696e6465780000000000000000000000000000000000006064820152608401610c4f565b6000546001600160a01b03163314610f9d5760405162461bcd60e51b815260206004820181905260248201526000805160206149cc8339815191526044820152606401610c4f565b600081116110135760405162461bcd60e51b815260206004820152603960248201527f446567656e47616e674265617374734e46543a3a6d696e7442794f776e65723a60448201527f205175616e746974792063616e6e6f74206265207a65726f2e000000000000006064820152608401610c4f565b60328111156110b05760405162461bcd60e51b815260206004820152604960248201527f446567656e47616e674265617374734e46543a3a6d696e7442794f776e65723a60448201527f205175616e746974792063616e6e6f7420626520626967676572207468616e2060648201527f4d41585f53414c452e0000000000000000000000000000000000000000000000608482015260a401610c4f565b611388816110bd60015490565b6110c79190614833565b111561113b5760405162461bcd60e51b815260206004820152602a60248201527f446567656e47616e674265617374734e46543a3a6d696e7442794f776e65723a60448201527f20536f6c64206f75742e000000000000000000000000000000000000000000006064820152608401610c4f565b611145828261379c565b5050565b610da283838360405180602001604052806000815250612c62565b6000546001600160a01b031633146111ac5760405162461bcd60e51b815260206004820181905260248201526000805160206149cc8339815191526044820152606401610c4f565b60115462010000900460ff1661122a5760405162461bcd60e51b815260206004820152603860248201527f446567656e47616e674265617374734e46543a3a706175736550726553616c6560448201527f3a2050726573616c65206973206e6f74206163746976652e00000000000000006064820152608401610c4f565b6011805462ff000019169055565b6000546001600160a01b031633146112805760405162461bcd60e51b815260206004820181905260248201526000805160206149cc8339815191526044820152606401610c4f565b60115460ff16156112f95760405162461bcd60e51b815260206004820152603f60248201527f446567656e47616e674265617374734e46543a3a737461727453616c653a204260448201527f72656564206d696e74696e6720697320616c7265616479206163746976652e006064820152608401610c4f565b601154610100900460ff161561139d5760405162461bcd60e51b815260206004820152604960248201527f446567656e47616e674265617374734e46543a3a737461727453616c653a204260448201527f72656564206d696e74696e67206973206f7665722c2063616e6e6f742073746160648201527f727420616761696e2e0000000000000000000000000000000000000000000000608482015260a401610c4f565b6011805460ff19166001179055565b60006113b760015490565b821061142b5760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560448201527f6e647300000000000000000000000000000000000000000000000000000000006064820152608401610c4f565b5090565b61143833612f01565b156114d15760405162461bcd60e51b815260206004820152604360248201527f446567656e47616e674265617374734e46543a3a62726565644d696e743a205960448201527f6f75206861766520616c72656164792075736564204272656564206d696e746960648201527f6e672e0000000000000000000000000000000000000000000000000000000000608482015260a401610c4f565b60115460ff166115495760405162461bcd60e51b815260206004820152603c60248201527f446567656e47616e674265617374734e46543a3a62726565644d696e743a204260448201527f72656564206d696e74696e67206861736e277420737461727465642e000000006064820152608401610c4f565b601154610100900460ff16156115ed5760405162461bcd60e51b815260206004820152604960248201527f446567656e47616e674265617374734e46543a3a62726565644d696e743a204260448201527f72656564206d696e74696e67206973206f7665722c206e6f206d6f726520616c60648201527f6c6f77616e6365732e0000000000000000000000000000000000000000000000608482015260a401610c4f565b60028160ff161115611669576040805162461bcd60e51b81526020600482015260248101919091527f446567656e47616e674265617374734e46543a3a62726565644d696e743a205960448201527f6f752061726520616c6c6f77656420627579203220426561737473206d61782e6064820152608401610c4f565b60ff81161561184a578060ff1660011461168457600161168d565b6103e860145411155b6116ff5760405162461bcd60e51b815260206004820152603760248201527f446567656e47616e674265617374734e46543a3a62726565644d696e743a204e60448201527f6f206d6f72652057686974656c6973742073706f74732e0000000000000000006064820152608401610c4f565b8060ff1660021461171157600161171a565b6101f460145411155b61178c5760405162461bcd60e51b815260206004820152603760248201527f446567656e47616e674265617374734e46543a3a62726565644d696e743a204e60448201527f6f206d6f72652057686974656c6973742073706f74732e0000000000000000006064820152608401610c4f565b8060ff16600e5461179d919061485f565b3410156118385760405162461bcd60e51b815260206004820152604360248201527f446567656e47616e674265617374734e46543a3a62726565644d696e743a204560448201527f746865722076616c75652073656e742069732062656c6f77207468652070726960648201527f63652e0000000000000000000000000000000000000000000000000000000000608482015260a401610c4f565b6014546118469060016137b6565b6014555b600d546040517f5de6dc550000000000000000000000000000000000000000000000000000000081523360048201526000916001600160a01b031690635de6dc559060240160006040518083038186803b1580156118a757600080fd5b505afa1580156118bb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526118e3919081019061451e565b905060008080805b8451811015611a265760006012600087848151811061191a57634e487b7160e01b600052603260045260246000fd5b60209081029190910181015182528101919091526040016000205460ff169050838015611945575080155b15611a06578461195481614944565b95505060016012600088858151811061197d57634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548160ff0219169083151502179055506001601260008886815181106119d057634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548160ff02191690831515021790555060009350611a13565b80611a1357600193508192505b5080611a1e81614944565b9150506118eb565b5060008311611a9f576040805162461bcd60e51b81526020600482015260248101919091527f446567656e47616e674265617374734e46543a3a62726565644d696e743a596f60448201527f752063616e2774206272656564206f72206d696e7420616e792062656173742e6064820152608401610c4f565b611ab533611ab060ff881686614833565b61379c565b5050505050565b6000546001600160a01b03163314611b045760405162461bcd60e51b815260206004820181905260248201526000805160206149cc8339815191526044820152606401610c4f565b601154640100000000900460ff16611b845760405162461bcd60e51b815260206004820152603260248201527f446567656e47616e674265617374734e46543a3a706175736553616c653a205360448201527f616c65206973206e6f74206163746976652e00000000000000000000000000006064820152608401610c4f565b6011805464ff0000000019169055565b6000546001600160a01b03163314611bdc5760405162461bcd60e51b815260206004820181905260248201526000805160206149cc8339815191526044820152606401610c4f565b6011546301000000900460ff1615611c825760405162461bcd60e51b815260206004820152604660248201527f446567656e47616e674265617374734e46543a3a737461727450726553616c6560448201527f3a2050726573616c65206973206f7665722c2063616e6e6f742073746172742060648201527f616761696e2e0000000000000000000000000000000000000000000000000000608482015260a401610c4f565b60115462010000900460ff1615611d015760405162461bcd60e51b815260206004820152603c60248201527f446567656e47616e674265617374734e46543a3a737461727450726553616c6560448201527f3a2050726573616c6520697320616c7265616479206163746976652e000000006064820152608401610c4f565b60115460ff1680611d195750601154610100900460ff165b611db15760405162461bcd60e51b815260206004820152604760248201527f446567656e47616e674265617374734e46543a3a737461727450726553616c6560448201527f3a204272656564206d696e74696e672073686f756c642062652061637469766560648201527f2066697273742e00000000000000000000000000000000000000000000000000608482015260a401610c4f565b6011805462ff00001916620100001790819055610100900460ff16611de0576011805461ffff19166101001790555b565b6000546001600160a01b03163314611e2a5760405162461bcd60e51b815260206004820181905260248201526000805160206149cc8339815191526044820152606401610c4f565b610da2600883836141a0565b60115462010000900460ff16611eb45760405162461bcd60e51b815260206004820152603460248201527f446567656e47616e674265617374734e46543a3a7072654d696e743a2050726560448201527f73616c65206861736e277420737461727465642e0000000000000000000000006064820152608401610c4f565b6011546301000000900460ff1615611f3e5760405162461bcd60e51b815260206004820152604160248201527f446567656e47616e674265617374734e46543a3a7072654d696e743a2050726560448201527f73616c65206973206f7665722c206e6f206d6f726520616c6c6f77616e6365736064820152601760f91b608482015260a401610c4f565b3360009081526013602052604090205460ff1615611fce5760405162461bcd60e51b815260206004820152604160248201527f446567656e47616e674265617374734e46543a3a7072654d696e743a2041207560448201527f7365722063616e20646f206f6e6c79206f6e652070726573616c65206d696e746064820152601760f91b608482015260a401610c4f565b6105dc600f541061206e5760405162461bcd60e51b8152602060048201526044602482018190527f446567656e47616e674265617374734e46543a3a7072654d696e743a20416c6c908201527f2070726573616c6520746f6b656e732077657265206d696e74656420616c726560648201527f6164792e00000000000000000000000000000000000000000000000000000000608482015260a401610c4f565b600083116120e45760405162461bcd60e51b815260206004820152603560248201527f446567656e47616e674265617374734e46543a3a7072654d696e743a2051756160448201527f6e746974792063616e6e6f74206265207a65726f2e00000000000000000000006064820152608401610c4f565b6009548311156121825760405162461bcd60e51b815260206004820152605860248201527f446567656e47616e674265617374734e46543a3a7072654d696e743a2051756160448201527f6e746974792068617320746f206265206c6f776572206f7220657175616c207460648201527f6f204d41585f50524553414c455f414c4c4f57414e43452e0000000000000000608482015260a401610c4f565b6113888361218f60015490565b6121999190614833565b111561220d5760405162461bcd60e51b815260206004820152602660248201527f446567656e47616e674265617374734e46543a3a7072654d696e743a20536f6c60448201527f64206f75742e00000000000000000000000000000000000000000000000000006064820152608401610c4f565b600e5461221a843461485f565b10156122985760405162461bcd60e51b815260206004820152604160248201527f446567656e47616e674265617374734e46543a3a7072654d696e743a2045746860448201527f65722076616c75652073656e742069732062656c6f77207468652070726963656064820152601760f91b608482015260a401610c4f565b6040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b1660208201526000906034016040516020818303038152906040528051906020012090506123258383808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152505060105491508490506137c2565b6123975760405162461bcd60e51b815260206004820152603260248201527f446567656e47616e674265617374734e46543a3a7072654d696e743a20496e7660448201527f616c6964206d65726b6c652070726f6f662e00000000000000000000000000006064820152608401610c4f565b6123a1338561379c565b336000908152601360205260409020805460ff19166001179055600f546123c890856137b6565b600f5550505050565b6000546001600160a01b031633146124195760405162461bcd60e51b815260206004820181905260248201526000805160206149cc8339815191526044820152606401610c4f565b600b805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6000612453826137d8565b5192915050565b60006001600160a01b0382166124d85760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201527f65726f20616464726573730000000000000000000000000000000000000000006064820152608401610c4f565b506001600160a01b03166000908152600560205260409020546fffffffffffffffffffffffffffffffff1690565b6000546001600160a01b0316331461254e5760405162461bcd60e51b815260206004820181905260248201526000805160206149cc8339815191526044820152606401610c4f565b611de060006139a3565b6000546001600160a01b031633146125a05760405162461bcd60e51b815260206004820181905260248201526000805160206149cc8339815191526044820152606401610c4f565b600955565b6000546001600160a01b031633146125ed5760405162461bcd60e51b815260206004820181905260248201526000805160206149cc8339815191526044820152606401610c4f565b601055565b6000546001600160a01b0316331461263a5760405162461bcd60e51b815260206004820181905260248201526000805160206149cc8339815191526044820152606401610c4f565b600e55565b6040805180820190915260008082526020820152610b3c826137d8565b606060038054610b5190614909565b601154640100000000900460ff166126eb5760405162461bcd60e51b815260206004820152602e60248201527f446567656e47616e674265617374734e46543a3a6d696e743a2053616c65206860448201527f61736e277420737461727465642e0000000000000000000000000000000000006064820152608401610c4f565b600081116127615760405162461bcd60e51b815260206004820152603260248201527f446567656e47616e674265617374734e46543a3a6d696e743a205175616e746960448201527f74792063616e6e6f74206265207a65726f2e00000000000000000000000000006064820152608401610c4f565b60328111156127ff5760405162461bcd60e51b8152602060048201526044602482018190527f446567656e47616e674265617374734e46543a3a6d696e743a205175616e7469908201527f74792063616e6e6f7420626520626967676572207468616e204d41585f42555960648201527f494e472e00000000000000000000000000000000000000000000000000000000608482015260a401610c4f565b6113888161280c60015490565b6128169190614833565b111561288a5760405162461bcd60e51b815260206004820152602360248201527f446567656e47616e674265617374734e46543a3a6d696e743a20536f6c64206f60448201527f75742e00000000000000000000000000000000000000000000000000000000006064820152608401610c4f565b80600e54612898919061485f565b34101561290d5760405162461bcd60e51b815260206004820152603e60248201527f446567656e47616e674265617374734e46543a3a6d696e743a2045746865722060448201527f76616c75652073656e742069732062656c6f77207468652070726963652e00006064820152608401610c4f565b612917338261379c565b50565b6001600160a01b0382163314156129735760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610c4f565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000546001600160a01b03163314612a275760405162461bcd60e51b815260206004820181905260248201526000805160206149cc8339815191526044820152606401610c4f565b600a805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6000546001600160a01b03163314612a9e5760405162461bcd60e51b815260206004820181905260248201526000805160206149cc8339815191526044820152606401610c4f565b601154640100000000900460ff1615612b1f5760405162461bcd60e51b815260206004820152603660248201527f446567656e47616e674265617374734e46543a3a737461727453616c653a205360448201527f616c6520697320616c7265616479206163746976652e000000000000000000006064820152608401610c4f565b60115462010000900460ff1680612b3f57506011546301000000900460ff165b612bb15760405162461bcd60e51b815260206004820152603e60248201527f446567656e47616e674265617374734e46543a3a737461727453616c653a205060448201527f726573616c652073686f756c64206265206163746976652066697273742e00006064820152608401610c4f565b6011805464ff00000000191664010000000017908190556301000000900460ff16611de0576011805463ffff000019166301000000179055565b6000546001600160a01b03163314612c335760405162461bcd60e51b815260206004820181905260248201526000805160206149cc8339815191526044820152606401610c4f565b600c805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b612c6d8484846133bf565b612c7984848484613a00565b612ceb5760405162461bcd60e51b815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610c4f565b50505050565b6060612cfe826001541190565b612d705760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610c4f565b6000612d7a613b64565b90506000815111612d9a5760405180602001604052806000815250612dc5565b80612da484613b73565b604051602001612db5929190614735565b6040516020818303038152906040525b9392505050565b6000546001600160a01b03163314612e145760405162461bcd60e51b815260206004820181905260248201526000805160206149cc8339815191526044820152606401610c4f565b8051825114612e8b5760405162461bcd60e51b815260206004820152603f60248201527f446567656e47616e674265617374734e46543a3a62617463684d696e7442794f60448201527f776e65723a20546865206c656e6774682073686f756c642062652073616d65006064820152608401610c4f565b60005b8251811015610da257612eef838281518110612eba57634e487b7160e01b600052603260045260246000fd5b6020026020010151838381518110612ee257634e487b7160e01b600052603260045260246000fd5b6020026020010151610f55565b612efa600182614833565b9050612e8e565b6000610b3c82613cc1565b6000546001600160a01b03163314612f545760405162461bcd60e51b815260206004820181905260248201526000805160206149cc8339815191526044820152606401610c4f565b47806000612710612f678361232861485f565b612f71919061484b565b90506000612710612f84856101f461485f565b612f8e919061484b565b905080612f9b83856148af565b612fa591906148af565b600a546040519194506000916001600160a01b039091169084908381818185875af1925050503d8060008114612ff7576040519150601f19603f3d011682016040523d82523d6000602084013e612ffc565b606091505b50509050806130585760405162461bcd60e51b815260206004820152602260248201527f5769746864726177204661696c656420546f205465616d203120616464726573604482015261399760f11b6064820152608401610c4f565b600b546040516000916001600160a01b03169084908381818185875af1925050503d80600081146130a5576040519150601f19603f3d011682016040523d82523d6000602084013e6130aa565b606091505b50509050806131065760405162461bcd60e51b815260206004820152602260248201527f5769746864726177204661696c656420546f205465616d203220616464726573604482015261399760f11b6064820152608401610c4f565b600c546040516000916001600160a01b03169087908381818185875af1925050503d8060008114613153576040519150601f19603f3d011682016040523d82523d6000602084013e613158565b606091505b50509050806131b45760405162461bcd60e51b815260206004820152602260248201527f5769746864726177204661696c656420546f205465616d203320616464726573604482015261399760f11b6064820152608401610c4f565b50505050505050565b6000546001600160a01b031633146132055760405162461bcd60e51b815260206004820181905260248201526000805160206149cc8339815191526044820152606401610c4f565b60115460ff1661327d5760405162461bcd60e51b815260206004820152603b60248201527f446567656e47616e674265617374734e46543a3a706175736553616c653a204260448201527f72656564206d696e74696e67206973206e6f74206163746976652e00000000006064820152608401610c4f565b6011805460ff19169055565b6000546001600160a01b031633146132d15760405162461bcd60e51b815260206004820181905260248201526000805160206149cc8339815191526044820152606401610c4f565b6001600160a01b03811661334d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610c4f565b612917816139a3565b600082815260066020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006133ca826137d8565b80519091506000906001600160a01b0316336001600160a01b031614806134015750336133f684610bd4565b6001600160a01b0316145b806134135750815161341390336109e2565b9050806134885760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006064820152608401610c4f565b846001600160a01b031682600001516001600160a01b0316146135135760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f727265637460448201527f206f776e657200000000000000000000000000000000000000000000000000006064820152608401610c4f565b6001600160a01b03841661358f5760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610c4f565b61359f6000848460000151613356565b6001600160a01b03851660009081526005602052604081208054600192906135da9084906fffffffffffffffffffffffffffffffff1661487e565b82546101009290920a6fffffffffffffffffffffffffffffffff8181021990931691831602179091556001600160a01b0386166000908152600560205260408120805460019450909261362f91859116614808565b82546fffffffffffffffffffffffffffffffff9182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b03808716825267ffffffffffffffff428116602080850191825260008981526004909152948520935184549151909216600160a01b026001600160e01b031990911691909216171790556136c0846001614833565b6000818152600460205260409020549091506001600160a01b0316613752576136ea816001541190565b156137525760408051808201825284516001600160a01b03908116825260208087015167ffffffffffffffff9081168285019081526000878152600490935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b611145828260405180602001604052806000815250613d81565b6000612dc58284614833565b6000826137cf858461411e565b14949350505050565b60408051808201909152600080825260208201526137f7826001541190565b6138695760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360448201527f74656e7420746f6b656e000000000000000000000000000000000000000000006064820152608401610c4f565b60007f000000000000000000000000000000000000000000000000000000000000003283106138ca576138bc7f0000000000000000000000000000000000000000000000000000000000000032846148af565b6138c7906001614833565b90505b825b818110613934576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff16918301919091521561392157949350505050565b508061392c816148f2565b9150506138cc565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201527f206f776e6572206f6620746f6b656e00000000000000000000000000000000006064820152608401610c4f565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006001600160a01b0384163b15613b5857604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290613a44903390899088908890600401614764565b602060405180830381600087803b158015613a5e57600080fd5b505af1925050508015613a8e575060408051601f3d908101601f19168201909252613a8b918101906145e5565b60015b613b3e573d808015613abc576040519150601f19603f3d011682016040523d82523d6000602084013e613ac1565b606091505b508051613b365760405162461bcd60e51b815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610c4f565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050613b5c565b5060015b949350505050565b606060088054610b5190614909565b606081613bb357505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115613bdd5780613bc781614944565b9150613bd69050600a8361484b565b9150613bb7565b60008167ffffffffffffffff811115613c0657634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613c30576020820181803683370190505b5090505b8415613b5c57613c456001836148af565b9150613c52600a8661495f565b613c5d906030614833565b60f81b818381518110613c8057634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350613cba600a8661484b565b9450613c34565b60006001600160a01b038216613d3f5760405162461bcd60e51b815260206004820152603160248201527f455243373231413a206e756d626572206d696e74656420717565727920666f7260448201527f20746865207a65726f20616464726573730000000000000000000000000000006064820152608401610c4f565b506001600160a01b031660009081526005602052604090205470010000000000000000000000000000000090046fffffffffffffffffffffffffffffffff1690565b6001546001600160a01b038416613e005760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610c4f565b613e0b816001541190565b15613e585760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610c4f565b7f0000000000000000000000000000000000000000000000000000000000000032831115613eee5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960448201527f67680000000000000000000000000000000000000000000000000000000000006064820152608401610c4f565b6001600160a01b0384166000908152600560209081526040918290208251808401845290546fffffffffffffffffffffffffffffffff80821683527001000000000000000000000000000000009091041691810191909152815180830190925280519091908190613f60908790614808565b6fffffffffffffffffffffffffffffffff168152602001858360200151613f879190614808565b6fffffffffffffffffffffffffffffffff9081169091526001600160a01b03808816600081815260056020908152604080832087519783015187167001000000000000000000000000000000000297909616969096179094558451808601865291825267ffffffffffffffff4281168386019081528883526004909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b858110156141135760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46140816000888488613a00565b6140f35760405162461bcd60e51b815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610c4f565b816140fd81614944565b925050808061410b90614944565b915050614034565b506001819055613794565b600081815b845181101561419857600085828151811061414e57634e487b7160e01b600052603260045260246000fd5b602002602001015190508083116141745760008381526020829052604090209250614185565b600081815260208490526040902092505b508061419081614944565b915050614123565b509392505050565b8280546141ac90614909565b90600052602060002090601f0160209004810192826141ce5760008555614214565b82601f106141e75782800160ff19823516178555614214565b82800160010185558215614214579182015b828111156142145782358255916020019190600101906141f9565b5061142b9291505b8082111561142b576000815560010161421c565b80356001600160a01b038116811461424757600080fd5b919050565b600082601f83011261425c578081fd5b8135602061427161426c836147e4565b6147b3565b80838252828201915082860187848660051b8901011115614290578586fd5b855b858110156142ae57813584529284019290840190600101614292565b5090979650505050505050565b6000602082840312156142cc578081fd5b612dc582614230565b600080604083850312156142e7578081fd5b6142f083614230565b91506142fe60208401614230565b90509250929050565b60008060006060848603121561431b578081fd5b61432484614230565b925061433260208501614230565b9150604084013590509250925092565b60008060008060808587031215614357578081fd5b61436085614230565b9350602061436f818701614230565b935060408601359250606086013567ffffffffffffffff80821115614392578384fd5b818801915088601f8301126143a5578384fd5b8135818111156143b7576143b761499f565b6143c9601f8201601f191685016147b3565b915080825289848285010111156143de578485fd5b8084840185840137810190920192909252939692955090935050565b6000806040838503121561440c578182fd5b61441583614230565b915060208301358015158114614429578182fd5b809150509250929050565b60008060408385031215614446578182fd5b61444f83614230565b946020939093013593505050565b6000806040838503121561446f578182fd5b823567ffffffffffffffff80821115614486578384fd5b818501915085601f830112614499578384fd5b813560206144a961426c836147e4565b8083825282820191508286018a848660051b89010111156144c8578889fd5b8896505b848710156144f1576144dd81614230565b8352600196909601959183019183016144cc565b5096505086013592505080821115614507578283fd5b506145148582860161424c565b9150509250929050565b60006020808385031215614530578182fd5b825167ffffffffffffffff811115614546578283fd5b8301601f81018513614556578283fd5b805161456461426c826147e4565b80828252848201915084840188868560051b8701011115614583578687fd5b8694505b838510156145a5578051835260019490940193918501918501614587565b50979650505050505050565b6000602082840312156145c2578081fd5b5035919050565b6000602082840312156145da578081fd5b8135612dc5816149b5565b6000602082840312156145f6578081fd5b8151612dc5816149b5565b60008060208385031215614613578182fd5b823567ffffffffffffffff8082111561462a578384fd5b818501915085601f83011261463d578384fd5b81358181111561464b578485fd5b86602082850101111561465c578485fd5b60209290920196919550909350505050565b600080600060408486031215614682578081fd5b83359250602084013567ffffffffffffffff808211156146a0578283fd5b818601915086601f8301126146b3578283fd5b8135818111156146c1578384fd5b8760208260051b85010111156146d5578384fd5b6020830194508093505050509250925092565b6000602082840312156146f9578081fd5b813560ff81168114612dc5578182fd5b600081518084526147218160208601602086016148c6565b601f01601f19169290920160200192915050565b600083516147478184602088016148c6565b83519083019061475b8183602088016148c6565b01949350505050565b60006001600160a01b038087168352808616602084015250836040830152608060608301526147966080830184614709565b9695505050505050565b602081526000612dc56020830184614709565b604051601f8201601f1916810167ffffffffffffffff811182821017156147dc576147dc61499f565b604052919050565b600067ffffffffffffffff8211156147fe576147fe61499f565b5060051b60200190565b60006fffffffffffffffffffffffffffffffff80831681851680830382111561475b5761475b614973565b6000821982111561484657614846614973565b500190565b60008261485a5761485a614989565b500490565b600081600019048311821515161561487957614879614973565b500290565b60006fffffffffffffffffffffffffffffffff838116908316818110156148a7576148a7614973565b039392505050565b6000828210156148c1576148c1614973565b500390565b60005b838110156148e15781810151838201526020016148c9565b83811115612ceb5750506000910152565b60008161490157614901614973565b506000190190565b600181811c9082168061491d57607f821691505b6020821081141561493e57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561495857614958614973565b5060010190565b60008261496e5761496e614989565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461291757600080fdfe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a26469706673582212203e93848f66ce1e8315a31fec7962e6a908996a14cdb2bd73c6efec3b45630e2364736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000040655f859292746ff4eb812a92d304ed6511aa3522ada99035ee7b4091e6e5dab4000000000000000000000000000000000000000000000000000000000000004068747470733a2f2f6265617374732d6d6963726f736572766963652d70726f642d646e6c776e2e6f6e6469676974616c6f6365616e2e6170702f746f6b656e2f
-----Decoded View---------------
Arg [0] : baseURI_ (string): https://beasts-microservice-prod-dnlwn.ondigitalocean.app/token/
Arg [1] : _merkleRoot (bytes32): 0x655f859292746ff4eb812a92d304ed6511aa3522ada99035ee7b4091e6e5dab4
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 655f859292746ff4eb812a92d304ed6511aa3522ada99035ee7b4091e6e5dab4
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [3] : 68747470733a2f2f6265617374732d6d6963726f736572766963652d70726f64
Arg [4] : 2d646e6c776e2e6f6e6469676974616c6f6365616e2e6170702f746f6b656e2f
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.