Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 4,524 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Set Approval For... | 24493701 | 34 days ago | IN | 0 ETH | 0.00009418 | ||||
| Set Approval For... | 24140896 | 83 days ago | IN | 0 ETH | 0.00004972 | ||||
| Set Approval For... | 24140891 | 83 days ago | IN | 0 ETH | 0.00004973 | ||||
| Set Approval For... | 24082419 | 91 days ago | IN | 0 ETH | 0.00000285 | ||||
| Set Approval For... | 24059608 | 94 days ago | IN | 0 ETH | 0.00009332 | ||||
| Set Approval For... | 24045064 | 96 days ago | IN | 0 ETH | 0.00000127 | ||||
| Set Approval For... | 24045063 | 96 days ago | IN | 0 ETH | 0.00000205 | ||||
| Set Approval For... | 22568640 | 303 days ago | IN | 0 ETH | 0.00013504 | ||||
| Back From Work | 22431660 | 322 days ago | IN | 0 ETH | 0.00032952 | ||||
| Transfer From | 22380325 | 329 days ago | IN | 0 ETH | 0.00008419 | ||||
| Set Approval For... | 22227630 | 351 days ago | IN | 0 ETH | 0.00002216 | ||||
| Set Approval For... | 22159847 | 360 days ago | IN | 0 ETH | 0.0000169 | ||||
| Set Approval For... | 22049296 | 376 days ago | IN | 0 ETH | 0.0000222 | ||||
| Set Approval For... | 21973027 | 386 days ago | IN | 0 ETH | 0.00008317 | ||||
| Back From Work | 21739023 | 419 days ago | IN | 0 ETH | 0.00049768 | ||||
| Set Approval For... | 21537439 | 447 days ago | IN | 0 ETH | 0.00037406 | ||||
| Set Approval For... | 21494675 | 453 days ago | IN | 0 ETH | 0.00070229 | ||||
| Set Approval For... | 21244366 | 488 days ago | IN | 0 ETH | 0.00070092 | ||||
| Back From Work | 21244122 | 488 days ago | IN | 0 ETH | 0.00130511 | ||||
| Set Approval For... | 21159072 | 500 days ago | IN | 0 ETH | 0.000837 | ||||
| Set Approval For... | 21159025 | 500 days ago | IN | 0 ETH | 0.00081994 | ||||
| Back From Work | 21016798 | 520 days ago | IN | 0 ETH | 0.00053167 | ||||
| Back From Work | 20890364 | 538 days ago | IN | 0 ETH | 0.00058469 | ||||
| Set Approval For... | 20699269 | 564 days ago | IN | 0 ETH | 0.00003987 | ||||
| Set Approval For... | 20277929 | 623 days ago | IN | 0 ETH | 0.00034631 |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
Deskheads
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2022-07-07
*/
// File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol)
pragma solidity ^0.8.0;
/**
* @dev These functions deal with verification of Merkle Trees proofs.
*
* The proofs can be generated using the JavaScript library
* https://github.com/miguelmota/merkletreejs[merkletreejs].
* Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
*
* See `test/utils/cryptography/MerkleProof.test.js` for some examples.
*/
library MerkleProof {
/**
* @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
* defined by `root`. For this, a `proof` must be provided, containing
* sibling hashes on the branch from the leaf to the root of the tree. Each
* pair of leaves and each pair of pre-images are assumed to be sorted.
*/
function verify(
bytes32[] memory proof,
bytes32 root,
bytes32 leaf
) internal pure returns (bool) {
return processProof(proof, leaf) == root;
}
/**
* @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
* from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
* hash matches the root of the tree. When processing the proof, the pairs
* of leafs & pre-images are assumed to be sorted.
*
* _Available since v4.4._
*/
function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
bytes32 computedHash = leaf;
for (uint256 i = 0; i < proof.length; i++) {
bytes32 proofElement = proof[i];
if (computedHash <= proofElement) {
// Hash(current computed hash + current element of the proof)
computedHash = _efficientHash(computedHash, proofElement);
} else {
// Hash(current element of the proof + current computed hash)
computedHash = _efficientHash(proofElement, computedHash);
}
}
return computedHash;
}
function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
assembly {
mstore(0x00, a)
mstore(0x20, b)
value := keccak256(0x00, 0x40)
}
}
}
// File: @openzeppelin/contracts/utils/Strings.sol
// 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);
}
}
// File: @openzeppelin/contracts/utils/Context.sol
// 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;
}
}
// File: @openzeppelin/contracts/access/Ownable.sol
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)
pragma solidity ^0.8.0;
/**
* @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);
}
}
// File: @openzeppelin/contracts/utils/Address.sol
// 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);
}
}
}
}
// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)
pragma solidity ^0.8.0;
/**
* @title ERC721 token receiver interface
* @dev Interface for any contract that wants to support safeTransfers
* from ERC721 asset contracts.
*/
interface IERC721Receiver {
/**
* @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
* by `operator` from `from`, this function is called.
*
* It must return its Solidity selector to confirm the token transfer.
* If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
*
* The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
*/
function onERC721Received(
address operator,
address from,
uint256 tokenId,
bytes calldata data
) external returns (bytes4);
}
// File: @openzeppelin/contracts/utils/introspection/IERC165.sol
// 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);
}
// File: @openzeppelin/contracts/utils/introspection/ERC165.sol
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)
pragma solidity ^0.8.0;
/**
* @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;
}
}
// File: @openzeppelin/contracts/token/ERC721/IERC721.sol
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)
pragma solidity ^0.8.0;
/**
* @dev Required interface of an ERC721 compliant contract.
*/
interface IERC721 is IERC165 {
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
*/
event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
*/
event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
/**
* @dev Returns the number of tokens in ``owner``'s account.
*/
function balanceOf(address owner) external view returns (uint256 balance);
/**
* @dev Returns the owner of the `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function ownerOf(uint256 tokenId) external view returns (address owner);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) external;
/**
* @dev Transfers `tokenId` token from `from` to `to`.
*
* WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address from,
address to,
uint256 tokenId
) external;
/**
* @dev Gives permission to `to` to transfer `tokenId` token to another account.
* The approval is cleared when the token is transferred.
*
* Only a single account can be approved at a time, so approving the zero address clears previous approvals.
*
* Requirements:
*
* - The caller must own the token or be an approved operator.
* - `tokenId` must exist.
*
* Emits an {Approval} event.
*/
function approve(address to, uint256 tokenId) external;
/**
* @dev Returns the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) external view returns (address operator);
/**
* @dev Approve or remove `operator` as an operator for the caller.
* Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
*
* Requirements:
*
* - The `operator` cannot be the caller.
*
* Emits an {ApprovalForAll} event.
*/
function setApprovalForAll(address operator, bool _approved) external;
/**
* @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
*
* See {setApprovalForAll}
*/
function isApprovedForAll(address owner, address operator) external view returns (bool);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId,
bytes calldata data
) external;
}
// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)
pragma solidity ^0.8.0;
/**
* @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);
}
// File: erc721a@3.3.0/contracts/IERC721A.sol
// ERC721A Contracts v3.3.0
// Creator: Chiru Labs
pragma solidity ^0.8.4;
/**
* @dev Interface of an ERC721A compliant contract.
*/
interface IERC721A is IERC721, IERC721Metadata {
/**
* The caller must own the token or be an approved operator.
*/
error ApprovalCallerNotOwnerNorApproved();
/**
* The token does not exist.
*/
error ApprovalQueryForNonexistentToken();
/**
* The caller cannot approve to their own address.
*/
error ApproveToCaller();
/**
* The caller cannot approve to the current owner.
*/
error ApprovalToCurrentOwner();
/**
* Cannot query the balance for the zero address.
*/
error BalanceQueryForZeroAddress();
/**
* Cannot mint to the zero address.
*/
error MintToZeroAddress();
/**
* The quantity of tokens minted must be more than zero.
*/
error MintZeroQuantity();
/**
* The token does not exist.
*/
error OwnerQueryForNonexistentToken();
/**
* The caller must own the token or be an approved operator.
*/
error TransferCallerNotOwnerNorApproved();
/**
* The token must be owned by `from`.
*/
error TransferFromIncorrectOwner();
/**
* Cannot safely transfer to a contract that does not implement the ERC721Receiver interface.
*/
error TransferToNonERC721ReceiverImplementer();
/**
* Cannot transfer to the zero address.
*/
error TransferToZeroAddress();
/**
* The token does not exist.
*/
error URIQueryForNonexistentToken();
// Compiler will pack this into a single 256bit word.
struct TokenOwnership {
// The address of the owner.
address addr;
// Keeps track of the start time of ownership with minimal overhead for tokenomics.
uint64 startTimestamp;
// Whether the token has been burned.
bool burned;
}
// Compiler will pack this into a single 256bit word.
struct AddressData {
// Realistically, 2**64-1 is more than enough.
uint64 balance;
// Keeps track of mint count with minimal overhead for tokenomics.
uint64 numberMinted;
// Keeps track of burn count with minimal overhead for tokenomics.
uint64 numberBurned;
// For miscellaneous variable(s) pertaining to the address
// (e.g. number of whitelist mint slots used).
// If there are multiple variables, please pack them into a uint64.
uint64 aux;
}
/**
* @dev Returns the total amount of tokens stored by the contract.
*
* Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens.
*/
function totalSupply() external view returns (uint256);
}
// File: erc721a@3.3.0/contracts/ERC721A.sol
// ERC721A Contracts v3.3.0
// Creator: Chiru Labs
pragma solidity ^0.8.4;
/**
* @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
* the Metadata extension. Built to optimize for lower gas during batch mints.
*
* Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..).
*
* Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
*
* Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
*/
contract ERC721A is Context, ERC165, IERC721A {
using Address for address;
using Strings for uint256;
// The tokenId of the next token to be minted.
uint256 internal _currentIndex;
// The number of tokens burned.
uint256 internal _burnCounter;
// Token name
string private _name;
// Token symbol
string private _symbol;
// Mapping from token ID to ownership details
// An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details.
mapping(uint256 => TokenOwnership) internal _ownerships;
// Mapping owner address to address data
mapping(address => AddressData) private _addressData;
// Mapping from token ID to approved address
mapping(uint256 => address) private _tokenApprovals;
// Mapping from owner to operator approvals
mapping(address => mapping(address => bool)) private _operatorApprovals;
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
_currentIndex = _startTokenId();
}
/**
* To change the starting tokenId, please override this function.
*/
function _startTokenId() internal view virtual returns (uint256) {
return 0;
}
/**
* @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
*/
function totalSupply() public view override returns (uint256) {
// Counter underflow is impossible as _burnCounter cannot be incremented
// more than _currentIndex - _startTokenId() times
unchecked {
return _currentIndex - _burnCounter - _startTokenId();
}
}
/**
* Returns the total amount of tokens minted in the contract.
*/
function _totalMinted() internal view returns (uint256) {
// Counter underflow is impossible as _currentIndex does not decrement,
// and it is initialized to _startTokenId()
unchecked {
return _currentIndex - _startTokenId();
}
}
/**
* @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 override returns (uint256) {
if (owner == address(0)) revert BalanceQueryForZeroAddress();
return uint256(_addressData[owner].balance);
}
/**
* Returns the number of tokens minted by `owner`.
*/
function _numberMinted(address owner) internal view returns (uint256) {
return uint256(_addressData[owner].numberMinted);
}
/**
* Returns the number of tokens burned by or on behalf of `owner`.
*/
function _numberBurned(address owner) internal view returns (uint256) {
return uint256(_addressData[owner].numberBurned);
}
/**
* Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
*/
function _getAux(address owner) internal view returns (uint64) {
return _addressData[owner].aux;
}
/**
* Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
* If there are multiple variables, please pack them into a uint64.
*/
function _setAux(address owner, uint64 aux) internal {
_addressData[owner].aux = aux;
}
/**
* Gas spent here starts off proportional to the maximum mint batch size.
* It gradually moves to O(1) as tokens get transferred around in the collection over time.
*/
function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
uint256 curr = tokenId;
unchecked {
if (_startTokenId() <= curr) if (curr < _currentIndex) {
TokenOwnership memory ownership = _ownerships[curr];
if (!ownership.burned) {
if (ownership.addr != address(0)) {
return ownership;
}
// Invariant:
// There will always be an ownership that has an address and is not burned
// before an ownership that does not have an address and is not burned.
// Hence, curr will not underflow.
while (true) {
curr--;
ownership = _ownerships[curr];
if (ownership.addr != address(0)) {
return ownership;
}
}
}
}
}
revert OwnerQueryForNonexistentToken();
}
/**
* @dev See {IERC721-ownerOf}.
*/
function ownerOf(uint256 tokenId) public view override returns (address) {
return _ownershipOf(tokenId).addr;
}
/**
* @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) {
if (!_exists(tokenId)) revert URIQueryForNonexistentToken();
string memory baseURI = _baseURI();
return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : '';
}
/**
* @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
* token will be the concatenation of the `baseURI` and the `tokenId`. Empty
* by default, can be overriden in child contracts.
*/
function _baseURI() internal view virtual returns (string memory) {
return '';
}
/**
* @dev See {IERC721-approve}.
*/
function approve(address to, uint256 tokenId) public override {
address owner = ERC721A.ownerOf(tokenId);
if (to == owner) revert ApprovalToCurrentOwner();
if (_msgSender() != owner) if(!isApprovedForAll(owner, _msgSender())) {
revert ApprovalCallerNotOwnerNorApproved();
}
_approve(to, tokenId, owner);
}
/**
* @dev See {IERC721-getApproved}.
*/
function getApproved(uint256 tokenId) public view override returns (address) {
if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();
return _tokenApprovals[tokenId];
}
/**
* @dev See {IERC721-setApprovalForAll}.
*/
function setApprovalForAll(address operator, bool approved) public virtual override {
if (operator == _msgSender()) revert ApproveToCaller();
_operatorApprovals[_msgSender()][operator] = approved;
emit ApprovalForAll(_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 {
_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 {
_transfer(from, to, tokenId);
if (to.isContract()) if(!_checkContractOnERC721Received(from, to, tokenId, _data)) {
revert TransferToNonERC721ReceiverImplementer();
}
}
/**
* @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`),
*/
function _exists(uint256 tokenId) internal view returns (bool) {
return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned;
}
/**
* @dev Equivalent to `_safeMint(to, quantity, '')`.
*/
function _safeMint(address to, uint256 quantity) internal {
_safeMint(to, quantity, '');
}
/**
* @dev Safely mints `quantity` tokens and transfers them to `to`.
*
* Requirements:
*
* - If `to` refers to a smart contract, it must implement
* {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
* - `quantity` must be greater than 0.
*
* Emits a {Transfer} event.
*/
function _safeMint(
address to,
uint256 quantity,
bytes memory _data
) internal {
uint256 startTokenId = _currentIndex;
if (to == address(0)) revert MintToZeroAddress();
if (quantity == 0) revert MintZeroQuantity();
_beforeTokenTransfers(address(0), to, startTokenId, quantity);
// Overflows are incredibly unrealistic.
// balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
// updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
unchecked {
_addressData[to].balance += uint64(quantity);
_addressData[to].numberMinted += uint64(quantity);
_ownerships[startTokenId].addr = to;
_ownerships[startTokenId].startTimestamp = uint64(block.timestamp);
uint256 updatedIndex = startTokenId;
uint256 end = updatedIndex + quantity;
if (to.isContract()) {
do {
emit Transfer(address(0), to, updatedIndex);
if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
revert TransferToNonERC721ReceiverImplementer();
}
} while (updatedIndex < end);
// Reentrancy protection
if (_currentIndex != startTokenId) revert();
} else {
do {
emit Transfer(address(0), to, updatedIndex++);
} while (updatedIndex < end);
}
_currentIndex = updatedIndex;
}
_afterTokenTransfers(address(0), to, startTokenId, quantity);
}
/**
* @dev Mints `quantity` tokens and transfers them to `to`.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `quantity` must be greater than 0.
*
* Emits a {Transfer} event.
*/
function _mint(address to, uint256 quantity) internal {
uint256 startTokenId = _currentIndex;
if (to == address(0)) revert MintToZeroAddress();
if (quantity == 0) revert MintZeroQuantity();
_beforeTokenTransfers(address(0), to, startTokenId, quantity);
// Overflows are incredibly unrealistic.
// balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
// updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
unchecked {
_addressData[to].balance += uint64(quantity);
_addressData[to].numberMinted += uint64(quantity);
_ownerships[startTokenId].addr = to;
_ownerships[startTokenId].startTimestamp = uint64(block.timestamp);
uint256 updatedIndex = startTokenId;
uint256 end = updatedIndex + quantity;
do {
emit Transfer(address(0), to, updatedIndex++);
} while (updatedIndex < end);
_currentIndex = updatedIndex;
}
_afterTokenTransfers(address(0), to, startTokenId, quantity);
}
/**
* @dev Transfers `tokenId` from `from` to `to`.
*
* 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
) private {
TokenOwnership memory prevOwnership = _ownershipOf(tokenId);
if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();
bool isApprovedOrOwner = (_msgSender() == from ||
isApprovedForAll(from, _msgSender()) ||
getApproved(tokenId) == _msgSender());
if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
if (to == address(0)) revert TransferToZeroAddress();
_beforeTokenTransfers(from, to, tokenId, 1);
// Clear approvals from the previous owner
_approve(address(0), tokenId, from);
// Underflow of the sender's balance is impossible because we check for
// ownership above and the recipient's balance can't realistically overflow.
// Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
unchecked {
_addressData[from].balance -= 1;
_addressData[to].balance += 1;
TokenOwnership storage currSlot = _ownerships[tokenId];
currSlot.addr = to;
currSlot.startTimestamp = uint64(block.timestamp);
// If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
// Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
uint256 nextTokenId = tokenId + 1;
TokenOwnership storage nextSlot = _ownerships[nextTokenId];
if (nextSlot.addr == address(0)) {
// This will suffice for checking _exists(nextTokenId),
// as a burned slot cannot contain the zero address.
if (nextTokenId != _currentIndex) {
nextSlot.addr = from;
nextSlot.startTimestamp = prevOwnership.startTimestamp;
}
}
}
emit Transfer(from, to, tokenId);
_afterTokenTransfers(from, to, tokenId, 1);
}
/**
* @dev Equivalent to `_burn(tokenId, false)`.
*/
function _burn(uint256 tokenId) internal virtual {
_burn(tokenId, false);
}
/**
* @dev Destroys `tokenId`.
* The approval is cleared when the token is burned.
*
* Requirements:
*
* - `tokenId` must exist.
*
* Emits a {Transfer} event.
*/
function _burn(uint256 tokenId, bool approvalCheck) internal virtual {
TokenOwnership memory prevOwnership = _ownershipOf(tokenId);
address from = prevOwnership.addr;
if (approvalCheck) {
bool isApprovedOrOwner = (_msgSender() == from ||
isApprovedForAll(from, _msgSender()) ||
getApproved(tokenId) == _msgSender());
if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
}
_beforeTokenTransfers(from, address(0), tokenId, 1);
// Clear approvals from the previous owner
_approve(address(0), tokenId, from);
// Underflow of the sender's balance is impossible because we check for
// ownership above and the recipient's balance can't realistically overflow.
// Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
unchecked {
AddressData storage addressData = _addressData[from];
addressData.balance -= 1;
addressData.numberBurned += 1;
// Keep track of who burned the token, and the timestamp of burning.
TokenOwnership storage currSlot = _ownerships[tokenId];
currSlot.addr = from;
currSlot.startTimestamp = uint64(block.timestamp);
currSlot.burned = true;
// If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
// Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
uint256 nextTokenId = tokenId + 1;
TokenOwnership storage nextSlot = _ownerships[nextTokenId];
if (nextSlot.addr == address(0)) {
// This will suffice for checking _exists(nextTokenId),
// as a burned slot cannot contain the zero address.
if (nextTokenId != _currentIndex) {
nextSlot.addr = from;
nextSlot.startTimestamp = prevOwnership.startTimestamp;
}
}
}
emit Transfer(from, address(0), tokenId);
_afterTokenTransfers(from, address(0), tokenId, 1);
// Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
unchecked {
_burnCounter++;
}
}
/**
* @dev Approve `to` to operate on `tokenId`
*
* Emits a {Approval} event.
*/
function _approve(
address to,
uint256 tokenId,
address owner
) private {
_tokenApprovals[tokenId] = to;
emit Approval(owner, to, tokenId);
}
/**
* @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received(
address from,
address to,
uint256 tokenId,
bytes memory _data
) private returns (bool) {
try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
return retval == IERC721Receiver(to).onERC721Received.selector;
} catch (bytes memory reason) {
if (reason.length == 0) {
revert TransferToNonERC721ReceiverImplementer();
} else {
assembly {
revert(add(32, reason), mload(reason))
}
}
}
}
/**
* @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
* And also called before burning one token.
*
* startTokenId - the first token id to be transferred
* quantity - the amount to be transferred
*
* 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, `tokenId` will be burned by `from`.
* - `from` and `to` are never both zero.
*/
function _beforeTokenTransfers(
address from,
address to,
uint256 startTokenId,
uint256 quantity
) internal virtual {}
/**
* @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
* minting.
* And also called after one token has been burned.
*
* startTokenId - the first token id to be transferred
* quantity - the amount to be transferred
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
* transferred to `to`.
* - When `from` is zero, `tokenId` has been minted for `to`.
* - When `to` is zero, `tokenId` has been burned by `from`.
* - `from` and `to` are never both zero.
*/
function _afterTokenTransfers(
address from,
address to,
uint256 startTokenId,
uint256 quantity
) internal virtual {}
}
// File: erc721a@3.3.0/contracts/extensions/IERC721AQueryable.sol
// ERC721A Contracts v3.3.0
// Creator: Chiru Labs
pragma solidity ^0.8.4;
/**
* @dev Interface of an ERC721AQueryable compliant contract.
*/
interface IERC721AQueryable is IERC721A {
/**
* Invalid query range (`start` >= `stop`).
*/
error InvalidQueryRange();
/**
* @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
*
* If the `tokenId` is out of bounds:
* - `addr` = `address(0)`
* - `startTimestamp` = `0`
* - `burned` = `false`
*
* If the `tokenId` is burned:
* - `addr` = `<Address of owner before token was burned>`
* - `startTimestamp` = `<Timestamp when token was burned>`
* - `burned = `true`
*
* Otherwise:
* - `addr` = `<Address of owner>`
* - `startTimestamp` = `<Timestamp of start of ownership>`
* - `burned = `false`
*/
function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory);
/**
* @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
* See {ERC721AQueryable-explicitOwnershipOf}
*/
function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory);
/**
* @dev Returns an array of token IDs owned by `owner`,
* in the range [`start`, `stop`)
* (i.e. `start <= tokenId < stop`).
*
* This function allows for tokens to be queried if the collection
* grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
*
* Requirements:
*
* - `start` < `stop`
*/
function tokensOfOwnerIn(
address owner,
uint256 start,
uint256 stop
) external view returns (uint256[] memory);
/**
* @dev Returns an array of token IDs owned by `owner`.
*
* This function scans the ownership mapping and is O(totalSupply) in complexity.
* It is meant to be called off-chain.
*
* See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
* multiple smaller scans if the collection is large enough to cause
* an out-of-gas error (10K pfp collections should be fine).
*/
function tokensOfOwner(address owner) external view returns (uint256[] memory);
}
// File: erc721a@3.3.0/contracts/extensions/ERC721AQueryable.sol
// ERC721A Contracts v3.3.0
// Creator: Chiru Labs
pragma solidity ^0.8.4;
/**
* @title ERC721A Queryable
* @dev ERC721A subclass with convenience query functions.
*/
abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable {
/**
* @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
*
* If the `tokenId` is out of bounds:
* - `addr` = `address(0)`
* - `startTimestamp` = `0`
* - `burned` = `false`
*
* If the `tokenId` is burned:
* - `addr` = `<Address of owner before token was burned>`
* - `startTimestamp` = `<Timestamp when token was burned>`
* - `burned = `true`
*
* Otherwise:
* - `addr` = `<Address of owner>`
* - `startTimestamp` = `<Timestamp of start of ownership>`
* - `burned = `false`
*/
function explicitOwnershipOf(uint256 tokenId) public view override returns (TokenOwnership memory) {
TokenOwnership memory ownership;
if (tokenId < _startTokenId() || tokenId >= _currentIndex) {
return ownership;
}
ownership = _ownerships[tokenId];
if (ownership.burned) {
return ownership;
}
return _ownershipOf(tokenId);
}
/**
* @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
* See {ERC721AQueryable-explicitOwnershipOf}
*/
function explicitOwnershipsOf(uint256[] memory tokenIds) external view override returns (TokenOwnership[] memory) {
unchecked {
uint256 tokenIdsLength = tokenIds.length;
TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength);
for (uint256 i; i != tokenIdsLength; ++i) {
ownerships[i] = explicitOwnershipOf(tokenIds[i]);
}
return ownerships;
}
}
/**
* @dev Returns an array of token IDs owned by `owner`,
* in the range [`start`, `stop`)
* (i.e. `start <= tokenId < stop`).
*
* This function allows for tokens to be queried if the collection
* grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
*
* Requirements:
*
* - `start` < `stop`
*/
function tokensOfOwnerIn(
address owner,
uint256 start,
uint256 stop
) external view override returns (uint256[] memory) {
unchecked {
if (start >= stop) revert InvalidQueryRange();
uint256 tokenIdsIdx;
uint256 stopLimit = _currentIndex;
// Set `start = max(start, _startTokenId())`.
if (start < _startTokenId()) {
start = _startTokenId();
}
// Set `stop = min(stop, _currentIndex)`.
if (stop > stopLimit) {
stop = stopLimit;
}
uint256 tokenIdsMaxLength = balanceOf(owner);
// Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`,
// to cater for cases where `balanceOf(owner)` is too big.
if (start < stop) {
uint256 rangeLength = stop - start;
if (rangeLength < tokenIdsMaxLength) {
tokenIdsMaxLength = rangeLength;
}
} else {
tokenIdsMaxLength = 0;
}
uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength);
if (tokenIdsMaxLength == 0) {
return tokenIds;
}
// We need to call `explicitOwnershipOf(start)`,
// because the slot at `start` may not be initialized.
TokenOwnership memory ownership = explicitOwnershipOf(start);
address currOwnershipAddr;
// If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`.
// `ownership.address` will not be zero, as `start` is clamped to the valid token ID range.
if (!ownership.burned) {
currOwnershipAddr = ownership.addr;
}
for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) {
ownership = _ownerships[i];
if (ownership.burned) {
continue;
}
if (ownership.addr != address(0)) {
currOwnershipAddr = ownership.addr;
}
if (currOwnershipAddr == owner) {
tokenIds[tokenIdsIdx++] = i;
}
}
// Downsize the array to fit.
assembly {
mstore(tokenIds, tokenIdsIdx)
}
return tokenIds;
}
}
/**
* @dev Returns an array of token IDs owned by `owner`.
*
* This function scans the ownership mapping and is O(totalSupply) in complexity.
* It is meant to be called off-chain.
*
* See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
* multiple smaller scans if the collection is large enough to cause
* an out-of-gas error (10K pfp collections should be fine).
*/
function tokensOfOwner(address owner) external view override returns (uint256[] memory) {
unchecked {
uint256 tokenIdsIdx;
address currOwnershipAddr;
uint256 tokenIdsLength = balanceOf(owner);
uint256[] memory tokenIds = new uint256[](tokenIdsLength);
TokenOwnership memory ownership;
for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) {
ownership = _ownerships[i];
if (ownership.burned) {
continue;
}
if (ownership.addr != address(0)) {
currOwnershipAddr = ownership.addr;
}
if (currOwnershipAddr == owner) {
tokenIds[tokenIdsIdx++] = i;
}
}
return tokenIds;
}
}
}
// File: contracts/Deskheads.sol
pragma solidity ^0.8.7;
contract Deskheads is ERC721AQueryable, Ownable, IERC721Receiver {
uint public immutable MAX_PER_WALLET_CL = 2; // Collabs
uint public immutable MAX_PER_WALLET_DL = 2; // Desklist
uint public immutable MAX_PER_WALLET_PB = 3; // Public
uint public immutable MAX_SUPPLY = 5555;
uint public immutable PRICE = 0.069 ether;
using Strings for uint256;
// SALES
// address to amount
mapping(address => uint256) private minters;
enum SaleState {
DISABLED, WHITELIST, PUBLIC
}
SaleState public saleState;
bytes32 public merkleRootCL;
bytes32 public merkleRootDL;
// REVEAL
bool public isRevealed;
uint256 public tokenOffset;
string public baseURI;
string public preRevealURI = "ipfs://QmQ9xAqaRMootJMxdCdjDSvwJ8H4ZshNKmvtqWhHJCC7Ev";
// STAKING
// token to time
mapping(uint => uint) private cumulativeWorkTime;
struct Worker {
address owner;
uint64 startWorkTime;
}
// token to worker
mapping(uint => Worker) private workplaceVault;
constructor() ERC721A("DESKHEADS", "DSKHD") {
saleState = SaleState.DISABLED;
}
modifier isMerkleProofValid(bytes32[] calldata merkleProof, bytes32 root) {
require(MerkleProof.verify(merkleProof,root,keccak256(abi.encodePacked(msg.sender))),"Address not whitelisted");
_;
}
modifier isSupplyExceeded(uint quantity) {
require(totalSupply() + quantity <= MAX_SUPPLY, "Exceeds MAX_SUPPLY");
_;
}
// ============ MINT METHODS ============
function mintDeskhead(uint quantity, bool stake) internal {
minters[msg.sender] += quantity;
if(stake)
{
uint startingTokenId = _currentIndex;
_mint(address(this), quantity);
for (uint i = 0; i < quantity; i++) {
addToVault(startingTokenId + i, msg.sender);
}
}
else
{
_mint(msg.sender, quantity);
}
}
function mintCL(bytes32[] calldata merkleProof, uint quantity, bool stake) external payable isMerkleProofValid(merkleProof, merkleRootCL) isSupplyExceeded(quantity) {
require(saleState == SaleState.WHITELIST, "WL sale disabled");
require(quantity + minters[msg.sender] <= MAX_PER_WALLET_CL, "Exceeds MAX_PER_WALLET_CL");
require(msg.value >= (PRICE * quantity), "Insufficient funds");
mintDeskhead(quantity,stake);
}
function mintDL(bytes32[] calldata merkleProof, uint quantity, bool stake) external payable isMerkleProofValid(merkleProof, merkleRootDL) isSupplyExceeded(quantity) {
require(saleState == SaleState.WHITELIST, "WL sale disabled");
require(quantity + minters[msg.sender] <= MAX_PER_WALLET_DL, "Exceeds MAX_PER_WALLET_DL");
require(msg.value >= (PRICE * quantity), "Insufficient funds");
mintDeskhead(quantity,stake);
}
function mintPublic(uint quantity, bool stake) external payable isSupplyExceeded(quantity) {
require(saleState == SaleState.PUBLIC, "Public sale disabled");
require(quantity + minters[msg.sender] <= MAX_PER_WALLET_PB, "Exceeds MAX_PER_WALLET_PB");
require(msg.value >= (PRICE * quantity), "Insufficient funds");
mintDeskhead(quantity,stake);
}
// ============ OVERRIDES ============
function _startTokenId() internal view virtual override returns (uint256) {
return 1;
}
function _baseURI() internal view override returns (string memory) {
return baseURI;
}
function onERC721Received(address, address from, uint, bytes calldata) external pure override returns (bytes4) {
return this.onERC721Received.selector;
}
function tokenURI(uint256 _tokenId) public view override returns (string memory) {
require(_exists(_tokenId), "ERC721Metadata: URI query for nonexistent token");
if (!isRevealed) return preRevealURI;
uint256 finalTokenId = ((_tokenId - 1) + tokenOffset) % totalSupply() + 1;
return string(abi.encodePacked(baseURI, finalTokenId.toString()));
}
// ============ STAKING METHODS ============
function addToVault(uint tokenId, address holder) internal
{
workplaceVault[tokenId] = Worker({owner: holder,startWorkTime: uint64(block.timestamp)});
}
function removeFromVault(uint tokenId) internal
{
delete workplaceVault[tokenId];
}
function sendToWork(uint[] calldata tokenIds) external
{
for (uint i = 0; i < tokenIds.length; i++) {
uint tokenId = tokenIds[i];
require(workplaceVault[tokenId].owner == address(0), "Token already at work");
require(ownerOf(tokenId) == msg.sender, "Token not owned by msg.sender");
this.transferFrom(msg.sender, address(this), tokenId);
addToVault(tokenId, msg.sender);
}
}
function backFromWork(uint[] calldata tokenIds) external
{
for (uint i = 0; i < tokenIds.length; i++) {
uint tokenId = tokenIds[i];
require(workplaceVault[tokenId].owner != address(0), "Token not at work");
require(workplaceVault[tokenId].owner == msg.sender, "Token not owned by msg.sender");
cumulativeWorkTime[tokenId] = cumulativeWorkTime[tokenId] + (block.timestamp - workplaceVault[tokenId].startWorkTime);
removeFromVault(tokenId);
this.transferFrom(address(this), msg.sender, tokenId);
}
}
function getWorkTime(uint256 tokenId) external view returns (bool working, uint current, uint cumulative)
{
if (workplaceVault[tokenId].owner != address(0)) {
working = true;
current = block.timestamp - workplaceVault[tokenId].startWorkTime;
}
cumulative = current + cumulativeWorkTime[tokenId];
}
function getWorkerOwner(uint256 tokenId) external view returns (address owner)
{
return workplaceVault[tokenId].owner;
}
function listWorkers(address account) public view returns(uint256[] memory ){
uint256 totalTokens = getWorkerBalance(account);
uint256[] memory tokenIds = new uint256[](totalTokens);
uint256 j;
for (uint i = 1; j != totalTokens; i++) {
if(workplaceVault[i].owner==account){
tokenIds[j] = i;
j++;
}
}
return tokenIds;
}
function getWorkerBalance(address account) public view returns (uint) {
uint balance;
for(uint i = 1; i <= totalSupply(); i++) {
if (workplaceVault[i].owner == account) {
balance += 1;
}
}
return balance;
}
// ============ OWNER METHODS ============
function mintPrivate(address _to,uint quantity) external onlyOwner isSupplyExceeded(quantity) {
_safeMint(_to, quantity);
}
function setMerkleRootCL(bytes32 merkleRoot) external onlyOwner {
merkleRootCL = merkleRoot;
}
function setMerkleRootDL(bytes32 merkleRoot) external onlyOwner {
merkleRootDL = merkleRoot;
}
function setPreRevealURI(string memory _uri) external onlyOwner {
preRevealURI = _uri;
}
function setBaseURI(string memory _uri) external onlyOwner {
baseURI = _uri;
}
function reveal() external onlyOwner {
require(!isRevealed, "Cannot reveal more than once");
tokenOffset = uint256(blockhash(block.number - 1));
isRevealed = true;
}
// TOGGLE SALES : 0 - DISABLED, 1 - WHITELIST, 2 - PUBLIC
function setSaleState(uint state) external onlyOwner {
require(state <= uint256(SaleState.PUBLIC), "Invalid state");
saleState = SaleState(state);
}
function withdraw() public onlyOwner {
payable(msg.sender).transfer(address(this).balance);
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_PER_WALLET_CL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_WALLET_DL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_WALLET_PB","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"backFromWork","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":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"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":"uint256","name":"tokenId","type":"uint256"}],"name":"getWorkTime","outputs":[{"internalType":"bool","name":"working","type":"bool"},{"internalType":"uint256","name":"current","type":"uint256"},{"internalType":"uint256","name":"cumulative","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getWorkerBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getWorkerOwner","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"listWorkers","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRootCL","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRootDL","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bool","name":"stake","type":"bool"}],"name":"mintCL","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bool","name":"stake","type":"bool"}],"name":"mintDL","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintPrivate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bool","name":"stake","type":"bool"}],"name":"mintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preRevealURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleState","outputs":[{"internalType":"enum Deskheads.SaleState","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"sendToWork","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setMerkleRootCL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setMerkleRootDL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setPreRevealURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"state","type":"uint256"}],"name":"setSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenOffset","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
6002608081905260a052600360c0526115b360e05266f523226980800061010052610180604052603561012081815290620039326101403980516200004d9160109160209091019062000135565b503480156200005b57600080fd5b5060408051808201825260098152684445534b484541445360b81b6020808301918252835180850190945260058452641114d2d21160da1b908401528151919291620000aa9160029162000135565b508051620000c090600390602084019062000135565b5050600160005550620000d333620000e3565b600a805460ff1916905562000218565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200014390620001db565b90600052602060002090601f016020900481019282620001675760008555620001b2565b82601f106200018257805160ff1916838001178555620001b2565b82800160010185558215620001b2579182015b82811115620001b257825182559160200191906001019062000195565b50620001c0929150620001c4565b5090565b5b80821115620001c05760008155600101620001c5565b600181811c90821680620001f057607f821691505b602082108114156200021257634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05160e051610100516136966200029c600039600081816107a101528181610dfc01526111a401526000818161052c01528181610cbf01528181610edc0152818161106b015261132701526000818161044b0152610d7e01526000818161087d015261112601526000818161033001526113e201526136966000f3fe6080604052600436106102e45760003560e01c8063603f4d5211610190578063a22cb465116100dc578063c23dc68f11610095578063e985e9c51161006f578063e985e9c514610958578063f2fde38b14610978578063f79d203b14610998578063f8112b19146109b857600080fd5b8063c23dc68f146108f5578063c87b56dd14610922578063dc8c57b41461094257600080fd5b8063a22cb46514610836578063a475b5dd14610856578063a8ef52421461086b578063af7fb5271461089f578063b88d4fde146108b5578063bddc51aa146108d557600080fd5b80638462151c116101495780638da5cb5b116101235780638da5cb5b146107c35780638dbf2974146107e157806395d89b411461080157806399a2557a1461081657600080fd5b80638462151c14610742578063877df0801461076f5780638d859f3e1461078f57600080fd5b8063603f4d521461069c5780636352211e146106c35780636c0360eb146106e357806370a08231146106f8578063715018a61461071857806379b6ed361461072d57600080fd5b80632a85db551161024f5780634cb6f34c1161020857806354214f69116101e257806354214f69146105ff578063550dd8811461061957806355f804b31461064f5780635bbb21771461066f57600080fd5b80634cb6f34c146105b65780634d0de225146105cc578063513f72a5146105ec57600080fd5b80632a85db55146104fa57806332cb6b0c1461051a5780633627d3a11461054e5780633ccfd60b1461056e57806342842e0e146105835780634919a0a3146105a357600080fd5b8063095ea7b3116102a1578063095ea7b31461041957806310909ab914610439578063150b7a021461046d57806318160ddd146104b257806323b872dd146104c757806329f04d1a146104e757600080fd5b806301ffc9a7146102e9578063022f3e7a1461031e57806306fdde03146103605780630750f37f14610382578063081812fc146103bf578063084c4088146103f7575b600080fd5b3480156102f557600080fd5b50610309610304366004613150565b6109d8565b60405190151581526020015b60405180910390f35b34801561032a57600080fd5b506103527f000000000000000000000000000000000000000000000000000000000000000081565b604051908152602001610315565b34801561036c57600080fd5b50610375610a2a565b60405161031591906133eb565b34801561038e57600080fd5b506103a261039d366004613137565b610abc565b604080519315158452602084019290925290820152606001610315565b3480156103cb57600080fd5b506103df6103da366004613137565b610b2e565b6040516001600160a01b039091168152602001610315565b34801561040357600080fd5b50610417610412366004613137565b610b72565b005b34801561042557600080fd5b50610417610434366004612f91565b610c1c565b34801561044557600080fd5b506103527f000000000000000000000000000000000000000000000000000000000000000081565b34801561047957600080fd5b50610499610488366004612e52565b630a85bd0160e11b95945050505050565b6040516001600160e01b03199091168152602001610315565b3480156104be57600080fd5b50610352610ca3565b3480156104d357600080fd5b506104176104e2366004612e16565b610cb1565b6104176104f53660046131d2565b610cbc565b34801561050657600080fd5b5061041761051536600461318a565b610e6e565b34801561052657600080fd5b506103527f000000000000000000000000000000000000000000000000000000000000000081565b34801561055a57600080fd5b50610417610569366004612f91565b610eaf565b34801561057a57600080fd5b50610417610f36565b34801561058f57600080fd5b5061041761059e366004612e16565b610f8f565b6104176105b1366004612fee565b610faa565b3480156105c257600080fd5b50610352600b5481565b3480156105d857600080fd5b506103526105e7366004612dc8565b611220565b6104176105fa366004612fee565b61127d565b34801561060b57600080fd5b50600d546103099060ff1681565b34801561062557600080fd5b506103df610634366004613137565b6000908152601260205260409020546001600160a01b031690565b34801561065b57600080fd5b5061041761066a36600461318a565b61145a565b34801561067b57600080fd5b5061068f61068a36600461308b565b611497565b6040516103159190613321565b3480156106a857600080fd5b50600a546106b69060ff1681565b60405161031591906133c3565b3480156106cf57600080fd5b506103df6106de366004613137565b61155d565b3480156106ef57600080fd5b5061037561156f565b34801561070457600080fd5b50610352610713366004612dc8565b6115fd565b34801561072457600080fd5b5061041761164b565b34801561073957600080fd5b50610375611681565b34801561074e57600080fd5b5061076261075d366004612dc8565b61168e565b604051610315919061338b565b34801561077b57600080fd5b5061076261078a366004612dc8565b6117db565b34801561079b57600080fd5b506103527f000000000000000000000000000000000000000000000000000000000000000081565b3480156107cf57600080fd5b506008546001600160a01b03166103df565b3480156107ed57600080fd5b506104176107fc36600461304a565b6118a6565b34801561080d57600080fd5b50610375611a6e565b34801561082257600080fd5b50610762610831366004612fbb565b611a7d565b34801561084257600080fd5b50610417610851366004612f67565b611c43565b34801561086257600080fd5b50610417611cd9565b34801561087757600080fd5b506103527f000000000000000000000000000000000000000000000000000000000000000081565b3480156108ab57600080fd5b50610352600c5481565b3480156108c157600080fd5b506104176108d0366004612eec565b611d74565b3480156108e157600080fd5b506104176108f036600461304a565b611dbe565b34801561090157600080fd5b50610915610910366004613137565b611f24565b604051610315919061345f565b34801561092e57600080fd5b5061037561093d366004613137565b611fde565b34801561094e57600080fd5b50610352600e5481565b34801561096457600080fd5b50610309610973366004612de3565b612155565b34801561098457600080fd5b50610417610993366004612dc8565b612183565b3480156109a457600080fd5b506104176109b3366004613137565b61221b565b3480156109c457600080fd5b506104176109d3366004613137565b61224a565b60006001600160e01b031982166380ac58cd60e01b1480610a0957506001600160e01b03198216635b5e139f60e01b145b80610a2457506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060028054610a3990613552565b80601f0160208091040260200160405190810160405280929190818152602001828054610a6590613552565b8015610ab25780601f10610a8757610100808354040283529160200191610ab2565b820191906000526020600020905b815481529060010190602001808311610a9557829003601f168201915b5050505050905090565b600081815260126020526040812054819081906001600160a01b031615610b0d5760008481526012602052604090205460019350610b0a90600160a01b90046001600160401b03164261350f565b91505b600084815260116020526040902054610b2690836134c4565b929491935050565b6000610b3982612279565b610b56576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6008546001600160a01b03163314610ba55760405162461bcd60e51b8152600401610b9c906133fe565b60405180910390fd5b6002811115610be65760405162461bcd60e51b815260206004820152600d60248201526c496e76616c696420737461746560981b6044820152606401610b9c565b806002811115610bf857610bf86135e8565b600a805460ff19166001836002811115610c1457610c146135e8565b021790555050565b6000610c278261155d565b9050806001600160a01b0316836001600160a01b03161415610c5c5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614610c9357610c768133612155565b610c93576040516367d9dca160e11b815260040160405180910390fd5b610c9e8383836122b2565b505050565b600154600054036000190190565b610c9e83838361230e565b817f000000000000000000000000000000000000000000000000000000000000000081610ce7610ca3565b610cf191906134c4565b1115610d0f5760405162461bcd60e51b8152600401610b9c90613433565b6002600a5460ff166002811115610d2857610d286135e8565b14610d6c5760405162461bcd60e51b8152602060048201526014602482015273141d589b1a58c81cd85b1948191a5cd8589b195960621b6044820152606401610b9c565b336000908152600960205260409020547f000000000000000000000000000000000000000000000000000000000000000090610da890856134c4565b1115610df65760405162461bcd60e51b815260206004820152601960248201527f45786365656473204d41585f5045525f57414c4c45545f5042000000000000006044820152606401610b9c565b610e20837f00000000000000000000000000000000000000000000000000000000000000006134f0565b341015610e645760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610b9c565b610c9e83836124e9565b6008546001600160a01b03163314610e985760405162461bcd60e51b8152600401610b9c906133fe565b8051610eab906010906020840190612c61565b5050565b6008546001600160a01b03163314610ed95760405162461bcd60e51b8152600401610b9c906133fe565b807f000000000000000000000000000000000000000000000000000000000000000081610f04610ca3565b610f0e91906134c4565b1115610f2c5760405162461bcd60e51b8152600401610b9c90613433565b610c9e838361255a565b6008546001600160a01b03163314610f605760405162461bcd60e51b8152600401610b9c906133fe565b60405133904780156108fc02916000818181858888f19350505050158015610f8c573d6000803e3d6000fd5b50565b610c9e83838360405180602001604052806000815250611d74565b8383600c54611022838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040516bffffffffffffffffffffffff193360601b16602082015285925060340190505b60405160208183030381529060405280519060200120612574565b6110685760405162461bcd60e51b81526020600482015260176024820152761059191c995cdcc81b9bdd081dda1a5d195b1a5cdd1959604a1b6044820152606401610b9c565b847f000000000000000000000000000000000000000000000000000000000000000081611093610ca3565b61109d91906134c4565b11156110bb5760405162461bcd60e51b8152600401610b9c90613433565b6001600a5460ff1660028111156110d4576110d46135e8565b146111145760405162461bcd60e51b815260206004820152601060248201526f15d3081cd85b1948191a5cd8589b195960821b6044820152606401610b9c565b336000908152600960205260409020547f00000000000000000000000000000000000000000000000000000000000000009061115090886134c4565b111561119e5760405162461bcd60e51b815260206004820152601960248201527f45786365656473204d41585f5045525f57414c4c45545f444c000000000000006044820152606401610b9c565b6111c8867f00000000000000000000000000000000000000000000000000000000000000006134f0565b34101561120c5760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610b9c565b61121686866124e9565b5050505050505050565b60008060015b61122e610ca3565b8111611276576000818152601260205260409020546001600160a01b0385811691161415611264576112616001836134c4565b91505b8061126e8161358d565b915050611226565b5092915050565b8383600b546112de838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040516bffffffffffffffffffffffff193360601b1660208201528592506034019050611007565b6113245760405162461bcd60e51b81526020600482015260176024820152761059191c995cdcc81b9bdd081dda1a5d195b1a5cdd1959604a1b6044820152606401610b9c565b847f00000000000000000000000000000000000000000000000000000000000000008161134f610ca3565b61135991906134c4565b11156113775760405162461bcd60e51b8152600401610b9c90613433565b6001600a5460ff166002811115611390576113906135e8565b146113d05760405162461bcd60e51b815260206004820152601060248201526f15d3081cd85b1948191a5cd8589b195960821b6044820152606401610b9c565b336000908152600960205260409020547f00000000000000000000000000000000000000000000000000000000000000009061140c90886134c4565b111561119e5760405162461bcd60e51b815260206004820152601960248201527f45786365656473204d41585f5045525f57414c4c45545f434c000000000000006044820152606401610b9c565b6008546001600160a01b031633146114845760405162461bcd60e51b8152600401610b9c906133fe565b8051610eab90600f906020840190612c61565b80516060906000816001600160401b038111156114b6576114b6613614565b60405190808252806020026020018201604052801561150157816020015b60408051606081018252600080825260208083018290529282015282526000199092019101816114d45790505b50905060005b82811461155557611530858281518110611523576115236135fe565b6020026020010151611f24565b828281518110611542576115426135fe565b6020908102919091010152600101611507565b509392505050565b60006115688261258a565b5192915050565b600f805461157c90613552565b80601f01602080910402602001604051908101604052809291908181526020018280546115a890613552565b80156115f55780601f106115ca576101008083540402835291602001916115f5565b820191906000526020600020905b8154815290600101906020018083116115d857829003601f168201915b505050505081565b60006001600160a01b038216611626576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b031633146116755760405162461bcd60e51b8152600401610b9c906133fe565b61167f60006126ac565b565b6010805461157c90613552565b6060600080600061169e856115fd565b90506000816001600160401b038111156116ba576116ba613614565b6040519080825280602002602001820160405280156116e3578160200160208202803683370190505b509050611709604080516060810182526000808252602082018190529181019190915290565b60015b8386146117cf57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16158015928201929092529250611772576117c7565b81516001600160a01b03161561178757815194505b876001600160a01b0316856001600160a01b031614156117c757808387806001019850815181106117ba576117ba6135fe565b6020026020010181815250505b60010161170c565b50909695505050505050565b606060006117e883611220565b90506000816001600160401b0381111561180457611804613614565b60405190808252806020026020018201604052801561182d578160200160208202803683370190505b509050600060015b83821461189c576000818152601260205260409020546001600160a01b038781169116141561188a5780838381518110611871576118716135fe565b6020908102919091010152816118868161358d565b9250505b806118948161358d565b915050611835565b5090949350505050565b60005b81811015610c9e5760008383838181106118c5576118c56135fe565b6020908102929092013560008181526012909352604090922054919250506001600160a01b031661192c5760405162461bcd60e51b8152602060048201526011602482015270546f6b656e206e6f7420617420776f726b60781b6044820152606401610b9c565b6000818152601260205260409020546001600160a01b031633146119925760405162461bcd60e51b815260206004820152601d60248201527f546f6b656e206e6f74206f776e6564206279206d73672e73656e6465720000006044820152606401610b9c565b6000818152601260205260409020546119bb90600160a01b90046001600160401b03164261350f565b6000828152601160205260409020546119d491906134c4565b600082815260116020908152604080832093909355601290522080546001600160e01b03191690556040516323b872dd60e01b8152306004820181905233602483015260448201839052906323b872dd90606401600060405180830381600087803b158015611a4257600080fd5b505af1158015611a56573d6000803e3d6000fd5b50505050508080611a669061358d565b9150506118a9565b606060038054610a3990613552565b6060818310611a9f57604051631960ccad60e11b815260040160405180910390fd5b600080546001851015611ab157600194505b80841115611abd578093505b6000611ac8876115fd565b905084861015611ae75785850381811015611ae1578091505b50611aeb565b5060005b6000816001600160401b03811115611b0557611b05613614565b604051908082528060200260200182016040528015611b2e578160200160208202803683370190505b50905081611b41579350611c3c92505050565b6000611b4c88611f24565b905060008160400151611b5d575080515b885b888114158015611b6f5750848714155b15611c3057600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16158015928201929092529350611bd357611c28565b82516001600160a01b031615611be857825191505b8a6001600160a01b0316826001600160a01b03161415611c285780848880600101995081518110611c1b57611c1b6135fe565b6020026020010181815250505b600101611b5f565b50505092835250909150505b9392505050565b6001600160a01b038216331415611c6d5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b03163314611d035760405162461bcd60e51b8152600401610b9c906133fe565b600d5460ff1615611d565760405162461bcd60e51b815260206004820152601c60248201527f43616e6e6f742072657665616c206d6f7265207468616e206f6e6365000000006044820152606401610b9c565b611d6160014361350f565b40600e55600d805460ff19166001179055565b611d7f84848461230e565b6001600160a01b0383163b15611db857611d9b848484846126fe565b611db8576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60005b81811015610c9e576000838383818110611ddd57611ddd6135fe565b6020908102929092013560008181526012909352604090922054919250506001600160a01b031615611e495760405162461bcd60e51b8152602060048201526015602482015274546f6b656e20616c726561647920617420776f726b60581b6044820152606401610b9c565b33611e538261155d565b6001600160a01b031614611ea95760405162461bcd60e51b815260206004820152601d60248201527f546f6b656e206e6f74206f776e6564206279206d73672e73656e6465720000006044820152606401610b9c565b6040516323b872dd60e01b8152336004820152306024820181905260448201839052906323b872dd90606401600060405180830381600087803b158015611eef57600080fd5b505af1158015611f03573d6000803e3d6000fd5b50505050611f1181336127f6565b5080611f1c8161358d565b915050611dc1565b60408051606080820183526000808352602080840182905283850182905284519283018552818352820181905292810192909252906001831080611f6a57506000548310155b15611f755792915050565b50600082815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161580159282019290925290611fd55792915050565b611c3c8361258a565b6060611fe982612279565b61204d5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610b9c565b600d5460ff166120e9576010805461206490613552565b80601f016020809104026020016040519081016040528092919081815260200182805461209090613552565b80156120dd5780601f106120b2576101008083540402835291602001916120dd565b820191906000526020600020905b8154815290600101906020018083116120c057829003601f168201915b50505050509050919050565b60006120f3610ca3565b600e5461210160018661350f565b61210b91906134c4565b61211591906135a8565b6121209060016134c4565b9050600f61212d82612857565b60405160200161213e92919061323d565b604051602081830303815290604052915050919050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6008546001600160a01b031633146121ad5760405162461bcd60e51b8152600401610b9c906133fe565b6001600160a01b0381166122125760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b9c565b610f8c816126ac565b6008546001600160a01b031633146122455760405162461bcd60e51b8152600401610b9c906133fe565b600b55565b6008546001600160a01b031633146122745760405162461bcd60e51b8152600401610b9c906133fe565b600c55565b60008160011115801561228d575060005482105b8015610a24575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006123198261258a565b9050836001600160a01b031681600001516001600160a01b0316146123505760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b038616148061236e575061236e8533612155565b8061238957503361237e84610b2e565b6001600160a01b0316145b9050806123a957604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166123d057604051633a954ecd60e21b815260040160405180910390fd5b6123dc600084876122b2565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b429092169190910217835587018084529220805491939091166124b05760005482146124b057805460208601516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b031660008051602061364183398151915260405160405180910390a45050505050565b33600090815260096020526040812080548492906125089084906134c4565b90915550508015612550576000546125203084612954565b60005b83811015611db85761253e61253882846134c4565b336127f6565b806125488161358d565b915050612523565b610eab3383612954565b610eab828260405180602001604052806000815250612a63565b6000826125818584612bf5565b14949350505050565b604080516060810182526000808252602082018190529181019190915281806001116126935760005481101561269357600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161515918101829052906126915780516001600160a01b031615612628579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff161515928101929092521561268c579392505050565b612628565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906127339033908990889088906004016132e4565b602060405180830381600087803b15801561274d57600080fd5b505af192505050801561277d575060408051601f3d908101601f1916820190925261277a9181019061316d565b60015b6127d8573d8080156127ab576040519150601f19603f3d011682016040523d82523d6000602084013e6127b0565b606091505b5080516127d0576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6040805180820182526001600160a01b0392831681526001600160401b03428116602080840191825260009687526012905292909420905181549251909416600160a01b026001600160e01b03199092169390921692909217919091179055565b60608161287b5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156128a5578061288f8161358d565b915061289e9050600a836134dc565b915061287f565b6000816001600160401b038111156128bf576128bf613614565b6040519080825280601f01601f1916602001820160405280156128e9576020820181803683370190505b5090505b84156127ee576128fe60018361350f565b915061290b600a866135a8565b6129169060306134c4565b60f81b81838151811061292b5761292b6135fe565b60200101906001600160f81b031916908160001a90535061294d600a866134dc565b94506128ed565b6000546001600160a01b03831661297d57604051622e076360e81b815260040160405180910390fd5b8161299b5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020908152604080832080546001600160801b031981166001600160401b038083168a018116918217600160401b67ffffffffffffffff1990941690921783900481168a01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b4290921691909102179055808083015b6040516001830192906001600160a01b03871690600090600080516020613641833981519152908290a4808210612a295750600055505050565b6000546001600160a01b038416612a8c57604051622e076360e81b815260040160405180910390fd5b82612aaa5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038416600081815260056020908152604080832080546001600160801b031981166001600160401b038083168b018116918217600160401b67ffffffffffffffff1990941690921783900481168b01811690920217909155858452600490925290912080546001600160e01b0319168317600160a01b42909316929092029190911790558190818501903b15612bb2575b60405182906001600160a01b03881690600090600080516020613641833981519152908290a4612b7b60008784806001019550876126fe565b612b98576040516368d2bf6b60e11b815260040160405180910390fd5b808210612b42578260005414612bad57600080fd5b612be5565b5b6040516001830192906001600160a01b03881690600090600080516020613641833981519152908290a4808210612bb3575b506000908155611db89085838684565b600081815b8451811015611555576000858281518110612c1757612c176135fe565b60200260200101519050808311612c3d5760008381526020829052604090209250612c4e565b600081815260208490526040902092505b5080612c598161358d565b915050612bfa565b828054612c6d90613552565b90600052602060002090601f016020900481019282612c8f5760008555612cd5565b82601f10612ca857805160ff1916838001178555612cd5565b82800160010185558215612cd5579182015b82811115612cd5578251825591602001919060010190612cba565b50612ce1929150612ce5565b5090565b5b80821115612ce15760008155600101612ce6565b60006001600160401b03831115612d1357612d13613614565b612d26601f8401601f1916602001613494565b9050828152838383011115612d3a57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b0381168114612d6857600080fd5b919050565b60008083601f840112612d7f57600080fd5b5081356001600160401b03811115612d9657600080fd5b6020830191508360208260051b8501011115612db157600080fd5b9250929050565b80358015158114612d6857600080fd5b600060208284031215612dda57600080fd5b611c3c82612d51565b60008060408385031215612df657600080fd5b612dff83612d51565b9150612e0d60208401612d51565b90509250929050565b600080600060608486031215612e2b57600080fd5b612e3484612d51565b9250612e4260208501612d51565b9150604084013590509250925092565b600080600080600060808688031215612e6a57600080fd5b612e7386612d51565b9450612e8160208701612d51565b93506040860135925060608601356001600160401b0380821115612ea457600080fd5b818801915088601f830112612eb857600080fd5b813581811115612ec757600080fd5b896020828501011115612ed957600080fd5b9699959850939650602001949392505050565b60008060008060808587031215612f0257600080fd5b612f0b85612d51565b9350612f1960208601612d51565b92506040850135915060608501356001600160401b03811115612f3b57600080fd5b8501601f81018713612f4c57600080fd5b612f5b87823560208401612cfa565b91505092959194509250565b60008060408385031215612f7a57600080fd5b612f8383612d51565b9150612e0d60208401612db8565b60008060408385031215612fa457600080fd5b612fad83612d51565b946020939093013593505050565b600080600060608486031215612fd057600080fd5b612fd984612d51565b95602085013595506040909401359392505050565b6000806000806060858703121561300457600080fd5b84356001600160401b0381111561301a57600080fd5b61302687828801612d6d565b9095509350506020850135915061303f60408601612db8565b905092959194509250565b6000806020838503121561305d57600080fd5b82356001600160401b0381111561307357600080fd5b61307f85828601612d6d565b90969095509350505050565b6000602080838503121561309e57600080fd5b82356001600160401b03808211156130b557600080fd5b818501915085601f8301126130c957600080fd5b8135818111156130db576130db613614565b8060051b91506130ec848301613494565b8181528481019084860184860187018a101561310757600080fd5b600095505b8386101561312a57803583526001959095019491860191860161310c565b5098975050505050505050565b60006020828403121561314957600080fd5b5035919050565b60006020828403121561316257600080fd5b8135611c3c8161362a565b60006020828403121561317f57600080fd5b8151611c3c8161362a565b60006020828403121561319c57600080fd5b81356001600160401b038111156131b257600080fd5b8201601f810184136131c357600080fd5b6127ee84823560208401612cfa565b600080604083850312156131e557600080fd5b82359150612e0d60208401612db8565b6000815180845261320d816020860160208601613526565b601f01601f19169290920160200192915050565b60008151613233818560208601613526565b9290920192915050565b600080845481600182811c91508083168061325957607f831692505b602080841082141561327957634e487b7160e01b86526022600452602486fd5b81801561328d576001811461329e576132cb565b60ff198616895284890196506132cb565b60008b81526020902060005b868110156132c35781548b8201529085019083016132aa565b505084890196505b5050505050506132db8185613221565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613317908301846131f5565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156117cf5761337883855180516001600160a01b031682526020808201516001600160401b0316908301526040908101511515910152565b928401926060929092019160010161333d565b6020808252825182820181905260009190848201906040850190845b818110156117cf578351835292840192918401916001016133a7565b60208101600383106133e557634e487b7160e01b600052602160045260246000fd5b91905290565b602081526000611c3c60208301846131f5565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526012908201527145786365656473204d41585f535550504c5960701b604082015260600190565b81516001600160a01b031681526020808301516001600160401b03169082015260408083015115159082015260608101610a24565b604051601f8201601f191681016001600160401b03811182821017156134bc576134bc613614565b604052919050565b600082198211156134d7576134d76135bc565b500190565b6000826134eb576134eb6135d2565b500490565b600081600019048311821515161561350a5761350a6135bc565b500290565b600082821015613521576135216135bc565b500390565b60005b83811015613541578181015183820152602001613529565b83811115611db85750506000910152565b600181811c9082168061356657607f821691505b6020821081141561358757634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156135a1576135a16135bc565b5060010190565b6000826135b7576135b76135d2565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610f8c57600080fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220ac3a91648adbeafe2ef9562e3960f4565a0cdb867bb178bac6e7aee970b8559f64736f6c63430008070033697066733a2f2f516d513978417161524d6f6f744a4d786443646a445376774a3848345a73684e4b6d7674715768484a4343374576
Deployed Bytecode
0x6080604052600436106102e45760003560e01c8063603f4d5211610190578063a22cb465116100dc578063c23dc68f11610095578063e985e9c51161006f578063e985e9c514610958578063f2fde38b14610978578063f79d203b14610998578063f8112b19146109b857600080fd5b8063c23dc68f146108f5578063c87b56dd14610922578063dc8c57b41461094257600080fd5b8063a22cb46514610836578063a475b5dd14610856578063a8ef52421461086b578063af7fb5271461089f578063b88d4fde146108b5578063bddc51aa146108d557600080fd5b80638462151c116101495780638da5cb5b116101235780638da5cb5b146107c35780638dbf2974146107e157806395d89b411461080157806399a2557a1461081657600080fd5b80638462151c14610742578063877df0801461076f5780638d859f3e1461078f57600080fd5b8063603f4d521461069c5780636352211e146106c35780636c0360eb146106e357806370a08231146106f8578063715018a61461071857806379b6ed361461072d57600080fd5b80632a85db551161024f5780634cb6f34c1161020857806354214f69116101e257806354214f69146105ff578063550dd8811461061957806355f804b31461064f5780635bbb21771461066f57600080fd5b80634cb6f34c146105b65780634d0de225146105cc578063513f72a5146105ec57600080fd5b80632a85db55146104fa57806332cb6b0c1461051a5780633627d3a11461054e5780633ccfd60b1461056e57806342842e0e146105835780634919a0a3146105a357600080fd5b8063095ea7b3116102a1578063095ea7b31461041957806310909ab914610439578063150b7a021461046d57806318160ddd146104b257806323b872dd146104c757806329f04d1a146104e757600080fd5b806301ffc9a7146102e9578063022f3e7a1461031e57806306fdde03146103605780630750f37f14610382578063081812fc146103bf578063084c4088146103f7575b600080fd5b3480156102f557600080fd5b50610309610304366004613150565b6109d8565b60405190151581526020015b60405180910390f35b34801561032a57600080fd5b506103527f000000000000000000000000000000000000000000000000000000000000000281565b604051908152602001610315565b34801561036c57600080fd5b50610375610a2a565b60405161031591906133eb565b34801561038e57600080fd5b506103a261039d366004613137565b610abc565b604080519315158452602084019290925290820152606001610315565b3480156103cb57600080fd5b506103df6103da366004613137565b610b2e565b6040516001600160a01b039091168152602001610315565b34801561040357600080fd5b50610417610412366004613137565b610b72565b005b34801561042557600080fd5b50610417610434366004612f91565b610c1c565b34801561044557600080fd5b506103527f000000000000000000000000000000000000000000000000000000000000000381565b34801561047957600080fd5b50610499610488366004612e52565b630a85bd0160e11b95945050505050565b6040516001600160e01b03199091168152602001610315565b3480156104be57600080fd5b50610352610ca3565b3480156104d357600080fd5b506104176104e2366004612e16565b610cb1565b6104176104f53660046131d2565b610cbc565b34801561050657600080fd5b5061041761051536600461318a565b610e6e565b34801561052657600080fd5b506103527f00000000000000000000000000000000000000000000000000000000000015b381565b34801561055a57600080fd5b50610417610569366004612f91565b610eaf565b34801561057a57600080fd5b50610417610f36565b34801561058f57600080fd5b5061041761059e366004612e16565b610f8f565b6104176105b1366004612fee565b610faa565b3480156105c257600080fd5b50610352600b5481565b3480156105d857600080fd5b506103526105e7366004612dc8565b611220565b6104176105fa366004612fee565b61127d565b34801561060b57600080fd5b50600d546103099060ff1681565b34801561062557600080fd5b506103df610634366004613137565b6000908152601260205260409020546001600160a01b031690565b34801561065b57600080fd5b5061041761066a36600461318a565b61145a565b34801561067b57600080fd5b5061068f61068a36600461308b565b611497565b6040516103159190613321565b3480156106a857600080fd5b50600a546106b69060ff1681565b60405161031591906133c3565b3480156106cf57600080fd5b506103df6106de366004613137565b61155d565b3480156106ef57600080fd5b5061037561156f565b34801561070457600080fd5b50610352610713366004612dc8565b6115fd565b34801561072457600080fd5b5061041761164b565b34801561073957600080fd5b50610375611681565b34801561074e57600080fd5b5061076261075d366004612dc8565b61168e565b604051610315919061338b565b34801561077b57600080fd5b5061076261078a366004612dc8565b6117db565b34801561079b57600080fd5b506103527f00000000000000000000000000000000000000000000000000f523226980800081565b3480156107cf57600080fd5b506008546001600160a01b03166103df565b3480156107ed57600080fd5b506104176107fc36600461304a565b6118a6565b34801561080d57600080fd5b50610375611a6e565b34801561082257600080fd5b50610762610831366004612fbb565b611a7d565b34801561084257600080fd5b50610417610851366004612f67565b611c43565b34801561086257600080fd5b50610417611cd9565b34801561087757600080fd5b506103527f000000000000000000000000000000000000000000000000000000000000000281565b3480156108ab57600080fd5b50610352600c5481565b3480156108c157600080fd5b506104176108d0366004612eec565b611d74565b3480156108e157600080fd5b506104176108f036600461304a565b611dbe565b34801561090157600080fd5b50610915610910366004613137565b611f24565b604051610315919061345f565b34801561092e57600080fd5b5061037561093d366004613137565b611fde565b34801561094e57600080fd5b50610352600e5481565b34801561096457600080fd5b50610309610973366004612de3565b612155565b34801561098457600080fd5b50610417610993366004612dc8565b612183565b3480156109a457600080fd5b506104176109b3366004613137565b61221b565b3480156109c457600080fd5b506104176109d3366004613137565b61224a565b60006001600160e01b031982166380ac58cd60e01b1480610a0957506001600160e01b03198216635b5e139f60e01b145b80610a2457506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060028054610a3990613552565b80601f0160208091040260200160405190810160405280929190818152602001828054610a6590613552565b8015610ab25780601f10610a8757610100808354040283529160200191610ab2565b820191906000526020600020905b815481529060010190602001808311610a9557829003601f168201915b5050505050905090565b600081815260126020526040812054819081906001600160a01b031615610b0d5760008481526012602052604090205460019350610b0a90600160a01b90046001600160401b03164261350f565b91505b600084815260116020526040902054610b2690836134c4565b929491935050565b6000610b3982612279565b610b56576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6008546001600160a01b03163314610ba55760405162461bcd60e51b8152600401610b9c906133fe565b60405180910390fd5b6002811115610be65760405162461bcd60e51b815260206004820152600d60248201526c496e76616c696420737461746560981b6044820152606401610b9c565b806002811115610bf857610bf86135e8565b600a805460ff19166001836002811115610c1457610c146135e8565b021790555050565b6000610c278261155d565b9050806001600160a01b0316836001600160a01b03161415610c5c5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614610c9357610c768133612155565b610c93576040516367d9dca160e11b815260040160405180910390fd5b610c9e8383836122b2565b505050565b600154600054036000190190565b610c9e83838361230e565b817f00000000000000000000000000000000000000000000000000000000000015b381610ce7610ca3565b610cf191906134c4565b1115610d0f5760405162461bcd60e51b8152600401610b9c90613433565b6002600a5460ff166002811115610d2857610d286135e8565b14610d6c5760405162461bcd60e51b8152602060048201526014602482015273141d589b1a58c81cd85b1948191a5cd8589b195960621b6044820152606401610b9c565b336000908152600960205260409020547f000000000000000000000000000000000000000000000000000000000000000390610da890856134c4565b1115610df65760405162461bcd60e51b815260206004820152601960248201527f45786365656473204d41585f5045525f57414c4c45545f5042000000000000006044820152606401610b9c565b610e20837f00000000000000000000000000000000000000000000000000f52322698080006134f0565b341015610e645760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610b9c565b610c9e83836124e9565b6008546001600160a01b03163314610e985760405162461bcd60e51b8152600401610b9c906133fe565b8051610eab906010906020840190612c61565b5050565b6008546001600160a01b03163314610ed95760405162461bcd60e51b8152600401610b9c906133fe565b807f00000000000000000000000000000000000000000000000000000000000015b381610f04610ca3565b610f0e91906134c4565b1115610f2c5760405162461bcd60e51b8152600401610b9c90613433565b610c9e838361255a565b6008546001600160a01b03163314610f605760405162461bcd60e51b8152600401610b9c906133fe565b60405133904780156108fc02916000818181858888f19350505050158015610f8c573d6000803e3d6000fd5b50565b610c9e83838360405180602001604052806000815250611d74565b8383600c54611022838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040516bffffffffffffffffffffffff193360601b16602082015285925060340190505b60405160208183030381529060405280519060200120612574565b6110685760405162461bcd60e51b81526020600482015260176024820152761059191c995cdcc81b9bdd081dda1a5d195b1a5cdd1959604a1b6044820152606401610b9c565b847f00000000000000000000000000000000000000000000000000000000000015b381611093610ca3565b61109d91906134c4565b11156110bb5760405162461bcd60e51b8152600401610b9c90613433565b6001600a5460ff1660028111156110d4576110d46135e8565b146111145760405162461bcd60e51b815260206004820152601060248201526f15d3081cd85b1948191a5cd8589b195960821b6044820152606401610b9c565b336000908152600960205260409020547f00000000000000000000000000000000000000000000000000000000000000029061115090886134c4565b111561119e5760405162461bcd60e51b815260206004820152601960248201527f45786365656473204d41585f5045525f57414c4c45545f444c000000000000006044820152606401610b9c565b6111c8867f00000000000000000000000000000000000000000000000000f52322698080006134f0565b34101561120c5760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610b9c565b61121686866124e9565b5050505050505050565b60008060015b61122e610ca3565b8111611276576000818152601260205260409020546001600160a01b0385811691161415611264576112616001836134c4565b91505b8061126e8161358d565b915050611226565b5092915050565b8383600b546112de838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040516bffffffffffffffffffffffff193360601b1660208201528592506034019050611007565b6113245760405162461bcd60e51b81526020600482015260176024820152761059191c995cdcc81b9bdd081dda1a5d195b1a5cdd1959604a1b6044820152606401610b9c565b847f00000000000000000000000000000000000000000000000000000000000015b38161134f610ca3565b61135991906134c4565b11156113775760405162461bcd60e51b8152600401610b9c90613433565b6001600a5460ff166002811115611390576113906135e8565b146113d05760405162461bcd60e51b815260206004820152601060248201526f15d3081cd85b1948191a5cd8589b195960821b6044820152606401610b9c565b336000908152600960205260409020547f00000000000000000000000000000000000000000000000000000000000000029061140c90886134c4565b111561119e5760405162461bcd60e51b815260206004820152601960248201527f45786365656473204d41585f5045525f57414c4c45545f434c000000000000006044820152606401610b9c565b6008546001600160a01b031633146114845760405162461bcd60e51b8152600401610b9c906133fe565b8051610eab90600f906020840190612c61565b80516060906000816001600160401b038111156114b6576114b6613614565b60405190808252806020026020018201604052801561150157816020015b60408051606081018252600080825260208083018290529282015282526000199092019101816114d45790505b50905060005b82811461155557611530858281518110611523576115236135fe565b6020026020010151611f24565b828281518110611542576115426135fe565b6020908102919091010152600101611507565b509392505050565b60006115688261258a565b5192915050565b600f805461157c90613552565b80601f01602080910402602001604051908101604052809291908181526020018280546115a890613552565b80156115f55780601f106115ca576101008083540402835291602001916115f5565b820191906000526020600020905b8154815290600101906020018083116115d857829003601f168201915b505050505081565b60006001600160a01b038216611626576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b031633146116755760405162461bcd60e51b8152600401610b9c906133fe565b61167f60006126ac565b565b6010805461157c90613552565b6060600080600061169e856115fd565b90506000816001600160401b038111156116ba576116ba613614565b6040519080825280602002602001820160405280156116e3578160200160208202803683370190505b509050611709604080516060810182526000808252602082018190529181019190915290565b60015b8386146117cf57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16158015928201929092529250611772576117c7565b81516001600160a01b03161561178757815194505b876001600160a01b0316856001600160a01b031614156117c757808387806001019850815181106117ba576117ba6135fe565b6020026020010181815250505b60010161170c565b50909695505050505050565b606060006117e883611220565b90506000816001600160401b0381111561180457611804613614565b60405190808252806020026020018201604052801561182d578160200160208202803683370190505b509050600060015b83821461189c576000818152601260205260409020546001600160a01b038781169116141561188a5780838381518110611871576118716135fe565b6020908102919091010152816118868161358d565b9250505b806118948161358d565b915050611835565b5090949350505050565b60005b81811015610c9e5760008383838181106118c5576118c56135fe565b6020908102929092013560008181526012909352604090922054919250506001600160a01b031661192c5760405162461bcd60e51b8152602060048201526011602482015270546f6b656e206e6f7420617420776f726b60781b6044820152606401610b9c565b6000818152601260205260409020546001600160a01b031633146119925760405162461bcd60e51b815260206004820152601d60248201527f546f6b656e206e6f74206f776e6564206279206d73672e73656e6465720000006044820152606401610b9c565b6000818152601260205260409020546119bb90600160a01b90046001600160401b03164261350f565b6000828152601160205260409020546119d491906134c4565b600082815260116020908152604080832093909355601290522080546001600160e01b03191690556040516323b872dd60e01b8152306004820181905233602483015260448201839052906323b872dd90606401600060405180830381600087803b158015611a4257600080fd5b505af1158015611a56573d6000803e3d6000fd5b50505050508080611a669061358d565b9150506118a9565b606060038054610a3990613552565b6060818310611a9f57604051631960ccad60e11b815260040160405180910390fd5b600080546001851015611ab157600194505b80841115611abd578093505b6000611ac8876115fd565b905084861015611ae75785850381811015611ae1578091505b50611aeb565b5060005b6000816001600160401b03811115611b0557611b05613614565b604051908082528060200260200182016040528015611b2e578160200160208202803683370190505b50905081611b41579350611c3c92505050565b6000611b4c88611f24565b905060008160400151611b5d575080515b885b888114158015611b6f5750848714155b15611c3057600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16158015928201929092529350611bd357611c28565b82516001600160a01b031615611be857825191505b8a6001600160a01b0316826001600160a01b03161415611c285780848880600101995081518110611c1b57611c1b6135fe565b6020026020010181815250505b600101611b5f565b50505092835250909150505b9392505050565b6001600160a01b038216331415611c6d5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b03163314611d035760405162461bcd60e51b8152600401610b9c906133fe565b600d5460ff1615611d565760405162461bcd60e51b815260206004820152601c60248201527f43616e6e6f742072657665616c206d6f7265207468616e206f6e6365000000006044820152606401610b9c565b611d6160014361350f565b40600e55600d805460ff19166001179055565b611d7f84848461230e565b6001600160a01b0383163b15611db857611d9b848484846126fe565b611db8576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60005b81811015610c9e576000838383818110611ddd57611ddd6135fe565b6020908102929092013560008181526012909352604090922054919250506001600160a01b031615611e495760405162461bcd60e51b8152602060048201526015602482015274546f6b656e20616c726561647920617420776f726b60581b6044820152606401610b9c565b33611e538261155d565b6001600160a01b031614611ea95760405162461bcd60e51b815260206004820152601d60248201527f546f6b656e206e6f74206f776e6564206279206d73672e73656e6465720000006044820152606401610b9c565b6040516323b872dd60e01b8152336004820152306024820181905260448201839052906323b872dd90606401600060405180830381600087803b158015611eef57600080fd5b505af1158015611f03573d6000803e3d6000fd5b50505050611f1181336127f6565b5080611f1c8161358d565b915050611dc1565b60408051606080820183526000808352602080840182905283850182905284519283018552818352820181905292810192909252906001831080611f6a57506000548310155b15611f755792915050565b50600082815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161580159282019290925290611fd55792915050565b611c3c8361258a565b6060611fe982612279565b61204d5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610b9c565b600d5460ff166120e9576010805461206490613552565b80601f016020809104026020016040519081016040528092919081815260200182805461209090613552565b80156120dd5780601f106120b2576101008083540402835291602001916120dd565b820191906000526020600020905b8154815290600101906020018083116120c057829003601f168201915b50505050509050919050565b60006120f3610ca3565b600e5461210160018661350f565b61210b91906134c4565b61211591906135a8565b6121209060016134c4565b9050600f61212d82612857565b60405160200161213e92919061323d565b604051602081830303815290604052915050919050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6008546001600160a01b031633146121ad5760405162461bcd60e51b8152600401610b9c906133fe565b6001600160a01b0381166122125760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b9c565b610f8c816126ac565b6008546001600160a01b031633146122455760405162461bcd60e51b8152600401610b9c906133fe565b600b55565b6008546001600160a01b031633146122745760405162461bcd60e51b8152600401610b9c906133fe565b600c55565b60008160011115801561228d575060005482105b8015610a24575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006123198261258a565b9050836001600160a01b031681600001516001600160a01b0316146123505760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b038616148061236e575061236e8533612155565b8061238957503361237e84610b2e565b6001600160a01b0316145b9050806123a957604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166123d057604051633a954ecd60e21b815260040160405180910390fd5b6123dc600084876122b2565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b429092169190910217835587018084529220805491939091166124b05760005482146124b057805460208601516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b031660008051602061364183398151915260405160405180910390a45050505050565b33600090815260096020526040812080548492906125089084906134c4565b90915550508015612550576000546125203084612954565b60005b83811015611db85761253e61253882846134c4565b336127f6565b806125488161358d565b915050612523565b610eab3383612954565b610eab828260405180602001604052806000815250612a63565b6000826125818584612bf5565b14949350505050565b604080516060810182526000808252602082018190529181019190915281806001116126935760005481101561269357600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161515918101829052906126915780516001600160a01b031615612628579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff161515928101929092521561268c579392505050565b612628565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906127339033908990889088906004016132e4565b602060405180830381600087803b15801561274d57600080fd5b505af192505050801561277d575060408051601f3d908101601f1916820190925261277a9181019061316d565b60015b6127d8573d8080156127ab576040519150601f19603f3d011682016040523d82523d6000602084013e6127b0565b606091505b5080516127d0576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6040805180820182526001600160a01b0392831681526001600160401b03428116602080840191825260009687526012905292909420905181549251909416600160a01b026001600160e01b03199092169390921692909217919091179055565b60608161287b5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156128a5578061288f8161358d565b915061289e9050600a836134dc565b915061287f565b6000816001600160401b038111156128bf576128bf613614565b6040519080825280601f01601f1916602001820160405280156128e9576020820181803683370190505b5090505b84156127ee576128fe60018361350f565b915061290b600a866135a8565b6129169060306134c4565b60f81b81838151811061292b5761292b6135fe565b60200101906001600160f81b031916908160001a90535061294d600a866134dc565b94506128ed565b6000546001600160a01b03831661297d57604051622e076360e81b815260040160405180910390fd5b8161299b5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020908152604080832080546001600160801b031981166001600160401b038083168a018116918217600160401b67ffffffffffffffff1990941690921783900481168a01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b4290921691909102179055808083015b6040516001830192906001600160a01b03871690600090600080516020613641833981519152908290a4808210612a295750600055505050565b6000546001600160a01b038416612a8c57604051622e076360e81b815260040160405180910390fd5b82612aaa5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038416600081815260056020908152604080832080546001600160801b031981166001600160401b038083168b018116918217600160401b67ffffffffffffffff1990941690921783900481168b01811690920217909155858452600490925290912080546001600160e01b0319168317600160a01b42909316929092029190911790558190818501903b15612bb2575b60405182906001600160a01b03881690600090600080516020613641833981519152908290a4612b7b60008784806001019550876126fe565b612b98576040516368d2bf6b60e11b815260040160405180910390fd5b808210612b42578260005414612bad57600080fd5b612be5565b5b6040516001830192906001600160a01b03881690600090600080516020613641833981519152908290a4808210612bb3575b506000908155611db89085838684565b600081815b8451811015611555576000858281518110612c1757612c176135fe565b60200260200101519050808311612c3d5760008381526020829052604090209250612c4e565b600081815260208490526040902092505b5080612c598161358d565b915050612bfa565b828054612c6d90613552565b90600052602060002090601f016020900481019282612c8f5760008555612cd5565b82601f10612ca857805160ff1916838001178555612cd5565b82800160010185558215612cd5579182015b82811115612cd5578251825591602001919060010190612cba565b50612ce1929150612ce5565b5090565b5b80821115612ce15760008155600101612ce6565b60006001600160401b03831115612d1357612d13613614565b612d26601f8401601f1916602001613494565b9050828152838383011115612d3a57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b0381168114612d6857600080fd5b919050565b60008083601f840112612d7f57600080fd5b5081356001600160401b03811115612d9657600080fd5b6020830191508360208260051b8501011115612db157600080fd5b9250929050565b80358015158114612d6857600080fd5b600060208284031215612dda57600080fd5b611c3c82612d51565b60008060408385031215612df657600080fd5b612dff83612d51565b9150612e0d60208401612d51565b90509250929050565b600080600060608486031215612e2b57600080fd5b612e3484612d51565b9250612e4260208501612d51565b9150604084013590509250925092565b600080600080600060808688031215612e6a57600080fd5b612e7386612d51565b9450612e8160208701612d51565b93506040860135925060608601356001600160401b0380821115612ea457600080fd5b818801915088601f830112612eb857600080fd5b813581811115612ec757600080fd5b896020828501011115612ed957600080fd5b9699959850939650602001949392505050565b60008060008060808587031215612f0257600080fd5b612f0b85612d51565b9350612f1960208601612d51565b92506040850135915060608501356001600160401b03811115612f3b57600080fd5b8501601f81018713612f4c57600080fd5b612f5b87823560208401612cfa565b91505092959194509250565b60008060408385031215612f7a57600080fd5b612f8383612d51565b9150612e0d60208401612db8565b60008060408385031215612fa457600080fd5b612fad83612d51565b946020939093013593505050565b600080600060608486031215612fd057600080fd5b612fd984612d51565b95602085013595506040909401359392505050565b6000806000806060858703121561300457600080fd5b84356001600160401b0381111561301a57600080fd5b61302687828801612d6d565b9095509350506020850135915061303f60408601612db8565b905092959194509250565b6000806020838503121561305d57600080fd5b82356001600160401b0381111561307357600080fd5b61307f85828601612d6d565b90969095509350505050565b6000602080838503121561309e57600080fd5b82356001600160401b03808211156130b557600080fd5b818501915085601f8301126130c957600080fd5b8135818111156130db576130db613614565b8060051b91506130ec848301613494565b8181528481019084860184860187018a101561310757600080fd5b600095505b8386101561312a57803583526001959095019491860191860161310c565b5098975050505050505050565b60006020828403121561314957600080fd5b5035919050565b60006020828403121561316257600080fd5b8135611c3c8161362a565b60006020828403121561317f57600080fd5b8151611c3c8161362a565b60006020828403121561319c57600080fd5b81356001600160401b038111156131b257600080fd5b8201601f810184136131c357600080fd5b6127ee84823560208401612cfa565b600080604083850312156131e557600080fd5b82359150612e0d60208401612db8565b6000815180845261320d816020860160208601613526565b601f01601f19169290920160200192915050565b60008151613233818560208601613526565b9290920192915050565b600080845481600182811c91508083168061325957607f831692505b602080841082141561327957634e487b7160e01b86526022600452602486fd5b81801561328d576001811461329e576132cb565b60ff198616895284890196506132cb565b60008b81526020902060005b868110156132c35781548b8201529085019083016132aa565b505084890196505b5050505050506132db8185613221565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613317908301846131f5565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156117cf5761337883855180516001600160a01b031682526020808201516001600160401b0316908301526040908101511515910152565b928401926060929092019160010161333d565b6020808252825182820181905260009190848201906040850190845b818110156117cf578351835292840192918401916001016133a7565b60208101600383106133e557634e487b7160e01b600052602160045260246000fd5b91905290565b602081526000611c3c60208301846131f5565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526012908201527145786365656473204d41585f535550504c5960701b604082015260600190565b81516001600160a01b031681526020808301516001600160401b03169082015260408083015115159082015260608101610a24565b604051601f8201601f191681016001600160401b03811182821017156134bc576134bc613614565b604052919050565b600082198211156134d7576134d76135bc565b500190565b6000826134eb576134eb6135d2565b500490565b600081600019048311821515161561350a5761350a6135bc565b500290565b600082821015613521576135216135bc565b500390565b60005b83811015613541578181015183820152602001613529565b83811115611db85750506000910152565b600181811c9082168061356657607f821691505b6020821081141561358757634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156135a1576135a16135bc565b5060010190565b6000826135b7576135b76135d2565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610f8c57600080fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220ac3a91648adbeafe2ef9562e3960f4565a0cdb867bb178bac6e7aee970b8559f64736f6c63430008070033
Deployed Bytecode Sourcemap
58463:8085:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30908:305;;;;;;;;;;-1:-1:-1;30908:305:0;;;;;:::i;:::-;;:::i;:::-;;;12580:14:1;;12573:22;12555:41;;12543:2;12528:18;30908:305:0;;;;;;;;58537:43;;;;;;;;;;;;;;;;;;13087:25:1;;;13075:2;13060:18;58537:43:0;12941:177:1;34023:100:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;64096:370::-;;;;;;;;;;-1:-1:-1;64096:370:0;;;;;:::i;:::-;;:::i;:::-;;;;12828:14:1;;12821:22;12803:41;;12875:2;12860:18;;12853:34;;;;12903:18;;;12896:34;12791:2;12776:18;64096:370:0;12607:329:1;35527:204:0;;;;;;;;;;-1:-1:-1;35527:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;10134:32:1;;;10116:51;;10104:2;10089:18;35527:204:0;9970:203:1;66263:167:0;;;;;;;;;;-1:-1:-1;66263:167:0;;;;;:::i;:::-;;:::i;:::-;;35089:372;;;;;;;;;;-1:-1:-1;35089:372:0;;;;;:::i;:::-;;:::i;58660:43::-;;;;;;;;;;;;;;;62135:167;;;;;;;;;;-1:-1:-1;62135:167:0;;;;;:::i;:::-;-1:-1:-1;;;62135:167:0;;;;;;;;;;;-1:-1:-1;;;;;;13285:33:1;;;13267:52;;13255:2;13240:18;62135:167:0;13123:202:1;30148:312:0;;;;;;;;;;;;;:::i;36392:170::-;;;;;;;;;;-1:-1:-1;36392:170:0;;;;;:::i;:::-;;:::i;61478:386::-;;;;;;:::i;:::-;;:::i;65791:102::-;;;;;;;;;;-1:-1:-1;65791:102:0;;;;;:::i;:::-;;:::i;58720:39::-;;;;;;;;;;;;;;;65412:135;;;;;;;;;;-1:-1:-1;65412:135:0;;;;;:::i;:::-;;:::i;66438:107::-;;;;;;;;;;;;;:::i;36633:185::-;;;;;;;;;;-1:-1:-1;36633:185:0;;;;;:::i;:::-;;:::i;61011:459::-;;;;;;:::i;:::-;;:::i;59043:27::-;;;;;;;;;;;;;;;;65080:268;;;;;;;;;;-1:-1:-1;65080:268:0;;;;;:::i;:::-;;:::i;60544:459::-;;;;;;:::i;:::-;;:::i;59129:22::-;;;;;;;;;;-1:-1:-1;59129:22:0;;;;;;;;64474:137;;;;;;;;;;-1:-1:-1;64474:137:0;;;;;:::i;:::-;64538:13;64574:23;;;:14;:23;;;;;:29;-1:-1:-1;;;;;64574:29:0;;64474:137;65901:92;;;;;;;;;;-1:-1:-1;65901:92:0;;;;;:::i;:::-;;:::i;53670:468::-;;;;;;;;;;-1:-1:-1;53670:468:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;59008:26::-;;;;;;;;;;-1:-1:-1;59008:26:0;;;;;;;;;;;;;;;:::i;33831:125::-;;;;;;;;;;-1:-1:-1;33831:125:0;;;;;:::i;:::-;;:::i;59191:21::-;;;;;;;;;;;;;:::i;31277:206::-;;;;;;;;;;-1:-1:-1;31277:206:0;;;;;:::i;:::-;;:::i;7119:103::-;;;;;;;;;;;;;:::i;59219:84::-;;;;;;;;;;;;;:::i;57484:891::-;;;;;;;;;;-1:-1:-1;57484:891:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;64621:449::-;;;;;;;;;;-1:-1:-1;64621:449:0;;;;;:::i;:::-;;:::i;58766:41::-;;;;;;;;;;;;;;;6468:87;;;;;;;;;;-1:-1:-1;6541:6:0;;-1:-1:-1;;;;;6541:6:0;6468:87;;63498:590;;;;;;;;;;-1:-1:-1;63498:590:0;;;;;:::i;:::-;;:::i;34192:104::-;;;;;;;;;;;;;:::i;54528:2507::-;;;;;;;;;;-1:-1:-1;54528:2507:0;;;;;:::i;:::-;;:::i;35803:287::-;;;;;;;;;;-1:-1:-1;35803:287:0;;;;;:::i;:::-;;:::i;66001:191::-;;;;;;;;;;;;;:::i;58598:43::-;;;;;;;;;;;;;;;59077:27;;;;;;;;;;;;;;;;36889:370;;;;;;;;;;-1:-1:-1;36889:370:0;;;;;:::i;:::-;;:::i;63033:457::-;;;;;;;;;;-1:-1:-1;63033:457:0;;;;;:::i;:::-;;:::i;53093:418::-;;;;;;;;;;-1:-1:-1;53093:418:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;62310:376::-;;;;;;;;;;-1:-1:-1;62310:376:0;;;;;:::i;:::-;;:::i;59158:26::-;;;;;;;;;;;;;;;;36161:164;;;;;;;;;;-1:-1:-1;36161:164:0;;;;;:::i;:::-;;:::i;7377:201::-;;;;;;;;;;-1:-1:-1;7377:201:0;;;;;:::i;:::-;;:::i;65555:108::-;;;;;;;;;;-1:-1:-1;65555:108:0;;;;;:::i;:::-;;:::i;65671:::-;;;;;;;;;;-1:-1:-1;65671:108:0;;;;;:::i;:::-;;:::i;30908:305::-;31010:4;-1:-1:-1;;;;;;31047:40:0;;-1:-1:-1;;;31047:40:0;;:105;;-1:-1:-1;;;;;;;31104:48:0;;-1:-1:-1;;;31104:48:0;31047:105;:158;;;-1:-1:-1;;;;;;;;;;19361:40:0;;;31169:36;31027:178;30908:305;-1:-1:-1;;30908:305:0:o;34023:100::-;34077:13;34110:5;34103:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34023:100;:::o;64096:370::-;64157:12;64222:23;;;:14;:23;;;;;:29;64157:12;;;;-1:-1:-1;;;;;64222:29:0;:43;64218:170;;64339:23;;;;:14;:23;;;;;:37;64292:4;;-1:-1:-1;64321:55:0;;-1:-1:-1;;;64339:37:0;;-1:-1:-1;;;;;64339:37:0;64321:15;:55;:::i;:::-;64311:65;;64218:170;64431:27;;;;:18;:27;;;;;;64421:37;;:7;:37;:::i;:::-;64096:370;;;;-1:-1:-1;;64096:370:0:o;35527:204::-;35595:7;35620:16;35628:7;35620;:16::i;:::-;35615:64;;35645:34;;-1:-1:-1;;;35645:34:0;;;;;;;;;;;35615:64;-1:-1:-1;35699:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;35699:24:0;;35527:204::o;66263:167::-;6541:6;;-1:-1:-1;;;;;6541:6:0;5272:10;6688:23;6680:68;;;;-1:-1:-1;;;6680:68:0;;;;;;;:::i;:::-;;;;;;;;;66350:16:::1;66333:5;:34;;66325:60;;;::::0;-1:-1:-1;;;66325:60:0;;17320:2:1;66325:60:0::1;::::0;::::1;17302:21:1::0;17359:2;17339:18;;;17332:30;-1:-1:-1;;;17378:18:1;;;17371:43;17431:18;;66325:60:0::1;17118:337:1::0;66325:60:0::1;66416:5;66406:16;;;;;;;;:::i;:::-;66394:9;:28:::0;;-1:-1:-1;;66394:28:0::1;::::0;;::::1;::::0;::::1;;;;;;:::i;:::-;;;;;;66263:167:::0;:::o;35089:372::-;35162:13;35178:24;35194:7;35178:15;:24::i;:::-;35162:40;;35223:5;-1:-1:-1;;;;;35217:11:0;:2;-1:-1:-1;;;;;35217:11:0;;35213:48;;;35237:24;;-1:-1:-1;;;35237:24:0;;;;;;;;;;;35213:48;5272:10;-1:-1:-1;;;;;35278:21:0;;;35274:139;;35305:37;35322:5;5272:10;36161:164;:::i;35305:37::-;35301:112;;35366:35;;-1:-1:-1;;;35366:35:0;;;;;;;;;;;35301:112;35425:28;35434:2;35438:7;35447:5;35425:8;:28::i;:::-;35151:310;35089:372;;:::o;30148:312::-;62010:1;30411:12;30201:7;30395:13;:28;-1:-1:-1;;30395:46:0;;30148:312::o;36392:170::-;36526:28;36536:4;36542:2;36546:7;36526:9;:28::i;61478:386::-;61559:8;59983:10;59971:8;59955:13;:11;:13::i;:::-;:24;;;;:::i;:::-;:38;;59947:69;;;;-1:-1:-1;;;59947:69:0;;;;;;;:::i;:::-;61601:16:::1;61588:9;::::0;::::1;;:29;::::0;::::1;;;;;;:::i;:::-;;61580:62;;;::::0;-1:-1:-1;;;61580:62:0;;16971:2:1;61580:62:0::1;::::0;::::1;16953:21:1::0;17010:2;16990:18;;;16983:30;-1:-1:-1;;;17029:18:1;;;17022:50;17089:18;;61580:62:0::1;16769:344:1::0;61580:62:0::1;61680:10;61672:19;::::0;;;:7:::1;:19;::::0;;;;;61695:17:::1;::::0;61661:30:::1;::::0;:8;:30:::1;:::i;:::-;:51;;61653:89;;;::::0;-1:-1:-1;;;61653:89:0;;14103:2:1;61653:89:0::1;::::0;::::1;14085:21:1::0;14142:2;14122:18;;;14115:30;14181:27;14161:18;;;14154:55;14226:18;;61653:89:0::1;13901:349:1::0;61653:89:0::1;61775:16;61783:8:::0;61775:5:::1;:16;:::i;:::-;61761:9;:31;;61753:62;;;::::0;-1:-1:-1;;;61753:62:0;;16266:2:1;61753:62:0::1;::::0;::::1;16248:21:1::0;16305:2;16285:18;;;16278:30;-1:-1:-1;;;16324:18:1;;;16317:48;16382:18;;61753:62:0::1;16064:342:1::0;61753:62:0::1;61828:28;61841:8;61850:5;61828:12;:28::i;65791:102::-:0;6541:6;;-1:-1:-1;;;;;6541:6:0;5272:10;6688:23;6680:68;;;;-1:-1:-1;;;6680:68:0;;;;;;;:::i;:::-;65866:19;;::::1;::::0;:12:::1;::::0;:19:::1;::::0;::::1;::::0;::::1;:::i;:::-;;65791:102:::0;:::o;65412:135::-;6541:6;;-1:-1:-1;;;;;6541:6:0;5272:10;6688:23;6680:68;;;;-1:-1:-1;;;6680:68:0;;;;;;;:::i;:::-;65496:8:::1;59983:10;59971:8;59955:13;:11;:13::i;:::-;:24;;;;:::i;:::-;:38;;59947:69;;;;-1:-1:-1::0;;;59947:69:0::1;;;;;;;:::i;:::-;65515:24:::2;65525:3;65530:8;65515:9;:24::i;66438:107::-:0;6541:6;;-1:-1:-1;;;;;6541:6:0;5272:10;6688:23;6680:68;;;;-1:-1:-1;;;6680:68:0;;;;;;;:::i;:::-;66486:51:::1;::::0;66494:10:::1;::::0;66515:21:::1;66486:51:::0;::::1;;;::::0;::::1;::::0;;;66515:21;66494:10;66486:51;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;66438:107::o:0;36633:185::-;36771:39;36788:4;36794:2;36798:7;36771:39;;;;;;;;;;;;:16;:39::i;61011:459::-;61122:11;;61135:12;;59764:76;59783:11;;59764:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;59810:28:0;;-1:-1:-1;;59827:10:0;8706:2:1;8702:15;8698:53;59810:28:0;;;8686:66:1;59795:4:0;;-1:-1:-1;8768:12:1;;;-1:-1:-1;59810:28:0;;;;;;;;;;;;;59800:39;;;;;;59764:18;:76::i;:::-;59756:111;;;;-1:-1:-1;;;59756:111:0;;18439:2:1;59756:111:0;;;18421:21:1;18478:2;18458:18;;;18451:30;-1:-1:-1;;;18497:18:1;;;18490:53;18560:18;;59756:111:0;18237:347:1;59756:111:0;61166:8:::1;59983:10;59971:8;59955:13;:11;:13::i;:::-;:24;;;;:::i;:::-;:38;;59947:69;;;;-1:-1:-1::0;;;59947:69:0::1;;;;;;;:::i;:::-;61208:19:::2;61195:9;::::0;::::2;;:32;::::0;::::2;;;;;;:::i;:::-;;61187:61;;;::::0;-1:-1:-1;;;61187:61:0;;15921:2:1;61187:61:0::2;::::0;::::2;15903:21:1::0;15960:2;15940:18;;;15933:30;-1:-1:-1;;;15979:18:1;;;15972:46;16035:18;;61187:61:0::2;15719:340:1::0;61187:61:0::2;61286:10;61278:19;::::0;;;:7:::2;:19;::::0;;;;;61301:17:::2;::::0;61267:30:::2;::::0;:8;:30:::2;:::i;:::-;:51;;61259:89;;;::::0;-1:-1:-1;;;61259:89:0;;14864:2:1;61259:89:0::2;::::0;::::2;14846:21:1::0;14903:2;14883:18;;;14876:30;14942:27;14922:18;;;14915:55;14987:18;;61259:89:0::2;14662:349:1::0;61259:89:0::2;61381:16;61389:8:::0;61381:5:::2;:16;:::i;:::-;61367:9;:31;;61359:62;;;::::0;-1:-1:-1;;;61359:62:0;;16266:2:1;61359:62:0::2;::::0;::::2;16248:21:1::0;16305:2;16285:18;;;16278:30;-1:-1:-1;;;16324:18:1;;;16317:48;16382:18;;61359:62:0::2;16064:342:1::0;61359:62:0::2;61434:28;61447:8;61456:5;61434:12;:28::i;:::-;59878:1:::1;61011:459:::0;;;;;;;:::o;65080:268::-;65144:4;;65193:1;65180:138;65201:13;:11;:13::i;:::-;65196:1;:18;65180:138;;65236:17;;;;:14;:17;;;;;:23;-1:-1:-1;;;;;65236:34:0;;;:23;;:34;65232:77;;;65285:12;65296:1;65285:12;;:::i;:::-;;;65232:77;65216:3;;;;:::i;:::-;;;;65180:138;;;-1:-1:-1;65333:7:0;65080:268;-1:-1:-1;;65080:268:0:o;60544:459::-;60655:11;;60668:12;;59764:76;59783:11;;59764:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;59810:28:0;;-1:-1:-1;;59827:10:0;8706:2:1;8702:15;8698:53;59810:28:0;;;8686:66:1;59795:4:0;;-1:-1:-1;8768:12:1;;;-1:-1:-1;59810:28:0;8557:229:1;59764:76:0;59756:111;;;;-1:-1:-1;;;59756:111:0;;18439:2:1;59756:111:0;;;18421:21:1;18478:2;18458:18;;;18451:30;-1:-1:-1;;;18497:18:1;;;18490:53;18560:18;;59756:111:0;18237:347:1;59756:111:0;60699:8:::1;59983:10;59971:8;59955:13;:11;:13::i;:::-;:24;;;;:::i;:::-;:38;;59947:69;;;;-1:-1:-1::0;;;59947:69:0::1;;;;;;;:::i;:::-;60741:19:::2;60728:9;::::0;::::2;;:32;::::0;::::2;;;;;;:::i;:::-;;60720:61;;;::::0;-1:-1:-1;;;60720:61:0;;15921:2:1;60720:61:0::2;::::0;::::2;15903:21:1::0;15960:2;15940:18;;;15933:30;-1:-1:-1;;;15979:18:1;;;15972:46;16035:18;;60720:61:0::2;15719:340:1::0;60720:61:0::2;60819:10;60811:19;::::0;;;:7:::2;:19;::::0;;;;;60834:17:::2;::::0;60800:30:::2;::::0;:8;:30:::2;:::i;:::-;:51;;60792:89;;;::::0;-1:-1:-1;;;60792:89:0;;19488:2:1;60792:89:0::2;::::0;::::2;19470:21:1::0;19527:2;19507:18;;;19500:30;19566:27;19546:18;;;19539:55;19611:18;;60792:89:0::2;19286:349:1::0;65901:92:0;6541:6;;-1:-1:-1;;;;;6541:6:0;5272:10;6688:23;6680:68;;;;-1:-1:-1;;;6680:68:0;;;;;;;:::i;:::-;65971:14;;::::1;::::0;:7:::1;::::0;:14:::1;::::0;::::1;::::0;::::1;:::i;53670:468::-:0;53845:15;;53759:23;;53820:22;53845:15;-1:-1:-1;;;;;53912:36:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;53912:36:0;;-1:-1:-1;;53912:36:0;;;;;;;;;;;;53875:73;;53968:9;53963:125;53984:14;53979:1;:19;53963:125;;54040:32;54060:8;54069:1;54060:11;;;;;;;;:::i;:::-;;;;;;;54040:19;:32::i;:::-;54024:10;54035:1;54024:13;;;;;;;;:::i;:::-;;;;;;;;;;:48;54000:3;;53963:125;;;-1:-1:-1;54109:10:0;53670:468;-1:-1:-1;;;53670:468:0:o;33831:125::-;33895:7;33922:21;33935:7;33922:12;:21::i;:::-;:26;;33831:125;-1:-1:-1;;33831:125:0:o;59191:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;31277:206::-;31341:7;-1:-1:-1;;;;;31365:19:0;;31361:60;;31393:28;;-1:-1:-1;;;31393:28:0;;;;;;;;;;;31361:60;-1:-1:-1;;;;;;31447:19:0;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;31447:27:0;;31277:206::o;7119:103::-;6541:6;;-1:-1:-1;;;;;6541:6:0;5272:10;6688:23;6680:68;;;;-1:-1:-1;;;6680:68:0;;;;;;;:::i;:::-;7184:30:::1;7211:1;7184:18;:30::i;:::-;7119:103::o:0;59219:84::-;;;;;;;:::i;57484:891::-;57554:16;57608:19;57642:25;57682:22;57707:16;57717:5;57707:9;:16::i;:::-;57682:41;;57738:25;57780:14;-1:-1:-1;;;;;57766:29:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57766:29:0;;57738:57;;57810:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;57810:31:0;62010:1;57856:471;57905:14;57890:11;:29;57856:471;;57957:14;;;;:11;:14;;;;;;;;;57945:26;;;;;;;;;-1:-1:-1;;;;;57945:26:0;;;;-1:-1:-1;;;57945:26:0;;-1:-1:-1;;;;;57945:26:0;;;;;;;;-1:-1:-1;;;57945:26:0;;;;;;;;;;;;;;;;-1:-1:-1;57990:73:0;;58035:8;;57990:73;58085:14;;-1:-1:-1;;;;;58085:28:0;;58081:111;;58158:14;;;-1:-1:-1;58081:111:0;58235:5;-1:-1:-1;;;;;58214:26:0;:17;-1:-1:-1;;;;;58214:26:0;;58210:102;;;58291:1;58265:8;58274:13;;;;;;58265:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;58210:102;57921:3;;57856:471;;;-1:-1:-1;58348:8:0;;57484:891;-1:-1:-1;;;;;;57484:891:0:o;64621:449::-;64679:16;64708:19;64730:25;64747:7;64730:16;:25::i;:::-;64708:47;;64766:25;64808:11;-1:-1:-1;;;;;64794:26:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;64794:26:0;-1:-1:-1;64766:54:0;-1:-1:-1;64841:9:0;64875:1;64861:174;64883:11;64878:1;:16;64861:174;;64919:17;;;;:14;:17;;;;;:23;-1:-1:-1;;;;;64919:32:0;;;:23;;:32;64916:108;;;64985:1;64971:8;64980:1;64971:11;;;;;;;;:::i;:::-;;;;;;;;;;:15;65005:3;;;;:::i;:::-;;;;64916:108;64896:3;;;;:::i;:::-;;;;64861:174;;;-1:-1:-1;65054:8:0;;64621:449;-1:-1:-1;;;;64621:449:0:o;63498:590::-;63574:6;63569:512;63586:19;;;63569:512;;;63623:12;63638:8;;63647:1;63638:11;;;;;;;:::i;:::-;;;;;;;;;;63709:1;63668:23;;;:14;:23;;;;;;;:29;63638:11;;-1:-1:-1;;;;;;;63668:29:0;63660:73;;;;-1:-1:-1;;;63660:73:0;;15218:2:1;63660:73:0;;;15200:21:1;15257:2;15237:18;;;15230:30;-1:-1:-1;;;15276:18:1;;;15269:47;15333:18;;63660:73:0;15016:341:1;63660:73:0;63752:23;;;;:14;:23;;;;;:29;-1:-1:-1;;;;;63752:29:0;63785:10;63752:43;63744:85;;;;-1:-1:-1;;;63744:85:0;;16613:2:1;63744:85:0;;;16595:21:1;16652:2;16632:18;;;16625:30;16691:31;16671:18;;;16664:59;16740:18;;63744:85:0;16411:353:1;63744:85:0;63921:23;;;;:14;:23;;;;;:37;63903:55;;-1:-1:-1;;;63921:37:0;;-1:-1:-1;;;;;63921:37:0;63903:15;:55;:::i;:::-;63872:27;;;;:18;:27;;;;;;:87;;;;:::i;:::-;63842:27;;;;:18;:27;;;;;;;;:117;;;;62994:14;:23;;;62987:30;;-1:-1:-1;;;;;;62987:30:0;;;64018:53;;-1:-1:-1;;;64018:53:0;;:4;:53;;;10418:34:1;;;64051:10:0;10468:18:1;;;10461:43;10520:18;;;10513:34;;;64018:4:0;:17;;10353:18:1;;64018:53:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63612:469;63607:3;;;;;:::i;:::-;;;;63569:512;;34192:104;34248:13;34281:7;34274:14;;;;;:::i;54528:2507::-;54663:16;54730:4;54721:5;:13;54717:45;;54743:19;;-1:-1:-1;;;54743:19:0;;;;;;;;;;;54717:45;54777:19;54831:13;;62010:1;54922:5;:23;54918:87;;;62010:1;54966:23;;54918:87;55085:9;55078:4;:16;55074:73;;;55122:9;55115:16;;55074:73;55161:25;55189:16;55199:5;55189:9;:16::i;:::-;55161:44;;55383:4;55375:5;:12;55371:278;;;55430:12;;;55465:31;;;55461:111;;;55541:11;55521:31;;55461:111;55389:198;55371:278;;;-1:-1:-1;55632:1:0;55371:278;55663:25;55705:17;-1:-1:-1;;;;;55691:32:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55691:32:0;-1:-1:-1;55663:60:0;-1:-1:-1;55742:22:0;55738:78;;55792:8;-1:-1:-1;55785:15:0;;-1:-1:-1;;;55785:15:0;55738:78;55960:31;55994:26;56014:5;55994:19;:26::i;:::-;55960:60;;56035:25;56280:9;:16;;;56275:92;;-1:-1:-1;56337:14:0;;56275:92;56398:5;56381:477;56410:4;56405:1;:9;;:45;;;;;56433:17;56418:11;:32;;56405:45;56381:477;;;56488:14;;;;:11;:14;;;;;;;;;56476:26;;;;;;;;;-1:-1:-1;;;;;56476:26:0;;;;-1:-1:-1;;;56476:26:0;;-1:-1:-1;;;;;56476:26:0;;;;;;;;-1:-1:-1;;;56476:26:0;;;;;;;;;;;;;;;;-1:-1:-1;56521:73:0;;56566:8;;56521:73;56616:14;;-1:-1:-1;;;;;56616:28:0;;56612:111;;56689:14;;;-1:-1:-1;56612:111:0;56766:5;-1:-1:-1;;;;;56745:26:0;:17;-1:-1:-1;;;;;56745:26:0;;56741:102;;;56822:1;56796:8;56805:13;;;;;;56796:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;56741:102;56452:3;;56381:477;;;-1:-1:-1;;;56943:29:0;;;-1:-1:-1;56950:8:0;;-1:-1:-1;;54528:2507:0;;;;;;:::o;35803:287::-;-1:-1:-1;;;;;35902:24:0;;5272:10;35902:24;35898:54;;;35935:17;;-1:-1:-1;;;35935:17:0;;;;;;;;;;;35898:54;5272:10;35965:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;35965:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;35965:53:0;;;;;;;;;;36034:48;;12555:41:1;;;35965:42:0;;5272:10;36034:48;;12528:18:1;36034:48:0;;;;;;;35803:287;;:::o;66001:191::-;6541:6;;-1:-1:-1;;;;;6541:6:0;5272:10;6688:23;6680:68;;;;-1:-1:-1;;;6680:68:0;;;;;;;:::i;:::-;66056:10:::1;::::0;::::1;;66055:11;66047:52;;;::::0;-1:-1:-1;;;66047:52:0;;15564:2:1;66047:52:0::1;::::0;::::1;15546:21:1::0;15603:2;15583:18;;;15576:30;15642;15622:18;;;15615:58;15690:18;;66047:52:0::1;15362:352:1::0;66047:52:0::1;66140:16;66155:1;66140:12;:16;:::i;:::-;66130:27;66108:11;:50:::0;66167:10:::1;:17:::0;;-1:-1:-1;;66167:17:0::1;66180:4;66167:17;::::0;;66001:191::o;36889:370::-;37056:28;37066:4;37072:2;37076:7;37056:9;:28::i;:::-;-1:-1:-1;;;;;37099:13:0;;9464:19;:23;37095:157;;37120:56;37151:4;37157:2;37161:7;37170:5;37120:30;:56::i;:::-;37116:136;;37200:40;;-1:-1:-1;;;37200:40:0;;;;;;;;;;;37116:136;36889:370;;;;:::o;63033:457::-;63107:6;63102:381;63119:19;;;63102:381;;;63156:12;63171:8;;63180:1;63171:11;;;;;;;:::i;:::-;;;;;;;;;;63242:1;63201:23;;;:14;:23;;;;;;;:29;63171:11;;-1:-1:-1;;;;;;;63201:29:0;:43;63193:77;;;;-1:-1:-1;;;63193:77:0;;19138:2:1;63193:77:0;;;19120:21:1;19177:2;19157:18;;;19150:30;-1:-1:-1;;;19196:18:1;;;19189:51;19257:18;;63193:77:0;18936:345:1;63193:77:0;63309:10;63289:16;63297:7;63289;:16::i;:::-;-1:-1:-1;;;;;63289:30:0;;63281:72;;;;-1:-1:-1;;;63281:72:0;;16613:2:1;63281:72:0;;;16595:21:1;16652:2;16632:18;;;16625:30;16691:31;16671:18;;;16664:59;16740:18;;63281:72:0;16411:353:1;63281:72:0;63374:53;;-1:-1:-1;;;63374:53:0;;63392:10;63374:53;;;10418:34:1;63374:4:0;10468:18:1;;;10461:43;;;10520:18;;;10513:34;;;63374:4:0;:17;;10353:18:1;;63374:53:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63441:31;63452:7;63461:10;63441;:31::i;:::-;-1:-1:-1;63140:3:0;;;;:::i;:::-;;;;63102:381;;53093:418;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62010:1:0;53249:25;;;:53;;;53289:13;;53278:7;:24;;53249:53;53245:102;;;53326:9;53093:418;-1:-1:-1;;53093:418:0:o;53245:102::-;-1:-1:-1;53369:20:0;;;;:11;:20;;;;;;;;;53357:32;;;;;;;;;-1:-1:-1;;;;;53357:32:0;;;;-1:-1:-1;;;53357:32:0;;-1:-1:-1;;;;;53357:32:0;;;;;;;;-1:-1:-1;;;53357:32:0;;;;;;;;;;;;;;;;53400:65;;53444:9;53093:418;-1:-1:-1;;53093:418:0:o;53400:65::-;53482:21;53495:7;53482:12;:21::i;62310:376::-;62376:13;62408:17;62416:8;62408:7;:17::i;:::-;62400:77;;;;-1:-1:-1;;;62400:77:0;;18023:2:1;62400:77:0;;;18005:21:1;18062:2;18042:18;;;18035:30;18101:34;18081:18;;;18074:62;-1:-1:-1;;;18152:18:1;;;18145:45;18207:19;;62400:77:0;17821:411:1;62400:77:0;62491:10;;;;62486:36;;62510:12;62503:19;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62310:376;;;:::o;62486:36::-;62531:20;62587:13;:11;:13::i;:::-;62572:11;;62556:12;62567:1;62556:8;:12;:::i;:::-;62555:28;;;;:::i;:::-;62554:46;;;;:::i;:::-;:50;;62603:1;62554:50;:::i;:::-;62531:73;;62644:7;62653:23;:12;:21;:23::i;:::-;62627:50;;;;;;;;;:::i;:::-;;;;;;;;;;;;;62613:65;;;62310:376;;;:::o;36161:164::-;-1:-1:-1;;;;;36282:25:0;;;36258:4;36282:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;36161:164::o;7377:201::-;6541:6;;-1:-1:-1;;;;;6541:6:0;5272:10;6688:23;6680:68;;;;-1:-1:-1;;;6680:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;7466:22:0;::::1;7458:73;;;::::0;-1:-1:-1;;;7458:73:0;;14457:2:1;7458:73:0::1;::::0;::::1;14439:21:1::0;14496:2;14476:18;;;14469:30;14535:34;14515:18;;;14508:62;-1:-1:-1;;;14586:18:1;;;14579:36;14632:19;;7458:73:0::1;14255:402:1::0;7458:73:0::1;7542:28;7561:8;7542:18;:28::i;65555:108::-:0;6541:6;;-1:-1:-1;;;;;6541:6:0;5272:10;6688:23;6680:68;;;;-1:-1:-1;;;6680:68:0;;;;;;;:::i;:::-;65630:12:::1;:25:::0;65555:108::o;65671:::-;6541:6;;-1:-1:-1;;;;;6541:6:0;5272:10;6688:23;6680:68;;;;-1:-1:-1;;;6680:68:0;;;;;;;:::i;:::-;65746:12:::1;:25:::0;65671:108::o;37514:174::-;37571:4;37614:7;62010:1;37595:26;;:53;;;;;37635:13;;37625:7;:23;37595:53;:85;;;;-1:-1:-1;;37653:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;37653:27:0;;;;37652:28;;37514:174::o;46736:196::-;46851:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;46851:29:0;-1:-1:-1;;;;;46851:29:0;;;;;;;;;46896:28;;46851:24;;46896:28;;;;;;;46736:196;;;:::o;41684:2130::-;41799:35;41837:21;41850:7;41837:12;:21::i;:::-;41799:59;;41897:4;-1:-1:-1;;;;;41875:26:0;:13;:18;;;-1:-1:-1;;;;;41875:26:0;;41871:67;;41910:28;;-1:-1:-1;;;41910:28:0;;;;;;;;;;;41871:67;41951:22;5272:10;-1:-1:-1;;;;;41977:20:0;;;;:73;;-1:-1:-1;42014:36:0;42031:4;5272:10;36161:164;:::i;42014:36::-;41977:126;;;-1:-1:-1;5272:10:0;42067:20;42079:7;42067:11;:20::i;:::-;-1:-1:-1;;;;;42067:36:0;;41977:126;41951:153;;42122:17;42117:66;;42148:35;;-1:-1:-1;;;42148:35:0;;;;;;;;;;;42117:66;-1:-1:-1;;;;;42198:16:0;;42194:52;;42223:23;;-1:-1:-1;;;42223:23:0;;;;;;;;;;;42194:52;42367:35;42384:1;42388:7;42397:4;42367:8;:35::i;:::-;-1:-1:-1;;;;;42698:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;42698:31:0;;;-1:-1:-1;;;;;42698:31:0;;;-1:-1:-1;;42698:31:0;;;;;;;42744:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;42744:29:0;;;;;;;;;;;42824:20;;;:11;:20;;;;;;42859:18;;-1:-1:-1;;;;;;42892:49:0;;;;-1:-1:-1;;;42925:15:0;42892:49;;;;;;;;;;43215:11;;43275:24;;;;;43318:13;;42824:20;;43275:24;;43318:13;43314:384;;43528:13;;43513:11;:28;43509:174;;43566:20;;43635:28;;;;-1:-1:-1;;;;;43609:54:0;-1:-1:-1;;;43609:54:0;-1:-1:-1;;;;;;43609:54:0;;;-1:-1:-1;;;;;43566:20:0;;43609:54;;;;43509:174;42673:1036;;;43745:7;43741:2;-1:-1:-1;;;;;43726:27:0;43735:4;-1:-1:-1;;;;;43726:27:0;-1:-1:-1;;;;;;;;;;;43726:27:0;;;;;;;;;41788:2026;;41684:2130;;;:::o;60093:443::-;60172:10;60164:19;;;;:7;:19;;;;;:31;;60187:8;;60164:19;:31;;60187:8;;60164:31;:::i;:::-;;;;-1:-1:-1;;60208:321:0;;;;60240:20;60263:13;60289:30;60303:4;60310:8;60289:5;:30::i;:::-;60339:6;60334:108;60355:8;60351:1;:12;60334:108;;;60385:43;60396:19;60414:1;60396:15;:19;:::i;:::-;60417:10;60385;:43::i;:::-;60365:3;;;;:::i;:::-;;;;60334:108;;60208:321;60490:27;60496:10;60508:8;60490:5;:27::i;37772:104::-;37841:27;37851:2;37855:8;37841:27;;;;;;;;;;;;:9;:27::i;923:190::-;1048:4;1101;1072:25;1085:5;1092:4;1072:12;:25::i;:::-;:33;;923:190;-1:-1:-1;;;;923:190:0:o;32658:1111::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;32769:7:0;;62010:1;32818:23;32814:888;;32854:13;;32847:4;:20;32843:859;;;32888:31;32922:17;;;:11;:17;;;;;;;;;32888:51;;;;;;;;;-1:-1:-1;;;;;32888:51:0;;;;-1:-1:-1;;;32888:51:0;;-1:-1:-1;;;;;32888:51:0;;;;;;;;-1:-1:-1;;;32888:51:0;;;;;;;;;;;;;;32958:729;;33008:14;;-1:-1:-1;;;;;33008:28:0;;33004:101;;33072:9;32658:1111;-1:-1:-1;;;32658:1111:0:o;33004:101::-;-1:-1:-1;;;33447:6:0;33492:17;;;;:11;:17;;;;;;;;;33480:29;;;;;;;;;-1:-1:-1;;;;;33480:29:0;;;;;-1:-1:-1;;;33480:29:0;;-1:-1:-1;;;;;33480:29:0;;;;;;;;-1:-1:-1;;;33480:29:0;;;;;;;;;;;;;33540:28;33536:109;;33608:9;32658:1111;-1:-1:-1;;;32658:1111:0:o;33536:109::-;33407:261;;;32869:833;32843:859;33730:31;;-1:-1:-1;;;33730:31:0;;;;;;;;;;;7738:191;7831:6;;;-1:-1:-1;;;;;7848:17:0;;;-1:-1:-1;;;;;;7848:17:0;;;;;;;7881:40;;7831:6;;;7848:17;7831:6;;7881:40;;7812:16;;7881:40;7801:128;7738:191;:::o;47424:667::-;47608:72;;-1:-1:-1;;;47608:72:0;;47587:4;;-1:-1:-1;;;;;47608:36:0;;;;;:72;;5272:10;;47659:4;;47665:7;;47674:5;;47608:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47608:72:0;;;;;;;;-1:-1:-1;;47608:72:0;;;;;;;;;;;;:::i;:::-;;;47604:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47842:13:0;;47838:235;;47888:40;;-1:-1:-1;;;47888:40:0;;;;;;;;;;;47838:235;48031:6;48025:13;48016:6;48012:2;48008:15;48001:38;47604:480;-1:-1:-1;;;;;;47727:55:0;-1:-1:-1;;;47727:55:0;;-1:-1:-1;47604:480:0;47424:667;;;;;;:::o;62744:171::-;62845:62;;;;;;;;-1:-1:-1;;;;;62845:62:0;;;;;-1:-1:-1;;;;;62889:15:0;62845:62;;;;;;;;;-1:-1:-1;62819:23:0;;;:14;:23;;;;;;:88;;;;;;;;;-1:-1:-1;;;62819:88:0;-1:-1:-1;;;;;;62819:88:0;;;;;;;;;;;;;;;;;62744:171::o;2754:723::-;2810:13;3031:10;3027:53;;-1:-1:-1;;3058:10:0;;;;;;;;;;;;-1:-1:-1;;;3058:10:0;;;;;2754:723::o;3027:53::-;3105:5;3090:12;3146:78;3153:9;;3146:78;;3179:8;;;;:::i;:::-;;-1:-1:-1;3202:10:0;;-1:-1:-1;3210:2:0;3202:10;;:::i;:::-;;;3146:78;;;3234:19;3266:6;-1:-1:-1;;;;;3256:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3256:17:0;;3234:39;;3284:154;3291:10;;3284:154;;3318:11;3328:1;3318:11;;:::i;:::-;;-1:-1:-1;3387:10:0;3395:2;3387:5;:10;:::i;:::-;3374:24;;:2;:24;:::i;:::-;3361:39;;3344:6;3351;3344:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;3344:56:0;;;;;;;;-1:-1:-1;3415:11:0;3424:2;3415:11;;:::i;:::-;;;3284:154;;40257:1173;40322:20;40345:13;-1:-1:-1;;;;;40373:16:0;;40369:48;;40398:19;;-1:-1:-1;;;40398:19:0;;;;;;;;;;;40369:48;40432:13;40428:44;;40454:18;;-1:-1:-1;;;40454:18:0;;;;;;;;;;;40428:44;-1:-1:-1;;;;;40823:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;;;;;40882:49:0;;-1:-1:-1;;;;;40823:44:0;;;;;;;40882:49;;;-1:-1:-1;;;;;40823:44:0;;;;;;40882:49;;;;;;;;;;;;;;;;40948:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;40998:66:0;;;;-1:-1:-1;;;41048:15:0;40998:66;;;;;;;;;;40948:25;41145:23;;;41185:111;41212:40;;41237:14;;;;;-1:-1:-1;;;;;41212:40:0;;;41229:1;;-1:-1:-1;;;;;;;;;;;41212:40:0;41229:1;;41212:40;41291:3;41276:12;:18;41185:111;;-1:-1:-1;41312:13:0;:28;35151:310;35089:372;;:::o;38249:1749::-;38372:20;38395:13;-1:-1:-1;;;;;38423:16:0;;38419:48;;38448:19;;-1:-1:-1;;;38448:19:0;;;;;;;;;;;38419:48;38482:13;38478:44;;38504:18;;-1:-1:-1;;;38504:18:0;;;;;;;;;;;38478:44;-1:-1:-1;;;;;38873:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;;;;;38932:49:0;;-1:-1:-1;;;;;38873:44:0;;;;;;;38932:49;;;-1:-1:-1;;;;;38873:44:0;;;;;;38932:49;;;;;;;;;;;;;;;;38998:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;39048:66:0;;;-1:-1:-1;;;39098:15:0;39048:66;;;;;;;;;;;;;38998:25;;39195:23;;;;9464:19;:23;39235:631;;39275:313;39306:38;;39331:12;;-1:-1:-1;;;;;39306:38:0;;;39323:1;;-1:-1:-1;;;;;;;;;;;39306:38:0;39323:1;;39306:38;39372:69;39411:1;39415:2;39419:14;;;;;;39435:5;39372:30;:69::i;:::-;39367:174;;39477:40;;-1:-1:-1;;;39477:40:0;;;;;;;;;;;39367:174;39583:3;39568:12;:18;39275:313;;39669:12;39652:13;;:29;39648:43;;39683:8;;;39648:43;39235:631;;;39732:119;39763:40;;39788:14;;;;;-1:-1:-1;;;;;39763:40:0;;;39780:1;;-1:-1:-1;;;;;;;;;;;39763:40:0;39780:1;;39763:40;39846:3;39831:12;:18;39732:119;;39235:631;-1:-1:-1;39880:13:0;:28;;;39930:60;;39963:2;39967:12;39981:8;39930:60;:::i;1475:675::-;1558:7;1601:4;1558:7;1616:497;1640:5;:12;1636:1;:16;1616:497;;;1674:20;1697:5;1703:1;1697:8;;;;;;;;:::i;:::-;;;;;;;1674:31;;1740:12;1724;:28;1720:382;;2226:13;2276:15;;;2312:4;2305:15;;;2359:4;2343:21;;1852:57;;1720:382;;;2226:13;2276:15;;;2312:4;2305:15;;;2359:4;2343:21;;2029:57;;1720:382;-1:-1:-1;1654:3:0;;;;:::i;:::-;;;;1616:497;;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:406:1;78:5;-1:-1:-1;;;;;104:6:1;101:30;98:56;;;134:18;;:::i;:::-;172:57;217:2;196:15;;-1:-1:-1;;192:29:1;223:4;188:40;172:57;:::i;:::-;163:66;;252:6;245:5;238:21;292:3;283:6;278:3;274:16;271:25;268:45;;;309:1;306;299:12;268:45;358:6;353:3;346:4;339:5;335:16;322:43;412:1;405:4;396:6;389:5;385:18;381:29;374:40;14:406;;;;;:::o;425:173::-;493:20;;-1:-1:-1;;;;;542:31:1;;532:42;;522:70;;588:1;585;578:12;522:70;425:173;;;:::o;603:367::-;666:8;676:6;730:3;723:4;715:6;711:17;707:27;697:55;;748:1;745;738:12;697:55;-1:-1:-1;771:20:1;;-1:-1:-1;;;;;803:30:1;;800:50;;;846:1;843;836:12;800:50;883:4;875:6;871:17;859:29;;943:3;936:4;926:6;923:1;919:14;911:6;907:27;903:38;900:47;897:67;;;960:1;957;950:12;897:67;603:367;;;;;:::o;975:160::-;1040:20;;1096:13;;1089:21;1079:32;;1069:60;;1125:1;1122;1115:12;1140:186;1199:6;1252:2;1240:9;1231:7;1227:23;1223:32;1220:52;;;1268:1;1265;1258:12;1220:52;1291:29;1310:9;1291:29;:::i;1331:260::-;1399:6;1407;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;1499:29;1518:9;1499:29;:::i;:::-;1489:39;;1547:38;1581:2;1570:9;1566:18;1547:38;:::i;:::-;1537:48;;1331:260;;;;;:::o;1596:328::-;1673:6;1681;1689;1742:2;1730:9;1721:7;1717:23;1713:32;1710:52;;;1758:1;1755;1748:12;1710:52;1781:29;1800:9;1781:29;:::i;:::-;1771:39;;1829:38;1863:2;1852:9;1848:18;1829:38;:::i;:::-;1819:48;;1914:2;1903:9;1899:18;1886:32;1876:42;;1596:328;;;;;:::o;1929:808::-;2026:6;2034;2042;2050;2058;2111:3;2099:9;2090:7;2086:23;2082:33;2079:53;;;2128:1;2125;2118:12;2079:53;2151:29;2170:9;2151:29;:::i;:::-;2141:39;;2199:38;2233:2;2222:9;2218:18;2199:38;:::i;:::-;2189:48;;2284:2;2273:9;2269:18;2256:32;2246:42;;2339:2;2328:9;2324:18;2311:32;-1:-1:-1;;;;;2403:2:1;2395:6;2392:14;2389:34;;;2419:1;2416;2409:12;2389:34;2457:6;2446:9;2442:22;2432:32;;2502:7;2495:4;2491:2;2487:13;2483:27;2473:55;;2524:1;2521;2514:12;2473:55;2564:2;2551:16;2590:2;2582:6;2579:14;2576:34;;;2606:1;2603;2596:12;2576:34;2651:7;2646:2;2637:6;2633:2;2629:15;2625:24;2622:37;2619:57;;;2672:1;2669;2662:12;2619:57;1929:808;;;;-1:-1:-1;1929:808:1;;-1:-1:-1;2703:2:1;2695:11;;2725:6;1929:808;-1:-1:-1;;;1929:808:1:o;2742:666::-;2837:6;2845;2853;2861;2914:3;2902:9;2893:7;2889:23;2885:33;2882:53;;;2931:1;2928;2921:12;2882:53;2954:29;2973:9;2954:29;:::i;:::-;2944:39;;3002:38;3036:2;3025:9;3021:18;3002:38;:::i;:::-;2992:48;;3087:2;3076:9;3072:18;3059:32;3049:42;;3142:2;3131:9;3127:18;3114:32;-1:-1:-1;;;;;3161:6:1;3158:30;3155:50;;;3201:1;3198;3191:12;3155:50;3224:22;;3277:4;3269:13;;3265:27;-1:-1:-1;3255:55:1;;3306:1;3303;3296:12;3255:55;3329:73;3394:7;3389:2;3376:16;3371:2;3367;3363:11;3329:73;:::i;:::-;3319:83;;;2742:666;;;;;;;:::o;3413:254::-;3478:6;3486;3539:2;3527:9;3518:7;3514:23;3510:32;3507:52;;;3555:1;3552;3545:12;3507:52;3578:29;3597:9;3578:29;:::i;:::-;3568:39;;3626:35;3657:2;3646:9;3642:18;3626:35;:::i;3672:254::-;3740:6;3748;3801:2;3789:9;3780:7;3776:23;3772:32;3769:52;;;3817:1;3814;3807:12;3769:52;3840:29;3859:9;3840:29;:::i;:::-;3830:39;3916:2;3901:18;;;;3888:32;;-1:-1:-1;;;3672:254:1:o;3931:322::-;4008:6;4016;4024;4077:2;4065:9;4056:7;4052:23;4048:32;4045:52;;;4093:1;4090;4083:12;4045:52;4116:29;4135:9;4116:29;:::i;:::-;4106:39;4192:2;4177:18;;4164:32;;-1:-1:-1;4243:2:1;4228:18;;;4215:32;;3931:322;-1:-1:-1;;;3931:322:1:o;4258:573::-;4359:6;4367;4375;4383;4436:2;4424:9;4415:7;4411:23;4407:32;4404:52;;;4452:1;4449;4442:12;4404:52;4492:9;4479:23;-1:-1:-1;;;;;4517:6:1;4514:30;4511:50;;;4557:1;4554;4547:12;4511:50;4596:70;4658:7;4649:6;4638:9;4634:22;4596:70;:::i;:::-;4685:8;;-1:-1:-1;4570:96:1;-1:-1:-1;;4767:2:1;4752:18;;4739:32;;-1:-1:-1;4790:35:1;4821:2;4806:18;;4790:35;:::i;:::-;4780:45;;4258:573;;;;;;;:::o;4836:437::-;4922:6;4930;4983:2;4971:9;4962:7;4958:23;4954:32;4951:52;;;4999:1;4996;4989:12;4951:52;5039:9;5026:23;-1:-1:-1;;;;;5064:6:1;5061:30;5058:50;;;5104:1;5101;5094:12;5058:50;5143:70;5205:7;5196:6;5185:9;5181:22;5143:70;:::i;:::-;5232:8;;5117:96;;-1:-1:-1;4836:437:1;-1:-1:-1;;;;4836:437:1:o;5278:957::-;5362:6;5393:2;5436;5424:9;5415:7;5411:23;5407:32;5404:52;;;5452:1;5449;5442:12;5404:52;5492:9;5479:23;-1:-1:-1;;;;;5562:2:1;5554:6;5551:14;5548:34;;;5578:1;5575;5568:12;5548:34;5616:6;5605:9;5601:22;5591:32;;5661:7;5654:4;5650:2;5646:13;5642:27;5632:55;;5683:1;5680;5673:12;5632:55;5719:2;5706:16;5741:2;5737;5734:10;5731:36;;;5747:18;;:::i;:::-;5793:2;5790:1;5786:10;5776:20;;5816:28;5840:2;5836;5832:11;5816:28;:::i;:::-;5878:15;;;5909:12;;;;5941:11;;;5971;;;5967:20;;5964:33;-1:-1:-1;5961:53:1;;;6010:1;6007;6000:12;5961:53;6032:1;6023:10;;6042:163;6056:2;6053:1;6050:9;6042:163;;;6113:17;;6101:30;;6074:1;6067:9;;;;;6151:12;;;;6183;;6042:163;;;-1:-1:-1;6224:5:1;5278:957;-1:-1:-1;;;;;;;;5278:957:1:o;6240:180::-;6299:6;6352:2;6340:9;6331:7;6327:23;6323:32;6320:52;;;6368:1;6365;6358:12;6320:52;-1:-1:-1;6391:23:1;;6240:180;-1:-1:-1;6240:180:1:o;6425:245::-;6483:6;6536:2;6524:9;6515:7;6511:23;6507:32;6504:52;;;6552:1;6549;6542:12;6504:52;6591:9;6578:23;6610:30;6634:5;6610:30;:::i;6675:249::-;6744:6;6797:2;6785:9;6776:7;6772:23;6768:32;6765:52;;;6813:1;6810;6803:12;6765:52;6845:9;6839:16;6864:30;6888:5;6864:30;:::i;6929:450::-;6998:6;7051:2;7039:9;7030:7;7026:23;7022:32;7019:52;;;7067:1;7064;7057:12;7019:52;7107:9;7094:23;-1:-1:-1;;;;;7132:6:1;7129:30;7126:50;;;7172:1;7169;7162:12;7126:50;7195:22;;7248:4;7240:13;;7236:27;-1:-1:-1;7226:55:1;;7277:1;7274;7267:12;7226:55;7300:73;7365:7;7360:2;7347:16;7342:2;7338;7334:11;7300:73;:::i;7569:248::-;7634:6;7642;7695:2;7683:9;7674:7;7670:23;7666:32;7663:52;;;7711:1;7708;7701:12;7663:52;7747:9;7734:23;7724:33;;7776:35;7807:2;7796:9;7792:18;7776:35;:::i;7822:257::-;7863:3;7901:5;7895:12;7928:6;7923:3;7916:19;7944:63;8000:6;7993:4;7988:3;7984:14;7977:4;7970:5;7966:16;7944:63;:::i;:::-;8061:2;8040:15;-1:-1:-1;;8036:29:1;8027:39;;;;8068:4;8023:50;;7822:257;-1:-1:-1;;7822:257:1:o;8084:185::-;8126:3;8164:5;8158:12;8179:52;8224:6;8219:3;8212:4;8205:5;8201:16;8179:52;:::i;:::-;8247:16;;;;;8084:185;-1:-1:-1;;8084:185:1:o;8791:1174::-;8967:3;8996:1;9029:6;9023:13;9059:3;9081:1;9109:9;9105:2;9101:18;9091:28;;9169:2;9158:9;9154:18;9191;9181:61;;9235:4;9227:6;9223:17;9213:27;;9181:61;9261:2;9309;9301:6;9298:14;9278:18;9275:38;9272:165;;;-1:-1:-1;;;9336:33:1;;9392:4;9389:1;9382:15;9422:4;9343:3;9410:17;9272:165;9453:18;9480:104;;;;9598:1;9593:320;;;;9446:467;;9480:104;-1:-1:-1;;9513:24:1;;9501:37;;9558:16;;;;-1:-1:-1;9480:104:1;;9593:320;20445:1;20438:14;;;20482:4;20469:18;;9688:1;9702:165;9716:6;9713:1;9710:13;9702:165;;;9794:14;;9781:11;;;9774:35;9837:16;;;;9731:10;;9702:165;;;9706:3;;9896:6;9891:3;9887:16;9880:23;;9446:467;;;;;;;9929:30;9955:3;9947:6;9929:30;:::i;:::-;9922:37;8791:1174;-1:-1:-1;;;;;8791:1174:1:o;10558:488::-;-1:-1:-1;;;;;10827:15:1;;;10809:34;;10879:15;;10874:2;10859:18;;10852:43;10926:2;10911:18;;10904:34;;;10974:3;10969:2;10954:18;;10947:31;;;10752:4;;10995:45;;11020:19;;11012:6;10995:45;:::i;:::-;10987:53;10558:488;-1:-1:-1;;;;;;10558:488:1:o;11051:722::-;11284:2;11336:21;;;11406:13;;11309:18;;;11428:22;;;11255:4;;11284:2;11507:15;;;;11481:2;11466:18;;;11255:4;11550:197;11564:6;11561:1;11558:13;11550:197;;;11613:52;11661:3;11652:6;11646:13;8358:12;;-1:-1:-1;;;;;8354:38:1;8342:51;;8446:4;8435:16;;;8429:23;-1:-1:-1;;;;;8425:48:1;8409:14;;;8402:72;8537:4;8526:16;;;8520:23;8513:31;8506:39;8490:14;;8483:63;8274:278;11613:52;11722:15;;;;11694:4;11685:14;;;;;11586:1;11579:9;11550:197;;11778:632;11949:2;12001:21;;;12071:13;;11974:18;;;12093:22;;;11920:4;;11949:2;12172:15;;;;12146:2;12131:18;;;11920:4;12215:169;12229:6;12226:1;12223:13;12215:169;;;12290:13;;12278:26;;12359:15;;;;12324:12;;;;12251:1;12244:9;12215:169;;13330:342;13476:2;13461:18;;13509:1;13498:13;;13488:144;;13554:10;13549:3;13545:20;13542:1;13535:31;13589:4;13586:1;13579:15;13617:4;13614:1;13607:15;13488:144;13641:25;;;13330:342;:::o;13677:219::-;13826:2;13815:9;13808:21;13789:4;13846:44;13886:2;13875:9;13871:18;13863:6;13846:44;:::i;17460:356::-;17662:2;17644:21;;;17681:18;;;17674:30;17740:34;17735:2;17720:18;;17713:62;17807:2;17792:18;;17460:356::o;18589:342::-;18791:2;18773:21;;;18830:2;18810:18;;;18803:30;-1:-1:-1;;;18864:2:1;18849:18;;18842:48;18922:2;18907:18;;18589:342::o;19640:265::-;8358:12;;-1:-1:-1;;;;;8354:38:1;8342:51;;8446:4;8435:16;;;8429:23;-1:-1:-1;;;;;8425:48:1;8409:14;;;8402:72;8537:4;8526:16;;;8520:23;8513:31;8506:39;8490:14;;;8483:63;19836:2;19821:18;;19848:51;8274:278;20092:275;20163:2;20157:9;20228:2;20209:13;;-1:-1:-1;;20205:27:1;20193:40;;-1:-1:-1;;;;;20248:34:1;;20284:22;;;20245:62;20242:88;;;20310:18;;:::i;:::-;20346:2;20339:22;20092:275;;-1:-1:-1;20092:275:1:o;20498:128::-;20538:3;20569:1;20565:6;20562:1;20559:13;20556:39;;;20575:18;;:::i;:::-;-1:-1:-1;20611:9:1;;20498:128::o;20631:120::-;20671:1;20697;20687:35;;20702:18;;:::i;:::-;-1:-1:-1;20736:9:1;;20631:120::o;20756:168::-;20796:7;20862:1;20858;20854:6;20850:14;20847:1;20844:21;20839:1;20832:9;20825:17;20821:45;20818:71;;;20869:18;;:::i;:::-;-1:-1:-1;20909:9:1;;20756:168::o;20929:125::-;20969:4;20997:1;20994;20991:8;20988:34;;;21002:18;;:::i;:::-;-1:-1:-1;21039:9:1;;20929:125::o;21059:258::-;21131:1;21141:113;21155:6;21152:1;21149:13;21141:113;;;21231:11;;;21225:18;21212:11;;;21205:39;21177:2;21170:10;21141:113;;;21272:6;21269:1;21266:13;21263:48;;;-1:-1:-1;;21307:1:1;21289:16;;21282:27;21059:258::o;21322:380::-;21401:1;21397:12;;;;21444;;;21465:61;;21519:4;21511:6;21507:17;21497:27;;21465:61;21572:2;21564:6;21561:14;21541:18;21538:38;21535:161;;;21618:10;21613:3;21609:20;21606:1;21599:31;21653:4;21650:1;21643:15;21681:4;21678:1;21671:15;21535:161;;21322:380;;;:::o;21707:135::-;21746:3;-1:-1:-1;;21767:17:1;;21764:43;;;21787:18;;:::i;:::-;-1:-1:-1;21834:1:1;21823:13;;21707:135::o;21847:112::-;21879:1;21905;21895:35;;21910:18;;:::i;:::-;-1:-1:-1;21944:9:1;;21847:112::o;21964:127::-;22025:10;22020:3;22016:20;22013:1;22006:31;22056:4;22053:1;22046:15;22080:4;22077:1;22070:15;22096:127;22157:10;22152:3;22148:20;22145:1;22138:31;22188:4;22185:1;22178:15;22212:4;22209:1;22202:15;22228:127;22289:10;22284:3;22280:20;22277:1;22270:31;22320:4;22317:1;22310:15;22344:4;22341:1;22334:15;22360:127;22421:10;22416:3;22412:20;22409:1;22402:31;22452:4;22449:1;22442:15;22476:4;22473:1;22466:15;22492:127;22553:10;22548:3;22544:20;22541:1;22534:31;22584:4;22581:1;22574:15;22608:4;22605:1;22598:15;22624:131;-1:-1:-1;;;;;;22698:32:1;;22688:43;;22678:71;;22745:1;22742;22735:12
Swarm Source
ipfs://ac3a91648adbeafe2ef9562e3960f4565a0cdb867bb178bac6e7aee970b8559f
Loading...
Loading
Loading...
Loading
OVERVIEW
**70% staked!** [CHECK LEVELS](https://deskheads.xyz/level-checker)DESKHEADS is a collection of 3333 cute humanoid-like beings created by desk workers around the world in an attempt to lead the 9 to 5 revolution. Set in a dystopic representation of the modern human, they hav...Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.