ETH Price: $3,010.63 (+4.50%)
Gas: 3 Gwei

Token

ETHarcade (ARCADE)
 

Overview

Max Total Supply

1,004 ARCADE

Holders

781

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 ARCADE
0x1f5281b315996ca12eab236ff1dc6c4a5050277c
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.10+commit.fc410830

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : ETHarcade.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(0xdCF2629e8aeD1ACa339fbBC45AC2647608D3564F);
}

/**
* @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 = 0xdCF2629e8aeD1ACa339fbBC45AC2647608D3564F;

  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,0xdCF2629e8aeD1ACa339fbBC45AC2647608D3564F];
uint256[] public payableFees = [5,95];
uint256 public payableAddressCount = 2;

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

function withdrawAllRampp() public isRampp {
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);
}
}

/**
* @dev Allows Rampp wallet to update its own reference as well as update
* the address for the Rampp-owed payment split. Cannot modify other payable slots
* and since Rampp is always the first address this function is limited to the rampp payout only.
* @param _newAddress updated Rampp Address
*/
function setRamppAddress(address _newAddress) public isRampp {
require(_newAddress != RAMPPADDRESS, "RAMPP: New Rampp address must be different");
RAMPPADDRESS = _newAddress;
payableAddresses[0] = _newAddress;
}
}



