ETH Price: $3,103.63 (+1.15%)
Gas: 14 Gwei

Token

ETHarcade (ARCADE)
 

Overview

Max Total Supply

1,028 ARCADE

Holders

344

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
vectorized.eth
Balance
1 ARCADE
0x1f5d295778796a8b9f29600a585ab73d452acb1c
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
ETHarcade

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : arcadeDAO.sol
//***********************************************************************************************************//
//***********************************************************************************************************//
//          I8,        8        ,8I  88888888888  88888888ba    ad888888b,                   
//          `8b       d8b       d8'  88           88      "8b  d8"     "88                   
//           "8,     ,8"8,     ,8"   88           88      ,8P          a8P                   
//            Y8     8P Y8     8P    88aaaaa      88aaaaaa8P'       aad8"                    
//            `8b   d8' `8b   d8'    88"""""      88""""""8b,       ""Y8,                    
//             `8a a8'   `8a a8'     88           88      `8b          "8b                   
//              `8a8'     `8a8'      88           88      a8P  Y8,     a88                   
//               `8'       `8'       88888888888  88888888P"    "Y888888P'                   
//                                                                                           
//                                                                                          
//                                                                                           
//       db         88888888ba     ,ad8888ba,         db         88888888ba,    88888888888  
//      d88b        88      "8b   d8"'    `"8b       d88b        88      `"8b   88           
//     d8'`8b       88      ,8P  d8'                d8'`8b       88        `8b  88           
//    d8'  `8b      88aaaaaa8P'  88                d8'  `8b      88         88  88aaaaa      
//   d8YaaaaY8b     88""""88'    88               d8YaaaaY8b     88         88  88"""""      
//  d8""""""""8b    88    `8b    Y8,             d8""""""""8b    88         8P  88           
// d8'        `8b   88     `8b    Y8a.    .a8P  d8'        `8b   88      .a8P   88           
//d8'          `8b  88      `8b    `"Y8888Y"'  d8'          `8b  88888888Y"'    88888888888  
//                                                                                          
//                                                                                           
//                                                                                           
//      ,ad8888ba,         db         88b           d88  88888888888  ad88888ba              
//     d8"'    `"8b       d88b        888b         d888  88          d8"     "8b             
//    d8'                d8'`8b       88`8b       d8'88  88          Y8,                     
//    88                d8'  `8b      88 `8b     d8' 88  88aaaaa     `Y8aaaaa,               
//    88      88888    d8YaaaaY8b     88  `8b   d8'  88  88"""""       `"""""8b,             
//    Y8,        88   d8""""""""8b    88   `8b d8'   88  88                  `8b             
//     Y8a.    .a88  d8'        `8b   88    `888'    88  88          Y8a     a8P             
//      `"Y88888P"  d8'          `8b  88     `8'     88  88888888888  "Y88888P" 
//***********************************************************************************************************//
//***********************************************************************************************************//

//-------------DEPENDENCIES--------------------------//

// File: @openzeppelin/contracts/utils/math/SafeMath.sol
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
* @dev Wrappers over Solidity's arithmetic operations.
*
* NOTE: SafeMath is generally not needed starting with Solidity 0.8, since the compiler
* now has built in overflow checking.
*/
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
uint256 c = a + b;
if (c < a) return (false, 0);

return (true, c);
}
}

/**
* @dev Returns the substraction of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b > a) return (false, 0);
return (true, a - b);
}
}

/**
* @dev Returns the multiplication of two unsigned integers, with an overflow flag.
*
* _Available since v3.4._
*/
function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the
// benefit is lost if 'b' is also tested.
// See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
if (a == 0) return (true, 0);
uint256 c = a * b;
if (c / a != b) return (false, 0);
return (true, c);
}
}

/**
* @dev Returns the division of two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a / b);
}
}

/**
* @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
*
* _Available since v3.4._
*/
function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
unchecked {
if (b == 0) return (false, 0);
return (true, a % b);
}
}

/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's + operator.
*
* Requirements:
*
* - Addition cannot overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
return a + b;
}

/**
* @dev Returns the subtraction of two unsigned integers, reverting on
* overflow (when the result is negative).
*
* Counterpart to Solidity's - operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return a - b;
}

/**
* @dev Returns the multiplication of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's * operator.
*
* Requirements:
*
* - Multiplication cannot overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
return a * b;
}

/**
* @dev Returns the integer division of two unsigned integers, reverting on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's / operator.
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return a / b;
}

/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting when dividing by zero.
*
* Counterpart to Solidity's % operator. This function uses a revert
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(uint256 a, uint256 b) internal pure returns (uint256) {
return a % b;
}

/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {trySub}.
*
* Counterpart to Solidity's - operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b <= a, errorMessage);
return a - b;
}
}

/**
* @dev Returns the integer division of two unsigned integers, reverting with custom message on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's / operator. Note: this function uses a
* revert opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a / b;
}
}

/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* reverting with custom message when dividing by zero.
*
* CAUTION: This function is deprecated because it requires allocating memory for the error
* message unnecessarily. For custom revert reasons use {tryMod}.
*
* Counterpart to Solidity's % operator. This function uses a revert
* opcode (which leaves remaining gas untouched) while Solidity uses an
* invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function mod(
uint256 a,
uint256 b,
string memory errorMessage
) internal pure returns (uint256) {
unchecked {
require(b > 0, errorMessage);
return a % b;
}
}
}

// 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/IERC721Enumerable.sol


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;


/**
* @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Enumerable is IERC721 {
/**
* @dev Returns the total amount of tokens stored by the contract.
*/
function totalSupply() external view returns (uint256);

/**
* @dev Returns a token ID owned by owner at a given index of its token list.
* Use along with {balanceOf} to enumerate all of owner's tokens.
*/
function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);

/**
* @dev Returns a token ID at a given index of all the tokens stored by the contract.
* Use along with {totalSupply} to enumerate all tokens.
*/
function tokenByIndex(uint256 index) external view returns (uint256);

}



// 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: @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/security/ReentrancyGuard.sol


// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from ReentrancyGuard will make the {nonReentrant} modifier
* available, which can be applied to functions to make sure there are no nested
* (reentrant) calls to them.
*
* Note that because there is a single nonReentrant guard, functions marked as
* nonReentrant may not call one another. This can be worked around by making
* those functions private, and then adding external nonReentrant entry
* points to them.
*
* TIP: If you would like to learn more about reentrancy and alternative ways
* to protect against it, check out our blog post
* https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
*/
abstract contract ReentrancyGuard {
// Booleans are more expensive than uint256 or any type that takes up a full
// word because each write operation emits an extra SLOAD to first read the
// slot's contents, replace the bits taken up by the boolean, and then write
// back. This is the compiler's defense against contract upgrades and
// pointer aliasing, and it cannot be disabled.

// The values being non-zero value makes deployment a bit more expensive,
// but in exchange the refund on every call to nonReentrant will be lower in
// amount. Since refunds are capped to a percentage of the total
// transaction's gas, it is best to keep them low in cases like this one, to
// increase the likelihood of the full refund coming into effect.
uint256 private constant _NOT_ENTERED = 1;
uint256 private constant _ENTERED = 2;

uint256 private _status;

constructor() {
_status = _NOT_ENTERED;
}

/**
* @dev Prevents a contract from calling itself, directly or indirectly.
* Calling a nonReentrant function from another nonReentrant
* function is not supported. It is possible to prevent this from happening
* by making the nonReentrant function external, and making it call a
* private function that does the actual work.
*/
modifier nonReentrant() {
// On the first call to nonReentrant, _notEntered will be true
require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

// Any calls to nonReentrant after this point will fail
_status = _ENTERED;

_;

// By storing the original value once again, a refund is triggered (see
// https://eips.ethereum.org/EIPS/eip-2200)
_status = _NOT_ENTERED;
}
}

// 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(0x78d1410B8483C9B50D3aBc1B1220BE49505b21e6);
}

/**
* @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);
}
}
//-------------END DEPENDENCIES------------------------//

/**
* @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
* the Metadata and Enumerable 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 the number of issuable tokens (collection size) is capped and fits in a uint128.
*
* Does not support burning tokens to address(0).
*/
contract ERC721A is
Context,
ERC165,
IERC721,
IERC721Metadata,
IERC721Enumerable
{
using Address for address;
using Strings for uint256;

struct TokenOwnership {
address addr;
uint64 startTimestamp;
}

struct AddressData {
uint128 balance;
uint128 numberMinted;
}

uint256 private currentIndex;

uint256 public immutable collectionSize;
uint256 public maxBatchSize;

// 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) private _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;

/**
* @dev
* maxBatchSize refers to how much a minter can mint at a time.
* collectionSize_ refers to how many tokens are in the collection.
*/
constructor(
string memory name_,
string memory symbol_,
uint256 maxBatchSize_,
uint256 collectionSize_
) {
require(
collectionSize_ > 0,
"ERC721A: collection must have a nonzero supply"
);
require(maxBatchSize_ > 0, "ERC721A: max batch size must be nonzero");
_name = name_;
_symbol = symbol_;
maxBatchSize = maxBatchSize_;
collectionSize = collectionSize_;
currentIndex = _startTokenId();
}

/**
* To change the starting tokenId, please override this function.
*/
function _startTokenId() internal view virtual returns (uint256) {
return 1;
}

/**
* @dev See {IERC721Enumerable-totalSupply}.
*/
function totalSupply() public view override returns (uint256) {
return _totalMinted();
}

function currentTokenId() public view returns (uint256) {
return _totalMinted();
}

function getNextTokenId() public view returns (uint256) {
return SafeMath.add(_totalMinted(), 1);
}

/**
* Returns the total amount of tokens minted in the contract.
*/
function _totalMinted() internal view returns (uint256) {
unchecked {
return currentIndex - _startTokenId();
}
}

/**
* @dev See {IERC721Enumerable-tokenByIndex}.
*/
function tokenByIndex(uint256 index) public view override returns (uint256) {
require(index < totalSupply(), "ERC721A: global index out of bounds");
return index;
}

/**
* @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
* This read function is O(collectionSize). If calling from a separate contract, be sure to test gas first.
* It may also degrade with extremely large collection sizes (e.g >> 4000), test for your use case.
*/
function tokenOfOwnerByIndex(address owner, uint256 index)
public
view
override
returns (uint256)
{
require(index < balanceOf(owner), "ERC721A: owner index out of bounds");
uint256 numMintedSoFar = totalSupply();
uint256 tokenIdsIdx = 0;
address currOwnershipAddr = address(0);
for (uint256 i = 0; i < numMintedSoFar; i++) {
TokenOwnership memory ownership = _ownerships[i];
if (ownership.addr != address(0)) {
currOwnershipAddr = ownership.addr;
}
if (currOwnershipAddr == owner) {
if (tokenIdsIdx == index) {
return i;
}
tokenIdsIdx++;
}
}
revert("ERC721A: unable to get token of owner by index");
}

/**
* @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 ||
interfaceId == type(IERC721Enumerable).interfaceId ||
super.supportsInterface(interfaceId);
}

/**
* @dev See {IERC721-balanceOf}.
*/
function balanceOf(address owner) public view override returns (uint256) {
// require(owner != address(0), "ERC721A: balance query for the zero address");
return uint256(_addressData[owner].balance);
}

function _numberMinted(address owner) internal view returns (uint256) {
require(
owner != address(0),
"ERC721A: number minted query for the zero address"
);
return uint256(_addressData[owner].numberMinted);
}

function ownershipOf(uint256 tokenId)
internal
view
returns (TokenOwnership memory)
{
uint256 curr = tokenId;

unchecked {
if (_startTokenId() <= curr && curr < currentIndex) {
TokenOwnership memory ownership = _ownerships[curr];
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("ERC721A: unable to determine the owner of token");
}

/**
* @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)
{
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);
require(to != owner, "ERC721A: approval to current owner");

require(
_msgSender() == owner || isApprovedForAll(owner, _msgSender()),
"ERC721A: approve caller is not owner nor approved for all"
);

_approve(to, tokenId, owner);
}

/**
* @dev See {IERC721-getApproved}.
*/
function getApproved(uint256 tokenId) public view override returns (address) {
require(_exists(tokenId), "ERC721A: approved query for nonexistent token");

return _tokenApprovals[tokenId];
}

/**
* @dev See {IERC721-setApprovalForAll}.
*/
function setApprovalForAll(address operator, bool approved) public override {
require(operator != _msgSender(), "ERC721A: approve to caller");

_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 override {
_transfer(from, to, tokenId);
}

/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) public override {
safeTransferFrom(from, to, tokenId, "");
}

/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId,
bytes memory _data
) public override {
_transfer(from, to, tokenId);
require(
_checkOnERC721Received(from, to, tokenId, _data),
"ERC721A: transfer to non ERC721Receiver implementer"
);
}

/**
* @dev Returns whether tokenId exists.
*
* Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
*
* Tokens start existing when they are minted (_mint),
*/
function _exists(uint256 tokenId) internal view returns (bool) {
return _startTokenId() <= tokenId && tokenId < currentIndex;
}

function _safeMint(address to, uint256 quantity, bool isAdminMint) internal {
_safeMint(to, quantity, isAdminMint, "");
}

/**
* @dev Mints quantity tokens and transfers them to to.
*
* Requirements:
*
* - there must be quantity tokens remaining unminted in the total collection.
* - to cannot be the zero address.
* - quantity cannot be larger than the max batch size.
*
* Emits a {Transfer} event.
*/
function _safeMint(
address to,
uint256 quantity,
bool isAdminMint,
bytes memory _data
) internal {
uint256 startTokenId = currentIndex;
require(to != address(0), "ERC721A: mint to the zero address");
// We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering.
require(!_exists(startTokenId), "ERC721A: token already minted");
require(quantity <= maxBatchSize, "ERC721A: quantity to mint too high");

_beforeTokenTransfers(address(0), to, startTokenId, quantity);

AddressData memory addressData = _addressData[to];
_addressData[to] = AddressData(
addressData.balance + uint128(quantity),
addressData.numberMinted + (isAdminMint ? 0 : uint128(quantity))
);
_ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp));

uint256 updatedIndex = startTokenId;

for (uint256 i = 0; i < quantity; i++) {
emit Transfer(address(0), to, updatedIndex);
require(
_checkOnERC721Received(address(0), to, updatedIndex, _data),
"ERC721A: transfer to non ERC721Receiver implementer"
);
updatedIndex++;
}

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);

bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
getApproved(tokenId) == _msgSender() ||
isApprovedForAll(prevOwnership.addr, _msgSender()));

require(
isApprovedOrOwner,
"ERC721A: transfer caller is not owner nor approved"
);

require(
prevOwnership.addr == from,
"ERC721A: transfer from incorrect owner"
);
require(to != address(0), "ERC721A: transfer to the zero address");

_beforeTokenTransfers(from, to, tokenId, 1);

// Clear approvals from the previous owner
_approve(address(0), tokenId, prevOwnership.addr);

_addressData[from].balance -= 1;
_addressData[to].balance += 1;
_ownerships[tokenId] = TokenOwnership(to, 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;
if (_ownerships[nextTokenId].addr == address(0)) {
if (_exists(nextTokenId)) {
_ownerships[nextTokenId] = TokenOwnership(
prevOwnership.addr,
prevOwnership.startTimestamp
);
}
}

emit Transfer(from, to, tokenId);
_afterTokenTransfers(from, to, tokenId, 1);
}

/**
* @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);
}

uint256 public nextOwnerToExplicitlySet = 0;

/**
* @dev Explicitly set owners to eliminate loops in future calls of ownerOf().
*/
function _setOwnersExplicit(uint256 quantity) internal {
uint256 oldNextOwnerToSet = nextOwnerToExplicitlySet;
require(quantity > 0, "quantity must be nonzero");
if (currentIndex == _startTokenId()) revert('No Tokens Minted Yet');

uint256 endIndex = oldNextOwnerToSet + quantity - 1;
if (endIndex > collectionSize - 1) {
endIndex = collectionSize - 1;
}
// We know if the last one in the group exists, all in the group exist, due to serial ordering.
require(_exists(endIndex), "not enough minted yet for this cleanup");
for (uint256 i = oldNextOwnerToSet; i <= endIndex; i++) {
if (_ownerships[i].addr == address(0)) {
TokenOwnership memory ownership = ownershipOf(i);
_ownerships[i] = TokenOwnership(
ownership.addr,
ownership.startTimestamp
);
}
}
nextOwnerToExplicitlySet = endIndex + 1;
}

/**
* @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
* The call is not executed if the target address is not a contract.
*
* @param from address representing the previous owner of the given token ID
* @param to target address that will receive the tokens
* @param tokenId uint256 ID of the token to be transferred
* @param _data bytes optional data to send along with the call
* @return bool whether the call correctly returned the expected magic value
*/
function _checkOnERC721Received(
address from,
address to,
uint256 tokenId,
bytes memory _data
) private returns (bool) {
if (to.isContract()) {
try
IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data)
returns (bytes4 retval) {
return retval == IERC721Receiver(to).onERC721Received.selector;
} catch (bytes memory reason) {
if (reason.length == 0) {
revert("ERC721A: transfer to non ERC721Receiver implementer");
} else {
assembly {
revert(add(32, reason), mload(reason))
}
}
}
} else {
return true;
}
}

/**
* @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
*
* 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.
*/
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.
*
* 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 and to are never both zero.
*/
function _afterTokenTransfers(
address from,
address to,
uint256 startTokenId,
uint256 quantity
) internal virtual {}
}


abstract contract Ramppable {
  address public RAMPPADDRESS = 0x78d1410B8483C9B50D3aBc1B1220BE49505b21e6;

  modifier isRampp() {
      require(msg.sender == RAMPPADDRESS, "Ownable: caller is not RAMPP");
      _;
  }
}


interface IERC20 {
function transfer(address _to, uint256 _amount) external returns (bool);
function balanceOf(address account) external view returns (uint256);
}

abstract contract Withdrawable is Ownable, Ramppable {
address[] public payableAddresses = [RAMPPADDRESS,0x78d1410B8483C9B50D3aBc1B1220BE49505b21e6];
uint256[] public payableFees = [5,95];
uint256 public payableAddressCount = 2;

function withdrawAll() public onlyOwner {
require(address(this).balance > 0);
_withdrawAll();
}


function _withdrawAll() private {
uint256 balance = address(this).balance;

for(uint i=0; i < payableAddressCount; i++ ) {
_widthdraw(
payableAddresses[i],
(balance * payableFees[i]) / 100
);
}
}

function _widthdraw(address _address, uint256 _amount) private {
(bool success, ) = _address.call{value: _amount}("");
require(success, "Transfer failed.");
}

/**
* @dev Allow contract owner to withdraw ERC-20 balance from contract
* while still splitting royalty payments to all other team members.
* in the event ERC-20 tokens are paid to the contract.
* @param _tokenContract contract of ERC-20 token to withdraw
* @param _amount balance to withdraw according to balanceOf of ERC-20 token
*/
function withdrawAllERC20(address _tokenContract, uint256 _amount) public onlyOwner {
require(_amount > 0);
IERC20 tokenContract = IERC20(_tokenContract);
require(tokenContract.balanceOf(address(this)) >= _amount, 'Contract does not own enough tokens');

for(uint i=0; i < payableAddressCount; i++ ) {
tokenContract.transfer(payableAddresses[i], (_amount * payableFees[i]) / 100);
}
}


}



abstract contract RamppERC721A is
Ownable,
ERC721A,
Withdrawable,
ReentrancyGuard  {
constructor(
string memory tokenName,
string memory tokenSymbol
) ERC721A(tokenName, tokenSymbol, 20, 5000) {}
using SafeMath for uint256;
uint8 public CONTRACT_VERSION = 2;
string public _baseTokenURI = "ipfs://QmNgWAkpX93gLazUrfARoL1gVKB9M8Z9LnFXmvxL7Ak1Cq/";
string public _contractURI = "ipfs://QmVuG5U3BujavefV7QUSynuMpnVi9XN85iFBATu1tQeQiu";
bool public mintingOpen = false;

uint256 public PRICE = 0.02 ether;


/////////////// Admin Mint Functions
/**
* @dev Mints a token to an address with a tokenURI.
* This is owner only and allows a fee-free drop
* @param _to address of the future owner of the token
*/

function mintToAdminMany(address _to, uint256 _amount) public onlyOwner {
require(getNextTokenId() <= collectionSize, "Cannot mint over supply cap of 4000");
_safeMint(_to, _amount, false);
}


/////////////// GENERIC MINT FUNCTIONS
/**
* @dev Mints a token to an address with a tokenURI.
* fee may or may not be required*
*/


function mintToMultiple(address _to, uint256 _amount) public payable nonReentrant {
  require(_amount >= 1, "Must mint at least 1 token");
  require(mintingOpen == true, "Minting is not open right now!");
  require(currentTokenId() + _amount <= collectionSize, "Cannot mint over supply cap of 4000");
  // first 1000 mints priced at .02 ETH with limit of 5 mints.
  if(currentTokenId() + _amount  <= 1000) {
      PRICE = .02 ether;
      require(_amount <= 5, "Max Batch of 10.");
      require(_numberMinted(msg.sender) <= 5, "Early Mints capped at 5.");
      require(currentTokenId() + _amount <= 1000, "Cannot mint over early cap of 1000");
      require(_to == msg.sender, "Can only mint for yourself");
      require(msg.value == getPrice(_amount), "Value below required mint fee for amount");
      _safeMint(_to, _amount, false);
  } 

  // rest of the mints priced at .035 ETH
  else {
      PRICE = .035 ether;
      require(_amount <= 20, "Cannot mint more than max mint per transaction");
      require(currentTokenId() + _amount <= collectionSize, "Cannot mint over supply cap");
       require(_to == msg.sender, "Can only mint for yourself");
      require(msg.value == getPrice(_amount), "Value below required mint fee for amount");
      _safeMint(_to, _amount, false);
  }
  }

mapping(address => uint256) public friendsAndFamilyMints;
uint256 public friendsAndFamilyMintCount = 0;
uint256 public friendsAndFamilyMintLimit = 500;

function whitelistMint(address _to) public payable nonReentrant {
    require(currentTokenId() + 1 <= collectionSize, "Cannot mint over supply cap");
    require(friendsAndFamilyMintCount < friendsAndFamilyMintLimit, "Friends and Family mints have reached the limit");
    require(friendsAndFamilyMints[_to] == 0, "Wallet has already claimed Friends and Family mint");
    require(_to == msg.sender, "Can only mint for yourself");


    // Check if the user has Milady NFT for friends and family discount.
    uint256 friendsAndFamilyBalance = IERC721(0x5Af0D9827E0c53E4799BB226655A1de152A425a5).balanceOf(_to);
    // Check if the user has Redacted Remilio Babies NFT for friends and family discount.
    uint256 friendsAndFamilyBalance2 = IERC721(0xD3D9ddd0CF0A5F0BFB8f7fcEAe075DF687eAEBaB).balanceOf(_to);


    require(friendsAndFamilyBalance > 0 || friendsAndFamilyBalance2 > 0, "Address is not eligible for Friends and Family mint");
    require(msg.value == 0.01 ether, "Value below required mint fee for Friends and Family mint");

    // Mint the token
    friendsAndFamilyMints[_to]++;
    friendsAndFamilyMintCount++;
    _safeMint(_to, 1, false);
}




function openMinting() public onlyOwner {
mintingOpen = true;
}


function getPrice(uint256 _count) private view returns (uint256) {
return PRICE.mul(_count);
}

function getFriendsAndFamilyMintCount() public view returns (uint256) {
    return friendsAndFamilyMintCount;
}



function _baseURI() internal view virtual override returns (string memory) {
return _baseTokenURI;
}

function baseTokenURI() public view returns (string memory) {
return _baseTokenURI;
}

function setBaseURI(string calldata baseURI) external onlyOwner {
_baseTokenURI = baseURI;
}

function setContractURI(string calldata contractURI) external onlyOwner {
_contractURI = contractURI;
}

function getOwnershipData(uint256 tokenId) external view returns (TokenOwnership memory) {
return ownershipOf(tokenId);
}
}


