ERC-721
Source Code
Overview
Max Total Supply
0 3HEX
Holders
5
Transfers
-
0
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
| # | Exchange | Pair | Price | 24H Volume | % Volume |
|---|
Contract Name:
ThreeHex
Compiler Version
v0.8.14+commit.80d49f37
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/// SPDX-License-Identifier: MIT
pragma solidity ^0.8.14;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import {NameEncoder} from "./utils/NameEncoder.sol";
import {BytesUtils} from "./utils/BytesUtils.sol";
// https://docs.ens.domains/contract-developer-guide/resolving-names-on-chain
abstract contract ENS {
function resolver(bytes32 node) public view virtual returns (Resolver);
}
abstract contract Resolver {
function addr(bytes32 node) public view virtual returns (address);
}
// Interface for swappable renderer
interface Renderer {
function render(uint256 tokenId, string calldata baseURI)
external
view
returns (string memory);
}
contract ThreeHex is ERC721, Ownable {
using Strings for uint256;
using BytesUtils for uint256;
using NameEncoder for string;
event EndTimeUpdated(uint64 indexed endTime);
// ENS address is same across Rinkeby and mainnet
ENS ens = ENS(0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e);
string public baseURI;
string constant ethSuffix = ".eth";
uint64 endTime;
Renderer public renderer;
constructor(
string memory _baseURI,
uint64 _endTime,
address _renderer
) ERC721("3HEX", "3HEX") {
baseURI = _baseURI;
endTime = _endTime;
renderer = Renderer(_renderer);
}
/// Updates the endTime for the public mint
/// baseURI ends with a "/" for the IPFS folder to load properly.
/// @param _endTime Unix time for the mint to end
function updateEndTime(uint64 _endTime) public onlyOwner {
endTime = _endTime;
emit EndTimeUpdated(_endTime);
}
/// Updates the baseURI for a particular evolution. Ensure
/// baseURI ends with a "/" for the IPFS folder to load properly.
/// @param _baseURI The new baseURI for the NFT
function updateBaseURI(string calldata _baseURI) public onlyOwner {
baseURI = _baseURI;
}
/// Update the renderer contract responsible for resolving tokenURI
/// @param _renderer address of the renderer contract
function updateRenderer(address _renderer) public onlyOwner {
renderer = Renderer(_renderer);
}
/// Public mint method to mint one or more NFTs. Each tokenId
/// must be between 0 and 4095, inclusive. For each tokenId,
/// you must be the holder of the associated ENS name to mint.
/// For example, to mint tokenId 18 you must own ENS "012.eth".
/// @param tokenIds TokenIds to mint
function mint(uint256[] calldata tokenIds) public {
require(block.timestamp <= endTime, "endTime passed");
uint256 length = tokenIds.length;
for (uint256 i = 0; i < length; ++i) {
mintToken(tokenIds[i]);
}
}
/// Owner of contract can mint unclaimed tokens once endTime
/// has passed. Owner is not subject to ENS checks.
/// @param tokenIds TokenIds to mint
function ownerMint(uint256[] calldata tokenIds) public onlyOwner {
require(block.timestamp > endTime, "owner can't mint before endTime");
uint256 length = tokenIds.length;
for (uint256 i = 0; i < length; ++i) {
require(tokenIds[i] < 4096, "invalid tokenId");
_mint(msg.sender, tokenIds[i]);
}
}
function mintToken(uint256 tokenId) internal {
// There are 16^3 (4096) valid rgb colors for the format
// #rgb using hex characters.
// 0 => #000
// ...
// 4095 => #fff
require(tokenId < 4096, "invalid tokenId");
// To prevent typo-squatting we generate the valid ENS
// name based on the tokenId, ex: aaa.eth
string memory ensName = string.concat(
tokenId.toHexString3(),
ethSuffix
);
// Generate the hash of the ensName
(, bytes32 namehash) = ensName.dnsEncodeName();
// Retrieve the resolver of the namehash
Resolver resolver = ens.resolver(namehash);
// msg.sender must own the ens name
require(
resolver.addr(namehash) == msg.sender,
"caller does not own ENS name"
);
_mint(msg.sender, tokenId);
}
/// @param tokenId The tokenID to retrieve the URI
function tokenURI(uint256 tokenId)
public
view
virtual
override
returns (string memory)
{
require(
_exists(tokenId),
"ERC721Metadata: URI query for nonexistent token"
);
return renderer.render(tokenId, baseURI);
}
}//SPDX-License-Identifier: MIT
// forked from https://github.com/ensdomains/ens-contracts/blob/master/contracts/wrapper/BytesUtil.sol
pragma solidity ^0.8.14;
library BytesUtils {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
/*
* @dev Returns the keccak-256 hash of a byte range.
* @param self The byte string to hash.
* @param offset The position to start hashing at.
* @param len The number of bytes to hash.
* @return The hash of the byte range.
*/
function keccak(bytes memory self, uint offset, uint len) internal pure returns (bytes32 ret) {
require(offset + len <= self.length);
assembly {
ret := keccak256(add(add(self, 32), offset), len)
}
}
/**
* @dev Converts a unit less than 4096 to its ASCII `string` hexadecimal with length 3.
* @dev Adapted from OpenZepplin's toHexString.
* @param value The integer to convert.
* @return string The hex string representation of the integer.
*/
function toHexString3(uint256 value) internal pure returns (string memory) {
bytes memory buffer = new bytes(3);
for (uint256 i = 3; i > 0; --i) {
buffer[i-1] = _HEX_SYMBOLS[value & 0xf];
value >>= 4;
}
require(value == 0, "hex length insufficient");
return string(buffer);
}
}// SPDX-License-Identifier: MIT
// forked from https://github.com/ensdomains/ens-contracts/blob/master/contracts/utils/NameEncoder.sol
pragma solidity ^0.8.14;
import "./BytesUtils.sol";
library NameEncoder {
using BytesUtils for bytes;
function dnsEncodeName(string memory name)
internal
pure
returns (bytes memory dnsName, bytes32 node)
{
uint8 labelLength = 0;
bytes memory bytesName = bytes(name);
uint256 length = bytesName.length;
dnsName = new bytes(length + 2);
node = 0;
if (length == 0) {
dnsName[0] = 0;
return (dnsName, node);
}
// use unchecked to save gas since we check for an underflow
// and we check for the length before the loop
unchecked {
for (uint256 i = length - 1; i >= 0; i--) {
if (bytesName[i] == ".") {
dnsName[i + 1] = bytes1(labelLength);
node = keccak256(
abi.encodePacked(
node,
bytesName.keccak(i + 1, labelLength)
)
);
labelLength = 0;
} else {
labelLength += 1;
dnsName[i + 1] = bytesName[i];
}
if (i == 0) {
break;
}
}
}
node = keccak256(
abi.encodePacked(node, bytesName.keccak(0, labelLength))
);
dnsName[0] = bytes1(labelLength);
return (dnsName, node);
}
}// 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 (last updated v4.6.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 overridden in child contracts.
*/
function _baseURI() internal view virtual returns (string memory) {
return "";
}
/**
* @dev See {IERC721-approve}.
*/
function approve(address to, uint256 tokenId) public virtual override {
address owner = ERC721.ownerOf(tokenId);
require(to != owner, "ERC721: approval to current owner");
require(
_msgSender() == owner || isApprovedForAll(owner, _msgSender()),
"ERC721: approve caller is not 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 || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
}
/**
* @dev Safely mints `tokenId` and transfers it to `to`.
*
* Requirements:
*
* - `tokenId` must not exist.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function _safeMint(address to, uint256 tokenId) internal virtual {
_safeMint(to, tokenId, "");
}
/**
* @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
* forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
*/
function _safeMint(
address to,
uint256 tokenId,
bytes memory _data
) internal virtual {
_mint(to, tokenId);
require(
_checkOnERC721Received(address(0), to, tokenId, _data),
"ERC721: transfer to non ERC721Receiver implementer"
);
}
/**
* @dev Mints `tokenId` and transfers it to `to`.
*
* WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
*
* Requirements:
*
* - `tokenId` must not exist.
* - `to` cannot be the zero address.
*
* Emits a {Transfer} event.
*/
function _mint(address to, uint256 tokenId) internal virtual {
require(to != address(0), "ERC721: mint to the zero address");
require(!_exists(tokenId), "ERC721: token already minted");
_beforeTokenTransfer(address(0), to, tokenId);
_balances[to] += 1;
_owners[tokenId] = to;
emit Transfer(address(0), to, tokenId);
_afterTokenTransfer(address(0), to, tokenId);
}
/**
* @dev Destroys `tokenId`.
* The approval is cleared when the token is burned.
*
* Requirements:
*
* - `tokenId` must exist.
*
* Emits a {Transfer} event.
*/
function _burn(uint256 tokenId) internal virtual {
address owner = ERC721.ownerOf(tokenId);
_beforeTokenTransfer(owner, address(0), tokenId);
// Clear approvals
_approve(address(0), tokenId);
_balances[owner] -= 1;
delete _owners[tokenId];
emit Transfer(owner, address(0), tokenId);
_afterTokenTransfer(owner, address(0), tokenId);
}
/**
* @dev Transfers `tokenId` from `from` to `to`.
* As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
*
* Emits a {Transfer} event.
*/
function _transfer(
address from,
address to,
uint256 tokenId
) internal virtual {
require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
require(to != address(0), "ERC721: transfer to the zero address");
_beforeTokenTransfer(from, to, tokenId);
// Clear approvals from the previous owner
_approve(address(0), tokenId);
_balances[from] -= 1;
_balances[to] += 1;
_owners[tokenId] = to;
emit Transfer(from, to, tokenId);
_afterTokenTransfer(from, to, tokenId);
}
/**
* @dev Approve `to` to operate on `tokenId`
*
* Emits 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 (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/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/Context.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)
pragma solidity ^0.8.1;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*
* [IMPORTANT]
* ====
* You shouldn't rely on `isContract` to protect against flash loan attacks!
*
* Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
* like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
* constructor.
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize/address.code.length, which returns 0
// for contracts in construction, since the code is only stored at the end
// of the constructor execution.
return account.code.length > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
(bool success, ) = recipient.call{value: amount}("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain `call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value
) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
require(isContract(target), "Address: call to non-contract");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
require(isContract(target), "Address: static call to non-contract");
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason using the provided one.
*
* _Available since v4.3._
*/
function verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) internal pure returns (bytes memory) {
if (success) {
return returndata;
} else {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)
pragma solidity ^0.8.0;
import "../IERC721.sol";
/**
* @title ERC-721 Non-Fungible Token Standard, optional metadata extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Metadata is IERC721 {
/**
* @dev Returns the token collection name.
*/
function name() external view returns (string memory);
/**
* @dev Returns the token collection symbol.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
*/
function tokenURI(uint256 tokenId) external view returns (string memory);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)
pragma solidity ^0.8.0;
/**
* @title ERC721 token receiver interface
* @dev Interface for any contract that wants to support safeTransfers
* from ERC721 asset contracts.
*/
interface IERC721Receiver {
/**
* @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
* by `operator` from `from`, this function is called.
*
* It must return its Solidity selector to confirm the token transfer.
* If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
*
* The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
*/
function onERC721Received(
address operator,
address from,
uint256 tokenId,
bytes calldata data
) external returns (bytes4);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)
pragma solidity ^0.8.0;
import "../../utils/introspection/IERC165.sol";
/**
* @dev Required interface of an ERC721 compliant contract.
*/
interface IERC721 is IERC165 {
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
*/
event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
*/
event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
/**
* @dev Returns the number of tokens in ``owner``'s account.
*/
function balanceOf(address owner) external view returns (uint256 balance);
/**
* @dev Returns the owner of the `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function ownerOf(uint256 tokenId) external view returns (address owner);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId,
bytes calldata data
) external;
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must 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 Approve or remove `operator` as an operator for the caller.
* Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
*
* Requirements:
*
* - The `operator` cannot be the caller.
*
* Emits an {ApprovalForAll} event.
*/
function setApprovalForAll(address operator, bool _approved) external;
/**
* @dev Returns the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) external view returns (address operator);
/**
* @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
*
* See {setApprovalForAll}
*/
function isApprovedForAll(address owner, address operator) external view returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}{
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"},{"internalType":"uint64","name":"_endTime","type":"uint64"},{"internalType":"address","name":"_renderer","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint64","name":"endTime","type":"uint64"}],"name":"EndTimeUpdated","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":[{"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":[{"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":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renderer","outputs":[{"internalType":"contract Renderer","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"updateBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"_endTime","type":"uint64"}],"name":"updateEndTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_renderer","type":"address"}],"name":"updateRenderer","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
60806040526e0c2e074ec69a0dfb2997ba6c7d2e1e600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200006157600080fd5b506040516200441c3803806200441c833981810160405281019062000087919062000598565b6040518060400160405280600481526020017f33484558000000000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f334845580000000000000000000000000000000000000000000000000000000081525081600090805190602001906200010b929190620002a1565b50806001908051906020019062000124929190620002a1565b505050620001476200013b620001d360201b60201c565b620001db60201b60201c565b82600890805190602001906200015f929190620002a1565b5081600960006101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555080600960086101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505062000677565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002af9062000642565b90600052602060002090601f016020900481019282620002d357600085556200031f565b82601f10620002ee57805160ff19168380011785556200031f565b828001600101855582156200031f579182015b828111156200031e57825182559160200191906001019062000301565b5b5090506200032e919062000332565b5090565b5b808211156200034d57600081600090555060010162000333565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620003ba826200036f565b810181811067ffffffffffffffff82111715620003dc57620003db62000380565b5b80604052505050565b6000620003f162000351565b9050620003ff8282620003af565b919050565b600067ffffffffffffffff82111562000422576200042162000380565b5b6200042d826200036f565b9050602081019050919050565b60005b838110156200045a5780820151818401526020810190506200043d565b838111156200046a576000848401525b50505050565b600062000487620004818462000404565b620003e5565b905082815260208101848484011115620004a657620004a56200036a565b5b620004b38482856200043a565b509392505050565b600082601f830112620004d357620004d262000365565b5b8151620004e584826020860162000470565b91505092915050565b600067ffffffffffffffff82169050919050565b6200050d81620004ee565b81146200051957600080fd5b50565b6000815190506200052d8162000502565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620005608262000533565b9050919050565b620005728162000553565b81146200057e57600080fd5b50565b600081519050620005928162000567565b92915050565b600080600060608486031215620005b457620005b36200035b565b5b600084015167ffffffffffffffff811115620005d557620005d462000360565b5b620005e386828701620004bb565b9350506020620005f6868287016200051c565b9250506040620006098682870162000581565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200065b57607f821691505b60208210810362000671576200067062000613565b5b50919050565b613d9580620006876000396000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c8063715018a6116100c3578063b88d4fde1161007c578063b88d4fde14610376578063be610c5914610392578063c87b56dd146103ae578063e985e9c5146103de578063f2fde38b1461040e578063f8e93ef91461042a5761014d565b8063715018a6146102da5780638ada6b0f146102e45780638da5cb5b14610302578063931688cb1461032057806395d89b411461033c578063a22cb4651461035a5761014d565b80631800f149116101155780631800f1491461020857806323b872dd1461022457806342842e0e146102405780636352211e1461025c5780636c0360eb1461028c57806370a08231146102aa5761014d565b806301ffc9a71461015257806306fdde0314610182578063081812fc146101a0578063095ea7b3146101d057806311748f02146101ec575b600080fd5b61016c60048036038101906101679190612554565b610446565b604051610179919061259c565b60405180910390f35b61018a610528565b6040516101979190612650565b60405180910390f35b6101ba60048036038101906101b591906126a8565b6105ba565b6040516101c79190612716565b60405180910390f35b6101ea60048036038101906101e5919061275d565b61063f565b005b61020660048036038101906102019190612802565b610756565b005b610222600480360381019061021d919061288f565b6108de565b005b61023e600480360381019061023991906128bc565b6109bd565b005b61025a600480360381019061025591906128bc565b610a1d565b005b610276600480360381019061027191906126a8565b610a3d565b6040516102839190612716565b60405180910390f35b610294610aee565b6040516102a19190612650565b60405180910390f35b6102c460048036038101906102bf919061290f565b610b7c565b6040516102d1919061294b565b60405180910390f35b6102e2610c33565b005b6102ec610cbb565b6040516102f991906129c5565b60405180910390f35b61030a610ce1565b6040516103179190612716565b60405180910390f35b61033a60048036038101906103359190612a36565b610d0b565b005b610344610d9d565b6040516103519190612650565b60405180910390f35b610374600480360381019061036f9190612aaf565b610e2f565b005b610390600480360381019061038b9190612c1f565b610e45565b005b6103ac60048036038101906103a7919061290f565b610ea7565b005b6103c860048036038101906103c391906126a8565b610f67565b6040516103d59190612650565b60405180910390f35b6103f860048036038101906103f39190612ca2565b61105c565b604051610405919061259c565b60405180910390f35b6104286004803603810190610423919061290f565b6110f0565b005b610444600480360381019061043f9190612802565b6111e7565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061051157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610521575061052082611296565b5b9050919050565b60606000805461053790612d11565b80601f016020809104026020016040519081016040528092919081815260200182805461056390612d11565b80156105b05780601f10610585576101008083540402835291602001916105b0565b820191906000526020600020905b81548152906001019060200180831161059357829003601f168201915b5050505050905090565b60006105c582611300565b610604576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105fb90612db4565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061064a82610a3d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036106ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106b190612e46565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166106d961136c565b73ffffffffffffffffffffffffffffffffffffffff16148061070857506107078161070261136c565b61105c565b5b610747576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073e90612ed8565b60405180910390fd5b6107518383611374565b505050565b61075e61136c565b73ffffffffffffffffffffffffffffffffffffffff1661077c610ce1565b73ffffffffffffffffffffffffffffffffffffffff16146107d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c990612f44565b60405180910390fd5b600960009054906101000a900467ffffffffffffffff1667ffffffffffffffff164211610834576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082b90612fb0565b60405180910390fd5b600082829050905060005b818110156108d85761100084848381811061085d5761085c612fd0565b5b90506020020135106108a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089b9061304b565b60405180910390fd5b6108c7338585848181106108bb576108ba612fd0565b5b9050602002013561142d565b806108d19061309a565b905061083f565b50505050565b6108e661136c565b73ffffffffffffffffffffffffffffffffffffffff16610904610ce1565b73ffffffffffffffffffffffffffffffffffffffff161461095a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095190612f44565b60405180910390fd5b80600960006101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055508067ffffffffffffffff167fe394c6102e909b35d2f82dbcc4691a2435c252b0a9a710387331ade725807ab960405160405180910390a250565b6109ce6109c861136c565b82611606565b610a0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0490613154565b60405180910390fd5b610a188383836116e4565b505050565b610a3883838360405180602001604052806000815250610e45565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610ae5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610adc906131e6565b60405180910390fd5b80915050919050565b60088054610afb90612d11565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2790612d11565b8015610b745780601f10610b4957610100808354040283529160200191610b74565b820191906000526020600020905b815481529060010190602001808311610b5757829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610bec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be390613278565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610c3b61136c565b73ffffffffffffffffffffffffffffffffffffffff16610c59610ce1565b73ffffffffffffffffffffffffffffffffffffffff1614610caf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca690612f44565b60405180910390fd5b610cb9600061194a565b565b600960089054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610d1361136c565b73ffffffffffffffffffffffffffffffffffffffff16610d31610ce1565b73ffffffffffffffffffffffffffffffffffffffff1614610d87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7e90612f44565b60405180910390fd5b818160089190610d98929190612445565b505050565b606060018054610dac90612d11565b80601f0160208091040260200160405190810160405280929190818152602001828054610dd890612d11565b8015610e255780601f10610dfa57610100808354040283529160200191610e25565b820191906000526020600020905b815481529060010190602001808311610e0857829003601f168201915b5050505050905090565b610e41610e3a61136c565b8383611a10565b5050565b610e56610e5061136c565b83611606565b610e95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8c90613154565b60405180910390fd5b610ea184848484611b7c565b50505050565b610eaf61136c565b73ffffffffffffffffffffffffffffffffffffffff16610ecd610ce1565b73ffffffffffffffffffffffffffffffffffffffff1614610f23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1a90612f44565b60405180910390fd5b80600960086101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6060610f7282611300565b610fb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa89061330a565b60405180910390fd5b600960089054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f674a34d8360086040518363ffffffff1660e01b815260040161100f9291906133bf565b600060405180830381865afa15801561102c573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906110559190613490565b9050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6110f861136c565b73ffffffffffffffffffffffffffffffffffffffff16611116610ce1565b73ffffffffffffffffffffffffffffffffffffffff161461116c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116390612f44565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036111db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d29061354b565b60405180910390fd5b6111e48161194a565b50565b600960009054906101000a900467ffffffffffffffff1667ffffffffffffffff1642111561124a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611241906135b7565b60405180910390fd5b600082829050905060005b818110156112905761127f84848381811061127357611272612fd0565b5b90506020020135611bd8565b806112899061309a565b9050611255565b50505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166113e783610a3d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361149c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149390613623565b60405180910390fd5b6114a581611300565b156114e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114dc9061368f565b60405180910390fd5b6114f160008383611e24565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461154191906136af565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461160260008383611e29565b5050565b600061161182611300565b611650576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164790613777565b60405180910390fd5b600061165b83610a3d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061169d575061169c818561105c565b5b806116db57508373ffffffffffffffffffffffffffffffffffffffff166116c3846105ba565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661170482610a3d565b73ffffffffffffffffffffffffffffffffffffffff161461175a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175190613809565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036117c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c09061389b565b60405180910390fd5b6117d4838383611e24565b6117df600082611374565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461182f91906138bb565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461188691906136af565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611945838383611e29565b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611a7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a759061393b565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611b6f919061259c565b60405180910390a3505050565b611b878484846116e4565b611b9384848484611e2e565b611bd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc9906139cd565b60405180910390fd5b50505050565b6110008110611c1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c139061304b565b60405180910390fd5b6000611c2782611fb5565b6040518060400160405280600481526020017f2e65746800000000000000000000000000000000000000000000000000000000815250604051602001611c6e929190613a29565b60405160208183030381529060405290506000611c8a82612106565b9150506000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630178b8bf836040518263ffffffff1660e01b8152600401611cea9190613a66565b602060405180830381865afa158015611d07573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d2b9190613abf565b90503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16633b3b57de846040518263ffffffff1660e01b8152600401611d7d9190613a66565b602060405180830381865afa158015611d9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dbe9190613b01565b73ffffffffffffffffffffffffffffffffffffffff1614611e14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0b90613b7a565b60405180910390fd5b611e1e338561142d565b50505050565b505050565b505050565b6000611e4f8473ffffffffffffffffffffffffffffffffffffffff166123f6565b15611fa8578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611e7861136c565b8786866040518563ffffffff1660e01b8152600401611e9a9493929190613bef565b6020604051808303816000875af1925050508015611ed657506040513d601f19601f82011682018060405250810190611ed39190613c50565b60015b611f58573d8060008114611f06576040519150601f19603f3d011682016040523d82523d6000602084013e611f0b565b606091505b506000815103611f50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f47906139cd565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611fad565b600190505b949350505050565b60606000600367ffffffffffffffff811115611fd457611fd3612af4565b5b6040519080825280601f01601f1916602001820160405280156120065781602001600182028036833780820191505090505b5090506000600390505b60008111156120b9577f3031323334353637383961626364656600000000000000000000000000000000600f85166010811061204f5761204e612fd0565b5b1a60f81b8260018361206191906138bb565b8151811061207257612071612fd0565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600484901c9350806120b290613c7d565b9050612010565b50600083146120fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f490613cf2565b60405180910390fd5b80915050919050565b606060008060009050600084905060008151905060028161212791906136af565b67ffffffffffffffff8111156121405761213f612af4565b5b6040519080825280601f01601f1916602001820160405280156121725781602001600182028036833780820191505090505b5094506000801b9350600081036121d357600060f81b8560008151811061219c5761219b612fd0565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053505050506123f1565b60006001820390505b60008110612362577f2e0000000000000000000000000000000000000000000000000000000000000083828151811061221857612217612fd0565b5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916036122e1578360f81b86600183018151811061226457612263612fd0565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350846122af600183018660ff16866124199092919063ffffffff16565b6040516020016122c0929190613d33565b6040516020818303038152906040528051906020012094506000935061234b565b6001840193508281815181106122fa576122f9612fd0565b5b602001015160f81c60f81b86600183018151811061231b5761231a612fd0565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053505b6000810315612362578080600190039150506121dc565b508361237d60008560ff16856124199092919063ffffffff16565b60405160200161238e929190613d33565b6040516020818303038152906040528051906020012093508260f81b856000815181106123be576123bd612fd0565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053505050505b915091565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008351828461242991906136af565b111561243457600080fd5b818360208601012090509392505050565b82805461245190612d11565b90600052602060002090601f01602090048101928261247357600085556124ba565b82601f1061248c57803560ff19168380011785556124ba565b828001600101855582156124ba579182015b828111156124b957823582559160200191906001019061249e565b5b5090506124c791906124cb565b5090565b5b808211156124e45760008160009055506001016124cc565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612531816124fc565b811461253c57600080fd5b50565b60008135905061254e81612528565b92915050565b60006020828403121561256a576125696124f2565b5b60006125788482850161253f565b91505092915050565b60008115159050919050565b61259681612581565b82525050565b60006020820190506125b1600083018461258d565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156125f15780820151818401526020810190506125d6565b83811115612600576000848401525b50505050565b6000601f19601f8301169050919050565b6000612622826125b7565b61262c81856125c2565b935061263c8185602086016125d3565b61264581612606565b840191505092915050565b6000602082019050818103600083015261266a8184612617565b905092915050565b6000819050919050565b61268581612672565b811461269057600080fd5b50565b6000813590506126a28161267c565b92915050565b6000602082840312156126be576126bd6124f2565b5b60006126cc84828501612693565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612700826126d5565b9050919050565b612710816126f5565b82525050565b600060208201905061272b6000830184612707565b92915050565b61273a816126f5565b811461274557600080fd5b50565b60008135905061275781612731565b92915050565b60008060408385031215612774576127736124f2565b5b600061278285828601612748565b925050602061279385828601612693565b9150509250929050565b600080fd5b600080fd5b600080fd5b60008083601f8401126127c2576127c161279d565b5b8235905067ffffffffffffffff8111156127df576127de6127a2565b5b6020830191508360208202830111156127fb576127fa6127a7565b5b9250929050565b60008060208385031215612819576128186124f2565b5b600083013567ffffffffffffffff811115612837576128366124f7565b5b612843858286016127ac565b92509250509250929050565b600067ffffffffffffffff82169050919050565b61286c8161284f565b811461287757600080fd5b50565b60008135905061288981612863565b92915050565b6000602082840312156128a5576128a46124f2565b5b60006128b38482850161287a565b91505092915050565b6000806000606084860312156128d5576128d46124f2565b5b60006128e386828701612748565b93505060206128f486828701612748565b925050604061290586828701612693565b9150509250925092565b600060208284031215612925576129246124f2565b5b600061293384828501612748565b91505092915050565b61294581612672565b82525050565b6000602082019050612960600083018461293c565b92915050565b6000819050919050565b600061298b612986612981846126d5565b612966565b6126d5565b9050919050565b600061299d82612970565b9050919050565b60006129af82612992565b9050919050565b6129bf816129a4565b82525050565b60006020820190506129da60008301846129b6565b92915050565b60008083601f8401126129f6576129f561279d565b5b8235905067ffffffffffffffff811115612a1357612a126127a2565b5b602083019150836001820283011115612a2f57612a2e6127a7565b5b9250929050565b60008060208385031215612a4d57612a4c6124f2565b5b600083013567ffffffffffffffff811115612a6b57612a6a6124f7565b5b612a77858286016129e0565b92509250509250929050565b612a8c81612581565b8114612a9757600080fd5b50565b600081359050612aa981612a83565b92915050565b60008060408385031215612ac657612ac56124f2565b5b6000612ad485828601612748565b9250506020612ae585828601612a9a565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612b2c82612606565b810181811067ffffffffffffffff82111715612b4b57612b4a612af4565b5b80604052505050565b6000612b5e6124e8565b9050612b6a8282612b23565b919050565b600067ffffffffffffffff821115612b8a57612b89612af4565b5b612b9382612606565b9050602081019050919050565b82818337600083830152505050565b6000612bc2612bbd84612b6f565b612b54565b905082815260208101848484011115612bde57612bdd612aef565b5b612be9848285612ba0565b509392505050565b600082601f830112612c0657612c0561279d565b5b8135612c16848260208601612baf565b91505092915050565b60008060008060808587031215612c3957612c386124f2565b5b6000612c4787828801612748565b9450506020612c5887828801612748565b9350506040612c6987828801612693565b925050606085013567ffffffffffffffff811115612c8a57612c896124f7565b5b612c9687828801612bf1565b91505092959194509250565b60008060408385031215612cb957612cb86124f2565b5b6000612cc785828601612748565b9250506020612cd885828601612748565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612d2957607f821691505b602082108103612d3c57612d3b612ce2565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000612d9e602c836125c2565b9150612da982612d42565b604082019050919050565b60006020820190508181036000830152612dcd81612d91565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000612e306021836125c2565b9150612e3b82612dd4565b604082019050919050565b60006020820190508181036000830152612e5f81612e23565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000612ec26038836125c2565b9150612ecd82612e66565b604082019050919050565b60006020820190508181036000830152612ef181612eb5565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612f2e6020836125c2565b9150612f3982612ef8565b602082019050919050565b60006020820190508181036000830152612f5d81612f21565b9050919050565b7f6f776e65722063616e2774206d696e74206265666f726520656e6454696d6500600082015250565b6000612f9a601f836125c2565b9150612fa582612f64565b602082019050919050565b60006020820190508181036000830152612fc981612f8d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f696e76616c696420746f6b656e49640000000000000000000000000000000000600082015250565b6000613035600f836125c2565b915061304082612fff565b602082019050919050565b6000602082019050818103600083015261306481613028565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006130a582612672565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036130d7576130d661306b565b5b600182019050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061313e6031836125c2565b9150613149826130e2565b604082019050919050565b6000602082019050818103600083015261316d81613131565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006131d06029836125c2565b91506131db82613174565b604082019050919050565b600060208201905081810360008301526131ff816131c3565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000613262602a836125c2565b915061326d82613206565b604082019050919050565b6000602082019050818103600083015261329181613255565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006132f4602f836125c2565b91506132ff82613298565b604082019050919050565b60006020820190508181036000830152613323816132e7565b9050919050565b60008190508160005260206000209050919050565b6000815461334c81612d11565b61335681866125c2565b945060018216600081146133715760018114613383576133b6565b60ff19831686526020860193506133b6565b61338c8561332a565b60005b838110156133ae5781548189015260018201915060208101905061338f565b808801955050505b50505092915050565b60006040820190506133d4600083018561293c565b81810360208301526133e6818461333f565b90509392505050565b600067ffffffffffffffff82111561340a57613409612af4565b5b61341382612606565b9050602081019050919050565b600061343361342e846133ef565b612b54565b90508281526020810184848401111561344f5761344e612aef565b5b61345a8482856125d3565b509392505050565b600082601f8301126134775761347661279d565b5b8151613487848260208601613420565b91505092915050565b6000602082840312156134a6576134a56124f2565b5b600082015167ffffffffffffffff8111156134c4576134c36124f7565b5b6134d084828501613462565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006135356026836125c2565b9150613540826134d9565b604082019050919050565b6000602082019050818103600083015261356481613528565b9050919050565b7f656e6454696d6520706173736564000000000000000000000000000000000000600082015250565b60006135a1600e836125c2565b91506135ac8261356b565b602082019050919050565b600060208201905081810360008301526135d081613594565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061360d6020836125c2565b9150613618826135d7565b602082019050919050565b6000602082019050818103600083015261363c81613600565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000613679601c836125c2565b915061368482613643565b602082019050919050565b600060208201905081810360008301526136a88161366c565b9050919050565b60006136ba82612672565b91506136c583612672565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156136fa576136f961306b565b5b828201905092915050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613761602c836125c2565b915061376c82613705565b604082019050919050565b6000602082019050818103600083015261379081613754565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006137f36025836125c2565b91506137fe82613797565b604082019050919050565b60006020820190508181036000830152613822816137e6565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006138856024836125c2565b915061389082613829565b604082019050919050565b600060208201905081810360008301526138b481613878565b9050919050565b60006138c682612672565b91506138d183612672565b9250828210156138e4576138e361306b565b5b828203905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006139256019836125c2565b9150613930826138ef565b602082019050919050565b6000602082019050818103600083015261395481613918565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006139b76032836125c2565b91506139c28261395b565b604082019050919050565b600060208201905081810360008301526139e6816139aa565b9050919050565b600081905092915050565b6000613a03826125b7565b613a0d81856139ed565b9350613a1d8185602086016125d3565b80840191505092915050565b6000613a3582856139f8565b9150613a4182846139f8565b91508190509392505050565b6000819050919050565b613a6081613a4d565b82525050565b6000602082019050613a7b6000830184613a57565b92915050565b6000613a8c826126f5565b9050919050565b613a9c81613a81565b8114613aa757600080fd5b50565b600081519050613ab981613a93565b92915050565b600060208284031215613ad557613ad46124f2565b5b6000613ae384828501613aaa565b91505092915050565b600081519050613afb81612731565b92915050565b600060208284031215613b1757613b166124f2565b5b6000613b2584828501613aec565b91505092915050565b7f63616c6c657220646f6573206e6f74206f776e20454e53206e616d6500000000600082015250565b6000613b64601c836125c2565b9150613b6f82613b2e565b602082019050919050565b60006020820190508181036000830152613b9381613b57565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000613bc182613b9a565b613bcb8185613ba5565b9350613bdb8185602086016125d3565b613be481612606565b840191505092915050565b6000608082019050613c046000830187612707565b613c116020830186612707565b613c1e604083018561293c565b8181036060830152613c308184613bb6565b905095945050505050565b600081519050613c4a81612528565b92915050565b600060208284031215613c6657613c656124f2565b5b6000613c7484828501613c3b565b91505092915050565b6000613c8882612672565b915060008203613c9b57613c9a61306b565b5b600182039050919050565b7f686578206c656e67746820696e73756666696369656e74000000000000000000600082015250565b6000613cdc6017836125c2565b9150613ce782613ca6565b602082019050919050565b60006020820190508181036000830152613d0b81613ccf565b9050919050565b6000819050919050565b613d2d613d2882613a4d565b613d12565b82525050565b6000613d3f8285613d1c565b602082019150613d4f8284613d1c565b602082019150819050939250505056fea264697066735822122091406fc7f5e758f0654f4e73bbdd39d1b23d896f29d9211117df48bf3834f47464736f6c634300080e00330000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000006310586f000000000000000000000000b29ec41aa0e9ee612471ea66c14e9084467e8cd20000000000000000000000000000000000000000000000000000000000000043697066733a2f2f6261667962656963336b326878716b7166637a617862353272796837746966746433357877376232713471356164646e786b6232686c34766269792f0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061014d5760003560e01c8063715018a6116100c3578063b88d4fde1161007c578063b88d4fde14610376578063be610c5914610392578063c87b56dd146103ae578063e985e9c5146103de578063f2fde38b1461040e578063f8e93ef91461042a5761014d565b8063715018a6146102da5780638ada6b0f146102e45780638da5cb5b14610302578063931688cb1461032057806395d89b411461033c578063a22cb4651461035a5761014d565b80631800f149116101155780631800f1491461020857806323b872dd1461022457806342842e0e146102405780636352211e1461025c5780636c0360eb1461028c57806370a08231146102aa5761014d565b806301ffc9a71461015257806306fdde0314610182578063081812fc146101a0578063095ea7b3146101d057806311748f02146101ec575b600080fd5b61016c60048036038101906101679190612554565b610446565b604051610179919061259c565b60405180910390f35b61018a610528565b6040516101979190612650565b60405180910390f35b6101ba60048036038101906101b591906126a8565b6105ba565b6040516101c79190612716565b60405180910390f35b6101ea60048036038101906101e5919061275d565b61063f565b005b61020660048036038101906102019190612802565b610756565b005b610222600480360381019061021d919061288f565b6108de565b005b61023e600480360381019061023991906128bc565b6109bd565b005b61025a600480360381019061025591906128bc565b610a1d565b005b610276600480360381019061027191906126a8565b610a3d565b6040516102839190612716565b60405180910390f35b610294610aee565b6040516102a19190612650565b60405180910390f35b6102c460048036038101906102bf919061290f565b610b7c565b6040516102d1919061294b565b60405180910390f35b6102e2610c33565b005b6102ec610cbb565b6040516102f991906129c5565b60405180910390f35b61030a610ce1565b6040516103179190612716565b60405180910390f35b61033a60048036038101906103359190612a36565b610d0b565b005b610344610d9d565b6040516103519190612650565b60405180910390f35b610374600480360381019061036f9190612aaf565b610e2f565b005b610390600480360381019061038b9190612c1f565b610e45565b005b6103ac60048036038101906103a7919061290f565b610ea7565b005b6103c860048036038101906103c391906126a8565b610f67565b6040516103d59190612650565b60405180910390f35b6103f860048036038101906103f39190612ca2565b61105c565b604051610405919061259c565b60405180910390f35b6104286004803603810190610423919061290f565b6110f0565b005b610444600480360381019061043f9190612802565b6111e7565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061051157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610521575061052082611296565b5b9050919050565b60606000805461053790612d11565b80601f016020809104026020016040519081016040528092919081815260200182805461056390612d11565b80156105b05780601f10610585576101008083540402835291602001916105b0565b820191906000526020600020905b81548152906001019060200180831161059357829003601f168201915b5050505050905090565b60006105c582611300565b610604576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105fb90612db4565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061064a82610a3d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036106ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106b190612e46565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166106d961136c565b73ffffffffffffffffffffffffffffffffffffffff16148061070857506107078161070261136c565b61105c565b5b610747576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073e90612ed8565b60405180910390fd5b6107518383611374565b505050565b61075e61136c565b73ffffffffffffffffffffffffffffffffffffffff1661077c610ce1565b73ffffffffffffffffffffffffffffffffffffffff16146107d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c990612f44565b60405180910390fd5b600960009054906101000a900467ffffffffffffffff1667ffffffffffffffff164211610834576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082b90612fb0565b60405180910390fd5b600082829050905060005b818110156108d85761100084848381811061085d5761085c612fd0565b5b90506020020135106108a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089b9061304b565b60405180910390fd5b6108c7338585848181106108bb576108ba612fd0565b5b9050602002013561142d565b806108d19061309a565b905061083f565b50505050565b6108e661136c565b73ffffffffffffffffffffffffffffffffffffffff16610904610ce1565b73ffffffffffffffffffffffffffffffffffffffff161461095a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095190612f44565b60405180910390fd5b80600960006101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055508067ffffffffffffffff167fe394c6102e909b35d2f82dbcc4691a2435c252b0a9a710387331ade725807ab960405160405180910390a250565b6109ce6109c861136c565b82611606565b610a0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0490613154565b60405180910390fd5b610a188383836116e4565b505050565b610a3883838360405180602001604052806000815250610e45565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610ae5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610adc906131e6565b60405180910390fd5b80915050919050565b60088054610afb90612d11565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2790612d11565b8015610b745780601f10610b4957610100808354040283529160200191610b74565b820191906000526020600020905b815481529060010190602001808311610b5757829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610bec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be390613278565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610c3b61136c565b73ffffffffffffffffffffffffffffffffffffffff16610c59610ce1565b73ffffffffffffffffffffffffffffffffffffffff1614610caf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca690612f44565b60405180910390fd5b610cb9600061194a565b565b600960089054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610d1361136c565b73ffffffffffffffffffffffffffffffffffffffff16610d31610ce1565b73ffffffffffffffffffffffffffffffffffffffff1614610d87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7e90612f44565b60405180910390fd5b818160089190610d98929190612445565b505050565b606060018054610dac90612d11565b80601f0160208091040260200160405190810160405280929190818152602001828054610dd890612d11565b8015610e255780601f10610dfa57610100808354040283529160200191610e25565b820191906000526020600020905b815481529060010190602001808311610e0857829003601f168201915b5050505050905090565b610e41610e3a61136c565b8383611a10565b5050565b610e56610e5061136c565b83611606565b610e95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8c90613154565b60405180910390fd5b610ea184848484611b7c565b50505050565b610eaf61136c565b73ffffffffffffffffffffffffffffffffffffffff16610ecd610ce1565b73ffffffffffffffffffffffffffffffffffffffff1614610f23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1a90612f44565b60405180910390fd5b80600960086101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6060610f7282611300565b610fb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa89061330a565b60405180910390fd5b600960089054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f674a34d8360086040518363ffffffff1660e01b815260040161100f9291906133bf565b600060405180830381865afa15801561102c573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906110559190613490565b9050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6110f861136c565b73ffffffffffffffffffffffffffffffffffffffff16611116610ce1565b73ffffffffffffffffffffffffffffffffffffffff161461116c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161116390612f44565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036111db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d29061354b565b60405180910390fd5b6111e48161194a565b50565b600960009054906101000a900467ffffffffffffffff1667ffffffffffffffff1642111561124a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611241906135b7565b60405180910390fd5b600082829050905060005b818110156112905761127f84848381811061127357611272612fd0565b5b90506020020135611bd8565b806112899061309a565b9050611255565b50505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166113e783610a3d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361149c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149390613623565b60405180910390fd5b6114a581611300565b156114e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114dc9061368f565b60405180910390fd5b6114f160008383611e24565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461154191906136af565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461160260008383611e29565b5050565b600061161182611300565b611650576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164790613777565b60405180910390fd5b600061165b83610a3d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061169d575061169c818561105c565b5b806116db57508373ffffffffffffffffffffffffffffffffffffffff166116c3846105ba565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661170482610a3d565b73ffffffffffffffffffffffffffffffffffffffff161461175a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175190613809565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036117c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c09061389b565b60405180910390fd5b6117d4838383611e24565b6117df600082611374565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461182f91906138bb565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461188691906136af565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611945838383611e29565b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611a7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a759061393b565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611b6f919061259c565b60405180910390a3505050565b611b878484846116e4565b611b9384848484611e2e565b611bd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc9906139cd565b60405180910390fd5b50505050565b6110008110611c1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c139061304b565b60405180910390fd5b6000611c2782611fb5565b6040518060400160405280600481526020017f2e65746800000000000000000000000000000000000000000000000000000000815250604051602001611c6e929190613a29565b60405160208183030381529060405290506000611c8a82612106565b9150506000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630178b8bf836040518263ffffffff1660e01b8152600401611cea9190613a66565b602060405180830381865afa158015611d07573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d2b9190613abf565b90503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16633b3b57de846040518263ffffffff1660e01b8152600401611d7d9190613a66565b602060405180830381865afa158015611d9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dbe9190613b01565b73ffffffffffffffffffffffffffffffffffffffff1614611e14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0b90613b7a565b60405180910390fd5b611e1e338561142d565b50505050565b505050565b505050565b6000611e4f8473ffffffffffffffffffffffffffffffffffffffff166123f6565b15611fa8578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611e7861136c565b8786866040518563ffffffff1660e01b8152600401611e9a9493929190613bef565b6020604051808303816000875af1925050508015611ed657506040513d601f19601f82011682018060405250810190611ed39190613c50565b60015b611f58573d8060008114611f06576040519150601f19603f3d011682016040523d82523d6000602084013e611f0b565b606091505b506000815103611f50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f47906139cd565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611fad565b600190505b949350505050565b60606000600367ffffffffffffffff811115611fd457611fd3612af4565b5b6040519080825280601f01601f1916602001820160405280156120065781602001600182028036833780820191505090505b5090506000600390505b60008111156120b9577f3031323334353637383961626364656600000000000000000000000000000000600f85166010811061204f5761204e612fd0565b5b1a60f81b8260018361206191906138bb565b8151811061207257612071612fd0565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600484901c9350806120b290613c7d565b9050612010565b50600083146120fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f490613cf2565b60405180910390fd5b80915050919050565b606060008060009050600084905060008151905060028161212791906136af565b67ffffffffffffffff8111156121405761213f612af4565b5b6040519080825280601f01601f1916602001820160405280156121725781602001600182028036833780820191505090505b5094506000801b9350600081036121d357600060f81b8560008151811061219c5761219b612fd0565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053505050506123f1565b60006001820390505b60008110612362577f2e0000000000000000000000000000000000000000000000000000000000000083828151811061221857612217612fd0565b5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916036122e1578360f81b86600183018151811061226457612263612fd0565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350846122af600183018660ff16866124199092919063ffffffff16565b6040516020016122c0929190613d33565b6040516020818303038152906040528051906020012094506000935061234b565b6001840193508281815181106122fa576122f9612fd0565b5b602001015160f81c60f81b86600183018151811061231b5761231a612fd0565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053505b6000810315612362578080600190039150506121dc565b508361237d60008560ff16856124199092919063ffffffff16565b60405160200161238e929190613d33565b6040516020818303038152906040528051906020012093508260f81b856000815181106123be576123bd612fd0565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053505050505b915091565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008351828461242991906136af565b111561243457600080fd5b818360208601012090509392505050565b82805461245190612d11565b90600052602060002090601f01602090048101928261247357600085556124ba565b82601f1061248c57803560ff19168380011785556124ba565b828001600101855582156124ba579182015b828111156124b957823582559160200191906001019061249e565b5b5090506124c791906124cb565b5090565b5b808211156124e45760008160009055506001016124cc565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612531816124fc565b811461253c57600080fd5b50565b60008135905061254e81612528565b92915050565b60006020828403121561256a576125696124f2565b5b60006125788482850161253f565b91505092915050565b60008115159050919050565b61259681612581565b82525050565b60006020820190506125b1600083018461258d565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156125f15780820151818401526020810190506125d6565b83811115612600576000848401525b50505050565b6000601f19601f8301169050919050565b6000612622826125b7565b61262c81856125c2565b935061263c8185602086016125d3565b61264581612606565b840191505092915050565b6000602082019050818103600083015261266a8184612617565b905092915050565b6000819050919050565b61268581612672565b811461269057600080fd5b50565b6000813590506126a28161267c565b92915050565b6000602082840312156126be576126bd6124f2565b5b60006126cc84828501612693565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612700826126d5565b9050919050565b612710816126f5565b82525050565b600060208201905061272b6000830184612707565b92915050565b61273a816126f5565b811461274557600080fd5b50565b60008135905061275781612731565b92915050565b60008060408385031215612774576127736124f2565b5b600061278285828601612748565b925050602061279385828601612693565b9150509250929050565b600080fd5b600080fd5b600080fd5b60008083601f8401126127c2576127c161279d565b5b8235905067ffffffffffffffff8111156127df576127de6127a2565b5b6020830191508360208202830111156127fb576127fa6127a7565b5b9250929050565b60008060208385031215612819576128186124f2565b5b600083013567ffffffffffffffff811115612837576128366124f7565b5b612843858286016127ac565b92509250509250929050565b600067ffffffffffffffff82169050919050565b61286c8161284f565b811461287757600080fd5b50565b60008135905061288981612863565b92915050565b6000602082840312156128a5576128a46124f2565b5b60006128b38482850161287a565b91505092915050565b6000806000606084860312156128d5576128d46124f2565b5b60006128e386828701612748565b93505060206128f486828701612748565b925050604061290586828701612693565b9150509250925092565b600060208284031215612925576129246124f2565b5b600061293384828501612748565b91505092915050565b61294581612672565b82525050565b6000602082019050612960600083018461293c565b92915050565b6000819050919050565b600061298b612986612981846126d5565b612966565b6126d5565b9050919050565b600061299d82612970565b9050919050565b60006129af82612992565b9050919050565b6129bf816129a4565b82525050565b60006020820190506129da60008301846129b6565b92915050565b60008083601f8401126129f6576129f561279d565b5b8235905067ffffffffffffffff811115612a1357612a126127a2565b5b602083019150836001820283011115612a2f57612a2e6127a7565b5b9250929050565b60008060208385031215612a4d57612a4c6124f2565b5b600083013567ffffffffffffffff811115612a6b57612a6a6124f7565b5b612a77858286016129e0565b92509250509250929050565b612a8c81612581565b8114612a9757600080fd5b50565b600081359050612aa981612a83565b92915050565b60008060408385031215612ac657612ac56124f2565b5b6000612ad485828601612748565b9250506020612ae585828601612a9a565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612b2c82612606565b810181811067ffffffffffffffff82111715612b4b57612b4a612af4565b5b80604052505050565b6000612b5e6124e8565b9050612b6a8282612b23565b919050565b600067ffffffffffffffff821115612b8a57612b89612af4565b5b612b9382612606565b9050602081019050919050565b82818337600083830152505050565b6000612bc2612bbd84612b6f565b612b54565b905082815260208101848484011115612bde57612bdd612aef565b5b612be9848285612ba0565b509392505050565b600082601f830112612c0657612c0561279d565b5b8135612c16848260208601612baf565b91505092915050565b60008060008060808587031215612c3957612c386124f2565b5b6000612c4787828801612748565b9450506020612c5887828801612748565b9350506040612c6987828801612693565b925050606085013567ffffffffffffffff811115612c8a57612c896124f7565b5b612c9687828801612bf1565b91505092959194509250565b60008060408385031215612cb957612cb86124f2565b5b6000612cc785828601612748565b9250506020612cd885828601612748565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612d2957607f821691505b602082108103612d3c57612d3b612ce2565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000612d9e602c836125c2565b9150612da982612d42565b604082019050919050565b60006020820190508181036000830152612dcd81612d91565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000612e306021836125c2565b9150612e3b82612dd4565b604082019050919050565b60006020820190508181036000830152612e5f81612e23565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000612ec26038836125c2565b9150612ecd82612e66565b604082019050919050565b60006020820190508181036000830152612ef181612eb5565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612f2e6020836125c2565b9150612f3982612ef8565b602082019050919050565b60006020820190508181036000830152612f5d81612f21565b9050919050565b7f6f776e65722063616e2774206d696e74206265666f726520656e6454696d6500600082015250565b6000612f9a601f836125c2565b9150612fa582612f64565b602082019050919050565b60006020820190508181036000830152612fc981612f8d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f696e76616c696420746f6b656e49640000000000000000000000000000000000600082015250565b6000613035600f836125c2565b915061304082612fff565b602082019050919050565b6000602082019050818103600083015261306481613028565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006130a582612672565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036130d7576130d661306b565b5b600182019050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061313e6031836125c2565b9150613149826130e2565b604082019050919050565b6000602082019050818103600083015261316d81613131565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006131d06029836125c2565b91506131db82613174565b604082019050919050565b600060208201905081810360008301526131ff816131c3565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000613262602a836125c2565b915061326d82613206565b604082019050919050565b6000602082019050818103600083015261329181613255565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006132f4602f836125c2565b91506132ff82613298565b604082019050919050565b60006020820190508181036000830152613323816132e7565b9050919050565b60008190508160005260206000209050919050565b6000815461334c81612d11565b61335681866125c2565b945060018216600081146133715760018114613383576133b6565b60ff19831686526020860193506133b6565b61338c8561332a565b60005b838110156133ae5781548189015260018201915060208101905061338f565b808801955050505b50505092915050565b60006040820190506133d4600083018561293c565b81810360208301526133e6818461333f565b90509392505050565b600067ffffffffffffffff82111561340a57613409612af4565b5b61341382612606565b9050602081019050919050565b600061343361342e846133ef565b612b54565b90508281526020810184848401111561344f5761344e612aef565b5b61345a8482856125d3565b509392505050565b600082601f8301126134775761347661279d565b5b8151613487848260208601613420565b91505092915050565b6000602082840312156134a6576134a56124f2565b5b600082015167ffffffffffffffff8111156134c4576134c36124f7565b5b6134d084828501613462565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006135356026836125c2565b9150613540826134d9565b604082019050919050565b6000602082019050818103600083015261356481613528565b9050919050565b7f656e6454696d6520706173736564000000000000000000000000000000000000600082015250565b60006135a1600e836125c2565b91506135ac8261356b565b602082019050919050565b600060208201905081810360008301526135d081613594565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061360d6020836125c2565b9150613618826135d7565b602082019050919050565b6000602082019050818103600083015261363c81613600565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000613679601c836125c2565b915061368482613643565b602082019050919050565b600060208201905081810360008301526136a88161366c565b9050919050565b60006136ba82612672565b91506136c583612672565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156136fa576136f961306b565b5b828201905092915050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613761602c836125c2565b915061376c82613705565b604082019050919050565b6000602082019050818103600083015261379081613754565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006137f36025836125c2565b91506137fe82613797565b604082019050919050565b60006020820190508181036000830152613822816137e6565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006138856024836125c2565b915061389082613829565b604082019050919050565b600060208201905081810360008301526138b481613878565b9050919050565b60006138c682612672565b91506138d183612672565b9250828210156138e4576138e361306b565b5b828203905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006139256019836125c2565b9150613930826138ef565b602082019050919050565b6000602082019050818103600083015261395481613918565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006139b76032836125c2565b91506139c28261395b565b604082019050919050565b600060208201905081810360008301526139e6816139aa565b9050919050565b600081905092915050565b6000613a03826125b7565b613a0d81856139ed565b9350613a1d8185602086016125d3565b80840191505092915050565b6000613a3582856139f8565b9150613a4182846139f8565b91508190509392505050565b6000819050919050565b613a6081613a4d565b82525050565b6000602082019050613a7b6000830184613a57565b92915050565b6000613a8c826126f5565b9050919050565b613a9c81613a81565b8114613aa757600080fd5b50565b600081519050613ab981613a93565b92915050565b600060208284031215613ad557613ad46124f2565b5b6000613ae384828501613aaa565b91505092915050565b600081519050613afb81612731565b92915050565b600060208284031215613b1757613b166124f2565b5b6000613b2584828501613aec565b91505092915050565b7f63616c6c657220646f6573206e6f74206f776e20454e53206e616d6500000000600082015250565b6000613b64601c836125c2565b9150613b6f82613b2e565b602082019050919050565b60006020820190508181036000830152613b9381613b57565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000613bc182613b9a565b613bcb8185613ba5565b9350613bdb8185602086016125d3565b613be481612606565b840191505092915050565b6000608082019050613c046000830187612707565b613c116020830186612707565b613c1e604083018561293c565b8181036060830152613c308184613bb6565b905095945050505050565b600081519050613c4a81612528565b92915050565b600060208284031215613c6657613c656124f2565b5b6000613c7484828501613c3b565b91505092915050565b6000613c8882612672565b915060008203613c9b57613c9a61306b565b5b600182039050919050565b7f686578206c656e67746820696e73756666696369656e74000000000000000000600082015250565b6000613cdc6017836125c2565b9150613ce782613ca6565b602082019050919050565b60006020820190508181036000830152613d0b81613ccf565b9050919050565b6000819050919050565b613d2d613d2882613a4d565b613d12565b82525050565b6000613d3f8285613d1c565b602082019150613d4f8284613d1c565b602082019150819050939250505056fea264697066735822122091406fc7f5e758f0654f4e73bbdd39d1b23d896f29d9211117df48bf3834f47464736f6c634300080e0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000006310586f000000000000000000000000b29ec41aa0e9ee612471ea66c14e9084467e8cd20000000000000000000000000000000000000000000000000000000000000043697066733a2f2f6261667962656963336b326878716b7166637a617862353272796837746966746433357877376232713471356164646e786b6232686c34766269792f0000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _baseURI (string): ipfs://bafybeic3k2hxqkqfczaxb52ryh7tiftd35xw7b2q4q5addnxkb2hl4vbiy/
Arg [1] : _endTime (uint64): 1662015599
Arg [2] : _renderer (address): 0xb29EC41aa0E9EE612471ea66C14e9084467E8Cd2
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 000000000000000000000000000000000000000000000000000000006310586f
Arg [2] : 000000000000000000000000b29ec41aa0e9ee612471ea66c14e9084467e8cd2
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [4] : 697066733a2f2f6261667962656963336b326878716b7166637a617862353272
Arg [5] : 796837746966746433357877376232713471356164646e786b6232686c347662
Arg [6] : 69792f0000000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.