abstract contract RamppERC721A is
Ownable,
ERC721A,
Withdrawable,
ReentrancyGuard  {
constructor(
string memory tokenName,
string memory tokenSymbol
) ERC721A(tokenName, tokenSymbol, 20, 4000) {}
using SafeMath for uint256;
uint8 public CONTRACT_VERSION = 2;
string public _baseTokenURI = "ipfs://QmQ8ewnNhzJb7bxPdvNoVfVSpQL1Uk583g4d624ZsrPbMz/";
string public _contractURI = "ipfs://QmcYU8tj7GBjw7nHeMG1MyYVQCGDj9c7B4UHiKZ3aZWXkT";
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 mintToAdmin(address _to) public onlyOwner {
require(getNextTokenId() <= collectionSize, "Cannot mint over supply cap of 4000");
_safeMint(_to, 1, true);
}

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


function mintManyAdmin(address[] memory _addresses, uint256 _addressCount) public onlyOwner {
for(uint i=0; i < _addressCount; i++ ) {
mintToAdmin(_addresses[i]);
}
}


/////////////// GENERIC MINT FUNCTIONS
/**
* @dev Mints a token to an address with a tokenURI.
* fee may or may not be required*
* @param _to address of the future owner of the token
* @param _amount number of tokens to mint
*/
function mintToMultiple(address _to, uint256 _amount) public payable {
require(_amount >= 1, "Must mint at least 1 token");
require(mintingOpen == true, "Minting is not open right now!");
if(currentTokenId() <= 1000) {
    require(_amount == 1, "Only one free mint.");
    require(msg.value == 0, "You made it to the free mint!");
    require(_numberMinted(msg.sender) == 0, "Only one free mint.");
    require(_to == msg.sender, "Can only mint for yourself");
    _safeMint(_to, 1, false);
} else {
    require(_amount <= maxBatchSize, "Cannot mint more than max mint per transaction");
    require(currentTokenId() + _amount <= collectionSize, "Cannot mint over supply cap of 4000");
    require(msg.value == getPrice(_amount), "Value below required mint fee for amount");
    _safeMint(_to, _amount, false);
}
}

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

function stopMinting() public onlyOwner {
mintingOpen = false;
}






/**
* @dev Allows owner to set Max mints per tx
* @param _newMaxMint maximum amount of tokens allowed to mint per tx. Must be >= 1
*/
function setMaxMint(uint256 _newMaxMint) public onlyOwner {
require(_newMaxMint >= 1, "Max mint must be at least 1");
maxBatchSize = _newMaxMint;
}



function setPrice(uint256 _feeInWei) public onlyOwner {
PRICE = _feeInWei;
}

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



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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"_addresses","type":"address[]"},{"internalType":"uint256","name":"_addressCount","type":"uint256"}],"name":"mintManyAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"mintToAdmin","outputs":[],"stateMutability":"nonpayable","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":"uint256","name":"_newMaxMint","type":"uint256"}],"name":"setMaxMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_feeInWei","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newAddress","type":"address"}],"name":"setRamppAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"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"},{"inputs":[],"name":"withdrawAllRampp","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a0604052600060095573dcf2629e8aed1aca339fbbc45ac2647608d3564f600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040518060400160405280600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200173dcf2629e8aed1aca339fbbc45ac2647608d3564f73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250600b906002620001139291906200045c565b506040518060400160405280600560ff168152602001605f60ff16815250600c90600262000143929190620004eb565b506002600d556002600f60006101000a81548160ff021916908360ff1602179055506040518060600160405280603681526020016200661b60369139601090805190602001906200019692919062000542565b50604051806060016040528060358152602001620066516035913960119080519060200190620001c892919062000542565b506000601260006101000a81548160ff02191690831515021790555066470de4df820000601355348015620001fc57600080fd5b506040518060400160405280600981526020017f45544861726361646500000000000000000000000000000000000000000000008152506040518060400160405280600681526020017f415243414445000000000000000000000000000000000000000000000000000081525081816014610fa062000290620002846200038760201b60201c565b6200038f60201b60201c565b60008111620002d6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002cd9062000679565b60405180910390fd5b600082116200031c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003139062000711565b60405180910390fd5b83600390805190602001906200033492919062000542565b5082600490805190602001906200034d92919062000542565b508160028190555080608081815250506200036d6200045360201b60201c565b600181905550505050506001600e81905550505062000798565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006001905090565b828054828255906000526020600020908101928215620004d8579160200282015b82811115620004d75782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550916020019190600101906200047d565b5b509050620004e79190620005d3565b5090565b8280548282559060005260206000209081019282156200052f579160200282015b828111156200052e578251829060ff169055916020019190600101906200050c565b5b5090506200053e9190620005d3565b5090565b828054620005509062000762565b90600052602060002090601f016020900481019282620005745760008555620005c0565b82601f106200058f57805160ff1916838001178555620005c0565b82800160010185558215620005c0579182015b82811115620005bf578251825591602001919060010190620005a2565b5b509050620005cf9190620005d3565b5090565b5b80821115620005ee576000816000905550600101620005d4565b5090565b600082825260208201905092915050565b7f455243373231413a20636f6c6c656374696f6e206d757374206861766520612060008201527f6e6f6e7a65726f20737570706c79000000000000000000000000000000000000602082015250565b600062000661602e83620005f2565b91506200066e8262000603565b604082019050919050565b60006020820190508181036000830152620006948162000652565b9050919050565b7f455243373231413a206d61782062617463682073697a65206d7573742062652060008201527f6e6f6e7a65726f00000000000000000000000000000000000000000000000000602082015250565b6000620006f9602783620005f2565b915062000706826200069b565b604082019050919050565b600060208201905081810360008301526200072c81620006ea565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200077b57607f821691505b6020821081141562000792576200079162000733565b5b50919050565b608051615e52620007c960003960008181610f030152818161151c015281816118430152611fad0152615e526000f3fe6080604052600436106102c85760003560e01c8063853828b611610175578063b88d4fde116100dc578063cfc86f7b11610095578063dcd4aa8b1161006f578063dcd4aa8b14610ac0578063e8a3d48514610ad7578063e985e9c514610b02578063f2fde38b14610b3f576102c8565b8063cfc86f7b14610a3f578063d547cfb714610a6a578063d7224ba014610a95576102c8565b8063b88d4fde1461092f578063bbd8556b14610958578063c0e7274014610981578063c5815c41146109ac578063c87b56dd146109d7578063caa0f92a14610a14576102c8565b80639231ab2a1161012e5780639231ab2a14610823578063938e3d7b1461086057806395d89b4114610889578063a22cb465146108b4578063a54dd93c146108dd578063b40ebceb14610906576102c8565b8063853828b614610725578063891bbe731461073c5780638d859f3e146107795780638da5cb5b146107a45780638f4bb497146107cf57806391b7f5ed146107fa576102c8565b80633e07311c11610234578063547520fe116101ed57806368be561b116101c757806368be561b146106915780636ba9fd38146106ba57806370a08231146106d1578063715018a61461070e576102c8565b8063547520fe1461060257806355f804b31461062b5780636352211e14610654576102c8565b80633e07311c146105065780633e3e0b121461053157806342842e0e1461054857806345c0f533146105715780634d5f4e761461059c5780634f6ccce7146105c5576102c8565b806318160ddd1161028657806318160ddd146103e257806323b872dd1461040d578063286c8137146104365780632913daa0146104735780632f745c591461049e57806338b90333146104db576102c8565b80629a9b7b146102cd57806301ffc9a7146102f85780630644cefa1461033557806306fdde0314610351578063081812fc1461037c578063095ea7b3146103b9575b600080fd5b3480156102d957600080fd5b506102e2610b68565b6040516102ef919061400c565b60405180910390f35b34801561030457600080fd5b5061031f600480360381019061031a9190614093565b610b77565b60405161032c91906140db565b60405180910390f35b61034f600480360381019061034a9190614180565b610cc1565b005b34801561035d57600080fd5b50610366610fd1565b6040516103739190614259565b60405180910390f35b34801561038857600080fd5b506103a3600480360381019061039e919061427b565b611063565b6040516103b091906142b7565b60405180910390f35b3480156103c557600080fd5b506103e060048036038101906103db9190614180565b6110e8565b005b3480156103ee57600080fd5b506103f7611201565b604051610404919061400c565b60405180910390f35b34801561041957600080fd5b50610434600480360381019061042f91906142d2565b611210565b005b34801561044257600080fd5b5061045d6004803603810190610458919061427b565b611220565b60405161046a919061400c565b60405180910390f35b34801561047f57600080fd5b50610488611244565b604051610495919061400c565b60405180910390f35b3480156104aa57600080fd5b506104c560048036038101906104c09190614180565b61124a565b6040516104d2919061400c565b60405180910390f35b3480156104e757600080fd5b506104f0611448565b6040516104fd9190614341565b60405180910390f35b34801561051257600080fd5b5061051b61145b565b604051610528919061400c565b60405180910390f35b34801561053d57600080fd5b50610546611461565b005b34801561055457600080fd5b5061056f600480360381019061056a91906142d2565b6114fa565b005b34801561057d57600080fd5b5061058661151a565b604051610593919061400c565b60405180910390f35b3480156105a857600080fd5b506105c360048036038101906105be91906144a4565b61153e565b005b3480156105d157600080fd5b506105ec60048036038101906105e7919061427b565b611600565b6040516105f9919061400c565b60405180910390f35b34801561060e57600080fd5b506106296004803603810190610624919061427b565b611653565b005b34801561063757600080fd5b50610652600480360381019061064d919061455b565b61171d565b005b34801561066057600080fd5b5061067b6004803603810190610676919061427b565b6117af565b60405161068891906142b7565b60405180910390f35b34801561069d57600080fd5b506106b860048036038101906106b39190614180565b6117c5565b005b3480156106c657600080fd5b506106cf6118bb565b005b3480156106dd57600080fd5b506106f860048036038101906106f391906145a8565b611954565b604051610705919061400c565b60405180910390f35b34801561071a57600080fd5b50610723611a3d565b005b34801561073157600080fd5b5061073a611ad8565b005b34801561074857600080fd5b50610763600480360381019061075e919061427b565b611b6b565b60405161077091906142b7565b60405180910390f35b34801561078557600080fd5b5061078e611baa565b60405161079b919061400c565b60405180910390f35b3480156107b057600080fd5b506107b9611bb0565b6040516107c691906142b7565b60405180910390f35b3480156107db57600080fd5b506107e4611bd9565b6040516107f191906140db565b60405180910390f35b34801561080657600080fd5b50610821600480360381019061081c919061427b565b611bec565b005b34801561082f57600080fd5b5061084a6004803603810190610845919061427b565b611c72565b6040516108579190614636565b60405180910390f35b34801561086c57600080fd5b506108876004803603810190610882919061455b565b611c8a565b005b34801561089557600080fd5b5061089e611d1c565b6040516108ab9190614259565b60405180910390f35b3480156108c057600080fd5b506108db60048036038101906108d6919061467d565b611dae565b005b3480156108e957600080fd5b5061090460048036038101906108ff91906145a8565b611f2f565b005b34801561091257600080fd5b5061092d60048036038101906109289190614180565b612024565b005b34801561093b57600080fd5b5061095660048036038101906109519190614772565b612286565b005b34801561096457600080fd5b5061097f600480360381019061097a91906145a8565b6122e2565b005b34801561098d57600080fd5b506109966124a5565b6040516109a39190614259565b60405180910390f35b3480156109b857600080fd5b506109c1612533565b6040516109ce91906142b7565b60405180910390f35b3480156109e357600080fd5b506109fe60048036038101906109f9919061427b565b612559565b604051610a0b9190614259565b60405180910390f35b348015610a2057600080fd5b50610a296125b8565b604051610a36919061400c565b60405180910390f35b348015610a4b57600080fd5b50610a546125d1565b604051610a619190614259565b60405180910390f35b348015610a7657600080fd5b50610a7f61265f565b604051610a8c9190614259565b60405180910390f35b348015610aa157600080fd5b50610aaa6126f1565b604051610ab7919061400c565b60405180910390f35b348015610acc57600080fd5b50610ad56126f7565b005b348015610ae357600080fd5b50610aec61279e565b604051610af99190614259565b60405180910390f35b348015610b0e57600080fd5b50610b296004803603810190610b2491906147f5565b612830565b604051610b3691906140db565b60405180910390f35b348015610b4b57600080fd5b50610b666004803603810190610b6191906145a8565b6128c4565b005b6000610b726129bc565b905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c4257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610caa57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610cba5750610cb9826129cf565b5b9050919050565b6001811015610d05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfc90614881565b60405180910390fd5b60011515601260009054906101000a900460ff16151514610d5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d52906148ed565b60405180910390fd5b6103e8610d66610b68565b11610ebc5760018114610dae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da590614959565b60405180910390fd5b60003414610df1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de8906149c5565b60405180910390fd5b6000610dfc33612a39565b14610e3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3390614959565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614610eaa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea190614a31565b60405180910390fd5b610eb78260016000612b22565b610fcd565b600254811115610f01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef890614ac3565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000081610f2b610b68565b610f359190614b12565b1115610f76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6d90614bda565b60405180910390fd5b610f7f81612b42565b3414610fc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb790614c6c565b60405180910390fd5b610fcc82826000612b22565b5b5050565b606060038054610fe090614cbb565b80601f016020809104026020016040519081016040528092919081815260200182805461100c90614cbb565b80156110595780601f1061102e57610100808354040283529160200191611059565b820191906000526020600020905b81548152906001019060200180831161103c57829003601f168201915b5050505050905090565b600061106e82612b60565b6110ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a490614d5f565b60405180910390fd5b6007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006110f3826117af565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611164576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115b90614df1565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16611183612b81565b73ffffffffffffffffffffffffffffffffffffffff1614806111b257506111b1816111ac612b81565b612830565b5b6111f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e890614e83565b60405180910390fd5b6111fc838383612b89565b505050565b600061120b6129bc565b905090565b61121b838383612c3b565b505050565b600c818154811061123057600080fd5b906000526020600020016000915090505481565b60025481565b600061125583611954565b8210611296576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128d90614f15565b60405180910390fd5b60006112a0611201565b905060008060005b83811015611406576000600560008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461139a57806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156113f257868414156113e3578195505050505050611442565b83806113ee90614f35565b9450505b5080806113fe90614f35565b9150506112a8565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143990614ff0565b60405180910390fd5b92915050565b600f60009054906101000a900460ff1681565b600d5481565b611469612b81565b73ffffffffffffffffffffffffffffffffffffffff16611487611bb0565b73ffffffffffffffffffffffffffffffffffffffff16146114dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d49061505c565b60405180910390fd5b6000601260006101000a81548160ff021916908315150217905550565b61151583838360405180602001604052806000815250612286565b505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b611546612b81565b73ffffffffffffffffffffffffffffffffffffffff16611564611bb0565b73ffffffffffffffffffffffffffffffffffffffff16146115ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b19061505c565b60405180910390fd5b60005b818110156115fb576115e88382815181106115db576115da61507c565b5b6020026020010151611f2f565b80806115f390614f35565b9150506115bd565b505050565b600061160a611201565b821061164b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116429061511d565b60405180910390fd5b819050919050565b61165b612b81565b73ffffffffffffffffffffffffffffffffffffffff16611679611bb0565b73ffffffffffffffffffffffffffffffffffffffff16146116cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c69061505c565b60405180910390fd5b6001811015611713576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170a90615189565b60405180910390fd5b8060028190555050565b611725612b81565b73ffffffffffffffffffffffffffffffffffffffff16611743611bb0565b73ffffffffffffffffffffffffffffffffffffffff1614611799576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117909061505c565b60405180910390fd5b8181601091906117aa929190613f16565b505050565b60006117ba826131f4565b600001519050919050565b6117cd612b81565b73ffffffffffffffffffffffffffffffffffffffff166117eb611bb0565b73ffffffffffffffffffffffffffffffffffffffff1614611841576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118389061505c565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000061186a6125b8565b11156118ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a290614bda565b60405180910390fd5b6118b782826000612b22565b5050565b6118c3612b81565b73ffffffffffffffffffffffffffffffffffffffff166118e1611bb0565b73ffffffffffffffffffffffffffffffffffffffff1614611937576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192e9061505c565b60405180910390fd5b6001601260006101000a81548160ff021916908315150217905550565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119bc9061521b565b60405180910390fd5b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b611a45612b81565b73ffffffffffffffffffffffffffffffffffffffff16611a63611bb0565b73ffffffffffffffffffffffffffffffffffffffff1614611ab9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab09061505c565b60405180910390fd5b611ad673dcf2629e8aed1aca339fbbc45ac2647608d3564f61344c565b565b611ae0612b81565b73ffffffffffffffffffffffffffffffffffffffff16611afe611bb0565b73ffffffffffffffffffffffffffffffffffffffff1614611b54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4b9061505c565b60405180910390fd5b60004711611b6157600080fd5b611b69613510565b565b600b8181548110611b7b57600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60135481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b601260009054906101000a900460ff1681565b611bf4612b81565b73ffffffffffffffffffffffffffffffffffffffff16611c12611bb0565b73ffffffffffffffffffffffffffffffffffffffff1614611c68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5f9061505c565b60405180910390fd5b8060138190555050565b611c7a613f9c565b611c83826131f4565b9050919050565b611c92612b81565b73ffffffffffffffffffffffffffffffffffffffff16611cb0611bb0565b73ffffffffffffffffffffffffffffffffffffffff1614611d06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfd9061505c565b60405180910390fd5b818160119190611d17929190613f16565b505050565b606060048054611d2b90614cbb565b80601f0160208091040260200160405190810160405280929190818152602001828054611d5790614cbb565b8015611da45780601f10611d7957610100808354040283529160200191611da4565b820191906000526020600020905b815481529060010190602001808311611d8757829003601f168201915b5050505050905090565b611db6612b81565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1b90615287565b60405180910390fd5b8060086000611e31612b81565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611ede612b81565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f2391906140db565b60405180910390a35050565b611f37612b81565b73ffffffffffffffffffffffffffffffffffffffff16611f55611bb0565b73ffffffffffffffffffffffffffffffffffffffff1614611fab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa29061505c565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000611fd46125b8565b1115612015576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200c90614bda565b60405180910390fd5b61202181600180612b22565b50565b61202c612b81565b73ffffffffffffffffffffffffffffffffffffffff1661204a611bb0565b73ffffffffffffffffffffffffffffffffffffffff16146120a0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120979061505c565b60405180910390fd5b600081116120ad57600080fd5b6000829050818173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016120ec91906142b7565b602060405180830381865afa158015612109573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061212d91906152bc565b101561216e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121659061535b565b60405180910390fd5b60005b600d54811015612280578173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600b83815481106121ab576121aa61507c565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166064600c85815481106121ec576121eb61507c565b5b906000526020600020015487612202919061537b565b61220c9190615404565b6040518363ffffffff1660e01b8152600401612229929190615435565b6020604051808303816000875af1158015612248573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061226c9190615473565b50808061227890614f35565b915050612171565b50505050565b612291848484612c3b565b61229d848484846135b6565b6122dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d390615512565b60405180910390fd5b50505050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612372576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123699061557e565b60405180910390fd5b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612403576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123fa90615610565b60405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600b60008154811061245a5761245961507c565b5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b601180546124b290614cbb565b80601f01602080910402602001604051908101604052809291908181526020018280546124de90614cbb565b801561252b5780601f106125005761010080835404028352916020019161252b565b820191906000526020600020905b81548152906001019060200180831161250e57829003601f168201915b505050505081565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060600061256561373e565b9050600081511161258557604051806020016040528060008152506125b0565b8061258f846137d0565b6040516020016125a092919061566c565b6040516020818303038152906040525b915050919050565b60006125cc6125c56129bc565b6001613931565b905090565b601080546125de90614cbb565b80601f016020809104026020016040519081016040528092919081815260200182805461260a90614cbb565b80156126575780601f1061262c57610100808354040283529160200191612657565b820191906000526020600020905b81548152906001019060200180831161263a57829003601f168201915b505050505081565b60606010805461266e90614cbb565b80601f016020809104026020016040519081016040528092919081815260200182805461269a90614cbb565b80156126e75780601f106126bc576101008083540402835291602001916126e7565b820191906000526020600020905b8154815290600101906020018083116126ca57829003601f168201915b5050505050905090565b60095481565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612787576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277e9061557e565b60405180910390fd5b6000471161279457600080fd5b61279c613510565b565b6060601180546127ad90614cbb565b80601f01602080910402602001604051908101604052809291908181526020018280546127d990614cbb565b80156128265780601f106127fb57610100808354040283529160200191612826565b820191906000526020600020905b81548152906001019060200180831161280957829003601f168201915b5050505050905090565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6128cc612b81565b73ffffffffffffffffffffffffffffffffffffffff166128ea611bb0565b73ffffffffffffffffffffffffffffffffffffffff1614612940576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129379061505c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156129b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129a790615702565b60405180910390fd5b6129b98161344c565b50565b60006129c6613947565b60015403905090565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612aaa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aa190615794565b60405180910390fd5b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b612b3d83838360405180602001604052806000815250613950565b505050565b6000612b5982601354613e2090919063ffffffff16565b9050919050565b600081612b6b613947565b11158015612b7a575060015482105b9050919050565b600033905090565b826007600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000612c46826131f4565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16612c6d612b81565b73ffffffffffffffffffffffffffffffffffffffff161480612cc95750612c92612b81565b73ffffffffffffffffffffffffffffffffffffffff16612cb184611063565b73ffffffffffffffffffffffffffffffffffffffff16145b80612ce55750612ce48260000151612cdf612b81565b612830565b5b905080612d27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d1e90615826565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612d99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d90906158b8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612e09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e009061594a565b60405180910390fd5b612e168585856001613e36565b612e266000848460000151612b89565b6001600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16612e949190615986565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16612f3891906159ba565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506005600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600060018461303e9190614b12565b9050600073ffffffffffffffffffffffffffffffffffffffff166005600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415613184576130b481612b60565b15613183576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506005600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46131ec8686866001613e3c565b505050505050565b6131fc613f9c565b60008290508061320a613947565b11158015613219575060015481105b1561340c576000600560008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461330a578092505050613447565b5b60011561340a57818060019003925050600560008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614613405578092505050613447565b61330b565b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161343e90615a72565b60405180910390fd5b919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600047905060005b600d548110156135b25761359f600b82815481106135395761353861507c565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166064600c848154811061357a5761357961507c565b5b906000526020600020015485613590919061537b565b61359a9190615404565b613e42565b80806135aa90614f35565b915050613518565b5050565b60006135d78473ffffffffffffffffffffffffffffffffffffffff16613ef3565b15613731578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613600612b81565b8786866040518563ffffffff1660e01b81526004016136229493929190615ae7565b6020604051808303816000875af192505050801561365e57506040513d601f19601f8201168201806040525081019061365b9190615b48565b60015b6136e1573d806000811461368e576040519150601f19603f3d011682016040523d82523d6000602084013e613693565b606091505b506000815114156136d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136d090615512565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613736565b600190505b949350505050565b60606010805461374d90614cbb565b80601f016020809104026020016040519081016040528092919081815260200182805461377990614cbb565b80156137c65780601f1061379b576101008083540402835291602001916137c6565b820191906000526020600020905b8154815290600101906020018083116137a957829003601f168201915b5050505050905090565b60606000821415613818576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061392c565b600082905060005b6000821461384a57808061383390614f35565b915050600a826138439190615404565b9150613820565b60008167ffffffffffffffff81111561386657613865614361565b5b6040519080825280601f01601f1916602001820160405280156138985781602001600182028036833780820191505090505b5090505b60008514613925576001826138b19190615b75565b9150600a856138c09190615ba9565b60306138cc9190614b12565b60f81b8183815181106138e2576138e161507c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561391e9190615404565b945061389c565b8093505050505b919050565b6000818361393f9190614b12565b905092915050565b60006001905090565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156139c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139be90615c4c565b60405180910390fd5b6139d081612b60565b15613a10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a0790615cb8565b60405180910390fd5b600254841115613a55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a4c90615d4a565b60405180910390fd5b613a626000868387613e36565b6000600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168152505090506040518060400160405280868360000151613b5f91906159ba565b6fffffffffffffffffffffffffffffffff16815260200185613b815786613b84565b60005b8360200151613b9391906159ba565b6fffffffffffffffffffffffffffffffff16815250600660008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808773ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506005600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b86811015613e0257818873ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613da260008984886135b6565b613de1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613dd890615512565b60405180910390fd5b8180613dec90614f35565b9250508080613dfa90614f35565b915050613d31565b5080600181905550613e176000888589613e3c565b50505050505050565b60008183613e2e919061537b565b905092915050565b50505050565b50505050565b60008273ffffffffffffffffffffffffffffffffffffffff1682604051613e6890615d9b565b60006040518083038185875af1925050503d8060008114613ea5576040519150601f19603f3d011682016040523d82523d6000602084013e613eaa565b606091505b5050905080613eee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ee590615dfc565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b828054613f2290614cbb565b90600052602060002090601f016020900481019282613f445760008555613f8b565b82601f10613f5d57803560ff1916838001178555613f8b565b82800160010185558215613f8b579182015b82811115613f8a578235825591602001919060010190613f6f565b5b509050613f989190613fd6565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b80821115613fef576000816000905550600101613fd7565b5090565b6000819050919050565b61400681613ff3565b82525050565b60006020820190506140216000830184613ffd565b92915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6140708161403b565b811461407b57600080fd5b50565b60008135905061408d81614067565b92915050565b6000602082840312156140a9576140a8614031565b5b60006140b78482850161407e565b91505092915050565b60008115159050919050565b6140d5816140c0565b82525050565b60006020820190506140f060008301846140cc565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000614121826140f6565b9050919050565b61413181614116565b811461413c57600080fd5b50565b60008135905061414e81614128565b92915050565b61415d81613ff3565b811461416857600080fd5b50565b60008135905061417a81614154565b92915050565b6000806040838503121561419757614196614031565b5b60006141a58582860161413f565b92505060206141b68582860161416b565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b838110156141fa5780820151818401526020810190506141df565b83811115614209576000848401525b50505050565b6000601f19601f8301169050919050565b600061422b826141c0565b61423581856141cb565b93506142458185602086016141dc565b61424e8161420f565b840191505092915050565b600060208201905081810360008301526142738184614220565b905092915050565b60006020828403121561429157614290614031565b5b600061429f8482850161416b565b91505092915050565b6142b181614116565b82525050565b60006020820190506142cc60008301846142a8565b92915050565b6000806000606084860312156142eb576142ea614031565b5b60006142f98682870161413f565b935050602061430a8682870161413f565b925050604061431b8682870161416b565b9150509250925092565b600060ff82169050919050565b61433b81614325565b82525050565b60006020820190506143566000830184614332565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6143998261420f565b810181811067ffffffffffffffff821117156143b8576143b7614361565b5b80604052505050565b60006143cb614027565b90506143d78282614390565b919050565b600067ffffffffffffffff8211156143f7576143f6614361565b5b602082029050602081019050919050565b600080fd5b600061442061441b846143dc565b6143c1565b9050808382526020820190506020840283018581111561444357614442614408565b5b835b8181101561446c5780614458888261413f565b845260208401935050602081019050614445565b5050509392505050565b600082601f83011261448b5761448a61435c565b5b813561449b84826020860161440d565b91505092915050565b600080604083850312156144bb576144ba614031565b5b600083013567ffffffffffffffff8111156144d9576144d8614036565b5b6144e585828601614476565b92505060206144f68582860161416b565b9150509250929050565b600080fd5b60008083601f84011261451b5761451a61435c565b5b8235905067ffffffffffffffff81111561453857614537614500565b5b60208301915083600182028301111561455457614553614408565b5b9250929050565b6000806020838503121561457257614571614031565b5b600083013567ffffffffffffffff8111156145905761458f614036565b5b61459c85828601614505565b92509250509250929050565b6000602082840312156145be576145bd614031565b5b60006145cc8482850161413f565b91505092915050565b6145de81614116565b82525050565b600067ffffffffffffffff82169050919050565b614601816145e4565b82525050565b60408201600082015161461d60008501826145d5565b50602082015161463060208501826145f8565b50505050565b600060408201905061464b6000830184614607565b92915050565b61465a816140c0565b811461466557600080fd5b50565b60008135905061467781614651565b92915050565b6000806040838503121561469457614693614031565b5b60006146a28582860161413f565b92505060206146b385828601614668565b9150509250929050565b600080fd5b600067ffffffffffffffff8211156146dd576146dc614361565b5b6146e68261420f565b9050602081019050919050565b82818337600083830152505050565b6000614715614710846146c2565b6143c1565b905082815260208101848484011115614731576147306146bd565b5b61473c8482856146f3565b509392505050565b600082601f8301126147595761475861435c565b5b8135614769848260208601614702565b91505092915050565b6000806000806080858703121561478c5761478b614031565b5b600061479a8782880161413f565b94505060206147ab8782880161413f565b93505060406147bc8782880161416b565b925050606085013567ffffffffffffffff8111156147dd576147dc614036565b5b6147e987828801614744565b91505092959194509250565b6000806040838503121561480c5761480b614031565b5b600061481a8582860161413f565b925050602061482b8582860161413f565b9150509250929050565b7f4d757374206d696e74206174206c65617374203120746f6b656e000000000000600082015250565b600061486b601a836141cb565b915061487682614835565b602082019050919050565b6000602082019050818103600083015261489a8161485e565b9050919050565b7f4d696e74696e67206973206e6f74206f70656e207269676874206e6f77210000600082015250565b60006148d7601e836141cb565b91506148e2826148a1565b602082019050919050565b60006020820190508181036000830152614906816148ca565b9050919050565b7f4f6e6c79206f6e652066726565206d696e742e00000000000000000000000000600082015250565b60006149436013836141cb565b915061494e8261490d565b602082019050919050565b6000602082019050818103600083015261497281614936565b9050919050565b7f596f75206d61646520697420746f207468652066726565206d696e7421000000600082015250565b60006149af601d836141cb565b91506149ba82614979565b602082019050919050565b600060208201905081810360008301526149de816149a2565b9050919050565b7f43616e206f6e6c79206d696e7420666f7220796f757273656c66000000000000600082015250565b6000614a1b601a836141cb565b9150614a26826149e5565b602082019050919050565b60006020820190508181036000830152614a4a81614a0e565b9050919050565b7f43616e6e6f74206d696e74206d6f7265207468616e206d6178206d696e74207060008201527f6572207472616e73616374696f6e000000000000000000000000000000000000602082015250565b6000614aad602e836141cb565b9150614ab882614a51565b604082019050919050565b60006020820190508181036000830152614adc81614aa0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614b1d82613ff3565b9150614b2883613ff3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614b5d57614b5c614ae3565b5b828201905092915050565b7f43616e6e6f74206d696e74206f76657220737570706c7920636170206f66203460008201527f3030300000000000000000000000000000000000000000000000000000000000602082015250565b6000614bc46023836141cb565b9150614bcf82614b68565b604082019050919050565b60006020820190508181036000830152614bf381614bb7565b9050919050565b7f56616c75652062656c6f77207265717569726564206d696e742066656520666f60008201527f7220616d6f756e74000000000000000000000000000000000000000000000000602082015250565b6000614c566028836141cb565b9150614c6182614bfa565b604082019050919050565b60006020820190508181036000830152614c8581614c49565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614cd357607f821691505b60208210811415614ce757614ce6614c8c565b5b50919050565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b6000614d49602d836141cb565b9150614d5482614ced565b604082019050919050565b60006020820190508181036000830152614d7881614d3c565b9050919050565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b6000614ddb6022836141cb565b9150614de682614d7f565b604082019050919050565b60006020820190508181036000830152614e0a81614dce565b9050919050565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b6000614e6d6039836141cb565b9150614e7882614e11565b604082019050919050565b60006020820190508181036000830152614e9c81614e60565b9050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b6000614eff6022836141cb565b9150614f0a82614ea3565b604082019050919050565b60006020820190508181036000830152614f2e81614ef2565b9050919050565b6000614f4082613ff3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614f7357614f72614ae3565b5b600182019050919050565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b6000614fda602e836141cb565b9150614fe582614f7e565b604082019050919050565b6000602082019050818103600083015261500981614fcd565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006150466020836141cb565b915061505182615010565b602082019050919050565b6000602082019050818103600083015261507581615039565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b60006151076023836141cb565b9150615112826150ab565b604082019050919050565b60006020820190508181036000830152615136816150fa565b9050919050565b7f4d6178206d696e74206d757374206265206174206c6561737420310000000000600082015250565b6000615173601b836141cb565b915061517e8261513d565b602082019050919050565b600060208201905081810360008301526151a281615166565b9050919050565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000615205602b836141cb565b9150615210826151a9565b604082019050919050565b60006020820190508181036000830152615234816151f8565b9050919050565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b6000615271601a836141cb565b915061527c8261523b565b602082019050919050565b600060208201905081810360008301526152a081615264565b9050919050565b6000815190506152b681614154565b92915050565b6000602082840312156152d2576152d1614031565b5b60006152e0848285016152a7565b91505092915050565b7f436f6e747261637420646f6573206e6f74206f776e20656e6f75676820746f6b60008201527f656e730000000000000000000000000000000000000000000000000000000000602082015250565b60006153456023836141cb565b9150615350826152e9565b604082019050919050565b6000602082019050818103600083015261537481615338565b9050919050565b600061538682613ff3565b915061539183613ff3565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156153ca576153c9614ae3565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061540f82613ff3565b915061541a83613ff3565b92508261542a576154296153d5565b5b828204905092915050565b600060408201905061544a60008301856142a8565b6154576020830184613ffd565b9392505050565b60008151905061546d81614651565b92915050565b60006020828403121561548957615488614031565b5b60006154978482850161545e565b91505092915050565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b60006154fc6033836141cb565b9150615507826154a0565b604082019050919050565b6000602082019050818103600083015261552b816154ef565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f742052414d505000000000600082015250565b6000615568601c836141cb565b915061557382615532565b602082019050919050565b600060208201905081810360008301526155978161555b565b9050919050565b7f52414d50503a204e65772052616d70702061646472657373206d75737420626560008201527f20646966666572656e7400000000000000000000000000000000000000000000602082015250565b60006155fa602a836141cb565b91506156058261559e565b604082019050919050565b60006020820190508181036000830152615629816155ed565b9050919050565b600081905092915050565b6000615646826141c0565b6156508185615630565b93506156608185602086016141dc565b80840191505092915050565b6000615678828561563b565b9150615684828461563b565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006156ec6026836141cb565b91506156f782615690565b604082019050919050565b6000602082019050818103600083015261571b816156df565b9050919050565b7f455243373231413a206e756d626572206d696e74656420717565727920666f7260008201527f20746865207a65726f2061646472657373000000000000000000000000000000602082015250565b600061577e6031836141cb565b915061578982615722565b604082019050919050565b600060208201905081810360008301526157ad81615771565b9050919050565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b60006158106032836141cb565b915061581b826157b4565b604082019050919050565b6000602082019050818103600083015261583f81615803565b9050919050565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b60006158a26026836141cb565b91506158ad82615846565b604082019050919050565b600060208201905081810360008301526158d181615895565b9050919050565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006159346025836141cb565b915061593f826158d8565b604082019050919050565b6000602082019050818103600083015261596381615927565b9050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b60006159918261596a565b915061599c8361596a565b9250828210156159af576159ae614ae3565b5b828203905092915050565b60006159c58261596a565b91506159d08361596a565b9250826fffffffffffffffffffffffffffffffff038211156159f5576159f4614ae3565b5b828201905092915050565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b6000615a5c602f836141cb565b9150615a6782615a00565b604082019050919050565b60006020820190508181036000830152615a8b81615a4f565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615ab982615a92565b615ac38185615a9d565b9350615ad38185602086016141dc565b615adc8161420f565b840191505092915050565b6000608082019050615afc60008301876142a8565b615b0960208301866142a8565b615b166040830185613ffd565b8181036060830152615b288184615aae565b905095945050505050565b600081519050615b4281614067565b92915050565b600060208284031215615b5e57615b5d614031565b5b6000615b6c84828501615b33565b91505092915050565b6000615b8082613ff3565b9150615b8b83613ff3565b925082821015615b9e57615b9d614ae3565b5b828203905092915050565b6000615bb482613ff3565b9150615bbf83613ff3565b925082615bcf57615bce6153d5565b5b828206905092915050565b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000615c366021836141cb565b9150615c4182615bda565b604082019050919050565b60006020820190508181036000830152615c6581615c29565b9050919050565b7f455243373231413a20746f6b656e20616c7265616479206d696e746564000000600082015250565b6000615ca2601d836141cb565b9150615cad82615c6c565b602082019050919050565b60006020820190508181036000830152615cd181615c95565b9050919050565b7f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960008201527f6768000000000000000000000000000000000000000000000000000000000000602082015250565b6000615d346022836141cb565b9150615d3f82615cd8565b604082019050919050565b60006020820190508181036000830152615d6381615d27565b9050919050565b600081905092915050565b50565b6000615d85600083615d6a565b9150615d9082615d75565b600082019050919050565b6000615da682615d78565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b6000615de66010836141cb565b9150615df182615db0565b602082019050919050565b60006020820190508181036000830152615e1581615dd9565b905091905056fea264697066735822122027ee3a0a43444f54b65fd06292ba02d14a0cb7a027af145b6ab1cdfa20052ec664736f6c634300080a0033697066733a2f2f516d513865776e4e687a4a623762785064764e6f5666565370514c31556b3538336734643632345a737250624d7a2f697066733a2f2f516d63595538746a3747426a77376e48654d47314d795956514347446a39633742345548694b5a33615a57586b54

Deployed Bytecode

0x6080604052600436106102c85760003560e01c8063853828b611610175578063b88d4fde116100dc578063cfc86f7b11610095578063dcd4aa8b1161006f578063dcd4aa8b14610ac0578063e8a3d48514610ad7578063e985e9c514610b02578063f2fde38b14610b3f576102c8565b8063cfc86f7b14610a3f578063d547cfb714610a6a578063d7224ba014610a95576102c8565b8063b88d4fde1461092f578063bbd8556b14610958578063c0e7274014610981578063c5815c41146109ac578063c87b56dd146109d7578063caa0f92a14610a14576102c8565b80639231ab2a1161012e5780639231ab2a14610823578063938e3d7b1461086057806395d89b4114610889578063a22cb465146108b4578063a54dd93c146108dd578063b40ebceb14610906576102c8565b8063853828b614610725578063891bbe731461073c5780638d859f3e146107795780638da5cb5b146107a45780638f4bb497146107cf57806391b7f5ed146107fa576102c8565b80633e07311c11610234578063547520fe116101ed57806368be561b116101c757806368be561b146106915780636ba9fd38146106ba57806370a08231146106d1578063715018a61461070e576102c8565b8063547520fe1461060257806355f804b31461062b5780636352211e14610654576102c8565b80633e07311c146105065780633e3e0b121461053157806342842e0e1461054857806345c0f533146105715780634d5f4e761461059c5780634f6ccce7146105c5576102c8565b806318160ddd1161028657806318160ddd146103e257806323b872dd1461040d578063286c8137146104365780632913daa0146104735780632f745c591461049e57806338b90333146104db576102c8565b80629a9b7b146102cd57806301ffc9a7146102f85780630644cefa1461033557806306fdde0314610351578063081812fc1461037c578063095ea7b3146103b9575b600080fd5b3480156102d957600080fd5b506102e2610b68565b6040516102ef919061400c565b60405180910390f35b34801561030457600080fd5b5061031f600480360381019061031a9190614093565b610b77565b60405161032c91906140db565b60405180910390f35b61034f600480360381019061034a9190614180565b610cc1565b005b34801561035d57600080fd5b50610366610fd1565b6040516103739190614259565b60405180910390f35b34801561038857600080fd5b506103a3600480360381019061039e919061427b565b611063565b6040516103b091906142b7565b60405180910390f35b3480156103c557600080fd5b506103e060048036038101906103db9190614180565b6110e8565b005b3480156103ee57600080fd5b506103f7611201565b604051610404919061400c565b60405180910390f35b34801561041957600080fd5b50610434600480360381019061042f91906142d2565b611210565b005b34801561044257600080fd5b5061045d6004803603810190610458919061427b565b611220565b60405161046a919061400c565b60405180910390f35b34801561047f57600080fd5b50610488611244565b604051610495919061400c565b60405180910390f35b3480156104aa57600080fd5b506104c560048036038101906104c09190614180565b61124a565b6040516104d2919061400c565b60405180910390f35b3480156104e757600080fd5b506104f0611448565b6040516104fd9190614341565b60405180910390f35b34801561051257600080fd5b5061051b61145b565b604051610528919061400c565b60405180910390f35b34801561053d57600080fd5b50610546611461565b005b34801561055457600080fd5b5061056f600480360381019061056a91906142d2565b6114fa565b005b34801561057d57600080fd5b5061058661151a565b604051610593919061400c565b60405180910390f35b3480156105a857600080fd5b506105c360048036038101906105be91906144a4565b61153e565b005b3480156105d157600080fd5b506105ec60048036038101906105e7919061427b565b611600565b6040516105f9919061400c565b60405180910390f35b34801561060e57600080fd5b506106296004803603810190610624919061427b565b611653565b005b34801561063757600080fd5b50610652600480360381019061064d919061455b565b61171d565b005b34801561066057600080fd5b5061067b6004803603810190610676919061427b565b6117af565b60405161068891906142b7565b60405180910390f35b34801561069d57600080fd5b506106b860048036038101906106b39190614180565b6117c5565b005b3480156106c657600080fd5b506106cf6118bb565b005b3480156106dd57600080fd5b506106f860048036038101906106f391906145a8565b611954565b604051610705919061400c565b60405180910390f35b34801561071a57600080fd5b50610723611a3d565b005b34801561073157600080fd5b5061073a611ad8565b005b34801561074857600080fd5b50610763600480360381019061075e919061427b565b611b6b565b60405161077091906142b7565b60405180910390f35b34801561078557600080fd5b5061078e611baa565b60405161079b919061400c565b60405180910390f35b3480156107b057600080fd5b506107b9611bb0565b6040516107c691906142b7565b60405180910390f35b3480156107db57600080fd5b506107e4611bd9565b6040516107f191906140db565b60405180910390f35b34801561080657600080fd5b50610821600480360381019061081c919061427b565b611bec565b005b34801561082f57600080fd5b5061084a6004803603810190610845919061427b565b611c72565b6040516108579190614636565b60405180910390f35b34801561086c57600080fd5b506108876004803603810190610882919061455b565b611c8a565b005b34801561089557600080fd5b5061089e611d1c565b6040516108ab9190614259565b60405180910390f35b3480156108c057600080fd5b506108db60048036038101906108d6919061467d565b611dae565b005b3480156108e957600080fd5b5061090460048036038101906108ff91906145a8565b611f2f565b005b34801561091257600080fd5b5061092d60048036038101906109289190614180565b612024565b005b34801561093b57600080fd5b5061095660048036038101906109519190614772565b612286565b005b34801561096457600080fd5b5061097f600480360381019061097a91906145a8565b6122e2565b005b34801561098d57600080fd5b506109966124a5565b6040516109a39190614259565b60405180910390f35b3480156109b857600080fd5b506109c1612533565b6040516109ce91906142b7565b60405180910390f35b3480156109e357600080fd5b506109fe60048036038101906109f9919061427b565b612559565b604051610a0b9190614259565b60405180910390f35b348015610a2057600080fd5b50610a296125b8565b604051610a36919061400c565b60405180910390f35b348015610a4b57600080fd5b50610a546125d1565b604051610a619190614259565b60405180910390f35b348015610a7657600080fd5b50610a7f61265f565b604051610a8c9190614259565b60405180910390f35b348015610aa157600080fd5b50610aaa6126f1565b604051610ab7919061400c565b60405180910390f35b348015610acc57600080fd5b50610ad56126f7565b005b348015610ae357600080fd5b50610aec61279e565b604051610af99190614259565b60405180910390f35b348015610b0e57600080fd5b50610b296004803603810190610b2491906147f5565b612830565b604051610b3691906140db565b60405180910390f35b348015610b4b57600080fd5b50610b666004803603810190610b6191906145a8565b6128c4565b005b6000610b726129bc565b905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c4257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610caa57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610cba5750610cb9826129cf565b5b9050919050565b6001811015610d05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfc90614881565b60405180910390fd5b60011515601260009054906101000a900460ff16151514610d5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d52906148ed565b60405180910390fd5b6103e8610d66610b68565b11610ebc5760018114610dae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da590614959565b60405180910390fd5b60003414610df1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de8906149c5565b60405180910390fd5b6000610dfc33612a39565b14610e3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3390614959565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614610eaa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea190614a31565b60405180910390fd5b610eb78260016000612b22565b610fcd565b600254811115610f01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef890614ac3565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000fa081610f2b610b68565b610f359190614b12565b1115610f76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6d90614bda565b60405180910390fd5b610f7f81612b42565b3414610fc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb790614c6c565b60405180910390fd5b610fcc82826000612b22565b5b5050565b606060038054610fe090614cbb565b80601f016020809104026020016040519081016040528092919081815260200182805461100c90614cbb565b80156110595780601f1061102e57610100808354040283529160200191611059565b820191906000526020600020905b81548152906001019060200180831161103c57829003601f168201915b5050505050905090565b600061106e82612b60565b6110ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a490614d5f565b60405180910390fd5b6007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006110f3826117af565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611164576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115b90614df1565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16611183612b81565b73ffffffffffffffffffffffffffffffffffffffff1614806111b257506111b1816111ac612b81565b612830565b5b6111f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e890614e83565b60405180910390fd5b6111fc838383612b89565b505050565b600061120b6129bc565b905090565b61121b838383612c3b565b505050565b600c818154811061123057600080fd5b906000526020600020016000915090505481565b60025481565b600061125583611954565b8210611296576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128d90614f15565b60405180910390fd5b60006112a0611201565b905060008060005b83811015611406576000600560008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461139a57806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156113f257868414156113e3578195505050505050611442565b83806113ee90614f35565b9450505b5080806113fe90614f35565b9150506112a8565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143990614ff0565b60405180910390fd5b92915050565b600f60009054906101000a900460ff1681565b600d5481565b611469612b81565b73ffffffffffffffffffffffffffffffffffffffff16611487611bb0565b73ffffffffffffffffffffffffffffffffffffffff16146114dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d49061505c565b60405180910390fd5b6000601260006101000a81548160ff021916908315150217905550565b61151583838360405180602001604052806000815250612286565b505050565b7f0000000000000000000000000000000000000000000000000000000000000fa081565b611546612b81565b73ffffffffffffffffffffffffffffffffffffffff16611564611bb0565b73ffffffffffffffffffffffffffffffffffffffff16146115ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b19061505c565b60405180910390fd5b60005b818110156115fb576115e88382815181106115db576115da61507c565b5b6020026020010151611f2f565b80806115f390614f35565b9150506115bd565b505050565b600061160a611201565b821061164b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116429061511d565b60405180910390fd5b819050919050565b61165b612b81565b73ffffffffffffffffffffffffffffffffffffffff16611679611bb0565b73ffffffffffffffffffffffffffffffffffffffff16146116cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c69061505c565b60405180910390fd5b6001811015611713576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170a90615189565b60405180910390fd5b8060028190555050565b611725612b81565b73ffffffffffffffffffffffffffffffffffffffff16611743611bb0565b73ffffffffffffffffffffffffffffffffffffffff1614611799576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117909061505c565b60405180910390fd5b8181601091906117aa929190613f16565b505050565b60006117ba826131f4565b600001519050919050565b6117cd612b81565b73ffffffffffffffffffffffffffffffffffffffff166117eb611bb0565b73ffffffffffffffffffffffffffffffffffffffff1614611841576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118389061505c565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000fa061186a6125b8565b11156118ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a290614bda565b60405180910390fd5b6118b782826000612b22565b5050565b6118c3612b81565b73ffffffffffffffffffffffffffffffffffffffff166118e1611bb0565b73ffffffffffffffffffffffffffffffffffffffff1614611937576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192e9061505c565b60405180910390fd5b6001601260006101000a81548160ff021916908315150217905550565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119bc9061521b565b60405180910390fd5b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b611a45612b81565b73ffffffffffffffffffffffffffffffffffffffff16611a63611bb0565b73ffffffffffffffffffffffffffffffffffffffff1614611ab9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab09061505c565b60405180910390fd5b611ad673dcf2629e8aed1aca339fbbc45ac2647608d3564f61344c565b565b611ae0612b81565b73ffffffffffffffffffffffffffffffffffffffff16611afe611bb0565b73ffffffffffffffffffffffffffffffffffffffff1614611b54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4b9061505c565b60405180910390fd5b60004711611b6157600080fd5b611b69613510565b565b600b8181548110611b7b57600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60135481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b601260009054906101000a900460ff1681565b611bf4612b81565b73ffffffffffffffffffffffffffffffffffffffff16611c12611bb0565b73ffffffffffffffffffffffffffffffffffffffff1614611c68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5f9061505c565b60405180910390fd5b8060138190555050565b611c7a613f9c565b611c83826131f4565b9050919050565b611c92612b81565b73ffffffffffffffffffffffffffffffffffffffff16611cb0611bb0565b73ffffffffffffffffffffffffffffffffffffffff1614611d06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfd9061505c565b60405180910390fd5b818160119190611d17929190613f16565b505050565b606060048054611d2b90614cbb565b80601f0160208091040260200160405190810160405280929190818152602001828054611d5790614cbb565b8015611da45780601f10611d7957610100808354040283529160200191611da4565b820191906000526020600020905b815481529060010190602001808311611d8757829003601f168201915b5050505050905090565b611db6612b81565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1b90615287565b60405180910390fd5b8060086000611e31612b81565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611ede612b81565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f2391906140db565b60405180910390a35050565b611f37612b81565b73ffffffffffffffffffffffffffffffffffffffff16611f55611bb0565b73ffffffffffffffffffffffffffffffffffffffff1614611fab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa29061505c565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000fa0611fd46125b8565b1115612015576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200c90614bda565b60405180910390fd5b61202181600180612b22565b50565b61202c612b81565b73ffffffffffffffffffffffffffffffffffffffff1661204a611bb0565b73ffffffffffffffffffffffffffffffffffffffff16146120a0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120979061505c565b60405180910390fd5b600081116120ad57600080fd5b6000829050818173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016120ec91906142b7565b602060405180830381865afa158015612109573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061212d91906152bc565b101561216e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121659061535b565b60405180910390fd5b60005b600d54811015612280578173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600b83815481106121ab576121aa61507c565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166064600c85815481106121ec576121eb61507c565b5b906000526020600020015487612202919061537b565b61220c9190615404565b6040518363ffffffff1660e01b8152600401612229929190615435565b6020604051808303816000875af1158015612248573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061226c9190615473565b50808061227890614f35565b915050612171565b50505050565b612291848484612c3b565b61229d848484846135b6565b6122dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d390615512565b60405180910390fd5b50505050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612372576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123699061557e565b60405180910390fd5b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612403576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123fa90615610565b60405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600b60008154811061245a5761245961507c565b5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b601180546124b290614cbb565b80601f01602080910402602001604051908101604052809291908181526020018280546124de90614cbb565b801561252b5780601f106125005761010080835404028352916020019161252b565b820191906000526020600020905b81548152906001019060200180831161250e57829003601f168201915b505050505081565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060600061256561373e565b9050600081511161258557604051806020016040528060008152506125b0565b8061258f846137d0565b6040516020016125a092919061566c565b6040516020818303038152906040525b915050919050565b60006125cc6125c56129bc565b6001613931565b905090565b601080546125de90614cbb565b80601f016020809104026020016040519081016040528092919081815260200182805461260a90614cbb565b80156126575780601f1061262c57610100808354040283529160200191612657565b820191906000526020600020905b81548152906001019060200180831161263a57829003601f168201915b505050505081565b60606010805461266e90614cbb565b80601f016020809104026020016040519081016040528092919081815260200182805461269a90614cbb565b80156126e75780601f106126bc576101008083540402835291602001916126e7565b820191906000526020600020905b8154815290600101906020018083116126ca57829003601f168201915b5050505050905090565b60095481565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612787576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277e9061557e565b60405180910390fd5b6000471161279457600080fd5b61279c613510565b565b6060601180546127ad90614cbb565b80601f01602080910402602001604051908101604052809291908181526020018280546127d990614cbb565b80156128265780601f106127fb57610100808354040283529160200191612826565b820191906000526020600020905b81548152906001019060200180831161280957829003601f168201915b5050505050905090565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6128cc612b81565b73ffffffffffffffffffffffffffffffffffffffff166128ea611bb0565b73ffffffffffffffffffffffffffffffffffffffff1614612940576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129379061505c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156129b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129a790615702565b60405180910390fd5b6129b98161344c565b50565b60006129c6613947565b60015403905090565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612aaa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aa190615794565b60405180910390fd5b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b612b3d83838360405180602001604052806000815250613950565b505050565b6000612b5982601354613e2090919063ffffffff16565b9050919050565b600081612b6b613947565b11158015612b7a575060015482105b9050919050565b600033905090565b826007600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000612c46826131f4565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16612c6d612b81565b73ffffffffffffffffffffffffffffffffffffffff161480612cc95750612c92612b81565b73ffffffffffffffffffffffffffffffffffffffff16612cb184611063565b73ffffffffffffffffffffffffffffffffffffffff16145b80612ce55750612ce48260000151612cdf612b81565b612830565b5b905080612d27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d1e90615826565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612d99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d90906158b8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612e09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e009061594a565b60405180910390fd5b612e168585856001613e36565b612e266000848460000151612b89565b6001600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16612e949190615986565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16612f3891906159ba565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506005600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600060018461303e9190614b12565b9050600073ffffffffffffffffffffffffffffffffffffffff166005600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415613184576130b481612b60565b15613183576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506005600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46131ec8686866001613e3c565b505050505050565b6131fc613f9c565b60008290508061320a613947565b11158015613219575060015481105b1561340c576000600560008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461330a578092505050613447565b5b60011561340a57818060019003925050600560008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614613405578092505050613447565b61330b565b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161343e90615a72565b60405180910390fd5b919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600047905060005b600d548110156135b25761359f600b82815481106135395761353861507c565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166064600c848154811061357a5761357961507c565b5b906000526020600020015485613590919061537b565b61359a9190615404565b613e42565b80806135aa90614f35565b915050613518565b5050565b60006135d78473ffffffffffffffffffffffffffffffffffffffff16613ef3565b15613731578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613600612b81565b8786866040518563ffffffff1660e01b81526004016136229493929190615ae7565b6020604051808303816000875af192505050801561365e57506040513d601f19601f8201168201806040525081019061365b9190615b48565b60015b6136e1573d806000811461368e576040519150601f19603f3d011682016040523d82523d6000602084013e613693565b606091505b506000815114156136d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136d090615512565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613736565b600190505b949350505050565b60606010805461374d90614cbb565b80601f016020809104026020016040519081016040528092919081815260200182805461377990614cbb565b80156137c65780601f1061379b576101008083540402835291602001916137c6565b820191906000526020600020905b8154815290600101906020018083116137a957829003601f168201915b5050505050905090565b60606000821415613818576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061392c565b600082905060005b6000821461384a57808061383390614f35565b915050600a826138439190615404565b9150613820565b60008167ffffffffffffffff81111561386657613865614361565b5b6040519080825280601f01601f1916602001820160405280156138985781602001600182028036833780820191505090505b5090505b60008514613925576001826138b19190615b75565b9150600a856138c09190615ba9565b60306138cc9190614b12565b60f81b8183815181106138e2576138e161507c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561391e9190615404565b945061389c565b8093505050505b919050565b6000818361393f9190614b12565b905092915050565b60006001905090565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156139c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139be90615c4c565b60405180910390fd5b6139d081612b60565b15613a10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a0790615cb8565b60405180910390fd5b600254841115613a55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a4c90615d4a565b60405180910390fd5b613a626000868387613e36565b6000600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168152505090506040518060400160405280868360000151613b5f91906159ba565b6fffffffffffffffffffffffffffffffff16815260200185613b815786613b84565b60005b8360200151613b9391906159ba565b6fffffffffffffffffffffffffffffffff16815250600660008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808773ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506005600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b86811015613e0257818873ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613da260008984886135b6565b613de1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613dd890615512565b60405180910390fd5b8180613dec90614f35565b9250508080613dfa90614f35565b915050613d31565b5080600181905550613e176000888589613e3c565b50505050505050565b60008183613e2e919061537b565b905092915050565b50505050565b50505050565b60008273ffffffffffffffffffffffffffffffffffffffff1682604051613e6890615d9b565b60006040518083038185875af1925050503d8060008114613ea5576040519150601f19603f3d011682016040523d82523d6000602084013e613eaa565b606091505b5050905080613eee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ee590615dfc565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b828054613f2290614cbb565b90600052602060002090601f016020900481019282613f445760008555613f8b565b82601f10613f5d57803560ff1916838001178555613f8b565b82800160010185558215613f8b579182015b82811115613f8a578235825591602001919060010190613f6f565b5b509050613f989190613fd6565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b80821115613fef576000816000905550600101613fd7565b5090565b6000819050919050565b61400681613ff3565b82525050565b60006020820190506140216000830184613ffd565b92915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6140708161403b565b811461407b57600080fd5b50565b60008135905061408d81614067565b92915050565b6000602082840312156140a9576140a8614031565b5b60006140b78482850161407e565b91505092915050565b60008115159050919050565b6140d5816140c0565b82525050565b60006020820190506140f060008301846140cc565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000614121826140f6565b9050919050565b61413181614116565b811461413c57600080fd5b50565b60008135905061414e81614128565b92915050565b61415d81613ff3565b811461416857600080fd5b50565b60008135905061417a81614154565b92915050565b6000806040838503121561419757614196614031565b5b60006141a58582860161413f565b92505060206141b68582860161416b565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b838110156141fa5780820151818401526020810190506141df565b83811115614209576000848401525b50505050565b6000601f19601f8301169050919050565b600061422b826141c0565b61423581856141cb565b93506142458185602086016141dc565b61424e8161420f565b840191505092915050565b600060208201905081810360008301526142738184614220565b905092915050565b60006020828403121561429157614290614031565b5b600061429f8482850161416b565b91505092915050565b6142b181614116565b82525050565b60006020820190506142cc60008301846142a8565b92915050565b6000806000606084860312156142eb576142ea614031565b5b60006142f98682870161413f565b935050602061430a8682870161413f565b925050604061431b8682870161416b565b9150509250925092565b600060ff82169050919050565b61433b81614325565b82525050565b60006020820190506143566000830184614332565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6143998261420f565b810181811067ffffffffffffffff821117156143b8576143b7614361565b5b80604052505050565b60006143cb614027565b90506143d78282614390565b919050565b600067ffffffffffffffff8211156143f7576143f6614361565b5b602082029050602081019050919050565b600080fd5b600061442061441b846143dc565b6143c1565b9050808382526020820190506020840283018581111561444357614442614408565b5b835b8181101561446c5780614458888261413f565b845260208401935050602081019050614445565b5050509392505050565b600082601f83011261448b5761448a61435c565b5b813561449b84826020860161440d565b91505092915050565b600080604083850312156144bb576144ba614031565b5b600083013567ffffffffffffffff8111156144d9576144d8614036565b5b6144e585828601614476565b92505060206144f68582860161416b565b9150509250929050565b600080fd5b60008083601f84011261451b5761451a61435c565b5b8235905067ffffffffffffffff81111561453857614537614500565b5b60208301915083600182028301111561455457614553614408565b5b9250929050565b6000806020838503121561457257614571614031565b5b600083013567ffffffffffffffff8111156145905761458f614036565b5b61459c85828601614505565b92509250509250929050565b6000602082840312156145be576145bd614031565b5b60006145cc8482850161413f565b91505092915050565b6145de81614116565b82525050565b600067ffffffffffffffff82169050919050565b614601816145e4565b82525050565b60408201600082015161461d60008501826145d5565b50602082015161463060208501826145f8565b50505050565b600060408201905061464b6000830184614607565b92915050565b61465a816140c0565b811461466557600080fd5b50565b60008135905061467781614651565b92915050565b6000806040838503121561469457614693614031565b5b60006146a28582860161413f565b92505060206146b385828601614668565b9150509250929050565b600080fd5b600067ffffffffffffffff8211156146dd576146dc614361565b5b6146e68261420f565b9050602081019050919050565b82818337600083830152505050565b6000614715614710846146c2565b6143c1565b905082815260208101848484011115614731576147306146bd565b5b61473c8482856146f3565b509392505050565b600082601f8301126147595761475861435c565b5b8135614769848260208601614702565b91505092915050565b6000806000806080858703121561478c5761478b614031565b5b600061479a8782880161413f565b94505060206147ab8782880161413f565b93505060406147bc8782880161416b565b925050606085013567ffffffffffffffff8111156147dd576147dc614036565b5b6147e987828801614744565b91505092959194509250565b6000806040838503121561480c5761480b614031565b5b600061481a8582860161413f565b925050602061482b8582860161413f565b9150509250929050565b7f4d757374206d696e74206174206c65617374203120746f6b656e000000000000600082015250565b600061486b601a836141cb565b915061487682614835565b602082019050919050565b6000602082019050818103600083015261489a8161485e565b9050919050565b7f4d696e74696e67206973206e6f74206f70656e207269676874206e6f77210000600082015250565b60006148d7601e836141cb565b91506148e2826148a1565b602082019050919050565b60006020820190508181036000830152614906816148ca565b9050919050565b7f4f6e6c79206f6e652066726565206d696e742e00000000000000000000000000600082015250565b60006149436013836141cb565b915061494e8261490d565b602082019050919050565b6000602082019050818103600083015261497281614936565b9050919050565b7f596f75206d61646520697420746f207468652066726565206d696e7421000000600082015250565b60006149af601d836141cb565b91506149ba82614979565b602082019050919050565b600060208201905081810360008301526149de816149a2565b9050919050565b7f43616e206f6e6c79206d696e7420666f7220796f757273656c66000000000000600082015250565b6000614a1b601a836141cb565b9150614a26826149e5565b602082019050919050565b60006020820190508181036000830152614a4a81614a0e565b9050919050565b7f43616e6e6f74206d696e74206d6f7265207468616e206d6178206d696e74207060008201527f6572207472616e73616374696f6e000000000000000000000000000000000000602082015250565b6000614aad602e836141cb565b9150614ab882614a51565b604082019050919050565b60006020820190508181036000830152614adc81614aa0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614b1d82613ff3565b9150614b2883613ff3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614b5d57614b5c614ae3565b5b828201905092915050565b7f43616e6e6f74206d696e74206f76657220737570706c7920636170206f66203460008201527f3030300000000000000000000000000000000000000000000000000000000000602082015250565b6000614bc46023836141cb565b9150614bcf82614b68565b604082019050919050565b60006020820190508181036000830152614bf381614bb7565b9050919050565b7f56616c75652062656c6f77207265717569726564206d696e742066656520666f60008201527f7220616d6f756e74000000000000000000000000000000000000000000000000602082015250565b6000614c566028836141cb565b9150614c6182614bfa565b604082019050919050565b60006020820190508181036000830152614c8581614c49565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614cd357607f821691505b60208210811415614ce757614ce6614c8c565b5b50919050565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b6000614d49602d836141cb565b9150614d5482614ced565b604082019050919050565b60006020820190508181036000830152614d7881614d3c565b9050919050565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b6000614ddb6022836141cb565b9150614de682614d7f565b604082019050919050565b60006020820190508181036000830152614e0a81614dce565b9050919050565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b6000614e6d6039836141cb565b9150614e7882614e11565b604082019050919050565b60006020820190508181036000830152614e9c81614e60565b9050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b6000614eff6022836141cb565b9150614f0a82614ea3565b604082019050919050565b60006020820190508181036000830152614f2e81614ef2565b9050919050565b6000614f4082613ff3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614f7357614f72614ae3565b5b600182019050919050565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b6000614fda602e836141cb565b9150614fe582614f7e565b604082019050919050565b6000602082019050818103600083015261500981614fcd565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006150466020836141cb565b915061505182615010565b602082019050919050565b6000602082019050818103600083015261507581615039565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b60006151076023836141cb565b9150615112826150ab565b604082019050919050565b60006020820190508181036000830152615136816150fa565b9050919050565b7f4d6178206d696e74206d757374206265206174206c6561737420310000000000600082015250565b6000615173601b836141cb565b915061517e8261513d565b602082019050919050565b600060208201905081810360008301526151a281615166565b9050919050565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000615205602b836141cb565b9150615210826151a9565b604082019050919050565b60006020820190508181036000830152615234816151f8565b9050919050565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b6000615271601a836141cb565b915061527c8261523b565b602082019050919050565b600060208201905081810360008301526152a081615264565b9050919050565b6000815190506152b681614154565b92915050565b6000602082840312156152d2576152d1614031565b5b60006152e0848285016152a7565b91505092915050565b7f436f6e747261637420646f6573206e6f74206f776e20656e6f75676820746f6b60008201527f656e730000000000000000000000000000000000000000000000000000000000602082015250565b60006153456023836141cb565b9150615350826152e9565b604082019050919050565b6000602082019050818103600083015261537481615338565b9050919050565b600061538682613ff3565b915061539183613ff3565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156153ca576153c9614ae3565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061540f82613ff3565b915061541a83613ff3565b92508261542a576154296153d5565b5b828204905092915050565b600060408201905061544a60008301856142a8565b6154576020830184613ffd565b9392505050565b60008151905061546d81614651565b92915050565b60006020828403121561548957615488614031565b5b60006154978482850161545e565b91505092915050565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b60006154fc6033836141cb565b9150615507826154a0565b604082019050919050565b6000602082019050818103600083015261552b816154ef565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f742052414d505000000000600082015250565b6000615568601c836141cb565b915061557382615532565b602082019050919050565b600060208201905081810360008301526155978161555b565b9050919050565b7f52414d50503a204e65772052616d70702061646472657373206d75737420626560008201527f20646966666572656e7400000000000000000000000000000000000000000000602082015250565b60006155fa602a836141cb565b91506156058261559e565b604082019050919050565b60006020820190508181036000830152615629816155ed565b9050919050565b600081905092915050565b6000615646826141c0565b6156508185615630565b93506156608185602086016141dc565b80840191505092915050565b6000615678828561563b565b9150615684828461563b565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006156ec6026836141cb565b91506156f782615690565b604082019050919050565b6000602082019050818103600083015261571b816156df565b9050919050565b7f455243373231413a206e756d626572206d696e74656420717565727920666f7260008201527f20746865207a65726f2061646472657373000000000000000000000000000000602082015250565b600061577e6031836141cb565b915061578982615722565b604082019050919050565b600060208201905081810360008301526157ad81615771565b9050919050565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b60006158106032836141cb565b915061581b826157b4565b604082019050919050565b6000602082019050818103600083015261583f81615803565b9050919050565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b60006158a26026836141cb565b91506158ad82615846565b604082019050919050565b600060208201905081810360008301526158d181615895565b9050919050565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006159346025836141cb565b915061593f826158d8565b604082019050919050565b6000602082019050818103600083015261596381615927565b9050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b60006159918261596a565b915061599c8361596a565b9250828210156159af576159ae614ae3565b5b828203905092915050565b60006159c58261596a565b91506159d08361596a565b9250826fffffffffffffffffffffffffffffffff038211156159f5576159f4614ae3565b5b828201905092915050565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b6000615a5c602f836141cb565b9150615a6782615a00565b604082019050919050565b60006020820190508181036000830152615a8b81615a4f565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615ab982615a92565b615ac38185615a9d565b9350615ad38185602086016141dc565b615adc8161420f565b840191505092915050565b6000608082019050615afc60008301876142a8565b615b0960208301866142a8565b615b166040830185613ffd565b8181036060830152615b288184615aae565b905095945050505050565b600081519050615b4281614067565b92915050565b600060208284031215615b5e57615b5d614031565b5b6000615b6c84828501615b33565b91505092915050565b6000615b8082613ff3565b9150615b8b83613ff3565b925082821015615b9e57615b9d614ae3565b5b828203905092915050565b6000615bb482613ff3565b9150615bbf83613ff3565b925082615bcf57615bce6153d5565b5b828206905092915050565b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000615c366021836141cb565b9150615c4182615bda565b604082019050919050565b60006020820190508181036000830152615c6581615c29565b9050919050565b7f455243373231413a20746f6b656e20616c7265616479206d696e746564000000600082015250565b6000615ca2601d836141cb565b9150615cad82615c6c565b602082019050919050565b60006020820190508181036000830152615cd181615c95565b9050919050565b7f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960008201527f6768000000000000000000000000000000000000000000000000000000000000602082015250565b6000615d346022836141cb565b9150615d3f82615cd8565b604082019050919050565b60006020820190508181036000830152615d6381615d27565b9050919050565b600081905092915050565b50565b6000615d85600083615d6a565b9150615d9082615d75565b600082019050919050565b6000615da682615d78565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b6000615de66010836141cb565b9150615df182615db0565b602082019050919050565b60006020820190508181036000830152615e1581615dd9565b905091905056fea264697066735822122027ee3a0a43444f54b65fd06292ba02d14a0cb7a027af145b6ab1cdfa20052ec664736f6c634300080a0033

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.