// File: contracts/CopebearsContract.sol
//SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

contract ETHarcade is RamppERC721A {
constructor() RamppERC721A("ETHarcade", "ARCADE"){}

function contractURI() public returns (string memory) {
  return _contractURI;
}
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"CONTRACT_VERSION","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RAMPPADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collectionSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"friendsAndFamilyMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"friendsAndFamilyMintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"friendsAndFamilyMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getFriendsAndFamilyMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNextTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getOwnershipData","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"}],"internalType":"struct ERC721A.TokenOwnership","name":"","type":"tuple"}],"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":"maxBatchSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mintToAdminMany","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mintToMultiple","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintingOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOwnerToExplicitlySet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openMinting","outputs":[],"stateMutability":"nonpayable","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":"payableAddressCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"payableAddresses","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"payableFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"contractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenContract","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawAllERC20","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a060405260006009557378d1410b8483c9b50d3abc1b1220be49505b21e6600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040518060400160405280600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020017378d1410b8483c9b50d3abc1b1220be49505b21e673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250600b906002620001139291906200044b565b506040518060400160405280600560ff168152602001605f60ff16815250600c90600262000143929190620004da565b506002600d556002600f60006101000a81548160ff021916908360ff16021790555060405180606001604052806036815260200162006a0b60369139601090816200018f9190620007ca565b5060405180606001604052806035815260200162006a416035913960119081620001ba9190620007ca565b506000601260006101000a81548160ff02191690831515021790555066470de4df82000060135560006015556101f4601655348015620001f957600080fd5b506040518060400160405280600981526020017f45544861726361646500000000000000000000000000000000000000000000008152506040518060400160405280600681526020017f4152434144450000000000000000000000000000000000000000000000000000815250818160146113886200028d620002816200037660201b60201c565b6200037e60201b60201c565b60008111620002d3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002ca9062000938565b60405180910390fd5b6000821162000319576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200031090620009d0565b60405180910390fd5b83600390816200032a9190620007ca565b5082600490816200033c9190620007ca565b508160028190555080608081815250506200035c6200044260201b60201c565b600181905550505050506001600e819055505050620009f2565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006001905090565b828054828255906000526020600020908101928215620004c7579160200282015b82811115620004c65782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550916020019190600101906200046c565b5b509050620004d6919062000531565b5090565b8280548282559060005260206000209081019282156200051e579160200282015b828111156200051d578251829060ff16905591602001919060010190620004fb565b5b5090506200052d919062000531565b5090565b5b808211156200054c57600081600090555060010162000532565b5090565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620005d257607f821691505b602082108103620005e857620005e76200058a565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620006527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000613565b6200065e868362000613565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620006ab620006a56200069f8462000676565b62000680565b62000676565b9050919050565b6000819050919050565b620006c7836200068a565b620006df620006d682620006b2565b84845462000620565b825550505050565b600090565b620006f6620006e7565b62000703818484620006bc565b505050565b5b818110156200072b576200071f600082620006ec565b60018101905062000709565b5050565b601f8211156200077a576200074481620005ee565b6200074f8462000603565b810160208510156200075f578190505b620007776200076e8562000603565b83018262000708565b50505b505050565b600082821c905092915050565b60006200079f600019846008026200077f565b1980831691505092915050565b6000620007ba83836200078c565b9150826002028217905092915050565b620007d58262000550565b67ffffffffffffffff811115620007f157620007f06200055b565b5b620007fd8254620005b9565b6200080a8282856200072f565b600060209050601f8311600181146200084257600084156200082d578287015190505b620008398582620007ac565b865550620008a9565b601f1984166200085286620005ee565b60005b828110156200087c5784890151825560018201915060208501945060208101905062000855565b868310156200089c578489015162000898601f8916826200078c565b8355505b6001600288020188555050505b505050505050565b600082825260208201905092915050565b7f455243373231413a20636f6c6c656374696f6e206d757374206861766520612060008201527f6e6f6e7a65726f20737570706c79000000000000000000000000000000000000602082015250565b600062000920602e83620008b1565b91506200092d82620008c2565b604082019050919050565b60006020820190508181036000830152620009538162000911565b9050919050565b7f455243373231413a206d61782062617463682073697a65206d7573742062652060008201527f6e6f6e7a65726f00000000000000000000000000000000000000000000000000602082015250565b6000620009b8602783620008b1565b9150620009c5826200095a565b604082019050919050565b60006020820190508181036000830152620009eb81620009a9565b9050919050565b608051615fe162000a2a60003960008181610d5301528181610ff3015281816115f6015281816117a901526120ac0152615fe16000f3fe6080604052600436106102925760003560e01c8063715018a61161015a578063bf610d7e116100c1578063d547cfb71161007a578063d547cfb7146109ff578063d7224ba014610a2a578063e8a3d48514610a55578063e985e9c514610a80578063f2fde38b14610abd578063f824828f14610ae657610292565b8063bf610d7e146108fa578063c0e7274014610916578063c5815c4114610941578063c87b56dd1461096c578063caa0f92a146109a9578063cfc86f7b146109d457610292565b80639231ab2a116101135780639231ab2a146107ee578063938e3d7b1461082b57806395d89b4114610854578063a22cb4651461087f578063b40ebceb146108a8578063b88d4fde146108d157610292565b8063715018a614610702578063853828b614610719578063891bbe73146107305780638d859f3e1461076d5780638da5cb5b146107985780638f4bb497146107c357610292565b806338b90333116101fe5780634f6ccce7116101b75780634f6ccce7146105e257806355f804b31461061f5780636352211e1461064857806368be561b146106855780636ba9fd38146106ae57806370a08231146106c557610292565b806338b90333146104d05780633e07311c146104fb578063407530f51461052657806342842e0e1461055157806345c0f5331461057a5780634aa945b5146105a557610292565b806318160ddd1161025057806318160ddd146103ac5780631bda855f146103d757806323b872dd14610402578063286c81371461042b5780632913daa0146104685780632f745c591461049357610292565b80629a9b7b1461029757806301ffc9a7146102c25780630644cefa146102ff57806306fdde031461031b578063081812fc14610346578063095ea7b314610383575b600080fd5b3480156102a357600080fd5b506102ac610b11565b6040516102b99190613eb4565b60405180910390f35b3480156102ce57600080fd5b506102e960048036038101906102e49190613f3b565b610b20565b6040516102f69190613f83565b60405180910390f35b61031960048036038101906103149190614028565b610c6a565b005b34801561032757600080fd5b50610330611137565b60405161033d91906140f8565b60405180910390f35b34801561035257600080fd5b5061036d6004803603810190610368919061411a565b6111c9565b60405161037a9190614156565b60405180910390f35b34801561038f57600080fd5b506103aa60048036038101906103a59190614028565b61124e565b005b3480156103b857600080fd5b506103c1611366565b6040516103ce9190613eb4565b60405180910390f35b3480156103e357600080fd5b506103ec611375565b6040516103f99190613eb4565b60405180910390f35b34801561040e57600080fd5b5061042960048036038101906104249190614171565b61137f565b005b34801561043757600080fd5b50610452600480360381019061044d919061411a565b61138f565b60405161045f9190613eb4565b60405180910390f35b34801561047457600080fd5b5061047d6113b3565b60405161048a9190613eb4565b60405180910390f35b34801561049f57600080fd5b506104ba60048036038101906104b59190614028565b6113b9565b6040516104c79190613eb4565b60405180910390f35b3480156104dc57600080fd5b506104e56115b5565b6040516104f291906141e0565b60405180910390f35b34801561050757600080fd5b506105106115c8565b60405161051d9190613eb4565b60405180910390f35b34801561053257600080fd5b5061053b6115ce565b6040516105489190613eb4565b60405180910390f35b34801561055d57600080fd5b5061057860048036038101906105739190614171565b6115d4565b005b34801561058657600080fd5b5061058f6115f4565b60405161059c9190613eb4565b60405180910390f35b3480156105b157600080fd5b506105cc60048036038101906105c791906141fb565b611618565b6040516105d99190613eb4565b60405180910390f35b3480156105ee57600080fd5b506106096004803603810190610604919061411a565b611630565b6040516106169190613eb4565b60405180910390f35b34801561062b57600080fd5b506106466004803603810190610641919061428d565b611683565b005b34801561065457600080fd5b5061066f600480360381019061066a919061411a565b611715565b60405161067c9190614156565b60405180910390f35b34801561069157600080fd5b506106ac60048036038101906106a79190614028565b61172b565b005b3480156106ba57600080fd5b506106c3611821565b005b3480156106d157600080fd5b506106ec60048036038101906106e791906141fb565b6118ba565b6040516106f99190613eb4565b60405180910390f35b34801561070e57600080fd5b50610717611934565b005b34801561072557600080fd5b5061072e6119cf565b005b34801561073c57600080fd5b506107576004803603810190610752919061411a565b611a62565b6040516107649190614156565b60405180910390f35b34801561077957600080fd5b50610782611aa1565b60405161078f9190613eb4565b60405180910390f35b3480156107a457600080fd5b506107ad611aa7565b6040516107ba9190614156565b60405180910390f35b3480156107cf57600080fd5b506107d8611ad0565b6040516107e59190613f83565b60405180910390f35b3480156107fa57600080fd5b506108156004803603810190610810919061411a565b611ae3565b604051610822919061433b565b60405180910390f35b34801561083757600080fd5b50610852600480360381019061084d919061428d565b611afb565b005b34801561086057600080fd5b50610869611b8d565b60405161087691906140f8565b60405180910390f35b34801561088b57600080fd5b506108a660048036038101906108a19190614382565b611c1f565b005b3480156108b457600080fd5b506108cf60048036038101906108ca9190614028565b611d9f565b005b3480156108dd57600080fd5b506108f860048036038101906108f391906144f2565b612001565b005b610914600480360381019061090f91906141fb565b61205d565b005b34801561092257600080fd5b5061092b612498565b60405161093891906140f8565b60405180910390f35b34801561094d57600080fd5b50610956612526565b6040516109639190614156565b60405180910390f35b34801561097857600080fd5b50610993600480360381019061098e919061411a565b61254c565b6040516109a091906140f8565b60405180910390f35b3480156109b557600080fd5b506109be6125ab565b6040516109cb9190613eb4565b60405180910390f35b3480156109e057600080fd5b506109e96125c4565b6040516109f691906140f8565b60405180910390f35b348015610a0b57600080fd5b50610a14612652565b604051610a2191906140f8565b60405180910390f35b348015610a3657600080fd5b50610a3f6126e4565b604051610a4c9190613eb4565b60405180910390f35b348015610a6157600080fd5b50610a6a6126ea565b604051610a7791906140f8565b60405180910390f35b348015610a8c57600080fd5b50610aa76004803603810190610aa29190614575565b61277c565b604051610ab49190613f83565b60405180910390f35b348015610ac957600080fd5b50610ae46004803603810190610adf91906141fb565b612810565b005b348015610af257600080fd5b50610afb612907565b604051610b089190613eb4565b60405180910390f35b6000610b1b61290d565b905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610beb57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c5357507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c635750610c6282612920565b5b9050919050565b6002600e5403610caf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca690614601565b60405180910390fd5b6002600e819055506001811015610cfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf29061466d565b60405180910390fd5b60011515601260009054906101000a900460ff16151514610d51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d48906146d9565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000081610d7b610b11565b610d859190614728565b1115610dc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbd906147ce565b60405180910390fd5b6103e881610dd2610b11565b610ddc9190614728565b11610f9f5766470de4df8200006013819055506005811115610e33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2a9061483a565b60405180910390fd5b6005610e3e3361298a565b1115610e7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e76906148a6565b60405180910390fd5b6103e881610e8b610b11565b610e959190614728565b1115610ed6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ecd90614938565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614610f44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3b906149a4565b60405180910390fd5b610f4d81612a72565b3414610f8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8590614a36565b60405180910390fd5b610f9a82826000612a90565b61112b565b667c5850872380006013819055506014811115610ff1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe890614ac8565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000008161101b610b11565b6110259190614728565b1115611066576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105d90614b34565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146110d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cb906149a4565b60405180910390fd5b6110dd81612a72565b341461111e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111590614a36565b60405180910390fd5b61112a82826000612a90565b5b6001600e819055505050565b60606003805461114690614b83565b80601f016020809104026020016040519081016040528092919081815260200182805461117290614b83565b80156111bf5780601f10611194576101008083540402835291602001916111bf565b820191906000526020600020905b8154815290600101906020018083116111a257829003601f168201915b5050505050905090565b60006111d482612ab0565b611213576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120a90614c26565b60405180910390fd5b6007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061125982611715565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036112c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c090614cb8565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166112e8612ad1565b73ffffffffffffffffffffffffffffffffffffffff161480611317575061131681611311612ad1565b61277c565b5b611356576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134d90614d4a565b60405180910390fd5b611361838383612ad9565b505050565b600061137061290d565b905090565b6000601554905090565b61138a838383612b8b565b505050565b600c818154811061139f57600080fd5b906000526020600020016000915090505481565b60025481565b60006113c4836118ba565b8210611405576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113fc90614ddc565b60405180910390fd5b600061140f611366565b905060008060005b83811015611573576000600560008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461150957806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361155f578684036115505781955050505050506115af565b838061155b90614dfc565b9450505b50808061156b90614dfc565b915050611417565b506040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a690614eb6565b60405180910390fd5b92915050565b600f60009054906101000a900460ff1681565b600d5481565b60155481565b6115ef83838360405180602001604052806000815250612001565b505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60146020528060005260406000206000915090505481565b600061163a611366565b821061167b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167290614f48565b60405180910390fd5b819050919050565b61168b612ad1565b73ffffffffffffffffffffffffffffffffffffffff166116a9611aa7565b73ffffffffffffffffffffffffffffffffffffffff16146116ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f690614fb4565b60405180910390fd5b81816010918261171092919061518b565b505050565b600061172082613142565b600001519050919050565b611733612ad1565b73ffffffffffffffffffffffffffffffffffffffff16611751611aa7565b73ffffffffffffffffffffffffffffffffffffffff16146117a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179e90614fb4565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006117d06125ab565b1115611811576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611808906147ce565b60405180910390fd5b61181d82826000612a90565b5050565b611829612ad1565b73ffffffffffffffffffffffffffffffffffffffff16611847611aa7565b73ffffffffffffffffffffffffffffffffffffffff161461189d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189490614fb4565b60405180910390fd5b6001601260006101000a81548160ff021916908315150217905550565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b61193c612ad1565b73ffffffffffffffffffffffffffffffffffffffff1661195a611aa7565b73ffffffffffffffffffffffffffffffffffffffff16146119b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a790614fb4565b60405180910390fd5b6119cd7378d1410b8483c9b50d3abc1b1220be49505b21e661339a565b565b6119d7612ad1565b73ffffffffffffffffffffffffffffffffffffffff166119f5611aa7565b73ffffffffffffffffffffffffffffffffffffffff1614611a4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4290614fb4565b60405180910390fd5b60004711611a5857600080fd5b611a6061345e565b565b600b8181548110611a7257600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60135481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b601260009054906101000a900460ff1681565b611aeb613e61565b611af482613142565b9050919050565b611b03612ad1565b73ffffffffffffffffffffffffffffffffffffffff16611b21611aa7565b73ffffffffffffffffffffffffffffffffffffffff1614611b77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6e90614fb4565b60405180910390fd5b818160119182611b8892919061518b565b505050565b606060048054611b9c90614b83565b80601f0160208091040260200160405190810160405280929190818152602001828054611bc890614b83565b8015611c155780601f10611bea57610100808354040283529160200191611c15565b820191906000526020600020905b815481529060010190602001808311611bf857829003601f168201915b5050505050905090565b611c27612ad1565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611c94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8b906152a7565b60405180910390fd5b8060086000611ca1612ad1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611d4e612ad1565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d939190613f83565b60405180910390a35050565b611da7612ad1565b73ffffffffffffffffffffffffffffffffffffffff16611dc5611aa7565b73ffffffffffffffffffffffffffffffffffffffff1614611e1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1290614fb4565b60405180910390fd5b60008111611e2857600080fd5b6000829050818173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611e679190614156565b602060405180830381865afa158015611e84573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ea891906152dc565b1015611ee9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee09061537b565b60405180910390fd5b60005b600d54811015611ffb578173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600b8381548110611f2657611f2561539b565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166064600c8581548110611f6757611f6661539b565b5b906000526020600020015487611f7d91906153ca565b611f87919061543b565b6040518363ffffffff1660e01b8152600401611fa492919061546c565b6020604051808303816000875af1158015611fc3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fe791906154aa565b508080611ff390614dfc565b915050611eec565b50505050565b61200c848484612b8b565b61201884848484613504565b612057576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204e90615549565b60405180910390fd5b50505050565b6002600e54036120a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209990614601565b60405180910390fd5b6002600e819055507f000000000000000000000000000000000000000000000000000000000000000060016120d5610b11565b6120df9190614728565b1115612120576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211790614b34565b60405180910390fd5b60165460155410612166576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215d906155db565b60405180910390fd5b6000601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054146121e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121df9061566d565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612256576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224d906149a4565b60405180910390fd5b6000735af0d9827e0c53e4799bb226655a1de152a425a573ffffffffffffffffffffffffffffffffffffffff166370a08231836040518263ffffffff1660e01b81526004016122a59190614156565b602060405180830381865afa1580156122c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122e691906152dc565b9050600073d3d9ddd0cf0a5f0bfb8f7fceae075df687eaebab73ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b81526004016123379190614156565b602060405180830381865afa158015612354573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061237891906152dc565b905060008211806123895750600081115b6123c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123bf906156ff565b60405180910390fd5b662386f26fc100003414612411576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240890615791565b60405180910390fd5b601460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061246190614dfc565b91905055506015600081548092919061247990614dfc565b919050555061248b8360016000612a90565b50506001600e8190555050565b601180546124a590614b83565b80601f01602080910402602001604051908101604052809291908181526020018280546124d190614b83565b801561251e5780601f106124f35761010080835404028352916020019161251e565b820191906000526020600020905b81548152906001019060200180831161250157829003601f168201915b505050505081565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060600061255861368b565b9050600081511161257857604051806020016040528060008152506125a3565b806125828461371d565b6040516020016125939291906157ed565b6040516020818303038152906040525b915050919050565b60006125bf6125b861290d565b600161387d565b905090565b601080546125d190614b83565b80601f01602080910402602001604051908101604052809291908181526020018280546125fd90614b83565b801561264a5780601f1061261f5761010080835404028352916020019161264a565b820191906000526020600020905b81548152906001019060200180831161262d57829003601f168201915b505050505081565b60606010805461266190614b83565b80601f016020809104026020016040519081016040528092919081815260200182805461268d90614b83565b80156126da5780601f106126af576101008083540402835291602001916126da565b820191906000526020600020905b8154815290600101906020018083116126bd57829003601f168201915b5050505050905090565b60095481565b6060601180546126f990614b83565b80601f016020809104026020016040519081016040528092919081815260200182805461272590614b83565b80156127725780601f1061274757610100808354040283529160200191612772565b820191906000526020600020905b81548152906001019060200180831161275557829003601f168201915b5050505050905090565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612818612ad1565b73ffffffffffffffffffffffffffffffffffffffff16612836611aa7565b73ffffffffffffffffffffffffffffffffffffffff161461288c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161288390614fb4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036128fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f290615883565b60405180910390fd5b6129048161339a565b50565b60165481565b6000612917613893565b60015403905090565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036129fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129f190615915565b60405180910390fd5b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b6000612a898260135461389c90919063ffffffff16565b9050919050565b612aab838383604051806020016040528060008152506138b2565b505050565b600081612abb613893565b11158015612aca575060015482105b9050919050565b600033905090565b826007600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000612b9682613142565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16612bbd612ad1565b73ffffffffffffffffffffffffffffffffffffffff161480612c195750612be2612ad1565b73ffffffffffffffffffffffffffffffffffffffff16612c01846111c9565b73ffffffffffffffffffffffffffffffffffffffff16145b80612c355750612c348260000151612c2f612ad1565b61277c565b5b905080612c77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c6e906159a7565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612ce9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ce090615a39565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612d58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d4f90615acb565b60405180910390fd5b612d658585856001613d81565b612d756000848460000151612ad9565b6001600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16612de39190615b07565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16612e879190615b4b565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506005600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050506000600184612f8d9190614728565b9050600073ffffffffffffffffffffffffffffffffffffffff166005600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036130d25761300281612ab0565b156130d1576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506005600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461313a8686866001613d87565b505050505050565b61314a613e61565b600082905080613158613893565b11158015613167575060015481105b1561335a576000600560008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614613258578092505050613395565b5b60011561335857818060019003925050600560008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614613353578092505050613395565b613259565b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161338c90615c01565b60405180910390fd5b919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600047905060005b600d54811015613500576134ed600b82815481106134875761348661539b565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166064600c84815481106134c8576134c761539b565b5b9060005260206000200154856134de91906153ca565b6134e8919061543b565b613d8d565b80806134f890614dfc565b915050613466565b5050565b60006135258473ffffffffffffffffffffffffffffffffffffffff16613e3e565b1561367e578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261354e612ad1565b8786866040518563ffffffff1660e01b81526004016135709493929190615c76565b6020604051808303816000875af19250505080156135ac57506040513d601f19601f820116820180604052508101906135a99190615cd7565b60015b61362e573d80600081146135dc576040519150601f19603f3d011682016040523d82523d6000602084013e6135e1565b606091505b506000815103613626576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161361d90615549565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613683565b600190505b949350505050565b60606010805461369a90614b83565b80601f01602080910402602001604051908101604052809291908181526020018280546136c690614b83565b80156137135780601f106136e857610100808354040283529160200191613713565b820191906000526020600020905b8154815290600101906020018083116136f657829003601f168201915b5050505050905090565b606060008203613764576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613878565b600082905060005b6000821461379657808061377f90614dfc565b915050600a8261378f919061543b565b915061376c565b60008167ffffffffffffffff8111156137b2576137b16143c7565b5b6040519080825280601f01601f1916602001820160405280156137e45781602001600182028036833780820191505090505b5090505b60008514613871576001826137fd9190615d04565b9150600a8561380c9190615d38565b60306138189190614728565b60f81b81838151811061382e5761382d61539b565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561386a919061543b565b94506137e8565b8093505050505b919050565b6000818361388b9190614728565b905092915050565b60006001905090565b600081836138aa91906153ca565b905092915050565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603613928576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161391f90615ddb565b60405180910390fd5b61393181612ab0565b15613971576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161396890615e47565b60405180910390fd5b6002548411156139b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139ad90615ed9565b60405180910390fd5b6139c36000868387613d81565b6000600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168152505090506040518060400160405280868360000151613ac09190615b4b565b6fffffffffffffffffffffffffffffffff16815260200185613ae25786613ae5565b60005b8360200151613af49190615b4b565b6fffffffffffffffffffffffffffffffff16815250600660008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808773ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506005600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b86811015613d6357818873ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613d036000898488613504565b613d42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d3990615549565b60405180910390fd5b8180613d4d90614dfc565b9250508080613d5b90614dfc565b915050613c92565b5080600181905550613d786000888589613d87565b50505050505050565b50505050565b50505050565b60008273ffffffffffffffffffffffffffffffffffffffff1682604051613db390615f2a565b60006040518083038185875af1925050503d8060008114613df0576040519150601f19603f3d011682016040523d82523d6000602084013e613df5565b606091505b5050905080613e39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613e3090615f8b565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b6000819050919050565b613eae81613e9b565b82525050565b6000602082019050613ec96000830184613ea5565b92915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613f1881613ee3565b8114613f2357600080fd5b50565b600081359050613f3581613f0f565b92915050565b600060208284031215613f5157613f50613ed9565b5b6000613f5f84828501613f26565b91505092915050565b60008115159050919050565b613f7d81613f68565b82525050565b6000602082019050613f986000830184613f74565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613fc982613f9e565b9050919050565b613fd981613fbe565b8114613fe457600080fd5b50565b600081359050613ff681613fd0565b92915050565b61400581613e9b565b811461401057600080fd5b50565b60008135905061402281613ffc565b92915050565b6000806040838503121561403f5761403e613ed9565b5b600061404d85828601613fe7565b925050602061405e85828601614013565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b838110156140a2578082015181840152602081019050614087565b60008484015250505050565b6000601f19601f8301169050919050565b60006140ca82614068565b6140d48185614073565b93506140e4818560208601614084565b6140ed816140ae565b840191505092915050565b6000602082019050818103600083015261411281846140bf565b905092915050565b6000602082840312156141305761412f613ed9565b5b600061413e84828501614013565b91505092915050565b61415081613fbe565b82525050565b600060208201905061416b6000830184614147565b92915050565b60008060006060848603121561418a57614189613ed9565b5b600061419886828701613fe7565b93505060206141a986828701613fe7565b92505060406141ba86828701614013565b9150509250925092565b600060ff82169050919050565b6141da816141c4565b82525050565b60006020820190506141f560008301846141d1565b92915050565b60006020828403121561421157614210613ed9565b5b600061421f84828501613fe7565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261424d5761424c614228565b5b8235905067ffffffffffffffff81111561426a5761426961422d565b5b60208301915083600182028301111561428657614285614232565b5b9250929050565b600080602083850312156142a4576142a3613ed9565b5b600083013567ffffffffffffffff8111156142c2576142c1613ede565b5b6142ce85828601614237565b92509250509250929050565b6142e381613fbe565b82525050565b600067ffffffffffffffff82169050919050565b614306816142e9565b82525050565b60408201600082015161432260008501826142da565b50602082015161433560208501826142fd565b50505050565b6000604082019050614350600083018461430c565b92915050565b61435f81613f68565b811461436a57600080fd5b50565b60008135905061437c81614356565b92915050565b6000806040838503121561439957614398613ed9565b5b60006143a785828601613fe7565b92505060206143b88582860161436d565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6143ff826140ae565b810181811067ffffffffffffffff8211171561441e5761441d6143c7565b5b80604052505050565b6000614431613ecf565b905061443d82826143f6565b919050565b600067ffffffffffffffff82111561445d5761445c6143c7565b5b614466826140ae565b9050602081019050919050565b82818337600083830152505050565b600061449561449084614442565b614427565b9050828152602081018484840111156144b1576144b06143c2565b5b6144bc848285614473565b509392505050565b600082601f8301126144d9576144d8614228565b5b81356144e9848260208601614482565b91505092915050565b6000806000806080858703121561450c5761450b613ed9565b5b600061451a87828801613fe7565b945050602061452b87828801613fe7565b935050604061453c87828801614013565b925050606085013567ffffffffffffffff81111561455d5761455c613ede565b5b614569878288016144c4565b91505092959194509250565b6000806040838503121561458c5761458b613ed9565b5b600061459a85828601613fe7565b92505060206145ab85828601613fe7565b9150509250929050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006145eb601f83614073565b91506145f6826145b5565b602082019050919050565b6000602082019050818103600083015261461a816145de565b9050919050565b7f4d757374206d696e74206174206c65617374203120746f6b656e000000000000600082015250565b6000614657601a83614073565b915061466282614621565b602082019050919050565b600060208201905081810360008301526146868161464a565b9050919050565b7f4d696e74696e67206973206e6f74206f70656e207269676874206e6f77210000600082015250565b60006146c3601e83614073565b91506146ce8261468d565b602082019050919050565b600060208201905081810360008301526146f2816146b6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061473382613e9b565b915061473e83613e9b565b9250828201905080821115614756576147556146f9565b5b92915050565b7f43616e6e6f74206d696e74206f76657220737570706c7920636170206f66203460008201527f3030300000000000000000000000000000000000000000000000000000000000602082015250565b60006147b8602383614073565b91506147c38261475c565b604082019050919050565b600060208201905081810360008301526147e7816147ab565b9050919050565b7f4d6178204261746368206f662031302e00000000000000000000000000000000600082015250565b6000614824601083614073565b915061482f826147ee565b602082019050919050565b6000602082019050818103600083015261485381614817565b9050919050565b7f4561726c79204d696e74732063617070656420617420352e0000000000000000600082015250565b6000614890601883614073565b915061489b8261485a565b602082019050919050565b600060208201905081810360008301526148bf81614883565b9050919050565b7f43616e6e6f74206d696e74206f766572206561726c7920636170206f6620313060008201527f3030000000000000000000000000000000000000000000000000000000000000602082015250565b6000614922602283614073565b915061492d826148c6565b604082019050919050565b6000602082019050818103600083015261495181614915565b9050919050565b7f43616e206f6e6c79206d696e7420666f7220796f757273656c66000000000000600082015250565b600061498e601a83614073565b915061499982614958565b602082019050919050565b600060208201905081810360008301526149bd81614981565b9050919050565b7f56616c75652062656c6f77207265717569726564206d696e742066656520666f60008201527f7220616d6f756e74000000000000000000000000000000000000000000000000602082015250565b6000614a20602883614073565b9150614a2b826149c4565b604082019050919050565b60006020820190508181036000830152614a4f81614a13565b9050919050565b7f43616e6e6f74206d696e74206d6f7265207468616e206d6178206d696e74207060008201527f6572207472616e73616374696f6e000000000000000000000000000000000000602082015250565b6000614ab2602e83614073565b9150614abd82614a56565b604082019050919050565b60006020820190508181036000830152614ae181614aa5565b9050919050565b7f43616e6e6f74206d696e74206f76657220737570706c79206361700000000000600082015250565b6000614b1e601b83614073565b9150614b2982614ae8565b602082019050919050565b60006020820190508181036000830152614b4d81614b11565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614b9b57607f821691505b602082108103614bae57614bad614b54565b5b50919050565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b6000614c10602d83614073565b9150614c1b82614bb4565b604082019050919050565b60006020820190508181036000830152614c3f81614c03565b9050919050565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b6000614ca2602283614073565b9150614cad82614c46565b604082019050919050565b60006020820190508181036000830152614cd181614c95565b9050919050565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b6000614d34603983614073565b9150614d3f82614cd8565b604082019050919050565b60006020820190508181036000830152614d6381614d27565b9050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b6000614dc6602283614073565b9150614dd182614d6a565b604082019050919050565b60006020820190508181036000830152614df581614db9565b9050919050565b6000614e0782613e9b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614e3957614e386146f9565b5b600182019050919050565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b6000614ea0602e83614073565b9150614eab82614e44565b604082019050919050565b60006020820190508181036000830152614ecf81614e93565b9050919050565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b6000614f32602383614073565b9150614f3d82614ed6565b604082019050919050565b60006020820190508181036000830152614f6181614f25565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614f9e602083614073565b9150614fa982614f68565b602082019050919050565b60006020820190508181036000830152614fcd81614f91565b9050919050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026150417fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82615004565b61504b8683615004565b95508019841693508086168417925050509392505050565b6000819050919050565b600061508861508361507e84613e9b565b615063565b613e9b565b9050919050565b6000819050919050565b6150a28361506d565b6150b66150ae8261508f565b848454615011565b825550505050565b600090565b6150cb6150be565b6150d6818484615099565b505050565b5b818110156150fa576150ef6000826150c3565b6001810190506150dc565b5050565b601f82111561513f5761511081614fdf565b61511984614ff4565b81016020851015615128578190505b61513c61513485614ff4565b8301826150db565b50505b505050565b600082821c905092915050565b600061516260001984600802615144565b1980831691505092915050565b600061517b8383615151565b9150826002028217905092915050565b6151958383614fd4565b67ffffffffffffffff8111156151ae576151ad6143c7565b5b6151b88254614b83565b6151c38282856150fe565b6000601f8311600181146151f257600084156151e0578287013590505b6151ea858261516f565b865550615252565b601f19841661520086614fdf565b60005b8281101561522857848901358255600182019150602085019450602081019050615203565b868310156152455784890135615241601f891682615151565b8355505b6001600288020188555050505b50505050505050565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b6000615291601a83614073565b915061529c8261525b565b602082019050919050565b600060208201905081810360008301526152c081615284565b9050919050565b6000815190506152d681613ffc565b92915050565b6000602082840312156152f2576152f1613ed9565b5b6000615300848285016152c7565b91505092915050565b7f436f6e747261637420646f6573206e6f74206f776e20656e6f75676820746f6b60008201527f656e730000000000000000000000000000000000000000000000000000000000602082015250565b6000615365602383614073565b915061537082615309565b604082019050919050565b6000602082019050818103600083015261539481615358565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006153d582613e9b565b91506153e083613e9b565b92508282026153ee81613e9b565b91508282048414831517615405576154046146f9565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061544682613e9b565b915061545183613e9b565b9250826154615761546061540c565b5b828204905092915050565b60006040820190506154816000830185614147565b61548e6020830184613ea5565b9392505050565b6000815190506154a481614356565b92915050565b6000602082840312156154c0576154bf613ed9565b5b60006154ce84828501615495565b91505092915050565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b6000615533603383614073565b915061553e826154d7565b604082019050919050565b6000602082019050818103600083015261556281615526565b9050919050565b7f467269656e647320616e642046616d696c79206d696e7473206861766520726560008201527f616368656420746865206c696d69740000000000000000000000000000000000602082015250565b60006155c5602f83614073565b91506155d082615569565b604082019050919050565b600060208201905081810360008301526155f4816155b8565b9050919050565b7f57616c6c65742068617320616c726561647920636c61696d656420467269656e60008201527f647320616e642046616d696c79206d696e740000000000000000000000000000602082015250565b6000615657603283614073565b9150615662826155fb565b604082019050919050565b600060208201905081810360008301526156868161564a565b9050919050565b7f41646472657373206973206e6f7420656c696769626c6520666f72204672696560008201527f6e647320616e642046616d696c79206d696e7400000000000000000000000000602082015250565b60006156e9603383614073565b91506156f48261568d565b604082019050919050565b60006020820190508181036000830152615718816156dc565b9050919050565b7f56616c75652062656c6f77207265717569726564206d696e742066656520666f60008201527f7220467269656e647320616e642046616d696c79206d696e7400000000000000602082015250565b600061577b603983614073565b91506157868261571f565b604082019050919050565b600060208201905081810360008301526157aa8161576e565b9050919050565b600081905092915050565b60006157c782614068565b6157d181856157b1565b93506157e1818560208601614084565b80840191505092915050565b60006157f982856157bc565b915061580582846157bc565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061586d602683614073565b915061587882615811565b604082019050919050565b6000602082019050818103600083015261589c81615860565b9050919050565b7f455243373231413a206e756d626572206d696e74656420717565727920666f7260008201527f20746865207a65726f2061646472657373000000000000000000000000000000602082015250565b60006158ff603183614073565b915061590a826158a3565b604082019050919050565b6000602082019050818103600083015261592e816158f2565b9050919050565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000615991603283614073565b915061599c82615935565b604082019050919050565b600060208201905081810360008301526159c081615984565b9050919050565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b6000615a23602683614073565b9150615a2e826159c7565b604082019050919050565b60006020820190508181036000830152615a5281615a16565b9050919050565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000615ab5602583614073565b9150615ac082615a59565b604082019050919050565b60006020820190508181036000830152615ae481615aa8565b9050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b6000615b1282615aeb565b9150615b1d83615aeb565b925082820390506fffffffffffffffffffffffffffffffff811115615b4557615b446146f9565b5b92915050565b6000615b5682615aeb565b9150615b6183615aeb565b925082820190506fffffffffffffffffffffffffffffffff811115615b8957615b886146f9565b5b92915050565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b6000615beb602f83614073565b9150615bf682615b8f565b604082019050919050565b60006020820190508181036000830152615c1a81615bde565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615c4882615c21565b615c528185615c2c565b9350615c62818560208601614084565b615c6b816140ae565b840191505092915050565b6000608082019050615c8b6000830187614147565b615c986020830186614147565b615ca56040830185613ea5565b8181036060830152615cb78184615c3d565b905095945050505050565b600081519050615cd181613f0f565b92915050565b600060208284031215615ced57615cec613ed9565b5b6000615cfb84828501615cc2565b91505092915050565b6000615d0f82613e9b565b9150615d1a83613e9b565b9250828203905081811115615d3257615d316146f9565b5b92915050565b6000615d4382613e9b565b9150615d4e83613e9b565b925082615d5e57615d5d61540c565b5b828206905092915050565b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000615dc5602183614073565b9150615dd082615d69565b604082019050919050565b60006020820190508181036000830152615df481615db8565b9050919050565b7f455243373231413a20746f6b656e20616c7265616479206d696e746564000000600082015250565b6000615e31601d83614073565b9150615e3c82615dfb565b602082019050919050565b60006020820190508181036000830152615e6081615e24565b9050919050565b7f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960008201527f6768000000000000000000000000000000000000000000000000000000000000602082015250565b6000615ec3602283614073565b9150615ece82615e67565b604082019050919050565b60006020820190508181036000830152615ef281615eb6565b9050919050565b600081905092915050565b50565b6000615f14600083615ef9565b9150615f1f82615f04565b600082019050919050565b6000615f3582615f07565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b6000615f75601083614073565b9150615f8082615f3f565b602082019050919050565b60006020820190508181036000830152615fa481615f68565b905091905056fea264697066735822122071cd40f9e136342ba48b399d5a92ce2c79ab3b2928fdb6b57b74ee4f5dedbd3864736f6c63430008120033697066733a2f2f516d4e6757416b70583933674c617a55726641526f4c3167564b42394d385a394c6e46586d76784c37416b3143712f697066733a2f2f516d56754735553342756a617665665637515553796e754d706e566939584e383569464241547531745165516975

Deployed Bytecode

0x6080604052600436106102925760003560e01c8063715018a61161015a578063bf610d7e116100c1578063d547cfb71161007a578063d547cfb7146109ff578063d7224ba014610a2a578063e8a3d48514610a55578063e985e9c514610a80578063f2fde38b14610abd578063f824828f14610ae657610292565b8063bf610d7e146108fa578063c0e7274014610916578063c5815c4114610941578063c87b56dd1461096c578063caa0f92a146109a9578063cfc86f7b146109d457610292565b80639231ab2a116101135780639231ab2a146107ee578063938e3d7b1461082b57806395d89b4114610854578063a22cb4651461087f578063b40ebceb146108a8578063b88d4fde146108d157610292565b8063715018a614610702578063853828b614610719578063891bbe73146107305780638d859f3e1461076d5780638da5cb5b146107985780638f4bb497146107c357610292565b806338b90333116101fe5780634f6ccce7116101b75780634f6ccce7146105e257806355f804b31461061f5780636352211e1461064857806368be561b146106855780636ba9fd38146106ae57806370a08231146106c557610292565b806338b90333146104d05780633e07311c146104fb578063407530f51461052657806342842e0e1461055157806345c0f5331461057a5780634aa945b5146105a557610292565b806318160ddd1161025057806318160ddd146103ac5780631bda855f146103d757806323b872dd14610402578063286c81371461042b5780632913daa0146104685780632f745c591461049357610292565b80629a9b7b1461029757806301ffc9a7146102c25780630644cefa146102ff57806306fdde031461031b578063081812fc14610346578063095ea7b314610383575b600080fd5b3480156102a357600080fd5b506102ac610b11565b6040516102b99190613eb4565b60405180910390f35b3480156102ce57600080fd5b506102e960048036038101906102e49190613f3b565b610b20565b6040516102f69190613f83565b60405180910390f35b61031960048036038101906103149190614028565b610c6a565b005b34801561032757600080fd5b50610330611137565b60405161033d91906140f8565b60405180910390f35b34801561035257600080fd5b5061036d6004803603810190610368919061411a565b6111c9565b60405161037a9190614156565b60405180910390f35b34801561038f57600080fd5b506103aa60048036038101906103a59190614028565b61124e565b005b3480156103b857600080fd5b506103c1611366565b6040516103ce9190613eb4565b60405180910390f35b3480156103e357600080fd5b506103ec611375565b6040516103f99190613eb4565b60405180910390f35b34801561040e57600080fd5b5061042960048036038101906104249190614171565b61137f565b005b34801561043757600080fd5b50610452600480360381019061044d919061411a565b61138f565b60405161045f9190613eb4565b60405180910390f35b34801561047457600080fd5b5061047d6113b3565b60405161048a9190613eb4565b60405180910390f35b34801561049f57600080fd5b506104ba60048036038101906104b59190614028565b6113b9565b6040516104c79190613eb4565b60405180910390f35b3480156104dc57600080fd5b506104e56115b5565b6040516104f291906141e0565b60405180910390f35b34801561050757600080fd5b506105106115c8565b60405161051d9190613eb4565b60405180910390f35b34801561053257600080fd5b5061053b6115ce565b6040516105489190613eb4565b60405180910390f35b34801561055d57600080fd5b5061057860048036038101906105739190614171565b6115d4565b005b34801561058657600080fd5b5061058f6115f4565b60405161059c9190613eb4565b60405180910390f35b3480156105b157600080fd5b506105cc60048036038101906105c791906141fb565b611618565b6040516105d99190613eb4565b60405180910390f35b3480156105ee57600080fd5b506106096004803603810190610604919061411a565b611630565b6040516106169190613eb4565b60405180910390f35b34801561062b57600080fd5b506106466004803603810190610641919061428d565b611683565b005b34801561065457600080fd5b5061066f600480360381019061066a919061411a565b611715565b60405161067c9190614156565b60405180910390f35b34801561069157600080fd5b506106ac60048036038101906106a79190614028565b61172b565b005b3480156106ba57600080fd5b506106c3611821565b005b3480156106d157600080fd5b506106ec60048036038101906106e791906141fb565b6118ba565b6040516106f99190613eb4565b60405180910390f35b34801561070e57600080fd5b50610717611934565b005b34801561072557600080fd5b5061072e6119cf565b005b34801561073c57600080fd5b506107576004803603810190610752919061411a565b611a62565b6040516107649190614156565b60405180910390f35b34801561077957600080fd5b50610782611aa1565b60405161078f9190613eb4565b60405180910390f35b3480156107a457600080fd5b506107ad611aa7565b6040516107ba9190614156565b60405180910390f35b3480156107cf57600080fd5b506107d8611ad0565b6040516107e59190613f83565b60405180910390f35b3480156107fa57600080fd5b506108156004803603810190610810919061411a565b611ae3565b604051610822919061433b565b60405180910390f35b34801561083757600080fd5b50610852600480360381019061084d919061428d565b611afb565b005b34801561086057600080fd5b50610869611b8d565b60405161087691906140f8565b60405180910390f35b34801561088b57600080fd5b506108a660048036038101906108a19190614382565b611c1f565b005b3480156108b457600080fd5b506108cf60048036038101906108ca9190614028565b611d9f565b005b3480156108dd57600080fd5b506108f860048036038101906108f391906144f2565b612001565b005b610914600480360381019061090f91906141fb565b61205d565b005b34801561092257600080fd5b5061092b612498565b60405161093891906140f8565b60405180910390f35b34801561094d57600080fd5b50610956612526565b6040516109639190614156565b60405180910390f35b34801561097857600080fd5b50610993600480360381019061098e919061411a565b61254c565b6040516109a091906140f8565b60405180910390f35b3480156109b557600080fd5b506109be6125ab565b6040516109cb9190613eb4565b60405180910390f35b3480156109e057600080fd5b506109e96125c4565b6040516109f691906140f8565b60405180910390f35b348015610a0b57600080fd5b50610a14612652565b604051610a2191906140f8565b60405180910390f35b348015610a3657600080fd5b50610a3f6126e4565b604051610a4c9190613eb4565b60405180910390f35b348015610a6157600080fd5b50610a6a6126ea565b604051610a7791906140f8565b60405180910390f35b348015610a8c57600080fd5b50610aa76004803603810190610aa29190614575565b61277c565b604051610ab49190613f83565b60405180910390f35b348015610ac957600080fd5b50610ae46004803603810190610adf91906141fb565b612810565b005b348015610af257600080fd5b50610afb612907565b604051610b089190613eb4565b60405180910390f35b6000610b1b61290d565b905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610beb57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c5357507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c635750610c6282612920565b5b9050919050565b6002600e5403610caf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca690614601565b60405180910390fd5b6002600e819055506001811015610cfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf29061466d565b60405180910390fd5b60011515601260009054906101000a900460ff16151514610d51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d48906146d9565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000138881610d7b610b11565b610d859190614728565b1115610dc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbd906147ce565b60405180910390fd5b6103e881610dd2610b11565b610ddc9190614728565b11610f9f5766470de4df8200006013819055506005811115610e33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2a9061483a565b60405180910390fd5b6005610e3e3361298a565b1115610e7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e76906148a6565b60405180910390fd5b6103e881610e8b610b11565b610e959190614728565b1115610ed6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ecd90614938565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614610f44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3b906149a4565b60405180910390fd5b610f4d81612a72565b3414610f8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8590614a36565b60405180910390fd5b610f9a82826000612a90565b61112b565b667c5850872380006013819055506014811115610ff1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe890614ac8565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000013888161101b610b11565b6110259190614728565b1115611066576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105d90614b34565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146110d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cb906149a4565b60405180910390fd5b6110dd81612a72565b341461111e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111590614a36565b60405180910390fd5b61112a82826000612a90565b5b6001600e819055505050565b60606003805461114690614b83565b80601f016020809104026020016040519081016040528092919081815260200182805461117290614b83565b80156111bf5780601f10611194576101008083540402835291602001916111bf565b820191906000526020600020905b8154815290600101906020018083116111a257829003601f168201915b5050505050905090565b60006111d482612ab0565b611213576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120a90614c26565b60405180910390fd5b6007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061125982611715565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036112c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c090614cb8565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166112e8612ad1565b73ffffffffffffffffffffffffffffffffffffffff161480611317575061131681611311612ad1565b61277c565b5b611356576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134d90614d4a565b60405180910390fd5b611361838383612ad9565b505050565b600061137061290d565b905090565b6000601554905090565b61138a838383612b8b565b505050565b600c818154811061139f57600080fd5b906000526020600020016000915090505481565b60025481565b60006113c4836118ba565b8210611405576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113fc90614ddc565b60405180910390fd5b600061140f611366565b905060008060005b83811015611573576000600560008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461150957806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361155f578684036115505781955050505050506115af565b838061155b90614dfc565b9450505b50808061156b90614dfc565b915050611417565b506040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a690614eb6565b60405180910390fd5b92915050565b600f60009054906101000a900460ff1681565b600d5481565b60155481565b6115ef83838360405180602001604052806000815250612001565b505050565b7f000000000000000000000000000000000000000000000000000000000000138881565b60146020528060005260406000206000915090505481565b600061163a611366565b821061167b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167290614f48565b60405180910390fd5b819050919050565b61168b612ad1565b73ffffffffffffffffffffffffffffffffffffffff166116a9611aa7565b73ffffffffffffffffffffffffffffffffffffffff16146116ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f690614fb4565b60405180910390fd5b81816010918261171092919061518b565b505050565b600061172082613142565b600001519050919050565b611733612ad1565b73ffffffffffffffffffffffffffffffffffffffff16611751611aa7565b73ffffffffffffffffffffffffffffffffffffffff16146117a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179e90614fb4565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000013886117d06125ab565b1115611811576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611808906147ce565b60405180910390fd5b61181d82826000612a90565b5050565b611829612ad1565b73ffffffffffffffffffffffffffffffffffffffff16611847611aa7565b73ffffffffffffffffffffffffffffffffffffffff161461189d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189490614fb4565b60405180910390fd5b6001601260006101000a81548160ff021916908315150217905550565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b61193c612ad1565b73ffffffffffffffffffffffffffffffffffffffff1661195a611aa7565b73ffffffffffffffffffffffffffffffffffffffff16146119b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a790614fb4565b60405180910390fd5b6119cd7378d1410b8483c9b50d3abc1b1220be49505b21e661339a565b565b6119d7612ad1565b73ffffffffffffffffffffffffffffffffffffffff166119f5611aa7565b73ffffffffffffffffffffffffffffffffffffffff1614611a4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4290614fb4565b60405180910390fd5b60004711611a5857600080fd5b611a6061345e565b565b600b8181548110611a7257600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60135481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b601260009054906101000a900460ff1681565b611aeb613e61565b611af482613142565b9050919050565b611b03612ad1565b73ffffffffffffffffffffffffffffffffffffffff16611b21611aa7565b73ffffffffffffffffffffffffffffffffffffffff1614611b77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6e90614fb4565b60405180910390fd5b818160119182611b8892919061518b565b505050565b606060048054611b9c90614b83565b80601f0160208091040260200160405190810160405280929190818152602001828054611bc890614b83565b8015611c155780601f10611bea57610100808354040283529160200191611c15565b820191906000526020600020905b815481529060010190602001808311611bf857829003601f168201915b5050505050905090565b611c27612ad1565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611c94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8b906152a7565b60405180910390fd5b8060086000611ca1612ad1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611d4e612ad1565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d939190613f83565b60405180910390a35050565b611da7612ad1565b73ffffffffffffffffffffffffffffffffffffffff16611dc5611aa7565b73ffffffffffffffffffffffffffffffffffffffff1614611e1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1290614fb4565b60405180910390fd5b60008111611e2857600080fd5b6000829050818173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611e679190614156565b602060405180830381865afa158015611e84573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ea891906152dc565b1015611ee9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee09061537b565b60405180910390fd5b60005b600d54811015611ffb578173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600b8381548110611f2657611f2561539b565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166064600c8581548110611f6757611f6661539b565b5b906000526020600020015487611f7d91906153ca565b611f87919061543b565b6040518363ffffffff1660e01b8152600401611fa492919061546c565b6020604051808303816000875af1158015611fc3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fe791906154aa565b508080611ff390614dfc565b915050611eec565b50505050565b61200c848484612b8b565b61201884848484613504565b612057576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204e90615549565b60405180910390fd5b50505050565b6002600e54036120a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209990614601565b60405180910390fd5b6002600e819055507f000000000000000000000000000000000000000000000000000000000000138860016120d5610b11565b6120df9190614728565b1115612120576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211790614b34565b60405180910390fd5b60165460155410612166576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215d906155db565b60405180910390fd5b6000601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054146121e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121df9061566d565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612256576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224d906149a4565b60405180910390fd5b6000735af0d9827e0c53e4799bb226655a1de152a425a573ffffffffffffffffffffffffffffffffffffffff166370a08231836040518263ffffffff1660e01b81526004016122a59190614156565b602060405180830381865afa1580156122c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122e691906152dc565b9050600073d3d9ddd0cf0a5f0bfb8f7fceae075df687eaebab73ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b81526004016123379190614156565b602060405180830381865afa158015612354573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061237891906152dc565b905060008211806123895750600081115b6123c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123bf906156ff565b60405180910390fd5b662386f26fc100003414612411576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240890615791565b60405180910390fd5b601460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061246190614dfc565b91905055506015600081548092919061247990614dfc565b919050555061248b8360016000612a90565b50506001600e8190555050565b601180546124a590614b83565b80601f01602080910402602001604051908101604052809291908181526020018280546124d190614b83565b801561251e5780601f106124f35761010080835404028352916020019161251e565b820191906000526020600020905b81548152906001019060200180831161250157829003601f168201915b505050505081565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060600061255861368b565b9050600081511161257857604051806020016040528060008152506125a3565b806125828461371d565b6040516020016125939291906157ed565b6040516020818303038152906040525b915050919050565b60006125bf6125b861290d565b600161387d565b905090565b601080546125d190614b83565b80601f01602080910402602001604051908101604052809291908181526020018280546125fd90614b83565b801561264a5780601f1061261f5761010080835404028352916020019161264a565b820191906000526020600020905b81548152906001019060200180831161262d57829003601f168201915b505050505081565b60606010805461266190614b83565b80601f016020809104026020016040519081016040528092919081815260200182805461268d90614b83565b80156126da5780601f106126af576101008083540402835291602001916126da565b820191906000526020600020905b8154815290600101906020018083116126bd57829003601f168201915b5050505050905090565b60095481565b6060601180546126f990614b83565b80601f016020809104026020016040519081016040528092919081815260200182805461272590614b83565b80156127725780601f1061274757610100808354040283529160200191612772565b820191906000526020600020905b81548152906001019060200180831161275557829003601f168201915b5050505050905090565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612818612ad1565b73ffffffffffffffffffffffffffffffffffffffff16612836611aa7565b73ffffffffffffffffffffffffffffffffffffffff161461288c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161288390614fb4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036128fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f290615883565b60405180910390fd5b6129048161339a565b50565b60165481565b6000612917613893565b60015403905090565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036129fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129f190615915565b60405180910390fd5b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b6000612a898260135461389c90919063ffffffff16565b9050919050565b612aab838383604051806020016040528060008152506138b2565b505050565b600081612abb613893565b11158015612aca575060015482105b9050919050565b600033905090565b826007600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000612b9682613142565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16612bbd612ad1565b73ffffffffffffffffffffffffffffffffffffffff161480612c195750612be2612ad1565b73ffffffffffffffffffffffffffffffffffffffff16612c01846111c9565b73ffffffffffffffffffffffffffffffffffffffff16145b80612c355750612c348260000151612c2f612ad1565b61277c565b5b905080612c77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c6e906159a7565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612ce9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ce090615a39565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612d58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d4f90615acb565b60405180910390fd5b612d658585856001613d81565b612d756000848460000151612ad9565b6001600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16612de39190615b07565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16612e879190615b4b565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506005600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050506000600184612f8d9190614728565b9050600073ffffffffffffffffffffffffffffffffffffffff166005600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036130d25761300281612ab0565b156130d1576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506005600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461313a8686866001613d87565b505050505050565b61314a613e61565b600082905080613158613893565b11158015613167575060015481105b1561335a576000600560008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614613258578092505050613395565b5b60011561335857818060019003925050600560008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614613353578092505050613395565b613259565b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161338c90615c01565b60405180910390fd5b919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600047905060005b600d54811015613500576134ed600b82815481106134875761348661539b565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166064600c84815481106134c8576134c761539b565b5b9060005260206000200154856134de91906153ca565b6134e8919061543b565b613d8d565b80806134f890614dfc565b915050613466565b5050565b60006135258473ffffffffffffffffffffffffffffffffffffffff16613e3e565b1561367e578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261354e612ad1565b8786866040518563ffffffff1660e01b81526004016135709493929190615c76565b6020604051808303816000875af19250505080156135ac57506040513d601f19601f820116820180604052508101906135a99190615cd7565b60015b61362e573d80600081146135dc576040519150601f19603f3d011682016040523d82523d6000602084013e6135e1565b606091505b506000815103613626576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161361d90615549565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613683565b600190505b949350505050565b60606010805461369a90614b83565b80601f01602080910402602001604051908101604052809291908181526020018280546136c690614b83565b80156137135780601f106136e857610100808354040283529160200191613713565b820191906000526020600020905b8154815290600101906020018083116136f657829003601f168201915b5050505050905090565b606060008203613764576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613878565b600082905060005b6000821461379657808061377f90614dfc565b915050600a8261378f919061543b565b915061376c565b60008167ffffffffffffffff8111156137b2576137b16143c7565b5b6040519080825280601f01601f1916602001820160405280156137e45781602001600182028036833780820191505090505b5090505b60008514613871576001826137fd9190615d04565b9150600a8561380c9190615d38565b60306138189190614728565b60f81b81838151811061382e5761382d61539b565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561386a919061543b565b94506137e8565b8093505050505b919050565b6000818361388b9190614728565b905092915050565b60006001905090565b600081836138aa91906153ca565b905092915050565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603613928576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161391f90615ddb565b60405180910390fd5b61393181612ab0565b15613971576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161396890615e47565b60405180910390fd5b6002548411156139b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139ad90615ed9565b60405180910390fd5b6139c36000868387613d81565b6000600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168152505090506040518060400160405280868360000151613ac09190615b4b565b6fffffffffffffffffffffffffffffffff16815260200185613ae25786613ae5565b60005b8360200151613af49190615b4b565b6fffffffffffffffffffffffffffffffff16815250600660008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808773ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506005600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b86811015613d6357818873ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613d036000898488613504565b613d42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d3990615549565b60405180910390fd5b8180613d4d90614dfc565b9250508080613d5b90614dfc565b915050613c92565b5080600181905550613d786000888589613d87565b50505050505050565b50505050565b50505050565b60008273ffffffffffffffffffffffffffffffffffffffff1682604051613db390615f2a565b60006040518083038185875af1925050503d8060008114613df0576040519150601f19603f3d011682016040523d82523d6000602084013e613df5565b606091505b5050905080613e39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613e3090615f8b565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b6000819050919050565b613eae81613e9b565b82525050565b6000602082019050613ec96000830184613ea5565b92915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613f1881613ee3565b8114613f2357600080fd5b50565b600081359050613f3581613f0f565b92915050565b600060208284031215613f5157613f50613ed9565b5b6000613f5f84828501613f26565b91505092915050565b60008115159050919050565b613f7d81613f68565b82525050565b6000602082019050613f986000830184613f74565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613fc982613f9e565b9050919050565b613fd981613fbe565b8114613fe457600080fd5b50565b600081359050613ff681613fd0565b92915050565b61400581613e9b565b811461401057600080fd5b50565b60008135905061402281613ffc565b92915050565b6000806040838503121561403f5761403e613ed9565b5b600061404d85828601613fe7565b925050602061405e85828601614013565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b838110156140a2578082015181840152602081019050614087565b60008484015250505050565b6000601f19601f8301169050919050565b60006140ca82614068565b6140d48185614073565b93506140e4818560208601614084565b6140ed816140ae565b840191505092915050565b6000602082019050818103600083015261411281846140bf565b905092915050565b6000602082840312156141305761412f613ed9565b5b600061413e84828501614013565b91505092915050565b61415081613fbe565b82525050565b600060208201905061416b6000830184614147565b92915050565b60008060006060848603121561418a57614189613ed9565b5b600061419886828701613fe7565b93505060206141a986828701613fe7565b92505060406141ba86828701614013565b9150509250925092565b600060ff82169050919050565b6141da816141c4565b82525050565b60006020820190506141f560008301846141d1565b92915050565b60006020828403121561421157614210613ed9565b5b600061421f84828501613fe7565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261424d5761424c614228565b5b8235905067ffffffffffffffff81111561426a5761426961422d565b5b60208301915083600182028301111561428657614285614232565b5b9250929050565b600080602083850312156142a4576142a3613ed9565b5b600083013567ffffffffffffffff8111156142c2576142c1613ede565b5b6142ce85828601614237565b92509250509250929050565b6142e381613fbe565b82525050565b600067ffffffffffffffff82169050919050565b614306816142e9565b82525050565b60408201600082015161432260008501826142da565b50602082015161433560208501826142fd565b50505050565b6000604082019050614350600083018461430c565b92915050565b61435f81613f68565b811461436a57600080fd5b50565b60008135905061437c81614356565b92915050565b6000806040838503121561439957614398613ed9565b5b60006143a785828601613fe7565b92505060206143b88582860161436d565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6143ff826140ae565b810181811067ffffffffffffffff8211171561441e5761441d6143c7565b5b80604052505050565b6000614431613ecf565b905061443d82826143f6565b919050565b600067ffffffffffffffff82111561445d5761445c6143c7565b5b614466826140ae565b9050602081019050919050565b82818337600083830152505050565b600061449561449084614442565b614427565b9050828152602081018484840111156144b1576144b06143c2565b5b6144bc848285614473565b509392505050565b600082601f8301126144d9576144d8614228565b5b81356144e9848260208601614482565b91505092915050565b6000806000806080858703121561450c5761450b613ed9565b5b600061451a87828801613fe7565b945050602061452b87828801613fe7565b935050604061453c87828801614013565b925050606085013567ffffffffffffffff81111561455d5761455c613ede565b5b614569878288016144c4565b91505092959194509250565b6000806040838503121561458c5761458b613ed9565b5b600061459a85828601613fe7565b92505060206145ab85828601613fe7565b9150509250929050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006145eb601f83614073565b91506145f6826145b5565b602082019050919050565b6000602082019050818103600083015261461a816145de565b9050919050565b7f4d757374206d696e74206174206c65617374203120746f6b656e000000000000600082015250565b6000614657601a83614073565b915061466282614621565b602082019050919050565b600060208201905081810360008301526146868161464a565b9050919050565b7f4d696e74696e67206973206e6f74206f70656e207269676874206e6f77210000600082015250565b60006146c3601e83614073565b91506146ce8261468d565b602082019050919050565b600060208201905081810360008301526146f2816146b6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061473382613e9b565b915061473e83613e9b565b9250828201905080821115614756576147556146f9565b5b92915050565b7f43616e6e6f74206d696e74206f76657220737570706c7920636170206f66203460008201527f3030300000000000000000000000000000000000000000000000000000000000602082015250565b60006147b8602383614073565b91506147c38261475c565b604082019050919050565b600060208201905081810360008301526147e7816147ab565b9050919050565b7f4d6178204261746368206f662031302e00000000000000000000000000000000600082015250565b6000614824601083614073565b915061482f826147ee565b602082019050919050565b6000602082019050818103600083015261485381614817565b9050919050565b7f4561726c79204d696e74732063617070656420617420352e0000000000000000600082015250565b6000614890601883614073565b915061489b8261485a565b602082019050919050565b600060208201905081810360008301526148bf81614883565b9050919050565b7f43616e6e6f74206d696e74206f766572206561726c7920636170206f6620313060008201527f3030000000000000000000000000000000000000000000000000000000000000602082015250565b6000614922602283614073565b915061492d826148c6565b604082019050919050565b6000602082019050818103600083015261495181614915565b9050919050565b7f43616e206f6e6c79206d696e7420666f7220796f757273656c66000000000000600082015250565b600061498e601a83614073565b915061499982614958565b602082019050919050565b600060208201905081810360008301526149bd81614981565b9050919050565b7f56616c75652062656c6f77207265717569726564206d696e742066656520666f60008201527f7220616d6f756e74000000000000000000000000000000000000000000000000602082015250565b6000614a20602883614073565b9150614a2b826149c4565b604082019050919050565b60006020820190508181036000830152614a4f81614a13565b9050919050565b7f43616e6e6f74206d696e74206d6f7265207468616e206d6178206d696e74207060008201527f6572207472616e73616374696f6e000000000000000000000000000000000000602082015250565b6000614ab2602e83614073565b9150614abd82614a56565b604082019050919050565b60006020820190508181036000830152614ae181614aa5565b9050919050565b7f43616e6e6f74206d696e74206f76657220737570706c79206361700000000000600082015250565b6000614b1e601b83614073565b9150614b2982614ae8565b602082019050919050565b60006020820190508181036000830152614b4d81614b11565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614b9b57607f821691505b602082108103614bae57614bad614b54565b5b50919050565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b6000614c10602d83614073565b9150614c1b82614bb4565b604082019050919050565b60006020820190508181036000830152614c3f81614c03565b9050919050565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b6000614ca2602283614073565b9150614cad82614c46565b604082019050919050565b60006020820190508181036000830152614cd181614c95565b9050919050565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b6000614d34603983614073565b9150614d3f82614cd8565b604082019050919050565b60006020820190508181036000830152614d6381614d27565b9050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b6000614dc6602283614073565b9150614dd182614d6a565b604082019050919050565b60006020820190508181036000830152614df581614db9565b9050919050565b6000614e0782613e9b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614e3957614e386146f9565b5b600182019050919050565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b6000614ea0602e83614073565b9150614eab82614e44565b604082019050919050565b60006020820190508181036000830152614ecf81614e93565b9050919050565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b6000614f32602383614073565b9150614f3d82614ed6565b604082019050919050565b60006020820190508181036000830152614f6181614f25565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614f9e602083614073565b9150614fa982614f68565b602082019050919050565b60006020820190508181036000830152614fcd81614f91565b9050919050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026150417fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82615004565b61504b8683615004565b95508019841693508086168417925050509392505050565b6000819050919050565b600061508861508361507e84613e9b565b615063565b613e9b565b9050919050565b6000819050919050565b6150a28361506d565b6150b66150ae8261508f565b848454615011565b825550505050565b600090565b6150cb6150be565b6150d6818484615099565b505050565b5b818110156150fa576150ef6000826150c3565b6001810190506150dc565b5050565b601f82111561513f5761511081614fdf565b61511984614ff4565b81016020851015615128578190505b61513c61513485614ff4565b8301826150db565b50505b505050565b600082821c905092915050565b600061516260001984600802615144565b1980831691505092915050565b600061517b8383615151565b9150826002028217905092915050565b6151958383614fd4565b67ffffffffffffffff8111156151ae576151ad6143c7565b5b6151b88254614b83565b6151c38282856150fe565b6000601f8311600181146151f257600084156151e0578287013590505b6151ea858261516f565b865550615252565b601f19841661520086614fdf565b60005b8281101561522857848901358255600182019150602085019450602081019050615203565b868310156152455784890135615241601f891682615151565b8355505b6001600288020188555050505b50505050505050565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b6000615291601a83614073565b915061529c8261525b565b602082019050919050565b600060208201905081810360008301526152c081615284565b9050919050565b6000815190506152d681613ffc565b92915050565b6000602082840312156152f2576152f1613ed9565b5b6000615300848285016152c7565b91505092915050565b7f436f6e747261637420646f6573206e6f74206f776e20656e6f75676820746f6b60008201527f656e730000000000000000000000000000000000000000000000000000000000602082015250565b6000615365602383614073565b915061537082615309565b604082019050919050565b6000602082019050818103600083015261539481615358565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006153d582613e9b565b91506153e083613e9b565b92508282026153ee81613e9b565b91508282048414831517615405576154046146f9565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061544682613e9b565b915061545183613e9b565b9250826154615761546061540c565b5b828204905092915050565b60006040820190506154816000830185614147565b61548e6020830184613ea5565b9392505050565b6000815190506154a481614356565b92915050565b6000602082840312156154c0576154bf613ed9565b5b60006154ce84828501615495565b91505092915050565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b6000615533603383614073565b915061553e826154d7565b604082019050919050565b6000602082019050818103600083015261556281615526565b9050919050565b7f467269656e647320616e642046616d696c79206d696e7473206861766520726560008201527f616368656420746865206c696d69740000000000000000000000000000000000602082015250565b60006155c5602f83614073565b91506155d082615569565b604082019050919050565b600060208201905081810360008301526155f4816155b8565b9050919050565b7f57616c6c65742068617320616c726561647920636c61696d656420467269656e60008201527f647320616e642046616d696c79206d696e740000000000000000000000000000602082015250565b6000615657603283614073565b9150615662826155fb565b604082019050919050565b600060208201905081810360008301526156868161564a565b9050919050565b7f41646472657373206973206e6f7420656c696769626c6520666f72204672696560008201527f6e647320616e642046616d696c79206d696e7400000000000000000000000000602082015250565b60006156e9603383614073565b91506156f48261568d565b604082019050919050565b60006020820190508181036000830152615718816156dc565b9050919050565b7f56616c75652062656c6f77207265717569726564206d696e742066656520666f60008201527f7220467269656e647320616e642046616d696c79206d696e7400000000000000602082015250565b600061577b603983614073565b91506157868261571f565b604082019050919050565b600060208201905081810360008301526157aa8161576e565b9050919050565b600081905092915050565b60006157c782614068565b6157d181856157b1565b93506157e1818560208601614084565b80840191505092915050565b60006157f982856157bc565b915061580582846157bc565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061586d602683614073565b915061587882615811565b604082019050919050565b6000602082019050818103600083015261589c81615860565b9050919050565b7f455243373231413a206e756d626572206d696e74656420717565727920666f7260008201527f20746865207a65726f2061646472657373000000000000000000000000000000602082015250565b60006158ff603183614073565b915061590a826158a3565b604082019050919050565b6000602082019050818103600083015261592e816158f2565b9050919050565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000615991603283614073565b915061599c82615935565b604082019050919050565b600060208201905081810360008301526159c081615984565b9050919050565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b6000615a23602683614073565b9150615a2e826159c7565b604082019050919050565b60006020820190508181036000830152615a5281615a16565b9050919050565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000615ab5602583614073565b9150615ac082615a59565b604082019050919050565b60006020820190508181036000830152615ae481615aa8565b9050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b6000615b1282615aeb565b9150615b1d83615aeb565b925082820390506fffffffffffffffffffffffffffffffff811115615b4557615b446146f9565b5b92915050565b6000615b5682615aeb565b9150615b6183615aeb565b925082820190506fffffffffffffffffffffffffffffffff811115615b8957615b886146f9565b5b92915050565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b6000615beb602f83614073565b9150615bf682615b8f565b604082019050919050565b60006020820190508181036000830152615c1a81615bde565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615c4882615c21565b615c528185615c2c565b9350615c62818560208601614084565b615c6b816140ae565b840191505092915050565b6000608082019050615c8b6000830187614147565b615c986020830186614147565b615ca56040830185613ea5565b8181036060830152615cb78184615c3d565b905095945050505050565b600081519050615cd181613f0f565b92915050565b600060208284031215615ced57615cec613ed9565b5b6000615cfb84828501615cc2565b91505092915050565b6000615d0f82613e9b565b9150615d1a83613e9b565b9250828203905081811115615d3257615d316146f9565b5b92915050565b6000615d4382613e9b565b9150615d4e83613e9b565b925082615d5e57615d5d61540c565b5b828206905092915050565b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000615dc5602183614073565b9150615dd082615d69565b604082019050919050565b60006020820190508181036000830152615df481615db8565b9050919050565b7f455243373231413a20746f6b656e20616c7265616479206d696e746564000000600082015250565b6000615e31601d83614073565b9150615e3c82615dfb565b602082019050919050565b60006020820190508181036000830152615e6081615e24565b9050919050565b7f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960008201527f6768000000000000000000000000000000000000000000000000000000000000602082015250565b6000615ec3602283614073565b9150615ece82615e67565b604082019050919050565b60006020820190508181036000830152615ef281615eb6565b9050919050565b600081905092915050565b50565b6000615f14600083615ef9565b9150615f1f82615f04565b600082019050919050565b6000615f3582615f07565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b6000615f75601083614073565b9150615f8082615f3f565b602082019050919050565b60006020820190508181036000830152615fa481615f68565b905091905056fea264697066735822122071cd40f9e136342ba48b399d5a92ce2c79ab3b2928fdb6b57b74ee4f5dedbd3864736f6c63430008120033

Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.