Overview
TokenID
117
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
XeroFuture
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: MIT /* ██╗░░██╗███████╗██████╗░░█████╗░ ███████╗██╗░░░██╗████████╗██╗░░░██╗██████╗░███████╗ ╚██╗██╔╝██╔════╝██╔══██╗██╔══██╗ ██╔════╝██║░░░██║╚══██╔══╝██║░░░██║██╔══██╗██╔════╝ ░╚███╔╝░█████╗░░██████╔╝██║░░██║ █████╗░░██║░░░██║░░░██║░░░██║░░░██║██████╔╝█████╗░░ ░██╔██╗░██╔══╝░░██╔══██╗██║░░██║ ██╔══╝░░██║░░░██║░░░██║░░░██║░░░██║██╔══██╗██╔══╝░░ ██╔╝╚██╗███████╗██║░░██║╚█████╔╝ ██║░░░░░╚██████╔╝░░░██║░░░╚██████╔╝██║░░██║███████╗ ╚═╝░░╚═╝╚══════╝╚═╝░░╚═╝░╚════╝░ ╚═╝░░░░░░╚═════╝░░░░╚═╝░░░░╚═════╝░╚═╝░░╚═╝╚══════╝ */ pragma solidity ^0.8.4; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Pausable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; contract XeroFuture is Ownable, ERC721Enumerable, ERC721Pausable { using Counters for Counters.Counter; event CardsClaimed(uint _totalClaimed, address indexed _owner, uint _numOfTokens, uint[] _tokenIds); Counters.Counter private _tokenIdTracker; string public metadataBaseURL; bool public claimEnabled; bool public wlclaimEnabled; uint public price; uint public maxCardsInTx; uint public maxCards; bytes32 public root; constructor ( string memory _metadataBaseURL, bytes32 _merkleroot ) ERC721("Xero Future", "XF") { metadataBaseURL = _metadataBaseURL; root = _merkleroot; claimEnabled = false; wlclaimEnabled = false; price = 0.03 ether; maxCards = 6969; maxCardsInTx = 22; } function setBaseURI(string memory baseURL) public onlyOwner { metadataBaseURL = baseURL; } function flipClaimEnabled() public onlyOwner { claimEnabled = !(claimEnabled); } function flipWLClaimEnabled() public onlyOwner { wlclaimEnabled = !(wlclaimEnabled); } function setPrice(uint256 _price) public onlyOwner { price = _price; } function setMaxCards(uint _numOfCards) public onlyOwner { maxCards = _numOfCards; } function setMaxCardsInTx(uint _numOfCards) public onlyOwner { maxCardsInTx = _numOfCards; } function setRoot(bytes32 _merkleroot) public onlyOwner { root = _merkleroot; } function withdraw() public onlyOwner { uint _balance = address(this).balance; address payable _sender = payable(_msgSender()); _sender.transfer(_balance); } function mintCardToAddress(address to) public onlyOwner { require(_tokenIdTracker.current() < maxCards, "Xero: All cards have already been claimed"); _safeMint(to, _tokenIdTracker.current() + 1); _tokenIdTracker.increment(); } function reserveCards(uint num) public onlyOwner { uint i; for (i=0; i<num; i++) mintCardToAddress(msg.sender); } function pause() public virtual onlyOwner { _pause(); } function unpause() public virtual onlyOwner { _unpause(); } function _mint(uint numOfTokens) internal { uint256[] memory ids = new uint256[](numOfTokens); for(uint i=0; i<numOfTokens; i++) { uint256 _tokenid = _tokenIdTracker.current() + 1; ids[i] = _tokenid; _safeMint(msg.sender, _tokenid); _tokenIdTracker.increment(); } emit CardsClaimed(_tokenIdTracker.current(), msg.sender, numOfTokens, ids); } function mintCard(uint numOfTokens) payable public { require(claimEnabled, "Xero: Cannot claim card at the moment"); require(_tokenIdTracker.current() + numOfTokens <= maxCards, "Xero: Claim will exceed maximum available cards"); require(numOfTokens > 0, "Xero: Must claim atleast one card"); require(numOfTokens <= maxCardsInTx, "Xero: Cannot claim these many cards in one tx"); require(msg.value >= (price * numOfTokens), "Xero: Insufficient funds to claim cards"); _mint(numOfTokens); } function whitelistMintCard(uint numOfTokens, bytes32[] memory proof) payable public { require(wlclaimEnabled, "Xero: Cannot whitelist claim card at the moment"); require(_verify(msg.sender, proof), "Xero: Wallet is not whitelisted"); require(_tokenIdTracker.current() + numOfTokens <= maxCards, "Xero: Claim will exceed maximum available cards"); require(numOfTokens > 0, "Xero: Must claim atleast one card"); require(numOfTokens <= maxCardsInTx, "Xero: Cannot claim more than 10 cards in one tx"); require(msg.value >= (price * numOfTokens), "Xero: Insufficient funds to claim cards"); _mint(numOfTokens); } function _verify(address _account, bytes32[] memory proof) internal view returns (bool) { bytes32 leaf = keccak256(abi.encodePacked(_account)); return MerkleProof.verify(proof, root, leaf); } function _baseURI() internal view virtual override returns (string memory) { return metadataBaseURL; } function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override(ERC721Enumerable, ERC721Pausable) { super._beforeTokenTransfer(from, to, tokenId); } function supportsInterface( bytes4 interfaceId ) public view virtual override(ERC721Enumerable, ERC721) returns (bool) { return super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens 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 amount ) 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, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _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: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {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 Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // 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 v4.4.1 (token/ERC721/extensions/ERC721Pausable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "../../../security/Pausable.sol"; /** * @dev ERC721 token with pausable token transfers, minting and burning. * * Useful for scenarios such as preventing trades until the end of an evaluation * period, or having an emergency switch for freezing all token transfers in the * event of a large bug. */ abstract contract ERC721Pausable is ERC721, Pausable { /** * @dev See {ERC721-_beforeTokenTransfer}. * * Requirements: * * - the contract must not be paused. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); require(!paused(), "ERC721Pausable: token transfer while paused"); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } return computedHash; } }
// 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 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 v4.4.1 (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_metadataBaseURL","type":"string"},{"internalType":"bytes32","name":"_merkleroot","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_totalClaimed","type":"uint256"},{"indexed":true,"internalType":"address","name":"_owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"_numOfTokens","type":"uint256"},{"indexed":false,"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"CardsClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipClaimEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipWLClaimEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxCards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxCardsInTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metadataBaseURL","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numOfTokens","type":"uint256"}],"name":"mintCard","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"mintCardToAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"num","type":"uint256"}],"name":"reserveCards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"root","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":"baseURL","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numOfCards","type":"uint256"}],"name":"setMaxCards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numOfCards","type":"uint256"}],"name":"setMaxCardsInTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleroot","type":"bytes32"}],"name":"setRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numOfTokens","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"whitelistMintCard","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wlclaimEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604051620059c9380380620059c9833981810160405281019062000037919062000394565b6040518060400160405280600b81526020017f5865726f204675747572650000000000000000000000000000000000000000008152506040518060400160405280600281526020017f5846000000000000000000000000000000000000000000000000000000000000815250620000c3620000b76200018f60201b60201c565b6200019760201b60201c565b8160019080519060200190620000db9291906200025b565b508060029080519060200190620000f49291906200025b565b5050506000600b60006101000a81548160ff02191690831515021790555081600d90805190602001906200012a9291906200025b565b50806012819055506000600e60006101000a81548160ff0219169083151502179055506000600e60016101000a81548160ff021916908315150217905550666a94d74f430000600f81905550611b396011819055506016601081905550505062000582565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b82805462000269906200048d565b90600052602060002090601f0160209004810192826200028d5760008555620002d9565b82601f10620002a857805160ff1916838001178555620002d9565b82800160010185558215620002d9579182015b82811115620002d8578251825591602001919060010190620002bb565b5b509050620002e89190620002ec565b5090565b5b8082111562000307576000816000905550600101620002ed565b5090565b6000620003226200031c8462000417565b620003ee565b9050828152602081018484840111156200033b57600080fd5b6200034884828562000457565b509392505050565b600081519050620003618162000568565b92915050565b600082601f8301126200037957600080fd5b81516200038b8482602086016200030b565b91505092915050565b60008060408385031215620003a857600080fd5b600083015167ffffffffffffffff811115620003c357600080fd5b620003d18582860162000367565b9250506020620003e48582860162000350565b9150509250929050565b6000620003fa6200040d565b9050620004088282620004c3565b919050565b6000604051905090565b600067ffffffffffffffff82111562000435576200043462000528565b5b620004408262000557565b9050602081019050919050565b6000819050919050565b60005b83811015620004775780820151818401526020810190506200045a565b8381111562000487576000848401525b50505050565b60006002820490506001821680620004a657607f821691505b60208210811415620004bd57620004bc620004f9565b5b50919050565b620004ce8262000557565b810181811067ffffffffffffffff82111715620004f057620004ef62000528565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b62000573816200044d565b81146200057f57600080fd5b50565b61543780620005926000396000f3fe6080604052600436106102465760003560e01c80636f732e6511610139578063a035b1fe116100b6578063dab5f3401161007a578063dab5f340146107fe578063e985e9c514610827578063ebf0c71714610864578063f2fde38b1461088f578063ff16ea3f146108b8578063ff9b0c22146108e357610246565b8063a035b1fe1461072d578063a22cb46514610758578063a7242e8c14610781578063b88d4fde14610798578063c87b56dd146107c157610246565b8063916dc8e5116100fd578063916dc8e51461067057806391b7f5ed1461069957806395574e17146106c257806395d89b41146106eb57806399470df01461071657610246565b80636f732e65146105be57806370a08231146105da578063715018a6146106175780638456cb591461062e5780638da5cb5b1461064557610246565b80633ccfd60b116101c757806355f804b31161018b57806355f804b3146104e857806359a58647146105115780635c975abb1461053a57806360b47a50146105655780636352211e1461058157610246565b80633ccfd60b1461042b5780633f4ba83a1461044257806342842e0e146104595780634a5ce07a146104825780634f6ccce7146104ab57610246565b806310da2eb91161020e57806310da2eb91461034457806318160ddd1461036f57806323b872dd1461039a5780632866ed21146103c35780632f745c59146103ee57610246565b806301ffc9a71461024b57806306fdde0314610288578063081812fc146102b357806308b237b5146102f0578063095ea7b31461031b575b600080fd5b34801561025757600080fd5b50610272600480360381019061026d9190613a6e565b61090e565b60405161027f91906141fc565b60405180910390f35b34801561029457600080fd5b5061029d610920565b6040516102aa9190614232565b60405180910390f35b3480156102bf57600080fd5b506102da60048036038101906102d59190613b01565b6109b2565b6040516102e79190614195565b60405180910390f35b3480156102fc57600080fd5b50610305610a37565b6040516103129190614614565b60405180910390f35b34801561032757600080fd5b50610342600480360381019061033d9190613a09565b610a3d565b005b34801561035057600080fd5b50610359610b55565b6040516103669190614232565b60405180910390f35b34801561037b57600080fd5b50610384610be3565b6040516103919190614614565b60405180910390f35b3480156103a657600080fd5b506103c160048036038101906103bc9190613903565b610bf0565b005b3480156103cf57600080fd5b506103d8610c50565b6040516103e591906141fc565b60405180910390f35b3480156103fa57600080fd5b5061041560048036038101906104109190613a09565b610c63565b6040516104229190614614565b60405180910390f35b34801561043757600080fd5b50610440610d08565b005b34801561044e57600080fd5b50610457610de0565b005b34801561046557600080fd5b50610480600480360381019061047b9190613903565b610e66565b005b34801561048e57600080fd5b506104a960048036038101906104a49190613b01565b610e86565b005b3480156104b757600080fd5b506104d260048036038101906104cd9190613b01565b610f2d565b6040516104df9190614614565b60405180910390f35b3480156104f457600080fd5b5061050f600480360381019061050a9190613ac0565b610fc4565b005b34801561051d57600080fd5b5061053860048036038101906105339190613b01565b61105a565b005b34801561054657600080fd5b5061054f6110e0565b60405161055c91906141fc565b60405180910390f35b61057f600480360381019061057a9190613b01565b6110f7565b005b34801561058d57600080fd5b506105a860048036038101906105a39190613b01565b611283565b6040516105b59190614195565b60405180910390f35b6105d860048036038101906105d39190613b2a565b611335565b005b3480156105e657600080fd5b5061060160048036038101906105fc919061389e565b61150b565b60405161060e9190614614565b60405180910390f35b34801561062357600080fd5b5061062c6115c3565b005b34801561063a57600080fd5b5061064361164b565b005b34801561065157600080fd5b5061065a6116d1565b6040516106679190614195565b60405180910390f35b34801561067c57600080fd5b5061069760048036038101906106929190613b01565b6116fa565b005b3480156106a557600080fd5b506106c060048036038101906106bb9190613b01565b611780565b005b3480156106ce57600080fd5b506106e960048036038101906106e4919061389e565b611806565b005b3480156106f757600080fd5b506107006118fb565b60405161070d9190614232565b60405180910390f35b34801561072257600080fd5b5061072b61198d565b005b34801561073957600080fd5b50610742611a35565b60405161074f9190614614565b60405180910390f35b34801561076457600080fd5b5061077f600480360381019061077a91906139cd565b611a3b565b005b34801561078d57600080fd5b50610796611a51565b005b3480156107a457600080fd5b506107bf60048036038101906107ba9190613952565b611af9565b005b3480156107cd57600080fd5b506107e860048036038101906107e39190613b01565b611b5b565b6040516107f59190614232565b60405180910390f35b34801561080a57600080fd5b5061082560048036038101906108209190613a45565b611c02565b005b34801561083357600080fd5b5061084e600480360381019061084991906138c7565b611c88565b60405161085b91906141fc565b60405180910390f35b34801561087057600080fd5b50610879611d1c565b6040516108869190614217565b60405180910390f35b34801561089b57600080fd5b506108b660048036038101906108b1919061389e565b611d22565b005b3480156108c457600080fd5b506108cd611e1a565b6040516108da9190614614565b60405180910390f35b3480156108ef57600080fd5b506108f8611e20565b60405161090591906141fc565b60405180910390f35b600061091982611e33565b9050919050565b60606001805461092f90614971565b80601f016020809104026020016040519081016040528092919081815260200182805461095b90614971565b80156109a85780601f1061097d576101008083540402835291602001916109a8565b820191906000526020600020905b81548152906001019060200180831161098b57829003601f168201915b5050505050905090565b60006109bd82611ead565b6109fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f3906144d4565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60115481565b6000610a4882611283565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ab9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab090614574565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ad8611f19565b73ffffffffffffffffffffffffffffffffffffffff161480610b075750610b0681610b01611f19565b611c88565b5b610b46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3d90614434565b60405180910390fd5b610b508383611f21565b505050565b600d8054610b6290614971565b80601f0160208091040260200160405190810160405280929190818152602001828054610b8e90614971565b8015610bdb5780601f10610bb057610100808354040283529160200191610bdb565b820191906000526020600020905b815481529060010190602001808311610bbe57829003601f168201915b505050505081565b6000600980549050905090565b610c01610bfb611f19565b82611fda565b610c40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c37906145b4565b60405180910390fd5b610c4b8383836120b8565b505050565b600e60009054906101000a900460ff1681565b6000610c6e8361150b565b8210610caf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca6906142f4565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610d10611f19565b73ffffffffffffffffffffffffffffffffffffffff16610d2e6116d1565b73ffffffffffffffffffffffffffffffffffffffff1614610d84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7b906144f4565b60405180910390fd5b60004790506000610d93611f19565b90508073ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015610ddb573d6000803e3d6000fd5b505050565b610de8611f19565b73ffffffffffffffffffffffffffffffffffffffff16610e066116d1565b73ffffffffffffffffffffffffffffffffffffffff1614610e5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e53906144f4565b60405180910390fd5b610e64612314565b565b610e8183838360405180602001604052806000815250611af9565b505050565b610e8e611f19565b73ffffffffffffffffffffffffffffffffffffffff16610eac6116d1565b73ffffffffffffffffffffffffffffffffffffffff1614610f02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef9906144f4565b60405180910390fd5b60005b81811015610f2957610f1633611806565b8080610f21906149d4565b915050610f05565b5050565b6000610f37610be3565b8210610f78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6f906145d4565b60405180910390fd5b60098281548110610fb2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b610fcc611f19565b73ffffffffffffffffffffffffffffffffffffffff16610fea6116d1565b73ffffffffffffffffffffffffffffffffffffffff1614611040576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611037906144f4565b60405180910390fd5b80600d9080519060200190611056929190613617565b5050565b611062611f19565b73ffffffffffffffffffffffffffffffffffffffff166110806116d1565b73ffffffffffffffffffffffffffffffffffffffff16146110d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cd906144f4565b60405180910390fd5b8060118190555050565b6000600b60009054906101000a900460ff16905090565b600e60009054906101000a900460ff16611146576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113d906142d4565b60405180910390fd5b60115481611154600c6123b6565b61115e919061479c565b111561119f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119690614514565b60405180910390fd5b600081116111e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d9906143b4565b60405180910390fd5b601054811115611227576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121e90614494565b60405180910390fd5b80600f546112359190614823565b341015611277576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126e90614274565b60405180910390fd5b611280816123c4565b50565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561132c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132390614474565b60405180910390fd5b80915050919050565b600e60019054906101000a900460ff16611384576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137b906145f4565b60405180910390fd5b61138e338261252a565b6113cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c490614594565b60405180910390fd5b601154826113db600c6123b6565b6113e5919061479c565b1115611426576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141d90614514565b60405180910390fd5b60008211611469576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611460906143b4565b60405180910390fd5b6010548211156114ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a5906142b4565b60405180910390fd5b81600f546114bc9190614823565b3410156114fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f590614274565b60405180910390fd5b611507826123c4565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561157c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157390614454565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6115cb611f19565b73ffffffffffffffffffffffffffffffffffffffff166115e96116d1565b73ffffffffffffffffffffffffffffffffffffffff161461163f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611636906144f4565b60405180910390fd5b611649600061256c565b565b611653611f19565b73ffffffffffffffffffffffffffffffffffffffff166116716116d1565b73ffffffffffffffffffffffffffffffffffffffff16146116c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116be906144f4565b60405180910390fd5b6116cf612630565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611702611f19565b73ffffffffffffffffffffffffffffffffffffffff166117206116d1565b73ffffffffffffffffffffffffffffffffffffffff1614611776576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176d906144f4565b60405180910390fd5b8060108190555050565b611788611f19565b73ffffffffffffffffffffffffffffffffffffffff166117a66116d1565b73ffffffffffffffffffffffffffffffffffffffff16146117fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f3906144f4565b60405180910390fd5b80600f8190555050565b61180e611f19565b73ffffffffffffffffffffffffffffffffffffffff1661182c6116d1565b73ffffffffffffffffffffffffffffffffffffffff1614611882576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611879906144f4565b60405180910390fd5b60115461188f600c6123b6565b106118cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c690614414565b60405180910390fd5b6118ee8160016118df600c6123b6565b6118e9919061479c565b6126d3565b6118f8600c6126f1565b50565b60606002805461190a90614971565b80601f016020809104026020016040519081016040528092919081815260200182805461193690614971565b80156119835780601f1061195857610100808354040283529160200191611983565b820191906000526020600020905b81548152906001019060200180831161196657829003601f168201915b5050505050905090565b611995611f19565b73ffffffffffffffffffffffffffffffffffffffff166119b36116d1565b73ffffffffffffffffffffffffffffffffffffffff1614611a09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a00906144f4565b60405180910390fd5b600e60019054906101000a900460ff1615600e60016101000a81548160ff021916908315150217905550565b600f5481565b611a4d611a46611f19565b8383612707565b5050565b611a59611f19565b73ffffffffffffffffffffffffffffffffffffffff16611a776116d1565b73ffffffffffffffffffffffffffffffffffffffff1614611acd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac4906144f4565b60405180910390fd5b600e60009054906101000a900460ff1615600e60006101000a81548160ff021916908315150217905550565b611b0a611b04611f19565b83611fda565b611b49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b40906145b4565b60405180910390fd5b611b5584848484612874565b50505050565b6060611b6682611ead565b611ba5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9c90614554565b60405180910390fd5b6000611baf6128d0565b90506000815111611bcf5760405180602001604052806000815250611bfa565b80611bd984612962565b604051602001611bea929190614171565b6040516020818303038152906040525b915050919050565b611c0a611f19565b73ffffffffffffffffffffffffffffffffffffffff16611c286116d1565b73ffffffffffffffffffffffffffffffffffffffff1614611c7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c75906144f4565b60405180910390fd5b8060128190555050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60125481565b611d2a611f19565b73ffffffffffffffffffffffffffffffffffffffff16611d486116d1565b73ffffffffffffffffffffffffffffffffffffffff1614611d9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d95906144f4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0590614334565b60405180910390fd5b611e178161256c565b50565b60105481565b600e60019054906101000a900460ff1681565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611ea65750611ea582612b0f565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611f9483611283565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611fe582611ead565b612024576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201b906143d4565b60405180910390fd5b600061202f83611283565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061209e57508373ffffffffffffffffffffffffffffffffffffffff16612086846109b2565b73ffffffffffffffffffffffffffffffffffffffff16145b806120af57506120ae8185611c88565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166120d882611283565b73ffffffffffffffffffffffffffffffffffffffff161461212e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212590614534565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561219e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219590614374565b60405180910390fd5b6121a9838383612bf1565b6121b4600082611f21565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612204919061487d565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461225b919061479c565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b61231c6110e0565b61235b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235290614294565b60405180910390fd5b6000600b60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61239f611f19565b6040516123ac9190614195565b60405180910390a1565b600081600001549050919050565b60008167ffffffffffffffff811115612406577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156124345781602001602082028036833780820191505090505b50905060005b828110156124ca5760006001612450600c6123b6565b61245a919061479c565b905080838381518110612496577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250506124ac33826126d3565b6124b6600c6126f1565b5080806124c2906149d4565b91505061243a565b503373ffffffffffffffffffffffffffffffffffffffff167f922cfb22e0e389ee9d7687f856eebc4304d9766ff0f6b5da21058fb9590a8b8961250d600c6123b6565b848460405161251e9392919061462f565b60405180910390a25050565b6000808360405160200161253e919061412a565b6040516020818303038152906040528051906020012090506125638360125483612c01565b91505092915050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6126386110e0565b15612678576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266f906143f4565b60405180910390fd5b6001600b60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586126bc611f19565b6040516126c99190614195565b60405180910390a1565b6126ed828260405180602001604052806000815250612c18565b5050565b6001816000016000828254019250508190555050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612776576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276d90614394565b60405180910390fd5b80600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161286791906141fc565b60405180910390a3505050565b61287f8484846120b8565b61288b84848484612c73565b6128ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128c190614314565b60405180910390fd5b50505050565b6060600d80546128df90614971565b80601f016020809104026020016040519081016040528092919081815260200182805461290b90614971565b80156129585780601f1061292d57610100808354040283529160200191612958565b820191906000526020600020905b81548152906001019060200180831161293b57829003601f168201915b5050505050905090565b606060008214156129aa576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612b0a565b600082905060005b600082146129dc5780806129c5906149d4565b915050600a826129d591906147f2565b91506129b2565b60008167ffffffffffffffff811115612a1e577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612a505781602001600182028036833780820191505090505b5090505b60008514612b0357600182612a69919061487d565b9150600a85612a789190614a4b565b6030612a84919061479c565b60f81b818381518110612ac0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612afc91906147f2565b9450612a54565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612bda57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612bea5750612be982612e0a565b5b9050919050565b612bfc838383612e74565b505050565b600082612c0e8584612ecc565b1490509392505050565b612c228383612fa5565b612c2f6000848484612c73565b612c6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c6590614314565b60405180910390fd5b505050565b6000612c948473ffffffffffffffffffffffffffffffffffffffff16613173565b15612dfd578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612cbd611f19565b8786866040518563ffffffff1660e01b8152600401612cdf94939291906141b0565b602060405180830381600087803b158015612cf957600080fd5b505af1925050508015612d2a57506040513d601f19601f82011682018060405250810190612d279190613a97565b60015b612dad573d8060008114612d5a576040519150601f19603f3d011682016040523d82523d6000602084013e612d5f565b606091505b50600081511415612da5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d9c90614314565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612e02565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612e7f838383613186565b612e876110e0565b15612ec7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ebe90614254565b60405180910390fd5b505050565b60008082905060005b8451811015612f9a576000858281518110612f19577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050808311612f5a578281604051602001612f3d929190614145565b604051602081830303815290604052805190602001209250612f86565b8083604051602001612f6d929190614145565b6040516020818303038152906040528051906020012092505b508080612f92906149d4565b915050612ed5565b508091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613015576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161300c906144b4565b60405180910390fd5b61301e81611ead565b1561305e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161305590614354565b60405180910390fd5b61306a60008383612bf1565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546130ba919061479c565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b61319183838361329a565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156131d4576131cf8161329f565b613213565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146132125761321183826132e8565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156132565761325181613455565b613295565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613294576132938282613598565b5b5b505050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016132f58461150b565b6132ff919061487d565b90506000600860008481526020019081526020016000205490508181146133e4576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600980549050613469919061487d565b90506000600a60008481526020019081526020016000205490506000600983815481106134bf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060098381548110613507577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a600085815260200190815260200160002060009055600980548061357c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006135a38361150b565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b82805461362390614971565b90600052602060002090601f016020900481019282613645576000855561368c565b82601f1061365e57805160ff191683800117855561368c565b8280016001018555821561368c579182015b8281111561368b578251825591602001919060010190613670565b5b509050613699919061369d565b5090565b5b808211156136b657600081600090555060010161369e565b5090565b60006136cd6136c884614692565b61466d565b905080838252602082019050828560208602820111156136ec57600080fd5b60005b8581101561371c578161370288826137f6565b8452602084019350602083019250506001810190506136ef565b5050509392505050565b6000613739613734846146be565b61466d565b90508281526020810184848401111561375157600080fd5b61375c84828561492f565b509392505050565b6000613777613772846146ef565b61466d565b90508281526020810184848401111561378f57600080fd5b61379a84828561492f565b509392505050565b6000813590506137b18161538e565b92915050565b600082601f8301126137c857600080fd5b81356137d88482602086016136ba565b91505092915050565b6000813590506137f0816153a5565b92915050565b600081359050613805816153bc565b92915050565b60008135905061381a816153d3565b92915050565b60008151905061382f816153d3565b92915050565b600082601f83011261384657600080fd5b8135613856848260208601613726565b91505092915050565b600082601f83011261387057600080fd5b8135613880848260208601613764565b91505092915050565b600081359050613898816153ea565b92915050565b6000602082840312156138b057600080fd5b60006138be848285016137a2565b91505092915050565b600080604083850312156138da57600080fd5b60006138e8858286016137a2565b92505060206138f9858286016137a2565b9150509250929050565b60008060006060848603121561391857600080fd5b6000613926868287016137a2565b9350506020613937868287016137a2565b925050604061394886828701613889565b9150509250925092565b6000806000806080858703121561396857600080fd5b6000613976878288016137a2565b9450506020613987878288016137a2565b935050604061399887828801613889565b925050606085013567ffffffffffffffff8111156139b557600080fd5b6139c187828801613835565b91505092959194509250565b600080604083850312156139e057600080fd5b60006139ee858286016137a2565b92505060206139ff858286016137e1565b9150509250929050565b60008060408385031215613a1c57600080fd5b6000613a2a858286016137a2565b9250506020613a3b85828601613889565b9150509250929050565b600060208284031215613a5757600080fd5b6000613a65848285016137f6565b91505092915050565b600060208284031215613a8057600080fd5b6000613a8e8482850161380b565b91505092915050565b600060208284031215613aa957600080fd5b6000613ab784828501613820565b91505092915050565b600060208284031215613ad257600080fd5b600082013567ffffffffffffffff811115613aec57600080fd5b613af88482850161385f565b91505092915050565b600060208284031215613b1357600080fd5b6000613b2184828501613889565b91505092915050565b60008060408385031215613b3d57600080fd5b6000613b4b85828601613889565b925050602083013567ffffffffffffffff811115613b6857600080fd5b613b74858286016137b7565b9150509250929050565b6000613b8a838361410c565b60208301905092915050565b613b9f816148b1565b82525050565b613bb6613bb1826148b1565b614a1d565b82525050565b6000613bc782614730565b613bd1818561475e565b9350613bdc83614720565b8060005b83811015613c0d578151613bf48882613b7e565b9750613bff83614751565b925050600181019050613be0565b5085935050505092915050565b613c23816148c3565b82525050565b613c32816148cf565b82525050565b613c49613c44826148cf565b614a2f565b82525050565b6000613c5a8261473b565b613c64818561476f565b9350613c7481856020860161493e565b613c7d81614b38565b840191505092915050565b6000613c9382614746565b613c9d8185614780565b9350613cad81856020860161493e565b613cb681614b38565b840191505092915050565b6000613ccc82614746565b613cd68185614791565b9350613ce681856020860161493e565b80840191505092915050565b6000613cff602b83614780565b9150613d0a82614b56565b604082019050919050565b6000613d22602783614780565b9150613d2d82614ba5565b604082019050919050565b6000613d45601483614780565b9150613d5082614bf4565b602082019050919050565b6000613d68602f83614780565b9150613d7382614c1d565b604082019050919050565b6000613d8b602583614780565b9150613d9682614c6c565b604082019050919050565b6000613dae602b83614780565b9150613db982614cbb565b604082019050919050565b6000613dd1603283614780565b9150613ddc82614d0a565b604082019050919050565b6000613df4602683614780565b9150613dff82614d59565b604082019050919050565b6000613e17601c83614780565b9150613e2282614da8565b602082019050919050565b6000613e3a602483614780565b9150613e4582614dd1565b604082019050919050565b6000613e5d601983614780565b9150613e6882614e20565b602082019050919050565b6000613e80602183614780565b9150613e8b82614e49565b604082019050919050565b6000613ea3602c83614780565b9150613eae82614e98565b604082019050919050565b6000613ec6601083614780565b9150613ed182614ee7565b602082019050919050565b6000613ee9602983614780565b9150613ef482614f10565b604082019050919050565b6000613f0c603883614780565b9150613f1782614f5f565b604082019050919050565b6000613f2f602a83614780565b9150613f3a82614fae565b604082019050919050565b6000613f52602983614780565b9150613f5d82614ffd565b604082019050919050565b6000613f75602d83614780565b9150613f808261504c565b604082019050919050565b6000613f98602083614780565b9150613fa38261509b565b602082019050919050565b6000613fbb602c83614780565b9150613fc6826150c4565b604082019050919050565b6000613fde602083614780565b9150613fe982615113565b602082019050919050565b6000614001602f83614780565b915061400c8261513c565b604082019050919050565b6000614024602983614780565b915061402f8261518b565b604082019050919050565b6000614047602f83614780565b9150614052826151da565b604082019050919050565b600061406a602183614780565b915061407582615229565b604082019050919050565b600061408d601f83614780565b915061409882615278565b602082019050919050565b60006140b0603183614780565b91506140bb826152a1565b604082019050919050565b60006140d3602c83614780565b91506140de826152f0565b604082019050919050565b60006140f6602f83614780565b91506141018261533f565b604082019050919050565b61411581614925565b82525050565b61412481614925565b82525050565b60006141368284613ba5565b60148201915081905092915050565b60006141518285613c38565b6020820191506141618284613c38565b6020820191508190509392505050565b600061417d8285613cc1565b91506141898284613cc1565b91508190509392505050565b60006020820190506141aa6000830184613b96565b92915050565b60006080820190506141c56000830187613b96565b6141d26020830186613b96565b6141df604083018561411b565b81810360608301526141f18184613c4f565b905095945050505050565b60006020820190506142116000830184613c1a565b92915050565b600060208201905061422c6000830184613c29565b92915050565b6000602082019050818103600083015261424c8184613c88565b905092915050565b6000602082019050818103600083015261426d81613cf2565b9050919050565b6000602082019050818103600083015261428d81613d15565b9050919050565b600060208201905081810360008301526142ad81613d38565b9050919050565b600060208201905081810360008301526142cd81613d5b565b9050919050565b600060208201905081810360008301526142ed81613d7e565b9050919050565b6000602082019050818103600083015261430d81613da1565b9050919050565b6000602082019050818103600083015261432d81613dc4565b9050919050565b6000602082019050818103600083015261434d81613de7565b9050919050565b6000602082019050818103600083015261436d81613e0a565b9050919050565b6000602082019050818103600083015261438d81613e2d565b9050919050565b600060208201905081810360008301526143ad81613e50565b9050919050565b600060208201905081810360008301526143cd81613e73565b9050919050565b600060208201905081810360008301526143ed81613e96565b9050919050565b6000602082019050818103600083015261440d81613eb9565b9050919050565b6000602082019050818103600083015261442d81613edc565b9050919050565b6000602082019050818103600083015261444d81613eff565b9050919050565b6000602082019050818103600083015261446d81613f22565b9050919050565b6000602082019050818103600083015261448d81613f45565b9050919050565b600060208201905081810360008301526144ad81613f68565b9050919050565b600060208201905081810360008301526144cd81613f8b565b9050919050565b600060208201905081810360008301526144ed81613fae565b9050919050565b6000602082019050818103600083015261450d81613fd1565b9050919050565b6000602082019050818103600083015261452d81613ff4565b9050919050565b6000602082019050818103600083015261454d81614017565b9050919050565b6000602082019050818103600083015261456d8161403a565b9050919050565b6000602082019050818103600083015261458d8161405d565b9050919050565b600060208201905081810360008301526145ad81614080565b9050919050565b600060208201905081810360008301526145cd816140a3565b9050919050565b600060208201905081810360008301526145ed816140c6565b9050919050565b6000602082019050818103600083015261460d816140e9565b9050919050565b6000602082019050614629600083018461411b565b92915050565b6000606082019050614644600083018661411b565b614651602083018561411b565b81810360408301526146638184613bbc565b9050949350505050565b6000614677614688565b905061468382826149a3565b919050565b6000604051905090565b600067ffffffffffffffff8211156146ad576146ac614b09565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156146d9576146d8614b09565b5b6146e282614b38565b9050602081019050919050565b600067ffffffffffffffff82111561470a57614709614b09565b5b61471382614b38565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006147a782614925565b91506147b283614925565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156147e7576147e6614a7c565b5b828201905092915050565b60006147fd82614925565b915061480883614925565b92508261481857614817614aab565b5b828204905092915050565b600061482e82614925565b915061483983614925565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561487257614871614a7c565b5b828202905092915050565b600061488882614925565b915061489383614925565b9250828210156148a6576148a5614a7c565b5b828203905092915050565b60006148bc82614905565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561495c578082015181840152602081019050614941565b8381111561496b576000848401525b50505050565b6000600282049050600182168061498957607f821691505b6020821081141561499d5761499c614ada565b5b50919050565b6149ac82614b38565b810181811067ffffffffffffffff821117156149cb576149ca614b09565b5b80604052505050565b60006149df82614925565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614a1257614a11614a7c565b5b600182019050919050565b6000614a2882614a39565b9050919050565b6000819050919050565b6000614a4482614b49565b9050919050565b6000614a5682614925565b9150614a6183614925565b925082614a7157614a70614aab565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4552433732315061757361626c653a20746f6b656e207472616e73666572207760008201527f68696c6520706175736564000000000000000000000000000000000000000000602082015250565b7f5865726f3a20496e73756666696369656e742066756e647320746f20636c616960008201527f6d20636172647300000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f5865726f3a2043616e6e6f7420636c61696d206d6f7265207468616e2031302060008201527f636172647320696e206f6e652074780000000000000000000000000000000000602082015250565b7f5865726f3a2043616e6e6f7420636c61696d206361726420617420746865206d60008201527f6f6d656e74000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f5865726f3a204d75737420636c61696d2061746c65617374206f6e652063617260008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f5865726f3a20416c6c206361726473206861766520616c72656164792062656560008201527f6e20636c61696d65640000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f5865726f3a2043616e6e6f7420636c61696d207468657365206d616e7920636160008201527f72647320696e206f6e6520747800000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f5865726f3a20436c61696d2077696c6c20657863656564206d6178696d756d2060008201527f617661696c61626c652063617264730000000000000000000000000000000000602082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f5865726f3a2057616c6c6574206973206e6f742077686974656c697374656400600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f5865726f3a2043616e6e6f742077686974656c69737420636c61696d2063617260008201527f6420617420746865206d6f6d656e740000000000000000000000000000000000602082015250565b615397816148b1565b81146153a257600080fd5b50565b6153ae816148c3565b81146153b957600080fd5b50565b6153c5816148cf565b81146153d057600080fd5b50565b6153dc816148d9565b81146153e757600080fd5b50565b6153f381614925565b81146153fe57600080fd5b5056fea26469706673582212205f2b102f9b522c0bfb4ab72148674a2cf92b8215e49b9a2ddd3b84003417afa464736f6c6343000804003300000000000000000000000000000000000000000000000000000000000000402964a7d26959092d9baa8d5b9c6908fd7e12da19a9fe9648714c2df2b2c805c3000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d54555a534862633670573939706744315972336f564d394b74655a5073433561614851377a74546b456774572f000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102465760003560e01c80636f732e6511610139578063a035b1fe116100b6578063dab5f3401161007a578063dab5f340146107fe578063e985e9c514610827578063ebf0c71714610864578063f2fde38b1461088f578063ff16ea3f146108b8578063ff9b0c22146108e357610246565b8063a035b1fe1461072d578063a22cb46514610758578063a7242e8c14610781578063b88d4fde14610798578063c87b56dd146107c157610246565b8063916dc8e5116100fd578063916dc8e51461067057806391b7f5ed1461069957806395574e17146106c257806395d89b41146106eb57806399470df01461071657610246565b80636f732e65146105be57806370a08231146105da578063715018a6146106175780638456cb591461062e5780638da5cb5b1461064557610246565b80633ccfd60b116101c757806355f804b31161018b57806355f804b3146104e857806359a58647146105115780635c975abb1461053a57806360b47a50146105655780636352211e1461058157610246565b80633ccfd60b1461042b5780633f4ba83a1461044257806342842e0e146104595780634a5ce07a146104825780634f6ccce7146104ab57610246565b806310da2eb91161020e57806310da2eb91461034457806318160ddd1461036f57806323b872dd1461039a5780632866ed21146103c35780632f745c59146103ee57610246565b806301ffc9a71461024b57806306fdde0314610288578063081812fc146102b357806308b237b5146102f0578063095ea7b31461031b575b600080fd5b34801561025757600080fd5b50610272600480360381019061026d9190613a6e565b61090e565b60405161027f91906141fc565b60405180910390f35b34801561029457600080fd5b5061029d610920565b6040516102aa9190614232565b60405180910390f35b3480156102bf57600080fd5b506102da60048036038101906102d59190613b01565b6109b2565b6040516102e79190614195565b60405180910390f35b3480156102fc57600080fd5b50610305610a37565b6040516103129190614614565b60405180910390f35b34801561032757600080fd5b50610342600480360381019061033d9190613a09565b610a3d565b005b34801561035057600080fd5b50610359610b55565b6040516103669190614232565b60405180910390f35b34801561037b57600080fd5b50610384610be3565b6040516103919190614614565b60405180910390f35b3480156103a657600080fd5b506103c160048036038101906103bc9190613903565b610bf0565b005b3480156103cf57600080fd5b506103d8610c50565b6040516103e591906141fc565b60405180910390f35b3480156103fa57600080fd5b5061041560048036038101906104109190613a09565b610c63565b6040516104229190614614565b60405180910390f35b34801561043757600080fd5b50610440610d08565b005b34801561044e57600080fd5b50610457610de0565b005b34801561046557600080fd5b50610480600480360381019061047b9190613903565b610e66565b005b34801561048e57600080fd5b506104a960048036038101906104a49190613b01565b610e86565b005b3480156104b757600080fd5b506104d260048036038101906104cd9190613b01565b610f2d565b6040516104df9190614614565b60405180910390f35b3480156104f457600080fd5b5061050f600480360381019061050a9190613ac0565b610fc4565b005b34801561051d57600080fd5b5061053860048036038101906105339190613b01565b61105a565b005b34801561054657600080fd5b5061054f6110e0565b60405161055c91906141fc565b60405180910390f35b61057f600480360381019061057a9190613b01565b6110f7565b005b34801561058d57600080fd5b506105a860048036038101906105a39190613b01565b611283565b6040516105b59190614195565b60405180910390f35b6105d860048036038101906105d39190613b2a565b611335565b005b3480156105e657600080fd5b5061060160048036038101906105fc919061389e565b61150b565b60405161060e9190614614565b60405180910390f35b34801561062357600080fd5b5061062c6115c3565b005b34801561063a57600080fd5b5061064361164b565b005b34801561065157600080fd5b5061065a6116d1565b6040516106679190614195565b60405180910390f35b34801561067c57600080fd5b5061069760048036038101906106929190613b01565b6116fa565b005b3480156106a557600080fd5b506106c060048036038101906106bb9190613b01565b611780565b005b3480156106ce57600080fd5b506106e960048036038101906106e4919061389e565b611806565b005b3480156106f757600080fd5b506107006118fb565b60405161070d9190614232565b60405180910390f35b34801561072257600080fd5b5061072b61198d565b005b34801561073957600080fd5b50610742611a35565b60405161074f9190614614565b60405180910390f35b34801561076457600080fd5b5061077f600480360381019061077a91906139cd565b611a3b565b005b34801561078d57600080fd5b50610796611a51565b005b3480156107a457600080fd5b506107bf60048036038101906107ba9190613952565b611af9565b005b3480156107cd57600080fd5b506107e860048036038101906107e39190613b01565b611b5b565b6040516107f59190614232565b60405180910390f35b34801561080a57600080fd5b5061082560048036038101906108209190613a45565b611c02565b005b34801561083357600080fd5b5061084e600480360381019061084991906138c7565b611c88565b60405161085b91906141fc565b60405180910390f35b34801561087057600080fd5b50610879611d1c565b6040516108869190614217565b60405180910390f35b34801561089b57600080fd5b506108b660048036038101906108b1919061389e565b611d22565b005b3480156108c457600080fd5b506108cd611e1a565b6040516108da9190614614565b60405180910390f35b3480156108ef57600080fd5b506108f8611e20565b60405161090591906141fc565b60405180910390f35b600061091982611e33565b9050919050565b60606001805461092f90614971565b80601f016020809104026020016040519081016040528092919081815260200182805461095b90614971565b80156109a85780601f1061097d576101008083540402835291602001916109a8565b820191906000526020600020905b81548152906001019060200180831161098b57829003601f168201915b5050505050905090565b60006109bd82611ead565b6109fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f3906144d4565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60115481565b6000610a4882611283565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ab9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab090614574565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ad8611f19565b73ffffffffffffffffffffffffffffffffffffffff161480610b075750610b0681610b01611f19565b611c88565b5b610b46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3d90614434565b60405180910390fd5b610b508383611f21565b505050565b600d8054610b6290614971565b80601f0160208091040260200160405190810160405280929190818152602001828054610b8e90614971565b8015610bdb5780601f10610bb057610100808354040283529160200191610bdb565b820191906000526020600020905b815481529060010190602001808311610bbe57829003601f168201915b505050505081565b6000600980549050905090565b610c01610bfb611f19565b82611fda565b610c40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c37906145b4565b60405180910390fd5b610c4b8383836120b8565b505050565b600e60009054906101000a900460ff1681565b6000610c6e8361150b565b8210610caf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca6906142f4565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610d10611f19565b73ffffffffffffffffffffffffffffffffffffffff16610d2e6116d1565b73ffffffffffffffffffffffffffffffffffffffff1614610d84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7b906144f4565b60405180910390fd5b60004790506000610d93611f19565b90508073ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050158015610ddb573d6000803e3d6000fd5b505050565b610de8611f19565b73ffffffffffffffffffffffffffffffffffffffff16610e066116d1565b73ffffffffffffffffffffffffffffffffffffffff1614610e5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e53906144f4565b60405180910390fd5b610e64612314565b565b610e8183838360405180602001604052806000815250611af9565b505050565b610e8e611f19565b73ffffffffffffffffffffffffffffffffffffffff16610eac6116d1565b73ffffffffffffffffffffffffffffffffffffffff1614610f02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef9906144f4565b60405180910390fd5b60005b81811015610f2957610f1633611806565b8080610f21906149d4565b915050610f05565b5050565b6000610f37610be3565b8210610f78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6f906145d4565b60405180910390fd5b60098281548110610fb2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b610fcc611f19565b73ffffffffffffffffffffffffffffffffffffffff16610fea6116d1565b73ffffffffffffffffffffffffffffffffffffffff1614611040576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611037906144f4565b60405180910390fd5b80600d9080519060200190611056929190613617565b5050565b611062611f19565b73ffffffffffffffffffffffffffffffffffffffff166110806116d1565b73ffffffffffffffffffffffffffffffffffffffff16146110d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cd906144f4565b60405180910390fd5b8060118190555050565b6000600b60009054906101000a900460ff16905090565b600e60009054906101000a900460ff16611146576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113d906142d4565b60405180910390fd5b60115481611154600c6123b6565b61115e919061479c565b111561119f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119690614514565b60405180910390fd5b600081116111e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d9906143b4565b60405180910390fd5b601054811115611227576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121e90614494565b60405180910390fd5b80600f546112359190614823565b341015611277576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126e90614274565b60405180910390fd5b611280816123c4565b50565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561132c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132390614474565b60405180910390fd5b80915050919050565b600e60019054906101000a900460ff16611384576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137b906145f4565b60405180910390fd5b61138e338261252a565b6113cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c490614594565b60405180910390fd5b601154826113db600c6123b6565b6113e5919061479c565b1115611426576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141d90614514565b60405180910390fd5b60008211611469576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611460906143b4565b60405180910390fd5b6010548211156114ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a5906142b4565b60405180910390fd5b81600f546114bc9190614823565b3410156114fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f590614274565b60405180910390fd5b611507826123c4565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561157c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157390614454565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6115cb611f19565b73ffffffffffffffffffffffffffffffffffffffff166115e96116d1565b73ffffffffffffffffffffffffffffffffffffffff161461163f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611636906144f4565b60405180910390fd5b611649600061256c565b565b611653611f19565b73ffffffffffffffffffffffffffffffffffffffff166116716116d1565b73ffffffffffffffffffffffffffffffffffffffff16146116c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116be906144f4565b60405180910390fd5b6116cf612630565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611702611f19565b73ffffffffffffffffffffffffffffffffffffffff166117206116d1565b73ffffffffffffffffffffffffffffffffffffffff1614611776576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176d906144f4565b60405180910390fd5b8060108190555050565b611788611f19565b73ffffffffffffffffffffffffffffffffffffffff166117a66116d1565b73ffffffffffffffffffffffffffffffffffffffff16146117fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f3906144f4565b60405180910390fd5b80600f8190555050565b61180e611f19565b73ffffffffffffffffffffffffffffffffffffffff1661182c6116d1565b73ffffffffffffffffffffffffffffffffffffffff1614611882576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611879906144f4565b60405180910390fd5b60115461188f600c6123b6565b106118cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c690614414565b60405180910390fd5b6118ee8160016118df600c6123b6565b6118e9919061479c565b6126d3565b6118f8600c6126f1565b50565b60606002805461190a90614971565b80601f016020809104026020016040519081016040528092919081815260200182805461193690614971565b80156119835780601f1061195857610100808354040283529160200191611983565b820191906000526020600020905b81548152906001019060200180831161196657829003601f168201915b5050505050905090565b611995611f19565b73ffffffffffffffffffffffffffffffffffffffff166119b36116d1565b73ffffffffffffffffffffffffffffffffffffffff1614611a09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a00906144f4565b60405180910390fd5b600e60019054906101000a900460ff1615600e60016101000a81548160ff021916908315150217905550565b600f5481565b611a4d611a46611f19565b8383612707565b5050565b611a59611f19565b73ffffffffffffffffffffffffffffffffffffffff16611a776116d1565b73ffffffffffffffffffffffffffffffffffffffff1614611acd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac4906144f4565b60405180910390fd5b600e60009054906101000a900460ff1615600e60006101000a81548160ff021916908315150217905550565b611b0a611b04611f19565b83611fda565b611b49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b40906145b4565b60405180910390fd5b611b5584848484612874565b50505050565b6060611b6682611ead565b611ba5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9c90614554565b60405180910390fd5b6000611baf6128d0565b90506000815111611bcf5760405180602001604052806000815250611bfa565b80611bd984612962565b604051602001611bea929190614171565b6040516020818303038152906040525b915050919050565b611c0a611f19565b73ffffffffffffffffffffffffffffffffffffffff16611c286116d1565b73ffffffffffffffffffffffffffffffffffffffff1614611c7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c75906144f4565b60405180910390fd5b8060128190555050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60125481565b611d2a611f19565b73ffffffffffffffffffffffffffffffffffffffff16611d486116d1565b73ffffffffffffffffffffffffffffffffffffffff1614611d9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d95906144f4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0590614334565b60405180910390fd5b611e178161256c565b50565b60105481565b600e60019054906101000a900460ff1681565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611ea65750611ea582612b0f565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611f9483611283565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611fe582611ead565b612024576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201b906143d4565b60405180910390fd5b600061202f83611283565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061209e57508373ffffffffffffffffffffffffffffffffffffffff16612086846109b2565b73ffffffffffffffffffffffffffffffffffffffff16145b806120af57506120ae8185611c88565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166120d882611283565b73ffffffffffffffffffffffffffffffffffffffff161461212e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212590614534565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561219e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219590614374565b60405180910390fd5b6121a9838383612bf1565b6121b4600082611f21565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612204919061487d565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461225b919061479c565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b61231c6110e0565b61235b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235290614294565b60405180910390fd5b6000600b60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61239f611f19565b6040516123ac9190614195565b60405180910390a1565b600081600001549050919050565b60008167ffffffffffffffff811115612406577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156124345781602001602082028036833780820191505090505b50905060005b828110156124ca5760006001612450600c6123b6565b61245a919061479c565b905080838381518110612496577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250506124ac33826126d3565b6124b6600c6126f1565b5080806124c2906149d4565b91505061243a565b503373ffffffffffffffffffffffffffffffffffffffff167f922cfb22e0e389ee9d7687f856eebc4304d9766ff0f6b5da21058fb9590a8b8961250d600c6123b6565b848460405161251e9392919061462f565b60405180910390a25050565b6000808360405160200161253e919061412a565b6040516020818303038152906040528051906020012090506125638360125483612c01565b91505092915050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6126386110e0565b15612678576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266f906143f4565b60405180910390fd5b6001600b60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586126bc611f19565b6040516126c99190614195565b60405180910390a1565b6126ed828260405180602001604052806000815250612c18565b5050565b6001816000016000828254019250508190555050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612776576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276d90614394565b60405180910390fd5b80600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161286791906141fc565b60405180910390a3505050565b61287f8484846120b8565b61288b84848484612c73565b6128ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128c190614314565b60405180910390fd5b50505050565b6060600d80546128df90614971565b80601f016020809104026020016040519081016040528092919081815260200182805461290b90614971565b80156129585780601f1061292d57610100808354040283529160200191612958565b820191906000526020600020905b81548152906001019060200180831161293b57829003601f168201915b5050505050905090565b606060008214156129aa576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612b0a565b600082905060005b600082146129dc5780806129c5906149d4565b915050600a826129d591906147f2565b91506129b2565b60008167ffffffffffffffff811115612a1e577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612a505781602001600182028036833780820191505090505b5090505b60008514612b0357600182612a69919061487d565b9150600a85612a789190614a4b565b6030612a84919061479c565b60f81b818381518110612ac0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612afc91906147f2565b9450612a54565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612bda57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612bea5750612be982612e0a565b5b9050919050565b612bfc838383612e74565b505050565b600082612c0e8584612ecc565b1490509392505050565b612c228383612fa5565b612c2f6000848484612c73565b612c6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c6590614314565b60405180910390fd5b505050565b6000612c948473ffffffffffffffffffffffffffffffffffffffff16613173565b15612dfd578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612cbd611f19565b8786866040518563ffffffff1660e01b8152600401612cdf94939291906141b0565b602060405180830381600087803b158015612cf957600080fd5b505af1925050508015612d2a57506040513d601f19601f82011682018060405250810190612d279190613a97565b60015b612dad573d8060008114612d5a576040519150601f19603f3d011682016040523d82523d6000602084013e612d5f565b606091505b50600081511415612da5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d9c90614314565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612e02565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612e7f838383613186565b612e876110e0565b15612ec7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ebe90614254565b60405180910390fd5b505050565b60008082905060005b8451811015612f9a576000858281518110612f19577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050808311612f5a578281604051602001612f3d929190614145565b604051602081830303815290604052805190602001209250612f86565b8083604051602001612f6d929190614145565b6040516020818303038152906040528051906020012092505b508080612f92906149d4565b915050612ed5565b508091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613015576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161300c906144b4565b60405180910390fd5b61301e81611ead565b1561305e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161305590614354565b60405180910390fd5b61306a60008383612bf1565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546130ba919061479c565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b61319183838361329a565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156131d4576131cf8161329f565b613213565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146132125761321183826132e8565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156132565761325181613455565b613295565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613294576132938282613598565b5b5b505050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016132f58461150b565b6132ff919061487d565b90506000600860008481526020019081526020016000205490508181146133e4576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600980549050613469919061487d565b90506000600a60008481526020019081526020016000205490506000600983815481106134bf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060098381548110613507577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a600085815260200190815260200160002060009055600980548061357c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006135a38361150b565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b82805461362390614971565b90600052602060002090601f016020900481019282613645576000855561368c565b82601f1061365e57805160ff191683800117855561368c565b8280016001018555821561368c579182015b8281111561368b578251825591602001919060010190613670565b5b509050613699919061369d565b5090565b5b808211156136b657600081600090555060010161369e565b5090565b60006136cd6136c884614692565b61466d565b905080838252602082019050828560208602820111156136ec57600080fd5b60005b8581101561371c578161370288826137f6565b8452602084019350602083019250506001810190506136ef565b5050509392505050565b6000613739613734846146be565b61466d565b90508281526020810184848401111561375157600080fd5b61375c84828561492f565b509392505050565b6000613777613772846146ef565b61466d565b90508281526020810184848401111561378f57600080fd5b61379a84828561492f565b509392505050565b6000813590506137b18161538e565b92915050565b600082601f8301126137c857600080fd5b81356137d88482602086016136ba565b91505092915050565b6000813590506137f0816153a5565b92915050565b600081359050613805816153bc565b92915050565b60008135905061381a816153d3565b92915050565b60008151905061382f816153d3565b92915050565b600082601f83011261384657600080fd5b8135613856848260208601613726565b91505092915050565b600082601f83011261387057600080fd5b8135613880848260208601613764565b91505092915050565b600081359050613898816153ea565b92915050565b6000602082840312156138b057600080fd5b60006138be848285016137a2565b91505092915050565b600080604083850312156138da57600080fd5b60006138e8858286016137a2565b92505060206138f9858286016137a2565b9150509250929050565b60008060006060848603121561391857600080fd5b6000613926868287016137a2565b9350506020613937868287016137a2565b925050604061394886828701613889565b9150509250925092565b6000806000806080858703121561396857600080fd5b6000613976878288016137a2565b9450506020613987878288016137a2565b935050604061399887828801613889565b925050606085013567ffffffffffffffff8111156139b557600080fd5b6139c187828801613835565b91505092959194509250565b600080604083850312156139e057600080fd5b60006139ee858286016137a2565b92505060206139ff858286016137e1565b9150509250929050565b60008060408385031215613a1c57600080fd5b6000613a2a858286016137a2565b9250506020613a3b85828601613889565b9150509250929050565b600060208284031215613a5757600080fd5b6000613a65848285016137f6565b91505092915050565b600060208284031215613a8057600080fd5b6000613a8e8482850161380b565b91505092915050565b600060208284031215613aa957600080fd5b6000613ab784828501613820565b91505092915050565b600060208284031215613ad257600080fd5b600082013567ffffffffffffffff811115613aec57600080fd5b613af88482850161385f565b91505092915050565b600060208284031215613b1357600080fd5b6000613b2184828501613889565b91505092915050565b60008060408385031215613b3d57600080fd5b6000613b4b85828601613889565b925050602083013567ffffffffffffffff811115613b6857600080fd5b613b74858286016137b7565b9150509250929050565b6000613b8a838361410c565b60208301905092915050565b613b9f816148b1565b82525050565b613bb6613bb1826148b1565b614a1d565b82525050565b6000613bc782614730565b613bd1818561475e565b9350613bdc83614720565b8060005b83811015613c0d578151613bf48882613b7e565b9750613bff83614751565b925050600181019050613be0565b5085935050505092915050565b613c23816148c3565b82525050565b613c32816148cf565b82525050565b613c49613c44826148cf565b614a2f565b82525050565b6000613c5a8261473b565b613c64818561476f565b9350613c7481856020860161493e565b613c7d81614b38565b840191505092915050565b6000613c9382614746565b613c9d8185614780565b9350613cad81856020860161493e565b613cb681614b38565b840191505092915050565b6000613ccc82614746565b613cd68185614791565b9350613ce681856020860161493e565b80840191505092915050565b6000613cff602b83614780565b9150613d0a82614b56565b604082019050919050565b6000613d22602783614780565b9150613d2d82614ba5565b604082019050919050565b6000613d45601483614780565b9150613d5082614bf4565b602082019050919050565b6000613d68602f83614780565b9150613d7382614c1d565b604082019050919050565b6000613d8b602583614780565b9150613d9682614c6c565b604082019050919050565b6000613dae602b83614780565b9150613db982614cbb565b604082019050919050565b6000613dd1603283614780565b9150613ddc82614d0a565b604082019050919050565b6000613df4602683614780565b9150613dff82614d59565b604082019050919050565b6000613e17601c83614780565b9150613e2282614da8565b602082019050919050565b6000613e3a602483614780565b9150613e4582614dd1565b604082019050919050565b6000613e5d601983614780565b9150613e6882614e20565b602082019050919050565b6000613e80602183614780565b9150613e8b82614e49565b604082019050919050565b6000613ea3602c83614780565b9150613eae82614e98565b604082019050919050565b6000613ec6601083614780565b9150613ed182614ee7565b602082019050919050565b6000613ee9602983614780565b9150613ef482614f10565b604082019050919050565b6000613f0c603883614780565b9150613f1782614f5f565b604082019050919050565b6000613f2f602a83614780565b9150613f3a82614fae565b604082019050919050565b6000613f52602983614780565b9150613f5d82614ffd565b604082019050919050565b6000613f75602d83614780565b9150613f808261504c565b604082019050919050565b6000613f98602083614780565b9150613fa38261509b565b602082019050919050565b6000613fbb602c83614780565b9150613fc6826150c4565b604082019050919050565b6000613fde602083614780565b9150613fe982615113565b602082019050919050565b6000614001602f83614780565b915061400c8261513c565b604082019050919050565b6000614024602983614780565b915061402f8261518b565b604082019050919050565b6000614047602f83614780565b9150614052826151da565b604082019050919050565b600061406a602183614780565b915061407582615229565b604082019050919050565b600061408d601f83614780565b915061409882615278565b602082019050919050565b60006140b0603183614780565b91506140bb826152a1565b604082019050919050565b60006140d3602c83614780565b91506140de826152f0565b604082019050919050565b60006140f6602f83614780565b91506141018261533f565b604082019050919050565b61411581614925565b82525050565b61412481614925565b82525050565b60006141368284613ba5565b60148201915081905092915050565b60006141518285613c38565b6020820191506141618284613c38565b6020820191508190509392505050565b600061417d8285613cc1565b91506141898284613cc1565b91508190509392505050565b60006020820190506141aa6000830184613b96565b92915050565b60006080820190506141c56000830187613b96565b6141d26020830186613b96565b6141df604083018561411b565b81810360608301526141f18184613c4f565b905095945050505050565b60006020820190506142116000830184613c1a565b92915050565b600060208201905061422c6000830184613c29565b92915050565b6000602082019050818103600083015261424c8184613c88565b905092915050565b6000602082019050818103600083015261426d81613cf2565b9050919050565b6000602082019050818103600083015261428d81613d15565b9050919050565b600060208201905081810360008301526142ad81613d38565b9050919050565b600060208201905081810360008301526142cd81613d5b565b9050919050565b600060208201905081810360008301526142ed81613d7e565b9050919050565b6000602082019050818103600083015261430d81613da1565b9050919050565b6000602082019050818103600083015261432d81613dc4565b9050919050565b6000602082019050818103600083015261434d81613de7565b9050919050565b6000602082019050818103600083015261436d81613e0a565b9050919050565b6000602082019050818103600083015261438d81613e2d565b9050919050565b600060208201905081810360008301526143ad81613e50565b9050919050565b600060208201905081810360008301526143cd81613e73565b9050919050565b600060208201905081810360008301526143ed81613e96565b9050919050565b6000602082019050818103600083015261440d81613eb9565b9050919050565b6000602082019050818103600083015261442d81613edc565b9050919050565b6000602082019050818103600083015261444d81613eff565b9050919050565b6000602082019050818103600083015261446d81613f22565b9050919050565b6000602082019050818103600083015261448d81613f45565b9050919050565b600060208201905081810360008301526144ad81613f68565b9050919050565b600060208201905081810360008301526144cd81613f8b565b9050919050565b600060208201905081810360008301526144ed81613fae565b9050919050565b6000602082019050818103600083015261450d81613fd1565b9050919050565b6000602082019050818103600083015261452d81613ff4565b9050919050565b6000602082019050818103600083015261454d81614017565b9050919050565b6000602082019050818103600083015261456d8161403a565b9050919050565b6000602082019050818103600083015261458d8161405d565b9050919050565b600060208201905081810360008301526145ad81614080565b9050919050565b600060208201905081810360008301526145cd816140a3565b9050919050565b600060208201905081810360008301526145ed816140c6565b9050919050565b6000602082019050818103600083015261460d816140e9565b9050919050565b6000602082019050614629600083018461411b565b92915050565b6000606082019050614644600083018661411b565b614651602083018561411b565b81810360408301526146638184613bbc565b9050949350505050565b6000614677614688565b905061468382826149a3565b919050565b6000604051905090565b600067ffffffffffffffff8211156146ad576146ac614b09565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156146d9576146d8614b09565b5b6146e282614b38565b9050602081019050919050565b600067ffffffffffffffff82111561470a57614709614b09565b5b61471382614b38565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006147a782614925565b91506147b283614925565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156147e7576147e6614a7c565b5b828201905092915050565b60006147fd82614925565b915061480883614925565b92508261481857614817614aab565b5b828204905092915050565b600061482e82614925565b915061483983614925565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561487257614871614a7c565b5b828202905092915050565b600061488882614925565b915061489383614925565b9250828210156148a6576148a5614a7c565b5b828203905092915050565b60006148bc82614905565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561495c578082015181840152602081019050614941565b8381111561496b576000848401525b50505050565b6000600282049050600182168061498957607f821691505b6020821081141561499d5761499c614ada565b5b50919050565b6149ac82614b38565b810181811067ffffffffffffffff821117156149cb576149ca614b09565b5b80604052505050565b60006149df82614925565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614a1257614a11614a7c565b5b600182019050919050565b6000614a2882614a39565b9050919050565b6000819050919050565b6000614a4482614b49565b9050919050565b6000614a5682614925565b9150614a6183614925565b925082614a7157614a70614aab565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4552433732315061757361626c653a20746f6b656e207472616e73666572207760008201527f68696c6520706175736564000000000000000000000000000000000000000000602082015250565b7f5865726f3a20496e73756666696369656e742066756e647320746f20636c616960008201527f6d20636172647300000000000000000000000000000000000000000000000000602082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f5865726f3a2043616e6e6f7420636c61696d206d6f7265207468616e2031302060008201527f636172647320696e206f6e652074780000000000000000000000000000000000602082015250565b7f5865726f3a2043616e6e6f7420636c61696d206361726420617420746865206d60008201527f6f6d656e74000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f5865726f3a204d75737420636c61696d2061746c65617374206f6e652063617260008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f5865726f3a20416c6c206361726473206861766520616c72656164792062656560008201527f6e20636c61696d65640000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f5865726f3a2043616e6e6f7420636c61696d207468657365206d616e7920636160008201527f72647320696e206f6e6520747800000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f5865726f3a20436c61696d2077696c6c20657863656564206d6178696d756d2060008201527f617661696c61626c652063617264730000000000000000000000000000000000602082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f5865726f3a2057616c6c6574206973206e6f742077686974656c697374656400600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f5865726f3a2043616e6e6f742077686974656c69737420636c61696d2063617260008201527f6420617420746865206d6f6d656e740000000000000000000000000000000000602082015250565b615397816148b1565b81146153a257600080fd5b50565b6153ae816148c3565b81146153b957600080fd5b50565b6153c5816148cf565b81146153d057600080fd5b50565b6153dc816148d9565b81146153e757600080fd5b50565b6153f381614925565b81146153fe57600080fd5b5056fea26469706673582212205f2b102f9b522c0bfb4ab72148674a2cf92b8215e49b9a2ddd3b84003417afa464736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000402964a7d26959092d9baa8d5b9c6908fd7e12da19a9fe9648714c2df2b2c805c3000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d54555a534862633670573939706744315972336f564d394b74655a5073433561614851377a74546b456774572f000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _metadataBaseURL (string): https://gateway.pinata.cloud/ipfs/QmTUZSHbc6pW99pgD1Yr3oVM9KteZPsC5aaHQ7ztTkEgtW/
Arg [1] : _merkleroot (bytes32): 0x2964a7d26959092d9baa8d5b9c6908fd7e12da19a9fe9648714c2df2b2c805c3
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 2964a7d26959092d9baa8d5b9c6908fd7e12da19a9fe9648714c2df2b2c805c3
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000051
Arg [3] : 68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066
Arg [4] : 732f516d54555a534862633670573939706744315972336f564d394b74655a50
Arg [5] : 73433561614851377a74546b456774572f000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.