Source Code
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 64 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Transfer From | 15847355 | 1226 days ago | IN | 0 ETH | 0.00144055 | ||||
| Transfer From | 15847354 | 1226 days ago | IN | 0 ETH | 0.00151038 | ||||
| Transfer From | 15847352 | 1226 days ago | IN | 0 ETH | 0.0011255 | ||||
| Transfer From | 15847347 | 1226 days ago | IN | 0 ETH | 0.00173134 | ||||
| Transfer From | 15847320 | 1226 days ago | IN | 0 ETH | 0.00172759 | ||||
| Transfer From | 14481518 | 1439 days ago | IN | 0 ETH | 0.00528085 | ||||
| Transfer From | 14481511 | 1439 days ago | IN | 0 ETH | 0.00567648 | ||||
| Transfer From | 14473868 | 1441 days ago | IN | 0 ETH | 0.00235426 | ||||
| Transfer From | 14473861 | 1441 days ago | IN | 0 ETH | 0.00286011 | ||||
| Transfer From | 14473837 | 1441 days ago | IN | 0 ETH | 0.00193898 | ||||
| Transfer From | 14473833 | 1441 days ago | IN | 0 ETH | 0.00224014 | ||||
| Transfer From | 14473827 | 1441 days ago | IN | 0 ETH | 0.00228092 | ||||
| Transfer From | 14473824 | 1441 days ago | IN | 0 ETH | 0.00249123 | ||||
| Withdraw | 14470864 | 1441 days ago | IN | 0 ETH | 0.00206025 | ||||
| Set Approval For... | 14459654 | 1443 days ago | IN | 0 ETH | 0.00143666 | ||||
| Mint Emoji | 14459538 | 1443 days ago | IN | 0.03 ETH | 0.01388214 | ||||
| Set Approval For... | 14456083 | 1443 days ago | IN | 0 ETH | 0.00310127 | ||||
| Mint Emoji | 14455867 | 1443 days ago | IN | 0.02 ETH | 0.01216557 | ||||
| Set Approval For... | 14455188 | 1443 days ago | IN | 0 ETH | 0.00101182 | ||||
| Mint Emoji | 14453499 | 1444 days ago | IN | 0.01 ETH | 0.00302428 | ||||
| Mint Emoji | 14452890 | 1444 days ago | IN | 0.02 ETH | 0.01030099 | ||||
| Mint Emoji | 14452817 | 1444 days ago | IN | 0.01 ETH | 0.00712377 | ||||
| Withdraw | 14448752 | 1444 days ago | IN | 0 ETH | 0.00104593 | ||||
| Transfer From | 14448555 | 1444 days ago | IN | 0 ETH | 0.0028683 | ||||
| Transfer From | 14448531 | 1444 days ago | IN | 0 ETH | 0.00324875 |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
PaintedMfers
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
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
pragma solidity ^0.8.4;
pragma abicoder v2;
contract PaintedMfers is ERC721, Ownable, ERC721Enumerable {
using SafeMath for uint256;
using Strings for uint256;
uint256 public constant tokenPrice = 10000000000000000; // 0.010 ETH
uint256 public constant maxTokenPurchase = 20;
uint256 public MAX_TOKENS = 3333;
string public baseURI = ""; // IPFS URI WILL BE SET AFTER ALL TOKENS SOLD OUT
bool public saleIsActive = false;
bool public presaleIsActive = false;
bool public isRevealed = false;
mapping(address => bool) private _presaleList;
mapping(address => uint256) private _presaleListClaimed;
uint256 public presaleMaxMint = 30;
uint256 public devReserve = 0;
event EmojiMinted(uint256 tokenId, address owner);
constructor() ERC721("PaintedMfers", "PEDMF") {}
function setMAX_TOKENS(uint256 _newMAX_TOKENS) public onlyOwner {
MAX_TOKENS = _newMAX_TOKENS;
}
function _baseURI() internal view virtual override returns (string memory) {
return baseURI;
}
function setBaseURI(string memory _newBaseURI) public onlyOwner {
baseURI = _newBaseURI;
}
function withdraw() public payable onlyOwner {
(bool os, ) = payable(owner()).call{ value: address(this).balance }("");
require(os);
}
function reveal() public onlyOwner {
isRevealed = true;
}
function reserveTokens(address _to, uint256 _reserveAmount)
external
onlyOwner
{
require(
_reserveAmount > 0 && _reserveAmount <= devReserve,
"Not enough reserve left for team"
);
for (uint256 i = 0; i < _reserveAmount; i++) {
uint256 id = totalSupply();
_safeMint(_to, id);
}
devReserve = devReserve.sub(_reserveAmount);
}
function toggleSaleState() external onlyOwner {
saleIsActive = !saleIsActive;
}
function togglePresaleState() external onlyOwner {
presaleIsActive = !presaleIsActive;
}
function tokensOfOwner(address _owner)
external
view
returns (uint256[] memory)
{
uint256 tokenCount = balanceOf(_owner);
if (tokenCount == 0) {
// Return an empty array
return new uint256[](0);
} else {
uint256[] memory result = new uint256[](tokenCount);
uint256 index;
for (index = 0; index < tokenCount; index++) {
result[index] = tokenOfOwnerByIndex(_owner, index);
}
return result;
}
}
function mintEmoji(uint256 numberOfTokens) external payable {
require(saleIsActive, "Sale must be active to mint Token");
require(
numberOfTokens > 0 && numberOfTokens <= maxTokenPurchase,
"Can only mint one or more tokens at a time"
);
require(
totalSupply().add(numberOfTokens) <= MAX_TOKENS,
"Purchase would exceed max supply of tokens"
);
require(
msg.value >= tokenPrice.mul(numberOfTokens),
"Ether value sent is not correct"
);
for (uint256 i = 0; i < numberOfTokens; i++) {
uint256 id = totalSupply().add(1);
if (totalSupply() < MAX_TOKENS) {
_safeMint(msg.sender, id);
emit EmojiMinted(id, msg.sender);
}
}
}
function presaleEmoji(uint256 numberOfTokens) external payable {
require(presaleIsActive, "Presale is not active");
require(_presaleList[msg.sender], "You are not on the Presale List");
require(
totalSupply().add(numberOfTokens) <= MAX_TOKENS,
"Purchase would exceed max supply of token"
);
require(
numberOfTokens > 0 && numberOfTokens <= presaleMaxMint,
"Cannot purchase this many tokens"
);
require(
_presaleListClaimed[msg.sender].add(numberOfTokens) <= presaleMaxMint,
"Purchase exceeds max allowed"
);
require(
msg.value >= tokenPrice.mul(numberOfTokens),
"Ether value sent is not correct"
);
for (uint256 i = 0; i < numberOfTokens; i++) {
uint256 id = totalSupply().add(1);
if (totalSupply() < MAX_TOKENS) {
_presaleListClaimed[msg.sender] += 1;
_safeMint(msg.sender, id);
emit EmojiMinted(id, msg.sender);
}
}
}
function addToPresaleList(address[] calldata addresses) external onlyOwner {
for (uint256 i = 0; i < addresses.length; i++) {
require(addresses[i] != address(0), "Can't add the null address");
_presaleList[addresses[i]] = true;
}
}
function removeFromPresaleList(address[] calldata addresses)
external
onlyOwner
{
for (uint256 i = 0; i < addresses.length; i++) {
require(addresses[i] != address(0), "Can't add the null address");
_presaleList[addresses[i]] = false;
}
}
function setPresaleMaxMint(uint256 maxMint) external onlyOwner {
presaleMaxMint = maxMint;
}
function onPreSaleList(address addr) external view returns (bool) {
return _presaleList[addr];
}
function tokenURI(uint256 tokenId)
public
view
virtual
override
returns (string memory)
{
require(
_exists(tokenId),
"ERC721Metadata: URI query for nonexistent token"
);
string memory currentBaseURI = _baseURI();
if (isRevealed == false) {
return
"ipfs://QmYGAp3Gz1m5UmFhV4PVRRPYE3HL1AmCwEKFPxng498vfb/hidden.json";
}
return
bytes(currentBaseURI).length > 0
? string(abi.encodePacked(currentBaseURI, tokenId.toString(), ".json"))
: "";
}
function _beforeTokenTransfer(
address from,
address to,
uint256 tokenId
) internal override(ERC721, ERC721Enumerable) {
super._beforeTokenTransfer(from, to, tokenId);
}
function supportsInterface(bytes4 interfaceId)
public
view
override(ERC721, ERC721Enumerable)
returns (bool)
{
return super.supportsInterface(interfaceId);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol)
pragma solidity ^0.8.0;
import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";
/**
* @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
* the Metadata extension, but not including the Enumerable extension, which is available separately as
* {ERC721Enumerable}.
*/
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
using Address for address;
using Strings for uint256;
// Token name
string private _name;
// Token symbol
string private _symbol;
// Mapping from token ID to owner address
mapping(uint256 => address) private _owners;
// Mapping owner address to token count
mapping(address => uint256) private _balances;
// Mapping from token ID to approved address
mapping(uint256 => address) private _tokenApprovals;
// Mapping from owner to operator approvals
mapping(address => mapping(address => bool)) private _operatorApprovals;
/**
* @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
*/
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
return
interfaceId == type(IERC721).interfaceId ||
interfaceId == type(IERC721Metadata).interfaceId ||
super.supportsInterface(interfaceId);
}
/**
* @dev See {IERC721-balanceOf}.
*/
function balanceOf(address owner) public view virtual override returns (uint256) {
require(owner != address(0), "ERC721: 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);
_afterTokenTransfer(address(0), to, tokenId);
}
/**
* @dev Destroys `tokenId`.
* The approval is cleared when the token is burned.
*
* Requirements:
*
* - `tokenId` must exist.
*
* Emits a {Transfer} event.
*/
function _burn(uint256 tokenId) internal virtual {
address owner = ERC721.ownerOf(tokenId);
_beforeTokenTransfer(owner, address(0), tokenId);
// Clear approvals
_approve(address(0), tokenId);
_balances[owner] -= 1;
delete _owners[tokenId];
emit Transfer(owner, address(0), tokenId);
_afterTokenTransfer(owner, address(0), tokenId);
}
/**
* @dev Transfers `tokenId` from `from` to `to`.
* As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
*
* Emits a {Transfer} event.
*/
function _transfer(
address from,
address to,
uint256 tokenId
) internal virtual {
require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
require(to != address(0), "ERC721: transfer to the zero address");
_beforeTokenTransfer(from, to, tokenId);
// Clear approvals from the previous owner
_approve(address(0), tokenId);
_balances[from] -= 1;
_balances[to] += 1;
_owners[tokenId] = to;
emit Transfer(from, to, tokenId);
_afterTokenTransfer(from, to, tokenId);
}
/**
* @dev Approve `to` to operate on `tokenId`
*
* Emits 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 {}
/**
* @dev Hook that is called after any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _afterTokenTransfer(
address from,
address to,
uint256 tokenId
) internal virtual {}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_transferOwnership(_msgSender());
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
_;
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)
pragma solidity ^0.8.0;
// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.
/**
* @dev Wrappers over Solidity's arithmetic operations.
*
* NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
* now has built in overflow checking.
*/
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
uint256 c = a + b;
if (c < a) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the substraction of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b > a) return (false, 0);
return (true, a - b);
}
}
/**
* @dev Returns the multiplication of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
// See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
if (a == 0) return (true, 0);
uint256 c = a * b;
if (c / a != b) return (false, 0);
return (true, c);
}
}
/**
* @dev Returns the division of two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a / b);
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a % b);
}
}
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requirements:
*
* - Addition cannot overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
return a + b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return a - b;
}
/**
* @dev Returns the multiplication of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `*` operator.
*
* Requirements:
*
* - Multiplication cannot overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
return a * b;
}
/**
* @dev Returns the integer division of two unsigned integers, reverting on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator.
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return a / b;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting when dividing by zero.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
return a % b;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {trySub}.
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b <= a, errorMessage);
return a - b;
}
}
/**
* @dev Returns the integer division of two unsigned integers, reverting with custom message on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a / b;
}
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting with custom message when dividing by zero.
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {tryMod}.
*
* Counterpart to Solidity's `%` operator. This function uses a `revert`
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a % b;
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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/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 (last updated v4.5.0) (utils/Address.sol)
pragma solidity ^0.8.1;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*
* [IMPORTANT]
* ====
* You shouldn't rely on `isContract` to protect against flash loan attacks!
*
* Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
* like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
* constructor.
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize/address.code.length, which returns 0
// for contracts in construction, since the code is only stored at the end
// of the constructor execution.
return account.code.length > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
(bool success, ) = recipient.call{value: amount}("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain `call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value
) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
require(isContract(target), "Address: call to non-contract");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
require(isContract(target), "Address: static call to non-contract");
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason using the provided one.
*
* _Available since v4.3._
*/
function verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) internal pure returns (bytes memory) {
if (success) {
return returndata;
} else {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts 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 (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 (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)
pragma solidity ^0.8.0;
import "../IERC721.sol";
/**
* @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Enumerable is IERC721 {
/**
* @dev Returns the total amount of tokens stored by the contract.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns a token ID owned by `owner` at a given `index` of its token list.
* Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
*/
function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);
/**
* @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
* Use along with {totalSupply} to enumerate all tokens.
*/
function tokenByIndex(uint256 index) external view returns (uint256);
}{
"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
Contract ABI
API[{"inputs":[],"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":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"owner","type":"address"}],"name":"EmojiMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"addToPresaleList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devReserve","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokenPurchase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintEmoji","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"onPreSaleList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"presaleEmoji","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"presaleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleMaxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"removeFromPresaleList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_reserveAmount","type":"uint256"}],"name":"reserveTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMAX_TOKENS","type":"uint256"}],"name":"setMAX_TOKENS","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxMint","type":"uint256"}],"name":"setPresaleMaxMint","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":[],"name":"togglePresaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleSaleState","outputs":[],"stateMutability":"nonpayable","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":[],"name":"tokenPrice","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":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]Contract Creation Code
6080604052610d05600b5560405180602001604052806000815250600c9080519060200190620000319291906200022f565b506000600d60006101000a81548160ff0219169083151502179055506000600d60016101000a81548160ff0219169083151502179055506000600d60026101000a81548160ff021916908315150217905550601e60105560006011553480156200009a57600080fd5b506040518060400160405280600c81526020017f5061696e7465644d6665727300000000000000000000000000000000000000008152506040518060400160405280600581526020017f5045444d4600000000000000000000000000000000000000000000000000000081525081600090805190602001906200011f9291906200022f565b508060019080519060200190620001389291906200022f565b5050506200015b6200014f6200016160201b60201c565b6200016960201b60201c565b62000344565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200023d90620002df565b90600052602060002090601f016020900481019282620002615760008555620002ad565b82601f106200027c57805160ff1916838001178555620002ad565b82800160010185558215620002ad579182015b82811115620002ac5782518255916020019190600101906200028f565b5b509050620002bc9190620002c0565b5090565b5b80821115620002db576000816000905550600101620002c1565b5090565b60006002820490506001821680620002f857607f821691505b602082108114156200030f576200030e62000315565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6154f480620003546000396000f3fe6080604052600436106102515760003560e01c806378cf19e911610139578063b88d4fde116100b6578063e985e9c51161007a578063e985e9c514610873578063eb8d2444146108b0578063f285e69e146108db578063f2fde38b146108f2578063f47c84c51461091b578063fcd2a4271461094657610251565b8063b88d4fde146107b1578063bf6bd9ea146107da578063c87b56dd146107f6578063daaeec8614610833578063df4305d21461084a57610251565b8063946ef42a116100fd578063946ef42a146106f257806395d89b411461071d578063a22cb46514610748578063a475b5dd14610771578063b179e0601461078857610251565b806378cf19e91461061a5780637ff9b596146106435780638462151c1461066e5780638caa6bcd146106ab5780638da5cb5b146106c757610251565b80633ccfd60b116101d25780636352211e116101965780636352211e1461050c5780636c0360eb146105495780636cae8d0d1461057457806370a082311461059d578063715018a6146105da5780637204a3c9146105f157610251565b80633ccfd60b1461044857806342842e0e146104525780634f6ccce71461047b57806354214f69146104b857806355f804b3146104e357610251565b806311576b791161021957806311576b791461034f57806318160ddd1461038c57806323b872dd146103b75780632f745c59146103e057806330f72cd41461041d57610251565b806301ffc9a71461025657806306fdde0314610293578063081812fc146102be578063095ea7b3146102fb57806309aa3dcf14610324575b600080fd5b34801561026257600080fd5b5061027d60048036038101906102789190613ce5565b610971565b60405161028a9190614400565b60405180910390f35b34801561029f57600080fd5b506102a8610983565b6040516102b5919061441b565b60405180910390f35b3480156102ca57600080fd5b506102e560048036038101906102e09190613d78565b610a15565b6040516102f29190614377565b60405180910390f35b34801561030757600080fd5b50610322600480360381019061031d9190613c64565b610a9a565b005b34801561033057600080fd5b50610339610bb2565b60405161034691906147dd565b60405180910390f35b34801561035b57600080fd5b5061037660048036038101906103719190613af9565b610bb7565b6040516103839190614400565b60405180910390f35b34801561039857600080fd5b506103a1610c0d565b6040516103ae91906147dd565b60405180910390f35b3480156103c357600080fd5b506103de60048036038101906103d99190613b5e565b610c1a565b005b3480156103ec57600080fd5b5061040760048036038101906104029190613c64565b610c7a565b60405161041491906147dd565b60405180910390f35b34801561042957600080fd5b50610432610d1f565b60405161043f9190614400565b60405180910390f35b610450610d32565b005b34801561045e57600080fd5b5061047960048036038101906104749190613b5e565b610e2e565b005b34801561048757600080fd5b506104a2600480360381019061049d9190613d78565b610e4e565b6040516104af91906147dd565b60405180910390f35b3480156104c457600080fd5b506104cd610ee5565b6040516104da9190614400565b60405180910390f35b3480156104ef57600080fd5b5061050a60048036038101906105059190613d37565b610ef8565b005b34801561051857600080fd5b50610533600480360381019061052e9190613d78565b610f8e565b6040516105409190614377565b60405180910390f35b34801561055557600080fd5b5061055e611040565b60405161056b919061441b565b60405180910390f35b34801561058057600080fd5b5061059b60048036038101906105969190613d78565b6110ce565b005b3480156105a957600080fd5b506105c460048036038101906105bf9190613af9565b611154565b6040516105d191906147dd565b60405180910390f35b3480156105e657600080fd5b506105ef61120c565b005b3480156105fd57600080fd5b5061061860048036038101906106139190613ca0565b611294565b005b34801561062657600080fd5b50610641600480360381019061063c9190613c64565b611498565b005b34801561064f57600080fd5b506106586115ba565b60405161066591906147dd565b60405180910390f35b34801561067a57600080fd5b5061069560048036038101906106909190613af9565b6115c5565b6040516106a291906143de565b60405180910390f35b6106c560048036038101906106c09190613d78565b611741565b005b3480156106d357600080fd5b506106dc611aab565b6040516106e99190614377565b60405180910390f35b3480156106fe57600080fd5b50610707611ad5565b60405161071491906147dd565b60405180910390f35b34801561072957600080fd5b50610732611adb565b60405161073f919061441b565b60405180910390f35b34801561075457600080fd5b5061076f600480360381019061076a9190613c28565b611b6d565b005b34801561077d57600080fd5b50610786611b83565b005b34801561079457600080fd5b506107af60048036038101906107aa9190613ca0565b611c1c565b005b3480156107bd57600080fd5b506107d860048036038101906107d39190613bad565b611e20565b005b6107f460048036038101906107ef9190613d78565b611e82565b005b34801561080257600080fd5b5061081d60048036038101906108189190613d78565b612072565b60405161082a919061441b565b60405180910390f35b34801561083f57600080fd5b50610848612157565b005b34801561085657600080fd5b50610871600480360381019061086c9190613d78565b6121ff565b005b34801561087f57600080fd5b5061089a60048036038101906108959190613b22565b612285565b6040516108a79190614400565b60405180910390f35b3480156108bc57600080fd5b506108c5612319565b6040516108d29190614400565b60405180910390f35b3480156108e757600080fd5b506108f061232c565b005b3480156108fe57600080fd5b5061091960048036038101906109149190613af9565b6123d4565b005b34801561092757600080fd5b506109306124cc565b60405161093d91906147dd565b60405180910390f35b34801561095257600080fd5b5061095b6124d2565b60405161096891906147dd565b60405180910390f35b600061097c826124d8565b9050919050565b60606000805461099290614afa565b80601f01602080910402602001604051908101604052809291908181526020018280546109be90614afa565b8015610a0b5780601f106109e057610100808354040283529160200191610a0b565b820191906000526020600020905b8154815290600101906020018083116109ee57829003601f168201915b5050505050905090565b6000610a2082612552565b610a5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a569061467d565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610aa582610f8e565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0d9061471d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b356125be565b73ffffffffffffffffffffffffffffffffffffffff161480610b645750610b6381610b5e6125be565b612285565b5b610ba3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9a906145dd565b60405180910390fd5b610bad83836125c6565b505050565b601481565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6000600980549050905090565b610c2b610c256125be565b8261267f565b610c6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c619061473d565b60405180910390fd5b610c7583838361275d565b505050565b6000610c8583611154565b8210610cc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbd9061445d565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600d60019054906101000a900460ff1681565b610d3a6125be565b73ffffffffffffffffffffffffffffffffffffffff16610d58611aab565b73ffffffffffffffffffffffffffffffffffffffff1614610dae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da59061469d565b60405180910390fd5b6000610db8611aab565b73ffffffffffffffffffffffffffffffffffffffff1647604051610ddb90614362565b60006040518083038185875af1925050503d8060008114610e18576040519150601f19603f3d011682016040523d82523d6000602084013e610e1d565b606091505b5050905080610e2b57600080fd5b50565b610e4983838360405180602001604052806000815250611e20565b505050565b6000610e58610c0d565b8210610e99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e909061475d565b60405180910390fd5b60098281548110610ed3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b600d60029054906101000a900460ff1681565b610f006125be565b73ffffffffffffffffffffffffffffffffffffffff16610f1e611aab565b73ffffffffffffffffffffffffffffffffffffffff1614610f74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6b9061469d565b60405180910390fd5b80600c9080519060200190610f8a9291906138d3565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611037576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102e9061461d565b60405180910390fd5b80915050919050565b600c805461104d90614afa565b80601f016020809104026020016040519081016040528092919081815260200182805461107990614afa565b80156110c65780601f1061109b576101008083540402835291602001916110c6565b820191906000526020600020905b8154815290600101906020018083116110a957829003601f168201915b505050505081565b6110d66125be565b73ffffffffffffffffffffffffffffffffffffffff166110f4611aab565b73ffffffffffffffffffffffffffffffffffffffff161461114a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111419061469d565b60405180910390fd5b80600b8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111bc906145fd565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6112146125be565b73ffffffffffffffffffffffffffffffffffffffff16611232611aab565b73ffffffffffffffffffffffffffffffffffffffff1614611288576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127f9061469d565b60405180910390fd5b61129260006129c4565b565b61129c6125be565b73ffffffffffffffffffffffffffffffffffffffff166112ba611aab565b73ffffffffffffffffffffffffffffffffffffffff1614611310576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113079061469d565b60405180910390fd5b60005b8282905081101561149357600073ffffffffffffffffffffffffffffffffffffffff1683838381811061136f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906113849190613af9565b73ffffffffffffffffffffffffffffffffffffffff1614156113db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d2906146bd565b60405180910390fd5b6001600e600085858581811061141a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201602081019061142f9190613af9565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550808061148b90614b5d565b915050611313565b505050565b6114a06125be565b73ffffffffffffffffffffffffffffffffffffffff166114be611aab565b73ffffffffffffffffffffffffffffffffffffffff1614611514576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150b9061469d565b60405180910390fd5b60008111801561152657506011548111155b611565576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155c9061453d565b60405180910390fd5b60005b8181101561159a57600061157a610c0d565b90506115868482612a8a565b50808061159290614b5d565b915050611568565b506115b081601154612aa890919063ffffffff16565b6011819055505050565b662386f26fc1000081565b606060006115d283611154565b9050600081141561165557600067ffffffffffffffff81111561161e577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561164c5781602001602082028036833780820191505090505b5091505061173c565b60008167ffffffffffffffff811115611697577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156116c55781602001602082028036833780820191505090505b50905060005b82811015611735576116dd8582610c7a565b828281518110611716577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050808061172d90614b5d565b9150506116cb565b8193505050505b919050565b600d60019054906101000a900460ff16611790576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117879061477d565b60405180910390fd5b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661181c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611813906144fd565b60405180910390fd5b600b546118398261182b610c0d565b612abe90919063ffffffff16565b111561187a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611871906146dd565b60405180910390fd5b60008111801561188c57506010548111155b6118cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c2906147bd565b60405180910390fd5b60105461192082600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612abe90919063ffffffff16565b1115611961576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119589061479d565b60405180910390fd5b61197b81662386f26fc10000612ad490919063ffffffff16565b3410156119bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b49061459d565b60405180910390fd5b60005b81811015611aa75760006119e560016119d7610c0d565b612abe90919063ffffffff16565b9050600b546119f2610c0d565b1015611a93576001600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a48919061492f565b92505081905550611a593382612a8a565b7f7853d1461ac86ac48ba5b6be5e468cb642eeba574b7b287ae5e6e5174dd2b4f18133604051611a8a9291906147f8565b60405180910390a15b508080611a9f90614b5d565b9150506119c0565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60105481565b606060018054611aea90614afa565b80601f0160208091040260200160405190810160405280929190818152602001828054611b1690614afa565b8015611b635780601f10611b3857610100808354040283529160200191611b63565b820191906000526020600020905b815481529060010190602001808311611b4657829003601f168201915b5050505050905090565b611b7f611b786125be565b8383612aea565b5050565b611b8b6125be565b73ffffffffffffffffffffffffffffffffffffffff16611ba9611aab565b73ffffffffffffffffffffffffffffffffffffffff1614611bff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf69061469d565b60405180910390fd5b6001600d60026101000a81548160ff021916908315150217905550565b611c246125be565b73ffffffffffffffffffffffffffffffffffffffff16611c42611aab565b73ffffffffffffffffffffffffffffffffffffffff1614611c98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8f9061469d565b60405180910390fd5b60005b82829050811015611e1b57600073ffffffffffffffffffffffffffffffffffffffff16838383818110611cf7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611d0c9190613af9565b73ffffffffffffffffffffffffffffffffffffffff161415611d63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5a906146bd565b60405180910390fd5b6000600e6000858585818110611da2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611db79190613af9565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611e1390614b5d565b915050611c9b565b505050565b611e31611e2b6125be565b8361267f565b611e70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e679061473d565b60405180910390fd5b611e7c84848484612c57565b50505050565b600d60009054906101000a900460ff16611ed1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec89061451d565b60405180910390fd5b600081118015611ee2575060148111155b611f21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f189061443d565b60405180910390fd5b600b54611f3e82611f30610c0d565b612abe90919063ffffffff16565b1115611f7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f769061463d565b60405180910390fd5b611f9981662386f26fc10000612ad490919063ffffffff16565b341015611fdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd29061459d565b60405180910390fd5b60005b8181101561206e5760006120036001611ff5610c0d565b612abe90919063ffffffff16565b9050600b54612010610c0d565b101561205a576120203382612a8a565b7f7853d1461ac86ac48ba5b6be5e468cb642eeba574b7b287ae5e6e5174dd2b4f181336040516120519291906147f8565b60405180910390a15b50808061206690614b5d565b915050611fde565b5050565b606061207d82612552565b6120bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b3906146fd565b60405180910390fd5b60006120c6612cb3565b905060001515600d60029054906101000a900460ff16151514156121055760405180608001604052806041815260200161547e60419139915050612152565b6000815111612123576040518060200160405280600081525061214e565b8061212d84612d45565b60405160200161213e929190614333565b6040516020818303038152906040525b9150505b919050565b61215f6125be565b73ffffffffffffffffffffffffffffffffffffffff1661217d611aab565b73ffffffffffffffffffffffffffffffffffffffff16146121d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ca9061469d565b60405180910390fd5b600d60009054906101000a900460ff1615600d60006101000a81548160ff021916908315150217905550565b6122076125be565b73ffffffffffffffffffffffffffffffffffffffff16612225611aab565b73ffffffffffffffffffffffffffffffffffffffff161461227b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122729061469d565b60405180910390fd5b8060108190555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600d60009054906101000a900460ff1681565b6123346125be565b73ffffffffffffffffffffffffffffffffffffffff16612352611aab565b73ffffffffffffffffffffffffffffffffffffffff16146123a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239f9061469d565b60405180910390fd5b600d60019054906101000a900460ff1615600d60016101000a81548160ff021916908315150217905550565b6123dc6125be565b73ffffffffffffffffffffffffffffffffffffffff166123fa611aab565b73ffffffffffffffffffffffffffffffffffffffff1614612450576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124479061469d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156124c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124b79061449d565b60405180910390fd5b6124c9816129c4565b50565b600b5481565b60115481565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061254b575061254a82612ef2565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661263983610f8e565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061268a82612552565b6126c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126c0906145bd565b60405180910390fd5b60006126d483610f8e565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061274357508373ffffffffffffffffffffffffffffffffffffffff1661272b84610a15565b73ffffffffffffffffffffffffffffffffffffffff16145b8061275457506127538185612285565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661277d82610f8e565b73ffffffffffffffffffffffffffffffffffffffff16146127d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ca906144bd565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612843576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161283a9061455d565b60405180910390fd5b61284e838383612fd4565b6128596000826125c6565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128a99190614a10565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612900919061492f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46129bf838383612fe4565b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612aa4828260405180602001604052806000815250612fe9565b5050565b60008183612ab69190614a10565b905092915050565b60008183612acc919061492f565b905092915050565b60008183612ae291906149b6565b905092915050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612b59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b509061457d565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612c4a9190614400565b60405180910390a3505050565b612c6284848461275d565b612c6e84848484613044565b612cad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ca49061447d565b60405180910390fd5b50505050565b6060600c8054612cc290614afa565b80601f0160208091040260200160405190810160405280929190818152602001828054612cee90614afa565b8015612d3b5780601f10612d1057610100808354040283529160200191612d3b565b820191906000526020600020905b815481529060010190602001808311612d1e57829003601f168201915b5050505050905090565b60606000821415612d8d576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612eed565b600082905060005b60008214612dbf578080612da890614b5d565b915050600a82612db89190614985565b9150612d95565b60008167ffffffffffffffff811115612e01577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612e335781602001600182028036833780820191505090505b5090505b60008514612ee657600182612e4c9190614a10565b9150600a85612e5b9190614ba6565b6030612e67919061492f565b60f81b818381518110612ea3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612edf9190614985565b9450612e37565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612fbd57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612fcd5750612fcc826131db565b5b9050919050565b612fdf838383613245565b505050565b505050565b612ff38383613359565b6130006000848484613044565b61303f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130369061447d565b60405180910390fd5b505050565b60006130658473ffffffffffffffffffffffffffffffffffffffff16613533565b156131ce578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261308e6125be565b8786866040518563ffffffff1660e01b81526004016130b09493929190614392565b602060405180830381600087803b1580156130ca57600080fd5b505af19250505080156130fb57506040513d601f19601f820116820180604052508101906130f89190613d0e565b60015b61317e573d806000811461312b576040519150601f19603f3d011682016040523d82523d6000602084013e613130565b606091505b50600081511415613176576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161316d9061447d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506131d3565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b613250838383613556565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156132935761328e8161355b565b6132d2565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146132d1576132d083826135a4565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156133155761331081613711565b613354565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613353576133528282613854565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156133c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133c09061465d565b60405180910390fd5b6133d281612552565b15613412576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613409906144dd565b60405180910390fd5b61341e60008383612fd4565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461346e919061492f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461352f60008383612fe4565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016135b184611154565b6135bb9190614a10565b90506000600860008481526020019081526020016000205490508181146136a0576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016009805490506137259190614a10565b90506000600a600084815260200190815260200160002054905060006009838154811061377b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600983815481106137c3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a6000858152602001908152602001600020600090556009805480613838577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061385f83611154565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b8280546138df90614afa565b90600052602060002090601f0160209004810192826139015760008555613948565b82601f1061391a57805160ff1916838001178555613948565b82800160010185558215613948579182015b8281111561394757825182559160200191906001019061392c565b5b5090506139559190613959565b5090565b5b8082111561397257600081600090555060010161395a565b5090565b600061398961398484614846565b614821565b9050828152602081018484840111156139a157600080fd5b6139ac848285614ab8565b509392505050565b60006139c76139c284614877565b614821565b9050828152602081018484840111156139df57600080fd5b6139ea848285614ab8565b509392505050565b600081359050613a0181615421565b92915050565b60008083601f840112613a1957600080fd5b8235905067ffffffffffffffff811115613a3257600080fd5b602083019150836020820283011115613a4a57600080fd5b9250929050565b600081359050613a6081615438565b92915050565b600081359050613a758161544f565b92915050565b600081519050613a8a8161544f565b92915050565b600082601f830112613aa157600080fd5b8135613ab1848260208601613976565b91505092915050565b600082601f830112613acb57600080fd5b8135613adb8482602086016139b4565b91505092915050565b600081359050613af381615466565b92915050565b600060208284031215613b0b57600080fd5b6000613b19848285016139f2565b91505092915050565b60008060408385031215613b3557600080fd5b6000613b43858286016139f2565b9250506020613b54858286016139f2565b9150509250929050565b600080600060608486031215613b7357600080fd5b6000613b81868287016139f2565b9350506020613b92868287016139f2565b9250506040613ba386828701613ae4565b9150509250925092565b60008060008060808587031215613bc357600080fd5b6000613bd1878288016139f2565b9450506020613be2878288016139f2565b9350506040613bf387828801613ae4565b925050606085013567ffffffffffffffff811115613c1057600080fd5b613c1c87828801613a90565b91505092959194509250565b60008060408385031215613c3b57600080fd5b6000613c49858286016139f2565b9250506020613c5a85828601613a51565b9150509250929050565b60008060408385031215613c7757600080fd5b6000613c85858286016139f2565b9250506020613c9685828601613ae4565b9150509250929050565b60008060208385031215613cb357600080fd5b600083013567ffffffffffffffff811115613ccd57600080fd5b613cd985828601613a07565b92509250509250929050565b600060208284031215613cf757600080fd5b6000613d0584828501613a66565b91505092915050565b600060208284031215613d2057600080fd5b6000613d2e84828501613a7b565b91505092915050565b600060208284031215613d4957600080fd5b600082013567ffffffffffffffff811115613d6357600080fd5b613d6f84828501613aba565b91505092915050565b600060208284031215613d8a57600080fd5b6000613d9884828501613ae4565b91505092915050565b6000613dad8383614315565b60208301905092915050565b613dc281614a44565b82525050565b6000613dd3826148b8565b613ddd81856148e6565b9350613de8836148a8565b8060005b83811015613e19578151613e008882613da1565b9750613e0b836148d9565b925050600181019050613dec565b5085935050505092915050565b613e2f81614a56565b82525050565b6000613e40826148c3565b613e4a81856148f7565b9350613e5a818560208601614ac7565b613e6381614c93565b840191505092915050565b6000613e79826148ce565b613e838185614913565b9350613e93818560208601614ac7565b613e9c81614c93565b840191505092915050565b6000613eb2826148ce565b613ebc8185614924565b9350613ecc818560208601614ac7565b80840191505092915050565b6000613ee5602a83614913565b9150613ef082614ca4565b604082019050919050565b6000613f08602b83614913565b9150613f1382614cf3565b604082019050919050565b6000613f2b603283614913565b9150613f3682614d42565b604082019050919050565b6000613f4e602683614913565b9150613f5982614d91565b604082019050919050565b6000613f71602583614913565b9150613f7c82614de0565b604082019050919050565b6000613f94601c83614913565b9150613f9f82614e2f565b602082019050919050565b6000613fb7601f83614913565b9150613fc282614e58565b602082019050919050565b6000613fda602183614913565b9150613fe582614e81565b604082019050919050565b6000613ffd602083614913565b915061400882614ed0565b602082019050919050565b6000614020602483614913565b915061402b82614ef9565b604082019050919050565b6000614043601983614913565b915061404e82614f48565b602082019050919050565b6000614066601f83614913565b915061407182614f71565b602082019050919050565b6000614089602c83614913565b915061409482614f9a565b604082019050919050565b60006140ac603883614913565b91506140b782614fe9565b604082019050919050565b60006140cf602a83614913565b91506140da82615038565b604082019050919050565b60006140f2602983614913565b91506140fd82615087565b604082019050919050565b6000614115602a83614913565b9150614120826150d6565b604082019050919050565b6000614138602083614913565b915061414382615125565b602082019050919050565b600061415b602c83614913565b91506141668261514e565b604082019050919050565b600061417e600583614924565b91506141898261519d565b600582019050919050565b60006141a1602083614913565b91506141ac826151c6565b602082019050919050565b60006141c4601a83614913565b91506141cf826151ef565b602082019050919050565b60006141e7602983614913565b91506141f282615218565b604082019050919050565b600061420a602f83614913565b915061421582615267565b604082019050919050565b600061422d602183614913565b9150614238826152b6565b604082019050919050565b6000614250600083614908565b915061425b82615305565b600082019050919050565b6000614273603183614913565b915061427e82615308565b604082019050919050565b6000614296602c83614913565b91506142a182615357565b604082019050919050565b60006142b9601583614913565b91506142c4826153a6565b602082019050919050565b60006142dc601c83614913565b91506142e7826153cf565b602082019050919050565b60006142ff602083614913565b915061430a826153f8565b602082019050919050565b61431e81614aae565b82525050565b61432d81614aae565b82525050565b600061433f8285613ea7565b915061434b8284613ea7565b915061435682614171565b91508190509392505050565b600061436d82614243565b9150819050919050565b600060208201905061438c6000830184613db9565b92915050565b60006080820190506143a76000830187613db9565b6143b46020830186613db9565b6143c16040830185614324565b81810360608301526143d38184613e35565b905095945050505050565b600060208201905081810360008301526143f88184613dc8565b905092915050565b60006020820190506144156000830184613e26565b92915050565b600060208201905081810360008301526144358184613e6e565b905092915050565b6000602082019050818103600083015261445681613ed8565b9050919050565b6000602082019050818103600083015261447681613efb565b9050919050565b6000602082019050818103600083015261449681613f1e565b9050919050565b600060208201905081810360008301526144b681613f41565b9050919050565b600060208201905081810360008301526144d681613f64565b9050919050565b600060208201905081810360008301526144f681613f87565b9050919050565b6000602082019050818103600083015261451681613faa565b9050919050565b6000602082019050818103600083015261453681613fcd565b9050919050565b6000602082019050818103600083015261455681613ff0565b9050919050565b6000602082019050818103600083015261457681614013565b9050919050565b6000602082019050818103600083015261459681614036565b9050919050565b600060208201905081810360008301526145b681614059565b9050919050565b600060208201905081810360008301526145d68161407c565b9050919050565b600060208201905081810360008301526145f68161409f565b9050919050565b60006020820190508181036000830152614616816140c2565b9050919050565b60006020820190508181036000830152614636816140e5565b9050919050565b6000602082019050818103600083015261465681614108565b9050919050565b600060208201905081810360008301526146768161412b565b9050919050565b600060208201905081810360008301526146968161414e565b9050919050565b600060208201905081810360008301526146b681614194565b9050919050565b600060208201905081810360008301526146d6816141b7565b9050919050565b600060208201905081810360008301526146f6816141da565b9050919050565b60006020820190508181036000830152614716816141fd565b9050919050565b6000602082019050818103600083015261473681614220565b9050919050565b6000602082019050818103600083015261475681614266565b9050919050565b6000602082019050818103600083015261477681614289565b9050919050565b60006020820190508181036000830152614796816142ac565b9050919050565b600060208201905081810360008301526147b6816142cf565b9050919050565b600060208201905081810360008301526147d6816142f2565b9050919050565b60006020820190506147f26000830184614324565b92915050565b600060408201905061480d6000830185614324565b61481a6020830184613db9565b9392505050565b600061482b61483c565b90506148378282614b2c565b919050565b6000604051905090565b600067ffffffffffffffff82111561486157614860614c64565b5b61486a82614c93565b9050602081019050919050565b600067ffffffffffffffff82111561489257614891614c64565b5b61489b82614c93565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061493a82614aae565b915061494583614aae565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561497a57614979614bd7565b5b828201905092915050565b600061499082614aae565b915061499b83614aae565b9250826149ab576149aa614c06565b5b828204905092915050565b60006149c182614aae565b91506149cc83614aae565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614a0557614a04614bd7565b5b828202905092915050565b6000614a1b82614aae565b9150614a2683614aae565b925082821015614a3957614a38614bd7565b5b828203905092915050565b6000614a4f82614a8e565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614ae5578082015181840152602081019050614aca565b83811115614af4576000848401525b50505050565b60006002820490506001821680614b1257607f821691505b60208210811415614b2657614b25614c35565b5b50919050565b614b3582614c93565b810181811067ffffffffffffffff82111715614b5457614b53614c64565b5b80604052505050565b6000614b6882614aae565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614b9b57614b9a614bd7565b5b600182019050919050565b6000614bb182614aae565b9150614bbc83614aae565b925082614bcc57614bcb614c06565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f43616e206f6e6c79206d696e74206f6e65206f72206d6f726520746f6b656e7360008201527f20617420612074696d6500000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f596f7520617265206e6f74206f6e207468652050726573616c65204c69737400600082015250565b7f53616c65206d7573742062652061637469766520746f206d696e7420546f6b6560008201527f6e00000000000000000000000000000000000000000000000000000000000000602082015250565b7f4e6f7420656e6f7567682072657365727665206c65667420666f72207465616d600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f6620746f6b656e7300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f43616e27742061646420746865206e756c6c2061646472657373000000000000600082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f6620746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f50726573616c65206973206e6f74206163746976650000000000000000000000600082015250565b7f50757263686173652065786365656473206d617820616c6c6f77656400000000600082015250565b7f43616e6e6f742070757263686173652074686973206d616e7920746f6b656e73600082015250565b61542a81614a44565b811461543557600080fd5b50565b61544181614a56565b811461544c57600080fd5b50565b61545881614a62565b811461546357600080fd5b50565b61546f81614aae565b811461547a57600080fd5b5056fe697066733a2f2f516d5947417033477a316d35556d466856345056525250594533484c31416d4377454b4650786e673439387666622f68696464656e2e6a736f6ea2646970667358221220f789052ee3253186b8061a9bbbd9f7482e31235c44def88e0b7f354e8359077064736f6c63430008040033
Deployed Bytecode
0x6080604052600436106102515760003560e01c806378cf19e911610139578063b88d4fde116100b6578063e985e9c51161007a578063e985e9c514610873578063eb8d2444146108b0578063f285e69e146108db578063f2fde38b146108f2578063f47c84c51461091b578063fcd2a4271461094657610251565b8063b88d4fde146107b1578063bf6bd9ea146107da578063c87b56dd146107f6578063daaeec8614610833578063df4305d21461084a57610251565b8063946ef42a116100fd578063946ef42a146106f257806395d89b411461071d578063a22cb46514610748578063a475b5dd14610771578063b179e0601461078857610251565b806378cf19e91461061a5780637ff9b596146106435780638462151c1461066e5780638caa6bcd146106ab5780638da5cb5b146106c757610251565b80633ccfd60b116101d25780636352211e116101965780636352211e1461050c5780636c0360eb146105495780636cae8d0d1461057457806370a082311461059d578063715018a6146105da5780637204a3c9146105f157610251565b80633ccfd60b1461044857806342842e0e146104525780634f6ccce71461047b57806354214f69146104b857806355f804b3146104e357610251565b806311576b791161021957806311576b791461034f57806318160ddd1461038c57806323b872dd146103b75780632f745c59146103e057806330f72cd41461041d57610251565b806301ffc9a71461025657806306fdde0314610293578063081812fc146102be578063095ea7b3146102fb57806309aa3dcf14610324575b600080fd5b34801561026257600080fd5b5061027d60048036038101906102789190613ce5565b610971565b60405161028a9190614400565b60405180910390f35b34801561029f57600080fd5b506102a8610983565b6040516102b5919061441b565b60405180910390f35b3480156102ca57600080fd5b506102e560048036038101906102e09190613d78565b610a15565b6040516102f29190614377565b60405180910390f35b34801561030757600080fd5b50610322600480360381019061031d9190613c64565b610a9a565b005b34801561033057600080fd5b50610339610bb2565b60405161034691906147dd565b60405180910390f35b34801561035b57600080fd5b5061037660048036038101906103719190613af9565b610bb7565b6040516103839190614400565b60405180910390f35b34801561039857600080fd5b506103a1610c0d565b6040516103ae91906147dd565b60405180910390f35b3480156103c357600080fd5b506103de60048036038101906103d99190613b5e565b610c1a565b005b3480156103ec57600080fd5b5061040760048036038101906104029190613c64565b610c7a565b60405161041491906147dd565b60405180910390f35b34801561042957600080fd5b50610432610d1f565b60405161043f9190614400565b60405180910390f35b610450610d32565b005b34801561045e57600080fd5b5061047960048036038101906104749190613b5e565b610e2e565b005b34801561048757600080fd5b506104a2600480360381019061049d9190613d78565b610e4e565b6040516104af91906147dd565b60405180910390f35b3480156104c457600080fd5b506104cd610ee5565b6040516104da9190614400565b60405180910390f35b3480156104ef57600080fd5b5061050a60048036038101906105059190613d37565b610ef8565b005b34801561051857600080fd5b50610533600480360381019061052e9190613d78565b610f8e565b6040516105409190614377565b60405180910390f35b34801561055557600080fd5b5061055e611040565b60405161056b919061441b565b60405180910390f35b34801561058057600080fd5b5061059b60048036038101906105969190613d78565b6110ce565b005b3480156105a957600080fd5b506105c460048036038101906105bf9190613af9565b611154565b6040516105d191906147dd565b60405180910390f35b3480156105e657600080fd5b506105ef61120c565b005b3480156105fd57600080fd5b5061061860048036038101906106139190613ca0565b611294565b005b34801561062657600080fd5b50610641600480360381019061063c9190613c64565b611498565b005b34801561064f57600080fd5b506106586115ba565b60405161066591906147dd565b60405180910390f35b34801561067a57600080fd5b5061069560048036038101906106909190613af9565b6115c5565b6040516106a291906143de565b60405180910390f35b6106c560048036038101906106c09190613d78565b611741565b005b3480156106d357600080fd5b506106dc611aab565b6040516106e99190614377565b60405180910390f35b3480156106fe57600080fd5b50610707611ad5565b60405161071491906147dd565b60405180910390f35b34801561072957600080fd5b50610732611adb565b60405161073f919061441b565b60405180910390f35b34801561075457600080fd5b5061076f600480360381019061076a9190613c28565b611b6d565b005b34801561077d57600080fd5b50610786611b83565b005b34801561079457600080fd5b506107af60048036038101906107aa9190613ca0565b611c1c565b005b3480156107bd57600080fd5b506107d860048036038101906107d39190613bad565b611e20565b005b6107f460048036038101906107ef9190613d78565b611e82565b005b34801561080257600080fd5b5061081d60048036038101906108189190613d78565b612072565b60405161082a919061441b565b60405180910390f35b34801561083f57600080fd5b50610848612157565b005b34801561085657600080fd5b50610871600480360381019061086c9190613d78565b6121ff565b005b34801561087f57600080fd5b5061089a60048036038101906108959190613b22565b612285565b6040516108a79190614400565b60405180910390f35b3480156108bc57600080fd5b506108c5612319565b6040516108d29190614400565b60405180910390f35b3480156108e757600080fd5b506108f061232c565b005b3480156108fe57600080fd5b5061091960048036038101906109149190613af9565b6123d4565b005b34801561092757600080fd5b506109306124cc565b60405161093d91906147dd565b60405180910390f35b34801561095257600080fd5b5061095b6124d2565b60405161096891906147dd565b60405180910390f35b600061097c826124d8565b9050919050565b60606000805461099290614afa565b80601f01602080910402602001604051908101604052809291908181526020018280546109be90614afa565b8015610a0b5780601f106109e057610100808354040283529160200191610a0b565b820191906000526020600020905b8154815290600101906020018083116109ee57829003601f168201915b5050505050905090565b6000610a2082612552565b610a5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a569061467d565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610aa582610f8e565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0d9061471d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b356125be565b73ffffffffffffffffffffffffffffffffffffffff161480610b645750610b6381610b5e6125be565b612285565b5b610ba3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9a906145dd565b60405180910390fd5b610bad83836125c6565b505050565b601481565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6000600980549050905090565b610c2b610c256125be565b8261267f565b610c6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c619061473d565b60405180910390fd5b610c7583838361275d565b505050565b6000610c8583611154565b8210610cc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbd9061445d565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600d60019054906101000a900460ff1681565b610d3a6125be565b73ffffffffffffffffffffffffffffffffffffffff16610d58611aab565b73ffffffffffffffffffffffffffffffffffffffff1614610dae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da59061469d565b60405180910390fd5b6000610db8611aab565b73ffffffffffffffffffffffffffffffffffffffff1647604051610ddb90614362565b60006040518083038185875af1925050503d8060008114610e18576040519150601f19603f3d011682016040523d82523d6000602084013e610e1d565b606091505b5050905080610e2b57600080fd5b50565b610e4983838360405180602001604052806000815250611e20565b505050565b6000610e58610c0d565b8210610e99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e909061475d565b60405180910390fd5b60098281548110610ed3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b600d60029054906101000a900460ff1681565b610f006125be565b73ffffffffffffffffffffffffffffffffffffffff16610f1e611aab565b73ffffffffffffffffffffffffffffffffffffffff1614610f74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6b9061469d565b60405180910390fd5b80600c9080519060200190610f8a9291906138d3565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611037576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102e9061461d565b60405180910390fd5b80915050919050565b600c805461104d90614afa565b80601f016020809104026020016040519081016040528092919081815260200182805461107990614afa565b80156110c65780601f1061109b576101008083540402835291602001916110c6565b820191906000526020600020905b8154815290600101906020018083116110a957829003601f168201915b505050505081565b6110d66125be565b73ffffffffffffffffffffffffffffffffffffffff166110f4611aab565b73ffffffffffffffffffffffffffffffffffffffff161461114a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111419061469d565b60405180910390fd5b80600b8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111bc906145fd565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6112146125be565b73ffffffffffffffffffffffffffffffffffffffff16611232611aab565b73ffffffffffffffffffffffffffffffffffffffff1614611288576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127f9061469d565b60405180910390fd5b61129260006129c4565b565b61129c6125be565b73ffffffffffffffffffffffffffffffffffffffff166112ba611aab565b73ffffffffffffffffffffffffffffffffffffffff1614611310576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113079061469d565b60405180910390fd5b60005b8282905081101561149357600073ffffffffffffffffffffffffffffffffffffffff1683838381811061136f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906113849190613af9565b73ffffffffffffffffffffffffffffffffffffffff1614156113db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d2906146bd565b60405180910390fd5b6001600e600085858581811061141a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201602081019061142f9190613af9565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550808061148b90614b5d565b915050611313565b505050565b6114a06125be565b73ffffffffffffffffffffffffffffffffffffffff166114be611aab565b73ffffffffffffffffffffffffffffffffffffffff1614611514576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150b9061469d565b60405180910390fd5b60008111801561152657506011548111155b611565576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155c9061453d565b60405180910390fd5b60005b8181101561159a57600061157a610c0d565b90506115868482612a8a565b50808061159290614b5d565b915050611568565b506115b081601154612aa890919063ffffffff16565b6011819055505050565b662386f26fc1000081565b606060006115d283611154565b9050600081141561165557600067ffffffffffffffff81111561161e577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561164c5781602001602082028036833780820191505090505b5091505061173c565b60008167ffffffffffffffff811115611697577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156116c55781602001602082028036833780820191505090505b50905060005b82811015611735576116dd8582610c7a565b828281518110611716577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050808061172d90614b5d565b9150506116cb565b8193505050505b919050565b600d60019054906101000a900460ff16611790576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117879061477d565b60405180910390fd5b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661181c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611813906144fd565b60405180910390fd5b600b546118398261182b610c0d565b612abe90919063ffffffff16565b111561187a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611871906146dd565b60405180910390fd5b60008111801561188c57506010548111155b6118cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c2906147bd565b60405180910390fd5b60105461192082600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612abe90919063ffffffff16565b1115611961576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119589061479d565b60405180910390fd5b61197b81662386f26fc10000612ad490919063ffffffff16565b3410156119bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b49061459d565b60405180910390fd5b60005b81811015611aa75760006119e560016119d7610c0d565b612abe90919063ffffffff16565b9050600b546119f2610c0d565b1015611a93576001600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a48919061492f565b92505081905550611a593382612a8a565b7f7853d1461ac86ac48ba5b6be5e468cb642eeba574b7b287ae5e6e5174dd2b4f18133604051611a8a9291906147f8565b60405180910390a15b508080611a9f90614b5d565b9150506119c0565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60105481565b606060018054611aea90614afa565b80601f0160208091040260200160405190810160405280929190818152602001828054611b1690614afa565b8015611b635780601f10611b3857610100808354040283529160200191611b63565b820191906000526020600020905b815481529060010190602001808311611b4657829003601f168201915b5050505050905090565b611b7f611b786125be565b8383612aea565b5050565b611b8b6125be565b73ffffffffffffffffffffffffffffffffffffffff16611ba9611aab565b73ffffffffffffffffffffffffffffffffffffffff1614611bff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf69061469d565b60405180910390fd5b6001600d60026101000a81548160ff021916908315150217905550565b611c246125be565b73ffffffffffffffffffffffffffffffffffffffff16611c42611aab565b73ffffffffffffffffffffffffffffffffffffffff1614611c98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8f9061469d565b60405180910390fd5b60005b82829050811015611e1b57600073ffffffffffffffffffffffffffffffffffffffff16838383818110611cf7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611d0c9190613af9565b73ffffffffffffffffffffffffffffffffffffffff161415611d63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5a906146bd565b60405180910390fd5b6000600e6000858585818110611da2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611db79190613af9565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611e1390614b5d565b915050611c9b565b505050565b611e31611e2b6125be565b8361267f565b611e70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e679061473d565b60405180910390fd5b611e7c84848484612c57565b50505050565b600d60009054906101000a900460ff16611ed1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec89061451d565b60405180910390fd5b600081118015611ee2575060148111155b611f21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f189061443d565b60405180910390fd5b600b54611f3e82611f30610c0d565b612abe90919063ffffffff16565b1115611f7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f769061463d565b60405180910390fd5b611f9981662386f26fc10000612ad490919063ffffffff16565b341015611fdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd29061459d565b60405180910390fd5b60005b8181101561206e5760006120036001611ff5610c0d565b612abe90919063ffffffff16565b9050600b54612010610c0d565b101561205a576120203382612a8a565b7f7853d1461ac86ac48ba5b6be5e468cb642eeba574b7b287ae5e6e5174dd2b4f181336040516120519291906147f8565b60405180910390a15b50808061206690614b5d565b915050611fde565b5050565b606061207d82612552565b6120bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b3906146fd565b60405180910390fd5b60006120c6612cb3565b905060001515600d60029054906101000a900460ff16151514156121055760405180608001604052806041815260200161547e60419139915050612152565b6000815111612123576040518060200160405280600081525061214e565b8061212d84612d45565b60405160200161213e929190614333565b6040516020818303038152906040525b9150505b919050565b61215f6125be565b73ffffffffffffffffffffffffffffffffffffffff1661217d611aab565b73ffffffffffffffffffffffffffffffffffffffff16146121d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ca9061469d565b60405180910390fd5b600d60009054906101000a900460ff1615600d60006101000a81548160ff021916908315150217905550565b6122076125be565b73ffffffffffffffffffffffffffffffffffffffff16612225611aab565b73ffffffffffffffffffffffffffffffffffffffff161461227b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122729061469d565b60405180910390fd5b8060108190555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600d60009054906101000a900460ff1681565b6123346125be565b73ffffffffffffffffffffffffffffffffffffffff16612352611aab565b73ffffffffffffffffffffffffffffffffffffffff16146123a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239f9061469d565b60405180910390fd5b600d60019054906101000a900460ff1615600d60016101000a81548160ff021916908315150217905550565b6123dc6125be565b73ffffffffffffffffffffffffffffffffffffffff166123fa611aab565b73ffffffffffffffffffffffffffffffffffffffff1614612450576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124479061469d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156124c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124b79061449d565b60405180910390fd5b6124c9816129c4565b50565b600b5481565b60115481565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061254b575061254a82612ef2565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661263983610f8e565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061268a82612552565b6126c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126c0906145bd565b60405180910390fd5b60006126d483610f8e565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061274357508373ffffffffffffffffffffffffffffffffffffffff1661272b84610a15565b73ffffffffffffffffffffffffffffffffffffffff16145b8061275457506127538185612285565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661277d82610f8e565b73ffffffffffffffffffffffffffffffffffffffff16146127d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ca906144bd565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612843576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161283a9061455d565b60405180910390fd5b61284e838383612fd4565b6128596000826125c6565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128a99190614a10565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612900919061492f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46129bf838383612fe4565b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612aa4828260405180602001604052806000815250612fe9565b5050565b60008183612ab69190614a10565b905092915050565b60008183612acc919061492f565b905092915050565b60008183612ae291906149b6565b905092915050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612b59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b509061457d565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612c4a9190614400565b60405180910390a3505050565b612c6284848461275d565b612c6e84848484613044565b612cad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ca49061447d565b60405180910390fd5b50505050565b6060600c8054612cc290614afa565b80601f0160208091040260200160405190810160405280929190818152602001828054612cee90614afa565b8015612d3b5780601f10612d1057610100808354040283529160200191612d3b565b820191906000526020600020905b815481529060010190602001808311612d1e57829003601f168201915b5050505050905090565b60606000821415612d8d576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612eed565b600082905060005b60008214612dbf578080612da890614b5d565b915050600a82612db89190614985565b9150612d95565b60008167ffffffffffffffff811115612e01577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612e335781602001600182028036833780820191505090505b5090505b60008514612ee657600182612e4c9190614a10565b9150600a85612e5b9190614ba6565b6030612e67919061492f565b60f81b818381518110612ea3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612edf9190614985565b9450612e37565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612fbd57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612fcd5750612fcc826131db565b5b9050919050565b612fdf838383613245565b505050565b505050565b612ff38383613359565b6130006000848484613044565b61303f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130369061447d565b60405180910390fd5b505050565b60006130658473ffffffffffffffffffffffffffffffffffffffff16613533565b156131ce578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261308e6125be565b8786866040518563ffffffff1660e01b81526004016130b09493929190614392565b602060405180830381600087803b1580156130ca57600080fd5b505af19250505080156130fb57506040513d601f19601f820116820180604052508101906130f89190613d0e565b60015b61317e573d806000811461312b576040519150601f19603f3d011682016040523d82523d6000602084013e613130565b606091505b50600081511415613176576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161316d9061447d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506131d3565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b613250838383613556565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156132935761328e8161355b565b6132d2565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146132d1576132d083826135a4565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156133155761331081613711565b613354565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613353576133528282613854565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156133c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133c09061465d565b60405180910390fd5b6133d281612552565b15613412576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613409906144dd565b60405180910390fd5b61341e60008383612fd4565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461346e919061492f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461352f60008383612fe4565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016135b184611154565b6135bb9190614a10565b90506000600860008481526020019081526020016000205490508181146136a0576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016009805490506137259190614a10565b90506000600a600084815260200190815260200160002054905060006009838154811061377b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600983815481106137c3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a6000858152602001908152602001600020600090556009805480613838577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061385f83611154565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b8280546138df90614afa565b90600052602060002090601f0160209004810192826139015760008555613948565b82601f1061391a57805160ff1916838001178555613948565b82800160010185558215613948579182015b8281111561394757825182559160200191906001019061392c565b5b5090506139559190613959565b5090565b5b8082111561397257600081600090555060010161395a565b5090565b600061398961398484614846565b614821565b9050828152602081018484840111156139a157600080fd5b6139ac848285614ab8565b509392505050565b60006139c76139c284614877565b614821565b9050828152602081018484840111156139df57600080fd5b6139ea848285614ab8565b509392505050565b600081359050613a0181615421565b92915050565b60008083601f840112613a1957600080fd5b8235905067ffffffffffffffff811115613a3257600080fd5b602083019150836020820283011115613a4a57600080fd5b9250929050565b600081359050613a6081615438565b92915050565b600081359050613a758161544f565b92915050565b600081519050613a8a8161544f565b92915050565b600082601f830112613aa157600080fd5b8135613ab1848260208601613976565b91505092915050565b600082601f830112613acb57600080fd5b8135613adb8482602086016139b4565b91505092915050565b600081359050613af381615466565b92915050565b600060208284031215613b0b57600080fd5b6000613b19848285016139f2565b91505092915050565b60008060408385031215613b3557600080fd5b6000613b43858286016139f2565b9250506020613b54858286016139f2565b9150509250929050565b600080600060608486031215613b7357600080fd5b6000613b81868287016139f2565b9350506020613b92868287016139f2565b9250506040613ba386828701613ae4565b9150509250925092565b60008060008060808587031215613bc357600080fd5b6000613bd1878288016139f2565b9450506020613be2878288016139f2565b9350506040613bf387828801613ae4565b925050606085013567ffffffffffffffff811115613c1057600080fd5b613c1c87828801613a90565b91505092959194509250565b60008060408385031215613c3b57600080fd5b6000613c49858286016139f2565b9250506020613c5a85828601613a51565b9150509250929050565b60008060408385031215613c7757600080fd5b6000613c85858286016139f2565b9250506020613c9685828601613ae4565b9150509250929050565b60008060208385031215613cb357600080fd5b600083013567ffffffffffffffff811115613ccd57600080fd5b613cd985828601613a07565b92509250509250929050565b600060208284031215613cf757600080fd5b6000613d0584828501613a66565b91505092915050565b600060208284031215613d2057600080fd5b6000613d2e84828501613a7b565b91505092915050565b600060208284031215613d4957600080fd5b600082013567ffffffffffffffff811115613d6357600080fd5b613d6f84828501613aba565b91505092915050565b600060208284031215613d8a57600080fd5b6000613d9884828501613ae4565b91505092915050565b6000613dad8383614315565b60208301905092915050565b613dc281614a44565b82525050565b6000613dd3826148b8565b613ddd81856148e6565b9350613de8836148a8565b8060005b83811015613e19578151613e008882613da1565b9750613e0b836148d9565b925050600181019050613dec565b5085935050505092915050565b613e2f81614a56565b82525050565b6000613e40826148c3565b613e4a81856148f7565b9350613e5a818560208601614ac7565b613e6381614c93565b840191505092915050565b6000613e79826148ce565b613e838185614913565b9350613e93818560208601614ac7565b613e9c81614c93565b840191505092915050565b6000613eb2826148ce565b613ebc8185614924565b9350613ecc818560208601614ac7565b80840191505092915050565b6000613ee5602a83614913565b9150613ef082614ca4565b604082019050919050565b6000613f08602b83614913565b9150613f1382614cf3565b604082019050919050565b6000613f2b603283614913565b9150613f3682614d42565b604082019050919050565b6000613f4e602683614913565b9150613f5982614d91565b604082019050919050565b6000613f71602583614913565b9150613f7c82614de0565b604082019050919050565b6000613f94601c83614913565b9150613f9f82614e2f565b602082019050919050565b6000613fb7601f83614913565b9150613fc282614e58565b602082019050919050565b6000613fda602183614913565b9150613fe582614e81565b604082019050919050565b6000613ffd602083614913565b915061400882614ed0565b602082019050919050565b6000614020602483614913565b915061402b82614ef9565b604082019050919050565b6000614043601983614913565b915061404e82614f48565b602082019050919050565b6000614066601f83614913565b915061407182614f71565b602082019050919050565b6000614089602c83614913565b915061409482614f9a565b604082019050919050565b60006140ac603883614913565b91506140b782614fe9565b604082019050919050565b60006140cf602a83614913565b91506140da82615038565b604082019050919050565b60006140f2602983614913565b91506140fd82615087565b604082019050919050565b6000614115602a83614913565b9150614120826150d6565b604082019050919050565b6000614138602083614913565b915061414382615125565b602082019050919050565b600061415b602c83614913565b91506141668261514e565b604082019050919050565b600061417e600583614924565b91506141898261519d565b600582019050919050565b60006141a1602083614913565b91506141ac826151c6565b602082019050919050565b60006141c4601a83614913565b91506141cf826151ef565b602082019050919050565b60006141e7602983614913565b91506141f282615218565b604082019050919050565b600061420a602f83614913565b915061421582615267565b604082019050919050565b600061422d602183614913565b9150614238826152b6565b604082019050919050565b6000614250600083614908565b915061425b82615305565b600082019050919050565b6000614273603183614913565b915061427e82615308565b604082019050919050565b6000614296602c83614913565b91506142a182615357565b604082019050919050565b60006142b9601583614913565b91506142c4826153a6565b602082019050919050565b60006142dc601c83614913565b91506142e7826153cf565b602082019050919050565b60006142ff602083614913565b915061430a826153f8565b602082019050919050565b61431e81614aae565b82525050565b61432d81614aae565b82525050565b600061433f8285613ea7565b915061434b8284613ea7565b915061435682614171565b91508190509392505050565b600061436d82614243565b9150819050919050565b600060208201905061438c6000830184613db9565b92915050565b60006080820190506143a76000830187613db9565b6143b46020830186613db9565b6143c16040830185614324565b81810360608301526143d38184613e35565b905095945050505050565b600060208201905081810360008301526143f88184613dc8565b905092915050565b60006020820190506144156000830184613e26565b92915050565b600060208201905081810360008301526144358184613e6e565b905092915050565b6000602082019050818103600083015261445681613ed8565b9050919050565b6000602082019050818103600083015261447681613efb565b9050919050565b6000602082019050818103600083015261449681613f1e565b9050919050565b600060208201905081810360008301526144b681613f41565b9050919050565b600060208201905081810360008301526144d681613f64565b9050919050565b600060208201905081810360008301526144f681613f87565b9050919050565b6000602082019050818103600083015261451681613faa565b9050919050565b6000602082019050818103600083015261453681613fcd565b9050919050565b6000602082019050818103600083015261455681613ff0565b9050919050565b6000602082019050818103600083015261457681614013565b9050919050565b6000602082019050818103600083015261459681614036565b9050919050565b600060208201905081810360008301526145b681614059565b9050919050565b600060208201905081810360008301526145d68161407c565b9050919050565b600060208201905081810360008301526145f68161409f565b9050919050565b60006020820190508181036000830152614616816140c2565b9050919050565b60006020820190508181036000830152614636816140e5565b9050919050565b6000602082019050818103600083015261465681614108565b9050919050565b600060208201905081810360008301526146768161412b565b9050919050565b600060208201905081810360008301526146968161414e565b9050919050565b600060208201905081810360008301526146b681614194565b9050919050565b600060208201905081810360008301526146d6816141b7565b9050919050565b600060208201905081810360008301526146f6816141da565b9050919050565b60006020820190508181036000830152614716816141fd565b9050919050565b6000602082019050818103600083015261473681614220565b9050919050565b6000602082019050818103600083015261475681614266565b9050919050565b6000602082019050818103600083015261477681614289565b9050919050565b60006020820190508181036000830152614796816142ac565b9050919050565b600060208201905081810360008301526147b6816142cf565b9050919050565b600060208201905081810360008301526147d6816142f2565b9050919050565b60006020820190506147f26000830184614324565b92915050565b600060408201905061480d6000830185614324565b61481a6020830184613db9565b9392505050565b600061482b61483c565b90506148378282614b2c565b919050565b6000604051905090565b600067ffffffffffffffff82111561486157614860614c64565b5b61486a82614c93565b9050602081019050919050565b600067ffffffffffffffff82111561489257614891614c64565b5b61489b82614c93565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061493a82614aae565b915061494583614aae565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561497a57614979614bd7565b5b828201905092915050565b600061499082614aae565b915061499b83614aae565b9250826149ab576149aa614c06565b5b828204905092915050565b60006149c182614aae565b91506149cc83614aae565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614a0557614a04614bd7565b5b828202905092915050565b6000614a1b82614aae565b9150614a2683614aae565b925082821015614a3957614a38614bd7565b5b828203905092915050565b6000614a4f82614a8e565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614ae5578082015181840152602081019050614aca565b83811115614af4576000848401525b50505050565b60006002820490506001821680614b1257607f821691505b60208210811415614b2657614b25614c35565b5b50919050565b614b3582614c93565b810181811067ffffffffffffffff82111715614b5457614b53614c64565b5b80604052505050565b6000614b6882614aae565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614b9b57614b9a614bd7565b5b600182019050919050565b6000614bb182614aae565b9150614bbc83614aae565b925082614bcc57614bcb614c06565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f43616e206f6e6c79206d696e74206f6e65206f72206d6f726520746f6b656e7360008201527f20617420612074696d6500000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f596f7520617265206e6f74206f6e207468652050726573616c65204c69737400600082015250565b7f53616c65206d7573742062652061637469766520746f206d696e7420546f6b6560008201527f6e00000000000000000000000000000000000000000000000000000000000000602082015250565b7f4e6f7420656e6f7567682072657365727665206c65667420666f72207465616d600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f6620746f6b656e7300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f43616e27742061646420746865206e756c6c2061646472657373000000000000600082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f6620746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f50726573616c65206973206e6f74206163746976650000000000000000000000600082015250565b7f50757263686173652065786365656473206d617820616c6c6f77656400000000600082015250565b7f43616e6e6f742070757263686173652074686973206d616e7920746f6b656e73600082015250565b61542a81614a44565b811461543557600080fd5b50565b61544181614a56565b811461544c57600080fd5b50565b61545881614a62565b811461546357600080fd5b50565b61546f81614aae565b811461547a57600080fd5b5056fe697066733a2f2f516d5947417033477a316d35556d466856345056525250594533484c31416d4377454b4650786e673439387666622f68696464656e2e6a736f6ea2646970667358221220f789052ee3253186b8061a9bbbd9f7482e31235c44def88e0b7f354e8359077064736f6c63430008040033
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.