Source Code
Overview
ETH Balance
0.35 ETH
Eth Value
$723.11 (@ $2,066.03/ETH)More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 410 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Set Approval For... | 19864509 | 682 days ago | IN | 0 ETH | 0.0001615 | ||||
| Set Approval For... | 18239249 | 909 days ago | IN | 0 ETH | 0.00029919 | ||||
| Set Approval For... | 18205237 | 914 days ago | IN | 0 ETH | 0.00030997 | ||||
| Safe Transfer Fr... | 18100320 | 929 days ago | IN | 0 ETH | 0.00086668 | ||||
| Claim Tauros | 17491072 | 1014 days ago | IN | 0.05 ETH | 0.00228295 | ||||
| Transfer From | 17465731 | 1018 days ago | IN | 0 ETH | 0.00164744 | ||||
| Transfer From | 17465730 | 1018 days ago | IN | 0 ETH | 0.00154442 | ||||
| Set Approval For... | 17377111 | 1030 days ago | IN | 0 ETH | 0.00122426 | ||||
| Set Approval For... | 16890407 | 1099 days ago | IN | 0 ETH | 0.00140211 | ||||
| Set Approval For... | 16874298 | 1101 days ago | IN | 0 ETH | 0.00055167 | ||||
| Claim Tauros | 16849703 | 1105 days ago | IN | 0.05 ETH | 0.00361391 | ||||
| Set Approval For... | 16670970 | 1130 days ago | IN | 0 ETH | 0.00196326 | ||||
| Set Approval For... | 16435957 | 1163 days ago | IN | 0 ETH | 0.00205455 | ||||
| Set Approval For... | 16402302 | 1167 days ago | IN | 0 ETH | 0.00126701 | ||||
| Set Approval For... | 16387617 | 1169 days ago | IN | 0 ETH | 0.00088647 | ||||
| Set Approval For... | 16367204 | 1172 days ago | IN | 0 ETH | 0.00069752 | ||||
| Claim Tauros | 16302872 | 1181 days ago | IN | 0.15 ETH | 0.00773705 | ||||
| Claim Tauros | 16270184 | 1186 days ago | IN | 0.05 ETH | 0.00205502 | ||||
| Safe Transfer Fr... | 16256647 | 1188 days ago | IN | 0 ETH | 0.00128696 | ||||
| Safe Transfer Fr... | 16222863 | 1192 days ago | IN | 0 ETH | 0.00122303 | ||||
| Safe Transfer Fr... | 16222478 | 1193 days ago | IN | 0 ETH | 0.00116797 | ||||
| Set Approval For... | 16206410 | 1195 days ago | IN | 0 ETH | 0.00062984 | ||||
| Set Approval For... | 16191510 | 1197 days ago | IN | 0 ETH | 0.00161587 | ||||
| Set Approval For... | 16167681 | 1200 days ago | IN | 0 ETH | 0.00074899 | ||||
| Set Approval For... | 16167661 | 1200 days ago | IN | 0 ETH | 0.00040882 |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
TaurosDAO
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: MIT
pragma solidity >=0.7.0 <0.9.0;
/*
.____ ___. .__ __ .__ .__ ____ ___ .__
| | _____ \_ |__ ___.__._______|__| _____/ |_| |__ |__| ____ ____ | | \___________ ____ _____ | |
| | \__ \ | __ < | |\_ __ \ |/ \ __\ | \| |/ \_/ __ \ | | / \_ __ \_/ __ \\__ \ | |
| |___ / __ \| \_\ \___ | | | \/ | | \ | | Y \ | | \ ___/ | | / | \ | \/\ ___/ / __ \| |__
|_______ (____ /___ / ____| |__| |__|___| /__| |___| /__|___| /\___ > |______/|___| /__| \___ >____ /____/
\/ \/ \/\/ \/ \/ \/ \/ \/ \/ \/
*/
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
contract TaurosDAO is ERC721Enumerable, ERC721Burnable, Ownable {
using Strings for uint256;
using Counters for Counters.Counter;
using SafeMath for uint256;
Counters.Counter private _tokenIds;
string public baseURI;
string public baseExtension = "";
string public notRevealedUri;
uint public PRICE = 0.05 ether;
uint256 public maxSupply = 2000;
uint256 public maxMintAmount = 10;
bool public paused = false;
bool public revealed = false;
uint256[] public tokenId;
mapping(address => uint256) public addressMintedBalance;
event AddressesAdded(address[]);
event AddressCalled(address, uint);
constructor(
string memory _name,
string memory _symbol,
string memory _initBaseURI,
string memory _initNotRevealedUri
) ERC721(_name, _symbol) {
setBaseURI(_initBaseURI);
setNotRevealedURI(_initNotRevealedUri);
}
function _baseURI() internal view virtual override returns (string memory) {
return baseURI;
}
function claimTauros(uint256 _count) public payable {
require(!paused, "Contract is paused...");
uint256 supply = totalSupply();
require(_count > 0, "Please mint 1 TAUROS.,.");
require(_count <= maxMintAmount, "Cannot exceed this amount,..");
require(supply + _count <= maxSupply, "SORRY, TAUROSDAO SALE IS CLOSED..,");
require(msg.value >= PRICE.mul(_count), "Not enough ether to purchase TAUROS.");
for (uint256 i = 0 ; i < _count; i++)
{
uint256 currentCount = _tokenIds.current();
if (currentCount >= 999 && currentCount <= 2000 ) PRICE = 0.08 ether;
_mintSingleNFT();
}
}
function reserveNFTs() public onlyOwner {
uint totalMinted = _tokenIds.current();
require(totalMinted < maxSupply, "Not enough NFTs left to reserve");
for (uint i = 0 ; i < 250; i++) {
_mintSingleNFT();
}
}
function _mintSingleNFT() private {
uint newTokenID = _tokenIds.current();
_safeMint(msg.sender, newTokenID);
_tokenIds.increment();
}
function _mintSingleNFT1() public onlyOwner {
uint newTokenID = _tokenIds.current();
_safeMint(msg.sender, newTokenID);
_tokenIds.increment();
}
function walletOfOwner(address _owner)
public
view
returns (uint256[] memory)
{
uint256 ownerTokenCount = balanceOf(_owner);
uint256[] memory tokenIds = new uint256[](ownerTokenCount);
for (uint256 i; i < ownerTokenCount; i++) {
tokenIds[i] = tokenOfOwnerByIndex(_owner, i);
}
return tokenIds;
}
function tokenURI(uint256 _Id)
public
view
virtual
override
returns (string memory)
{
require(
_exists(_Id),
"ERC721Metadata: URI query for nonexistent token"
);
if(revealed == false) {
return notRevealedUri;
}
string memory currentBaseURI = _baseURI();
return bytes(currentBaseURI).length > 0
? string(abi.encodePacked(currentBaseURI, _Id.toString(), baseExtension))
: "";
}
function _beforeTokenTransfer(address from, address to, uint256 tokenId)
internal
override(ERC721, ERC721Enumerable)
{
super._beforeTokenTransfer(from, to, tokenId);
}
function supportsInterface(bytes4 interfaceId)
public
view
override(ERC721, ERC721Enumerable)
returns (bool)
{
return super.supportsInterface(interfaceId);
}
//only owner
function reveal() public onlyOwner {
revealed = true;
}
function setPRICE(uint256 _newPRICE) public onlyOwner {
PRICE = _newPRICE;
}
function setmaxMintAmount(uint256 _newmaxMintAmount) public onlyOwner {
maxMintAmount = _newmaxMintAmount;
}
function setBaseURI(string memory _newBaseURI) public onlyOwner {
baseURI = _newBaseURI;
}
function setBaseExtension(string memory _newBaseExtension) public onlyOwner {
baseExtension = _newBaseExtension;
}
function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner {
notRevealedUri = _notRevealedURI;
}
function pause(bool _state) public onlyOwner {
paused = _state;
}
function getCurrentToken() public view returns (uint256) {
return _tokenIds.current();
}
function withdraw() public payable onlyOwner {
uint balance = address(this).balance;
require(balance > 0, "No ether left to withdraw");
(bool success, ) = (msg.sender).call{value: balance}("");
require(success, "Transfer failed.");
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)
pragma solidity ^0.8.0;
/**
* @title Counters
* @author Matt Condon (@shrugs)
* @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
* of elements in a mapping, issuing ERC721 ids, or counting request ids.
*
* Include with `using Counters for Counters.Counter;`
*/
library Counters {
struct Counter {
// This variable should never be directly accessed by users of the library: interactions must be restricted to
// the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
// this feature: see https://github.com/ethereum/solidity/issues/4637
uint256 _value; // default: 0
}
function current(Counter storage counter) internal view returns (uint256) {
return counter._value;
}
function increment(Counter storage counter) internal {
unchecked {
counter._value += 1;
}
}
function decrement(Counter storage counter) internal {
uint256 value = counter._value;
require(value > 0, "Counter: decrement overflow");
unchecked {
counter._value = value - 1;
}
}
function reset(Counter storage counter) internal {
counter._value = 0;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (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 subtraction 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 (last updated v4.7.0) (token/ERC721/extensions/ERC721Burnable.sol)
pragma solidity ^0.8.0;
import "../ERC721.sol";
import "../../../utils/Context.sol";
/**
* @title ERC721 Burnable Token
* @dev ERC721 Token that can be burned (destroyed).
*/
abstract contract ERC721Burnable is Context, ERC721 {
/**
* @dev Burns `tokenId`. See {ERC721-_burn}.
*
* Requirements:
*
* - The caller must own `tokenId` or be an approved operator.
*/
function burn(uint256 tokenId) public virtual {
//solhint-disable-next-line max-line-length
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved");
_burn(tokenId);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)
pragma solidity ^0.8.0;
import "../ERC721.sol";
import "./IERC721Enumerable.sol";
/**
* @dev This implements an optional extension of {ERC721} defined in the EIP that adds
* enumerability of all the token ids in the contract as well as all token ids owned by each
* account.
*/
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
// Mapping from owner to list of owned token IDs
mapping(address => mapping(uint256 => uint256)) private _ownedTokens;
// Mapping from token ID to index of the owner tokens list
mapping(uint256 => uint256) private _ownedTokensIndex;
// Array with all token ids, used for enumeration
uint256[] private _allTokens;
// Mapping from token id to position in the allTokens array
mapping(uint256 => uint256) private _allTokensIndex;
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) {
return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId);
}
/**
* @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
*/
function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
return _ownedTokens[owner][index];
}
/**
* @dev See {IERC721Enumerable-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _allTokens.length;
}
/**
* @dev See {IERC721Enumerable-tokenByIndex}.
*/
function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
return _allTokens[index];
}
/**
* @dev Hook that is called before any token transfer. This includes minting
* and burning.
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
* transferred to `to`.
* - When `from` is zero, `tokenId` will be minted for `to`.
* - When `to` is zero, ``from``'s `tokenId` will be burned.
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 tokenId
) internal virtual override {
super._beforeTokenTransfer(from, to, tokenId);
if (from == address(0)) {
_addTokenToAllTokensEnumeration(tokenId);
} else if (from != to) {
_removeTokenFromOwnerEnumeration(from, tokenId);
}
if (to == address(0)) {
_removeTokenFromAllTokensEnumeration(tokenId);
} else if (to != from) {
_addTokenToOwnerEnumeration(to, tokenId);
}
}
/**
* @dev Private function to add a token to this extension's ownership-tracking data structures.
* @param to address representing the new owner of the given token ID
* @param tokenId uint256 ID of the token to be added to the tokens list of the given address
*/
function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
uint256 length = ERC721.balanceOf(to);
_ownedTokens[to][length] = tokenId;
_ownedTokensIndex[tokenId] = length;
}
/**
* @dev Private function to add a token to this extension's token tracking data structures.
* @param tokenId uint256 ID of the token to be added to the tokens list
*/
function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
_allTokensIndex[tokenId] = _allTokens.length;
_allTokens.push(tokenId);
}
/**
* @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
* while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
* gas optimizations e.g. when performing a transfer operation (avoiding double writes).
* This has O(1) time complexity, but alters the order of the _ownedTokens array.
* @param from address representing the previous owner of the given token ID
* @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
*/
function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
// To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
// then delete the last slot (swap and pop).
uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
uint256 tokenIndex = _ownedTokensIndex[tokenId];
// When the token to delete is the last token, the swap operation is unnecessary
if (tokenIndex != lastTokenIndex) {
uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];
_ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
_ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
}
// This also deletes the contents at the last position of the array
delete _ownedTokensIndex[tokenId];
delete _ownedTokens[from][lastTokenIndex];
}
/**
* @dev Private function to remove a token from this extension's token tracking data structures.
* This has O(1) time complexity, but alters the order of the _allTokens array.
* @param tokenId uint256 ID of the token to be removed from the tokens list
*/
function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
// To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
// then delete the last slot (swap and pop).
uint256 lastTokenIndex = _allTokens.length - 1;
uint256 tokenIndex = _allTokensIndex[tokenId];
// When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
// rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
// an 'if' statement (like in _removeTokenFromOwnerEnumeration)
uint256 lastTokenId = _allTokens[lastTokenIndex];
_allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
_allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
// This also deletes the contents at the last position of the array
delete _allTokensIndex[tokenId];
_allTokens.pop();
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (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 Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
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 (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)
pragma solidity ^0.8.0;
import "../IERC721.sol";
/**
* @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Enumerable is IERC721 {
/**
* @dev Returns the total amount of tokens stored by the contract.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns a token ID owned by `owner` at a given `index` of its token list.
* Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
*/
function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);
/**
* @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
* Use along with {totalSupply} to enumerate all tokens.
*/
function tokenByIndex(uint256 index) external view returns (uint256);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol)
pragma solidity ^0.8.0;
import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";
/**
* @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
* the Metadata extension, but not including the Enumerable extension, which is available separately as
* {ERC721Enumerable}.
*/
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
using Address for address;
using Strings for uint256;
// Token name
string private _name;
// Token symbol
string private _symbol;
// Mapping from token ID to owner address
mapping(uint256 => address) private _owners;
// Mapping owner address to token count
mapping(address => uint256) private _balances;
// Mapping from token ID to approved address
mapping(uint256 => address) private _tokenApprovals;
// Mapping from owner to operator approvals
mapping(address => mapping(address => bool)) private _operatorApprovals;
/**
* @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
*/
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
return
interfaceId == type(IERC721).interfaceId ||
interfaceId == type(IERC721Metadata).interfaceId ||
super.supportsInterface(interfaceId);
}
/**
* @dev See {IERC721-balanceOf}.
*/
function balanceOf(address owner) public view virtual override returns (uint256) {
require(owner != address(0), "ERC721: address zero is not a valid owner");
return _balances[owner];
}
/**
* @dev See {IERC721-ownerOf}.
*/
function ownerOf(uint256 tokenId) public view virtual override returns (address) {
address owner = _owners[tokenId];
require(owner != address(0), "ERC721: invalid token ID");
return owner;
}
/**
* @dev See {IERC721Metadata-name}.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev See {IERC721Metadata-symbol}.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev See {IERC721Metadata-tokenURI}.
*/
function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
_requireMinted(tokenId);
string memory baseURI = _baseURI();
return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
}
/**
* @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
* token will be the concatenation of the `baseURI` and the `tokenId`. Empty
* by default, can be overridden in child contracts.
*/
function _baseURI() internal view virtual returns (string memory) {
return "";
}
/**
* @dev See {IERC721-approve}.
*/
function approve(address to, uint256 tokenId) public virtual override {
address owner = ERC721.ownerOf(tokenId);
require(to != owner, "ERC721: approval to current owner");
require(
_msgSender() == owner || isApprovedForAll(owner, _msgSender()),
"ERC721: approve caller is not token owner nor approved for all"
);
_approve(to, tokenId);
}
/**
* @dev See {IERC721-getApproved}.
*/
function getApproved(uint256 tokenId) public view virtual override returns (address) {
_requireMinted(tokenId);
return _tokenApprovals[tokenId];
}
/**
* @dev See {IERC721-setApprovalForAll}.
*/
function setApprovalForAll(address operator, bool approved) public virtual override {
_setApprovalForAll(_msgSender(), operator, approved);
}
/**
* @dev See {IERC721-isApprovedForAll}.
*/
function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
return _operatorApprovals[owner][operator];
}
/**
* @dev See {IERC721-transferFrom}.
*/
function transferFrom(
address from,
address to,
uint256 tokenId
) public virtual override {
//solhint-disable-next-line max-line-length
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved");
_transfer(from, to, tokenId);
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) public virtual override {
safeTransferFrom(from, to, tokenId, "");
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId,
bytes memory data
) public virtual override {
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved");
_safeTransfer(from, to, tokenId, data);
}
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* `data` is additional data, it has no specified format and it is sent in call to `to`.
*
* This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
* implement alternative mechanisms to perform token transfer, such as signature-based.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function _safeTransfer(
address from,
address to,
uint256 tokenId,
bytes memory data
) internal virtual {
_transfer(from, to, tokenId);
require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer");
}
/**
* @dev Returns whether `tokenId` exists.
*
* Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
*
* Tokens start existing when they are minted (`_mint`),
* and stop existing when they are burned (`_burn`).
*/
function _exists(uint256 tokenId) internal view virtual returns (bool) {
return _owners[tokenId] != address(0);
}
/**
* @dev Returns whether `spender` is allowed to manage `tokenId`.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
address owner = ERC721.ownerOf(tokenId);
return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
}
/**
* @dev Safely mints `tokenId` and transfers it to `to`.
*
* Requirements:
*
* - `tokenId` must not exist.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function _safeMint(address to, uint256 tokenId) internal virtual {
_safeMint(to, tokenId, "");
}
/**
* @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
* forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
*/
function _safeMint(
address to,
uint256 tokenId,
bytes memory data
) internal virtual {
_mint(to, tokenId);
require(
_checkOnERC721Received(address(0), to, tokenId, data),
"ERC721: transfer to non ERC721Receiver implementer"
);
}
/**
* @dev Mints `tokenId` and transfers it to `to`.
*
* WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
*
* Requirements:
*
* - `tokenId` must not exist.
* - `to` cannot be the zero address.
*
* Emits a {Transfer} event.
*/
function _mint(address to, uint256 tokenId) internal virtual {
require(to != address(0), "ERC721: mint to the zero address");
require(!_exists(tokenId), "ERC721: token already minted");
_beforeTokenTransfer(address(0), to, tokenId);
_balances[to] += 1;
_owners[tokenId] = to;
emit Transfer(address(0), to, tokenId);
_afterTokenTransfer(address(0), to, tokenId);
}
/**
* @dev Destroys `tokenId`.
* The approval is cleared when the token is burned.
*
* Requirements:
*
* - `tokenId` must exist.
*
* Emits a {Transfer} event.
*/
function _burn(uint256 tokenId) internal virtual {
address owner = ERC721.ownerOf(tokenId);
_beforeTokenTransfer(owner, address(0), tokenId);
// Clear approvals
_approve(address(0), tokenId);
_balances[owner] -= 1;
delete _owners[tokenId];
emit Transfer(owner, address(0), tokenId);
_afterTokenTransfer(owner, address(0), tokenId);
}
/**
* @dev Transfers `tokenId` from `from` to `to`.
* As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
*
* Emits a {Transfer} event.
*/
function _transfer(
address from,
address to,
uint256 tokenId
) internal virtual {
require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
require(to != address(0), "ERC721: transfer to the zero address");
_beforeTokenTransfer(from, to, tokenId);
// Clear approvals from the previous owner
_approve(address(0), tokenId);
_balances[from] -= 1;
_balances[to] += 1;
_owners[tokenId] = to;
emit Transfer(from, to, tokenId);
_afterTokenTransfer(from, to, tokenId);
}
/**
* @dev Approve `to` to operate on `tokenId`
*
* Emits an {Approval} event.
*/
function _approve(address to, uint256 tokenId) internal virtual {
_tokenApprovals[tokenId] = to;
emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
}
/**
* @dev Approve `operator` to operate on all of `owner` tokens
*
* Emits an {ApprovalForAll} event.
*/
function _setApprovalForAll(
address owner,
address operator,
bool approved
) internal virtual {
require(owner != operator, "ERC721: approve to caller");
_operatorApprovals[owner][operator] = approved;
emit ApprovalForAll(owner, operator, approved);
}
/**
* @dev Reverts if the `tokenId` has not been minted yet.
*/
function _requireMinted(uint256 tokenId) internal view virtual {
require(_exists(tokenId), "ERC721: invalid token ID");
}
/**
* @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
* The call is not executed if the target address is not a contract.
*
* @param from address representing the previous owner of the given token ID
* @param to target address that will receive the tokens
* @param tokenId uint256 ID of the token to be transferred
* @param data bytes optional data to send along with the call
* @return bool whether the call correctly returned the expected magic value
*/
function _checkOnERC721Received(
address from,
address to,
uint256 tokenId,
bytes memory data
) private returns (bool) {
if (to.isContract()) {
try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) {
return retval == IERC721Receiver.onERC721Received.selector;
} catch (bytes memory reason) {
if (reason.length == 0) {
revert("ERC721: transfer to non ERC721Receiver implementer");
} else {
/// @solidity memory-safe-assembly
assembly {
revert(add(32, reason), mload(reason))
}
}
}
} else {
return true;
}
}
/**
* @dev Hook that is called before any token transfer. This includes minting
* and burning.
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
* transferred to `to`.
* - When `from` is zero, `tokenId` will be minted for `to`.
* - When `to` is zero, ``from``'s `tokenId` will be burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 tokenId
) internal virtual {}
/**
* @dev Hook that is called after any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _afterTokenTransfer(
address from,
address to,
uint256 tokenId
) internal virtual {}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)
pragma solidity ^0.8.0;
import "../../utils/introspection/IERC165.sol";
/**
* @dev Required interface of an ERC721 compliant contract.
*/
interface IERC721 is IERC165 {
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
*/
event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
*/
event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
/**
* @dev Returns the number of tokens in ``owner``'s account.
*/
function balanceOf(address owner) external view returns (uint256 balance);
/**
* @dev Returns the owner of the `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function ownerOf(uint256 tokenId) external view returns (address owner);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId,
bytes calldata data
) external;
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) external;
/**
* @dev Transfers `tokenId` token from `from` to `to`.
*
* WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address from,
address to,
uint256 tokenId
) external;
/**
* @dev Gives permission to `to` to transfer `tokenId` token to another account.
* The approval is cleared when the token is transferred.
*
* Only a single account can be approved at a time, so approving the zero address clears previous approvals.
*
* Requirements:
*
* - The caller must own the token or be an approved operator.
* - `tokenId` must exist.
*
* Emits an {Approval} event.
*/
function approve(address to, uint256 tokenId) external;
/**
* @dev Approve or remove `operator` as an operator for the caller.
* Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
*
* Requirements:
*
* - The `operator` cannot be the caller.
*
* Emits an {ApprovalForAll} event.
*/
function setApprovalForAll(address operator, bool _approved) external;
/**
* @dev Returns the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) external view returns (address operator);
/**
* @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
*
* See {setApprovalForAll}
*/
function isApprovedForAll(address owner, address operator) external view returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts 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 (last updated v4.7.0) (utils/Strings.sol)
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
uint8 private constant _ADDRESS_LENGTH = 20;
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
// Inspired by OraclizeAPI's implementation - MIT licence
// https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol
if (value == 0) {
return "0";
}
uint256 temp = value;
uint256 digits;
while (temp != 0) {
digits++;
temp /= 10;
}
bytes memory buffer = new bytes(digits);
while (value != 0) {
digits -= 1;
buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
value /= 10;
}
return string(buffer);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
if (value == 0) {
return "0x00";
}
uint256 temp = value;
uint256 length = 0;
while (temp != 0) {
length++;
temp >>= 8;
}
return toHexString(value, length);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
*/
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
bytes memory buffer = new bytes(2 * length + 2);
buffer[0] = "0";
buffer[1] = "x";
for (uint256 i = 2 * length + 1; i > 1; --i) {
buffer[i] = _HEX_SYMBOLS[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
/**
* @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
*/
function toHexString(address addr) internal pure returns (string memory) {
return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)
pragma solidity ^0.8.1;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*
* [IMPORTANT]
* ====
* You shouldn't rely on `isContract` to protect against flash loan attacks!
*
* Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
* like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
* constructor.
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize/address.code.length, which returns 0
// for contracts in construction, since the code is only stored at the end
// of the constructor execution.
return account.code.length > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
(bool success, ) = recipient.call{value: amount}("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain `call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value
) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
require(isContract(target), "Address: call to non-contract");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
require(isContract(target), "Address: static call to non-contract");
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason using the provided one.
*
* _Available since v4.3._
*/
function verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) internal pure returns (bytes memory) {
if (success) {
return returndata;
} else {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
/// @solidity memory-safe-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)
pragma solidity ^0.8.0;
import "../IERC721.sol";
/**
* @title ERC-721 Non-Fungible Token Standard, optional metadata extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Metadata is IERC721 {
/**
* @dev Returns the token collection name.
*/
function name() external view returns (string memory);
/**
* @dev Returns the token collection symbol.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
*/
function tokenURI(uint256 tokenId) external view returns (string memory);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)
pragma solidity ^0.8.0;
/**
* @title ERC721 token receiver interface
* @dev Interface for any contract that wants to support safeTransfers
* from ERC721 asset contracts.
*/
interface IERC721Receiver {
/**
* @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
* by `operator` from `from`, this function is called.
*
* It must return its Solidity selector to confirm the token transfer.
* If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
*
* The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
*/
function onERC721Received(
address operator,
address from,
uint256 tokenId,
bytes calldata data
) external returns (bytes4);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}{
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"string","name":"_initNotRevealedUri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"","type":"address"},{"indexed":false,"internalType":"uint256","name":"","type":"uint256"}],"name":"AddressCalled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"","type":"address[]"}],"name":"AddressesAdded","type":"event"},{"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":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_mintSingleNFT1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressMintedBalance","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":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"claimTauros","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserveNFTs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPRICE","type":"uint256"}],"name":"setPRICE","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newmaxMintAmount","type":"uint256"}],"name":"setmaxMintAmount","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":"tokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_Id","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]Contract Creation Code
608060405260405180602001604052806000815250600d90805190602001906200002b9291906200030e565b5066b1a2bc2ec50000600f556107d0601055600a6011556000601260006101000a81548160ff0219169083151502179055506000601260016101000a81548160ff0219169083151502179055503480156200008557600080fd5b5060405162004fea38038062004fea8339818101604052810190620000ab91906200043c565b83838160009080519060200190620000c59291906200030e565b508060019080519060200190620000de9291906200030e565b50505062000101620000f56200012d60201b60201c565b6200013560201b60201c565b6200011282620001fb60201b60201c565b62000123816200022760201b60201c565b5050505062000731565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200020b6200025360201b60201c565b80600c9080519060200190620002239291906200030e565b5050565b620002376200025360201b60201c565b80600e90805190602001906200024f9291906200030e565b5050565b620002636200012d60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000289620002e460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620002e2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002d99062000551565b60405180910390fd5b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8280546200031c9062000619565b90600052602060002090601f0160209004810192826200034057600085556200038c565b82601f106200035b57805160ff19168380011785556200038c565b828001600101855582156200038c579182015b828111156200038b5782518255916020019190600101906200036e565b5b5090506200039b91906200039f565b5090565b5b80821115620003ba576000816000905550600101620003a0565b5090565b6000620003d5620003cf846200059c565b62000573565b905082815260208101848484011115620003f457620003f3620006e8565b5b62000401848285620005e3565b509392505050565b600082601f830112620004215762000420620006e3565b5b815162000433848260208601620003be565b91505092915050565b60008060008060808587031215620004595762000458620006f2565b5b600085015167ffffffffffffffff8111156200047a5762000479620006ed565b5b620004888782880162000409565b945050602085015167ffffffffffffffff811115620004ac57620004ab620006ed565b5b620004ba8782880162000409565b935050604085015167ffffffffffffffff811115620004de57620004dd620006ed565b5b620004ec8782880162000409565b925050606085015167ffffffffffffffff81111562000510576200050f620006ed565b5b6200051e8782880162000409565b91505092959194509250565b600062000539602083620005d2565b9150620005468262000708565b602082019050919050565b600060208201905081810360008301526200056c816200052a565b9050919050565b60006200057f62000592565b90506200058d82826200064f565b919050565b6000604051905090565b600067ffffffffffffffff821115620005ba57620005b9620006b4565b5b620005c582620006f7565b9050602081019050919050565b600082825260208201905092915050565b60005b8381101562000603578082015181840152602081019050620005e6565b8381111562000613576000848401525b50505050565b600060028204905060018216806200063257607f821691505b6020821081141562000649576200064862000685565b5b50919050565b6200065a82620006f7565b810181811067ffffffffffffffff821117156200067c576200067b620006b4565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6148a980620007416000396000f3fe60806040526004361061025c5760003560e01c80636352211e11610144578063a475b5dd116100b6578063da3ef23f1161007a578063da3ef23f146108ba578063e985e9c5146108e3578063eea52d3814610920578063ef2d174614610949578063f2c4ce1e14610974578063f2fde38b1461099d5761025c565b8063a475b5dd146107e7578063b88d4fde146107fe578063c668286214610827578063c87b56dd14610852578063d5abeb011461088f5761025c565b80637f00c7a6116101085780637f00c7a6146106fd5780638d859f3e146107265780638da5cb5b1461075157806395d89b411461077c578063a1871157146107a7578063a22cb465146107be5761025c565b80636352211e146106045780636c0360eb1461064157806370a082311461066c578063715018a6146106a95780637dcb0e5f146106c05761025c565b806323b872dd116101dd57806342966c68116101a157806342966c68146104e2578063438b63001461050b5780634f6ccce714610548578063518302271461058557806355f804b3146105b05780635c975abb146105d95761025c565b806323b872dd1461042d57806327d0e160146104565780632f745c59146104725780633ccfd60b146104af57806342842e0e146104b95761025c565b8063095ea7b311610224578063095ea7b31461035a578063144100c71461038357806318160ddd1461039a57806318cae269146103c5578063239c70ae146104025761025c565b806301ffc9a71461026157806302329a291461029e57806306fdde03146102c7578063081812fc146102f2578063081c8c441461032f575b600080fd5b34801561026d57600080fd5b506102886004803603810190610283919061330e565b6109c6565b60405161029591906139ec565b60405180910390f35b3480156102aa57600080fd5b506102c560048036038101906102c091906132e1565b6109d8565b005b3480156102d357600080fd5b506102dc6109fd565b6040516102e99190613a07565b60405180910390f35b3480156102fe57600080fd5b50610319600480360381019061031491906133b1565b610a8f565b6040516103269190613963565b60405180910390f35b34801561033b57600080fd5b50610344610ad5565b6040516103519190613a07565b60405180910390f35b34801561036657600080fd5b50610381600480360381019061037c91906132a1565b610b63565b005b34801561038f57600080fd5b50610398610c7b565b005b3480156103a657600080fd5b506103af610d00565b6040516103bc9190613d29565b60405180910390f35b3480156103d157600080fd5b506103ec60048036038101906103e7919061311e565b610d0d565b6040516103f99190613d29565b60405180910390f35b34801561040e57600080fd5b50610417610d25565b6040516104249190613d29565b60405180910390f35b34801561043957600080fd5b50610454600480360381019061044f919061318b565b610d2b565b005b610470600480360381019061046b91906133b1565b610d8b565b005b34801561047e57600080fd5b50610499600480360381019061049491906132a1565b610f79565b6040516104a69190613d29565b60405180910390f35b6104b761101e565b005b3480156104c557600080fd5b506104e060048036038101906104db919061318b565b61111e565b005b3480156104ee57600080fd5b50610509600480360381019061050491906133b1565b61113e565b005b34801561051757600080fd5b50610532600480360381019061052d919061311e565b61119a565b60405161053f91906139ca565b60405180910390f35b34801561055457600080fd5b5061056f600480360381019061056a91906133b1565b611248565b60405161057c9190613d29565b60405180910390f35b34801561059157600080fd5b5061059a6112b9565b6040516105a791906139ec565b60405180910390f35b3480156105bc57600080fd5b506105d760048036038101906105d29190613368565b6112cc565b005b3480156105e557600080fd5b506105ee6112ee565b6040516105fb91906139ec565b60405180910390f35b34801561061057600080fd5b5061062b600480360381019061062691906133b1565b611301565b6040516106389190613963565b60405180910390f35b34801561064d57600080fd5b506106566113b3565b6040516106639190613a07565b60405180910390f35b34801561067857600080fd5b50610693600480360381019061068e919061311e565b611441565b6040516106a09190613d29565b60405180910390f35b3480156106b557600080fd5b506106be6114f9565b005b3480156106cc57600080fd5b506106e760048036038101906106e291906133b1565b61150d565b6040516106f49190613d29565b60405180910390f35b34801561070957600080fd5b50610724600480360381019061071f91906133b1565b611531565b005b34801561073257600080fd5b5061073b611543565b6040516107489190613d29565b60405180910390f35b34801561075d57600080fd5b50610766611549565b6040516107739190613963565b60405180910390f35b34801561078857600080fd5b50610791611573565b60405161079e9190613a07565b60405180910390f35b3480156107b357600080fd5b506107bc611605565b005b3480156107ca57600080fd5b506107e560048036038101906107e09190613261565b611632565b005b3480156107f357600080fd5b506107fc611648565b005b34801561080a57600080fd5b50610825600480360381019061082091906131de565b61166d565b005b34801561083357600080fd5b5061083c6116cf565b6040516108499190613a07565b60405180910390f35b34801561085e57600080fd5b50610879600480360381019061087491906133b1565b61175d565b6040516108869190613a07565b60405180910390f35b34801561089b57600080fd5b506108a46118b6565b6040516108b19190613d29565b60405180910390f35b3480156108c657600080fd5b506108e160048036038101906108dc9190613368565b6118bc565b005b3480156108ef57600080fd5b5061090a6004803603810190610905919061314b565b6118de565b60405161091791906139ec565b60405180910390f35b34801561092c57600080fd5b50610947600480360381019061094291906133b1565b611972565b005b34801561095557600080fd5b5061095e611984565b60405161096b9190613d29565b60405180910390f35b34801561098057600080fd5b5061099b60048036038101906109969190613368565b611995565b005b3480156109a957600080fd5b506109c460048036038101906109bf919061311e565b6119b7565b005b60006109d182611a3b565b9050919050565b6109e0611ab5565b80601260006101000a81548160ff02191690831515021790555050565b606060008054610a0c90614032565b80601f0160208091040260200160405190810160405280929190818152602001828054610a3890614032565b8015610a855780601f10610a5a57610100808354040283529160200191610a85565b820191906000526020600020905b815481529060010190602001808311610a6857829003601f168201915b5050505050905090565b6000610a9a82611b33565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600e8054610ae290614032565b80601f0160208091040260200160405190810160405280929190818152602001828054610b0e90614032565b8015610b5b5780601f10610b3057610100808354040283529160200191610b5b565b820191906000526020600020905b815481529060010190602001808311610b3e57829003601f168201915b505050505081565b6000610b6e82611301565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd690613c69565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bfe611b7e565b73ffffffffffffffffffffffffffffffffffffffff161480610c2d5750610c2c81610c27611b7e565b6118de565b5b610c6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6390613b89565b60405180910390fd5b610c768383611b86565b505050565b610c83611ab5565b6000610c8f600b611c3f565b90506010548110610cd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ccc90613a29565b60405180910390fd5b60005b60fa811015610cfc57610ce9611c4d565b8080610cf490614095565b915050610cd8565b5050565b6000600880549050905090565b60146020528060005260406000206000915090505481565b60115481565b610d3c610d36611b7e565b82611c72565b610d7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7290613ce9565b60405180910390fd5b610d86838383611d07565b505050565b601260009054906101000a900460ff1615610ddb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd290613b29565b60405180910390fd5b6000610de5610d00565b905060008211610e2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2190613d09565b60405180910390fd5b601154821115610e6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6690613cc9565b60405180910390fd5b6010548282610e7e9190613e67565b1115610ebf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb690613be9565b60405180910390fd5b610ed482600f54611f6e90919063ffffffff16565b341015610f16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0d90613b69565b60405180910390fd5b60005b82811015610f74576000610f2d600b611c3f565b90506103e78110158015610f4357506107d08111155b15610f585767011c37937e080000600f819055505b610f60611c4d565b508080610f6c90614095565b915050610f19565b505050565b6000610f8483611441565b8210610fc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbc90613a49565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b611026611ab5565b60004790506000811161106e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106590613bc9565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff16826040516110949061394e565b60006040518083038185875af1925050503d80600081146110d1576040519150601f19603f3d011682016040523d82523d6000602084013e6110d6565b606091505b505090508061111a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111190613c89565b60405180910390fd5b5050565b6111398383836040518060200160405280600081525061166d565b505050565b61114f611149611b7e565b82611c72565b61118e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118590613ce9565b60405180910390fd5b61119781611f84565b50565b606060006111a783611441565b905060008167ffffffffffffffff8111156111c5576111c46141fa565b5b6040519080825280602002602001820160405280156111f35781602001602082028036833780820191505090505b50905060005b8281101561123d5761120b8582610f79565b82828151811061121e5761121d6141cb565b5b602002602001018181525050808061123590614095565b9150506111f9565b508092505050919050565b6000611252610d00565b8210611293576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128a90613ca9565b60405180910390fd5b600882815481106112a7576112a66141cb565b5b90600052602060002001549050919050565b601260019054906101000a900460ff1681565b6112d4611ab5565b80600c90805190602001906112ea929190612f32565b5050565b601260009054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156113aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a190613c49565b60405180910390fd5b80915050919050565b600c80546113c090614032565b80601f01602080910402602001604051908101604052809291908181526020018280546113ec90614032565b80156114395780601f1061140e57610100808354040283529160200191611439565b820191906000526020600020905b81548152906001019060200180831161141c57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a990613b49565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611501611ab5565b61150b60006120a1565b565b6013818154811061151d57600080fd5b906000526020600020016000915090505481565b611539611ab5565b8060118190555050565b600f5481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461158290614032565b80601f01602080910402602001604051908101604052809291908181526020018280546115ae90614032565b80156115fb5780601f106115d0576101008083540402835291602001916115fb565b820191906000526020600020905b8154815290600101906020018083116115de57829003601f168201915b5050505050905090565b61160d611ab5565b6000611619600b611c3f565b90506116253382612167565b61162f600b612185565b50565b61164461163d611b7e565b838361219b565b5050565b611650611ab5565b6001601260016101000a81548160ff021916908315150217905550565b61167e611678611b7e565b83611c72565b6116bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b490613ce9565b60405180910390fd5b6116c984848484612308565b50505050565b600d80546116dc90614032565b80601f016020809104026020016040519081016040528092919081815260200182805461170890614032565b80156117555780601f1061172a57610100808354040283529160200191611755565b820191906000526020600020905b81548152906001019060200180831161173857829003601f168201915b505050505081565b606061176882612364565b6117a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179e90613c29565b60405180910390fd5b60001515601260019054906101000a900460ff161515141561185557600e80546117d090614032565b80601f01602080910402602001604051908101604052809291908181526020018280546117fc90614032565b80156118495780601f1061181e57610100808354040283529160200191611849565b820191906000526020600020905b81548152906001019060200180831161182c57829003601f168201915b505050505090506118b1565b600061185f6123d0565b9050600081511161187f57604051806020016040528060008152506118ad565b8061188984612462565b600d60405160200161189d9392919061391d565b6040516020818303038152906040525b9150505b919050565b60105481565b6118c4611ab5565b80600d90805190602001906118da929190612f32565b5050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61197a611ab5565b80600f8190555050565b6000611990600b611c3f565b905090565b61199d611ab5565b80600e90805190602001906119b3929190612f32565b5050565b6119bf611ab5565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611a2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2690613a89565b60405180910390fd5b611a38816120a1565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611aae5750611aad826125c3565b5b9050919050565b611abd611b7e565b73ffffffffffffffffffffffffffffffffffffffff16611adb611549565b73ffffffffffffffffffffffffffffffffffffffff1614611b31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2890613c09565b60405180910390fd5b565b611b3c81612364565b611b7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7290613c49565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611bf983611301565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b6000611c59600b611c3f565b9050611c653382612167565b611c6f600b612185565b50565b600080611c7e83611301565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611cc05750611cbf81856118de565b5b80611cfe57508373ffffffffffffffffffffffffffffffffffffffff16611ce684610a8f565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611d2782611301565b73ffffffffffffffffffffffffffffffffffffffff1614611d7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7490613aa9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ded576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de490613ae9565b60405180910390fd5b611df88383836126a5565b611e03600082611b86565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e539190613f48565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611eaa9190613e67565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611f698383836126b5565b505050565b60008183611f7c9190613eee565b905092915050565b6000611f8f82611301565b9050611f9d816000846126a5565b611fa8600083611b86565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ff89190613f48565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461209d816000846126b5565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6121818282604051806020016040528060008152506126ba565b5050565b6001816000016000828254019250508190555050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561220a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220190613b09565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122fb91906139ec565b60405180910390a3505050565b612313848484611d07565b61231f84848484612715565b61235e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235590613a69565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6060600c80546123df90614032565b80601f016020809104026020016040519081016040528092919081815260200182805461240b90614032565b80156124585780601f1061242d57610100808354040283529160200191612458565b820191906000526020600020905b81548152906001019060200180831161243b57829003601f168201915b5050505050905090565b606060008214156124aa576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506125be565b600082905060005b600082146124dc5780806124c590614095565b915050600a826124d59190613ebd565b91506124b2565b60008167ffffffffffffffff8111156124f8576124f76141fa565b5b6040519080825280601f01601f19166020018201604052801561252a5781602001600182028036833780820191505090505b5090505b600085146125b7576001826125439190613f48565b9150600a8561255291906140de565b603061255e9190613e67565b60f81b818381518110612574576125736141cb565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856125b09190613ebd565b945061252e565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061268e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061269e575061269d826128ac565b5b9050919050565b6126b0838383612916565b505050565b505050565b6126c48383612a2a565b6126d16000848484612715565b612710576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270790613a69565b60405180910390fd5b505050565b60006127368473ffffffffffffffffffffffffffffffffffffffff16612c04565b1561289f578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261275f611b7e565b8786866040518563ffffffff1660e01b8152600401612781949392919061397e565b602060405180830381600087803b15801561279b57600080fd5b505af19250505080156127cc57506040513d601f19601f820116820180604052508101906127c9919061333b565b60015b61284f573d80600081146127fc576040519150601f19603f3d011682016040523d82523d6000602084013e612801565b606091505b50600081511415612847576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161283e90613a69565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506128a4565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612921838383612c27565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156129645761295f81612c2c565b6129a3565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146129a2576129a18382612c75565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156129e6576129e181612de2565b612a25565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612a2457612a238282612eb3565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9190613ba9565b60405180910390fd5b612aa381612364565b15612ae3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ada90613ac9565b60405180910390fd5b612aef600083836126a5565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b3f9190613e67565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612c00600083836126b5565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612c8284611441565b612c8c9190613f48565b9050600060076000848152602001908152602001600020549050818114612d71576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612df69190613f48565b9050600060096000848152602001908152602001600020549050600060088381548110612e2657612e256141cb565b5b906000526020600020015490508060088381548110612e4857612e476141cb565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612e9757612e9661419c565b5b6001900381819060005260206000200160009055905550505050565b6000612ebe83611441565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054612f3e90614032565b90600052602060002090601f016020900481019282612f605760008555612fa7565b82601f10612f7957805160ff1916838001178555612fa7565b82800160010185558215612fa7579182015b82811115612fa6578251825591602001919060010190612f8b565b5b509050612fb49190612fb8565b5090565b5b80821115612fd1576000816000905550600101612fb9565b5090565b6000612fe8612fe384613d69565b613d44565b9050828152602081018484840111156130045761300361422e565b5b61300f848285613ff0565b509392505050565b600061302a61302584613d9a565b613d44565b9050828152602081018484840111156130465761304561422e565b5b613051848285613ff0565b509392505050565b60008135905061306881614817565b92915050565b60008135905061307d8161482e565b92915050565b60008135905061309281614845565b92915050565b6000815190506130a781614845565b92915050565b600082601f8301126130c2576130c1614229565b5b81356130d2848260208601612fd5565b91505092915050565b600082601f8301126130f0576130ef614229565b5b8135613100848260208601613017565b91505092915050565b6000813590506131188161485c565b92915050565b60006020828403121561313457613133614238565b5b600061314284828501613059565b91505092915050565b6000806040838503121561316257613161614238565b5b600061317085828601613059565b925050602061318185828601613059565b9150509250929050565b6000806000606084860312156131a4576131a3614238565b5b60006131b286828701613059565b93505060206131c386828701613059565b92505060406131d486828701613109565b9150509250925092565b600080600080608085870312156131f8576131f7614238565b5b600061320687828801613059565b945050602061321787828801613059565b935050604061322887828801613109565b925050606085013567ffffffffffffffff81111561324957613248614233565b5b613255878288016130ad565b91505092959194509250565b6000806040838503121561327857613277614238565b5b600061328685828601613059565b92505060206132978582860161306e565b9150509250929050565b600080604083850312156132b8576132b7614238565b5b60006132c685828601613059565b92505060206132d785828601613109565b9150509250929050565b6000602082840312156132f7576132f6614238565b5b60006133058482850161306e565b91505092915050565b60006020828403121561332457613323614238565b5b600061333284828501613083565b91505092915050565b60006020828403121561335157613350614238565b5b600061335f84828501613098565b91505092915050565b60006020828403121561337e5761337d614238565b5b600082013567ffffffffffffffff81111561339c5761339b614233565b5b6133a8848285016130db565b91505092915050565b6000602082840312156133c7576133c6614238565b5b60006133d584828501613109565b91505092915050565b60006133ea83836138ff565b60208301905092915050565b6133ff81613f7c565b82525050565b600061341082613df0565b61341a8185613e1e565b935061342583613dcb565b8060005b8381101561345657815161343d88826133de565b975061344883613e11565b925050600181019050613429565b5085935050505092915050565b61346c81613f8e565b82525050565b600061347d82613dfb565b6134878185613e2f565b9350613497818560208601613fff565b6134a08161423d565b840191505092915050565b60006134b682613e06565b6134c08185613e4b565b93506134d0818560208601613fff565b6134d98161423d565b840191505092915050565b60006134ef82613e06565b6134f98185613e5c565b9350613509818560208601613fff565b80840191505092915050565b6000815461352281614032565b61352c8186613e5c565b9450600182166000811461354757600181146135585761358b565b60ff1983168652818601935061358b565b61356185613ddb565b60005b8381101561358357815481890152600182019150602081019050613564565b838801955050505b50505092915050565b60006135a1601f83613e4b565b91506135ac8261424e565b602082019050919050565b60006135c4602b83613e4b565b91506135cf82614277565b604082019050919050565b60006135e7603283613e4b565b91506135f2826142c6565b604082019050919050565b600061360a602683613e4b565b915061361582614315565b604082019050919050565b600061362d602583613e4b565b915061363882614364565b604082019050919050565b6000613650601c83613e4b565b915061365b826143b3565b602082019050919050565b6000613673602483613e4b565b915061367e826143dc565b604082019050919050565b6000613696601983613e4b565b91506136a18261442b565b602082019050919050565b60006136b9601583613e4b565b91506136c482614454565b602082019050919050565b60006136dc602983613e4b565b91506136e78261447d565b604082019050919050565b60006136ff602483613e4b565b915061370a826144cc565b604082019050919050565b6000613722603e83613e4b565b915061372d8261451b565b604082019050919050565b6000613745602083613e4b565b91506137508261456a565b602082019050919050565b6000613768601983613e4b565b915061377382614593565b602082019050919050565b600061378b602283613e4b565b9150613796826145bc565b604082019050919050565b60006137ae602083613e4b565b91506137b98261460b565b602082019050919050565b60006137d1602f83613e4b565b91506137dc82614634565b604082019050919050565b60006137f4601883613e4b565b91506137ff82614683565b602082019050919050565b6000613817602183613e4b565b9150613822826146ac565b604082019050919050565b600061383a600083613e40565b9150613845826146fb565b600082019050919050565b600061385d601083613e4b565b9150613868826146fe565b602082019050919050565b6000613880602c83613e4b565b915061388b82614727565b604082019050919050565b60006138a3601c83613e4b565b91506138ae82614776565b602082019050919050565b60006138c6602e83613e4b565b91506138d18261479f565b604082019050919050565b60006138e9601783613e4b565b91506138f4826147ee565b602082019050919050565b61390881613fe6565b82525050565b61391781613fe6565b82525050565b600061392982866134e4565b915061393582856134e4565b91506139418284613515565b9150819050949350505050565b60006139598261382d565b9150819050919050565b600060208201905061397860008301846133f6565b92915050565b600060808201905061399360008301876133f6565b6139a060208301866133f6565b6139ad604083018561390e565b81810360608301526139bf8184613472565b905095945050505050565b600060208201905081810360008301526139e48184613405565b905092915050565b6000602082019050613a016000830184613463565b92915050565b60006020820190508181036000830152613a2181846134ab565b905092915050565b60006020820190508181036000830152613a4281613594565b9050919050565b60006020820190508181036000830152613a62816135b7565b9050919050565b60006020820190508181036000830152613a82816135da565b9050919050565b60006020820190508181036000830152613aa2816135fd565b9050919050565b60006020820190508181036000830152613ac281613620565b9050919050565b60006020820190508181036000830152613ae281613643565b9050919050565b60006020820190508181036000830152613b0281613666565b9050919050565b60006020820190508181036000830152613b2281613689565b9050919050565b60006020820190508181036000830152613b42816136ac565b9050919050565b60006020820190508181036000830152613b62816136cf565b9050919050565b60006020820190508181036000830152613b82816136f2565b9050919050565b60006020820190508181036000830152613ba281613715565b9050919050565b60006020820190508181036000830152613bc281613738565b9050919050565b60006020820190508181036000830152613be28161375b565b9050919050565b60006020820190508181036000830152613c028161377e565b9050919050565b60006020820190508181036000830152613c22816137a1565b9050919050565b60006020820190508181036000830152613c42816137c4565b9050919050565b60006020820190508181036000830152613c62816137e7565b9050919050565b60006020820190508181036000830152613c828161380a565b9050919050565b60006020820190508181036000830152613ca281613850565b9050919050565b60006020820190508181036000830152613cc281613873565b9050919050565b60006020820190508181036000830152613ce281613896565b9050919050565b60006020820190508181036000830152613d02816138b9565b9050919050565b60006020820190508181036000830152613d22816138dc565b9050919050565b6000602082019050613d3e600083018461390e565b92915050565b6000613d4e613d5f565b9050613d5a8282614064565b919050565b6000604051905090565b600067ffffffffffffffff821115613d8457613d836141fa565b5b613d8d8261423d565b9050602081019050919050565b600067ffffffffffffffff821115613db557613db46141fa565b5b613dbe8261423d565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613e7282613fe6565b9150613e7d83613fe6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613eb257613eb161410f565b5b828201905092915050565b6000613ec882613fe6565b9150613ed383613fe6565b925082613ee357613ee261413e565b5b828204905092915050565b6000613ef982613fe6565b9150613f0483613fe6565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613f3d57613f3c61410f565b5b828202905092915050565b6000613f5382613fe6565b9150613f5e83613fe6565b925082821015613f7157613f7061410f565b5b828203905092915050565b6000613f8782613fc6565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561401d578082015181840152602081019050614002565b8381111561402c576000848401525b50505050565b6000600282049050600182168061404a57607f821691505b6020821081141561405e5761405d61416d565b5b50919050565b61406d8261423d565b810181811067ffffffffffffffff8211171561408c5761408b6141fa565b5b80604052505050565b60006140a082613fe6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156140d3576140d261410f565b5b600182019050919050565b60006140e982613fe6565b91506140f483613fe6565b9250826141045761410361413e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e6f7420656e6f756768204e465473206c65667420746f207265736572766500600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f436f6e7472616374206973207061757365642e2e2e0000000000000000000000600082015250565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b7f4e6f7420656e6f75676820657468657220746f2070757263686173652054415560008201527f524f532e00000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4e6f206574686572206c65667420746f20776974686472617700000000000000600082015250565b7f534f5252592c20544155524f5344414f2053414c4520495320434c4f5345442e60008201527f2e2c000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f43616e6e6f7420657863656564207468697320616d6f756e742c2e2e00000000600082015250565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b7f506c65617365206d696e74203120544155524f532e2c2e000000000000000000600082015250565b61482081613f7c565b811461482b57600080fd5b50565b61483781613f8e565b811461484257600080fd5b50565b61484e81613f9a565b811461485957600080fd5b50565b61486581613fe6565b811461487057600080fd5b5056fea2646970667358221220deeabc6514c9a5c451ac55a9a6f99729fd58ec2a0b98b36edb6ca3bd9d45571764736f6c63430008070033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000009546175726f7344414f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006544155524f5300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5a527a5468643464554851363873454e34576d58755854513947417663714739467268784d4d394a735954552f000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5a527a5468643464554851363873454e34576d58755854513947417663714739467268784d4d394a735954552f00000000000000000000
Deployed Bytecode
0x60806040526004361061025c5760003560e01c80636352211e11610144578063a475b5dd116100b6578063da3ef23f1161007a578063da3ef23f146108ba578063e985e9c5146108e3578063eea52d3814610920578063ef2d174614610949578063f2c4ce1e14610974578063f2fde38b1461099d5761025c565b8063a475b5dd146107e7578063b88d4fde146107fe578063c668286214610827578063c87b56dd14610852578063d5abeb011461088f5761025c565b80637f00c7a6116101085780637f00c7a6146106fd5780638d859f3e146107265780638da5cb5b1461075157806395d89b411461077c578063a1871157146107a7578063a22cb465146107be5761025c565b80636352211e146106045780636c0360eb1461064157806370a082311461066c578063715018a6146106a95780637dcb0e5f146106c05761025c565b806323b872dd116101dd57806342966c68116101a157806342966c68146104e2578063438b63001461050b5780634f6ccce714610548578063518302271461058557806355f804b3146105b05780635c975abb146105d95761025c565b806323b872dd1461042d57806327d0e160146104565780632f745c59146104725780633ccfd60b146104af57806342842e0e146104b95761025c565b8063095ea7b311610224578063095ea7b31461035a578063144100c71461038357806318160ddd1461039a57806318cae269146103c5578063239c70ae146104025761025c565b806301ffc9a71461026157806302329a291461029e57806306fdde03146102c7578063081812fc146102f2578063081c8c441461032f575b600080fd5b34801561026d57600080fd5b506102886004803603810190610283919061330e565b6109c6565b60405161029591906139ec565b60405180910390f35b3480156102aa57600080fd5b506102c560048036038101906102c091906132e1565b6109d8565b005b3480156102d357600080fd5b506102dc6109fd565b6040516102e99190613a07565b60405180910390f35b3480156102fe57600080fd5b50610319600480360381019061031491906133b1565b610a8f565b6040516103269190613963565b60405180910390f35b34801561033b57600080fd5b50610344610ad5565b6040516103519190613a07565b60405180910390f35b34801561036657600080fd5b50610381600480360381019061037c91906132a1565b610b63565b005b34801561038f57600080fd5b50610398610c7b565b005b3480156103a657600080fd5b506103af610d00565b6040516103bc9190613d29565b60405180910390f35b3480156103d157600080fd5b506103ec60048036038101906103e7919061311e565b610d0d565b6040516103f99190613d29565b60405180910390f35b34801561040e57600080fd5b50610417610d25565b6040516104249190613d29565b60405180910390f35b34801561043957600080fd5b50610454600480360381019061044f919061318b565b610d2b565b005b610470600480360381019061046b91906133b1565b610d8b565b005b34801561047e57600080fd5b50610499600480360381019061049491906132a1565b610f79565b6040516104a69190613d29565b60405180910390f35b6104b761101e565b005b3480156104c557600080fd5b506104e060048036038101906104db919061318b565b61111e565b005b3480156104ee57600080fd5b50610509600480360381019061050491906133b1565b61113e565b005b34801561051757600080fd5b50610532600480360381019061052d919061311e565b61119a565b60405161053f91906139ca565b60405180910390f35b34801561055457600080fd5b5061056f600480360381019061056a91906133b1565b611248565b60405161057c9190613d29565b60405180910390f35b34801561059157600080fd5b5061059a6112b9565b6040516105a791906139ec565b60405180910390f35b3480156105bc57600080fd5b506105d760048036038101906105d29190613368565b6112cc565b005b3480156105e557600080fd5b506105ee6112ee565b6040516105fb91906139ec565b60405180910390f35b34801561061057600080fd5b5061062b600480360381019061062691906133b1565b611301565b6040516106389190613963565b60405180910390f35b34801561064d57600080fd5b506106566113b3565b6040516106639190613a07565b60405180910390f35b34801561067857600080fd5b50610693600480360381019061068e919061311e565b611441565b6040516106a09190613d29565b60405180910390f35b3480156106b557600080fd5b506106be6114f9565b005b3480156106cc57600080fd5b506106e760048036038101906106e291906133b1565b61150d565b6040516106f49190613d29565b60405180910390f35b34801561070957600080fd5b50610724600480360381019061071f91906133b1565b611531565b005b34801561073257600080fd5b5061073b611543565b6040516107489190613d29565b60405180910390f35b34801561075d57600080fd5b50610766611549565b6040516107739190613963565b60405180910390f35b34801561078857600080fd5b50610791611573565b60405161079e9190613a07565b60405180910390f35b3480156107b357600080fd5b506107bc611605565b005b3480156107ca57600080fd5b506107e560048036038101906107e09190613261565b611632565b005b3480156107f357600080fd5b506107fc611648565b005b34801561080a57600080fd5b50610825600480360381019061082091906131de565b61166d565b005b34801561083357600080fd5b5061083c6116cf565b6040516108499190613a07565b60405180910390f35b34801561085e57600080fd5b50610879600480360381019061087491906133b1565b61175d565b6040516108869190613a07565b60405180910390f35b34801561089b57600080fd5b506108a46118b6565b6040516108b19190613d29565b60405180910390f35b3480156108c657600080fd5b506108e160048036038101906108dc9190613368565b6118bc565b005b3480156108ef57600080fd5b5061090a6004803603810190610905919061314b565b6118de565b60405161091791906139ec565b60405180910390f35b34801561092c57600080fd5b50610947600480360381019061094291906133b1565b611972565b005b34801561095557600080fd5b5061095e611984565b60405161096b9190613d29565b60405180910390f35b34801561098057600080fd5b5061099b60048036038101906109969190613368565b611995565b005b3480156109a957600080fd5b506109c460048036038101906109bf919061311e565b6119b7565b005b60006109d182611a3b565b9050919050565b6109e0611ab5565b80601260006101000a81548160ff02191690831515021790555050565b606060008054610a0c90614032565b80601f0160208091040260200160405190810160405280929190818152602001828054610a3890614032565b8015610a855780601f10610a5a57610100808354040283529160200191610a85565b820191906000526020600020905b815481529060010190602001808311610a6857829003601f168201915b5050505050905090565b6000610a9a82611b33565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600e8054610ae290614032565b80601f0160208091040260200160405190810160405280929190818152602001828054610b0e90614032565b8015610b5b5780601f10610b3057610100808354040283529160200191610b5b565b820191906000526020600020905b815481529060010190602001808311610b3e57829003601f168201915b505050505081565b6000610b6e82611301565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd690613c69565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610bfe611b7e565b73ffffffffffffffffffffffffffffffffffffffff161480610c2d5750610c2c81610c27611b7e565b6118de565b5b610c6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6390613b89565b60405180910390fd5b610c768383611b86565b505050565b610c83611ab5565b6000610c8f600b611c3f565b90506010548110610cd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ccc90613a29565b60405180910390fd5b60005b60fa811015610cfc57610ce9611c4d565b8080610cf490614095565b915050610cd8565b5050565b6000600880549050905090565b60146020528060005260406000206000915090505481565b60115481565b610d3c610d36611b7e565b82611c72565b610d7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7290613ce9565b60405180910390fd5b610d86838383611d07565b505050565b601260009054906101000a900460ff1615610ddb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd290613b29565b60405180910390fd5b6000610de5610d00565b905060008211610e2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2190613d09565b60405180910390fd5b601154821115610e6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6690613cc9565b60405180910390fd5b6010548282610e7e9190613e67565b1115610ebf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb690613be9565b60405180910390fd5b610ed482600f54611f6e90919063ffffffff16565b341015610f16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0d90613b69565b60405180910390fd5b60005b82811015610f74576000610f2d600b611c3f565b90506103e78110158015610f4357506107d08111155b15610f585767011c37937e080000600f819055505b610f60611c4d565b508080610f6c90614095565b915050610f19565b505050565b6000610f8483611441565b8210610fc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbc90613a49565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b611026611ab5565b60004790506000811161106e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106590613bc9565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff16826040516110949061394e565b60006040518083038185875af1925050503d80600081146110d1576040519150601f19603f3d011682016040523d82523d6000602084013e6110d6565b606091505b505090508061111a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111190613c89565b60405180910390fd5b5050565b6111398383836040518060200160405280600081525061166d565b505050565b61114f611149611b7e565b82611c72565b61118e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118590613ce9565b60405180910390fd5b61119781611f84565b50565b606060006111a783611441565b905060008167ffffffffffffffff8111156111c5576111c46141fa565b5b6040519080825280602002602001820160405280156111f35781602001602082028036833780820191505090505b50905060005b8281101561123d5761120b8582610f79565b82828151811061121e5761121d6141cb565b5b602002602001018181525050808061123590614095565b9150506111f9565b508092505050919050565b6000611252610d00565b8210611293576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128a90613ca9565b60405180910390fd5b600882815481106112a7576112a66141cb565b5b90600052602060002001549050919050565b601260019054906101000a900460ff1681565b6112d4611ab5565b80600c90805190602001906112ea929190612f32565b5050565b601260009054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156113aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a190613c49565b60405180910390fd5b80915050919050565b600c80546113c090614032565b80601f01602080910402602001604051908101604052809291908181526020018280546113ec90614032565b80156114395780601f1061140e57610100808354040283529160200191611439565b820191906000526020600020905b81548152906001019060200180831161141c57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a990613b49565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611501611ab5565b61150b60006120a1565b565b6013818154811061151d57600080fd5b906000526020600020016000915090505481565b611539611ab5565b8060118190555050565b600f5481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461158290614032565b80601f01602080910402602001604051908101604052809291908181526020018280546115ae90614032565b80156115fb5780601f106115d0576101008083540402835291602001916115fb565b820191906000526020600020905b8154815290600101906020018083116115de57829003601f168201915b5050505050905090565b61160d611ab5565b6000611619600b611c3f565b90506116253382612167565b61162f600b612185565b50565b61164461163d611b7e565b838361219b565b5050565b611650611ab5565b6001601260016101000a81548160ff021916908315150217905550565b61167e611678611b7e565b83611c72565b6116bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b490613ce9565b60405180910390fd5b6116c984848484612308565b50505050565b600d80546116dc90614032565b80601f016020809104026020016040519081016040528092919081815260200182805461170890614032565b80156117555780601f1061172a57610100808354040283529160200191611755565b820191906000526020600020905b81548152906001019060200180831161173857829003601f168201915b505050505081565b606061176882612364565b6117a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179e90613c29565b60405180910390fd5b60001515601260019054906101000a900460ff161515141561185557600e80546117d090614032565b80601f01602080910402602001604051908101604052809291908181526020018280546117fc90614032565b80156118495780601f1061181e57610100808354040283529160200191611849565b820191906000526020600020905b81548152906001019060200180831161182c57829003601f168201915b505050505090506118b1565b600061185f6123d0565b9050600081511161187f57604051806020016040528060008152506118ad565b8061188984612462565b600d60405160200161189d9392919061391d565b6040516020818303038152906040525b9150505b919050565b60105481565b6118c4611ab5565b80600d90805190602001906118da929190612f32565b5050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61197a611ab5565b80600f8190555050565b6000611990600b611c3f565b905090565b61199d611ab5565b80600e90805190602001906119b3929190612f32565b5050565b6119bf611ab5565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611a2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2690613a89565b60405180910390fd5b611a38816120a1565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611aae5750611aad826125c3565b5b9050919050565b611abd611b7e565b73ffffffffffffffffffffffffffffffffffffffff16611adb611549565b73ffffffffffffffffffffffffffffffffffffffff1614611b31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2890613c09565b60405180910390fd5b565b611b3c81612364565b611b7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7290613c49565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611bf983611301565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b6000611c59600b611c3f565b9050611c653382612167565b611c6f600b612185565b50565b600080611c7e83611301565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611cc05750611cbf81856118de565b5b80611cfe57508373ffffffffffffffffffffffffffffffffffffffff16611ce684610a8f565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611d2782611301565b73ffffffffffffffffffffffffffffffffffffffff1614611d7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7490613aa9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ded576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de490613ae9565b60405180910390fd5b611df88383836126a5565b611e03600082611b86565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e539190613f48565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611eaa9190613e67565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611f698383836126b5565b505050565b60008183611f7c9190613eee565b905092915050565b6000611f8f82611301565b9050611f9d816000846126a5565b611fa8600083611b86565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ff89190613f48565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461209d816000846126b5565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6121818282604051806020016040528060008152506126ba565b5050565b6001816000016000828254019250508190555050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561220a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220190613b09565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122fb91906139ec565b60405180910390a3505050565b612313848484611d07565b61231f84848484612715565b61235e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235590613a69565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6060600c80546123df90614032565b80601f016020809104026020016040519081016040528092919081815260200182805461240b90614032565b80156124585780601f1061242d57610100808354040283529160200191612458565b820191906000526020600020905b81548152906001019060200180831161243b57829003601f168201915b5050505050905090565b606060008214156124aa576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506125be565b600082905060005b600082146124dc5780806124c590614095565b915050600a826124d59190613ebd565b91506124b2565b60008167ffffffffffffffff8111156124f8576124f76141fa565b5b6040519080825280601f01601f19166020018201604052801561252a5781602001600182028036833780820191505090505b5090505b600085146125b7576001826125439190613f48565b9150600a8561255291906140de565b603061255e9190613e67565b60f81b818381518110612574576125736141cb565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856125b09190613ebd565b945061252e565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061268e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061269e575061269d826128ac565b5b9050919050565b6126b0838383612916565b505050565b505050565b6126c48383612a2a565b6126d16000848484612715565b612710576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270790613a69565b60405180910390fd5b505050565b60006127368473ffffffffffffffffffffffffffffffffffffffff16612c04565b1561289f578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261275f611b7e565b8786866040518563ffffffff1660e01b8152600401612781949392919061397e565b602060405180830381600087803b15801561279b57600080fd5b505af19250505080156127cc57506040513d601f19601f820116820180604052508101906127c9919061333b565b60015b61284f573d80600081146127fc576040519150601f19603f3d011682016040523d82523d6000602084013e612801565b606091505b50600081511415612847576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161283e90613a69565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506128a4565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612921838383612c27565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156129645761295f81612c2c565b6129a3565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146129a2576129a18382612c75565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156129e6576129e181612de2565b612a25565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612a2457612a238282612eb3565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9190613ba9565b60405180910390fd5b612aa381612364565b15612ae3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ada90613ac9565b60405180910390fd5b612aef600083836126a5565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b3f9190613e67565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612c00600083836126b5565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612c8284611441565b612c8c9190613f48565b9050600060076000848152602001908152602001600020549050818114612d71576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612df69190613f48565b9050600060096000848152602001908152602001600020549050600060088381548110612e2657612e256141cb565b5b906000526020600020015490508060088381548110612e4857612e476141cb565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612e9757612e9661419c565b5b6001900381819060005260206000200160009055905550505050565b6000612ebe83611441565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054612f3e90614032565b90600052602060002090601f016020900481019282612f605760008555612fa7565b82601f10612f7957805160ff1916838001178555612fa7565b82800160010185558215612fa7579182015b82811115612fa6578251825591602001919060010190612f8b565b5b509050612fb49190612fb8565b5090565b5b80821115612fd1576000816000905550600101612fb9565b5090565b6000612fe8612fe384613d69565b613d44565b9050828152602081018484840111156130045761300361422e565b5b61300f848285613ff0565b509392505050565b600061302a61302584613d9a565b613d44565b9050828152602081018484840111156130465761304561422e565b5b613051848285613ff0565b509392505050565b60008135905061306881614817565b92915050565b60008135905061307d8161482e565b92915050565b60008135905061309281614845565b92915050565b6000815190506130a781614845565b92915050565b600082601f8301126130c2576130c1614229565b5b81356130d2848260208601612fd5565b91505092915050565b600082601f8301126130f0576130ef614229565b5b8135613100848260208601613017565b91505092915050565b6000813590506131188161485c565b92915050565b60006020828403121561313457613133614238565b5b600061314284828501613059565b91505092915050565b6000806040838503121561316257613161614238565b5b600061317085828601613059565b925050602061318185828601613059565b9150509250929050565b6000806000606084860312156131a4576131a3614238565b5b60006131b286828701613059565b93505060206131c386828701613059565b92505060406131d486828701613109565b9150509250925092565b600080600080608085870312156131f8576131f7614238565b5b600061320687828801613059565b945050602061321787828801613059565b935050604061322887828801613109565b925050606085013567ffffffffffffffff81111561324957613248614233565b5b613255878288016130ad565b91505092959194509250565b6000806040838503121561327857613277614238565b5b600061328685828601613059565b92505060206132978582860161306e565b9150509250929050565b600080604083850312156132b8576132b7614238565b5b60006132c685828601613059565b92505060206132d785828601613109565b9150509250929050565b6000602082840312156132f7576132f6614238565b5b60006133058482850161306e565b91505092915050565b60006020828403121561332457613323614238565b5b600061333284828501613083565b91505092915050565b60006020828403121561335157613350614238565b5b600061335f84828501613098565b91505092915050565b60006020828403121561337e5761337d614238565b5b600082013567ffffffffffffffff81111561339c5761339b614233565b5b6133a8848285016130db565b91505092915050565b6000602082840312156133c7576133c6614238565b5b60006133d584828501613109565b91505092915050565b60006133ea83836138ff565b60208301905092915050565b6133ff81613f7c565b82525050565b600061341082613df0565b61341a8185613e1e565b935061342583613dcb565b8060005b8381101561345657815161343d88826133de565b975061344883613e11565b925050600181019050613429565b5085935050505092915050565b61346c81613f8e565b82525050565b600061347d82613dfb565b6134878185613e2f565b9350613497818560208601613fff565b6134a08161423d565b840191505092915050565b60006134b682613e06565b6134c08185613e4b565b93506134d0818560208601613fff565b6134d98161423d565b840191505092915050565b60006134ef82613e06565b6134f98185613e5c565b9350613509818560208601613fff565b80840191505092915050565b6000815461352281614032565b61352c8186613e5c565b9450600182166000811461354757600181146135585761358b565b60ff1983168652818601935061358b565b61356185613ddb565b60005b8381101561358357815481890152600182019150602081019050613564565b838801955050505b50505092915050565b60006135a1601f83613e4b565b91506135ac8261424e565b602082019050919050565b60006135c4602b83613e4b565b91506135cf82614277565b604082019050919050565b60006135e7603283613e4b565b91506135f2826142c6565b604082019050919050565b600061360a602683613e4b565b915061361582614315565b604082019050919050565b600061362d602583613e4b565b915061363882614364565b604082019050919050565b6000613650601c83613e4b565b915061365b826143b3565b602082019050919050565b6000613673602483613e4b565b915061367e826143dc565b604082019050919050565b6000613696601983613e4b565b91506136a18261442b565b602082019050919050565b60006136b9601583613e4b565b91506136c482614454565b602082019050919050565b60006136dc602983613e4b565b91506136e78261447d565b604082019050919050565b60006136ff602483613e4b565b915061370a826144cc565b604082019050919050565b6000613722603e83613e4b565b915061372d8261451b565b604082019050919050565b6000613745602083613e4b565b91506137508261456a565b602082019050919050565b6000613768601983613e4b565b915061377382614593565b602082019050919050565b600061378b602283613e4b565b9150613796826145bc565b604082019050919050565b60006137ae602083613e4b565b91506137b98261460b565b602082019050919050565b60006137d1602f83613e4b565b91506137dc82614634565b604082019050919050565b60006137f4601883613e4b565b91506137ff82614683565b602082019050919050565b6000613817602183613e4b565b9150613822826146ac565b604082019050919050565b600061383a600083613e40565b9150613845826146fb565b600082019050919050565b600061385d601083613e4b565b9150613868826146fe565b602082019050919050565b6000613880602c83613e4b565b915061388b82614727565b604082019050919050565b60006138a3601c83613e4b565b91506138ae82614776565b602082019050919050565b60006138c6602e83613e4b565b91506138d18261479f565b604082019050919050565b60006138e9601783613e4b565b91506138f4826147ee565b602082019050919050565b61390881613fe6565b82525050565b61391781613fe6565b82525050565b600061392982866134e4565b915061393582856134e4565b91506139418284613515565b9150819050949350505050565b60006139598261382d565b9150819050919050565b600060208201905061397860008301846133f6565b92915050565b600060808201905061399360008301876133f6565b6139a060208301866133f6565b6139ad604083018561390e565b81810360608301526139bf8184613472565b905095945050505050565b600060208201905081810360008301526139e48184613405565b905092915050565b6000602082019050613a016000830184613463565b92915050565b60006020820190508181036000830152613a2181846134ab565b905092915050565b60006020820190508181036000830152613a4281613594565b9050919050565b60006020820190508181036000830152613a62816135b7565b9050919050565b60006020820190508181036000830152613a82816135da565b9050919050565b60006020820190508181036000830152613aa2816135fd565b9050919050565b60006020820190508181036000830152613ac281613620565b9050919050565b60006020820190508181036000830152613ae281613643565b9050919050565b60006020820190508181036000830152613b0281613666565b9050919050565b60006020820190508181036000830152613b2281613689565b9050919050565b60006020820190508181036000830152613b42816136ac565b9050919050565b60006020820190508181036000830152613b62816136cf565b9050919050565b60006020820190508181036000830152613b82816136f2565b9050919050565b60006020820190508181036000830152613ba281613715565b9050919050565b60006020820190508181036000830152613bc281613738565b9050919050565b60006020820190508181036000830152613be28161375b565b9050919050565b60006020820190508181036000830152613c028161377e565b9050919050565b60006020820190508181036000830152613c22816137a1565b9050919050565b60006020820190508181036000830152613c42816137c4565b9050919050565b60006020820190508181036000830152613c62816137e7565b9050919050565b60006020820190508181036000830152613c828161380a565b9050919050565b60006020820190508181036000830152613ca281613850565b9050919050565b60006020820190508181036000830152613cc281613873565b9050919050565b60006020820190508181036000830152613ce281613896565b9050919050565b60006020820190508181036000830152613d02816138b9565b9050919050565b60006020820190508181036000830152613d22816138dc565b9050919050565b6000602082019050613d3e600083018461390e565b92915050565b6000613d4e613d5f565b9050613d5a8282614064565b919050565b6000604051905090565b600067ffffffffffffffff821115613d8457613d836141fa565b5b613d8d8261423d565b9050602081019050919050565b600067ffffffffffffffff821115613db557613db46141fa565b5b613dbe8261423d565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613e7282613fe6565b9150613e7d83613fe6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613eb257613eb161410f565b5b828201905092915050565b6000613ec882613fe6565b9150613ed383613fe6565b925082613ee357613ee261413e565b5b828204905092915050565b6000613ef982613fe6565b9150613f0483613fe6565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613f3d57613f3c61410f565b5b828202905092915050565b6000613f5382613fe6565b9150613f5e83613fe6565b925082821015613f7157613f7061410f565b5b828203905092915050565b6000613f8782613fc6565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561401d578082015181840152602081019050614002565b8381111561402c576000848401525b50505050565b6000600282049050600182168061404a57607f821691505b6020821081141561405e5761405d61416d565b5b50919050565b61406d8261423d565b810181811067ffffffffffffffff8211171561408c5761408b6141fa565b5b80604052505050565b60006140a082613fe6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156140d3576140d261410f565b5b600182019050919050565b60006140e982613fe6565b91506140f483613fe6565b9250826141045761410361413e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e6f7420656e6f756768204e465473206c65667420746f207265736572766500600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f436f6e7472616374206973207061757365642e2e2e0000000000000000000000600082015250565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b7f4e6f7420656e6f75676820657468657220746f2070757263686173652054415560008201527f524f532e00000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4e6f206574686572206c65667420746f20776974686472617700000000000000600082015250565b7f534f5252592c20544155524f5344414f2053414c4520495320434c4f5345442e60008201527f2e2c000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f43616e6e6f7420657863656564207468697320616d6f756e742c2e2e00000000600082015250565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b7f506c65617365206d696e74203120544155524f532e2c2e000000000000000000600082015250565b61482081613f7c565b811461482b57600080fd5b50565b61483781613f8e565b811461484257600080fd5b50565b61484e81613f9a565b811461485957600080fd5b50565b61486581613fe6565b811461487057600080fd5b5056fea2646970667358221220deeabc6514c9a5c451ac55a9a6f99729fd58ec2a0b98b36edb6ca3bd9d45571764736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000009546175726f7344414f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006544155524f5300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5a527a5468643464554851363873454e34576d58755854513947417663714739467268784d4d394a735954552f000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5a527a5468643464554851363873454e34576d58755854513947417663714739467268784d4d394a735954552f00000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): TaurosDAO
Arg [1] : _symbol (string): TAUROS
Arg [2] : _initBaseURI (string): ipfs://QmZRzThd4dUHQ68sEN4WmXuXTQ9GAvcqG9FrhxMM9JsYTU/
Arg [3] : _initNotRevealedUri (string): ipfs://QmZRzThd4dUHQ68sEN4WmXuXTQ9GAvcqG9FrhxMM9JsYTU/
-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [5] : 546175726f7344414f0000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [7] : 544155524f530000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [9] : 697066733a2f2f516d5a527a5468643464554851363873454e34576d58755854
Arg [10] : 513947417663714739467268784d4d394a735954552f00000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [12] : 697066733a2f2f516d5a527a5468643464554851363873454e34576d58755854
Arg [13] : 513947417663714739467268784d4d394a735954552f00000000000000000000
Loading...
Loading
Loading...
Loading
Net Worth in USD
$722.84
Net Worth in ETH
0.349867
Token Allocations
ETH
100.00%
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| ETH | 100.00% | $2,065.25 | 0.35 | $722.84 |
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.